@entur/layout 2.1.56 → 2.1.57

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 +14 -13
  2. package/package.json +5 -5
package/dist/styles.css CHANGED
@@ -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 {
@@ -348,8 +349,14 @@
348
349
  width: 0.625rem;
349
350
  border-radius: 50%;
350
351
  }
351
- :root {
352
- --eds-layout: 1;
352
+ /* DO NOT CHANGE!*/
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);
353
360
  }
354
361
  /* DO NOT CHANGE!*/
355
362
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
@@ -380,12 +387,6 @@
380
387
  .eds-tag--compact.eds-tag--trailing-icon .eds-icon {
381
388
  margin-left: 0.25rem;
382
389
  }
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);
390
+ :root {
391
+ --eds-layout: 1;
391
392
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/layout",
3
- "version": "2.1.56",
3
+ "version": "2.1.57",
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.0",
31
- "@entur/tokens": "^3.12.0",
32
- "@entur/typography": "^1.8.23",
30
+ "@entur/icons": "^6.15.1",
31
+ "@entur/tokens": "^3.13.0",
32
+ "@entur/typography": "^1.8.24",
33
33
  "@entur/utils": "^0.10.0",
34
34
  "classnames": "^2.3.1"
35
35
  },
36
- "gitHead": "3842f90322ff4340572e6597baf4ce753a6bf355"
36
+ "gitHead": "907373a47cc81ae12be266bac1d10522033f8b49"
37
37
  }