Releases: pradel/react-responsive-modal
Releases · pradel/react-responsive-modal
v5.0.2
v5.0.1
v5.0.0
📖 Check the announcement post containing the migration guide :)
Improvements
- Decreased bundle size from 8.1kb to 3kb minified and gzipped 📦🎉.
- Rewrote the package with typescript.
- Rewrote the package with React hooks.
- Added new examples to the documentation.
- Upgraded docz for the documentation.
Breaking changes
- Minimum react version is now
16.8.0
. - Need to import the css file.
- Removed
onEntered
prop. onExited
has been renamed toonAnimationEnd
.- Removed
closeIconSize
. - Removed
closeIconSvgPath
use the newcloseIcon
prop instead. - Removed
focusTrapOptions
as react-focus-trap is not used anymore internally. - New CSS animations.
v4.0.1
v4.0.0
v4 🎉
- Minimum version of react is now 16.6.0
- New aria best practices implemented
- Add new ARIA role prop that default to dialog
- Add new ARIA
ariaLabelledby
prop - Add new ARIA
ariaDescribedby
prop focusTrapped
default value is now true- Upgrade
react-transition-group
to version 4.X - Reduce bundle size