v3.0.0-beta.45 (2024-06-11)
Features
Bug Fixes
- toasts padding and button placement by 1px (#6730) (2ada6fc)
- only use
metadata.pages
for height if animated (#6728) (10c6ffa) - create sharp file for
fileHasAdjustments
files orfileIsAnimated
files (#6708) (6512d5c) - corrects field-paths that were incorrectly being set (#6724) (57fcc91)
BREAKING CHANGES
We now export toast from
sonner
instead of
react-toastify
. If you send out toasts from your own projects, make
sure to use ourtoast
export, or installsonner
. React-toastify
toasts will no longer work anymore. The Toast APIs are mostly similar,
but there are some differences if you provide options to your toastCSS styles have been changed from Toastify
/* before */ .Toastify /* current */ .payload-toast-container .payload-toast-item .payload-toast-close-button /* individual toast items will also have these classes depending on the state */ .toast-info .toast-warning .toast-success .toast-errorCleanShot.2024-06-08.at.15.22.09.mp4
Contributors
- Paul (@paulpopus)
- Alessio Gravili (@AlessioGr)
- Patrik (@PatrikKozak)
- Jarrod Flesch (@JarrodMFlesch)