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

Returning the id for a custom toast #202

Merged
merged 1 commit into from
Oct 24, 2023
Merged

Returning the id for a custom toast #202

merged 1 commit into from
Oct 24, 2023

Conversation

fax1ty
Copy link
Contributor

@fax1ty fax1ty commented Oct 24, 2023

This function looks forgotten. Added the ability to get the id immediately after calling the function, as for all other toast functions

This function looks forgotten. Added the ability to get the id immediately after calling the function, as for all other toast functions
@vercel
Copy link

vercel bot commented Oct 24, 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 Oct 24, 2023 10:55am

@emilkowalski emilkowalski merged commit eb3a209 into emilkowalski:main Oct 24, 2023
2 checks passed
SHABIN-K added a commit to SHABIN-K/Brainwave that referenced this pull request Nov 1, 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://togithub.com/emilkowalski/sonner)) | [`1.0.3` ->
`1.1.0`](https://renovatebot.com/diffs/npm/sonner/1.0.3/1.1.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/sonner/1.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/sonner/1.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/sonner/1.0.3/1.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/sonner/1.0.3/1.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

[Compare
Source](https://togithub.com/emilkowalski/sonner/compare/5d7a9db8efb142decca1708e58cc5a016687237a...v1.1.0)

#### What's Changed

- Add dark mode to docs by
[@&#8203;emilkowalski](https://togithub.com/emilkowalski) in
[emilkowalski/sonner#150
- Fix potential title and description overflowing by
[@&#8203;itsjoeoui](https://togithub.com/itsjoeoui) in
[emilkowalski/sonner#152
- Bugfix: Update now works for first toastId by
[@&#8203;estubmo](https://togithub.com/estubmo) in
[emilkowalski/sonner#156
- Update exports in package.json by
[@&#8203;emilkowalski](https://togithub.com/emilkowalski) in
[emilkowalski/sonner#161
- Update docs repo base url by
[@&#8203;emilkowalski](https://togithub.com/emilkowalski) in
[emilkowalski/sonner#162
- Update README.md by
[@&#8203;emilkowalski](https://togithub.com/emilkowalski) in
[emilkowalski/sonner#167
- Make `PromiseData` partial in `toast.promise` by
[@&#8203;ajmnz](https://togithub.com/ajmnz) in
[emilkowalski/sonner#164
- Allow to override icons by
[@&#8203;emilkowalski](https://togithub.com/emilkowalski) in
[emilkowalski/sonner#175
- docs: Fix copy button in CodeBlock by
[@&#8203;aXenDeveloper](https://togithub.com/aXenDeveloper) in
[emilkowalski/sonner#180
- Add gap prop by
[@&#8203;emilkowalski](https://togithub.com/emilkowalski) in
[emilkowalski/sonner#181
- type: import types with keyword by
[@&#8203;Hossein-Mirazimi](https://togithub.com/Hossein-Mirazimi) in
[emilkowalski/sonner#183
- fix(docs): fix typo in cancel button docs by
[@&#8203;A7med3bdulBaset](https://togithub.com/A7med3bdulBaset) in
[emilkowalski/sonner#186
- Added empty arrow function to close button by
[@&#8203;CodingMarin](https://togithub.com/CodingMarin) in
[emilkowalski/sonner#185
- Introduce unstyled prop by
[@&#8203;emilkowalski](https://togithub.com/emilkowalski) in
[emilkowalski/sonner#187
- Warning and Info toasts by
[@&#8203;emreakdas](https://togithub.com/emreakdas) in
[emilkowalski/sonner#195
- Update warning icon by
[@&#8203;emilkowalski](https://togithub.com/emilkowalski) in
[emilkowalski/sonner#198
- Returning the id for a custom toast by
[@&#8203;fax1ty](https://togithub.com/fax1ty) in
[emilkowalski/sonner#202
- Typescript error - loading, success and error should be optional by
[@&#8203;MakakWasTaken](https://togithub.com/MakakWasTaken) in
[emilkowalski/sonner#200
- Fix updating duration, update docs by
[@&#8203;emilkowalski](https://togithub.com/emilkowalski) in
[emilkowalski/sonner#206

#### New Contributors

- [@&#8203;itsjoeoui](https://togithub.com/itsjoeoui) made their first
contribution in
[emilkowalski/sonner#152
- [@&#8203;estubmo](https://togithub.com/estubmo) made their first
contribution in
[emilkowalski/sonner#156
- [@&#8203;aXenDeveloper](https://togithub.com/aXenDeveloper) made their
first contribution in
[emilkowalski/sonner#180
- [@&#8203;Hossein-Mirazimi](https://togithub.com/Hossein-Mirazimi) made
their first contribution in
[emilkowalski/sonner#183
- [@&#8203;A7med3bdulBaset](https://togithub.com/A7med3bdulBaset) made
their first contribution in
[emilkowalski/sonner#186
- [@&#8203;CodingMarin](https://togithub.com/CodingMarin) made their
first contribution in
[emilkowalski/sonner#185
- [@&#8203;emreakdas](https://togithub.com/emreakdas) made their first
contribution in
[emilkowalski/sonner#195
- [@&#8203;fax1ty](https://togithub.com/fax1ty) made their first
contribution in
[emilkowalski/sonner#202
- [@&#8203;MakakWasTaken](https://togithub.com/MakakWasTaken) made their
first contribution in
[emilkowalski/sonner#200

**Full Changelog**:
emilkowalski/sonner@v1.0.0...v1.1.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.

---

- [x] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMS41IiwidXBkYXRlZEluVmVyIjoiMzcuMzEuNSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->
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.

None yet

2 participants