1mpacto-react-ui 0.0.42 → 0.0.43
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/assets/toast.css +704 -0
- package/package.json +5 -3
@@ -0,0 +1,704 @@
|
|
1
|
+
:root {
|
2
|
+
--toastify-color-light: #fff;
|
3
|
+
--toastify-color-dark: #121212;
|
4
|
+
--toastify-color-info: #3498db;
|
5
|
+
--toastify-color-success: #07bc0c;
|
6
|
+
--toastify-color-warning: #f1c40f;
|
7
|
+
--toastify-color-error: #e74c3c;
|
8
|
+
--toastify-color-transparent: rgba(255, 255, 255, 0.7);
|
9
|
+
--toastify-icon-color-info: var(--toastify-color-info);
|
10
|
+
--toastify-icon-color-success: var(--toastify-color-success);
|
11
|
+
--toastify-icon-color-warning: var(--toastify-color-warning);
|
12
|
+
--toastify-icon-color-error: var(--toastify-color-error);
|
13
|
+
--toastify-toast-width: 320px;
|
14
|
+
--toastify-toast-offset: 16px;
|
15
|
+
--toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));
|
16
|
+
--toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));
|
17
|
+
--toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));
|
18
|
+
--toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));
|
19
|
+
--toastify-toast-background: #fff;
|
20
|
+
--toastify-toast-min-height: 64px;
|
21
|
+
--toastify-toast-max-height: 800px;
|
22
|
+
--toastify-toast-bd-radius: 6px;
|
23
|
+
--toastify-font-family: sans-serif;
|
24
|
+
--toastify-z-index: 9999;
|
25
|
+
--toastify-text-color-light: #757575;
|
26
|
+
--toastify-text-color-dark: #fff;
|
27
|
+
--toastify-text-color-info: #fff;
|
28
|
+
--toastify-text-color-success: #fff;
|
29
|
+
--toastify-text-color-warning: #fff;
|
30
|
+
--toastify-text-color-error: #fff;
|
31
|
+
--toastify-spinner-color: #616161;
|
32
|
+
--toastify-spinner-color-empty-area: #e0e0e0;
|
33
|
+
--toastify-color-progress-light: linear-gradient(
|
34
|
+
to right,
|
35
|
+
#4cd964,
|
36
|
+
#5ac8fa,
|
37
|
+
#007aff,
|
38
|
+
#34aadc,
|
39
|
+
#5856d6,
|
40
|
+
#ff2d55
|
41
|
+
);
|
42
|
+
--toastify-color-progress-dark: #bb86fc;
|
43
|
+
--toastify-color-progress-info: var(--toastify-color-info);
|
44
|
+
--toastify-color-progress-success: var(--toastify-color-success);
|
45
|
+
--toastify-color-progress-warning: var(--toastify-color-warning);
|
46
|
+
--toastify-color-progress-error: var(--toastify-color-error);
|
47
|
+
--toastify-color-progress-bgo: 0.2;
|
48
|
+
}
|
49
|
+
|
50
|
+
.Toastify__toast-container {
|
51
|
+
z-index: var(--toastify-z-index);
|
52
|
+
-webkit-transform: translate3d(0, 0, var(--toastify-z-index));
|
53
|
+
position: fixed;
|
54
|
+
padding: 4px;
|
55
|
+
width: var(--toastify-toast-width);
|
56
|
+
box-sizing: border-box;
|
57
|
+
color: #fff;
|
58
|
+
}
|
59
|
+
.Toastify__toast-container--top-left {
|
60
|
+
top: var(--toastify-toast-top);
|
61
|
+
left: var(--toastify-toast-left);
|
62
|
+
}
|
63
|
+
.Toastify__toast-container--top-center {
|
64
|
+
top: var(--toastify-toast-top);
|
65
|
+
left: 50%;
|
66
|
+
transform: translateX(-50%);
|
67
|
+
}
|
68
|
+
.Toastify__toast-container--top-right {
|
69
|
+
top: var(--toastify-toast-top);
|
70
|
+
right: var(--toastify-toast-right);
|
71
|
+
}
|
72
|
+
.Toastify__toast-container--bottom-left {
|
73
|
+
bottom: var(--toastify-toast-bottom);
|
74
|
+
left: var(--toastify-toast-left);
|
75
|
+
}
|
76
|
+
.Toastify__toast-container--bottom-center {
|
77
|
+
bottom: var(--toastify-toast-bottom);
|
78
|
+
left: 50%;
|
79
|
+
transform: translateX(-50%);
|
80
|
+
}
|
81
|
+
.Toastify__toast-container--bottom-right {
|
82
|
+
bottom: var(--toastify-toast-bottom);
|
83
|
+
right: var(--toastify-toast-right);
|
84
|
+
}
|
85
|
+
|
86
|
+
@media only screen and (max-width : 480px) {
|
87
|
+
.Toastify__toast-container {
|
88
|
+
width: 100vw;
|
89
|
+
padding: 0;
|
90
|
+
left: env(safe-area-inset-left);
|
91
|
+
margin: 0;
|
92
|
+
}
|
93
|
+
.Toastify__toast-container--top-left, .Toastify__toast-container--top-center, .Toastify__toast-container--top-right {
|
94
|
+
top: env(safe-area-inset-top);
|
95
|
+
transform: translateX(0);
|
96
|
+
}
|
97
|
+
.Toastify__toast-container--bottom-left, .Toastify__toast-container--bottom-center, .Toastify__toast-container--bottom-right {
|
98
|
+
bottom: env(safe-area-inset-bottom);
|
99
|
+
transform: translateX(0);
|
100
|
+
}
|
101
|
+
.Toastify__toast-container--rtl {
|
102
|
+
right: env(safe-area-inset-right);
|
103
|
+
left: initial;
|
104
|
+
}
|
105
|
+
}
|
106
|
+
.Toastify__toast {
|
107
|
+
--y: 0;
|
108
|
+
position: relative;
|
109
|
+
-ms-touch-action: none;
|
110
|
+
touch-action: none;
|
111
|
+
min-height: var(--toastify-toast-min-height);
|
112
|
+
box-sizing: border-box;
|
113
|
+
margin-bottom: 1rem;
|
114
|
+
padding: 8px;
|
115
|
+
border-radius: var(--toastify-toast-bd-radius);
|
116
|
+
box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
|
117
|
+
display: -ms-flexbox;
|
118
|
+
display: flex;
|
119
|
+
-ms-flex-pack: justify;
|
120
|
+
justify-content: space-between;
|
121
|
+
max-height: var(--toastify-toast-max-height);
|
122
|
+
font-family: var(--toastify-font-family);
|
123
|
+
cursor: default;
|
124
|
+
direction: ltr;
|
125
|
+
/* webkit only issue #791 */
|
126
|
+
z-index: 0;
|
127
|
+
overflow: hidden;
|
128
|
+
}
|
129
|
+
.Toastify__toast--stacked {
|
130
|
+
position: absolute;
|
131
|
+
width: 100%;
|
132
|
+
transform: translate3d(0, var(--y), 0) scale(var(--s));
|
133
|
+
transition: transform 0.3s;
|
134
|
+
}
|
135
|
+
.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body, .Toastify__toast--stacked[data-collapsed] .Toastify__close-button {
|
136
|
+
transition: opacity 0.1s;
|
137
|
+
}
|
138
|
+
.Toastify__toast--stacked[data-collapsed=false] {
|
139
|
+
overflow: visible;
|
140
|
+
}
|
141
|
+
.Toastify__toast--stacked[data-collapsed=true]:not(:last-child) > * {
|
142
|
+
opacity: 0;
|
143
|
+
}
|
144
|
+
.Toastify__toast--stacked:after {
|
145
|
+
content: "";
|
146
|
+
position: absolute;
|
147
|
+
left: 0;
|
148
|
+
right: 0;
|
149
|
+
height: calc(var(--g) * 1px);
|
150
|
+
bottom: 100%;
|
151
|
+
}
|
152
|
+
.Toastify__toast--stacked[data-pos=top] {
|
153
|
+
top: 0;
|
154
|
+
}
|
155
|
+
.Toastify__toast--stacked[data-pos=bot] {
|
156
|
+
bottom: 0;
|
157
|
+
}
|
158
|
+
.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before {
|
159
|
+
transform-origin: top;
|
160
|
+
}
|
161
|
+
.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before {
|
162
|
+
transform-origin: bottom;
|
163
|
+
}
|
164
|
+
.Toastify__toast--stacked:before {
|
165
|
+
content: "";
|
166
|
+
position: absolute;
|
167
|
+
left: 0;
|
168
|
+
right: 0;
|
169
|
+
bottom: 0;
|
170
|
+
height: 100%;
|
171
|
+
transform: scaleY(3);
|
172
|
+
z-index: -1;
|
173
|
+
}
|
174
|
+
.Toastify__toast--rtl {
|
175
|
+
direction: rtl;
|
176
|
+
}
|
177
|
+
.Toastify__toast--close-on-click {
|
178
|
+
cursor: pointer;
|
179
|
+
}
|
180
|
+
.Toastify__toast-body {
|
181
|
+
margin: auto 0;
|
182
|
+
-ms-flex: 1 1 auto;
|
183
|
+
flex: 1 1 auto;
|
184
|
+
padding: 6px;
|
185
|
+
display: -ms-flexbox;
|
186
|
+
display: flex;
|
187
|
+
-ms-flex-align: center;
|
188
|
+
align-items: center;
|
189
|
+
}
|
190
|
+
.Toastify__toast-body > div:last-child {
|
191
|
+
word-break: break-word;
|
192
|
+
-ms-flex: 1;
|
193
|
+
flex: 1;
|
194
|
+
}
|
195
|
+
.Toastify__toast-icon {
|
196
|
+
-webkit-margin-end: 10px;
|
197
|
+
margin-inline-end: 10px;
|
198
|
+
width: 20px;
|
199
|
+
-ms-flex-negative: 0;
|
200
|
+
flex-shrink: 0;
|
201
|
+
display: -ms-flexbox;
|
202
|
+
display: flex;
|
203
|
+
}
|
204
|
+
|
205
|
+
.Toastify--animate {
|
206
|
+
animation-fill-mode: both;
|
207
|
+
animation-duration: 0.5s;
|
208
|
+
}
|
209
|
+
|
210
|
+
.Toastify--animate-icon {
|
211
|
+
animation-fill-mode: both;
|
212
|
+
animation-duration: 0.3s;
|
213
|
+
}
|
214
|
+
|
215
|
+
@media only screen and (max-width : 480px) {
|
216
|
+
.Toastify__toast {
|
217
|
+
margin-bottom: 0;
|
218
|
+
border-radius: 0;
|
219
|
+
}
|
220
|
+
}
|
221
|
+
.Toastify__toast-theme--dark {
|
222
|
+
background: var(--toastify-color-dark);
|
223
|
+
color: var(--toastify-text-color-dark);
|
224
|
+
}
|
225
|
+
.Toastify__toast-theme--light {
|
226
|
+
background: var(--toastify-color-light);
|
227
|
+
color: var(--toastify-text-color-light);
|
228
|
+
}
|
229
|
+
.Toastify__toast-theme--colored.Toastify__toast--default {
|
230
|
+
background: var(--toastify-color-light);
|
231
|
+
color: var(--toastify-text-color-light);
|
232
|
+
}
|
233
|
+
.Toastify__toast-theme--colored.Toastify__toast--info {
|
234
|
+
color: var(--toastify-text-color-info);
|
235
|
+
background: var(--toastify-color-info);
|
236
|
+
}
|
237
|
+
.Toastify__toast-theme--colored.Toastify__toast--success {
|
238
|
+
color: var(--toastify-text-color-success);
|
239
|
+
background: var(--toastify-color-success);
|
240
|
+
}
|
241
|
+
.Toastify__toast-theme--colored.Toastify__toast--warning {
|
242
|
+
color: var(--toastify-text-color-warning);
|
243
|
+
background: var(--toastify-color-warning);
|
244
|
+
}
|
245
|
+
.Toastify__toast-theme--colored.Toastify__toast--error {
|
246
|
+
color: var(--toastify-text-color-error);
|
247
|
+
background: var(--toastify-color-error);
|
248
|
+
}
|
249
|
+
|
250
|
+
.Toastify__progress-bar-theme--light {
|
251
|
+
background: var(--toastify-color-progress-light);
|
252
|
+
}
|
253
|
+
.Toastify__progress-bar-theme--dark {
|
254
|
+
background: var(--toastify-color-progress-dark);
|
255
|
+
}
|
256
|
+
.Toastify__progress-bar--info {
|
257
|
+
background: var(--toastify-color-progress-info);
|
258
|
+
}
|
259
|
+
.Toastify__progress-bar--success {
|
260
|
+
background: var(--toastify-color-progress-success);
|
261
|
+
}
|
262
|
+
.Toastify__progress-bar--warning {
|
263
|
+
background: var(--toastify-color-progress-warning);
|
264
|
+
}
|
265
|
+
.Toastify__progress-bar--error {
|
266
|
+
background: var(--toastify-color-progress-error);
|
267
|
+
}
|
268
|
+
.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info, .Toastify__progress-bar-theme--colored.Toastify__progress-bar--success, .Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning, .Toastify__progress-bar-theme--colored.Toastify__progress-bar--error {
|
269
|
+
background: var(--toastify-color-transparent);
|
270
|
+
}
|
271
|
+
|
272
|
+
.Toastify__close-button {
|
273
|
+
color: #fff;
|
274
|
+
background: transparent;
|
275
|
+
outline: none;
|
276
|
+
border: none;
|
277
|
+
padding: 0;
|
278
|
+
cursor: pointer;
|
279
|
+
opacity: 0.7;
|
280
|
+
transition: 0.3s ease;
|
281
|
+
-ms-flex-item-align: start;
|
282
|
+
align-self: flex-start;
|
283
|
+
z-index: 1;
|
284
|
+
}
|
285
|
+
.Toastify__close-button--light {
|
286
|
+
color: #000;
|
287
|
+
opacity: 0.3;
|
288
|
+
}
|
289
|
+
.Toastify__close-button > svg {
|
290
|
+
fill: currentColor;
|
291
|
+
height: 16px;
|
292
|
+
width: 14px;
|
293
|
+
}
|
294
|
+
.Toastify__close-button:hover, .Toastify__close-button:focus {
|
295
|
+
opacity: 1;
|
296
|
+
}
|
297
|
+
|
298
|
+
@keyframes Toastify__trackProgress {
|
299
|
+
0% {
|
300
|
+
transform: scaleX(1);
|
301
|
+
}
|
302
|
+
100% {
|
303
|
+
transform: scaleX(0);
|
304
|
+
}
|
305
|
+
}
|
306
|
+
.Toastify__progress-bar {
|
307
|
+
position: absolute;
|
308
|
+
bottom: 0;
|
309
|
+
left: 0;
|
310
|
+
width: 100%;
|
311
|
+
height: 100%;
|
312
|
+
z-index: var(--toastify-z-index);
|
313
|
+
opacity: 0.7;
|
314
|
+
transform-origin: left;
|
315
|
+
border-bottom-left-radius: var(--toastify-toast-bd-radius);
|
316
|
+
}
|
317
|
+
.Toastify__progress-bar--animated {
|
318
|
+
animation: Toastify__trackProgress linear 1 forwards;
|
319
|
+
}
|
320
|
+
.Toastify__progress-bar--controlled {
|
321
|
+
transition: transform 0.2s;
|
322
|
+
}
|
323
|
+
.Toastify__progress-bar--rtl {
|
324
|
+
right: 0;
|
325
|
+
left: initial;
|
326
|
+
transform-origin: right;
|
327
|
+
border-bottom-left-radius: initial;
|
328
|
+
border-bottom-right-radius: var(--toastify-toast-bd-radius);
|
329
|
+
}
|
330
|
+
.Toastify__progress-bar--wrp {
|
331
|
+
position: absolute;
|
332
|
+
bottom: 0;
|
333
|
+
left: 0;
|
334
|
+
width: 100%;
|
335
|
+
height: 5px;
|
336
|
+
border-bottom-left-radius: var(--toastify-toast-bd-radius);
|
337
|
+
}
|
338
|
+
.Toastify__progress-bar--wrp[data-hidden=true] {
|
339
|
+
opacity: 0;
|
340
|
+
}
|
341
|
+
.Toastify__progress-bar--bg {
|
342
|
+
opacity: var(--toastify-color-progress-bgo);
|
343
|
+
width: 100%;
|
344
|
+
height: 100%;
|
345
|
+
}
|
346
|
+
|
347
|
+
.Toastify__spinner {
|
348
|
+
width: 20px;
|
349
|
+
height: 20px;
|
350
|
+
box-sizing: border-box;
|
351
|
+
border: 2px solid;
|
352
|
+
border-radius: 100%;
|
353
|
+
border-color: var(--toastify-spinner-color-empty-area);
|
354
|
+
border-right-color: var(--toastify-spinner-color);
|
355
|
+
animation: Toastify__spin 0.65s linear infinite;
|
356
|
+
}
|
357
|
+
|
358
|
+
@keyframes Toastify__bounceInRight {
|
359
|
+
from, 60%, 75%, 90%, to {
|
360
|
+
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
361
|
+
}
|
362
|
+
from {
|
363
|
+
opacity: 0;
|
364
|
+
transform: translate3d(3000px, 0, 0);
|
365
|
+
}
|
366
|
+
60% {
|
367
|
+
opacity: 1;
|
368
|
+
transform: translate3d(-25px, 0, 0);
|
369
|
+
}
|
370
|
+
75% {
|
371
|
+
transform: translate3d(10px, 0, 0);
|
372
|
+
}
|
373
|
+
90% {
|
374
|
+
transform: translate3d(-5px, 0, 0);
|
375
|
+
}
|
376
|
+
to {
|
377
|
+
transform: none;
|
378
|
+
}
|
379
|
+
}
|
380
|
+
@keyframes Toastify__bounceOutRight {
|
381
|
+
20% {
|
382
|
+
opacity: 1;
|
383
|
+
transform: translate3d(-20px, var(--y), 0);
|
384
|
+
}
|
385
|
+
to {
|
386
|
+
opacity: 0;
|
387
|
+
transform: translate3d(2000px, var(--y), 0);
|
388
|
+
}
|
389
|
+
}
|
390
|
+
@keyframes Toastify__bounceInLeft {
|
391
|
+
from, 60%, 75%, 90%, to {
|
392
|
+
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
393
|
+
}
|
394
|
+
0% {
|
395
|
+
opacity: 0;
|
396
|
+
transform: translate3d(-3000px, 0, 0);
|
397
|
+
}
|
398
|
+
60% {
|
399
|
+
opacity: 1;
|
400
|
+
transform: translate3d(25px, 0, 0);
|
401
|
+
}
|
402
|
+
75% {
|
403
|
+
transform: translate3d(-10px, 0, 0);
|
404
|
+
}
|
405
|
+
90% {
|
406
|
+
transform: translate3d(5px, 0, 0);
|
407
|
+
}
|
408
|
+
to {
|
409
|
+
transform: none;
|
410
|
+
}
|
411
|
+
}
|
412
|
+
@keyframes Toastify__bounceOutLeft {
|
413
|
+
20% {
|
414
|
+
opacity: 1;
|
415
|
+
transform: translate3d(20px, var(--y), 0);
|
416
|
+
}
|
417
|
+
to {
|
418
|
+
opacity: 0;
|
419
|
+
transform: translate3d(-2000px, var(--y), 0);
|
420
|
+
}
|
421
|
+
}
|
422
|
+
@keyframes Toastify__bounceInUp {
|
423
|
+
from, 60%, 75%, 90%, to {
|
424
|
+
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
425
|
+
}
|
426
|
+
from {
|
427
|
+
opacity: 0;
|
428
|
+
transform: translate3d(0, 3000px, 0);
|
429
|
+
}
|
430
|
+
60% {
|
431
|
+
opacity: 1;
|
432
|
+
transform: translate3d(0, -20px, 0);
|
433
|
+
}
|
434
|
+
75% {
|
435
|
+
transform: translate3d(0, 10px, 0);
|
436
|
+
}
|
437
|
+
90% {
|
438
|
+
transform: translate3d(0, -5px, 0);
|
439
|
+
}
|
440
|
+
to {
|
441
|
+
transform: translate3d(0, 0, 0);
|
442
|
+
}
|
443
|
+
}
|
444
|
+
@keyframes Toastify__bounceOutUp {
|
445
|
+
20% {
|
446
|
+
transform: translate3d(0, calc(var(--y) - 10px), 0);
|
447
|
+
}
|
448
|
+
40%, 45% {
|
449
|
+
opacity: 1;
|
450
|
+
transform: translate3d(0, calc(var(--y) + 20px), 0);
|
451
|
+
}
|
452
|
+
to {
|
453
|
+
opacity: 0;
|
454
|
+
transform: translate3d(0, -2000px, 0);
|
455
|
+
}
|
456
|
+
}
|
457
|
+
@keyframes Toastify__bounceInDown {
|
458
|
+
from, 60%, 75%, 90%, to {
|
459
|
+
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
460
|
+
}
|
461
|
+
0% {
|
462
|
+
opacity: 0;
|
463
|
+
transform: translate3d(0, -3000px, 0);
|
464
|
+
}
|
465
|
+
60% {
|
466
|
+
opacity: 1;
|
467
|
+
transform: translate3d(0, 25px, 0);
|
468
|
+
}
|
469
|
+
75% {
|
470
|
+
transform: translate3d(0, -10px, 0);
|
471
|
+
}
|
472
|
+
90% {
|
473
|
+
transform: translate3d(0, 5px, 0);
|
474
|
+
}
|
475
|
+
to {
|
476
|
+
transform: none;
|
477
|
+
}
|
478
|
+
}
|
479
|
+
@keyframes Toastify__bounceOutDown {
|
480
|
+
20% {
|
481
|
+
transform: translate3d(0, calc(var(--y) - 10px), 0);
|
482
|
+
}
|
483
|
+
40%, 45% {
|
484
|
+
opacity: 1;
|
485
|
+
transform: translate3d(0, calc(var(--y) + 20px), 0);
|
486
|
+
}
|
487
|
+
to {
|
488
|
+
opacity: 0;
|
489
|
+
transform: translate3d(0, 2000px, 0);
|
490
|
+
}
|
491
|
+
}
|
492
|
+
.Toastify__bounce-enter--top-left, .Toastify__bounce-enter--bottom-left {
|
493
|
+
animation-name: Toastify__bounceInLeft;
|
494
|
+
}
|
495
|
+
.Toastify__bounce-enter--top-right, .Toastify__bounce-enter--bottom-right {
|
496
|
+
animation-name: Toastify__bounceInRight;
|
497
|
+
}
|
498
|
+
.Toastify__bounce-enter--top-center {
|
499
|
+
animation-name: Toastify__bounceInDown;
|
500
|
+
}
|
501
|
+
.Toastify__bounce-enter--bottom-center {
|
502
|
+
animation-name: Toastify__bounceInUp;
|
503
|
+
}
|
504
|
+
|
505
|
+
.Toastify__bounce-exit--top-left, .Toastify__bounce-exit--bottom-left {
|
506
|
+
animation-name: Toastify__bounceOutLeft;
|
507
|
+
}
|
508
|
+
.Toastify__bounce-exit--top-right, .Toastify__bounce-exit--bottom-right {
|
509
|
+
animation-name: Toastify__bounceOutRight;
|
510
|
+
}
|
511
|
+
.Toastify__bounce-exit--top-center {
|
512
|
+
animation-name: Toastify__bounceOutUp;
|
513
|
+
}
|
514
|
+
.Toastify__bounce-exit--bottom-center {
|
515
|
+
animation-name: Toastify__bounceOutDown;
|
516
|
+
}
|
517
|
+
|
518
|
+
@keyframes Toastify__zoomIn {
|
519
|
+
from {
|
520
|
+
opacity: 0;
|
521
|
+
transform: scale3d(0.3, 0.3, 0.3);
|
522
|
+
}
|
523
|
+
50% {
|
524
|
+
opacity: 1;
|
525
|
+
}
|
526
|
+
}
|
527
|
+
@keyframes Toastify__zoomOut {
|
528
|
+
from {
|
529
|
+
opacity: 1;
|
530
|
+
}
|
531
|
+
50% {
|
532
|
+
opacity: 0;
|
533
|
+
transform: translate3d(0, var(--y), 0) scale3d(0.3, 0.3, 0.3);
|
534
|
+
}
|
535
|
+
to {
|
536
|
+
opacity: 0;
|
537
|
+
}
|
538
|
+
}
|
539
|
+
.Toastify__zoom-enter {
|
540
|
+
animation-name: Toastify__zoomIn;
|
541
|
+
}
|
542
|
+
|
543
|
+
.Toastify__zoom-exit {
|
544
|
+
animation-name: Toastify__zoomOut;
|
545
|
+
}
|
546
|
+
|
547
|
+
@keyframes Toastify__flipIn {
|
548
|
+
from {
|
549
|
+
transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
|
550
|
+
animation-timing-function: ease-in;
|
551
|
+
opacity: 0;
|
552
|
+
}
|
553
|
+
40% {
|
554
|
+
transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
|
555
|
+
animation-timing-function: ease-in;
|
556
|
+
}
|
557
|
+
60% {
|
558
|
+
transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
|
559
|
+
opacity: 1;
|
560
|
+
}
|
561
|
+
80% {
|
562
|
+
transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
|
563
|
+
}
|
564
|
+
to {
|
565
|
+
transform: perspective(400px);
|
566
|
+
}
|
567
|
+
}
|
568
|
+
@keyframes Toastify__flipOut {
|
569
|
+
from {
|
570
|
+
transform: translate3d(0, var(--y), 0) perspective(400px);
|
571
|
+
}
|
572
|
+
30% {
|
573
|
+
transform: translate3d(0, var(--y), 0) perspective(400px) rotate3d(1, 0, 0, -20deg);
|
574
|
+
opacity: 1;
|
575
|
+
}
|
576
|
+
to {
|
577
|
+
transform: translate3d(0, var(--y), 0) perspective(400px) rotate3d(1, 0, 0, 90deg);
|
578
|
+
opacity: 0;
|
579
|
+
}
|
580
|
+
}
|
581
|
+
.Toastify__flip-enter {
|
582
|
+
animation-name: Toastify__flipIn;
|
583
|
+
}
|
584
|
+
|
585
|
+
.Toastify__flip-exit {
|
586
|
+
animation-name: Toastify__flipOut;
|
587
|
+
}
|
588
|
+
|
589
|
+
@keyframes Toastify__slideInRight {
|
590
|
+
from {
|
591
|
+
transform: translate3d(110%, 0, 0);
|
592
|
+
visibility: visible;
|
593
|
+
}
|
594
|
+
to {
|
595
|
+
transform: translate3d(0, var(--y), 0);
|
596
|
+
}
|
597
|
+
}
|
598
|
+
@keyframes Toastify__slideInLeft {
|
599
|
+
from {
|
600
|
+
transform: translate3d(-110%, 0, 0);
|
601
|
+
visibility: visible;
|
602
|
+
}
|
603
|
+
to {
|
604
|
+
transform: translate3d(0, var(--y), 0);
|
605
|
+
}
|
606
|
+
}
|
607
|
+
@keyframes Toastify__slideInUp {
|
608
|
+
from {
|
609
|
+
transform: translate3d(0, 110%, 0);
|
610
|
+
visibility: visible;
|
611
|
+
}
|
612
|
+
to {
|
613
|
+
transform: translate3d(0, var(--y), 0);
|
614
|
+
}
|
615
|
+
}
|
616
|
+
@keyframes Toastify__slideInDown {
|
617
|
+
from {
|
618
|
+
transform: translate3d(0, -110%, 0);
|
619
|
+
visibility: visible;
|
620
|
+
}
|
621
|
+
to {
|
622
|
+
transform: translate3d(0, var(--y), 0);
|
623
|
+
}
|
624
|
+
}
|
625
|
+
@keyframes Toastify__slideOutRight {
|
626
|
+
from {
|
627
|
+
transform: translate3d(0, var(--y), 0);
|
628
|
+
}
|
629
|
+
to {
|
630
|
+
visibility: hidden;
|
631
|
+
transform: translate3d(110%, var(--y), 0);
|
632
|
+
}
|
633
|
+
}
|
634
|
+
@keyframes Toastify__slideOutLeft {
|
635
|
+
from {
|
636
|
+
transform: translate3d(0, var(--y), 0);
|
637
|
+
}
|
638
|
+
to {
|
639
|
+
visibility: hidden;
|
640
|
+
transform: translate3d(-110%, var(--y), 0);
|
641
|
+
}
|
642
|
+
}
|
643
|
+
@keyframes Toastify__slideOutDown {
|
644
|
+
from {
|
645
|
+
transform: translate3d(0, var(--y), 0);
|
646
|
+
}
|
647
|
+
to {
|
648
|
+
visibility: hidden;
|
649
|
+
transform: translate3d(0, 500px, 0);
|
650
|
+
}
|
651
|
+
}
|
652
|
+
@keyframes Toastify__slideOutUp {
|
653
|
+
from {
|
654
|
+
transform: translate3d(0, var(--y), 0);
|
655
|
+
}
|
656
|
+
to {
|
657
|
+
visibility: hidden;
|
658
|
+
transform: translate3d(0, -500px, 0);
|
659
|
+
}
|
660
|
+
}
|
661
|
+
.Toastify__slide-enter--top-left, .Toastify__slide-enter--bottom-left {
|
662
|
+
animation-name: Toastify__slideInLeft;
|
663
|
+
}
|
664
|
+
.Toastify__slide-enter--top-right, .Toastify__slide-enter--bottom-right {
|
665
|
+
animation-name: Toastify__slideInRight;
|
666
|
+
}
|
667
|
+
.Toastify__slide-enter--top-center {
|
668
|
+
animation-name: Toastify__slideInDown;
|
669
|
+
}
|
670
|
+
.Toastify__slide-enter--bottom-center {
|
671
|
+
animation-name: Toastify__slideInUp;
|
672
|
+
}
|
673
|
+
|
674
|
+
.Toastify__slide-exit--top-left, .Toastify__slide-exit--bottom-left {
|
675
|
+
animation-name: Toastify__slideOutLeft;
|
676
|
+
animation-timing-function: ease-in;
|
677
|
+
animation-duration: 0.3s;
|
678
|
+
}
|
679
|
+
.Toastify__slide-exit--top-right, .Toastify__slide-exit--bottom-right {
|
680
|
+
animation-name: Toastify__slideOutRight;
|
681
|
+
animation-timing-function: ease-in;
|
682
|
+
animation-duration: 0.3s;
|
683
|
+
}
|
684
|
+
.Toastify__slide-exit--top-center {
|
685
|
+
animation-name: Toastify__slideOutUp;
|
686
|
+
animation-timing-function: ease-in;
|
687
|
+
animation-duration: 0.3s;
|
688
|
+
}
|
689
|
+
.Toastify__slide-exit--bottom-center {
|
690
|
+
animation-name: Toastify__slideOutDown;
|
691
|
+
animation-timing-function: ease-in;
|
692
|
+
animation-duration: 0.3s;
|
693
|
+
}
|
694
|
+
|
695
|
+
@keyframes Toastify__spin {
|
696
|
+
from {
|
697
|
+
transform: rotate(0deg);
|
698
|
+
}
|
699
|
+
to {
|
700
|
+
transform: rotate(360deg);
|
701
|
+
}
|
702
|
+
}
|
703
|
+
|
704
|
+
/*# sourceMappingURL=ReactToastify.css.map */
|
package/package.json
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
{
|
2
2
|
"name": "1mpacto-react-ui",
|
3
3
|
"private": false,
|
4
|
-
"version": "0.0.
|
4
|
+
"version": "0.0.43",
|
5
5
|
"type": "module",
|
6
6
|
"scripts": {
|
7
|
+
"copy:toastify-css": "cp ./node_modules/react-toastify/dist/ReactToastify.css ./dist/assets/toast.css",
|
7
8
|
"dev": "vite",
|
8
9
|
"build": "tsc -b && vite build && npm run build:css",
|
9
|
-
"build:css": "tailwindcss -i ./src/styles/index.scss -o ./dist/assets/core.css --minify",
|
10
|
+
"build:css": "tailwindcss -i ./src/styles/index.scss -o ./dist/assets/core.css --minify && npm run copy:toastify-css",
|
10
11
|
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
11
12
|
"preview": "vite preview",
|
12
13
|
"prepare": "husky && npm run build"
|
@@ -51,7 +52,8 @@
|
|
51
52
|
"types": "./dist/index.d.ts"
|
52
53
|
},
|
53
54
|
"./dist/assets/core.css": "./dist/assets/core.css",
|
54
|
-
"./dist/assets/style.css": "./dist/assets/style.css"
|
55
|
+
"./dist/assets/style.css": "./dist/assets/style.css",
|
56
|
+
"./dist/assets/toast.css": "./dist/assets/toast.css"
|
55
57
|
},
|
56
58
|
"files": [
|
57
59
|
"/dist"
|