Skip to content

feat: Drawer preview (continuation of #2009) - #2285

Draft
maxffarrell wants to merge 18 commits into
huntabyte:mainfrom
maxffarrell:codex/drawer-continuation
Draft

maxffarrell wants to merge 18 commits into
huntabyte:mainfrom
maxffarrell:codex/drawer-continuation

Conversation

@maxffarrell

Copy link
Copy Markdown
Contributor

Continues #2009 and preserves Hunter Johnston’s commits and the existing unstable_Drawer API.

  • Merge current main and adopt its package aliases and Vitest setup. Drawer now uses the same outside-click validation as the other Bits UI components.
  • Correct the preview import, snap point and swipe direction examples, and focus guidance. Add a vaul-svelte migration skill with component and prop mappings, styling guidance, and behavior that requires manual migration.
  • Cover backdrop dismissal, focus and nested stacks, non-modal behavior, swiping in all four directions, edge opening, release velocity, scroll handoff, exit transitions, and listener cleanup.

Validation

  • 124 Drawer and dismissible-layer browser tests passed across Chromium and WebKit.
  • Package build, package and workspace type checks, lint, 157 utility tests, 11 script tests, and skill validation passed. The workspace test check reports one existing Select fixture accessibility warning.

Real-device iOS Safari keyboard behavior still needs a manual check.

@changeset-bot

changeset-bot Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: d5567f4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
bits-ui Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions

github-actions Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor
built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
bits-ui ✅ Ready (View Log) Visit Preview d5567f4

This branch was successfully deployed

1 active deployment
Preview — d5567f42 Deployed Nov 6, 2026 by github-actions[bot]
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