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