Skip to content

Feat/drawer nested root#10

Merged
vinutv merged 3 commits intomainfrom
feat/drawer-nested-root
Apr 27, 2026
Merged

Feat/drawer nested root#10
vinutv merged 3 commits intomainfrom
feat/drawer-nested-root

Conversation

@vinutv
Copy link
Copy Markdown
Member

@vinutv vinutv commented Apr 27, 2026

No description provided.

vinutv added 2 commits April 27, 2026 13:57
Re-exports vaul's Drawer.NestedRoot as DrawerNestedRoot from the
@/components/ui/drawer barrel and adds a 'Nested Drawers' example to
the docs registry. NestedRoot must be used (instead of Root) for the
inner drawer so vaul can coordinate the gesture and produce the
Sonner-like scale-back stacking effect when the inner drawer is
dragged or closed.
Sheets compose naturally — opening a Sheet from inside another Sheet's
body stacks the second on top with its own overlay and focus trap.
Closing the inner sheet returns focus to the trigger in the parent.
No code change to the component itself; this is purely a new docs
example.
@vinutv
Copy link
Copy Markdown
Member Author

vinutv commented Apr 27, 2026

@copilot resolve the merge conflicts in this pull request

Co-authored-by: vinutv <16238306+vinutv@users.noreply.github.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Apr 27, 2026

Deploying careui with  Cloudflare Pages  Cloudflare Pages

Latest commit: 29a5667
Status: ✅  Deploy successful!
Preview URL: https://c75f1143.careui.pages.dev
Branch Preview URL: https://feat-drawer-nested-root.careui.pages.dev

View logs

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 27, 2026

@copilot resolve the merge conflicts in this pull request

Merge conflicts resolved in commit 29a5667. The conflict in public/registry/care-ui/drawer/drawer.json was fixed by regenerating the registry from the merged drawer.tsx source, preserving the DrawerNestedRoot additions from this branch alongside the changes from main.

@vinutv vinutv merged commit 40f9190 into main Apr 27, 2026
1 check passed
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.

2 participants