Releases: emilkowalski/sonner
Releases Β· emilkowalski/sonner
v1.2.1
Styling
Styling customization, especially with Tailwind should be much easier now. I created a new page in the documentation with more details - https://sonner.emilkowal.ski/styling.
What's Changed
- Account for fetch in promise by @emilkowalski in #223
- witll -> will by @salieflewis in #230
- Easier classname customization by @emilkowalski in #232
New Contributors
- @salieflewis made their first contribution in #230
Full Changelog: v1.2.0...v1.2.1
v1.2.0
What's Changed
- Close custom toasts by @emilkowalski in #218
- Add loading icon prop by @emilkowalski in #219
- Styles for action and cancel buttons by @jorgeAgoiz in #214
- Update Docs by @emilkowalski in #220
New Contributors
- @jorgeAgoiz made their first contribution in #214
Full Changelog: v1.1.0...v1.2.0
v1.1.0
What's Changed
- Add dark mode to docs by @emilkowalski in #150
- Fix potential title and description overflowing by @itsjoeoui in #152
- Bugfix: Update now works for first toastId by @estubmo in #156
- Update exports in package.json by @emilkowalski in #161
- Update docs repo base url by @emilkowalski in #162
- Update README.md by @emilkowalski in #167
- Make
PromiseData
partial intoast.promise
by @ajmnz in #164 - Allow to override icons by @emilkowalski in #175
- docs: Fix copy button in CodeBlock by @aXenDeveloper in #180
- Add gap prop by @emilkowalski in #181
- type: import types with keyword by @Hossein-Mirazimi in #183
- fix(docs): fix typo in cancel button docs by @A7med3bdulBaset in #186
- Added empty arrow function to close button by @CodingMarin in #185
- Introduce unstyled prop by @emilkowalski in #187
- Warning and Info toasts by @emreakdas in #195
- Update warning icon by @emilkowalski in #198
- Returning the id for a custom toast by @fax1ty in #202
- Typescript error - loading, success and error should be optional by @MakakWasTaken in #200
- Fix updating duration, update docs by @emilkowalski in #206
New Contributors
- @itsjoeoui made their first contribution in #152
- @estubmo made their first contribution in #156
- @aXenDeveloper made their first contribution in #180
- @Hossein-Mirazimi made their first contribution in #183
- @A7med3bdulBaset made their first contribution in #186
- @CodingMarin made their first contribution in #185
- @emreakdas made their first contribution in #195
- @fax1ty made their first contribution in #202
- @MakakWasTaken made their first contribution in #200
Full Changelog: v1.0.0...v1.1.0
v1.0.0
What's Changed
- Account for velocity when swiping by @emilkowalski in #123
- fix system theme by @emilkowalski in #126
- Simplify math for calculating +5% by @chrizzzly87 in #128
- Check if ref date exists by @emilkowalski in #129
- Fix use sonner in server components by @emilkowalski in #130
- Fix tests by @emilkowalski in #131
- Fix usage in server components by @emilkowalski in #136
- feat: allow setting position when creating a toast by @hyoban in #134
- remove duplicated use client directive by @huozhi in #138
- Add documentation by @emilkowalski in #139
New Contributors
- @chrizzzly87 made their first contribution in #128
- @hyoban made their first contribution in #134
- @huozhi made their first contribution in #138
Full Changelog: v0.7.0...v1.0.0
v0.7.0
What's Changed
- Fix initial theme by @emilkowalski in #99
- Adjust the actual theme when theme prop changes by @emilkowalski in #103
- Improve keyboard navigation by @joaom00 in #104
- Add swipe up and theme tests by @joaom00 in #105
- fix typo in tests by @emilkowalski in #106
- fix(website): Correct CSS comment format by @limitless-dev in #112
- add finally to toast.promise by @ajmnz in #118
- Fix playwright tests by @emilkowalski in #121
- Add loading toast by @emilkowalski in #122
- feat: Add RTL support by @limitless-dev in #110
New Contributors
- @limitless-dev made their first contribution in #112
- @ajmnz made their first contribution in #118
Full Changelog: v0.6.0...v0.7.0
v0.6.0
What's Changed
- Update preview video URL by @vallezw in #88
- fix: update description type by @HananoshikaYomaru in #91
- Fix swipe to top by @joaom00 in #94
- fix: return null as default asset by @wobsoriano in #93
- docs: add solid port link by @wobsoriano in #92
- fix: follow react hooks deps rule by @himself65 in #77
- docs: add Svelte port by @wobsoriano in #95
- Implement system theme by @emilkowalski in #97
New Contributors
- @vallezw made their first contribution in #88
- @HananoshikaYomaru made their first contribution in #91
- @wobsoriano made their first contribution in #93
- @himself65 made their first contribution in #77
Full Changelog: v0.5.0...v0.6.0
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