@luscii-healthtech/web-ui 2.19.1 → 2.19.2
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/components/Modal/Modal.d.ts +1 -1
- package/dist/components/Modal/ModalBase.d.ts +1 -0
- package/dist/web-ui.cjs.development.js +2 -1
- package/dist/web-ui.cjs.development.js.map +1 -1
- package/dist/web-ui.cjs.production.min.js +1 -1
- package/dist/web-ui.cjs.production.min.js.map +1 -1
- package/dist/web-ui.esm.js +2 -1
- package/dist/web-ui.esm.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { ModalBaseProps } from "./ModalBase";
|
|
3
|
-
export declare type ModalProps = Omit<ModalBaseProps, "title"> & {
|
|
3
|
+
export declare type ModalProps = Omit<ModalBaseProps, "title" | "withExtraMarginTop"> & {
|
|
4
4
|
title: string;
|
|
5
5
|
};
|
|
6
6
|
export declare const Modal: React.FC<ModalProps>;
|
|
@@ -1774,7 +1774,8 @@ var ModalBase = function ModalBase(props) {
|
|
|
1774
1774
|
title: props.title,
|
|
1775
1775
|
onCloseClick: props.onCloseClick
|
|
1776
1776
|
}), /*#__PURE__*/React__default.createElement("div", {
|
|
1777
|
-
className: classNames("
|
|
1777
|
+
className: classNames("px-6", {
|
|
1778
|
+
"py-6": props.withContentPaddingY,
|
|
1778
1779
|
"rounded-t-lg": !props.title
|
|
1779
1780
|
})
|
|
1780
1781
|
}, props.children), /*#__PURE__*/React__default.createElement(ModalFooter, {
|