@abgov/jsonforms-components 1.51.0 → 1.53.0
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.esm.js +4 -2
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -6072,7 +6072,9 @@ const JsonFormsStepperContextProvider = ({
|
|
|
6072
6072
|
stepperDispatch({
|
|
6073
6073
|
type: 'update/uischema',
|
|
6074
6074
|
payload: {
|
|
6075
|
-
state: createStepperContextInitData(StepperProps)
|
|
6075
|
+
state: createStepperContextInitData(Object.assign(Object.assign({}, StepperProps), {
|
|
6076
|
+
activeId: stepperState === null || stepperState === void 0 ? void 0 : stepperState.activeId
|
|
6077
|
+
}))
|
|
6076
6078
|
}
|
|
6077
6079
|
});
|
|
6078
6080
|
}
|
|
@@ -6154,7 +6156,7 @@ const FormStepperView = props => {
|
|
|
6154
6156
|
return jsx(GoAFormStep, {
|
|
6155
6157
|
"data-testid": `stepper-tab-${index}`,
|
|
6156
6158
|
text: `${c.label}`,
|
|
6157
|
-
status: c.isCompleted && c.isValid ? 'complete' : 'incomplete'
|
|
6159
|
+
status: c.isCompleted && c.isValid && c.isVisited ? 'complete' : 'incomplete'
|
|
6158
6160
|
}, `stepper-tab-${index}`);
|
|
6159
6161
|
}), jsx(GoAFormStep, {
|
|
6160
6162
|
text: "Review"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abgov/jsonforms-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.53.0",
|
|
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",
|