acacia-ui 1.1.0 → 1.1.1

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.
@@ -0,0 +1,4 @@
1
+ import type { PropsWithChildren } from "react";
2
+ declare const VerticalContent: (props: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
3
+ export default VerticalContent;
4
+ //# sourceMappingURL=VerticalContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VerticalContent.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/VerticalLayout/VerticalContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,QAAA,MAAM,eAAe,GAAI,OAAO,iBAAiB,4CAEhD,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -1,10 +1,11 @@
1
1
  import type { AcaciaMenuProps, AcaciaThemes } from "../../ui/interfaces";
2
2
  import { type PropsWithChildren } from "react";
3
3
  interface LayoutProps {
4
- headerBackgroundProps: HeaderBackgroundProps;
4
+ headerBackgroundProps?: HeaderBackgroundProps;
5
5
  menuProps?: Omit<AcaciaMenuProps, "mode">;
6
6
  documentHeadLabel?: string;
7
7
  mainTextColor?: string;
8
+ contentBackgroundProps?: ContentBackgroundProps;
8
9
  }
9
10
  type BackgroundImage = {
10
11
  type: "theme";
@@ -27,6 +28,24 @@ interface HeaderBackgroundProps {
27
28
  headerBackgroundImage?: BackgroundImage;
28
29
  headerBackgroundFill?: BackgroundFill;
29
30
  }
31
+ type ContentBackgroundImage = {
32
+ type: "theme";
33
+ theme: AcaciaThemes;
34
+ } | {
35
+ type: "custom-image";
36
+ src: string;
37
+ };
38
+ type ContentBackgroundFill = {
39
+ type: "theme";
40
+ theme: AcaciaThemes;
41
+ } | {
42
+ type: "solid";
43
+ color: string;
44
+ };
45
+ interface ContentBackgroundProps {
46
+ contentBackgroundImage?: ContentBackgroundImage;
47
+ contentBackgroundFill?: ContentBackgroundFill;
48
+ }
30
49
  export declare const VerticalLayoutContext: import("react").Context<{
31
50
  mainTextColor: string;
32
51
  accentColor: string;
@@ -35,6 +54,7 @@ export declare const VerticalLayoutContext: import("react").Context<{
35
54
  declare const VerticalLayout: {
36
55
  ({ headerBackgroundProps: { headerBackgroundImage, headerBackgroundFill, }, ...props }: PropsWithChildren<LayoutProps>): import("react/jsx-runtime").JSX.Element;
37
56
  VerticalHeader: ({ ...props }: import("./VerticalHeader").VerticalHeaderProps) => import("react/jsx-runtime").JSX.Element;
57
+ VerticalContent: (props: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
38
58
  };
39
59
  export default VerticalLayout;
40
60
  //# sourceMappingURL=VerticalLayout.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"VerticalLayout.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/VerticalLayout/VerticalLayout.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAEzE,OAAO,EAA8B,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAe3E,UAAU,WAAW;IACpB,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,SAAS,CAAC,EAAE,IAAI,CAAC,eAAe,EAAE,MAAM,CAAC,CAAC;IAC1C,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAC;CACvB;AAGD,KAAK,eAAe,GACjB;IACA,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,YAAY,CAAC;CACnB,GACD;IAAE,IAAI,EAAE,cAAc,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC;AAGzC,KAAK,cAAc,GAChB;IACA,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,YAAY,CAAC;CACnB,GACD;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,MAAM,EAAE,MAAM,EAAE,CAAA;CAAE,GACtC;IAAE,IAAI,EAAE,cAAc,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC;AAGzC,UAAU,qBAAqB;IAC9B,qBAAqB,CAAC,EAAE,eAAe,CAAC;IACxC,oBAAoB,CAAC,EAAE,cAAc,CAAC;CACtC;AAUD,eAAO,MAAM,qBAAqB;mBAClB,MAAM;iBACR,MAAM;eACR,MAAM,EAAE,GAAG,IAAI;EACZ,CAAC;AAEhB,QAAA,MAAM,cAAc;4FAMjB,iBAAiB,CAAC,WAAW,CAAC;;CAsJhC,CAAC;AAGF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"VerticalLayout.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/VerticalLayout/VerticalLayout.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAEzE,OAAO,EAIN,KAAK,iBAAiB,EACtB,MAAM,OAAO,CAAC;AAsBf,UAAU,WAAW;IACpB,qBAAqB,CAAC,EAAE,qBAAqB,CAAC;IAC9C,SAAS,CAAC,EAAE,IAAI,CAAC,eAAe,EAAE,MAAM,CAAC,CAAC;IAC1C,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,sBAAsB,CAAC,EAAE,sBAAsB,CAAC;CAChD;AAGD,KAAK,eAAe,GACjB;IACA,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,YAAY,CAAC;CACnB,GACD;IAAE,IAAI,EAAE,cAAc,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC;AAGzC,KAAK,cAAc,GAChB;IACA,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,YAAY,CAAC;CACnB,GACD;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,MAAM,EAAE,MAAM,EAAE,CAAA;CAAE,GACtC;IAAE,IAAI,EAAE,cAAc,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC;AAGzC,UAAU,qBAAqB;IAC9B,qBAAqB,CAAC,EAAE,eAAe,CAAC;IACxC,oBAAoB,CAAC,EAAE,cAAc,CAAC;CACtC;AAGD,KAAK,sBAAsB,GACxB;IACA,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,YAAY,CAAC;CACnB,GACD;IAAE,IAAI,EAAE,cAAc,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC;AAGzC,KAAK,qBAAqB,GACvB;IACA,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,YAAY,CAAC;CACnB,GACD;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAEpC,UAAU,sBAAsB;IAC/B,sBAAsB,CAAC,EAAE,sBAAsB,CAAC;IAChD,qBAAqB,CAAC,EAAE,qBAAqB,CAAC;CAC9C;AAkBD,eAAO,MAAM,qBAAqB;mBAClB,MAAM;iBACR,MAAM;eACR,MAAM,EAAE,GAAG,IAAI;EACZ,CAAC;AAEhB,QAAA,MAAM,cAAc;4FAMjB,iBAAiB,CAAC,WAAW,CAAC;;;CAqMhC,CAAC;AAIF,eAAe,cAAc,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { AcaciaThemes } from "../ui/interfaces";
2
+ export declare const isVerticalHeader: (child: React.ReactNode) => boolean;
3
+ export declare const isVerticalContent: (child: React.ReactNode) => boolean;
4
+ export declare const getThemeGradients: Record<AcaciaThemes, string[]>;
5
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/layout/utils.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD,eAAO,MAAM,gBAAgB,GAAI,OAAO,KAAK,CAAC,SAAS,YACA,CAAC;AAExD,eAAO,MAAM,iBAAiB,GAAI,OAAO,KAAK,CAAC,SAAS,YACA,CAAC;AAGzD,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,YAAY,EAAE,MAAM,EAAE,CAI5D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"defaultTheme.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/ConfigProvider/defaultTheme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AAMxC,OAAO,4BAA4B,CAAC;AACpC,OAAO,6BAA6B,CAAC;AACrC,OAAO,kCAAkC,CAAC;AAE1C,wBAAgB,kBAAkB,IAAI,WAAW,CAgGhD"}
1
+ {"version":3,"file":"defaultTheme.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/ConfigProvider/defaultTheme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AAMxC,OAAO,4BAA4B,CAAC;AACpC,OAAO,6BAA6B,CAAC;AACrC,OAAO,kCAAkC,CAAC;AAI1C,wBAAgB,kBAAkB,IAAI,WAAW,CAgGhD"}
@@ -0,0 +1,6 @@
1
+ import type { ThemeConfig } from "antd";
2
+ import "@fontsource-variable/inter";
3
+ import "@fontsource-variable/outfit";
4
+ import "@fontsource-variable/roboto-flex";
5
+ export declare function useGetDefaultTheme(): ThemeConfig;
6
+ //# sourceMappingURL=mysticalTheme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mysticalTheme.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/ConfigProvider/mysticalTheme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AAMxC,OAAO,4BAA4B,CAAC;AACpC,OAAO,6BAA6B,CAAC;AACrC,OAAO,kCAAkC,CAAC;AAI1C,wBAAgB,kBAAkB,IAAI,WAAW,CAgGhD"}