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

Warning and Info toasts #195

Merged
merged 3 commits into from
Oct 21, 2023
Merged

Warning and Info toasts #195

merged 3 commits into from
Oct 21, 2023

Conversation

emreakdas
Copy link
Contributor

#184 Warning and Info toasts add.

Light:
image
image

Dark:
image
image

@vercel
Copy link

vercel bot commented Oct 20, 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 21, 2023 10:07pm

@emilkowalski
Copy link
Owner

Looks great! Can we remove the examples from the homepage tho? I want to prevent the horizontal overflow.

@emreakdas
Copy link
Contributor Author

Thank you @emilkowalski :)

Should it be like this to prevent horizontal overflow or should I remove the instances?

image

@emilkowalski
Copy link
Owner

@emreakdas Let's do it like on the screenshot you posted.

@emreakdas
Copy link
Contributor Author

@emilkowalski I added.

@emilkowalski
Copy link
Owner

Amazing, thank you so much!

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

#### New Contributors

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

2 participants