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