@entur/dropdown 5.0.5 → 5.0.6
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 +65 -64
- package/package.json +2 -2
package/dist/styles.css
CHANGED
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
white-space: nowrap;
|
|
22
22
|
}
|
|
23
23
|
.eds-dropdown__selected-item__wrapper {
|
|
24
|
+
position: absolute;
|
|
24
25
|
max-width: 65%;
|
|
25
26
|
}
|
|
26
27
|
.eds-dropdown__selected-items-and-input {
|
|
@@ -158,70 +159,6 @@
|
|
|
158
159
|
}
|
|
159
160
|
/* DO NOT CHANGE!*/
|
|
160
161
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
161
|
-
.eds-dropdown-list {
|
|
162
|
-
border-radius: 0.25rem;
|
|
163
|
-
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
164
|
-
display: none;
|
|
165
|
-
list-style: none;
|
|
166
|
-
margin: 0;
|
|
167
|
-
max-height: 50vh;
|
|
168
|
-
padding: 0;
|
|
169
|
-
position: relative;
|
|
170
|
-
overflow-y: auto;
|
|
171
|
-
width: 100%;
|
|
172
|
-
z-index: 20;
|
|
173
|
-
}
|
|
174
|
-
.eds-contrast .eds-dropdown-list {
|
|
175
|
-
box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
|
|
176
|
-
}
|
|
177
|
-
.eds-dropdown-list--open {
|
|
178
|
-
display: inline-block;
|
|
179
|
-
}
|
|
180
|
-
.eds-dropdown-list:focus {
|
|
181
|
-
outline: none;
|
|
182
|
-
}
|
|
183
|
-
@media all and (min-width: 50rem) {
|
|
184
|
-
.eds-dropdown-list {
|
|
185
|
-
max-height: 30vh;
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
.eds-dropdown-list__item {
|
|
189
|
-
align-items: center;
|
|
190
|
-
background-color: #f8f8f8;
|
|
191
|
-
border-bottom: 0.125rem solid #e9e9e9;
|
|
192
|
-
border-left: 0.125rem solid #e9e9e9;
|
|
193
|
-
border-right: 0.125rem solid #e9e9e9;
|
|
194
|
-
color: #181c56;
|
|
195
|
-
display: flex;
|
|
196
|
-
justify-content: space-between;
|
|
197
|
-
font-family: inherit;
|
|
198
|
-
font-size: 1rem;
|
|
199
|
-
line-height: 1.25rem;
|
|
200
|
-
padding: 0.75rem 1rem;
|
|
201
|
-
width: 100%;
|
|
202
|
-
}
|
|
203
|
-
.eds-dropdown-list__item:first-child {
|
|
204
|
-
border-top: 0.125rem solid #e9e9e9;
|
|
205
|
-
}
|
|
206
|
-
.eds-dropdown-list__item:last-child {
|
|
207
|
-
border-bottom: none;
|
|
208
|
-
}
|
|
209
|
-
.eds-contrast .eds-dropdown-list__item {
|
|
210
|
-
color: #181c56;
|
|
211
|
-
border-color: #54568c;
|
|
212
|
-
background-color: #ffffff;
|
|
213
|
-
}
|
|
214
|
-
.eds-dropdown-list__item--highlighted {
|
|
215
|
-
background-color: #d1d4e3;
|
|
216
|
-
}
|
|
217
|
-
.eds-contrast .eds-dropdown-list__item--highlighted {
|
|
218
|
-
background-color: #d1d4e3;
|
|
219
|
-
}
|
|
220
|
-
.eds-dropdown-list-icon {
|
|
221
|
-
margin-left: 0.75rem;
|
|
222
|
-
}
|
|
223
|
-
/* DO NOT CHANGE!*/
|
|
224
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
225
162
|
.eds-multi-select {
|
|
226
163
|
position: relative;
|
|
227
164
|
}
|
|
@@ -313,6 +250,70 @@
|
|
|
313
250
|
}
|
|
314
251
|
/* DO NOT CHANGE!*/
|
|
315
252
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
253
|
+
.eds-dropdown-list {
|
|
254
|
+
border-radius: 0.25rem;
|
|
255
|
+
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
256
|
+
display: none;
|
|
257
|
+
list-style: none;
|
|
258
|
+
margin: 0;
|
|
259
|
+
max-height: 50vh;
|
|
260
|
+
padding: 0;
|
|
261
|
+
position: relative;
|
|
262
|
+
overflow-y: auto;
|
|
263
|
+
width: 100%;
|
|
264
|
+
z-index: 20;
|
|
265
|
+
}
|
|
266
|
+
.eds-contrast .eds-dropdown-list {
|
|
267
|
+
box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
|
|
268
|
+
}
|
|
269
|
+
.eds-dropdown-list--open {
|
|
270
|
+
display: inline-block;
|
|
271
|
+
}
|
|
272
|
+
.eds-dropdown-list:focus {
|
|
273
|
+
outline: none;
|
|
274
|
+
}
|
|
275
|
+
@media all and (min-width: 50rem) {
|
|
276
|
+
.eds-dropdown-list {
|
|
277
|
+
max-height: 30vh;
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
.eds-dropdown-list__item {
|
|
281
|
+
align-items: center;
|
|
282
|
+
background-color: #f8f8f8;
|
|
283
|
+
border-bottom: 0.125rem solid #e9e9e9;
|
|
284
|
+
border-left: 0.125rem solid #e9e9e9;
|
|
285
|
+
border-right: 0.125rem solid #e9e9e9;
|
|
286
|
+
color: #181c56;
|
|
287
|
+
display: flex;
|
|
288
|
+
justify-content: space-between;
|
|
289
|
+
font-family: inherit;
|
|
290
|
+
font-size: 1rem;
|
|
291
|
+
line-height: 1.25rem;
|
|
292
|
+
padding: 0.75rem 1rem;
|
|
293
|
+
width: 100%;
|
|
294
|
+
}
|
|
295
|
+
.eds-dropdown-list__item:first-child {
|
|
296
|
+
border-top: 0.125rem solid #e9e9e9;
|
|
297
|
+
}
|
|
298
|
+
.eds-dropdown-list__item:last-child {
|
|
299
|
+
border-bottom: none;
|
|
300
|
+
}
|
|
301
|
+
.eds-contrast .eds-dropdown-list__item {
|
|
302
|
+
color: #181c56;
|
|
303
|
+
border-color: #54568c;
|
|
304
|
+
background-color: #ffffff;
|
|
305
|
+
}
|
|
306
|
+
.eds-dropdown-list__item--highlighted {
|
|
307
|
+
background-color: #d1d4e3;
|
|
308
|
+
}
|
|
309
|
+
.eds-contrast .eds-dropdown-list__item--highlighted {
|
|
310
|
+
background-color: #d1d4e3;
|
|
311
|
+
}
|
|
312
|
+
.eds-dropdown-list-icon {
|
|
313
|
+
margin-left: 0.75rem;
|
|
314
|
+
}
|
|
315
|
+
/* DO NOT CHANGE!*/
|
|
316
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
316
317
|
.eds-dropdown__list {
|
|
317
318
|
position: absolute;
|
|
318
319
|
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.6",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/dropdown.esm.js",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"classnames": "^2.3.1",
|
|
40
40
|
"downshift": "^7.6.1"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "08553e3b31657c9282752b300476a39b4d75b6c5"
|
|
43
43
|
}
|