@entur/alert 0.16.5 → 0.16.7

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 +8 -8
package/dist/styles.css CHANGED
@@ -317,6 +317,51 @@
317
317
  }
318
318
  /* DO NOT CHANGE!*/
319
319
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
320
+ .eds-expandable-alert-box .eds-alert-box__content {
321
+ width: 100%;
322
+ }
323
+ .eds-expandable-alert-box.eds-alert-box--banner .eds-alert-box__icon {
324
+ margin-top: 0.0625rem;
325
+ }
326
+ @media screen and (min-width: 50rem) {
327
+ .eds-expandable-alert-box.eds-alert-box--banner .eds-alert-box__icon {
328
+ margin-top: -0.375rem;
329
+ }
330
+ }
331
+ .eds-expandable-alert-box.eds-alert-box--small .eds-alert-box__icon {
332
+ margin-top: 0.125rem;
333
+ }
334
+ @media screen and (min-width: 50rem) {
335
+ .eds-expandable-alert-box.eds-alert-box--small .eds-alert-box__icon {
336
+ margin-top: 0.125rem;
337
+ }
338
+ }
339
+ .eds-expandable-alert-box__title {
340
+ display: flex;
341
+ justify-content: space-between;
342
+ align-items: baseline;
343
+ }
344
+ .eds-expandable-alert-box__button {
345
+ color: inherit;
346
+ background: none;
347
+ border: none;
348
+ cursor: pointer;
349
+ font-family: inherit;
350
+ font-size: inherit;
351
+ line-height: 1.5rem;
352
+ padding: 0 0.25rem;
353
+ flex-shrink: 0;
354
+ }
355
+ .eds-expandable-alert-box__button:focus {
356
+ outline: 2px solid #181c56;
357
+ outline-offset: 0.125rem;
358
+ }
359
+ .eds-expandable-alert-box__button .eds-icon {
360
+ font-size: 1rem;
361
+ padding-left: 0.25rem;
362
+ }
363
+ /* DO NOT CHANGE!*/
364
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
320
365
  /* DO NOT CHANGE!*/
321
366
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
322
367
  /* DO NOT CHANGE!*/
@@ -550,48 +595,3 @@
550
595
  :root {
551
596
  --eds-alert: 1;
552
597
  }
553
- /* DO NOT CHANGE!*/
554
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
555
- .eds-expandable-alert-box .eds-alert-box__content {
556
- width: 100%;
557
- }
558
- .eds-expandable-alert-box.eds-alert-box--banner .eds-alert-box__icon {
559
- margin-top: 0.0625rem;
560
- }
561
- @media screen and (min-width: 50rem) {
562
- .eds-expandable-alert-box.eds-alert-box--banner .eds-alert-box__icon {
563
- margin-top: -0.375rem;
564
- }
565
- }
566
- .eds-expandable-alert-box.eds-alert-box--small .eds-alert-box__icon {
567
- margin-top: 0.125rem;
568
- }
569
- @media screen and (min-width: 50rem) {
570
- .eds-expandable-alert-box.eds-alert-box--small .eds-alert-box__icon {
571
- margin-top: 0.125rem;
572
- }
573
- }
574
- .eds-expandable-alert-box__title {
575
- display: flex;
576
- justify-content: space-between;
577
- align-items: baseline;
578
- }
579
- .eds-expandable-alert-box__button {
580
- color: inherit;
581
- background: none;
582
- border: none;
583
- cursor: pointer;
584
- font-family: inherit;
585
- font-size: inherit;
586
- line-height: 1.5rem;
587
- padding: 0 0.25rem;
588
- flex-shrink: 0;
589
- }
590
- .eds-expandable-alert-box__button:focus {
591
- outline: 2px solid #181c56;
592
- outline-offset: 0.125rem;
593
- }
594
- .eds-expandable-alert-box__button .eds-icon {
595
- font-size: 1rem;
596
- padding-left: 0.25rem;
597
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/alert",
3
- "version": "0.16.5",
3
+ "version": "0.16.7",
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.21",
31
- "@entur/expand": "^3.5.10",
32
- "@entur/icons": "^6.16.0",
33
- "@entur/tokens": "^3.14.0",
34
- "@entur/tooltip": "^2.7.5",
35
- "@entur/typography": "^1.8.34",
30
+ "@entur/button": "^3.2.23",
31
+ "@entur/expand": "^3.5.12",
32
+ "@entur/icons": "^6.16.2",
33
+ "@entur/tokens": "^3.15.0",
34
+ "@entur/tooltip": "^2.7.7",
35
+ "@entur/typography": "^1.8.36",
36
36
  "@entur/utils": "^0.11.1",
37
37
  "classnames": "^2.3.1",
38
38
  "copy-text-to-clipboard": "^2.2"
39
39
  },
40
- "gitHead": "5044cdb815a75fc0eff204cedd98e4d1c7d1971e"
40
+ "gitHead": "93e3d6a7a2abd4dd20e09b6b631591a4f1bd10d2"
41
41
  }