@entur/dropdown 5.4.0 → 5.4.2
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/dist/styles.css +98 -98
- package/package.json +10 -10
package/dist/styles.css
CHANGED
|
@@ -1,101 +1,3 @@
|
|
|
1
|
-
.eds-inline-spinner {
|
|
2
|
-
align-items: center;
|
|
3
|
-
display: flex;
|
|
4
|
-
justify-content: center;
|
|
5
|
-
height: 100%;
|
|
6
|
-
width: 100%;
|
|
7
|
-
}
|
|
8
|
-
/* DO NOT CHANGE!*/
|
|
9
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
10
|
-
.eds-multi-select {
|
|
11
|
-
position: relative;
|
|
12
|
-
}
|
|
13
|
-
.eds-multi-select__selected-items {
|
|
14
|
-
display: flex;
|
|
15
|
-
align-items: center;
|
|
16
|
-
flex-wrap: wrap;
|
|
17
|
-
position: relative;
|
|
18
|
-
flex: 1 1 0%;
|
|
19
|
-
padding: 0.25rem;
|
|
20
|
-
}
|
|
21
|
-
.eds-multi-select__selected-items-tag.eds-tag-chip {
|
|
22
|
-
margin-left: 0.25rem;
|
|
23
|
-
white-space: nowrap;
|
|
24
|
-
}
|
|
25
|
-
.eds-contrast .eds-multi-select__selected-items-tag.eds-tag-chip svg {
|
|
26
|
-
color: #181c56;
|
|
27
|
-
}
|
|
28
|
-
.eds-multi-select__selected-items-tag.eds-tag-chip:focus {
|
|
29
|
-
outline-offset: 0.125rem;
|
|
30
|
-
}
|
|
31
|
-
.eds-contrast .eds-multi-select__selected-items-tag.eds-tag-chip {
|
|
32
|
-
color: #181c56;
|
|
33
|
-
background: #ebebf1;
|
|
34
|
-
border: 0.0625rem solid #d1d4e3;
|
|
35
|
-
}
|
|
36
|
-
.eds-contrast .eds-multi-select__selected-items-tag.eds-tag-chip .eds-tag-chip__close-button:hover {
|
|
37
|
-
background: #babbcf;
|
|
38
|
-
}
|
|
39
|
-
.eds-multi-select__input {
|
|
40
|
-
flex: 1 1;
|
|
41
|
-
min-height: 44px;
|
|
42
|
-
display: flex;
|
|
43
|
-
align-items: center;
|
|
44
|
-
}
|
|
45
|
-
.eds-multi-select__placeholder {
|
|
46
|
-
padding-left: 1.5rem;
|
|
47
|
-
line-height: 1.375rem;
|
|
48
|
-
font-size: 1rem;
|
|
49
|
-
}
|
|
50
|
-
.eds-checkbox-icon {
|
|
51
|
-
height: 1rem;
|
|
52
|
-
width: 1rem;
|
|
53
|
-
visibility: hidden;
|
|
54
|
-
}
|
|
55
|
-
.eds-checkbox-icon__path {
|
|
56
|
-
transform-origin: 50% 50%;
|
|
57
|
-
stroke-dasharray: 48;
|
|
58
|
-
stroke-dashoffset: 48;
|
|
59
|
-
stroke-width: 0.375rem;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.eds-multiselect {
|
|
63
|
-
position: relative;
|
|
64
|
-
}
|
|
65
|
-
.eds-multiselect__button {
|
|
66
|
-
text-overflow: ellipsis;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.eds-multiselect-checkbox {
|
|
70
|
-
display: inline-flex;
|
|
71
|
-
justify-content: center;
|
|
72
|
-
align-items: center;
|
|
73
|
-
position: relative;
|
|
74
|
-
margin-right: 0.75rem;
|
|
75
|
-
height: 1.25rem;
|
|
76
|
-
width: 1.25rem;
|
|
77
|
-
border: 0.125rem solid #181c56;
|
|
78
|
-
border-radius: 0.0625rem;
|
|
79
|
-
background-color: transparent;
|
|
80
|
-
color: #ffffff;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.eds-multiselect-checkbox--checked {
|
|
84
|
-
background-color: #181c56;
|
|
85
|
-
}
|
|
86
|
-
.eds-multiselect-checkbox--checked .eds-checkbox-icon {
|
|
87
|
-
visibility: visible;
|
|
88
|
-
}
|
|
89
|
-
.eds-multiselect-checkbox--checked .eds-checkbox-icon__path {
|
|
90
|
-
stroke: #ffffff;
|
|
91
|
-
animation: stroke ease-in-out 0.2s 0.1s forwards;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
@keyframes stroke {
|
|
95
|
-
100% {
|
|
96
|
-
stroke-dashoffset: 0;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
1
|
/* DO NOT CHANGE!*/
|
|
100
2
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
101
3
|
.eds-dropdown__searchable-selected-item {
|
|
@@ -213,6 +115,13 @@
|
|
|
213
115
|
.eds-dropdown-list-icon {
|
|
214
116
|
margin-left: 0.75rem;
|
|
215
117
|
}
|
|
118
|
+
.eds-inline-spinner {
|
|
119
|
+
align-items: center;
|
|
120
|
+
display: flex;
|
|
121
|
+
justify-content: center;
|
|
122
|
+
height: 100%;
|
|
123
|
+
width: 100%;
|
|
124
|
+
}
|
|
216
125
|
/* DO NOT CHANGE!*/
|
|
217
126
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
218
127
|
.eds-dropdown-wrapper {
|
|
@@ -273,6 +182,97 @@
|
|
|
273
182
|
}
|
|
274
183
|
/* DO NOT CHANGE!*/
|
|
275
184
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
185
|
+
.eds-multi-select {
|
|
186
|
+
position: relative;
|
|
187
|
+
}
|
|
188
|
+
.eds-multi-select__selected-items {
|
|
189
|
+
display: flex;
|
|
190
|
+
align-items: center;
|
|
191
|
+
flex-wrap: wrap;
|
|
192
|
+
position: relative;
|
|
193
|
+
flex: 1 1 0%;
|
|
194
|
+
padding: 0.25rem;
|
|
195
|
+
}
|
|
196
|
+
.eds-multi-select__selected-items-tag.eds-tag-chip {
|
|
197
|
+
margin-left: 0.25rem;
|
|
198
|
+
white-space: nowrap;
|
|
199
|
+
}
|
|
200
|
+
.eds-contrast .eds-multi-select__selected-items-tag.eds-tag-chip svg {
|
|
201
|
+
color: #181c56;
|
|
202
|
+
}
|
|
203
|
+
.eds-multi-select__selected-items-tag.eds-tag-chip:focus {
|
|
204
|
+
outline-offset: 0.125rem;
|
|
205
|
+
}
|
|
206
|
+
.eds-contrast .eds-multi-select__selected-items-tag.eds-tag-chip {
|
|
207
|
+
color: #181c56;
|
|
208
|
+
background: #ebebf1;
|
|
209
|
+
border: 0.0625rem solid #d1d4e3;
|
|
210
|
+
}
|
|
211
|
+
.eds-contrast .eds-multi-select__selected-items-tag.eds-tag-chip .eds-tag-chip__close-button:hover {
|
|
212
|
+
background: #babbcf;
|
|
213
|
+
}
|
|
214
|
+
.eds-multi-select__input {
|
|
215
|
+
flex: 1 1;
|
|
216
|
+
min-height: 44px;
|
|
217
|
+
display: flex;
|
|
218
|
+
align-items: center;
|
|
219
|
+
}
|
|
220
|
+
.eds-multi-select__placeholder {
|
|
221
|
+
padding-left: 1.5rem;
|
|
222
|
+
line-height: 1.375rem;
|
|
223
|
+
font-size: 1rem;
|
|
224
|
+
}
|
|
225
|
+
.eds-checkbox-icon {
|
|
226
|
+
height: 1rem;
|
|
227
|
+
width: 1rem;
|
|
228
|
+
visibility: hidden;
|
|
229
|
+
}
|
|
230
|
+
.eds-checkbox-icon__path {
|
|
231
|
+
transform-origin: 50% 50%;
|
|
232
|
+
stroke-dasharray: 48;
|
|
233
|
+
stroke-dashoffset: 48;
|
|
234
|
+
stroke-width: 0.375rem;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.eds-multiselect {
|
|
238
|
+
position: relative;
|
|
239
|
+
}
|
|
240
|
+
.eds-multiselect__button {
|
|
241
|
+
text-overflow: ellipsis;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.eds-multiselect-checkbox {
|
|
245
|
+
display: inline-flex;
|
|
246
|
+
justify-content: center;
|
|
247
|
+
align-items: center;
|
|
248
|
+
position: relative;
|
|
249
|
+
margin-right: 0.75rem;
|
|
250
|
+
height: 1.25rem;
|
|
251
|
+
width: 1.25rem;
|
|
252
|
+
border: 0.125rem solid #181c56;
|
|
253
|
+
border-radius: 0.0625rem;
|
|
254
|
+
background-color: transparent;
|
|
255
|
+
color: #ffffff;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.eds-multiselect-checkbox--checked {
|
|
259
|
+
background-color: #181c56;
|
|
260
|
+
}
|
|
261
|
+
.eds-multiselect-checkbox--checked .eds-checkbox-icon {
|
|
262
|
+
visibility: visible;
|
|
263
|
+
}
|
|
264
|
+
.eds-multiselect-checkbox--checked .eds-checkbox-icon__path {
|
|
265
|
+
stroke: #ffffff;
|
|
266
|
+
animation: stroke ease-in-out 0.2s 0.1s forwards;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
@keyframes stroke {
|
|
270
|
+
100% {
|
|
271
|
+
stroke-dashoffset: 0;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
/* DO NOT CHANGE!*/
|
|
275
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
276
276
|
.eds-dropdown__list {
|
|
277
277
|
position: absolute;
|
|
278
278
|
list-style: none;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/dropdown",
|
|
3
|
-
"version": "5.4.
|
|
3
|
+
"version": "5.4.2",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/dropdown.esm.js",
|
|
@@ -27,17 +27,17 @@
|
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/a11y": "^0.2.
|
|
31
|
-
"@entur/button": "^3.2.
|
|
32
|
-
"@entur/chip": "^0.7.
|
|
33
|
-
"@entur/form": "^7.1.
|
|
34
|
-
"@entur/icons": "^6.15.
|
|
35
|
-
"@entur/loader": "^0.4.
|
|
36
|
-
"@entur/tokens": "^3.13.
|
|
37
|
-
"@entur/tooltip": "^2.7.
|
|
30
|
+
"@entur/a11y": "^0.2.82",
|
|
31
|
+
"@entur/button": "^3.2.18",
|
|
32
|
+
"@entur/chip": "^0.7.3",
|
|
33
|
+
"@entur/form": "^7.1.2",
|
|
34
|
+
"@entur/icons": "^6.15.7",
|
|
35
|
+
"@entur/loader": "^0.4.62",
|
|
36
|
+
"@entur/tokens": "^3.13.5",
|
|
37
|
+
"@entur/tooltip": "^2.7.2",
|
|
38
38
|
"@entur/utils": "^0.11.0",
|
|
39
39
|
"classnames": "^2.3.1",
|
|
40
40
|
"downshift": "^8.3.3"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "1008c4e487e114c41234cc4ce7da912519ad26a5"
|
|
43
43
|
}
|