@entur/dropdown 5.0.21 → 5.0.22

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
@@ -1,10 +1,3 @@
1
- .eds-inline-spinner {
2
- align-items: center;
3
- display: flex;
4
- justify-content: center;
5
- height: 100%;
6
- width: 100%;
7
- }
8
1
  /* DO NOT CHANGE!*/
9
2
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
10
3
  .eds-multi-select {
@@ -162,6 +155,66 @@
162
155
  }
163
156
  /* DO NOT CHANGE!*/
164
157
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
158
+ .eds-dropdown__searchable-selected-item {
159
+ display: block;
160
+ font-size: 1rem;
161
+ line-height: 1rem;
162
+ margin-right: -1rem;
163
+ padding: calc(1rem + 0.25rem) 0 0.25rem 1rem;
164
+ font-family: inherit;
165
+ overflow-x: hidden;
166
+ text-overflow: ellipsis;
167
+ white-space: nowrap;
168
+ }
169
+ .eds-dropdown__searchable-selected-item__wrapper {
170
+ max-width: 65%;
171
+ }
172
+
173
+ .eds-form-control.eds-dropdown__input::-moz-placeholder {
174
+ -moz-transition: none;
175
+ transition: none;
176
+ }
177
+
178
+ .eds-form-control.eds-dropdown__input::placeholder {
179
+ transition: none;
180
+ }
181
+ /* DO NOT CHANGE!*/
182
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
183
+ .eds-dropdown__toggle-button {
184
+ -webkit-appearance: none;
185
+ -moz-appearance: none;
186
+ appearance: none;
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;
195
+ display: flex;
196
+ justify-content: center;
197
+ }
198
+ .eds-dropdown__toggle-button--open svg {
199
+ transform: rotate(180deg);
200
+ }
201
+ .eds-dropdown__toggle-button:focus {
202
+ outline-offset: 0.125rem;
203
+ outline: none;
204
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
205
+ }
206
+ .eds-contrast .eds-dropdown__toggle-button:focus {
207
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
208
+ }
209
+ .eds-inline-spinner {
210
+ align-items: center;
211
+ display: flex;
212
+ justify-content: center;
213
+ height: 100%;
214
+ width: 100%;
215
+ }
216
+ /* DO NOT CHANGE!*/
217
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
165
218
  .eds-dropdown-wrapper {
166
219
  position: relative;
167
220
  }
@@ -220,59 +273,6 @@
220
273
  }
221
274
  /* DO NOT CHANGE!*/
222
275
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
223
- .eds-dropdown__toggle-button {
224
- -webkit-appearance: none;
225
- -moz-appearance: none;
226
- appearance: none;
227
- background: none;
228
- border: none;
229
- border-radius: 0;
230
- color: inherit;
231
- font-size: inherit;
232
- font-family: inherit;
233
- margin-right: -0.75rem;
234
- padding: 0.5rem;
235
- display: flex;
236
- justify-content: center;
237
- }
238
- .eds-dropdown__toggle-button--open svg {
239
- transform: rotate(180deg);
240
- }
241
- .eds-dropdown__toggle-button:focus {
242
- outline-offset: 0.125rem;
243
- outline: none;
244
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
245
- }
246
- .eds-contrast .eds-dropdown__toggle-button:focus {
247
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
248
- }
249
- /* DO NOT CHANGE!*/
250
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
251
- .eds-dropdown__searchable-selected-item {
252
- display: block;
253
- font-size: 1rem;
254
- line-height: 1rem;
255
- margin-right: -1rem;
256
- padding: calc(1rem + 0.25rem) 0 0.25rem 1rem;
257
- font-family: inherit;
258
- overflow-x: hidden;
259
- text-overflow: ellipsis;
260
- white-space: nowrap;
261
- }
262
- .eds-dropdown__searchable-selected-item__wrapper {
263
- max-width: 65%;
264
- }
265
-
266
- .eds-form-control.eds-dropdown__input::-moz-placeholder {
267
- -moz-transition: none;
268
- transition: none;
269
- }
270
-
271
- .eds-form-control.eds-dropdown__input::placeholder {
272
- transition: none;
273
- }
274
- /* DO NOT CHANGE!*/
275
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
276
276
  .eds-dropdown__list {
277
277
  position: absolute;
278
278
  list-style: none;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/dropdown",
3
- "version": "5.0.21",
3
+ "version": "5.0.22",
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": "^7.6.1"
41
41
  },
42
- "gitHead": "6e557eb43d533d387713194d8b302ccc101bad20"
42
+ "gitHead": "2f0cf444d6a85a45199d8286b97fd02536dfb9f6"
43
43
  }