Releases: emilkowalski/vaul
Releases · emilkowalski/vaul
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
v0.9.0
What's Changed
- Fix scroll top with smooth scroll by @emilkowalski in #219
- update bundler by @emilkowalski in #221
- Fix: Allow snapping to the first snap point by @suphon-t in #223
- Fix useSnapPoints onRelease position by @suphon-t in #227
- fix: using e.preventDefault to prevent drawer from closing by @GrantClark1999 in #237
- remove duplicated main element by @choeqq in #233
- [maintenance]: bump packages by @choeqq in #235
- Maintenance by @emilkowalski in #238
- fix autocomplete input bug by @emilkowalski in #244
- cleanup bg on body by @choeqq in #232
- fix: missing dependencies on fixed position hook effect by @rortan134 in #231
- Always drag side drawers by @emilkowalski in #247
- Fix controlled snap poinst by @emilkowalski in #248
- Add non-draggable elements by @emilkowalski in #250
New Contributors
- @suphon-t made their first contribution in #223
- @GrantClark1999 made their first contribution in #237
- @choeqq made their first contribution in #233
Full Changelog: v0.8.7...v0.9.0
v0.8.7
What's Changed
- Switch bundler to bunchee by @huozhi in #190
- Add
preventScrollRestoration
option for scroll resortation by @shkumbinhasani in #202 - Fix usage without a portal by @emilkowalski in #207
- Don't hide sticky elements by @emilkowalski in #209
- build: bump bunchee to latest version by @huozhi in #208
- chore: align react types versions by @huozhi in #211
- Fix: Prevent sheet from exceeding boundaries of the last snap point while dragging by @erisleci in #206
- Support top/bottom/left/right drawer direction by @dcyoung in #187
New Contributors
- @huozhi made their first contribution in #190
- @shkumbinhasani made their first contribution in #202
- @erisleci made their first contribution in #206
- @dcyoung made their first contribution in #187
Full Changelog: v0.8.0...v0.8.6
v0.8.0
What's Changed
- Fix: non dismissible snap points and onRelease handler by @rortan134 in #179
- refactor: remove redundancies by @rortan134 in #178
- Fix: Fixed overlay snap bug #171 by @emirhangumus in #172
New Contributors
- @rortan134 made their first contribution in #179
- @emirhangumus made their first contribution in #172
Full Changelog: v0.7.9...v0.8.0
v0.7.9
Small, but valuable release, it fixes quite a few bugs related to controlled state & scrollable content.
What's Changed
- Fix controlled state by @emilkowalski in #166
- Fix drag issue when element is scrollable by @emilkowalski in #167
Full Changelog: v0.7.8...v0.7.9
v0.7.8
What's Changed
- Fix fixed position when unmounting by @emilkowalski in #147
- Don't apply fixed positioning when unmounting by @emilkowalski in #148
- fix: snap to initial value not equal to 0 by @KajSzy in #149
- Fix no scroll upon navigation by @emilkowalski in #155
- fix: rely on screenY in stead of clientY for determining drag distance by @andrejilderda in #154
- Add GitHub action for playwright tests by @emilkowalski in #159
Full Changelog: v0.7.2...v0.7.8
v0.7.2
What's Changed
- refactor: stroke attribute names to camel case in jsx by @khajimatov in #141
- chore: remove multi next version by @Innei in #140
- fix: pass
style
to overlay by @Innei in #139 - Reset overflow on route change by @emilkowalski in #145
New Contributors
- @khajimatov made their first contribution in #141
- @Innei made their first contribution in #140
Full Changelog: v0.7.1...v0.7.2
v0.7.1
What's Changed
- fix: restore position setting on unmount #135 by @andrejilderda in #136
- Handle multi touch by @emilkowalski in #137
New Contributors
- @andrejilderda made their first contribution in #136
Full Changelog: v0.7.0...v0.7.1
v0.7.0
What's Changed
- Move setVisible call to Content by @emilkowalski in #123
- Prevent hooks from running if drawer was never opened by @emilkowalski in #125
- Add more tests by @emilkowalski in #133
- Revert back to initial height after visual viewport has been changed by @emilkowalski in #134
Full Changelog: v0.6.7...v0.7.0
v0.6.7
What's Changed
- Fix position fixed with height 100% on body and/or html by @emilkowalski in #98
- Fix controlled drawer closing bug by @emilkowalski in #101
- Add fixed prop by @emilkowalski in #103
- Fix modal prop by @emilkowalski in #109
- Cleanup wrapper styles on unmount by @emilkowalski in #110
- Fix background reset on new next version by @emilkowalski in #111
- Spread props into nested root by @emilkowalski in #112
- Disallow dragging down to close when snapPointIndex === 0 by @emilkowalski in #113
- Fix drawer not receiving focus by @emilkowalski in #115
- Fix scroll bug by @emilkowalski in #116
- Polish snap points by @emilkowalski in #118
- Remove Safari theme animation for now by @emilkowalski in #119
Full Changelog: v0.6.0...v0.6.7