@crossangle-org/cs-ui 0.0.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,604 @@
1
+ import { AccessorKeyColumnDef } from '@tanstack/react-table';
2
+ import * as AccordionPrimitive from '@radix-ui/react-accordion';
3
+ import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
4
+ import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
5
+ import { ClassProp } from 'class-variance-authority/types';
6
+ import { ClassValue } from 'clsx';
7
+ import { ColumnDef } from '@tanstack/react-table';
8
+ import { ComponentProps } from 'react';
9
+ import { ComponentType } from 'react';
10
+ import { DayButton } from 'react-day-picker';
11
+ import { DayPicker } from 'react-day-picker';
12
+ import * as DialogPrimitive from '@radix-ui/react-dialog';
13
+ import { Dispatch } from 'react';
14
+ import { DisplayColumnDef } from '@tanstack/react-table';
15
+ import { Drawer } from 'vaul';
16
+ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
17
+ import { DropEvent } from 'react-dropzone';
18
+ import { DropzoneOptions } from 'react-dropzone';
19
+ import { FileRejection } from 'react-dropzone';
20
+ import { ForwardRefExoticComponent } from 'react';
21
+ import { IXChartBodyProps } from '../../../../x-charts/src/components/chart/x-charts-body';
22
+ import { JSX } from 'react';
23
+ import { JSXElementConstructor } from 'react';
24
+ import * as LabelPrimitive from '@radix-ui/react-label';
25
+ import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
26
+ import * as PopoverPrimitive from '@radix-ui/react-popover';
27
+ import * as ProgressPrimitive from '@radix-ui/react-progress';
28
+ import { PropsWithChildren } from 'react';
29
+ import * as React_2 from 'react';
30
+ import { ReactElement } from 'react';
31
+ import { ReactNode } from 'react';
32
+ import { ReactPortal } from 'react';
33
+ import { RefAttributes } from 'react';
34
+ import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
35
+ import * as SelectPrimitive from '@radix-ui/react-select';
36
+ import * as SeparatorPrimitive from '@radix-ui/react-separator';
37
+ import { SetStateAction } from 'react';
38
+ import * as SwitchPrimitive from '@radix-ui/react-switch';
39
+ import * as TabsPrimitive from '@radix-ui/react-tabs';
40
+ import { ToasterProps } from 'sonner';
41
+ import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
42
+ import * as TogglePrimitive from '@radix-ui/react-toggle';
43
+ import * as TooltipPrimitive from '@radix-ui/react-tooltip';
44
+ import { VariantProps } from 'class-variance-authority';
45
+
46
+ export declare function cn(...inputs: ClassValue[]): string;
47
+
48
+ export declare function CsAccordion({ ...props }: React_2.ComponentProps<typeof AccordionPrimitive.Root>): React_2.JSX.Element;
49
+
50
+ export declare function CsAccordionContent({ className, children, ...props }: React_2.ComponentProps<typeof AccordionPrimitive.Content>): React_2.JSX.Element;
51
+
52
+ export declare function CsAccordionItem({ className, variant, ...props }: React_2.ComponentProps<typeof AccordionPrimitive.Item> & VariantProps<typeof csAccordionItemVariants>): React_2.JSX.Element;
53
+
54
+ declare const csAccordionItemVariants: (props?: ({
55
+ variant?: "default" | "custom" | null | undefined;
56
+ } & ClassProp) | undefined) => string;
57
+
58
+ export declare function CsAccordionTrigger({ className, children, ...props }: React_2.ComponentProps<typeof AccordionPrimitive.Trigger>): React_2.JSX.Element;
59
+
60
+ export declare function CsAlertDialog({ ...props }: React_2.ComponentProps<typeof AlertDialogPrimitive.Root>): React_2.JSX.Element;
61
+
62
+ export declare function CsAlertDialogAction({ className, ...props }: React_2.ComponentProps<typeof AlertDialogPrimitive.Action>): React_2.JSX.Element;
63
+
64
+ export declare function CsAlertDialogCancel({ className, ...props }: React_2.ComponentProps<typeof AlertDialogPrimitive.Cancel>): React_2.JSX.Element;
65
+
66
+ export declare function CsAlertDialogContent({ className, ...props }: React_2.ComponentProps<typeof AlertDialogPrimitive.Content>): React_2.JSX.Element;
67
+
68
+ export declare function CsAlertDialogDescription({ className, ...props }: React_2.ComponentProps<typeof AlertDialogPrimitive.Description>): React_2.JSX.Element;
69
+
70
+ export declare function CsAlertDialogFooter({ className, ...props }: React_2.ComponentProps<"div">): React_2.JSX.Element;
71
+
72
+ export declare function CsAlertDialogHeader({ className, ...props }: React_2.ComponentProps<"div">): React_2.JSX.Element;
73
+
74
+ export declare function CsAlertDialogOverlay({ className, ...props }: React_2.ComponentProps<typeof AlertDialogPrimitive.Overlay>): React_2.JSX.Element;
75
+
76
+ export declare function CsAlertDialogPortal({ ...props }: React_2.ComponentProps<typeof AlertDialogPrimitive.Portal>): React_2.JSX.Element;
77
+
78
+ export declare function CsAlertDialogTitle({ className, ...props }: React_2.ComponentProps<typeof AlertDialogPrimitive.Title>): React_2.JSX.Element;
79
+
80
+ export declare function CsAlertDialogTrigger({ ...props }: React_2.ComponentProps<typeof AlertDialogPrimitive.Trigger>): React_2.JSX.Element;
81
+
82
+ export declare function CsAreaChart(props: IXChartBodyProps): JSX.Element;
83
+
84
+ export declare function CsBadge({ className, variant, asChild, ...props }: React_2.ComponentProps<"span"> & VariantProps<typeof csBadgeVariants> & {
85
+ asChild?: boolean;
86
+ }): React_2.JSX.Element;
87
+
88
+ export declare type CsBadgeProps = React_2.ComponentProps<typeof CsBadge>;
89
+
90
+ export declare const csBadgeVariants: (props?: ({
91
+ variant?: "outline" | "gradient" | "solid" | null | undefined;
92
+ } & ClassProp) | undefined) => string;
93
+
94
+ export declare function CsBarChart(props: IXChartBodyProps): JSX.Element;
95
+
96
+ export declare function CsBox({ className, variant, ...props }: React_2.ComponentProps<"div"> & CsBoxVariantsProps): React_2.JSX.Element;
97
+
98
+ declare const csBoxVariants: (props?: ({
99
+ variant?: "outline" | "solid" | null | undefined;
100
+ } & ClassProp) | undefined) => string;
101
+
102
+ export declare type CsBoxVariantsProps = VariantProps<typeof csBoxVariants>;
103
+
104
+ export declare function CsButton({ className, variant, size, asChild, ...props }: React_2.ComponentProps<"button"> & VariantProps<typeof csButtonVariants> & {
105
+ asChild?: boolean;
106
+ }): React_2.JSX.Element;
107
+
108
+ export declare type CsButtonProps = React_2.ComponentProps<typeof CsButton>;
109
+
110
+ export declare const csButtonVariants: (props?: ({
111
+ variant?: "link" | "solid-primary" | "solid-secondary" | "outline" | "ghost" | "gradient" | null | undefined;
112
+ size?: "small" | "default" | "medium" | "large" | null | undefined;
113
+ } & ClassProp) | undefined) => string;
114
+
115
+ export declare function CsCalendar({ className, classNames, showOutsideDays, captionLayout, formatters, components, ...props }: React_2.ComponentProps<typeof DayPicker>): React_2.JSX.Element;
116
+
117
+ export declare function CsCalendarDayButton({ className, day, modifiers, ...props }: React_2.ComponentProps<typeof DayButton>): React_2.JSX.Element;
118
+
119
+ export declare type CsCalendarProps = React_2.ComponentProps<typeof DayPicker>;
120
+
121
+ export declare function CsCard({ className, ...props }: React_2.ComponentProps<"div">): React_2.JSX.Element;
122
+
123
+ export declare function CsCardAction({ className, ...props }: React_2.ComponentProps<"div">): React_2.JSX.Element;
124
+
125
+ export declare function CsCardContent({ className, ...props }: React_2.ComponentProps<"div">): React_2.JSX.Element;
126
+
127
+ export declare function CsCardDescription({ className, ...props }: React_2.ComponentProps<"div">): React_2.JSX.Element;
128
+
129
+ export declare function CsCardFooter({ className, ...props }: React_2.ComponentProps<"div">): React_2.JSX.Element;
130
+
131
+ export declare function CsCardHeader({ className, ...props }: React_2.ComponentProps<"div">): React_2.JSX.Element;
132
+
133
+ export declare function CsCardTitle({ className, ...props }: React_2.ComponentProps<"div">): React_2.JSX.Element;
134
+
135
+ declare function CsChartBase({ customOptions, style, renderer, ...rest }: IXChartBodyProps): JSX.Element;
136
+ export { CsChartBase as CsChart }
137
+ export { CsChartBase }
138
+
139
+ export declare const csChartTooltipStyle: string;
140
+
141
+ export declare function CsCheckbox({ className, variant, children, ...props }: React_2.PropsWithChildren<React_2.ComponentProps<typeof CheckboxPrimitive.Root> & VariantProps<typeof csCheckboxVariants>>): React_2.JSX.Element;
142
+
143
+ export declare const csCheckboxVariants: (props?: ({
144
+ variant?: "outline" | "solid" | null | undefined;
145
+ } & ClassProp) | undefined) => string;
146
+
147
+ export declare function CsCodeBlock({ className, variant, ...props }: React_2.ComponentProps<"pre"> & VariantProps<typeof csCodeBlockVariants>): React_2.JSX.Element;
148
+
149
+ declare const csCodeBlockVariants: (props?: ({
150
+ variant?: "outline" | "solid" | null | undefined;
151
+ } & ClassProp) | undefined) => string;
152
+
153
+ export declare function CsDataTable<T>(props: CsDataTableProps<T>): JSX.Element;
154
+
155
+ export declare interface CsDataTableProps<T> {
156
+ columns: TableColumnDef<T>[];
157
+ rows?: T[];
158
+ expandable?: boolean;
159
+ isLoading?: boolean;
160
+ isError?: boolean;
161
+ className?: string;
162
+ defaultRowSize?: number;
163
+ subRowsName?: string;
164
+ EmptyFallback?: ReactNode;
165
+ ErrorFallback?: ReactNode;
166
+ defaultHeaderComp?: ComponentType<{
167
+ column: any;
168
+ children: React.ReactNode;
169
+ }>;
170
+ hasNextPage?: boolean;
171
+ fetchNextPage?: () => void;
172
+ isFetchingNextPage?: boolean;
173
+ }
174
+
175
+ export declare function CsDialog({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Root>): React_2.JSX.Element;
176
+
177
+ export declare function CsDialogClose({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Close>): React_2.JSX.Element;
178
+
179
+ export declare function CsDialogContent({ className, children, showCloseButton, ...props }: React_2.ComponentProps<typeof DialogPrimitive.Content> & {
180
+ showCloseButton?: boolean;
181
+ }): React_2.JSX.Element;
182
+
183
+ export declare function CsDialogDescription({ className, ...props }: React_2.ComponentProps<typeof DialogPrimitive.Description>): React_2.JSX.Element;
184
+
185
+ export declare function CsDialogFooter({ className, ...props }: React_2.ComponentProps<"div">): React_2.JSX.Element;
186
+
187
+ export declare function CsDialogHeader({ className, ...props }: React_2.ComponentProps<"div">): React_2.JSX.Element;
188
+
189
+ export declare function CsDialogOverlay({ className, ...props }: React_2.ComponentProps<typeof DialogPrimitive.Overlay>): React_2.JSX.Element;
190
+
191
+ export declare function CsDialogPortal({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Portal>): React_2.JSX.Element;
192
+
193
+ export declare function CsDialogTitle({ className, ...props }: React_2.ComponentProps<typeof DialogPrimitive.Title>): React_2.JSX.Element;
194
+
195
+ export declare function CsDialogTrigger({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Trigger>): React_2.JSX.Element;
196
+
197
+ export declare function CsDrawer({ ...props }: React_2.ComponentProps<typeof Drawer.Root>): React_2.JSX.Element;
198
+
199
+ export declare function CsDrawerClose({ ...props }: React_2.ComponentProps<typeof Drawer.Close>): React_2.JSX.Element;
200
+
201
+ export declare function CsDrawerContent({ className, children, ...props }: React_2.ComponentProps<typeof Drawer.Content>): React_2.JSX.Element;
202
+
203
+ export declare function CsDrawerDescription({ className, ...props }: React_2.ComponentProps<typeof Drawer.Description>): React_2.JSX.Element;
204
+
205
+ export declare function CsDrawerFooter({ className, ...props }: React_2.ComponentProps<"div">): React_2.JSX.Element;
206
+
207
+ export declare function CsDrawerHeader({ className, ...props }: React_2.ComponentProps<"div">): React_2.JSX.Element;
208
+
209
+ export declare function CsDrawerOverlay({ className, ...props }: React_2.ComponentProps<typeof Drawer.Overlay>): React_2.JSX.Element;
210
+
211
+ export declare function CsDrawerPortal({ ...props }: React_2.ComponentProps<typeof Drawer.Portal>): React_2.JSX.Element;
212
+
213
+ export declare function CsDrawerTitle({ className, ...props }: React_2.ComponentProps<typeof Drawer.Title>): React_2.JSX.Element;
214
+
215
+ export declare function CsDrawerTrigger({ ...props }: React_2.ComponentProps<typeof Drawer.Trigger>): React_2.JSX.Element;
216
+
217
+ export declare function CsDropdownMenu({ ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.Root>): React_2.JSX.Element;
218
+
219
+ export declare function CsDropdownMenuCheckboxItem({ className, children, checked, ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>): React_2.JSX.Element;
220
+
221
+ export declare function CsDropdownMenuContent({ className, sideOffset, ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.Content>): React_2.JSX.Element;
222
+
223
+ export declare function CsDropdownMenuGroup({ ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.Group>): React_2.JSX.Element;
224
+
225
+ export declare function CsDropdownMenuItem({ className, inset, variant, ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
226
+ inset?: boolean;
227
+ variant?: "default" | "destructive";
228
+ }): React_2.JSX.Element;
229
+
230
+ export declare const csDropdownMenuItemCommonClassName: string;
231
+
232
+ export declare function CsDropdownMenuLabel({ className, inset, ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
233
+ inset?: boolean;
234
+ }): React_2.JSX.Element;
235
+
236
+ export declare function CsDropdownMenuPortal({ ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.Portal>): React_2.JSX.Element;
237
+
238
+ export declare function CsDropdownMenuRadioGroup({ ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): React_2.JSX.Element;
239
+
240
+ export declare function CsDropdownMenuRadioItem({ className, children, ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>): React_2.JSX.Element;
241
+
242
+ export declare function CsDropdownMenuSeparator({ className, ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.Separator>): React_2.JSX.Element;
243
+
244
+ export declare function CsDropdownMenuShortcut({ className, ...props }: React_2.ComponentProps<"span">): React_2.JSX.Element;
245
+
246
+ export declare function CsDropdownMenuSub({ ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.Sub>): React_2.JSX.Element;
247
+
248
+ export declare function CsDropdownMenuSubContent({ className, ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): React_2.JSX.Element;
249
+
250
+ export declare function CsDropdownMenuSubTrigger({ className, inset, children, icon, ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
251
+ inset?: boolean;
252
+ icon?: React_2.ReactNode;
253
+ }): React_2.JSX.Element;
254
+
255
+ export declare function CsDropdownMenuTrigger({ ...props }: React_2.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): React_2.JSX.Element;
256
+
257
+ export declare const CsDropzone: ({ accept, maxFiles, maxSize, minSize, onDrop, onError, disabled, src, className, children, ...props }: CsDropzoneProps) => JSX.Element;
258
+
259
+ export declare const CsDropzoneContent: ({ children, className, }: CsDropzoneContentProps) => string | number | bigint | true | Iterable<ReactNode> | Promise<string | number | bigint | boolean | ReactPortal | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | JSX.Element | null;
260
+
261
+ export declare type CsDropzoneContentProps = {
262
+ children?: ReactNode;
263
+ className?: string;
264
+ };
265
+
266
+ export declare const CsDropzoneEmptyState: ({ children, className, }: CsDropzoneEmptyStateProps) => string | number | bigint | true | Iterable<ReactNode> | Promise<string | number | bigint | boolean | ReactPortal | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | JSX.Element | null;
267
+
268
+ export declare type CsDropzoneEmptyStateProps = {
269
+ children?: ReactNode;
270
+ className?: string;
271
+ };
272
+
273
+ export declare type CsDropzoneProps = Omit<DropzoneOptions, 'onDrop'> & {
274
+ src?: File[];
275
+ className?: string;
276
+ onDrop?: (acceptedFiles: File[], fileRejections: FileRejection[], event: DropEvent) => void;
277
+ children?: ReactNode;
278
+ };
279
+
280
+ export declare function CsEmpty({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
281
+
282
+ export declare function CsEmptyContent({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
283
+
284
+ export declare function CsEmptyDescription({ className, ...props }: React.ComponentProps<"p">): JSX.Element;
285
+
286
+ export declare function CsEmptyHeader({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
287
+
288
+ export declare function CsEmptyMedia({ className, variant, ...props }: React.ComponentProps<"div"> & VariantProps<typeof csEmptyMediaVariants>): JSX.Element;
289
+
290
+ declare const csEmptyMediaVariants: (props?: ({
291
+ variant?: "default" | "icon" | null | undefined;
292
+ } & ClassProp) | undefined) => string;
293
+
294
+ export declare function CsEmptyTitle({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
295
+
296
+ export declare function CsField({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof csFieldVariants>): JSX.Element;
297
+
298
+ export declare function CsFieldContent({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
299
+
300
+ export declare function CsFieldDescription({ className, ...props }: React.ComponentProps<"p">): JSX.Element;
301
+
302
+ export declare function CsFieldError({ className, children, errors, ...props }: React.ComponentProps<"div"> & {
303
+ errors?: Array<{
304
+ message?: string;
305
+ } | undefined>;
306
+ }): JSX.Element | null;
307
+
308
+ export declare function CsFieldGroup({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
309
+
310
+ export declare function CsFieldLabel({ className, ...props }: React.ComponentProps<typeof CsLabel>): JSX.Element;
311
+
312
+ export declare function CsFieldLegend({ className, variant, ...props }: React.ComponentProps<"legend"> & {
313
+ variant?: "legend" | "label";
314
+ }): JSX.Element;
315
+
316
+ export declare function CsFieldSeparator({ children, className, ...props }: React.ComponentProps<"div"> & {
317
+ children?: React.ReactNode;
318
+ }): JSX.Element;
319
+
320
+ export declare function CsFieldSet({ className, ...props }: React.ComponentProps<"fieldset">): JSX.Element;
321
+
322
+ export declare function CsFieldTitle({ className, ...props }: React.ComponentProps<"div">): JSX.Element;
323
+
324
+ declare const csFieldVariants: (props?: ({
325
+ orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
326
+ } & ClassProp) | undefined) => string;
327
+
328
+ export declare const CsInput: ForwardRefExoticComponent<Omit<PropsWithChildren<CsInputProps>, "ref"> & RefAttributes<HTMLInputElement>>;
329
+
330
+ export declare function CsInputGroup({ className, variant, disabled, ...props }: React_2.ComponentProps<"div"> & VariantProps<typeof csInputGroupVariants> & {
331
+ disabled?: boolean;
332
+ }): React_2.JSX.Element;
333
+
334
+ export declare function CsInputGroupAddon({ className, align, ...props }: React_2.ComponentProps<"div"> & VariantProps<typeof csInputGroupAddonVariants>): React_2.JSX.Element;
335
+
336
+ declare const csInputGroupAddonVariants: (props?: ({
337
+ align?: "inline-end" | "inline-start" | "block-end" | "block-start" | null | undefined;
338
+ } & ClassProp) | undefined) => string;
339
+
340
+ export declare function CsInputGroupButton({ className, type, variant, size, ...props }: Omit<React_2.ComponentProps<typeof CsButton>, "size"> & VariantProps<typeof csInputGroupButtonVariants>): React_2.JSX.Element;
341
+
342
+ declare const csInputGroupButtonVariants: (props?: ({
343
+ size?: "small" | "default" | null | undefined;
344
+ } & ClassProp) | undefined) => string;
345
+
346
+ export declare function CsInputGroupInput({ className, ...props }: React_2.ComponentProps<"input">): React_2.JSX.Element;
347
+
348
+ export declare function CsInputGroupText({ className, ...props }: React_2.ComponentProps<"span">): React_2.JSX.Element;
349
+
350
+ export declare function CsInputGroupTextarea({ className, resizable, ...props }: React_2.ComponentProps<"textarea"> & {
351
+ resizable?: boolean;
352
+ }): React_2.JSX.Element;
353
+
354
+ export declare const csInputGroupVariants: (props?: ({
355
+ variant?: "outline" | "solid" | null | undefined;
356
+ } & ClassProp) | undefined) => string;
357
+
358
+ export declare type CsInputGroupVariantsProps = VariantProps<typeof csInputGroupVariants>;
359
+
360
+ export declare type CsInputProps = React.ComponentProps<typeof CsInputGroupInput> & CsInputGroupVariantsProps;
361
+
362
+ export declare function CsLabel({ className, disabled, ...props }: React_2.ComponentProps<typeof LabelPrimitive.Root> & {
363
+ disabled?: boolean;
364
+ }): React_2.JSX.Element;
365
+
366
+ export declare function CsLineChart(props: IXChartBodyProps): JSX.Element;
367
+
368
+ export declare const CsLineChartTheme: {
369
+ line: {
370
+ symbol: string;
371
+ symbolSize: number;
372
+ itemStyle: {
373
+ borderWidth: number;
374
+ };
375
+ };
376
+ };
377
+
378
+ export declare function CsNavigationMenu({ className, children, viewport, variant, ...props }: React_2.ComponentProps<typeof NavigationMenuPrimitive.Root> & {
379
+ viewport?: boolean;
380
+ variant?: "solid-ghost" | "bottom-border" | "gradient";
381
+ }): React_2.JSX.Element;
382
+
383
+ export declare function CsNavigationMenuContent({ className, ...props }: React_2.ComponentProps<typeof NavigationMenuPrimitive.Content>): React_2.JSX.Element;
384
+
385
+ export declare function CsNavigationMenuIndicator({ className, ...props }: React_2.ComponentProps<typeof NavigationMenuPrimitive.Indicator>): React_2.JSX.Element;
386
+
387
+ export declare function CsNavigationMenuItem({ className, ...props }: React_2.ComponentProps<typeof NavigationMenuPrimitive.Item>): React_2.JSX.Element;
388
+
389
+ export declare function CsNavigationMenuLink({ className, variant, ...props }: React_2.ComponentProps<typeof NavigationMenuPrimitive.Link> & VariantProps<typeof csNavigationMenuLinkVariants>): React_2.JSX.Element;
390
+
391
+ export declare const csNavigationMenuLinkVariants: (props?: ({
392
+ variant?: "item" | "item-content" | null | undefined;
393
+ } & ClassProp) | undefined) => string;
394
+
395
+ export declare function CsNavigationMenuList({ className, ...props }: React_2.ComponentProps<typeof NavigationMenuPrimitive.List>): React_2.JSX.Element;
396
+
397
+ export declare function CsNavigationMenuTrigger({ className, children, ...props }: React_2.ComponentProps<typeof NavigationMenuPrimitive.Trigger>): React_2.JSX.Element;
398
+
399
+ export declare const csNavigationMenuTriggerStyle: (props?: ({
400
+ variant?: "gradient" | "solid-ghost" | "bottom-border" | null | undefined;
401
+ } & ClassProp) | undefined) => string;
402
+
403
+ export declare function CsNavigationMenuViewport({ className, ...props }: React_2.ComponentProps<typeof NavigationMenuPrimitive.Viewport>): React_2.JSX.Element;
404
+
405
+ export declare function CsPagination({ className, ...props }: React_2.ComponentProps<"nav">): React_2.JSX.Element;
406
+
407
+ export declare function CsPaginationContent({ className, ...props }: React_2.ComponentProps<"ul">): React_2.JSX.Element;
408
+
409
+ export declare function CsPaginationEllipsis({ className, ...props }: React_2.ComponentProps<"span">): React_2.JSX.Element;
410
+
411
+ export declare function CsPaginationItem({ ...props }: React_2.ComponentProps<"li">): React_2.JSX.Element;
412
+
413
+ export declare function CsPaginationLink({ className, isActive, ...props }: CsPaginationLinkProps): React_2.JSX.Element;
414
+
415
+ declare type CsPaginationLinkProps = {
416
+ isActive?: boolean;
417
+ } & React_2.ComponentProps<"a">;
418
+
419
+ export declare function CsPaginationNext({ className, children, ...props }: React_2.ComponentProps<typeof CsPaginationLink>): React_2.JSX.Element;
420
+
421
+ export declare function CsPaginationPrevious({ className, children, ...props }: React_2.ComponentProps<typeof CsPaginationLink>): React_2.JSX.Element;
422
+
423
+ export declare function CsPieChart(props: IXChartBodyProps): JSX.Element;
424
+
425
+ export declare function CsPopover({ ...props }: React_2.ComponentProps<typeof PopoverPrimitive.Root>): React_2.JSX.Element;
426
+
427
+ export declare function CsPopoverAnchor({ ...props }: React_2.ComponentProps<typeof PopoverPrimitive.Anchor>): React_2.JSX.Element;
428
+
429
+ export declare function CsPopoverContent({ className, align, sideOffset, variant, ...props }: React_2.ComponentProps<typeof PopoverPrimitive.Content> & VariantProps<typeof csPopoverVariants>): React_2.JSX.Element;
430
+
431
+ export declare function CsPopoverTrigger({ ...props }: React_2.ComponentProps<typeof PopoverPrimitive.Trigger>): React_2.JSX.Element;
432
+
433
+ declare const csPopoverVariants: (props?: ({
434
+ variant?: "outline" | "solid" | null | undefined;
435
+ } & ClassProp) | undefined) => string;
436
+
437
+ export declare function CsProgress({ className, value, variant, ...props }: React_2.ComponentProps<typeof ProgressPrimitive.Root> & VariantProps<typeof csProgressVariants>): React_2.JSX.Element;
438
+
439
+ export declare const csProgressVariants: (props?: ({
440
+ variant?: "gradient" | "solid" | null | undefined;
441
+ } & ClassProp) | undefined) => string;
442
+
443
+ export declare const CsScrollArea: React_2.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
444
+ viewportRef?: React_2.Ref<HTMLDivElement>;
445
+ } & React_2.RefAttributes<HTMLDivElement>>;
446
+
447
+ export declare function CsScrollBar({ className, orientation, thumbClassName, ...props }: React_2.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar> & {
448
+ thumbClassName?: string;
449
+ }): React_2.JSX.Element;
450
+
451
+ export declare function CsSelect({ ...props }: React_2.ComponentProps<typeof SelectPrimitive.Root>): React_2.JSX.Element;
452
+
453
+ export declare function CsSelectContent({ className, children, position, align, ...props }: React_2.ComponentProps<typeof SelectPrimitive.Content>): React_2.JSX.Element;
454
+
455
+ export declare function CsSelectGroup({ ...props }: React_2.ComponentProps<typeof SelectPrimitive.Group>): React_2.JSX.Element;
456
+
457
+ export declare function CsSelectItem({ className, children, ...props }: React_2.ComponentProps<typeof SelectPrimitive.Item>): React_2.JSX.Element;
458
+
459
+ export declare function CsSelectLabel({ className, ...props }: React_2.ComponentProps<typeof SelectPrimitive.Label>): React_2.JSX.Element;
460
+
461
+ export declare function CsSelectScrollDownButton({ className, children, ...props }: React_2.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): React_2.JSX.Element;
462
+
463
+ export declare function CsSelectScrollUpButton({ className, children, ...props }: React_2.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): React_2.JSX.Element;
464
+
465
+ export declare function CsSelectSeparator({ className, ...props }: React_2.ComponentProps<typeof SelectPrimitive.Separator>): React_2.JSX.Element;
466
+
467
+ export declare const CsSelectTrigger: React_2.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
468
+ size?: "default" | "sm" | null | undefined;
469
+ } & ClassProp) | undefined) => string> & React_2.RefAttributes<HTMLButtonElement>>;
470
+
471
+ export declare function CsSelectValue({ ...props }: React_2.ComponentProps<typeof SelectPrimitive.Value>): React_2.JSX.Element;
472
+
473
+ export declare function CsSeparator({ className, orientation, decorative, ...props }: React_2.ComponentProps<typeof SeparatorPrimitive.Root>): React_2.JSX.Element;
474
+
475
+ export declare const CsSimpleSelect: ForwardRefExoticComponent<CsSimpleSelectProps & RefAttributes<HTMLButtonElement>>;
476
+
477
+ export declare interface CsSimpleSelectItemProps {
478
+ value: string;
479
+ label: string;
480
+ disabled?: boolean;
481
+ }
482
+
483
+ export declare interface CsSimpleSelectProps extends Omit<ComponentProps<typeof CsSelect>, 'children'> {
484
+ list: CsSimpleSelectItemProps[];
485
+ placeholder?: string;
486
+ triggerProps?: ComponentProps<typeof CsSelectTrigger>;
487
+ contentProps?: ComponentProps<typeof CsSelectContent>;
488
+ className?: string;
489
+ onSelect?: (value: string) => void;
490
+ onValueChange?: (value: string) => void;
491
+ onChange?: (event: {
492
+ target: {
493
+ value: string;
494
+ };
495
+ }) => void;
496
+ }
497
+
498
+ export declare function CsSkeleton({ className, radius, ...props }: React.ComponentProps<"div"> & {
499
+ radius?: "default" | "max";
500
+ }): JSX.Element;
501
+
502
+ export declare const CsSonner: ({ className, ...props }: ToasterProps) => JSX.Element;
503
+
504
+ export declare function CsSpinner({ className, variant, ...props }: React.ComponentProps<"svg"> & {
505
+ variant?: "base" | "sub";
506
+ }): JSX.Element;
507
+
508
+ export declare function CsSwitch({ className, ...props }: React_2.ComponentProps<typeof SwitchPrimitive.Root>): React_2.JSX.Element;
509
+
510
+ export declare function CsTable({ className, ...props }: React_2.ComponentProps<"table">): React_2.JSX.Element;
511
+
512
+ export declare function CsTableBody({ className, ...props }: React_2.ComponentProps<"tbody">): React_2.JSX.Element;
513
+
514
+ export declare function CsTableCaption({ className, ...props }: React_2.ComponentProps<"caption">): React_2.JSX.Element;
515
+
516
+ export declare function CsTableCell({ className, ...props }: React_2.ComponentProps<"td">): React_2.JSX.Element;
517
+
518
+ export declare function CsTableFooter({ className, ...props }: React_2.ComponentProps<"tfoot">): React_2.JSX.Element;
519
+
520
+ export declare function CsTableHead({ className, ...props }: React_2.ComponentProps<"th">): React_2.JSX.Element;
521
+
522
+ export declare function CsTableHeader({ className, ...props }: React_2.ComponentProps<"thead">): React_2.JSX.Element;
523
+
524
+ export declare function CsTableRow({ className, ...props }: React_2.ComponentProps<"tr">): React_2.JSX.Element;
525
+
526
+ export declare function CsTabs({ className, ...props }: React_2.ComponentProps<typeof TabsPrimitive.Root>): React_2.JSX.Element;
527
+
528
+ export declare function CsTabsContent({ className, ...props }: React_2.ComponentProps<typeof TabsPrimitive.Content>): React_2.JSX.Element;
529
+
530
+ export declare function CsTabsList({ className, variant, background, ...props }: CsTabsListProps): React_2.JSX.Element;
531
+
532
+ declare interface CsTabsListProps extends React_2.ComponentProps<typeof TabsPrimitive.List>, VariantProps<typeof csTabsListVariants> {
533
+ }
534
+
535
+ export declare const csTabsListVariants: (props?: ({
536
+ variant?: "gradient" | "solid" | "solid-ghost" | "bottom-border" | "solid-line" | null | undefined;
537
+ background?: boolean | null | undefined;
538
+ } & ClassProp) | undefined) => string;
539
+
540
+ export declare function CsTabsTrigger({ className, ...props }: React_2.ComponentProps<typeof TabsPrimitive.Trigger>): React_2.JSX.Element;
541
+
542
+ export declare const CsTextarea: ForwardRefExoticComponent<Omit<PropsWithChildren<CsTextareaProps>, "ref"> & RefAttributes<HTMLTextAreaElement>>;
543
+
544
+ export declare type CsTextareaProps = React.ComponentProps<typeof CsInputGroupTextarea> & CsInputGroupVariantsProps;
545
+
546
+ export declare function CsToggle({ className, variant, ...props }: React_2.ComponentProps<typeof TogglePrimitive.Root> & VariantProps<typeof csToggleVariants>): React_2.JSX.Element;
547
+
548
+ export declare const csToggleVariants: (props?: ({
549
+ variant?: "outline" | "solid" | null | undefined;
550
+ } & ClassProp) | undefined) => string;
551
+
552
+ export declare function CsTooltip({ ...props }: React_2.ComponentProps<typeof TooltipPrimitive.Root>): React_2.JSX.Element;
553
+
554
+ export declare function CsTooltipContent({ className, sideOffset, children, variant, ...props }: React_2.ComponentProps<typeof TooltipPrimitive.Content> & VariantProps<typeof csTooltipContentVariants>): React_2.JSX.Element;
555
+
556
+ export declare const csTooltipContentVariants: (props?: ({
557
+ variant?: "outline" | "solid" | null | undefined;
558
+ } & ClassProp) | undefined) => string;
559
+
560
+ export declare function CsTooltipProvider({ delayDuration, ...props }: React_2.ComponentProps<typeof TooltipPrimitive.Provider>): React_2.JSX.Element;
561
+
562
+ export declare function CsTooltipTrigger({ ...props }: React_2.ComponentProps<typeof TooltipPrimitive.Trigger>): React_2.JSX.Element;
563
+
564
+ export declare interface ReturnUseCsAccordion {
565
+ openedItems: string[];
566
+ setOpenedItems: Dispatch<SetStateAction<string[]>>;
567
+ toggleAccordion: (value: string) => void;
568
+ openAllAccordions: () => void;
569
+ closeAllAccordions: () => void;
570
+ toggleAllAccordions: () => void;
571
+ isOpenedAll: boolean;
572
+ isOpened: (value: string) => boolean;
573
+ }
574
+
575
+ declare type TableColumnDef<T> = (AccessorKeyColumnDef<T, any> | ColumnDef<T> | DisplayColumnDef<T>) & {
576
+ meta?: TableMeta;
577
+ };
578
+
579
+ declare interface TableMeta {
580
+ initialVisible?: boolean;
581
+ thClassName?: string;
582
+ tdClassName?: string;
583
+ width?: number | string;
584
+ minWidth?: number | string;
585
+ }
586
+
587
+ export declare type TabsVariant = "solid" | "solid-line" | "solid-ghost" | "bottom-border" | "gradient";
588
+
589
+ export declare function ToggleGroup({ className, variant, spacing, children, ...props }: React_2.ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof csToggleVariants> & {
590
+ spacing?: number;
591
+ }): React_2.JSX.Element;
592
+
593
+ export declare function ToggleGroupItem({ className, children, variant, ...props }: React_2.ComponentProps<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof csToggleVariants>): React_2.JSX.Element;
594
+
595
+ export declare const useAccordion: (itemKeys: string[], options?: UseCsAccordionOptions) => ReturnUseCsAccordion;
596
+
597
+ export declare interface UseCsAccordionOptions {
598
+ initialOpenedItems?: string[];
599
+ defaultOpenAll?: boolean;
600
+ }
601
+
602
+ export declare function useIsMobile(): boolean;
603
+
604
+ export { }