@adminui-dev/layout 1.2.1 → 1.2.2
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/typings.d.ts +3 -1
- package/dist/index.d.ts +3 -1
- package/package.json +1 -1
|
@@ -7,6 +7,7 @@ type SkinType = 'tidy' | 'rich';
|
|
|
7
7
|
type Position = "top" | "center" | "bottom";
|
|
8
8
|
type AvatarPosition = "rightTop" | "leftBottom" | "none";
|
|
9
9
|
type BreadcrumbIconVisible = "none" | "first" | "all";
|
|
10
|
+
type MenuItemSelectColor = "default" | "primary" | "invert";
|
|
10
11
|
type ConfigStateDispatcher = {
|
|
11
12
|
layoutConfig: LayoutConfig;
|
|
12
13
|
locale: string;
|
|
@@ -38,6 +39,7 @@ interface LayoutConfig {
|
|
|
38
39
|
flated?: boolean;
|
|
39
40
|
noneHeader?: boolean;
|
|
40
41
|
menuIconSize?: number;
|
|
42
|
+
menuItemSelectColor?: MenuItemSelectColor;
|
|
41
43
|
containerMargin?: number;
|
|
42
44
|
compact?: boolean;
|
|
43
45
|
largeBrand?: boolean;
|
|
@@ -143,4 +145,4 @@ interface ContainerProps extends LayoutProps {
|
|
|
143
145
|
children?: React.ReactNode;
|
|
144
146
|
styles?: RootStyles;
|
|
145
147
|
}
|
|
146
|
-
export type { LayoutProps, BaseLayoutProps, RootLayoutProps, ContainerProps, ContainerMode, ContainerStretch, Theme, LayoutTheme, LayoutType, LayoutConfig, Language, LocaleMessageData, UserInfo, BrandInfo, ConfigStateDispatcher, ConfigActionDispatcher, SkinType, ThemeSkin, MenuData, Position, AvatarPosition, BreadcrumbIconVisible, OutletContainer };
|
|
148
|
+
export type { LayoutProps, BaseLayoutProps, RootLayoutProps, ContainerProps, ContainerMode, ContainerStretch, Theme, LayoutTheme, LayoutType, LayoutConfig, Language, LocaleMessageData, UserInfo, BrandInfo, ConfigStateDispatcher, ConfigActionDispatcher, SkinType, ThemeSkin, MenuData, Position, AvatarPosition, BreadcrumbIconVisible, MenuItemSelectColor, OutletContainer };
|
package/dist/index.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ type SkinType = 'tidy' | 'rich';
|
|
|
11
11
|
type Position = "top" | "center" | "bottom";
|
|
12
12
|
type AvatarPosition = "rightTop" | "leftBottom" | "none";
|
|
13
13
|
type BreadcrumbIconVisible = "none" | "first" | "all";
|
|
14
|
+
type MenuItemSelectColor = "default" | "primary" | "invert";
|
|
14
15
|
type ConfigStateDispatcher = {
|
|
15
16
|
layoutConfig: LayoutConfig;
|
|
16
17
|
locale: string;
|
|
@@ -42,6 +43,7 @@ interface LayoutConfig {
|
|
|
42
43
|
flated?: boolean;
|
|
43
44
|
noneHeader?: boolean;
|
|
44
45
|
menuIconSize?: number;
|
|
46
|
+
menuItemSelectColor?: MenuItemSelectColor;
|
|
45
47
|
containerMargin?: number;
|
|
46
48
|
compact?: boolean;
|
|
47
49
|
largeBrand?: boolean;
|
|
@@ -236,4 +238,4 @@ declare const hexToRgbaString: (color: string, alpha?: number) => string;
|
|
|
236
238
|
declare const getLayoutTheme: (theme: Theme) => LayoutTheme;
|
|
237
239
|
|
|
238
240
|
export { BaseLayout, export_default as FullScreenButton, LayoutBackground, createConfigActionContext, createConfigStateContext, defaultConfig, defineConfig, getAvatarInitials, getLayoutTheme, hexToRgb, hexToRgbaString, useConfigAction, useConfigState, useTheme };
|
|
239
|
-
export type { AvatarPosition, BaseLayoutProps, BrandInfo, BreadcrumbIconVisible, ConfigActionDispatcher, ConfigStateDispatcher, ContainerMode, ContainerProps, ContainerStretch, Language, LayoutConfig, LayoutProps, LayoutTheme, LayoutType, LocaleMessageData, MenuData, OutletContainer, Position, RootLayoutProps, SkinType, Theme, ThemeSkin, UserInfo };
|
|
241
|
+
export type { AvatarPosition, BaseLayoutProps, BrandInfo, BreadcrumbIconVisible, ConfigActionDispatcher, ConfigStateDispatcher, ContainerMode, ContainerProps, ContainerStretch, Language, LayoutConfig, LayoutProps, LayoutTheme, LayoutType, LocaleMessageData, MenuData, MenuItemSelectColor, OutletContainer, Position, RootLayoutProps, SkinType, Theme, ThemeSkin, UserInfo };
|