@abgov/jsonforms-components 2.22.1 → 2.22.2

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.
Files changed (2) hide show
  1. package/index.esm.js +1 -1
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -8079,7 +8079,7 @@ const JsonFormsStepperContextProvider = ({
8079
8079
  type: 'update/uischema',
8080
8080
  payload: {
8081
8081
  state: createStepperContextInitData(Object.assign({}, StepperProps, {
8082
- activeId: stepperState === null || stepperState === void 0 ? void 0 : stepperState.activeId
8082
+ activeId: Math.min(stepperState === null || stepperState === void 0 ? void 0 : stepperState.activeId, stepperState.maxReachedStep)
8083
8083
  }))
8084
8084
  }
8085
8085
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/jsonforms-components",
3
- "version": "2.22.1",
3
+ "version": "2.22.2",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Government of Alberta - React renderers for JSON Forms based on the design system.",
6
6
  "repository": "https://github.com/GovAlta/adsp-monorepo",