Releases: fkhadra/react-toastify
Releases Β· fkhadra/react-toastify
v2.1.2
v2.1.1
v2.1.0
v2.0.0
Changelog
- The default design has been reviewed. The component is now usable out of the box without the need to touch the css. Relate to issue #28
- The toast timer can keep running on hover. issue #33
- Added a possibility to check if a given toast is displayed or not. By using that method we can prevent duplicate. issue #3
- Can decide to close the toast on click
- Can show the newest toast on top
- Can define additional className for toastissue #21
- Much more mobile-ready than the past
- The space in of left boxes from window & right boxes from the window is different.issue #25
- Partial support of ie11. I still need to fix the animation but I need a computer with ie11 for that xD issue #26
v1.7.0
v1.6.0
Changelog
- Can now remove a toast programmatically. When you display a toast, the function return a toastId. You can use it
as follow to remove a given toasttoast.dismiss(toastId)
- If the container is not mounted, the notification will be added to a queue and dispatched as soon as the container is mounted.
For more details check issue #4 - Added --no-idents flag to cssnano to avoid animation name collision with others libs.
- Tests are no longer transpiled
v1.5.0
v1.4.3
v1.4.2
v1.4.0
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.