mayak-common-library 0.0.77 → 0.0.78
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 +10 -1
- package/dist/index.mjs +10 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -377,7 +377,16 @@ var SelectPro = ({
|
|
|
377
377
|
btn ? /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
|
|
378
378
|
import_material4.Paper,
|
|
379
379
|
{
|
|
380
|
-
|
|
380
|
+
sx: (theme2) => ({
|
|
381
|
+
width: freeChildWidth ? "fit-content" : !fullContainerWidth && btn ? btn.offsetWidth : "115%",
|
|
382
|
+
left: fullContainerWidth ? 0 : "initial",
|
|
383
|
+
right: fullContainerWidth ? 0 : "initial",
|
|
384
|
+
top: overButton ? 0 : "initial",
|
|
385
|
+
[theme2.breakpoints.up("sm")]: {
|
|
386
|
+
width: freeChildWidth ? "fit-content" : !fullContainerWidth && btn ? btn.offsetWidth : "100%"
|
|
387
|
+
}
|
|
388
|
+
}),
|
|
389
|
+
className: `absolute select ${open ? "select--open" : "select--close"} z-50 rounded-none shadow-none ${intermediateChild ? "mt-[1px]" : "m-0"}`,
|
|
381
390
|
children: [
|
|
382
391
|
intermediateChild ? intermediateChild : null,
|
|
383
392
|
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(import_material4.Box, { className: `flex flex-col py-3 px-4 gap-2 shadow-sm`, children: [
|
package/dist/index.mjs
CHANGED
|
@@ -318,7 +318,16 @@ var SelectPro = ({
|
|
|
318
318
|
btn ? /* @__PURE__ */ jsxs3(
|
|
319
319
|
Paper,
|
|
320
320
|
{
|
|
321
|
-
|
|
321
|
+
sx: (theme2) => ({
|
|
322
|
+
width: freeChildWidth ? "fit-content" : !fullContainerWidth && btn ? btn.offsetWidth : "115%",
|
|
323
|
+
left: fullContainerWidth ? 0 : "initial",
|
|
324
|
+
right: fullContainerWidth ? 0 : "initial",
|
|
325
|
+
top: overButton ? 0 : "initial",
|
|
326
|
+
[theme2.breakpoints.up("sm")]: {
|
|
327
|
+
width: freeChildWidth ? "fit-content" : !fullContainerWidth && btn ? btn.offsetWidth : "100%"
|
|
328
|
+
}
|
|
329
|
+
}),
|
|
330
|
+
className: `absolute select ${open ? "select--open" : "select--close"} z-50 rounded-none shadow-none ${intermediateChild ? "mt-[1px]" : "m-0"}`,
|
|
322
331
|
children: [
|
|
323
332
|
intermediateChild ? intermediateChild : null,
|
|
324
333
|
/* @__PURE__ */ jsxs3(Box, { className: `flex flex-col py-3 px-4 gap-2 shadow-sm`, children: [
|