feat: Update toast design (#8018)

**What**
- Updates the Toast component and `toast` util to match the latest design. 
- Updates every usage of `toast` as `dismissableLabel` is no longer a valid prop, as we now render a X mark instead of a text button.
This commit is contained in:
Kasper Fabricius Kristensen
2024-07-09 18:14:19 +02:00
committed by GitHub
parent 24fc6befd2
commit 6e613f4f50
88 changed files with 811 additions and 1182 deletions

View File

@@ -5272,7 +5272,7 @@ __metadata:
react-stately: ^3.31.1
resize-observer-polyfill: ^1.5.1
rimraf: ^5.0.1
sonner: ^1.4.41
sonner: ^1.5.0
storybook: ^7.0.23
tailwind-merge: ^2.2.1
tailwindcss: ^3.4.3
@@ -27976,13 +27976,13 @@ __metadata:
languageName: node
linkType: hard
"sonner@npm:^1.4.41":
version: 1.4.41
resolution: "sonner@npm:1.4.41"
"sonner@npm:^1.5.0":
version: 1.5.0
resolution: "sonner@npm:1.5.0"
peerDependencies:
react: ^18.0.0
react-dom: ^18.0.0
checksum: 31467ecab0fcbd5161fb76d158c698841b524686f7f598eecbc2a58d76bc496b5d5242df4350e274575aa3df59428d3aacd534415c968b19fc309c192c443330
checksum: 9561b5861bede7f874cc442e447a68c8bfa6e4eadad603bc04e38db35a8b8108741f595a12c9856742062bae230ffedf73122015940491f482c5aa9e68ee85e0
languageName: node
linkType: hard