@abgov/jsonforms-components 2.78.3 → 2.78.4
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 +7 -1
- package/package.json +1 -1
- package/renderer-catalog.json +2 -2
package/index.esm.js
CHANGED
|
@@ -8779,9 +8779,15 @@ const stepperReducer = (state, action) => {
|
|
|
8779
8779
|
} = action.payload;
|
|
8780
8780
|
const newActive = id;
|
|
8781
8781
|
const isOnReview = newActive === lastId + 1;
|
|
8782
|
+
// A scope means the user came from a review Change button or a host's deep link, i.e. back to
|
|
8783
|
+
// fix an answer. The form may have just mounted — a summary on a separate page — so nothing
|
|
8784
|
+
// else has marked the step, and without this an emptied required field would stay quiet.
|
|
8785
|
+
const newCategories = targetScope ? categories.map(c => c.id === id && c.isNavigatedAway !== true ? Object.assign({}, c, {
|
|
8786
|
+
isNavigatedAway: true
|
|
8787
|
+
}) : c) : categories;
|
|
8782
8788
|
return Object.assign({}, state, {
|
|
8783
8789
|
activeId: newActive,
|
|
8784
|
-
categories:
|
|
8790
|
+
categories: newCategories,
|
|
8785
8791
|
isOnReview,
|
|
8786
8792
|
hasNextButton: !isOnReview,
|
|
8787
8793
|
hasPrevButton: newActive !== 0,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abgov/jsonforms-components",
|
|
3
|
-
"version": "2.78.
|
|
3
|
+
"version": "2.78.4",
|
|
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",
|
package/renderer-catalog.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
|
-
"generatedAt": "2026-09-
|
|
4
|
-
"sourceCommit": "
|
|
3
|
+
"generatedAt": "2026-09-24T19:58:16.458Z",
|
|
4
|
+
"sourceCommit": "42201702cb382f5ffd5c31a1e5934918d6406111",
|
|
5
5
|
"sourcePath": "libs/jsonforms-components/src/index.ts",
|
|
6
6
|
"rendererCount": 23,
|
|
7
7
|
"renderers": [
|