Releases: emilkowalski/sonner
Releases Β· emilkowalski/sonner
v0.5.0
v0.4.0
What's Changed
- Add custom id by @emilkowalski in #51
- Add onDismiss and onAutoClose callbacks by @emilkowalski in #52
- Set line height by @emilkowalski in #53
- docs: readme typo by @DarrylBrooks97 in #58
- Fix layout shift by @emilkowalski in #61
- fix(typerror): fix unhandled possible undefined of ref #62 by @owieth in #63
- Fix lock file by @emilkowalski in #64
- Fix promise toast height by @emilkowalski in #69
- Allow toast updates and listen to height changes by @emilkowalski in #75
- Center toast on smaller screens by @emilkowalski in #76
New Contributors
- @DarrylBrooks97 made their first contribution in #58
- @owieth made their first contribution in #63
Full Changelog: v0.3.0...v0.4.0
v0.3.0
What's Changed
- Adjust offset types by @emilkowalski in #31
- Add end2end tests by @emilkowalski in #35
- Replace wrapping div with section html element by @emilkowalski in #38
- chore: add npm fields by @withyellow in #42
- Dismiss all toasts @emilkowalski in #45
- Add infinite toast by @emilkowalski in #46
- Fix useEffect warning by @emilkowalski in #47
New Contributors
- @withyellow made their first contribution in #42
Full Changelog: v0.2.0...v0.3.0
v0.2.0
What's Changed
- Fix batch updates by @emilkowalski in #28
- Export toast types and allow function to the success/error messages to incorporate the result/error of the promise @emilkowalski in #26
v0.1.1
What's Changed
- Fix height while expanded in by @joaom00 in #7
- Add a prefix to prevent overriding keyframmes by @lirbre in #11
- Avoid setting hover to false when swiping out to top by @joaom00 in #9
- Allow passing a Promise to toast without wrapper function by @skoshx in #6
- docs(website): match types copy to readme.md by @rafegoldberg in #13
v0.1.6
What's Changed
- Add ability to add classnames to description by @danjohnson95 in #15
- Add the ability to programmatically remove a toast by @emilkowalski in #18
- Add fully custom, unstyled toast + allow to pass jsx as first argument in the toast by @emilkowalski in #19
- fix: Pass toast props correctly when using it as a promise by @emilkowalski in #20