duokit-ui 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2285 -3168
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +335 -353
- package/dist/index.d.ts +335 -353
- package/dist/index.js +1910 -2799
- package/dist/index.js.map +1 -1
- package/package.json +8 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
2
3
|
import * as React$1 from 'react';
|
|
3
4
|
import { ReactNode } from 'react';
|
|
4
|
-
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
5
5
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
6
6
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
7
7
|
import { VariantProps } from 'class-variance-authority';
|
|
@@ -28,14 +28,15 @@ import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
|
28
28
|
import * as ResizablePrimitive from 'react-resizable-panels';
|
|
29
29
|
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
30
30
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
31
|
-
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
32
31
|
import { ToasterProps, toast } from 'sonner';
|
|
33
32
|
import * as SwitchPrimitive from '@radix-ui/react-switch';
|
|
34
33
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
35
34
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
36
35
|
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
36
|
+
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
37
37
|
import { Table as Table$1 } from '@tanstack/react-table';
|
|
38
38
|
import { ClassValue } from 'clsx';
|
|
39
|
+
import { z } from 'zod';
|
|
39
40
|
|
|
40
41
|
declare function Accordion({ ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
41
42
|
declare function AccordionItem({ className, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Item>): react_jsx_runtime.JSX.Element;
|
|
@@ -437,74 +438,6 @@ declare function SheetFooter({ className, ...props }: React$1.ComponentProps<"di
|
|
|
437
438
|
declare function SheetTitle({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime.JSX.Element;
|
|
438
439
|
declare function SheetDescription({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime.JSX.Element;
|
|
439
440
|
|
|
440
|
-
declare function TooltipProvider({ delayDuration, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime.JSX.Element;
|
|
441
|
-
declare function Tooltip({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
442
|
-
declare function TooltipTrigger({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
443
|
-
declare function TooltipContent({ className, sideOffset, children, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
444
|
-
|
|
445
|
-
type SidebarContextProps = {
|
|
446
|
-
state: "expanded" | "collapsed";
|
|
447
|
-
open: boolean;
|
|
448
|
-
setOpen: (open: boolean) => void;
|
|
449
|
-
openMobile: boolean;
|
|
450
|
-
setOpenMobile: (open: boolean) => void;
|
|
451
|
-
isMobile: boolean;
|
|
452
|
-
toggleSidebar: () => void;
|
|
453
|
-
};
|
|
454
|
-
declare function useSidebar(): SidebarContextProps;
|
|
455
|
-
declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: React$1.ComponentProps<"div"> & {
|
|
456
|
-
defaultOpen?: boolean;
|
|
457
|
-
open?: boolean;
|
|
458
|
-
onOpenChange?: (open: boolean) => void;
|
|
459
|
-
}): react_jsx_runtime.JSX.Element;
|
|
460
|
-
declare function Sidebar({ side, variant, collapsible, className, children, ...props }: React$1.ComponentProps<"div"> & {
|
|
461
|
-
side?: "left" | "right";
|
|
462
|
-
variant?: "sidebar" | "floating" | "inset";
|
|
463
|
-
collapsible?: "offcanvas" | "icon" | "none";
|
|
464
|
-
}): react_jsx_runtime.JSX.Element;
|
|
465
|
-
declare function SidebarTrigger({ className, onClick, ...props }: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
|
|
466
|
-
declare function SidebarRail({ className, ...props }: React$1.ComponentProps<"button">): react_jsx_runtime.JSX.Element;
|
|
467
|
-
declare function SidebarInset({ className, ...props }: React$1.ComponentProps<"main">): react_jsx_runtime.JSX.Element;
|
|
468
|
-
declare function SidebarInput({ className, ...props }: React$1.ComponentProps<typeof Input>): react_jsx_runtime.JSX.Element;
|
|
469
|
-
declare function SidebarHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
470
|
-
declare function SidebarFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
471
|
-
declare function SidebarSeparator({ className, ...props }: React$1.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
|
|
472
|
-
declare function SidebarContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
473
|
-
declare function SidebarGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
474
|
-
declare function SidebarGroupLabel({ className, asChild, ...props }: React$1.ComponentProps<"div"> & {
|
|
475
|
-
asChild?: boolean;
|
|
476
|
-
}): react_jsx_runtime.JSX.Element;
|
|
477
|
-
declare function SidebarGroupAction({ className, asChild, ...props }: React$1.ComponentProps<"button"> & {
|
|
478
|
-
asChild?: boolean;
|
|
479
|
-
}): react_jsx_runtime.JSX.Element;
|
|
480
|
-
declare function SidebarGroupContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
481
|
-
declare function SidebarMenu({ className, ...props }: React$1.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
|
|
482
|
-
declare function SidebarMenuItem({ className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
483
|
-
declare const sidebarMenuButtonVariants: (props?: ({
|
|
484
|
-
variant?: "default" | "outline" | null | undefined;
|
|
485
|
-
size?: "default" | "sm" | "lg" | null | undefined;
|
|
486
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
487
|
-
declare function SidebarMenuButton({ asChild, isActive, variant, size, tooltip, className, ...props }: React$1.ComponentProps<"button"> & {
|
|
488
|
-
asChild?: boolean;
|
|
489
|
-
isActive?: boolean;
|
|
490
|
-
tooltip?: string | React$1.ComponentProps<typeof TooltipContent>;
|
|
491
|
-
} & VariantProps<typeof sidebarMenuButtonVariants>): react_jsx_runtime.JSX.Element;
|
|
492
|
-
declare function SidebarMenuAction({ className, asChild, showOnHover, ...props }: React$1.ComponentProps<"button"> & {
|
|
493
|
-
asChild?: boolean;
|
|
494
|
-
showOnHover?: boolean;
|
|
495
|
-
}): react_jsx_runtime.JSX.Element;
|
|
496
|
-
declare function SidebarMenuBadge({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
497
|
-
declare function SidebarMenuSkeleton({ className, showIcon, ...props }: React$1.ComponentProps<"div"> & {
|
|
498
|
-
showIcon?: boolean;
|
|
499
|
-
}): react_jsx_runtime.JSX.Element;
|
|
500
|
-
declare function SidebarMenuSub({ className, ...props }: React$1.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
|
|
501
|
-
declare function SidebarMenuSubItem({ className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
502
|
-
declare function SidebarMenuSubButton({ asChild, size, isActive, className, ...props }: React$1.ComponentProps<"a"> & {
|
|
503
|
-
asChild?: boolean;
|
|
504
|
-
size?: "sm" | "md";
|
|
505
|
-
isActive?: boolean;
|
|
506
|
-
}): react_jsx_runtime.JSX.Element;
|
|
507
|
-
|
|
508
441
|
declare function Skeleton({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
509
442
|
|
|
510
443
|
declare const Toaster: ({ ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
|
|
@@ -545,249 +478,105 @@ declare function ToggleGroup({ className, variant, size, spacing, children, ...p
|
|
|
545
478
|
}): react_jsx_runtime.JSX.Element;
|
|
546
479
|
declare function ToggleGroupItem({ className, children, variant, size, ...props }: React$1.ComponentProps<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
547
480
|
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
popoverAnimation?: "scale" | "slide" | "fade" | "flip" | "none";
|
|
556
|
-
/** Option hover animation type */
|
|
557
|
-
optionHoverAnimation?: "highlight" | "scale" | "glow" | "none";
|
|
558
|
-
/** Animation duration in seconds */
|
|
559
|
-
duration?: number;
|
|
560
|
-
/** Animation delay in seconds */
|
|
561
|
-
delay?: number;
|
|
562
|
-
}
|
|
563
|
-
/**
|
|
564
|
-
* Variants for the multi-select component to handle different styles.
|
|
565
|
-
* Uses class-variance-authority (cva) to define different styles based on "variant" prop.
|
|
566
|
-
*/
|
|
567
|
-
declare const multiSelectVariants$2: (props?: ({
|
|
568
|
-
variant?: "default" | "destructive" | "secondary" | "inverted" | null | undefined;
|
|
569
|
-
badgeAnimation?: "none" | "bounce" | "pulse" | "wiggle" | "fade" | "slide" | null | undefined;
|
|
481
|
+
declare function TooltipProvider({ delayDuration, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime.JSX.Element;
|
|
482
|
+
declare function Tooltip({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
483
|
+
declare function TooltipTrigger({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
484
|
+
declare function TooltipContent({ className, sideOffset, children, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
485
|
+
|
|
486
|
+
declare const multiSelectVariants$1: (props?: ({
|
|
487
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
570
488
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
}>;
|
|
583
|
-
/** Whether this option is disabled */
|
|
584
|
-
disabled?: boolean;
|
|
585
|
-
/** Custom styling for the option */
|
|
586
|
-
style?: {
|
|
587
|
-
/** Custom badge color */
|
|
588
|
-
badgeColor?: string;
|
|
589
|
-
/** Custom icon color */
|
|
590
|
-
iconColor?: string;
|
|
591
|
-
/** Gradient background for badge */
|
|
592
|
-
gradient?: string;
|
|
593
|
-
};
|
|
594
|
-
}
|
|
595
|
-
/**
|
|
596
|
-
* Group interface for organizing options
|
|
597
|
-
*/
|
|
598
|
-
interface MultiSelectGroup$1 {
|
|
599
|
-
/** Group heading */
|
|
600
|
-
heading: string;
|
|
601
|
-
/** Options in this group */
|
|
602
|
-
options: MultiSelectOption$1[];
|
|
489
|
+
interface CalendarDatePickerProps extends React$1.HTMLAttributes<HTMLButtonElement>, VariantProps<typeof multiSelectVariants$1> {
|
|
490
|
+
id?: string;
|
|
491
|
+
className?: string;
|
|
492
|
+
date: DateRange;
|
|
493
|
+
closeOnSelect?: boolean;
|
|
494
|
+
numberOfMonths?: 1 | 2;
|
|
495
|
+
yearsRange?: number;
|
|
496
|
+
onDateSelect: (range: {
|
|
497
|
+
from: Date;
|
|
498
|
+
to: Date;
|
|
499
|
+
}) => void;
|
|
603
500
|
}
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
interface MultiSelectProps$1 extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "animationConfig">, VariantProps<typeof multiSelectVariants$2> {
|
|
608
|
-
/**
|
|
609
|
-
* An array of option objects or groups to be displayed in the multi-select component.
|
|
610
|
-
*/
|
|
611
|
-
options: MultiSelectOption$1[] | MultiSelectGroup$1[];
|
|
612
|
-
/**
|
|
613
|
-
* Callback function triggered when the selected values change.
|
|
614
|
-
* Receives an array of the new selected values.
|
|
615
|
-
*/
|
|
616
|
-
onValueChange: (value: string[]) => void;
|
|
617
|
-
/** The default selected values when the component mounts. */
|
|
618
|
-
defaultValue?: string[];
|
|
619
|
-
/**
|
|
620
|
-
* Placeholder text to be displayed when no values are selected.
|
|
621
|
-
* Optional, defaults to "Select options".
|
|
622
|
-
*/
|
|
623
|
-
placeholder?: string;
|
|
501
|
+
declare const CalendarDatePicker: React$1.ForwardRefExoticComponent<CalendarDatePickerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
502
|
+
|
|
503
|
+
interface DataTableProps<TData> {
|
|
624
504
|
/**
|
|
625
|
-
*
|
|
626
|
-
* Optional, defaults to 0 (no animation).
|
|
505
|
+
* Table instance from useReactTable
|
|
627
506
|
*/
|
|
628
|
-
|
|
507
|
+
table: Table$1<TData>;
|
|
629
508
|
/**
|
|
630
|
-
*
|
|
631
|
-
* Optional, allows fine-tuning of various animation effects.
|
|
509
|
+
* Whether the table is in a loading state
|
|
632
510
|
*/
|
|
633
|
-
|
|
511
|
+
isLoading?: boolean;
|
|
634
512
|
/**
|
|
635
|
-
*
|
|
636
|
-
* Optional, defaults to 3.
|
|
513
|
+
* Custom empty state message
|
|
637
514
|
*/
|
|
638
|
-
|
|
515
|
+
emptyMessage?: ReactNode;
|
|
639
516
|
/**
|
|
640
|
-
*
|
|
641
|
-
* will be disabled and only popover content will be visible to screen readers.
|
|
642
|
-
* Optional, defaults to false.
|
|
517
|
+
* Custom loading message
|
|
643
518
|
*/
|
|
644
|
-
|
|
519
|
+
loadingMessage?: string;
|
|
645
520
|
/**
|
|
646
|
-
*
|
|
647
|
-
* Optional, defaults to false.
|
|
521
|
+
* Children components
|
|
648
522
|
*/
|
|
649
|
-
|
|
523
|
+
children?: ReactNode;
|
|
650
524
|
/**
|
|
651
|
-
*
|
|
652
|
-
* Optional, can be used to add custom styles.
|
|
525
|
+
* Custom className for the root container
|
|
653
526
|
*/
|
|
654
527
|
className?: string;
|
|
528
|
+
}
|
|
529
|
+
interface DataTableSearchProps {
|
|
655
530
|
/**
|
|
656
|
-
*
|
|
657
|
-
* Optional, defaults to false.
|
|
658
|
-
*/
|
|
659
|
-
hideSelectAll?: boolean;
|
|
660
|
-
/**
|
|
661
|
-
* If true, shows search functionality in the popover.
|
|
662
|
-
* If false, hides the search input completely.
|
|
663
|
-
* Optional, defaults to true.
|
|
664
|
-
*/
|
|
665
|
-
searchable?: boolean;
|
|
666
|
-
/**
|
|
667
|
-
* Custom empty state message when no options match search.
|
|
668
|
-
* Optional, defaults to "No results found."
|
|
669
|
-
*/
|
|
670
|
-
emptyIndicator?: React$1.ReactNode;
|
|
671
|
-
/**
|
|
672
|
-
* If true, allows the component to grow and shrink with its content.
|
|
673
|
-
* If false, uses fixed width behavior.
|
|
674
|
-
* Optional, defaults to false.
|
|
675
|
-
*/
|
|
676
|
-
autoSize?: boolean;
|
|
677
|
-
/**
|
|
678
|
-
* If true, shows badges in a single line with horizontal scroll.
|
|
679
|
-
* If false, badges wrap to multiple lines.
|
|
680
|
-
* Optional, defaults to false.
|
|
681
|
-
*/
|
|
682
|
-
singleLine?: boolean;
|
|
683
|
-
/**
|
|
684
|
-
* Custom CSS class for the popover content.
|
|
685
|
-
* Optional, can be used to customize popover appearance.
|
|
686
|
-
*/
|
|
687
|
-
popoverClassName?: string;
|
|
688
|
-
/**
|
|
689
|
-
* If true, disables the component completely.
|
|
690
|
-
* Optional, defaults to false.
|
|
691
|
-
*/
|
|
692
|
-
disabled?: boolean;
|
|
693
|
-
/**
|
|
694
|
-
* Responsive configuration for different screen sizes.
|
|
695
|
-
* Allows customizing maxCount and other properties based on viewport.
|
|
696
|
-
* Can be boolean true for default responsive behavior or an object for custom configuration.
|
|
697
|
-
*/
|
|
698
|
-
responsive?: boolean | {
|
|
699
|
-
/** Configuration for mobile devices (< 640px) */
|
|
700
|
-
mobile?: {
|
|
701
|
-
maxCount?: number;
|
|
702
|
-
hideIcons?: boolean;
|
|
703
|
-
compactMode?: boolean;
|
|
704
|
-
};
|
|
705
|
-
/** Configuration for tablet devices (640px - 1024px) */
|
|
706
|
-
tablet?: {
|
|
707
|
-
maxCount?: number;
|
|
708
|
-
hideIcons?: boolean;
|
|
709
|
-
compactMode?: boolean;
|
|
710
|
-
};
|
|
711
|
-
/** Configuration for desktop devices (> 1024px) */
|
|
712
|
-
desktop?: {
|
|
713
|
-
maxCount?: number;
|
|
714
|
-
hideIcons?: boolean;
|
|
715
|
-
compactMode?: boolean;
|
|
716
|
-
};
|
|
717
|
-
};
|
|
718
|
-
/**
|
|
719
|
-
* Minimum width for the component.
|
|
720
|
-
* Optional, defaults to auto-sizing based on content.
|
|
721
|
-
* When set, component will not shrink below this width.
|
|
722
|
-
*/
|
|
723
|
-
minWidth?: string;
|
|
724
|
-
/**
|
|
725
|
-
* Maximum width for the component.
|
|
726
|
-
* Optional, defaults to 100% of container.
|
|
727
|
-
* Component will not exceed container boundaries.
|
|
728
|
-
*/
|
|
729
|
-
maxWidth?: string;
|
|
730
|
-
/**
|
|
731
|
-
* If true, automatically removes duplicate options based on their value.
|
|
732
|
-
* Optional, defaults to false (shows warning in dev mode instead).
|
|
531
|
+
* Placeholder text for the search input
|
|
733
532
|
*/
|
|
734
|
-
|
|
533
|
+
placeholder?: string;
|
|
735
534
|
/**
|
|
736
|
-
*
|
|
737
|
-
* Useful for React Hook Form integration and form reset functionality.
|
|
738
|
-
* Optional, defaults to true.
|
|
535
|
+
* Debounce delay in milliseconds
|
|
739
536
|
*/
|
|
740
|
-
|
|
537
|
+
debounceMs?: number;
|
|
741
538
|
/**
|
|
742
|
-
*
|
|
743
|
-
* Useful for single-selection-like behavior or mobile UX.
|
|
744
|
-
* Optional, defaults to false.
|
|
539
|
+
* Custom className
|
|
745
540
|
*/
|
|
746
|
-
|
|
541
|
+
className?: string;
|
|
747
542
|
}
|
|
748
|
-
|
|
749
|
-
* Imperative methods exposed through ref
|
|
750
|
-
*/
|
|
751
|
-
interface MultiSelectRef$1 {
|
|
752
|
-
/**
|
|
753
|
-
* Programmatically reset the component to its default value
|
|
754
|
-
*/
|
|
755
|
-
reset: () => void;
|
|
756
|
-
/**
|
|
757
|
-
* Get current selected values
|
|
758
|
-
*/
|
|
759
|
-
getSelectedValues: () => string[];
|
|
543
|
+
interface DataTablePaginationProps {
|
|
760
544
|
/**
|
|
761
|
-
*
|
|
545
|
+
* Show page size selector
|
|
762
546
|
*/
|
|
763
|
-
|
|
547
|
+
showPageSizeSelector?: boolean;
|
|
764
548
|
/**
|
|
765
|
-
*
|
|
549
|
+
* Available page sizes
|
|
766
550
|
*/
|
|
767
|
-
|
|
551
|
+
pageSizeOptions?: number[];
|
|
768
552
|
/**
|
|
769
|
-
*
|
|
553
|
+
* Custom className
|
|
770
554
|
*/
|
|
771
|
-
|
|
555
|
+
className?: string;
|
|
772
556
|
}
|
|
773
|
-
declare const MultiSelect: React$1.ForwardRefExoticComponent<MultiSelectProps$1 & React$1.RefAttributes<MultiSelectRef$1>>;
|
|
774
557
|
|
|
775
|
-
declare
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
558
|
+
declare function DataTableRoot<TData>({ table, isLoading, emptyMessage, loadingMessage, children, className, }: DataTableProps<TData>): react_jsx_runtime.JSX.Element;
|
|
559
|
+
declare function DataTableHeader<TData>(): react_jsx_runtime.JSX.Element;
|
|
560
|
+
declare function DataTableBody<TData>(): react_jsx_runtime.JSX.Element;
|
|
561
|
+
declare function DataTablePagination({ showPageSizeSelector, className, }: DataTablePaginationProps): react_jsx_runtime.JSX.Element;
|
|
562
|
+
declare function DataTableFilters({ children, className, }: {
|
|
563
|
+
children?: React.ReactNode;
|
|
780
564
|
className?: string;
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
565
|
+
}): react_jsx_runtime.JSX.Element;
|
|
566
|
+
declare const DataTable: {
|
|
567
|
+
Root: typeof DataTableRoot;
|
|
568
|
+
Header: typeof DataTableHeader;
|
|
569
|
+
Body: typeof DataTableBody;
|
|
570
|
+
Pagination: typeof DataTablePagination;
|
|
571
|
+
Filters: typeof DataTableFilters;
|
|
572
|
+
};
|
|
573
|
+
|
|
574
|
+
type Condition<Value = unknown> = Value | false | null | undefined | 0 | "";
|
|
575
|
+
declare function If<Value = unknown>({ condition, children, fallback, }: React.PropsWithoutRef<{
|
|
576
|
+
condition: Condition<Value>;
|
|
577
|
+
children: React.ReactNode | ((value: Value) => React.ReactNode);
|
|
578
|
+
fallback?: React.ReactNode;
|
|
579
|
+
}>): react_jsx_runtime.JSX.Element | null;
|
|
791
580
|
|
|
792
581
|
declare const multiSelectVariants: (props?: ({
|
|
793
582
|
variant?: "default" | "destructive" | "secondary" | "inverted" | null | undefined;
|
|
@@ -1009,76 +798,256 @@ declare const ClientMultiSelect: React$1.ForwardRefExoticComponent<MultiSelectPr
|
|
|
1009
798
|
|
|
1010
799
|
declare const PaginatedMultiSelect: React$1.ForwardRefExoticComponent<MultiSelectProps & PaginationProps & React$1.RefAttributes<MultiSelectRef>>;
|
|
1011
800
|
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
*/
|
|
1016
|
-
table: Table$1<TData>;
|
|
1017
|
-
/**
|
|
1018
|
-
* Whether the table is in a loading state
|
|
1019
|
-
*/
|
|
1020
|
-
isLoading?: boolean;
|
|
1021
|
-
/**
|
|
1022
|
-
* Custom empty state message
|
|
1023
|
-
*/
|
|
1024
|
-
emptyMessage?: ReactNode;
|
|
1025
|
-
/**
|
|
1026
|
-
* Custom loading message
|
|
1027
|
-
*/
|
|
1028
|
-
loadingMessage?: string;
|
|
1029
|
-
/**
|
|
1030
|
-
* Children components
|
|
1031
|
-
*/
|
|
1032
|
-
children?: ReactNode;
|
|
1033
|
-
/**
|
|
1034
|
-
* Custom className for the root container
|
|
1035
|
-
*/
|
|
1036
|
-
className?: string;
|
|
1037
|
-
}
|
|
1038
|
-
interface DataTableSearchProps {
|
|
1039
|
-
/**
|
|
1040
|
-
* Placeholder text for the search input
|
|
1041
|
-
*/
|
|
1042
|
-
placeholder?: string;
|
|
1043
|
-
/**
|
|
1044
|
-
* Debounce delay in milliseconds
|
|
1045
|
-
*/
|
|
1046
|
-
debounceMs?: number;
|
|
1047
|
-
/**
|
|
1048
|
-
* Custom className
|
|
1049
|
-
*/
|
|
1050
|
-
className?: string;
|
|
1051
|
-
}
|
|
1052
|
-
interface DataTablePaginationProps {
|
|
1053
|
-
/**
|
|
1054
|
-
* Show page size selector
|
|
1055
|
-
*/
|
|
1056
|
-
showPageSizeSelector?: boolean;
|
|
1057
|
-
/**
|
|
1058
|
-
* Available page sizes
|
|
1059
|
-
*/
|
|
1060
|
-
pageSizeOptions?: number[];
|
|
1061
|
-
/**
|
|
1062
|
-
* Custom className
|
|
1063
|
-
*/
|
|
801
|
+
declare function PasswordInput({ value, onChange, className, autoComplete, }: {
|
|
802
|
+
value: string;
|
|
803
|
+
onChange: (value: string) => void;
|
|
1064
804
|
className?: string;
|
|
1065
|
-
|
|
805
|
+
autoComplete?: string;
|
|
806
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1066
807
|
|
|
1067
|
-
declare
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
808
|
+
declare const NavigationConfigSchema: z.ZodObject<{
|
|
809
|
+
style: z.ZodDefault<z.ZodEnum<["custom", "sidebar", "header"]>>;
|
|
810
|
+
sidebarCollapsed: z.ZodEffects<z.ZodOptional<z.ZodDefault<z.ZodEnum<["false", "true"]>>>, boolean, "true" | "false" | undefined>;
|
|
811
|
+
sidebarCollapsedStyle: z.ZodDefault<z.ZodEnum<["offcanvas", "icon", "none"]>>;
|
|
812
|
+
routes: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
813
|
+
label: z.ZodString;
|
|
814
|
+
collapsible: z.ZodOptional<z.ZodBoolean>;
|
|
815
|
+
collapsed: z.ZodOptional<z.ZodBoolean>;
|
|
816
|
+
children: z.ZodArray<z.ZodObject<{
|
|
817
|
+
label: z.ZodString;
|
|
818
|
+
path: z.ZodString;
|
|
819
|
+
Icon: z.ZodOptional<z.ZodType<React$1.ReactNode, z.ZodTypeDef, React$1.ReactNode>>;
|
|
820
|
+
end: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>]>>>;
|
|
821
|
+
children: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
822
|
+
label: z.ZodString;
|
|
823
|
+
path: z.ZodString;
|
|
824
|
+
Icon: z.ZodOptional<z.ZodType<React$1.ReactNode, z.ZodTypeDef, React$1.ReactNode>>;
|
|
825
|
+
end: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>]>>>;
|
|
826
|
+
renderAction: z.ZodOptional<z.ZodType<React$1.ReactNode, z.ZodTypeDef, React$1.ReactNode>>;
|
|
827
|
+
}, "strip", z.ZodTypeAny, {
|
|
828
|
+
label: string;
|
|
829
|
+
path: string;
|
|
830
|
+
end?: boolean | ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
|
|
831
|
+
Icon?: React$1.ReactNode;
|
|
832
|
+
renderAction?: React$1.ReactNode;
|
|
833
|
+
}, {
|
|
834
|
+
label: string;
|
|
835
|
+
path: string;
|
|
836
|
+
end?: boolean | ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
|
|
837
|
+
Icon?: React$1.ReactNode;
|
|
838
|
+
renderAction?: React$1.ReactNode;
|
|
839
|
+
}>, "many">>>;
|
|
840
|
+
collapsible: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
841
|
+
collapsed: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
842
|
+
renderAction: z.ZodOptional<z.ZodType<React$1.ReactNode, z.ZodTypeDef, React$1.ReactNode>>;
|
|
843
|
+
}, "strip", z.ZodTypeAny, {
|
|
844
|
+
label: string;
|
|
845
|
+
path: string;
|
|
846
|
+
children?: {
|
|
847
|
+
label: string;
|
|
848
|
+
path: string;
|
|
849
|
+
end?: boolean | ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
|
|
850
|
+
Icon?: React$1.ReactNode;
|
|
851
|
+
renderAction?: React$1.ReactNode;
|
|
852
|
+
}[] | undefined;
|
|
853
|
+
collapsible?: boolean | undefined;
|
|
854
|
+
end?: boolean | ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
|
|
855
|
+
Icon?: React$1.ReactNode;
|
|
856
|
+
renderAction?: React$1.ReactNode;
|
|
857
|
+
collapsed?: boolean | undefined;
|
|
858
|
+
}, {
|
|
859
|
+
label: string;
|
|
860
|
+
path: string;
|
|
861
|
+
children?: {
|
|
862
|
+
label: string;
|
|
863
|
+
path: string;
|
|
864
|
+
end?: boolean | ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
|
|
865
|
+
Icon?: React$1.ReactNode;
|
|
866
|
+
renderAction?: React$1.ReactNode;
|
|
867
|
+
}[] | undefined;
|
|
868
|
+
collapsible?: boolean | undefined;
|
|
869
|
+
end?: boolean | ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
|
|
870
|
+
Icon?: React$1.ReactNode;
|
|
871
|
+
renderAction?: React$1.ReactNode;
|
|
872
|
+
collapsed?: boolean | undefined;
|
|
873
|
+
}>, "many">;
|
|
874
|
+
renderAction: z.ZodOptional<z.ZodType<React$1.ReactNode, z.ZodTypeDef, React$1.ReactNode>>;
|
|
875
|
+
}, "strip", z.ZodTypeAny, {
|
|
876
|
+
label: string;
|
|
877
|
+
children: {
|
|
878
|
+
label: string;
|
|
879
|
+
path: string;
|
|
880
|
+
children?: {
|
|
881
|
+
label: string;
|
|
882
|
+
path: string;
|
|
883
|
+
end?: boolean | ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
|
|
884
|
+
Icon?: React$1.ReactNode;
|
|
885
|
+
renderAction?: React$1.ReactNode;
|
|
886
|
+
}[] | undefined;
|
|
887
|
+
collapsible?: boolean | undefined;
|
|
888
|
+
end?: boolean | ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
|
|
889
|
+
Icon?: React$1.ReactNode;
|
|
890
|
+
renderAction?: React$1.ReactNode;
|
|
891
|
+
collapsed?: boolean | undefined;
|
|
892
|
+
}[];
|
|
893
|
+
collapsible?: boolean | undefined;
|
|
894
|
+
renderAction?: React$1.ReactNode;
|
|
895
|
+
collapsed?: boolean | undefined;
|
|
896
|
+
}, {
|
|
897
|
+
label: string;
|
|
898
|
+
children: {
|
|
899
|
+
label: string;
|
|
900
|
+
path: string;
|
|
901
|
+
children?: {
|
|
902
|
+
label: string;
|
|
903
|
+
path: string;
|
|
904
|
+
end?: boolean | ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
|
|
905
|
+
Icon?: React$1.ReactNode;
|
|
906
|
+
renderAction?: React$1.ReactNode;
|
|
907
|
+
}[] | undefined;
|
|
908
|
+
collapsible?: boolean | undefined;
|
|
909
|
+
end?: boolean | ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
|
|
910
|
+
Icon?: React$1.ReactNode;
|
|
911
|
+
renderAction?: React$1.ReactNode;
|
|
912
|
+
collapsed?: boolean | undefined;
|
|
913
|
+
}[];
|
|
914
|
+
collapsible?: boolean | undefined;
|
|
915
|
+
renderAction?: React$1.ReactNode;
|
|
916
|
+
collapsed?: boolean | undefined;
|
|
917
|
+
}>, z.ZodObject<{
|
|
918
|
+
divider: z.ZodLiteral<true>;
|
|
919
|
+
}, "strip", z.ZodTypeAny, {
|
|
920
|
+
divider: true;
|
|
921
|
+
}, {
|
|
922
|
+
divider: true;
|
|
923
|
+
}>]>, "many">;
|
|
924
|
+
}, "strip", z.ZodTypeAny, {
|
|
925
|
+
style: "header" | "custom" | "sidebar";
|
|
926
|
+
sidebarCollapsed: boolean;
|
|
927
|
+
sidebarCollapsedStyle: "none" | "icon" | "offcanvas";
|
|
928
|
+
routes: ({
|
|
929
|
+
divider: true;
|
|
930
|
+
} | {
|
|
931
|
+
label: string;
|
|
932
|
+
children: {
|
|
933
|
+
label: string;
|
|
934
|
+
path: string;
|
|
935
|
+
children?: {
|
|
936
|
+
label: string;
|
|
937
|
+
path: string;
|
|
938
|
+
end?: boolean | ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
|
|
939
|
+
Icon?: React$1.ReactNode;
|
|
940
|
+
renderAction?: React$1.ReactNode;
|
|
941
|
+
}[] | undefined;
|
|
942
|
+
collapsible?: boolean | undefined;
|
|
943
|
+
end?: boolean | ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
|
|
944
|
+
Icon?: React$1.ReactNode;
|
|
945
|
+
renderAction?: React$1.ReactNode;
|
|
946
|
+
collapsed?: boolean | undefined;
|
|
947
|
+
}[];
|
|
948
|
+
collapsible?: boolean | undefined;
|
|
949
|
+
renderAction?: React$1.ReactNode;
|
|
950
|
+
collapsed?: boolean | undefined;
|
|
951
|
+
})[];
|
|
952
|
+
}, {
|
|
953
|
+
routes: ({
|
|
954
|
+
divider: true;
|
|
955
|
+
} | {
|
|
956
|
+
label: string;
|
|
957
|
+
children: {
|
|
958
|
+
label: string;
|
|
959
|
+
path: string;
|
|
960
|
+
children?: {
|
|
961
|
+
label: string;
|
|
962
|
+
path: string;
|
|
963
|
+
end?: boolean | ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
|
|
964
|
+
Icon?: React$1.ReactNode;
|
|
965
|
+
renderAction?: React$1.ReactNode;
|
|
966
|
+
}[] | undefined;
|
|
967
|
+
collapsible?: boolean | undefined;
|
|
968
|
+
end?: boolean | ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
|
|
969
|
+
Icon?: React$1.ReactNode;
|
|
970
|
+
renderAction?: React$1.ReactNode;
|
|
971
|
+
collapsed?: boolean | undefined;
|
|
972
|
+
}[];
|
|
973
|
+
collapsible?: boolean | undefined;
|
|
974
|
+
renderAction?: React$1.ReactNode;
|
|
975
|
+
collapsed?: boolean | undefined;
|
|
976
|
+
})[];
|
|
977
|
+
style?: "header" | "custom" | "sidebar" | undefined;
|
|
978
|
+
sidebarCollapsed?: "true" | "false" | undefined;
|
|
979
|
+
sidebarCollapsedStyle?: "none" | "icon" | "offcanvas" | undefined;
|
|
980
|
+
}>;
|
|
981
|
+
type SidebarConfig = z.infer<typeof NavigationConfigSchema>;
|
|
982
|
+
|
|
983
|
+
type SidebarContextValue = {
|
|
984
|
+
state: "expanded" | "collapsed";
|
|
985
|
+
open: boolean;
|
|
986
|
+
setOpen: (open: boolean) => void;
|
|
987
|
+
openMobile: boolean;
|
|
988
|
+
setOpenMobile: (open: boolean) => void;
|
|
989
|
+
isMobile: boolean;
|
|
990
|
+
toggleSidebar: () => void;
|
|
991
|
+
};
|
|
992
|
+
declare const SidebarContext: React$1.Context<SidebarContextValue | null>;
|
|
993
|
+
declare function useSidebar(): SidebarContextValue;
|
|
994
|
+
declare const SidebarProvider: React$1.FC<React$1.ComponentProps<"div"> & {
|
|
995
|
+
defaultOpen?: boolean;
|
|
996
|
+
open?: boolean;
|
|
997
|
+
onOpenChange?: (open: boolean) => void;
|
|
998
|
+
}>;
|
|
999
|
+
declare const Sidebar: React$1.FC<React$1.ComponentPropsWithRef<"div"> & {
|
|
1000
|
+
side?: "left" | "right";
|
|
1001
|
+
variant?: "sidebar" | "floating" | "inset" | "ghost";
|
|
1002
|
+
collapsible?: "offcanvas" | "icon" | "none";
|
|
1003
|
+
}>;
|
|
1004
|
+
declare const SidebarTrigger: React$1.FC<React$1.ComponentProps<typeof Button>>;
|
|
1005
|
+
declare const SidebarRail: React$1.FC<React$1.ComponentProps<"button">>;
|
|
1006
|
+
declare const SidebarInset: React$1.FC<React$1.ComponentProps<"main">>;
|
|
1007
|
+
declare const SidebarInput: React$1.FC<React$1.ComponentPropsWithRef<typeof Input>>;
|
|
1008
|
+
declare const SidebarHeader: React$1.FC<React$1.ComponentPropsWithRef<"div">>;
|
|
1009
|
+
declare const SidebarFooter: React$1.FC<React$1.ComponentProps<"div">>;
|
|
1010
|
+
declare const SidebarSeparator: React$1.FC<React$1.ComponentProps<typeof Separator>>;
|
|
1011
|
+
declare const SidebarContent: React$1.FC<React$1.ComponentProps<"div">>;
|
|
1012
|
+
declare const SidebarGroup: React$1.FC<React$1.ComponentProps<"div">>;
|
|
1013
|
+
declare const SidebarGroupLabel: React$1.FC<React$1.ComponentProps<"div"> & {
|
|
1014
|
+
asChild?: boolean;
|
|
1015
|
+
}>;
|
|
1016
|
+
declare const SidebarGroupAction: React$1.FC<React$1.ComponentProps<"button"> & {
|
|
1017
|
+
asChild?: boolean;
|
|
1018
|
+
}>;
|
|
1019
|
+
declare const SidebarGroupContent: React$1.FC<React$1.ComponentProps<"div">>;
|
|
1020
|
+
declare const SidebarMenu: React$1.FC<React$1.ComponentProps<"ul">>;
|
|
1021
|
+
declare const SidebarMenuItem: React$1.FC<React$1.ComponentProps<"li">>;
|
|
1022
|
+
declare const sidebarMenuButtonVariants: (props?: ({
|
|
1023
|
+
variant?: "default" | "outline" | null | undefined;
|
|
1024
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1025
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1026
|
+
declare const SidebarMenuButton: React$1.FC<React$1.ComponentProps<"button"> & {
|
|
1027
|
+
asChild?: boolean;
|
|
1028
|
+
isActive?: boolean;
|
|
1029
|
+
tooltip?: string | React$1.ComponentProps<typeof TooltipContent>;
|
|
1030
|
+
} & VariantProps<typeof sidebarMenuButtonVariants>>;
|
|
1031
|
+
declare const SidebarMenuAction: React$1.FC<React$1.ComponentProps<"button"> & {
|
|
1032
|
+
asChild?: boolean;
|
|
1033
|
+
showOnHover?: boolean;
|
|
1034
|
+
}>;
|
|
1035
|
+
declare const SidebarMenuBadge: React$1.FC<React$1.ComponentProps<"div">>;
|
|
1036
|
+
declare const SidebarMenuSkeleton: React$1.FC<React$1.ComponentProps<"div"> & {
|
|
1037
|
+
showIcon?: boolean;
|
|
1038
|
+
}>;
|
|
1039
|
+
declare const SidebarMenuSub: React$1.FC<React$1.ComponentProps<"ul">>;
|
|
1040
|
+
declare const SidebarMenuSubItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
1041
|
+
declare const SidebarMenuSubButton: React$1.FC<React$1.ComponentProps<"a"> & {
|
|
1042
|
+
asChild?: boolean;
|
|
1043
|
+
size?: "sm" | "md";
|
|
1044
|
+
isActive?: boolean;
|
|
1045
|
+
}>;
|
|
1046
|
+
|
|
1047
|
+
declare function Blockquote({ children, className, }: {
|
|
1048
|
+
children: React.ReactNode;
|
|
1073
1049
|
className?: string;
|
|
1074
1050
|
}): react_jsx_runtime.JSX.Element;
|
|
1075
|
-
declare const DataTable: {
|
|
1076
|
-
Root: typeof DataTableRoot;
|
|
1077
|
-
Header: typeof DataTableHeader;
|
|
1078
|
-
Body: typeof DataTableBody;
|
|
1079
|
-
Pagination: typeof DataTablePagination;
|
|
1080
|
-
Filters: typeof DataTableFilters;
|
|
1081
|
-
};
|
|
1082
1051
|
|
|
1083
1052
|
declare function H1({ children, className, }: {
|
|
1084
1053
|
children: React.ReactNode;
|
|
@@ -1105,10 +1074,23 @@ declare function Paragraph({ children, className, }: {
|
|
|
1105
1074
|
className?: string;
|
|
1106
1075
|
}): react_jsx_runtime.JSX.Element;
|
|
1107
1076
|
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1077
|
+
/**
|
|
1078
|
+
* @name isRouteActive
|
|
1079
|
+
* @description A function to check if a route is active. This is used to
|
|
1080
|
+
* @param end
|
|
1081
|
+
* @param path
|
|
1082
|
+
* @param currentPath
|
|
1083
|
+
*/
|
|
1084
|
+
declare function isRouteActive(path: string, currentPath: string, end?: boolean | ((path: string) => boolean)): boolean;
|
|
1085
|
+
/**
|
|
1086
|
+
* @name checkIfRouteIsActive
|
|
1087
|
+
* @description A function to check if a route is active. This is used to
|
|
1088
|
+
* highlight the active link in the navigation.
|
|
1089
|
+
* @param targetLink - The link to check against
|
|
1090
|
+
* @param currentRoute - the current route
|
|
1091
|
+
* @param depth - how far down should segments be matched?
|
|
1092
|
+
*/
|
|
1093
|
+
declare function checkIfRouteIsActive(targetLink: string, currentRoute: string, depth?: number): boolean;
|
|
1112
1094
|
|
|
1113
1095
|
declare function cn(...inputs: ClassValue[]): string;
|
|
1114
1096
|
|
|
@@ -1116,4 +1098,4 @@ declare function useIsMobile(): boolean;
|
|
|
1116
1098
|
|
|
1117
1099
|
declare const useToast: () => typeof toast;
|
|
1118
1100
|
|
|
1119
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle,
|
|
1101
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, Blockquote, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDatePicker, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, ClientMultiSelect, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DataTable, type DataTablePaginationProps, type DataTableProps, type DataTableSearchProps, Dialog, 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, H1, H2, H3, H4, HoverCard, HoverCardContent, HoverCardTrigger, If, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, Label, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavigationConfigSchema, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, PaginatedMultiSelect, Paragraph, PasswordInput, Popover, PopoverContent, PopoverTrigger, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, type SidebarConfig, SidebarContent, SidebarContext, type SidebarContextValue, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Spinner, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonGroupVariants, buttonVariants, checkIfRouteIsActive, cn, isRouteActive, navigationMenuTriggerStyle, sidebarMenuButtonVariants, tabsListVariants, toggleVariants, useComboboxAnchor, useIsMobile, useSidebar, useToast };
|