@entur/dropdown 5.4.11-beta.0 → 5.5.0

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,30 +1,5 @@
1
1
  /* DO NOT CHANGE!*/
2
2
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
- .eds-dropdown__searchable-selected-item {
4
- display: block;
5
- font-size: 1rem;
6
- line-height: 1rem;
7
- margin-right: -1rem;
8
- padding: calc(1rem + 0.25rem) 0 0.25rem 1rem;
9
- font-family: inherit;
10
- overflow-x: hidden;
11
- text-overflow: ellipsis;
12
- white-space: nowrap;
13
- }
14
- .eds-dropdown__searchable-selected-item__wrapper {
15
- max-width: 65%;
16
- }
17
-
18
- .eds-form-control.eds-dropdown__input::-moz-placeholder {
19
- -moz-transition: none;
20
- transition: none;
21
- }
22
-
23
- .eds-form-control.eds-dropdown__input::placeholder {
24
- transition: none;
25
- }
26
- /* DO NOT CHANGE!*/
27
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
28
3
  .eds-multi-select {
29
4
  position: relative;
30
5
  }
@@ -114,13 +89,6 @@
114
89
  stroke-dashoffset: 0;
115
90
  }
116
91
  }
117
- .eds-inline-spinner {
118
- align-items: center;
119
- display: flex;
120
- justify-content: center;
121
- height: 100%;
122
- width: 100%;
123
- }
124
92
  /* DO NOT CHANGE!*/
125
93
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
126
94
  .eds-dropdown-list {
@@ -185,6 +153,13 @@
185
153
  .eds-dropdown-list-icon {
186
154
  margin-left: 0.75rem;
187
155
  }
156
+ .eds-inline-spinner {
157
+ align-items: center;
158
+ display: flex;
159
+ justify-content: center;
160
+ height: 100%;
161
+ width: 100%;
162
+ }
188
163
  /* DO NOT CHANGE!*/
189
164
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
190
165
  .eds-dropdown-wrapper {
@@ -273,15 +248,38 @@
273
248
  }
274
249
  /* DO NOT CHANGE!*/
275
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
- position: absolute;
278
277
  list-style: none;
279
278
  border-radius: 0.25rem;
280
279
  border: 0.125rem solid var(--components-form-basemenu-border);
281
280
  box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
282
281
  padding: 0;
283
282
  margin: 0;
284
- margin-top: 0.5rem;
285
283
  max-height: 50vh;
286
284
  overflow-y: auto;
287
285
  width: 100%;
@@ -494,6 +492,7 @@
494
492
  text-overflow: ellipsis;
495
493
  line-height: 1rem;
496
494
  padding: 1.25rem 1rem 0.25rem;
495
+ min-height: 2.75rem;
497
496
  }
498
497
  .eds-dropdown__selected-item.focus-visible {
499
498
  outline: none;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/dropdown",
3
- "version": "5.4.11-beta.0",
3
+ "version": "5.5.0",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/dropdown.esm.js",
@@ -27,17 +27,18 @@
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/a11y": "^0.2.86-beta.0",
31
- "@entur/button": "^3.2.26-beta.0",
32
- "@entur/chip": "^0.7.12-beta.0",
33
- "@entur/form": "^7.1.11-beta.0",
34
- "@entur/icons": "^6.17.2-beta.0",
35
- "@entur/loader": "^0.5.4-beta.0",
36
- "@entur/tokens": "^3.15.1-beta.0",
37
- "@entur/tooltip": "^2.7.10-beta.0",
30
+ "@entur/a11y": "^0.2.86",
31
+ "@entur/button": "^3.2.26",
32
+ "@entur/chip": "^0.7.13",
33
+ "@entur/form": "^7.2.0",
34
+ "@entur/icons": "^6.18.0",
35
+ "@entur/loader": "^0.5.4",
36
+ "@entur/tokens": "^3.15.1",
37
+ "@entur/tooltip": "^2.7.10",
38
38
  "@entur/utils": "^0.11.1",
39
+ "@floating-ui/react-dom": "^2.1.0",
39
40
  "classnames": "^2.3.1",
40
41
  "downshift": "^8.3.3"
41
42
  },
42
- "gitHead": "ea1ac384e3dcc4ad6a5949dbb85c5eb271d5e8a1"
43
+ "gitHead": "750c39e0b36eff3beaa9f6a38ae2dea6e29d2085"
43
44
  }