@entur/alert 0.17.4 → 0.17.6
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/styles.css +66 -66
- package/package.json +7 -7
package/dist/styles.css
CHANGED
|
@@ -1,71 +1,5 @@
|
|
|
1
1
|
/* DO NOT CHANGE!*/
|
|
2
2
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
|
-
.eds-toast-container {
|
|
4
|
-
position: fixed;
|
|
5
|
-
z-index: 50;
|
|
6
|
-
display: flex;
|
|
7
|
-
align-items: flex-end;
|
|
8
|
-
flex-direction: column;
|
|
9
|
-
}
|
|
10
|
-
.eds-toast-container .eds-alert-box__close-button {
|
|
11
|
-
position: absolute;
|
|
12
|
-
top: 0.75rem;
|
|
13
|
-
right: 0.75rem;
|
|
14
|
-
}
|
|
15
|
-
.eds-toast-container--bottom-right {
|
|
16
|
-
bottom: 1.5rem;
|
|
17
|
-
right: 1.5rem;
|
|
18
|
-
left: 1.5rem;
|
|
19
|
-
}
|
|
20
|
-
.eds-toast-container--top-right {
|
|
21
|
-
top: 1.5rem;
|
|
22
|
-
right: 1.5rem;
|
|
23
|
-
left: 1.5rem;
|
|
24
|
-
}
|
|
25
|
-
.eds-toast-container > * + * {
|
|
26
|
-
margin-top: 1rem;
|
|
27
|
-
}
|
|
28
|
-
@media screen and (min-width: 50rem) {
|
|
29
|
-
.eds-toast-container {
|
|
30
|
-
left: auto;
|
|
31
|
-
left: initial;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
@keyframes bounceInRight {
|
|
36
|
-
from, 60%, 75%, 90%, to {
|
|
37
|
-
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
38
|
-
}
|
|
39
|
-
from {
|
|
40
|
-
opacity: 0;
|
|
41
|
-
transform: translate3d(3000px, 0, 0) scaleX(3);
|
|
42
|
-
}
|
|
43
|
-
60% {
|
|
44
|
-
opacity: 1;
|
|
45
|
-
transform: translate3d(-25px, 0, 0) scaleX(1);
|
|
46
|
-
}
|
|
47
|
-
75% {
|
|
48
|
-
transform: translate3d(10px, 0, 0) scaleX(0.98);
|
|
49
|
-
}
|
|
50
|
-
90% {
|
|
51
|
-
transform: translate3d(-5px, 0, 0) scaleX(0.995);
|
|
52
|
-
}
|
|
53
|
-
to {
|
|
54
|
-
transform: translate3d(0, 0, 0);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
@keyframes bounceOutRight {
|
|
58
|
-
20% {
|
|
59
|
-
opacity: 1;
|
|
60
|
-
transform: translate3d(-20px, 0, 0) scaleX(0.9);
|
|
61
|
-
}
|
|
62
|
-
to {
|
|
63
|
-
opacity: 0;
|
|
64
|
-
transform: translate3d(2000px, 0, 0) scaleX(2);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
/* DO NOT CHANGE!*/
|
|
68
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
69
3
|
.eds-alert-box {
|
|
70
4
|
border: 0.0625rem solid transparent;
|
|
71
5
|
border-radius: 0.25rem;
|
|
@@ -294,6 +228,72 @@
|
|
|
294
228
|
}
|
|
295
229
|
/* DO NOT CHANGE!*/
|
|
296
230
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
231
|
+
.eds-toast-container {
|
|
232
|
+
position: fixed;
|
|
233
|
+
z-index: 50;
|
|
234
|
+
display: flex;
|
|
235
|
+
align-items: flex-end;
|
|
236
|
+
flex-direction: column;
|
|
237
|
+
}
|
|
238
|
+
.eds-toast-container .eds-alert-box__close-button {
|
|
239
|
+
position: absolute;
|
|
240
|
+
top: 0.75rem;
|
|
241
|
+
right: 0.75rem;
|
|
242
|
+
}
|
|
243
|
+
.eds-toast-container--bottom-right {
|
|
244
|
+
bottom: 1.5rem;
|
|
245
|
+
right: 1.5rem;
|
|
246
|
+
left: 1.5rem;
|
|
247
|
+
}
|
|
248
|
+
.eds-toast-container--top-right {
|
|
249
|
+
top: 1.5rem;
|
|
250
|
+
right: 1.5rem;
|
|
251
|
+
left: 1.5rem;
|
|
252
|
+
}
|
|
253
|
+
.eds-toast-container > * + * {
|
|
254
|
+
margin-top: 1rem;
|
|
255
|
+
}
|
|
256
|
+
@media screen and (min-width: 50rem) {
|
|
257
|
+
.eds-toast-container {
|
|
258
|
+
left: auto;
|
|
259
|
+
left: initial;
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
@keyframes bounceInRight {
|
|
264
|
+
from, 60%, 75%, 90%, to {
|
|
265
|
+
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
266
|
+
}
|
|
267
|
+
from {
|
|
268
|
+
opacity: 0;
|
|
269
|
+
transform: translate3d(3000px, 0, 0) scaleX(3);
|
|
270
|
+
}
|
|
271
|
+
60% {
|
|
272
|
+
opacity: 1;
|
|
273
|
+
transform: translate3d(-25px, 0, 0) scaleX(1);
|
|
274
|
+
}
|
|
275
|
+
75% {
|
|
276
|
+
transform: translate3d(10px, 0, 0) scaleX(0.98);
|
|
277
|
+
}
|
|
278
|
+
90% {
|
|
279
|
+
transform: translate3d(-5px, 0, 0) scaleX(0.995);
|
|
280
|
+
}
|
|
281
|
+
to {
|
|
282
|
+
transform: translate3d(0, 0, 0);
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
@keyframes bounceOutRight {
|
|
286
|
+
20% {
|
|
287
|
+
opacity: 1;
|
|
288
|
+
transform: translate3d(-20px, 0, 0) scaleX(0.9);
|
|
289
|
+
}
|
|
290
|
+
to {
|
|
291
|
+
opacity: 0;
|
|
292
|
+
transform: translate3d(2000px, 0, 0) scaleX(2);
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
/* DO NOT CHANGE!*/
|
|
296
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
297
297
|
.eds-copyable-text,
|
|
298
298
|
.eds-contrast .eds-copyable-text {
|
|
299
299
|
-webkit-appearance: none;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/alert",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.6",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/alert.esm.js",
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/button": "^3.3.
|
|
31
|
-
"@entur/expand": "^3.6.
|
|
32
|
-
"@entur/icons": "^7.
|
|
30
|
+
"@entur/button": "^3.3.6",
|
|
31
|
+
"@entur/expand": "^3.6.6",
|
|
32
|
+
"@entur/icons": "^7.10.0",
|
|
33
33
|
"@entur/tokens": "^3.19.0",
|
|
34
|
-
"@entur/tooltip": "^5.2.
|
|
35
|
-
"@entur/typography": "^1.9.
|
|
34
|
+
"@entur/tooltip": "^5.2.6",
|
|
35
|
+
"@entur/typography": "^1.9.6",
|
|
36
36
|
"@entur/utils": "^0.12.3",
|
|
37
37
|
"classnames": "^2.3.1",
|
|
38
38
|
"copy-text-to-clipboard": "^2.2"
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"dts-cli": "2.0.5"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "2574ca4c0632d084e2c531ee43e4f066c32c4d89"
|
|
44
44
|
}
|