@touchtech/baselayer-ui 8.3.5-alpha.4 → 8.3.5-alpha.6
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/Drawer/Drawer.d.ts +2 -1
- package/dist/components/Drawer/DrawerContent/DrawerContent.d.ts +2 -1
- package/dist/components/Drawer/DrawerFooter/DrawerFooter.d.ts +2 -1
- package/dist/components/Drawer/DrawerHeader/DrawerHeader.d.ts +2 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
|
@@ -9,11 +9,12 @@ type DrawerProps = {
|
|
|
9
9
|
style?: React.CSSProperties;
|
|
10
10
|
noCloseIcon?: boolean;
|
|
11
11
|
unmountOnExit?: boolean;
|
|
12
|
+
mountOnEnter?: boolean;
|
|
12
13
|
portalContainer?: Element | DocumentFragment;
|
|
13
14
|
onClose?: () => void;
|
|
14
15
|
onClosed?: () => void;
|
|
15
16
|
};
|
|
16
|
-
declare function Drawer({ open, className, style, noCloseIcon, children, unmountOnExit, portalContainer, onClose, onClosed, }: DrawerProps): React.ReactPortal;
|
|
17
|
+
declare function Drawer({ open, className, style, noCloseIcon, children, unmountOnExit, mountOnEnter, portalContainer, onClose, onClosed, }: DrawerProps): React.ReactPortal;
|
|
17
18
|
declare namespace Drawer {
|
|
18
19
|
var Header: typeof DrawerHeader;
|
|
19
20
|
var Content: typeof DrawerContent;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
type DrawerFooterProps = {
|
|
3
3
|
children?: React.ReactNode;
|
|
4
|
+
className?: string;
|
|
4
5
|
};
|
|
5
|
-
declare function DrawerContent({ children }: DrawerFooterProps): JSX.Element;
|
|
6
|
+
declare function DrawerContent({ children, className }: DrawerFooterProps): JSX.Element;
|
|
6
7
|
export default DrawerContent;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
type DrawerFooterProps = {
|
|
3
3
|
children?: React.ReactNode;
|
|
4
|
+
className?: string;
|
|
4
5
|
};
|
|
5
|
-
declare function DrawerFooter({ children }: DrawerFooterProps): JSX.Element;
|
|
6
|
+
declare function DrawerFooter({ children, className }: DrawerFooterProps): JSX.Element;
|
|
6
7
|
export default DrawerFooter;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
type DrawerFooterProps = {
|
|
3
3
|
children?: React.ReactNode;
|
|
4
|
+
className?: string;
|
|
4
5
|
};
|
|
5
|
-
declare function DrawerHeader({ children }: DrawerFooterProps): JSX.Element;
|
|
6
|
+
declare function DrawerHeader({ children, className }: DrawerFooterProps): JSX.Element;
|
|
6
7
|
export default DrawerHeader;
|