Skip to content

refactor(collapsible): rewrite DkCollapsible on v0 Collapsible#8

Open
johnleider wants to merge 1 commit into
phase-a-key-lifecyclefrom
refactor/v0-collapsible
Open

refactor(collapsible): rewrite DkCollapsible on v0 Collapsible#8
johnleider wants to merge 1 commit into
phase-a-key-lifecyclefrom
refactor/v0-collapsible

Conversation

@johnleider

Copy link
Copy Markdown
Member

Summary

  • Replace hand-rolled native <details> DkCollapsible with the v0 Collapsible compound (Root / Activator / Cue / Content)
  • Preserve activator slot, chevron cue, and --v0-theme-* styling
  • Local open state via defineModel (default open) so sidebar sections toggle independently

Test plan

  • Sidebar Overview / Management / Account sections start expanded
  • Clicking a section header collapses/expands it
  • Chevron rotates when open
  • Nested nav items remain clickable when expanded

Replace the native <details> hand-roll with the Collapsible compound
(Root / Activator / Cue / Content). Keeps the same activator slot and
theme tokens; open state is local via defineModel (default true).
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