@entur/layout 2.4.0 → 2.4.1-beta.0

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 +53 -53
  2. package/package.json +4 -4
package/dist/styles.css CHANGED
@@ -1,27 +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
- -webkit-text-decoration: none;
15
- text-decoration: none;
16
- }
17
- .eds-contrast .eds-base-card {
18
- background-color: var(--components-layout-card-contrast-fill-default);
19
- border-color: var(--components-layout-card-contrast-border-default);
20
- box-shadow: 0 0.0625rem 0.1875rem 0 rgb(57, 61, 121);
21
- color: var(--components-layout-card-contrast-text);
22
- }
23
- /* DO NOT CHANGE!*/
24
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
25
3
  .eds-navigation-card {
26
4
  display: flex;
27
5
  flex-direction: column;
@@ -117,6 +95,28 @@
117
95
  }
118
96
  /* DO NOT CHANGE!*/
119
97
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
98
+ .eds-base-card {
99
+ display: flex;
100
+ box-shadow: 0 0.0625rem 0.1875rem 0 rgba(0, 0, 0, 0.12);
101
+ background-color: var(--components-layout-card-standard-fill-default);
102
+ border: 0.0625rem solid var(--components-layout-card-standard-border-default);
103
+ color: var(--components-layout-card-standard-text);
104
+ border-radius: 0.25rem;
105
+ align-items: center;
106
+ -webkit-appearance: none;
107
+ -moz-appearance: none;
108
+ appearance: none;
109
+ -webkit-text-decoration: none;
110
+ text-decoration: none;
111
+ }
112
+ .eds-contrast .eds-base-card {
113
+ background-color: var(--components-layout-card-contrast-fill-default);
114
+ border-color: var(--components-layout-card-contrast-border-default);
115
+ box-shadow: 0 0.0625rem 0.1875rem 0 rgb(57, 61, 121);
116
+ color: var(--components-layout-card-contrast-text);
117
+ }
118
+ /* DO NOT CHANGE!*/
119
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
120
120
  .eds-media-card {
121
121
  flex-direction: column;
122
122
  overflow: hidden;
@@ -200,6 +200,37 @@
200
200
  }
201
201
  /* DO NOT CHANGE!*/
202
202
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
203
+ .eds-tag {
204
+ background: #e9e9e9;
205
+ color: #181c56;
206
+ display: inline-block;
207
+ min-width: 2rem;
208
+ padding: 0.25rem 0.75rem;
209
+ font-size: 0.875rem;
210
+ line-height: 1.375rem;
211
+ }
212
+ .eds-tag--leading-icon .eds-icon {
213
+ margin-right: 0.5rem;
214
+ }
215
+ .eds-tag--trailing-icon .eds-icon {
216
+ margin-left: 0.5rem;
217
+ }
218
+ .eds-tag--compact {
219
+ font-size: 0.75rem;
220
+ padding: 0.125rem 0.5rem;
221
+ line-height: 1.25rem;
222
+ height: 1.5rem;
223
+ }
224
+ .eds-tag--compact.eds-tag--leading-icon .eds-icon {
225
+ margin-right: 0.25rem;
226
+ }
227
+ .eds-tag--compact.eds-tag--trailing-icon .eds-icon {
228
+ margin-left: 0.25rem;
229
+ }
230
+ /* DO NOT CHANGE!*/
231
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
232
+ /* DO NOT CHANGE!*/
233
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
203
234
  .eds-badge {
204
235
  display: flex;
205
236
  justify-content: center;
@@ -682,34 +713,3 @@
682
713
  :root {
683
714
  --eds-layout: 1;
684
715
  }
685
- /* DO NOT CHANGE!*/
686
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
687
- /* DO NOT CHANGE!*/
688
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
689
- .eds-tag {
690
- background: #e9e9e9;
691
- color: #181c56;
692
- display: inline-block;
693
- min-width: 2rem;
694
- padding: 0.25rem 0.75rem;
695
- font-size: 0.875rem;
696
- line-height: 1.375rem;
697
- }
698
- .eds-tag--leading-icon .eds-icon {
699
- margin-right: 0.5rem;
700
- }
701
- .eds-tag--trailing-icon .eds-icon {
702
- margin-left: 0.5rem;
703
- }
704
- .eds-tag--compact {
705
- font-size: 0.75rem;
706
- padding: 0.125rem 0.5rem;
707
- line-height: 1.25rem;
708
- height: 1.5rem;
709
- }
710
- .eds-tag--compact.eds-tag--leading-icon .eds-icon {
711
- margin-right: 0.25rem;
712
- }
713
- .eds-tag--compact.eds-tag--trailing-icon .eds-icon {
714
- margin-left: 0.25rem;
715
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/layout",
3
- "version": "2.4.0",
3
+ "version": "2.4.1-beta.0",
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.6.0",
30
+ "@entur/icons": "^7.7.0-beta.0",
31
31
  "@entur/tokens": "^3.17.5",
32
- "@entur/typography": "^1.9.0",
32
+ "@entur/typography": "^1.9.1-beta.0",
33
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": "2a0e12f4ccbc65c2c8a115690b4895ff01ee7f06"
39
+ "gitHead": "e65150a6a9f9e2beb4a8bbecc06b9237119fe55e"
40
40
  }