wacomm 3.2.0 → 3.4.0
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/modal/Modal.d.ts +4 -1
- package/dist/wacomm.cjs.js +2 -2
- package/dist/wacomm.es.js +13 -11
- package/package.json +1 -1
package/dist/modal/Modal.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ interface ModalProps {
|
|
|
9
9
|
shouldCloseOnOverlayClick?: boolean;
|
|
10
10
|
isCloseIconHidden?: boolean;
|
|
11
11
|
isHeaderHidden?: boolean;
|
|
12
|
+
isContentFlush?: boolean;
|
|
12
13
|
style?: ModalStyleProps;
|
|
13
14
|
}
|
|
14
15
|
interface ModalStyleOverlayProps {
|
|
@@ -21,6 +22,8 @@ interface ModalStyleOverlayProps {
|
|
|
21
22
|
interface ModalStyleContentProps {
|
|
22
23
|
top?: string;
|
|
23
24
|
left?: string;
|
|
25
|
+
right?: string;
|
|
26
|
+
bottom?: string;
|
|
24
27
|
transform?: string;
|
|
25
28
|
border?: string;
|
|
26
29
|
background?: string;
|
|
@@ -37,5 +40,5 @@ export interface ModalStyleProps {
|
|
|
37
40
|
overlay?: ModalStyleOverlayProps;
|
|
38
41
|
content?: ModalStyleContentProps;
|
|
39
42
|
}
|
|
40
|
-
declare function Modal({ isOpen, onClose, title, content, shouldCloseOnEsc, shouldCloseOnOverlayClick, isCloseIconHidden, isHeaderHidden, style }: ModalProps): import("react").JSX.Element;
|
|
43
|
+
declare function Modal({ isOpen, onClose, title, content, shouldCloseOnEsc, shouldCloseOnOverlayClick, isCloseIconHidden, isHeaderHidden, isContentFlush, style }: ModalProps): import("react").JSX.Element;
|
|
41
44
|
export default Modal;
|