@entur/dropdown 4.0.9 → 4.0.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 +73 -73
- package/package.json +7 -7
package/dist/styles.css
CHANGED
|
@@ -3,17 +3,67 @@
|
|
|
3
3
|
}
|
|
4
4
|
/* DO NOT CHANGE!*/
|
|
5
5
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
6
|
-
.eds-dropdown
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
.eds-dropdown-list {
|
|
7
|
+
border-radius: 0.25rem;
|
|
8
|
+
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
9
|
+
display: none;
|
|
10
|
+
list-style: none;
|
|
11
|
+
margin: 0;
|
|
12
|
+
max-height: 50vh;
|
|
13
|
+
padding: 0;
|
|
14
|
+
position: relative;
|
|
15
|
+
overflow-y: auto;
|
|
16
|
+
width: 100%;
|
|
17
|
+
z-index: 20;
|
|
9
18
|
}
|
|
10
|
-
|
|
11
|
-
|
|
19
|
+
.eds-contrast .eds-dropdown-list {
|
|
20
|
+
box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
|
|
21
|
+
}
|
|
22
|
+
.eds-dropdown-list--open {
|
|
23
|
+
display: inline-block;
|
|
24
|
+
}
|
|
25
|
+
.eds-dropdown-list:focus {
|
|
26
|
+
outline: none;
|
|
27
|
+
}
|
|
28
|
+
@media all and (min-width: 50rem) {
|
|
29
|
+
.eds-dropdown-list {
|
|
30
|
+
max-height: 30vh;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
.eds-dropdown-list__item {
|
|
34
|
+
align-items: center;
|
|
35
|
+
background-color: #f8f8f8;
|
|
36
|
+
border-bottom: 0.125rem solid #e9e9e9;
|
|
37
|
+
border-left: 0.125rem solid #e9e9e9;
|
|
38
|
+
border-right: 0.125rem solid #e9e9e9;
|
|
12
39
|
color: #181c56;
|
|
13
|
-
|
|
40
|
+
display: flex;
|
|
41
|
+
justify-content: space-between;
|
|
42
|
+
font-family: inherit;
|
|
43
|
+
font-size: 1rem;
|
|
44
|
+
line-height: 1.25rem;
|
|
45
|
+
padding: 0.75rem 1rem;
|
|
46
|
+
width: 100%;
|
|
14
47
|
}
|
|
15
|
-
.eds-
|
|
48
|
+
.eds-dropdown-list__item:first-child {
|
|
49
|
+
border-top: 0.125rem solid #e9e9e9;
|
|
50
|
+
}
|
|
51
|
+
.eds-dropdown-list__item:last-child {
|
|
52
|
+
border-bottom: none;
|
|
53
|
+
}
|
|
54
|
+
.eds-contrast .eds-dropdown-list__item {
|
|
16
55
|
color: #181c56;
|
|
56
|
+
border-color: #54568c;
|
|
57
|
+
background-color: #ffffff;
|
|
58
|
+
}
|
|
59
|
+
.eds-dropdown-list__item--highlighted {
|
|
60
|
+
background-color: #d1d4e3;
|
|
61
|
+
}
|
|
62
|
+
.eds-contrast .eds-dropdown-list__item--highlighted {
|
|
63
|
+
background-color: #d1d4e3;
|
|
64
|
+
}
|
|
65
|
+
.eds-dropdown-list-icon {
|
|
66
|
+
margin-left: 0.75rem;
|
|
17
67
|
}
|
|
18
68
|
/* DO NOT CHANGE!*/
|
|
19
69
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -108,76 +158,17 @@
|
|
|
108
158
|
}
|
|
109
159
|
/* DO NOT CHANGE!*/
|
|
110
160
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
111
|
-
.eds-dropdown-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
display: none;
|
|
115
|
-
list-style: none;
|
|
116
|
-
margin: 0;
|
|
117
|
-
max-height: 50vh;
|
|
118
|
-
padding: 0;
|
|
119
|
-
position: relative;
|
|
120
|
-
overflow-y: auto;
|
|
121
|
-
width: 100%;
|
|
122
|
-
z-index: 20;
|
|
123
|
-
}
|
|
124
|
-
.eds-contrast .eds-dropdown-list {
|
|
125
|
-
box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
|
|
126
|
-
}
|
|
127
|
-
.eds-dropdown-list--open {
|
|
128
|
-
display: inline-block;
|
|
129
|
-
}
|
|
130
|
-
.eds-dropdown-list:focus {
|
|
131
|
-
outline: none;
|
|
132
|
-
}
|
|
133
|
-
@media all and (min-width: 50rem) {
|
|
134
|
-
.eds-dropdown-list {
|
|
135
|
-
max-height: 30vh;
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
.eds-dropdown-list__item {
|
|
139
|
-
align-items: center;
|
|
140
|
-
background-color: #f8f8f8;
|
|
141
|
-
border-bottom: 0.125rem solid #e9e9e9;
|
|
142
|
-
border-left: 0.125rem solid #e9e9e9;
|
|
143
|
-
border-right: 0.125rem solid #e9e9e9;
|
|
144
|
-
color: #181c56;
|
|
145
|
-
display: flex;
|
|
146
|
-
justify-content: space-between;
|
|
147
|
-
font-family: inherit;
|
|
148
|
-
font-size: 1rem;
|
|
149
|
-
line-height: 1.25rem;
|
|
150
|
-
padding: 0.75rem 1rem;
|
|
151
|
-
width: 100%;
|
|
152
|
-
}
|
|
153
|
-
.eds-dropdown-list__item:first-child {
|
|
154
|
-
border-top: 0.125rem solid #e9e9e9;
|
|
155
|
-
}
|
|
156
|
-
.eds-dropdown-list__item:last-child {
|
|
157
|
-
border-bottom: none;
|
|
161
|
+
.eds-dropdown + .eds-form-control__append {
|
|
162
|
+
margin-left: -2em;
|
|
163
|
+
pointer-events: none;
|
|
158
164
|
}
|
|
159
|
-
|
|
165
|
+
|
|
166
|
+
.eds-dropdown option {
|
|
160
167
|
color: #181c56;
|
|
161
|
-
border-color: #54568c;
|
|
162
168
|
background-color: #ffffff;
|
|
163
169
|
}
|
|
164
|
-
.eds-dropdown
|
|
165
|
-
|
|
166
|
-
}
|
|
167
|
-
.eds-contrast .eds-dropdown-list__item--highlighted {
|
|
168
|
-
background-color: #d1d4e3;
|
|
169
|
-
}
|
|
170
|
-
.eds-dropdown-list-icon {
|
|
171
|
-
margin-left: 0.75rem;
|
|
172
|
-
}
|
|
173
|
-
/* DO NOT CHANGE!*/
|
|
174
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
175
|
-
.eds-inline-spinner {
|
|
176
|
-
align-items: center;
|
|
177
|
-
display: flex;
|
|
178
|
-
justify-content: center;
|
|
179
|
-
height: 100%;
|
|
180
|
-
width: 100%;
|
|
170
|
+
.eds-contrast .eds-dropdown option {
|
|
171
|
+
color: #181c56;
|
|
181
172
|
}
|
|
182
173
|
/* DO NOT CHANGE!*/
|
|
183
174
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -206,6 +197,15 @@
|
|
|
206
197
|
}
|
|
207
198
|
/* DO NOT CHANGE!*/
|
|
208
199
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
200
|
+
.eds-inline-spinner {
|
|
201
|
+
align-items: center;
|
|
202
|
+
display: flex;
|
|
203
|
+
justify-content: center;
|
|
204
|
+
height: 100%;
|
|
205
|
+
width: 100%;
|
|
206
|
+
}
|
|
207
|
+
/* DO NOT CHANGE!*/
|
|
208
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
209
209
|
.eds-searchable-dropdown__wrapper {
|
|
210
210
|
position: relative;
|
|
211
211
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/dropdown",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.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.65",
|
|
31
|
-
"@entur/button": "^3.0.
|
|
32
|
-
"@entur/chip": "^0.6.
|
|
33
|
-
"@entur/form": "^7.0.
|
|
31
|
+
"@entur/button": "^3.0.8",
|
|
32
|
+
"@entur/chip": "^0.6.36",
|
|
33
|
+
"@entur/form": "^7.0.9",
|
|
34
34
|
"@entur/icons": "^6.3.0",
|
|
35
|
-
"@entur/loader": "^0.4.
|
|
35
|
+
"@entur/loader": "^0.4.31",
|
|
36
36
|
"@entur/tokens": "^3.9.0",
|
|
37
|
-
"@entur/tooltip": "^2.6.
|
|
37
|
+
"@entur/tooltip": "^2.6.19",
|
|
38
38
|
"@entur/utils": "^0.9.0",
|
|
39
39
|
"classnames": "^2.3.1",
|
|
40
40
|
"downshift": "^6.1.7"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "8f124a94b17be084024892eca96ab800f18ceca2"
|
|
43
43
|
}
|