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.
Files changed (116) hide show
  1. package/README.md +11 -0
  2. package/dist/components/layout/VerticalLayout/VerticalHeader.d.ts +14 -0
  3. package/dist/components/layout/VerticalLayout/VerticalHeader.d.ts.map +1 -0
  4. package/dist/components/layout/VerticalLayout/VerticalLayout.d.ts +40 -0
  5. package/dist/components/layout/VerticalLayout/VerticalLayout.d.ts.map +1 -0
  6. package/dist/components/layout/styles/useMainNavStyles.d.ts +2 -0
  7. package/dist/components/layout/styles/useMainNavStyles.d.ts.map +1 -0
  8. package/dist/components/ui/Avatar/Avatar.d.ts +7 -0
  9. package/dist/components/ui/Avatar/Avatar.d.ts.map +1 -0
  10. package/dist/components/ui/Badge/Badge.d.ts +10 -0
  11. package/dist/components/ui/Badge/Badge.d.ts.map +1 -0
  12. package/dist/components/ui/Badge/Ribbon.d.ts +7 -0
  13. package/dist/components/ui/Badge/Ribbon.d.ts.map +1 -0
  14. package/dist/components/ui/Breadcrumb/Breadcrumb.d.ts +7 -0
  15. package/dist/components/ui/Breadcrumb/Breadcrumb.d.ts.map +1 -0
  16. package/dist/components/ui/Button/Button.d.ts +4 -0
  17. package/dist/components/ui/Button/Button.d.ts.map +1 -0
  18. package/dist/components/ui/Card/Card.d.ts +4 -0
  19. package/dist/components/ui/Card/Card.d.ts.map +1 -0
  20. package/dist/components/ui/Card/useCardStyles.d.ts +4 -0
  21. package/dist/components/ui/Card/useCardStyles.d.ts.map +1 -0
  22. package/dist/components/ui/Checkbox/Checkbox.d.ts +14 -0
  23. package/dist/components/ui/Checkbox/Checkbox.d.ts.map +1 -0
  24. package/dist/components/ui/Checkbox/CheckboxGroup.d.ts +8 -0
  25. package/dist/components/ui/Checkbox/CheckboxGroup.d.ts.map +1 -0
  26. package/dist/components/ui/ConfigProvider/ConfigProvider.d.ts +7 -0
  27. package/dist/components/ui/ConfigProvider/ConfigProvider.d.ts.map +1 -0
  28. package/dist/components/ui/ConfigProvider/defaultTheme.d.ts +6 -0
  29. package/dist/components/ui/ConfigProvider/defaultTheme.d.ts.map +1 -0
  30. package/dist/components/ui/DatePicker/DatePicker.d.ts +23 -0
  31. package/dist/components/ui/DatePicker/DatePicker.d.ts.map +1 -0
  32. package/dist/components/ui/DatePicker/RangePicker.d.ts +5 -0
  33. package/dist/components/ui/DatePicker/RangePicker.d.ts.map +1 -0
  34. package/dist/components/ui/Dropdown/Dropdown.d.ts +10 -0
  35. package/dist/components/ui/Dropdown/Dropdown.d.ts.map +1 -0
  36. package/dist/components/ui/Dropdown/DropdownButton.d.ts +4 -0
  37. package/dist/components/ui/Dropdown/DropdownButton.d.ts.map +1 -0
  38. package/dist/components/ui/Input/Input.d.ts +13 -0
  39. package/dist/components/ui/Input/Input.d.ts.map +1 -0
  40. package/dist/components/ui/Input/OTP.d.ts +5 -0
  41. package/dist/components/ui/Input/OTP.d.ts.map +1 -0
  42. package/dist/components/ui/Input/Password.d.ts +4 -0
  43. package/dist/components/ui/Input/Password.d.ts.map +1 -0
  44. package/dist/components/ui/Input/Search.d.ts +4 -0
  45. package/dist/components/ui/Input/Search.d.ts.map +1 -0
  46. package/dist/components/ui/Input/TextArea.d.ts +4 -0
  47. package/dist/components/ui/Input/TextArea.d.ts.map +1 -0
  48. package/dist/components/ui/Input/useInputStyles.d.ts +7 -0
  49. package/dist/components/ui/Input/useInputStyles.d.ts.map +1 -0
  50. package/dist/components/ui/Menu/Menu.d.ts +7 -0
  51. package/dist/components/ui/Menu/Menu.d.ts.map +1 -0
  52. package/dist/components/ui/Pagination/Pagination.d.ts +7 -0
  53. package/dist/components/ui/Pagination/Pagination.d.ts.map +1 -0
  54. package/dist/components/ui/Radio/Button.d.ts +4 -0
  55. package/dist/components/ui/Radio/Button.d.ts.map +1 -0
  56. package/dist/components/ui/Radio/Radio.d.ts +11 -0
  57. package/dist/components/ui/Radio/Radio.d.ts.map +1 -0
  58. package/dist/components/ui/Radio/RadioGroup.d.ts +4 -0
  59. package/dist/components/ui/Radio/RadioGroup.d.ts.map +1 -0
  60. package/dist/components/ui/Segmented/Segmented.d.ts +9 -0
  61. package/dist/components/ui/Segmented/Segmented.d.ts.map +1 -0
  62. package/dist/components/ui/Select/Select.d.ts +7 -0
  63. package/dist/components/ui/Select/Select.d.ts.map +1 -0
  64. package/dist/components/ui/Space/Space.d.ts +7 -0
  65. package/dist/components/ui/Space/Space.d.ts.map +1 -0
  66. package/dist/components/ui/Switch/Switch.d.ts +7 -0
  67. package/dist/components/ui/Switch/Switch.d.ts.map +1 -0
  68. package/dist/components/ui/Tabs/Tabs.d.ts +3 -0
  69. package/dist/components/ui/Tabs/Tabs.d.ts.map +1 -0
  70. package/dist/components/ui/Tabs/useTabsStyle.d.ts +4 -0
  71. package/dist/components/ui/Tabs/useTabsStyle.d.ts.map +1 -0
  72. package/dist/components/ui/Tag/Tag.d.ts +7 -0
  73. package/dist/components/ui/Tag/Tag.d.ts.map +1 -0
  74. package/dist/components/ui/TimePicker/TimePicker.d.ts +7 -0
  75. package/dist/components/ui/TimePicker/TimePicker.d.ts.map +1 -0
  76. package/dist/components/ui/TimePicker/TimeRangePicker.d.ts +4 -0
  77. package/dist/components/ui/TimePicker/TimeRangePicker.d.ts.map +1 -0
  78. package/dist/components/ui/Typography/Typography.d.ts +19 -0
  79. package/dist/components/ui/Typography/Typography.d.ts.map +1 -0
  80. package/dist/components/ui/Typography/useTypographyStyles.d.ts +17 -0
  81. package/dist/components/ui/Typography/useTypographyStyles.d.ts.map +1 -0
  82. package/dist/components/ui/interfaces.d.ts +378 -0
  83. package/dist/components/ui/interfaces.d.ts.map +1 -0
  84. package/dist/hooks/useAcaciaColors.d.ts +48 -0
  85. package/dist/hooks/useAcaciaColors.d.ts.map +1 -0
  86. package/dist/hooks/useAcaciaConfig.d.ts +31 -0
  87. package/dist/hooks/useAcaciaConfig.d.ts.map +1 -0
  88. package/dist/hooks/useFoucHandler.d.ts +2 -0
  89. package/dist/hooks/useFoucHandler.d.ts.map +1 -0
  90. package/dist/hooks/useScreenSize.d.ts +3 -0
  91. package/dist/hooks/useScreenSize.d.ts.map +1 -0
  92. package/dist/index.d.ts +29 -0
  93. package/dist/index.d.ts.map +1 -0
  94. package/dist/main.css +158 -0
  95. package/dist/main.css.map +1 -0
  96. package/dist/main.js +9173 -0
  97. package/dist/main.js.map +1 -0
  98. package/dist/theme/antdTheme.d.ts +4 -0
  99. package/dist/theme/antdTheme.d.ts.map +1 -0
  100. package/dist/theme/customTheme.d.ts +13 -0
  101. package/dist/theme/customTheme.d.ts.map +1 -0
  102. package/dist/theme/defaultLogo.d.ts +3 -0
  103. package/dist/theme/defaultLogo.d.ts.map +1 -0
  104. package/dist/theme/typographyUtil.d.ts +25 -0
  105. package/dist/theme/typographyUtil.d.ts.map +1 -0
  106. package/dist/tokens/interfaces.d.ts +104 -0
  107. package/dist/tokens/interfaces.d.ts.map +1 -0
  108. package/dist/tokens/useAcaciaToken.d.ts +4 -0
  109. package/dist/tokens/useAcaciaToken.d.ts.map +1 -0
  110. package/dist/utils/colors.util.d.ts +12 -0
  111. package/dist/utils/colors.util.d.ts.map +1 -0
  112. package/dist/utils/parseBackgroundColors.d.ts +15 -0
  113. package/dist/utils/parseBackgroundColors.d.ts.map +1 -0
  114. package/dist/utils/useSampledBackgroundColor.d.ts +2 -0
  115. package/dist/utils/useSampledBackgroundColor.d.ts.map +1 -0
  116. package/package.json +78 -0
@@ -0,0 +1,378 @@
1
+ import type { AvatarProps, BreadcrumbProps, ButtonProps, CardProps, TypographyProps, TabsProps, RadioProps, SwitchProps, BadgeProps, CheckboxProps, SegmentedProps, StepsProps, SelectProps, FormProps, FormItemProps, DatePickerProps, MenuProps, TimePickerProps, ThemeConfig, TimeRangePickerProps, TagProps, ConfigProviderProps, SpaceProps } from "antd";
2
+ import type { TextProps } from "antd/es/typography/Text";
3
+ import type { TitleProps } from "antd/es/typography/Title";
4
+ import type { ParagraphProps } from "antd/es/typography/Paragraph";
5
+ import type { InputProps } from "antd/es/input/Input";
6
+ import type { PaginationProps } from "antd/es/pagination/Pagination";
7
+ import type { TextAreaProps } from "antd/es/input";
8
+ import type { RibbonProps } from "antd/es/badge/Ribbon";
9
+ import type { NewToken } from "../../theme/customTheme";
10
+ import type { PresetColorType, PresetStatusColorType } from "antd/es/_util/colors";
11
+ import type { LiteralUnion } from "antd/es/_util/type";
12
+ import type { TabsType } from "antd/es/tabs";
13
+ import type { BreadcrumbItemType, BreadcrumbSeparatorType } from "antd/es/breadcrumb/Breadcrumb";
14
+ import type { DropdownButtonProps, DropdownProps } from "antd/es/dropdown";
15
+ /**
16
+ * props for the acacia themes
17
+ */
18
+ export type AcaciaThemes = "classic" | "submarine" | "mystical";
19
+ /**
20
+ * Props for Acacia Breadcrumb component
21
+ * @see https://ant.design/components/breadcrumb
22
+ */
23
+ export type AcaciaBreadcrumbItemType = BreadcrumbItemType & {
24
+ icon?: React.ReactNode;
25
+ /**
26
+ * @default end
27
+ */
28
+ iconPosition?: "start" | "end";
29
+ };
30
+ export type AcaciaItemType = Partial<AcaciaBreadcrumbItemType & BreadcrumbSeparatorType>;
31
+ export interface AcaciaBreadcrumbProps extends BreadcrumbProps {
32
+ items?: AcaciaItemType[];
33
+ /**
34
+ * @default /
35
+ */
36
+ separator?: "/";
37
+ }
38
+ /**
39
+ * Props for Palette Avatar component
40
+ * @see https://ant.design/components/avatar
41
+ *
42
+ * Custom props:
43
+ * @property {string} [userId] - id of the user. if you want to show the user id in the avatar, set this property
44
+ * @property {"solid" | "transparent"} [type=solid] - determines the avatar type. 'solid' is for solid background while 'transparent' is for transparent background
45
+ * @property {() => void} [onClick] - click handler, to handle showing of
46
+ */
47
+ export interface AcaciaAvatarProps extends AvatarProps {
48
+ userId?: string;
49
+ type?: "solid" | "transparent";
50
+ onClick?: () => void;
51
+ }
52
+ /**
53
+ * Props for Acacia Button component
54
+ * @see https://ant.design/components/button
55
+ */
56
+ export interface AcaciaButtonProps extends ButtonProps {
57
+ /** Set button color */
58
+ color?: "default" | "primary" | "danger" | "blue" | "purple" | "cyan" | "green" | "magenta" | "pink" | "red" | "orange" | "yellow" | "volcano" | "geekblue" | "lime" | "gold";
59
+ variant?: "outlined" | "dashed" | "solid" | "filled" | "text" | "link";
60
+ /**
61
+ * Button style type.
62
+ * @default default
63
+ */
64
+ type?: "primary" | "dashed" | "link" | "text" | "default";
65
+ }
66
+ /**
67
+ * Props for Acacia Card component
68
+ * @see https://ant.design/components/card
69
+ *
70
+ * custom props:
71
+ * @property {boolean} [plainBody=false] - determines if the card should have plain body or textured body
72
+ * @property {React.ReactNode | string} [title] - card header title
73
+ * @property {React.ReactNode | string} [subtitle] - card header subtitle
74
+ *
75
+ */
76
+ export interface AcaciaCardProps extends CardProps {
77
+ /**
78
+ * content in the card
79
+ */
80
+ subtitle?: React.ReactNode | string;
81
+ title?: React.ReactNode | string;
82
+ plainBody?: boolean;
83
+ /**
84
+ * custom background banner picture if decides not to use themes.
85
+ * we are assuming that the picture is found under the public folder in nextjs
86
+ * example usage:
87
+ * headerBackgroundPicture: "./test.png"
88
+ */
89
+ headerBackgroundPicture?: string;
90
+ /**
91
+ * provides 3 themes of card header background, and put hexagon as the default
92
+ */
93
+ headerBackgroundTheme?: AcaciaThemes;
94
+ icon: React.ReactNode | string;
95
+ }
96
+ /**
97
+ * Props for Typography component
98
+ * @see https://ant.design/components/typography
99
+ */
100
+ export interface AcaciaTypographyProps extends TypographyProps {
101
+ }
102
+ /**
103
+ * Props for Acacia Title component
104
+ * @see https://ant.design/components/typography
105
+ *
106
+ * custom props:
107
+ * @property {string} [color] - color of the title
108
+ */
109
+ export interface AcaciaTitleProps extends TitleProps {
110
+ children: React.ReactNode;
111
+ color?: string;
112
+ }
113
+ /**
114
+ * Props for Palette Text component
115
+ * @see https://ant.design/components/typography
116
+ *
117
+ * custom props:
118
+ * @property {string} [color] - color of the title
119
+ * @property {1 | 2} [level=1] - level of the text
120
+ */
121
+ export interface AcaciaTextProps extends TextProps {
122
+ children: React.ReactNode;
123
+ level?: 1 | 2;
124
+ color?: string;
125
+ }
126
+ /**
127
+ * Props for Acacia Text component
128
+ * @see https://ant.design/components/typography
129
+ *
130
+ */
131
+ export interface AcaciaEmphasisProps extends AcaciaTextProps {
132
+ }
133
+ /**
134
+ * Props for Acacia Typography component
135
+ * @see https://ant.design/components/typography
136
+ *
137
+ * custom Palette props:
138
+ * @property {string} [color] - color of the title
139
+ */
140
+ export interface AcaciaBasicTypographyProps extends TextProps {
141
+ children: React.ReactNode;
142
+ color?: string;
143
+ }
144
+ /**
145
+ * Props for Acacia Paragraph component
146
+ * @see https://ant.design/components/typography
147
+ *
148
+ * custom props:
149
+ * @property {string} [color] - color of the title
150
+ */
151
+ export interface AcaciaParagraphProps extends ParagraphProps {
152
+ children: React.ReactNode;
153
+ color?: string;
154
+ }
155
+ /**
156
+ * Props for Acacia Space component
157
+ * @see https://ant.design/components/space
158
+ *
159
+ */
160
+ export interface AcaciaSpaceProps extends SpaceProps {
161
+ }
162
+ /**
163
+ * Props for Acacia Pagination component
164
+ * @see https://ant.design/components/pagination
165
+ *
166
+ */
167
+ export interface AcaciaPaginationProps extends PaginationProps {
168
+ /**
169
+ * @default "solid"
170
+ */
171
+ selectedStyle?: "solid" | "outline";
172
+ }
173
+ /**
174
+ * Props for Acacia Input component
175
+ * @see https://ant.design/components/input
176
+ *
177
+ */
178
+ export interface AcaciaInputProps extends InputProps {
179
+ }
180
+ /**
181
+ * Props for Acacia Input Text Area component
182
+ * @see https://ant.design/components/input#inputtextarea
183
+ *
184
+ */
185
+ export interface AcaciaInputTextAreaProps extends TextAreaProps {
186
+ }
187
+ export interface AcaciaTabsProps extends Omit<TabsProps, "type"> {
188
+ type: TabsType | "page" | "header";
189
+ }
190
+ /**
191
+ * Props for Palette Radio component
192
+ */
193
+ export interface AcaciaRadioProps extends RadioProps {
194
+ }
195
+ /**
196
+ * Props for Acacia Switch component
197
+ * @see https://ant.design/components/switch
198
+ */
199
+ export interface AcaciaSwitchProps extends SwitchProps {
200
+ }
201
+ /**
202
+ * Props for Acacia Badge component
203
+ * @see https://ant.design/components/badge
204
+ */
205
+ export interface AcaciaBadgeProps extends BadgeProps {
206
+ }
207
+ /**
208
+ * Props for Acacia Badge.Ribbon component
209
+ * @see https://ant.design/components/badge#badgeribbon
210
+ */
211
+ export interface AcaciaRibbonProps extends RibbonProps {
212
+ }
213
+ /**
214
+ * Props for Acacia Checkbox component
215
+ * @see https://ant.design/components/checkbox
216
+ */
217
+ export interface AcaciaCheckboxProps extends CheckboxProps {
218
+ }
219
+ /**
220
+ * Props for Acacia Segmented component
221
+ * @see https://ant.design/components/segmented
222
+ */
223
+ export interface AcaciaSegmentedProps extends SegmentedProps {
224
+ }
225
+ /**
226
+ * Props for Acacia Steps component
227
+ * @see https://ant.design/components/steps
228
+ */
229
+ export interface PaletteStepsProps extends StepsProps {
230
+ }
231
+ /**
232
+ * Props for Acacia Select component
233
+ * @see https://ant.design/components/select
234
+ */
235
+ export interface AcaciaSelectProps extends SelectProps {
236
+ }
237
+ /**
238
+ * Props for Acacia Panel component
239
+ *
240
+ * custom props:
241
+ * @property {React.ReactNode} children - content in the panel
242
+ */
243
+ export interface AcaciaPanelProps {
244
+ children: React.ReactNode;
245
+ }
246
+ /**
247
+ * Props for Acacia Form component
248
+ * @see https://ant.design/components/form
249
+ *
250
+ */
251
+ export interface AcaciaFormProps extends FormProps {
252
+ children: React.ReactNode;
253
+ }
254
+ /**
255
+ * Props for Acacia Form.Item component
256
+ * @see https://ant.design/components/form#formitem
257
+ *
258
+ * custom props:
259
+ * @property {string | React.ReactNode} [infoCopy] - helper text under the form item
260
+ */
261
+ export interface AcaciaFormItemProps extends FormItemProps {
262
+ children: React.ReactNode;
263
+ infoCopy?: string | React.ReactNode;
264
+ }
265
+ /**
266
+ * dropdown
267
+ */
268
+ export interface AcaciaDropdownProps extends DropdownProps {
269
+ }
270
+ export interface AcaciaDropdownButtonProps extends DropdownButtonProps {
271
+ }
272
+ /**
273
+ * DATEPICKER
274
+ */
275
+ export interface AcaciaDatePickerProps extends DatePickerProps {
276
+ }
277
+ export interface AcaciaDateRangePickerProps extends TimeRangePickerProps {
278
+ }
279
+ export interface AcaciaTimePickerProps extends TimePickerProps {
280
+ }
281
+ export interface AcaciaTimeRangePickerProps extends TimeRangePickerProps {
282
+ }
283
+ /**
284
+ * MENU
285
+ */
286
+ export interface AcaciaMenuProps extends MenuProps {
287
+ /**
288
+ * @default true
289
+ */
290
+ showRightBorder?: boolean;
291
+ }
292
+ /**
293
+ * BASIC PANEL
294
+ */
295
+ export interface AcaciaBasicPanelProps {
296
+ children: React.ReactNode;
297
+ bgColor?: string;
298
+ }
299
+ export interface AcaciaConfigProviderProps extends ConfigProviderProps {
300
+ children: React.ReactNode;
301
+ customToken?: Partial<NewToken>;
302
+ theme?: ThemeConfig;
303
+ }
304
+ /**
305
+ * TAG
306
+ */
307
+ export declare const AcaciaCustomColors: {
308
+ "cobalt-blue": {
309
+ background: string;
310
+ color: string;
311
+ };
312
+ "pastel-red": {
313
+ background: string;
314
+ color: string;
315
+ };
316
+ };
317
+ export declare const AcaciaColorArray: readonly ["cobalt-blue", "pastel-red"];
318
+ export type AcaciaColorType = (typeof AcaciaColorArray)[number];
319
+ export type AcaciaColors = LiteralUnion<PresetColorType | PresetStatusColorType | AcaciaColorType>;
320
+ export declare const isValidCustomColor: (value: string) => value is (typeof AcaciaColorArray)[number];
321
+ export interface AcaciaTagProps extends TagProps {
322
+ color?: AcaciaColors;
323
+ }
324
+ export interface AcaciaCustomToken {
325
+ /**
326
+ * @nameEN Main font for the entire app
327
+ * @descEN Font used for most elements in the app
328
+ */
329
+ fontFamily: string;
330
+ /**
331
+ * @nameEN Heading font for the entire app
332
+ * @descEN Font used for headings in the app
333
+ */
334
+ headingFontFamily: string;
335
+ colors: {
336
+ /**
337
+ * @nameEN Main primary color of the app
338
+ * @descEN Controls the primary color of all elements
339
+ */
340
+ primary: string;
341
+ /**
342
+ * @nameEN Main color for the text
343
+ * @descEN Controls the main color for the text elements
344
+ */
345
+ primaryText: string;
346
+ /**
347
+ * @nameEN Main color for the caption text
348
+ * @descEN Controls the color for the caption text elements
349
+ */
350
+ caption: string;
351
+ };
352
+ theme: {
353
+ lightOnDark: boolean;
354
+ brand: string;
355
+ gradient1: string;
356
+ gradient2: string;
357
+ gradient3: string;
358
+ gradient4: string;
359
+ cove: string;
360
+ accent: string;
361
+ body: string;
362
+ };
363
+ header: {
364
+ imgUrl: string;
365
+ };
366
+ sidepanel: {
367
+ imgUrl: string;
368
+ };
369
+ panel: {
370
+ bgColor: string;
371
+ };
372
+ card: {
373
+ bgcolor: string;
374
+ contentbg: string;
375
+ headerbg: string;
376
+ };
377
+ }
378
+ //# sourceMappingURL=interfaces.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/components/ui/interfaces.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,WAAW,EACX,eAAe,EACf,WAAW,EACX,SAAS,EACT,eAAe,EACf,SAAS,EACT,UAAU,EACV,WAAW,EACX,UAAU,EACV,aAAa,EACb,cAAc,EACd,UAAU,EACV,WAAW,EACX,SAAS,EACT,aAAa,EACb,eAAe,EACf,SAAS,EACT,eAAe,EACf,WAAW,EACX,oBAAoB,EACpB,QAAQ,EACR,mBAAmB,EACnB,UAAU,EACV,MAAM,MAAM,CAAC;AAEd,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,KA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,qBAAqB,GAAG,eAAe,CACzD,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAC9B,OAAO,MAAM,KACX,KAAK,IAAI,CAAC,OAAO,gBAAgB,EAAE,MAAM,CAE3C,CAAC;AAGF,MAAM,WAAW,cAAe,SAAQ,QAAQ;IAC/C,KAAK,CAAC,EAAE,YAAY,CAAC;CACrB;AAGD,MAAM,WAAW,iBAAiB;IACjC;;;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,OAAO,EAAE,MAAM,CAAC;QAChB,SAAS,EAAE,MAAM,CAAC;QAClB,QAAQ,EAAE,MAAM,CAAC;KACjB,CAAC;CACF"}
@@ -0,0 +1,48 @@
1
+ export declare const useAcaciaColors: () => {
2
+ colors: {
3
+ primaryGreen: string;
4
+ mystiqueBlack: string;
5
+ white: string;
6
+ offWhite: string;
7
+ brightGreen: string;
8
+ neutralGrey: string;
9
+ lesserInk: string;
10
+ border: {
11
+ button: string;
12
+ cell: string;
13
+ page: string;
14
+ };
15
+ link: {
16
+ hover: string;
17
+ };
18
+ success: {
19
+ primary: string;
20
+ fill: string;
21
+ stroke: string;
22
+ emphasis: string;
23
+ };
24
+ warning: {
25
+ primary: string;
26
+ fill: string;
27
+ stroke: string;
28
+ emphasis: string;
29
+ };
30
+ error: {
31
+ primary: string;
32
+ fill: string;
33
+ stroke: string;
34
+ emphasis: string;
35
+ };
36
+ info: {
37
+ primary: string;
38
+ fill: string;
39
+ stroke: string;
40
+ emphasis: string;
41
+ };
42
+ };
43
+ generate: (color?: string, darken?: boolean) => {
44
+ colors: string[];
45
+ neutral: string[];
46
+ };
47
+ };
48
+ //# sourceMappingURL=useAcaciaColors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useAcaciaColors.d.ts","sourceRoot":"","sources":["../../src/hooks/useAcaciaColors.tsx"],"names":[],"mappings":"AACA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4C3B,CAAC"}
@@ -0,0 +1,31 @@
1
+ export declare const useAcaciaConfig: () => {
2
+ borderRadius: {
3
+ primary: number;
4
+ tag: number;
5
+ avatar: number;
6
+ panel: number;
7
+ card: number;
8
+ };
9
+ layout: {
10
+ xxlUtil: {
11
+ paddingInline: number;
12
+ paddingBlock: number;
13
+ logoMaxWidth: number;
14
+ };
15
+ xlUtil: {
16
+ paddingInline: number;
17
+ paddingBlock: number;
18
+ logoMaxWidth: number;
19
+ };
20
+ };
21
+ transition: {
22
+ antdItem: string;
23
+ };
24
+ shadow: {
25
+ card: string;
26
+ };
27
+ padding: {
28
+ tabs: string;
29
+ };
30
+ };
31
+ //# sourceMappingURL=useAcaciaConfig.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useAcaciaConfig.d.ts","sourceRoot":"","sources":["../../src/hooks/useAcaciaConfig.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqC3B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const useFoucHandler: (id: string, delay?: number) => void;
2
+ //# sourceMappingURL=useFoucHandler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useFoucHandler.d.ts","sourceRoot":"","sources":["../../src/hooks/useFoucHandler.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,GAAI,IAAI,MAAM,EAAE,QAAQ,MAAM,SAgBxD,CAAC"}
@@ -0,0 +1,3 @@
1
+ export declare const useScreenSize: (debounceTime?: number) => {};
2
+ export default useScreenSize;
3
+ //# sourceMappingURL=useScreenSize.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useScreenSize.d.ts","sourceRoot":"","sources":["../../src/hooks/useScreenSize.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,GAAI,qBAAkB,OAkC/C,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -0,0 +1,29 @@
1
+ export { default as Button } from "./components/ui/Button/Button";
2
+ export { default as Badge } from "./components/ui/Badge/Badge";
3
+ export { default as ConfigProvider } from "./components/ui/ConfigProvider/ConfigProvider";
4
+ export { default as Breadcrumb } from "./components/ui/Breadcrumb/Breadcrumb";
5
+ export { default as Checkbox } from "./components/ui/Checkbox/Checkbox";
6
+ export { default as Radio } from "./components/ui/Radio/Radio";
7
+ export { default as Segmented } from "./components/ui/Segmented/Segmented";
8
+ export { default as Select } from "./components/ui/Select/Select";
9
+ export { default as Switch } from "./components/ui/Switch/Switch";
10
+ export { default as Input } from "./components/ui/Input/Input";
11
+ export { default as Dropdown } from "./components/ui/Dropdown/Dropdown";
12
+ export { default as Pagination } from "./components/ui/Pagination/Pagination";
13
+ export { default as Typography } from "./components/ui/Typography/Typography";
14
+ export { default as TimePicker } from "./components/ui/TimePicker/TimePicker";
15
+ export { default as DatePicker } from "./components/ui/DatePicker/DatePicker";
16
+ export { default as Card } from "./components/ui/Card/Card";
17
+ export { default as Tag } from "./components/ui/Tag/Tag";
18
+ export { default as Tabs } from "./components/ui/Tabs/Tabs";
19
+ export { default as Avatar } from "./components/ui/Avatar/Avatar";
20
+ export { default as Menu } from "./components/ui/Menu/Menu";
21
+ export { default as VerticalLayout } from "./components/layout/VerticalLayout/VerticalLayout";
22
+ export { default as VerticalHeader } from "./components/layout/VerticalLayout/VerticalHeader";
23
+ export type { NewToken } from "./theme/customTheme";
24
+ export { useAcaciaColors } from "./hooks/useAcaciaColors";
25
+ export { useFoucHandler } from "./hooks/useFoucHandler";
26
+ export { useAcaciaConfig } from "./hooks/useAcaciaConfig";
27
+ export { useScreenSize } from "./hooks/useScreenSize";
28
+ export type { AcaciaButtonProps, AcaciaBreadcrumbProps, AcaciaBadgeProps, AcaciaRibbonProps, AcaciaCheckboxProps, AcaciaSegmentedProps, AcaciaTypographyProps, AcaciaConfigProviderProps, AcaciaDatePickerProps, AcaciaDateRangePickerProps, AcaciaTabsProps, AcaciaTimePickerProps, AcaciaTimeRangePickerProps, AcaciaInputProps, AcaciaSwitchProps, AcaciaInputTextAreaProps, AcaciaPaginationProps, AcaciaSelectProps, AcaciaRadioProps, AcaciaBasicPanelProps, } from "./components/ui/interfaces";
29
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,+CAA+C,CAAC;AAC1F,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,uCAAuC,CAAC;AAC9E,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,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