Files
romm/frontend/scripts
zurdi 8feef65006 refactor(v2): give the list view's repeated parts one home
The redesign wrote the same compact sort control into three headers, the
same compact row anatomy into four components, and a second rAF tween
beside the one it had just added.

- Extract ListSortMenu, which also settles the three different answers
  the headers gave when no column carries the current sort.
- Move the compact row's flex/stack/facts rules to global.css, beside
  the list chrome already there.
- Share one `tween` helper between the two animating composables.
- Let useAnimatedNumber take an already-formatted value, so Stat and
  PageHeader stop repeating the same number-or-string branch.
- Make the tick column a layout token instead of a constant, a CSS
  variable declared only for phones, and three literal fallbacks.
- Read the expansion duration from the motion token it documents.
- Drop the `compact` aliases that only renamed `smAndDown`.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016bZ7R3xC73MZu1vTNuatPK
2026-09-20 19:49:51 +02:00
..