@entur/dropdown 5.4.10-beta.0 → 5.4.10
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 +71 -71
- package/package.json +8 -8
package/dist/styles.css
CHANGED
|
@@ -91,6 +91,77 @@
|
|
|
91
91
|
}
|
|
92
92
|
/* DO NOT CHANGE!*/
|
|
93
93
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
94
|
+
.eds-dropdown-list {
|
|
95
|
+
border-radius: 0.25rem;
|
|
96
|
+
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
97
|
+
display: none;
|
|
98
|
+
list-style: none;
|
|
99
|
+
margin: 0;
|
|
100
|
+
max-height: 50vh;
|
|
101
|
+
padding: 0;
|
|
102
|
+
position: relative;
|
|
103
|
+
overflow-y: auto;
|
|
104
|
+
width: 100%;
|
|
105
|
+
z-index: 20;
|
|
106
|
+
}
|
|
107
|
+
.eds-contrast .eds-dropdown-list {
|
|
108
|
+
box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
|
|
109
|
+
}
|
|
110
|
+
.eds-dropdown-list--open {
|
|
111
|
+
display: inline-block;
|
|
112
|
+
}
|
|
113
|
+
.eds-dropdown-list:focus {
|
|
114
|
+
outline: none;
|
|
115
|
+
}
|
|
116
|
+
@media all and (min-width: 50rem) {
|
|
117
|
+
.eds-dropdown-list {
|
|
118
|
+
max-height: 30vh;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
.eds-dropdown-list__item {
|
|
122
|
+
align-items: center;
|
|
123
|
+
background-color: #f8f8f8;
|
|
124
|
+
border-bottom: 0.125rem solid #e9e9e9;
|
|
125
|
+
border-left: 0.125rem solid #e9e9e9;
|
|
126
|
+
border-right: 0.125rem solid #e9e9e9;
|
|
127
|
+
color: #181c56;
|
|
128
|
+
display: flex;
|
|
129
|
+
justify-content: space-between;
|
|
130
|
+
font-family: inherit;
|
|
131
|
+
font-size: 1rem;
|
|
132
|
+
line-height: 1.25rem;
|
|
133
|
+
padding: 0.75rem 1rem;
|
|
134
|
+
width: 100%;
|
|
135
|
+
}
|
|
136
|
+
.eds-dropdown-list__item:first-child {
|
|
137
|
+
border-top: 0.125rem solid #e9e9e9;
|
|
138
|
+
}
|
|
139
|
+
.eds-dropdown-list__item:last-child {
|
|
140
|
+
border-bottom: none;
|
|
141
|
+
}
|
|
142
|
+
.eds-contrast .eds-dropdown-list__item {
|
|
143
|
+
color: #181c56;
|
|
144
|
+
border-color: #54568c;
|
|
145
|
+
background-color: #ffffff;
|
|
146
|
+
}
|
|
147
|
+
.eds-dropdown-list__item--highlighted {
|
|
148
|
+
background-color: #d1d4e3;
|
|
149
|
+
}
|
|
150
|
+
.eds-contrast .eds-dropdown-list__item--highlighted {
|
|
151
|
+
background-color: #d1d4e3;
|
|
152
|
+
}
|
|
153
|
+
.eds-dropdown-list-icon {
|
|
154
|
+
margin-left: 0.75rem;
|
|
155
|
+
}
|
|
156
|
+
.eds-inline-spinner {
|
|
157
|
+
align-items: center;
|
|
158
|
+
display: flex;
|
|
159
|
+
justify-content: center;
|
|
160
|
+
height: 100%;
|
|
161
|
+
width: 100%;
|
|
162
|
+
}
|
|
163
|
+
/* DO NOT CHANGE!*/
|
|
164
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
94
165
|
.eds-dropdown__searchable-selected-item {
|
|
95
166
|
display: block;
|
|
96
167
|
font-size: 1rem;
|
|
@@ -202,77 +273,6 @@
|
|
|
202
273
|
}
|
|
203
274
|
/* DO NOT CHANGE!*/
|
|
204
275
|
/* 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.10
|
|
3
|
+
"version": "5.4.10",
|
|
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.25
|
|
32
|
-
"@entur/chip": "^0.7.11
|
|
33
|
-
"@entur/form": "^7.1.10
|
|
34
|
-
"@entur/icons": "^6.17.1
|
|
35
|
-
"@entur/loader": "^0.5.3
|
|
31
|
+
"@entur/button": "^3.2.25",
|
|
32
|
+
"@entur/chip": "^0.7.11",
|
|
33
|
+
"@entur/form": "^7.1.10",
|
|
34
|
+
"@entur/icons": "^6.17.1",
|
|
35
|
+
"@entur/loader": "^0.5.3",
|
|
36
36
|
"@entur/tokens": "^3.15.0",
|
|
37
|
-
"@entur/tooltip": "^2.7.9
|
|
37
|
+
"@entur/tooltip": "^2.7.9",
|
|
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": "8f5dd2a35e3794050cdc8664efeb078254404632"
|
|
43
43
|
}
|