@trackunit/react-form-wizard 0.1.101 → 0.1.103

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
@@ -350,7 +350,7 @@ const cvaStepContainer = cssClassVarianceUtilities.cvaMerge(["h-full", "grid", "
350
350
  */
351
351
  const FormWizard = ({ lastStepPrimaryActionLabel, isEdit, steps, fullFormSchema, onCancel, className, dataTestId, basePath, }) => {
352
352
  var _a;
353
- const { stepPath, subStepPath } = reactRouter.useParams({ from: basePath });
353
+ const { stepPath, subStepPath } = reactRouter.useParams({ strict: false });
354
354
  const [stepStates, setStepStates] = react.useState({});
355
355
  const [stepForms, setStepForms] = react.useState({});
356
356
  const [fullFormState, setFullFormState] = react.useState(
package/index.esm.js CHANGED
@@ -346,7 +346,7 @@ const cvaStepContainer = cvaMerge(["h-full", "grid", "bg-white", "overflow-hidde
346
346
  */
347
347
  const FormWizard = ({ lastStepPrimaryActionLabel, isEdit, steps, fullFormSchema, onCancel, className, dataTestId, basePath, }) => {
348
348
  var _a;
349
- const { stepPath, subStepPath } = useParams({ from: basePath });
349
+ const { stepPath, subStepPath } = useParams({ strict: false });
350
350
  const [stepStates, setStepStates] = useState({});
351
351
  const [stepForms, setStepForms] = useState({});
352
352
  const [fullFormState, setFullFormState] = useState(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-form-wizard",
3
- "version": "0.1.101",
3
+ "version": "0.1.103",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "dependencies": {