@entur/dropdown 3.0.37 → 4.0.0-RC.0
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
|
@@ -3,6 +3,84 @@
|
|
|
3
3
|
}
|
|
4
4
|
/* DO NOT CHANGE!*/
|
|
5
5
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
6
|
+
.eds-dropdown + .eds-form-control__append {
|
|
7
|
+
margin-left: -2em;
|
|
8
|
+
pointer-events: none;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.eds-dropdown option {
|
|
12
|
+
color: #181c56;
|
|
13
|
+
background-color: #ffffff;
|
|
14
|
+
}
|
|
15
|
+
.eds-contrast .eds-dropdown option {
|
|
16
|
+
color: #181c56;
|
|
17
|
+
}
|
|
18
|
+
/* DO NOT CHANGE!*/
|
|
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. */
|
|
6
84
|
.eds-multi-select {
|
|
7
85
|
position: relative;
|
|
8
86
|
}
|
|
@@ -94,82 +172,13 @@
|
|
|
94
172
|
}
|
|
95
173
|
/* DO NOT CHANGE!*/
|
|
96
174
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
97
|
-
.eds-
|
|
98
|
-
border-radius: 0.25rem;
|
|
99
|
-
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
100
|
-
display: none;
|
|
101
|
-
list-style: none;
|
|
102
|
-
margin: 0;
|
|
103
|
-
max-height: 50vh;
|
|
104
|
-
padding: 0;
|
|
105
|
-
position: relative;
|
|
106
|
-
overflow-y: auto;
|
|
107
|
-
width: 100%;
|
|
108
|
-
z-index: 20;
|
|
109
|
-
}
|
|
110
|
-
.eds-contrast .eds-dropdown-list {
|
|
111
|
-
box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
|
|
112
|
-
}
|
|
113
|
-
.eds-dropdown-list--open {
|
|
114
|
-
display: inline-block;
|
|
115
|
-
}
|
|
116
|
-
.eds-dropdown-list:focus {
|
|
117
|
-
outline: none;
|
|
118
|
-
}
|
|
119
|
-
@media all and (min-width: 50rem) {
|
|
120
|
-
.eds-dropdown-list {
|
|
121
|
-
max-height: 30vh;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
.eds-dropdown-list__item {
|
|
175
|
+
.eds-inline-spinner {
|
|
125
176
|
align-items: center;
|
|
126
|
-
background-color: #f8f8f8;
|
|
127
|
-
border-bottom: 0.125rem solid #e9e9e9;
|
|
128
|
-
border-left: 0.125rem solid #e9e9e9;
|
|
129
|
-
border-right: 0.125rem solid #e9e9e9;
|
|
130
|
-
color: #181c56;
|
|
131
177
|
display: flex;
|
|
132
|
-
justify-content:
|
|
133
|
-
|
|
134
|
-
font-size: 1rem;
|
|
135
|
-
line-height: 1.25rem;
|
|
136
|
-
padding: 0.75rem 1rem;
|
|
178
|
+
justify-content: center;
|
|
179
|
+
height: 100%;
|
|
137
180
|
width: 100%;
|
|
138
181
|
}
|
|
139
|
-
.eds-dropdown-list__item:first-child {
|
|
140
|
-
border-top: 0.125rem solid #e9e9e9;
|
|
141
|
-
}
|
|
142
|
-
.eds-dropdown-list__item:last-child {
|
|
143
|
-
border-bottom: none;
|
|
144
|
-
}
|
|
145
|
-
.eds-contrast .eds-dropdown-list__item {
|
|
146
|
-
color: #181c56;
|
|
147
|
-
border-color: #54568c;
|
|
148
|
-
background-color: #ffffff;
|
|
149
|
-
}
|
|
150
|
-
.eds-dropdown-list__item--highlighted {
|
|
151
|
-
background-color: #d1d4e3;
|
|
152
|
-
}
|
|
153
|
-
.eds-contrast .eds-dropdown-list__item--highlighted {
|
|
154
|
-
background-color: #d1d4e3;
|
|
155
|
-
}
|
|
156
|
-
.eds-dropdown-list-icon {
|
|
157
|
-
margin-left: 0.75rem;
|
|
158
|
-
}
|
|
159
|
-
/* DO NOT CHANGE!*/
|
|
160
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
161
|
-
.eds-dropdown + .eds-form-control__append {
|
|
162
|
-
margin-left: -2em;
|
|
163
|
-
pointer-events: none;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.eds-dropdown option {
|
|
167
|
-
color: #181c56;
|
|
168
|
-
background-color: #ffffff;
|
|
169
|
-
}
|
|
170
|
-
.eds-contrast .eds-dropdown option {
|
|
171
|
-
color: #181c56;
|
|
172
|
-
}
|
|
173
182
|
/* DO NOT CHANGE!*/
|
|
174
183
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
175
184
|
.eds-dropdown__searchable-selected-item {
|
|
@@ -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": "
|
|
3
|
+
"version": "4.0.0-RC.0",
|
|
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": "6a006c8f17d2e527b88d2099e52b61261c3adc79"
|
|
43
43
|
}
|