Skip to content

v1.23.0

Latest

Choose a tag to compare

@github-actions github-actions released this 07 Aug 07:26
· 1 commit to main since this release

Reported by @cmdevpe (#15) — three gaps that only surface together, once a collapsed sidebar has enough items to scroll.

Added

  • tooltip on sidebar-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-secondary blocks 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.

  • state on tooltip-content — the Alpine expression driving visibility, for tooltips living in a scope where open already means something else.

Fixed

  • The collapsed sidebar can be scrolled again. sidebar-content clipped 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 the size-8 buttons stop being squeezed against the track.
  • collapsed is safe to read from nested Alpine scopes — a plain property synced with x-effect rather than a getter, whose this Alpine resolves against the reading scope.

Full notes in the CHANGELOG.

Full Changelog: v1.22.0...v1.23.0