react-better-html 1.1.170 → 1.1.171
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 +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +15 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +15 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -7440,6 +7440,10 @@ var FormComponent = forwardRef13(function Form({
|
|
|
7440
7440
|
submitButtonId,
|
|
7441
7441
|
submitButtonIsDisabled,
|
|
7442
7442
|
cancelButtonText,
|
|
7443
|
+
cancelButtonLoaderName,
|
|
7444
|
+
cancelButtonIsLoading,
|
|
7445
|
+
cancelButtonId,
|
|
7446
|
+
cancelButtonIsDisabled,
|
|
7443
7447
|
actionButtonsLocation = "right",
|
|
7444
7448
|
gap,
|
|
7445
7449
|
isDestructive,
|
|
@@ -7473,7 +7477,17 @@ var FormComponent = forwardRef13(function Form({
|
|
|
7473
7477
|
marginTop: theme2.styles.space,
|
|
7474
7478
|
children: [
|
|
7475
7479
|
renderActionButtons,
|
|
7476
|
-
onClickCancel && /* @__PURE__ */ jsx19(
|
|
7480
|
+
onClickCancel && /* @__PURE__ */ jsx19(
|
|
7481
|
+
Button_default.secondary,
|
|
7482
|
+
{
|
|
7483
|
+
text: cancelButtonText ?? "Cancel",
|
|
7484
|
+
isLoading: cancelButtonIsLoading,
|
|
7485
|
+
loaderName: cancelButtonLoaderName,
|
|
7486
|
+
disabled: cancelButtonIsDisabled,
|
|
7487
|
+
id: cancelButtonId,
|
|
7488
|
+
onClick: onClickCancel
|
|
7489
|
+
}
|
|
7490
|
+
),
|
|
7477
7491
|
/* @__PURE__ */ jsx19(
|
|
7478
7492
|
SubmitButtonTag,
|
|
7479
7493
|
{
|