@entur/layout 2.1.15 → 2.1.16

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 +6 -3
  2. package/package.json +5 -5
package/dist/styles.css CHANGED
@@ -1,6 +1,4 @@
1
- :root {
2
- --eds-layout: 1;
3
- }/* DO NOT CHANGE!*/
1
+ /* DO NOT CHANGE!*/
4
2
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
5
3
  .eds-contrast {
6
4
  --primary-background-color: #181c56;
@@ -8,6 +6,8 @@
8
6
  --primary-label-color: #aeb7e2;
9
7
  background-color: var(--primary-background-color);
10
8
  color: var(--primary-text-color);
9
+ }:root {
10
+ --eds-layout: 1;
11
11
  }/* DO NOT CHANGE!*/
12
12
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
13
13
  .eds-base-card {
@@ -32,6 +32,7 @@
32
32
  flex-direction: column;
33
33
  overflow: hidden;
34
34
  position: relative;
35
+ width: -webkit-fit-content;
35
36
  width: -moz-fit-content;
36
37
  width: fit-content;
37
38
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
@@ -62,6 +63,7 @@
62
63
  font-weight: 600;
63
64
  margin: 0.75rem 0 0.5rem;
64
65
  text-align: left;
66
+ width: -webkit-fit-content;
65
67
  width: -moz-fit-content;
66
68
  width: fit-content;
67
69
  position: relative;
@@ -234,6 +236,7 @@
234
236
  font-size: 0.75rem;
235
237
  min-width: 1.5rem;
236
238
  height: 1.5rem;
239
+ width: -webkit-fit-content;
237
240
  width: -moz-fit-content;
238
241
  width: fit-content;
239
242
  line-height: 1rem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/layout",
3
- "version": "2.1.15",
3
+ "version": "2.1.16",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/layout.esm.js",
@@ -27,13 +27,13 @@
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/icons": "^5.4.1",
31
- "@entur/typography": "^1.7.4",
32
- "@entur/utils": "^0.4.9",
30
+ "@entur/icons": "^5.4.2",
31
+ "@entur/typography": "^1.7.5",
32
+ "@entur/utils": "^0.5.0",
33
33
  "classnames": "^2.3.1"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@entur/tokens": "^3.4.4"
37
37
  },
38
- "gitHead": "de71e205560a699e2dce301e133966dc9348c459"
38
+ "gitHead": "36772ae4f2d8375622acff19736c07d15435cb95"
39
39
  }