Reported by @cmdevpe (#15) — three gaps that only surface together, once a collapsed sidebar has enough items to scroll.
Added
-
tooltiponsidebar-menu-button. Collapsed to the icon rail a button shows nothing but its icon:<x-ui.sidebar-menu-button tooltip="Inbox" href="/inbox"> <x-lucide-inbox /><span>Inbox</span> </x-ui.sidebar-menu-button>
Opt-in per button as in shadcn/ui, shown only while the rail is collapsed on desktop. The
nav-main/nav-secondaryblocks now pass it, so sidebar-07 demonstrates it. It is a visual affordance: the label<span>stays in the DOM when the button shrinks, so the accessible name never depended on it. -
stateontooltip-content— the Alpine expression driving visibility, for tooltips living in a scope whereopenalready means something else.
Fixed
- The collapsed sidebar can be scrolled again.
sidebar-contentclipped both axes on the icon rail, making the last menu groups unreachable. Its scrollbar is hidden rather than given room, so the rail keeps its width and thesize-8buttons stop being squeezed against the track. collapsedis safe to read from nested Alpine scopes — a plain property synced withx-effectrather than a getter, whosethisAlpine resolves against the reading scope.
Full notes in the CHANGELOG.
Full Changelog: v1.22.0...v1.23.0