Files
WRNexusJS/packages
ClintchizandClaude Opus 5 b4d3cb3695 feat(ui): rewrite Tabs onto wire classes with URL sync and roving focus
Tabs was the only component in the library styled with Tailwind utilities, so
it could not be themed like the rest and assumed Tailwind was present. It also
fired raw CustomEvents instead of declaring outputs, and set a roving tabindex
with no keydown handler at all -- which left every inactive tab unreachable by
Tab while the arrows did nothing.

It now uses wire-* classes and a local style block, declares change and select
outputs, and opts into the roving runtime.

mode=url mirrors the selection into a query parameter via pushState. Back and
forward are handled in the runtime, which activates the matching tab rather
than assigning to component state: a popstate listener writing state would be
writing after the client function returned, and that write is dropped. The
round trip is marked so the component does not push a second history entry for
a navigation that came from history.

Also anchors Nav submenus so the viewport clamp can pull them back on screen.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-07 17:18:00 +05:30
..
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30
2026-08-07 15:08:05 +05:30