@abgov/jsonforms-components 1.19.3 → 1.19.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.
Files changed (2) hide show
  1. package/index.esm.js +8 -11
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -5031,26 +5031,23 @@ const FormStepper = props => {
5031
5031
  })
5032
5032
  })]
5033
5033
  })]
5034
- }), jsx(GoAModal, {
5034
+ }), jsxs(GoAModal, {
5035
5035
  testId: "submit-confirmation",
5036
5036
  open: isOpen,
5037
5037
  heading: 'Form Submitted',
5038
5038
  width: "640px",
5039
- actions: jsxs(GoAButtonGroup, {
5039
+ actions: jsx(GoAButtonGroup, {
5040
5040
  alignment: "end",
5041
- children: [jsx(GoAButton, {
5041
+ children: jsx(GoAButton, {
5042
5042
  type: "primary",
5043
5043
  testId: "close-submit-modal",
5044
5044
  onClick: onCloseModal,
5045
5045
  children: "Close"
5046
- }), !showNextBtn && jsx(GoAButton, {
5047
- type: "primary",
5048
- onClick: handleSubmit,
5049
- disabled: !isFormValid || !enabled,
5050
- testId: "submit-form",
5051
- children: "Submit"
5052
- })]
5053
- })
5046
+ })
5047
+ }),
5048
+ children: [jsx("b", {
5049
+ children: "Submit is a test for preview purposes "
5050
+ }), "(i.e. no actual form is being submitted)"]
5054
5051
  })]
5055
5052
  })
5056
5053
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/jsonforms-components",
3
- "version": "1.19.3",
3
+ "version": "1.19.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",