acacia-ui 1.1.1 → 1.3.0

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 (37) hide show
  1. package/dist/components/layout/VerticalLayout/VerticalLayout.d.ts +1 -1
  2. package/dist/components/layout/VerticalLayout/VerticalLayout.d.ts.map +1 -1
  3. package/dist/components/ui/Avatar/Avatar.d.ts.map +1 -1
  4. package/dist/components/ui/Breadcrumb/Breadcrumb.d.ts.map +1 -1
  5. package/dist/components/ui/ConfigProvider/ConfigProvider.d.ts.map +1 -1
  6. package/dist/components/ui/ConfigProvider/defaultTheme.d.ts +1 -1
  7. package/dist/components/ui/ConfigProvider/defaultTheme.d.ts.map +1 -1
  8. package/dist/components/ui/Menu/Menu.d.ts.map +1 -1
  9. package/dist/components/ui/Modal/Modal.d.ts +7 -0
  10. package/dist/components/ui/Modal/Modal.d.ts.map +1 -0
  11. package/dist/components/ui/Pagination/Pagination.d.ts.map +1 -1
  12. package/dist/components/ui/Panel/Panel.d.ts +2 -1
  13. package/dist/components/ui/Panel/Panel.d.ts.map +1 -1
  14. package/dist/components/ui/Panel/usePanelStyles.d.ts +3 -1
  15. package/dist/components/ui/Panel/usePanelStyles.d.ts.map +1 -1
  16. package/dist/components/ui/Popconfirm/Popconfirm.d.ts +4 -0
  17. package/dist/components/ui/Popconfirm/Popconfirm.d.ts.map +1 -0
  18. package/dist/components/ui/Tabs/Tabs.d.ts.map +1 -1
  19. package/dist/components/ui/Typography/Typography.d.ts +3 -2
  20. package/dist/components/ui/Typography/Typography.d.ts.map +1 -1
  21. package/dist/components/ui/Typography/useTypographyStyles.d.ts +1 -0
  22. package/dist/components/ui/Typography/useTypographyStyles.d.ts.map +1 -1
  23. package/dist/components/ui/interfaces.d.ts +16 -54
  24. package/dist/components/ui/interfaces.d.ts.map +1 -1
  25. package/dist/index.d.ts +4 -1
  26. package/dist/index.d.ts.map +1 -1
  27. package/dist/main.js +4393 -70
  28. package/dist/main.js.map +1 -1
  29. package/dist/theme/customTheme.d.ts +2 -0
  30. package/dist/theme/customTheme.d.ts.map +1 -1
  31. package/dist/utils/colors.util.d.ts +1 -0
  32. package/dist/utils/colors.util.d.ts.map +1 -1
  33. package/dist/utils/theming.util.d.ts +5 -0
  34. package/dist/utils/theming.util.d.ts.map +1 -0
  35. package/package.json +4 -1
  36. package/dist/theme/antdTheme.d.ts +0 -4
  37. package/dist/theme/antdTheme.d.ts.map +0 -1
@@ -3,7 +3,9 @@ import type { AcaciaThemes } from "../components/ui/interfaces";
3
3
  export interface NewToken {
4
4
  headingFontFamily: string;
5
5
  appTheme: AcaciaThemes;
6
+ appThemeMode: "light" | "dark";
6
7
  logo: React.ReactNode | string;
8
+ darkPopover: boolean;
7
9
  }
8
10
  declare module "antd-style" {
9
11
  interface CustomToken extends NewToken {
@@ -1 +1 @@
1
- {"version":3,"file":"customTheme.d.ts","sourceRoot":"","sources":["../../src/theme/customTheme.ts"],"names":[],"mappings":"AAAA,OAAO,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAEhE,MAAM,WAAW,QAAQ;IACxB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,QAAQ,EAAE,YAAY,CAAC;IACvB,IAAI,EAAE,KAAK,CAAC,SAAS,GAAG,MAAM,CAAC;CAC/B;AAGD,OAAO,QAAQ,YAAY,CAAC;IAE3B,UAAiB,WAAY,SAAQ,QAAQ;KAAG;CAChD;AAED,eAAO,MAAM,WAAW,EAAE,QAKzB,CAAC"}
1
+ {"version":3,"file":"customTheme.d.ts","sourceRoot":"","sources":["../../src/theme/customTheme.ts"],"names":[],"mappings":"AAAA,OAAO,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAEhE,MAAM,WAAW,QAAQ;IACxB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,QAAQ,EAAE,YAAY,CAAC;IACvB,YAAY,EAAE,OAAO,GAAG,MAAM,CAAC;IAC/B,IAAI,EAAE,KAAK,CAAC,SAAS,GAAG,MAAM,CAAC;IAC/B,WAAW,EAAE,OAAO,CAAC;CACrB;AAGD,OAAO,QAAQ,YAAY,CAAC;IAE3B,UAAiB,WAAY,SAAQ,QAAQ;KAAG;CAChD;AAED,eAAO,MAAM,WAAW,EAAE,QAOzB,CAAC"}
@@ -9,4 +9,5 @@ export declare const generate: (color?: string, darken?: boolean) => {
9
9
  */
10
10
  export declare const renderBlackOrWhiteText: (color: string) => string;
11
11
  export declare function hexToRGBA(hex: string, opacityPercent: number): string;
12
+ export declare const editOpacity: (type: "hex" | "rgba", color: string) => string;
12
13
  //# sourceMappingURL=colors.util.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"colors.util.d.ts","sourceRoot":"","sources":["../../src/utils/colors.util.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ,GAAI,QAAQ,MAAM,EAAE,SAAS,OAAO;;;CAYxD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,GAAI,OAAO,MAAM,KAAG,MAOtD,CAAC;AAEF,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,UAM5D"}
1
+ {"version":3,"file":"colors.util.d.ts","sourceRoot":"","sources":["../../src/utils/colors.util.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,QAAQ,GAAI,QAAQ,MAAM,EAAE,SAAS,OAAO;;;CAYxD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,GAAI,OAAO,MAAM,KAAG,MAOtD,CAAC;AAEF,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,UAM5D;AAED,eAAO,MAAM,WAAW,GAAI,MAAM,KAAK,GAAG,MAAM,EAAE,OAAO,MAAM,WAS9D,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { AcaciaThemes } from "../components/ui/interfaces";
2
+ export declare const getThemedBackgroundPicture: (theme: AcaciaThemes) => string;
3
+ export declare const getThemedContentBackgroundPicture: (theme: AcaciaThemes) => string;
4
+ export declare const getThemedTitleHeaderBackgroundPicture: (theme: AcaciaThemes) => string;
5
+ //# sourceMappingURL=theming.util.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theming.util.d.ts","sourceRoot":"","sources":["../../src/utils/theming.util.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAIhE,eAAO,MAAM,0BAA0B,GAAI,OAAO,YAAY,WAM7D,CAAC;AAEF,eAAO,MAAM,iCAAiC,GAAI,OAAO,YAAY,WAMpE,CAAC;AAGF,eAAO,MAAM,qCAAqC,GAAI,OAAO,YAAY,WAMxE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "acacia-ui",
3
- "version": "1.1.1",
3
+ "version": "1.3.0",
4
4
  "description": "Acacia Design UI Library",
5
5
  "main": "dist/main.js",
6
6
  "typings": "dist/index.d.ts",
@@ -36,6 +36,7 @@
36
36
  "@babel/preset-react": "^7.22.15",
37
37
  "@biomejs/biome": "1.9.4",
38
38
  "@fortawesome/fontawesome-svg-core": "^7.1.0",
39
+ "@fortawesome/free-regular-svg-icons": "^7.1.0",
39
40
  "@fortawesome/free-solid-svg-icons": "^7.1.0",
40
41
  "@fortawesome/react-fontawesome": "^3.1.0",
41
42
  "@mirawision/colorize": "^1.4.1",
@@ -46,8 +47,10 @@
46
47
  "@storybook/addon-onboarding": "^9.0.5",
47
48
  "@storybook/addon-webpack5-compiler-swc": "^3.0.0",
48
49
  "@storybook/react-webpack5": "^9.0.5",
50
+ "@types/chroma-js": "^3.1.2",
49
51
  "antd": "^6.1.0",
50
52
  "babel-loader": "^9.1.3",
53
+ "chroma-js": "^3.2.0",
51
54
  "chromatic": "^13.3.4",
52
55
  "core-js": "^3.33.0",
53
56
  "cross-env": "^7.0.3",
@@ -1,4 +0,0 @@
1
- import type { ThemeConfig } from "antd";
2
- declare const defaultAcaciaTheme: ThemeConfig;
3
- export default defaultAcaciaTheme;
4
- //# sourceMappingURL=antdTheme.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"antdTheme.d.ts","sourceRoot":"","sources":["../../src/theme/antdTheme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AAExC,QAAA,MAAM,kBAAkB,EAAE,WAIzB,CAAC;AAEF,eAAe,kBAAkB,CAAC"}