d9-toast 1.0.12 → 1.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/toast.css +24 -1
- package/package.json +2 -1
package/dist/toast.css
CHANGED
|
@@ -63,7 +63,6 @@
|
|
|
63
63
|
color: #f9fafb;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
|
|
67
66
|
.toastHeader {
|
|
68
67
|
display: flex;
|
|
69
68
|
justify-content: space-between;
|
|
@@ -129,6 +128,30 @@
|
|
|
129
128
|
border-radius: 0 0 0.25rem 0.25rem;
|
|
130
129
|
overflow: hidden;
|
|
131
130
|
}
|
|
131
|
+
.toast-progress::before {
|
|
132
|
+
content: "";
|
|
133
|
+
width: 100%;
|
|
134
|
+
height: 0.25rem;
|
|
135
|
+
background-color: currentColor;
|
|
136
|
+
opacity: 0.5;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.toast-progress.success {
|
|
140
|
+
background-color: oklch(62.7% 0.194 149.214);
|
|
141
|
+
}
|
|
142
|
+
.toast-progress.error {
|
|
143
|
+
background-color: oklch(57.7% 0.245 27.325);
|
|
144
|
+
}
|
|
145
|
+
.toast-progress.info {
|
|
146
|
+
background-color: oklch(54.6% 0.245 262.881);
|
|
147
|
+
}
|
|
148
|
+
.toast-progress.warning {
|
|
149
|
+
background-color: oklch(68.1% 0.162 75.834);
|
|
150
|
+
}
|
|
151
|
+
.toast-progress.loading,
|
|
152
|
+
.toast-progress.submit {
|
|
153
|
+
background-color: oklch(48.847% 0.03665 257.306);
|
|
154
|
+
}
|
|
132
155
|
|
|
133
156
|
@keyframes downToUp {
|
|
134
157
|
from {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "d9-toast",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.13",
|
|
4
4
|
"description": "Customizable toast notifications for React",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"sideEffects": [
|
|
11
11
|
"./dist/toast.css"
|
|
12
12
|
],
|
|
13
|
+
"types": "dist/d9-toast.d.ts",
|
|
13
14
|
"scripts": {
|
|
14
15
|
"build:js": "npx babel src --out-dir dist --copy-files",
|
|
15
16
|
"build": "npm run build:js"
|