@codefast/ui 0.3.11-canary.1 → 0.3.11

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.
Files changed (149) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/README.md +34 -14
  3. package/dist/components/accordion.d.ts +29 -10
  4. package/dist/components/accordion.js +38 -37
  5. package/dist/components/alert-dialog.d.ts +60 -24
  6. package/dist/components/alert-dialog.js +69 -72
  7. package/dist/components/alert.d.ts +27 -15
  8. package/dist/components/alert.js +29 -31
  9. package/dist/components/aspect-ratio.d.ts +8 -4
  10. package/dist/components/aspect-ratio.js +7 -5
  11. package/dist/components/avatar.d.ts +17 -6
  12. package/dist/components/avatar.js +19 -17
  13. package/dist/components/badge.d.ts +21 -14
  14. package/dist/components/badge.js +19 -22
  15. package/dist/components/breadcrumb.d.ts +35 -12
  16. package/dist/components/breadcrumb.js +48 -54
  17. package/dist/components/button-group.d.ts +29 -14
  18. package/dist/components/button-group.js +27 -32
  19. package/dist/components/button.d.ts +35 -25
  20. package/dist/components/button.js +50 -48
  21. package/dist/components/calendar.d.ts +24 -9
  22. package/dist/components/calendar.js +92 -98
  23. package/dist/components/card.d.ts +34 -10
  24. package/dist/components/card.js +39 -37
  25. package/dist/components/carousel.d.ts +55 -24
  26. package/dist/components/carousel.js +113 -130
  27. package/dist/components/chart.d.ts +72 -36
  28. package/dist/components/chart.js +154 -166
  29. package/dist/components/checkbox-cards.d.ts +15 -8
  30. package/dist/components/checkbox-cards.js +22 -25
  31. package/dist/components/checkbox-group.d.ts +16 -8
  32. package/dist/components/checkbox-group.js +19 -19
  33. package/dist/components/checkbox.d.ts +9 -4
  34. package/dist/components/checkbox.js +14 -14
  35. package/dist/components/collapsible.d.ts +14 -6
  36. package/dist/components/collapsible.js +18 -16
  37. package/dist/components/command.d.ts +55 -23
  38. package/dist/components/command.js +70 -85
  39. package/dist/components/context-menu.d.ts +72 -22
  40. package/dist/components/context-menu.js +88 -109
  41. package/dist/components/dialog.d.ts +53 -22
  42. package/dist/components/dialog.js +71 -85
  43. package/dist/components/drawer.d.ts +60 -28
  44. package/dist/components/drawer.js +59 -67
  45. package/dist/components/dropdown-menu.d.ts +73 -22
  46. package/dist/components/dropdown-menu.js +95 -112
  47. package/dist/components/empty.d.ts +37 -15
  48. package/dist/components/empty.js +43 -45
  49. package/dist/components/field.d.ts +63 -25
  50. package/dist/components/field.js +88 -104
  51. package/dist/components/form.d.ts +37 -15
  52. package/dist/components/form.js +65 -70
  53. package/dist/components/hover-card.d.ts +21 -7
  54. package/dist/components/hover-card.js +24 -24
  55. package/dist/components/input-group.d.ts +53 -28
  56. package/dist/components/input-group.js +63 -77
  57. package/dist/components/input-number.d.ts +28 -7
  58. package/dist/components/input-number.js +55 -59
  59. package/dist/components/input-otp.d.ts +24 -10
  60. package/dist/components/input-otp.js +33 -37
  61. package/dist/components/input-password.d.ts +12 -5
  62. package/dist/components/input-password.js +31 -32
  63. package/dist/components/input-search.d.ts +18 -8
  64. package/dist/components/input-search.js +43 -41
  65. package/dist/components/input.d.ts +10 -4
  66. package/dist/components/input.js +9 -7
  67. package/dist/components/item.d.ts +69 -32
  68. package/dist/components/item.js +89 -92
  69. package/dist/components/kbd.d.ts +13 -5
  70. package/dist/components/kbd.js +13 -11
  71. package/dist/components/label.d.ts +9 -4
  72. package/dist/components/label.js +9 -7
  73. package/dist/components/menubar.d.ts +80 -23
  74. package/dist/components/menubar.js +97 -118
  75. package/dist/components/native-select.d.ts +16 -6
  76. package/dist/components/native-select.js +25 -26
  77. package/dist/components/navigation-menu.d.ts +36 -12
  78. package/dist/components/navigation-menu.js +60 -75
  79. package/dist/components/pagination.d.ts +35 -14
  80. package/dist/components/pagination.js +54 -69
  81. package/dist/components/popover.d.ts +24 -8
  82. package/dist/components/popover.js +28 -28
  83. package/dist/components/progress-circle.d.ts +106 -88
  84. package/dist/components/progress-circle.js +106 -138
  85. package/dist/components/progress.d.ts +10 -4
  86. package/dist/components/progress.js +14 -14
  87. package/dist/components/radio-cards.d.ts +10 -4
  88. package/dist/components/radio-cards.js +22 -23
  89. package/dist/components/radio-group.d.ts +13 -5
  90. package/dist/components/radio-group.js +18 -16
  91. package/dist/components/radio.d.ts +12 -5
  92. package/dist/components/radio.js +10 -8
  93. package/dist/components/resizable.d.ts +18 -7
  94. package/dist/components/resizable.js +22 -22
  95. package/dist/components/scroll-area.d.ts +33 -20
  96. package/dist/components/scroll-area.js +84 -88
  97. package/dist/components/select.d.ts +50 -16
  98. package/dist/components/select.js +77 -96
  99. package/dist/components/separator.d.ts +29 -19
  100. package/dist/components/separator.js +36 -34
  101. package/dist/components/sheet.d.ts +62 -29
  102. package/dist/components/sheet.js +79 -100
  103. package/dist/components/sidebar.d.ts +160 -66
  104. package/dist/components/sidebar.js +294 -336
  105. package/dist/components/skeleton.d.ts +9 -4
  106. package/dist/components/skeleton.js +8 -6
  107. package/dist/components/slider.d.ts +13 -4
  108. package/dist/components/slider.js +34 -40
  109. package/dist/components/sonner.d.ts +10 -7
  110. package/dist/components/sonner.js +16 -14
  111. package/dist/components/spinner.d.ts +12 -5
  112. package/dist/components/spinner.js +33 -35
  113. package/dist/components/switch.d.ts +9 -4
  114. package/dist/components/switch.js +13 -11
  115. package/dist/components/table.d.ts +37 -11
  116. package/dist/components/table.js +47 -45
  117. package/dist/components/tabs.d.ts +21 -7
  118. package/dist/components/tabs.js +24 -22
  119. package/dist/components/textarea.d.ts +9 -4
  120. package/dist/components/textarea.js +8 -6
  121. package/dist/components/toggle-group.d.ts +24 -9
  122. package/dist/components/toggle-group.js +41 -42
  123. package/dist/components/toggle.d.ts +25 -17
  124. package/dist/components/toggle.js +30 -28
  125. package/dist/components/tooltip.d.ts +24 -8
  126. package/dist/components/tooltip.js +29 -32
  127. package/dist/hooks/use-animated-value.d.ts +4 -1
  128. package/dist/hooks/use-animated-value.js +57 -36
  129. package/dist/hooks/use-copy-to-clipboard.d.ts +11 -5
  130. package/dist/hooks/use-copy-to-clipboard.js +39 -20
  131. package/dist/hooks/use-is-mobile.d.ts +4 -1
  132. package/dist/hooks/use-is-mobile.js +21 -1
  133. package/dist/hooks/use-media-query.d.ts +4 -1
  134. package/dist/hooks/use-media-query.js +45 -18
  135. package/dist/hooks/use-mutation-observer.d.ts +6 -2
  136. package/dist/hooks/use-mutation-observer.js +34 -16
  137. package/dist/hooks/use-pagination.d.ts +22 -14
  138. package/dist/hooks/use-pagination.js +100 -49
  139. package/dist/index.d.ts +69 -130
  140. package/dist/index.js +11 -11
  141. package/dist/primitives/checkbox-group.d.ts +105 -83
  142. package/dist/primitives/checkbox-group.js +111 -84
  143. package/dist/primitives/input-number.d.ts +51 -40
  144. package/dist/primitives/input-number.js +483 -350
  145. package/dist/primitives/input.d.ts +48 -42
  146. package/dist/primitives/input.js +65 -43
  147. package/dist/primitives/progress-circle.d.ts +79 -48
  148. package/dist/primitives/progress-circle.js +154 -105
  149. package/package.json +6 -7
package/dist/index.d.ts CHANGED
@@ -1,130 +1,69 @@
1
- export { Accordion, AccordionContent, AccordionIcon, AccordionItem, AccordionTrigger, } from "./components/accordion";
2
- export type { AccordionContentProps, AccordionIconProps, AccordionItemProps, AccordionProps, AccordionTriggerProps, } from "./components/accordion";
3
- export { Alert, AlertDescription, AlertTitle, alertVariants } from "./components/alert";
4
- export type { AlertDescriptionProps, AlertProps, AlertTitleProps } from "./components/alert";
5
- export { AlertDialog, AlertDialogAction, AlertDialogBody, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, } from "./components/alert-dialog";
6
- export type { AlertDialogActionProps, AlertDialogBodyProps, AlertDialogCancelProps, AlertDialogContentProps, AlertDialogDescriptionProps, AlertDialogFooterProps, AlertDialogHeaderProps, AlertDialogProps, AlertDialogTitleProps, AlertDialogTriggerProps, } from "./components/alert-dialog";
7
- export { AspectRatio } from "./components/aspect-ratio";
8
- export type { AspectRatioProps } from "./components/aspect-ratio";
9
- export { Avatar, AvatarFallback, AvatarImage } from "./components/avatar";
10
- export type { AvatarFallbackProps, AvatarImageProps, AvatarProps } from "./components/avatar";
11
- export { Badge, badgeVariants } from "./components/badge";
12
- export type { BadgeProps } from "./components/badge";
13
- export { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants, } from "./components/button-group";
14
- export type { ButtonGroupProps, ButtonGroupSeparatorProps, ButtonGroupTextProps, } from "./components/button-group";
15
- export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, } from "./components/breadcrumb";
16
- export type { BreadcrumbEllipsisProps, BreadcrumbItemProps, BreadcrumbLinkProps, BreadcrumbListProps, BreadcrumbPageProps, BreadcrumbProps, BreadcrumbSeparatorProps, } from "./components/breadcrumb";
17
- export { Button, buttonVariants } from "./components/button";
18
- export type { ButtonProps } from "./components/button";
19
- export { Calendar, CalendarDayButton } from "./components/calendar";
20
- export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from "./components/card";
21
- export type { CardActionProps, CardContentProps, CardDescriptionProps, CardFooterProps, CardHeaderProps, CardProps, CardTitleProps, } from "./components/card";
22
- export { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, createCarouselScope, } from "./components/carousel";
23
- export type { CarouselApi, CarouselContentProps, CarouselItemProps, CarouselNextProps, CarouselPreviousProps, CarouselProps, } from "./components/carousel";
24
- export { ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, createChartScope, } from "./components/chart";
25
- export type { ChartConfig, ChartContainerProps, ChartLegendContentProps, ChartLegendProps, ChartStyleProps, ChartTooltipContentProps, ChartTooltipProps, } from "./components/chart";
26
- export { Checkbox } from "./components/checkbox";
27
- export type { CheckboxProps } from "./components/checkbox";
28
- export { CheckboxCards, CheckboxCardsItem } from "./components/checkbox-cards";
29
- export type { CheckboxCardsItemProps, CheckboxCardsProps } from "./components/checkbox-cards";
30
- export { CheckboxGroup, CheckboxGroupItem } from "./components/checkbox-group";
31
- export type { CheckboxGroupItemProps, CheckboxGroupProps } from "./components/checkbox-group";
32
- export { Collapsible, CollapsibleContent, CollapsibleTrigger } from "./components/collapsible";
33
- export type { CollapsibleContentProps, CollapsibleProps, CollapsibleTriggerProps, } from "./components/collapsible";
34
- export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandLoading, CommandSeparator, CommandShortcut, } from "./components/command";
35
- export type { CommandDialogProps, CommandEmptyProps, CommandGroupProps, CommandInputProps, CommandItemProps, CommandListProps, CommandLoadingProps, CommandProps, CommandSeparatorProps, CommandShortcutProps, } from "./components/command";
36
- export { ContextMenu, ContextMenuArrow, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, } from "./components/context-menu";
37
- export type { ContextMenuArrowProps, ContextMenuCheckboxItemProps, ContextMenuContentProps, ContextMenuGroupProps, ContextMenuItemProps, ContextMenuLabelProps, ContextMenuProps, ContextMenuRadioGroupProps, ContextMenuRadioItemProps, ContextMenuSeparatorProps, ContextMenuShortcutProps, ContextMenuSubContentProps, ContextMenuSubProps, ContextMenuSubTriggerProps, ContextMenuTriggerProps, } from "./components/context-menu";
38
- export { Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, } from "./components/dialog";
39
- export type { DialogBodyProps, DialogCloseProps, DialogContentProps, DialogDescriptionProps, DialogFooterProps, DialogHeaderProps, DialogProps, DialogTitleProps, DialogTriggerProps, } from "./components/dialog";
40
- export { Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, } from "./components/drawer";
41
- export type { DrawerBodyProps, DrawerCloseProps, DrawerContentProps, DrawerDescriptionProps, DrawerFooterProps, DrawerHeaderProps, DrawerProps, DrawerTitleProps, DrawerTriggerProps, } from "./components/drawer";
42
- export { DropdownMenu, DropdownMenuArrow, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, } from "./components/dropdown-menu";
43
- export type { DropdownMenuArrowProps, DropdownMenuCheckboxItemProps, DropdownMenuContentProps, DropdownMenuGroupProps, DropdownMenuItemProps, DropdownMenuLabelProps, DropdownMenuProps, DropdownMenuRadioGroupProps, DropdownMenuRadioItemProps, DropdownMenuSeparatorProps, DropdownMenuShortcutProps, DropdownMenuSubContentProps, DropdownMenuSubProps, DropdownMenuSubTriggerProps, DropdownMenuTriggerProps, } from "./components/dropdown-menu";
44
- export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, emptyMediaVariants, EmptyTitle, } from "./components/empty";
45
- export type { EmptyContentProps, EmptyDescriptionProps, EmptyHeaderProps, EmptyMediaProps, EmptyProps, EmptyTitleProps, } from "./components/empty";
46
- export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, fieldVariants, } from "./components/field";
47
- export type { FieldContentProps, FieldDescriptionProps, FieldErrorProps, FieldGroupProps, FieldLabelProps, FieldLegendProps, FieldProps, FieldSeparatorProps, FieldSetProps, FieldTitleProps, } from "./components/field";
48
- export { createFormFieldScope, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, } from "./components/form";
49
- export type { FormControlProps, FormDescriptionProps, FormFieldProps, FormItemProps, FormLabelProps, FormMessageProps, FormProps, } from "./components/form";
50
- export { HoverCard, HoverCardArrow, HoverCardContent, HoverCardTrigger, } from "./components/hover-card";
51
- export type { HoverCardArrowProps, HoverCardContentProps, HoverCardProps, HoverCardTriggerProps, } from "./components/hover-card";
52
- export { Input } from "./components/input";
53
- export type { InputProps } from "./components/input";
54
- export { InputGroup, InputGroupAddon, inputGroupAddonVariants, InputGroupButton, inputGroupButtonVariants, InputGroupInput, InputGroupText, InputGroupTextarea, inputGroupVariants, } from "./components/input-group";
55
- export type { InputGroupAddonProps, InputGroupButtonProps, InputGroupInputProps, InputGroupProps, InputGroupTextareaProps, InputGroupTextProps, } from "./components/input-group";
56
- export { InputNumber } from "./components/input-number";
57
- export type { InputNumberProps } from "./components/input-number";
58
- export { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS, } from "./components/input-otp";
59
- export type { InputOTPGroupProps, InputOTPProps, InputOTPSeparatorProps, InputOTPSlotProps, } from "./components/input-otp";
60
- export { InputPassword } from "./components/input-password";
61
- export type { InputPasswordProps } from "./components/input-password";
62
- export { InputSearch } from "./components/input-search";
63
- export type { InputSearchProps } from "./components/input-search";
64
- export { Kbd, KbdGroup } from "./components/kbd";
65
- export type { KbdGroupProps, KbdProps } from "./components/kbd";
66
- export { Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, itemMediaVariants, ItemSeparator, ItemTitle, itemVariants, } from "./components/item";
67
- export type { ItemActionsProps, ItemContentProps, ItemDescriptionProps, ItemFooterProps, ItemGroupProps, ItemHeaderProps, ItemMediaProps, ItemProps, ItemSeparatorProps, ItemTitleProps, } from "./components/item";
68
- export { Label } from "./components/label";
69
- export type { LabelProps } from "./components/label";
70
- export { Menubar, MenubarArrow, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, } from "./components/menubar";
71
- export type { MenubarArrowProps, MenubarCheckboxItemProps, MenubarContentProps, MenubarGroupProps, MenubarItemProps, MenubarLabelProps, MenubarMenuProps, MenubarProps, MenubarRadioGroupProps, MenubarRadioItemProps, MenubarSeparatorProps, MenubarShortcutProps, MenubarSubContentProps, MenubarSubProps, MenubarSubTriggerProps, MenubarTriggerProps, } from "./components/menubar";
72
- export { NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, navigationMenuTriggerVariants, } from "./components/navigation-menu";
73
- export type { NavigationMenuContentProps, NavigationMenuItemProps, NavigationMenuLinkProps, NavigationMenuListProps, NavigationMenuProps, NavigationMenuTriggerProps, } from "./components/navigation-menu";
74
- export { NativeSelect, NativeSelectOptGroup, NativeSelectOption } from "./components/native-select";
75
- export type { NativeSelectOptGroupProps, NativeSelectOptionProps, NativeSelectProps, } from "./components/native-select";
76
- export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, } from "./components/pagination";
77
- export type { PaginationContentProps, PaginationEllipsisProps, PaginationItemProps, PaginationLinkProps, PaginationNextProps, PaginationPreviousProps, PaginationProps, } from "./components/pagination";
78
- export { Popover, PopoverAnchor, PopoverArrow, PopoverContent, PopoverTrigger, } from "./components/popover";
79
- export type { PopoverAnchorProps, PopoverArrowProps, PopoverContentProps, PopoverProps, PopoverTriggerProps, } from "./components/popover";
80
- export { Progress } from "./components/progress";
81
- export type { ProgressProps } from "./components/progress";
82
- export { ProgressCircle, progressCircleVariants } from "./components/progress-circle";
83
- export type { ProgressCircleProps } from "./components/progress-circle";
84
- export { Radio } from "./components/radio";
85
- export type { RadioProps } from "./components/radio";
86
- export { RadioCards, RadioCardsItem } from "./components/radio-cards";
87
- export type { RadioCardsItemProps, RadioCardsProps } from "./components/radio-cards";
88
- export { RadioGroup, RadioGroupItem } from "./components/radio-group";
89
- export type { RadioGroupItemProps, RadioGroupProps } from "./components/radio-group";
90
- export { ResizableGroup, ResizablePanel, ResizableSeparator } from "./components/resizable";
91
- export type { ResizableGroupProps, ResizablePanelProps, ResizableSeparatorProps, } from "./components/resizable";
92
- export { ScrollArea, ScrollAreaScrollbar, scrollAreaScrollbarVariants, } from "./components/scroll-area";
93
- export type { ScrollAreaProps, ScrollAreaScrollbarProps } from "./components/scroll-area";
94
- export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, } from "./components/select";
95
- export type { SelectContentProps, SelectGroupProps, SelectItemProps, SelectLabelProps, SelectProps, SelectScrollDownButtonProps, SelectScrollUpButtonProps, SelectSeparatorProps, SelectTriggerProps, SelectValueProps, } from "./components/select";
96
- export { Separator, SeparatorItem, separatorVariants } from "./components/separator";
97
- export type { SeparatorItemProps, SeparatorProps } from "./components/separator";
98
- export { Sheet, SheetBody, SheetClose, SheetContent, sheetContentVariants, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, } from "./components/sheet";
99
- export type { SheetBodyProps, SheetCloseProps, SheetContentProps, SheetDescriptionProps, SheetFooterProps, SheetHeaderProps, SheetProps, SheetTitleProps, SheetTriggerProps, } from "./components/sheet";
100
- export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, sidebarMenuButtonVariants, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar, } from "./components/sidebar";
101
- export type { SidebarContentProps, SidebarFooterProps, SidebarGroupActionProps, SidebarGroupContentProps, SidebarGroupLabelProps, SidebarGroupProps, SidebarHeaderProps, SidebarInputProps, SidebarInsetProps, SidebarMenuActionProps, SidebarMenuBadgeProps, SidebarMenuButtonProps, SidebarMenuItemProps, SidebarMenuProps, SidebarMenuSkeletonProps, SidebarMenuSubButtonProps, SidebarMenuSubItemProps, SidebarMenuSubProps, SidebarProps, SidebarProviderProps, SidebarRailProps, SidebarSeparatorProps, SidebarTriggerProps, } from "./components/sidebar";
102
- export { Skeleton } from "./components/skeleton";
103
- export type { SkeletonProps } from "./components/skeleton";
104
- export { Slider } from "./components/slider";
105
- export type { SliderProps } from "./components/slider";
106
- export { toast, Toaster, useSonner } from "./components/sonner";
107
- export type { ToasterProps } from "./components/sonner";
108
- export { Spinner } from "./components/spinner";
109
- export type { SpinnerProps } from "./components/spinner";
110
- export { Switch } from "./components/switch";
111
- export type { SwitchProps } from "./components/switch";
112
- export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, } from "./components/table";
113
- export type { TableBodyProps, TableCaptionProps, TableCellProps, TableFooterProps, TableHeaderProps, TableHeadProps, TableProps, TableRowProps, } from "./components/table";
114
- export { Tabs, TabsContent, TabsList, TabsTrigger } from "./components/tabs";
115
- export type { TabsContentProps, TabsListProps, TabsProps, TabsTriggerProps, } from "./components/tabs";
116
- export { Textarea } from "./components/textarea";
117
- export type { TextareaProps } from "./components/textarea";
118
- export { Toggle, toggleVariants } from "./components/toggle";
119
- export type { ToggleProps, ToggleVariants } from "./components/toggle";
120
- export { ToggleGroup, ToggleGroupItem } from "./components/toggle-group";
121
- export type { ToggleGroupItemProps, ToggleGroupProps } from "./components/toggle-group";
122
- export { Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, } from "./components/tooltip";
123
- export type { TooltipArrowProps, TooltipContentProps, TooltipProps, TooltipProviderProps, TooltipTriggerProps, } from "./components/tooltip";
124
- export { useAnimatedValue } from "./hooks/use-animated-value";
125
- export { useCopyToClipboard } from "./hooks/use-copy-to-clipboard";
126
- export { useIsMobile } from "./hooks/use-is-mobile";
127
- export { useMediaQuery } from "./hooks/use-media-query";
128
- export { useMutationObserver } from "./hooks/use-mutation-observer";
129
- export { ELLIPSIS, usePagination } from "./hooks/use-pagination";
130
- export type { UsePaginationProps } from "./hooks/use-pagination";
1
+ import { Accordion, AccordionContent, AccordionContentProps, AccordionIcon, AccordionIconProps, AccordionItem, AccordionItemProps, AccordionProps, AccordionTrigger, AccordionTriggerProps } from "./components/accordion.js";
2
+ import { Button, ButtonProps, buttonVariants } from "./components/button.js";
3
+ import { AlertDialog, AlertDialogAction, AlertDialogActionProps, AlertDialogBody, AlertDialogBodyProps, AlertDialogCancel, AlertDialogCancelProps, AlertDialogContent, AlertDialogContentProps, AlertDialogDescription, AlertDialogDescriptionProps, AlertDialogFooter, AlertDialogFooterProps, AlertDialogHeader, AlertDialogHeaderProps, AlertDialogProps, AlertDialogTitle, AlertDialogTitleProps, AlertDialogTrigger, AlertDialogTriggerProps } from "./components/alert-dialog.js";
4
+ import { Alert, AlertDescription, AlertDescriptionProps, AlertProps, AlertTitle, AlertTitleProps, alertVariants } from "./components/alert.js";
5
+ import { AspectRatio, AspectRatioProps } from "./components/aspect-ratio.js";
6
+ import { Avatar, AvatarFallback, AvatarFallbackProps, AvatarImage, AvatarImageProps, AvatarProps } from "./components/avatar.js";
7
+ import { Badge, BadgeProps, badgeVariants } from "./components/badge.js";
8
+ import { Breadcrumb, BreadcrumbEllipsis, BreadcrumbEllipsisProps, BreadcrumbItem, BreadcrumbItemProps, BreadcrumbLink, BreadcrumbLinkProps, BreadcrumbList, BreadcrumbListProps, BreadcrumbPage, BreadcrumbPageProps, BreadcrumbProps, BreadcrumbSeparator, BreadcrumbSeparatorProps } from "./components/breadcrumb.js";
9
+ import { Separator, SeparatorItem, SeparatorItemProps, SeparatorProps, separatorVariants } from "./components/separator.js";
10
+ import { ButtonGroup, ButtonGroupProps, ButtonGroupSeparator, ButtonGroupSeparatorProps, ButtonGroupText, ButtonGroupTextProps, buttonGroupVariants } from "./components/button-group.js";
11
+ import { Calendar, CalendarDayButton } from "./components/calendar.js";
12
+ import { Card, CardAction, CardActionProps, CardContent, CardContentProps, CardDescription, CardDescriptionProps, CardFooter, CardFooterProps, CardHeader, CardHeaderProps, CardProps, CardTitle, CardTitleProps } from "./components/card.js";
13
+ import { Carousel, CarouselApi, CarouselContent, CarouselContentProps, CarouselItem, CarouselItemProps, CarouselNext, CarouselNextProps, CarouselPrevious, CarouselPreviousProps, CarouselProps, createCarouselScope } from "./components/carousel.js";
14
+ import { ChartConfig, ChartContainer, ChartContainerProps, ChartLegend, ChartLegendContent, ChartLegendContentProps, ChartLegendProps, ChartStyle, ChartStyleProps, ChartTooltip, ChartTooltipContent, ChartTooltipContentProps, ChartTooltipProps, createChartScope } from "./components/chart.js";
15
+ import { CheckboxCards, CheckboxCardsItem, CheckboxCardsItemProps, CheckboxCardsProps } from "./components/checkbox-cards.js";
16
+ import { CheckboxGroup, CheckboxGroupItem, CheckboxGroupItemProps, CheckboxGroupProps } from "./components/checkbox-group.js";
17
+ import { Checkbox, CheckboxProps } from "./components/checkbox.js";
18
+ import { Collapsible, CollapsibleContent, CollapsibleContentProps, CollapsibleProps, CollapsibleTrigger, CollapsibleTriggerProps } from "./components/collapsible.js";
19
+ import { Dialog, DialogBody, DialogBodyProps, DialogClose, DialogCloseProps, DialogContent, DialogContentProps, DialogDescription, DialogDescriptionProps, DialogFooter, DialogFooterProps, DialogHeader, DialogHeaderProps, DialogProps, DialogTitle, DialogTitleProps, DialogTrigger, DialogTriggerProps } from "./components/dialog.js";
20
+ import { Command, CommandDialog, CommandDialogProps, CommandEmpty, CommandEmptyProps, CommandGroup, CommandGroupProps, CommandInput, CommandInputProps, CommandItem, CommandItemProps, CommandList, CommandListProps, CommandLoading, CommandLoadingProps, CommandProps, CommandSeparator, CommandSeparatorProps, CommandShortcut, CommandShortcutProps } from "./components/command.js";
21
+ import { ContextMenu, ContextMenuArrow, ContextMenuArrowProps, ContextMenuCheckboxItem, ContextMenuCheckboxItemProps, ContextMenuContent, ContextMenuContentProps, ContextMenuGroup, ContextMenuGroupProps, ContextMenuItem, ContextMenuItemProps, ContextMenuLabel, ContextMenuLabelProps, ContextMenuProps, ContextMenuRadioGroup, ContextMenuRadioGroupProps, ContextMenuRadioItem, ContextMenuRadioItemProps, ContextMenuSeparator, ContextMenuSeparatorProps, ContextMenuShortcut, ContextMenuShortcutProps, ContextMenuSub, ContextMenuSubContent, ContextMenuSubContentProps, ContextMenuSubProps, ContextMenuSubTrigger, ContextMenuSubTriggerProps, ContextMenuTrigger, ContextMenuTriggerProps } from "./components/context-menu.js";
22
+ import { Drawer, DrawerBody, DrawerBodyProps, DrawerClose, DrawerCloseProps, DrawerContent, DrawerContentProps, DrawerDescription, DrawerDescriptionProps, DrawerFooter, DrawerFooterProps, DrawerHeader, DrawerHeaderProps, DrawerProps, DrawerTitle, DrawerTitleProps, DrawerTrigger, DrawerTriggerProps } from "./components/drawer.js";
23
+ import { DropdownMenu, DropdownMenuArrow, DropdownMenuArrowProps, DropdownMenuCheckboxItem, DropdownMenuCheckboxItemProps, DropdownMenuContent, DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuGroupProps, DropdownMenuItem, DropdownMenuItemProps, DropdownMenuLabel, DropdownMenuLabelProps, DropdownMenuProps, DropdownMenuRadioGroup, DropdownMenuRadioGroupProps, DropdownMenuRadioItem, DropdownMenuRadioItemProps, DropdownMenuSeparator, DropdownMenuSeparatorProps, DropdownMenuShortcut, DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubContentProps, DropdownMenuSubProps, DropdownMenuSubTrigger, DropdownMenuSubTriggerProps, DropdownMenuTrigger, DropdownMenuTriggerProps } from "./components/dropdown-menu.js";
24
+ import { Empty, EmptyContent, EmptyContentProps, EmptyDescription, EmptyDescriptionProps, EmptyHeader, EmptyHeaderProps, EmptyMedia, EmptyMediaProps, EmptyProps, EmptyTitle, EmptyTitleProps, emptyMediaVariants } from "./components/empty.js";
25
+ import { Label, LabelProps } from "./components/label.js";
26
+ import { Field, FieldContent, FieldContentProps, FieldDescription, FieldDescriptionProps, FieldError, FieldErrorProps, FieldGroup, FieldGroupProps, FieldLabel, FieldLabelProps, FieldLegend, FieldLegendProps, FieldProps, FieldSeparator, FieldSeparatorProps, FieldSet, FieldSetProps, FieldTitle, FieldTitleProps, fieldVariants } from "./components/field.js";
27
+ import { Form, FormControl, FormControlProps, FormDescription, FormDescriptionProps, FormField, FormFieldProps, FormItem, FormItemProps, FormLabel, FormLabelProps, FormMessage, FormMessageProps, FormProps, createFormFieldScope } from "./components/form.js";
28
+ import { HoverCard, HoverCardArrow, HoverCardArrowProps, HoverCardContent, HoverCardContentProps, HoverCardProps, HoverCardTrigger, HoverCardTriggerProps } from "./components/hover-card.js";
29
+ import { Input, InputProps } from "./components/input.js";
30
+ import { Textarea, TextareaProps } from "./components/textarea.js";
31
+ import { InputGroup, InputGroupAddon, InputGroupAddonProps, InputGroupButton, InputGroupButtonProps, InputGroupInput, InputGroupInputProps, InputGroupProps, InputGroupText, InputGroupTextProps, InputGroupTextarea, InputGroupTextareaProps, inputGroupAddonVariants, inputGroupButtonVariants, inputGroupVariants } from "./components/input-group.js";
32
+ import { InputNumber, InputNumberProps } from "./components/input-number.js";
33
+ import { InputOTP, InputOTPGroup, InputOTPGroupProps, InputOTPProps, InputOTPSeparator, InputOTPSeparatorProps, InputOTPSlot, InputOTPSlotProps, REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS } from "./components/input-otp.js";
34
+ import { InputPassword, InputPasswordProps } from "./components/input-password.js";
35
+ import { InputSearch, InputSearchProps } from "./components/input-search.js";
36
+ import { Item, ItemActions, ItemActionsProps, ItemContent, ItemContentProps, ItemDescription, ItemDescriptionProps, ItemFooter, ItemFooterProps, ItemGroup, ItemGroupProps, ItemHeader, ItemHeaderProps, ItemMedia, ItemMediaProps, ItemProps, ItemSeparator, ItemSeparatorProps, ItemTitle, ItemTitleProps, itemMediaVariants, itemVariants } from "./components/item.js";
37
+ import { Kbd, KbdGroup, KbdGroupProps, KbdProps } from "./components/kbd.js";
38
+ import { Menubar, MenubarArrow, MenubarArrowProps, MenubarCheckboxItem, MenubarCheckboxItemProps, MenubarContent, MenubarContentProps, MenubarGroup, MenubarGroupProps, MenubarItem, MenubarItemProps, MenubarLabel, MenubarLabelProps, MenubarMenu, MenubarMenuProps, MenubarProps, MenubarRadioGroup, MenubarRadioGroupProps, MenubarRadioItem, MenubarRadioItemProps, MenubarSeparator, MenubarSeparatorProps, MenubarShortcut, MenubarShortcutProps, MenubarSub, MenubarSubContent, MenubarSubContentProps, MenubarSubProps, MenubarSubTrigger, MenubarSubTriggerProps, MenubarTrigger, MenubarTriggerProps } from "./components/menubar.js";
39
+ import { NativeSelect, NativeSelectOptGroup, NativeSelectOptGroupProps, NativeSelectOption, NativeSelectOptionProps, NativeSelectProps } from "./components/native-select.js";
40
+ import { NavigationMenu, NavigationMenuContent, NavigationMenuContentProps, NavigationMenuItem, NavigationMenuItemProps, NavigationMenuLink, NavigationMenuLinkProps, NavigationMenuList, NavigationMenuListProps, NavigationMenuProps, NavigationMenuTrigger, NavigationMenuTriggerProps, navigationMenuTriggerVariants } from "./components/navigation-menu.js";
41
+ import { Pagination, PaginationContent, PaginationContentProps, PaginationEllipsis, PaginationEllipsisProps, PaginationItem, PaginationItemProps, PaginationLink, PaginationLinkProps, PaginationNext, PaginationNextProps, PaginationPrevious, PaginationPreviousProps, PaginationProps } from "./components/pagination.js";
42
+ import { Popover, PopoverAnchor, PopoverAnchorProps, PopoverArrow, PopoverArrowProps, PopoverContent, PopoverContentProps, PopoverProps, PopoverTrigger, PopoverTriggerProps } from "./components/popover.js";
43
+ import { ProgressCircle, ProgressCircleProps, progressCircleVariants } from "./components/progress-circle.js";
44
+ import { Progress, ProgressProps } from "./components/progress.js";
45
+ import { RadioCards, RadioCardsItem, RadioCardsItemProps, RadioCardsProps } from "./components/radio-cards.js";
46
+ import { RadioGroup, RadioGroupItem, RadioGroupItemProps, RadioGroupProps } from "./components/radio-group.js";
47
+ import { Radio, RadioProps } from "./components/radio.js";
48
+ import { ResizableGroup, ResizableGroupProps, ResizablePanel, ResizablePanelProps, ResizableSeparator, ResizableSeparatorProps } from "./components/resizable.js";
49
+ import { ScrollArea, ScrollAreaProps, ScrollAreaScrollbar, ScrollAreaScrollbarProps, scrollAreaScrollbarVariants } from "./components/scroll-area.js";
50
+ import { Select, SelectContent, SelectContentProps, SelectGroup, SelectGroupProps, SelectItem, SelectItemProps, SelectLabel, SelectLabelProps, SelectProps, SelectScrollDownButton, SelectScrollDownButtonProps, SelectScrollUpButton, SelectScrollUpButtonProps, SelectSeparator, SelectSeparatorProps, SelectTrigger, SelectTriggerProps, SelectValue, SelectValueProps } from "./components/select.js";
51
+ import { Sheet, SheetBody, SheetBodyProps, SheetClose, SheetCloseProps, SheetContent, SheetContentProps, SheetDescription, SheetDescriptionProps, SheetFooter, SheetFooterProps, SheetHeader, SheetHeaderProps, SheetProps, SheetTitle, SheetTitleProps, SheetTrigger, SheetTriggerProps, sheetContentVariants } from "./components/sheet.js";
52
+ import { Tooltip, TooltipArrow, TooltipArrowProps, TooltipContent, TooltipContentProps, TooltipProps, TooltipProvider, TooltipProviderProps, TooltipTrigger, TooltipTriggerProps } from "./components/tooltip.js";
53
+ import { Sidebar, SidebarContent, SidebarContentProps, SidebarFooter, SidebarFooterProps, SidebarGroup, SidebarGroupAction, SidebarGroupActionProps, SidebarGroupContent, SidebarGroupContentProps, SidebarGroupLabel, SidebarGroupLabelProps, SidebarGroupProps, SidebarHeader, SidebarHeaderProps, SidebarInput, SidebarInputProps, SidebarInset, SidebarInsetProps, SidebarMenu, SidebarMenuAction, SidebarMenuActionProps, SidebarMenuBadge, SidebarMenuBadgeProps, SidebarMenuButton, SidebarMenuButtonProps, SidebarMenuItem, SidebarMenuItemProps, SidebarMenuProps, SidebarMenuSkeleton, SidebarMenuSkeletonProps, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubButtonProps, SidebarMenuSubItem, SidebarMenuSubItemProps, SidebarMenuSubProps, SidebarProps, SidebarProvider, SidebarProviderProps, SidebarRail, SidebarRailProps, SidebarSeparator, SidebarSeparatorProps, SidebarTrigger, SidebarTriggerProps, sidebarMenuButtonVariants, useSidebar } from "./components/sidebar.js";
54
+ import { Skeleton, SkeletonProps } from "./components/skeleton.js";
55
+ import { Slider, SliderProps } from "./components/slider.js";
56
+ import { Toaster, ToasterProps, toast, useSonner } from "./components/sonner.js";
57
+ import { Spinner, SpinnerProps } from "./components/spinner.js";
58
+ import { Switch, SwitchProps } from "./components/switch.js";
59
+ import { Table, TableBody, TableBodyProps, TableCaption, TableCaptionProps, TableCell, TableCellProps, TableFooter, TableFooterProps, TableHead, TableHeadProps, TableHeader, TableHeaderProps, TableProps, TableRow, TableRowProps } from "./components/table.js";
60
+ import { Tabs, TabsContent, TabsContentProps, TabsList, TabsListProps, TabsProps, TabsTrigger, TabsTriggerProps } from "./components/tabs.js";
61
+ import { Toggle, ToggleProps, ToggleVariants, toggleVariants } from "./components/toggle.js";
62
+ import { ToggleGroup, ToggleGroupItem, ToggleGroupItemProps, ToggleGroupProps } from "./components/toggle-group.js";
63
+ import { useAnimatedValue } from "./hooks/use-animated-value.js";
64
+ import { useCopyToClipboard } from "./hooks/use-copy-to-clipboard.js";
65
+ import { useIsMobile } from "./hooks/use-is-mobile.js";
66
+ import { useMediaQuery } from "./hooks/use-media-query.js";
67
+ import { useMutationObserver } from "./hooks/use-mutation-observer.js";
68
+ import { ELLIPSIS, UsePaginationProps, usePagination } from "./hooks/use-pagination.js";
69
+ export { Accordion, AccordionContent, type AccordionContentProps, AccordionIcon, type AccordionIconProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, Alert, AlertDescription, type AlertDescriptionProps, AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogBody, type AlertDialogBodyProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, type AlertDialogDescriptionProps, AlertDialogFooter, type AlertDialogFooterProps, AlertDialogHeader, type AlertDialogHeaderProps, type AlertDialogProps, AlertDialogTitle, type AlertDialogTitleProps, AlertDialogTrigger, type AlertDialogTriggerProps, type AlertProps, AlertTitle, type AlertTitleProps, AspectRatio, type AspectRatioProps, Avatar, AvatarFallback, type AvatarFallbackProps, AvatarImage, type AvatarImageProps, type AvatarProps, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, type BreadcrumbEllipsisProps, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, type BreadcrumbListProps, BreadcrumbPage, type BreadcrumbPageProps, type BreadcrumbProps, BreadcrumbSeparator, type BreadcrumbSeparatorProps, Button, ButtonGroup, type ButtonGroupProps, ButtonGroupSeparator, type ButtonGroupSeparatorProps, ButtonGroupText, type ButtonGroupTextProps, type ButtonProps, Calendar, CalendarDayButton, Card, CardAction, type CardActionProps, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, Carousel, type CarouselApi, CarouselContent, type CarouselContentProps, CarouselItem, type CarouselItemProps, CarouselNext, type CarouselNextProps, CarouselPrevious, type CarouselPreviousProps, type CarouselProps, type ChartConfig, ChartContainer, type ChartContainerProps, ChartLegend, ChartLegendContent, type ChartLegendContentProps, type ChartLegendProps, ChartStyle, type ChartStyleProps, ChartTooltip, ChartTooltipContent, type ChartTooltipContentProps, type ChartTooltipProps, Checkbox, CheckboxCards, CheckboxCardsItem, type CheckboxCardsItemProps, type CheckboxCardsProps, CheckboxGroup, CheckboxGroupItem, type CheckboxGroupItemProps, type CheckboxGroupProps, type CheckboxProps, Collapsible, CollapsibleContent, type CollapsibleContentProps, type CollapsibleProps, CollapsibleTrigger, type CollapsibleTriggerProps, Command, CommandDialog, type CommandDialogProps, CommandEmpty, type CommandEmptyProps, CommandGroup, type CommandGroupProps, CommandInput, type CommandInputProps, CommandItem, type CommandItemProps, CommandList, type CommandListProps, CommandLoading, type CommandLoadingProps, type CommandProps, CommandSeparator, type CommandSeparatorProps, CommandShortcut, type CommandShortcutProps, ContextMenu, ContextMenuArrow, type ContextMenuArrowProps, ContextMenuCheckboxItem, type ContextMenuCheckboxItemProps, ContextMenuContent, type ContextMenuContentProps, ContextMenuGroup, type ContextMenuGroupProps, ContextMenuItem, type ContextMenuItemProps, ContextMenuLabel, type ContextMenuLabelProps, type ContextMenuProps, ContextMenuRadioGroup, type ContextMenuRadioGroupProps, ContextMenuRadioItem, type ContextMenuRadioItemProps, ContextMenuSeparator, type ContextMenuSeparatorProps, ContextMenuShortcut, type ContextMenuShortcutProps, ContextMenuSub, ContextMenuSubContent, type ContextMenuSubContentProps, type ContextMenuSubProps, ContextMenuSubTrigger, type ContextMenuSubTriggerProps, ContextMenuTrigger, type ContextMenuTriggerProps, Dialog, DialogBody, type DialogBodyProps, DialogClose, type DialogCloseProps, DialogContent, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, type DialogProps, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps, Drawer, DrawerBody, type DrawerBodyProps, DrawerClose, type DrawerCloseProps, DrawerContent, type DrawerContentProps, DrawerDescription, type DrawerDescriptionProps, DrawerFooter, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, type DrawerProps, DrawerTitle, type DrawerTitleProps, DrawerTrigger, type DrawerTriggerProps, DropdownMenu, DropdownMenuArrow, type DropdownMenuArrowProps, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, type DropdownMenuGroupProps, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, type DropdownMenuProps, DropdownMenuRadioGroup, type DropdownMenuRadioGroupProps, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuShortcut, type DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, type DropdownMenuSubContentProps, type DropdownMenuSubProps, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, ELLIPSIS, Empty, EmptyContent, type EmptyContentProps, EmptyDescription, type EmptyDescriptionProps, EmptyHeader, type EmptyHeaderProps, EmptyMedia, type EmptyMediaProps, type EmptyProps, EmptyTitle, type EmptyTitleProps, Field, FieldContent, type FieldContentProps, FieldDescription, type FieldDescriptionProps, FieldError, type FieldErrorProps, FieldGroup, type FieldGroupProps, FieldLabel, type FieldLabelProps, FieldLegend, type FieldLegendProps, type FieldProps, FieldSeparator, type FieldSeparatorProps, FieldSet, type FieldSetProps, FieldTitle, type FieldTitleProps, Form, FormControl, type FormControlProps, FormDescription, type FormDescriptionProps, FormField, type FormFieldProps, FormItem, type FormItemProps, FormLabel, type FormLabelProps, FormMessage, type FormMessageProps, type FormProps, HoverCard, HoverCardArrow, type HoverCardArrowProps, HoverCardContent, type HoverCardContentProps, type HoverCardProps, HoverCardTrigger, type HoverCardTriggerProps, Input, InputGroup, InputGroupAddon, type InputGroupAddonProps, InputGroupButton, type InputGroupButtonProps, InputGroupInput, type InputGroupInputProps, type InputGroupProps, InputGroupText, type InputGroupTextProps, InputGroupTextarea, type InputGroupTextareaProps, InputNumber, type InputNumberProps, InputOTP, InputOTPGroup, type InputOTPGroupProps, type InputOTPProps, InputOTPSeparator, type InputOTPSeparatorProps, InputOTPSlot, type InputOTPSlotProps, InputPassword, type InputPasswordProps, type InputProps, InputSearch, type InputSearchProps, Item, ItemActions, type ItemActionsProps, ItemContent, type ItemContentProps, ItemDescription, type ItemDescriptionProps, ItemFooter, type ItemFooterProps, ItemGroup, type ItemGroupProps, ItemHeader, type ItemHeaderProps, ItemMedia, type ItemMediaProps, type ItemProps, ItemSeparator, type ItemSeparatorProps, ItemTitle, type ItemTitleProps, Kbd, KbdGroup, type KbdGroupProps, type KbdProps, Label, type LabelProps, Menubar, MenubarArrow, type MenubarArrowProps, MenubarCheckboxItem, type MenubarCheckboxItemProps, MenubarContent, type MenubarContentProps, MenubarGroup, type MenubarGroupProps, MenubarItem, type MenubarItemProps, MenubarLabel, type MenubarLabelProps, MenubarMenu, type MenubarMenuProps, type MenubarProps, MenubarRadioGroup, type MenubarRadioGroupProps, MenubarRadioItem, type MenubarRadioItemProps, MenubarSeparator, type MenubarSeparatorProps, MenubarShortcut, type MenubarShortcutProps, MenubarSub, MenubarSubContent, type MenubarSubContentProps, type MenubarSubProps, MenubarSubTrigger, type MenubarSubTriggerProps, MenubarTrigger, type MenubarTriggerProps, NativeSelect, NativeSelectOptGroup, type NativeSelectOptGroupProps, NativeSelectOption, type NativeSelectOptionProps, type NativeSelectProps, NavigationMenu, NavigationMenuContent, type NavigationMenuContentProps, NavigationMenuItem, type NavigationMenuItemProps, NavigationMenuLink, type NavigationMenuLinkProps, NavigationMenuList, type NavigationMenuListProps, type NavigationMenuProps, NavigationMenuTrigger, type NavigationMenuTriggerProps, Pagination, PaginationContent, type PaginationContentProps, PaginationEllipsis, type PaginationEllipsisProps, PaginationItem, type PaginationItemProps, PaginationLink, type PaginationLinkProps, PaginationNext, type PaginationNextProps, PaginationPrevious, type PaginationPreviousProps, type PaginationProps, Popover, PopoverAnchor, type PopoverAnchorProps, PopoverArrow, type PopoverArrowProps, PopoverContent, type PopoverContentProps, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, Progress, ProgressCircle, type ProgressCircleProps, type ProgressProps, REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS, Radio, RadioCards, RadioCardsItem, type RadioCardsItemProps, type RadioCardsProps, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, type RadioProps, ResizableGroup, type ResizableGroupProps, ResizablePanel, type ResizablePanelProps, ResizableSeparator, type ResizableSeparatorProps, ScrollArea, type ScrollAreaProps, ScrollAreaScrollbar, type ScrollAreaScrollbarProps, Select, SelectContent, type SelectContentProps, SelectGroup, type SelectGroupProps, SelectItem, type SelectItemProps, SelectLabel, type SelectLabelProps, type SelectProps, SelectScrollDownButton, type SelectScrollDownButtonProps, SelectScrollUpButton, type SelectScrollUpButtonProps, SelectSeparator, type SelectSeparatorProps, SelectTrigger, type SelectTriggerProps, SelectValue, type SelectValueProps, Separator, SeparatorItem, type SeparatorItemProps, type SeparatorProps, Sheet, SheetBody, type SheetBodyProps, SheetClose, type SheetCloseProps, SheetContent, type SheetContentProps, SheetDescription, type SheetDescriptionProps, SheetFooter, type SheetFooterProps, SheetHeader, type SheetHeaderProps, type SheetProps, SheetTitle, type SheetTitleProps, SheetTrigger, type SheetTriggerProps, Sidebar, SidebarContent, type SidebarContentProps, SidebarFooter, type SidebarFooterProps, SidebarGroup, SidebarGroupAction, type SidebarGroupActionProps, SidebarGroupContent, type SidebarGroupContentProps, SidebarGroupLabel, type SidebarGroupLabelProps, type SidebarGroupProps, SidebarHeader, type SidebarHeaderProps, SidebarInput, type SidebarInputProps, SidebarInset, type SidebarInsetProps, SidebarMenu, SidebarMenuAction, type SidebarMenuActionProps, SidebarMenuBadge, type SidebarMenuBadgeProps, SidebarMenuButton, type SidebarMenuButtonProps, SidebarMenuItem, type SidebarMenuItemProps, type SidebarMenuProps, SidebarMenuSkeleton, type SidebarMenuSkeletonProps, SidebarMenuSub, SidebarMenuSubButton, type SidebarMenuSubButtonProps, SidebarMenuSubItem, type SidebarMenuSubItemProps, type SidebarMenuSubProps, type SidebarProps, SidebarProvider, type SidebarProviderProps, SidebarRail, type SidebarRailProps, SidebarSeparator, type SidebarSeparatorProps, SidebarTrigger, type SidebarTriggerProps, Skeleton, type SkeletonProps, Slider, type SliderProps, Spinner, type SpinnerProps, Switch, type SwitchProps, Table, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, type TableProps, TableRow, type TableRowProps, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, Textarea, type TextareaProps, Toaster, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleProps, type ToggleVariants, Tooltip, TooltipArrow, type TooltipArrowProps, TooltipContent, type TooltipContentProps, type TooltipProps, TooltipProvider, type TooltipProviderProps, TooltipTrigger, type TooltipTriggerProps, type UsePaginationProps, alertVariants, badgeVariants, buttonGroupVariants, buttonVariants, createCarouselScope, createChartScope, createFormFieldScope, emptyMediaVariants, fieldVariants, inputGroupAddonVariants, inputGroupButtonVariants, inputGroupVariants, itemMediaVariants, itemVariants, navigationMenuTriggerVariants, progressCircleVariants, scrollAreaScrollbarVariants, separatorVariants, sheetContentVariants, sidebarMenuButtonVariants, toast, toggleVariants, useAnimatedValue, useCopyToClipboard, useIsMobile, useMediaQuery, useMutationObserver, usePagination, useSidebar, useSonner };
package/dist/index.js CHANGED
@@ -1,23 +1,25 @@
1
1
  import { Accordion, AccordionContent, AccordionIcon, AccordionItem, AccordionTrigger } from "./components/accordion.js";
2
2
  import { Alert, AlertDescription, AlertTitle, alertVariants } from "./components/alert.js";
3
+ import { Button, buttonVariants } from "./components/button.js";
3
4
  import { AlertDialog, AlertDialogAction, AlertDialogBody, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger } from "./components/alert-dialog.js";
4
5
  import { AspectRatio } from "./components/aspect-ratio.js";
5
6
  import { Avatar, AvatarFallback, AvatarImage } from "./components/avatar.js";
6
7
  import { Badge, badgeVariants } from "./components/badge.js";
8
+ import { Separator, SeparatorItem, separatorVariants } from "./components/separator.js";
7
9
  import { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants } from "./components/button-group.js";
8
10
  import { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from "./components/breadcrumb.js";
9
- import { Button, buttonVariants } from "./components/button.js";
10
11
  import { Calendar, CalendarDayButton } from "./components/calendar.js";
11
12
  import { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "./components/card.js";
12
13
  import { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, createCarouselScope } from "./components/carousel.js";
13
14
  import { ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, createChartScope } from "./components/chart.js";
14
15
  import { Checkbox } from "./components/checkbox.js";
16
+ import { Label } from "./components/label.js";
15
17
  import { CheckboxCards, CheckboxCardsItem } from "./components/checkbox-cards.js";
16
18
  import { CheckboxGroup, CheckboxGroupItem } from "./components/checkbox-group.js";
17
19
  import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "./components/collapsible.js";
20
+ import { Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger } from "./components/dialog.js";
18
21
  import { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandLoading, CommandSeparator, CommandShortcut } from "./components/command.js";
19
22
  import { ContextMenu, ContextMenuArrow, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger } from "./components/context-menu.js";
20
- import { Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger } from "./components/dialog.js";
21
23
  import { Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger } from "./components/drawer.js";
22
24
  import { DropdownMenu, DropdownMenuArrow, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from "./components/dropdown-menu.js";
23
25
  import { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, emptyMediaVariants } from "./components/empty.js";
@@ -25,20 +27,22 @@ import { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLab
25
27
  import { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, createFormFieldScope } from "./components/form.js";
26
28
  import { HoverCard, HoverCardArrow, HoverCardContent, HoverCardTrigger } from "./components/hover-card.js";
27
29
  import { Input } from "./components/input.js";
30
+ import { Textarea } from "./components/textarea.js";
28
31
  import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, inputGroupAddonVariants, inputGroupButtonVariants, inputGroupVariants } from "./components/input-group.js";
32
+ import { Spinner } from "./components/spinner.js";
29
33
  import { InputNumber } from "./components/input-number.js";
30
34
  import { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS } from "./components/input-otp.js";
31
35
  import { InputPassword } from "./components/input-password.js";
32
36
  import { InputSearch } from "./components/input-search.js";
33
37
  import { Kbd, KbdGroup } from "./components/kbd.js";
34
38
  import { Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, itemMediaVariants, itemVariants } from "./components/item.js";
35
- import { Label } from "./components/label.js";
36
39
  import { Menubar, MenubarArrow, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger } from "./components/menubar.js";
37
40
  import { NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, navigationMenuTriggerVariants } from "./components/navigation-menu.js";
38
41
  import { NativeSelect, NativeSelectOptGroup, NativeSelectOption } from "./components/native-select.js";
39
42
  import { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious } from "./components/pagination.js";
40
43
  import { Popover, PopoverAnchor, PopoverArrow, PopoverContent, PopoverTrigger } from "./components/popover.js";
41
44
  import { Progress } from "./components/progress.js";
45
+ import { useAnimatedValue } from "./hooks/use-animated-value.js";
42
46
  import { ProgressCircle, progressCircleVariants } from "./components/progress-circle.js";
43
47
  import { Radio } from "./components/radio.js";
44
48
  import { RadioCards, RadioCardsItem } from "./components/radio-cards.js";
@@ -46,24 +50,20 @@ import { RadioGroup, RadioGroupItem } from "./components/radio-group.js";
46
50
  import { ResizableGroup, ResizablePanel, ResizableSeparator } from "./components/resizable.js";
47
51
  import { ScrollArea, ScrollAreaScrollbar, scrollAreaScrollbarVariants } from "./components/scroll-area.js";
48
52
  import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from "./components/select.js";
49
- import { Separator, SeparatorItem, separatorVariants } from "./components/separator.js";
50
53
  import { Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, sheetContentVariants } from "./components/sheet.js";
51
- import { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, sidebarMenuButtonVariants, useSidebar } from "./components/sidebar.js";
52
54
  import { Skeleton } from "./components/skeleton.js";
55
+ import { Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger } from "./components/tooltip.js";
56
+ import { useMediaQuery } from "./hooks/use-media-query.js";
57
+ import { useIsMobile } from "./hooks/use-is-mobile.js";
58
+ import { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, sidebarMenuButtonVariants, useSidebar } from "./components/sidebar.js";
53
59
  import { Slider } from "./components/slider.js";
54
60
  import { Toaster, toast, useSonner } from "./components/sonner.js";
55
- import { Spinner } from "./components/spinner.js";
56
61
  import { Switch } from "./components/switch.js";
57
62
  import { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from "./components/table.js";
58
63
  import { Tabs, TabsContent, TabsList, TabsTrigger } from "./components/tabs.js";
59
- import { Textarea } from "./components/textarea.js";
60
64
  import { Toggle, toggleVariants } from "./components/toggle.js";
61
65
  import { ToggleGroup, ToggleGroupItem } from "./components/toggle-group.js";
62
- import { Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger } from "./components/tooltip.js";
63
- import { useAnimatedValue } from "./hooks/use-animated-value.js";
64
66
  import { useCopyToClipboard } from "./hooks/use-copy-to-clipboard.js";
65
- import { useIsMobile } from "./hooks/use-is-mobile.js";
66
- import { useMediaQuery } from "./hooks/use-media-query.js";
67
67
  import { useMutationObserver } from "./hooks/use-mutation-observer.js";
68
68
  import { ELLIPSIS, usePagination } from "./hooks/use-pagination.js";
69
69
  export { Accordion, AccordionContent, AccordionIcon, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogBody, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CheckboxCards, CheckboxCardsItem, CheckboxGroup, CheckboxGroupItem, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandLoading, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuArrow, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuArrow, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ELLIPSIS, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HoverCard, HoverCardArrow, HoverCardContent, HoverCardTrigger, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputNumber, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, InputPassword, InputSearch, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, Label, Menubar, MenubarArrow, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NativeSelect, NativeSelectOptGroup, NativeSelectOption, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverArrow, PopoverContent, PopoverTrigger, Progress, ProgressCircle, REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS, Radio, RadioCards, RadioCardsItem, RadioGroup, RadioGroupItem, ResizableGroup, ResizablePanel, ResizableSeparator, ScrollArea, ScrollAreaScrollbar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, SeparatorItem, Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Spinner, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, alertVariants, badgeVariants, buttonGroupVariants, buttonVariants, createCarouselScope, createChartScope, createFormFieldScope, emptyMediaVariants, fieldVariants, inputGroupAddonVariants, inputGroupButtonVariants, inputGroupVariants, itemMediaVariants, itemVariants, navigationMenuTriggerVariants, progressCircleVariants, scrollAreaScrollbarVariants, separatorVariants, sheetContentVariants, sidebarMenuButtonVariants, toast, toggleVariants, useAnimatedValue, useCopyToClipboard, useIsMobile, useMediaQuery, useMutationObserver, usePagination, useSidebar, useSonner };
@@ -1,89 +1,92 @@
1
- import type { Scope } from "@radix-ui/react-context";
2
- import type { ComponentProps, JSX } from "react";
1
+ import { ComponentProps, JSX } from "react";
2
+ import * as _$_radix_ui_react_context0 from "@radix-ui/react-context";
3
+ import { Scope } from "@radix-ui/react-context";
3
4
  import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
4
5
  import * as RovingFocusGroup from "@radix-ui/react-roving-focus";
6
+
7
+ //#region src/primitives/checkbox-group.d.ts
5
8
  /**
6
9
  * Type for components that can be scoped within the CheckboxGroup context
7
10
  */
8
11
  type ScopedProps<P> = P & {
9
- /**
10
- * Optional scope for the CheckboxGroup component
11
- */
12
- __scopeCheckboxGroup?: Scope;
12
+ /**
13
+ * Optional scope for the CheckboxGroup component
14
+ */
15
+ __scopeCheckboxGroup?: Scope;
13
16
  };
14
- declare const createCheckboxGroupScope: import("@radix-ui/react-context").CreateScope;
17
+ declare const createCheckboxGroupScope: _$_radix_ui_react_context0.CreateScope;
15
18
  /**
16
19
  * Context values shared between CheckboxGroup components
17
20
  */
18
21
  interface CheckboxGroupContextValue {
19
- /**
20
- * Whether all checkbox items are disabled
21
- */
22
- disabled: boolean;
23
- /**
24
- * Function called when a checkbox item is checked
25
- * @param value - The value of the checked item
26
- */
27
- onItemCheck: (value: string) => void;
28
- /**
29
- * Function called when a checkbox item is unchecked
30
- * @param value - The value of the unchecked item
31
- */
32
- onItemUncheck: (value: string) => void;
33
- /**
34
- * Whether checkbox selection is required
35
- */
36
- required: boolean;
37
- /**
38
- * Optional name attribute for the checkbox group form field
39
- */
40
- name?: string;
41
- /**
42
- * Array of currently selected checkbox values
43
- */
44
- value?: string[];
22
+ /**
23
+ * Whether all checkbox items are disabled
24
+ */
25
+ disabled: boolean;
26
+ /**
27
+ * Function called when a checkbox item is checked
28
+ * @param value - The value of the checked item
29
+ */
30
+ onItemCheck: (value: string) => void;
31
+ /**
32
+ * Function called when a checkbox item is unchecked
33
+ * @param value - The value of the unchecked item
34
+ */
35
+ onItemUncheck: (value: string) => void;
36
+ /**
37
+ * Whether checkbox selection is required
38
+ */
39
+ required: boolean;
40
+ /**
41
+ * Optional name attribute for the checkbox group form field
42
+ */
43
+ name?: string;
44
+ /**
45
+ * Array of currently selected checkbox values
46
+ */
47
+ value?: string[];
45
48
  }
46
49
  /**
47
50
  * Base props for the CheckboxGroup component
48
51
  */
49
52
  interface CheckboxGroupBaseProps {
50
- /**
51
- * Default values for the checkbox group when uncontrolled
52
- */
53
- defaultValue?: string[];
54
- /**
55
- * Direction for roving focus navigation
56
- */
57
- dir?: RovingFocusGroup.RovingFocusGroupProps["dir"];
58
- /**
59
- * Whether the entire checkbox group is disabled
60
- */
61
- disabled?: boolean;
62
- /**
63
- * Whether focus should loop to the start/end when reaching the boundaries
64
- */
65
- loop?: RovingFocusGroup.RovingFocusGroupProps["loop"];
66
- /**
67
- * Name attribute for the checkbox group form field
68
- */
69
- name?: CheckboxGroupContextValue["name"];
70
- /**
71
- * Callback fired when the selected values change
72
- * @param value - The new array of selected values
73
- */
74
- onValueChange?: (value?: string[]) => void;
75
- /**
76
- * Orientation of the checkbox group (horizontal or vertical)
77
- */
78
- orientation?: RovingFocusGroup.RovingFocusGroupProps["orientation"];
79
- /**
80
- * Whether at least one checkbox must be selected
81
- */
82
- required?: boolean;
83
- /**
84
- * Controlled values for the checkbox group
85
- */
86
- value?: CheckboxGroupContextValue["value"];
53
+ /**
54
+ * Default values for the checkbox group when uncontrolled
55
+ */
56
+ defaultValue?: string[];
57
+ /**
58
+ * Direction for roving focus navigation
59
+ */
60
+ dir?: RovingFocusGroup.RovingFocusGroupProps["dir"];
61
+ /**
62
+ * Whether the entire checkbox group is disabled
63
+ */
64
+ disabled?: boolean;
65
+ /**
66
+ * Whether focus should loop to the start/end when reaching the boundaries
67
+ */
68
+ loop?: RovingFocusGroup.RovingFocusGroupProps["loop"];
69
+ /**
70
+ * Name attribute for the checkbox group form field
71
+ */
72
+ name?: CheckboxGroupContextValue["name"];
73
+ /**
74
+ * Callback fired when the selected values change
75
+ * @param value - The new array of selected values
76
+ */
77
+ onValueChange?: (value?: string[]) => void;
78
+ /**
79
+ * Orientation of the checkbox group (horizontal or vertical)
80
+ */
81
+ orientation?: RovingFocusGroup.RovingFocusGroupProps["orientation"];
82
+ /**
83
+ * Whether at least one checkbox must be selected
84
+ */
85
+ required?: boolean;
86
+ /**
87
+ * Controlled values for the checkbox group
88
+ */
89
+ value?: CheckboxGroupContextValue["value"];
87
90
  }
88
91
  /**
89
92
  * Props for the CheckboxGroup component
@@ -92,24 +95,40 @@ type CheckboxGroupProps = CheckboxGroupBaseProps & ComponentProps<"div">;
92
95
  /**
93
96
  * CheckboxGroup component that manages a group of checkboxes with roving focus
94
97
  */
95
- declare function CheckboxGroup({ __scopeCheckboxGroup, defaultValue, dir, disabled, loop, name, onValueChange, orientation, required, value: valueProperty, ...props }: ScopedProps<CheckboxGroupProps>): JSX.Element;
98
+ declare function CheckboxGroup({
99
+ __scopeCheckboxGroup,
100
+ defaultValue,
101
+ dir,
102
+ disabled,
103
+ loop,
104
+ name,
105
+ onValueChange,
106
+ orientation,
107
+ required,
108
+ value: valueProperty,
109
+ ...props
110
+ }: ScopedProps<CheckboxGroupProps>): JSX.Element;
96
111
  /**
97
112
  * Props for the CheckboxGroupItem component
98
113
  */
99
114
  interface CheckboxGroupItemProps extends Omit<ComponentProps<typeof CheckboxPrimitive.Root>, "checked" | "defaultChecked" | "name" | "onCheckedChange"> {
100
- /**
101
- * Value of the checkbox item, used to identify the item within the group
102
- */
103
- value: string;
104
- /**
105
- * Whether this specific checkbox item is disabled
106
- */
107
- disabled?: boolean;
115
+ /**
116
+ * Value of the checkbox item, used to identify the item within the group
117
+ */
118
+ value: string;
119
+ /**
120
+ * Whether this specific checkbox item is disabled
121
+ */
122
+ disabled?: boolean;
108
123
  }
109
124
  /**
110
125
  * Individual checkbox item within a CheckboxGroup
111
126
  */
112
- declare function CheckboxGroupItem({ __scopeCheckboxGroup, disabled, ...props }: ScopedProps<CheckboxGroupItemProps>): JSX.Element;
127
+ declare function CheckboxGroupItem({
128
+ __scopeCheckboxGroup,
129
+ disabled,
130
+ ...props
131
+ }: ScopedProps<CheckboxGroupItemProps>): JSX.Element;
113
132
  /**
114
133
  * Props for the CheckboxGroupIndicator component
115
134
  */
@@ -117,6 +136,9 @@ type CheckboxGroupIndicatorProps = ComponentProps<typeof CheckboxPrimitive.Indic
117
136
  /**
118
137
  * Visual indicator component for a CheckboxGroupItem
119
138
  */
120
- declare function CheckboxGroupIndicator({ __scopeCheckboxGroup, ...props }: ScopedProps<CheckboxGroupIndicatorProps>): JSX.Element;
121
- export { CheckboxGroup, CheckboxGroupIndicator, CheckboxGroupItem, createCheckboxGroupScope, CheckboxGroupIndicator as Indicator, CheckboxGroupItem as Item, CheckboxGroup as Root, };
122
- export type { CheckboxGroupIndicatorProps, CheckboxGroupItemProps, CheckboxGroupProps };
139
+ declare function CheckboxGroupIndicator({
140
+ __scopeCheckboxGroup,
141
+ ...props
142
+ }: ScopedProps<CheckboxGroupIndicatorProps>): JSX.Element;
143
+ //#endregion
144
+ export { CheckboxGroup, CheckboxGroup as Root, CheckboxGroupIndicator, CheckboxGroupIndicator as Indicator, type CheckboxGroupIndicatorProps, CheckboxGroupItem, CheckboxGroupItem as Item, type CheckboxGroupItemProps, type CheckboxGroupProps, createCheckboxGroupScope };