@thecb/components 6.0.3-beta.0 → 6.0.6
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.esm.js
CHANGED
|
@@ -40256,6 +40256,8 @@ var Modal$1 = function Modal(_ref) {
|
|
|
40256
40256
|
defaultWrapper = _ref$defaultWrapper === void 0 ? true : _ref$defaultWrapper,
|
|
40257
40257
|
_ref$onlyCloseButton = _ref.onlyCloseButton,
|
|
40258
40258
|
onlyCloseButton = _ref$onlyCloseButton === void 0 ? false : _ref$onlyCloseButton,
|
|
40259
|
+
_ref$noButtons = _ref.noButtons,
|
|
40260
|
+
noButtons = _ref$noButtons === void 0 ? false : _ref$noButtons,
|
|
40259
40261
|
maxHeight = _ref.maxHeight,
|
|
40260
40262
|
_ref$underlayClickExi = _ref.underlayClickExits,
|
|
40261
40263
|
underlayClickExits = _ref$underlayClickExi === void 0 ? true : _ref$underlayClickExi,
|
|
@@ -40316,7 +40318,7 @@ var Modal$1 = function Modal(_ref) {
|
|
|
40316
40318
|
justify: "flex-end",
|
|
40317
40319
|
align: "center",
|
|
40318
40320
|
childGap: "0rem"
|
|
40319
|
-
}, !onlyCloseButton ? /*#__PURE__*/React.createElement(Fragment, null, isMobile ? /*#__PURE__*/React.createElement(Stack, {
|
|
40321
|
+
}, !noButtons && /*#__PURE__*/React.createElement(React.Fragment, null, !onlyCloseButton ? /*#__PURE__*/React.createElement(Fragment, null, isMobile ? /*#__PURE__*/React.createElement(Stack, {
|
|
40320
40322
|
childGap: "1rem",
|
|
40321
40323
|
direction: "row"
|
|
40322
40324
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
@@ -40368,7 +40370,7 @@ var Modal$1 = function Modal(_ref) {
|
|
|
40368
40370
|
dataQa: "Close",
|
|
40369
40371
|
extraStyles: buttonExtraStyles,
|
|
40370
40372
|
className: "modal-cancel-button"
|
|
40371
|
-
})))))))), children);
|
|
40373
|
+
}))))))))), children);
|
|
40372
40374
|
};
|
|
40373
40375
|
|
|
40374
40376
|
var fontSize$9 = {
|