@entur/chip 0.6.31 → 0.6.32

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 +69 -69
  2. package/package.json +5 -5
package/dist/styles.css CHANGED
@@ -3,75 +3,6 @@
3
3
  }
4
4
  /* DO NOT CHANGE!*/
5
5
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
6
- .eds-chip {
7
- background: #ebebf1;
8
- border: 0.0625rem solid #d1d4e3;
9
- border-radius: 1rem;
10
- color: inherit;
11
- font-family: inherit;
12
- font-size: 0.875rem;
13
- height: 2rem;
14
- min-width: 3rem;
15
- padding: 0 0.75rem;
16
- transition: background 0.1s ease-out, border 0.1s ease-out;
17
- display: flex;
18
- justify-content: center;
19
- align-items: center;
20
- }
21
- .eds-chip svg {
22
- font-size: 0.875rem;
23
- }
24
- .eds-contrast .eds-chip {
25
- background-color: #393d79;
26
- border-color: transparent;
27
- }
28
- .eds-chip--leading-icon .eds-icon:first-of-type {
29
- margin-right: 0.5rem;
30
- }
31
- .eds-chip--trailing-icon .eds-icon:last-of-type {
32
- margin-left: 0.5rem;
33
- }
34
- /* DO NOT CHANGE!*/
35
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
36
- .eds-action-chip {
37
- cursor: pointer;
38
- }
39
- .eds-action-chip:focus {
40
- outline: none;
41
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
42
- outline-offset: 0.125rem;
43
- }
44
- .eds-contrast .eds-action-chip:focus {
45
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
46
- }
47
- .eds-action-chip:hover {
48
- border-color: #181c56;
49
- }
50
- .eds-contrast .eds-action-chip:hover {
51
- background-color: #54568c;
52
- border-color: #54568c;
53
- }
54
- .eds-action-chip:active {
55
- background: #d1d4e3;
56
- }
57
- .eds-contrast .eds-action-chip:active {
58
- background-color: #292b6a;
59
- border-color: #292b6a;
60
- }
61
- .eds-action-chip--disabled {
62
- opacity: 0.5;
63
- pointer-events: none;
64
- }
65
- .eds-action-chip--disabled__wrapper {
66
- cursor: not-allowed;
67
- width: -moz-fit-content;
68
- width: fit-content;
69
- }
70
- .eds-contrast .eds-action-chip__loading-dots .eds-loading-dots__dot {
71
- background-color: #ffffff;
72
- }
73
- /* DO NOT CHANGE!*/
74
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
75
6
  .eds-choice-chip {
76
7
  cursor: pointer;
77
8
  display: inline-block;
@@ -144,6 +75,36 @@
144
75
  }
145
76
  /* DO NOT CHANGE!*/
146
77
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
78
+ .eds-chip {
79
+ background: #ebebf1;
80
+ border: 0.0625rem solid #d1d4e3;
81
+ border-radius: 1rem;
82
+ color: inherit;
83
+ font-family: inherit;
84
+ font-size: 0.875rem;
85
+ height: 2rem;
86
+ min-width: 3rem;
87
+ padding: 0 0.75rem;
88
+ transition: background 0.1s ease-out, border 0.1s ease-out;
89
+ display: flex;
90
+ justify-content: center;
91
+ align-items: center;
92
+ }
93
+ .eds-chip svg {
94
+ font-size: 0.875rem;
95
+ }
96
+ .eds-contrast .eds-chip {
97
+ background-color: #393d79;
98
+ border-color: transparent;
99
+ }
100
+ .eds-chip--leading-icon .eds-icon:first-of-type {
101
+ margin-right: 0.5rem;
102
+ }
103
+ .eds-chip--trailing-icon .eds-icon:last-of-type {
104
+ margin-left: 0.5rem;
105
+ }
106
+ /* DO NOT CHANGE!*/
107
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
147
108
  .eds-tag-chip {
148
109
  cursor: default;
149
110
  padding-right: 0.25rem;
@@ -184,6 +145,45 @@
184
145
  }
185
146
  /* DO NOT CHANGE!*/
186
147
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
148
+ .eds-action-chip {
149
+ cursor: pointer;
150
+ }
151
+ .eds-action-chip:focus {
152
+ outline: none;
153
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
154
+ outline-offset: 0.125rem;
155
+ }
156
+ .eds-contrast .eds-action-chip:focus {
157
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
158
+ }
159
+ .eds-action-chip:hover {
160
+ border-color: #181c56;
161
+ }
162
+ .eds-contrast .eds-action-chip:hover {
163
+ background-color: #54568c;
164
+ border-color: #54568c;
165
+ }
166
+ .eds-action-chip:active {
167
+ background: #d1d4e3;
168
+ }
169
+ .eds-contrast .eds-action-chip:active {
170
+ background-color: #292b6a;
171
+ border-color: #292b6a;
172
+ }
173
+ .eds-action-chip--disabled {
174
+ opacity: 0.5;
175
+ pointer-events: none;
176
+ }
177
+ .eds-action-chip--disabled__wrapper {
178
+ cursor: not-allowed;
179
+ width: -moz-fit-content;
180
+ width: fit-content;
181
+ }
182
+ .eds-contrast .eds-action-chip__loading-dots .eds-loading-dots__dot {
183
+ background-color: #ffffff;
184
+ }
185
+ /* DO NOT CHANGE!*/
186
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
187
187
  .eds-filter-chip {
188
188
  cursor: pointer;
189
189
  -webkit-user-select: none;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/chip",
3
- "version": "0.6.31",
3
+ "version": "0.6.32",
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.4",
30
+ "@entur/form": "^7.0.5",
31
31
  "@entur/icons": "^6.2.0",
32
- "@entur/loader": "^0.4.27",
32
+ "@entur/loader": "^0.4.28",
33
33
  "@entur/tokens": "^3.8.1",
34
- "@entur/utils": "^0.8.0",
34
+ "@entur/utils": "^0.9.0",
35
35
  "classnames": "^2.3.1"
36
36
  },
37
- "gitHead": "c80112ae71ce3654107c8983a1a9fd91204aa667"
37
+ "gitHead": "cd5c398453c486f6f160905247b94c6da2622d7c"
38
38
  }