@entur/layout 2.3.21-beta.0 → 2.3.22

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 +31 -37
  2. package/package.json +6 -6
package/dist/styles.css CHANGED
@@ -11,6 +11,7 @@
11
11
  -webkit-appearance: none;
12
12
  -moz-appearance: none;
13
13
  appearance: none;
14
+ -webkit-text-decoration: none;
14
15
  text-decoration: none;
15
16
  }
16
17
  .eds-contrast .eds-base-card {
@@ -128,19 +129,11 @@
128
129
  .eds-contrast .eds-media-card {
129
130
  background-color: var(--components-layout-card-contrast-fill-default);
130
131
  }
131
- .eds-media-card:focus, .eds-media-card[focus-within] {
132
- outline: 2px solid #181c56;
133
- outline-color: var(--basecolors-stroke-focus-standard);
134
- outline-offset: 0.125rem;
135
- }
136
132
  .eds-media-card:focus, .eds-media-card:focus-within {
137
133
  outline: 2px solid #181c56;
138
134
  outline-color: var(--basecolors-stroke-focus-standard);
139
135
  outline-offset: 0.125rem;
140
136
  }
141
- .eds-contrast .eds-media-card:focus, .eds-contrast .eds-media-card[focus-within] {
142
- outline-color: var(--basecolors-stroke-focus-contrast);
143
- }
144
137
  .eds-contrast .eds-media-card:focus, .eds-contrast .eds-media-card:focus-within {
145
138
  outline-color: var(--basecolors-stroke-focus-contrast);
146
139
  }
@@ -170,6 +163,7 @@
170
163
  color: inherit;
171
164
  display: flex;
172
165
  flex-direction: column;
166
+ -webkit-text-decoration: none;
173
167
  text-decoration: none;
174
168
  padding: 1.25rem 2rem 0;
175
169
  }
@@ -390,6 +384,35 @@
390
384
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
391
385
  /* DO NOT CHANGE!*/
392
386
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
387
+ .eds-tag {
388
+ background: #e9e9e9;
389
+ color: #181c56;
390
+ display: inline-block;
391
+ min-width: 2rem;
392
+ padding: 0.25rem 0.75rem;
393
+ font-size: 0.875rem;
394
+ line-height: 1.375rem;
395
+ }
396
+ .eds-tag--leading-icon .eds-icon {
397
+ margin-right: 0.5rem;
398
+ }
399
+ .eds-tag--trailing-icon .eds-icon {
400
+ margin-left: 0.5rem;
401
+ }
402
+ .eds-tag--compact {
403
+ font-size: 0.75rem;
404
+ padding: 0.125rem 0.5rem;
405
+ line-height: 1.25rem;
406
+ height: 1.5rem;
407
+ }
408
+ .eds-tag--compact.eds-tag--leading-icon .eds-icon {
409
+ margin-right: 0.25rem;
410
+ }
411
+ .eds-tag--compact.eds-tag--trailing-icon .eds-icon {
412
+ margin-left: 0.25rem;
413
+ }
414
+ /* DO NOT CHANGE!*/
415
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
393
416
  /* DO NOT CHANGE!*/
394
417
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
395
418
  /* DO NOT CHANGE!*/
@@ -687,32 +710,3 @@
687
710
  :root {
688
711
  --eds-layout: 1;
689
712
  }
690
- /* DO NOT CHANGE!*/
691
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
692
- .eds-tag {
693
- background: #e9e9e9;
694
- color: #181c56;
695
- display: inline-block;
696
- min-width: 2rem;
697
- padding: 0.25rem 0.75rem;
698
- font-size: 0.875rem;
699
- line-height: 1.375rem;
700
- }
701
- .eds-tag--leading-icon .eds-icon {
702
- margin-right: 0.5rem;
703
- }
704
- .eds-tag--trailing-icon .eds-icon {
705
- margin-left: 0.5rem;
706
- }
707
- .eds-tag--compact {
708
- font-size: 0.75rem;
709
- padding: 0.125rem 0.5rem;
710
- line-height: 1.25rem;
711
- height: 1.5rem;
712
- }
713
- .eds-tag--compact.eds-tag--leading-icon .eds-icon {
714
- margin-right: 0.25rem;
715
- }
716
- .eds-tag--compact.eds-tag--trailing-icon .eds-icon {
717
- margin-left: 0.25rem;
718
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/layout",
3
- "version": "2.3.21-beta.0",
3
+ "version": "2.3.22",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/layout.esm.js",
@@ -27,14 +27,14 @@
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/icons": "^7.5.1-beta.0",
31
- "@entur/tokens": "^3.17.4-beta.0",
32
- "@entur/typography": "^1.8.50-beta.0",
33
- "@entur/utils": "^0.12.2-beta.0",
30
+ "@entur/icons": "^7.6.0",
31
+ "@entur/tokens": "^3.17.5",
32
+ "@entur/typography": "^1.8.51",
33
+ "@entur/utils": "^0.12.2",
34
34
  "classnames": "^2.3.1"
35
35
  },
36
36
  "devDependencies": {
37
37
  "dts-cli": "2.0.5"
38
38
  },
39
- "gitHead": "b213fa4fd10a1a07abada3fa987b7ee2ed110ac2"
39
+ "gitHead": "1a989376d61ab59a8c554a9cab733039aef8b2eb"
40
40
  }