mayak-common-library 0.0.81 → 0.0.82
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 +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -379,6 +379,7 @@ var SelectPro = ({
|
|
|
379
379
|
import_material4.Paper,
|
|
380
380
|
{
|
|
381
381
|
sx: (theme2) => ({
|
|
382
|
+
backgroundColor: accentBgColor ? "#F5F5F5" : "#fff",
|
|
382
383
|
width: freeChildWidth ? "fit-content" : !fullContainerWidth && btn ? btn.offsetWidth : "100%",
|
|
383
384
|
// left: fullContainerWidth ? 0 : "initial",
|
|
384
385
|
right: fullContainerWidth ? 0 : "initial",
|
|
@@ -387,7 +388,7 @@ var SelectPro = ({
|
|
|
387
388
|
width: freeChildWidth ? "fit-content" : !fullContainerWidth && btn ? btn.offsetWidth : "115%"
|
|
388
389
|
}
|
|
389
390
|
}),
|
|
390
|
-
className: `absolute select ${open ? "select--open" : "select--close"} z-50 rounded-none shadow-none ${intermediateChild ? "mt-[1px]" : "m-0"}
|
|
391
|
+
className: `absolute select ${open ? "select--open" : "select--close"} z-50 rounded-none shadow-none ${intermediateChild ? "mt-[1px]" : "m-0"}`,
|
|
391
392
|
children: [
|
|
392
393
|
intermediateChild ? intermediateChild : null,
|
|
393
394
|
/* @__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
|
@@ -320,6 +320,7 @@ var SelectPro = ({
|
|
|
320
320
|
Paper,
|
|
321
321
|
{
|
|
322
322
|
sx: (theme2) => ({
|
|
323
|
+
backgroundColor: accentBgColor ? "#F5F5F5" : "#fff",
|
|
323
324
|
width: freeChildWidth ? "fit-content" : !fullContainerWidth && btn ? btn.offsetWidth : "100%",
|
|
324
325
|
// left: fullContainerWidth ? 0 : "initial",
|
|
325
326
|
right: fullContainerWidth ? 0 : "initial",
|
|
@@ -328,7 +329,7 @@ var SelectPro = ({
|
|
|
328
329
|
width: freeChildWidth ? "fit-content" : !fullContainerWidth && btn ? btn.offsetWidth : "115%"
|
|
329
330
|
}
|
|
330
331
|
}),
|
|
331
|
-
className: `absolute select ${open ? "select--open" : "select--close"} z-50 rounded-none shadow-none ${intermediateChild ? "mt-[1px]" : "m-0"}
|
|
332
|
+
className: `absolute select ${open ? "select--open" : "select--close"} z-50 rounded-none shadow-none ${intermediateChild ? "mt-[1px]" : "m-0"}`,
|
|
332
333
|
children: [
|
|
333
334
|
intermediateChild ? intermediateChild : null,
|
|
334
335
|
/* @__PURE__ */ jsxs3(Box, { className: `flex flex-col py-3 px-4 gap-2 shadow-sm`, children: [
|