@abgov/jsonforms-components 2.60.12 → 2.60.13

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 CHANGED
@@ -13911,7 +13911,8 @@ const FormStepperView = props => {
13911
13911
  cells,
13912
13912
  renderers,
13913
13913
  visible,
13914
- t
13914
+ t,
13915
+ enabled
13915
13916
  } = props;
13916
13917
  const enumerators = useContext(JsonFormContext);
13917
13918
  const formStepperCtx = useContext(JsonFormsStepperContext);
@@ -13925,7 +13926,6 @@ const FormStepperView = props => {
13925
13926
  validationTrigger
13926
13927
  } = formStepperCtx.selectStepperState();
13927
13928
  const {
13928
- selectIsDisabled,
13929
13929
  goToPage
13930
13930
  } = formStepperCtx;
13931
13931
  const submitFormFunction = enumerators == null ? void 0 : enumerators.submitFunction.get('submit-form');
@@ -14006,7 +14006,7 @@ const FormStepperView = props => {
14006
14006
  children: [jsx("div", {
14007
14007
  children: hasPrevButton ? jsx(GoabButton, {
14008
14008
  type: optionProps != null && optionProps.previousButtonType ? optionProps == null ? void 0 : optionProps.previousButtonType : 'secondary',
14009
- disabled: selectIsDisabled(),
14009
+ disabled: !enabled,
14010
14010
  onClick: () => {
14011
14011
  var _headersRef$current;
14012
14012
  const element = document.getElementById(`${path || `goa`}-form-stepper`);
@@ -14022,7 +14022,7 @@ const FormStepperView = props => {
14022
14022
  }), hasNextButton && jsx(RightAlignmentDiv, {
14023
14023
  children: jsx(GoabButton, {
14024
14024
  type: optionProps != null && optionProps.nextButtonType ? optionProps == null ? void 0 : optionProps.nextButtonType : 'primary',
14025
- disabled: selectIsDisabled(),
14025
+ disabled: !enabled,
14026
14026
  onClick: () => {
14027
14027
  var _headersRef$current2;
14028
14028
  headersRef.current[activeId + 1] && ((_headersRef$current2 = headersRef.current[activeId + 1]) == null || (_headersRef$current2 = _headersRef$current2.querySelector('goa-form-step')) == null || (_headersRef$current2 = _headersRef$current2.shadowRoot) == null || (_headersRef$current2 = _headersRef$current2.querySelector('button')) == null ? void 0 : _headersRef$current2.click());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/jsonforms-components",
3
- "version": "2.60.12",
3
+ "version": "2.60.13",
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",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": "1.0.0",
3
- "generatedAt": "2026-04-21T19:51:14.526Z",
4
- "sourceCommit": "6553fd4a11e0967213cbf1a8e276313c5bfad27b",
3
+ "generatedAt": "2026-04-22T17:53:14.561Z",
4
+ "sourceCommit": "b2b52ce55864ef40fbd92c317f0e9b06cd011dd4",
5
5
  "sourcePath": "libs/jsonforms-components/src/index.ts",
6
6
  "rendererCount": 33,
7
7
  "renderers": [