mayak-common-library 0.0.83 → 0.0.84
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.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +21 -13
- package/dist/index.mjs +21 -13
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -308,7 +308,8 @@ var SelectPro = ({
|
|
|
308
308
|
openUp,
|
|
309
309
|
intermediateChild,
|
|
310
310
|
accentBgColor,
|
|
311
|
-
paperSx
|
|
311
|
+
paperSx,
|
|
312
|
+
childContainerSx
|
|
312
313
|
}) => {
|
|
313
314
|
const [btn, setAnchorEl] = (0, import_react2.useState)(null);
|
|
314
315
|
const [open, setOpen] = (0, import_react2.useState)(false);
|
|
@@ -392,18 +393,25 @@ var SelectPro = ({
|
|
|
392
393
|
className: `absolute select ${open ? "select--open" : "select--close"} z-50 rounded-none shadow-none ${intermediateChild ? "mt-[1px]" : "m-0"}`,
|
|
393
394
|
children: [
|
|
394
395
|
intermediateChild ? intermediateChild : null,
|
|
395
|
-
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
396
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
|
|
397
|
+
import_material4.Box,
|
|
398
|
+
{
|
|
399
|
+
className: `flex flex-col py-3 px-4 gap-2 shadow-sm`,
|
|
400
|
+
sx: childContainerSx,
|
|
401
|
+
children: [
|
|
402
|
+
overButton ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
403
|
+
IconButton_default,
|
|
404
|
+
{
|
|
405
|
+
className: "bg-accent-silver p-1 self-end absolute",
|
|
406
|
+
onClick: handleClose,
|
|
407
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(close_default, {})
|
|
408
|
+
}
|
|
409
|
+
) : null,
|
|
410
|
+
childTitle ? childTitle : null,
|
|
411
|
+
childrenWithHandleChange
|
|
412
|
+
]
|
|
413
|
+
}
|
|
414
|
+
)
|
|
407
415
|
]
|
|
408
416
|
}
|
|
409
417
|
) : null
|
package/dist/index.mjs
CHANGED
|
@@ -249,7 +249,8 @@ var SelectPro = ({
|
|
|
249
249
|
openUp,
|
|
250
250
|
intermediateChild,
|
|
251
251
|
accentBgColor,
|
|
252
|
-
paperSx
|
|
252
|
+
paperSx,
|
|
253
|
+
childContainerSx
|
|
253
254
|
}) => {
|
|
254
255
|
const [btn, setAnchorEl] = useState2(null);
|
|
255
256
|
const [open, setOpen] = useState2(false);
|
|
@@ -333,18 +334,25 @@ var SelectPro = ({
|
|
|
333
334
|
className: `absolute select ${open ? "select--open" : "select--close"} z-50 rounded-none shadow-none ${intermediateChild ? "mt-[1px]" : "m-0"}`,
|
|
334
335
|
children: [
|
|
335
336
|
intermediateChild ? intermediateChild : null,
|
|
336
|
-
/* @__PURE__ */ jsxs3(
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
337
|
+
/* @__PURE__ */ jsxs3(
|
|
338
|
+
Box,
|
|
339
|
+
{
|
|
340
|
+
className: `flex flex-col py-3 px-4 gap-2 shadow-sm`,
|
|
341
|
+
sx: childContainerSx,
|
|
342
|
+
children: [
|
|
343
|
+
overButton ? /* @__PURE__ */ jsx7(
|
|
344
|
+
IconButton_default,
|
|
345
|
+
{
|
|
346
|
+
className: "bg-accent-silver p-1 self-end absolute",
|
|
347
|
+
onClick: handleClose,
|
|
348
|
+
children: /* @__PURE__ */ jsx7(close_default, {})
|
|
349
|
+
}
|
|
350
|
+
) : null,
|
|
351
|
+
childTitle ? childTitle : null,
|
|
352
|
+
childrenWithHandleChange
|
|
353
|
+
]
|
|
354
|
+
}
|
|
355
|
+
)
|
|
348
356
|
]
|
|
349
357
|
}
|
|
350
358
|
) : null
|