react-better-html 1.1.260 → 1.1.261
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.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -5940,6 +5940,7 @@ var FormComponent = forwardRef13(function Form({
|
|
|
5940
5940
|
renderActionButtons,
|
|
5941
5941
|
onClickCancel,
|
|
5942
5942
|
onSubmit,
|
|
5943
|
+
id,
|
|
5943
5944
|
children,
|
|
5944
5945
|
...props
|
|
5945
5946
|
}, ref) {
|
|
@@ -5952,7 +5953,7 @@ var FormComponent = forwardRef13(function Form({
|
|
|
5952
5953
|
}, [form]);
|
|
5953
5954
|
const SubmitButtonTag = isDestructive ? Button_default.destructive : Button_default;
|
|
5954
5955
|
const submitButtonIsDisabledFinal = submitButtonIsDisabled || submitButtonIsDisabledInternal;
|
|
5955
|
-
return /* @__PURE__ */ jsx19(Div_default, { width: "100%", ...props, children: /* @__PURE__ */ jsxs16("form", { name, onSubmit: onSubmit ?? form?.onSubmit, ref, children: [
|
|
5956
|
+
return /* @__PURE__ */ jsx19(Div_default, { width: "100%", ...props, children: /* @__PURE__ */ jsxs16("form", { name, onSubmit: onSubmit ?? form?.onSubmit, id, ref, children: [
|
|
5956
5957
|
gap !== void 0 || withDividers ? /* @__PURE__ */ jsx19(Div_default.column, { gap: gap ?? (withDividers ? theme2.styles.space : theme2.styles.gap), children: withDividers ? Children.toArray(children).map((child, index) => /* @__PURE__ */ jsxs16(Fragment5, { children: [
|
|
5957
5958
|
child,
|
|
5958
5959
|
index < Children.toArray(children).length - 1 && /* @__PURE__ */ jsx19(
|