v1.6.1
Thank you.
Thank you for using this library. This one contains a lot improvements, it also improves the animations a bit.
I released 1.6.0 and 1.6.1 right after, because I didn't build the package properly. You should use 1.6.1.
What's Changed
- Allow dismissing toasts with id = 0 by @MrFlashAccount in #442
- fix toast timer by @emilkowalski in #458
- fix: add "main" entry to package.json by @adamhenson in #457
- fix: missing exported types by @alex-mcgovern in #459
- Fix dependency array by @emilkowalski in #461
- fix: reverse left position on mobile
rtl
by @zaaakher in #453 - Allow awaiting
toast.promise
by @ajmnz in #462 - feat: add support for custom close icon by @alexandernanberg in #481
- update API reference for toast() by @plbstl in #471
- fix: allow React.js v19 in peerDependencies by @theoludwig in #493
- feat: allow ref forwarding for
Toaster
by @freshgiammi in #491 - fix: support dark mode for safari < 14 using matchMedia().addListener by @yunsteel in #495
- feat: support show react element from react server function by @himself65 in #492
- Include styles.css in dist by @kevlened in #446
- fix: implement loader class from config by @joewinger in #489
- fix: remove repeat effect hook to resolve mix up by @Tzyito in #392
- Fix inability to prevent toast from closing on action button click by @iuriiiurevich in #484
- fix: incorrect stacking by @emilkowalski in #499
- chore: remove templates by @emilkowalski in #500
- fix: incorrect timer on hover by @emilkowalski in #501
- feat: allow to pass custom elements to title and description by @emilkowalski in #502
- fix: turn section into live region #306 by @tricinel in #436
- docs: remove important property from docs by @emilkowalski in #503
- fix: background for close button by @emilkowalski in #504
- feat: improve swiping by @emilkowalski in #505
- feat: lift the toasts when hoevered for a better feel by @emilkowalski in #506
New Contributors
- @MrFlashAccount made their first contribution in #442
- @adamhenson made their first contribution in #457
- @alex-mcgovern made their first contribution in #459
- @alexandernanberg made their first contribution in #481
- @plbstl made their first contribution in #471
- @theoludwig made their first contribution in #493
- @freshgiammi made their first contribution in #491
- @yunsteel made their first contribution in #495
- @kevlened made their first contribution in #446
- @joewinger made their first contribution in #489
- @Tzyito made their first contribution in #392
- @iuriiiurevich made their first contribution in #484
- @tricinel made their first contribution in #436
Full Changelog: v.1.5.0...v1.6.1