@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.d.cts CHANGED
@@ -200,7 +200,7 @@ interface SmartTextAreaProps {
200
200
  maxLength?: number;
201
201
  minLength?: number;
202
202
  name?: string;
203
- dirName?: string;
203
+ dirname?: string;
204
204
  form?: string;
205
205
  }
206
206
  declare const SmartTextArea: React__default.FC<SmartTextAreaProps>;
package/dist/index.d.ts CHANGED
@@ -200,7 +200,7 @@ interface SmartTextAreaProps {
200
200
  maxLength?: number;
201
201
  minLength?: number;
202
202
  name?: string;
203
- dirName?: string;
203
+ dirname?: string;
204
204
  form?: string;
205
205
  }
206
206
  declare const SmartTextArea: React__default.FC<SmartTextAreaProps>;
package/dist/index.js CHANGED
@@ -640,6 +640,7 @@ function Tabs({
640
640
  if (!isControlled) setActiveValue(val);
641
641
  else props.onValueChange?.(val);
642
642
  };
643
+ const { onValueChange, ...divProps } = props;
643
644
  return /* @__PURE__ */ jsx(TabsConfigContext.Provider, { value: config, children: /* @__PURE__ */ jsx(
644
645
  TabsContext.Provider,
645
646
  {
@@ -648,7 +649,7 @@ function Tabs({
648
649
  handleValueChange,
649
650
  registerTrigger
650
651
  },
651
- children: /* @__PURE__ */ jsx("div", { "data-slot": "tabs", className: cn("flex flex-col gap-2", className), ...props, children: props.children })
652
+ children: /* @__PURE__ */ jsx("div", { "data-slot": "tabs", className: cn("flex flex-col gap-2", className), ...divProps, children: props.children })
652
653
  }
653
654
  ) });
654
655
  }
@@ -1631,7 +1632,7 @@ var SmartTextArea = ({
1631
1632
  maxLength,
1632
1633
  minLength,
1633
1634
  name,
1634
- dirName,
1635
+ dirname,
1635
1636
  form
1636
1637
  }) => {
1637
1638
  const { formData } = useSmartForm();
@@ -1732,7 +1733,7 @@ var SmartTextArea = ({
1732
1733
  maxLength,
1733
1734
  minLength,
1734
1735
  name,
1735
- dirName,
1736
+ dirName: dirname,
1736
1737
  form
1737
1738
  }
1738
1739
  ),