@luscii-healthtech/web-ui 2.19.2 → 2.19.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.
|
@@ -1746,6 +1746,8 @@ var ModalFooter = function ModalFooter(props) {
|
|
|
1746
1746
|
var ModalBase = function ModalBase(props) {
|
|
1747
1747
|
var _props$size = props.size,
|
|
1748
1748
|
size = _props$size === void 0 ? "medium" : _props$size,
|
|
1749
|
+
_props$withContentPad = props.withContentPaddingY,
|
|
1750
|
+
withContentPaddingY = _props$withContentPad === void 0 ? true : _props$withContentPad,
|
|
1749
1751
|
_props$isOpen = props.isOpen,
|
|
1750
1752
|
isOpen = _props$isOpen === void 0 ? false : _props$isOpen,
|
|
1751
1753
|
_props$shouldCloseOnO = props.shouldCloseOnOverlayClick,
|
|
@@ -1775,7 +1777,7 @@ var ModalBase = function ModalBase(props) {
|
|
|
1775
1777
|
onCloseClick: props.onCloseClick
|
|
1776
1778
|
}), /*#__PURE__*/React__default.createElement("div", {
|
|
1777
1779
|
className: classNames("px-6", {
|
|
1778
|
-
"py-6":
|
|
1780
|
+
"py-6": withContentPaddingY,
|
|
1779
1781
|
"rounded-t-lg": !props.title
|
|
1780
1782
|
})
|
|
1781
1783
|
}, props.children), /*#__PURE__*/React__default.createElement(ModalFooter, {
|