@entur/alert 0.16.21 → 0.16.22
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 +95 -95
- package/package.json +3 -3
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,48 +164,64 @@
|
|
|
225
164
|
}
|
|
226
165
|
/* DO NOT CHANGE!*/
|
|
227
166
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
228
|
-
.eds-
|
|
229
|
-
|
|
167
|
+
.eds-toast-container {
|
|
168
|
+
position: fixed;
|
|
169
|
+
z-index: 50;
|
|
170
|
+
display: flex;
|
|
171
|
+
align-items: flex-end;
|
|
172
|
+
flex-direction: column;
|
|
230
173
|
}
|
|
231
|
-
.eds-
|
|
232
|
-
|
|
174
|
+
.eds-toast-container--bottom-right {
|
|
175
|
+
bottom: 1.5rem;
|
|
176
|
+
right: 1.5rem;
|
|
177
|
+
left: 1.5rem;
|
|
233
178
|
}
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
179
|
+
.eds-toast-container--top-right {
|
|
180
|
+
top: 1.5rem;
|
|
181
|
+
right: 1.5rem;
|
|
182
|
+
left: 1.5rem;
|
|
238
183
|
}
|
|
239
|
-
.eds-
|
|
240
|
-
margin-top:
|
|
184
|
+
.eds-toast-container > * + * {
|
|
185
|
+
margin-top: 1rem;
|
|
241
186
|
}
|
|
242
187
|
@media screen and (min-width: 50rem) {
|
|
243
|
-
.eds-
|
|
244
|
-
|
|
188
|
+
.eds-toast-container {
|
|
189
|
+
left: auto;
|
|
190
|
+
left: initial;
|
|
245
191
|
}
|
|
246
192
|
}
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
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
|
+
}
|
|
266
215
|
}
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
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
|
+
}
|
|
270
225
|
}
|
|
271
226
|
/* DO NOT CHANGE!*/
|
|
272
227
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -604,3 +559,48 @@
|
|
|
604
559
|
:root {
|
|
605
560
|
--eds-alert: 1;
|
|
606
561
|
}
|
|
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",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/alert.esm.js",
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
"@entur/expand": "^3.5.25",
|
|
32
32
|
"@entur/icons": "^7.5.0",
|
|
33
33
|
"@entur/tokens": "^3.17.3",
|
|
34
|
-
"@entur/tooltip": "^5.1.
|
|
34
|
+
"@entur/tooltip": "^5.1.4",
|
|
35
35
|
"@entur/typography": "^1.8.49",
|
|
36
36
|
"@entur/utils": "^0.12.1",
|
|
37
37
|
"classnames": "^2.3.1",
|
|
38
38
|
"copy-text-to-clipboard": "^2.2"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "5c9836f2bcab799e31cc52b6fe72c6e198947a71"
|
|
41
41
|
}
|