@web_xiaobai/business-ui 0.0.30 → 0.0.31

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.
Files changed (34) hide show
  1. package/dist/_extendThemeOverrides/LayoutMenu.d.ts +2 -3
  2. package/dist/_types/_businessTheme.d.ts +0 -2
  3. package/dist/boden-business-ui.es.js +12878 -4323
  4. package/dist/boden-business-ui.umd.js +2061 -1330
  5. package/dist/components/HeaderPlatformNavigation/src/HeaderPlatformNavigation.d.ts +1 -1
  6. package/dist/components/LayoutMenu/src/LayoutMenu.d.ts +24 -18
  7. package/dist/components/LayoutMenu/src/constants.d.ts +2 -1
  8. package/dist/components/LayoutMenu/src/modules/verticalMenu.d.ts +13 -1
  9. package/dist/components/LayoutMenu/src/modules/verticalMixMenu.d.ts +18 -6
  10. package/dist/components/{FirstLevelMenu/src/props.d.ts → LayoutMenu/src/modules/verticalStackedMenu.d.ts} +178 -53
  11. package/dist/components/LayoutMenu/src/props.d.ts +29 -12
  12. package/dist/components/LayoutMenu/src/types.d.ts +2 -0
  13. package/dist/components/LayoutSidebar/src/LayoutSidebar.d.ts +23 -17
  14. package/dist/components/LayoutSidebar/src/props.d.ts +11 -8
  15. package/dist/components/LayoutSidebar/src/types.d.ts +2 -0
  16. package/dist/components/index.d.ts +0 -1
  17. package/package.json +2 -2
  18. package/dist/_extendThemeOverrides/FirstLevelMenu.d.ts +0 -6
  19. package/dist/components/FirstLevelMenu/index.d.ts +0 -3
  20. package/dist/components/FirstLevelMenu/src/FirstLevelMenu.d.ts +0 -1039
  21. package/dist/components/FirstLevelMenu/src/MenuItem.d.ts +0 -52
  22. package/dist/components/FirstLevelMenu/src/MenuItemContent.d.ts +0 -71
  23. package/dist/components/FirstLevelMenu/src/SubMenu.d.ts +0 -94
  24. package/dist/components/FirstLevelMenu/src/context.d.ts +0 -4
  25. package/dist/components/FirstLevelMenu/src/styles/index.cssr.d.ts +0 -3
  26. package/dist/components/FirstLevelMenu/src/types.d.ts +0 -3
  27. package/dist/components/FirstLevelMenu/src/use-menu-child-props.d.ts +0 -9
  28. package/dist/components/FirstLevelMenu/src/use-menu-child.d.ts +0 -22
  29. package/dist/components/FirstLevelMenu/src/useCssVars.d.ts +0 -33
  30. package/dist/components/FirstLevelMenu/src/utils.d.ts +0 -90
  31. package/dist/components/FirstLevelMenu/styles/_common.d.ts +0 -2
  32. package/dist/components/FirstLevelMenu/styles/dark.d.ts +0 -2
  33. package/dist/components/FirstLevelMenu/styles/index.d.ts +0 -2
  34. package/dist/components/FirstLevelMenu/styles/light.d.ts +0 -2
@@ -1,7 +1,4 @@
1
1
  export declare const bodenLayoutSidebarProps: {
2
- readonly menuProps: {
3
- readonly type: import('vue').PropType<Omit<import('naive-ui').MenuProps, "themeOverrides">>;
4
- };
5
2
  readonly extendThemeOverrides: {
6
3
  readonly type: import('vue').PropType<import('../../../_extendThemeOverrides/LayoutMenu').LayoutMenuExtendThemeOverrides>;
7
4
  readonly default: () => {};
@@ -17,14 +14,20 @@ export declare const bodenLayoutSidebarProps: {
17
14
  readonly renderMixChildMenuHeader: {
18
15
  readonly type: import('vue').PropType<() => import('vue').VNode>;
19
16
  };
20
- readonly firstLevelMenuProps: {
21
- readonly type: import('vue').PropType<Omit<import('../..').BodenFirstLevelMenuProps, "themeOverrides">>;
17
+ readonly renderMenuHeader: {
18
+ readonly type: import('vue').PropType<() => import('vue').VNode>;
19
+ };
20
+ readonly renderMenuFooter: {
21
+ readonly type: import('vue').PropType<() => import('vue').VNode>;
22
+ };
23
+ readonly stackedMenuProps: {
24
+ readonly type: import('vue').PropType<Omit<import('@web_xiaobai/ui').BodenStackedMenuProps, "extendThemeOverrides">>;
22
25
  };
23
- readonly mixChildMenuProps: {
26
+ readonly menuProps: {
24
27
  readonly type: import('vue').PropType<Omit<import('naive-ui').MenuProps, "themeOverrides">>;
25
28
  };
26
29
  readonly mode: {
27
- readonly type: import('vue').PropType<import('../..').LayoutMenuMode>;
28
- readonly default: import("../..").LayoutMenuMode.VERTICAL_MIX;
30
+ readonly type: import('vue').PropType<"vertical" | "vertical-stacked" | "vertical-mix">;
31
+ readonly default: import("../..").LayoutMenuModeEnum.VERTICAL_MIX;
29
32
  };
30
33
  };
@@ -3,4 +3,6 @@ export type BodenLayoutSidebarSlots = {
3
3
  header?: () => VNode[];
4
4
  footer?: () => VNode[];
5
5
  mixChildMenuHeader?: () => VNode[];
6
+ menuHeader?: () => VNode[];
7
+ menuFooter?: () => VNode[];
6
8
  };
@@ -1,6 +1,5 @@
1
1
  export * from './ConfigProvider';
2
2
  export * from './HeaderPlatformNavigation';
3
- export * from './FirstLevelMenu';
4
3
  export * from './LayoutLogo';
5
4
  export * from './LayoutHeader';
6
5
  export * from './LayoutActionWrap';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@web_xiaobai/business-ui",
3
3
  "private": false,
4
- "version": "0.0.30",
4
+ "version": "0.0.31",
5
5
  "type": "module",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -46,7 +46,7 @@
46
46
  },
47
47
  "dependencies": {
48
48
  "@css-render/plugin-bem": "^0.15.14",
49
- "@web_xiaobai/ui": "^0.0.26",
49
+ "@web_xiaobai/ui": "0.0.33",
50
50
  "css-render": "^0.15.14",
51
51
  "date-fns": "^4.1.0",
52
52
  "es-toolkit": "^1.41.0",
@@ -1,6 +0,0 @@
1
- import { MenuProps } from 'naive-ui';
2
- type MenuThemeOverrides = MenuProps['themeOverrides'] & {};
3
- export interface FirstLevelMenuExtendThemeOverrides extends MenuThemeOverrides {
4
- itemColorExpended?: string;
5
- }
6
- export {};
@@ -1,3 +0,0 @@
1
- export { default as FirstLevelMenu } from './src/FirstLevelMenu';
2
- export { bodenFirstLevelMenuProps } from './src/props';
3
- export * from './src/types';