@entur/alert 0.16.20 → 0.16.22-alpha.0
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 +106 -106
- package/package.json +8 -8
package/dist/styles.css
CHANGED
|
@@ -1,66 +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--bottom-right {
|
|
11
|
-
bottom: 1.5rem;
|
|
12
|
-
right: 1.5rem;
|
|
13
|
-
left: 1.5rem;
|
|
14
|
-
}
|
|
15
|
-
.eds-toast-container--top-right {
|
|
16
|
-
top: 1.5rem;
|
|
17
|
-
right: 1.5rem;
|
|
18
|
-
left: 1.5rem;
|
|
19
|
-
}
|
|
20
|
-
.eds-toast-container > * + * {
|
|
21
|
-
margin-top: 1rem;
|
|
22
|
-
}
|
|
23
|
-
@media screen and (min-width: 50rem) {
|
|
24
|
-
.eds-toast-container {
|
|
25
|
-
left: auto;
|
|
26
|
-
left: initial;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
@keyframes bounceInRight {
|
|
31
|
-
from, 60%, 75%, 90%, to {
|
|
32
|
-
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
33
|
-
}
|
|
34
|
-
from {
|
|
35
|
-
opacity: 0;
|
|
36
|
-
transform: translate3d(3000px, 0, 0) scaleX(3);
|
|
37
|
-
}
|
|
38
|
-
60% {
|
|
39
|
-
opacity: 1;
|
|
40
|
-
transform: translate3d(-25px, 0, 0) scaleX(1);
|
|
41
|
-
}
|
|
42
|
-
75% {
|
|
43
|
-
transform: translate3d(10px, 0, 0) scaleX(0.98);
|
|
44
|
-
}
|
|
45
|
-
90% {
|
|
46
|
-
transform: translate3d(-5px, 0, 0) scaleX(0.995);
|
|
47
|
-
}
|
|
48
|
-
to {
|
|
49
|
-
transform: translate3d(0, 0, 0);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
@keyframes bounceOutRight {
|
|
53
|
-
20% {
|
|
54
|
-
opacity: 1;
|
|
55
|
-
transform: translate3d(-20px, 0, 0) scaleX(0.9);
|
|
56
|
-
}
|
|
57
|
-
to {
|
|
58
|
-
opacity: 0;
|
|
59
|
-
transform: translate3d(2000px, 0, 0) scaleX(2);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
/* DO NOT CHANGE!*/
|
|
63
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
64
3
|
.eds-alert-box {
|
|
65
4
|
border: 0.0625rem solid transparent;
|
|
66
5
|
border-radius: 0.25rem;
|
|
@@ -225,6 +164,67 @@
|
|
|
225
164
|
}
|
|
226
165
|
/* DO NOT CHANGE!*/
|
|
227
166
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
167
|
+
.eds-toast-container {
|
|
168
|
+
position: fixed;
|
|
169
|
+
z-index: 50;
|
|
170
|
+
display: flex;
|
|
171
|
+
align-items: flex-end;
|
|
172
|
+
flex-direction: column;
|
|
173
|
+
}
|
|
174
|
+
.eds-toast-container--bottom-right {
|
|
175
|
+
bottom: 1.5rem;
|
|
176
|
+
right: 1.5rem;
|
|
177
|
+
left: 1.5rem;
|
|
178
|
+
}
|
|
179
|
+
.eds-toast-container--top-right {
|
|
180
|
+
top: 1.5rem;
|
|
181
|
+
right: 1.5rem;
|
|
182
|
+
left: 1.5rem;
|
|
183
|
+
}
|
|
184
|
+
.eds-toast-container > * + * {
|
|
185
|
+
margin-top: 1rem;
|
|
186
|
+
}
|
|
187
|
+
@media screen and (min-width: 50rem) {
|
|
188
|
+
.eds-toast-container {
|
|
189
|
+
left: auto;
|
|
190
|
+
left: initial;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
@keyframes bounceInRight {
|
|
195
|
+
from, 60%, 75%, 90%, to {
|
|
196
|
+
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
197
|
+
}
|
|
198
|
+
from {
|
|
199
|
+
opacity: 0;
|
|
200
|
+
transform: translate3d(3000px, 0, 0) scaleX(3);
|
|
201
|
+
}
|
|
202
|
+
60% {
|
|
203
|
+
opacity: 1;
|
|
204
|
+
transform: translate3d(-25px, 0, 0) scaleX(1);
|
|
205
|
+
}
|
|
206
|
+
75% {
|
|
207
|
+
transform: translate3d(10px, 0, 0) scaleX(0.98);
|
|
208
|
+
}
|
|
209
|
+
90% {
|
|
210
|
+
transform: translate3d(-5px, 0, 0) scaleX(0.995);
|
|
211
|
+
}
|
|
212
|
+
to {
|
|
213
|
+
transform: translate3d(0, 0, 0);
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
@keyframes bounceOutRight {
|
|
217
|
+
20% {
|
|
218
|
+
opacity: 1;
|
|
219
|
+
transform: translate3d(-20px, 0, 0) scaleX(0.9);
|
|
220
|
+
}
|
|
221
|
+
to {
|
|
222
|
+
opacity: 0;
|
|
223
|
+
transform: translate3d(2000px, 0, 0) scaleX(2);
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
/* DO NOT CHANGE!*/
|
|
227
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
228
228
|
.eds-copyable-text,
|
|
229
229
|
.eds-contrast .eds-copyable-text {
|
|
230
230
|
-webkit-appearance: none;
|
|
@@ -326,6 +326,51 @@
|
|
|
326
326
|
}
|
|
327
327
|
/* DO NOT CHANGE!*/
|
|
328
328
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
329
|
+
.eds-expandable-alert-box .eds-alert-box__content {
|
|
330
|
+
width: 100%;
|
|
331
|
+
}
|
|
332
|
+
.eds-expandable-alert-box.eds-alert-box--banner .eds-alert-box__icon {
|
|
333
|
+
margin-top: 0.0625rem;
|
|
334
|
+
}
|
|
335
|
+
@media screen and (min-width: 50rem) {
|
|
336
|
+
.eds-expandable-alert-box.eds-alert-box--banner .eds-alert-box__icon {
|
|
337
|
+
margin-top: -0.375rem;
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
.eds-expandable-alert-box.eds-alert-box--small .eds-alert-box__icon {
|
|
341
|
+
margin-top: 0.125rem;
|
|
342
|
+
}
|
|
343
|
+
@media screen and (min-width: 50rem) {
|
|
344
|
+
.eds-expandable-alert-box.eds-alert-box--small .eds-alert-box__icon {
|
|
345
|
+
margin-top: 0.125rem;
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
.eds-expandable-alert-box__title {
|
|
349
|
+
display: flex;
|
|
350
|
+
justify-content: space-between;
|
|
351
|
+
align-items: baseline;
|
|
352
|
+
}
|
|
353
|
+
.eds-expandable-alert-box__button {
|
|
354
|
+
color: inherit;
|
|
355
|
+
background: none;
|
|
356
|
+
border: none;
|
|
357
|
+
cursor: pointer;
|
|
358
|
+
font-family: inherit;
|
|
359
|
+
font-size: inherit;
|
|
360
|
+
line-height: 1.5rem;
|
|
361
|
+
padding: 0 0.25rem;
|
|
362
|
+
flex-shrink: 0;
|
|
363
|
+
}
|
|
364
|
+
.eds-expandable-alert-box__button:focus {
|
|
365
|
+
outline: 2px solid #181c56;
|
|
366
|
+
outline-offset: 0.125rem;
|
|
367
|
+
}
|
|
368
|
+
.eds-expandable-alert-box__button .eds-icon {
|
|
369
|
+
font-size: 1rem;
|
|
370
|
+
padding-left: 0.25rem;
|
|
371
|
+
}
|
|
372
|
+
/* DO NOT CHANGE!*/
|
|
373
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
329
374
|
/* DO NOT CHANGE!*/
|
|
330
375
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
331
376
|
/* DO NOT CHANGE!*/
|
|
@@ -559,48 +604,3 @@
|
|
|
559
604
|
:root {
|
|
560
605
|
--eds-alert: 1;
|
|
561
606
|
}
|
|
562
|
-
/* DO NOT CHANGE!*/
|
|
563
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
564
|
-
.eds-expandable-alert-box .eds-alert-box__content {
|
|
565
|
-
width: 100%;
|
|
566
|
-
}
|
|
567
|
-
.eds-expandable-alert-box.eds-alert-box--banner .eds-alert-box__icon {
|
|
568
|
-
margin-top: 0.0625rem;
|
|
569
|
-
}
|
|
570
|
-
@media screen and (min-width: 50rem) {
|
|
571
|
-
.eds-expandable-alert-box.eds-alert-box--banner .eds-alert-box__icon {
|
|
572
|
-
margin-top: -0.375rem;
|
|
573
|
-
}
|
|
574
|
-
}
|
|
575
|
-
.eds-expandable-alert-box.eds-alert-box--small .eds-alert-box__icon {
|
|
576
|
-
margin-top: 0.125rem;
|
|
577
|
-
}
|
|
578
|
-
@media screen and (min-width: 50rem) {
|
|
579
|
-
.eds-expandable-alert-box.eds-alert-box--small .eds-alert-box__icon {
|
|
580
|
-
margin-top: 0.125rem;
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
.eds-expandable-alert-box__title {
|
|
584
|
-
display: flex;
|
|
585
|
-
justify-content: space-between;
|
|
586
|
-
align-items: baseline;
|
|
587
|
-
}
|
|
588
|
-
.eds-expandable-alert-box__button {
|
|
589
|
-
color: inherit;
|
|
590
|
-
background: none;
|
|
591
|
-
border: none;
|
|
592
|
-
cursor: pointer;
|
|
593
|
-
font-family: inherit;
|
|
594
|
-
font-size: inherit;
|
|
595
|
-
line-height: 1.5rem;
|
|
596
|
-
padding: 0 0.25rem;
|
|
597
|
-
flex-shrink: 0;
|
|
598
|
-
}
|
|
599
|
-
.eds-expandable-alert-box__button:focus {
|
|
600
|
-
outline: 2px solid #181c56;
|
|
601
|
-
outline-offset: 0.125rem;
|
|
602
|
-
}
|
|
603
|
-
.eds-expandable-alert-box__button .eds-icon {
|
|
604
|
-
font-size: 1rem;
|
|
605
|
-
padding-left: 0.25rem;
|
|
606
|
-
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/alert",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.22-alpha.0",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/alert.esm.js",
|
|
@@ -27,15 +27,15 @@
|
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/button": "^3.2.
|
|
31
|
-
"@entur/expand": "^3.5.
|
|
32
|
-
"@entur/icons": "^7.
|
|
30
|
+
"@entur/button": "^3.2.37-alpha.0",
|
|
31
|
+
"@entur/expand": "^3.5.26-alpha.0",
|
|
32
|
+
"@entur/icons": "^7.5.0",
|
|
33
33
|
"@entur/tokens": "^3.17.3",
|
|
34
|
-
"@entur/tooltip": "^5.1.
|
|
35
|
-
"@entur/typography": "^1.8.
|
|
36
|
-
"@entur/utils": "^0.
|
|
34
|
+
"@entur/tooltip": "^5.1.4-alpha.0",
|
|
35
|
+
"@entur/typography": "^1.8.50-alpha.0",
|
|
36
|
+
"@entur/utils": "^1.0.0-alpha.0",
|
|
37
37
|
"classnames": "^2.3.1",
|
|
38
38
|
"copy-text-to-clipboard": "^2.2"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "b653c119e54372ec210ed20aa99ded642f114c69"
|
|
41
41
|
}
|