@entur/layout 2.3.3 → 2.3.4

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 +52 -52
  2. package/package.json +5 -5
package/dist/styles.css CHANGED
@@ -1,26 +1,5 @@
1
1
  /* DO NOT CHANGE!*/
2
2
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
- .eds-base-card {
4
- display: flex;
5
- box-shadow: 0 0.0625rem 0.1875rem 0 rgba(0, 0, 0, 0.12);
6
- background-color: var(--components-layout-card-standard-fill-default);
7
- border: 0.0625rem solid var(--components-layout-card-standard-border-default);
8
- color: var(--components-layout-card-standard-text);
9
- border-radius: 0.25rem;
10
- align-items: center;
11
- -webkit-appearance: none;
12
- -moz-appearance: none;
13
- appearance: none;
14
- text-decoration: none;
15
- }
16
- .eds-contrast .eds-base-card {
17
- background-color: var(--components-layout-card-contrast-fill-default);
18
- border-color: var(--components-layout-card-contrast-border-default);
19
- box-shadow: 0 0.0625rem 0.1875rem 0 rgb(57, 61, 121);
20
- color: var(--components-layout-card-contrast-text);
21
- }
22
- /* DO NOT CHANGE!*/
23
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
24
3
  .eds-navigation-card {
25
4
  display: flex;
26
5
  flex-direction: column;
@@ -132,6 +111,27 @@
132
111
  }
133
112
  /* DO NOT CHANGE!*/
134
113
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
114
+ .eds-base-card {
115
+ display: flex;
116
+ box-shadow: 0 0.0625rem 0.1875rem 0 rgba(0, 0, 0, 0.12);
117
+ background-color: var(--components-layout-card-standard-fill-default);
118
+ border: 0.0625rem solid var(--components-layout-card-standard-border-default);
119
+ color: var(--components-layout-card-standard-text);
120
+ border-radius: 0.25rem;
121
+ align-items: center;
122
+ -webkit-appearance: none;
123
+ -moz-appearance: none;
124
+ appearance: none;
125
+ text-decoration: none;
126
+ }
127
+ .eds-contrast .eds-base-card {
128
+ background-color: var(--components-layout-card-contrast-fill-default);
129
+ border-color: var(--components-layout-card-contrast-border-default);
130
+ box-shadow: 0 0.0625rem 0.1875rem 0 rgb(57, 61, 121);
131
+ color: var(--components-layout-card-contrast-text);
132
+ }
133
+ /* DO NOT CHANGE!*/
134
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
135
135
  .eds-media-card {
136
136
  flex-direction: column;
137
137
  overflow: hidden;
@@ -406,37 +406,6 @@
406
406
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
407
407
  /* DO NOT CHANGE!*/
408
408
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
409
- .eds-tag {
410
- background: #e9e9e9;
411
- color: #181c56;
412
- display: inline-block;
413
- min-width: 2rem;
414
- padding: 0.25rem 0.75rem;
415
- font-size: 0.875rem;
416
- line-height: 1.375rem;
417
- }
418
- .eds-tag--leading-icon .eds-icon {
419
- margin-right: 0.5rem;
420
- }
421
- .eds-tag--trailing-icon .eds-icon {
422
- margin-left: 0.5rem;
423
- }
424
- .eds-tag--compact {
425
- font-size: 0.75rem;
426
- padding: 0.125rem 0.5rem;
427
- line-height: 1.25rem;
428
- height: 1.5rem;
429
- }
430
- .eds-tag--compact.eds-tag--leading-icon .eds-icon {
431
- margin-right: 0.25rem;
432
- }
433
- .eds-tag--compact.eds-tag--trailing-icon .eds-icon {
434
- margin-left: 0.25rem;
435
- }
436
- /* DO NOT CHANGE!*/
437
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
438
- /* DO NOT CHANGE!*/
439
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
440
409
  /* DO NOT CHANGE!*/
441
410
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
442
411
  [data-color-mode=light],
@@ -732,3 +701,34 @@
732
701
  :root {
733
702
  --eds-layout: 1;
734
703
  }
704
+ /* DO NOT CHANGE!*/
705
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
706
+ /* DO NOT CHANGE!*/
707
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
708
+ .eds-tag {
709
+ background: #e9e9e9;
710
+ color: #181c56;
711
+ display: inline-block;
712
+ min-width: 2rem;
713
+ padding: 0.25rem 0.75rem;
714
+ font-size: 0.875rem;
715
+ line-height: 1.375rem;
716
+ }
717
+ .eds-tag--leading-icon .eds-icon {
718
+ margin-right: 0.5rem;
719
+ }
720
+ .eds-tag--trailing-icon .eds-icon {
721
+ margin-left: 0.5rem;
722
+ }
723
+ .eds-tag--compact {
724
+ font-size: 0.75rem;
725
+ padding: 0.125rem 0.5rem;
726
+ line-height: 1.25rem;
727
+ height: 1.5rem;
728
+ }
729
+ .eds-tag--compact.eds-tag--leading-icon .eds-icon {
730
+ margin-right: 0.25rem;
731
+ }
732
+ .eds-tag--compact.eds-tag--trailing-icon .eds-icon {
733
+ margin-left: 0.25rem;
734
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/layout",
3
- "version": "2.3.3",
3
+ "version": "2.3.4",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/layout.esm.js",
@@ -27,11 +27,11 @@
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/icons": "^6.15.7",
31
- "@entur/tokens": "^3.13.5",
32
- "@entur/typography": "^1.8.32",
30
+ "@entur/icons": "^6.15.8",
31
+ "@entur/tokens": "^3.14.0",
32
+ "@entur/typography": "^1.8.33",
33
33
  "@entur/utils": "^0.11.1",
34
34
  "classnames": "^2.3.1"
35
35
  },
36
- "gitHead": "4a9415af2b2c72292bbb4c6aeeb0f79b7dbdb0bd"
36
+ "gitHead": "bbca019e64cca63b6558abed97643bd12f0dca1b"
37
37
  }