andoncloud-sdk 1.5.6 → 1.5.7
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 +25 -25
- package/dist/andoncloud-sdk.js.map +1 -1
- package/dist/app/components/container.d.ts +15 -1
- package/dist/app/components/sidePanel.d.ts +34 -0
- package/dist/app/components/sidePanel.styles.d.ts +13 -0
- package/dist/index.d.ts +10 -0
- package/dist/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
export default Container;
|
|
2
|
-
declare function Container({ children, headerProps, sidebarMenuProps, styles, "data-testid": dataTestID }: {
|
|
2
|
+
declare function Container({ children, headerProps, sidebarMenuProps, sidePanelProps, styles, "data-testid": dataTestID }: {
|
|
3
3
|
children: any;
|
|
4
4
|
headerProps: any;
|
|
5
5
|
sidebarMenuProps: any;
|
|
6
|
+
sidePanelProps: any;
|
|
6
7
|
styles: any;
|
|
7
8
|
"data-testid": any;
|
|
8
9
|
}): React.JSX.Element;
|
|
@@ -11,6 +12,7 @@ declare namespace Container {
|
|
|
11
12
|
const children: any;
|
|
12
13
|
const headerProps: any;
|
|
13
14
|
const sidebarMenuProps: any;
|
|
15
|
+
const sidePanelProps: any;
|
|
14
16
|
const styles: any;
|
|
15
17
|
}
|
|
16
18
|
namespace defaultProps {
|
|
@@ -23,7 +25,19 @@ declare namespace Container {
|
|
|
23
25
|
export { DEFAULT_SIDEBAR_MENU_WIDTH as width };
|
|
24
26
|
}
|
|
25
27
|
export { sidebarMenuProps_1 as sidebarMenuProps };
|
|
28
|
+
export namespace sidePanelProps_1 {
|
|
29
|
+
const enabled_1: boolean;
|
|
30
|
+
export { enabled_1 as enabled };
|
|
31
|
+
const open_1: boolean;
|
|
32
|
+
export { open_1 as open };
|
|
33
|
+
export function onClose(): void;
|
|
34
|
+
export const title: string;
|
|
35
|
+
export const content: null;
|
|
36
|
+
export { DEFAULT_SIDE_PANEL_WIDTH as width };
|
|
37
|
+
}
|
|
38
|
+
export { sidePanelProps_1 as sidePanelProps };
|
|
26
39
|
}
|
|
27
40
|
}
|
|
28
41
|
import React from "react";
|
|
29
42
|
declare const DEFAULT_SIDEBAR_MENU_WIDTH: 240;
|
|
43
|
+
declare const DEFAULT_SIDE_PANEL_WIDTH: "45%";
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export default SidePanel;
|
|
2
|
+
declare function SidePanel({ open, onClose, title, content, width, styles }: {
|
|
3
|
+
open: any;
|
|
4
|
+
onClose: any;
|
|
5
|
+
title: any;
|
|
6
|
+
content: any;
|
|
7
|
+
width: any;
|
|
8
|
+
styles: any;
|
|
9
|
+
}): React.JSX.Element;
|
|
10
|
+
declare namespace SidePanel {
|
|
11
|
+
namespace propTypes {
|
|
12
|
+
const open: any;
|
|
13
|
+
const onClose: any;
|
|
14
|
+
const title: any;
|
|
15
|
+
const content: any;
|
|
16
|
+
const width: any;
|
|
17
|
+
const styles: any;
|
|
18
|
+
}
|
|
19
|
+
namespace defaultProps {
|
|
20
|
+
const open_1: boolean;
|
|
21
|
+
export { open_1 as open };
|
|
22
|
+
export function onClose_1(): void;
|
|
23
|
+
export { onClose_1 as onClose };
|
|
24
|
+
const title_1: string;
|
|
25
|
+
export { title_1 as title };
|
|
26
|
+
const content_1: null;
|
|
27
|
+
export { content_1 as content };
|
|
28
|
+
const width_1: null;
|
|
29
|
+
export { width_1 as width };
|
|
30
|
+
const styles_1: {};
|
|
31
|
+
export { styles_1 as styles };
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
import React from "react";
|
package/dist/index.d.ts
CHANGED
|
@@ -92,11 +92,21 @@ declare module 'andoncloud-sdk' {
|
|
|
92
92
|
itemStyles?: React.CSSProperties;
|
|
93
93
|
subitemStyles?: React.CSSProperties;
|
|
94
94
|
}
|
|
95
|
+
|
|
96
|
+
interface SidePanelProps {
|
|
97
|
+
enabled: boolean;
|
|
98
|
+
open?: boolean;
|
|
99
|
+
title?: string;
|
|
100
|
+
content: React.ReactNode;
|
|
101
|
+
width?: string;
|
|
102
|
+
styles?: React.CSSProperties;
|
|
103
|
+
}
|
|
95
104
|
|
|
96
105
|
interface ContainerProps {
|
|
97
106
|
children: React.ReactNode;
|
|
98
107
|
headerProps: HeaderProps;
|
|
99
108
|
sidebarMenuProps?: SidebarMenuProps;
|
|
109
|
+
sidePanelProps?: SidePanelProps;
|
|
100
110
|
styles?: React.CSSProperties;
|
|
101
111
|
}
|
|
102
112
|
export const Container: React.FC<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.7";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "andoncloud-sdk",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.7",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
6
|
"source": "src/index.js",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"main": "dist/andoncloud-sdk.js",
|
|
9
9
|
"module": "dist/andoncloud-sdk.js",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@sentry/react": "^10.
|
|
11
|
+
"@sentry/react": "^10.8.0",
|
|
12
12
|
"@sentry/tracing": "^7.120.4",
|
|
13
13
|
"classnames": "^2.5.1",
|
|
14
14
|
"history": "^5.3.0",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"@testing-library/jest-dom": "^6.8.0",
|
|
58
58
|
"@testing-library/react": "^16.3.0",
|
|
59
59
|
"@types/react": "^19.1.12",
|
|
60
|
-
"@types/react-dom": "^19.1.
|
|
60
|
+
"@types/react-dom": "^19.1.9",
|
|
61
61
|
"@types/react-gtm-module": "^2.0.4",
|
|
62
62
|
"andoncloud-library-scripts": "^1.0.11",
|
|
63
63
|
"babel-preset-react-app": "^10.1.0",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"npm-run-all": "^4.1.5",
|
|
74
74
|
"react": "^19.1.1",
|
|
75
75
|
"react-dom": "^19.1.1",
|
|
76
|
-
"react-i18next": "^15.7.
|
|
76
|
+
"react-i18next": "^15.7.3",
|
|
77
77
|
"react-router-dom": "^6.30.1",
|
|
78
78
|
"react-scripts": "^5.0.1"
|
|
79
79
|
},
|