@algodomain/smart-forms 0.1.11 → 0.1.12

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.cjs CHANGED
@@ -660,6 +660,7 @@ function Tabs({
660
660
  if (!isControlled) setActiveValue(val);
661
661
  else props.onValueChange?.(val);
662
662
  };
663
+ const { onValueChange, ...divProps } = props;
663
664
  return /* @__PURE__ */ jsxRuntime.jsx(TabsConfigContext.Provider, { value: config, children: /* @__PURE__ */ jsxRuntime.jsx(
664
665
  TabsContext.Provider,
665
666
  {
@@ -668,7 +669,7 @@ function Tabs({
668
669
  handleValueChange,
669
670
  registerTrigger
670
671
  },
671
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "tabs", className: chunkAEN4A4ST_cjs.cn("flex flex-col gap-2", className), ...props, children: props.children })
672
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "tabs", className: chunkAEN4A4ST_cjs.cn("flex flex-col gap-2", className), ...divProps, children: props.children })
672
673
  }
673
674
  ) });
674
675
  }
@@ -1651,7 +1652,7 @@ var SmartTextArea = ({
1651
1652
  maxLength,
1652
1653
  minLength,
1653
1654
  name,
1654
- dirName,
1655
+ dirname,
1655
1656
  form
1656
1657
  }) => {
1657
1658
  const { formData } = chunkAEN4A4ST_cjs.useSmartForm();
@@ -1752,7 +1753,7 @@ var SmartTextArea = ({
1752
1753
  maxLength,
1753
1754
  minLength,
1754
1755
  name,
1755
- dirName,
1756
+ dirName: dirname,
1756
1757
  form
1757
1758
  }
1758
1759
  ),