acacia-ui 1.0.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.
- package/README.md +11 -0
- package/dist/components/layout/VerticalLayout/VerticalHeader.d.ts +14 -0
- package/dist/components/layout/VerticalLayout/VerticalHeader.d.ts.map +1 -0
- package/dist/components/layout/VerticalLayout/VerticalLayout.d.ts +40 -0
- package/dist/components/layout/VerticalLayout/VerticalLayout.d.ts.map +1 -0
- package/dist/components/layout/styles/useMainNavStyles.d.ts +2 -0
- package/dist/components/layout/styles/useMainNavStyles.d.ts.map +1 -0
- package/dist/components/ui/Avatar/Avatar.d.ts +7 -0
- package/dist/components/ui/Avatar/Avatar.d.ts.map +1 -0
- package/dist/components/ui/Badge/Badge.d.ts +10 -0
- package/dist/components/ui/Badge/Badge.d.ts.map +1 -0
- package/dist/components/ui/Badge/Ribbon.d.ts +7 -0
- package/dist/components/ui/Badge/Ribbon.d.ts.map +1 -0
- package/dist/components/ui/Breadcrumb/Breadcrumb.d.ts +7 -0
- package/dist/components/ui/Breadcrumb/Breadcrumb.d.ts.map +1 -0
- package/dist/components/ui/Button/Button.d.ts +4 -0
- package/dist/components/ui/Button/Button.d.ts.map +1 -0
- package/dist/components/ui/Card/Card.d.ts +4 -0
- package/dist/components/ui/Card/Card.d.ts.map +1 -0
- package/dist/components/ui/Card/useCardStyles.d.ts +4 -0
- package/dist/components/ui/Card/useCardStyles.d.ts.map +1 -0
- package/dist/components/ui/Checkbox/Checkbox.d.ts +14 -0
- package/dist/components/ui/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/components/ui/Checkbox/CheckboxGroup.d.ts +8 -0
- package/dist/components/ui/Checkbox/CheckboxGroup.d.ts.map +1 -0
- package/dist/components/ui/ConfigProvider/ConfigProvider.d.ts +7 -0
- package/dist/components/ui/ConfigProvider/ConfigProvider.d.ts.map +1 -0
- package/dist/components/ui/ConfigProvider/defaultTheme.d.ts +6 -0
- package/dist/components/ui/ConfigProvider/defaultTheme.d.ts.map +1 -0
- package/dist/components/ui/DatePicker/DatePicker.d.ts +23 -0
- package/dist/components/ui/DatePicker/DatePicker.d.ts.map +1 -0
- package/dist/components/ui/DatePicker/RangePicker.d.ts +5 -0
- package/dist/components/ui/DatePicker/RangePicker.d.ts.map +1 -0
- package/dist/components/ui/Dropdown/Dropdown.d.ts +10 -0
- package/dist/components/ui/Dropdown/Dropdown.d.ts.map +1 -0
- package/dist/components/ui/Dropdown/DropdownButton.d.ts +4 -0
- package/dist/components/ui/Dropdown/DropdownButton.d.ts.map +1 -0
- package/dist/components/ui/Input/Input.d.ts +13 -0
- package/dist/components/ui/Input/Input.d.ts.map +1 -0
- package/dist/components/ui/Input/OTP.d.ts +5 -0
- package/dist/components/ui/Input/OTP.d.ts.map +1 -0
- package/dist/components/ui/Input/Password.d.ts +4 -0
- package/dist/components/ui/Input/Password.d.ts.map +1 -0
- package/dist/components/ui/Input/Search.d.ts +4 -0
- package/dist/components/ui/Input/Search.d.ts.map +1 -0
- package/dist/components/ui/Input/TextArea.d.ts +4 -0
- package/dist/components/ui/Input/TextArea.d.ts.map +1 -0
- package/dist/components/ui/Input/useInputStyles.d.ts +7 -0
- package/dist/components/ui/Input/useInputStyles.d.ts.map +1 -0
- package/dist/components/ui/Menu/Menu.d.ts +7 -0
- package/dist/components/ui/Menu/Menu.d.ts.map +1 -0
- package/dist/components/ui/Pagination/Pagination.d.ts +7 -0
- package/dist/components/ui/Pagination/Pagination.d.ts.map +1 -0
- package/dist/components/ui/Radio/Button.d.ts +4 -0
- package/dist/components/ui/Radio/Button.d.ts.map +1 -0
- package/dist/components/ui/Radio/Radio.d.ts +11 -0
- package/dist/components/ui/Radio/Radio.d.ts.map +1 -0
- package/dist/components/ui/Radio/RadioGroup.d.ts +4 -0
- package/dist/components/ui/Radio/RadioGroup.d.ts.map +1 -0
- package/dist/components/ui/Segmented/Segmented.d.ts +9 -0
- package/dist/components/ui/Segmented/Segmented.d.ts.map +1 -0
- package/dist/components/ui/Select/Select.d.ts +7 -0
- package/dist/components/ui/Select/Select.d.ts.map +1 -0
- package/dist/components/ui/Space/Space.d.ts +7 -0
- package/dist/components/ui/Space/Space.d.ts.map +1 -0
- package/dist/components/ui/Switch/Switch.d.ts +7 -0
- package/dist/components/ui/Switch/Switch.d.ts.map +1 -0
- package/dist/components/ui/Tabs/Tabs.d.ts +3 -0
- package/dist/components/ui/Tabs/Tabs.d.ts.map +1 -0
- package/dist/components/ui/Tabs/useTabsStyle.d.ts +4 -0
- package/dist/components/ui/Tabs/useTabsStyle.d.ts.map +1 -0
- package/dist/components/ui/Tag/Tag.d.ts +7 -0
- package/dist/components/ui/Tag/Tag.d.ts.map +1 -0
- package/dist/components/ui/TimePicker/TimePicker.d.ts +7 -0
- package/dist/components/ui/TimePicker/TimePicker.d.ts.map +1 -0
- package/dist/components/ui/TimePicker/TimeRangePicker.d.ts +4 -0
- package/dist/components/ui/TimePicker/TimeRangePicker.d.ts.map +1 -0
- package/dist/components/ui/Typography/Typography.d.ts +19 -0
- package/dist/components/ui/Typography/Typography.d.ts.map +1 -0
- package/dist/components/ui/Typography/useTypographyStyles.d.ts +17 -0
- package/dist/components/ui/Typography/useTypographyStyles.d.ts.map +1 -0
- package/dist/components/ui/interfaces.d.ts +378 -0
- package/dist/components/ui/interfaces.d.ts.map +1 -0
- package/dist/hooks/useAcaciaColors.d.ts +48 -0
- package/dist/hooks/useAcaciaColors.d.ts.map +1 -0
- package/dist/hooks/useAcaciaConfig.d.ts +31 -0
- package/dist/hooks/useAcaciaConfig.d.ts.map +1 -0
- package/dist/hooks/useFoucHandler.d.ts +2 -0
- package/dist/hooks/useFoucHandler.d.ts.map +1 -0
- package/dist/hooks/useScreenSize.d.ts +3 -0
- package/dist/hooks/useScreenSize.d.ts.map +1 -0
- package/dist/index.d.ts +29 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/main.css +158 -0
- package/dist/main.css.map +1 -0
- package/dist/main.js +9173 -0
- package/dist/main.js.map +1 -0
- package/dist/theme/antdTheme.d.ts +4 -0
- package/dist/theme/antdTheme.d.ts.map +1 -0
- package/dist/theme/customTheme.d.ts +13 -0
- package/dist/theme/customTheme.d.ts.map +1 -0
- package/dist/theme/defaultLogo.d.ts +3 -0
- package/dist/theme/defaultLogo.d.ts.map +1 -0
- package/dist/theme/typographyUtil.d.ts +25 -0
- package/dist/theme/typographyUtil.d.ts.map +1 -0
- package/dist/tokens/interfaces.d.ts +104 -0
- package/dist/tokens/interfaces.d.ts.map +1 -0
- package/dist/tokens/useAcaciaToken.d.ts +4 -0
- package/dist/tokens/useAcaciaToken.d.ts.map +1 -0
- package/dist/utils/colors.util.d.ts +12 -0
- package/dist/utils/colors.util.d.ts.map +1 -0
- package/dist/utils/parseBackgroundColors.d.ts +15 -0
- package/dist/utils/parseBackgroundColors.d.ts.map +1 -0
- package/dist/utils/useSampledBackgroundColor.d.ts +2 -0
- package/dist/utils/useSampledBackgroundColor.d.ts.map +1 -0
- package/package.json +78 -0
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import "@fontsource-variable/roboto-flex";
|
|
2
|
+
import type { AcaciaThemes } from "../components/ui/interfaces";
|
|
3
|
+
export interface NewToken {
|
|
4
|
+
headingFontFamily: string;
|
|
5
|
+
appTheme: AcaciaThemes;
|
|
6
|
+
logo: React.ReactNode | string;
|
|
7
|
+
}
|
|
8
|
+
declare module "antd-style" {
|
|
9
|
+
interface CustomToken extends NewToken {
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
export declare const CustomTheme: NewToken;
|
|
13
|
+
//# sourceMappingURL=customTheme.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defaultLogo.d.ts","sourceRoot":"","sources":["../../src/theme/defaultLogo.tsx"],"names":[],"mappings":"AACA,OAAO,kCAAkC,CAAC;AAS1C,MAAM,CAAC,OAAO,UAAU,WAAW,4CAqElC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare const typographyUtil: {
|
|
2
|
+
fontSize: {
|
|
3
|
+
h1: number;
|
|
4
|
+
h2: number;
|
|
5
|
+
h3: number;
|
|
6
|
+
h4: number;
|
|
7
|
+
h5: number;
|
|
8
|
+
body1: number;
|
|
9
|
+
body2: number;
|
|
10
|
+
caption: number;
|
|
11
|
+
overline: number;
|
|
12
|
+
};
|
|
13
|
+
letterSpacing: {
|
|
14
|
+
h1: string;
|
|
15
|
+
h2: string;
|
|
16
|
+
h3: string;
|
|
17
|
+
h4: string;
|
|
18
|
+
h5: string;
|
|
19
|
+
body1: string;
|
|
20
|
+
default: string;
|
|
21
|
+
caption: string;
|
|
22
|
+
overline: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=typographyUtil.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typographyUtil.d.ts","sourceRoot":"","sources":["../../src/theme/typographyUtil.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;CAuB1B,CAAC"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import type { ThemeConfig } from "antd";
|
|
2
|
+
import type { AliasToken, GlobalToken } from "antd/es/theme/interface";
|
|
3
|
+
type DeepPartial<T> = {
|
|
4
|
+
[P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : T[P];
|
|
5
|
+
};
|
|
6
|
+
export interface AcaciaThemeConfig extends ThemeConfig {
|
|
7
|
+
token?: DeepPartial<AcaciaAliasToken>;
|
|
8
|
+
}
|
|
9
|
+
export interface AcaciaAliasToken extends AliasToken {
|
|
10
|
+
/**
|
|
11
|
+
* @nameEN Main font for the entire app
|
|
12
|
+
* @descEN Font used for most elements in the app
|
|
13
|
+
*/
|
|
14
|
+
fontFamily: string;
|
|
15
|
+
/**
|
|
16
|
+
* @nameEN Heading font for the entire app
|
|
17
|
+
* @descEN Font used for headings in the app
|
|
18
|
+
*/
|
|
19
|
+
headingFontFamily: string;
|
|
20
|
+
colors: {
|
|
21
|
+
/**
|
|
22
|
+
* @nameEN Main primary color of the app
|
|
23
|
+
* @descEN Controls the primary color of all elements
|
|
24
|
+
*/
|
|
25
|
+
primary: string;
|
|
26
|
+
/**
|
|
27
|
+
* @nameEN Main color for the text
|
|
28
|
+
* @descEN Controls the main color for the text elements
|
|
29
|
+
*/
|
|
30
|
+
primaryText: string;
|
|
31
|
+
/**
|
|
32
|
+
* @nameEN Main color for the caption text
|
|
33
|
+
* @descEN Controls the color for the caption text elements
|
|
34
|
+
*/
|
|
35
|
+
caption: string;
|
|
36
|
+
};
|
|
37
|
+
theme: {
|
|
38
|
+
lightOnDark: boolean;
|
|
39
|
+
brand: string;
|
|
40
|
+
gradient1: string;
|
|
41
|
+
gradient2: string;
|
|
42
|
+
gradient3: string;
|
|
43
|
+
gradient4: string;
|
|
44
|
+
cove: string;
|
|
45
|
+
accent: string;
|
|
46
|
+
body: string;
|
|
47
|
+
};
|
|
48
|
+
header: {
|
|
49
|
+
imgUrl: string;
|
|
50
|
+
};
|
|
51
|
+
sidepanel: {
|
|
52
|
+
imgUrl: string;
|
|
53
|
+
};
|
|
54
|
+
panel: {
|
|
55
|
+
bgColor: string;
|
|
56
|
+
};
|
|
57
|
+
form: {
|
|
58
|
+
marginBottom: string;
|
|
59
|
+
};
|
|
60
|
+
card: {
|
|
61
|
+
bgcolor: string;
|
|
62
|
+
contentbg: string;
|
|
63
|
+
headerbg: string;
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
export interface AcaciaToken extends GlobalToken {
|
|
67
|
+
fontFamily: string;
|
|
68
|
+
headingFontFamily: string;
|
|
69
|
+
colors: {
|
|
70
|
+
primary: string;
|
|
71
|
+
primaryText: string;
|
|
72
|
+
caption: string;
|
|
73
|
+
};
|
|
74
|
+
theme: {
|
|
75
|
+
lightOnDark: boolean;
|
|
76
|
+
brand: string;
|
|
77
|
+
gradient1: string;
|
|
78
|
+
gradient2: string;
|
|
79
|
+
gradient3: string;
|
|
80
|
+
gradient4: string;
|
|
81
|
+
cove: string;
|
|
82
|
+
accent: string;
|
|
83
|
+
body: string;
|
|
84
|
+
};
|
|
85
|
+
header: {
|
|
86
|
+
imgUrl: string;
|
|
87
|
+
};
|
|
88
|
+
sidepanel: {
|
|
89
|
+
imgUrl: string;
|
|
90
|
+
};
|
|
91
|
+
panel: {
|
|
92
|
+
bgColor: string;
|
|
93
|
+
};
|
|
94
|
+
form: {
|
|
95
|
+
marginBottom: string;
|
|
96
|
+
};
|
|
97
|
+
card: {
|
|
98
|
+
bgcolor: string;
|
|
99
|
+
contentbg: string;
|
|
100
|
+
headerbg: string;
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
export {};
|
|
104
|
+
//# sourceMappingURL=interfaces.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../src/tokens/interfaces.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACxC,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAGvE,KAAK,WAAW,CAAC,CAAC,IAAI;KACpB,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS,MAAM,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAC/D,CAAC;AAEF,MAAM,WAAW,iBAAkB,SAAQ,WAAW;IACrD,KAAK,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAC;CACtC;AAED,MAAM,WAAW,gBAAiB,SAAQ,UAAU;IACnD;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B,MAAM,EAAE;QACP;;;WAGG;QACH,OAAO,EAAE,MAAM,CAAC;QAChB;;;WAGG;QACH,WAAW,EAAE,MAAM,CAAC;QACpB;;;WAGG;QACH,OAAO,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,KAAK,EAAE;QACN,WAAW,EAAE,OAAO,CAAC;QACrB,KAAK,EAAE,MAAM,CAAC;QACd,SAAS,EAAE,MAAM,CAAC;QAClB,SAAS,EAAE,MAAM,CAAC;QAClB,SAAS,EAAE,MAAM,CAAC;QAClB,SAAS,EAAE,MAAM,CAAC;QAClB,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;KACb,CAAC;IACF,MAAM,EAAE;QACP,MAAM,EAAE,MAAM,CAAC;KACf,CAAC;IACF,SAAS,EAAE;QACV,MAAM,EAAE,MAAM,CAAC;KACf,CAAC;IACF,KAAK,EAAE;QACN,OAAO,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,IAAI,EAAE;QACL,YAAY,EAAE,MAAM,CAAC;KACrB,CAAC;IACF,IAAI,EAAE;QACL,OAAO,EAAE,MAAM,CAAC;QAChB,SAAS,EAAE,MAAM,CAAC;QAClB,QAAQ,EAAE,MAAM,CAAC;KACjB,CAAC;CACF;AAED,MAAM,WAAW,WAAY,SAAQ,WAAW;IAC/C,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,MAAM,EAAE;QACP,OAAO,EAAE,MAAM,CAAC;QAChB,WAAW,EAAE,MAAM,CAAC;QACpB,OAAO,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,KAAK,EAAE;QACN,WAAW,EAAE,OAAO,CAAC;QACrB,KAAK,EAAE,MAAM,CAAC;QACd,SAAS,EAAE,MAAM,CAAC;QAClB,SAAS,EAAE,MAAM,CAAC;QAClB,SAAS,EAAE,MAAM,CAAC;QAClB,SAAS,EAAE,MAAM,CAAC;QAClB,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;KACb,CAAC;IACF,MAAM,EAAE;QACP,MAAM,EAAE,MAAM,CAAC;KACf,CAAC;IACF,SAAS,EAAE;QACV,MAAM,EAAE,MAAM,CAAC;KACf,CAAC;IACF,KAAK,EAAE;QACN,OAAO,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,IAAI,EAAE;QACL,YAAY,EAAE,MAAM,CAAC;KACrB,CAAC;IACF,IAAI,EAAE;QACL,OAAO,EAAE,MAAM,CAAC;QAChB,SAAS,EAAE,MAAM,CAAC;QAClB,QAAQ,EAAE,MAAM,CAAC;KACjB,CAAC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAcaciaToken.d.ts","sourceRoot":"","sources":["../../src/tokens/useAcaciaToken.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,cAAc;;CAK1B,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const generate: (color?: string, darken?: boolean) => {
|
|
2
|
+
colors: string[];
|
|
3
|
+
neutral: string[];
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
*@description - used to handle color algorithm to return black / white depending on the color given
|
|
7
|
+
* @param color - HEX color code or a string color (ex: black)
|
|
8
|
+
* @returns return black or white color as string
|
|
9
|
+
*/
|
|
10
|
+
export declare const renderBlackOrWhiteText: (color: string) => string;
|
|
11
|
+
export declare function hexToRGBA(hex: string, opacityPercent: number): string;
|
|
12
|
+
//# sourceMappingURL=colors.util.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export type ParsedColor = {
|
|
2
|
+
format: "hex";
|
|
3
|
+
value: string;
|
|
4
|
+
} | {
|
|
5
|
+
format: "rgb";
|
|
6
|
+
value: string;
|
|
7
|
+
} | {
|
|
8
|
+
format: "named";
|
|
9
|
+
value: string;
|
|
10
|
+
};
|
|
11
|
+
export interface ParsedBackgroundColors {
|
|
12
|
+
colors: ParsedColor[];
|
|
13
|
+
}
|
|
14
|
+
export declare function parseBackgroundColors(css: string): ParsedBackgroundColors;
|
|
15
|
+
//# sourceMappingURL=parseBackgroundColors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parseBackgroundColors.d.ts","sourceRoot":"","sources":["../../src/utils/parseBackgroundColors.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GACpB;IAAE,MAAM,EAAE,KAAK,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GAChC;IAAE,MAAM,EAAE,KAAK,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GAChC;IAAE,MAAM,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAEtC,MAAM,WAAW,sBAAsB;IACtC,MAAM,EAAE,WAAW,EAAE,CAAC;CACtB;AAgBD,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,sBAAsB,CAmBzE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSampledBackgroundColor.d.ts","sourceRoot":"","sources":["../../src/utils/useSampledBackgroundColor.ts"],"names":[],"mappings":"AAEA,wBAAgB,yBAAyB,CACxC,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,UA8CvC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "acacia-ui",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Acacia Design UI Library",
|
|
5
|
+
"main": "dist/main.js",
|
|
6
|
+
"typings": "dist/index.d.ts",
|
|
7
|
+
"sideEffects": true,
|
|
8
|
+
"repository": "https://github.com/skimkoh/acacia-ui.git",
|
|
9
|
+
"scripts": {
|
|
10
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
11
|
+
"repackage": "rm -rf dist && rm -rf package && rm acacia-design-1.0.1.tgz && cross-env NODE_ENV=production webpack-cli --progress --color && npm pack && tar -xvzf *.tgz",
|
|
12
|
+
"package": "cross-env NODE_ENV=production webpack-cli --progress --color && npm pack && tar -xvzf *.tgz",
|
|
13
|
+
"prepublishOnly": "npm run build",
|
|
14
|
+
"build": "cross-env NODE_ENV=production webpack-cli --progress --color",
|
|
15
|
+
"semantic-release": "semantic-release",
|
|
16
|
+
"storybook": "storybook dev -p 6006",
|
|
17
|
+
"build-storybook": "storybook build",
|
|
18
|
+
"serve-storybook": "serve storybook-static"
|
|
19
|
+
},
|
|
20
|
+
"peerDependencies": {
|
|
21
|
+
"@ant-design/colors": "^7.0.2",
|
|
22
|
+
"@fontsource-variable/inter": "^5.0.17",
|
|
23
|
+
"@fontsource-variable/outfit": "^5.0.12",
|
|
24
|
+
"@fontsource-variable/roboto-flex": "^5.2.8",
|
|
25
|
+
"antd": "^6.0.0",
|
|
26
|
+
"antd-style": "^3.5.2",
|
|
27
|
+
"prop-types": "^15.8.1",
|
|
28
|
+
"react": "^18.3.1",
|
|
29
|
+
"react-dom": "^18.3.1",
|
|
30
|
+
"styled-components": "^6.1.6"
|
|
31
|
+
},
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"@ant-design/icons": "^5.2.6",
|
|
34
|
+
"@babel/core": "^7.23.2",
|
|
35
|
+
"@babel/preset-env": "^7.23.2",
|
|
36
|
+
"@babel/preset-react": "^7.22.15",
|
|
37
|
+
"@biomejs/biome": "1.9.4",
|
|
38
|
+
"@fortawesome/fontawesome-svg-core": "^7.1.0",
|
|
39
|
+
"@fortawesome/free-solid-svg-icons": "^7.1.0",
|
|
40
|
+
"@fortawesome/react-fontawesome": "^3.1.0",
|
|
41
|
+
"@mirawision/colorize": "^1.4.1",
|
|
42
|
+
"@semantic-release/changelog": "^6.0.3",
|
|
43
|
+
"@semantic-release/git": "^10.0.1",
|
|
44
|
+
"@semantic-release/npm": "^13.1.2",
|
|
45
|
+
"@storybook/addon-docs": "^9.0.5",
|
|
46
|
+
"@storybook/addon-onboarding": "^9.0.5",
|
|
47
|
+
"@storybook/addon-webpack5-compiler-swc": "^3.0.0",
|
|
48
|
+
"@storybook/react-webpack5": "^9.0.5",
|
|
49
|
+
"antd": "^6.0.0",
|
|
50
|
+
"babel-loader": "^9.1.3",
|
|
51
|
+
"chromatic": "^13.3.4",
|
|
52
|
+
"core-js": "^3.33.0",
|
|
53
|
+
"cross-env": "^7.0.3",
|
|
54
|
+
"css-loader": "^6.8.1",
|
|
55
|
+
"mini-css-extract-plugin": "^2.9.0",
|
|
56
|
+
"react-docgen-typescript": "^2.2.2",
|
|
57
|
+
"react-docgen-typescript-plugin": "^1.0.8",
|
|
58
|
+
"react-helmet": "^6.1.0",
|
|
59
|
+
"semantic-release": "^25.0.2",
|
|
60
|
+
"storybook": "^9.0.5",
|
|
61
|
+
"style-loader": "^3.3.3",
|
|
62
|
+
"ts-loader": "^9.5.0",
|
|
63
|
+
"ts-pattern": "^5.7.1",
|
|
64
|
+
"typescript": "^5.2.2",
|
|
65
|
+
"typescript-plugin-css-modules": "^5.0.1",
|
|
66
|
+
"webpack": "^5.89.0",
|
|
67
|
+
"webpack-cli": "^5.1.4",
|
|
68
|
+
"webpack-merge": "^5.9.0"
|
|
69
|
+
},
|
|
70
|
+
"browserslist": [
|
|
71
|
+
">0.25%",
|
|
72
|
+
"not ie 11",
|
|
73
|
+
"not op_mini all"
|
|
74
|
+
],
|
|
75
|
+
"files": [
|
|
76
|
+
"/dist"
|
|
77
|
+
]
|
|
78
|
+
}
|