Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add default property to classNames to the toast function and Toaster component #245

Merged
merged 1 commit into from
Dec 25, 2023

Conversation

imopbuilder
Copy link
Contributor

@imopbuilder imopbuilder commented Dec 3, 2023

#242 issue fix

Updated the types and the state by adding a property default to the classNames property

Copy link

vercel bot commented Dec 3, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sonner ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 3, 2023 5:56am

@emilkowalski emilkowalski merged commit 776b36b into emilkowalski:main Dec 25, 2023
3 checks passed
SHABIN-K referenced this pull request in SHABIN-K/Brainwave Dec 27, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [sonner](https://sonner.emilkowal.ski/)
([source](https://github.com/emilkowalski/sonner)) | [`1.2.4` ->
`1.3.1`](https://renovatebot.com/diffs/npm/sonner/1.2.4/1.3.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/sonner/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/sonner/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/sonner/1.2.4/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/sonner/1.2.4/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>emilkowalski/sonner (sonner)</summary>

###
[`v1.3.1`](https://github.com/emilkowalski/sonner/compare/v1.3.0...c449e2741368b04b4524859aa2a60696c0cfb58c)

[Compare
Source](https://github.com/emilkowalski/sonner/compare/v1.3.0...c449e2741368b04b4524859aa2a60696c0cfb58c)

###
[`v1.3.0`](https://github.com/emilkowalski/sonner/releases/tag/v1.3.0)

[Compare
Source](https://github.com/emilkowalski/sonner/compare/v1.2.4...v1.3.0)

#### What's Changed

- Remove unstyled prop from Hero toast by
[@&#8203;IgorKowalczyk](https://github.com/IgorKowalczyk) in
[https://github.com/emilkowalski/sonner/pull/241](https://github.com/emilkowalski/sonner/pull/241)
- Fix sidebar nav by
[@&#8203;emilkowalski](https://github.com/emilkowalski) in
[https://github.com/emilkowalski/sonner/pull/243](https://github.com/emilkowalski/sonner/pull/243)
- fix incorrect demo code for promise toasts by
[@&#8203;LemonFace0309](https://github.com/LemonFace0309) in
[https://github.com/emilkowalski/sonner/pull/261](https://github.com/emilkowalski/sonner/pull/261)
- Fresh deno compatibility by
[@&#8203;hapaxlife](https://github.com/hapaxlife) in
[https://github.com/emilkowalski/sonner/pull/263](https://github.com/emilkowalski/sonner/pull/263)
- Resolves:
[#&#8203;224](https://github.com/emilkowalski/sonner/issues/224) -
Close button is always visible on toast when defined by
[@&#8203;andrewbarnesweb](https://github.com/andrewbarnesweb) in
[https://github.com/emilkowalski/sonner/pull/227](https://github.com/emilkowalski/sonner/pull/227)
- Remove toast classes from custom `loadingIcon` by
[@&#8203;emilkowalski](https://github.com/emilkowalski) in
[https://github.com/emilkowalski/sonner/pull/268](https://github.com/emilkowalski/sonner/pull/268)
- types: export types explicitly by
[@&#8203;huozhi](https://github.com/huozhi) in
[https://github.com/emilkowalski/sonner/pull/264](https://github.com/emilkowalski/sonner/pull/264)
- feat: add default property to classNames to the toast function and
Toaster component by
[@&#8203;imopbuilder](https://github.com/imopbuilder) in
[https://github.com/emilkowalski/sonner/pull/245](https://github.com/emilkowalski/sonner/pull/245)

#### New Contributors

- [@&#8203;IgorKowalczyk](https://github.com/IgorKowalczyk) made their
first contribution in
[https://github.com/emilkowalski/sonner/pull/241](https://github.com/emilkowalski/sonner/pull/241)
- [@&#8203;LemonFace0309](https://github.com/LemonFace0309) made their
first contribution in
[https://github.com/emilkowalski/sonner/pull/261](https://github.com/emilkowalski/sonner/pull/261)
- [@&#8203;hapaxlife](https://github.com/hapaxlife) made their first
contribution in
[https://github.com/emilkowalski/sonner/pull/263](https://github.com/emilkowalski/sonner/pull/263)
- [@&#8203;andrewbarnesweb](https://github.com/andrewbarnesweb) made
their first contribution in
[https://github.com/emilkowalski/sonner/pull/227](https://github.com/emilkowalski/sonner/pull/227)
- [@&#8203;imopbuilder](https://github.com/imopbuilder) made their
first contribution in
[https://github.com/emilkowalski/sonner/pull/245](https://github.com/emilkowalski/sonner/pull/245)

**Full Changelog**:
emilkowalski/sonner@v1.2.4...v1.3.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/SHABIN-K/toss).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants