@entur/dropdown 5.0.27 → 5.0.28
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 +64 -64
- package/package.json +10 -10
package/dist/styles.css
CHANGED
|
@@ -32,70 +32,6 @@
|
|
|
32
32
|
}
|
|
33
33
|
/* DO NOT CHANGE!*/
|
|
34
34
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
35
|
-
.eds-dropdown-list {
|
|
36
|
-
border-radius: 0.25rem;
|
|
37
|
-
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
38
|
-
display: none;
|
|
39
|
-
list-style: none;
|
|
40
|
-
margin: 0;
|
|
41
|
-
max-height: 50vh;
|
|
42
|
-
padding: 0;
|
|
43
|
-
position: relative;
|
|
44
|
-
overflow-y: auto;
|
|
45
|
-
width: 100%;
|
|
46
|
-
z-index: 20;
|
|
47
|
-
}
|
|
48
|
-
.eds-contrast .eds-dropdown-list {
|
|
49
|
-
box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
|
|
50
|
-
}
|
|
51
|
-
.eds-dropdown-list--open {
|
|
52
|
-
display: inline-block;
|
|
53
|
-
}
|
|
54
|
-
.eds-dropdown-list:focus {
|
|
55
|
-
outline: none;
|
|
56
|
-
}
|
|
57
|
-
@media all and (min-width: 50rem) {
|
|
58
|
-
.eds-dropdown-list {
|
|
59
|
-
max-height: 30vh;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
.eds-dropdown-list__item {
|
|
63
|
-
align-items: center;
|
|
64
|
-
background-color: #f8f8f8;
|
|
65
|
-
border-bottom: 0.125rem solid #e9e9e9;
|
|
66
|
-
border-left: 0.125rem solid #e9e9e9;
|
|
67
|
-
border-right: 0.125rem solid #e9e9e9;
|
|
68
|
-
color: #181c56;
|
|
69
|
-
display: flex;
|
|
70
|
-
justify-content: space-between;
|
|
71
|
-
font-family: inherit;
|
|
72
|
-
font-size: 1rem;
|
|
73
|
-
line-height: 1.25rem;
|
|
74
|
-
padding: 0.75rem 1rem;
|
|
75
|
-
width: 100%;
|
|
76
|
-
}
|
|
77
|
-
.eds-dropdown-list__item:first-child {
|
|
78
|
-
border-top: 0.125rem solid #e9e9e9;
|
|
79
|
-
}
|
|
80
|
-
.eds-dropdown-list__item:last-child {
|
|
81
|
-
border-bottom: none;
|
|
82
|
-
}
|
|
83
|
-
.eds-contrast .eds-dropdown-list__item {
|
|
84
|
-
color: #181c56;
|
|
85
|
-
border-color: #54568c;
|
|
86
|
-
background-color: #ffffff;
|
|
87
|
-
}
|
|
88
|
-
.eds-dropdown-list__item--highlighted {
|
|
89
|
-
background-color: #d1d4e3;
|
|
90
|
-
}
|
|
91
|
-
.eds-contrast .eds-dropdown-list__item--highlighted {
|
|
92
|
-
background-color: #d1d4e3;
|
|
93
|
-
}
|
|
94
|
-
.eds-dropdown-list-icon {
|
|
95
|
-
margin-left: 0.75rem;
|
|
96
|
-
}
|
|
97
|
-
/* DO NOT CHANGE!*/
|
|
98
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
99
35
|
.eds-multi-select {
|
|
100
36
|
position: relative;
|
|
101
37
|
}
|
|
@@ -187,6 +123,70 @@
|
|
|
187
123
|
}
|
|
188
124
|
/* DO NOT CHANGE!*/
|
|
189
125
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
126
|
+
.eds-dropdown-list {
|
|
127
|
+
border-radius: 0.25rem;
|
|
128
|
+
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
129
|
+
display: none;
|
|
130
|
+
list-style: none;
|
|
131
|
+
margin: 0;
|
|
132
|
+
max-height: 50vh;
|
|
133
|
+
padding: 0;
|
|
134
|
+
position: relative;
|
|
135
|
+
overflow-y: auto;
|
|
136
|
+
width: 100%;
|
|
137
|
+
z-index: 20;
|
|
138
|
+
}
|
|
139
|
+
.eds-contrast .eds-dropdown-list {
|
|
140
|
+
box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
|
|
141
|
+
}
|
|
142
|
+
.eds-dropdown-list--open {
|
|
143
|
+
display: inline-block;
|
|
144
|
+
}
|
|
145
|
+
.eds-dropdown-list:focus {
|
|
146
|
+
outline: none;
|
|
147
|
+
}
|
|
148
|
+
@media all and (min-width: 50rem) {
|
|
149
|
+
.eds-dropdown-list {
|
|
150
|
+
max-height: 30vh;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
.eds-dropdown-list__item {
|
|
154
|
+
align-items: center;
|
|
155
|
+
background-color: #f8f8f8;
|
|
156
|
+
border-bottom: 0.125rem solid #e9e9e9;
|
|
157
|
+
border-left: 0.125rem solid #e9e9e9;
|
|
158
|
+
border-right: 0.125rem solid #e9e9e9;
|
|
159
|
+
color: #181c56;
|
|
160
|
+
display: flex;
|
|
161
|
+
justify-content: space-between;
|
|
162
|
+
font-family: inherit;
|
|
163
|
+
font-size: 1rem;
|
|
164
|
+
line-height: 1.25rem;
|
|
165
|
+
padding: 0.75rem 1rem;
|
|
166
|
+
width: 100%;
|
|
167
|
+
}
|
|
168
|
+
.eds-dropdown-list__item:first-child {
|
|
169
|
+
border-top: 0.125rem solid #e9e9e9;
|
|
170
|
+
}
|
|
171
|
+
.eds-dropdown-list__item:last-child {
|
|
172
|
+
border-bottom: none;
|
|
173
|
+
}
|
|
174
|
+
.eds-contrast .eds-dropdown-list__item {
|
|
175
|
+
color: #181c56;
|
|
176
|
+
border-color: #54568c;
|
|
177
|
+
background-color: #ffffff;
|
|
178
|
+
}
|
|
179
|
+
.eds-dropdown-list__item--highlighted {
|
|
180
|
+
background-color: #d1d4e3;
|
|
181
|
+
}
|
|
182
|
+
.eds-contrast .eds-dropdown-list__item--highlighted {
|
|
183
|
+
background-color: #d1d4e3;
|
|
184
|
+
}
|
|
185
|
+
.eds-dropdown-list-icon {
|
|
186
|
+
margin-left: 0.75rem;
|
|
187
|
+
}
|
|
188
|
+
/* DO NOT CHANGE!*/
|
|
189
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
190
190
|
.eds-dropdown-wrapper {
|
|
191
191
|
position: relative;
|
|
192
192
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/dropdown",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.28",
|
|
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": "^3.2.
|
|
32
|
-
"@entur/chip": "^0.6.
|
|
33
|
-
"@entur/form": "^7.0.
|
|
34
|
-
"@entur/icons": "^6.13.
|
|
35
|
-
"@entur/loader": "^0.4.
|
|
36
|
-
"@entur/tokens": "^3.
|
|
37
|
-
"@entur/tooltip": "^2.6.
|
|
30
|
+
"@entur/a11y": "^0.2.74",
|
|
31
|
+
"@entur/button": "^3.2.5",
|
|
32
|
+
"@entur/chip": "^0.6.60",
|
|
33
|
+
"@entur/form": "^7.0.32",
|
|
34
|
+
"@entur/icons": "^6.13.2",
|
|
35
|
+
"@entur/loader": "^0.4.51",
|
|
36
|
+
"@entur/tokens": "^3.12.0",
|
|
37
|
+
"@entur/tooltip": "^2.6.41",
|
|
38
38
|
"@entur/utils": "^0.9.5",
|
|
39
39
|
"classnames": "^2.3.1",
|
|
40
40
|
"downshift": "^7.6.1"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "85dd6dbaf86fc2488dd2152c213788f9d4a8a64f"
|
|
43
43
|
}
|