Files
apes-sidebar/tests
Menghuan1918 0edd9e9e81 refactor(clues): browse and pack rows use the shared row/state components
The pack shelf and the browse results each carried their own row shell, their
own empty state and their own error+retry line. They now share ListRow,
EmptyState and ErrorBlock, and the local copies are gone.

ListRow grew the two contracts those callers actually need:
- titleLabel so the accessible name can be "Manage pack: X" while the visible
  title stays "X";
- primary so the roving-focus marker (data-list-primary + its tab stop) lands
  on the title button, which is what useListNavigation focuses;
- a navigating row keeps name + subtitle inside that button, so the whole
  two-line caption is one click target and one accessible name.

Removed from clues-tab.module.css: the .packRow/.packOpen/.packGlyph/
.packName/.packMeta/.packCount/.packReference family plus the two coarse-
pointer orphans left behind. tests/clues-tab-css.spec.ts now asserts that
contract against the shared patterns sheet, where the rules actually live.
2026-11-24 16:43:26 +08:00
..