Skip to content

feat: SideNav collapse state#4593

Draft
jkuelz wants to merge 3 commits into
mainfrom
dev-v3-jkuelz-side-navigation
Draft

feat: SideNav collapse state#4593
jkuelz wants to merge 3 commits into
mainfrom
dev-v3-jkuelz-side-navigation

Conversation

@jkuelz

@jkuelz jkuelz commented Jun 9, 2026

Copy link
Copy Markdown
Member

Description

Related links, issue #, if available: n/a

How has this been tested?

Review checklist

The following items are to be evaluated by the author(s) and the reviewer(s).

Correctness

  • Changes include appropriate documentation updates.
  • Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
  • Changes do not include unsupported browser features, see CONTRIBUTING.md.
  • Changes were manually tested for accessibility, see accessibility guidelines.

Security

Testing

  • Changes are covered with new/existing unit tests?
  • Changes are covered with new/existing integration tests?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

jkuelz added 3 commits June 9, 2026 00:16
…conPosition, and design tokens

- collapsed?: boolean prop for icon-only rail mode
- icon?: ReactNode on Link, LinkGroup, ExpandableLinkGroup
- expandIconPosition?: 'start' | 'end' prop
- variant?: 'default' | 'highlighted' prop
- Collapsed state: deduplicate dividers, hide sections/groups, flatten items
- Design tokens: sizeSideNavigationItemHeight, spaceSideNavigationItemGap, spaceSideNavigationItemCollapsedGap
- CSS refactor: BEM naming, height-based item model, transition support
- collapsed.page.tsx: basic collapsed/expanded toggle with focus management
- collapsed-toggle-placement.page.tsx: toggle in 4 positions (top/bottom/above-items/below-items)
- collapsed-panel-layout.page.tsx: integration with PanelLayout for resizable panel
- collapsed-permutations.page.tsx: all item types showing collapsed behavior rules
- Flatten section/section-group children with icons in collapsed mode
- Apply list-variant-root--collapsed to zero padding when collapsed
- Apply list-variant-root--symmetric for highlighted variant in expanded mode
- Improve demo pages: scroll, toggle alignment, transition timing
@jkuelz jkuelz changed the title Dev v3 jkuelz side navigation feat: SideNav collapse state Jun 9, 2026
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