mayak-common-library 0.0.102 → 0.0.104

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 CHANGED
@@ -419,7 +419,7 @@ var SelectPro = ({
419
419
  width: freeChildWidth ? "fit-content" : !fullContainerWidth && btn ? btn.offsetWidth : "115%"
420
420
  }
421
421
  }, paperSx),
422
- className: `absolute select ${open ? `${reverseAnimation ? "select--open-reverse" : "select--open"}` : `${reverseAnimation ? "select--close-reverse" : "select--close"}`} z-50 rounded-none shadow-none ${intermediateChild ? "mt-[1px]" : "m-0"}`,
422
+ className: `absolute select ${open ? `${reverseAnimation ? "select--open-reverse" : "select--open"}` : `${reverseAnimation ? "select--close-reverse" : "select--close"}`} z-[100000] rounded-none shadow-none ${intermediateChild ? "mt-[1px]" : "m-0"}`,
423
423
  children: [
424
424
  intermediateChild ? intermediateChild : null,
425
425
  /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
@@ -1370,7 +1370,7 @@ var ToggleButtonsWithLabel = (props) => {
1370
1370
  } = props;
1371
1371
  const { field } = (0, import_react_hook_form3.useController)(props);
1372
1372
  const handleFormat = (_event, newFormats) => {
1373
- if (newFormats !== null) field.onChange(newFormats);
1373
+ field.onChange(newFormats);
1374
1374
  if (collapseOnClick && collapseParent) collapseParent();
1375
1375
  };
1376
1376
  return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_material30.Stack, { children: [
package/dist/index.mjs CHANGED
@@ -360,7 +360,7 @@ var SelectPro = ({
360
360
  width: freeChildWidth ? "fit-content" : !fullContainerWidth && btn ? btn.offsetWidth : "115%"
361
361
  }
362
362
  }, paperSx),
363
- className: `absolute select ${open ? `${reverseAnimation ? "select--open-reverse" : "select--open"}` : `${reverseAnimation ? "select--close-reverse" : "select--close"}`} z-50 rounded-none shadow-none ${intermediateChild ? "mt-[1px]" : "m-0"}`,
363
+ className: `absolute select ${open ? `${reverseAnimation ? "select--open-reverse" : "select--open"}` : `${reverseAnimation ? "select--close-reverse" : "select--close"}`} z-[100000] rounded-none shadow-none ${intermediateChild ? "mt-[1px]" : "m-0"}`,
364
364
  children: [
365
365
  intermediateChild ? intermediateChild : null,
366
366
  /* @__PURE__ */ jsxs3(
@@ -1325,7 +1325,7 @@ var ToggleButtonsWithLabel = (props) => {
1325
1325
  } = props;
1326
1326
  const { field } = useController3(props);
1327
1327
  const handleFormat = (_event, newFormats) => {
1328
- if (newFormats !== null) field.onChange(newFormats);
1328
+ field.onChange(newFormats);
1329
1329
  if (collapseOnClick && collapseParent) collapseParent();
1330
1330
  };
1331
1331
  return /* @__PURE__ */ jsxs18(Stack6, { children: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mayak-common-library",
3
- "version": "0.0.102",
3
+ "version": "0.0.104",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",