Skip to content

Releases: fkhadra/react-toastify

v1.4.3

10 Aug 06:58
Compare
Choose a tag to compare

Changelog

  • React and react-dom are now peer dependencies

v1.4.2

10 Aug 07:00
Compare
Choose a tag to compare

Changelog

  • Don't try to pass down the props when we render a string like so : toast(<div>hello</div>)
  • Fixed the test to check if the toast can be rendered

v1.4.0

10 Aug 07:01
Compare
Choose a tag to compare

Changelog

  • React v16 ready : moving to prop-types and react-transition-group
  • Internal rewrite of components. The implementation wasn't bad but it wasn't good either. A better props validation has been added has well.
  • Removed useless dependencies. I was using the Object.values polyfill when a one line forEach can do the same is my case.
  • Now I believe it's even easier to style the components. The sass sources files are now included when you install the package via yarn or npm
  • The default close button has been replaced.
  • A progress bar is now visible to track the remaining time before the notification is closed. Of course if you don't like it, you are free to disable it.
  • You can choose to display a close button or not.
  • Event pointer is set to none to avoid losing pointer events on everything beneath the toast container when no toast are displayed
  • The closeToast callback is also passed down to your component.

v1.3.0

10 Aug 07:01
Compare
Choose a tag to compare

Changelog

  • PropTypes package update
  • Dead code elimination
  • Possibility to use a custom close button. Check the api docs of ToastContainer and toast.