@trackunit/react-form-wizard 0.1.67 → 0.1.69

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 CHANGED
@@ -304,7 +304,9 @@ const FormWizardStepWrapper = ({ stepKey, onCancel, description, title, componen
304
304
  fullForm,
305
305
  setSubmitHandler: isLastStep ? setSubmitHandler : null,
306
306
  }) }), jsxRuntime.jsx(FormWizardFooter, { stepForms,
307
- onBack: previousStepPath ? () => navigate({ to: basePath, params: { stepPath: previousStepPath } }) : null,
307
+ onBack: previousStepPath
308
+ ? () => navigate({ to: basePath, params: { stepPath: previousStepPath } })
309
+ : null,
308
310
  primaryActionLabel: isLastStep ? lastStepPrimaryActionLabel : undefined,
309
311
  onCancel: handleCancel,
310
312
  disablePrimaryAction: isSubmitting })] }, String(stepKey)));
package/index.esm.js CHANGED
@@ -300,7 +300,9 @@ const FormWizardStepWrapper = ({ stepKey, onCancel, description, title, componen
300
300
  fullForm,
301
301
  setSubmitHandler: isLastStep ? setSubmitHandler : null,
302
302
  }) }), jsx(FormWizardFooter, { stepForms,
303
- onBack: previousStepPath ? () => navigate({ to: basePath, params: { stepPath: previousStepPath } }) : null,
303
+ onBack: previousStepPath
304
+ ? () => navigate({ to: basePath, params: { stepPath: previousStepPath } })
305
+ : null,
304
306
  primaryActionLabel: isLastStep ? lastStepPrimaryActionLabel : undefined,
305
307
  onCancel: handleCancel,
306
308
  disablePrimaryAction: isSubmitting })] }, String(stepKey)));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-form-wizard",
3
- "version": "0.1.67",
3
+ "version": "0.1.69",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "dependencies": {
@@ -11,7 +11,7 @@
11
11
  "@hookform/resolvers": "^3.3.4",
12
12
  "react-hook-form": "7.40.0",
13
13
  "@trackunit/i18n-library-translation": "*",
14
- "@tanstack/react-router": "1.19.1",
14
+ "@tanstack/react-router": "1.31.6",
15
15
  "@trackunit/shared-utils": "*"
16
16
  },
17
17
  "engines": {