@entur/dropdown 5.4.8 → 5.4.9
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 +96 -96
- package/package.json +8 -8
package/dist/styles.css
CHANGED
|
@@ -1,5 +1,69 @@
|
|
|
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. */
|
|
3
67
|
.eds-multi-select {
|
|
4
68
|
position: relative;
|
|
5
69
|
}
|
|
@@ -89,6 +153,13 @@
|
|
|
89
153
|
stroke-dashoffset: 0;
|
|
90
154
|
}
|
|
91
155
|
}
|
|
156
|
+
.eds-inline-spinner {
|
|
157
|
+
align-items: center;
|
|
158
|
+
display: flex;
|
|
159
|
+
justify-content: center;
|
|
160
|
+
height: 100%;
|
|
161
|
+
width: 100%;
|
|
162
|
+
}
|
|
92
163
|
/* DO NOT CHANGE!*/
|
|
93
164
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
94
165
|
.eds-dropdown__searchable-selected-item {
|
|
@@ -116,98 +187,6 @@
|
|
|
116
187
|
}
|
|
117
188
|
/* DO NOT CHANGE!*/
|
|
118
189
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
119
|
-
.eds-dropdown-list {
|
|
120
|
-
border-radius: 0.25rem;
|
|
121
|
-
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
122
|
-
display: none;
|
|
123
|
-
list-style: none;
|
|
124
|
-
margin: 0;
|
|
125
|
-
max-height: 50vh;
|
|
126
|
-
padding: 0;
|
|
127
|
-
position: relative;
|
|
128
|
-
overflow-y: auto;
|
|
129
|
-
width: 100%;
|
|
130
|
-
z-index: 20;
|
|
131
|
-
}
|
|
132
|
-
.eds-contrast .eds-dropdown-list {
|
|
133
|
-
box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
|
|
134
|
-
}
|
|
135
|
-
.eds-dropdown-list--open {
|
|
136
|
-
display: inline-block;
|
|
137
|
-
}
|
|
138
|
-
.eds-dropdown-list:focus {
|
|
139
|
-
outline: none;
|
|
140
|
-
}
|
|
141
|
-
@media all and (min-width: 50rem) {
|
|
142
|
-
.eds-dropdown-list {
|
|
143
|
-
max-height: 30vh;
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
.eds-dropdown-list__item {
|
|
147
|
-
align-items: center;
|
|
148
|
-
background-color: #f8f8f8;
|
|
149
|
-
border-bottom: 0.125rem solid #e9e9e9;
|
|
150
|
-
border-left: 0.125rem solid #e9e9e9;
|
|
151
|
-
border-right: 0.125rem solid #e9e9e9;
|
|
152
|
-
color: #181c56;
|
|
153
|
-
display: flex;
|
|
154
|
-
justify-content: space-between;
|
|
155
|
-
font-family: inherit;
|
|
156
|
-
font-size: 1rem;
|
|
157
|
-
line-height: 1.25rem;
|
|
158
|
-
padding: 0.75rem 1rem;
|
|
159
|
-
width: 100%;
|
|
160
|
-
}
|
|
161
|
-
.eds-dropdown-list__item:first-child {
|
|
162
|
-
border-top: 0.125rem solid #e9e9e9;
|
|
163
|
-
}
|
|
164
|
-
.eds-dropdown-list__item:last-child {
|
|
165
|
-
border-bottom: none;
|
|
166
|
-
}
|
|
167
|
-
.eds-contrast .eds-dropdown-list__item {
|
|
168
|
-
color: #181c56;
|
|
169
|
-
border-color: #54568c;
|
|
170
|
-
background-color: #ffffff;
|
|
171
|
-
}
|
|
172
|
-
.eds-dropdown-list__item--highlighted {
|
|
173
|
-
background-color: #d1d4e3;
|
|
174
|
-
}
|
|
175
|
-
.eds-contrast .eds-dropdown-list__item--highlighted {
|
|
176
|
-
background-color: #d1d4e3;
|
|
177
|
-
}
|
|
178
|
-
.eds-dropdown-list-icon {
|
|
179
|
-
margin-left: 0.75rem;
|
|
180
|
-
}
|
|
181
|
-
/* DO NOT CHANGE!*/
|
|
182
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
183
|
-
.eds-dropdown__toggle-button {
|
|
184
|
-
-webkit-appearance: none;
|
|
185
|
-
-moz-appearance: none;
|
|
186
|
-
appearance: none;
|
|
187
|
-
background: none;
|
|
188
|
-
border: none;
|
|
189
|
-
border-radius: 0;
|
|
190
|
-
color: inherit;
|
|
191
|
-
font-size: inherit;
|
|
192
|
-
font-family: inherit;
|
|
193
|
-
margin-right: -0.75rem;
|
|
194
|
-
padding: 0.5rem;
|
|
195
|
-
display: flex;
|
|
196
|
-
justify-content: center;
|
|
197
|
-
}
|
|
198
|
-
.eds-dropdown__toggle-button--open svg {
|
|
199
|
-
transform: rotate(180deg);
|
|
200
|
-
}
|
|
201
|
-
.eds-dropdown__toggle-button:focus {
|
|
202
|
-
outline-offset: 0.125rem;
|
|
203
|
-
outline: none;
|
|
204
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
205
|
-
}
|
|
206
|
-
.eds-contrast .eds-dropdown__toggle-button:focus {
|
|
207
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
208
|
-
}
|
|
209
|
-
/* DO NOT CHANGE!*/
|
|
210
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
211
190
|
.eds-dropdown-wrapper {
|
|
212
191
|
position: relative;
|
|
213
192
|
}
|
|
@@ -264,12 +243,33 @@
|
|
|
264
243
|
.eds-contrast .eds-form-control-wrapper--disabled .eds-dropdown__divider {
|
|
265
244
|
background-color: #8285a8;
|
|
266
245
|
}
|
|
267
|
-
|
|
268
|
-
|
|
246
|
+
/* DO NOT CHANGE!*/
|
|
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;
|
|
269
260
|
display: flex;
|
|
270
261
|
justify-content: center;
|
|
271
|
-
|
|
272
|
-
|
|
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
273
|
}
|
|
274
274
|
/* DO NOT CHANGE!*/
|
|
275
275
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/dropdown",
|
|
3
|
-
"version": "5.4.
|
|
3
|
+
"version": "5.4.9",
|
|
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.
|
|
35
|
-
"@entur/loader": "^0.5.
|
|
31
|
+
"@entur/button": "^3.2.24",
|
|
32
|
+
"@entur/chip": "^0.7.10",
|
|
33
|
+
"@entur/form": "^7.1.9",
|
|
34
|
+
"@entur/icons": "^6.17.0",
|
|
35
|
+
"@entur/loader": "^0.5.2",
|
|
36
36
|
"@entur/tokens": "^3.15.0",
|
|
37
|
-
"@entur/tooltip": "^2.7.
|
|
37
|
+
"@entur/tooltip": "^2.7.8",
|
|
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": "74491efb25596a135f38b50d15305803afe963ae"
|
|
43
43
|
}
|