@entur/dropdown 5.0.22 → 5.0.23
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 +115 -115
- package/package.json +6 -6
package/dist/styles.css
CHANGED
|
@@ -1,96 +1,5 @@
|
|
|
1
1
|
/* DO NOT CHANGE!*/
|
|
2
2
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
|
-
.eds-multi-select {
|
|
4
|
-
position: relative;
|
|
5
|
-
}
|
|
6
|
-
.eds-multi-select__selected-items {
|
|
7
|
-
display: flex;
|
|
8
|
-
align-items: center;
|
|
9
|
-
flex-wrap: wrap;
|
|
10
|
-
position: relative;
|
|
11
|
-
flex: 1 1 0%;
|
|
12
|
-
padding: 0.25rem;
|
|
13
|
-
}
|
|
14
|
-
.eds-multi-select__selected-items-tag.eds-tag-chip {
|
|
15
|
-
margin-left: 0.25rem;
|
|
16
|
-
white-space: nowrap;
|
|
17
|
-
}
|
|
18
|
-
.eds-contrast .eds-multi-select__selected-items-tag.eds-tag-chip svg {
|
|
19
|
-
color: #181c56;
|
|
20
|
-
}
|
|
21
|
-
.eds-multi-select__selected-items-tag.eds-tag-chip:focus {
|
|
22
|
-
outline-offset: 0.125rem;
|
|
23
|
-
}
|
|
24
|
-
.eds-contrast .eds-multi-select__selected-items-tag.eds-tag-chip {
|
|
25
|
-
color: #181c56;
|
|
26
|
-
background: #ebebf1;
|
|
27
|
-
border: 0.0625rem solid #d1d4e3;
|
|
28
|
-
}
|
|
29
|
-
.eds-contrast .eds-multi-select__selected-items-tag.eds-tag-chip .eds-tag-chip__close-button:hover {
|
|
30
|
-
background: #babbcf;
|
|
31
|
-
}
|
|
32
|
-
.eds-multi-select__input {
|
|
33
|
-
flex: 1 1;
|
|
34
|
-
min-height: 44px;
|
|
35
|
-
display: flex;
|
|
36
|
-
align-items: center;
|
|
37
|
-
}
|
|
38
|
-
.eds-multi-select__placeholder {
|
|
39
|
-
padding-left: 1.5rem;
|
|
40
|
-
line-height: 1.375rem;
|
|
41
|
-
font-size: 1rem;
|
|
42
|
-
}
|
|
43
|
-
.eds-checkbox-icon {
|
|
44
|
-
height: 1rem;
|
|
45
|
-
width: 1rem;
|
|
46
|
-
visibility: hidden;
|
|
47
|
-
}
|
|
48
|
-
.eds-checkbox-icon__path {
|
|
49
|
-
transform-origin: 50% 50%;
|
|
50
|
-
stroke-dasharray: 48;
|
|
51
|
-
stroke-dashoffset: 48;
|
|
52
|
-
stroke-width: 0.375rem;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.eds-multiselect {
|
|
56
|
-
position: relative;
|
|
57
|
-
}
|
|
58
|
-
.eds-multiselect__button {
|
|
59
|
-
text-overflow: ellipsis;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.eds-multiselect-checkbox {
|
|
63
|
-
display: inline-flex;
|
|
64
|
-
justify-content: center;
|
|
65
|
-
align-items: center;
|
|
66
|
-
position: relative;
|
|
67
|
-
margin-right: 0.75rem;
|
|
68
|
-
height: 1.25rem;
|
|
69
|
-
width: 1.25rem;
|
|
70
|
-
border: 0.125rem solid #181c56;
|
|
71
|
-
border-radius: 0.0625rem;
|
|
72
|
-
background-color: transparent;
|
|
73
|
-
color: #ffffff;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.eds-multiselect-checkbox--checked {
|
|
77
|
-
background-color: #181c56;
|
|
78
|
-
}
|
|
79
|
-
.eds-multiselect-checkbox--checked .eds-checkbox-icon {
|
|
80
|
-
visibility: visible;
|
|
81
|
-
}
|
|
82
|
-
.eds-multiselect-checkbox--checked .eds-checkbox-icon__path {
|
|
83
|
-
stroke: #ffffff;
|
|
84
|
-
animation: stroke ease-in-out 0.2s 0.1s forwards;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
@keyframes stroke {
|
|
88
|
-
100% {
|
|
89
|
-
stroke-dashoffset: 0;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
/* DO NOT CHANGE!*/
|
|
93
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
94
3
|
.eds-dropdown-list {
|
|
95
4
|
border-radius: 0.25rem;
|
|
96
5
|
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
@@ -155,6 +64,34 @@
|
|
|
155
64
|
}
|
|
156
65
|
/* DO NOT CHANGE!*/
|
|
157
66
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
67
|
+
.eds-dropdown__toggle-button {
|
|
68
|
+
-webkit-appearance: none;
|
|
69
|
+
-moz-appearance: none;
|
|
70
|
+
appearance: none;
|
|
71
|
+
background: none;
|
|
72
|
+
border: none;
|
|
73
|
+
border-radius: 0;
|
|
74
|
+
color: inherit;
|
|
75
|
+
font-size: inherit;
|
|
76
|
+
font-family: inherit;
|
|
77
|
+
margin-right: -0.75rem;
|
|
78
|
+
padding: 0.5rem;
|
|
79
|
+
display: flex;
|
|
80
|
+
justify-content: center;
|
|
81
|
+
}
|
|
82
|
+
.eds-dropdown__toggle-button--open svg {
|
|
83
|
+
transform: rotate(180deg);
|
|
84
|
+
}
|
|
85
|
+
.eds-dropdown__toggle-button:focus {
|
|
86
|
+
outline-offset: 0.125rem;
|
|
87
|
+
outline: none;
|
|
88
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
89
|
+
}
|
|
90
|
+
.eds-contrast .eds-dropdown__toggle-button:focus {
|
|
91
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
92
|
+
}
|
|
93
|
+
/* DO NOT CHANGE!*/
|
|
94
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
158
95
|
.eds-dropdown__searchable-selected-item {
|
|
159
96
|
display: block;
|
|
160
97
|
font-size: 1rem;
|
|
@@ -180,38 +117,94 @@
|
|
|
180
117
|
}
|
|
181
118
|
/* DO NOT CHANGE!*/
|
|
182
119
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
183
|
-
.eds-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
background: none;
|
|
188
|
-
border: none;
|
|
189
|
-
border-radius: 0;
|
|
190
|
-
color: inherit;
|
|
191
|
-
font-size: inherit;
|
|
192
|
-
font-family: inherit;
|
|
193
|
-
margin-right: -0.75rem;
|
|
194
|
-
padding: 0.5rem;
|
|
120
|
+
.eds-multi-select {
|
|
121
|
+
position: relative;
|
|
122
|
+
}
|
|
123
|
+
.eds-multi-select__selected-items {
|
|
195
124
|
display: flex;
|
|
196
|
-
|
|
125
|
+
align-items: center;
|
|
126
|
+
flex-wrap: wrap;
|
|
127
|
+
position: relative;
|
|
128
|
+
flex: 1 1 0%;
|
|
129
|
+
padding: 0.25rem;
|
|
197
130
|
}
|
|
198
|
-
.eds-
|
|
199
|
-
|
|
131
|
+
.eds-multi-select__selected-items-tag.eds-tag-chip {
|
|
132
|
+
margin-left: 0.25rem;
|
|
133
|
+
white-space: nowrap;
|
|
200
134
|
}
|
|
201
|
-
.eds-
|
|
135
|
+
.eds-contrast .eds-multi-select__selected-items-tag.eds-tag-chip svg {
|
|
136
|
+
color: #181c56;
|
|
137
|
+
}
|
|
138
|
+
.eds-multi-select__selected-items-tag.eds-tag-chip:focus {
|
|
202
139
|
outline-offset: 0.125rem;
|
|
203
|
-
outline: none;
|
|
204
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
205
140
|
}
|
|
206
|
-
.eds-contrast .eds-
|
|
207
|
-
|
|
141
|
+
.eds-contrast .eds-multi-select__selected-items-tag.eds-tag-chip {
|
|
142
|
+
color: #181c56;
|
|
143
|
+
background: #ebebf1;
|
|
144
|
+
border: 0.0625rem solid #d1d4e3;
|
|
208
145
|
}
|
|
209
|
-
.eds-
|
|
210
|
-
|
|
146
|
+
.eds-contrast .eds-multi-select__selected-items-tag.eds-tag-chip .eds-tag-chip__close-button:hover {
|
|
147
|
+
background: #babbcf;
|
|
148
|
+
}
|
|
149
|
+
.eds-multi-select__input {
|
|
150
|
+
flex: 1 1;
|
|
151
|
+
min-height: 44px;
|
|
211
152
|
display: flex;
|
|
153
|
+
align-items: center;
|
|
154
|
+
}
|
|
155
|
+
.eds-multi-select__placeholder {
|
|
156
|
+
padding-left: 1.5rem;
|
|
157
|
+
line-height: 1.375rem;
|
|
158
|
+
font-size: 1rem;
|
|
159
|
+
}
|
|
160
|
+
.eds-checkbox-icon {
|
|
161
|
+
height: 1rem;
|
|
162
|
+
width: 1rem;
|
|
163
|
+
visibility: hidden;
|
|
164
|
+
}
|
|
165
|
+
.eds-checkbox-icon__path {
|
|
166
|
+
transform-origin: 50% 50%;
|
|
167
|
+
stroke-dasharray: 48;
|
|
168
|
+
stroke-dashoffset: 48;
|
|
169
|
+
stroke-width: 0.375rem;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.eds-multiselect {
|
|
173
|
+
position: relative;
|
|
174
|
+
}
|
|
175
|
+
.eds-multiselect__button {
|
|
176
|
+
text-overflow: ellipsis;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.eds-multiselect-checkbox {
|
|
180
|
+
display: inline-flex;
|
|
212
181
|
justify-content: center;
|
|
213
|
-
|
|
214
|
-
|
|
182
|
+
align-items: center;
|
|
183
|
+
position: relative;
|
|
184
|
+
margin-right: 0.75rem;
|
|
185
|
+
height: 1.25rem;
|
|
186
|
+
width: 1.25rem;
|
|
187
|
+
border: 0.125rem solid #181c56;
|
|
188
|
+
border-radius: 0.0625rem;
|
|
189
|
+
background-color: transparent;
|
|
190
|
+
color: #ffffff;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.eds-multiselect-checkbox--checked {
|
|
194
|
+
background-color: #181c56;
|
|
195
|
+
}
|
|
196
|
+
.eds-multiselect-checkbox--checked .eds-checkbox-icon {
|
|
197
|
+
visibility: visible;
|
|
198
|
+
}
|
|
199
|
+
.eds-multiselect-checkbox--checked .eds-checkbox-icon__path {
|
|
200
|
+
stroke: #ffffff;
|
|
201
|
+
animation: stroke ease-in-out 0.2s 0.1s forwards;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
@keyframes stroke {
|
|
205
|
+
100% {
|
|
206
|
+
stroke-dashoffset: 0;
|
|
207
|
+
}
|
|
215
208
|
}
|
|
216
209
|
/* DO NOT CHANGE!*/
|
|
217
210
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -271,6 +264,13 @@
|
|
|
271
264
|
.eds-contrast .eds-form-control-wrapper--disabled .eds-dropdown__divider {
|
|
272
265
|
background-color: #8285a8;
|
|
273
266
|
}
|
|
267
|
+
.eds-inline-spinner {
|
|
268
|
+
align-items: center;
|
|
269
|
+
display: flex;
|
|
270
|
+
justify-content: center;
|
|
271
|
+
height: 100%;
|
|
272
|
+
width: 100%;
|
|
273
|
+
}
|
|
274
274
|
/* DO NOT CHANGE!*/
|
|
275
275
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
276
276
|
.eds-dropdown__list {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/dropdown",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.23",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/dropdown.esm.js",
|
|
@@ -28,16 +28,16 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@entur/a11y": "^0.2.71",
|
|
31
|
-
"@entur/button": "^3.
|
|
32
|
-
"@entur/chip": "^0.6.
|
|
33
|
-
"@entur/form": "^7.0.
|
|
31
|
+
"@entur/button": "^3.2.0",
|
|
32
|
+
"@entur/chip": "^0.6.55",
|
|
33
|
+
"@entur/form": "^7.0.27",
|
|
34
34
|
"@entur/icons": "^6.12.0",
|
|
35
35
|
"@entur/loader": "^0.4.47",
|
|
36
36
|
"@entur/tokens": "^3.11.0",
|
|
37
|
-
"@entur/tooltip": "^2.6.
|
|
37
|
+
"@entur/tooltip": "^2.6.36",
|
|
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": "ce91791c414af0274bcff712cacfad25a44c45c2"
|
|
43
43
|
}
|