Releases: fkhadra/react-toastify
Releases Β· fkhadra/react-toastify
v5.1.1
v5.1.0
v5.0.1
v5.0.0
Changelog
π₯Features
- toast are now animated on position change #303
- The
ToastContainer
is now optional, if user opt-in. It will be mounted if none is present π² #319 - Add a new api to configure the
ToastContainer
if it's lazy mounted - Display the default
CloseButton
whencloseButton
option is set to true #313 (credit @alanlima) - Add an option to delay toast rendering #304
π·Bugfixes
toast.dismiss
work when the id is 0 #316 (credit @alanlima)- The timer pause when hovering the close icon #237
π Misc
- Update dependencies
- Fix Readme typos (credit @naclcaleb)
- @babel/runtime is a new dependency. This help reduce bundle size (credit @NeoLegends)
- Single file build just like react and react-router.
- Add a pre-optimized production builds.
- Add esm modules. The lib is now "tree-shakable"
- Reduced size of the production build from 8Kb to 5Kb
v4.5.2
v4.5.1
v4.5.0
Changelog
New features:
- progress bar can be controlled @Ugzuzg
- add a
done
method totoast
when working with controlled progress bar. This close the notification after the last progress tick see example in Readme here toastId
can now be updated too when callingtoast.update
@evansjohnson
Changes:
- Fix typos in Readme!
- Add Issue and PR template
- Add Code of Conduct and Contributing guide
- Default
toastId
are now random string - Better redux example @levino
Fixes:
- Fix typescript definition.
toastId
was accepting only number instead ofnumber | string