@crystaltech/hsms-shared-ui 0.5.6 → 0.5.8
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/AccountInfoWithAvatar.d.ts +1 -1
- package/dist/components/layout/MainLayout/index.d.ts +1 -1
- package/dist/components/ui/Loader.d.ts +8 -0
- package/dist/hooks/useLogout.d.ts +6 -0
- package/dist/index.d.ts +6 -5
- package/dist/index.es.js +11753 -11550
- package/dist/index.js +71 -71
- package/dist/routes/RoutesConfigLayout.d.ts +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { default as React } from 'react';
|
|
|
2
2
|
import { IUserManage } from './layout/MainLayout';
|
|
3
3
|
interface AccountInfoWithAvatarProps {
|
|
4
4
|
userManage: IUserManage;
|
|
5
|
-
logoutHandler: () => void
|
|
5
|
+
logoutHandler: () => Promise<void>;
|
|
6
6
|
}
|
|
7
7
|
declare const AccountInfoWithAvatar: React.FC<AccountInfoWithAvatarProps>;
|
|
8
8
|
export default AccountInfoWithAvatar;
|
|
@@ -22,7 +22,7 @@ export interface ILayoutConfig {
|
|
|
22
22
|
export interface IMainLayout {
|
|
23
23
|
children: React.ReactNode;
|
|
24
24
|
layoutConfig: ILayoutConfig;
|
|
25
|
-
logoutHandler?: () => void
|
|
25
|
+
logoutHandler?: () => Promise<void>;
|
|
26
26
|
title: string;
|
|
27
27
|
}
|
|
28
28
|
declare const MainLayout: React.FC<IMainLayout>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
export { default as ThemeSetting } from './components/ThemeSetting';
|
|
2
|
+
export { default as MainLayout } from './components/layout/MainLayout';
|
|
3
|
+
export { default as MainlayoutWithWrapper } from './components/layout/MainlayoutWithWrapper';
|
|
4
|
+
export { default as MultiDynamicTable } from './components/MultiDynamicTable/MultiDynamicTable';
|
|
5
|
+
export { default as ProfilePages } from './components/ProfilePages';
|
|
2
6
|
export { default as AsyncAutocomplete } from './components/ui/AsyncAutocomplete';
|
|
3
7
|
export { default as CheckboxListWithAvatar } from './components/ui/CheckboxListWithAvatar';
|
|
4
8
|
export { default as ControlledDatePicker } from './components/ui/ControlledDatePicker';
|
|
9
|
+
export { default as CustomButton } from './components/ui/CustomButton';
|
|
5
10
|
export { default as CustomCheckbox } from './components/ui/CustomCheckbox';
|
|
6
11
|
export { default as CustomColorPicker } from './components/ui/CustomColorPicker';
|
|
7
12
|
export { default as CustomDatePicker } from './components/ui/CustomDatePicker';
|
|
@@ -14,10 +19,6 @@ export { default as CustomSelectableList } from './components/ui/CustomSelectabl
|
|
|
14
19
|
export { default as CustomSwitch } from './components/ui/CustomSwitch';
|
|
15
20
|
export { default as CustomTabs } from './components/ui/CustomTabs';
|
|
16
21
|
export { default as CustomTextField } from './components/ui/CustomTextfield';
|
|
17
|
-
export { default as
|
|
18
|
-
export { default as MainLayout } from './components/layout/MainLayout';
|
|
19
|
-
export { default as MainlayoutWithWrapper } from './components/layout/MainlayoutWithWrapper';
|
|
20
|
-
export { default as MultiDynamicTable } from './components/MultiDynamicTable/MultiDynamicTable';
|
|
21
|
-
export { default as ProfilePages } from './components/ProfilePages';
|
|
22
|
+
export { default as Loader } from './components/ui/Loader';
|
|
22
23
|
export { default as RoutesConfigLayout } from './routes/RoutesConfigLayout';
|
|
23
24
|
export { default as ThemeCustomization } from './theme/ThemeCustomization';
|