@entur/dropdown 3.0.22 → 3.0.24
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/dropdown.cjs.development.js +402 -581
- package/dist/dropdown.cjs.development.js.map +1 -1
- package/dist/dropdown.cjs.production.min.js +1 -1
- package/dist/dropdown.cjs.production.min.js.map +1 -1
- package/dist/dropdown.esm.js +402 -581
- package/dist/dropdown.esm.js.map +1 -1
- package/dist/styles.css +22 -45
- package/package.json +21 -14
- package/CHANGELOG.md +0 -615
package/dist/styles.css
CHANGED
|
@@ -2,6 +2,19 @@
|
|
|
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
|
+
}/* DO NOT CHANGE!*/
|
|
17
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
5
18
|
.eds-dropdown-list {
|
|
6
19
|
border-radius: 0.25rem;
|
|
7
20
|
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
@@ -148,14 +161,7 @@
|
|
|
148
161
|
}
|
|
149
162
|
.eds-multiselect-checkbox--checked .eds-checkbox-icon__path {
|
|
150
163
|
stroke: #ffffff;
|
|
151
|
-
|
|
152
|
-
animation: stroke ease-in-out 0.2s 0.1s forwards;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
@-webkit-keyframes stroke {
|
|
156
|
-
100% {
|
|
157
|
-
stroke-dashoffset: 0;
|
|
158
|
-
}
|
|
164
|
+
animation: stroke ease-in-out 0.2s 0.1s forwards;
|
|
159
165
|
}
|
|
160
166
|
|
|
161
167
|
@keyframes stroke {
|
|
@@ -164,27 +170,6 @@
|
|
|
164
170
|
}
|
|
165
171
|
}/* DO NOT CHANGE!*/
|
|
166
172
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
167
|
-
.eds-dropdown + .eds-form-control__append {
|
|
168
|
-
margin-left: -2em;
|
|
169
|
-
pointer-events: none;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
.eds-dropdown option {
|
|
173
|
-
color: #181c56;
|
|
174
|
-
background-color: #ffffff;
|
|
175
|
-
}
|
|
176
|
-
.eds-contrast .eds-dropdown option {
|
|
177
|
-
color: #181c56;
|
|
178
|
-
}/* DO NOT CHANGE!*/
|
|
179
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
180
|
-
.eds-inline-spinner {
|
|
181
|
-
align-items: center;
|
|
182
|
-
display: flex;
|
|
183
|
-
justify-content: center;
|
|
184
|
-
height: 100%;
|
|
185
|
-
width: 100%;
|
|
186
|
-
}/* DO NOT CHANGE!*/
|
|
187
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
188
173
|
.eds-dropdown__searchable-selected-item {
|
|
189
174
|
display: block;
|
|
190
175
|
font-size: 1rem;
|
|
@@ -205,15 +190,18 @@
|
|
|
205
190
|
transition: none;
|
|
206
191
|
}
|
|
207
192
|
|
|
208
|
-
.eds-form-control.eds-dropdown__input:-ms-input-placeholder {
|
|
209
|
-
-ms-transition: none;
|
|
210
|
-
transition: none;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
193
|
.eds-form-control.eds-dropdown__input::placeholder {
|
|
214
194
|
transition: none;
|
|
215
195
|
}/* DO NOT CHANGE!*/
|
|
216
196
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
197
|
+
.eds-inline-spinner {
|
|
198
|
+
align-items: center;
|
|
199
|
+
display: flex;
|
|
200
|
+
justify-content: center;
|
|
201
|
+
height: 100%;
|
|
202
|
+
width: 100%;
|
|
203
|
+
}/* DO NOT CHANGE!*/
|
|
204
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
217
205
|
.eds-searchable-dropdown__wrapper {
|
|
218
206
|
position: relative;
|
|
219
207
|
}
|
|
@@ -335,13 +323,6 @@
|
|
|
335
323
|
bottom: 1px;
|
|
336
324
|
}
|
|
337
325
|
|
|
338
|
-
.eds-form-control.eds-searchable-dropdown__input:-ms-input-placeholder {
|
|
339
|
-
-ms-transition: none;
|
|
340
|
-
transition: none;
|
|
341
|
-
position: relative;
|
|
342
|
-
bottom: 1px;
|
|
343
|
-
}
|
|
344
|
-
|
|
345
326
|
.eds-form-control.eds-searchable-dropdown__input::placeholder {
|
|
346
327
|
transition: none;
|
|
347
328
|
position: relative;
|
|
@@ -363,10 +344,6 @@
|
|
|
363
344
|
color: #656782;
|
|
364
345
|
}
|
|
365
346
|
|
|
366
|
-
.eds-dropdown__input:-ms-input-placeholder {
|
|
367
|
-
color: #656782;
|
|
368
|
-
}
|
|
369
|
-
|
|
370
347
|
.eds-dropdown__input::placeholder {
|
|
371
348
|
color: #656782;
|
|
372
349
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/dropdown",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.24",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/dropdown.esm.js",
|
|
@@ -17,26 +17,33 @@
|
|
|
17
17
|
"access": "public"
|
|
18
18
|
},
|
|
19
19
|
"scripts": {
|
|
20
|
-
"start": "dts watch --noClean",
|
|
21
|
-
"build": "dts build",
|
|
22
|
-
"test": "dts test --env=jsdom",
|
|
23
|
-
"lint": "dts lint"
|
|
20
|
+
"start": "yarn run dts watch --noClean",
|
|
21
|
+
"build": "yarn run dts build",
|
|
22
|
+
"test": "yarn run dts test --env=jsdom",
|
|
23
|
+
"lint": "yarn run dts lint"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"react": ">=16.8.0",
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/a11y": "^0.2.
|
|
31
|
-
"@entur/chip": "^0.6.
|
|
32
|
-
"@entur/form": "^5.4.
|
|
33
|
-
"@entur/icons": "^5.
|
|
34
|
-
"@entur/loader": "^0.4.
|
|
35
|
-
"@entur/tokens": "^3.4.
|
|
36
|
-
"@entur/tooltip": "^2.5.
|
|
37
|
-
"@entur/utils": "^0.4.
|
|
30
|
+
"@entur/a11y": "^0.2.51",
|
|
31
|
+
"@entur/chip": "^0.6.14",
|
|
32
|
+
"@entur/form": "^5.4.11",
|
|
33
|
+
"@entur/icons": "^5.3.0",
|
|
34
|
+
"@entur/loader": "^0.4.14",
|
|
35
|
+
"@entur/tokens": "^3.4.2",
|
|
36
|
+
"@entur/tooltip": "^2.5.23",
|
|
37
|
+
"@entur/utils": "^0.4.7",
|
|
38
38
|
"classnames": "^2.3.1",
|
|
39
39
|
"downshift": "^6.1.7"
|
|
40
40
|
},
|
|
41
|
-
"
|
|
41
|
+
"devDependencies": {
|
|
42
|
+
"dts-cli": "^1.1.6",
|
|
43
|
+
"jest": "^27.0.0",
|
|
44
|
+
"jest-watch-typeahead": "^2.2.0",
|
|
45
|
+
"ts-jest": "^27.0.0",
|
|
46
|
+
"typescript": "^4.8.0"
|
|
47
|
+
},
|
|
48
|
+
"gitHead": "8915b1630bd936740ba9a4a88883f3432948a80e"
|
|
42
49
|
}
|