@entur/chip 0.6.7 → 0.6.8
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.
- package/CHANGELOG.md +4 -0
- package/dist/styles.css +110 -110
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.6.8](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.6.7...@entur/chip@0.6.8) (2022-10-12)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @entur/chip
|
|
9
|
+
|
|
6
10
|
## [0.6.6](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.6.5...@entur/chip@0.6.6) (2022-08-31)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @entur/chip
|
package/dist/styles.css
CHANGED
|
@@ -2,45 +2,6 @@
|
|
|
2
2
|
--eds-chip: 1;
|
|
3
3
|
}/* DO NOT CHANGE!*/
|
|
4
4
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
5
|
-
.eds-action-chip {
|
|
6
|
-
cursor: pointer;
|
|
7
|
-
}
|
|
8
|
-
.eds-action-chip:focus {
|
|
9
|
-
outline: none;
|
|
10
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
11
|
-
outline-offset: 0.125rem;
|
|
12
|
-
}
|
|
13
|
-
.eds-contrast .eds-action-chip:focus {
|
|
14
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
15
|
-
}
|
|
16
|
-
.eds-action-chip:hover {
|
|
17
|
-
border-color: #181c56;
|
|
18
|
-
}
|
|
19
|
-
.eds-contrast .eds-action-chip:hover {
|
|
20
|
-
background-color: #54568c;
|
|
21
|
-
border-color: #54568c;
|
|
22
|
-
}
|
|
23
|
-
.eds-action-chip:active {
|
|
24
|
-
background: #d1d4e3;
|
|
25
|
-
}
|
|
26
|
-
.eds-contrast .eds-action-chip:active {
|
|
27
|
-
background-color: #292b6a;
|
|
28
|
-
border-color: #292b6a;
|
|
29
|
-
}
|
|
30
|
-
.eds-action-chip--disabled {
|
|
31
|
-
opacity: 0.5;
|
|
32
|
-
pointer-events: none;
|
|
33
|
-
}
|
|
34
|
-
.eds-action-chip--disabled__wrapper {
|
|
35
|
-
cursor: not-allowed;
|
|
36
|
-
width: -webkit-fit-content;
|
|
37
|
-
width: -moz-fit-content;
|
|
38
|
-
width: fit-content;
|
|
39
|
-
}
|
|
40
|
-
.eds-contrast .eds-action-chip__loading-dots .eds-loading-dots__dot {
|
|
41
|
-
background-color: #ffffff;
|
|
42
|
-
}/* DO NOT CHANGE!*/
|
|
43
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
44
5
|
.eds-chip {
|
|
45
6
|
background: #ebebf1;
|
|
46
7
|
border: 0.0625rem solid #d1d4e3;
|
|
@@ -110,77 +71,6 @@
|
|
|
110
71
|
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
111
72
|
}/* DO NOT CHANGE!*/
|
|
112
73
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
113
|
-
.eds-choice-chip {
|
|
114
|
-
cursor: pointer;
|
|
115
|
-
display: inline-block;
|
|
116
|
-
margin-right: 0.75rem;
|
|
117
|
-
position: relative;
|
|
118
|
-
transition: all 0.1s ease-out;
|
|
119
|
-
}
|
|
120
|
-
.eds-choice-chip__input {
|
|
121
|
-
-moz-appearance: none;
|
|
122
|
-
appearance: none;
|
|
123
|
-
height: 0;
|
|
124
|
-
position: absolute;
|
|
125
|
-
width: 0;
|
|
126
|
-
-webkit-appearance: none;
|
|
127
|
-
}
|
|
128
|
-
.eds-choice-chip__input ~ .eds-chip {
|
|
129
|
-
background-color: transparent;
|
|
130
|
-
}
|
|
131
|
-
.eds-contrast .eds-choice-chip__input ~ .eds-chip {
|
|
132
|
-
border-color: #aeb7e2;
|
|
133
|
-
color: #ffffff;
|
|
134
|
-
}
|
|
135
|
-
.eds-choice-chip__input:checked ~ .eds-chip {
|
|
136
|
-
background-color: #181c56;
|
|
137
|
-
border-color: #181c56;
|
|
138
|
-
color: #ffffff;
|
|
139
|
-
}
|
|
140
|
-
.eds-contrast .eds-choice-chip__input:checked ~ .eds-chip {
|
|
141
|
-
border-color: #aeb7e2;
|
|
142
|
-
background-color: #aeb7e2;
|
|
143
|
-
color: #181c56;
|
|
144
|
-
}
|
|
145
|
-
.eds-choice-chip__input:focus ~ .eds-chip {
|
|
146
|
-
outline: none;
|
|
147
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
148
|
-
outline-offset: 0.125rem;
|
|
149
|
-
}
|
|
150
|
-
.eds-contrast .eds-choice-chip__input:focus ~ .eds-chip {
|
|
151
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
152
|
-
}
|
|
153
|
-
.eds-choice-chip__input:not(:checked):not(:disabled):hover ~ .eds-chip {
|
|
154
|
-
border-color: #181c56;
|
|
155
|
-
}
|
|
156
|
-
.eds-contrast .eds-choice-chip__input:not(:checked):not(:disabled):hover ~ .eds-chip {
|
|
157
|
-
border-color: #ffffff;
|
|
158
|
-
}
|
|
159
|
-
.eds-choice-chip__input:checked:hover ~ .eds-chip {
|
|
160
|
-
background-color: #3b3e6f;
|
|
161
|
-
border-color: #3b3e6f;
|
|
162
|
-
}
|
|
163
|
-
.eds-contrast .eds-choice-chip__input:checked:hover ~ .eds-chip {
|
|
164
|
-
background-color: #bac2e6;
|
|
165
|
-
border-color: #bac2e6;
|
|
166
|
-
}
|
|
167
|
-
.eds-choice-chip__input:active ~ .eds-chip {
|
|
168
|
-
background-color: #d1d4e3;
|
|
169
|
-
border-color: #d1d4e3;
|
|
170
|
-
}
|
|
171
|
-
.eds-contrast .eds-choice-chip__input:active ~ .eds-chip {
|
|
172
|
-
background: #33376d;
|
|
173
|
-
}
|
|
174
|
-
.eds-choice-chip .eds-chip--disabled {
|
|
175
|
-
border-style: dashed;
|
|
176
|
-
cursor: not-allowed;
|
|
177
|
-
}
|
|
178
|
-
.eds-contrast .eds-choice-chip .eds-chip--disabled {
|
|
179
|
-
opacity: 1;
|
|
180
|
-
border-color: #8285a8;
|
|
181
|
-
color: #babbcf;
|
|
182
|
-
}/* DO NOT CHANGE!*/
|
|
183
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
184
74
|
.eds-filter-chip {
|
|
185
75
|
cursor: pointer;
|
|
186
76
|
-webkit-user-select: none;
|
|
@@ -273,4 +163,114 @@
|
|
|
273
163
|
100% {
|
|
274
164
|
stroke-dashoffset: 0;
|
|
275
165
|
}
|
|
166
|
+
}/* DO NOT CHANGE!*/
|
|
167
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
168
|
+
.eds-choice-chip {
|
|
169
|
+
cursor: pointer;
|
|
170
|
+
display: inline-block;
|
|
171
|
+
margin-right: 0.75rem;
|
|
172
|
+
position: relative;
|
|
173
|
+
transition: all 0.1s ease-out;
|
|
174
|
+
}
|
|
175
|
+
.eds-choice-chip__input {
|
|
176
|
+
-moz-appearance: none;
|
|
177
|
+
appearance: none;
|
|
178
|
+
height: 0;
|
|
179
|
+
position: absolute;
|
|
180
|
+
width: 0;
|
|
181
|
+
-webkit-appearance: none;
|
|
182
|
+
}
|
|
183
|
+
.eds-choice-chip__input ~ .eds-chip {
|
|
184
|
+
background-color: transparent;
|
|
185
|
+
}
|
|
186
|
+
.eds-contrast .eds-choice-chip__input ~ .eds-chip {
|
|
187
|
+
border-color: #aeb7e2;
|
|
188
|
+
color: #ffffff;
|
|
189
|
+
}
|
|
190
|
+
.eds-choice-chip__input:checked ~ .eds-chip {
|
|
191
|
+
background-color: #181c56;
|
|
192
|
+
border-color: #181c56;
|
|
193
|
+
color: #ffffff;
|
|
194
|
+
}
|
|
195
|
+
.eds-contrast .eds-choice-chip__input:checked ~ .eds-chip {
|
|
196
|
+
border-color: #aeb7e2;
|
|
197
|
+
background-color: #aeb7e2;
|
|
198
|
+
color: #181c56;
|
|
199
|
+
}
|
|
200
|
+
.eds-choice-chip__input:focus ~ .eds-chip {
|
|
201
|
+
outline: none;
|
|
202
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
203
|
+
outline-offset: 0.125rem;
|
|
204
|
+
}
|
|
205
|
+
.eds-contrast .eds-choice-chip__input:focus ~ .eds-chip {
|
|
206
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
207
|
+
}
|
|
208
|
+
.eds-choice-chip__input:not(:checked):not(:disabled):hover ~ .eds-chip {
|
|
209
|
+
border-color: #181c56;
|
|
210
|
+
}
|
|
211
|
+
.eds-contrast .eds-choice-chip__input:not(:checked):not(:disabled):hover ~ .eds-chip {
|
|
212
|
+
border-color: #ffffff;
|
|
213
|
+
}
|
|
214
|
+
.eds-choice-chip__input:checked:hover ~ .eds-chip {
|
|
215
|
+
background-color: #3b3e6f;
|
|
216
|
+
border-color: #3b3e6f;
|
|
217
|
+
}
|
|
218
|
+
.eds-contrast .eds-choice-chip__input:checked:hover ~ .eds-chip {
|
|
219
|
+
background-color: #bac2e6;
|
|
220
|
+
border-color: #bac2e6;
|
|
221
|
+
}
|
|
222
|
+
.eds-choice-chip__input:active ~ .eds-chip {
|
|
223
|
+
background-color: #d1d4e3;
|
|
224
|
+
border-color: #d1d4e3;
|
|
225
|
+
}
|
|
226
|
+
.eds-contrast .eds-choice-chip__input:active ~ .eds-chip {
|
|
227
|
+
background: #33376d;
|
|
228
|
+
}
|
|
229
|
+
.eds-choice-chip .eds-chip--disabled {
|
|
230
|
+
border-style: dashed;
|
|
231
|
+
cursor: not-allowed;
|
|
232
|
+
}
|
|
233
|
+
.eds-contrast .eds-choice-chip .eds-chip--disabled {
|
|
234
|
+
opacity: 1;
|
|
235
|
+
border-color: #8285a8;
|
|
236
|
+
color: #babbcf;
|
|
237
|
+
}/* DO NOT CHANGE!*/
|
|
238
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
239
|
+
.eds-action-chip {
|
|
240
|
+
cursor: pointer;
|
|
241
|
+
}
|
|
242
|
+
.eds-action-chip:focus {
|
|
243
|
+
outline: none;
|
|
244
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
245
|
+
outline-offset: 0.125rem;
|
|
246
|
+
}
|
|
247
|
+
.eds-contrast .eds-action-chip:focus {
|
|
248
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
249
|
+
}
|
|
250
|
+
.eds-action-chip:hover {
|
|
251
|
+
border-color: #181c56;
|
|
252
|
+
}
|
|
253
|
+
.eds-contrast .eds-action-chip:hover {
|
|
254
|
+
background-color: #54568c;
|
|
255
|
+
border-color: #54568c;
|
|
256
|
+
}
|
|
257
|
+
.eds-action-chip:active {
|
|
258
|
+
background: #d1d4e3;
|
|
259
|
+
}
|
|
260
|
+
.eds-contrast .eds-action-chip:active {
|
|
261
|
+
background-color: #292b6a;
|
|
262
|
+
border-color: #292b6a;
|
|
263
|
+
}
|
|
264
|
+
.eds-action-chip--disabled {
|
|
265
|
+
opacity: 0.5;
|
|
266
|
+
pointer-events: none;
|
|
267
|
+
}
|
|
268
|
+
.eds-action-chip--disabled__wrapper {
|
|
269
|
+
cursor: not-allowed;
|
|
270
|
+
width: -webkit-fit-content;
|
|
271
|
+
width: -moz-fit-content;
|
|
272
|
+
width: fit-content;
|
|
273
|
+
}
|
|
274
|
+
.eds-contrast .eds-action-chip__loading-dots .eds-loading-dots__dot {
|
|
275
|
+
background-color: #ffffff;
|
|
276
276
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/chip",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.8",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/chip.esm.js",
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/form": "^5.4.
|
|
30
|
+
"@entur/form": "^5.4.5",
|
|
31
31
|
"@entur/tokens": "^3.4.1",
|
|
32
32
|
"@entur/utils": "^0.4.5",
|
|
33
33
|
"classnames": "^2.3.1"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "e6da59550f3ace8e356155d60ce72d480aa17d51"
|
|
36
36
|
}
|