@trackunit/react-form-wizard 1.22.2 → 1.22.3
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/index.cjs.js +1 -5
- package/index.esm.js +1 -5
- package/package.json +3 -3
package/index.cjs.js
CHANGED
|
@@ -319,11 +319,7 @@ const FormWizardStepWrapper = ({ stepKey, onCancel, description, title, componen
|
|
|
319
319
|
document.removeEventListener("keydown", handleKeyDown);
|
|
320
320
|
};
|
|
321
321
|
}, [stepSubmitHandler]);
|
|
322
|
-
return (jsxRuntime.jsxs("form", { className: cvaFormWizardComponentStepForm(), noValidate: true,
|
|
323
|
-
if (e.key === "Enter" && e.target instanceof HTMLInputElement) {
|
|
324
|
-
e.preventDefault();
|
|
325
|
-
}
|
|
326
|
-
}, onSubmit: async (e) => {
|
|
322
|
+
return (jsxRuntime.jsxs("form", { className: cvaFormWizardComponentStepForm(), noValidate: true, onSubmit: async (e) => {
|
|
327
323
|
e.preventDefault();
|
|
328
324
|
try {
|
|
329
325
|
await onPrimaryAction?.(form);
|
package/index.esm.js
CHANGED
|
@@ -317,11 +317,7 @@ const FormWizardStepWrapper = ({ stepKey, onCancel, description, title, componen
|
|
|
317
317
|
document.removeEventListener("keydown", handleKeyDown);
|
|
318
318
|
};
|
|
319
319
|
}, [stepSubmitHandler]);
|
|
320
|
-
return (jsxs("form", { className: cvaFormWizardComponentStepForm(), noValidate: true,
|
|
321
|
-
if (e.key === "Enter" && e.target instanceof HTMLInputElement) {
|
|
322
|
-
e.preventDefault();
|
|
323
|
-
}
|
|
324
|
-
}, onSubmit: async (e) => {
|
|
320
|
+
return (jsxs("form", { className: cvaFormWizardComponentStepForm(), noValidate: true, onSubmit: async (e) => {
|
|
325
321
|
e.preventDefault();
|
|
326
322
|
try {
|
|
327
323
|
await onPrimaryAction?.(form);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-form-wizard",
|
|
3
|
-
"version": "1.22.
|
|
3
|
+
"version": "1.22.3",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"dependencies": {
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
"@tanstack/router-core": "1.114.29",
|
|
10
10
|
"@trackunit/shared-utils": "1.13.117",
|
|
11
11
|
"@trackunit/css-class-variance-utilities": "1.11.117",
|
|
12
|
-
"@trackunit/react-components": "1.22.
|
|
13
|
-
"@trackunit/i18n-library-translation": "1.19.
|
|
12
|
+
"@trackunit/react-components": "1.22.26",
|
|
13
|
+
"@trackunit/i18n-library-translation": "1.19.3"
|
|
14
14
|
},
|
|
15
15
|
"engines": {
|
|
16
16
|
"node": ">=24.x",
|