@entur/dropdown 5.4.11 → 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
@@ -91,31 +91,6 @@
91
91
  }
92
92
  /* DO NOT CHANGE!*/
93
93
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
94
- .eds-dropdown__searchable-selected-item {
95
- display: block;
96
- font-size: 1rem;
97
- line-height: 1rem;
98
- margin-right: -1rem;
99
- padding: calc(1rem + 0.25rem) 0 0.25rem 1rem;
100
- font-family: inherit;
101
- overflow-x: hidden;
102
- text-overflow: ellipsis;
103
- white-space: nowrap;
104
- }
105
- .eds-dropdown__searchable-selected-item__wrapper {
106
- max-width: 65%;
107
- }
108
-
109
- .eds-form-control.eds-dropdown__input::-moz-placeholder {
110
- -moz-transition: none;
111
- transition: none;
112
- }
113
-
114
- .eds-form-control.eds-dropdown__input::placeholder {
115
- transition: none;
116
- }
117
- /* DO NOT CHANGE!*/
118
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
119
94
  .eds-dropdown-list {
120
95
  border-radius: 0.25rem;
121
96
  box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
@@ -178,6 +153,13 @@
178
153
  .eds-dropdown-list-icon {
179
154
  margin-left: 0.75rem;
180
155
  }
156
+ .eds-inline-spinner {
157
+ align-items: center;
158
+ display: flex;
159
+ justify-content: center;
160
+ height: 100%;
161
+ width: 100%;
162
+ }
181
163
  /* DO NOT CHANGE!*/
182
164
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
183
165
  .eds-dropdown-wrapper {
@@ -264,24 +246,40 @@
264
246
  .eds-contrast .eds-dropdown__toggle-button:focus {
265
247
  box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
266
248
  }
267
- .eds-inline-spinner {
268
- align-items: center;
269
- display: flex;
270
- justify-content: center;
271
- height: 100%;
272
- width: 100%;
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
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 {
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%;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/dropdown",
3
- "version": "5.4.11",
3
+ "version": "5.5.0",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/dropdown.esm.js",
@@ -29,15 +29,16 @@
29
29
  "dependencies": {
30
30
  "@entur/a11y": "^0.2.86",
31
31
  "@entur/button": "^3.2.26",
32
- "@entur/chip": "^0.7.12",
33
- "@entur/form": "^7.1.11",
32
+ "@entur/chip": "^0.7.13",
33
+ "@entur/form": "^7.2.0",
34
34
  "@entur/icons": "^6.18.0",
35
35
  "@entur/loader": "^0.5.4",
36
36
  "@entur/tokens": "^3.15.1",
37
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": "59263b656c7de882e8ecf50bdb49f7ddfd283026"
43
+ "gitHead": "750c39e0b36eff3beaa9f6a38ae2dea6e29d2085"
43
44
  }