@entur/dropdown 5.4.4 → 5.4.5
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 +92 -92
- package/package.json +8 -8
package/dist/styles.css
CHANGED
|
@@ -1,5 +1,94 @@
|
|
|
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
|
+
/* DO NOT CHANGE!*/
|
|
27
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
28
|
+
.eds-dropdown-list {
|
|
29
|
+
border-radius: 0.25rem;
|
|
30
|
+
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
31
|
+
display: none;
|
|
32
|
+
list-style: none;
|
|
33
|
+
margin: 0;
|
|
34
|
+
max-height: 50vh;
|
|
35
|
+
padding: 0;
|
|
36
|
+
position: relative;
|
|
37
|
+
overflow-y: auto;
|
|
38
|
+
width: 100%;
|
|
39
|
+
z-index: 20;
|
|
40
|
+
}
|
|
41
|
+
.eds-contrast .eds-dropdown-list {
|
|
42
|
+
box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
|
|
43
|
+
}
|
|
44
|
+
.eds-dropdown-list--open {
|
|
45
|
+
display: inline-block;
|
|
46
|
+
}
|
|
47
|
+
.eds-dropdown-list:focus {
|
|
48
|
+
outline: none;
|
|
49
|
+
}
|
|
50
|
+
@media all and (min-width: 50rem) {
|
|
51
|
+
.eds-dropdown-list {
|
|
52
|
+
max-height: 30vh;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
.eds-dropdown-list__item {
|
|
56
|
+
align-items: center;
|
|
57
|
+
background-color: #f8f8f8;
|
|
58
|
+
border-bottom: 0.125rem solid #e9e9e9;
|
|
59
|
+
border-left: 0.125rem solid #e9e9e9;
|
|
60
|
+
border-right: 0.125rem solid #e9e9e9;
|
|
61
|
+
color: #181c56;
|
|
62
|
+
display: flex;
|
|
63
|
+
justify-content: space-between;
|
|
64
|
+
font-family: inherit;
|
|
65
|
+
font-size: 1rem;
|
|
66
|
+
line-height: 1.25rem;
|
|
67
|
+
padding: 0.75rem 1rem;
|
|
68
|
+
width: 100%;
|
|
69
|
+
}
|
|
70
|
+
.eds-dropdown-list__item:first-child {
|
|
71
|
+
border-top: 0.125rem solid #e9e9e9;
|
|
72
|
+
}
|
|
73
|
+
.eds-dropdown-list__item:last-child {
|
|
74
|
+
border-bottom: none;
|
|
75
|
+
}
|
|
76
|
+
.eds-contrast .eds-dropdown-list__item {
|
|
77
|
+
color: #181c56;
|
|
78
|
+
border-color: #54568c;
|
|
79
|
+
background-color: #ffffff;
|
|
80
|
+
}
|
|
81
|
+
.eds-dropdown-list__item--highlighted {
|
|
82
|
+
background-color: #d1d4e3;
|
|
83
|
+
}
|
|
84
|
+
.eds-contrast .eds-dropdown-list__item--highlighted {
|
|
85
|
+
background-color: #d1d4e3;
|
|
86
|
+
}
|
|
87
|
+
.eds-dropdown-list-icon {
|
|
88
|
+
margin-left: 0.75rem;
|
|
89
|
+
}
|
|
90
|
+
/* DO NOT CHANGE!*/
|
|
91
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
92
|
.eds-multi-select {
|
|
4
93
|
position: relative;
|
|
5
94
|
}
|
|
@@ -89,70 +178,13 @@
|
|
|
89
178
|
stroke-dashoffset: 0;
|
|
90
179
|
}
|
|
91
180
|
}
|
|
92
|
-
|
|
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 {
|
|
181
|
+
.eds-inline-spinner {
|
|
122
182
|
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
183
|
display: flex;
|
|
129
|
-
justify-content:
|
|
130
|
-
|
|
131
|
-
font-size: 1rem;
|
|
132
|
-
line-height: 1.25rem;
|
|
133
|
-
padding: 0.75rem 1rem;
|
|
184
|
+
justify-content: center;
|
|
185
|
+
height: 100%;
|
|
134
186
|
width: 100%;
|
|
135
187
|
}
|
|
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
188
|
/* DO NOT CHANGE!*/
|
|
157
189
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
158
190
|
.eds-dropdown-wrapper {
|
|
@@ -213,31 +245,6 @@
|
|
|
213
245
|
}
|
|
214
246
|
/* DO NOT CHANGE!*/
|
|
215
247
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
216
|
-
.eds-dropdown__searchable-selected-item {
|
|
217
|
-
display: block;
|
|
218
|
-
font-size: 1rem;
|
|
219
|
-
line-height: 1rem;
|
|
220
|
-
margin-right: -1rem;
|
|
221
|
-
padding: calc(1rem + 0.25rem) 0 0.25rem 1rem;
|
|
222
|
-
font-family: inherit;
|
|
223
|
-
overflow-x: hidden;
|
|
224
|
-
text-overflow: ellipsis;
|
|
225
|
-
white-space: nowrap;
|
|
226
|
-
}
|
|
227
|
-
.eds-dropdown__searchable-selected-item__wrapper {
|
|
228
|
-
max-width: 65%;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
.eds-form-control.eds-dropdown__input::-moz-placeholder {
|
|
232
|
-
-moz-transition: none;
|
|
233
|
-
transition: none;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
.eds-form-control.eds-dropdown__input::placeholder {
|
|
237
|
-
transition: none;
|
|
238
|
-
}
|
|
239
|
-
/* DO NOT CHANGE!*/
|
|
240
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
241
248
|
.eds-dropdown__toggle-button {
|
|
242
249
|
-webkit-appearance: none;
|
|
243
250
|
-moz-appearance: none;
|
|
@@ -264,13 +271,6 @@
|
|
|
264
271
|
.eds-contrast .eds-dropdown__toggle-button:focus {
|
|
265
272
|
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
266
273
|
}
|
|
267
|
-
.eds-inline-spinner {
|
|
268
|
-
align-items: center;
|
|
269
|
-
display: flex;
|
|
270
|
-
justify-content: center;
|
|
271
|
-
height: 100%;
|
|
272
|
-
width: 100%;
|
|
273
|
-
}
|
|
274
274
|
/* DO NOT CHANGE!*/
|
|
275
275
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
276
276
|
.eds-dropdown__list {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/dropdown",
|
|
3
|
-
"version": "5.4.
|
|
3
|
+
"version": "5.4.5",
|
|
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.84",
|
|
31
|
-
"@entur/button": "^3.2.
|
|
32
|
-
"@entur/chip": "^0.7.
|
|
33
|
-
"@entur/form": "^7.1.
|
|
34
|
-
"@entur/icons": "^6.
|
|
35
|
-
"@entur/loader": "^0.4.
|
|
31
|
+
"@entur/button": "^3.2.21",
|
|
32
|
+
"@entur/chip": "^0.7.6",
|
|
33
|
+
"@entur/form": "^7.1.5",
|
|
34
|
+
"@entur/icons": "^6.16.0",
|
|
35
|
+
"@entur/loader": "^0.4.65",
|
|
36
36
|
"@entur/tokens": "^3.14.0",
|
|
37
|
-
"@entur/tooltip": "^2.7.
|
|
37
|
+
"@entur/tooltip": "^2.7.5",
|
|
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": "5044cdb815a75fc0eff204cedd98e4d1c7d1971e"
|
|
43
43
|
}
|