npm react-toastify 7.0.0
v7.0.0

Release Notes

💥 Breaking changes

  • dependency to react-transition-group has been removed #514
  • the duration parameter has been removed from cssTransition. Css animations just works now out of the box. Check the codesanbox below
  • the border-radius has been increased a bit

🚀 Features

  • Css animation just works!
    View

  • add a way to load the CSS without a CSS loader
    Edit react-toastify-inject-style

  • specify swipe direction, close #512 . Thanks to @denydavy
    Edit react-toastify-drag-y

  • bundle size reduced from ~7k to ~5k!

  • remove the dependency on prop-types.

🐛 Bugfix

  • fix #541 apply pauseOnFocusLoss on first render
  • fix #538 react-dom should be a peer dep
  • fix #530 change id generation
  • fix #534 #483 toastId cannot be reused
  • fix #511 by removing react-transition-group
  • fix #550 Unable to select text inside inputs when a toast is open
  • fix #555 The toast timer starts after you click on the toast
latest releases: 7.0.4, 7.0.3, 7.0.2...
4 months ago