shru-design-system 0.2.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +205 -37
- package/dist/index.d.ts +205 -37
- package/dist/index.js +947 -203
- package/dist/index.mjs +912 -171
- package/package.json +1 -1
- package/scripts/init.js +21 -131
- package/scripts/themeConfig.js +5 -29
package/dist/index.d.mts
CHANGED
|
@@ -52,12 +52,13 @@ declare const Button: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttrib
|
|
|
52
52
|
}, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
53
53
|
|
|
54
54
|
declare const badgeVariants: (props?: ({
|
|
55
|
-
readonly variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
|
|
55
|
+
readonly variant?: "default" | "destructive" | "outline" | "secondary" | "disabled" | null | undefined;
|
|
56
56
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
57
57
|
declare const Badge: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLSpanElement> & React$1.HTMLAttributes<HTMLSpanElement> & VariantProps<(props?: ({
|
|
58
|
-
readonly variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
|
|
58
|
+
readonly variant?: "default" | "destructive" | "outline" | "secondary" | "disabled" | null | undefined;
|
|
59
59
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
60
60
|
asChild?: boolean;
|
|
61
|
+
onClick?: (e: React$1.MouseEvent<HTMLSpanElement>) => void;
|
|
61
62
|
}, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
62
63
|
|
|
63
64
|
declare const textInputTypes: readonly ["text", "email", "password", "number", "tel", "url", "search"];
|
|
@@ -102,6 +103,26 @@ declare function RadioItem({ className, ...props }: React$1.ComponentProps<typeo
|
|
|
102
103
|
|
|
103
104
|
declare function Skeleton({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
104
105
|
|
|
106
|
+
interface SkeletonGridProps {
|
|
107
|
+
count?: number;
|
|
108
|
+
cols?: {
|
|
109
|
+
default?: number;
|
|
110
|
+
md?: number;
|
|
111
|
+
lg?: number;
|
|
112
|
+
};
|
|
113
|
+
className?: string;
|
|
114
|
+
renderSkeleton?: () => React$1.ReactNode;
|
|
115
|
+
}
|
|
116
|
+
declare function SkeletonGrid({ count, cols, className, renderSkeleton, }: SkeletonGridProps): react_jsx_runtime.JSX.Element;
|
|
117
|
+
|
|
118
|
+
interface SkeletonTextProps {
|
|
119
|
+
lines?: number;
|
|
120
|
+
className?: string;
|
|
121
|
+
lineHeight?: "sm" | "md" | "lg";
|
|
122
|
+
lastLineWidth?: "full" | "3/4" | "1/2";
|
|
123
|
+
}
|
|
124
|
+
declare function SkeletonText({ lines, className, lineHeight, lastLineWidth, }: SkeletonTextProps): react_jsx_runtime.JSX.Element;
|
|
125
|
+
|
|
105
126
|
declare const sliderOrientations: readonly ["horizontal", "vertical"];
|
|
106
127
|
declare function Slider({ className, defaultValue, value, min, max, orientation, ...props }: React$1.ComponentProps<typeof SliderPrimitive.Root> & {
|
|
107
128
|
orientation?: typeof sliderOrientations[number];
|
|
@@ -532,11 +553,14 @@ interface SnackbarProps {
|
|
|
532
553
|
declare function Snackbar({ message, action, variant, className, }: SnackbarProps): react_jsx_runtime.JSX.Element;
|
|
533
554
|
|
|
534
555
|
interface StatusTextProps {
|
|
535
|
-
text
|
|
536
|
-
status
|
|
556
|
+
text?: string;
|
|
557
|
+
status?: "success" | "error" | "warning" | "info";
|
|
558
|
+
count?: number;
|
|
559
|
+
label?: string;
|
|
560
|
+
variant?: "caption" | "body" | "heading";
|
|
537
561
|
className?: string;
|
|
538
562
|
}
|
|
539
|
-
declare function StatusText({ text, status, className, }: StatusTextProps): react_jsx_runtime.JSX.Element;
|
|
563
|
+
declare function StatusText({ text, status, count, label, variant, className, }: StatusTextProps): react_jsx_runtime.JSX.Element;
|
|
540
564
|
|
|
541
565
|
interface StepperProps {
|
|
542
566
|
steps: Array<{
|
|
@@ -552,8 +576,10 @@ interface InfoBannerProps {
|
|
|
552
576
|
message: string;
|
|
553
577
|
variant?: "info" | "warning" | "success";
|
|
554
578
|
className?: string;
|
|
579
|
+
tooltip?: boolean;
|
|
580
|
+
children?: React$1.ReactNode;
|
|
555
581
|
}
|
|
556
|
-
declare function InfoBanner({ message, variant, className, }: InfoBannerProps): react_jsx_runtime.JSX.Element;
|
|
582
|
+
declare function InfoBanner({ message, variant, className, tooltip, children, }: InfoBannerProps): react_jsx_runtime.JSX.Element;
|
|
557
583
|
|
|
558
584
|
interface InlineEditProps {
|
|
559
585
|
value: string;
|
|
@@ -576,41 +602,117 @@ declare function InputGroupText({ className, ...props }: React$1.ComponentProps<
|
|
|
576
602
|
declare function InputGroupInput({ className, ...props }: TextInputProps): react_jsx_runtime.JSX.Element;
|
|
577
603
|
declare function InputGroupTextarea({ className, ...props }: React$1.ComponentProps<"textarea">): react_jsx_runtime.JSX.Element;
|
|
578
604
|
|
|
579
|
-
|
|
605
|
+
type FormInputType = "text" | "email" | "url" | "number" | "textarea" | "select" | "checkbox";
|
|
606
|
+
interface FormInputProps {
|
|
607
|
+
type?: FormInputType;
|
|
580
608
|
label?: string;
|
|
581
609
|
error?: string;
|
|
582
610
|
description?: string;
|
|
611
|
+
variant?: "default" | "minimal";
|
|
612
|
+
placeholder?: string;
|
|
613
|
+
value?: string | number;
|
|
614
|
+
onChange?: (e: React$1.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
|
|
615
|
+
options?: Array<{
|
|
616
|
+
label: string;
|
|
617
|
+
value: string;
|
|
618
|
+
}>;
|
|
619
|
+
onValueChange?: (value: string) => void;
|
|
620
|
+
checked?: boolean;
|
|
621
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
622
|
+
id?: string;
|
|
623
|
+
className?: string;
|
|
624
|
+
required?: boolean;
|
|
625
|
+
disabled?: boolean;
|
|
626
|
+
[key: string]: any;
|
|
583
627
|
}
|
|
584
|
-
declare function FormInput({ className, label, error, description, id, ...props }: FormInputProps): react_jsx_runtime.JSX.Element;
|
|
628
|
+
declare function FormInput({ className, type, label, error, description, variant, id, options, onValueChange, checked, onCheckedChange, ...props }: FormInputProps): react_jsx_runtime.JSX.Element;
|
|
629
|
+
|
|
630
|
+
interface SearchInputProps {
|
|
631
|
+
placeholder?: string;
|
|
632
|
+
value?: string;
|
|
633
|
+
onChange?: (value: string) => void;
|
|
634
|
+
onSearch?: (value: string) => void;
|
|
635
|
+
debounceMs?: number;
|
|
636
|
+
clearable?: boolean;
|
|
637
|
+
icon?: React$1.ReactNode;
|
|
638
|
+
variant?: "default" | "minimal" | "filled";
|
|
639
|
+
size?: "sm" | "md" | "lg";
|
|
640
|
+
className?: string;
|
|
641
|
+
}
|
|
642
|
+
declare function SearchInput({ placeholder, value: valueProp, onChange, onSearch, debounceMs, clearable, icon, variant, size, className, }: SearchInputProps): react_jsx_runtime.JSX.Element;
|
|
585
643
|
|
|
586
644
|
interface ConfirmModalProps {
|
|
587
|
-
open
|
|
588
|
-
onOpenChange
|
|
589
|
-
|
|
645
|
+
open?: boolean;
|
|
646
|
+
onOpenChange?: (open: boolean) => void;
|
|
647
|
+
triggerLabel?: string;
|
|
648
|
+
triggerProps?: React$1.ComponentProps<typeof Button>;
|
|
649
|
+
text?: string;
|
|
590
650
|
title: string;
|
|
591
651
|
description?: string;
|
|
652
|
+
onConfirm: () => void | Promise<void>;
|
|
592
653
|
confirmLabel?: string;
|
|
593
654
|
cancelLabel?: string;
|
|
594
|
-
variant?: "default" | "destructive";
|
|
655
|
+
variant?: "default" | "destructive" | "delete" | "save" | "warning";
|
|
656
|
+
loading?: boolean;
|
|
657
|
+
error?: string;
|
|
658
|
+
showModal?: boolean;
|
|
595
659
|
}
|
|
596
|
-
declare function ConfirmModal({ open, onOpenChange,
|
|
660
|
+
declare function ConfirmModal({ open: openProp, onOpenChange, triggerLabel, triggerProps, text, title, description, onConfirm, confirmLabel, cancelLabel, variant, loading, error, showModal, }: ConfirmModalProps): react_jsx_runtime.JSX.Element;
|
|
597
661
|
|
|
598
662
|
interface CopyButtonProps extends React$1.ComponentProps<typeof Button> {
|
|
599
|
-
text
|
|
663
|
+
text?: string;
|
|
664
|
+
getText?: () => string;
|
|
600
665
|
onCopy?: () => void;
|
|
601
666
|
}
|
|
602
|
-
declare function CopyButton({ text, onCopy, ...props }: CopyButtonProps): react_jsx_runtime.JSX.Element;
|
|
667
|
+
declare function CopyButton({ text, getText, onCopy, ...props }: CopyButtonProps): react_jsx_runtime.JSX.Element;
|
|
603
668
|
|
|
669
|
+
type FormFieldType = "text" | "textarea" | "select" | "checkbox" | "upload" | "number" | "email" | "url";
|
|
670
|
+
interface FormFieldConfig {
|
|
671
|
+
name: string;
|
|
672
|
+
type: FormFieldType;
|
|
673
|
+
label?: string;
|
|
674
|
+
placeholder?: string;
|
|
675
|
+
description?: string;
|
|
676
|
+
required?: boolean;
|
|
677
|
+
active?: boolean | ((values: Record<string, any>) => boolean);
|
|
678
|
+
validation?: (value: any) => string | undefined;
|
|
679
|
+
options?: Array<{
|
|
680
|
+
label: string;
|
|
681
|
+
value: string;
|
|
682
|
+
}> | ((formData: Record<string, any>) => Array<{
|
|
683
|
+
label: string;
|
|
684
|
+
value: string;
|
|
685
|
+
}>) | (() => Array<{
|
|
686
|
+
label: string;
|
|
687
|
+
value: string;
|
|
688
|
+
}>);
|
|
689
|
+
accept?: string;
|
|
690
|
+
multiple?: boolean;
|
|
691
|
+
min?: number;
|
|
692
|
+
max?: number;
|
|
693
|
+
step?: number;
|
|
694
|
+
defaultValue?: any;
|
|
695
|
+
onChange?: (value: any, params: {
|
|
696
|
+
formData: Record<string, any>;
|
|
697
|
+
setFormData: (data: Record<string, any> | ((prev: Record<string, any>) => Record<string, any>)) => void;
|
|
698
|
+
fieldName: string;
|
|
699
|
+
}) => void;
|
|
700
|
+
}
|
|
604
701
|
interface FormModalProps {
|
|
605
|
-
open
|
|
606
|
-
onOpenChange
|
|
702
|
+
open?: boolean;
|
|
703
|
+
onOpenChange?: (open: boolean) => void;
|
|
704
|
+
triggerLabel?: string;
|
|
705
|
+
triggerProps?: React$1.ComponentProps<typeof Button>;
|
|
607
706
|
title: string;
|
|
608
|
-
onSubmit: (data: any) => void
|
|
609
|
-
children: React$1.ReactNode;
|
|
707
|
+
onSubmit: (data: Record<string, any>) => void | Promise<void>;
|
|
610
708
|
submitLabel?: string;
|
|
611
709
|
cancelLabel?: string;
|
|
710
|
+
fields?: FormFieldConfig[];
|
|
711
|
+
children?: React$1.ReactNode;
|
|
712
|
+
beforeFields?: React$1.ReactNode;
|
|
713
|
+
afterFields?: React$1.ReactNode;
|
|
612
714
|
}
|
|
613
|
-
declare function FormModal({ open, onOpenChange, title, onSubmit, children,
|
|
715
|
+
declare function FormModal({ open: openProp, onOpenChange, triggerLabel, triggerProps, title, onSubmit, submitLabel, cancelLabel, fields, children, beforeFields, afterFields, }: FormModalProps): react_jsx_runtime.JSX.Element;
|
|
614
716
|
|
|
615
717
|
interface TriggerModalProps {
|
|
616
718
|
trigger: React$1.ReactNode;
|
|
@@ -650,7 +752,15 @@ interface GridProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
650
752
|
}
|
|
651
753
|
declare function Grid({ className, cols, gap, ...props }: GridProps): react_jsx_runtime.JSX.Element;
|
|
652
754
|
|
|
653
|
-
declare
|
|
755
|
+
declare const cardVariants: (props?: ({
|
|
756
|
+
variant?: "minimal" | "filled" | "subtle" | "outlined" | null | undefined;
|
|
757
|
+
size?: "sm" | "lg" | "md" | "xs" | null | undefined;
|
|
758
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
759
|
+
interface CardProps extends React$1.ComponentProps<"div">, VariantProps<typeof cardVariants> {
|
|
760
|
+
header?: React$1.ReactNode;
|
|
761
|
+
footer?: React$1.ReactNode;
|
|
762
|
+
}
|
|
763
|
+
declare function Card({ className, variant, size, header, footer, children, ...props }: CardProps): react_jsx_runtime.JSX.Element;
|
|
654
764
|
declare function CardHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
655
765
|
declare function CardTitle({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
656
766
|
declare function CardDescription({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
@@ -677,36 +787,75 @@ interface ContainerProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
677
787
|
}
|
|
678
788
|
declare function Container({ className, maxWidth, ...props }: ContainerProps): react_jsx_runtime.JSX.Element;
|
|
679
789
|
|
|
680
|
-
interface ListProps
|
|
681
|
-
|
|
790
|
+
interface ListProps {
|
|
791
|
+
items: Array<any>;
|
|
792
|
+
renderItem: (item: any, index: number) => React$1.ReactNode;
|
|
793
|
+
searchable?: boolean;
|
|
794
|
+
searchPlaceholder?: string;
|
|
795
|
+
emptyTitle?: string;
|
|
796
|
+
emptyDescription?: string;
|
|
797
|
+
emptyAction?: React$1.ReactNode;
|
|
798
|
+
loading?: boolean;
|
|
799
|
+
skeletonCount?: number;
|
|
800
|
+
renderSkeleton?: () => React$1.ReactNode;
|
|
801
|
+
type?: "grid" | "list";
|
|
802
|
+
gridCols?: {
|
|
803
|
+
default?: number;
|
|
804
|
+
md?: number;
|
|
805
|
+
lg?: number;
|
|
806
|
+
};
|
|
807
|
+
className?: string;
|
|
808
|
+
searchValue?: string;
|
|
809
|
+
onSearchChange?: (value: string) => void;
|
|
810
|
+
filterItems?: (items: Array<any>, searchValue: string) => Array<any>;
|
|
682
811
|
}
|
|
683
|
-
declare function List({ className,
|
|
812
|
+
declare function List({ items, renderItem, searchable, searchPlaceholder, emptyTitle, emptyDescription, emptyAction, loading, skeletonCount, renderSkeleton, type, gridCols, className, searchValue: searchValueProp, onSearchChange: onSearchChangeProp, filterItems, }: ListProps): react_jsx_runtime.JSX.Element;
|
|
684
813
|
|
|
685
|
-
|
|
814
|
+
declare const headerVariants: (props?: ({
|
|
815
|
+
variant?: "default" | "bordered" | null | undefined;
|
|
816
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
817
|
+
interface HeaderProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<typeof headerVariants> {
|
|
686
818
|
sticky?: boolean;
|
|
819
|
+
heading?: string;
|
|
820
|
+
caption?: string;
|
|
821
|
+
left?: React$1.ReactNode;
|
|
822
|
+
right?: React$1.ReactNode;
|
|
687
823
|
}
|
|
688
|
-
declare function Header({ className, sticky, ...props }: HeaderProps): react_jsx_runtime.JSX.Element;
|
|
824
|
+
declare function Header({ className, sticky, variant, heading, caption, left, right, children, ...props }: HeaderProps): react_jsx_runtime.JSX.Element;
|
|
689
825
|
|
|
690
826
|
interface FooterProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
691
827
|
}
|
|
692
828
|
declare function Footer({ className, ...props }: FooterProps): react_jsx_runtime.JSX.Element;
|
|
693
829
|
|
|
694
|
-
|
|
830
|
+
declare const emptyScreenVariants: (props?: ({
|
|
831
|
+
variant?: "default" | "minimal" | "spacious" | null | undefined;
|
|
832
|
+
size?: "sm" | "lg" | "md" | null | undefined;
|
|
833
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
834
|
+
interface EmptyScreenProps extends VariantProps<typeof emptyScreenVariants> {
|
|
695
835
|
title?: string;
|
|
696
836
|
description?: string;
|
|
697
837
|
icon?: React$1.ReactNode;
|
|
698
838
|
action?: React$1.ReactNode;
|
|
699
839
|
className?: string;
|
|
700
840
|
}
|
|
701
|
-
declare function EmptyScreen({ title, description, icon, action, className, }: EmptyScreenProps): react_jsx_runtime.JSX.Element;
|
|
841
|
+
declare function EmptyScreen({ title, description, icon, action, variant, size, className, }: EmptyScreenProps): react_jsx_runtime.JSX.Element;
|
|
702
842
|
|
|
703
843
|
interface CollapsiblePanelProps {
|
|
704
|
-
title
|
|
844
|
+
title?: string;
|
|
845
|
+
label?: string;
|
|
846
|
+
keyword?: string;
|
|
705
847
|
children: React$1.ReactNode;
|
|
706
848
|
defaultOpen?: boolean;
|
|
707
849
|
className?: string;
|
|
850
|
+
direction?: "horizontal" | "vertical";
|
|
851
|
+
triggerPosition?: "left" | "right" | "top" | "bottom";
|
|
852
|
+
minWidth?: string | number;
|
|
853
|
+
minHeight?: string | number;
|
|
854
|
+
triggerClassName?: string;
|
|
855
|
+
contentClassName?: string;
|
|
856
|
+
customTrigger?: React$1.ReactNode;
|
|
708
857
|
}
|
|
709
|
-
declare function CollapsiblePanel({ title, children, defaultOpen, className, }: CollapsiblePanelProps): react_jsx_runtime.JSX.Element;
|
|
858
|
+
declare function CollapsiblePanel({ title, label, keyword, children, defaultOpen, className, direction, triggerPosition, minWidth, minHeight, triggerClassName, contentClassName, customTrigger, }: CollapsiblePanelProps): react_jsx_runtime.JSX.Element;
|
|
710
859
|
|
|
711
860
|
declare function ResizablePanelGroup({ className, ...props }: React$1.ComponentProps<typeof ResizablePrimitive.PanelGroup>): react_jsx_runtime.JSX.Element;
|
|
712
861
|
declare function ResizablePanel({ ...props }: React$1.ComponentProps<typeof ResizablePrimitive.Panel>): react_jsx_runtime.JSX.Element;
|
|
@@ -839,8 +988,8 @@ declare function useThemeToggle(): {
|
|
|
839
988
|
* Theme Configuration
|
|
840
989
|
* Registry of all available themes organized by category
|
|
841
990
|
*
|
|
842
|
-
* Base themes are defined here.
|
|
843
|
-
*
|
|
991
|
+
* Base themes are defined here. For custom themes, use registerTheme() to add them.
|
|
992
|
+
* Create theme files in public/tokens/themes/{category}/{themeId}.json and register them.
|
|
844
993
|
*/
|
|
845
994
|
type ThemeMetadata = {
|
|
846
995
|
name: string;
|
|
@@ -865,14 +1014,33 @@ type ThemeCategory = {
|
|
|
865
1014
|
declare const THEME_CATEGORY_ORDER: readonly ["color", "typography", "shape", "density", "animation", "custom"];
|
|
866
1015
|
/**
|
|
867
1016
|
* Register a custom theme dynamically
|
|
868
|
-
*
|
|
869
|
-
*
|
|
1017
|
+
* Use this to add custom themes after creating theme files in public/tokens/themes/
|
|
1018
|
+
*
|
|
1019
|
+
* Example:
|
|
1020
|
+
* ```ts
|
|
1021
|
+
* import { registerTheme } from 'shru-design-system'
|
|
1022
|
+
*
|
|
1023
|
+
* // After creating public/tokens/themes/color/ocean.json
|
|
1024
|
+
* registerTheme('color', 'ocean', {
|
|
1025
|
+
* name: 'Ocean',
|
|
1026
|
+
* file: 'color/ocean.json',
|
|
1027
|
+
* icon: '🌊',
|
|
1028
|
+
* description: 'Ocean color theme'
|
|
1029
|
+
* })
|
|
1030
|
+
* ```
|
|
870
1031
|
*/
|
|
871
1032
|
declare function registerTheme(category: string, themeId: string, metadata: ThemeMetadata): Record<string, ThemeCategory>;
|
|
872
1033
|
/**
|
|
873
1034
|
* Register a theme from a token file
|
|
874
|
-
* Helper function
|
|
875
|
-
*
|
|
1035
|
+
* Helper function that loads the theme file and registers it automatically
|
|
1036
|
+
*
|
|
1037
|
+
* Example:
|
|
1038
|
+
* ```ts
|
|
1039
|
+
* import { registerThemeFromFile } from 'shru-design-system'
|
|
1040
|
+
*
|
|
1041
|
+
* // After creating public/tokens/themes/color/ocean.json
|
|
1042
|
+
* await registerThemeFromFile('color', 'ocean')
|
|
1043
|
+
* ```
|
|
876
1044
|
*/
|
|
877
1045
|
declare function registerThemeFromFile(category: string, themeId: string, filePath?: string): Promise<{
|
|
878
1046
|
success: boolean;
|
|
@@ -922,4 +1090,4 @@ declare function getCurrentCSSVariables(): Record<string, string>;
|
|
|
922
1090
|
*/
|
|
923
1091
|
declare function applyThemeSync(): void;
|
|
924
1092
|
|
|
925
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, Box, type BoxProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent, CollapsiblePanel, type CollapsiblePanelProps, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfirmModal, type ConfirmModalProps, Container, type ContainerProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, type CopyButtonProps, 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, EmptyScreen, type EmptyScreenProps, EmptyTitle, ErrorBoundary, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Footer, type FooterProps, Form, FormControl, FormDescription, FormField, FormInput, type FormInputProps, FormItem, FormLabel, FormMessage, FormModal, type FormModalProps, Grid, type GridProps, Header, type HeaderProps, HistoryControlButtons, type HistoryControlButtonsProps, HoverCard, HoverCardContent, HoverCardTrigger, Image, type ImageProps, InfoBanner, type InfoBannerProps, InlineEdit, type InlineEditProps, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Kbd, KbdGroup, Label, List, type ListProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Modal, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalOverlay, ModalPortal, ModalTitle, ModalTrigger, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, Radio, RadioItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ResizeContainer, type ResizeContainerProps, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, 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, Snackbar, type SnackbarProps, Spinner, Stack, type StackProps, StatusText, type StatusTextProps, Stepper, type StepperProps, Switch, THEME_CATEGORY_ORDER, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Text, TextInput, type TextProps, Textarea, type ThemeMetadata$1 as ThemeMetadata, type ThemeSelection, ThemeToggle, type ThemeToggleProps, Toast, type ToastProps, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TriggerModal, type TriggerModalProps, Upload, type UploadProps, alertVariants, applyThemeSync, badgeVariants, buttonVariants, emptyMediaVariants, enableDebugMode, fieldVariants, getCurrentCSSVariables, getTheme, getThemeCategories, getThemeFilePath, getThemesForCategory, navigationMenuTriggerStyle, registerTheme, registerThemeFromFile, toggleVariants, useChart, useFormField, useSidebar, useTheme, useThemeToggle };
|
|
1093
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, Box, type BoxProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent, CollapsiblePanel, type CollapsiblePanelProps, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfirmModal, type ConfirmModalProps, Container, type ContainerProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, type CopyButtonProps, 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, EmptyScreen, type EmptyScreenProps, EmptyTitle, ErrorBoundary, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Footer, type FooterProps, Form, FormControl, FormDescription, FormField, type FormFieldConfig, type FormFieldType, FormInput, type FormInputProps, type FormInputType, FormItem, FormLabel, FormMessage, FormModal, type FormModalProps, Grid, type GridProps, Header, type HeaderProps, HistoryControlButtons, type HistoryControlButtonsProps, HoverCard, HoverCardContent, HoverCardTrigger, Image, type ImageProps, InfoBanner, type InfoBannerProps, InlineEdit, type InlineEditProps, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Kbd, KbdGroup, Label, List, type ListProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Modal, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalOverlay, ModalPortal, ModalTitle, ModalTrigger, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, Radio, RadioItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ResizeContainer, type ResizeContainerProps, ScrollArea, ScrollBar, SearchInput, type SearchInputProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, SkeletonGrid, type SkeletonGridProps, SkeletonText, type SkeletonTextProps, Slider, Snackbar, type SnackbarProps, Spinner, Stack, type StackProps, StatusText, type StatusTextProps, Stepper, type StepperProps, Switch, THEME_CATEGORY_ORDER, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Text, TextInput, type TextProps, Textarea, type ThemeMetadata$1 as ThemeMetadata, type ThemeSelection, ThemeToggle, type ThemeToggleProps, Toast, type ToastProps, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TriggerModal, type TriggerModalProps, Upload, type UploadProps, alertVariants, applyThemeSync, badgeVariants, buttonVariants, emptyMediaVariants, enableDebugMode, fieldVariants, getCurrentCSSVariables, getTheme, getThemeCategories, getThemeFilePath, getThemesForCategory, navigationMenuTriggerStyle, registerTheme, registerThemeFromFile, toggleVariants, useChart, useFormField, useSidebar, useTheme, useThemeToggle };
|