@entur/dropdown 3.0.31 → 3.0.32
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 +87 -87
- package/package.json +5 -5
package/dist/styles.css
CHANGED
|
@@ -2,6 +2,85 @@
|
|
|
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 + .eds-form-control__append {
|
|
6
|
+
margin-left: -2em;
|
|
7
|
+
pointer-events: none;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.eds-dropdown option {
|
|
11
|
+
color: #181c56;
|
|
12
|
+
background-color: #ffffff;
|
|
13
|
+
}
|
|
14
|
+
.eds-contrast .eds-dropdown option {
|
|
15
|
+
color: #181c56;
|
|
16
|
+
}@charset "UTF-8";
|
|
17
|
+
/* DO NOT CHANGE!*/
|
|
18
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
19
|
+
.eds-dropdown-list {
|
|
20
|
+
border-radius: 0.25rem;
|
|
21
|
+
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
22
|
+
display: none;
|
|
23
|
+
list-style: none;
|
|
24
|
+
margin: 0;
|
|
25
|
+
max-height: 50vh;
|
|
26
|
+
padding: 0;
|
|
27
|
+
position: relative;
|
|
28
|
+
overflow-y: auto;
|
|
29
|
+
width: 100%;
|
|
30
|
+
z-index: 20;
|
|
31
|
+
}
|
|
32
|
+
.eds-contrast .eds-dropdown-list {
|
|
33
|
+
box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
|
|
34
|
+
}
|
|
35
|
+
.eds-dropdown-list--open {
|
|
36
|
+
display: inline-block;
|
|
37
|
+
}
|
|
38
|
+
.eds-dropdown-list:focus {
|
|
39
|
+
outline: none;
|
|
40
|
+
}
|
|
41
|
+
@media all and (min-width: 50rem) {
|
|
42
|
+
.eds-dropdown-list {
|
|
43
|
+
max-height: 30vh;
|
|
44
|
+
}
|
|
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
|
+
|
|
80
|
+
.eds-dropdown-list__item-icon {
|
|
81
|
+
margin-left: 0.75rem;
|
|
82
|
+
}/* DO NOT CHANGE!*/
|
|
83
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
5
84
|
.eds-multi-select {
|
|
6
85
|
position: relative;
|
|
7
86
|
}
|
|
@@ -90,93 +169,6 @@
|
|
|
90
169
|
100% {
|
|
91
170
|
stroke-dashoffset: 0;
|
|
92
171
|
}
|
|
93
|
-
}@charset "UTF-8";
|
|
94
|
-
/* DO NOT CHANGE!*/
|
|
95
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
96
|
-
.eds-dropdown-list {
|
|
97
|
-
border-radius: 0.25rem;
|
|
98
|
-
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
99
|
-
display: none;
|
|
100
|
-
list-style: none;
|
|
101
|
-
margin: 0;
|
|
102
|
-
max-height: 50vh;
|
|
103
|
-
padding: 0;
|
|
104
|
-
position: relative;
|
|
105
|
-
overflow-y: auto;
|
|
106
|
-
width: 100%;
|
|
107
|
-
z-index: 20;
|
|
108
|
-
}
|
|
109
|
-
.eds-contrast .eds-dropdown-list {
|
|
110
|
-
box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
|
|
111
|
-
}
|
|
112
|
-
.eds-dropdown-list--open {
|
|
113
|
-
display: inline-block;
|
|
114
|
-
}
|
|
115
|
-
.eds-dropdown-list:focus {
|
|
116
|
-
outline: none;
|
|
117
|
-
}
|
|
118
|
-
@media all and (min-width: 50rem) {
|
|
119
|
-
.eds-dropdown-list {
|
|
120
|
-
max-height: 30vh;
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.eds-dropdown-list__item {
|
|
125
|
-
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
|
-
display: flex;
|
|
132
|
-
justify-content: space-between;
|
|
133
|
-
font-family: inherit;
|
|
134
|
-
font-size: 1rem;
|
|
135
|
-
line-height: 1.25rem;
|
|
136
|
-
padding: 0.75rem 1rem;
|
|
137
|
-
width: 100%;
|
|
138
|
-
}
|
|
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
|
-
|
|
157
|
-
.eds-dropdown-list__item-icon {
|
|
158
|
-
margin-left: 0.75rem;
|
|
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
|
-
}/* DO NOT CHANGE!*/
|
|
173
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
174
|
-
.eds-inline-spinner {
|
|
175
|
-
align-items: center;
|
|
176
|
-
display: flex;
|
|
177
|
-
justify-content: center;
|
|
178
|
-
height: 100%;
|
|
179
|
-
width: 100%;
|
|
180
172
|
}/* DO NOT CHANGE!*/
|
|
181
173
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
182
174
|
.eds-dropdown__searchable-selected-item {
|
|
@@ -201,6 +193,14 @@
|
|
|
201
193
|
|
|
202
194
|
.eds-form-control.eds-dropdown__input::placeholder {
|
|
203
195
|
transition: none;
|
|
196
|
+
}/* DO NOT CHANGE!*/
|
|
197
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
198
|
+
.eds-inline-spinner {
|
|
199
|
+
align-items: center;
|
|
200
|
+
display: flex;
|
|
201
|
+
justify-content: center;
|
|
202
|
+
height: 100%;
|
|
203
|
+
width: 100%;
|
|
204
204
|
}@charset "UTF-8";
|
|
205
205
|
/* DO NOT CHANGE!*/
|
|
206
206
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/dropdown",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.32",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/dropdown.esm.js",
|
|
@@ -29,15 +29,15 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@entur/a11y": "^0.2.59",
|
|
31
31
|
"@entur/button": "^2.10.14",
|
|
32
|
-
"@entur/chip": "^0.6.
|
|
33
|
-
"@entur/form": "^5.4.
|
|
32
|
+
"@entur/chip": "^0.6.22",
|
|
33
|
+
"@entur/form": "^5.4.19",
|
|
34
34
|
"@entur/icons": "^5.8.0",
|
|
35
35
|
"@entur/loader": "^0.4.22",
|
|
36
36
|
"@entur/tokens": "^3.8.0",
|
|
37
|
-
"@entur/tooltip": "^2.6.
|
|
37
|
+
"@entur/tooltip": "^2.6.6",
|
|
38
38
|
"@entur/utils": "^0.5.5",
|
|
39
39
|
"classnames": "^2.3.1",
|
|
40
40
|
"downshift": "^6.1.7"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "3b97ecb2ab0cba40d9f353d936dc0a87a6253108"
|
|
43
43
|
}
|