andoncloud-sdk 1.6.3 → 1.6.5
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/index.d.ts +18 -14
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -9,6 +9,10 @@ import { RadioProps } from './app/core/ui/Radio';
|
|
|
9
9
|
import { RadioGroupProps } from './app/core/ui/RadioGroup';
|
|
10
10
|
|
|
11
11
|
declare module 'andoncloud-sdk' {
|
|
12
|
+
export type Styles = React.CSSProperties & {
|
|
13
|
+
[selector: string]: Styles;
|
|
14
|
+
};
|
|
15
|
+
|
|
12
16
|
interface NavItem {
|
|
13
17
|
label: string;
|
|
14
18
|
url?: string;
|
|
@@ -67,8 +71,8 @@ declare module 'andoncloud-sdk' {
|
|
|
67
71
|
interface MenuProps {
|
|
68
72
|
items?: MenuItem[];
|
|
69
73
|
buttonColor?: string;
|
|
70
|
-
dropdownStyles?:
|
|
71
|
-
styles?:
|
|
74
|
+
dropdownStyles?: Styles;
|
|
75
|
+
styles?: Styles;
|
|
72
76
|
}
|
|
73
77
|
|
|
74
78
|
interface HeaderProps {
|
|
@@ -76,11 +80,11 @@ declare module 'andoncloud-sdk' {
|
|
|
76
80
|
showAcLogo?: boolean;
|
|
77
81
|
leadingText?: string;
|
|
78
82
|
title?: string;
|
|
79
|
-
titleStyles?:
|
|
83
|
+
titleStyles?: Styles;
|
|
80
84
|
navProps?: NavProps;
|
|
81
85
|
userProps?: UserProps;
|
|
82
86
|
menuProps?: MenuProps;
|
|
83
|
-
styles?:
|
|
87
|
+
styles?: Styles;
|
|
84
88
|
}
|
|
85
89
|
|
|
86
90
|
interface SidebarMenuItem extends NavItem {
|
|
@@ -92,10 +96,10 @@ declare module 'andoncloud-sdk' {
|
|
|
92
96
|
items: SidebarMenuItem[];
|
|
93
97
|
open?: boolean;
|
|
94
98
|
width?: number;
|
|
95
|
-
styles?:
|
|
96
|
-
listStyles?:
|
|
97
|
-
itemStyles?:
|
|
98
|
-
subitemStyles?:
|
|
99
|
+
styles?: Styles;
|
|
100
|
+
listStyles?: Styles;
|
|
101
|
+
itemStyles?: Styles;
|
|
102
|
+
subitemStyles?: Styles;
|
|
99
103
|
}
|
|
100
104
|
|
|
101
105
|
export interface SidePanelProps {
|
|
@@ -106,11 +110,11 @@ declare module 'andoncloud-sdk' {
|
|
|
106
110
|
mainContent: React.ReactNode;
|
|
107
111
|
asideContent?: React.ReactNode;
|
|
108
112
|
width?: string;
|
|
109
|
-
styles?:
|
|
110
|
-
headerStyles?:
|
|
111
|
-
contentWrapperStyles?:
|
|
112
|
-
mainContentStyles?:
|
|
113
|
-
asideContentStyles?:
|
|
113
|
+
styles?: Styles;
|
|
114
|
+
headerStyles?: Styles;
|
|
115
|
+
contentWrapperStyles?: Styles;
|
|
116
|
+
mainContentStyles?: Styles;
|
|
117
|
+
asideContentStyles?: Styles;
|
|
114
118
|
}
|
|
115
119
|
|
|
116
120
|
interface ContainerProps {
|
|
@@ -118,7 +122,7 @@ declare module 'andoncloud-sdk' {
|
|
|
118
122
|
headerProps: HeaderProps;
|
|
119
123
|
sidebarMenuProps?: SidebarMenuProps;
|
|
120
124
|
sidePanelProps?: SidePanelProps;
|
|
121
|
-
styles?:
|
|
125
|
+
styles?: Styles;
|
|
122
126
|
}
|
|
123
127
|
export const Container: React.FC<ContainerProps>;
|
|
124
128
|
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const LIBRARY_VERSION = "1.6.
|
|
1
|
+
export declare const LIBRARY_VERSION = "1.6.5";
|