@entur/dropdown 5.4.9 → 5.4.10-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/dropdown.cjs.development.js +1 -1
- package/dist/dropdown.cjs.development.js.map +1 -1
- package/dist/dropdown.cjs.production.min.js +1 -1
- package/dist/dropdown.cjs.production.min.js.map +1 -1
- package/dist/dropdown.esm.js +1 -1
- package/dist/dropdown.esm.js.map +1 -1
- package/dist/styles.css +71 -71
- package/package.json +8 -8
package/dist/styles.css
CHANGED
|
@@ -1,69 +1,5 @@
|
|
|
1
1
|
/* DO NOT CHANGE!*/
|
|
2
2
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
|
-
.eds-dropdown-list {
|
|
4
|
-
border-radius: 0.25rem;
|
|
5
|
-
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
6
|
-
display: none;
|
|
7
|
-
list-style: none;
|
|
8
|
-
margin: 0;
|
|
9
|
-
max-height: 50vh;
|
|
10
|
-
padding: 0;
|
|
11
|
-
position: relative;
|
|
12
|
-
overflow-y: auto;
|
|
13
|
-
width: 100%;
|
|
14
|
-
z-index: 20;
|
|
15
|
-
}
|
|
16
|
-
.eds-contrast .eds-dropdown-list {
|
|
17
|
-
box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
|
|
18
|
-
}
|
|
19
|
-
.eds-dropdown-list--open {
|
|
20
|
-
display: inline-block;
|
|
21
|
-
}
|
|
22
|
-
.eds-dropdown-list:focus {
|
|
23
|
-
outline: none;
|
|
24
|
-
}
|
|
25
|
-
@media all and (min-width: 50rem) {
|
|
26
|
-
.eds-dropdown-list {
|
|
27
|
-
max-height: 30vh;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
.eds-dropdown-list__item {
|
|
31
|
-
align-items: center;
|
|
32
|
-
background-color: #f8f8f8;
|
|
33
|
-
border-bottom: 0.125rem solid #e9e9e9;
|
|
34
|
-
border-left: 0.125rem solid #e9e9e9;
|
|
35
|
-
border-right: 0.125rem solid #e9e9e9;
|
|
36
|
-
color: #181c56;
|
|
37
|
-
display: flex;
|
|
38
|
-
justify-content: space-between;
|
|
39
|
-
font-family: inherit;
|
|
40
|
-
font-size: 1rem;
|
|
41
|
-
line-height: 1.25rem;
|
|
42
|
-
padding: 0.75rem 1rem;
|
|
43
|
-
width: 100%;
|
|
44
|
-
}
|
|
45
|
-
.eds-dropdown-list__item:first-child {
|
|
46
|
-
border-top: 0.125rem solid #e9e9e9;
|
|
47
|
-
}
|
|
48
|
-
.eds-dropdown-list__item:last-child {
|
|
49
|
-
border-bottom: none;
|
|
50
|
-
}
|
|
51
|
-
.eds-contrast .eds-dropdown-list__item {
|
|
52
|
-
color: #181c56;
|
|
53
|
-
border-color: #54568c;
|
|
54
|
-
background-color: #ffffff;
|
|
55
|
-
}
|
|
56
|
-
.eds-dropdown-list__item--highlighted {
|
|
57
|
-
background-color: #d1d4e3;
|
|
58
|
-
}
|
|
59
|
-
.eds-contrast .eds-dropdown-list__item--highlighted {
|
|
60
|
-
background-color: #d1d4e3;
|
|
61
|
-
}
|
|
62
|
-
.eds-dropdown-list-icon {
|
|
63
|
-
margin-left: 0.75rem;
|
|
64
|
-
}
|
|
65
|
-
/* DO NOT CHANGE!*/
|
|
66
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
67
3
|
.eds-multi-select {
|
|
68
4
|
position: relative;
|
|
69
5
|
}
|
|
@@ -153,13 +89,6 @@
|
|
|
153
89
|
stroke-dashoffset: 0;
|
|
154
90
|
}
|
|
155
91
|
}
|
|
156
|
-
.eds-inline-spinner {
|
|
157
|
-
align-items: center;
|
|
158
|
-
display: flex;
|
|
159
|
-
justify-content: center;
|
|
160
|
-
height: 100%;
|
|
161
|
-
width: 100%;
|
|
162
|
-
}
|
|
163
92
|
/* DO NOT CHANGE!*/
|
|
164
93
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
165
94
|
.eds-dropdown__searchable-selected-item {
|
|
@@ -273,6 +202,77 @@
|
|
|
273
202
|
}
|
|
274
203
|
/* DO NOT CHANGE!*/
|
|
275
204
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
205
|
+
.eds-dropdown-list {
|
|
206
|
+
border-radius: 0.25rem;
|
|
207
|
+
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
208
|
+
display: none;
|
|
209
|
+
list-style: none;
|
|
210
|
+
margin: 0;
|
|
211
|
+
max-height: 50vh;
|
|
212
|
+
padding: 0;
|
|
213
|
+
position: relative;
|
|
214
|
+
overflow-y: auto;
|
|
215
|
+
width: 100%;
|
|
216
|
+
z-index: 20;
|
|
217
|
+
}
|
|
218
|
+
.eds-contrast .eds-dropdown-list {
|
|
219
|
+
box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
|
|
220
|
+
}
|
|
221
|
+
.eds-dropdown-list--open {
|
|
222
|
+
display: inline-block;
|
|
223
|
+
}
|
|
224
|
+
.eds-dropdown-list:focus {
|
|
225
|
+
outline: none;
|
|
226
|
+
}
|
|
227
|
+
@media all and (min-width: 50rem) {
|
|
228
|
+
.eds-dropdown-list {
|
|
229
|
+
max-height: 30vh;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
.eds-dropdown-list__item {
|
|
233
|
+
align-items: center;
|
|
234
|
+
background-color: #f8f8f8;
|
|
235
|
+
border-bottom: 0.125rem solid #e9e9e9;
|
|
236
|
+
border-left: 0.125rem solid #e9e9e9;
|
|
237
|
+
border-right: 0.125rem solid #e9e9e9;
|
|
238
|
+
color: #181c56;
|
|
239
|
+
display: flex;
|
|
240
|
+
justify-content: space-between;
|
|
241
|
+
font-family: inherit;
|
|
242
|
+
font-size: 1rem;
|
|
243
|
+
line-height: 1.25rem;
|
|
244
|
+
padding: 0.75rem 1rem;
|
|
245
|
+
width: 100%;
|
|
246
|
+
}
|
|
247
|
+
.eds-dropdown-list__item:first-child {
|
|
248
|
+
border-top: 0.125rem solid #e9e9e9;
|
|
249
|
+
}
|
|
250
|
+
.eds-dropdown-list__item:last-child {
|
|
251
|
+
border-bottom: none;
|
|
252
|
+
}
|
|
253
|
+
.eds-contrast .eds-dropdown-list__item {
|
|
254
|
+
color: #181c56;
|
|
255
|
+
border-color: #54568c;
|
|
256
|
+
background-color: #ffffff;
|
|
257
|
+
}
|
|
258
|
+
.eds-dropdown-list__item--highlighted {
|
|
259
|
+
background-color: #d1d4e3;
|
|
260
|
+
}
|
|
261
|
+
.eds-contrast .eds-dropdown-list__item--highlighted {
|
|
262
|
+
background-color: #d1d4e3;
|
|
263
|
+
}
|
|
264
|
+
.eds-dropdown-list-icon {
|
|
265
|
+
margin-left: 0.75rem;
|
|
266
|
+
}
|
|
267
|
+
.eds-inline-spinner {
|
|
268
|
+
align-items: center;
|
|
269
|
+
display: flex;
|
|
270
|
+
justify-content: center;
|
|
271
|
+
height: 100%;
|
|
272
|
+
width: 100%;
|
|
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.10-beta.0",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/dropdown.esm.js",
|
|
@@ -28,16 +28,16 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@entur/a11y": "^0.2.85",
|
|
31
|
-
"@entur/button": "^3.2.
|
|
32
|
-
"@entur/chip": "^0.7.
|
|
33
|
-
"@entur/form": "^7.1.
|
|
34
|
-
"@entur/icons": "^6.17.0",
|
|
35
|
-
"@entur/loader": "^0.5.
|
|
31
|
+
"@entur/button": "^3.2.25-beta.0",
|
|
32
|
+
"@entur/chip": "^0.7.11-beta.0",
|
|
33
|
+
"@entur/form": "^7.1.10-beta.0",
|
|
34
|
+
"@entur/icons": "^6.17.1-beta.0",
|
|
35
|
+
"@entur/loader": "^0.5.3-beta.0",
|
|
36
36
|
"@entur/tokens": "^3.15.0",
|
|
37
|
-
"@entur/tooltip": "^2.7.
|
|
37
|
+
"@entur/tooltip": "^2.7.9-beta.0",
|
|
38
38
|
"@entur/utils": "^0.11.1",
|
|
39
39
|
"classnames": "^2.3.1",
|
|
40
40
|
"downshift": "^8.3.3"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "09c8ecf6671f83dbfae93ab10f77537888222f70"
|
|
43
43
|
}
|