@thecb/components 6.0.7 → 6.0.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "6.0.7",
3
+ "version": "6.0.8",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -23,6 +23,7 @@ const getApplicationNode = () => document.getElementById("root");
23
23
  const Modal = ({
24
24
  hideModal,
25
25
  continueAction,
26
+ isContinueActionDisabled = false,
26
27
  cancelAction,
27
28
  modalOpen,
28
29
  modalHeaderText,
@@ -126,6 +127,7 @@ const Modal = ({
126
127
  text={continueButtonText}
127
128
  dataQa={continueButtonText}
128
129
  isLoading={isLoading}
130
+ disabled={isContinueActionDisabled}
129
131
  extraStyles={buttonExtraStyles}
130
132
  className="modal-continue-button"
131
133
  />
@@ -155,6 +157,7 @@ const Modal = ({
155
157
  text={continueButtonText}
156
158
  dataQa={continueButtonText}
157
159
  isLoading={isLoading}
160
+ disabled={isContinueActionDisabled}
158
161
  extraStyles={buttonExtraStyles}
159
162
  className="modal-continue-button"
160
163
  />
package/src/.DS_Store DELETED
Binary file