@entur/dropdown 3.0.26 → 3.0.27
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 +80 -73
- package/package.json +10 -10
package/dist/styles.css
CHANGED
|
@@ -2,17 +2,69 @@
|
|
|
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
|
|
6
|
-
|
|
7
|
-
|
|
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
|
+
}
|
|
8
31
|
}
|
|
9
32
|
|
|
10
|
-
.eds-dropdown
|
|
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;
|
|
11
39
|
color: #181c56;
|
|
12
|
-
|
|
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%;
|
|
13
47
|
}
|
|
14
|
-
.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 {
|
|
15
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;
|
|
16
68
|
}/* DO NOT CHANGE!*/
|
|
17
69
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
18
70
|
.eds-multi-select {
|
|
@@ -96,7 +148,14 @@
|
|
|
96
148
|
}
|
|
97
149
|
.eds-multiselect-checkbox--checked .eds-checkbox-icon__path {
|
|
98
150
|
stroke: #ffffff;
|
|
99
|
-
animation: stroke ease-in-out 0.2s 0.1s forwards;
|
|
151
|
+
-webkit-animation: stroke ease-in-out 0.2s 0.1s forwards;
|
|
152
|
+
animation: stroke ease-in-out 0.2s 0.1s forwards;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
@-webkit-keyframes stroke {
|
|
156
|
+
100% {
|
|
157
|
+
stroke-dashoffset: 0;
|
|
158
|
+
}
|
|
100
159
|
}
|
|
101
160
|
|
|
102
161
|
@keyframes stroke {
|
|
@@ -105,77 +164,17 @@
|
|
|
105
164
|
}
|
|
106
165
|
}/* DO NOT CHANGE!*/
|
|
107
166
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
108
|
-
.eds-dropdown-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
display: none;
|
|
112
|
-
list-style: none;
|
|
113
|
-
margin: 0;
|
|
114
|
-
max-height: 50vh;
|
|
115
|
-
padding: 0;
|
|
116
|
-
position: relative;
|
|
117
|
-
overflow-y: auto;
|
|
118
|
-
width: 100%;
|
|
119
|
-
z-index: 20;
|
|
120
|
-
}
|
|
121
|
-
.eds-contrast .eds-dropdown-list {
|
|
122
|
-
box-shadow: 0 0.0625rem 0.1875rem #393d79;
|
|
123
|
-
}
|
|
124
|
-
.eds-dropdown-list--open {
|
|
125
|
-
display: inline-block;
|
|
126
|
-
}
|
|
127
|
-
.eds-dropdown-list:focus {
|
|
128
|
-
outline: none;
|
|
129
|
-
}
|
|
130
|
-
@media all and (min-width: 50rem) {
|
|
131
|
-
.eds-dropdown-list {
|
|
132
|
-
max-height: 30vh;
|
|
133
|
-
}
|
|
167
|
+
.eds-dropdown + .eds-form-control__append {
|
|
168
|
+
margin-left: -2em;
|
|
169
|
+
pointer-events: none;
|
|
134
170
|
}
|
|
135
171
|
|
|
136
|
-
.eds-dropdown
|
|
137
|
-
align-items: center;
|
|
138
|
-
background-color: #f8f8f8;
|
|
139
|
-
border-bottom: 0.125rem solid #e9e9e9;
|
|
140
|
-
border-left: 0.125rem solid #e9e9e9;
|
|
141
|
-
border-right: 0.125rem solid #e9e9e9;
|
|
142
|
-
color: #181c56;
|
|
143
|
-
display: flex;
|
|
144
|
-
justify-content: space-between;
|
|
145
|
-
font-family: inherit;
|
|
146
|
-
font-size: 1rem;
|
|
147
|
-
line-height: 1.25rem;
|
|
148
|
-
padding: 0.75rem 1rem;
|
|
149
|
-
width: 100%;
|
|
150
|
-
}
|
|
151
|
-
.eds-dropdown-list__item:first-child {
|
|
152
|
-
border-top: 0.125rem solid #e9e9e9;
|
|
153
|
-
}
|
|
154
|
-
.eds-dropdown-list__item:last-child {
|
|
155
|
-
border-bottom: none;
|
|
156
|
-
}
|
|
157
|
-
.eds-contrast .eds-dropdown-list__item {
|
|
172
|
+
.eds-dropdown option {
|
|
158
173
|
color: #181c56;
|
|
159
|
-
border-color: #54568c;
|
|
160
174
|
background-color: #ffffff;
|
|
161
175
|
}
|
|
162
|
-
.eds-dropdown
|
|
163
|
-
|
|
164
|
-
}
|
|
165
|
-
.eds-contrast .eds-dropdown-list__item--highlighted {
|
|
166
|
-
background-color: #d1d4e3;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.eds-dropdown-list__item-icon {
|
|
170
|
-
margin-left: 0.75rem;
|
|
171
|
-
}/* DO NOT CHANGE!*/
|
|
172
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
173
|
-
.eds-inline-spinner {
|
|
174
|
-
align-items: center;
|
|
175
|
-
display: flex;
|
|
176
|
-
justify-content: center;
|
|
177
|
-
height: 100%;
|
|
178
|
-
width: 100%;
|
|
176
|
+
.eds-contrast .eds-dropdown option {
|
|
177
|
+
color: #181c56;
|
|
179
178
|
}/* DO NOT CHANGE!*/
|
|
180
179
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
181
180
|
.eds-dropdown__searchable-selected-item {
|
|
@@ -207,6 +206,14 @@
|
|
|
207
206
|
transition: none;
|
|
208
207
|
}/* DO NOT CHANGE!*/
|
|
209
208
|
/* 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. */
|
|
210
217
|
.eds-searchable-dropdown__wrapper {
|
|
211
218
|
position: relative;
|
|
212
219
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/dropdown",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.27",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/dropdown.esm.js",
|
|
@@ -27,17 +27,17 @@
|
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/a11y": "^0.2.
|
|
31
|
-
"@entur/button": "^2.10.
|
|
32
|
-
"@entur/chip": "^0.6.
|
|
33
|
-
"@entur/form": "^5.4.
|
|
34
|
-
"@entur/icons": "^5.4.
|
|
35
|
-
"@entur/loader": "^0.4.
|
|
30
|
+
"@entur/a11y": "^0.2.54",
|
|
31
|
+
"@entur/button": "^2.10.9",
|
|
32
|
+
"@entur/chip": "^0.6.17",
|
|
33
|
+
"@entur/form": "^5.4.14",
|
|
34
|
+
"@entur/icons": "^5.4.2",
|
|
35
|
+
"@entur/loader": "^0.4.17",
|
|
36
36
|
"@entur/tokens": "^3.4.4",
|
|
37
|
-
"@entur/tooltip": "^2.6.
|
|
38
|
-
"@entur/utils": "^0.
|
|
37
|
+
"@entur/tooltip": "^2.6.1",
|
|
38
|
+
"@entur/utils": "^0.5.0",
|
|
39
39
|
"classnames": "^2.3.1",
|
|
40
40
|
"downshift": "^6.1.7"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "36772ae4f2d8375622acff19736c07d15435cb95"
|
|
43
43
|
}
|