@entur/layout 2.1.55 → 2.1.57-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 +35 -34
  2. package/package.json +4 -4
package/dist/styles.css CHANGED
@@ -1,5 +1,24 @@
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
+ border: 0.0625rem solid #e9e9e9;
7
+ border-radius: 0.25rem;
8
+ align-items: center;
9
+ -webkit-appearance: none;
10
+ -moz-appearance: none;
11
+ appearance: none;
12
+ text-decoration: none;
13
+ color: inherit;
14
+ }
15
+ .eds-contrast .eds-base-card {
16
+ background-color: #292b6a;
17
+ border-color: #54568c;
18
+ box-shadow: 0 0.0625rem 0.1875rem 0 rgb(57, 61, 121);
19
+ }
20
+ /* DO NOT CHANGE!*/
21
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
22
  .eds-navigation-card {
4
23
  display: flex;
5
24
  flex-direction: column;
@@ -107,25 +126,6 @@
107
126
  }
108
127
  /* DO NOT CHANGE!*/
109
128
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
110
- .eds-base-card {
111
- display: flex;
112
- box-shadow: 0 0.0625rem 0.1875rem 0 rgba(0, 0, 0, 0.12);
113
- border: 0.0625rem solid #e9e9e9;
114
- border-radius: 0.25rem;
115
- align-items: center;
116
- -webkit-appearance: none;
117
- -moz-appearance: none;
118
- appearance: none;
119
- text-decoration: none;
120
- color: inherit;
121
- }
122
- .eds-contrast .eds-base-card {
123
- background-color: #292b6a;
124
- border-color: #54568c;
125
- box-shadow: 0 0.0625rem 0.1875rem 0 rgb(57, 61, 121);
126
- }
127
- /* DO NOT CHANGE!*/
128
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
129
129
  .eds-media-card {
130
130
  flex-direction: column;
131
131
  overflow: hidden;
@@ -307,9 +307,10 @@
307
307
  display: block;
308
308
  text-transform: uppercase;
309
309
  border-radius: 0.25rem;
310
- line-height: 1.25rem;
311
- padding: 0 0.5rem;
312
- height: 1.25rem;
310
+ padding: 0.125rem 0.5rem 0;
311
+ line-height: 1rem;
312
+ height: auto;
313
+ height: initial;
313
314
  border: 0.0625rem solid #181c56;
314
315
  }
315
316
  .eds-contrast .eds-badge--type-status {
@@ -350,6 +351,18 @@
350
351
  }
351
352
  /* DO NOT CHANGE!*/
352
353
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
354
+ .eds-contrast {
355
+ --primary-background-color: #181c56;
356
+ --primary-text-color: #ffffff;
357
+ --primary-label-color: #aeb7e2;
358
+ background-color: var(--primary-background-color);
359
+ color: var(--primary-text-color);
360
+ }
361
+ :root {
362
+ --eds-layout: 1;
363
+ }
364
+ /* DO NOT CHANGE!*/
365
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
353
366
  .eds-tag {
354
367
  background: #e9e9e9;
355
368
  color: #181c56;
@@ -377,15 +390,3 @@
377
390
  .eds-tag--compact.eds-tag--trailing-icon .eds-icon {
378
391
  margin-left: 0.25rem;
379
392
  }
380
- :root {
381
- --eds-layout: 1;
382
- }
383
- /* DO NOT CHANGE!*/
384
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
385
- .eds-contrast {
386
- --primary-background-color: #181c56;
387
- --primary-text-color: #ffffff;
388
- --primary-label-color: #aeb7e2;
389
- background-color: var(--primary-background-color);
390
- color: var(--primary-text-color);
391
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/layout",
3
- "version": "2.1.55",
3
+ "version": "2.1.57-beta.0",
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.14.0",
30
+ "@entur/icons": "^6.15.0",
31
31
  "@entur/tokens": "^3.12.0",
32
- "@entur/typography": "^1.8.22",
32
+ "@entur/typography": "^1.8.23",
33
33
  "@entur/utils": "^0.10.0",
34
34
  "classnames": "^2.3.1"
35
35
  },
36
- "gitHead": "883677c25c50baf66df6f90c46759d186147921c"
36
+ "gitHead": "453c823f5b935959f701f0c777236a8e0c23601e"
37
37
  }