auxalia-ui-kit 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 +456 -0
- package/dist/chunk-O6RHMFJG.js +165 -0
- package/dist/index.cjs +7201 -0
- package/dist/index.d.cts +365 -0
- package/dist/index.d.ts +365 -0
- package/dist/index.js +6968 -0
- package/dist/styles.css +24 -0
- package/dist/tailwind.preset.cjs +184 -0
- package/dist/tailwind.preset.d.cts +5 -0
- package/dist/tailwind.preset.d.ts +5 -0
- package/dist/tailwind.preset.js +6 -0
- package/dist/tokens.css +69 -0
- package/package.json +111 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,365 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import React__default from 'react';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
|
+
import { Collapsible, Label as Label$1 } from 'radix-ui';
|
|
7
|
+
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
8
|
+
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
9
|
+
import { Button as Button$1 } from '@radix-ui/themes';
|
|
10
|
+
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
11
|
+
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
12
|
+
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
13
|
+
export { default as tailwindPreset } from './tailwind.preset.js';
|
|
14
|
+
import { ClassValue } from 'clsx';
|
|
15
|
+
import 'tailwindcss';
|
|
16
|
+
|
|
17
|
+
declare const buttonVariants: (props?: {
|
|
18
|
+
variant?: "default" | "outline" | "ghost" | "link";
|
|
19
|
+
color?: "default" | "primary" | "secondary" | "accent" | "destructive";
|
|
20
|
+
size?: "default" | "sm" | "lg" | "icon";
|
|
21
|
+
} & class_variance_authority_types.ClassProp) => string;
|
|
22
|
+
interface ButtonProps extends React.ComponentProps<'button'>, VariantProps<typeof buttonVariants> {
|
|
23
|
+
asChild?: boolean;
|
|
24
|
+
color?: 'default' | 'primary' | 'secondary' | 'accent' | 'destructive';
|
|
25
|
+
}
|
|
26
|
+
declare const Button: React.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
27
|
+
|
|
28
|
+
declare function CollapsibleRoot({ ...props }: React.ComponentProps<typeof Collapsible.Root>): react_jsx_runtime.JSX.Element;
|
|
29
|
+
declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof Collapsible.Trigger>): react_jsx_runtime.JSX.Element;
|
|
30
|
+
declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof Collapsible.Content>): react_jsx_runtime.JSX.Element;
|
|
31
|
+
|
|
32
|
+
declare const DropdownMenu: React.FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
|
33
|
+
declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
34
|
+
declare const DropdownMenuGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
35
|
+
declare const DropdownMenuPortal: React.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
|
|
36
|
+
declare const DropdownMenuSub: React.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
|
37
|
+
declare const DropdownMenuRadioGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
38
|
+
declare const DropdownMenuSubTrigger: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
39
|
+
inset?: boolean;
|
|
40
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
41
|
+
declare const DropdownMenuSubContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
42
|
+
declare const DropdownMenuContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
43
|
+
declare const DropdownMenuItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
44
|
+
inset?: boolean;
|
|
45
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
46
|
+
declare const DropdownMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
47
|
+
declare const DropdownMenuRadioItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
48
|
+
declare const DropdownMenuLabel: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
49
|
+
inset?: boolean;
|
|
50
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
51
|
+
declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
52
|
+
declare const DropdownMenuShortcut: {
|
|
53
|
+
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
54
|
+
displayName: string;
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
declare function FieldSet({ className, ...props }: React.ComponentProps<'fieldset'>): react_jsx_runtime.JSX.Element;
|
|
58
|
+
declare function FieldLegend({ className, variant, ...props }: React.ComponentProps<'legend'> & {
|
|
59
|
+
variant?: 'legend' | 'label';
|
|
60
|
+
}): react_jsx_runtime.JSX.Element;
|
|
61
|
+
declare function FieldGroup({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
62
|
+
declare const fieldVariants: (props?: {
|
|
63
|
+
orientation?: "horizontal" | "vertical" | "responsive";
|
|
64
|
+
} & class_variance_authority_types.ClassProp) => string;
|
|
65
|
+
declare function Field({ className, orientation, ...props }: React.ComponentProps<'div'> & VariantProps<typeof fieldVariants>): react_jsx_runtime.JSX.Element;
|
|
66
|
+
declare function FieldContent({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
67
|
+
declare function FieldLabel({ className, ...props }: React.ComponentProps<typeof Label$1.Root>): react_jsx_runtime.JSX.Element;
|
|
68
|
+
declare function FieldTitle({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
69
|
+
declare function FieldDescription({ className, ...props }: React.ComponentProps<'p'>): react_jsx_runtime.JSX.Element;
|
|
70
|
+
declare function FieldSeparator({ children, className, ...props }: React.ComponentProps<'div'> & {
|
|
71
|
+
children?: React.ReactNode;
|
|
72
|
+
}): react_jsx_runtime.JSX.Element;
|
|
73
|
+
declare function FieldError({ className, children, errors, ...props }: React.ComponentProps<'div'> & {
|
|
74
|
+
errors?: Array<{
|
|
75
|
+
message?: string;
|
|
76
|
+
} | undefined>;
|
|
77
|
+
}): react_jsx_runtime.JSX.Element;
|
|
78
|
+
|
|
79
|
+
declare function Label({ className, ...props }: React.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
80
|
+
|
|
81
|
+
declare function Pagination({ className, ...props }: React.ComponentProps<'nav'>): react_jsx_runtime.JSX.Element;
|
|
82
|
+
declare function PaginationContent({ className, ...props }: React.ComponentProps<'ul'>): react_jsx_runtime.JSX.Element;
|
|
83
|
+
declare function PaginationItem({ ...props }: React.ComponentProps<'li'>): react_jsx_runtime.JSX.Element;
|
|
84
|
+
type PaginationLinkProps = {
|
|
85
|
+
isActive?: boolean;
|
|
86
|
+
} & Pick<React.ComponentProps<typeof Button$1>, 'size'> & React.ComponentProps<'a'>;
|
|
87
|
+
declare function PaginationLink({ className, isActive, size, ...props }: PaginationLinkProps): react_jsx_runtime.JSX.Element;
|
|
88
|
+
declare function PaginationPrevious({ className, ...props }: React.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
|
|
89
|
+
declare function PaginationNext({ className, ...props }: React.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
|
|
90
|
+
declare function PaginationEllipsis({ className, ...props }: React.ComponentProps<'span'>): react_jsx_runtime.JSX.Element;
|
|
91
|
+
|
|
92
|
+
declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
|
|
93
|
+
declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
94
|
+
declare const PopoverAnchor: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React.RefAttributes<HTMLDivElement>>;
|
|
95
|
+
declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
96
|
+
|
|
97
|
+
declare function TooltipProvider({ delayDuration, ...props }: React.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime.JSX.Element;
|
|
98
|
+
declare function Tooltip({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
99
|
+
declare function TooltipTrigger({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
100
|
+
declare function TooltipContent({ className, sideOffset, children, ...props }: React.ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
101
|
+
|
|
102
|
+
declare const cardVariants: (props?: {
|
|
103
|
+
variant?: "default" | "secondary" | "accent" | "outlined" | "elevated" | "success";
|
|
104
|
+
} & class_variance_authority_types.ClassProp) => string;
|
|
105
|
+
type CardVariantProps = VariantProps<typeof cardVariants>;
|
|
106
|
+
|
|
107
|
+
type CardProps = React.ComponentProps<'div'> & CardVariantProps;
|
|
108
|
+
declare function Card({ variant, className, ...props }: CardProps): react_jsx_runtime.JSX.Element;
|
|
109
|
+
|
|
110
|
+
type InputVariantProps = {
|
|
111
|
+
variant?: 'default' | 'error';
|
|
112
|
+
size?: 'sm' | 'md' | 'lg';
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
type InputProps = Omit<React.ComponentProps<'input'>, 'size'> & InputVariantProps;
|
|
116
|
+
declare function Input({ size, variant, className, ...props }: InputProps): react_jsx_runtime.JSX.Element;
|
|
117
|
+
|
|
118
|
+
type SelectTriggerVariantProps = {
|
|
119
|
+
variant?: 'default' | 'error';
|
|
120
|
+
size?: 'sm' | 'md' | 'lg';
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
declare const Select: React.FC<SelectPrimitive.SelectProps>;
|
|
124
|
+
declare const SelectGroup: React.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
125
|
+
declare const SelectValue: React.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React.RefAttributes<HTMLSpanElement>>;
|
|
126
|
+
declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & SelectTriggerVariantProps & React.RefAttributes<HTMLButtonElement>>;
|
|
127
|
+
declare const SelectScrollUpButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
128
|
+
declare const SelectScrollDownButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
129
|
+
declare const SelectContent: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
130
|
+
declare const SelectLabel: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
131
|
+
declare const SelectItem: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
132
|
+
declare const SelectSeparator: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
133
|
+
|
|
134
|
+
type TabsProps = {
|
|
135
|
+
value: string;
|
|
136
|
+
onValueChange: (value: string) => void;
|
|
137
|
+
children: React.ReactNode;
|
|
138
|
+
className?: string;
|
|
139
|
+
};
|
|
140
|
+
type TabsListProps = {
|
|
141
|
+
children: React.ReactNode;
|
|
142
|
+
className?: string;
|
|
143
|
+
};
|
|
144
|
+
type TabsTriggerProps = {
|
|
145
|
+
value: string;
|
|
146
|
+
children: React.ReactNode;
|
|
147
|
+
className?: string;
|
|
148
|
+
};
|
|
149
|
+
type TabsContentProps = {
|
|
150
|
+
value: string;
|
|
151
|
+
children: React.ReactNode;
|
|
152
|
+
className?: string;
|
|
153
|
+
};
|
|
154
|
+
declare function Tabs({ value, onValueChange, children, className }: TabsProps): react_jsx_runtime.JSX.Element;
|
|
155
|
+
declare function TabsList({ children, className }: TabsListProps): react_jsx_runtime.JSX.Element;
|
|
156
|
+
declare function TabsTrigger({ value, children, className }: TabsTriggerProps): react_jsx_runtime.JSX.Element;
|
|
157
|
+
declare function TabsContent({ value, children, className }: TabsContentProps): react_jsx_runtime.JSX.Element;
|
|
158
|
+
|
|
159
|
+
declare const textVariants: (props?: {
|
|
160
|
+
size?: "sm" | "lg" | "md" | "xl" | "2xl" | "3xl";
|
|
161
|
+
align?: "center" | "right" | "left";
|
|
162
|
+
} & class_variance_authority_types.ClassProp) => string;
|
|
163
|
+
type TextVariantProps = VariantProps<typeof textVariants>;
|
|
164
|
+
|
|
165
|
+
type Props = React.ComponentProps<'p'> & TextVariantProps & {
|
|
166
|
+
size?: 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
|
|
167
|
+
};
|
|
168
|
+
declare function Text({ size, className, ...props }: Props): react_jsx_runtime.JSX.Element;
|
|
169
|
+
|
|
170
|
+
interface FieldOption {
|
|
171
|
+
id?: string | number;
|
|
172
|
+
value?: string | number;
|
|
173
|
+
title: string;
|
|
174
|
+
}
|
|
175
|
+
interface FilterField {
|
|
176
|
+
id: string;
|
|
177
|
+
type?: string;
|
|
178
|
+
label: string;
|
|
179
|
+
maxWidth?: number;
|
|
180
|
+
selectedClassName?: string;
|
|
181
|
+
insteadNone?: string;
|
|
182
|
+
options: FieldOption[] | ((params: any) => Promise<any>);
|
|
183
|
+
adapterCallback: (data: any) => FieldOption[];
|
|
184
|
+
[key: string]: any;
|
|
185
|
+
}
|
|
186
|
+
interface SortObj {
|
|
187
|
+
field: string;
|
|
188
|
+
order: 'asc' | 'desc';
|
|
189
|
+
}
|
|
190
|
+
interface QueryParams {
|
|
191
|
+
limit?: number | string;
|
|
192
|
+
offset?: number | string;
|
|
193
|
+
search?: {
|
|
194
|
+
value: string;
|
|
195
|
+
};
|
|
196
|
+
sort?: SortObj;
|
|
197
|
+
filter?: Record<string, any>;
|
|
198
|
+
[key: string]: any;
|
|
199
|
+
}
|
|
200
|
+
interface TableField {
|
|
201
|
+
id: string;
|
|
202
|
+
label?: string;
|
|
203
|
+
sortable?: boolean;
|
|
204
|
+
orderField?: string;
|
|
205
|
+
width?: string | number;
|
|
206
|
+
headAlign?: 'left' | 'center' | 'right';
|
|
207
|
+
textAlign?: 'left' | 'center' | 'right';
|
|
208
|
+
type?: 'customComponent' | 'link' | 'img' | 'bool' | 'text';
|
|
209
|
+
getValue?: (record: Record<string, any>) => any;
|
|
210
|
+
component?: (props: {
|
|
211
|
+
data: Record<string, any>;
|
|
212
|
+
cellItem: TableField;
|
|
213
|
+
filteredParams?: QueryParams;
|
|
214
|
+
}) => React__default.ReactNode;
|
|
215
|
+
route?: string;
|
|
216
|
+
routeIdKey?: string;
|
|
217
|
+
newTab?: boolean;
|
|
218
|
+
withTooltip?: boolean;
|
|
219
|
+
/** Custom link renderer — use to integrate with your router (e.g. react-router Link). */
|
|
220
|
+
renderLink?: (to: string, children: React__default.ReactNode) => React__default.ReactNode;
|
|
221
|
+
}
|
|
222
|
+
interface TableConfig {
|
|
223
|
+
fields: TableField[];
|
|
224
|
+
filterFields?: FilterField[];
|
|
225
|
+
rowsPerPageOptions?: number[];
|
|
226
|
+
}
|
|
227
|
+
interface ToolbarActionsProps {
|
|
228
|
+
action: string;
|
|
229
|
+
label?: string;
|
|
230
|
+
titleView?: boolean;
|
|
231
|
+
visibleWithoutSelection?: boolean;
|
|
232
|
+
callback: () => void;
|
|
233
|
+
}
|
|
234
|
+
interface CommonTableProps {
|
|
235
|
+
tableSource: {
|
|
236
|
+
data: any[];
|
|
237
|
+
count: number;
|
|
238
|
+
};
|
|
239
|
+
tableConfig: TableConfig;
|
|
240
|
+
filteredParams?: QueryParams;
|
|
241
|
+
isSelectable?: boolean;
|
|
242
|
+
selectedRows?: any[];
|
|
243
|
+
rowUniqueKey?: string;
|
|
244
|
+
emptyMessage?: string;
|
|
245
|
+
withOpenAction?: boolean;
|
|
246
|
+
withEditAction?: boolean;
|
|
247
|
+
withDownloadAction?: boolean;
|
|
248
|
+
withCloneAction?: boolean;
|
|
249
|
+
withRemoveAction?: boolean;
|
|
250
|
+
withPagination?: boolean;
|
|
251
|
+
loading?: boolean;
|
|
252
|
+
toolbarActions?: ToolbarActionsProps[];
|
|
253
|
+
openPath?: (record: any) => string;
|
|
254
|
+
handleClickIcon?: (record: any) => void;
|
|
255
|
+
handleOpenAction?: (record: any) => void;
|
|
256
|
+
handleEditAction?: (id: any) => void;
|
|
257
|
+
handleDownloadAction?: (id: any) => void;
|
|
258
|
+
handleRemoveAction?: (id: any) => void;
|
|
259
|
+
setSelectedRows?: (rows: any[]) => void;
|
|
260
|
+
setFilteredParams: (params: QueryParams) => void;
|
|
261
|
+
onSearchCallback?: (value: string) => void;
|
|
262
|
+
onFilterCallback?: (filters: any) => void;
|
|
263
|
+
onRowClick?: (record: any) => void;
|
|
264
|
+
getDataOnChange: (params: QueryParams) => void;
|
|
265
|
+
}
|
|
266
|
+
interface CustomComponentType {
|
|
267
|
+
data?: Record<string, any>;
|
|
268
|
+
cellItem?: any;
|
|
269
|
+
onIconClick?: (e: React__default.MouseEvent, values: any) => void;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
declare const ControlledTable: ({ tableSource, tableConfig, filteredParams, isSelectable, selectedRows, rowUniqueKey, emptyMessage, withOpenAction, withEditAction, withDownloadAction, withCloneAction, withRemoveAction, withPagination, loading, toolbarActions, openPath, handleClickIcon, handleOpenAction, handleEditAction, handleDownloadAction, handleRemoveAction, setSelectedRows, setFilteredParams, onSearchCallback, onFilterCallback, onRowClick, getDataOnChange, }: CommonTableProps) => react_jsx_runtime.JSX.Element;
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* Auxalia Design System - Color Tokens
|
|
276
|
+
*
|
|
277
|
+
* This file defines all color tokens used throughout the Auxalia UI library.
|
|
278
|
+
* These colors are based on the Auxalia Corporate Design Guide and can be easily
|
|
279
|
+
* customized by updating the values in this file.
|
|
280
|
+
*
|
|
281
|
+
* Color Reference:
|
|
282
|
+
* - Primary (Green): #A7D500 - Fresh, vibrant green used for main CTA and branding
|
|
283
|
+
* - Secondary (Blue): #3e6897 - Dark blue used for secondary elements
|
|
284
|
+
* - Accent (Petrol): #0f868b - Teal/petrol accent color
|
|
285
|
+
* - Supporting Colors: Orange, Yellow, Red, Cyan for additional UI states
|
|
286
|
+
*/
|
|
287
|
+
declare const AuxaliaTokens: {
|
|
288
|
+
readonly primary: {
|
|
289
|
+
readonly 50: "#f8fbf0";
|
|
290
|
+
readonly 100: "#f0f7e1";
|
|
291
|
+
readonly 200: "#ddf0c0";
|
|
292
|
+
readonly 300: "#c3e88a";
|
|
293
|
+
readonly 400: "#a7d500";
|
|
294
|
+
readonly 500: "#93b800";
|
|
295
|
+
readonly 600: "#749400";
|
|
296
|
+
readonly 700: "#5a7600";
|
|
297
|
+
readonly 800: "#3d5000";
|
|
298
|
+
readonly 900: "#1f2800";
|
|
299
|
+
readonly default: "#a7d500";
|
|
300
|
+
};
|
|
301
|
+
readonly secondary: {
|
|
302
|
+
readonly 50: "#f0f4f8";
|
|
303
|
+
readonly 100: "#e0eaf3";
|
|
304
|
+
readonly 200: "#c0d6e6";
|
|
305
|
+
readonly 300: "#8fb3d1";
|
|
306
|
+
readonly 400: "#5c8fb5";
|
|
307
|
+
readonly 500: "#3e6897";
|
|
308
|
+
readonly 600: "#2d5080";
|
|
309
|
+
readonly 700: "#1f3860";
|
|
310
|
+
readonly 800: "#142a47";
|
|
311
|
+
readonly 900: "#0a1628";
|
|
312
|
+
readonly default: "#3e6897";
|
|
313
|
+
};
|
|
314
|
+
readonly accent: {
|
|
315
|
+
readonly 50: "#f0fbfc";
|
|
316
|
+
readonly 100: "#dff8f9";
|
|
317
|
+
readonly 200: "#bef1f3";
|
|
318
|
+
readonly 300: "#7fe6eb";
|
|
319
|
+
readonly 400: "#3fd9e1";
|
|
320
|
+
readonly 500: "#0f868b";
|
|
321
|
+
readonly 600: "#0a646b";
|
|
322
|
+
readonly 700: "#064952";
|
|
323
|
+
readonly 800: "#033539";
|
|
324
|
+
readonly 900: "#011f22";
|
|
325
|
+
readonly default: "#0f868b";
|
|
326
|
+
};
|
|
327
|
+
readonly supporting: {
|
|
328
|
+
readonly orange: "#dc6b39";
|
|
329
|
+
readonly yellow: "#cfd12d";
|
|
330
|
+
readonly red: "#93383a";
|
|
331
|
+
readonly cyan: "#abbfbd";
|
|
332
|
+
};
|
|
333
|
+
readonly neutral: {
|
|
334
|
+
readonly white: "#ffffff";
|
|
335
|
+
readonly black: "#000000";
|
|
336
|
+
readonly gray: {
|
|
337
|
+
readonly 50: "#f9f9f9";
|
|
338
|
+
readonly 100: "#f5f5f5";
|
|
339
|
+
readonly 200: "#e8e8e8";
|
|
340
|
+
readonly 300: "#d4d4d4";
|
|
341
|
+
readonly 400: "#a1a1a1";
|
|
342
|
+
readonly 500: "#808080";
|
|
343
|
+
readonly 600: "#666666";
|
|
344
|
+
readonly 700: "#4d4d4d";
|
|
345
|
+
readonly 800: "#333333";
|
|
346
|
+
readonly 900: "#1a1a1a";
|
|
347
|
+
};
|
|
348
|
+
};
|
|
349
|
+
readonly semantic: {
|
|
350
|
+
readonly success: "#1da842";
|
|
351
|
+
readonly warning: "#cfd12d";
|
|
352
|
+
readonly error: "#93383a";
|
|
353
|
+
readonly info: "#3e98d0";
|
|
354
|
+
};
|
|
355
|
+
readonly states: {
|
|
356
|
+
readonly hover: "opacity-90";
|
|
357
|
+
readonly active: "opacity-100";
|
|
358
|
+
readonly disabled: "opacity-50";
|
|
359
|
+
readonly focus: "ring-2 ring-primary/50";
|
|
360
|
+
};
|
|
361
|
+
};
|
|
362
|
+
|
|
363
|
+
declare function cn(...inputs: ClassValue[]): string;
|
|
364
|
+
|
|
365
|
+
export { AuxaliaTokens, Button, type ButtonProps, Card, CollapsibleContent, CollapsibleRoot, CollapsibleTrigger, type CommonTableProps, type CustomComponentType, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, type FieldOption, FieldSeparator, FieldSet, FieldTitle, type FilterField, Input, Label, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, type QueryParams, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, type SortObj, type TableConfig, type TableField, ControlledTable as TableView, Tabs, TabsContent, TabsList, TabsTrigger, Text, type ToolbarActionsProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, buttonVariants, cn };
|