@entur/alert 0.15.23 → 0.15.24
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 +45 -45
- package/package.json +8 -8
package/dist/styles.css
CHANGED
|
@@ -324,51 +324,6 @@
|
|
|
324
324
|
.eds-contrast .eds-contrast .eds-contrast .eds-copyable-text .eds-contrast .eds-copyable-text__button:focus {
|
|
325
325
|
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
326
326
|
}
|
|
327
|
-
/* DO NOT CHANGE!*/
|
|
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
327
|
@import "~@entur/tokens/dist/primitive.css";
|
|
373
328
|
@import "~@entur/tokens/dist/semantic.css";
|
|
374
329
|
/* DO NOT CHANGE!*/
|
|
@@ -748,3 +703,48 @@
|
|
|
748
703
|
:root {
|
|
749
704
|
--eds-alert: 1;
|
|
750
705
|
}
|
|
706
|
+
/* DO NOT CHANGE!*/
|
|
707
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
708
|
+
.eds-expandable-alert-box .eds-alert-box__content {
|
|
709
|
+
width: 100%;
|
|
710
|
+
}
|
|
711
|
+
.eds-expandable-alert-box.eds-alert-box--banner .eds-alert-box__icon {
|
|
712
|
+
margin-top: 0.0625rem;
|
|
713
|
+
}
|
|
714
|
+
@media screen and (min-width: 50rem) {
|
|
715
|
+
.eds-expandable-alert-box.eds-alert-box--banner .eds-alert-box__icon {
|
|
716
|
+
margin-top: -0.375rem;
|
|
717
|
+
}
|
|
718
|
+
}
|
|
719
|
+
.eds-expandable-alert-box.eds-alert-box--small .eds-alert-box__icon {
|
|
720
|
+
margin-top: 0.125rem;
|
|
721
|
+
}
|
|
722
|
+
@media screen and (min-width: 50rem) {
|
|
723
|
+
.eds-expandable-alert-box.eds-alert-box--small .eds-alert-box__icon {
|
|
724
|
+
margin-top: 0.125rem;
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
.eds-expandable-alert-box__title {
|
|
728
|
+
display: flex;
|
|
729
|
+
justify-content: space-between;
|
|
730
|
+
align-items: baseline;
|
|
731
|
+
}
|
|
732
|
+
.eds-expandable-alert-box__button {
|
|
733
|
+
color: inherit;
|
|
734
|
+
background: none;
|
|
735
|
+
border: none;
|
|
736
|
+
cursor: pointer;
|
|
737
|
+
font-family: inherit;
|
|
738
|
+
font-size: inherit;
|
|
739
|
+
line-height: 1.5rem;
|
|
740
|
+
padding: 0 0.25rem;
|
|
741
|
+
flex-shrink: 0;
|
|
742
|
+
}
|
|
743
|
+
.eds-expandable-alert-box__button:focus {
|
|
744
|
+
outline: 2px solid #181c56;
|
|
745
|
+
outline-offset: 0.125rem;
|
|
746
|
+
}
|
|
747
|
+
.eds-expandable-alert-box__button .eds-icon {
|
|
748
|
+
font-size: 1rem;
|
|
749
|
+
padding-left: 0.25rem;
|
|
750
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/alert",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.24",
|
|
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": "^6.15.
|
|
33
|
-
"@entur/tokens": "^3.13.
|
|
34
|
-
"@entur/tooltip": "^2.6.
|
|
35
|
-
"@entur/typography": "^1.8.
|
|
30
|
+
"@entur/button": "^3.2.14",
|
|
31
|
+
"@entur/expand": "^3.5.3",
|
|
32
|
+
"@entur/icons": "^6.15.3",
|
|
33
|
+
"@entur/tokens": "^3.13.2",
|
|
34
|
+
"@entur/tooltip": "^2.6.51",
|
|
35
|
+
"@entur/typography": "^1.8.27",
|
|
36
36
|
"@entur/utils": "^0.10.0",
|
|
37
37
|
"classnames": "^2.3.1",
|
|
38
38
|
"copy-text-to-clipboard": "^2.2"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "427e66ba68d33b8d1839714a48517b52afd5c2db"
|
|
41
41
|
}
|