@thecb/components 6.0.2 → 6.0.3
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 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +4 -2
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/molecules/modal/Modal.js +70 -57
- package/src/components/molecules/modal/Modal.stories.js +52 -3
- package/src/.DS_Store +0 -0
package/dist/index.cjs.js
CHANGED
|
@@ -40264,6 +40264,8 @@ var Modal$1 = function Modal(_ref) {
|
|
|
40264
40264
|
defaultWrapper = _ref$defaultWrapper === void 0 ? true : _ref$defaultWrapper,
|
|
40265
40265
|
_ref$onlyCloseButton = _ref.onlyCloseButton,
|
|
40266
40266
|
onlyCloseButton = _ref$onlyCloseButton === void 0 ? false : _ref$onlyCloseButton,
|
|
40267
|
+
_ref$noButtons = _ref.noButtons,
|
|
40268
|
+
noButtons = _ref$noButtons === void 0 ? false : _ref$noButtons,
|
|
40267
40269
|
maxHeight = _ref.maxHeight,
|
|
40268
40270
|
_ref$underlayClickExi = _ref.underlayClickExits,
|
|
40269
40271
|
underlayClickExits = _ref$underlayClickExi === void 0 ? true : _ref$underlayClickExi,
|
|
@@ -40324,7 +40326,7 @@ var Modal$1 = function Modal(_ref) {
|
|
|
40324
40326
|
justify: "flex-end",
|
|
40325
40327
|
align: "center",
|
|
40326
40328
|
childGap: "0rem"
|
|
40327
|
-
}, !onlyCloseButton ? /*#__PURE__*/React__default.createElement(React.Fragment, null, isMobile ? /*#__PURE__*/React__default.createElement(Stack, {
|
|
40329
|
+
}, !noButtons && /*#__PURE__*/React__default.createElement(React__default.Fragment, null, !onlyCloseButton ? /*#__PURE__*/React__default.createElement(React.Fragment, null, isMobile ? /*#__PURE__*/React__default.createElement(Stack, {
|
|
40328
40330
|
childGap: "1rem",
|
|
40329
40331
|
direction: "row"
|
|
40330
40332
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -40376,7 +40378,7 @@ var Modal$1 = function Modal(_ref) {
|
|
|
40376
40378
|
dataQa: "Close",
|
|
40377
40379
|
extraStyles: buttonExtraStyles,
|
|
40378
40380
|
className: "modal-cancel-button"
|
|
40379
|
-
})))))))), children);
|
|
40381
|
+
}))))))))), children);
|
|
40380
40382
|
};
|
|
40381
40383
|
|
|
40382
40384
|
var fontSize$9 = {
|