Skip to content

Releases: pradel/react-responsive-modal

v5.0.2

06 Apr 17:22
Compare
Choose a tag to compare
  • add default export back

v5.0.1

06 Apr 17:12
Compare
Choose a tag to compare

Fix 5.0.0 publishing issue

v5.0.0

06 Apr 16:45
Compare
Choose a tag to compare

📖 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 to onAnimationEnd.
  • Removed closeIconSize.
  • Removed closeIconSvgPath use the new closeIcon prop instead.
  • Removed focusTrapOptions as react-focus-trap is not used anymore internally.
  • New CSS animations.

v4.0.1

09 May 12:40
Compare
Choose a tag to compare
  • Fix center prop not working #316

v4.0.0

08 May 20:52
Compare
Choose a tag to compare

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

Bug fixes

Close #283
Close #239
Close #301

v3.6.0

04 Feb 10:30
Compare
Choose a tag to compare

Features

  • Add id attribute to overlay modal and close icon #275 @ajinkyashukla29

v3.5.1

12 Nov 13:46
Compare
Choose a tag to compare

Bug fixes

  • component should always return one child #230 @RedTn

v3.5.0

30 Oct 09:16
Compare
Choose a tag to compare

Features

  • feat: add focus-trap-react to modal (#222) @RedTn

v3.4.0

15 Sep 15:30
Compare
Choose a tag to compare

Features

  • Babel 7 and new docs website using docz #198

Bug fixes

  • Fixed centring of overlay in IE11 #207

v3.3.0

28 Aug 09:54
Compare
Choose a tag to compare

Features

  • Make blocking scroll optional by adding props blockScroll=true #197

Bug fixes

  • Fix center limitation when modal is bigger than the screen #199