andoncloud-sdk 1.5.8 → 1.5.10
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/andoncloud-sdk.js +1 -1
- package/dist/andoncloud-sdk.js.map +1 -1
- package/dist/app/components/container.d.ts +2 -1
- package/dist/app/components/sidePanel.d.ts +25 -5
- package/dist/app/components/sidePanel.styles.d.ts +10 -8
- package/dist/index.d.ts +7 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -32,7 +32,8 @@ declare namespace Container {
|
|
|
32
32
|
export { open_1 as open };
|
|
33
33
|
export function onClose(): void;
|
|
34
34
|
export const title: string;
|
|
35
|
-
export const
|
|
35
|
+
export const mainContent: null;
|
|
36
|
+
export const asideContent: null;
|
|
36
37
|
export { DEFAULT_SIDE_PANEL_WIDTH as width };
|
|
37
38
|
}
|
|
38
39
|
export { sidePanelProps_1 as sidePanelProps };
|
|
@@ -1,20 +1,30 @@
|
|
|
1
1
|
export default SidePanel;
|
|
2
|
-
declare function SidePanel({ open, onClose, title,
|
|
2
|
+
declare function SidePanel({ open, onClose, title, mainContent, asideContent, width, styles, headerStyles, contentWrapperStyles, mainContentStyles, asideContentStyles, }: {
|
|
3
3
|
open: any;
|
|
4
4
|
onClose: any;
|
|
5
5
|
title: any;
|
|
6
|
-
|
|
6
|
+
mainContent: any;
|
|
7
|
+
asideContent: any;
|
|
7
8
|
width: any;
|
|
8
9
|
styles: any;
|
|
10
|
+
headerStyles: any;
|
|
11
|
+
contentWrapperStyles: any;
|
|
12
|
+
mainContentStyles: any;
|
|
13
|
+
asideContentStyles: any;
|
|
9
14
|
}): React.JSX.Element;
|
|
10
15
|
declare namespace SidePanel {
|
|
11
16
|
namespace propTypes {
|
|
12
17
|
const open: any;
|
|
13
18
|
const onClose: any;
|
|
14
19
|
const title: any;
|
|
15
|
-
const
|
|
20
|
+
const mainContent: any;
|
|
21
|
+
const asideContent: any;
|
|
16
22
|
const width: any;
|
|
17
23
|
const styles: any;
|
|
24
|
+
const headerStyles: any;
|
|
25
|
+
const contentWrapperStyles: any;
|
|
26
|
+
const mainContentStyles: any;
|
|
27
|
+
const asideContentStyles: any;
|
|
18
28
|
}
|
|
19
29
|
namespace defaultProps {
|
|
20
30
|
const open_1: boolean;
|
|
@@ -23,12 +33,22 @@ declare namespace SidePanel {
|
|
|
23
33
|
export { onClose_1 as onClose };
|
|
24
34
|
const title_1: string;
|
|
25
35
|
export { title_1 as title };
|
|
26
|
-
const
|
|
27
|
-
export {
|
|
36
|
+
const mainContent_1: null;
|
|
37
|
+
export { mainContent_1 as mainContent };
|
|
38
|
+
const asideContent_1: null;
|
|
39
|
+
export { asideContent_1 as asideContent };
|
|
28
40
|
const width_1: null;
|
|
29
41
|
export { width_1 as width };
|
|
30
42
|
const styles_1: {};
|
|
31
43
|
export { styles_1 as styles };
|
|
44
|
+
const headerStyles_1: {};
|
|
45
|
+
export { headerStyles_1 as headerStyles };
|
|
46
|
+
const contentWrapperStyles_1: {};
|
|
47
|
+
export { contentWrapperStyles_1 as contentWrapperStyles };
|
|
48
|
+
const mainContentStyles_1: {};
|
|
49
|
+
export { mainContentStyles_1 as mainContentStyles };
|
|
50
|
+
const asideContentStyles_1: {};
|
|
51
|
+
export { asideContentStyles_1 as asideContentStyles };
|
|
32
52
|
}
|
|
33
53
|
}
|
|
34
54
|
import React from "react";
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
export default useStyles;
|
|
2
|
-
declare function useStyles({ styles }: {
|
|
2
|
+
declare function useStyles({ hasAsideContent, styles, headerStyles, contentWrapperStyles, mainContentStyles, asideContentStyles, }: {
|
|
3
|
+
hasAsideContent: any;
|
|
3
4
|
styles: any;
|
|
5
|
+
headerStyles: any;
|
|
6
|
+
contentWrapperStyles: any;
|
|
7
|
+
mainContentStyles: any;
|
|
8
|
+
asideContentStyles: any;
|
|
4
9
|
}): {
|
|
5
10
|
root: any;
|
|
6
|
-
header:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
content: {
|
|
11
|
-
padding: string;
|
|
12
|
-
};
|
|
11
|
+
header: any;
|
|
12
|
+
contentWrapper: any;
|
|
13
|
+
mainContent: any;
|
|
14
|
+
asideContent: any;
|
|
13
15
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -96,10 +96,16 @@ declare module 'andoncloud-sdk' {
|
|
|
96
96
|
export interface SidePanelProps {
|
|
97
97
|
enabled: boolean;
|
|
98
98
|
open?: boolean;
|
|
99
|
+
onClose?: () => void;
|
|
99
100
|
title?: string;
|
|
100
|
-
|
|
101
|
+
mainContent: React.ReactNode;
|
|
102
|
+
asideContent?: React.ReactNode;
|
|
101
103
|
width?: string;
|
|
102
104
|
styles?: React.CSSProperties;
|
|
105
|
+
headerStyles?: React.CSSProperties;
|
|
106
|
+
contentWrapperStyles?: React.CSSProperties;
|
|
107
|
+
mainContentStyles?: React.CSSProperties;
|
|
108
|
+
asideContentStyles?: React.CSSProperties;
|
|
103
109
|
}
|
|
104
110
|
|
|
105
111
|
interface ContainerProps {
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const LIBRARY_VERSION = "1.5.
|
|
1
|
+
export declare const LIBRARY_VERSION = "1.5.10";
|