@entur/dropdown 3.0.24 → 3.0.26
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/CHANGELOG.md +631 -0
- package/dist/dropdown.cjs.development.js +581 -402
- 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 +581 -402
- package/dist/dropdown.esm.js.map +1 -1
- package/dist/styles.css +89 -73
- package/package.json +15 -21
package/dist/styles.css
CHANGED
|
@@ -15,71 +15,6 @@
|
|
|
15
15
|
color: #181c56;
|
|
16
16
|
}/* DO NOT CHANGE!*/
|
|
17
17
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
18
|
-
.eds-dropdown-list {
|
|
19
|
-
border-radius: 0.25rem;
|
|
20
|
-
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
21
|
-
display: none;
|
|
22
|
-
list-style: none;
|
|
23
|
-
margin: 0;
|
|
24
|
-
max-height: 50vh;
|
|
25
|
-
padding: 0;
|
|
26
|
-
position: relative;
|
|
27
|
-
overflow-y: auto;
|
|
28
|
-
width: 100%;
|
|
29
|
-
z-index: 20;
|
|
30
|
-
}
|
|
31
|
-
.eds-contrast .eds-dropdown-list {
|
|
32
|
-
box-shadow: 0 0.0625rem 0.1875rem #393d79;
|
|
33
|
-
}
|
|
34
|
-
.eds-dropdown-list--open {
|
|
35
|
-
display: inline-block;
|
|
36
|
-
}
|
|
37
|
-
.eds-dropdown-list:focus {
|
|
38
|
-
outline: none;
|
|
39
|
-
}
|
|
40
|
-
@media all and (min-width: 50rem) {
|
|
41
|
-
.eds-dropdown-list {
|
|
42
|
-
max-height: 30vh;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.eds-dropdown-list__item {
|
|
47
|
-
align-items: center;
|
|
48
|
-
background-color: #f8f8f8;
|
|
49
|
-
border-bottom: 0.125rem solid #e9e9e9;
|
|
50
|
-
border-left: 0.125rem solid #e9e9e9;
|
|
51
|
-
border-right: 0.125rem solid #e9e9e9;
|
|
52
|
-
color: #181c56;
|
|
53
|
-
display: flex;
|
|
54
|
-
justify-content: space-between;
|
|
55
|
-
font-family: inherit;
|
|
56
|
-
font-size: 1rem;
|
|
57
|
-
line-height: 1.25rem;
|
|
58
|
-
padding: 0.75rem 1rem;
|
|
59
|
-
width: 100%;
|
|
60
|
-
}
|
|
61
|
-
.eds-dropdown-list__item:first-child {
|
|
62
|
-
border-top: 0.125rem solid #e9e9e9;
|
|
63
|
-
}
|
|
64
|
-
.eds-dropdown-list__item:last-child {
|
|
65
|
-
border-bottom: none;
|
|
66
|
-
}
|
|
67
|
-
.eds-contrast .eds-dropdown-list__item {
|
|
68
|
-
color: #181c56;
|
|
69
|
-
border-color: #54568c;
|
|
70
|
-
background-color: #ffffff;
|
|
71
|
-
}
|
|
72
|
-
.eds-dropdown-list__item--highlighted {
|
|
73
|
-
background-color: #d1d4e3;
|
|
74
|
-
}
|
|
75
|
-
.eds-contrast .eds-dropdown-list__item--highlighted {
|
|
76
|
-
background-color: #d1d4e3;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.eds-dropdown-list__item-icon {
|
|
80
|
-
margin-left: 0.75rem;
|
|
81
|
-
}/* DO NOT CHANGE!*/
|
|
82
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
83
18
|
.eds-multi-select {
|
|
84
19
|
position: relative;
|
|
85
20
|
}
|
|
@@ -170,6 +105,79 @@
|
|
|
170
105
|
}
|
|
171
106
|
}/* DO NOT CHANGE!*/
|
|
172
107
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
108
|
+
.eds-dropdown-list {
|
|
109
|
+
border-radius: 0.25rem;
|
|
110
|
+
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
111
|
+
display: none;
|
|
112
|
+
list-style: none;
|
|
113
|
+
margin: 0;
|
|
114
|
+
max-height: 50vh;
|
|
115
|
+
padding: 0;
|
|
116
|
+
position: relative;
|
|
117
|
+
overflow-y: auto;
|
|
118
|
+
width: 100%;
|
|
119
|
+
z-index: 20;
|
|
120
|
+
}
|
|
121
|
+
.eds-contrast .eds-dropdown-list {
|
|
122
|
+
box-shadow: 0 0.0625rem 0.1875rem #393d79;
|
|
123
|
+
}
|
|
124
|
+
.eds-dropdown-list--open {
|
|
125
|
+
display: inline-block;
|
|
126
|
+
}
|
|
127
|
+
.eds-dropdown-list:focus {
|
|
128
|
+
outline: none;
|
|
129
|
+
}
|
|
130
|
+
@media all and (min-width: 50rem) {
|
|
131
|
+
.eds-dropdown-list {
|
|
132
|
+
max-height: 30vh;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.eds-dropdown-list__item {
|
|
137
|
+
align-items: center;
|
|
138
|
+
background-color: #f8f8f8;
|
|
139
|
+
border-bottom: 0.125rem solid #e9e9e9;
|
|
140
|
+
border-left: 0.125rem solid #e9e9e9;
|
|
141
|
+
border-right: 0.125rem solid #e9e9e9;
|
|
142
|
+
color: #181c56;
|
|
143
|
+
display: flex;
|
|
144
|
+
justify-content: space-between;
|
|
145
|
+
font-family: inherit;
|
|
146
|
+
font-size: 1rem;
|
|
147
|
+
line-height: 1.25rem;
|
|
148
|
+
padding: 0.75rem 1rem;
|
|
149
|
+
width: 100%;
|
|
150
|
+
}
|
|
151
|
+
.eds-dropdown-list__item:first-child {
|
|
152
|
+
border-top: 0.125rem solid #e9e9e9;
|
|
153
|
+
}
|
|
154
|
+
.eds-dropdown-list__item:last-child {
|
|
155
|
+
border-bottom: none;
|
|
156
|
+
}
|
|
157
|
+
.eds-contrast .eds-dropdown-list__item {
|
|
158
|
+
color: #181c56;
|
|
159
|
+
border-color: #54568c;
|
|
160
|
+
background-color: #ffffff;
|
|
161
|
+
}
|
|
162
|
+
.eds-dropdown-list__item--highlighted {
|
|
163
|
+
background-color: #d1d4e3;
|
|
164
|
+
}
|
|
165
|
+
.eds-contrast .eds-dropdown-list__item--highlighted {
|
|
166
|
+
background-color: #d1d4e3;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.eds-dropdown-list__item-icon {
|
|
170
|
+
margin-left: 0.75rem;
|
|
171
|
+
}/* DO NOT CHANGE!*/
|
|
172
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
173
|
+
.eds-inline-spinner {
|
|
174
|
+
align-items: center;
|
|
175
|
+
display: flex;
|
|
176
|
+
justify-content: center;
|
|
177
|
+
height: 100%;
|
|
178
|
+
width: 100%;
|
|
179
|
+
}/* DO NOT CHANGE!*/
|
|
180
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
173
181
|
.eds-dropdown__searchable-selected-item {
|
|
174
182
|
display: block;
|
|
175
183
|
font-size: 1rem;
|
|
@@ -190,18 +198,15 @@
|
|
|
190
198
|
transition: none;
|
|
191
199
|
}
|
|
192
200
|
|
|
201
|
+
.eds-form-control.eds-dropdown__input:-ms-input-placeholder {
|
|
202
|
+
-ms-transition: none;
|
|
203
|
+
transition: none;
|
|
204
|
+
}
|
|
205
|
+
|
|
193
206
|
.eds-form-control.eds-dropdown__input::placeholder {
|
|
194
207
|
transition: none;
|
|
195
208
|
}/* DO NOT CHANGE!*/
|
|
196
209
|
/* 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. */
|
|
205
210
|
.eds-searchable-dropdown__wrapper {
|
|
206
211
|
position: relative;
|
|
207
212
|
}
|
|
@@ -323,6 +328,13 @@
|
|
|
323
328
|
bottom: 1px;
|
|
324
329
|
}
|
|
325
330
|
|
|
331
|
+
.eds-form-control.eds-searchable-dropdown__input:-ms-input-placeholder {
|
|
332
|
+
-ms-transition: none;
|
|
333
|
+
transition: none;
|
|
334
|
+
position: relative;
|
|
335
|
+
bottom: 1px;
|
|
336
|
+
}
|
|
337
|
+
|
|
326
338
|
.eds-form-control.eds-searchable-dropdown__input::placeholder {
|
|
327
339
|
transition: none;
|
|
328
340
|
position: relative;
|
|
@@ -344,6 +356,10 @@
|
|
|
344
356
|
color: #656782;
|
|
345
357
|
}
|
|
346
358
|
|
|
359
|
+
.eds-dropdown__input:-ms-input-placeholder {
|
|
360
|
+
color: #656782;
|
|
361
|
+
}
|
|
362
|
+
|
|
347
363
|
.eds-dropdown__input::placeholder {
|
|
348
364
|
color: #656782;
|
|
349
365
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/dropdown",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.26",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/dropdown.esm.js",
|
|
@@ -17,33 +17,27 @@
|
|
|
17
17
|
"access": "public"
|
|
18
18
|
},
|
|
19
19
|
"scripts": {
|
|
20
|
-
"start": "
|
|
21
|
-
"build": "
|
|
22
|
-
"test": "
|
|
23
|
-
"lint": "
|
|
20
|
+
"start": "dts watch --noClean",
|
|
21
|
+
"build": "dts build",
|
|
22
|
+
"test": "dts test",
|
|
23
|
+
"lint": "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/
|
|
32
|
-
"@entur/
|
|
33
|
-
"@entur/
|
|
34
|
-
"@entur/
|
|
35
|
-
"@entur/
|
|
36
|
-
"@entur/
|
|
37
|
-
"@entur/
|
|
30
|
+
"@entur/a11y": "^0.2.53",
|
|
31
|
+
"@entur/button": "^2.10.8",
|
|
32
|
+
"@entur/chip": "^0.6.16",
|
|
33
|
+
"@entur/form": "^5.4.13",
|
|
34
|
+
"@entur/icons": "^5.4.1",
|
|
35
|
+
"@entur/loader": "^0.4.16",
|
|
36
|
+
"@entur/tokens": "^3.4.4",
|
|
37
|
+
"@entur/tooltip": "^2.6.0",
|
|
38
|
+
"@entur/utils": "^0.4.9",
|
|
38
39
|
"classnames": "^2.3.1",
|
|
39
40
|
"downshift": "^6.1.7"
|
|
40
41
|
},
|
|
41
|
-
"
|
|
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
|
+
"gitHead": "de71e205560a699e2dce301e133966dc9348c459"
|
|
49
43
|
}
|