Releases: emilkowalski/vaul
v1.1.2
v1.1.1
What's Changed
- feat: add React 19 to peer deps by @shadcn in #498
- fix: initial nested transform by @jeremiasjutz in #491
New Contributors
- @shadcn made their first contribution in #498
- @jeremiasjutz made their first contribution in #491
Full Changelog: v1.1.0...v1.1.1
v1.1.0
What's Changed
- fix: Fix non-modal drawers without overlay to properly set body pointer events by @KajSzy in #460
- fix: restore position settings on drawer unmount by @maiconcarraro in #462
- fix(docs): readme jsx tag by @Innei in #474
- fix: typescript strict on to prevent null calls by @maiconcarraro in #477
- Fix: Ensure drawer opens at the specified active snap point on initial render by @KhalafAbdi in #473
- fix: long press by @emilkowalski in #485
- feat: add initial transform css variable by @emilkowalski in #486
- fix: don't animate initially if defaultOpen is set to true by @emilkowalski in #488
- fix: mobile firefox inputs by @emilkowalski in #489
New Contributors
- @maiconcarraro made their first contribution in #462
- @KhalafAbdi made their first contribution in #473
Full Changelog: v1.0.0...v1.1.0
v1.0.0
New Docs
https://vaul.emilkowal.ski/getting-started
What's Changed
- fix: undefined window by @emilkowalski in #452
- fix: prevent undefined window by @emilkowalski in #453
- feat: documentation by @emilkowalski in #454
- feat: Add JSDocs by @KajSzy in #459
Full Changelog: v0.9.7...v1.0.0
v0.9.7
What's Changed
- fix: horizontal shift by @emilkowalski in #443
- fix: make modal false scrollable by @emilkowalski in #444
- fix: input repositioning by @emilkowalski in #446
- fix: opacity calculation by @emilkowalski in #447
- fix: pointer events none by @emilkowalski in #449
- fix: prevent nested drawers from scrolling to top by @emilkowalski in #450
Full Changelog: v0.9.5...v0.9.7
v0.9.6
What's Changed
Going from 0.9.4 to 0.9.6 in Release notes, because I didn't rebuilt the project when I published 0.9.5.
- Add usePositionFixed hook by @emilkowalski in #436
- feat: Don't autofocus within Dialog by @emilkowalski in #437
- fix: ensure interaction after closing by @emilkowalski in #438
- fix: nested drawers drag by @emilkowalski in #439
- fix: drawer failing to cancel move event by @emilkowalski in #440
- fix: inputs repositioning by @emilkowalski in #441
- feat: add autofocus prop by @emilkowalski in #442
Full Changelog: v0.9.4...v0.9.6
v0.9.4
Major Refactor
This is a major refactor, I tested it on my device, but there is a chance that you might run into some issues. If you do, please create an issue with a codesandbox reproduction of it so that I can help you. Thanks!
What's Changed
- feat: background scaling backwards compatible by @emilkowalski in #412
- feat: support parent container by @emilkowalski in #413
- fix: snap points by @emilkowalski in #415
- fix: fadeFromIndex prop by @emilkowalski in #416
- fix: dismissible prop by @emilkowalski in #418
- Contain CSS file in the published package by @huozhi in #417
- feat:
onAnimationEnd
prop by @emilkowalski in #419 - fix: pass children to overlay by @emilkowalski in #420
- fix: reset scroll behavior by @emilkowalski in #421
- fix: modal prop by @emilkowalski in #424
- fix: esc shoud close drawer when modal is false by @emilkowalski in #425
- fix: don't apply body styles if there's no wrapper by @emilkowalski in #426
- feat: bring back handle component by @emilkowalski in #427
- fix: handle tests by @emilkowalski in #428
- fix: closeThreshold not working as expected when direction="left" (#385) by @yodhcn in #386
New Contributors
Full Changelog: v0.9.3...v0.9.4
v0.9.3
What's Changed
Most importantly the scroll top issue should now be gone, issues with controlled state/defaultOpen prop should also be fixed.
If you are scaling background, please ensure to change [vaul-drawer-wrapper]
to [data-vaul-drawer-wrapper]
. I'll make it backwards compatible in v0.9.4.
- feat: add export on props by @ferdylimmm9 in #405
- adjust snapPoints on window resize by @bviebahn in #399
- Export DialogProps type by @martynaskadisa in #348
- fix: scroll top by @emilkowalski in #406
- ISSUE-369: Make vaul use data- attr for Content direction by @mikita-liaukovich-epam in #404
- fix: controlled state by @emilkowalski in #408
- refactor: background scaling by @emilkowalski in #409
- feat: add prop to disable input repositioning by @emilkowalski in #410
New Contributors
- @ferdylimmm9 made their first contribution in #405
- @bviebahn made their first contribution in #399
- @martynaskadisa made their first contribution in #348
- @mikita-liaukovich-epam made their first contribution in #404
Full Changelog: v0.9.2...v0.9.3
v0.9.2
Expect much more updates in the very near future :)
What's Changed
- fix(src): Replace
React.useLayoutEffect
withuseIsomorphicLayoutEffect
by @axeldesutter in #368 - build: upgrade bundler by @huozhi in #315
- chore: update pnpm by @emilkowalski in #401
New Contributors
- @axeldesutter made their first contribution in #368
Full Changelog: v0.9.1...v0.9.2
v0.9.1
A lot of bug fixes + two additions that were requested:
noBodyStyles
: When true
the body doesn't get any styles assigned from Vaul.
setBackgroundColorOnScale
: When false
we don't change body's background color when the drawer is open. tru
e by default
What's Changed
- chore: move build related to dev deps by @huozhi in #257
- Cancel current drag when closing the drawer by @henriqemalheiros in #263
- fix: remove extra 'use client' directive by @Kinbaum in #261
- Make data-vaul-no-drag work if any parent matches by @arsaizdihar in #267
- Use bunchee as bundler by @huozhi in #260
- Fix Non-Dismissable Swiping by @keeganpotgieter in #276
- dont run onopenchange twice by @emilkowalski in #297
- fix lock file by @emilkowalski in #298
- fix: block swipe if in wrong direction by @joaom00 in #314
- fix element existence check by @jacobclyne in #309
- Fixed: elemente -> element by @Abdul535 in #308
- Fix position fixed causing layout shifts on standalone sites (pwa) by @Cuzart in #277
- Issues when using drawer with autofocus input on iOS by @ze-kel in #258
- Batch fixed position style updates by @rortan134 in #337
- fix: drag upwards by @joaom00 in #326
- feat: drawer handle component by @rortan134 in #182
- add warning when drawer context is used outside of scope by @rortan134 in #336
- Fix inappropriate non-modal drawer closure by @artemis-prime in #332
- added setBackgroundColorOnScale prop by @cervantes-x in #338
- Add prop to not add body styles by @emilkowalski in #342
New Contributors
- @henriqemalheiros made their first contribution in #263
- @Kinbaum made their first contribution in #261
- @arsaizdihar made their first contribution in #267
- @keeganpotgieter made their first contribution in #276
- @jacobclyne made their first contribution in #309
- @Abdul535 made their first contribution in #308
- @Cuzart made their first contribution in #277
- @ze-kel made their first contribution in #258
- @artemis-prime made their first contribution in #332
- @cervantes-x made their first contribution in #338
Full Changelog: v0.9.0...v0.9.1