Skip to content

[Feature]: Sidebar Component - #96

Merged
joaopalopes24 merged 22 commits into
mainfrom
sidebar-component
Aug 31, 2026
Merged

[Feature]: Sidebar Component#96
joaopalopes24 merged 22 commits into
mainfrom
sidebar-component

Conversation

@joaopalopes24

Copy link
Copy Markdown
Member

No description provided.

Share rail layout tokens and collapse rules across React and Vue.
Let collapsed icon rails hide labels without coupling List to Sidebar.
Provide a persistent app-shell rail with provider, inset, and trigger.
Match the React Sidebar shell with provider, inset, and trigger.
Show SidebarProvider composition and how the shell relates to Drawer and List.
Mark the desktop aside inert when offcanvas is collapsed so hidden nav is not focusable.
Nested lists in collapsed sidebar nav should hide labels without repeating the prop.
Keep generic List free of Sidebar context. The wrappers derive iconOnly and tooltips from the
nearest rail.
Match nav density, draw a nested guide line, and avoid centering the start slot while the rail
shrinks.
Drop expanded color accent, match List row height, and draw a nested guide on the panel without
extra padding.
h-svh overflowed bounded previews and hid the account row.
Generic List was styling Listbox and Menu like a rail. Compact rows, nested guides, and tooltip
belong on SidebarList/SidebarListItem.
Generic List should not collapse to icons. Rail mode belongs on SidebarList and SidebarListItem.
ListItem always applies px-4. Header and footer rows with secondary used size-8 without resetting
that padding, so avatars overflowed the rail.
Explicit tooltip was wrapping expanded and drawer rows. Labels stay visible there, so the overlay is
noise.
Token width alone can overflow small phones. Clamp with max-width against 88vw.
The hit wrapper and hasSecondaryLabel were leftovers from icon-only on ListItem.
ListSection should not know the rail. SidebarList provides a generic hidden flag.
The icon-rail hide lived on every AccordionItem. It belongs on the plain panel token.
@joaopalopes24
joaopalopes24 marked this pull request as ready for review August 31, 2026 16:12
@joaopalopes24
joaopalopes24 merged commit e19795a into main Aug 31, 2026
15 checks passed
@joaopalopes24
joaopalopes24 deleted the sidebar-component branch August 31, 2026 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant