@entur/dropdown 5.0.24 → 5.0.26
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 +53 -53
- package/package.json +10 -10
package/dist/styles.css
CHANGED
|
@@ -1,37 +1,5 @@
|
|
|
1
1
|
/* DO NOT CHANGE!*/
|
|
2
2
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
|
-
.eds-dropdown__searchable-selected-item {
|
|
4
|
-
display: block;
|
|
5
|
-
font-size: 1rem;
|
|
6
|
-
line-height: 1rem;
|
|
7
|
-
margin-right: -1rem;
|
|
8
|
-
padding: calc(1rem + 0.25rem) 0 0.25rem 1rem;
|
|
9
|
-
font-family: inherit;
|
|
10
|
-
overflow-x: hidden;
|
|
11
|
-
text-overflow: ellipsis;
|
|
12
|
-
white-space: nowrap;
|
|
13
|
-
}
|
|
14
|
-
.eds-dropdown__searchable-selected-item__wrapper {
|
|
15
|
-
max-width: 65%;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.eds-form-control.eds-dropdown__input::-moz-placeholder {
|
|
19
|
-
-moz-transition: none;
|
|
20
|
-
transition: none;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.eds-form-control.eds-dropdown__input::placeholder {
|
|
24
|
-
transition: none;
|
|
25
|
-
}
|
|
26
|
-
.eds-inline-spinner {
|
|
27
|
-
align-items: center;
|
|
28
|
-
display: flex;
|
|
29
|
-
justify-content: center;
|
|
30
|
-
height: 100%;
|
|
31
|
-
width: 100%;
|
|
32
|
-
}
|
|
33
|
-
/* DO NOT CHANGE!*/
|
|
34
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
35
3
|
.eds-multi-select {
|
|
36
4
|
position: relative;
|
|
37
5
|
}
|
|
@@ -187,31 +155,35 @@
|
|
|
187
155
|
}
|
|
188
156
|
/* DO NOT CHANGE!*/
|
|
189
157
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
190
|
-
.eds-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
border-radius: 0;
|
|
197
|
-
color: inherit;
|
|
198
|
-
font-size: inherit;
|
|
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;
|
|
199
164
|
font-family: inherit;
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
justify-content: center;
|
|
165
|
+
overflow-x: hidden;
|
|
166
|
+
text-overflow: ellipsis;
|
|
167
|
+
white-space: nowrap;
|
|
204
168
|
}
|
|
205
|
-
.eds-
|
|
206
|
-
|
|
169
|
+
.eds-dropdown__searchable-selected-item__wrapper {
|
|
170
|
+
max-width: 65%;
|
|
207
171
|
}
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
172
|
+
|
|
173
|
+
.eds-form-control.eds-dropdown__input::-moz-placeholder {
|
|
174
|
+
-moz-transition: none;
|
|
175
|
+
transition: none;
|
|
212
176
|
}
|
|
213
|
-
|
|
214
|
-
|
|
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%;
|
|
215
187
|
}
|
|
216
188
|
/* DO NOT CHANGE!*/
|
|
217
189
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -273,6 +245,34 @@
|
|
|
273
245
|
}
|
|
274
246
|
/* DO NOT CHANGE!*/
|
|
275
247
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
248
|
+
.eds-dropdown__toggle-button {
|
|
249
|
+
-webkit-appearance: none;
|
|
250
|
+
-moz-appearance: none;
|
|
251
|
+
appearance: none;
|
|
252
|
+
background: none;
|
|
253
|
+
border: none;
|
|
254
|
+
border-radius: 0;
|
|
255
|
+
color: inherit;
|
|
256
|
+
font-size: inherit;
|
|
257
|
+
font-family: inherit;
|
|
258
|
+
margin-right: -0.75rem;
|
|
259
|
+
padding: 0.5rem;
|
|
260
|
+
display: flex;
|
|
261
|
+
justify-content: center;
|
|
262
|
+
}
|
|
263
|
+
.eds-dropdown__toggle-button--open svg {
|
|
264
|
+
transform: rotate(180deg);
|
|
265
|
+
}
|
|
266
|
+
.eds-dropdown__toggle-button:focus {
|
|
267
|
+
outline-offset: 0.125rem;
|
|
268
|
+
outline: none;
|
|
269
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
270
|
+
}
|
|
271
|
+
.eds-contrast .eds-dropdown__toggle-button:focus {
|
|
272
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
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.26",
|
|
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.
|
|
35
|
-
"@entur/loader": "^0.4.
|
|
36
|
-
"@entur/tokens": "^3.11.
|
|
37
|
-
"@entur/tooltip": "^2.6.
|
|
30
|
+
"@entur/a11y": "^0.2.72",
|
|
31
|
+
"@entur/button": "^3.2.3",
|
|
32
|
+
"@entur/chip": "^0.6.58",
|
|
33
|
+
"@entur/form": "^7.0.30",
|
|
34
|
+
"@entur/icons": "^6.13.0",
|
|
35
|
+
"@entur/loader": "^0.4.49",
|
|
36
|
+
"@entur/tokens": "^3.11.1",
|
|
37
|
+
"@entur/tooltip": "^2.6.39",
|
|
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": "298374e622bca3ae3bbb7226bdd94890be5f82c8"
|
|
43
43
|
}
|