Releases: emilkowalski/sonner
v2.0.5
Main goal of this update is to fix css import.
What's Changed
- update bunchee by @emilkowalski in #650
Full Changelog: v2.0.4...v2.0.5
v2.0.4
What's Changed
- chore: remove lift interaction by @emilkowalski in #644
- fix: ensure
onDismiss
fires correctly by @emilkowalski in #645 - fix: react to custom toast height changes by @emilkowalski in #646
Full Changelog: v2.0.3...v2.0.4
v2.0.3
What's Changed
- chore: Don't show toast buffers when not expanded. by @emilkowalski in #614
- feat: inherit color for description when rich colors is
true
by @emilkowalski in #615
Full Changelog: v2.0.2...v2.0.3
v2.0.2
What's Changed
- fix: isExtendedResult. Check if promiseData is an object and not a valid React Element by @diegotraid in #595
- fix: toast.dismiss without an id doesn't dismiss by @emilkowalski in #609
- feat: allow to fully hide icons with null by @emilkowalski in #610
Full Changelog: v2.0.1...v2.0.2
v2.0.1
What's Changed
- fix: flush sync error by @emilkowalski in #586
- fix: allow users to select text after swipe gesture by @emilkowalski in #587
Full Changelog: v2.0.0...v2.0.1
v2.0.0
Mostly bug fixes, see more at https://sonner.emilkowal.ski/getting-started.
What's Changed
- sonner v2.0 by @emilkowalski in #558
Full Changelog: v.2.0.0-beta.1...v2.0.0
v2.0.0-beta.3
You can try the beta version by installing Sonner like this:
pnpm add sonner@2.0.0-beta.3
What's Changed
- chore: remove deprecated props by @emilkowalski in #577
- feat: drag damping by @emilkowalski in #578
- Enhance Promise to support ExternalToast propertiesfeat: Promise enhancement to allow ExternalToast props by @diegotraid in #547
- fix: make promises work with new Error by @emilkowalski in #579
- chore: Hide the close button when toastType is loading by @ynng3 in #516
- fix close button aria labels by @mirorauhala in #490
- fix: error promise test by @emilkowalski in #580
New Contributors
- @diegotraid made their first contribution in #547
- @ynng3 made their first contribution in #516
- @mirorauhala made their first contribution in #490
Full Changelog: v2.0.0-beta.2...v2.0.0-beta.3
v2.0.0-beta.2
You can try the beta version by installing Sonner like this:
pnpm add sonner@2.0.0-beta.2
What's Changed
- chore: update toast lifetime by @emilkowalski in #570
- build: use bunchee by @huozhi in #561
- fix: failing tests by @emilkowalski in #572
- fix: unstyled prop not being applied to all elements by @emilkowalski in #573
- fix: inability to remove a toast that has just been created by @emilkowalski in #574
- fix: close button background is transparent by @emilkowalski in #575
- chore: bring back lift on hover by @emilkowalski in #576
Full Changelog: v.2.0.0-beta.1...v2.0.0-beta.2
v.2.0.0-beta.1
Beta of version 2.0
No real breaking changes, mostly bug fixes. Run the command bellow if you want to try it out.
pnpm add sonner@2.0.0-beta.1
I have also updated the styling docs with more information and the recommended method:
https://sonner.emilkowal.ski/styling
What's Changed
- fix: swallowed mouseUp event by @emilkowalski in #550
- refactor: remove unstyled prop by @emilkowalski in #557
- fix: allow toats to grow properly by @emilkowalski in #559
- chore: rename data-theme to data-sonner-theme by @emilkowalski in #560
- fix: toast removal in strict mode by @emilkowalski in #563
- refactor: maintain default styles when custom by @emilkowalski in #564
- fix: check for promise properly by @emilkowalski in #565
- chore: horizontal swiping improvements by @emilkowalski in #566
- chore: improve rich colors by @emilkowalski in #567
- chore: improve base colors by @emilkowalski in #568
- chore: remove lift interaction, decrease default gap by @emilkowalski in #569
Full Changelog: v1.7.3...v.2.0.0-beta.1
v1.7.3
What's Changed
- fix: swipe test by @emilkowalski in #545
- fix: useSonner hook by @emilkowalski in #549
Full Changelog: v.1.7.2...v1.7.3