mayak-common-library 0.0.102 → 0.0.103

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
@@ -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
@@ -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.103",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",