@entur/alert 0.16.20 → 0.16.21

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.
Files changed (2) hide show
  1. package/dist/styles.css +45 -45
  2. package/package.json +7 -7
package/dist/styles.css CHANGED
@@ -225,6 +225,51 @@
225
225
  }
226
226
  /* DO NOT CHANGE!*/
227
227
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
228
+ .eds-expandable-alert-box .eds-alert-box__content {
229
+ width: 100%;
230
+ }
231
+ .eds-expandable-alert-box.eds-alert-box--banner .eds-alert-box__icon {
232
+ margin-top: 0.0625rem;
233
+ }
234
+ @media screen and (min-width: 50rem) {
235
+ .eds-expandable-alert-box.eds-alert-box--banner .eds-alert-box__icon {
236
+ margin-top: -0.375rem;
237
+ }
238
+ }
239
+ .eds-expandable-alert-box.eds-alert-box--small .eds-alert-box__icon {
240
+ margin-top: 0.125rem;
241
+ }
242
+ @media screen and (min-width: 50rem) {
243
+ .eds-expandable-alert-box.eds-alert-box--small .eds-alert-box__icon {
244
+ margin-top: 0.125rem;
245
+ }
246
+ }
247
+ .eds-expandable-alert-box__title {
248
+ display: flex;
249
+ justify-content: space-between;
250
+ align-items: baseline;
251
+ }
252
+ .eds-expandable-alert-box__button {
253
+ color: inherit;
254
+ background: none;
255
+ border: none;
256
+ cursor: pointer;
257
+ font-family: inherit;
258
+ font-size: inherit;
259
+ line-height: 1.5rem;
260
+ padding: 0 0.25rem;
261
+ flex-shrink: 0;
262
+ }
263
+ .eds-expandable-alert-box__button:focus {
264
+ outline: 2px solid #181c56;
265
+ outline-offset: 0.125rem;
266
+ }
267
+ .eds-expandable-alert-box__button .eds-icon {
268
+ font-size: 1rem;
269
+ padding-left: 0.25rem;
270
+ }
271
+ /* DO NOT CHANGE!*/
272
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
228
273
  .eds-copyable-text,
229
274
  .eds-contrast .eds-copyable-text {
230
275
  -webkit-appearance: none;
@@ -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.20",
3
+ "version": "0.16.21",
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.35",
31
- "@entur/expand": "^3.5.24",
32
- "@entur/icons": "^7.4.3",
30
+ "@entur/button": "^3.2.36",
31
+ "@entur/expand": "^3.5.25",
32
+ "@entur/icons": "^7.5.0",
33
33
  "@entur/tokens": "^3.17.3",
34
- "@entur/tooltip": "^5.1.2",
35
- "@entur/typography": "^1.8.48",
34
+ "@entur/tooltip": "^5.1.3",
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": "214480c52396a9b6f7133bdb21c81986e69c5ec4"
40
+ "gitHead": "7b67c7eded2ea9495ba4e21a9bef33c1a82d4a43"
41
41
  }