Releases: Temzasse/react-modal-sheet
Releases · Temzasse/react-modal-sheet
v3.3.0
v3.2.0
v3.1.0
v3.0.0
⚠️ Breaking changes
The default export of Sheet
has been changed to named export:
// ❌ OLD
import Sheet from 'react-modal-sheet';
// ✅ NEW
import { Sheet } from 'react-modal-sheet';
There shouldn't be any other breaking changes (🤞🏻) but some fields in package.json
have changed that might affect the way your bundler imports the library so there might be some breaking changes for you depending on what bundler you use.
🦋 Full changelog
- Fix release script 6150b65
- Merge pull request #141 from Temzasse/tsup 672750b
- Update github workflow 9ffd87d
- Add attw to CI checks 74dc61b
- Update deps and scripts a0281f8
- Fix broken imports 9b7f54a
- Update SSR example da85e43
- Change Sheet default export to named export 6d952de
- Add eslintignore 08907a2
- Update example deps 4cefa5f
- Update min node engine version 4e1fe5c
- Fix tests 46bd40f
- Update github action f267a9c
- Update lint rules and fix issues 46c5f7a
- Replace tsdx with tsup c76b553
v2.2.1
v2.2.0
v2.1.0
v2.0.0
New features ✨
- Add
Sheet.Scroller
component to handle scrolling for sheet content with touch devices. Read more here.
Breaking changes 🔥
- The
springConfig
prop has been renamed totweenConfig
in order to reflect the internal change to using tween transition instead of a spring for the sheet animations (spring overshoot was a problem). - Change
Sheet.Backdrop
background color to be translucent black instead of gray to work better with iOS modal effect. - Remove unnecessary highlight layer from iOS modal effect.
Changelog
- Update docs and scrollable snap points example 1e06c2d
- Simplify and rename sheet transition config prop 5cd8ef3
- Cleanup code 90e3139
- Add sheet scroller documentation fc39ac3
- Change springConfig prop to generic transitionConfig 4566195
- Update example app 91293f0
- Update readme styled-component example fbcc7c9
- Add SheetScroller component 78375c9
- Update sheet backdrop background color 481ee48
- Remove ios modal effect highlight 829dcd6
- Update styled-component dev dep 6092cbf