@geckoui/geckoui 1.6.2 → 1.6.3
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/index.js +7 -2
- package/dist/index.mjs +7 -2
- package/dist/styles.css +0 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4465,8 +4465,13 @@ var Select = (props) => {
|
|
|
4465
4465
|
(0, import_react31.flip)({ padding: 6 }),
|
|
4466
4466
|
(0, import_react31.offset)({ mainAxis: 6 }),
|
|
4467
4467
|
(0, import_react31.size)({
|
|
4468
|
-
|
|
4469
|
-
|
|
4468
|
+
padding: 6,
|
|
4469
|
+
apply({ rects, availableWidth, elements }) {
|
|
4470
|
+
Object.assign(elements.floating.style, {
|
|
4471
|
+
width: "max-content",
|
|
4472
|
+
minWidth: `${rects.reference.width}px`,
|
|
4473
|
+
maxWidth: `${availableWidth}px`
|
|
4474
|
+
});
|
|
4470
4475
|
}
|
|
4471
4476
|
})
|
|
4472
4477
|
],
|
package/dist/index.mjs
CHANGED
|
@@ -4377,8 +4377,13 @@ var Select = (props) => {
|
|
|
4377
4377
|
flip4({ padding: 6 }),
|
|
4378
4378
|
offset4({ mainAxis: 6 }),
|
|
4379
4379
|
size({
|
|
4380
|
-
|
|
4381
|
-
|
|
4380
|
+
padding: 6,
|
|
4381
|
+
apply({ rects, availableWidth, elements }) {
|
|
4382
|
+
Object.assign(elements.floating.style, {
|
|
4383
|
+
width: "max-content",
|
|
4384
|
+
minWidth: `${rects.reference.width}px`,
|
|
4385
|
+
maxWidth: `${availableWidth}px`
|
|
4386
|
+
});
|
|
4382
4387
|
}
|
|
4383
4388
|
})
|
|
4384
4389
|
],
|
package/dist/styles.css
CHANGED