@entur/dropdown 3.0.14 → 3.0.15
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
|
@@ -2,71 +2,6 @@
|
|
|
2
2
|
--eds-dropdown: 1;
|
|
3
3
|
}/* DO NOT CHANGE!*/
|
|
4
4
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
5
|
-
.eds-dropdown-list {
|
|
6
|
-
border-radius: 0.25rem;
|
|
7
|
-
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
8
|
-
display: none;
|
|
9
|
-
list-style: none;
|
|
10
|
-
margin: 0;
|
|
11
|
-
max-height: 50vh;
|
|
12
|
-
padding: 0;
|
|
13
|
-
position: relative;
|
|
14
|
-
overflow-y: auto;
|
|
15
|
-
width: 100%;
|
|
16
|
-
z-index: 20;
|
|
17
|
-
}
|
|
18
|
-
.eds-contrast .eds-dropdown-list {
|
|
19
|
-
box-shadow: 0 0.0625rem 0.1875rem #393d79;
|
|
20
|
-
}
|
|
21
|
-
.eds-dropdown-list--open {
|
|
22
|
-
display: inline-block;
|
|
23
|
-
}
|
|
24
|
-
.eds-dropdown-list:focus {
|
|
25
|
-
outline: none;
|
|
26
|
-
}
|
|
27
|
-
@media all and (min-width: 50rem) {
|
|
28
|
-
.eds-dropdown-list {
|
|
29
|
-
max-height: 30vh;
|
|
30
|
-
}
|
|
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;
|
|
39
|
-
color: #181c56;
|
|
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%;
|
|
47
|
-
}
|
|
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 {
|
|
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
|
-
|
|
66
|
-
.eds-dropdown-list__item-icon {
|
|
67
|
-
margin-left: 0.75rem;
|
|
68
|
-
}/* DO NOT CHANGE!*/
|
|
69
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
70
5
|
.eds-multi-select {
|
|
71
6
|
position: relative;
|
|
72
7
|
}
|
|
@@ -164,6 +99,71 @@
|
|
|
164
99
|
}
|
|
165
100
|
}/* DO NOT CHANGE!*/
|
|
166
101
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
102
|
+
.eds-dropdown-list {
|
|
103
|
+
border-radius: 0.25rem;
|
|
104
|
+
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
105
|
+
display: none;
|
|
106
|
+
list-style: none;
|
|
107
|
+
margin: 0;
|
|
108
|
+
max-height: 50vh;
|
|
109
|
+
padding: 0;
|
|
110
|
+
position: relative;
|
|
111
|
+
overflow-y: auto;
|
|
112
|
+
width: 100%;
|
|
113
|
+
z-index: 20;
|
|
114
|
+
}
|
|
115
|
+
.eds-contrast .eds-dropdown-list {
|
|
116
|
+
box-shadow: 0 0.0625rem 0.1875rem #393d79;
|
|
117
|
+
}
|
|
118
|
+
.eds-dropdown-list--open {
|
|
119
|
+
display: inline-block;
|
|
120
|
+
}
|
|
121
|
+
.eds-dropdown-list:focus {
|
|
122
|
+
outline: none;
|
|
123
|
+
}
|
|
124
|
+
@media all and (min-width: 50rem) {
|
|
125
|
+
.eds-dropdown-list {
|
|
126
|
+
max-height: 30vh;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.eds-dropdown-list__item {
|
|
131
|
+
align-items: center;
|
|
132
|
+
background-color: #f8f8f8;
|
|
133
|
+
border-bottom: 0.125rem solid #e9e9e9;
|
|
134
|
+
border-left: 0.125rem solid #e9e9e9;
|
|
135
|
+
border-right: 0.125rem solid #e9e9e9;
|
|
136
|
+
color: #181c56;
|
|
137
|
+
display: flex;
|
|
138
|
+
justify-content: space-between;
|
|
139
|
+
font-family: inherit;
|
|
140
|
+
font-size: 1rem;
|
|
141
|
+
line-height: 1.25rem;
|
|
142
|
+
padding: 0.75rem 1rem;
|
|
143
|
+
width: 100%;
|
|
144
|
+
}
|
|
145
|
+
.eds-dropdown-list__item:first-child {
|
|
146
|
+
border-top: 0.125rem solid #e9e9e9;
|
|
147
|
+
}
|
|
148
|
+
.eds-dropdown-list__item:last-child {
|
|
149
|
+
border-bottom: none;
|
|
150
|
+
}
|
|
151
|
+
.eds-contrast .eds-dropdown-list__item {
|
|
152
|
+
color: #181c56;
|
|
153
|
+
border-color: #54568c;
|
|
154
|
+
background-color: #ffffff;
|
|
155
|
+
}
|
|
156
|
+
.eds-dropdown-list__item--highlighted {
|
|
157
|
+
background-color: #d1d4e3;
|
|
158
|
+
}
|
|
159
|
+
.eds-contrast .eds-dropdown-list__item--highlighted {
|
|
160
|
+
background-color: #d1d4e3;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.eds-dropdown-list__item-icon {
|
|
164
|
+
margin-left: 0.75rem;
|
|
165
|
+
}/* DO NOT CHANGE!*/
|
|
166
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
167
167
|
.eds-dropdown + .eds-form-control__append {
|
|
168
168
|
margin-left: -2em;
|
|
169
169
|
pointer-events: none;
|
|
@@ -177,6 +177,14 @@
|
|
|
177
177
|
color: #181c56;
|
|
178
178
|
}/* DO NOT CHANGE!*/
|
|
179
179
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
180
|
+
.eds-inline-spinner {
|
|
181
|
+
align-items: center;
|
|
182
|
+
display: flex;
|
|
183
|
+
justify-content: center;
|
|
184
|
+
height: 100%;
|
|
185
|
+
width: 100%;
|
|
186
|
+
}/* DO NOT CHANGE!*/
|
|
187
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
180
188
|
.eds-dropdown__searchable-selected-item {
|
|
181
189
|
display: block;
|
|
182
190
|
font-size: 1rem;
|
|
@@ -206,14 +214,6 @@
|
|
|
206
214
|
transition: none;
|
|
207
215
|
}/* DO NOT CHANGE!*/
|
|
208
216
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
209
|
-
.eds-inline-spinner {
|
|
210
|
-
align-items: center;
|
|
211
|
-
display: flex;
|
|
212
|
-
justify-content: center;
|
|
213
|
-
height: 100%;
|
|
214
|
-
width: 100%;
|
|
215
|
-
}/* DO NOT CHANGE!*/
|
|
216
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
217
217
|
.eds-dropdown-wrapper {
|
|
218
218
|
position: relative;
|
|
219
219
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/dropdown",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.15",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/dropdown.esm.js",
|
|
@@ -27,16 +27,16 @@
|
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/a11y": "^0.2.
|
|
31
|
-
"@entur/chip": "^0.6.
|
|
32
|
-
"@entur/form": "^5.4.
|
|
30
|
+
"@entur/a11y": "^0.2.49",
|
|
31
|
+
"@entur/chip": "^0.6.7",
|
|
32
|
+
"@entur/form": "^5.4.4",
|
|
33
33
|
"@entur/icons": "^4.3.3",
|
|
34
|
-
"@entur/loader": "^0.4.
|
|
34
|
+
"@entur/loader": "^0.4.12",
|
|
35
35
|
"@entur/tokens": "^3.4.1",
|
|
36
|
-
"@entur/tooltip": "^2.5.
|
|
36
|
+
"@entur/tooltip": "^2.5.16",
|
|
37
37
|
"@entur/utils": "^0.4.5",
|
|
38
38
|
"classnames": "^2.3.1",
|
|
39
39
|
"downshift": "^6.1.7"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "c1318d134c4097efd550872cabf41b1e67940eae"
|
|
42
42
|
}
|