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