beca-ui 2.1.1-beta.25 → 2.1.1-beta.27

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/beca-ui.js CHANGED
@@ -100400,7 +100400,8 @@ const h8 = Cu({
100400
100400
  token: {
100401
100401
  ...e7.token,
100402
100402
  fontFamily: he.fontFamily ?? Q6
100403
- }
100403
+ },
100404
+ ...e.themeConfig
100404
100405
  },
100405
100406
  children: /* @__PURE__ */ P(
100406
100407
  h8.Provider,
@@ -2,6 +2,7 @@ import React from "react";
2
2
  import { SideBarMenuProps } from "./SideBarMenu";
3
3
  import { HeaderProps, NotificationRef } from "./Header";
4
4
  import { SideBarMenuModel } from "../../models";
5
+ import { ThemeConfig } from "antd";
5
6
  export type MainTheme = "Beca" | "Office" | "SHE";
6
7
  export interface MainLayoutProps extends Omit<SideBarMenuProps, "sideBarMenus">, HeaderProps {
7
8
  children?: React.ReactNode;
@@ -23,6 +24,7 @@ export interface MainLayoutProps extends Omit<SideBarMenuProps, "sideBarMenus">,
23
24
  layout?: {
24
25
  header?: "top" | "side";
25
26
  };
27
+ themeConfig?: ThemeConfig;
26
28
  }
27
29
  export interface UserConfig {
28
30
  showEventTheme?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "beca-ui",
3
- "version": "2.1.1-beta.25",
3
+ "version": "2.1.1-beta.27",
4
4
  "description": "Becawork UI",
5
5
  "license": "MIT",
6
6
  "author": {