@thecb/components 11.1.4 → 11.1.6-beta.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/dist/index.cjs.js +4 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +4 -1
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/.DS_Store +0 -0
- package/src/components/molecules/collapsible-section/CollapsibleSection.js +1 -1
- package/src/components/molecules/modal/Modal.stories.js +9 -0
- package/src/components/molecules/modal/ModalControlV1.js +2 -0
package/dist/index.esm.js
CHANGED
|
@@ -41216,7 +41216,7 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
|
|
|
41216
41216
|
};
|
|
41217
41217
|
var numChildren = typeof children === "Array" ? children.length : 1;
|
|
41218
41218
|
var label = name !== "" ? name : !customTitle ? title : "collapsible section";
|
|
41219
|
-
var id = "".concat(label === null || label === void 0 || (_label$replaceAll = label.replaceAll(" ", "-")) === null || _label$replaceAll === void 0 ? void 0 : _label$replaceAll.toLowerCase(), "-").concat(index);
|
|
41219
|
+
var id = "".concat(label === null || label === void 0 || (_label$replaceAll = label.replaceAll) === null || _label$replaceAll === void 0 || (_label$replaceAll = _label$replaceAll.call(label, " ", "-")) === null || _label$replaceAll === void 0 ? void 0 : _label$replaceAll.toLowerCase(), "-").concat(index);
|
|
41220
41220
|
var wrapper = {
|
|
41221
41221
|
open: {
|
|
41222
41222
|
height: openHeight,
|
|
@@ -45425,6 +45425,8 @@ var Modal$1 = function Modal(_ref) {
|
|
|
45425
45425
|
continueAction = _ref.continueAction,
|
|
45426
45426
|
_ref$isContinueAction = _ref.isContinueActionDisabled,
|
|
45427
45427
|
isContinueActionDisabled = _ref$isContinueAction === void 0 ? false : _ref$isContinueAction,
|
|
45428
|
+
_ref$isCloseActionDis = _ref.isCloseActionDisabled,
|
|
45429
|
+
isCloseActionDisabled = _ref$isCloseActionDis === void 0 ? false : _ref$isCloseActionDis,
|
|
45428
45430
|
cancelAction = _ref.cancelAction,
|
|
45429
45431
|
modalOpen = _ref.modalOpen,
|
|
45430
45432
|
modalHeaderText = _ref.modalHeaderText,
|
|
@@ -45602,6 +45604,7 @@ var Modal$1 = function Modal(_ref) {
|
|
|
45602
45604
|
variant: "primary",
|
|
45603
45605
|
text: closeButtonText,
|
|
45604
45606
|
dataQa: closeButtonText,
|
|
45607
|
+
disabled: isCloseActionDisabled,
|
|
45605
45608
|
extraStyles: buttonExtraStyles,
|
|
45606
45609
|
className: "modal-close-button",
|
|
45607
45610
|
role: "button",
|