@min98/ui 1.3.39 → 1.3.41
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/lib/index.cjs +304 -302
- package/lib/index.d.cts +33 -18
- package/lib/index.d.ts +33 -18
- package/lib/index.js +29 -29
- package/package.json +1 -1
package/lib/index.d.cts
CHANGED
|
@@ -474,6 +474,24 @@ declare const DrawerFooter: {
|
|
|
474
474
|
declare const DrawerTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
475
475
|
declare const DrawerDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
476
476
|
|
|
477
|
+
declare const generateArray: (start: number, end: number, step: number) => number[];
|
|
478
|
+
|
|
479
|
+
declare const cn: (...inputs: ClassValue$1[]) => string;
|
|
480
|
+
|
|
481
|
+
declare function useForwardedRef<T>(ref: React__default.ForwardedRef<T>): React__default.RefObject<T>;
|
|
482
|
+
|
|
483
|
+
declare function useMediaQuery(query: string): boolean;
|
|
484
|
+
|
|
485
|
+
declare const useDebounce: (fn: () => void, waitTime: number, deps?: React__default.DependencyList) => void;
|
|
486
|
+
|
|
487
|
+
declare const useDelay: (fn: () => void, delayTime: number, deps?: React__default.DependencyList) => void;
|
|
488
|
+
|
|
489
|
+
declare const useRepeat: (fn: () => void, interval: number, deps?: React__default.DependencyList) => void;
|
|
490
|
+
|
|
491
|
+
declare const colorVariants: (props?: ({
|
|
492
|
+
color?: "default" | "dark" | "light" | "primary" | "secondary" | "success" | "info" | "warning" | "danger" | "primary-light" | "secondary-light" | "success-light" | "info-light" | "warning-light" | "danger-light" | null | undefined;
|
|
493
|
+
} & ClassProp) | undefined) => string;
|
|
494
|
+
|
|
477
495
|
type Number = "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
|
478
496
|
|
|
479
497
|
type Size = "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl";
|
|
@@ -683,7 +701,10 @@ declare const Popover: React$1.FC<PopoverPrimitive.PopoverProps>;
|
|
|
683
701
|
declare const PopoverTrigger: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
684
702
|
declare const PopoverContent: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
685
703
|
|
|
686
|
-
|
|
704
|
+
interface ProgressProps extends React$1.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root>, VariantProps<typeof colorVariants> {
|
|
705
|
+
color?: Color;
|
|
706
|
+
}
|
|
707
|
+
declare const Progress: React$1.ForwardRefExoticComponent<ProgressProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
687
708
|
|
|
688
709
|
declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
689
710
|
declare const RadioGroupItem: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -702,20 +723,6 @@ declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrim
|
|
|
702
723
|
|
|
703
724
|
declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
704
725
|
|
|
705
|
-
declare const generateArray: (step: number) => string[];
|
|
706
|
-
|
|
707
|
-
declare const cn: (...inputs: ClassValue$1[]) => string;
|
|
708
|
-
|
|
709
|
-
declare function useForwardedRef<T>(ref: React__default.ForwardedRef<T>): React__default.RefObject<T>;
|
|
710
|
-
|
|
711
|
-
declare function useMediaQuery(query: string): boolean;
|
|
712
|
-
|
|
713
|
-
declare const useDebounce: (fn: () => void, waitTime: number, deps?: React__default.DependencyList) => void;
|
|
714
|
-
|
|
715
|
-
declare const useDelay: (fn: () => void, delayTime: number, deps?: React__default.DependencyList) => void;
|
|
716
|
-
|
|
717
|
-
declare const useRepeat: (fn: () => void, interval: number, deps?: React__default.DependencyList) => void;
|
|
718
|
-
|
|
719
726
|
declare const Sheet: React$1.FC<DialogPrimitive.DialogProps>;
|
|
720
727
|
declare const SheetTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
721
728
|
declare const SheetClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -756,6 +763,8 @@ declare const Skeleton: {
|
|
|
756
763
|
|
|
757
764
|
declare const Slider: React$1.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
758
765
|
|
|
766
|
+
declare const DualSlider: React$1.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
767
|
+
|
|
759
768
|
declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
760
769
|
|
|
761
770
|
declare const Table: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableElement> & React$1.RefAttributes<HTMLTableElement>>;
|
|
@@ -913,10 +922,10 @@ type OptionSelect = {
|
|
|
913
922
|
label?: string;
|
|
914
923
|
value?: string | number | boolean;
|
|
915
924
|
};
|
|
916
|
-
interface ComboBoxProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "value" | "onChange"> {
|
|
925
|
+
interface ComboBoxProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "value" | "onChange" | "title"> {
|
|
926
|
+
title?: string | React$1.ReactNode;
|
|
917
927
|
options?: OptionSelect[] | any;
|
|
918
928
|
value?: string | number | boolean;
|
|
919
|
-
placeholder?: string;
|
|
920
929
|
filter?: ((value: string, search: string) => number) | undefined;
|
|
921
930
|
onChange?: (value: any) => void;
|
|
922
931
|
response?: boolean;
|
|
@@ -1068,6 +1077,11 @@ type Action = {
|
|
|
1068
1077
|
icon?: React$1.ReactElement;
|
|
1069
1078
|
action?: (payload?: any) => void;
|
|
1070
1079
|
};
|
|
1080
|
+
type SettingPaginate = {
|
|
1081
|
+
start: number;
|
|
1082
|
+
end: number;
|
|
1083
|
+
step: number;
|
|
1084
|
+
};
|
|
1071
1085
|
interface DataTablePropsBase {
|
|
1072
1086
|
className?: string;
|
|
1073
1087
|
headerClass?: string;
|
|
@@ -1079,6 +1093,7 @@ interface DataTablePropsBase {
|
|
|
1079
1093
|
pageCount?: number;
|
|
1080
1094
|
manualPagination?: boolean;
|
|
1081
1095
|
onPagination?: (arg: any) => void;
|
|
1096
|
+
paginationSetting?: SettingPaginate;
|
|
1082
1097
|
onSelectRow?: (arg: any) => void;
|
|
1083
1098
|
actions?: Action[];
|
|
1084
1099
|
scrollable?: boolean;
|
|
@@ -1113,4 +1128,4 @@ declare const Filter: ({ column, table, }: {
|
|
|
1113
1128
|
}) => react_jsx_runtime.JSX.Element;
|
|
1114
1129
|
declare const DataTable: React$1.FC<DataTableWithPagination | DataTableWithoutPagination>;
|
|
1115
1130
|
|
|
1116
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, type Action, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, type AlertDialogProps, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, type ButtonGroupProps, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselButton, type CarouselButtonProps, CarouselContent, CarouselControl, type CarouselControlProps, CarouselDots, type CarouselDotsProps, CarouselItem, CarouselNext, type CarouselNextProps, CarouselPrevious, CarouselSelect, type CarouselSelectProps, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CircularSlider, type CircularSliderProps, Col, Collapsible, CollapsibleContent, CollapsibleTrigger, type Color, ComboBox, type ComboBoxProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuCustom, type ContextMenuCustomProps, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, type ContextMenuTypeProps, DataTable, type DataTablePropsBase, type DataTableWithPagination, type DataTableWithoutPagination, DatePicker, type DatePickerProps, DatePickerRange, type DatePickerRangeProps, DateTimePicker, type DateTimePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogModal, type DialogModalProps, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, Dropdown, type DropdownItem, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, type DropdownMenuProps, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Filter, Flex, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Grid, type Hour, HourFormat, type HourFormatProps, HourWheel, type HourWheelProps, type Hours, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputForm, type InputFormProps, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Label, Menu, MenuButton, type MenuButtonProps, MenuItem, type MenuItemProps, type MenuProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, type Minute, MinuteWheel, type MinuteWheelProps, Modal, MultipleSelect, type MultipleSelectProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, type Number, type OptionMultiSelect, type OptionSelect, Popover, PopoverContent, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, RenderContextMenuItem, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetCustom, type SheetCustomProps, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, type Side, Sidebar, type SidebarProps, type Size, Skeleton, Slider, SubMenu, type SubMenuProps, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, TimePicker, type TimePickerProps, TimePickerSelection, type TimePickerSelectionProps, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle, Tooltip, TooltipArrow, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger, type VariantProps, alertVariants, badgeVariants, buttonVariants, cn, cva, generateArray, navigationMenuTriggerStyle, toast, toggleVariants, useCarousel, useDebounce, useDelay, useFormField, useForwardedRef, useMediaQuery, usePagination, useRepeat, useSkipper, useToast };
|
|
1131
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, type Action, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, type AlertDialogProps, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, type ButtonGroupProps, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselButton, type CarouselButtonProps, CarouselContent, CarouselControl, type CarouselControlProps, CarouselDots, type CarouselDotsProps, CarouselItem, CarouselNext, type CarouselNextProps, CarouselPrevious, CarouselSelect, type CarouselSelectProps, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CircularSlider, type CircularSliderProps, Col, Collapsible, CollapsibleContent, CollapsibleTrigger, type Color, ComboBox, type ComboBoxProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuCustom, type ContextMenuCustomProps, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, type ContextMenuTypeProps, DataTable, type DataTablePropsBase, type DataTableWithPagination, type DataTableWithoutPagination, DatePicker, type DatePickerProps, DatePickerRange, type DatePickerRangeProps, DateTimePicker, type DateTimePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogModal, type DialogModalProps, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, Dropdown, type DropdownItem, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, type DropdownMenuProps, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DualSlider, Filter, Flex, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Grid, type Hour, HourFormat, type HourFormatProps, HourWheel, type HourWheelProps, type Hours, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputForm, type InputFormProps, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Label, Menu, MenuButton, type MenuButtonProps, MenuItem, type MenuItemProps, type MenuProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, type Minute, MinuteWheel, type MinuteWheelProps, Modal, MultipleSelect, type MultipleSelectProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, type Number, type OptionMultiSelect, type OptionSelect, Popover, PopoverContent, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, RenderContextMenuItem, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetCustom, type SheetCustomProps, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, type Side, Sidebar, type SidebarProps, type Size, Skeleton, Slider, SubMenu, type SubMenuProps, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, TimePicker, type TimePickerProps, TimePickerSelection, type TimePickerSelectionProps, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle, Tooltip, TooltipArrow, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger, type VariantProps, alertVariants, badgeVariants, buttonVariants, cn, colorVariants, cva, generateArray, navigationMenuTriggerStyle, toast, toggleVariants, useCarousel, useDebounce, useDelay, useFormField, useForwardedRef, useMediaQuery, usePagination, useRepeat, useSkipper, useToast };
|
package/lib/index.d.ts
CHANGED
|
@@ -474,6 +474,24 @@ declare const DrawerFooter: {
|
|
|
474
474
|
declare const DrawerTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
475
475
|
declare const DrawerDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
476
476
|
|
|
477
|
+
declare const generateArray: (start: number, end: number, step: number) => number[];
|
|
478
|
+
|
|
479
|
+
declare const cn: (...inputs: ClassValue$1[]) => string;
|
|
480
|
+
|
|
481
|
+
declare function useForwardedRef<T>(ref: React__default.ForwardedRef<T>): React__default.RefObject<T>;
|
|
482
|
+
|
|
483
|
+
declare function useMediaQuery(query: string): boolean;
|
|
484
|
+
|
|
485
|
+
declare const useDebounce: (fn: () => void, waitTime: number, deps?: React__default.DependencyList) => void;
|
|
486
|
+
|
|
487
|
+
declare const useDelay: (fn: () => void, delayTime: number, deps?: React__default.DependencyList) => void;
|
|
488
|
+
|
|
489
|
+
declare const useRepeat: (fn: () => void, interval: number, deps?: React__default.DependencyList) => void;
|
|
490
|
+
|
|
491
|
+
declare const colorVariants: (props?: ({
|
|
492
|
+
color?: "default" | "dark" | "light" | "primary" | "secondary" | "success" | "info" | "warning" | "danger" | "primary-light" | "secondary-light" | "success-light" | "info-light" | "warning-light" | "danger-light" | null | undefined;
|
|
493
|
+
} & ClassProp) | undefined) => string;
|
|
494
|
+
|
|
477
495
|
type Number = "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
|
478
496
|
|
|
479
497
|
type Size = "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl";
|
|
@@ -683,7 +701,10 @@ declare const Popover: React$1.FC<PopoverPrimitive.PopoverProps>;
|
|
|
683
701
|
declare const PopoverTrigger: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
684
702
|
declare const PopoverContent: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
685
703
|
|
|
686
|
-
|
|
704
|
+
interface ProgressProps extends React$1.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root>, VariantProps<typeof colorVariants> {
|
|
705
|
+
color?: Color;
|
|
706
|
+
}
|
|
707
|
+
declare const Progress: React$1.ForwardRefExoticComponent<ProgressProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
687
708
|
|
|
688
709
|
declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
689
710
|
declare const RadioGroupItem: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -702,20 +723,6 @@ declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrim
|
|
|
702
723
|
|
|
703
724
|
declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
704
725
|
|
|
705
|
-
declare const generateArray: (step: number) => string[];
|
|
706
|
-
|
|
707
|
-
declare const cn: (...inputs: ClassValue$1[]) => string;
|
|
708
|
-
|
|
709
|
-
declare function useForwardedRef<T>(ref: React__default.ForwardedRef<T>): React__default.RefObject<T>;
|
|
710
|
-
|
|
711
|
-
declare function useMediaQuery(query: string): boolean;
|
|
712
|
-
|
|
713
|
-
declare const useDebounce: (fn: () => void, waitTime: number, deps?: React__default.DependencyList) => void;
|
|
714
|
-
|
|
715
|
-
declare const useDelay: (fn: () => void, delayTime: number, deps?: React__default.DependencyList) => void;
|
|
716
|
-
|
|
717
|
-
declare const useRepeat: (fn: () => void, interval: number, deps?: React__default.DependencyList) => void;
|
|
718
|
-
|
|
719
726
|
declare const Sheet: React$1.FC<DialogPrimitive.DialogProps>;
|
|
720
727
|
declare const SheetTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
721
728
|
declare const SheetClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -756,6 +763,8 @@ declare const Skeleton: {
|
|
|
756
763
|
|
|
757
764
|
declare const Slider: React$1.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
758
765
|
|
|
766
|
+
declare const DualSlider: React$1.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
767
|
+
|
|
759
768
|
declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
760
769
|
|
|
761
770
|
declare const Table: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableElement> & React$1.RefAttributes<HTMLTableElement>>;
|
|
@@ -913,10 +922,10 @@ type OptionSelect = {
|
|
|
913
922
|
label?: string;
|
|
914
923
|
value?: string | number | boolean;
|
|
915
924
|
};
|
|
916
|
-
interface ComboBoxProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "value" | "onChange"> {
|
|
925
|
+
interface ComboBoxProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "value" | "onChange" | "title"> {
|
|
926
|
+
title?: string | React$1.ReactNode;
|
|
917
927
|
options?: OptionSelect[] | any;
|
|
918
928
|
value?: string | number | boolean;
|
|
919
|
-
placeholder?: string;
|
|
920
929
|
filter?: ((value: string, search: string) => number) | undefined;
|
|
921
930
|
onChange?: (value: any) => void;
|
|
922
931
|
response?: boolean;
|
|
@@ -1068,6 +1077,11 @@ type Action = {
|
|
|
1068
1077
|
icon?: React$1.ReactElement;
|
|
1069
1078
|
action?: (payload?: any) => void;
|
|
1070
1079
|
};
|
|
1080
|
+
type SettingPaginate = {
|
|
1081
|
+
start: number;
|
|
1082
|
+
end: number;
|
|
1083
|
+
step: number;
|
|
1084
|
+
};
|
|
1071
1085
|
interface DataTablePropsBase {
|
|
1072
1086
|
className?: string;
|
|
1073
1087
|
headerClass?: string;
|
|
@@ -1079,6 +1093,7 @@ interface DataTablePropsBase {
|
|
|
1079
1093
|
pageCount?: number;
|
|
1080
1094
|
manualPagination?: boolean;
|
|
1081
1095
|
onPagination?: (arg: any) => void;
|
|
1096
|
+
paginationSetting?: SettingPaginate;
|
|
1082
1097
|
onSelectRow?: (arg: any) => void;
|
|
1083
1098
|
actions?: Action[];
|
|
1084
1099
|
scrollable?: boolean;
|
|
@@ -1113,4 +1128,4 @@ declare const Filter: ({ column, table, }: {
|
|
|
1113
1128
|
}) => react_jsx_runtime.JSX.Element;
|
|
1114
1129
|
declare const DataTable: React$1.FC<DataTableWithPagination | DataTableWithoutPagination>;
|
|
1115
1130
|
|
|
1116
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, type Action, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, type AlertDialogProps, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, type ButtonGroupProps, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselButton, type CarouselButtonProps, CarouselContent, CarouselControl, type CarouselControlProps, CarouselDots, type CarouselDotsProps, CarouselItem, CarouselNext, type CarouselNextProps, CarouselPrevious, CarouselSelect, type CarouselSelectProps, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CircularSlider, type CircularSliderProps, Col, Collapsible, CollapsibleContent, CollapsibleTrigger, type Color, ComboBox, type ComboBoxProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuCustom, type ContextMenuCustomProps, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, type ContextMenuTypeProps, DataTable, type DataTablePropsBase, type DataTableWithPagination, type DataTableWithoutPagination, DatePicker, type DatePickerProps, DatePickerRange, type DatePickerRangeProps, DateTimePicker, type DateTimePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogModal, type DialogModalProps, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, Dropdown, type DropdownItem, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, type DropdownMenuProps, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Filter, Flex, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Grid, type Hour, HourFormat, type HourFormatProps, HourWheel, type HourWheelProps, type Hours, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputForm, type InputFormProps, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Label, Menu, MenuButton, type MenuButtonProps, MenuItem, type MenuItemProps, type MenuProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, type Minute, MinuteWheel, type MinuteWheelProps, Modal, MultipleSelect, type MultipleSelectProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, type Number, type OptionMultiSelect, type OptionSelect, Popover, PopoverContent, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, RenderContextMenuItem, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetCustom, type SheetCustomProps, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, type Side, Sidebar, type SidebarProps, type Size, Skeleton, Slider, SubMenu, type SubMenuProps, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, TimePicker, type TimePickerProps, TimePickerSelection, type TimePickerSelectionProps, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle, Tooltip, TooltipArrow, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger, type VariantProps, alertVariants, badgeVariants, buttonVariants, cn, cva, generateArray, navigationMenuTriggerStyle, toast, toggleVariants, useCarousel, useDebounce, useDelay, useFormField, useForwardedRef, useMediaQuery, usePagination, useRepeat, useSkipper, useToast };
|
|
1131
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, type Action, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, type AlertDialogProps, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, type ButtonGroupProps, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselButton, type CarouselButtonProps, CarouselContent, CarouselControl, type CarouselControlProps, CarouselDots, type CarouselDotsProps, CarouselItem, CarouselNext, type CarouselNextProps, CarouselPrevious, CarouselSelect, type CarouselSelectProps, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CircularSlider, type CircularSliderProps, Col, Collapsible, CollapsibleContent, CollapsibleTrigger, type Color, ComboBox, type ComboBoxProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuCustom, type ContextMenuCustomProps, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, type ContextMenuTypeProps, DataTable, type DataTablePropsBase, type DataTableWithPagination, type DataTableWithoutPagination, DatePicker, type DatePickerProps, DatePickerRange, type DatePickerRangeProps, DateTimePicker, type DateTimePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogModal, type DialogModalProps, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, Dropdown, type DropdownItem, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, type DropdownMenuProps, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DualSlider, Filter, Flex, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, Grid, type Hour, HourFormat, type HourFormatProps, HourWheel, type HourWheelProps, type Hours, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputForm, type InputFormProps, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Label, Menu, MenuButton, type MenuButtonProps, MenuItem, type MenuItemProps, type MenuProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, type Minute, MinuteWheel, type MinuteWheelProps, Modal, MultipleSelect, type MultipleSelectProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, type Number, type OptionMultiSelect, type OptionSelect, Popover, PopoverContent, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, RenderContextMenuItem, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetCustom, type SheetCustomProps, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, type Side, Sidebar, type SidebarProps, type Size, Skeleton, Slider, SubMenu, type SubMenuProps, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, TimePicker, type TimePickerProps, TimePickerSelection, type TimePickerSelectionProps, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle, Tooltip, TooltipArrow, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger, type VariantProps, alertVariants, badgeVariants, buttonVariants, cn, colorVariants, cva, generateArray, navigationMenuTriggerStyle, toast, toggleVariants, useCarousel, useDebounce, useDelay, useFormField, useForwardedRef, useMediaQuery, usePagination, useRepeat, useSkipper, useToast };
|