@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 +4 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
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), ...
|
|
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
|
-
|
|
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
|
),
|