@kumix/ui 0.1.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.
@@ -0,0 +1,3302 @@
1
+ import * as React$2 from "react";
2
+ import React$1, { CSSProperties, ComponentPropsWithoutRef, ElementType, HTMLAttributes, ReactNode, RefObject } from "react";
3
+ import { HTMLMotionProps, MotionProps, SpringOptions, Transition, UseInViewOptions } from "motion/react";
4
+ import { VariantProps } from "class-variance-authority";
5
+ import { LucideIcon } from "lucide-react";
6
+ import { Accordion as Accordion$1, AlertDialog as AlertDialog$1, AspectRatio as AspectRatio$1, Avatar as Avatar$1, Checkbox as Checkbox$1, Collapsible as Collapsible$1, ContextMenu as ContextMenu$1, Dialog as Dialog$1, DropdownMenu as DropdownMenu$1, HoverCard as HoverCard$1, Label as Label$1, Menubar as Menubar$1, NavigationMenu as NavigationMenu$1, Popover as Popover$1, Progress as Progress$1, RadioGroup as RadioGroup$1, ScrollArea as ScrollArea$1, Select as Select$1, Separator as Separator$1, Slider as Slider$1, Slot, Switch as Switch$1, Tabs as Tabs$1, Toggle as Toggle$1, ToggleGroup as ToggleGroup$1, Tooltip as Tooltip$1 } from "radix-ui";
7
+ import { DayPicker } from "react-day-picker";
8
+ import useEmblaCarousel, { UseEmblaCarouselType } from "embla-carousel-react";
9
+ import { Command as Command$1 } from "cmdk";
10
+ import { Cell, Column, ColumnFiltersState, Header, HeaderGroup, Row, RowData, SortingState, Table as Table$1 } from "@tanstack/react-table";
11
+ import { DragEndEvent, DragStartEvent, UniqueIdentifier } from "@dnd-kit/core";
12
+ import { DateFieldProps, DateInputProps as DateInputProps$1, DateSegmentProps, DateValue, TimeFieldProps, TimeValue, ToggleButton } from "react-aria-components";
13
+ import { Drawer as Drawer$1 } from "vaul";
14
+ import { ControllerProps, FieldPath, FieldValues } from "react-hook-form";
15
+ import { OTPInput } from "input-otp";
16
+ import { Group, Panel, Separator as Separator$2 } from "react-resizable-panels";
17
+ import { Toaster as Toaster$1 } from "sonner";
18
+ import { ItemInstance } from "@headless-tree/core";
19
+
20
+ //#region src/ui/animation/avatar-group.d.ts
21
+ type AnimationType = "default" | "flip" | "reveal";
22
+ interface AvatarGroupProps {
23
+ children: React$2.ReactNode;
24
+ className?: string;
25
+ tooltipClassName?: string;
26
+ animation?: AnimationType;
27
+ }
28
+ interface AvatarGroupItemProps {
29
+ children: React$2.ReactNode;
30
+ className?: string;
31
+ tooltipClassName?: string;
32
+ animation?: AnimationType;
33
+ }
34
+ interface AvatarGroupTooltipProps {
35
+ children: React$2.ReactNode;
36
+ className?: string;
37
+ }
38
+ declare function AvatarGroup({
39
+ children,
40
+ className,
41
+ tooltipClassName,
42
+ animation
43
+ }: AvatarGroupProps): React$2.JSX.Element;
44
+ declare function AvatarGroupItem({
45
+ children,
46
+ className,
47
+ tooltipClassName,
48
+ animation: itemAnimation
49
+ }: AvatarGroupItemProps): React$2.JSX.Element;
50
+ declare function AvatarGroupTooltip({
51
+ children,
52
+ className
53
+ }: AvatarGroupTooltipProps): React$2.JSX.Element;
54
+ //#endregion
55
+ //#region src/ui/animation/counting-number.d.ts
56
+ interface CountingNumberProps {
57
+ from?: number;
58
+ to?: number;
59
+ duration?: number;
60
+ delay?: number;
61
+ className?: string;
62
+ startOnView?: boolean;
63
+ once?: boolean;
64
+ inViewMargin?: UseInViewOptions["margin"];
65
+ onComplete?: () => void;
66
+ format?: (value: number) => string;
67
+ }
68
+ declare function CountingNumber({
69
+ from,
70
+ to,
71
+ duration,
72
+ delay,
73
+ className,
74
+ startOnView,
75
+ once,
76
+ inViewMargin,
77
+ onComplete,
78
+ format,
79
+ ...props
80
+ }: CountingNumberProps): import("react").JSX.Element;
81
+ //#endregion
82
+ //#region src/ui/animation/github-button.d.ts
83
+ declare const githubButtonVariants: (props?: ({
84
+ variant?: "default" | "outline" | null | undefined;
85
+ size?: "default" | "sm" | "lg" | null | undefined;
86
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
87
+ interface GithubButtonProps extends React$1.ComponentProps<"button">, VariantProps<typeof githubButtonVariants> {
88
+ /** Whether to round stars */
89
+ roundStars?: boolean;
90
+ /** Whether to use fixed width to prevent layout shift */
91
+ fixedWidth?: boolean;
92
+ /** Initial number of stars */
93
+ initialStars?: number;
94
+ /** Class for stars */
95
+ starsClass?: string;
96
+ /** Target number of stars to animate to */
97
+ targetStars?: number;
98
+ /** Animation duration in seconds */
99
+ animationDuration?: number;
100
+ /** Animation delay in seconds */
101
+ animationDelay?: number;
102
+ /** Whether to start animation automatically */
103
+ autoAnimate?: boolean;
104
+ /** Callback when animation completes */
105
+ onAnimationComplete?: () => void;
106
+ /** Whether to show Github icon */
107
+ showGithubIcon?: boolean;
108
+ /** Whether to show star icon */
109
+ showStarIcon?: boolean;
110
+ /** Whether to show separator */
111
+ separator?: boolean;
112
+ /** Whether stars should be filled */
113
+ filled?: boolean;
114
+ /** Repository URL for actual Github integration */
115
+ repoUrl?: string;
116
+ /** Button text label */
117
+ label?: string;
118
+ /** Use in-view detection to trigger animation */
119
+ useInViewTrigger?: boolean;
120
+ /** In-view options */
121
+ inViewOptions?: UseInViewOptions;
122
+ /** Spring transition options */
123
+ transition?: SpringOptions;
124
+ }
125
+ declare function GithubButton({
126
+ initialStars,
127
+ targetStars,
128
+ starsClass,
129
+ fixedWidth,
130
+ animationDuration,
131
+ animationDelay,
132
+ autoAnimate,
133
+ className,
134
+ variant,
135
+ size,
136
+ showGithubIcon,
137
+ showStarIcon,
138
+ roundStars,
139
+ separator,
140
+ filled,
141
+ repoUrl,
142
+ onClick,
143
+ label,
144
+ useInViewTrigger,
145
+ inViewOptions,
146
+ transition,
147
+ onAnimationComplete,
148
+ ...props
149
+ }: GithubButtonProps): React$1.JSX.Element;
150
+ //#endregion
151
+ //#region src/ui/animation/gradient-background.d.ts
152
+ type GradientBackgroundProps = HTMLMotionProps<"div"> & {
153
+ transition?: Transition;
154
+ };
155
+ declare function GradientBackground({
156
+ className,
157
+ transition,
158
+ ...props
159
+ }: GradientBackgroundProps): import("react").JSX.Element;
160
+ //#endregion
161
+ //#region src/ui/animation/grid-background.d.ts
162
+ type GridSize = "4:4" | "5:5" | "6:6" | "6:8" | "8:8" | "8:12" | "10:10" | "12:12" | "12:16" | "16:16";
163
+ type GridBackgroundProps = HTMLMotionProps<"div"> & {
164
+ children?: React$2.ReactNode;
165
+ gridSize?: GridSize;
166
+ colors?: {
167
+ background?: string;
168
+ borderColor?: string;
169
+ borderSize?: string;
170
+ borderStyle?: "solid" | "dashed" | "dotted";
171
+ };
172
+ beams?: {
173
+ count?: number;
174
+ colors?: string[];
175
+ size?: string;
176
+ shadow?: string;
177
+ speed?: number;
178
+ };
179
+ };
180
+ declare function GridBackground({
181
+ className,
182
+ children,
183
+ gridSize,
184
+ colors,
185
+ beams,
186
+ ...props
187
+ }: GridBackgroundProps): React$2.JSX.Element;
188
+ //#endregion
189
+ //#region src/ui/animation/hover-background.d.ts
190
+ type HoverBackgroundProps = HTMLMotionProps<"div"> & {
191
+ objectCount?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
192
+ children?: React$2.ReactNode;
193
+ colors?: {
194
+ background?: string;
195
+ objects?: string[];
196
+ glow?: string;
197
+ };
198
+ };
199
+ declare function HoverBackground({
200
+ className,
201
+ objectCount,
202
+ children,
203
+ colors,
204
+ ...props
205
+ }: HoverBackgroundProps): React$2.JSX.Element;
206
+ //#endregion
207
+ //#region src/ui/animation/marquee.d.ts
208
+ interface MarqueeProps extends ComponentPropsWithoutRef<"div"> {
209
+ /**
210
+ * Optional CSS class name to apply custom styles
211
+ */
212
+ className?: string;
213
+ /**
214
+ * Whether to reverse the animation direction
215
+ * @default false
216
+ */
217
+ reverse?: boolean;
218
+ /**
219
+ * Whether to pause the animation on hover
220
+ * @default false
221
+ */
222
+ pauseOnHover?: boolean;
223
+ /**
224
+ * Content to be displayed in the marquee
225
+ */
226
+ children: React$1.ReactNode;
227
+ /**
228
+ * Whether to animate vertically instead of horizontally
229
+ * @default false
230
+ */
231
+ vertical?: boolean;
232
+ /**
233
+ * Number of times to repeat the content
234
+ * @default 4
235
+ */
236
+ repeat?: number;
237
+ /**
238
+ * ARIA label for accessibility
239
+ */
240
+ ariaLabel?: string;
241
+ /**
242
+ * ARIA live region politeness
243
+ */
244
+ ariaLive?: "off" | "polite" | "assertive";
245
+ /**
246
+ * ARIA role
247
+ */
248
+ ariaRole?: string;
249
+ }
250
+ declare function Marquee({
251
+ className,
252
+ reverse,
253
+ pauseOnHover,
254
+ children,
255
+ vertical,
256
+ repeat,
257
+ ariaLabel,
258
+ ariaLive,
259
+ ariaRole,
260
+ ...props
261
+ }: MarqueeProps): React$1.JSX.Element;
262
+ //#endregion
263
+ //#region src/ui/animation/shimmering-text.d.ts
264
+ interface ShimmeringTextProps {
265
+ /** Text to display with shimmer effect */
266
+ text: string;
267
+ /** Animation duration in seconds */
268
+ duration?: number;
269
+ /** Delay before starting animation */
270
+ delay?: number;
271
+ /** Whether to repeat the animation */
272
+ repeat?: boolean;
273
+ /** Pause duration between repeats in seconds */
274
+ repeatDelay?: number;
275
+ /** Custom className */
276
+ className?: string;
277
+ /** Whether to start animation when component enters viewport */
278
+ startOnView?: boolean;
279
+ /** Whether to animate only once */
280
+ once?: boolean;
281
+ /** Margin for in-view detection (rootMargin) */
282
+ inViewMargin?: UseInViewOptions["margin"];
283
+ /** Shimmer spread multiplier */
284
+ spread?: number;
285
+ /** Base text color */
286
+ color?: string;
287
+ /** Shimmer gradient color */
288
+ shimmerColor?: string;
289
+ }
290
+ declare function ShimmeringText({
291
+ text,
292
+ duration,
293
+ delay,
294
+ repeat,
295
+ repeatDelay,
296
+ className,
297
+ startOnView,
298
+ once,
299
+ inViewMargin,
300
+ spread,
301
+ color,
302
+ shimmerColor
303
+ }: ShimmeringTextProps): React$1.JSX.Element;
304
+ //#endregion
305
+ //#region src/ui/animation/sliding-number.d.ts
306
+ interface SlidingNumberProps {
307
+ from: number;
308
+ to: number;
309
+ duration?: number;
310
+ delay?: number;
311
+ startOnView?: boolean;
312
+ once?: boolean;
313
+ className?: string;
314
+ onComplete?: () => void;
315
+ digitHeight?: number;
316
+ }
317
+ declare function SlidingNumber({
318
+ from,
319
+ to,
320
+ duration,
321
+ delay,
322
+ startOnView,
323
+ once,
324
+ className,
325
+ onComplete,
326
+ digitHeight
327
+ }: SlidingNumberProps): import("react").JSX.Element;
328
+ //#endregion
329
+ //#region src/ui/animation/svg-text.d.ts
330
+ interface SvgTextProps {
331
+ /**
332
+ * The SVG content to display inside the text
333
+ */
334
+ svg: ReactNode;
335
+ /**
336
+ * The content to display (will have the SVG "inside" it)
337
+ */
338
+ children: ReactNode;
339
+ /**
340
+ * Additional className for the container
341
+ */
342
+ className?: string;
343
+ /**
344
+ * Font size for the text mask (in viewport width units or CSS units)
345
+ * @default "20vw"
346
+ */
347
+ fontSize?: string | number;
348
+ /**
349
+ * Font weight for the text mask
350
+ * @default "bold"
351
+ */
352
+ fontWeight?: string | number;
353
+ /**
354
+ * The element type to render for the container
355
+ * @default "div"
356
+ */
357
+ as?: ElementType;
358
+ }
359
+ /**
360
+ * SvgText displays content with an SVG background fill effect.
361
+ * The SVG is masked by the content, creating a dynamic text look.
362
+ */
363
+ declare function SvgText({
364
+ svg,
365
+ children,
366
+ className,
367
+ fontSize,
368
+ fontWeight,
369
+ as: Component
370
+ }: SvgTextProps): React$2.JSX.Element;
371
+ //#endregion
372
+ //#region src/ui/animation/text-reveal.d.ts
373
+ type RevealVariant = "fade" | "slideUp" | "slideDown" | "slideLeft" | "slideRight" | "scale" | "blur" | "typewriter" | "wave" | "stagger" | "rotate" | "elastic";
374
+ interface TextRevealProps {
375
+ children: string;
376
+ variant?: RevealVariant;
377
+ className?: string;
378
+ style?: React$1.CSSProperties;
379
+ delay?: number;
380
+ duration?: number;
381
+ staggerDelay?: number;
382
+ once?: boolean;
383
+ startOnView?: boolean;
384
+ wordLevel?: boolean;
385
+ }
386
+ declare function TextReveal({
387
+ children,
388
+ variant,
389
+ className,
390
+ style,
391
+ delay,
392
+ duration,
393
+ staggerDelay,
394
+ once,
395
+ startOnView,
396
+ wordLevel
397
+ }: TextRevealProps): React$1.JSX.Element;
398
+ //#endregion
399
+ //#region src/ui/animation/typing-text.d.ts
400
+ interface TypingTextProps extends Omit<MotionProps, "children"> {
401
+ /** Text to animate */
402
+ text?: string;
403
+ /** Array of texts to cycle through */
404
+ texts?: string[];
405
+ /** Typing speed in milliseconds */
406
+ speed?: number;
407
+ /** Delay before starting animation */
408
+ delay?: number;
409
+ /** Whether to show cursor */
410
+ showCursor?: boolean;
411
+ /** Cursor character */
412
+ cursor?: string;
413
+ /** Cursor className */
414
+ cursorClassName?: string;
415
+ /** Whether to loop through texts */
416
+ loop?: boolean;
417
+ /** Pause duration between loops */
418
+ pauseDuration?: number;
419
+ /** Custom className */
420
+ className?: string;
421
+ /** Callback when typing completes */
422
+ onComplete?: () => void;
423
+ /** Whether to start animation when component enters viewport */
424
+ startOnView?: boolean;
425
+ /** Whether to animate only once */
426
+ once?: boolean;
427
+ /** Margin for in-view detection (rootMargin) */
428
+ inViewMargin?: UseInViewOptions["margin"];
429
+ }
430
+ declare function TypingText({
431
+ text,
432
+ texts,
433
+ speed,
434
+ delay,
435
+ showCursor,
436
+ cursorClassName,
437
+ cursor,
438
+ loop,
439
+ pauseDuration,
440
+ className,
441
+ onComplete,
442
+ startOnView,
443
+ once,
444
+ inViewMargin,
445
+ ...props
446
+ }: TypingTextProps): import("react").JSX.Element;
447
+ //#endregion
448
+ //#region src/ui/animation/video-text.d.ts
449
+ interface VideoTextProps {
450
+ /**
451
+ * The video source URL or array of sources for multiple formats
452
+ */
453
+ src: string | string[];
454
+ /**
455
+ * The content to display (will have the video "inside" it)
456
+ */
457
+ children: ReactNode;
458
+ /**
459
+ * Additional className for the container
460
+ */
461
+ className?: string;
462
+ /**
463
+ * Whether to autoplay the video
464
+ * @default true
465
+ */
466
+ autoPlay?: boolean;
467
+ /**
468
+ * Whether to mute the video
469
+ * @default true
470
+ */
471
+ muted?: boolean;
472
+ /**
473
+ * Whether to loop the video
474
+ * @default true
475
+ */
476
+ loop?: boolean;
477
+ /**
478
+ * Whether to preload the video
479
+ * @default "auto"
480
+ */
481
+ preload?: "auto" | "metadata" | "none";
482
+ /**
483
+ * Font size for the text mask (in viewport width units or CSS units)
484
+ * @default "20vw"
485
+ */
486
+ fontSize?: string | number;
487
+ /**
488
+ * Font weight for the text mask
489
+ * @default "bold"
490
+ */
491
+ fontWeight?: string | number;
492
+ /**
493
+ * The element type to render for the container
494
+ * @default "div"
495
+ */
496
+ as?: ElementType;
497
+ /**
498
+ * Callback when video starts playing
499
+ */
500
+ onPlay?: () => void;
501
+ /**
502
+ * Callback when video is paused
503
+ */
504
+ onPause?: () => void;
505
+ /**
506
+ * Callback when video ends
507
+ */
508
+ onEnded?: () => void;
509
+ }
510
+ /**
511
+ * VideoText displays content with a background video fill effect.
512
+ * The video is masked by the content, creating a dynamic animated text look.
513
+ */
514
+ declare function VideoText({
515
+ src,
516
+ children,
517
+ className,
518
+ autoPlay,
519
+ muted,
520
+ loop,
521
+ preload,
522
+ fontSize,
523
+ fontWeight,
524
+ as: Component,
525
+ onPlay,
526
+ onPause,
527
+ onEnded
528
+ }: VideoTextProps): React$2.JSX.Element;
529
+ //#endregion
530
+ //#region src/ui/animation/word-rotate.d.ts
531
+ interface WordRotateProps extends Omit<MotionProps, "children"> {
532
+ words: string[];
533
+ duration?: number;
534
+ animationStyle?: "fade" | "slide-up" | "slide-down" | "scale" | "flip";
535
+ loop?: boolean;
536
+ pauseDuration?: number;
537
+ className?: string;
538
+ containerClassName?: string;
539
+ startOnView?: boolean;
540
+ once?: boolean;
541
+ inViewMargin?: UseInViewOptions["margin"];
542
+ }
543
+ declare function WordRotate({
544
+ words,
545
+ duration,
546
+ animationStyle,
547
+ loop,
548
+ className,
549
+ containerClassName,
550
+ pauseDuration,
551
+ startOnView,
552
+ once,
553
+ inViewMargin,
554
+ ...props
555
+ }: WordRotateProps): import("react").JSX.Element;
556
+ //#endregion
557
+ //#region src/ui/accordion.d.ts
558
+ declare const accordionRootVariants: (props?: ({
559
+ variant?: "default" | "outline" | "solid" | null | undefined;
560
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
561
+ declare function Accordion(props: React$2.ComponentProps<typeof Accordion$1.Root> & VariantProps<typeof accordionRootVariants> & {
562
+ indicator?: "arrow" | "plus" | "none";
563
+ }): React$2.JSX.Element;
564
+ declare function AccordionItem(props: React$2.ComponentProps<typeof Accordion$1.Item>): React$2.JSX.Element;
565
+ declare function AccordionTrigger(props: React$2.ComponentProps<typeof Accordion$1.Trigger>): React$2.JSX.Element;
566
+ declare function AccordionContent(props: React$2.ComponentProps<typeof Accordion$1.Content>): React$2.JSX.Element;
567
+ //#endregion
568
+ //#region src/ui/accordion-menu.d.ts
569
+ interface AccordionMenuClassNames {
570
+ root?: string;
571
+ group?: string;
572
+ label?: string;
573
+ separator?: string;
574
+ item?: string;
575
+ sub?: string;
576
+ subTrigger?: string;
577
+ subContent?: string;
578
+ subWrapper?: string;
579
+ indicator?: string;
580
+ }
581
+ interface AccordionMenuProps {
582
+ selectedValue?: string;
583
+ matchPath?: (href: string) => boolean;
584
+ classNames?: AccordionMenuClassNames;
585
+ onItemClick?: (value: string, event: React$2.MouseEvent) => void;
586
+ }
587
+ declare function AccordionMenu({
588
+ className,
589
+ matchPath,
590
+ classNames,
591
+ children,
592
+ selectedValue,
593
+ onItemClick,
594
+ ...props
595
+ }: React$2.ComponentPropsWithoutRef<typeof Accordion$1.Root> & AccordionMenuProps): React$2.JSX.Element;
596
+ type AccordionMenuGroupProps = React$2.ComponentPropsWithoutRef<"div">;
597
+ declare function AccordionMenuGroup({
598
+ children,
599
+ className,
600
+ ...props
601
+ }: AccordionMenuGroupProps): React$2.JSX.Element;
602
+ type AccordionMenuLabelProps = React$2.ComponentPropsWithoutRef<"div">;
603
+ declare function AccordionMenuLabel({
604
+ children,
605
+ className,
606
+ ...props
607
+ }: AccordionMenuLabelProps): React$2.JSX.Element;
608
+ type AccordionMenuSeparatorProps = React$2.ComponentPropsWithoutRef<"div">;
609
+ declare function AccordionMenuSeparator({
610
+ className,
611
+ ...props
612
+ }: AccordionMenuSeparatorProps): React$2.JSX.Element;
613
+ declare const itemVariants$1: (props?: ({
614
+ variant?: "default" | "destructive" | null | undefined;
615
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
616
+ declare function AccordionMenuItem({
617
+ className,
618
+ children,
619
+ variant,
620
+ asChild,
621
+ onClick,
622
+ ...props
623
+ }: React$2.ComponentPropsWithoutRef<typeof Accordion$1.Item> & VariantProps<typeof itemVariants$1> & {
624
+ onClick?: React$2.MouseEventHandler<HTMLElement>;
625
+ }): React$2.JSX.Element;
626
+ declare function AccordionMenuSub({
627
+ className,
628
+ children,
629
+ ...props
630
+ }: React$2.ComponentPropsWithoutRef<typeof Accordion$1.Item>): React$2.JSX.Element;
631
+ declare function AccordionMenuSubTrigger({
632
+ className,
633
+ children
634
+ }: React$2.ComponentPropsWithoutRef<typeof Accordion$1.Trigger>): React$2.JSX.Element;
635
+ type AccordionMenuSubContentProps = ((React$2.ComponentPropsWithoutRef<typeof Accordion$1.Content> & {
636
+ type: "single";
637
+ collapsible: boolean;
638
+ defaultValue?: string;
639
+ }) | (React$2.ComponentPropsWithoutRef<typeof Accordion$1.Content> & {
640
+ type: "multiple";
641
+ collapsible?: boolean;
642
+ defaultValue?: string | string[];
643
+ })) & {
644
+ parentValue: string;
645
+ };
646
+ declare function AccordionMenuSubContent({
647
+ className,
648
+ children,
649
+ type,
650
+ collapsible,
651
+ defaultValue,
652
+ parentValue,
653
+ ...props
654
+ }: AccordionMenuSubContentProps): React$2.JSX.Element;
655
+ type AccordionMenuIndicatorProps = React$2.ComponentPropsWithoutRef<"span">;
656
+ declare function AccordionMenuIndicator({
657
+ className,
658
+ ...props
659
+ }: AccordionMenuIndicatorProps): React$2.JSX.Element;
660
+ //#endregion
661
+ //#region src/ui/alert.d.ts
662
+ declare const alertVariants: (props?: ({
663
+ variant?: "primary" | "mono" | "destructive" | "secondary" | "success" | "info" | "warning" | null | undefined;
664
+ icon?: "primary" | "destructive" | "success" | "info" | "warning" | null | undefined;
665
+ appearance?: "light" | "outline" | "solid" | "stroke" | null | undefined;
666
+ size?: "sm" | "lg" | "md" | null | undefined;
667
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
668
+ interface AlertProps extends React$2.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
669
+ close?: boolean;
670
+ onClose?: () => void;
671
+ }
672
+ interface AlertIconProps extends React$2.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {}
673
+ declare function Alert({
674
+ className,
675
+ variant,
676
+ size,
677
+ icon,
678
+ appearance,
679
+ close,
680
+ onClose,
681
+ children,
682
+ ...props
683
+ }: AlertProps): React$2.JSX.Element;
684
+ declare function AlertTitle({
685
+ className,
686
+ ...props
687
+ }: React$2.HTMLAttributes<HTMLDivElement>): React$2.JSX.Element;
688
+ declare function AlertIcon({
689
+ children,
690
+ className,
691
+ ...props
692
+ }: AlertIconProps): React$2.JSX.Element;
693
+ declare function AlertToolbar({
694
+ children,
695
+ className,
696
+ ...props
697
+ }: AlertIconProps): React$2.JSX.Element;
698
+ declare function AlertDescription({
699
+ className,
700
+ ...props
701
+ }: React$2.HTMLAttributes<HTMLDivElement>): React$2.JSX.Element;
702
+ declare function AlertContent({
703
+ className,
704
+ ...props
705
+ }: React$2.HTMLAttributes<HTMLDivElement>): React$2.JSX.Element;
706
+ //#endregion
707
+ //#region src/ui/button.d.ts
708
+ declare const buttonVariants: (props?: ({
709
+ variant?: "outline" | "primary" | "mono" | "destructive" | "secondary" | "dashed" | "ghost" | "dim" | "foreground" | "inverse" | null | undefined;
710
+ appearance?: "default" | "ghost" | null | undefined;
711
+ underline?: "dashed" | "solid" | null | undefined;
712
+ underlined?: "dashed" | "solid" | null | undefined;
713
+ size?: "sm" | "lg" | "md" | "xs" | "icon" | null | undefined;
714
+ autoHeight?: boolean | null | undefined;
715
+ radius?: "md" | "full" | null | undefined;
716
+ mode?: "default" | "icon" | "link" | "input" | null | undefined;
717
+ placeholder?: boolean | null | undefined;
718
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
719
+ declare function Button({
720
+ className,
721
+ selected,
722
+ variant,
723
+ radius,
724
+ appearance,
725
+ mode,
726
+ size,
727
+ autoHeight,
728
+ underlined,
729
+ underline,
730
+ asChild,
731
+ placeholder,
732
+ ...props
733
+ }: React$2.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
734
+ selected?: boolean;
735
+ asChild?: boolean;
736
+ }): React$2.JSX.Element;
737
+ interface ButtonArrowProps extends React$2.SVGProps<SVGSVGElement> {
738
+ icon?: LucideIcon;
739
+ }
740
+ declare function ButtonArrow({
741
+ icon: Icon,
742
+ className,
743
+ ...props
744
+ }: ButtonArrowProps): React$2.JSX.Element;
745
+ //#endregion
746
+ //#region src/ui/alert-dialog.d.ts
747
+ declare function AlertDialog({
748
+ ...props
749
+ }: React$2.ComponentProps<typeof AlertDialog$1.Root>): React$2.JSX.Element;
750
+ declare function AlertDialogTrigger({
751
+ ...props
752
+ }: React$2.ComponentProps<typeof AlertDialog$1.Trigger>): React$2.JSX.Element;
753
+ declare function AlertDialogPortal({
754
+ ...props
755
+ }: React$2.ComponentProps<typeof AlertDialog$1.Portal>): React$2.JSX.Element;
756
+ declare function AlertDialogOverlay({
757
+ className,
758
+ ...props
759
+ }: React$2.ComponentProps<typeof AlertDialog$1.Overlay>): React$2.JSX.Element;
760
+ declare function AlertDialogContent({
761
+ className,
762
+ ...props
763
+ }: React$2.ComponentProps<typeof AlertDialog$1.Content>): React$2.JSX.Element;
764
+ declare const AlertDialogHeader: ({
765
+ className,
766
+ ...props
767
+ }: React$2.HTMLAttributes<HTMLDivElement>) => React$2.JSX.Element;
768
+ declare const AlertDialogFooter: ({
769
+ className,
770
+ ...props
771
+ }: React$2.HTMLAttributes<HTMLDivElement>) => React$2.JSX.Element;
772
+ declare function AlertDialogTitle({
773
+ className,
774
+ ...props
775
+ }: React$2.ComponentProps<typeof AlertDialog$1.Title>): React$2.JSX.Element;
776
+ declare function AlertDialogDescription({
777
+ className,
778
+ ...props
779
+ }: React$2.ComponentProps<typeof AlertDialog$1.Description>): React$2.JSX.Element;
780
+ declare function AlertDialogAction({
781
+ className,
782
+ variant,
783
+ ...props
784
+ }: React$2.ComponentProps<typeof AlertDialog$1.Action> & VariantProps<typeof buttonVariants>): React$2.JSX.Element;
785
+ declare function AlertDialogCancel({
786
+ className,
787
+ ...props
788
+ }: React$2.ComponentProps<typeof AlertDialog$1.Cancel>): React$2.JSX.Element;
789
+ //#endregion
790
+ //#region src/ui/aspect-ratio.d.ts
791
+ declare function AspectRatio({
792
+ ...props
793
+ }: React$2.ComponentProps<typeof AspectRatio$1.Root>): React$2.JSX.Element;
794
+ //#endregion
795
+ //#region src/ui/avatar.d.ts
796
+ declare const avatarStatusVariants: (props?: ({
797
+ variant?: "online" | "offline" | "busy" | "away" | null | undefined;
798
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
799
+ declare function Avatar({
800
+ className,
801
+ ...props
802
+ }: React$2.ComponentProps<typeof Avatar$1.Root>): React$2.JSX.Element;
803
+ declare function AvatarImage({
804
+ className,
805
+ ...props
806
+ }: React$2.ComponentProps<typeof Avatar$1.Image>): React$2.JSX.Element;
807
+ declare function AvatarFallback({
808
+ className,
809
+ ...props
810
+ }: React$2.ComponentProps<typeof Avatar$1.Fallback>): React$2.JSX.Element;
811
+ declare function AvatarIndicator({
812
+ className,
813
+ ...props
814
+ }: React$2.HTMLAttributes<HTMLDivElement>): React$2.JSX.Element;
815
+ declare function AvatarStatus({
816
+ className,
817
+ variant,
818
+ ...props
819
+ }: React$2.HTMLAttributes<HTMLDivElement> & VariantProps<typeof avatarStatusVariants>): React$2.JSX.Element;
820
+ //#endregion
821
+ //#region src/ui/badge.d.ts
822
+ interface BadgeProps extends React$2.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof badgeVariants> {
823
+ asChild?: boolean;
824
+ dotClassName?: string;
825
+ disabled?: boolean;
826
+ }
827
+ interface BadgeButtonProps extends React$2.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof badgeButtonVariants> {
828
+ asChild?: boolean;
829
+ }
830
+ type BadgeDotProps = React$2.HTMLAttributes<HTMLSpanElement>;
831
+ declare const badgeVariants: (props?: ({
832
+ variant?: "outline" | "primary" | "destructive" | "secondary" | "success" | "info" | "warning" | null | undefined;
833
+ appearance?: "light" | "default" | "outline" | "ghost" | null | undefined;
834
+ disabled?: boolean | null | undefined;
835
+ size?: "sm" | "lg" | "md" | "xs" | null | undefined;
836
+ shape?: "default" | "circle" | null | undefined;
837
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
838
+ declare const badgeButtonVariants: (props?: ({
839
+ variant?: "default" | null | undefined;
840
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
841
+ declare function Badge({
842
+ className,
843
+ variant,
844
+ size,
845
+ appearance,
846
+ shape,
847
+ asChild,
848
+ disabled,
849
+ ...props
850
+ }: React$2.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
851
+ asChild?: boolean;
852
+ }): React$2.JSX.Element;
853
+ declare function BadgeButton({
854
+ className,
855
+ variant,
856
+ asChild,
857
+ ...props
858
+ }: React$2.ComponentProps<"button"> & VariantProps<typeof badgeButtonVariants> & {
859
+ asChild?: boolean;
860
+ }): React$2.JSX.Element;
861
+ declare function BadgeDot({
862
+ className,
863
+ ...props
864
+ }: React$2.ComponentProps<"span">): React$2.JSX.Element;
865
+ //#endregion
866
+ //#region src/ui/breadcrumb.d.ts
867
+ declare function Breadcrumb(props: React$2.ComponentProps<"nav">): React$2.JSX.Element;
868
+ declare function BreadcrumbList({
869
+ className,
870
+ ...props
871
+ }: React$2.ComponentProps<"ol">): React$2.JSX.Element;
872
+ declare function BreadcrumbItem({
873
+ className,
874
+ ...props
875
+ }: React$2.ComponentProps<"li">): React$2.JSX.Element;
876
+ declare function BreadcrumbLink({
877
+ asChild,
878
+ className,
879
+ ...props
880
+ }: React$2.ComponentProps<"a"> & {
881
+ asChild?: boolean;
882
+ }): React$2.JSX.Element;
883
+ declare function BreadcrumbPage({
884
+ className,
885
+ ...props
886
+ }: React$2.ComponentProps<"span">): React$2.JSX.Element;
887
+ declare const BreadcrumbSeparator: ({
888
+ children,
889
+ className,
890
+ ...props
891
+ }: React$2.ComponentProps<"li">) => React$2.JSX.Element;
892
+ declare const BreadcrumbEllipsis: ({
893
+ className,
894
+ ...props
895
+ }: React$2.ComponentProps<"span">) => React$2.JSX.Element;
896
+ //#endregion
897
+ //#region src/ui/separator.d.ts
898
+ declare function Separator({
899
+ className,
900
+ orientation,
901
+ decorative,
902
+ ...props
903
+ }: React$2.ComponentProps<typeof Separator$1.Root>): React$2.JSX.Element;
904
+ //#endregion
905
+ //#region src/ui/button-group.d.ts
906
+ declare const buttonGroupVariants: (props?: ({
907
+ orientation?: "horizontal" | "vertical" | null | undefined;
908
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
909
+ declare function ButtonGroup({
910
+ className,
911
+ orientation,
912
+ ...props
913
+ }: React.ComponentProps<"div"> & VariantProps<typeof buttonGroupVariants>): import("react").JSX.Element;
914
+ declare function ButtonGroupText({
915
+ className,
916
+ asChild,
917
+ ...props
918
+ }: React.ComponentProps<"div"> & {
919
+ asChild?: boolean;
920
+ }): import("react").JSX.Element;
921
+ declare function ButtonGroupSeparator({
922
+ className,
923
+ orientation,
924
+ ...props
925
+ }: React.ComponentProps<typeof Separator>): import("react").JSX.Element;
926
+ //#endregion
927
+ //#region src/ui/calendar.d.ts
928
+ declare function Calendar({
929
+ className,
930
+ classNames,
931
+ showOutsideDays,
932
+ ...props
933
+ }: React$2.ComponentProps<typeof DayPicker>): React$2.JSX.Element;
934
+ //#endregion
935
+ //#region src/ui/card.d.ts
936
+ declare const cardVariants: (props?: ({
937
+ variant?: "default" | "accent" | null | undefined;
938
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
939
+ declare function Card({
940
+ className,
941
+ variant,
942
+ ...props
943
+ }: React$2.HTMLAttributes<HTMLDivElement> & VariantProps<typeof cardVariants>): React$2.JSX.Element;
944
+ declare function CardHeader({
945
+ className,
946
+ ...props
947
+ }: React$2.HTMLAttributes<HTMLDivElement>): React$2.JSX.Element;
948
+ declare function CardContent({
949
+ className,
950
+ ...props
951
+ }: React$2.HTMLAttributes<HTMLDivElement>): React$2.JSX.Element;
952
+ declare function CardTable({
953
+ className,
954
+ ...props
955
+ }: React$2.HTMLAttributes<HTMLDivElement>): React$2.JSX.Element;
956
+ declare function CardFooter({
957
+ className,
958
+ ...props
959
+ }: React$2.HTMLAttributes<HTMLDivElement>): React$2.JSX.Element;
960
+ declare function CardHeading({
961
+ className,
962
+ ...props
963
+ }: React$2.HTMLAttributes<HTMLDivElement>): React$2.JSX.Element;
964
+ declare function CardToolbar({
965
+ className,
966
+ ...props
967
+ }: React$2.HTMLAttributes<HTMLDivElement>): React$2.JSX.Element;
968
+ declare function CardTitle({
969
+ className,
970
+ ...props
971
+ }: React$2.HTMLAttributes<HTMLHeadingElement>): React$2.JSX.Element;
972
+ declare function CardDescription({
973
+ className,
974
+ ...props
975
+ }: React$2.HTMLAttributes<HTMLDivElement>): React$2.JSX.Element;
976
+ //#endregion
977
+ //#region src/ui/carousel.d.ts
978
+ type CarouselApi = UseEmblaCarouselType[1];
979
+ type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
980
+ type CarouselOptions = UseCarouselParameters[0];
981
+ type CarouselPlugin = UseCarouselParameters[1];
982
+ type CarouselProps = {
983
+ opts?: CarouselOptions;
984
+ plugins?: CarouselPlugin;
985
+ orientation?: "horizontal" | "vertical";
986
+ setApi?: (api: CarouselApi) => void;
987
+ };
988
+ declare function Carousel({
989
+ orientation,
990
+ opts,
991
+ setApi,
992
+ plugins,
993
+ className,
994
+ children,
995
+ ...props
996
+ }: React$2.ComponentProps<"div"> & CarouselProps): React$2.JSX.Element;
997
+ declare function CarouselContent({
998
+ className,
999
+ ...props
1000
+ }: React$2.ComponentProps<"div">): React$2.JSX.Element;
1001
+ declare function CarouselItem({
1002
+ className,
1003
+ ...props
1004
+ }: React$2.ComponentProps<"div">): React$2.JSX.Element;
1005
+ declare function CarouselPrevious({
1006
+ className,
1007
+ variant,
1008
+ size,
1009
+ ...props
1010
+ }: React$2.ComponentProps<typeof Button>): React$2.JSX.Element;
1011
+ declare function CarouselNext({
1012
+ className,
1013
+ variant,
1014
+ size,
1015
+ ...props
1016
+ }: React$2.ComponentProps<typeof Button>): React$2.JSX.Element;
1017
+ //#endregion
1018
+ //#region src/ui/checkbox.d.ts
1019
+ declare const checkboxVariants: (props?: ({
1020
+ size?: "sm" | "lg" | "md" | null | undefined;
1021
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
1022
+ declare function Checkbox({
1023
+ className,
1024
+ size,
1025
+ ...props
1026
+ }: React$2.ComponentProps<typeof Checkbox$1.Root> & VariantProps<typeof checkboxVariants>): React$2.JSX.Element;
1027
+ //#endregion
1028
+ //#region src/ui/code.d.ts
1029
+ interface CodeProps extends React$2.HTMLAttributes<HTMLElement>, VariantProps<typeof codeVariants> {
1030
+ asChild?: boolean;
1031
+ showCopyButton?: boolean;
1032
+ copyText?: string;
1033
+ }
1034
+ declare const codeVariants: (props?: ({
1035
+ variant?: "default" | "outline" | "destructive" | null | undefined;
1036
+ size?: "default" | "sm" | "lg" | null | undefined;
1037
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
1038
+ declare function Code({
1039
+ className,
1040
+ variant,
1041
+ size,
1042
+ asChild,
1043
+ showCopyButton,
1044
+ copyText,
1045
+ children,
1046
+ ...props
1047
+ }: CodeProps): React$2.JSX.Element;
1048
+ //#endregion
1049
+ //#region src/ui/collapsible.d.ts
1050
+ declare function Collapsible({
1051
+ ...props
1052
+ }: React$1.ComponentProps<typeof Collapsible$1.Root>): React$1.JSX.Element;
1053
+ declare function CollapsibleTrigger({
1054
+ ...props
1055
+ }: React$1.ComponentProps<typeof Collapsible$1.CollapsibleTrigger>): React$1.JSX.Element;
1056
+ declare function CollapsibleContent({
1057
+ className,
1058
+ children,
1059
+ ...props
1060
+ }: React$1.ComponentProps<typeof Collapsible$1.CollapsibleContent>): React$1.JSX.Element;
1061
+ //#endregion
1062
+ //#region src/ui/command.d.ts
1063
+ declare function Command({
1064
+ className,
1065
+ ...props
1066
+ }: React$1.ComponentProps<typeof Command$1>): React$1.JSX.Element;
1067
+ type CommandDialogProps = React$1.ComponentProps<typeof Dialog$1.Root> & {
1068
+ className?: string;
1069
+ title?: string;
1070
+ description?: string;
1071
+ };
1072
+ declare const CommandDialog: ({
1073
+ children,
1074
+ className,
1075
+ title,
1076
+ description,
1077
+ ...props
1078
+ }: CommandDialogProps) => React$1.JSX.Element;
1079
+ declare function CommandInput({
1080
+ className,
1081
+ ...props
1082
+ }: React$1.ComponentProps<typeof Command$1.Input>): React$1.JSX.Element;
1083
+ declare function CommandList({
1084
+ className,
1085
+ ...props
1086
+ }: React$1.ComponentProps<typeof Command$1.List>): React$1.JSX.Element;
1087
+ declare function CommandEmpty({
1088
+ ...props
1089
+ }: React$1.ComponentProps<typeof Command$1.Empty>): React$1.JSX.Element;
1090
+ declare function CommandGroup({
1091
+ className,
1092
+ ...props
1093
+ }: React$1.ComponentProps<typeof Command$1.Group>): React$1.JSX.Element;
1094
+ declare function CommandSeparator({
1095
+ className,
1096
+ ...props
1097
+ }: React$1.ComponentProps<typeof Command$1.Separator>): React$1.JSX.Element;
1098
+ declare function CommandItem({
1099
+ className,
1100
+ ...props
1101
+ }: React$1.ComponentProps<typeof Command$1.Item>): React$1.JSX.Element;
1102
+ declare const CommandShortcut: ({
1103
+ className,
1104
+ ...props
1105
+ }: React$1.HTMLAttributes<HTMLSpanElement>) => React$1.JSX.Element;
1106
+ interface CommandCheckProps extends React$1.SVGProps<SVGSVGElement> {
1107
+ icon?: LucideIcon;
1108
+ }
1109
+ declare function CommandCheck({
1110
+ icon: Icon,
1111
+ className,
1112
+ ...props
1113
+ }: CommandCheckProps): React$1.JSX.Element;
1114
+ //#endregion
1115
+ //#region src/ui/context-menu.d.ts
1116
+ declare function ContextMenu({
1117
+ ...props
1118
+ }: React$2.ComponentProps<typeof ContextMenu$1.Root>): React$2.JSX.Element;
1119
+ declare function ContextMenuTrigger({
1120
+ ...props
1121
+ }: React$2.ComponentProps<typeof ContextMenu$1.Trigger>): React$2.JSX.Element;
1122
+ declare function ContextMenuGroup({
1123
+ ...props
1124
+ }: React$2.ComponentProps<typeof ContextMenu$1.Group>): React$2.JSX.Element;
1125
+ declare function ContextMenuPortal({
1126
+ ...props
1127
+ }: React$2.ComponentProps<typeof ContextMenu$1.Portal>): React$2.JSX.Element;
1128
+ declare function ContextMenuSub({
1129
+ ...props
1130
+ }: React$2.ComponentProps<typeof ContextMenu$1.Sub>): React$2.JSX.Element;
1131
+ declare function ContextMenuRadioGroup({
1132
+ ...props
1133
+ }: React$2.ComponentProps<typeof ContextMenu$1.RadioGroup>): React$2.JSX.Element;
1134
+ declare function ContextMenuSubTrigger({
1135
+ className,
1136
+ inset,
1137
+ children,
1138
+ ...props
1139
+ }: React$2.ComponentProps<typeof ContextMenu$1.SubTrigger> & {
1140
+ inset?: boolean;
1141
+ }): React$2.JSX.Element;
1142
+ declare function ContextMenuSubContent({
1143
+ className,
1144
+ ...props
1145
+ }: React$2.ComponentProps<typeof ContextMenu$1.SubContent>): React$2.JSX.Element;
1146
+ declare function ContextMenuContent({
1147
+ className,
1148
+ ...props
1149
+ }: React$2.ComponentProps<typeof ContextMenu$1.Content>): React$2.JSX.Element;
1150
+ declare function ContextMenuItem({
1151
+ className,
1152
+ inset,
1153
+ variant,
1154
+ ...props
1155
+ }: React$2.ComponentProps<typeof ContextMenu$1.Item> & {
1156
+ inset?: boolean;
1157
+ variant?: "default" | "destructive";
1158
+ }): React$2.JSX.Element;
1159
+ declare function ContextMenuCheckboxItem({
1160
+ className,
1161
+ children,
1162
+ checked,
1163
+ ...props
1164
+ }: React$2.ComponentProps<typeof ContextMenu$1.CheckboxItem>): React$2.JSX.Element;
1165
+ declare function ContextMenuRadioItem({
1166
+ className,
1167
+ children,
1168
+ ...props
1169
+ }: React$2.ComponentProps<typeof ContextMenu$1.RadioItem>): React$2.JSX.Element;
1170
+ declare function ContextMenuLabel({
1171
+ className,
1172
+ inset,
1173
+ ...props
1174
+ }: React$2.ComponentProps<typeof ContextMenu$1.Label> & {
1175
+ inset?: boolean;
1176
+ }): React$2.JSX.Element;
1177
+ declare function ContextMenuSeparator({
1178
+ className,
1179
+ ...props
1180
+ }: React$2.ComponentProps<typeof ContextMenu$1.Separator>): React$2.JSX.Element;
1181
+ declare function ContextMenuShortcut({
1182
+ className,
1183
+ ...props
1184
+ }: React$2.ComponentProps<"span">): React$2.JSX.Element;
1185
+ //#endregion
1186
+ //#region src/ui/data-grid.d.ts
1187
+ declare module "@tanstack/react-table" {
1188
+ interface ColumnMeta<TData extends RowData, TValue> {
1189
+ headerTitle?: string;
1190
+ headerClassName?: string;
1191
+ cellClassName?: string;
1192
+ cellClassNameFn?: (row: TData) => string;
1193
+ skeleton?: ReactNode;
1194
+ expandedContent?: (row: TData) => ReactNode;
1195
+ }
1196
+ }
1197
+ type DataGridApiFetchParams = {
1198
+ pageIndex: number;
1199
+ pageSize: number;
1200
+ sorting?: SortingState;
1201
+ filters?: ColumnFiltersState;
1202
+ searchQuery?: string;
1203
+ };
1204
+ type DataGridApiResponse<T> = {
1205
+ data: T[];
1206
+ empty: boolean;
1207
+ pagination: {
1208
+ total: number;
1209
+ page: number;
1210
+ };
1211
+ };
1212
+ interface DataGridContextProps<TData extends object> {
1213
+ props: DataGridProps<TData>;
1214
+ table: Table$1<TData>;
1215
+ recordCount: number;
1216
+ isLoading: boolean;
1217
+ }
1218
+ type DataGridRequestParams = {
1219
+ pageIndex: number;
1220
+ pageSize: number;
1221
+ sorting?: SortingState;
1222
+ columnFilters?: ColumnFiltersState;
1223
+ };
1224
+ interface DataGridProps<TData extends object> {
1225
+ className?: string;
1226
+ table?: Table$1<TData>;
1227
+ recordCount: number;
1228
+ children?: ReactNode;
1229
+ onRowClick?: (row: TData) => void;
1230
+ isLoading?: boolean;
1231
+ loadingMode?: "skeleton" | "spinner";
1232
+ loadingMessage?: ReactNode | string;
1233
+ emptyMessage?: ReactNode | string;
1234
+ tableLayout?: {
1235
+ dense?: boolean;
1236
+ cellBorder?: boolean;
1237
+ rowBorder?: boolean;
1238
+ rowRounded?: boolean;
1239
+ stripped?: boolean;
1240
+ headerBackground?: boolean;
1241
+ headerBorder?: boolean;
1242
+ headerSticky?: boolean;
1243
+ width?: "auto" | "fixed";
1244
+ columnsVisibility?: boolean;
1245
+ columnsResizable?: boolean;
1246
+ columnsPinnable?: boolean;
1247
+ columnsMovable?: boolean;
1248
+ columnsDraggable?: boolean;
1249
+ rowsDraggable?: boolean;
1250
+ };
1251
+ tableClassNames?: {
1252
+ base?: string;
1253
+ header?: string;
1254
+ headerRow?: string;
1255
+ headerSticky?: string;
1256
+ body?: string;
1257
+ bodyRow?: string;
1258
+ footer?: string;
1259
+ edgeCell?: string;
1260
+ };
1261
+ }
1262
+ declare function useDataGrid(): DataGridContextProps<object>;
1263
+ declare function DataGridProvider<TData extends object>({
1264
+ children,
1265
+ table,
1266
+ ...props
1267
+ }: DataGridProps<TData> & {
1268
+ table: Table$1<TData>;
1269
+ }): import("react").JSX.Element;
1270
+ declare function DataGrid<TData extends object>({
1271
+ children,
1272
+ table,
1273
+ ...props
1274
+ }: DataGridProps<TData>): import("react").JSX.Element;
1275
+ declare function DataGridContainer({
1276
+ children,
1277
+ className,
1278
+ border
1279
+ }: {
1280
+ children: ReactNode;
1281
+ className?: string;
1282
+ border?: boolean;
1283
+ }): import("react").JSX.Element;
1284
+ //#endregion
1285
+ //#region src/ui/data-grid-column-filter.d.ts
1286
+ interface DataGridColumnFilterProps<TData, TValue> {
1287
+ column?: Column<TData, TValue>;
1288
+ title?: string;
1289
+ options: {
1290
+ label: string;
1291
+ value: string;
1292
+ icon?: React$2.ComponentType<{
1293
+ className?: string;
1294
+ }>;
1295
+ }[];
1296
+ }
1297
+ declare function DataGridColumnFilter<TData, TValue>({
1298
+ column,
1299
+ title,
1300
+ options
1301
+ }: DataGridColumnFilterProps<TData, TValue>): React$2.JSX.Element;
1302
+ //#endregion
1303
+ //#region src/ui/data-grid-column-header.d.ts
1304
+ interface DataGridColumnHeaderProps<TData, TValue> extends HTMLAttributes<HTMLDivElement> {
1305
+ column: Column<TData, TValue>;
1306
+ title?: string;
1307
+ icon?: ReactNode;
1308
+ pinnable?: boolean;
1309
+ filter?: ReactNode;
1310
+ visibility?: boolean;
1311
+ }
1312
+ declare function DataGridColumnHeader<TData, TValue>({
1313
+ column,
1314
+ title,
1315
+ icon,
1316
+ className,
1317
+ filter,
1318
+ visibility
1319
+ }: DataGridColumnHeaderProps<TData, TValue>): import("react").JSX.Element;
1320
+ //#endregion
1321
+ //#region src/ui/data-grid-column-visibility.d.ts
1322
+ declare function DataGridColumnVisibility<TData>({
1323
+ table,
1324
+ trigger
1325
+ }: {
1326
+ table: Table$1<TData>;
1327
+ trigger: ReactNode;
1328
+ }): import("react").JSX.Element;
1329
+ //#endregion
1330
+ //#region src/ui/data-grid-pagination.d.ts
1331
+ interface DataGridPaginationProps {
1332
+ sizes?: number[];
1333
+ sizesLabel?: string;
1334
+ sizesSkeleton?: ReactNode;
1335
+ moreLimit?: number;
1336
+ info?: string;
1337
+ infoSkeleton?: ReactNode;
1338
+ className?: string;
1339
+ rowsPerPageLabel?: string;
1340
+ previousPageLabel?: string;
1341
+ nextPageLabel?: string;
1342
+ ellipsisText?: string;
1343
+ previousPagesLabel?: string;
1344
+ nextPagesLabel?: string;
1345
+ }
1346
+ declare function DataGridPagination(props: DataGridPaginationProps): import("react").JSX.Element;
1347
+ //#endregion
1348
+ //#region src/ui/data-grid-table.d.ts
1349
+ declare function DataGridTableBase({
1350
+ children
1351
+ }: {
1352
+ children: ReactNode;
1353
+ }): React$2.JSX.Element;
1354
+ declare function DataGridTableHead({
1355
+ children
1356
+ }: {
1357
+ children: ReactNode;
1358
+ }): React$2.JSX.Element;
1359
+ declare function DataGridTableHeadRow<TData>({
1360
+ children,
1361
+ headerGroup
1362
+ }: {
1363
+ children: ReactNode;
1364
+ headerGroup: HeaderGroup<TData>;
1365
+ }): React$2.JSX.Element;
1366
+ declare function DataGridTableHeadRowCell<TData>({
1367
+ children,
1368
+ header,
1369
+ dndRef,
1370
+ dndStyle
1371
+ }: {
1372
+ children: ReactNode;
1373
+ header: Header<TData, unknown>;
1374
+ dndRef?: React$2.Ref<HTMLTableCellElement>;
1375
+ dndStyle?: CSSProperties;
1376
+ }): React$2.JSX.Element;
1377
+ declare function DataGridTableHeadRowCellResize<TData>({
1378
+ header
1379
+ }: {
1380
+ header: Header<TData, unknown>;
1381
+ }): React$2.JSX.Element;
1382
+ declare function DataGridTableRowSpacer(): React$2.JSX.Element;
1383
+ declare function DataGridTableBody({
1384
+ children
1385
+ }: {
1386
+ children: ReactNode;
1387
+ }): React$2.JSX.Element;
1388
+ declare function DataGridTableBodyRowSkeleton({
1389
+ children
1390
+ }: {
1391
+ children: ReactNode;
1392
+ }): React$2.JSX.Element;
1393
+ declare function DataGridTableBodyRowSkeletonCell<TData>({
1394
+ children,
1395
+ column
1396
+ }: {
1397
+ children: ReactNode;
1398
+ column: Column<TData>;
1399
+ }): React$2.JSX.Element;
1400
+ declare function DataGridTableBodyRow<TData>({
1401
+ children,
1402
+ row,
1403
+ dndRef,
1404
+ dndStyle
1405
+ }: {
1406
+ children: ReactNode;
1407
+ row: Row<TData>;
1408
+ dndRef?: React$2.Ref<HTMLTableRowElement>;
1409
+ dndStyle?: CSSProperties;
1410
+ }): React$2.JSX.Element;
1411
+ declare function DataGridTableBodyRowExpanded<TData>({
1412
+ row
1413
+ }: {
1414
+ row: Row<TData>;
1415
+ }): React$2.JSX.Element;
1416
+ declare function DataGridTableBodyRowCell<TData>({
1417
+ children,
1418
+ cell,
1419
+ dndRef,
1420
+ dndStyle
1421
+ }: {
1422
+ children: ReactNode;
1423
+ cell: Cell<TData, unknown>;
1424
+ dndRef?: React$2.Ref<HTMLTableCellElement>;
1425
+ dndStyle?: CSSProperties;
1426
+ }): React$2.JSX.Element;
1427
+ declare function DataGridTableEmpty(): React$2.JSX.Element;
1428
+ declare function DataGridTableRowSelect<TData>({
1429
+ row,
1430
+ size
1431
+ }: {
1432
+ row: Row<TData>;
1433
+ size?: "sm" | "md" | "lg";
1434
+ }): React$2.JSX.Element;
1435
+ declare function DataGridTableRowSelectAll({
1436
+ size
1437
+ }: {
1438
+ size?: "sm" | "md" | "lg";
1439
+ }): React$2.JSX.Element;
1440
+ declare function DataGridTable<_TData>(): React$2.JSX.Element;
1441
+ //#endregion
1442
+ //#region src/ui/data-grid-table-dnd.d.ts
1443
+ declare function DataGridTableDnd<_TData>({
1444
+ handleDragEnd
1445
+ }: {
1446
+ handleDragEnd: (event: DragEndEvent) => void;
1447
+ }): import("react").JSX.Element;
1448
+ //#endregion
1449
+ //#region src/ui/data-grid-table-dnd-rows.d.ts
1450
+ declare function DataGridTableDndRowHandle({
1451
+ rowId
1452
+ }: {
1453
+ rowId: string;
1454
+ }): import("react").JSX.Element;
1455
+ declare function DataGridTableDndRows<_TData>({
1456
+ handleDragEnd,
1457
+ dataIds
1458
+ }: {
1459
+ handleDragEnd: (event: DragEndEvent) => void;
1460
+ dataIds: UniqueIdentifier[];
1461
+ }): import("react").JSX.Element;
1462
+ //#endregion
1463
+ //#region src/ui/datefield.d.ts
1464
+ declare const inputVariants$1: (props?: ({
1465
+ variant?: "sm" | "lg" | "md" | null | undefined;
1466
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
1467
+ declare function DateField<T extends DateValue>({
1468
+ className,
1469
+ children,
1470
+ ...props
1471
+ }: DateFieldProps<T>): import("react").JSX.Element;
1472
+ declare function TimeField<T extends TimeValue>({
1473
+ className,
1474
+ children,
1475
+ ...props
1476
+ }: TimeFieldProps<T>): import("react").JSX.Element;
1477
+ declare function DateSegment({
1478
+ className,
1479
+ ...props
1480
+ }: DateSegmentProps): import("react").JSX.Element;
1481
+ declare const dateInputStyles = "\n relative inline-flex items-center overflow-hidden whitespace-nowrap\n data-focus-within:ring-ring/30 data-focus-within:border-ring data-focus-within:outline-none data-focus-within:ring-[3px]\n data-focus-within:has-aria-invalid:ring-destructive/20 dark:data-focus-within:has-aria-invalid:ring-destructive/40 data-focus-within:has-aria-invalid:border-destructive\n";
1482
+ interface DateInputProps extends DateInputProps$1, VariantProps<typeof inputVariants$1> {
1483
+ className?: string;
1484
+ variant?: VariantProps<typeof inputVariants$1>["variant"];
1485
+ }
1486
+ declare function DateInput({
1487
+ className,
1488
+ variant,
1489
+ ...props
1490
+ }: Omit<DateInputProps, "children">): import("react").JSX.Element;
1491
+ //#endregion
1492
+ //#region src/ui/description-list.d.ts
1493
+ type DescriptionListComponent = ((props: React.ComponentProps<"dl">) => React.ReactElement) & {
1494
+ Term: typeof DescriptionTerm;
1495
+ Details: typeof DescriptionDetails;
1496
+ };
1497
+ declare const DescriptionTerm: ({
1498
+ className,
1499
+ ref,
1500
+ ...props
1501
+ }: React.ComponentProps<"dt">) => import("react").JSX.Element;
1502
+ declare const DescriptionDetails: ({
1503
+ className,
1504
+ ref,
1505
+ ...props
1506
+ }: React.ComponentProps<"dd">) => import("react").JSX.Element;
1507
+ declare const DescriptionList: DescriptionListComponent;
1508
+ //#endregion
1509
+ //#region src/ui/dialog.d.ts
1510
+ declare const dialogContentVariants: (props?: ({
1511
+ variant?: "default" | "fullscreen" | null | undefined;
1512
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
1513
+ declare function Dialog({
1514
+ ...props
1515
+ }: React$2.ComponentProps<typeof Dialog$1.Root>): React$2.JSX.Element;
1516
+ declare function DialogTrigger({
1517
+ ...props
1518
+ }: React$2.ComponentProps<typeof Dialog$1.Trigger>): React$2.JSX.Element;
1519
+ declare function DialogPortal({
1520
+ ...props
1521
+ }: React$2.ComponentProps<typeof Dialog$1.Portal>): React$2.JSX.Element;
1522
+ declare function DialogClose({
1523
+ ...props
1524
+ }: React$2.ComponentProps<typeof Dialog$1.Close>): React$2.JSX.Element;
1525
+ declare function DialogOverlay({
1526
+ className,
1527
+ ...props
1528
+ }: React$2.ComponentProps<typeof Dialog$1.Overlay>): React$2.JSX.Element;
1529
+ declare function DialogContent({
1530
+ className,
1531
+ children,
1532
+ showCloseButton,
1533
+ overlay,
1534
+ variant,
1535
+ ...props
1536
+ }: React$2.ComponentProps<typeof Dialog$1.Content> & VariantProps<typeof dialogContentVariants> & {
1537
+ showCloseButton?: boolean;
1538
+ overlay?: boolean;
1539
+ }): React$2.JSX.Element;
1540
+ declare const DialogHeader: ({
1541
+ className,
1542
+ ...props
1543
+ }: React$2.HTMLAttributes<HTMLDivElement>) => React$2.JSX.Element;
1544
+ declare const DialogFooter: ({
1545
+ className,
1546
+ ...props
1547
+ }: React$2.HTMLAttributes<HTMLDivElement>) => React$2.JSX.Element;
1548
+ declare function DialogTitle({
1549
+ className,
1550
+ ...props
1551
+ }: React$2.ComponentProps<typeof Dialog$1.Title>): React$2.JSX.Element;
1552
+ declare const DialogBody: ({
1553
+ className,
1554
+ ...props
1555
+ }: React$2.HTMLAttributes<HTMLDivElement>) => React$2.JSX.Element;
1556
+ declare function DialogDescription({
1557
+ className,
1558
+ ...props
1559
+ }: React$2.ComponentProps<typeof Dialog$1.Description>): React$2.JSX.Element;
1560
+ //#endregion
1561
+ //#region src/ui/drawer.d.ts
1562
+ declare const Drawer: ({
1563
+ shouldScaleBackground,
1564
+ ...props
1565
+ }: React$2.ComponentProps<typeof Drawer$1.Root>) => React$2.JSX.Element;
1566
+ declare function DrawerTrigger({
1567
+ ...props
1568
+ }: React$2.ComponentProps<typeof Drawer$1.Trigger>): React$2.JSX.Element;
1569
+ declare function DrawerPortal({
1570
+ ...props
1571
+ }: React$2.ComponentProps<typeof Drawer$1.Portal>): React$2.JSX.Element;
1572
+ declare function DrawerClose({
1573
+ ...props
1574
+ }: React$2.ComponentProps<typeof Drawer$1.Close>): React$2.JSX.Element;
1575
+ declare function DrawerOverlay({
1576
+ className,
1577
+ ...props
1578
+ }: React$2.ComponentProps<typeof Drawer$1.Overlay>): React$2.JSX.Element;
1579
+ declare function DrawerContent({
1580
+ className,
1581
+ children,
1582
+ ...props
1583
+ }: React$2.ComponentProps<typeof Drawer$1.Content>): React$2.JSX.Element;
1584
+ declare const DrawerHeader: ({
1585
+ className,
1586
+ ...props
1587
+ }: React$2.HTMLAttributes<HTMLDivElement>) => React$2.JSX.Element;
1588
+ declare const DrawerFooter: ({
1589
+ className,
1590
+ ...props
1591
+ }: React$2.HTMLAttributes<HTMLDivElement>) => React$2.JSX.Element;
1592
+ declare function DrawerTitle({
1593
+ className,
1594
+ ...props
1595
+ }: React$2.ComponentProps<typeof Drawer$1.Title>): React$2.JSX.Element;
1596
+ declare function DrawerDescription({
1597
+ className,
1598
+ ...props
1599
+ }: React$2.ComponentProps<typeof Drawer$1.Description>): React$2.JSX.Element;
1600
+ //#endregion
1601
+ //#region src/ui/dropdown-menu.d.ts
1602
+ declare function DropdownMenu({
1603
+ ...props
1604
+ }: React$2.ComponentProps<typeof DropdownMenu$1.Root>): React$2.JSX.Element;
1605
+ declare function DropdownMenuPortal({
1606
+ ...props
1607
+ }: React$2.ComponentProps<typeof DropdownMenu$1.Portal>): React$2.JSX.Element;
1608
+ declare function DropdownMenuTrigger({
1609
+ ...props
1610
+ }: React$2.ComponentProps<typeof DropdownMenu$1.Trigger>): React$2.JSX.Element;
1611
+ declare function DropdownMenuSubTrigger({
1612
+ className,
1613
+ inset,
1614
+ children,
1615
+ ...props
1616
+ }: React$2.ComponentProps<typeof DropdownMenu$1.SubTrigger> & {
1617
+ inset?: boolean;
1618
+ }): React$2.JSX.Element;
1619
+ declare function DropdownMenuSubContent({
1620
+ className,
1621
+ ...props
1622
+ }: React$2.ComponentProps<typeof DropdownMenu$1.SubContent>): React$2.JSX.Element;
1623
+ declare function DropdownMenuContent({
1624
+ className,
1625
+ sideOffset,
1626
+ ...props
1627
+ }: React$2.ComponentProps<typeof DropdownMenu$1.Content>): React$2.JSX.Element;
1628
+ declare function DropdownMenuGroup({
1629
+ ...props
1630
+ }: React$2.ComponentProps<typeof DropdownMenu$1.Group>): React$2.JSX.Element;
1631
+ declare function DropdownMenuItem({
1632
+ className,
1633
+ inset,
1634
+ variant,
1635
+ ...props
1636
+ }: React$2.ComponentProps<typeof DropdownMenu$1.Item> & {
1637
+ inset?: boolean;
1638
+ variant?: "destructive";
1639
+ }): React$2.JSX.Element;
1640
+ declare function DropdownMenuCheckboxItem({
1641
+ className,
1642
+ children,
1643
+ checked,
1644
+ ...props
1645
+ }: React$2.ComponentProps<typeof DropdownMenu$1.CheckboxItem>): React$2.JSX.Element;
1646
+ declare function DropdownMenuRadioItem({
1647
+ className,
1648
+ children,
1649
+ ...props
1650
+ }: React$2.ComponentProps<typeof DropdownMenu$1.RadioItem>): React$2.JSX.Element;
1651
+ declare function DropdownMenuLabel({
1652
+ className,
1653
+ inset,
1654
+ ...props
1655
+ }: React$2.ComponentProps<typeof DropdownMenu$1.Label> & {
1656
+ inset?: boolean;
1657
+ }): React$2.JSX.Element;
1658
+ declare function DropdownMenuRadioGroup({
1659
+ ...props
1660
+ }: React$2.ComponentProps<typeof DropdownMenu$1.RadioGroup>): React$2.JSX.Element;
1661
+ declare function DropdownMenuSeparator({
1662
+ className,
1663
+ ...props
1664
+ }: React$2.ComponentProps<typeof DropdownMenu$1.Separator>): React$2.JSX.Element;
1665
+ declare function DropdownMenuShortcut({
1666
+ className,
1667
+ ...props
1668
+ }: React$2.HTMLAttributes<HTMLSpanElement>): React$2.JSX.Element;
1669
+ declare function DropdownMenuSub({
1670
+ ...props
1671
+ }: React$2.ComponentProps<typeof DropdownMenu$1.Sub>): React$2.JSX.Element;
1672
+ //#endregion
1673
+ //#region src/ui/empty.d.ts
1674
+ declare function Empty({
1675
+ className,
1676
+ ...props
1677
+ }: React.ComponentProps<"div">): import("react").JSX.Element;
1678
+ declare function EmptyHeader({
1679
+ className,
1680
+ ...props
1681
+ }: React.ComponentProps<"div">): import("react").JSX.Element;
1682
+ declare const emptyMediaVariants: (props?: ({
1683
+ variant?: "default" | "icon" | null | undefined;
1684
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
1685
+ declare function EmptyMedia({
1686
+ className,
1687
+ variant,
1688
+ ...props
1689
+ }: React.ComponentProps<"div"> & VariantProps<typeof emptyMediaVariants>): import("react").JSX.Element;
1690
+ declare function EmptyTitle({
1691
+ className,
1692
+ ...props
1693
+ }: React.ComponentProps<"div">): import("react").JSX.Element;
1694
+ declare function EmptyDescription({
1695
+ className,
1696
+ ...props
1697
+ }: React.ComponentProps<"div">): import("react").JSX.Element;
1698
+ declare function EmptyContent({
1699
+ className,
1700
+ ...props
1701
+ }: React.ComponentProps<"div">): import("react").JSX.Element;
1702
+ //#endregion
1703
+ //#region src/ui/label.d.ts
1704
+ declare const labelVariants: (props?: ({
1705
+ variant?: "primary" | "secondary" | null | undefined;
1706
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
1707
+ declare function Label({
1708
+ className,
1709
+ variant,
1710
+ ...props
1711
+ }: React$2.ComponentProps<typeof Label$1.Root> & VariantProps<typeof labelVariants>): React$2.JSX.Element;
1712
+ //#endregion
1713
+ //#region src/ui/field.d.ts
1714
+ declare function FieldSet({
1715
+ className,
1716
+ ...props
1717
+ }: React.ComponentProps<"fieldset">): import("react").JSX.Element;
1718
+ declare function FieldLegend({
1719
+ className,
1720
+ variant,
1721
+ ...props
1722
+ }: React.ComponentProps<"legend"> & {
1723
+ variant?: "legend" | "label";
1724
+ }): import("react").JSX.Element;
1725
+ declare function FieldGroup({
1726
+ className,
1727
+ ...props
1728
+ }: React.ComponentProps<"div">): import("react").JSX.Element;
1729
+ declare const fieldVariants: (props?: ({
1730
+ orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
1731
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
1732
+ declare function Field({
1733
+ className,
1734
+ orientation,
1735
+ ...props
1736
+ }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): import("react").JSX.Element;
1737
+ declare function FieldContent({
1738
+ className,
1739
+ ...props
1740
+ }: React.ComponentProps<"div">): import("react").JSX.Element;
1741
+ declare function FieldLabel({
1742
+ className,
1743
+ ...props
1744
+ }: React.ComponentProps<typeof Label>): import("react").JSX.Element;
1745
+ declare function FieldTitle({
1746
+ className,
1747
+ ...props
1748
+ }: React.ComponentProps<"div">): import("react").JSX.Element;
1749
+ declare function FieldDescription({
1750
+ className,
1751
+ ...props
1752
+ }: React.ComponentProps<"p">): import("react").JSX.Element;
1753
+ declare function FieldSeparator({
1754
+ children,
1755
+ className,
1756
+ ...props
1757
+ }: React.ComponentProps<"div"> & {
1758
+ children?: React.ReactNode;
1759
+ }): import("react").JSX.Element;
1760
+ declare function FieldError({
1761
+ className,
1762
+ children,
1763
+ errors,
1764
+ ...props
1765
+ }: React.ComponentProps<"div"> & {
1766
+ errors?: Array<{
1767
+ message?: string;
1768
+ } | undefined>;
1769
+ }): import("react").JSX.Element | null;
1770
+ //#endregion
1771
+ //#region src/ui/filters.d.ts
1772
+ interface FilterI18nConfig {
1773
+ addFilter: string;
1774
+ searchFields: string;
1775
+ noFieldsFound: string;
1776
+ noResultsFound: string;
1777
+ select: string;
1778
+ true: string;
1779
+ false: string;
1780
+ min: string;
1781
+ max: string;
1782
+ to: string;
1783
+ typeAndPressEnter: string;
1784
+ selected: string;
1785
+ selectedCount: string;
1786
+ percent: string;
1787
+ defaultCurrency: string;
1788
+ defaultColor: string;
1789
+ addFilterTitle: string;
1790
+ operators: {
1791
+ is: string;
1792
+ isNot: string;
1793
+ isAnyOf: string;
1794
+ isNotAnyOf: string;
1795
+ includesAll: string;
1796
+ excludesAll: string;
1797
+ before: string;
1798
+ after: string;
1799
+ between: string;
1800
+ notBetween: string;
1801
+ contains: string;
1802
+ notContains: string;
1803
+ startsWith: string;
1804
+ endsWith: string;
1805
+ isExactly: string;
1806
+ equals: string;
1807
+ notEquals: string;
1808
+ greaterThan: string;
1809
+ lessThan: string;
1810
+ overlaps: string;
1811
+ includes: string;
1812
+ excludes: string;
1813
+ includesAllOf: string;
1814
+ includesAnyOf: string;
1815
+ empty: string;
1816
+ notEmpty: string;
1817
+ };
1818
+ placeholders: {
1819
+ enterField: (fieldType: string) => string;
1820
+ selectField: string;
1821
+ searchField: (fieldName: string) => string;
1822
+ enterKey: string;
1823
+ enterValue: string;
1824
+ };
1825
+ helpers: {
1826
+ formatOperator: (operator: string) => string;
1827
+ };
1828
+ validation: {
1829
+ invalidEmail: string;
1830
+ invalidUrl: string;
1831
+ invalidTel: string;
1832
+ invalid: string;
1833
+ };
1834
+ }
1835
+ declare const DEFAULT_I18N: FilterI18nConfig;
1836
+ interface FilterOption<T = unknown> {
1837
+ value: T;
1838
+ label: string;
1839
+ icon?: React$1.ReactNode;
1840
+ metadata?: Record<string, unknown>;
1841
+ }
1842
+ interface FilterOperator {
1843
+ value: string;
1844
+ label: string;
1845
+ supportsMultiple?: boolean;
1846
+ }
1847
+ interface CustomRendererProps<T = unknown> {
1848
+ field: FilterFieldConfig<T>;
1849
+ values: T[];
1850
+ onChange: (values: T[]) => void;
1851
+ operator: string;
1852
+ }
1853
+ interface FilterFieldGroup<T = unknown> {
1854
+ group?: string;
1855
+ fields: FilterFieldConfig<T>[];
1856
+ }
1857
+ type FilterFieldsConfig<T = unknown> = FilterFieldConfig<T>[] | FilterFieldGroup<T>[];
1858
+ interface FilterFieldConfig<T = unknown> {
1859
+ key?: string;
1860
+ label?: string;
1861
+ icon?: React$1.ReactNode;
1862
+ type?: "select" | "multiselect" | "date" | "daterange" | "text" | "number" | "numberrange" | "boolean" | "email" | "url" | "tel" | "time" | "datetime" | "custom" | "separator";
1863
+ group?: string;
1864
+ fields?: FilterFieldConfig<T>[];
1865
+ options?: FilterOption<T>[];
1866
+ operators?: FilterOperator[];
1867
+ customRenderer?: (props: CustomRendererProps<T>) => React$1.ReactNode;
1868
+ customValueRenderer?: (values: T[], options: FilterOption<T>[]) => React$1.ReactNode;
1869
+ placeholder?: string;
1870
+ searchable?: boolean;
1871
+ maxSelections?: number;
1872
+ min?: number;
1873
+ max?: number;
1874
+ step?: number;
1875
+ prefix?: string | React$1.ReactNode;
1876
+ suffix?: string | React$1.ReactNode;
1877
+ pattern?: string;
1878
+ validation?: (value: unknown) => boolean;
1879
+ allowCustomValues?: boolean;
1880
+ className?: string;
1881
+ popoverContentClassName?: string;
1882
+ selectedOptionsClassName?: string;
1883
+ groupLabel?: string;
1884
+ onLabel?: string;
1885
+ offLabel?: string;
1886
+ onInputChange?: (e: React$1.ChangeEvent<HTMLInputElement>) => void;
1887
+ defaultOperator?: string;
1888
+ value?: T[];
1889
+ onValueChange?: (values: T[]) => void;
1890
+ }
1891
+ declare const DEFAULT_OPERATORS: Record<string, FilterOperator[]>;
1892
+ interface Filter<T = unknown> {
1893
+ id: string;
1894
+ field: string;
1895
+ operator: string;
1896
+ values: T[];
1897
+ }
1898
+ interface FilterGroup<T = unknown> {
1899
+ id: string;
1900
+ label?: string;
1901
+ filters: Filter<T>[];
1902
+ fields: FilterFieldConfig<T>[];
1903
+ }
1904
+ interface FiltersContentProps<T = unknown> {
1905
+ filters: Filter<T>[];
1906
+ fields: FilterFieldsConfig<T>;
1907
+ onChange: (filters: Filter<T>[]) => void;
1908
+ }
1909
+ declare const FiltersContent: <T = unknown>({
1910
+ filters,
1911
+ fields,
1912
+ onChange
1913
+ }: FiltersContentProps<T>) => React$1.JSX.Element;
1914
+ interface FiltersProps<T = unknown> {
1915
+ filters: Filter<T>[];
1916
+ fields: FilterFieldsConfig<T>;
1917
+ onChange: (filters: Filter<T>[]) => void;
1918
+ className?: string;
1919
+ showAddButton?: boolean;
1920
+ addButtonText?: string;
1921
+ addButtonIcon?: React$1.ReactNode;
1922
+ addButtonClassName?: string;
1923
+ addButton?: React$1.ReactNode;
1924
+ variant?: "solid" | "outline";
1925
+ size?: "sm" | "md" | "lg";
1926
+ radius?: "md" | "full";
1927
+ i18n?: Partial<FilterI18nConfig>;
1928
+ showSearchInput?: boolean;
1929
+ cursorPointer?: boolean;
1930
+ trigger?: React$1.ReactNode;
1931
+ allowMultiple?: boolean;
1932
+ popoverContentClassName?: string;
1933
+ }
1934
+ declare function Filters<T = unknown>({
1935
+ filters,
1936
+ fields,
1937
+ onChange,
1938
+ className,
1939
+ showAddButton,
1940
+ addButtonText,
1941
+ addButtonIcon,
1942
+ addButtonClassName,
1943
+ addButton,
1944
+ variant,
1945
+ size,
1946
+ radius,
1947
+ i18n,
1948
+ showSearchInput,
1949
+ cursorPointer,
1950
+ trigger,
1951
+ allowMultiple,
1952
+ popoverContentClassName
1953
+ }: FiltersProps<T>): React$1.JSX.Element;
1954
+ declare const createFilter: <T = unknown>(field: string, operator?: string, values?: T[]) => Filter<T>;
1955
+ declare const createFilterGroup: <T = unknown>(id: string, label: string, fields: FilterFieldConfig<T>[], initialFilters?: Filter<T>[]) => FilterGroup<T>;
1956
+ //#endregion
1957
+ //#region src/ui/form.d.ts
1958
+ declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>({
1959
+ children,
1960
+ watch,
1961
+ getValues,
1962
+ getFieldState,
1963
+ setError,
1964
+ clearErrors,
1965
+ setValue,
1966
+ setValues,
1967
+ trigger,
1968
+ formState,
1969
+ resetField,
1970
+ reset,
1971
+ handleSubmit,
1972
+ unregister,
1973
+ control,
1974
+ register,
1975
+ setFocus,
1976
+ subscribe
1977
+ }: import("react-hook-form").FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React$2.JSX.Element;
1978
+ declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({
1979
+ ...props
1980
+ }: ControllerProps<TFieldValues, TName>) => React$2.JSX.Element;
1981
+ declare const useFormField: () => {
1982
+ invalid: boolean;
1983
+ isDirty: boolean;
1984
+ isTouched: boolean;
1985
+ isValidating: boolean;
1986
+ error?: import("react-hook-form").FieldError;
1987
+ id: string;
1988
+ name: string;
1989
+ formItemId: string;
1990
+ formDescriptionId: string;
1991
+ formMessageId: string;
1992
+ };
1993
+ declare function FormItem({
1994
+ className,
1995
+ ...props
1996
+ }: React$2.HTMLAttributes<HTMLDivElement>): React$2.JSX.Element;
1997
+ declare function FormLabel({
1998
+ className,
1999
+ ...props
2000
+ }: React$2.ComponentProps<typeof Label$1.Root>): React$2.JSX.Element;
2001
+ declare function FormControl({
2002
+ ...props
2003
+ }: React$2.ComponentProps<typeof Slot.Root>): React$2.JSX.Element;
2004
+ declare function FormDescription({
2005
+ className,
2006
+ ...props
2007
+ }: React$2.HTMLAttributes<HTMLParagraphElement>): React$2.JSX.Element | null;
2008
+ declare function FormMessage({
2009
+ className,
2010
+ children,
2011
+ ...props
2012
+ }: React$2.HTMLAttributes<HTMLParagraphElement>): React$2.JSX.Element | null;
2013
+ //#endregion
2014
+ //#region src/ui/heading.d.ts
2015
+ interface HeadingProps extends React.ComponentProps<"h1" | "h2" | "h3" | "h4" | "h5" | "h6"> {
2016
+ level?: 1 | 2 | 3 | 4 | 5 | 6;
2017
+ }
2018
+ declare const Heading: ({
2019
+ className,
2020
+ level,
2021
+ ...props
2022
+ }: HeadingProps) => import("react").JSX.Element;
2023
+ //#endregion
2024
+ //#region src/ui/hover-card.d.ts
2025
+ declare function HoverCard({
2026
+ ...props
2027
+ }: React$2.ComponentProps<typeof HoverCard$1.Root>): React$2.JSX.Element;
2028
+ declare function HoverCardTrigger({
2029
+ ...props
2030
+ }: React$2.ComponentProps<typeof HoverCard$1.Trigger>): React$2.JSX.Element;
2031
+ declare function HoverCardContent({
2032
+ className,
2033
+ align,
2034
+ sideOffset,
2035
+ ...props
2036
+ }: React$2.ComponentProps<typeof HoverCard$1.Content>): React$2.JSX.Element;
2037
+ //#endregion
2038
+ //#region src/ui/input.d.ts
2039
+ declare const inputVariants: (props?: ({
2040
+ variant?: "sm" | "lg" | "md" | null | undefined;
2041
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
2042
+ declare const inputAddonVariants: (props?: ({
2043
+ variant?: "sm" | "lg" | "md" | null | undefined;
2044
+ mode?: "default" | "icon" | null | undefined;
2045
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
2046
+ declare const inputWrapperVariants: (props?: ({
2047
+ variant?: "sm" | "lg" | "md" | null | undefined;
2048
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
2049
+ declare function Input({
2050
+ className,
2051
+ type,
2052
+ variant,
2053
+ ...props
2054
+ }: React$2.ComponentProps<"input"> & VariantProps<typeof inputVariants>): React$2.JSX.Element;
2055
+ declare function InputAddon({
2056
+ className,
2057
+ variant,
2058
+ mode,
2059
+ ...props
2060
+ }: React$2.ComponentProps<"div"> & VariantProps<typeof inputAddonVariants>): React$2.JSX.Element;
2061
+ declare function InputGroup({
2062
+ className,
2063
+ ...props
2064
+ }: React$2.ComponentProps<"div">): React$2.JSX.Element;
2065
+ declare function InputWrapper({
2066
+ className,
2067
+ variant,
2068
+ ...props
2069
+ }: React$2.ComponentProps<"div"> & VariantProps<typeof inputWrapperVariants>): React$2.JSX.Element;
2070
+ //#endregion
2071
+ //#region src/ui/input-otp.d.ts
2072
+ declare function InputOTP({
2073
+ className,
2074
+ containerClassName,
2075
+ ...props
2076
+ }: React$2.ComponentProps<typeof OTPInput> & {
2077
+ containerClassName?: string;
2078
+ }): React$2.JSX.Element;
2079
+ declare function InputOTPGroup({
2080
+ className,
2081
+ ...props
2082
+ }: React$2.ComponentProps<"div">): React$2.JSX.Element;
2083
+ declare function InputOTPSlot({
2084
+ index,
2085
+ className,
2086
+ ...props
2087
+ }: React$2.ComponentProps<"div"> & {
2088
+ index: number;
2089
+ }): React$2.JSX.Element;
2090
+ declare function InputOTPSeparator({
2091
+ ...props
2092
+ }: React$2.ComponentProps<"div">): React$2.JSX.Element;
2093
+ //#endregion
2094
+ //#region src/ui/item.d.ts
2095
+ declare function ItemGroup({
2096
+ className,
2097
+ ...props
2098
+ }: React$2.ComponentProps<"div">): React$2.JSX.Element;
2099
+ declare function ItemSeparator({
2100
+ className,
2101
+ ...props
2102
+ }: React$2.ComponentProps<typeof Separator>): React$2.JSX.Element;
2103
+ declare const itemVariants: (props?: ({
2104
+ variant?: "default" | "outline" | "muted" | null | undefined;
2105
+ size?: "default" | "sm" | null | undefined;
2106
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
2107
+ declare function Item({
2108
+ className,
2109
+ variant,
2110
+ size,
2111
+ asChild,
2112
+ ...props
2113
+ }: React$2.ComponentProps<"div"> & VariantProps<typeof itemVariants> & {
2114
+ asChild?: boolean;
2115
+ }): React$2.JSX.Element;
2116
+ declare const itemMediaVariants: (props?: ({
2117
+ variant?: "default" | "icon" | "image" | null | undefined;
2118
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
2119
+ declare function ItemMedia({
2120
+ className,
2121
+ variant,
2122
+ ...props
2123
+ }: React$2.ComponentProps<"div"> & VariantProps<typeof itemMediaVariants>): React$2.JSX.Element;
2124
+ declare function ItemContent({
2125
+ className,
2126
+ ...props
2127
+ }: React$2.ComponentProps<"div">): React$2.JSX.Element;
2128
+ declare function ItemTitle({
2129
+ className,
2130
+ ...props
2131
+ }: React$2.ComponentProps<"div">): React$2.JSX.Element;
2132
+ declare function ItemDescription({
2133
+ className,
2134
+ ...props
2135
+ }: React$2.ComponentProps<"p">): React$2.JSX.Element;
2136
+ declare function ItemActions({
2137
+ className,
2138
+ ...props
2139
+ }: React$2.ComponentProps<"div">): React$2.JSX.Element;
2140
+ declare function ItemHeader({
2141
+ className,
2142
+ ...props
2143
+ }: React$2.ComponentProps<"div">): React$2.JSX.Element;
2144
+ declare function ItemFooter({
2145
+ className,
2146
+ ...props
2147
+ }: React$2.ComponentProps<"div">): React$2.JSX.Element;
2148
+ //#endregion
2149
+ //#region src/ui/kanban.d.ts
2150
+ interface KanbanMoveEvent {
2151
+ event: DragEndEvent;
2152
+ activeContainer: string;
2153
+ activeIndex: number;
2154
+ overContainer: string;
2155
+ overIndex: number;
2156
+ }
2157
+ interface KanbanRootProps<T> {
2158
+ value: Record<string, T[]>;
2159
+ onValueChange: (value: Record<string, T[]>) => void;
2160
+ getItemValue: (item: T) => string;
2161
+ children: React$2.ReactNode;
2162
+ className?: string;
2163
+ onMove?: (event: KanbanMoveEvent) => void;
2164
+ }
2165
+ declare function Kanban<T>({
2166
+ value,
2167
+ onValueChange,
2168
+ getItemValue,
2169
+ children,
2170
+ className,
2171
+ onMove
2172
+ }: KanbanRootProps<T>): React$2.JSX.Element;
2173
+ interface KanbanBoardProps {
2174
+ className?: string;
2175
+ children: React$2.ReactNode;
2176
+ }
2177
+ declare function KanbanBoard({
2178
+ children,
2179
+ className
2180
+ }: KanbanBoardProps): React$2.JSX.Element;
2181
+ interface KanbanColumnProps {
2182
+ value: string;
2183
+ className?: string;
2184
+ children: React$2.ReactNode;
2185
+ disabled?: boolean;
2186
+ }
2187
+ declare function KanbanColumn({
2188
+ value,
2189
+ className,
2190
+ children,
2191
+ disabled
2192
+ }: KanbanColumnProps): React$2.JSX.Element;
2193
+ interface KanbanColumnHandleProps {
2194
+ asChild?: boolean;
2195
+ className?: string;
2196
+ children?: React$2.ReactNode;
2197
+ cursor?: boolean;
2198
+ }
2199
+ declare function KanbanColumnHandle({
2200
+ asChild,
2201
+ className,
2202
+ children,
2203
+ cursor
2204
+ }: KanbanColumnHandleProps): React$2.JSX.Element;
2205
+ interface KanbanItemProps {
2206
+ value: string;
2207
+ asChild?: boolean;
2208
+ className?: string;
2209
+ children: React$2.ReactNode;
2210
+ disabled?: boolean;
2211
+ }
2212
+ declare function KanbanItem({
2213
+ value,
2214
+ asChild,
2215
+ className,
2216
+ children,
2217
+ disabled
2218
+ }: KanbanItemProps): React$2.JSX.Element;
2219
+ interface KanbanItemHandleProps {
2220
+ asChild?: boolean;
2221
+ className?: string;
2222
+ children?: React$2.ReactNode;
2223
+ cursor?: boolean;
2224
+ }
2225
+ declare function KanbanItemHandle({
2226
+ asChild,
2227
+ className,
2228
+ children,
2229
+ cursor
2230
+ }: KanbanItemHandleProps): React$2.JSX.Element;
2231
+ interface KanbanColumnContentProps {
2232
+ value: string;
2233
+ className?: string;
2234
+ children: React$2.ReactNode;
2235
+ }
2236
+ declare function KanbanColumnContent({
2237
+ value,
2238
+ className,
2239
+ children
2240
+ }: KanbanColumnContentProps): React$2.JSX.Element;
2241
+ interface KanbanOverlayProps {
2242
+ className?: string;
2243
+ children?: React$2.ReactNode | ((params: {
2244
+ value: UniqueIdentifier;
2245
+ variant: "column" | "item";
2246
+ }) => React$2.ReactNode);
2247
+ }
2248
+ declare function KanbanOverlay({
2249
+ children,
2250
+ className
2251
+ }: KanbanOverlayProps): React$2.JSX.Element;
2252
+ //#endregion
2253
+ //#region src/ui/kbd.d.ts
2254
+ declare function Kbd({
2255
+ className,
2256
+ ...props
2257
+ }: React$2.ComponentProps<"kbd">): React$2.JSX.Element;
2258
+ declare function KbdGroup({
2259
+ className,
2260
+ ...props
2261
+ }: React$2.ComponentProps<"div">): React$2.JSX.Element;
2262
+ //#endregion
2263
+ //#region src/ui/menubar.d.ts
2264
+ declare function MenubarMenu({
2265
+ ...props
2266
+ }: React$2.ComponentProps<typeof Menubar$1.Menu>): React$2.JSX.Element;
2267
+ declare function MenubarGroup({
2268
+ ...props
2269
+ }: React$2.ComponentProps<typeof Menubar$1.Group>): React$2.JSX.Element;
2270
+ declare function MenubarPortal({
2271
+ ...props
2272
+ }: React$2.ComponentProps<typeof Menubar$1.Portal>): React$2.JSX.Element;
2273
+ declare function MenubarRadioGroup({
2274
+ ...props
2275
+ }: React$2.ComponentProps<typeof Menubar$1.RadioGroup>): React$2.JSX.Element;
2276
+ declare function Menubar({
2277
+ className,
2278
+ ...props
2279
+ }: React$2.ComponentProps<typeof Menubar$1.Root>): React$2.JSX.Element;
2280
+ declare function MenubarTrigger({
2281
+ className,
2282
+ ...props
2283
+ }: React$2.ComponentProps<typeof Menubar$1.Trigger>): React$2.JSX.Element;
2284
+ declare function MenubarSubTrigger({
2285
+ className,
2286
+ inset,
2287
+ children,
2288
+ ...props
2289
+ }: React$2.ComponentProps<typeof Menubar$1.SubTrigger> & {
2290
+ inset?: boolean;
2291
+ }): React$2.JSX.Element;
2292
+ declare function MenubarSubContent({
2293
+ className,
2294
+ ...props
2295
+ }: React$2.ComponentProps<typeof Menubar$1.SubContent>): React$2.JSX.Element;
2296
+ declare function MenubarContent({
2297
+ className,
2298
+ align,
2299
+ alignOffset,
2300
+ sideOffset,
2301
+ ...props
2302
+ }: React$2.ComponentProps<typeof Menubar$1.Content>): React$2.JSX.Element;
2303
+ declare function MenubarItem({
2304
+ className,
2305
+ inset,
2306
+ ...props
2307
+ }: React$2.ComponentProps<typeof Menubar$1.Item> & {
2308
+ inset?: boolean;
2309
+ }): React$2.JSX.Element;
2310
+ declare function MenubarCheckboxItem({
2311
+ className,
2312
+ children,
2313
+ checked,
2314
+ ...props
2315
+ }: React$2.ComponentProps<typeof Menubar$1.CheckboxItem>): React$2.JSX.Element;
2316
+ declare function MenubarRadioItem({
2317
+ className,
2318
+ children,
2319
+ ...props
2320
+ }: React$2.ComponentProps<typeof Menubar$1.RadioItem>): React$2.JSX.Element;
2321
+ declare function MenubarLabel({
2322
+ className,
2323
+ inset,
2324
+ ...props
2325
+ }: React$2.ComponentProps<typeof Menubar$1.Label> & {
2326
+ inset?: boolean;
2327
+ }): React$2.JSX.Element;
2328
+ declare function MenubarSeparator({
2329
+ className,
2330
+ ...props
2331
+ }: React$2.ComponentProps<typeof Menubar$1.Separator>): React$2.JSX.Element;
2332
+ declare function MenubarSub({
2333
+ ...props
2334
+ }: React$2.ComponentProps<typeof Menubar$1.Sub>): React$2.JSX.Element;
2335
+ declare const MenubarShortcut: ({
2336
+ className,
2337
+ ...props
2338
+ }: React$2.ComponentProps<"span">) => React$2.JSX.Element;
2339
+ //#endregion
2340
+ //#region src/ui/navigation-menu.d.ts
2341
+ declare function NavigationMenu({
2342
+ className,
2343
+ children,
2344
+ viewport,
2345
+ ...props
2346
+ }: React$2.ComponentProps<typeof NavigationMenu$1.Root> & {
2347
+ viewport?: boolean;
2348
+ }): React$2.JSX.Element;
2349
+ declare function NavigationMenuList({
2350
+ className,
2351
+ ...props
2352
+ }: React$2.ComponentProps<typeof NavigationMenu$1.List>): React$2.JSX.Element;
2353
+ declare function NavigationMenuItem({
2354
+ className,
2355
+ ...props
2356
+ }: React$2.ComponentProps<typeof NavigationMenu$1.Item>): React$2.JSX.Element;
2357
+ declare const navigationMenuTriggerStyle: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
2358
+ declare function NavigationMenuTrigger({
2359
+ className,
2360
+ children,
2361
+ ...props
2362
+ }: React$2.ComponentProps<typeof NavigationMenu$1.Trigger>): React$2.JSX.Element;
2363
+ declare function NavigationMenuContent({
2364
+ className,
2365
+ ...props
2366
+ }: React$2.ComponentProps<typeof NavigationMenu$1.Content>): React$2.JSX.Element;
2367
+ declare function NavigationMenuViewport({
2368
+ className,
2369
+ ...props
2370
+ }: React$2.ComponentProps<typeof NavigationMenu$1.Viewport>): React$2.JSX.Element;
2371
+ declare function NavigationMenuLink({
2372
+ className,
2373
+ ...props
2374
+ }: React$2.ComponentProps<typeof NavigationMenu$1.Link>): React$2.JSX.Element;
2375
+ declare function NavigationMenuIndicator({
2376
+ className,
2377
+ ...props
2378
+ }: React$2.ComponentProps<typeof NavigationMenu$1.Indicator>): React$2.JSX.Element;
2379
+ //#endregion
2380
+ //#region src/ui/pagination.d.ts
2381
+ declare const Pagination: ({
2382
+ className,
2383
+ ...props
2384
+ }: React$2.ComponentProps<"nav">) => React$2.JSX.Element;
2385
+ declare function PaginationContent({
2386
+ className,
2387
+ ...props
2388
+ }: React$2.ComponentProps<"ul">): React$2.JSX.Element;
2389
+ declare function PaginationItem({
2390
+ className,
2391
+ ...props
2392
+ }: React$2.ComponentProps<"li">): React$2.JSX.Element;
2393
+ declare const PaginationEllipsis: ({
2394
+ className,
2395
+ ...props
2396
+ }: React$2.ComponentProps<"span">) => React$2.JSX.Element;
2397
+ //#endregion
2398
+ //#region src/ui/popover.d.ts
2399
+ declare function Popover({
2400
+ ...props
2401
+ }: React$2.ComponentProps<typeof Popover$1.Root>): React$2.JSX.Element;
2402
+ declare function PopoverTrigger({
2403
+ ...props
2404
+ }: React$2.ComponentProps<typeof Popover$1.Trigger>): React$2.JSX.Element;
2405
+ declare function PopoverContent({
2406
+ className,
2407
+ align,
2408
+ sideOffset,
2409
+ ...props
2410
+ }: React$2.ComponentProps<typeof Popover$1.Content>): React$2.JSX.Element;
2411
+ declare function PopoverAnchor({
2412
+ ...props
2413
+ }: React$2.ComponentProps<typeof Popover$1.Anchor>): React$2.JSX.Element;
2414
+ //#endregion
2415
+ //#region src/ui/progress.d.ts
2416
+ declare function Progress({
2417
+ className,
2418
+ indicatorClassName,
2419
+ value,
2420
+ ...props
2421
+ }: React$2.ComponentProps<typeof Progress$1.Root> & {
2422
+ indicatorClassName?: string;
2423
+ }): React$2.JSX.Element;
2424
+ declare function ProgressCircle({
2425
+ className,
2426
+ indicatorClassName,
2427
+ trackClassName,
2428
+ value,
2429
+ size,
2430
+ strokeWidth,
2431
+ children,
2432
+ ...props
2433
+ }: React$2.ComponentProps<"div"> & {
2434
+ /**
2435
+ * Progress value from 0 to 100
2436
+ */
2437
+ value?: number;
2438
+ /**
2439
+ * Size of the circle in pixels
2440
+ */
2441
+ size?: number;
2442
+ /**
2443
+ * Width of the progress stroke
2444
+ */
2445
+ strokeWidth?: number;
2446
+ /**
2447
+ * Additional className for the progress stroke
2448
+ */
2449
+ indicatorClassName?: string;
2450
+ /**
2451
+ * Additional className for the progress track
2452
+ */
2453
+ trackClassName?: string;
2454
+ /**
2455
+ * Content to display in the center of the circle
2456
+ */
2457
+ children?: React$2.ReactNode;
2458
+ }): React$2.JSX.Element;
2459
+ declare function ProgressRadial({
2460
+ className,
2461
+ value,
2462
+ size,
2463
+ strokeWidth,
2464
+ startAngle,
2465
+ endAngle,
2466
+ showLabel,
2467
+ trackClassName,
2468
+ indicatorClassName,
2469
+ children,
2470
+ ...props
2471
+ }: React$2.ComponentProps<"div"> & {
2472
+ /**
2473
+ * Progress value from 0 to 100
2474
+ */
2475
+ value?: number;
2476
+ /**
2477
+ * Size of the radial in pixels
2478
+ */
2479
+ size?: number;
2480
+ /**
2481
+ * Width of the progress stroke
2482
+ */
2483
+ strokeWidth?: number;
2484
+ /**
2485
+ * Start angle in degrees
2486
+ */
2487
+ startAngle?: number;
2488
+ /**
2489
+ * Additional className for the progress stroke
2490
+ */
2491
+ indicatorClassName?: string;
2492
+ /**
2493
+ * Additional className for the progress track
2494
+ */
2495
+ trackClassName?: string;
2496
+ /**
2497
+ * End angle in degrees
2498
+ */
2499
+ endAngle?: number;
2500
+ /**
2501
+ * Whether to show percentage label
2502
+ */
2503
+ showLabel?: boolean;
2504
+ /**
2505
+ * Custom content to display
2506
+ */
2507
+ children?: React$2.ReactNode;
2508
+ }): React$2.JSX.Element;
2509
+ //#endregion
2510
+ //#region src/ui/radio-group.d.ts
2511
+ type RadioSize = "sm" | "md" | "lg";
2512
+ declare function RadioGroup({
2513
+ className,
2514
+ size,
2515
+ ...props
2516
+ }: React$2.ComponentProps<typeof RadioGroup$1.Root> & {
2517
+ size?: RadioSize;
2518
+ }): React$2.JSX.Element;
2519
+ declare const radioItemVariants: (props?: ({
2520
+ size?: "sm" | "lg" | "md" | null | undefined;
2521
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
2522
+ declare function RadioGroupItem({
2523
+ className,
2524
+ size,
2525
+ ...props
2526
+ }: React$2.ComponentProps<typeof RadioGroup$1.Item> & VariantProps<typeof radioItemVariants>): React$2.JSX.Element;
2527
+ //#endregion
2528
+ //#region src/ui/rating.d.ts
2529
+ declare const ratingVariants: (props?: ({
2530
+ size?: "sm" | "lg" | "md" | null | undefined;
2531
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
2532
+ declare function Rating({
2533
+ rating,
2534
+ maxRating,
2535
+ size,
2536
+ className,
2537
+ starClassName,
2538
+ showValue,
2539
+ editable,
2540
+ onRatingChange,
2541
+ ...props
2542
+ }: React$2.ComponentProps<"div"> & VariantProps<typeof ratingVariants> & {
2543
+ /**
2544
+ * Current rating value (supports decimal values for partial stars)
2545
+ */
2546
+ rating: number;
2547
+ /**
2548
+ * Maximum rating value (number of stars to show)
2549
+ */
2550
+ maxRating?: number;
2551
+ /**
2552
+ * Whether to show the numeric rating value
2553
+ */
2554
+ showValue?: boolean;
2555
+ /**
2556
+ * Class name for the value span
2557
+ */
2558
+ starClassName?: string;
2559
+ /**
2560
+ * Whether the rating is editable (clickable)
2561
+ */
2562
+ editable?: boolean;
2563
+ /**
2564
+ * Callback function called when rating changes
2565
+ */
2566
+ onRatingChange?: (rating: number) => void;
2567
+ }): React$2.JSX.Element;
2568
+ //#endregion
2569
+ //#region src/ui/resizable.d.ts
2570
+ declare const ResizablePanelGroup: ({
2571
+ className,
2572
+ ...props
2573
+ }: React$1.ComponentProps<typeof Group>) => React$1.JSX.Element;
2574
+ declare const ResizablePanel: typeof Panel;
2575
+ declare const ResizableHandle: ({
2576
+ withHandle,
2577
+ className,
2578
+ ...props
2579
+ }: React$1.ComponentProps<typeof Separator$2> & {
2580
+ withHandle?: boolean;
2581
+ }) => React$1.JSX.Element;
2582
+ //#endregion
2583
+ //#region src/ui/scroll-area.d.ts
2584
+ declare function ScrollArea({
2585
+ className,
2586
+ viewportClassName,
2587
+ children,
2588
+ viewportRef,
2589
+ ...props
2590
+ }: React$2.ComponentProps<typeof ScrollArea$1.Root> & {
2591
+ viewportRef?: React$2.Ref<HTMLDivElement>;
2592
+ viewportClassName?: string;
2593
+ }): React$2.JSX.Element;
2594
+ declare function ScrollBar({
2595
+ className,
2596
+ orientation,
2597
+ ...props
2598
+ }: React$2.ComponentProps<typeof ScrollArea$1.ScrollAreaScrollbar>): React$2.JSX.Element;
2599
+ //#endregion
2600
+ //#region src/ui/scrollspy.d.ts
2601
+ type ScrollspyProps = {
2602
+ children: ReactNode;
2603
+ targetRef?: RefObject<HTMLElement | HTMLDivElement | Document | null | undefined>;
2604
+ onUpdate?: (id: string) => void;
2605
+ offset?: number;
2606
+ smooth?: boolean;
2607
+ className?: string;
2608
+ dataAttribute?: string;
2609
+ history?: boolean;
2610
+ };
2611
+ declare function Scrollspy({
2612
+ children,
2613
+ targetRef,
2614
+ onUpdate,
2615
+ className,
2616
+ offset,
2617
+ smooth,
2618
+ dataAttribute,
2619
+ history
2620
+ }: ScrollspyProps): import("react").JSX.Element;
2621
+ //#endregion
2622
+ //#region src/ui/select.d.ts
2623
+ declare const Select: ({
2624
+ indicatorPosition,
2625
+ indicatorVisibility,
2626
+ indicator,
2627
+ ...props
2628
+ }: {
2629
+ indicatorPosition?: "left" | "right";
2630
+ indicatorVisibility?: boolean;
2631
+ indicator?: React$2.ReactNode;
2632
+ } & React$2.ComponentProps<typeof Select$1.Root>) => React$2.JSX.Element;
2633
+ declare function SelectGroup({
2634
+ ...props
2635
+ }: React$2.ComponentProps<typeof Select$1.Group>): React$2.JSX.Element;
2636
+ declare function SelectValue({
2637
+ ...props
2638
+ }: React$2.ComponentProps<typeof Select$1.Value>): React$2.JSX.Element;
2639
+ declare const selectTriggerVariants: (props?: ({
2640
+ size?: "sm" | "lg" | "md" | "xs" | null | undefined;
2641
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
2642
+ interface SelectTriggerProps extends React$2.ComponentProps<typeof Select$1.Trigger>, VariantProps<typeof selectTriggerVariants> {}
2643
+ declare function SelectTrigger({
2644
+ className,
2645
+ children,
2646
+ size,
2647
+ ...props
2648
+ }: SelectTriggerProps): React$2.JSX.Element;
2649
+ declare function SelectScrollUpButton({
2650
+ className,
2651
+ ...props
2652
+ }: React$2.ComponentProps<typeof Select$1.ScrollUpButton>): React$2.JSX.Element;
2653
+ declare function SelectScrollDownButton({
2654
+ className,
2655
+ ...props
2656
+ }: React$2.ComponentProps<typeof Select$1.ScrollDownButton>): React$2.JSX.Element;
2657
+ declare function SelectContent({
2658
+ className,
2659
+ children,
2660
+ position,
2661
+ ...props
2662
+ }: React$2.ComponentProps<typeof Select$1.Content>): React$2.JSX.Element;
2663
+ declare function SelectLabel({
2664
+ className,
2665
+ ...props
2666
+ }: React$2.ComponentProps<typeof Select$1.Label>): React$2.JSX.Element;
2667
+ declare function SelectItem({
2668
+ className,
2669
+ children,
2670
+ ...props
2671
+ }: React$2.ComponentProps<typeof Select$1.Item>): React$2.JSX.Element;
2672
+ declare function SelectIndicator({
2673
+ children,
2674
+ className,
2675
+ ...props
2676
+ }: React$2.ComponentProps<typeof Select$1.ItemIndicator>): React$2.JSX.Element;
2677
+ declare function SelectSeparator({
2678
+ className,
2679
+ ...props
2680
+ }: React$2.ComponentProps<typeof Select$1.Separator>): React$2.JSX.Element;
2681
+ //#endregion
2682
+ //#region src/ui/sheet.d.ts
2683
+ declare function Sheet({
2684
+ ...props
2685
+ }: React$2.ComponentProps<typeof Dialog$1.Root>): React$2.JSX.Element;
2686
+ declare function SheetTrigger({
2687
+ ...props
2688
+ }: React$2.ComponentProps<typeof Dialog$1.Trigger>): React$2.JSX.Element;
2689
+ declare function SheetClose({
2690
+ ...props
2691
+ }: React$2.ComponentProps<typeof Dialog$1.Close>): React$2.JSX.Element;
2692
+ declare function SheetPortal({
2693
+ ...props
2694
+ }: React$2.ComponentProps<typeof Dialog$1.Portal>): React$2.JSX.Element;
2695
+ declare function SheetOverlay({
2696
+ className,
2697
+ ...props
2698
+ }: React$2.ComponentProps<typeof Dialog$1.Overlay>): React$2.JSX.Element;
2699
+ declare const sheetVariants: (props?: ({
2700
+ side?: "left" | "right" | "top" | "bottom" | null | undefined;
2701
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
2702
+ interface SheetContentProps extends React$2.ComponentProps<typeof Dialog$1.Content>, VariantProps<typeof sheetVariants> {
2703
+ overlay?: boolean;
2704
+ close?: boolean;
2705
+ }
2706
+ declare function SheetContent({
2707
+ side,
2708
+ overlay,
2709
+ close,
2710
+ className,
2711
+ children,
2712
+ ...props
2713
+ }: React$2.ComponentProps<typeof Dialog$1.Content> & SheetContentProps): React$2.JSX.Element;
2714
+ declare function SheetHeader({
2715
+ className,
2716
+ ...props
2717
+ }: React$2.ComponentProps<"div">): React$2.JSX.Element;
2718
+ declare function SheetBody({
2719
+ className,
2720
+ ...props
2721
+ }: React$2.ComponentProps<"div">): React$2.JSX.Element;
2722
+ declare function SheetFooter({
2723
+ className,
2724
+ ...props
2725
+ }: React$2.ComponentProps<"div">): React$2.JSX.Element;
2726
+ declare function SheetTitle({
2727
+ className,
2728
+ ...props
2729
+ }: React$2.ComponentProps<typeof Dialog$1.Title>): React$2.JSX.Element;
2730
+ declare function SheetDescription({
2731
+ className,
2732
+ ...props
2733
+ }: React$2.ComponentProps<typeof Dialog$1.Description>): React$2.JSX.Element;
2734
+ //#endregion
2735
+ //#region src/ui/show-more.d.ts
2736
+ interface ShowMoreProps extends React.ComponentProps<typeof ToggleButton> {
2737
+ className?: string;
2738
+ orientation?: "horizontal" | "vertical";
2739
+ as?: "text" | "button";
2740
+ text?: string;
2741
+ }
2742
+ declare const ShowMore: ({
2743
+ as,
2744
+ children,
2745
+ orientation,
2746
+ className,
2747
+ ...props
2748
+ }: ShowMoreProps) => import("react").JSX.Element;
2749
+ //#endregion
2750
+ //#region src/ui/tooltip.d.ts
2751
+ declare function TooltipProvider({
2752
+ delayDuration,
2753
+ ...props
2754
+ }: React$2.ComponentProps<typeof Tooltip$1.Provider>): React$2.JSX.Element;
2755
+ declare function Tooltip({
2756
+ ...props
2757
+ }: React$2.ComponentProps<typeof Tooltip$1.Root>): React$2.JSX.Element;
2758
+ declare function TooltipTrigger({
2759
+ ...props
2760
+ }: React$2.ComponentProps<typeof Tooltip$1.Trigger>): React$2.JSX.Element;
2761
+ declare function TooltipContent({
2762
+ className,
2763
+ sideOffset,
2764
+ showArrow,
2765
+ children,
2766
+ ...props
2767
+ }: React$2.ComponentProps<typeof Tooltip$1.Content> & {
2768
+ showArrow?: boolean;
2769
+ }): React$2.JSX.Element;
2770
+ //#endregion
2771
+ //#region src/ui/sidebar.d.ts
2772
+ type SidebarContextProps = {
2773
+ state: "expanded" | "collapsed";
2774
+ open: boolean;
2775
+ setOpen: (open: boolean) => void;
2776
+ openMobile: boolean;
2777
+ setOpenMobile: (open: boolean) => void;
2778
+ isMobile: boolean;
2779
+ toggleSidebar: () => void;
2780
+ };
2781
+ declare function useSidebar(): SidebarContextProps;
2782
+ declare function SidebarProvider({
2783
+ defaultOpen,
2784
+ open: openProp,
2785
+ onOpenChange: setOpenProp,
2786
+ className,
2787
+ style,
2788
+ children,
2789
+ ...props
2790
+ }: React$2.ComponentProps<"div"> & {
2791
+ defaultOpen?: boolean;
2792
+ open?: boolean;
2793
+ onOpenChange?: (open: boolean) => void;
2794
+ }): React$2.JSX.Element;
2795
+ declare function Sidebar({
2796
+ side,
2797
+ variant,
2798
+ collapsible,
2799
+ className,
2800
+ children,
2801
+ ...props
2802
+ }: React$2.ComponentProps<"div"> & {
2803
+ side?: "left" | "right";
2804
+ variant?: "sidebar" | "floating" | "inset";
2805
+ collapsible?: "offcanvas" | "icon" | "none";
2806
+ }): React$2.JSX.Element;
2807
+ declare function SidebarTrigger({
2808
+ className,
2809
+ onClick,
2810
+ ...props
2811
+ }: React$2.ComponentProps<typeof Button>): React$2.JSX.Element;
2812
+ declare function SidebarRail({
2813
+ className,
2814
+ ...props
2815
+ }: React$2.ComponentProps<"button">): React$2.JSX.Element;
2816
+ declare function SidebarInset({
2817
+ className,
2818
+ ...props
2819
+ }: React$2.ComponentProps<"main">): React$2.JSX.Element;
2820
+ declare function SidebarInput({
2821
+ className,
2822
+ ...props
2823
+ }: React$2.ComponentProps<typeof Input>): React$2.JSX.Element;
2824
+ declare function SidebarHeader({
2825
+ className,
2826
+ ...props
2827
+ }: React$2.ComponentProps<"div">): React$2.JSX.Element;
2828
+ declare function SidebarFooter({
2829
+ className,
2830
+ ...props
2831
+ }: React$2.ComponentProps<"div">): React$2.JSX.Element;
2832
+ declare function SidebarSeparator({
2833
+ className,
2834
+ ...props
2835
+ }: React$2.ComponentProps<typeof Separator>): React$2.JSX.Element;
2836
+ declare function SidebarContent({
2837
+ className,
2838
+ ...props
2839
+ }: React$2.ComponentProps<"div">): React$2.JSX.Element;
2840
+ declare function SidebarGroup({
2841
+ className,
2842
+ ...props
2843
+ }: React$2.ComponentProps<"div">): React$2.JSX.Element;
2844
+ declare function SidebarGroupLabel({
2845
+ className,
2846
+ asChild,
2847
+ ...props
2848
+ }: React$2.ComponentProps<"div"> & {
2849
+ asChild?: boolean;
2850
+ }): React$2.JSX.Element;
2851
+ declare function SidebarGroupAction({
2852
+ className,
2853
+ asChild,
2854
+ ...props
2855
+ }: React$2.ComponentProps<"button"> & {
2856
+ asChild?: boolean;
2857
+ }): React$2.JSX.Element;
2858
+ declare function SidebarGroupContent({
2859
+ className,
2860
+ ...props
2861
+ }: React$2.ComponentProps<"div">): React$2.JSX.Element;
2862
+ declare function SidebarMenu({
2863
+ className,
2864
+ ...props
2865
+ }: React$2.ComponentProps<"ul">): React$2.JSX.Element;
2866
+ declare function SidebarMenuItem({
2867
+ className,
2868
+ ...props
2869
+ }: React$2.ComponentProps<"li">): React$2.JSX.Element;
2870
+ declare const sidebarMenuButtonVariants: (props?: ({
2871
+ variant?: "default" | "outline" | null | undefined;
2872
+ size?: "default" | "sm" | "lg" | null | undefined;
2873
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
2874
+ declare function SidebarMenuButton({
2875
+ asChild,
2876
+ isActive,
2877
+ variant,
2878
+ size,
2879
+ tooltip,
2880
+ className,
2881
+ ...props
2882
+ }: React$2.ComponentProps<"button"> & {
2883
+ asChild?: boolean;
2884
+ isActive?: boolean;
2885
+ tooltip?: string | React$2.ComponentProps<typeof TooltipContent>;
2886
+ } & VariantProps<typeof sidebarMenuButtonVariants>): React$2.JSX.Element;
2887
+ declare function SidebarMenuAction({
2888
+ className,
2889
+ asChild,
2890
+ showOnHover,
2891
+ ...props
2892
+ }: React$2.ComponentProps<"button"> & {
2893
+ asChild?: boolean;
2894
+ showOnHover?: boolean;
2895
+ }): React$2.JSX.Element;
2896
+ declare function SidebarMenuBadge({
2897
+ className,
2898
+ ...props
2899
+ }: React$2.ComponentProps<"div">): React$2.JSX.Element;
2900
+ declare function SidebarMenuSkeleton({
2901
+ className,
2902
+ showIcon,
2903
+ ...props
2904
+ }: React$2.ComponentProps<"div"> & {
2905
+ showIcon?: boolean;
2906
+ }): React$2.JSX.Element | null;
2907
+ declare function SidebarMenuSub({
2908
+ className,
2909
+ ...props
2910
+ }: React$2.ComponentProps<"ul">): React$2.JSX.Element;
2911
+ declare function SidebarMenuSubItem({
2912
+ className,
2913
+ ...props
2914
+ }: React$2.ComponentProps<"li">): React$2.JSX.Element;
2915
+ declare function SidebarMenuSubButton({
2916
+ asChild,
2917
+ size,
2918
+ isActive,
2919
+ className,
2920
+ ...props
2921
+ }: React$2.ComponentProps<"a"> & {
2922
+ asChild?: boolean;
2923
+ size?: "sm" | "md";
2924
+ isActive?: boolean;
2925
+ }): React$2.JSX.Element;
2926
+ //#endregion
2927
+ //#region src/ui/skeleton.d.ts
2928
+ declare function Skeleton({
2929
+ className,
2930
+ ...props
2931
+ }: React$2.ComponentProps<"div">): React$2.JSX.Element;
2932
+ //#endregion
2933
+ //#region src/ui/slider.d.ts
2934
+ declare function Slider({
2935
+ className,
2936
+ children,
2937
+ ...props
2938
+ }: React$2.ComponentProps<typeof Slider$1.Root>): React$2.JSX.Element;
2939
+ declare function SliderThumb({
2940
+ className,
2941
+ ...props
2942
+ }: React$2.ComponentProps<typeof Slider$1.Thumb>): React$2.JSX.Element;
2943
+ //#endregion
2944
+ //#region src/ui/sonner.d.ts
2945
+ type ToasterProps = React$2.ComponentProps<typeof Toaster$1>;
2946
+ declare const Toaster: ({
2947
+ ...props
2948
+ }: ToasterProps) => React$2.JSX.Element;
2949
+ //#endregion
2950
+ //#region src/ui/sortable.d.ts
2951
+ interface SortableRootProps<T> {
2952
+ value: T[];
2953
+ onValueChange: (value: T[]) => void;
2954
+ getItemValue: (item: T) => string;
2955
+ children: React$2.ReactNode;
2956
+ className?: string;
2957
+ onMove?: (event: {
2958
+ event: DragEndEvent;
2959
+ activeIndex: number;
2960
+ overIndex: number;
2961
+ }) => void;
2962
+ strategy?: "horizontal" | "vertical" | "grid";
2963
+ onDragStart?: (event: DragStartEvent) => void;
2964
+ onDragEnd?: (event: DragEndEvent) => void;
2965
+ }
2966
+ declare function Sortable<T>({
2967
+ value,
2968
+ onValueChange,
2969
+ getItemValue,
2970
+ children,
2971
+ className,
2972
+ onMove,
2973
+ strategy,
2974
+ onDragStart,
2975
+ onDragEnd
2976
+ }: SortableRootProps<T>): React$2.JSX.Element;
2977
+ interface SortableItemProps {
2978
+ value: string;
2979
+ asChild?: boolean;
2980
+ className?: string;
2981
+ children: React$2.ReactNode;
2982
+ disabled?: boolean;
2983
+ }
2984
+ declare function SortableItem({
2985
+ value,
2986
+ asChild,
2987
+ className,
2988
+ children,
2989
+ disabled
2990
+ }: SortableItemProps): React$2.JSX.Element;
2991
+ interface SortableItemHandleProps {
2992
+ asChild?: boolean;
2993
+ className?: string;
2994
+ children?: React$2.ReactNode;
2995
+ cursor?: boolean;
2996
+ }
2997
+ declare function SortableItemHandle({
2998
+ asChild,
2999
+ className,
3000
+ children,
3001
+ cursor
3002
+ }: SortableItemHandleProps): React$2.JSX.Element;
3003
+ //#endregion
3004
+ //#region src/ui/spinner.d.ts
3005
+ declare function Spinner({
3006
+ className,
3007
+ ...props
3008
+ }: React$2.ComponentProps<"svg">): React$2.JSX.Element;
3009
+ declare function SpinnerDefault({
3010
+ className,
3011
+ ...props
3012
+ }: React$2.ComponentProps<"svg">): React$2.JSX.Element;
3013
+ //#endregion
3014
+ //#region src/ui/stepper.d.ts
3015
+ type StepperOrientation = "horizontal" | "vertical";
3016
+ type StepState = "active" | "completed" | "inactive" | "loading";
3017
+ type StepIndicators = {
3018
+ active?: React$2.ReactNode;
3019
+ completed?: React$2.ReactNode;
3020
+ inactive?: React$2.ReactNode;
3021
+ loading?: React$2.ReactNode;
3022
+ };
3023
+ interface StepperContextValue {
3024
+ activeStep: number;
3025
+ setActiveStep: (step: number) => void;
3026
+ stepsCount: number;
3027
+ orientation: StepperOrientation;
3028
+ registerTrigger: (node: HTMLButtonElement | null) => void;
3029
+ triggerNodes: HTMLButtonElement[];
3030
+ focusNext: (currentIdx: number) => void;
3031
+ focusPrev: (currentIdx: number) => void;
3032
+ focusFirst: () => void;
3033
+ focusLast: () => void;
3034
+ indicators: StepIndicators;
3035
+ }
3036
+ interface StepItemContextValue {
3037
+ step: number;
3038
+ state: StepState;
3039
+ isDisabled: boolean;
3040
+ isLoading: boolean;
3041
+ }
3042
+ declare function useStepper(): StepperContextValue;
3043
+ declare function useStepItem(): StepItemContextValue;
3044
+ interface StepperProps extends React$2.HTMLAttributes<HTMLDivElement> {
3045
+ defaultValue?: number;
3046
+ value?: number;
3047
+ onValueChange?: (value: number) => void;
3048
+ orientation?: StepperOrientation;
3049
+ indicators?: StepIndicators;
3050
+ }
3051
+ declare function Stepper({
3052
+ defaultValue,
3053
+ value,
3054
+ onValueChange,
3055
+ orientation,
3056
+ className,
3057
+ children,
3058
+ indicators,
3059
+ ...props
3060
+ }: StepperProps): React$2.JSX.Element;
3061
+ interface StepperItemProps extends React$2.HTMLAttributes<HTMLDivElement> {
3062
+ step: number;
3063
+ completed?: boolean;
3064
+ disabled?: boolean;
3065
+ loading?: boolean;
3066
+ }
3067
+ declare function StepperItem({
3068
+ step,
3069
+ completed,
3070
+ disabled,
3071
+ loading,
3072
+ className,
3073
+ children,
3074
+ ...props
3075
+ }: StepperItemProps): React$2.JSX.Element;
3076
+ declare namespace StepperItem {
3077
+ var displayName: string;
3078
+ }
3079
+ interface StepperTriggerProps extends React$2.ButtonHTMLAttributes<HTMLButtonElement> {
3080
+ asChild?: boolean;
3081
+ }
3082
+ declare function StepperTrigger({
3083
+ asChild,
3084
+ className,
3085
+ children,
3086
+ tabIndex,
3087
+ ...props
3088
+ }: StepperTriggerProps): React$2.JSX.Element;
3089
+ declare function StepperIndicator({
3090
+ children,
3091
+ className
3092
+ }: React$2.ComponentProps<"div">): React$2.JSX.Element;
3093
+ declare function StepperSeparator({
3094
+ className
3095
+ }: React$2.ComponentProps<"div">): React$2.JSX.Element;
3096
+ declare function StepperTitle({
3097
+ children,
3098
+ className
3099
+ }: React$2.ComponentProps<"h3">): React$2.JSX.Element;
3100
+ declare function StepperDescription({
3101
+ children,
3102
+ className
3103
+ }: React$2.ComponentProps<"div">): React$2.JSX.Element;
3104
+ declare function StepperNav({
3105
+ children,
3106
+ className
3107
+ }: React$2.ComponentProps<"nav">): React$2.JSX.Element;
3108
+ declare function StepperPanel({
3109
+ children,
3110
+ className
3111
+ }: React$2.ComponentProps<"div">): React$2.JSX.Element;
3112
+ interface StepperContentProps extends React$2.ComponentProps<"div"> {
3113
+ value: number;
3114
+ forceMount?: boolean;
3115
+ }
3116
+ declare function StepperContent({
3117
+ value,
3118
+ forceMount,
3119
+ children,
3120
+ className
3121
+ }: StepperContentProps): React$2.JSX.Element | null;
3122
+ //#endregion
3123
+ //#region src/ui/switch.d.ts
3124
+ declare const switchVariants: (props?: ({
3125
+ shape?: "pill" | "square" | null | undefined;
3126
+ size?: "sm" | "lg" | "md" | "xs" | "xl" | null | undefined;
3127
+ permanent?: boolean | null | undefined;
3128
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
3129
+ declare const switchIndicatorVariants: (props?: ({
3130
+ state?: "off" | "on" | null | undefined;
3131
+ permanent?: boolean | null | undefined;
3132
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
3133
+ declare function SwitchWrapper({
3134
+ className,
3135
+ children,
3136
+ permanent,
3137
+ ...props
3138
+ }: React$2.HTMLAttributes<HTMLDivElement> & {
3139
+ permanent?: boolean;
3140
+ }): React$2.JSX.Element;
3141
+ declare function Switch({
3142
+ className,
3143
+ thumbClassName,
3144
+ shape,
3145
+ size,
3146
+ ...props
3147
+ }: React$2.ComponentProps<typeof Switch$1.Root> & VariantProps<typeof switchVariants> & {
3148
+ thumbClassName?: string;
3149
+ }): React$2.JSX.Element;
3150
+ declare function SwitchIndicator({
3151
+ className,
3152
+ state,
3153
+ ...props
3154
+ }: React$2.HTMLAttributes<HTMLSpanElement> & VariantProps<typeof switchIndicatorVariants>): React$2.JSX.Element;
3155
+ //#endregion
3156
+ //#region src/ui/table.d.ts
3157
+ declare function Table({
3158
+ className,
3159
+ ...props
3160
+ }: React$2.HTMLAttributes<HTMLTableElement>): React$2.JSX.Element;
3161
+ declare function TableHeader({
3162
+ className,
3163
+ ...props
3164
+ }: React$2.HTMLAttributes<HTMLTableSectionElement>): React$2.JSX.Element;
3165
+ declare function TableBody({
3166
+ className,
3167
+ ...props
3168
+ }: React$2.HTMLAttributes<HTMLTableSectionElement>): React$2.JSX.Element;
3169
+ declare function TableFooter({
3170
+ className,
3171
+ ...props
3172
+ }: React$2.HTMLAttributes<HTMLTableSectionElement>): React$2.JSX.Element;
3173
+ declare function TableRow({
3174
+ className,
3175
+ ...props
3176
+ }: React$2.HTMLAttributes<HTMLTableRowElement>): React$2.JSX.Element;
3177
+ declare function TableHead({
3178
+ className,
3179
+ ...props
3180
+ }: React$2.ThHTMLAttributes<HTMLTableCellElement>): React$2.JSX.Element;
3181
+ declare function TableCell({
3182
+ className,
3183
+ ...props
3184
+ }: React$2.TdHTMLAttributes<HTMLTableCellElement>): React$2.JSX.Element;
3185
+ declare function TableCaption({
3186
+ className,
3187
+ ...props
3188
+ }: React$2.HTMLAttributes<HTMLTableCaptionElement>): React$2.JSX.Element;
3189
+ //#endregion
3190
+ //#region src/ui/tabs.d.ts
3191
+ declare const tabsListVariants: (props?: ({
3192
+ variant?: "default" | "button" | "line" | null | undefined;
3193
+ shape?: "default" | "pill" | null | undefined;
3194
+ size?: "sm" | "lg" | "md" | "xs" | null | undefined;
3195
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
3196
+ declare function Tabs({
3197
+ className,
3198
+ ...props
3199
+ }: React$2.ComponentProps<typeof Tabs$1.Root>): React$2.JSX.Element;
3200
+ declare function TabsList({
3201
+ className,
3202
+ variant,
3203
+ shape,
3204
+ size,
3205
+ ...props
3206
+ }: React$2.ComponentProps<typeof Tabs$1.List> & VariantProps<typeof tabsListVariants>): React$2.JSX.Element;
3207
+ declare function TabsTrigger({
3208
+ className,
3209
+ ...props
3210
+ }: React$2.ComponentProps<typeof Tabs$1.Trigger>): React$2.JSX.Element;
3211
+ declare function TabsContent({
3212
+ className,
3213
+ ...props
3214
+ }: React$2.ComponentProps<typeof Tabs$1.Content>): React$2.JSX.Element;
3215
+ //#endregion
3216
+ //#region src/ui/textarea.d.ts
3217
+ declare const textareaVariants: (props?: ({
3218
+ variant?: "sm" | "lg" | "md" | null | undefined;
3219
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
3220
+ declare function Textarea({
3221
+ className,
3222
+ variant,
3223
+ ...props
3224
+ }: React$2.ComponentProps<"textarea"> & VariantProps<typeof textareaVariants>): React$2.JSX.Element;
3225
+ //#endregion
3226
+ //#region src/ui/toggle.d.ts
3227
+ declare const toggleVariants: (props?: ({
3228
+ variant?: "default" | "outline" | null | undefined;
3229
+ size?: "sm" | "lg" | "md" | null | undefined;
3230
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
3231
+ declare function Toggle({
3232
+ className,
3233
+ variant,
3234
+ size,
3235
+ ...props
3236
+ }: React$2.ComponentProps<typeof Toggle$1.Root> & VariantProps<typeof toggleVariants>): React$2.JSX.Element;
3237
+ //#endregion
3238
+ //#region src/ui/toggle-group.d.ts
3239
+ declare function ToggleGroup({
3240
+ className,
3241
+ variant,
3242
+ size,
3243
+ children,
3244
+ ...props
3245
+ }: React$2.ComponentProps<typeof ToggleGroup$1.Root> & VariantProps<typeof toggleVariants>): React$2.JSX.Element;
3246
+ declare function ToggleGroupItem({
3247
+ className,
3248
+ children,
3249
+ variant,
3250
+ size,
3251
+ ...props
3252
+ }: React$2.ComponentProps<typeof ToggleGroup$1.Item> & VariantProps<typeof toggleVariants>): React$2.JSX.Element;
3253
+ //#endregion
3254
+ //#region src/ui/tree.d.ts
3255
+ type ToggleIconType = "chevron" | "plus-minus";
3256
+ interface TreeInstance {
3257
+ getContainerProps(): Record<string, unknown>;
3258
+ getItemInstance(id: string): ItemInstance<unknown>;
3259
+ getItems(): ItemInstance<unknown>[];
3260
+ setItems(items: ItemInstance<unknown>[]): void;
3261
+ getDragLineStyle(): Record<string, unknown>;
3262
+ }
3263
+ interface TreeProps extends React$2.HTMLAttributes<HTMLDivElement> {
3264
+ indent?: number;
3265
+ tree?: TreeInstance;
3266
+ toggleIconType?: ToggleIconType;
3267
+ }
3268
+ declare function Tree({
3269
+ indent,
3270
+ tree,
3271
+ className,
3272
+ toggleIconType,
3273
+ ...props
3274
+ }: TreeProps): React$2.JSX.Element;
3275
+ interface TreeItemProps<T = unknown> extends React$2.HTMLAttributes<HTMLButtonElement> {
3276
+ item: ItemInstance<T>;
3277
+ indent?: number;
3278
+ asChild?: boolean;
3279
+ }
3280
+ declare function TreeItem<T = unknown>({
3281
+ item,
3282
+ className,
3283
+ asChild,
3284
+ children,
3285
+ ...props
3286
+ }: Omit<TreeItemProps<T>, "indent">): React$2.JSX.Element;
3287
+ interface TreeItemLabelProps<T = unknown> extends React$2.HTMLAttributes<HTMLSpanElement> {
3288
+ item?: ItemInstance<T>;
3289
+ }
3290
+ declare function TreeItemLabel<T = unknown>({
3291
+ item: propItem,
3292
+ children,
3293
+ className,
3294
+ ...props
3295
+ }: TreeItemLabelProps<T>): React$2.JSX.Element | null;
3296
+ declare function TreeDragLine({
3297
+ className,
3298
+ ...props
3299
+ }: React$2.HTMLAttributes<HTMLDivElement>): React$2.JSX.Element | null;
3300
+ //#endregion
3301
+ export { Accordion, AccordionContent, AccordionItem, AccordionMenu, type AccordionMenuClassNames, AccordionMenuGroup, AccordionMenuIndicator, AccordionMenuItem, AccordionMenuLabel, AccordionMenuSeparator, AccordionMenuSub, AccordionMenuSubContent, AccordionMenuSubTrigger, AccordionTrigger, Alert, AlertContent, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertIcon, AlertTitle, AlertToolbar, AspectRatio, Avatar, AvatarFallback, AvatarGroup, AvatarGroupItem, AvatarGroupTooltip, AvatarImage, AvatarIndicator, AvatarStatus, Badge, BadgeButton, BadgeButtonProps, BadgeDot, BadgeDotProps, BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonArrow, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardHeading, CardTable, CardTitle, CardToolbar, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, Code, CodeProps, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandCheck, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CountingNumber, CustomRendererProps, DEFAULT_I18N, DEFAULT_OPERATORS, DataGrid, DataGridApiFetchParams, DataGridApiResponse, DataGridColumnFilter, type DataGridColumnFilterProps, DataGridColumnHeader, type DataGridColumnHeaderProps, DataGridColumnVisibility, DataGridContainer, DataGridContextProps, DataGridPagination, type DataGridPaginationProps, DataGridProps, DataGridProvider, DataGridRequestParams, DataGridTable, DataGridTableBase, DataGridTableBody, DataGridTableBodyRow, DataGridTableBodyRowCell, DataGridTableBodyRowExpanded, DataGridTableBodyRowSkeleton, DataGridTableBodyRowSkeletonCell, DataGridTableDnd, DataGridTableDndRowHandle, DataGridTableDndRows, DataGridTableEmpty, DataGridTableHead, DataGridTableHeadRow, DataGridTableHeadRowCell, DataGridTableHeadRowCellResize, DataGridTableRowSelect, DataGridTableRowSelectAll, DataGridTableRowSpacer, DateField, DateInput, type DateInputProps, DateSegment, DescriptionDetails, DescriptionList, DescriptionTerm, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Filter, FilterFieldConfig, FilterFieldGroup, FilterFieldsConfig, FilterGroup, FilterI18nConfig, FilterOperator, FilterOption, Filters, FiltersContent, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, GithubButton, type GithubButtonProps, GradientBackground, type GradientBackgroundProps, GridBackground, type GridBackgroundProps, Heading, type HeadingProps, HoverBackground, type HoverBackgroundProps, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputAddon, InputGroup, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, InputWrapper, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kanban, KanbanBoard, KanbanBoardProps, KanbanColumn, KanbanColumnContent, KanbanColumnContentProps, KanbanColumnHandle, KanbanColumnHandleProps, KanbanColumnProps, KanbanItem, KanbanItemHandle, KanbanItemHandleProps, KanbanItemProps, KanbanMoveEvent, KanbanOverlay, KanbanOverlayProps, KanbanRootProps, Kbd, KbdGroup, Label, Marquee, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, ProgressCircle, ProgressRadial, RadioGroup, RadioGroupItem, Rating, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Scrollspy, Select, SelectContent, SelectGroup, SelectIndicator, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectTriggerProps, SelectValue, Separator, Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, ShimmeringText, ShowMore, type ShowMoreProps, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, SliderThumb, SlidingNumber, Sortable, SortableItem, SortableItemHandle, SortableItemHandleProps, SortableItemProps, SortableRootProps, Spinner, SpinnerDefault, Stepper, StepperContent, type StepperContentProps, StepperDescription, StepperIndicator, StepperItem, type StepperItemProps, StepperNav, StepperPanel, type StepperProps, StepperSeparator, StepperTitle, StepperTrigger, type StepperTriggerProps, SvgText, SvgTextProps, Switch, SwitchIndicator, SwitchWrapper, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TextReveal, Textarea, TimeField, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Tree, TreeDragLine, TreeItem, TreeItemLabel, TypingText, VideoText, VideoTextProps, WordRotate, avatarStatusVariants, badgeVariants, buttonGroupVariants, buttonVariants, codeVariants, createFilter, createFilterGroup, dateInputStyles, githubButtonVariants, inputAddonVariants, inputVariants, navigationMenuTriggerStyle, textareaVariants, toggleVariants, useDataGrid, useFormField, useSidebar, useStepItem, useStepper };
3302
+ //# sourceMappingURL=index.d.ts.map