@entur/dropdown 5.0.26 → 5.0.27-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.
- package/dist/styles.css +119 -119
- package/package.json +10 -10
package/dist/styles.css
CHANGED
|
@@ -1,93 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
|
-
.eds-multi-select {
|
|
4
|
-
position: relative;
|
|
5
|
-
}
|
|
6
|
-
.eds-multi-select__selected-items {
|
|
7
|
-
display: flex;
|
|
1
|
+
.eds-inline-spinner {
|
|
8
2
|
align-items: center;
|
|
9
|
-
flex-wrap: wrap;
|
|
10
|
-
position: relative;
|
|
11
|
-
flex: 1 1 0%;
|
|
12
|
-
padding: 0.25rem;
|
|
13
|
-
}
|
|
14
|
-
.eds-multi-select__selected-items-tag.eds-tag-chip {
|
|
15
|
-
margin-left: 0.25rem;
|
|
16
|
-
white-space: nowrap;
|
|
17
|
-
}
|
|
18
|
-
.eds-contrast .eds-multi-select__selected-items-tag.eds-tag-chip svg {
|
|
19
|
-
color: #181c56;
|
|
20
|
-
}
|
|
21
|
-
.eds-multi-select__selected-items-tag.eds-tag-chip:focus {
|
|
22
|
-
outline-offset: 0.125rem;
|
|
23
|
-
}
|
|
24
|
-
.eds-contrast .eds-multi-select__selected-items-tag.eds-tag-chip {
|
|
25
|
-
color: #181c56;
|
|
26
|
-
background: #ebebf1;
|
|
27
|
-
border: 0.0625rem solid #d1d4e3;
|
|
28
|
-
}
|
|
29
|
-
.eds-contrast .eds-multi-select__selected-items-tag.eds-tag-chip .eds-tag-chip__close-button:hover {
|
|
30
|
-
background: #babbcf;
|
|
31
|
-
}
|
|
32
|
-
.eds-multi-select__input {
|
|
33
|
-
flex: 1 1;
|
|
34
|
-
min-height: 44px;
|
|
35
3
|
display: flex;
|
|
36
|
-
align-items: center;
|
|
37
|
-
}
|
|
38
|
-
.eds-multi-select__placeholder {
|
|
39
|
-
padding-left: 1.5rem;
|
|
40
|
-
line-height: 1.375rem;
|
|
41
|
-
font-size: 1rem;
|
|
42
|
-
}
|
|
43
|
-
.eds-checkbox-icon {
|
|
44
|
-
height: 1rem;
|
|
45
|
-
width: 1rem;
|
|
46
|
-
visibility: hidden;
|
|
47
|
-
}
|
|
48
|
-
.eds-checkbox-icon__path {
|
|
49
|
-
transform-origin: 50% 50%;
|
|
50
|
-
stroke-dasharray: 48;
|
|
51
|
-
stroke-dashoffset: 48;
|
|
52
|
-
stroke-width: 0.375rem;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.eds-multiselect {
|
|
56
|
-
position: relative;
|
|
57
|
-
}
|
|
58
|
-
.eds-multiselect__button {
|
|
59
|
-
text-overflow: ellipsis;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.eds-multiselect-checkbox {
|
|
63
|
-
display: inline-flex;
|
|
64
4
|
justify-content: center;
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
margin-right: 0.75rem;
|
|
68
|
-
height: 1.25rem;
|
|
69
|
-
width: 1.25rem;
|
|
70
|
-
border: 0.125rem solid #181c56;
|
|
71
|
-
border-radius: 0.0625rem;
|
|
72
|
-
background-color: transparent;
|
|
73
|
-
color: #ffffff;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.eds-multiselect-checkbox--checked {
|
|
77
|
-
background-color: #181c56;
|
|
78
|
-
}
|
|
79
|
-
.eds-multiselect-checkbox--checked .eds-checkbox-icon {
|
|
80
|
-
visibility: visible;
|
|
81
|
-
}
|
|
82
|
-
.eds-multiselect-checkbox--checked .eds-checkbox-icon__path {
|
|
83
|
-
stroke: #ffffff;
|
|
84
|
-
animation: stroke ease-in-out 0.2s 0.1s forwards;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
@keyframes stroke {
|
|
88
|
-
100% {
|
|
89
|
-
stroke-dashoffset: 0;
|
|
90
|
-
}
|
|
5
|
+
height: 100%;
|
|
6
|
+
width: 100%;
|
|
91
7
|
}
|
|
92
8
|
/* DO NOT CHANGE!*/
|
|
93
9
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -155,38 +71,6 @@
|
|
|
155
71
|
}
|
|
156
72
|
/* DO NOT CHANGE!*/
|
|
157
73
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
158
|
-
.eds-dropdown__searchable-selected-item {
|
|
159
|
-
display: block;
|
|
160
|
-
font-size: 1rem;
|
|
161
|
-
line-height: 1rem;
|
|
162
|
-
margin-right: -1rem;
|
|
163
|
-
padding: calc(1rem + 0.25rem) 0 0.25rem 1rem;
|
|
164
|
-
font-family: inherit;
|
|
165
|
-
overflow-x: hidden;
|
|
166
|
-
text-overflow: ellipsis;
|
|
167
|
-
white-space: nowrap;
|
|
168
|
-
}
|
|
169
|
-
.eds-dropdown__searchable-selected-item__wrapper {
|
|
170
|
-
max-width: 65%;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
.eds-form-control.eds-dropdown__input::-moz-placeholder {
|
|
174
|
-
-moz-transition: none;
|
|
175
|
-
transition: none;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
.eds-form-control.eds-dropdown__input::placeholder {
|
|
179
|
-
transition: none;
|
|
180
|
-
}
|
|
181
|
-
.eds-inline-spinner {
|
|
182
|
-
align-items: center;
|
|
183
|
-
display: flex;
|
|
184
|
-
justify-content: center;
|
|
185
|
-
height: 100%;
|
|
186
|
-
width: 100%;
|
|
187
|
-
}
|
|
188
|
-
/* DO NOT CHANGE!*/
|
|
189
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
190
74
|
.eds-dropdown-wrapper {
|
|
191
75
|
position: relative;
|
|
192
76
|
}
|
|
@@ -273,6 +157,122 @@
|
|
|
273
157
|
}
|
|
274
158
|
/* DO NOT CHANGE!*/
|
|
275
159
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
160
|
+
.eds-multi-select {
|
|
161
|
+
position: relative;
|
|
162
|
+
}
|
|
163
|
+
.eds-multi-select__selected-items {
|
|
164
|
+
display: flex;
|
|
165
|
+
align-items: center;
|
|
166
|
+
flex-wrap: wrap;
|
|
167
|
+
position: relative;
|
|
168
|
+
flex: 1 1 0%;
|
|
169
|
+
padding: 0.25rem;
|
|
170
|
+
}
|
|
171
|
+
.eds-multi-select__selected-items-tag.eds-tag-chip {
|
|
172
|
+
margin-left: 0.25rem;
|
|
173
|
+
white-space: nowrap;
|
|
174
|
+
}
|
|
175
|
+
.eds-contrast .eds-multi-select__selected-items-tag.eds-tag-chip svg {
|
|
176
|
+
color: #181c56;
|
|
177
|
+
}
|
|
178
|
+
.eds-multi-select__selected-items-tag.eds-tag-chip:focus {
|
|
179
|
+
outline-offset: 0.125rem;
|
|
180
|
+
}
|
|
181
|
+
.eds-contrast .eds-multi-select__selected-items-tag.eds-tag-chip {
|
|
182
|
+
color: #181c56;
|
|
183
|
+
background: #ebebf1;
|
|
184
|
+
border: 0.0625rem solid #d1d4e3;
|
|
185
|
+
}
|
|
186
|
+
.eds-contrast .eds-multi-select__selected-items-tag.eds-tag-chip .eds-tag-chip__close-button:hover {
|
|
187
|
+
background: #babbcf;
|
|
188
|
+
}
|
|
189
|
+
.eds-multi-select__input {
|
|
190
|
+
flex: 1 1;
|
|
191
|
+
min-height: 44px;
|
|
192
|
+
display: flex;
|
|
193
|
+
align-items: center;
|
|
194
|
+
}
|
|
195
|
+
.eds-multi-select__placeholder {
|
|
196
|
+
padding-left: 1.5rem;
|
|
197
|
+
line-height: 1.375rem;
|
|
198
|
+
font-size: 1rem;
|
|
199
|
+
}
|
|
200
|
+
.eds-checkbox-icon {
|
|
201
|
+
height: 1rem;
|
|
202
|
+
width: 1rem;
|
|
203
|
+
visibility: hidden;
|
|
204
|
+
}
|
|
205
|
+
.eds-checkbox-icon__path {
|
|
206
|
+
transform-origin: 50% 50%;
|
|
207
|
+
stroke-dasharray: 48;
|
|
208
|
+
stroke-dashoffset: 48;
|
|
209
|
+
stroke-width: 0.375rem;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.eds-multiselect {
|
|
213
|
+
position: relative;
|
|
214
|
+
}
|
|
215
|
+
.eds-multiselect__button {
|
|
216
|
+
text-overflow: ellipsis;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.eds-multiselect-checkbox {
|
|
220
|
+
display: inline-flex;
|
|
221
|
+
justify-content: center;
|
|
222
|
+
align-items: center;
|
|
223
|
+
position: relative;
|
|
224
|
+
margin-right: 0.75rem;
|
|
225
|
+
height: 1.25rem;
|
|
226
|
+
width: 1.25rem;
|
|
227
|
+
border: 0.125rem solid #181c56;
|
|
228
|
+
border-radius: 0.0625rem;
|
|
229
|
+
background-color: transparent;
|
|
230
|
+
color: #ffffff;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.eds-multiselect-checkbox--checked {
|
|
234
|
+
background-color: #181c56;
|
|
235
|
+
}
|
|
236
|
+
.eds-multiselect-checkbox--checked .eds-checkbox-icon {
|
|
237
|
+
visibility: visible;
|
|
238
|
+
}
|
|
239
|
+
.eds-multiselect-checkbox--checked .eds-checkbox-icon__path {
|
|
240
|
+
stroke: #ffffff;
|
|
241
|
+
animation: stroke ease-in-out 0.2s 0.1s forwards;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
@keyframes stroke {
|
|
245
|
+
100% {
|
|
246
|
+
stroke-dashoffset: 0;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
/* DO NOT CHANGE!*/
|
|
250
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
251
|
+
.eds-dropdown__searchable-selected-item {
|
|
252
|
+
display: block;
|
|
253
|
+
font-size: 1rem;
|
|
254
|
+
line-height: 1rem;
|
|
255
|
+
margin-right: -1rem;
|
|
256
|
+
padding: calc(1rem + 0.25rem) 0 0.25rem 1rem;
|
|
257
|
+
font-family: inherit;
|
|
258
|
+
overflow-x: hidden;
|
|
259
|
+
text-overflow: ellipsis;
|
|
260
|
+
white-space: nowrap;
|
|
261
|
+
}
|
|
262
|
+
.eds-dropdown__searchable-selected-item__wrapper {
|
|
263
|
+
max-width: 65%;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.eds-form-control.eds-dropdown__input::-moz-placeholder {
|
|
267
|
+
-moz-transition: none;
|
|
268
|
+
transition: none;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.eds-form-control.eds-dropdown__input::placeholder {
|
|
272
|
+
transition: none;
|
|
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.0.
|
|
3
|
+
"version": "5.0.27-beta.0",
|
|
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.6.
|
|
33
|
-
"@entur/form": "^7.0.
|
|
34
|
-
"@entur/icons": "^6.13.0",
|
|
35
|
-
"@entur/loader": "^0.4.
|
|
36
|
-
"@entur/tokens": "^3.11.
|
|
37
|
-
"@entur/tooltip": "^2.6.
|
|
30
|
+
"@entur/a11y": "^0.2.73-beta.0",
|
|
31
|
+
"@entur/button": "^3.2.4-beta.0",
|
|
32
|
+
"@entur/chip": "^0.6.59-beta.0",
|
|
33
|
+
"@entur/form": "^7.0.31-beta.0",
|
|
34
|
+
"@entur/icons": "^6.13.1-beta.0",
|
|
35
|
+
"@entur/loader": "^0.4.50-beta.0",
|
|
36
|
+
"@entur/tokens": "^3.11.2-beta.0",
|
|
37
|
+
"@entur/tooltip": "^2.6.40-beta.0",
|
|
38
38
|
"@entur/utils": "^0.9.5",
|
|
39
39
|
"classnames": "^2.3.1",
|
|
40
40
|
"downshift": "^7.6.1"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "c312024e8f66298e0f6d4cf85849572f38b15d53"
|
|
43
43
|
}
|