@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.cjs.js
CHANGED
|
@@ -41224,7 +41224,7 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
|
|
|
41224
41224
|
};
|
|
41225
41225
|
var numChildren = typeof children === "Array" ? children.length : 1;
|
|
41226
41226
|
var label = name !== "" ? name : !customTitle ? title : "collapsible section";
|
|
41227
|
-
var id = "".concat(label === null || label === void 0 || (_label$replaceAll = label.replaceAll(" ", "-")) === null || _label$replaceAll === void 0 ? void 0 : _label$replaceAll.toLowerCase(), "-").concat(index);
|
|
41227
|
+
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);
|
|
41228
41228
|
var wrapper = {
|
|
41229
41229
|
open: {
|
|
41230
41230
|
height: openHeight,
|
|
@@ -45433,6 +45433,8 @@ var Modal$1 = function Modal(_ref) {
|
|
|
45433
45433
|
continueAction = _ref.continueAction,
|
|
45434
45434
|
_ref$isContinueAction = _ref.isContinueActionDisabled,
|
|
45435
45435
|
isContinueActionDisabled = _ref$isContinueAction === void 0 ? false : _ref$isContinueAction,
|
|
45436
|
+
_ref$isCloseActionDis = _ref.isCloseActionDisabled,
|
|
45437
|
+
isCloseActionDisabled = _ref$isCloseActionDis === void 0 ? false : _ref$isCloseActionDis,
|
|
45436
45438
|
cancelAction = _ref.cancelAction,
|
|
45437
45439
|
modalOpen = _ref.modalOpen,
|
|
45438
45440
|
modalHeaderText = _ref.modalHeaderText,
|
|
@@ -45610,6 +45612,7 @@ var Modal$1 = function Modal(_ref) {
|
|
|
45610
45612
|
variant: "primary",
|
|
45611
45613
|
text: closeButtonText,
|
|
45612
45614
|
dataQa: closeButtonText,
|
|
45615
|
+
disabled: isCloseActionDisabled,
|
|
45613
45616
|
extraStyles: buttonExtraStyles,
|
|
45614
45617
|
className: "modal-close-button",
|
|
45615
45618
|
role: "button",
|