@entur/alert 0.16.23-RC.0 → 0.16.23

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 +9 -9
package/dist/styles.css CHANGED
@@ -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.23-RC.0",
3
+ "version": "0.16.23",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/alert.esm.js",
@@ -27,18 +27,18 @@
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/button": "^3.2.37-RC.0",
31
- "@entur/expand": "^3.5.26-RC.0",
32
- "@entur/icons": "^7.5.1-RC.0",
33
- "@entur/tokens": "^3.17.4-RC.0",
34
- "@entur/tooltip": "^5.1.5-RC.0",
35
- "@entur/typography": "^1.8.50-RC.0",
36
- "@entur/utils": "^0.12.2-RC.0",
30
+ "@entur/button": "^3.2.37",
31
+ "@entur/expand": "^3.5.26",
32
+ "@entur/icons": "^7.5.1",
33
+ "@entur/tokens": "^3.17.4",
34
+ "@entur/tooltip": "^5.1.5",
35
+ "@entur/typography": "^1.8.50",
36
+ "@entur/utils": "^0.12.2",
37
37
  "classnames": "^2.3.1",
38
38
  "copy-text-to-clipboard": "^2.2"
39
39
  },
40
40
  "devDependencies": {
41
41
  "dts-cli": "2.0.5"
42
42
  },
43
- "gitHead": "d7913682a41ade219cbd4dfc6e45060152c7fa0a"
43
+ "gitHead": "835e1335b390f48b80379ae6c473ac89041a392a"
44
44
  }