@entur/chip 0.6.65 → 0.6.66-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 +33 -33
  2. package/package.json +3 -3
package/dist/styles.css CHANGED
@@ -1,35 +1,5 @@
1
1
  /* DO NOT CHANGE!*/
2
2
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
- .eds-chip {
4
- background: #ebebf1;
5
- border: 0.0625rem solid #d1d4e3;
6
- border-radius: 1rem;
7
- color: inherit;
8
- font-family: inherit;
9
- font-size: 0.875rem;
10
- height: 2rem;
11
- min-width: 3rem;
12
- padding: 0 0.75rem;
13
- transition: background 0.1s ease-out, border 0.1s ease-out;
14
- display: flex;
15
- justify-content: center;
16
- align-items: center;
17
- }
18
- .eds-chip svg {
19
- font-size: 0.875rem;
20
- }
21
- .eds-contrast .eds-chip {
22
- background-color: #393d79;
23
- border-color: transparent;
24
- }
25
- .eds-chip--leading-icon .eds-icon:first-of-type {
26
- margin-right: 0.5rem;
27
- }
28
- .eds-chip--trailing-icon .eds-icon:last-of-type {
29
- margin-left: 0.5rem;
30
- }
31
- /* DO NOT CHANGE!*/
32
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
33
3
  .eds-choice-chip {
34
4
  cursor: pointer;
35
5
  display: inline-block;
@@ -102,6 +72,36 @@
102
72
  }
103
73
  /* DO NOT CHANGE!*/
104
74
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
75
+ .eds-chip {
76
+ background: #ebebf1;
77
+ border: 0.0625rem solid #d1d4e3;
78
+ border-radius: 1rem;
79
+ color: inherit;
80
+ font-family: inherit;
81
+ font-size: 0.875rem;
82
+ height: 2rem;
83
+ min-width: 3rem;
84
+ padding: 0 0.75rem;
85
+ transition: background 0.1s ease-out, border 0.1s ease-out;
86
+ display: flex;
87
+ justify-content: center;
88
+ align-items: center;
89
+ }
90
+ .eds-chip svg {
91
+ font-size: 0.875rem;
92
+ }
93
+ .eds-contrast .eds-chip {
94
+ background-color: #393d79;
95
+ border-color: transparent;
96
+ }
97
+ .eds-chip--leading-icon .eds-icon:first-of-type {
98
+ margin-right: 0.5rem;
99
+ }
100
+ .eds-chip--trailing-icon .eds-icon:last-of-type {
101
+ margin-left: 0.5rem;
102
+ }
103
+ /* DO NOT CHANGE!*/
104
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
105
105
  .eds-action-chip {
106
106
  cursor: pointer;
107
107
  }
@@ -265,9 +265,6 @@
265
265
  stroke-dashoffset: 0;
266
266
  }
267
267
  }
268
- :root {
269
- --eds-chip: 1;
270
- }
271
268
  /* DO NOT CHANGE!*/
272
269
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
273
270
  :where(.eds-choice-chips-group) {
@@ -275,3 +272,6 @@
275
272
  row-gap: 0.5rem;
276
273
  flex-wrap: wrap;
277
274
  }
275
+ :root {
276
+ --eds-chip: 1;
277
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/chip",
3
- "version": "0.6.65",
3
+ "version": "0.6.66-beta.0",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/chip.esm.js",
@@ -27,12 +27,12 @@
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/form": "^7.0.37",
30
+ "@entur/form": "^7.0.38-beta.0",
31
31
  "@entur/icons": "^6.15.0",
32
32
  "@entur/loader": "^0.4.54",
33
33
  "@entur/tokens": "^3.12.0",
34
34
  "@entur/utils": "^0.10.0",
35
35
  "classnames": "^2.3.1"
36
36
  },
37
- "gitHead": "9e39bec18ebcbc0ea7b8c07239646eb766c8e23a"
37
+ "gitHead": "453c823f5b935959f701f0c777236a8e0c23601e"
38
38
  }