bsm-design-system 1.22.0 → 1.22.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/index.d.mts CHANGED
@@ -582,70 +582,6 @@ declare namespace SmartSheet {
582
582
  var Footer: typeof SheetFooter;
583
583
  }
584
584
 
585
- type SingleSelectValueType = string | null;
586
- type MultiSelectValueType = string[];
587
- type SelectValue = string | number;
588
-
589
- type SelectOptionType<T extends object = {}> = {
590
- label: string;
591
- value: SelectValue;
592
- } & T;
593
-
594
- interface BaseSelectProps {
595
- className?: string;
596
- rounded?: boolean;
597
- options: SelectOptionType[];
598
- onSearch?: (text: string) => void;
599
- placeholder?: string;
600
- emptyText?: string;
601
- searchable?: boolean;
602
- error?: boolean;
603
- loading?: boolean;
604
- disabled?: boolean;
605
- readOnly?: boolean;
606
- asyncSearch?: boolean;
607
- clearable?: boolean;
608
- label?: string;
609
- hint?: string;
610
- helperText?: string;
611
- size?: "xs" | "sm" | "md" | "lg";
612
- scrollContent?: boolean;
613
- }
614
-
615
- interface SingleSelectProps extends BaseSelectProps {
616
- mode?: "select"; // default
617
- value: SelectValue | null;
618
- onChange: (v: SelectValue | null, opt?: SelectOptionType) => void;
619
- }
620
-
621
- interface MultiSelectProps extends BaseSelectProps {
622
- mode: "multi";
623
- value: SelectValue[] | [];
624
- onChange: (v: SelectValue[]) => void;
625
- }
626
-
627
- type SelectProps = SingleSelectProps | MultiSelectProps;
628
-
629
- declare function Select(props: SingleSelectProps): JSX.Element;
630
- declare function Select(props: MultiSelectProps): JSX.Element;
631
- declare function Select({ mode, options, value, className, onChange, onSearch, searchable, loading, label, hint, helperText, error, disabled, rounded, readOnly, size, asyncSearch, scrollContent, clearable, placeholder, emptyText, }: SelectProps): react_jsx_runtime.JSX.Element;
632
-
633
- declare function Tooltip({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime.JSX.Element;
634
- declare namespace Tooltip {
635
- var Trigger: typeof TooltipTrigger;
636
- var Content: typeof TooltipContent;
637
- }
638
- declare function TooltipTrigger({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
639
- declare function TooltipContent({ className, sideOffset, children, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime.JSX.Element;
640
-
641
- declare function Popover({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Root>): react_jsx_runtime.JSX.Element;
642
- declare namespace Popover {
643
- var Trigger: typeof PopoverTrigger$1;
644
- var Content: typeof PopoverContent$1;
645
- }
646
- declare function PopoverTrigger$1({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
647
- declare function PopoverContent$1({ className, align, sideOffset, ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Content>): react_jsx_runtime.JSX.Element;
648
-
649
585
  declare const AccordionTriggerVariants: tailwind_variants.TVReturnType<{
650
586
  separate: {
651
587
  true: string;
@@ -684,31 +620,6 @@ interface AccordionProps {
684
620
  onChange?: (v: string | strin[]) => void;
685
621
  }
686
622
 
687
- declare function Accordion({ className, separate, variant, collapsible, type, onChange, iconPosition, ...props }: Omit<React$1.ComponentProps<typeof AccordionPrimitive.Root>, "type" | "onValueChange" | "onChange"> & AccordionProps): react_jsx_runtime.JSX.Element;
688
- declare namespace Accordion {
689
- var Item: typeof AccordionItem;
690
- var Trigger: typeof AccordionTrigger;
691
- var Content: typeof AccordionContent;
692
- }
693
- declare function AccordionItem({ className, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Item>): react_jsx_runtime.JSX.Element;
694
- declare function AccordionTrigger({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
695
- declare function AccordionContent({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Content>): react_jsx_runtime.JSX.Element;
696
-
697
- type PaginationProps = {
698
- className?: string;
699
- totalItems: number;
700
- initialPage?: number;
701
- pageSize?: number;
702
- pageSizeOptions?: number[];
703
- siblings?: number;
704
- onPageChange?: (page: number, pageSize: number) => void;
705
- showPageSizeSelector?: boolean;
706
- showPageInfo?: boolean;
707
- rounded?: boolean;
708
- };
709
-
710
- declare function Pagination({ totalItems, initialPage, pageSize, pageSizeOptions, siblings, onPageChange, className, showPageSizeSelector, showPageInfo, rounded, }: PaginationProps): react_jsx_runtime.JSX.Element;
711
-
712
623
  declare const chipsVariants: tailwind_variants.TVReturnType<{
713
624
  variant: {
714
625
  default: string;
@@ -757,7 +668,27 @@ interface ChipsType {
757
668
  onClick?: () => void;
758
669
  }
759
670
 
760
- declare function Badge({ label, icon, className, rounded, variant, disabled, onClose, onClick, }: ChipsType): react_jsx_runtime.JSX.Element;
671
+ type PaginationProps = {
672
+ className?: string;
673
+ totalItems: number;
674
+ initialPage?: number;
675
+ pageSize?: number;
676
+ pageSizeOptions?: number[];
677
+ siblings?: number;
678
+ onPageChange?: (page: number, pageSize: number) => void;
679
+ showPageSizeSelector?: boolean;
680
+ showPageInfo?: boolean;
681
+ rounded?: boolean;
682
+ };
683
+
684
+ type PopoverProps = React.ComponentProps<typeof PopoverPrimitive.Root>;
685
+ type PopoverTrigger$1 = React.ComponentProps<
686
+ typeof PopoverPrimitive.Trigger
687
+ >;
688
+
689
+ type PopoverContent$1 = React.ComponentProps<
690
+ typeof PopoverPrimitive.Content
691
+ >;
761
692
 
762
693
  declare const tagVariants: tailwind_variants.TVReturnType<{
763
694
  variant: {
@@ -835,76 +766,6 @@ interface TagType {
835
766
  variant?: TagVariantsType;
836
767
  }
837
768
 
838
- declare function Tag({ label, icon, className, rounded, variant, borderLess, }: TagType): react_jsx_runtime.JSX.Element;
839
-
840
- declare function Panel({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
841
- declare const Table: {
842
- ({ children, align, separated, bordered, heigthClassName, }: {
843
- children: React.ReactNode;
844
- align?: "right" | "left" | "center";
845
- separated?: boolean;
846
- bordered?: boolean;
847
- heigthClassName?: string;
848
- }): react_jsx_runtime.JSX.Element;
849
- Row: typeof Row;
850
- Header: ({ children, className, }: {
851
- children: React.ReactNode;
852
- className?: string;
853
- }) => react_jsx_runtime.JSX.Element;
854
- Body: ({ children }: {
855
- children: React.ReactNode;
856
- }) => react_jsx_runtime.JSX.Element;
857
- Footer: ({ children, className, }: {
858
- children: React.ReactNode;
859
- className?: string;
860
- }) => react_jsx_runtime.JSX.Element;
861
- Panel: typeof Panel;
862
- Cell: typeof Cell;
863
- Head: typeof Head;
864
- Container: ({ children, className, }: {
865
- children: React.ReactNode;
866
- className?: string;
867
- }) => react_jsx_runtime.JSX.Element;
868
- Caption: typeof Caption;
869
- };
870
- declare function Row({ className, ...props }: React.ComponentProps<"tr">): react_jsx_runtime.JSX.Element;
871
- declare function Head({ className, ...props }: React.ComponentProps<"th">): react_jsx_runtime.JSX.Element;
872
- declare function Cell({ className, ...props }: React.ComponentProps<"td">): react_jsx_runtime.JSX.Element;
873
- declare function Caption({ className, ...props }: React.ComponentProps<"caption">): react_jsx_runtime.JSX.Element;
874
-
875
- declare function DropdownMenu({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Root>): react_jsx_runtime.JSX.Element;
876
- declare namespace DropdownMenu {
877
- var Portal: typeof DropdownMenuPortal;
878
- var Trigger: typeof DropdownMenuTrigger;
879
- var Content: typeof DropdownMenuContent;
880
- var Group: typeof DropdownMenuGroup;
881
- var Label: typeof DropdownMenuLabel;
882
- var Item: typeof DropdownMenuItem;
883
- var Separator: typeof DropdownMenuSeparator;
884
- var Shortcut: typeof DropdownMenuShortcut;
885
- var Sub: typeof DropdownMenuSub;
886
- var SubTrigger: typeof DropdownMenuSubTrigger;
887
- var SubContent: typeof DropdownMenuSubContent;
888
- }
889
- declare function DropdownMenuPortal({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Portal>): react_jsx_runtime.JSX.Element;
890
- declare function DropdownMenuTrigger({ asChild, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
891
- declare function DropdownMenuContent({ className, sideOffset, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Content>): react_jsx_runtime.JSX.Element;
892
- declare function DropdownMenuGroup({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Group>): react_jsx_runtime.JSX.Element;
893
- declare function DropdownMenuItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
894
- inset?: boolean;
895
- variant?: "default" | "destructive";
896
- }): react_jsx_runtime.JSX.Element;
897
- declare function DropdownMenuLabel({ className, inset, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
898
- inset?: boolean;
899
- }): react_jsx_runtime.JSX.Element;
900
- declare function DropdownMenuSeparator({ className, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Separator>): react_jsx_runtime.JSX.Element;
901
- declare function DropdownMenuShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
902
- declare function DropdownMenuSub({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Sub>): react_jsx_runtime.JSX.Element;
903
- declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
904
- inset?: boolean;
905
- }): react_jsx_runtime.JSX.Element;
906
- declare function DropdownMenuSubContent({ className, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): react_jsx_runtime.JSX.Element;
907
-
908
769
  declare const tabsListVariants: tailwind_variants.TVReturnType<{
909
770
  variant: {
910
771
  filled: string;
@@ -962,16 +823,6 @@ interface TabsType {
962
823
  fullWidth?: boolean;
963
824
  }
964
825
 
965
- declare function Tabs({ className, onChange, variant, size, fullWidth, ...props }: Omit<React$1.ComponentProps<typeof TabsPrimitive.Root>, "onChange" | "onValueChange"> & TabsType): react_jsx_runtime.JSX.Element;
966
- declare namespace Tabs {
967
- var List: typeof TabsList;
968
- var Trigger: typeof TabsTrigger;
969
- var Content: typeof TabsContent;
970
- }
971
- declare function TabsList({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.List>): react_jsx_runtime.JSX.Element;
972
- declare function TabsTrigger({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
973
- declare function TabsContent({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.Content>): react_jsx_runtime.JSX.Element;
974
-
975
826
  type InputRule =
976
827
  | {format: string; maxLength?: never}
977
828
  | {maxLength: number; format?: never};
@@ -991,32 +842,25 @@ type OTPProps = Omit<
991
842
  } & contextType &
992
843
  InputRule;
993
844
 
994
- declare function InputOTP({ className, containerClassName, separate, withPlaceholder, placeholderChar, group, format, maxLength, pattern, ...props }: OTPProps): react_jsx_runtime.JSX.Element;
995
-
996
- type MenuItem = {
997
- key: string;
998
- label: string;
999
- icon?: React.ReactNode;
1000
- onClick?: () => void;
1001
- children?: MenuItem[];
1002
- };
1003
- type Props = {
1004
- items: MenuItem[];
1005
- activeKey?: string;
1006
- level?: number;
1007
- };
1008
- declare function NestedAccordionMenu({ items, activeKey, level, }: Props): react_jsx_runtime.JSX.Element;
1009
-
1010
- declare function Skeleton({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1011
-
1012
- type PopoverProps = React.ComponentProps<typeof PopoverPrimitive.Root>;
1013
- type PopoverTrigger = React.ComponentProps<
1014
- typeof PopoverPrimitive.Trigger
1015
- >;
845
+ interface StepItem {
846
+ id: number;
847
+ label: string;
848
+ caption?: string;
849
+ disabled?: boolean;
850
+ icon?: React.ReactNode;
851
+ }
1016
852
 
1017
- type PopoverContent = React.ComponentProps<
1018
- typeof PopoverPrimitive.Content
1019
- >;
853
+ type ConnectorType = "dashed" | "solid";
854
+ interface StepperProps {
855
+ steps: StepItem[];
856
+ activeStep: number;
857
+ onChange?: (id: number) => void;
858
+ orientation?: OrientationType;
859
+ className?: string;
860
+ clickable?: boolean;
861
+ dotStyle?: boolean;
862
+ connector?: ConnectorType;
863
+ }
1020
864
 
1021
865
  declare const alertVariants: tailwind_variants.TVReturnType<{
1022
866
  type: {
@@ -1094,25 +938,189 @@ type StateAction<T> = () => void | React.Dispatch<
1094
938
  React.SetStateAction<T>
1095
939
  >;
1096
940
 
1097
- interface StepItem {
1098
- id: number;
941
+ type SingleSelectValueType = string | null;
942
+ type MultiSelectValueType = string[];
943
+ type SelectValue = string | number | undefined;
944
+
945
+ type SelectOptionType<T extends object = {}> = {
1099
946
  label: string;
1100
- caption?: string;
947
+ value: SelectValue;
948
+ } & T;
949
+
950
+ interface BaseSelectProps {
951
+ className?: string;
952
+ rounded?: boolean;
953
+ options: SelectOptionType[];
954
+ onSearch?: (text: string) => void;
955
+ placeholder?: string;
956
+ emptyText?: string;
957
+ searchable?: boolean;
958
+ error?: boolean;
959
+ loading?: boolean;
1101
960
  disabled?: boolean;
1102
- icon?: React.ReactNode;
961
+ readOnly?: boolean;
962
+ asyncSearch?: boolean;
963
+ clearable?: boolean;
964
+ label?: string;
965
+ hint?: string;
966
+ helperText?: string;
967
+ size?: "xs" | "sm" | "md" | "lg";
968
+ scrollContent?: boolean;
1103
969
  }
1104
970
 
1105
- type ConnectorType = "dashed" | "solid";
1106
- interface StepperProps {
1107
- steps: StepItem[];
1108
- activeStep: number;
1109
- onChange?: (id: number) => void;
1110
- orientation?: OrientationType;
1111
- className?: string;
1112
- clickable?: boolean;
1113
- dotStyle?: boolean;
1114
- connector?: ConnectorType;
971
+ type OnChangeHandlerType<T extends SelectValue> =
972
+ | ((value: T, opt?: SelectOptionType<T>) => void)
973
+ | React.Dispatch<React.SetStateAction<T>>;
974
+
975
+ type OnChangeHandlerMultiType<T extends SelectValue> =
976
+ | ((v: SelectValue[]) => void)
977
+ | React.Dispatch<React.SetStateAction<T>>;
978
+
979
+ interface SingleSelectProps extends BaseSelectProps {
980
+ mode?: "select"; // default
981
+ value: SelectValue;
982
+ onChange: OnChangeHandlerType;
983
+ }
984
+
985
+ interface MultiSelectProps extends BaseSelectProps {
986
+ mode: "multi";
987
+ value: SelectValue[] | [];
988
+ onChange: OnChangeHandlerMultiType;
989
+ }
990
+
991
+ type SelectProps = SingleSelectProps | MultiSelectProps;
992
+
993
+ declare function Select(props: SingleSelectProps): JSX.Element;
994
+ declare function Select(props: MultiSelectProps): JSX.Element;
995
+ declare function Select({ mode, options, value, className, onChange, onSearch, searchable, loading, label, hint, helperText, error, disabled, rounded, readOnly, size, asyncSearch, scrollContent, clearable, placeholder, emptyText, }: SelectProps): react_jsx_runtime.JSX.Element;
996
+
997
+ declare function Tooltip({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime.JSX.Element;
998
+ declare namespace Tooltip {
999
+ var Trigger: typeof TooltipTrigger;
1000
+ var Content: typeof TooltipContent;
1001
+ }
1002
+ declare function TooltipTrigger({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
1003
+ declare function TooltipContent({ className, sideOffset, children, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime.JSX.Element;
1004
+
1005
+ declare function Popover({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Root>): react_jsx_runtime.JSX.Element;
1006
+ declare namespace Popover {
1007
+ var Trigger: typeof PopoverTrigger;
1008
+ var Content: typeof PopoverContent;
1009
+ }
1010
+ declare function PopoverTrigger({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
1011
+ declare function PopoverContent({ className, align, sideOffset, ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Content>): react_jsx_runtime.JSX.Element;
1012
+
1013
+ declare function Accordion({ className, separate, variant, collapsible, type, onChange, iconPosition, ...props }: Omit<React$1.ComponentProps<typeof AccordionPrimitive.Root>, "type" | "onValueChange" | "onChange"> & AccordionProps): react_jsx_runtime.JSX.Element;
1014
+ declare namespace Accordion {
1015
+ var Item: typeof AccordionItem;
1016
+ var Trigger: typeof AccordionTrigger;
1017
+ var Content: typeof AccordionContent;
1018
+ }
1019
+ declare function AccordionItem({ className, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Item>): react_jsx_runtime.JSX.Element;
1020
+ declare function AccordionTrigger({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
1021
+ declare function AccordionContent({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Content>): react_jsx_runtime.JSX.Element;
1022
+
1023
+ declare function Pagination({ totalItems, initialPage, pageSize, pageSizeOptions, siblings, onPageChange, className, showPageSizeSelector, showPageInfo, rounded, }: PaginationProps): react_jsx_runtime.JSX.Element;
1024
+
1025
+ declare function Badge({ label, icon, className, rounded, variant, disabled, onClose, onClick, }: ChipsType): react_jsx_runtime.JSX.Element;
1026
+
1027
+ declare function Tag({ label, icon, className, rounded, variant, borderLess, }: TagType): react_jsx_runtime.JSX.Element;
1028
+
1029
+ declare function Panel({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1030
+ declare const Table: {
1031
+ ({ children, align, separated, bordered, heigthClassName, }: {
1032
+ children: React.ReactNode;
1033
+ align?: "right" | "left" | "center";
1034
+ separated?: boolean;
1035
+ bordered?: boolean;
1036
+ heigthClassName?: string;
1037
+ }): react_jsx_runtime.JSX.Element;
1038
+ Row: typeof Row;
1039
+ Header: ({ children, className, }: {
1040
+ children: React.ReactNode;
1041
+ className?: string;
1042
+ }) => react_jsx_runtime.JSX.Element;
1043
+ Body: ({ children }: {
1044
+ children: React.ReactNode;
1045
+ }) => react_jsx_runtime.JSX.Element;
1046
+ Footer: ({ children, className, }: {
1047
+ children: React.ReactNode;
1048
+ className?: string;
1049
+ }) => react_jsx_runtime.JSX.Element;
1050
+ Panel: typeof Panel;
1051
+ Cell: typeof Cell;
1052
+ Head: typeof Head;
1053
+ Container: ({ children, className, }: {
1054
+ children: React.ReactNode;
1055
+ className?: string;
1056
+ }) => react_jsx_runtime.JSX.Element;
1057
+ Caption: typeof Caption;
1058
+ };
1059
+ declare function Row({ className, ...props }: React.ComponentProps<"tr">): react_jsx_runtime.JSX.Element;
1060
+ declare function Head({ className, ...props }: React.ComponentProps<"th">): react_jsx_runtime.JSX.Element;
1061
+ declare function Cell({ className, ...props }: React.ComponentProps<"td">): react_jsx_runtime.JSX.Element;
1062
+ declare function Caption({ className, ...props }: React.ComponentProps<"caption">): react_jsx_runtime.JSX.Element;
1063
+
1064
+ declare function DropdownMenu({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Root>): react_jsx_runtime.JSX.Element;
1065
+ declare namespace DropdownMenu {
1066
+ var Portal: typeof DropdownMenuPortal;
1067
+ var Trigger: typeof DropdownMenuTrigger;
1068
+ var Content: typeof DropdownMenuContent;
1069
+ var Group: typeof DropdownMenuGroup;
1070
+ var Label: typeof DropdownMenuLabel;
1071
+ var Item: typeof DropdownMenuItem;
1072
+ var Separator: typeof DropdownMenuSeparator;
1073
+ var Shortcut: typeof DropdownMenuShortcut;
1074
+ var Sub: typeof DropdownMenuSub;
1075
+ var SubTrigger: typeof DropdownMenuSubTrigger;
1076
+ var SubContent: typeof DropdownMenuSubContent;
1077
+ }
1078
+ declare function DropdownMenuPortal({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Portal>): react_jsx_runtime.JSX.Element;
1079
+ declare function DropdownMenuTrigger({ asChild, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
1080
+ declare function DropdownMenuContent({ className, sideOffset, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Content>): react_jsx_runtime.JSX.Element;
1081
+ declare function DropdownMenuGroup({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Group>): react_jsx_runtime.JSX.Element;
1082
+ declare function DropdownMenuItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
1083
+ inset?: boolean;
1084
+ variant?: "default" | "destructive";
1085
+ }): react_jsx_runtime.JSX.Element;
1086
+ declare function DropdownMenuLabel({ className, inset, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
1087
+ inset?: boolean;
1088
+ }): react_jsx_runtime.JSX.Element;
1089
+ declare function DropdownMenuSeparator({ className, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Separator>): react_jsx_runtime.JSX.Element;
1090
+ declare function DropdownMenuShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
1091
+ declare function DropdownMenuSub({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Sub>): react_jsx_runtime.JSX.Element;
1092
+ declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
1093
+ inset?: boolean;
1094
+ }): react_jsx_runtime.JSX.Element;
1095
+ declare function DropdownMenuSubContent({ className, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): react_jsx_runtime.JSX.Element;
1096
+
1097
+ declare function Tabs({ className, onChange, variant, size, fullWidth, ...props }: Omit<React$1.ComponentProps<typeof TabsPrimitive.Root>, "onChange" | "onValueChange"> & TabsType): react_jsx_runtime.JSX.Element;
1098
+ declare namespace Tabs {
1099
+ var List: typeof TabsList;
1100
+ var Trigger: typeof TabsTrigger;
1101
+ var Content: typeof TabsContent;
1115
1102
  }
1103
+ declare function TabsList({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.List>): react_jsx_runtime.JSX.Element;
1104
+ declare function TabsTrigger({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
1105
+ declare function TabsContent({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.Content>): react_jsx_runtime.JSX.Element;
1106
+
1107
+ declare function InputOTP({ className, containerClassName, separate, withPlaceholder, placeholderChar, group, format, maxLength, pattern, ...props }: OTPProps): react_jsx_runtime.JSX.Element;
1108
+
1109
+ type MenuItem = {
1110
+ key: string;
1111
+ label: string;
1112
+ icon?: React.ReactNode;
1113
+ onClick?: () => void;
1114
+ children?: MenuItem[];
1115
+ };
1116
+ type Props = {
1117
+ items: MenuItem[];
1118
+ activeKey?: string;
1119
+ level?: number;
1120
+ };
1121
+ declare function NestedAccordionMenu({ items, activeKey, level, }: Props): react_jsx_runtime.JSX.Element;
1122
+
1123
+ declare function Skeleton({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
1116
1124
 
1117
1125
  declare function Stepper({ steps, activeStep, onChange, orientation, className, clickable, dotStyle, connector, }: StepperProps): react_jsx_runtime.JSX.Element;
1118
1126
 
@@ -1138,4 +1146,4 @@ declare const isNoSpace: (value: string) => boolean;
1138
1146
 
1139
1147
  declare const toEnglishDigits: (value: string) => string;
1140
1148
 
1141
- export { Accordion, type AccordionProps, type AccordionVariant, Alert, type AlertProps, type AlertTypes, type AlertVariants, DynamicBreadcrumb as Breadcrumb, type BreadcrumbItemType, type BreadcrumbProps, Button, type ButtonColors, type ButtonProps, type ButtonSize, type ButtonVariant, Card, Checkbox, type CheckboxProps, type CheckboxSize, Badge as Chips, type ChipsType, type ChipsVariantType, SmartDialog as Dialog, type DialogHeaderBarProps, type SmartDialogProps as DialogProps, type DialogSize, SmartSheet as Drawer, type DrawerHeader, type DrawerProps, type DrawerSide, DropdownMenu, type IconType, Input, InputOTP, type InputProps, type InputSize, NestedAccordionMenu as ListMenu, type MultiSelectProps, type MultiSelectValueType, type OTPProps, type OrientationType, Pagination, type PaginationProps, Popover, type PopoverContent, type PopoverProps, type PopoverTrigger, RULES, RadioGroup, type RadioItemProps, type RadioProps, type RadioSize, ScrollArea, SegmentButton, type SegmentButtonSize, type SegmentButtonType, Select, type SelectOptionType, type SelectProps, type SingleSelectProps, type SingleSelectValueType, Skeleton, type StateAction, type StepItem, Stepper, type StepperProps, Switch, type SwitchProps, type SwitchSize, Table, Tabs, type TabsContentProps, type TabsListProps, type TabsProps, type TabsSize, type TabsTriggerProps, type TabsVariants, Tag, type TagType, type TagVariantsType, Tooltip, isNoSpace, isOnlyChars, isOnlyDigits, isOnlyDigitsAndChars, toEnglishDigits };
1149
+ export { Accordion, type AccordionProps, type AccordionVariant, Alert, type AlertProps, type AlertTypes, type AlertVariants, DynamicBreadcrumb as Breadcrumb, type BreadcrumbItemType, type BreadcrumbProps, Button, type ButtonColors, type ButtonProps, type ButtonSize, type ButtonVariant, Card, Checkbox, type CheckboxProps, type CheckboxSize, Badge as Chips, type ChipsType, type ChipsVariantType, SmartDialog as Dialog, type DialogHeaderBarProps, type SmartDialogProps as DialogProps, type DialogSize, SmartSheet as Drawer, type DrawerHeader, type DrawerProps, type DrawerSide, DropdownMenu, type IconType, Input, InputOTP, type InputProps, type InputSize, NestedAccordionMenu as ListMenu, type MultiSelectProps, type MultiSelectValueType, type OTPProps, type OrientationType, Pagination, type PaginationProps, Popover, type PopoverContent$1 as PopoverContent, type PopoverProps, type PopoverTrigger$1 as PopoverTrigger, RULES, RadioGroup, type RadioItemProps, type RadioProps, type RadioSize, ScrollArea, SegmentButton, type SegmentButtonSize, type SegmentButtonType, Select, type SelectOptionType, type SelectProps, type SingleSelectProps, type SingleSelectValueType, Skeleton, type StateAction, type StepItem, Stepper, type StepperProps, Switch, type SwitchProps, type SwitchSize, Table, Tabs, type TabsContentProps, type TabsListProps, type TabsProps, type TabsSize, type TabsTriggerProps, type TabsVariants, Tag, type TagType, type TagVariantsType, Tooltip, isNoSpace, isOnlyChars, isOnlyDigits, isOnlyDigitsAndChars, toEnglishDigits };