@entur/alert 0.17.0-beta.0 → 0.17.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 +52 -47
- package/package.json +6 -6
package/dist/styles.css
CHANGED
|
@@ -179,6 +179,11 @@
|
|
|
179
179
|
align-items: flex-end;
|
|
180
180
|
flex-direction: column;
|
|
181
181
|
}
|
|
182
|
+
.eds-toast-container .eds-alert-box__close-button {
|
|
183
|
+
position: absolute;
|
|
184
|
+
top: 0.75rem;
|
|
185
|
+
right: 0.75rem;
|
|
186
|
+
}
|
|
182
187
|
.eds-toast-container--bottom-right {
|
|
183
188
|
bottom: 1.5rem;
|
|
184
189
|
right: 1.5rem;
|
|
@@ -334,53 +339,6 @@
|
|
|
334
339
|
}
|
|
335
340
|
/* DO NOT CHANGE!*/
|
|
336
341
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
337
|
-
.eds-expandable-alert-box .eds-alert-box__content {
|
|
338
|
-
width: 100%;
|
|
339
|
-
}
|
|
340
|
-
.eds-expandable-alert-box.eds-alert-box--banner .eds-alert-box__icon {
|
|
341
|
-
margin-top: 0.0625rem;
|
|
342
|
-
}
|
|
343
|
-
@media screen and (min-width: 50rem) {
|
|
344
|
-
.eds-expandable-alert-box.eds-alert-box--banner .eds-alert-box__icon {
|
|
345
|
-
margin-top: -0.375rem;
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
.eds-expandable-alert-box.eds-alert-box--small .eds-alert-box__icon {
|
|
349
|
-
margin-top: 0.125rem;
|
|
350
|
-
}
|
|
351
|
-
@media screen and (min-width: 50rem) {
|
|
352
|
-
.eds-expandable-alert-box.eds-alert-box--small .eds-alert-box__icon {
|
|
353
|
-
margin-top: 0.125rem;
|
|
354
|
-
}
|
|
355
|
-
}
|
|
356
|
-
.eds-expandable-alert-box__title {
|
|
357
|
-
display: flex;
|
|
358
|
-
justify-content: space-between;
|
|
359
|
-
align-items: baseline;
|
|
360
|
-
}
|
|
361
|
-
.eds-expandable-alert-box__button {
|
|
362
|
-
color: var(--components-button-iconbutton-standard-text);
|
|
363
|
-
background: none;
|
|
364
|
-
border: none;
|
|
365
|
-
cursor: pointer;
|
|
366
|
-
font-family: inherit;
|
|
367
|
-
font-size: inherit;
|
|
368
|
-
line-height: 1.5rem;
|
|
369
|
-
padding: 0 0.25rem;
|
|
370
|
-
flex-shrink: 0;
|
|
371
|
-
}
|
|
372
|
-
.eds-expandable-alert-box__button:focus-visible {
|
|
373
|
-
outline: 2px solid #181c56;
|
|
374
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
375
|
-
outline-offset: 0.125rem;
|
|
376
|
-
}
|
|
377
|
-
.eds-expandable-alert-box__button .eds-icon {
|
|
378
|
-
font-size: 1rem;
|
|
379
|
-
padding-left: 0.25rem;
|
|
380
|
-
color: var(--components-button-iconbutton-standard-text);
|
|
381
|
-
}
|
|
382
|
-
/* DO NOT CHANGE!*/
|
|
383
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
384
342
|
/* DO NOT CHANGE!*/
|
|
385
343
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
386
344
|
/* DO NOT CHANGE!*/
|
|
@@ -614,3 +572,50 @@
|
|
|
614
572
|
:root {
|
|
615
573
|
--eds-alert: 1;
|
|
616
574
|
}
|
|
575
|
+
/* DO NOT CHANGE!*/
|
|
576
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
577
|
+
.eds-expandable-alert-box .eds-alert-box__content {
|
|
578
|
+
width: 100%;
|
|
579
|
+
}
|
|
580
|
+
.eds-expandable-alert-box.eds-alert-box--banner .eds-alert-box__icon {
|
|
581
|
+
margin-top: 0.0625rem;
|
|
582
|
+
}
|
|
583
|
+
@media screen and (min-width: 50rem) {
|
|
584
|
+
.eds-expandable-alert-box.eds-alert-box--banner .eds-alert-box__icon {
|
|
585
|
+
margin-top: -0.375rem;
|
|
586
|
+
}
|
|
587
|
+
}
|
|
588
|
+
.eds-expandable-alert-box.eds-alert-box--small .eds-alert-box__icon {
|
|
589
|
+
margin-top: 0.125rem;
|
|
590
|
+
}
|
|
591
|
+
@media screen and (min-width: 50rem) {
|
|
592
|
+
.eds-expandable-alert-box.eds-alert-box--small .eds-alert-box__icon {
|
|
593
|
+
margin-top: 0.125rem;
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
.eds-expandable-alert-box__title {
|
|
597
|
+
display: flex;
|
|
598
|
+
justify-content: space-between;
|
|
599
|
+
align-items: baseline;
|
|
600
|
+
}
|
|
601
|
+
.eds-expandable-alert-box__button {
|
|
602
|
+
color: var(--components-button-iconbutton-standard-text);
|
|
603
|
+
background: none;
|
|
604
|
+
border: none;
|
|
605
|
+
cursor: pointer;
|
|
606
|
+
font-family: inherit;
|
|
607
|
+
font-size: inherit;
|
|
608
|
+
line-height: 1.5rem;
|
|
609
|
+
padding: 0 0.25rem;
|
|
610
|
+
flex-shrink: 0;
|
|
611
|
+
}
|
|
612
|
+
.eds-expandable-alert-box__button:focus-visible {
|
|
613
|
+
outline: 2px solid #181c56;
|
|
614
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
615
|
+
outline-offset: 0.125rem;
|
|
616
|
+
}
|
|
617
|
+
.eds-expandable-alert-box__button .eds-icon {
|
|
618
|
+
font-size: 1rem;
|
|
619
|
+
padding-left: 0.25rem;
|
|
620
|
+
color: var(--components-button-iconbutton-standard-text);
|
|
621
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/alert",
|
|
3
|
-
"version": "0.17.0
|
|
3
|
+
"version": "0.17.0",
|
|
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.0
|
|
31
|
-
"@entur/expand": "^3.6.0
|
|
30
|
+
"@entur/button": "^3.3.0",
|
|
31
|
+
"@entur/expand": "^3.6.0",
|
|
32
32
|
"@entur/icons": "^7.6.0",
|
|
33
33
|
"@entur/tokens": "^3.17.5",
|
|
34
|
-
"@entur/tooltip": "^5.2.0
|
|
35
|
-
"@entur/typography": "^1.9.0
|
|
34
|
+
"@entur/tooltip": "^5.2.0",
|
|
35
|
+
"@entur/typography": "^1.9.0",
|
|
36
36
|
"@entur/utils": "^0.12.2",
|
|
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": "2a0e12f4ccbc65c2c8a115690b4895ff01ee7f06"
|
|
44
44
|
}
|