@min98/ui 1.3.41 → 1.3.43
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 +328 -310
- package/lib/index.d.cts +116 -7
- package/lib/index.d.ts +116 -7
- package/lib/index.js +32 -29
- package/package.json +4 -1
package/lib/index.d.cts
CHANGED
|
@@ -38,9 +38,11 @@ import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
|
38
38
|
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
39
39
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
40
40
|
import * as ToastPrimitives from '@radix-ui/react-toast';
|
|
41
|
+
import { Toaster as Toaster$2 } from 'sonner';
|
|
41
42
|
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
42
43
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
43
44
|
import { ColumnDef, PaginationState, Column, Table as Table$1 } from '@tanstack/react-table';
|
|
45
|
+
import * as ResizablePrimitive from 'react-resizable-panels';
|
|
44
46
|
|
|
45
47
|
declare const Accordion: React$1.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React$1.RefAttributes<HTMLDivElement>>;
|
|
46
48
|
declare const AccordionItem: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -108,7 +110,7 @@ declare const Avatar: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.Ava
|
|
|
108
110
|
declare const AvatarImage: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React$1.RefAttributes<HTMLImageElement>, "ref"> & React$1.RefAttributes<HTMLImageElement>>;
|
|
109
111
|
declare const AvatarFallback: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
110
112
|
|
|
111
|
-
type Color = "dark" | "light" | "primary" | "secondary" | "success" | "info" | "warning" | "danger" | "primary-light" | "secondary-light" | "success-light" | "info-light" | "warning-light" | "danger-light" | undefined;
|
|
113
|
+
type Color = "default" | "dark" | "light" | "primary" | "secondary" | "success" | "info" | "warning" | "danger" | "primary-light" | "secondary-light" | "success-light" | "info-light" | "warning-light" | "danger-light" | undefined;
|
|
112
114
|
|
|
113
115
|
declare const badgeVariants: (props?: ({
|
|
114
116
|
variant?: "fill" | "default" | null | undefined;
|
|
@@ -494,7 +496,7 @@ declare const colorVariants: (props?: ({
|
|
|
494
496
|
|
|
495
497
|
type Number = "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
|
496
498
|
|
|
497
|
-
type Size = "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl";
|
|
499
|
+
type Size = "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl";
|
|
498
500
|
|
|
499
501
|
type Side = "top" | "bottom" | "left" | "right";
|
|
500
502
|
|
|
@@ -502,7 +504,7 @@ declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
|
|
|
502
504
|
declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
503
505
|
declare const DialogClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
504
506
|
declare const dialogVariants: (props?: ({
|
|
505
|
-
size?: "default" | "sm" | "lg" | "md" | "xl" | "2xl" | "3xl" | "4xl" | null | undefined;
|
|
507
|
+
size?: "default" | "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "4xl" | null | undefined;
|
|
506
508
|
} & ClassProp) | undefined) => string;
|
|
507
509
|
interface DialogCustom extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
508
510
|
}
|
|
@@ -728,7 +730,7 @@ declare const SheetTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.Di
|
|
|
728
730
|
declare const SheetClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
729
731
|
declare const sheetVariants: (props?: ({
|
|
730
732
|
side?: "top" | "bottom" | "left" | "right" | null | undefined;
|
|
731
|
-
size?: "default" | "sm" | "lg" | "md" | "xl" | "2xl" | "3xl" | "4xl" | null | undefined;
|
|
733
|
+
size?: "default" | "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "4xl" | null | undefined;
|
|
732
734
|
} & ClassProp) | undefined) => string;
|
|
733
735
|
interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {
|
|
734
736
|
}
|
|
@@ -763,7 +765,10 @@ declare const Skeleton: {
|
|
|
763
765
|
|
|
764
766
|
declare const Slider: React$1.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
765
767
|
|
|
766
|
-
|
|
768
|
+
interface DualSliderProps extends React$1.ComponentPropsWithoutRef<typeof SliderPrimitive.Root>, VariantProps<typeof colorVariants> {
|
|
769
|
+
color?: Color;
|
|
770
|
+
}
|
|
771
|
+
declare const DualSlider: React$1.ForwardRefExoticComponent<DualSliderProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
767
772
|
|
|
768
773
|
declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
769
774
|
|
|
@@ -798,11 +803,14 @@ declare const ToastDescription: React$1.ForwardRefExoticComponent<Omit<ToastPrim
|
|
|
798
803
|
type ToastProps = React$1.ComponentPropsWithoutRef<typeof Toast$1>;
|
|
799
804
|
type ToastActionElement = React$1.ReactElement<typeof ToastAction>;
|
|
800
805
|
|
|
801
|
-
declare const Toaster: {
|
|
806
|
+
declare const Toaster$1: {
|
|
802
807
|
(): react_jsx_runtime.JSX.Element;
|
|
803
808
|
displayName: string;
|
|
804
809
|
};
|
|
805
810
|
|
|
811
|
+
type ToasterProps = React.ComponentProps<typeof Toaster$2>;
|
|
812
|
+
declare const Toaster: ({ ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
|
|
813
|
+
|
|
806
814
|
declare const toggleVariants: (props?: ({
|
|
807
815
|
variant?: "default" | "outline" | null | undefined;
|
|
808
816
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
@@ -1128,4 +1136,105 @@ declare const Filter: ({ column, table, }: {
|
|
|
1128
1136
|
}) => react_jsx_runtime.JSX.Element;
|
|
1129
1137
|
declare const DataTable: React$1.FC<DataTableWithPagination | DataTableWithoutPagination>;
|
|
1130
1138
|
|
|
1131
|
-
|
|
1139
|
+
declare const ResizablePanelGroup: ({ className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>) => react_jsx_runtime.JSX.Element;
|
|
1140
|
+
declare const ResizablePanel: React$1.ForwardRefExoticComponent<Omit<React$1.HTMLAttributes<HTMLDivElement | HTMLElement | HTMLObjectElement | HTMLAnchorElement | HTMLButtonElement | HTMLFormElement | HTMLHeadingElement | HTMLImageElement | HTMLInputElement | HTMLLabelElement | HTMLLIElement | HTMLOListElement | HTMLParagraphElement | HTMLSpanElement | HTMLUListElement | HTMLAreaElement | HTMLAudioElement | HTMLBaseElement | HTMLQuoteElement | HTMLBodyElement | HTMLBRElement | HTMLCanvasElement | HTMLTableColElement | HTMLDataElement | HTMLDataListElement | HTMLModElement | HTMLDetailsElement | HTMLDialogElement | HTMLDListElement | HTMLEmbedElement | HTMLFieldSetElement | HTMLHeadElement | HTMLHRElement | HTMLHtmlElement | HTMLIFrameElement | HTMLLegendElement | HTMLLinkElement | HTMLMapElement | HTMLMetaElement | HTMLMeterElement | HTMLOptGroupElement | HTMLOptionElement | HTMLOutputElement | HTMLPreElement | HTMLProgressElement | HTMLSlotElement | HTMLScriptElement | HTMLSelectElement | HTMLSourceElement | HTMLStyleElement | HTMLTableElement | HTMLTemplateElement | HTMLTableSectionElement | HTMLTableCellElement | HTMLTextAreaElement | HTMLTimeElement | HTMLTitleElement | HTMLTableRowElement | HTMLTrackElement | HTMLVideoElement | HTMLTableCaptionElement | HTMLMenuElement | HTMLPictureElement>, "id" | "onResize"> & {
|
|
1141
|
+
className?: string | undefined;
|
|
1142
|
+
collapsedSize?: number | undefined;
|
|
1143
|
+
collapsible?: boolean | undefined;
|
|
1144
|
+
defaultSize?: number | undefined;
|
|
1145
|
+
id?: string | undefined;
|
|
1146
|
+
maxSize?: number | undefined;
|
|
1147
|
+
minSize?: number | undefined;
|
|
1148
|
+
onCollapse?: ResizablePrimitive.PanelOnCollapse | undefined;
|
|
1149
|
+
onExpand?: ResizablePrimitive.PanelOnExpand | undefined;
|
|
1150
|
+
onResize?: ResizablePrimitive.PanelOnResize | undefined;
|
|
1151
|
+
order?: number | undefined;
|
|
1152
|
+
style?: object | undefined;
|
|
1153
|
+
tagName?: keyof HTMLElementTagNameMap | undefined;
|
|
1154
|
+
} & {
|
|
1155
|
+
children?: React$1.ReactNode;
|
|
1156
|
+
} & React$1.RefAttributes<ResizablePrimitive.ImperativePanelHandle>>;
|
|
1157
|
+
declare const ResizableHandle: ({ withHandle, className, ...props }: Omit<React$1.HTMLAttributes<keyof HTMLElementTagNameMap>, "id" | "onFocus" | "onBlur"> & {
|
|
1158
|
+
className?: string | undefined;
|
|
1159
|
+
disabled?: boolean | undefined;
|
|
1160
|
+
hitAreaMargins?: ResizablePrimitive.PointerHitAreaMargins | undefined;
|
|
1161
|
+
id?: string | null | undefined;
|
|
1162
|
+
onBlur?: (() => void) | undefined;
|
|
1163
|
+
onDragging?: ResizablePrimitive.PanelResizeHandleOnDragging | undefined;
|
|
1164
|
+
onFocus?: (() => void) | undefined;
|
|
1165
|
+
style?: React$1.CSSProperties | undefined;
|
|
1166
|
+
tabIndex?: number | undefined;
|
|
1167
|
+
tagName?: keyof HTMLElementTagNameMap | undefined;
|
|
1168
|
+
} & {
|
|
1169
|
+
children?: React$1.ReactNode;
|
|
1170
|
+
} & {
|
|
1171
|
+
withHandle?: boolean | undefined;
|
|
1172
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
1173
|
+
|
|
1174
|
+
interface StepContextType {
|
|
1175
|
+
currentStepIndex: number;
|
|
1176
|
+
setCurrentStepIndex: (index: number) => void;
|
|
1177
|
+
totalSteps: number;
|
|
1178
|
+
setTotalSteps: (total: number) => void;
|
|
1179
|
+
completedSteps: boolean[];
|
|
1180
|
+
setCompletedSteps: (steps: boolean[]) => void;
|
|
1181
|
+
setStepCompleted: (stepIndex: number) => void;
|
|
1182
|
+
}
|
|
1183
|
+
declare const StepperContext: React__default.Context<StepContextType | undefined>;
|
|
1184
|
+
interface StepContainerProps {
|
|
1185
|
+
defaultIndex?: number;
|
|
1186
|
+
className?: string;
|
|
1187
|
+
children: React__default.ReactNode;
|
|
1188
|
+
onIndexChange?: (index: number) => void;
|
|
1189
|
+
autoNextStep?: boolean;
|
|
1190
|
+
}
|
|
1191
|
+
interface StepContainerRef {
|
|
1192
|
+
setStepCompleted: (stepIndex: number) => void;
|
|
1193
|
+
}
|
|
1194
|
+
declare const StepContainer: React__default.ForwardRefExoticComponent<StepContainerProps & React__default.RefAttributes<StepContainerRef>>;
|
|
1195
|
+
type StepListProps = {
|
|
1196
|
+
className?: string;
|
|
1197
|
+
children: React__default.ReactNode;
|
|
1198
|
+
};
|
|
1199
|
+
declare const StepList: React__default.ForwardRefExoticComponent<StepListProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1200
|
+
interface StepTriggerProps {
|
|
1201
|
+
index: number;
|
|
1202
|
+
icon?: React__default.ReactNode;
|
|
1203
|
+
children?: React__default.ReactNode;
|
|
1204
|
+
disabled?: boolean;
|
|
1205
|
+
}
|
|
1206
|
+
declare const StepTrigger: React__default.ForwardRefExoticComponent<StepTriggerProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1207
|
+
type StepProgressProps = {
|
|
1208
|
+
className?: string;
|
|
1209
|
+
color: Color;
|
|
1210
|
+
};
|
|
1211
|
+
declare const StepProgress: React__default.FC<StepProgressProps>;
|
|
1212
|
+
type StepperChildProps = {
|
|
1213
|
+
isActive?: boolean;
|
|
1214
|
+
};
|
|
1215
|
+
type StepperProps = {
|
|
1216
|
+
className?: string;
|
|
1217
|
+
children: React__default.ReactElement<StepperChildProps> | React__default.ReactElement<StepperChildProps>[];
|
|
1218
|
+
};
|
|
1219
|
+
declare const Stepper: React__default.ForwardRefExoticComponent<StepperProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1220
|
+
interface StepsContentProps {
|
|
1221
|
+
className?: string;
|
|
1222
|
+
isActive?: boolean;
|
|
1223
|
+
children: React__default.ReactNode;
|
|
1224
|
+
}
|
|
1225
|
+
declare const StepsContent: React__default.ForwardRefExoticComponent<StepsContentProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1226
|
+
type StepNavProps = {
|
|
1227
|
+
className?: string;
|
|
1228
|
+
children: React__default.ReactNode;
|
|
1229
|
+
};
|
|
1230
|
+
declare const StepNav: React__default.ForwardRefExoticComponent<StepNavProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1231
|
+
type StepNavButtonProps = {
|
|
1232
|
+
className?: string;
|
|
1233
|
+
children: React__default.ReactNode;
|
|
1234
|
+
disabled?: boolean;
|
|
1235
|
+
labelFinish?: string;
|
|
1236
|
+
};
|
|
1237
|
+
declare const StepPrevious: React__default.ForwardRefExoticComponent<StepNavButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
1238
|
+
declare const StepNext: React__default.ForwardRefExoticComponent<StepNavButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
1239
|
+
|
|
1240
|
+
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, ResizableHandle, ResizablePanel, ResizablePanelGroup, 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, StepContainer, type StepContainerProps, type StepContainerRef, type StepContextType, StepList, type StepListProps, StepNav, type StepNavButtonProps, type StepNavProps, StepNext, StepPrevious, StepProgress, type StepProgressProps, StepTrigger, type StepTriggerProps, Stepper, type StepperChildProps, StepperContext, StepsContent, type StepsContentProps, 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$1 as Toaster, Toaster as ToasterSonner, 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
|
@@ -38,9 +38,11 @@ import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
|
38
38
|
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
39
39
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
40
40
|
import * as ToastPrimitives from '@radix-ui/react-toast';
|
|
41
|
+
import { Toaster as Toaster$2 } from 'sonner';
|
|
41
42
|
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
42
43
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
43
44
|
import { ColumnDef, PaginationState, Column, Table as Table$1 } from '@tanstack/react-table';
|
|
45
|
+
import * as ResizablePrimitive from 'react-resizable-panels';
|
|
44
46
|
|
|
45
47
|
declare const Accordion: React$1.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React$1.RefAttributes<HTMLDivElement>>;
|
|
46
48
|
declare const AccordionItem: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -108,7 +110,7 @@ declare const Avatar: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.Ava
|
|
|
108
110
|
declare const AvatarImage: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React$1.RefAttributes<HTMLImageElement>, "ref"> & React$1.RefAttributes<HTMLImageElement>>;
|
|
109
111
|
declare const AvatarFallback: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
110
112
|
|
|
111
|
-
type Color = "dark" | "light" | "primary" | "secondary" | "success" | "info" | "warning" | "danger" | "primary-light" | "secondary-light" | "success-light" | "info-light" | "warning-light" | "danger-light" | undefined;
|
|
113
|
+
type Color = "default" | "dark" | "light" | "primary" | "secondary" | "success" | "info" | "warning" | "danger" | "primary-light" | "secondary-light" | "success-light" | "info-light" | "warning-light" | "danger-light" | undefined;
|
|
112
114
|
|
|
113
115
|
declare const badgeVariants: (props?: ({
|
|
114
116
|
variant?: "fill" | "default" | null | undefined;
|
|
@@ -494,7 +496,7 @@ declare const colorVariants: (props?: ({
|
|
|
494
496
|
|
|
495
497
|
type Number = "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12";
|
|
496
498
|
|
|
497
|
-
type Size = "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl";
|
|
499
|
+
type Size = "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl";
|
|
498
500
|
|
|
499
501
|
type Side = "top" | "bottom" | "left" | "right";
|
|
500
502
|
|
|
@@ -502,7 +504,7 @@ declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
|
|
|
502
504
|
declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
503
505
|
declare const DialogClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
504
506
|
declare const dialogVariants: (props?: ({
|
|
505
|
-
size?: "default" | "sm" | "lg" | "md" | "xl" | "2xl" | "3xl" | "4xl" | null | undefined;
|
|
507
|
+
size?: "default" | "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "4xl" | null | undefined;
|
|
506
508
|
} & ClassProp) | undefined) => string;
|
|
507
509
|
interface DialogCustom extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
508
510
|
}
|
|
@@ -728,7 +730,7 @@ declare const SheetTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.Di
|
|
|
728
730
|
declare const SheetClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
729
731
|
declare const sheetVariants: (props?: ({
|
|
730
732
|
side?: "top" | "bottom" | "left" | "right" | null | undefined;
|
|
731
|
-
size?: "default" | "sm" | "lg" | "md" | "xl" | "2xl" | "3xl" | "4xl" | null | undefined;
|
|
733
|
+
size?: "default" | "sm" | "lg" | "xs" | "md" | "xl" | "2xl" | "3xl" | "4xl" | null | undefined;
|
|
732
734
|
} & ClassProp) | undefined) => string;
|
|
733
735
|
interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {
|
|
734
736
|
}
|
|
@@ -763,7 +765,10 @@ declare const Skeleton: {
|
|
|
763
765
|
|
|
764
766
|
declare const Slider: React$1.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
765
767
|
|
|
766
|
-
|
|
768
|
+
interface DualSliderProps extends React$1.ComponentPropsWithoutRef<typeof SliderPrimitive.Root>, VariantProps<typeof colorVariants> {
|
|
769
|
+
color?: Color;
|
|
770
|
+
}
|
|
771
|
+
declare const DualSlider: React$1.ForwardRefExoticComponent<DualSliderProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
767
772
|
|
|
768
773
|
declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
769
774
|
|
|
@@ -798,11 +803,14 @@ declare const ToastDescription: React$1.ForwardRefExoticComponent<Omit<ToastPrim
|
|
|
798
803
|
type ToastProps = React$1.ComponentPropsWithoutRef<typeof Toast$1>;
|
|
799
804
|
type ToastActionElement = React$1.ReactElement<typeof ToastAction>;
|
|
800
805
|
|
|
801
|
-
declare const Toaster: {
|
|
806
|
+
declare const Toaster$1: {
|
|
802
807
|
(): react_jsx_runtime.JSX.Element;
|
|
803
808
|
displayName: string;
|
|
804
809
|
};
|
|
805
810
|
|
|
811
|
+
type ToasterProps = React.ComponentProps<typeof Toaster$2>;
|
|
812
|
+
declare const Toaster: ({ ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
|
|
813
|
+
|
|
806
814
|
declare const toggleVariants: (props?: ({
|
|
807
815
|
variant?: "default" | "outline" | null | undefined;
|
|
808
816
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
@@ -1128,4 +1136,105 @@ declare const Filter: ({ column, table, }: {
|
|
|
1128
1136
|
}) => react_jsx_runtime.JSX.Element;
|
|
1129
1137
|
declare const DataTable: React$1.FC<DataTableWithPagination | DataTableWithoutPagination>;
|
|
1130
1138
|
|
|
1131
|
-
|
|
1139
|
+
declare const ResizablePanelGroup: ({ className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>) => react_jsx_runtime.JSX.Element;
|
|
1140
|
+
declare const ResizablePanel: React$1.ForwardRefExoticComponent<Omit<React$1.HTMLAttributes<HTMLDivElement | HTMLElement | HTMLObjectElement | HTMLAnchorElement | HTMLButtonElement | HTMLFormElement | HTMLHeadingElement | HTMLImageElement | HTMLInputElement | HTMLLabelElement | HTMLLIElement | HTMLOListElement | HTMLParagraphElement | HTMLSpanElement | HTMLUListElement | HTMLAreaElement | HTMLAudioElement | HTMLBaseElement | HTMLQuoteElement | HTMLBodyElement | HTMLBRElement | HTMLCanvasElement | HTMLTableColElement | HTMLDataElement | HTMLDataListElement | HTMLModElement | HTMLDetailsElement | HTMLDialogElement | HTMLDListElement | HTMLEmbedElement | HTMLFieldSetElement | HTMLHeadElement | HTMLHRElement | HTMLHtmlElement | HTMLIFrameElement | HTMLLegendElement | HTMLLinkElement | HTMLMapElement | HTMLMetaElement | HTMLMeterElement | HTMLOptGroupElement | HTMLOptionElement | HTMLOutputElement | HTMLPreElement | HTMLProgressElement | HTMLSlotElement | HTMLScriptElement | HTMLSelectElement | HTMLSourceElement | HTMLStyleElement | HTMLTableElement | HTMLTemplateElement | HTMLTableSectionElement | HTMLTableCellElement | HTMLTextAreaElement | HTMLTimeElement | HTMLTitleElement | HTMLTableRowElement | HTMLTrackElement | HTMLVideoElement | HTMLTableCaptionElement | HTMLMenuElement | HTMLPictureElement>, "id" | "onResize"> & {
|
|
1141
|
+
className?: string | undefined;
|
|
1142
|
+
collapsedSize?: number | undefined;
|
|
1143
|
+
collapsible?: boolean | undefined;
|
|
1144
|
+
defaultSize?: number | undefined;
|
|
1145
|
+
id?: string | undefined;
|
|
1146
|
+
maxSize?: number | undefined;
|
|
1147
|
+
minSize?: number | undefined;
|
|
1148
|
+
onCollapse?: ResizablePrimitive.PanelOnCollapse | undefined;
|
|
1149
|
+
onExpand?: ResizablePrimitive.PanelOnExpand | undefined;
|
|
1150
|
+
onResize?: ResizablePrimitive.PanelOnResize | undefined;
|
|
1151
|
+
order?: number | undefined;
|
|
1152
|
+
style?: object | undefined;
|
|
1153
|
+
tagName?: keyof HTMLElementTagNameMap | undefined;
|
|
1154
|
+
} & {
|
|
1155
|
+
children?: React$1.ReactNode;
|
|
1156
|
+
} & React$1.RefAttributes<ResizablePrimitive.ImperativePanelHandle>>;
|
|
1157
|
+
declare const ResizableHandle: ({ withHandle, className, ...props }: Omit<React$1.HTMLAttributes<keyof HTMLElementTagNameMap>, "id" | "onFocus" | "onBlur"> & {
|
|
1158
|
+
className?: string | undefined;
|
|
1159
|
+
disabled?: boolean | undefined;
|
|
1160
|
+
hitAreaMargins?: ResizablePrimitive.PointerHitAreaMargins | undefined;
|
|
1161
|
+
id?: string | null | undefined;
|
|
1162
|
+
onBlur?: (() => void) | undefined;
|
|
1163
|
+
onDragging?: ResizablePrimitive.PanelResizeHandleOnDragging | undefined;
|
|
1164
|
+
onFocus?: (() => void) | undefined;
|
|
1165
|
+
style?: React$1.CSSProperties | undefined;
|
|
1166
|
+
tabIndex?: number | undefined;
|
|
1167
|
+
tagName?: keyof HTMLElementTagNameMap | undefined;
|
|
1168
|
+
} & {
|
|
1169
|
+
children?: React$1.ReactNode;
|
|
1170
|
+
} & {
|
|
1171
|
+
withHandle?: boolean | undefined;
|
|
1172
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
1173
|
+
|
|
1174
|
+
interface StepContextType {
|
|
1175
|
+
currentStepIndex: number;
|
|
1176
|
+
setCurrentStepIndex: (index: number) => void;
|
|
1177
|
+
totalSteps: number;
|
|
1178
|
+
setTotalSteps: (total: number) => void;
|
|
1179
|
+
completedSteps: boolean[];
|
|
1180
|
+
setCompletedSteps: (steps: boolean[]) => void;
|
|
1181
|
+
setStepCompleted: (stepIndex: number) => void;
|
|
1182
|
+
}
|
|
1183
|
+
declare const StepperContext: React__default.Context<StepContextType | undefined>;
|
|
1184
|
+
interface StepContainerProps {
|
|
1185
|
+
defaultIndex?: number;
|
|
1186
|
+
className?: string;
|
|
1187
|
+
children: React__default.ReactNode;
|
|
1188
|
+
onIndexChange?: (index: number) => void;
|
|
1189
|
+
autoNextStep?: boolean;
|
|
1190
|
+
}
|
|
1191
|
+
interface StepContainerRef {
|
|
1192
|
+
setStepCompleted: (stepIndex: number) => void;
|
|
1193
|
+
}
|
|
1194
|
+
declare const StepContainer: React__default.ForwardRefExoticComponent<StepContainerProps & React__default.RefAttributes<StepContainerRef>>;
|
|
1195
|
+
type StepListProps = {
|
|
1196
|
+
className?: string;
|
|
1197
|
+
children: React__default.ReactNode;
|
|
1198
|
+
};
|
|
1199
|
+
declare const StepList: React__default.ForwardRefExoticComponent<StepListProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1200
|
+
interface StepTriggerProps {
|
|
1201
|
+
index: number;
|
|
1202
|
+
icon?: React__default.ReactNode;
|
|
1203
|
+
children?: React__default.ReactNode;
|
|
1204
|
+
disabled?: boolean;
|
|
1205
|
+
}
|
|
1206
|
+
declare const StepTrigger: React__default.ForwardRefExoticComponent<StepTriggerProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1207
|
+
type StepProgressProps = {
|
|
1208
|
+
className?: string;
|
|
1209
|
+
color: Color;
|
|
1210
|
+
};
|
|
1211
|
+
declare const StepProgress: React__default.FC<StepProgressProps>;
|
|
1212
|
+
type StepperChildProps = {
|
|
1213
|
+
isActive?: boolean;
|
|
1214
|
+
};
|
|
1215
|
+
type StepperProps = {
|
|
1216
|
+
className?: string;
|
|
1217
|
+
children: React__default.ReactElement<StepperChildProps> | React__default.ReactElement<StepperChildProps>[];
|
|
1218
|
+
};
|
|
1219
|
+
declare const Stepper: React__default.ForwardRefExoticComponent<StepperProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1220
|
+
interface StepsContentProps {
|
|
1221
|
+
className?: string;
|
|
1222
|
+
isActive?: boolean;
|
|
1223
|
+
children: React__default.ReactNode;
|
|
1224
|
+
}
|
|
1225
|
+
declare const StepsContent: React__default.ForwardRefExoticComponent<StepsContentProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1226
|
+
type StepNavProps = {
|
|
1227
|
+
className?: string;
|
|
1228
|
+
children: React__default.ReactNode;
|
|
1229
|
+
};
|
|
1230
|
+
declare const StepNav: React__default.ForwardRefExoticComponent<StepNavProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1231
|
+
type StepNavButtonProps = {
|
|
1232
|
+
className?: string;
|
|
1233
|
+
children: React__default.ReactNode;
|
|
1234
|
+
disabled?: boolean;
|
|
1235
|
+
labelFinish?: string;
|
|
1236
|
+
};
|
|
1237
|
+
declare const StepPrevious: React__default.ForwardRefExoticComponent<StepNavButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
1238
|
+
declare const StepNext: React__default.ForwardRefExoticComponent<StepNavButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
1239
|
+
|
|
1240
|
+
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, ResizableHandle, ResizablePanel, ResizablePanelGroup, 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, StepContainer, type StepContainerProps, type StepContainerRef, type StepContextType, StepList, type StepListProps, StepNav, type StepNavButtonProps, type StepNavProps, StepNext, StepPrevious, StepProgress, type StepProgressProps, StepTrigger, type StepTriggerProps, Stepper, type StepperChildProps, StepperContext, StepsContent, type StepsContentProps, 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$1 as Toaster, Toaster as ToasterSonner, 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 };
|