@entur/dropdown 4.0.0 → 4.0.1
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
CHANGED
|
@@ -17,70 +17,6 @@
|
|
|
17
17
|
}
|
|
18
18
|
/* DO NOT CHANGE!*/
|
|
19
19
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
20
|
-
.eds-dropdown-list {
|
|
21
|
-
border-radius: 0.25rem;
|
|
22
|
-
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
23
|
-
display: none;
|
|
24
|
-
list-style: none;
|
|
25
|
-
margin: 0;
|
|
26
|
-
max-height: 50vh;
|
|
27
|
-
padding: 0;
|
|
28
|
-
position: relative;
|
|
29
|
-
overflow-y: auto;
|
|
30
|
-
width: 100%;
|
|
31
|
-
z-index: 20;
|
|
32
|
-
}
|
|
33
|
-
.eds-contrast .eds-dropdown-list {
|
|
34
|
-
box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
|
|
35
|
-
}
|
|
36
|
-
.eds-dropdown-list--open {
|
|
37
|
-
display: inline-block;
|
|
38
|
-
}
|
|
39
|
-
.eds-dropdown-list:focus {
|
|
40
|
-
outline: none;
|
|
41
|
-
}
|
|
42
|
-
@media all and (min-width: 50rem) {
|
|
43
|
-
.eds-dropdown-list {
|
|
44
|
-
max-height: 30vh;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
.eds-dropdown-list__item {
|
|
48
|
-
align-items: center;
|
|
49
|
-
background-color: #f8f8f8;
|
|
50
|
-
border-bottom: 0.125rem solid #e9e9e9;
|
|
51
|
-
border-left: 0.125rem solid #e9e9e9;
|
|
52
|
-
border-right: 0.125rem solid #e9e9e9;
|
|
53
|
-
color: #181c56;
|
|
54
|
-
display: flex;
|
|
55
|
-
justify-content: space-between;
|
|
56
|
-
font-family: inherit;
|
|
57
|
-
font-size: 1rem;
|
|
58
|
-
line-height: 1.25rem;
|
|
59
|
-
padding: 0.75rem 1rem;
|
|
60
|
-
width: 100%;
|
|
61
|
-
}
|
|
62
|
-
.eds-dropdown-list__item:first-child {
|
|
63
|
-
border-top: 0.125rem solid #e9e9e9;
|
|
64
|
-
}
|
|
65
|
-
.eds-dropdown-list__item:last-child {
|
|
66
|
-
border-bottom: none;
|
|
67
|
-
}
|
|
68
|
-
.eds-contrast .eds-dropdown-list__item {
|
|
69
|
-
color: #181c56;
|
|
70
|
-
border-color: #54568c;
|
|
71
|
-
background-color: #ffffff;
|
|
72
|
-
}
|
|
73
|
-
.eds-dropdown-list__item--highlighted {
|
|
74
|
-
background-color: #d1d4e3;
|
|
75
|
-
}
|
|
76
|
-
.eds-contrast .eds-dropdown-list__item--highlighted {
|
|
77
|
-
background-color: #d1d4e3;
|
|
78
|
-
}
|
|
79
|
-
.eds-dropdown-list-icon {
|
|
80
|
-
margin-left: 0.75rem;
|
|
81
|
-
}
|
|
82
|
-
/* DO NOT CHANGE!*/
|
|
83
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
84
20
|
.eds-multi-select {
|
|
85
21
|
position: relative;
|
|
86
22
|
}
|
|
@@ -172,6 +108,79 @@
|
|
|
172
108
|
}
|
|
173
109
|
/* DO NOT CHANGE!*/
|
|
174
110
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
111
|
+
.eds-dropdown-list {
|
|
112
|
+
border-radius: 0.25rem;
|
|
113
|
+
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
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;
|
|
158
|
+
}
|
|
159
|
+
.eds-contrast .eds-dropdown-list__item {
|
|
160
|
+
color: #181c56;
|
|
161
|
+
border-color: #54568c;
|
|
162
|
+
background-color: #ffffff;
|
|
163
|
+
}
|
|
164
|
+
.eds-dropdown-list__item--highlighted {
|
|
165
|
+
background-color: #d1d4e3;
|
|
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%;
|
|
181
|
+
}
|
|
182
|
+
/* DO NOT CHANGE!*/
|
|
183
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
175
184
|
.eds-dropdown__searchable-selected-item {
|
|
176
185
|
display: block;
|
|
177
186
|
font-size: 1rem;
|
|
@@ -197,15 +206,6 @@
|
|
|
197
206
|
}
|
|
198
207
|
/* DO NOT CHANGE!*/
|
|
199
208
|
/* 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.1",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/dropdown.esm.js",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"classnames": "^2.3.1",
|
|
40
40
|
"downshift": "^6.1.7"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "8e5454328103d2a6f3e44cbfd900cc534f1a05b9"
|
|
43
43
|
}
|