@entur/chip 0.5.4 → 0.5.5
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 +126 -126
- 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.5.5](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.5.4...@entur/chip@0.5.5) (2022-05-04)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @entur/chip
|
|
9
|
+
|
|
6
10
|
## [0.5.4](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.5.3...@entur/chip@0.5.4) (2022-04-27)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @entur/chip
|
package/dist/styles.css
CHANGED
|
@@ -2,35 +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-contrast .eds-action-chip__loading-dots .eds-loading-dots__dot {
|
|
31
|
-
background-color: #ffffff;
|
|
32
|
-
}/* DO NOT CHANGE!*/
|
|
33
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
34
5
|
.eds-chip {
|
|
35
6
|
background: #ebebf1;
|
|
36
7
|
border: 0.0625rem solid #d1d4e3;
|
|
@@ -60,116 +31,33 @@
|
|
|
60
31
|
margin-left: 0.5rem;
|
|
61
32
|
}/* DO NOT CHANGE!*/
|
|
62
33
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
63
|
-
.eds-
|
|
64
|
-
cursor: default;
|
|
65
|
-
padding-right: 0.25rem;
|
|
66
|
-
width: -webkit-fit-content;
|
|
67
|
-
width: -moz-fit-content;
|
|
68
|
-
width: fit-content;
|
|
69
|
-
}
|
|
70
|
-
.eds-tag-chip__close-button {
|
|
71
|
-
-webkit-appearance: none;
|
|
72
|
-
-moz-appearance: none;
|
|
73
|
-
appearance: none;
|
|
74
|
-
background: none;
|
|
75
|
-
border: none;
|
|
76
|
-
border-radius: 50%;
|
|
77
|
-
color: #181c56;
|
|
78
|
-
cursor: pointer;
|
|
79
|
-
display: flex;
|
|
80
|
-
font-size: 0.875rem;
|
|
81
|
-
padding: 0.25rem;
|
|
82
|
-
margin-left: 0.25rem;
|
|
83
|
-
transition: box-shadow 0.1s ease-in-out, background 0.1s ease-in-out;
|
|
84
|
-
}
|
|
85
|
-
.eds-contrast .eds-tag-chip__close-button {
|
|
86
|
-
color: #ffffff;
|
|
87
|
-
}
|
|
88
|
-
.eds-tag-chip__close-button:hover {
|
|
89
|
-
background: #babbcf;
|
|
90
|
-
}
|
|
91
|
-
.eds-contrast .eds-tag-chip__close-button:hover {
|
|
92
|
-
background: #54568c;
|
|
93
|
-
}
|
|
94
|
-
.eds-tag-chip__close-button:focus {
|
|
95
|
-
outline-offset: 0.125rem;
|
|
96
|
-
outline: none;
|
|
97
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
98
|
-
}
|
|
99
|
-
.eds-contrast .eds-tag-chip__close-button:focus {
|
|
100
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
101
|
-
}/* DO NOT CHANGE!*/
|
|
102
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
103
|
-
.eds-choice-chip {
|
|
34
|
+
.eds-action-chip {
|
|
104
35
|
cursor: pointer;
|
|
105
|
-
display: inline-block;
|
|
106
|
-
margin-right: 0.75rem;
|
|
107
|
-
position: relative;
|
|
108
|
-
transition: all 0.1s ease-out;
|
|
109
|
-
}
|
|
110
|
-
.eds-choice-chip__input {
|
|
111
|
-
-moz-appearance: none;
|
|
112
|
-
appearance: none;
|
|
113
|
-
height: 0;
|
|
114
|
-
position: absolute;
|
|
115
|
-
width: 0;
|
|
116
|
-
-webkit-appearance: none;
|
|
117
|
-
}
|
|
118
|
-
.eds-choice-chip__input ~ .eds-chip {
|
|
119
|
-
background-color: transparent;
|
|
120
|
-
}
|
|
121
|
-
.eds-contrast .eds-choice-chip__input ~ .eds-chip {
|
|
122
|
-
border-color: #aeb7e2;
|
|
123
|
-
color: #ffffff;
|
|
124
|
-
}
|
|
125
|
-
.eds-choice-chip__input:checked ~ .eds-chip {
|
|
126
|
-
background-color: #181c56;
|
|
127
|
-
border-color: #181c56;
|
|
128
|
-
color: #ffffff;
|
|
129
36
|
}
|
|
130
|
-
.eds-
|
|
131
|
-
border-color: #aeb7e2;
|
|
132
|
-
background-color: #aeb7e2;
|
|
133
|
-
color: #181c56;
|
|
134
|
-
}
|
|
135
|
-
.eds-choice-chip__input:focus ~ .eds-chip {
|
|
37
|
+
.eds-action-chip:focus {
|
|
136
38
|
outline: none;
|
|
137
39
|
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
138
40
|
outline-offset: 0.125rem;
|
|
139
41
|
}
|
|
140
|
-
.eds-contrast .eds-
|
|
42
|
+
.eds-contrast .eds-action-chip:focus {
|
|
141
43
|
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
142
44
|
}
|
|
143
|
-
.eds-
|
|
45
|
+
.eds-action-chip:hover {
|
|
144
46
|
border-color: #181c56;
|
|
145
47
|
}
|
|
146
|
-
.eds-contrast .eds-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
.eds-choice-chip__input:checked:hover ~ .eds-chip {
|
|
150
|
-
background-color: #3b3e6f;
|
|
151
|
-
border-color: #3b3e6f;
|
|
152
|
-
}
|
|
153
|
-
.eds-contrast .eds-choice-chip__input:checked:hover ~ .eds-chip {
|
|
154
|
-
background-color: #bac2e6;
|
|
155
|
-
border-color: #bac2e6;
|
|
156
|
-
}
|
|
157
|
-
.eds-choice-chip__input:active ~ .eds-chip {
|
|
158
|
-
background-color: #d1d4e3;
|
|
159
|
-
border-color: #d1d4e3;
|
|
48
|
+
.eds-contrast .eds-action-chip:hover {
|
|
49
|
+
background-color: #54568c;
|
|
50
|
+
border-color: #54568c;
|
|
160
51
|
}
|
|
161
|
-
.eds-
|
|
162
|
-
background: #
|
|
52
|
+
.eds-action-chip:active {
|
|
53
|
+
background: #d1d4e3;
|
|
163
54
|
}
|
|
164
|
-
.eds-
|
|
165
|
-
|
|
166
|
-
border-
|
|
167
|
-
cursor: not-allowed;
|
|
55
|
+
.eds-contrast .eds-action-chip:active {
|
|
56
|
+
background-color: #292b6a;
|
|
57
|
+
border-color: #292b6a;
|
|
168
58
|
}
|
|
169
|
-
.eds-contrast .eds-
|
|
170
|
-
|
|
171
|
-
border-color: #8285a8;
|
|
172
|
-
color: #babbcf;
|
|
59
|
+
.eds-contrast .eds-action-chip__loading-dots .eds-loading-dots__dot {
|
|
60
|
+
background-color: #ffffff;
|
|
173
61
|
}/* DO NOT CHANGE!*/
|
|
174
62
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
175
63
|
.eds-filter-chip {
|
|
@@ -264,4 +152,116 @@
|
|
|
264
152
|
100% {
|
|
265
153
|
stroke-dashoffset: 0;
|
|
266
154
|
}
|
|
155
|
+
}/* DO NOT CHANGE!*/
|
|
156
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
157
|
+
.eds-choice-chip {
|
|
158
|
+
cursor: pointer;
|
|
159
|
+
display: inline-block;
|
|
160
|
+
margin-right: 0.75rem;
|
|
161
|
+
position: relative;
|
|
162
|
+
transition: all 0.1s ease-out;
|
|
163
|
+
}
|
|
164
|
+
.eds-choice-chip__input {
|
|
165
|
+
-moz-appearance: none;
|
|
166
|
+
appearance: none;
|
|
167
|
+
height: 0;
|
|
168
|
+
position: absolute;
|
|
169
|
+
width: 0;
|
|
170
|
+
-webkit-appearance: none;
|
|
171
|
+
}
|
|
172
|
+
.eds-choice-chip__input ~ .eds-chip {
|
|
173
|
+
background-color: transparent;
|
|
174
|
+
}
|
|
175
|
+
.eds-contrast .eds-choice-chip__input ~ .eds-chip {
|
|
176
|
+
border-color: #aeb7e2;
|
|
177
|
+
color: #ffffff;
|
|
178
|
+
}
|
|
179
|
+
.eds-choice-chip__input:checked ~ .eds-chip {
|
|
180
|
+
background-color: #181c56;
|
|
181
|
+
border-color: #181c56;
|
|
182
|
+
color: #ffffff;
|
|
183
|
+
}
|
|
184
|
+
.eds-contrast .eds-choice-chip__input:checked ~ .eds-chip {
|
|
185
|
+
border-color: #aeb7e2;
|
|
186
|
+
background-color: #aeb7e2;
|
|
187
|
+
color: #181c56;
|
|
188
|
+
}
|
|
189
|
+
.eds-choice-chip__input:focus ~ .eds-chip {
|
|
190
|
+
outline: none;
|
|
191
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
192
|
+
outline-offset: 0.125rem;
|
|
193
|
+
}
|
|
194
|
+
.eds-contrast .eds-choice-chip__input:focus ~ .eds-chip {
|
|
195
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
196
|
+
}
|
|
197
|
+
.eds-choice-chip__input:not(:checked):not(:disabled):hover ~ .eds-chip {
|
|
198
|
+
border-color: #181c56;
|
|
199
|
+
}
|
|
200
|
+
.eds-contrast .eds-choice-chip__input:not(:checked):not(:disabled):hover ~ .eds-chip {
|
|
201
|
+
border-color: #ffffff;
|
|
202
|
+
}
|
|
203
|
+
.eds-choice-chip__input:checked:hover ~ .eds-chip {
|
|
204
|
+
background-color: #3b3e6f;
|
|
205
|
+
border-color: #3b3e6f;
|
|
206
|
+
}
|
|
207
|
+
.eds-contrast .eds-choice-chip__input:checked:hover ~ .eds-chip {
|
|
208
|
+
background-color: #bac2e6;
|
|
209
|
+
border-color: #bac2e6;
|
|
210
|
+
}
|
|
211
|
+
.eds-choice-chip__input:active ~ .eds-chip {
|
|
212
|
+
background-color: #d1d4e3;
|
|
213
|
+
border-color: #d1d4e3;
|
|
214
|
+
}
|
|
215
|
+
.eds-contrast .eds-choice-chip__input:active ~ .eds-chip {
|
|
216
|
+
background: #33376d;
|
|
217
|
+
}
|
|
218
|
+
.eds-choice-chip .eds-chip--disabled {
|
|
219
|
+
opacity: 0.5;
|
|
220
|
+
border-style: dashed;
|
|
221
|
+
cursor: not-allowed;
|
|
222
|
+
}
|
|
223
|
+
.eds-contrast .eds-choice-chip .eds-chip--disabled {
|
|
224
|
+
opacity: 1;
|
|
225
|
+
border-color: #8285a8;
|
|
226
|
+
color: #babbcf;
|
|
227
|
+
}/* DO NOT CHANGE!*/
|
|
228
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
229
|
+
.eds-tag-chip {
|
|
230
|
+
cursor: default;
|
|
231
|
+
padding-right: 0.25rem;
|
|
232
|
+
width: -webkit-fit-content;
|
|
233
|
+
width: -moz-fit-content;
|
|
234
|
+
width: fit-content;
|
|
235
|
+
}
|
|
236
|
+
.eds-tag-chip__close-button {
|
|
237
|
+
-webkit-appearance: none;
|
|
238
|
+
-moz-appearance: none;
|
|
239
|
+
appearance: none;
|
|
240
|
+
background: none;
|
|
241
|
+
border: none;
|
|
242
|
+
border-radius: 50%;
|
|
243
|
+
color: #181c56;
|
|
244
|
+
cursor: pointer;
|
|
245
|
+
display: flex;
|
|
246
|
+
font-size: 0.875rem;
|
|
247
|
+
padding: 0.25rem;
|
|
248
|
+
margin-left: 0.25rem;
|
|
249
|
+
transition: box-shadow 0.1s ease-in-out, background 0.1s ease-in-out;
|
|
250
|
+
}
|
|
251
|
+
.eds-contrast .eds-tag-chip__close-button {
|
|
252
|
+
color: #ffffff;
|
|
253
|
+
}
|
|
254
|
+
.eds-tag-chip__close-button:hover {
|
|
255
|
+
background: #babbcf;
|
|
256
|
+
}
|
|
257
|
+
.eds-contrast .eds-tag-chip__close-button:hover {
|
|
258
|
+
background: #54568c;
|
|
259
|
+
}
|
|
260
|
+
.eds-tag-chip__close-button:focus {
|
|
261
|
+
outline-offset: 0.125rem;
|
|
262
|
+
outline: none;
|
|
263
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
264
|
+
}
|
|
265
|
+
.eds-contrast .eds-tag-chip__close-button:focus {
|
|
266
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
267
267
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/chip",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.5",
|
|
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.3.
|
|
30
|
+
"@entur/form": "^5.3.4",
|
|
31
31
|
"@entur/tokens": "^3.3.2",
|
|
32
32
|
"@entur/utils": "^0.4.3",
|
|
33
33
|
"classnames": "^2.3.1"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "0fba0071ad9dc75cc68b72b846f5bab78be12449"
|
|
36
36
|
}
|