@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.
package/dist/web-ui.esm.js
CHANGED
|
@@ -1738,6 +1738,8 @@ var ModalFooter = function ModalFooter(props) {
|
|
|
1738
1738
|
var ModalBase = function ModalBase(props) {
|
|
1739
1739
|
var _props$size = props.size,
|
|
1740
1740
|
size = _props$size === void 0 ? "medium" : _props$size,
|
|
1741
|
+
_props$withContentPad = props.withContentPaddingY,
|
|
1742
|
+
withContentPaddingY = _props$withContentPad === void 0 ? true : _props$withContentPad,
|
|
1741
1743
|
_props$isOpen = props.isOpen,
|
|
1742
1744
|
isOpen = _props$isOpen === void 0 ? false : _props$isOpen,
|
|
1743
1745
|
_props$shouldCloseOnO = props.shouldCloseOnOverlayClick,
|
|
@@ -1767,7 +1769,7 @@ var ModalBase = function ModalBase(props) {
|
|
|
1767
1769
|
onCloseClick: props.onCloseClick
|
|
1768
1770
|
}), /*#__PURE__*/React__default.createElement("div", {
|
|
1769
1771
|
className: classNames("px-6", {
|
|
1770
|
-
"py-6":
|
|
1772
|
+
"py-6": withContentPaddingY,
|
|
1771
1773
|
"rounded-t-lg": !props.title
|
|
1772
1774
|
})
|
|
1773
1775
|
}, props.children), /*#__PURE__*/React__default.createElement(ModalFooter, {
|