@uselets/ui 1.0.0 → 1.2.0

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 (56) hide show
  1. package/README.md +29 -12
  2. package/dist/cli/uselets.mjs +2 -2
  3. package/dist/cli/uselets.mjs.map +1 -1
  4. package/dist/components/card.js +1 -1
  5. package/dist/components/card.js.map +1 -1
  6. package/dist/components/combobox.d.ts +4 -1
  7. package/dist/components/combobox.js +1 -1
  8. package/dist/components/combobox.js.map +1 -1
  9. package/dist/components/dialog.d.ts +6 -12
  10. package/dist/components/dialog.js +1 -1
  11. package/dist/components/dialog.js.map +1 -1
  12. package/dist/components/field.js +1 -1
  13. package/dist/components/field.js.map +1 -1
  14. package/dist/components/sidebar.js +1 -1
  15. package/dist/components/sidebar.js.map +1 -1
  16. package/dist/components/skeleton.d.ts +5 -1
  17. package/dist/components/skeleton.js +1 -1
  18. package/dist/components/skeleton.js.map +1 -1
  19. package/dist/components/skeleton.spec.d.ts +1 -0
  20. package/dist/components/skeleton.spec.js +2 -0
  21. package/dist/components/skeleton.spec.js.map +1 -0
  22. package/dist/components/tooltip.d.ts +20 -4
  23. package/dist/components/tooltip.js +1 -1
  24. package/dist/components/tooltip.js.map +1 -1
  25. package/dist/components/unstyled-button.d.ts +17 -0
  26. package/dist/components/unstyled-button.js +2 -0
  27. package/dist/components/unstyled-button.js.map +1 -0
  28. package/dist/hooks/use-breakpoint-value.spec.js +1 -1
  29. package/dist/hooks/use-breakpoint.spec.js +1 -1
  30. package/dist/hooks/use-disclosure.spec.js +1 -1
  31. package/dist/hooks/use-document-visibility.spec.js +1 -1
  32. package/dist/hooks/use-idle.spec.js +1 -1
  33. package/dist/hooks/use-interval.spec.js +1 -1
  34. package/dist/hooks/use-local-storage.spec.js +1 -1
  35. package/dist/hooks/use-mobile.spec.js +1 -1
  36. package/dist/index.d.ts +3 -2
  37. package/dist/index.js +1 -1
  38. package/dist/{react.esm-BuxkFT_p.js → react.esm-B3a5z6DL.js} +2 -2
  39. package/dist/{react.esm-BuxkFT_p.js.map → react.esm-B3a5z6DL.js.map} +1 -1
  40. package/dist/skills/uselets-ui/SKILL.md +5 -5
  41. package/dist/skills/uselets-ui/references/component-catalog.md +8 -2
  42. package/dist/skills/uselets-ui/references/package-guide.md +23 -11
  43. package/dist/skills/uselets-ui/scripts/print-public-api.mjs +0 -1
  44. package/dist/styles/base.css +13 -0
  45. package/dist/styles/globals.css +8 -0
  46. package/dist/styles/gomax.css +202 -0
  47. package/dist/styles/max.css +203 -0
  48. package/dist/styles/theme.css +195 -0
  49. package/dist/themes/gomax.css +3 -2
  50. package/dist/themes/max.css +3 -2
  51. package/package.json +1 -2
  52. package/skills/uselets-ui/SKILL.md +5 -5
  53. package/skills/uselets-ui/references/component-catalog.md +8 -2
  54. package/skills/uselets-ui/references/package-guide.md +23 -11
  55. package/skills/uselets-ui/scripts/print-public-api.mjs +0 -1
  56. package/dist/styles.css +0 -2
package/dist/index.d.ts CHANGED
@@ -46,7 +46,7 @@ import { RadioGroup, RadioGroupItem, RadioGroupItemProps, RadioGroupProps } from
46
46
  import { ResizableHandle, ResizableHandleProps, ResizablePanel, ResizablePanelGroup, ResizablePanelGroupProps, ResizablePanelProps } from "./components/resizable.js";
47
47
  import { ScrollArea, ScrollAreaProps, ScrollBar, ScrollBarProps } from "./components/scroll-area.js";
48
48
  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";
49
- import { Tooltip, TooltipContent, TooltipContentProps, TooltipProps, TooltipProvider, TooltipProviderProps, TooltipTrigger, TooltipTriggerProps } from "./components/tooltip.js";
49
+ import { Tooltip, TooltipContent, TooltipContentProps, TooltipProps, TooltipProvider, TooltipProviderProps, TooltipRoot, TooltipRootProps, TooltipTrigger, TooltipTriggerProps } from "./components/tooltip.js";
50
50
  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, useSidebar } from "./components/sidebar.js";
51
51
  import { SimpleGrid, SimpleGridProps } from "./components/simple-grid.js";
52
52
  import { Skeleton, SkeletonProps } from "./components/skeleton.js";
@@ -63,6 +63,7 @@ import { ModeToggle, ModeToggleProps, Theme, ThemeProvider, ThemeProviderProps,
63
63
  import { Timeline, TimelineConnector, TimelineConnectorColor, TimelineConnectorProps, TimelineContent, TimelineContentProps, TimelineDescription, TimelineDescriptionProps, TimelineEmpty, TimelineEmptyProps, TimelineHeader, TimelineHeaderProps, TimelineIcon, TimelineIconColor, TimelineIconProps, TimelineIconSize, TimelineItem, TimelineItemProps, TimelineProps, TimelineStatus, TimelineTime, TimelineTimeProps, TimelineTitle, TimelineTitleProps, timelineVariants } from "./components/timeline.js";
64
64
  import { Toggle, ToggleProps, toggleVariants } from "./components/toggle.js";
65
65
  import { ToggleGroup, ToggleGroupItem, ToggleGroupItemProps, ToggleGroupProps } from "./components/toggle-group.js";
66
+ import { UnstyledButton, UnstyledButtonProps } from "./components/unstyled-button.js";
66
67
  import { Breakpoint, breakpointValues, useBreakpoint } from "./hooks/use-breakpoint.js";
67
68
  import { HiddenFrom, HiddenFromProps, VisibleFrom, VisibleFromProps } from "./components/visibility.js";
68
69
  import { ResponsiveValueMap, useBreakpointValue } from "./hooks/use-breakpoint-value.js";
@@ -74,4 +75,4 @@ import { UseLocalStorageOptions, useLocalStorage } from "./hooks/use-local-stora
74
75
  import { useIsMobile } from "./hooks/use-mobile.js";
75
76
  import { ButtonColor, buttonColorVariants } from "./lib/button.js";
76
77
  import { cn, randomId } from "./lib/utils.js";
77
- export { Accordion, AccordionContent, AccordionContentProps, AccordionItem, AccordionItemProps, AccordionProps, AccordionTrigger, AccordionTriggerProps, Alert, AlertAction, AlertActionProps, AlertDescription, AlertDescriptionProps, AlertDialog, AlertDialogAction, AlertDialogActionProps, AlertDialogCancel, AlertDialogCancelProps, AlertDialogContent, AlertDialogContentProps, AlertDialogDescription, AlertDialogDescriptionProps, AlertDialogFooter, AlertDialogFooterProps, AlertDialogHeader, AlertDialogHeaderProps, AlertDialogMedia, AlertDialogMediaProps, AlertDialogOverlay, AlertDialogOverlayProps, AlertDialogPortal, AlertDialogPortalProps, AlertDialogProps, AlertDialogTitle, AlertDialogTitleProps, AlertDialogTrigger, AlertDialogTriggerProps, AlertProps, AlertTitle, AlertTitleProps, Anchor, AnchorProps, Avatar, AvatarBadge, AvatarBadgeProps, AvatarFallback, AvatarFallbackProps, AvatarGroup, AvatarGroupCount, AvatarGroupCountProps, AvatarGroupProps, AvatarImage, AvatarImageProps, AvatarProps, Badge, BadgeProps, Bar, BarChart, Breadcrumb, BreadcrumbEllipsis, BreadcrumbEllipsisProps, BreadcrumbItem, BreadcrumbItemProps, BreadcrumbLink, BreadcrumbLinkProps, BreadcrumbList, BreadcrumbListProps, BreadcrumbPage, BreadcrumbPageProps, BreadcrumbProps, BreadcrumbSeparator, BreadcrumbSeparatorProps, Breakpoint, Button, ButtonColor, ButtonGroup, ButtonGroupProps, ButtonGroupSeparator, ButtonGroupSeparatorProps, ButtonGroupText, ButtonGroupTextProps, ButtonProps, Calendar, CalendarDayButton, CalendarDayButtonProps, CalendarProps, Card, CardAction, CardActionProps, CardContent, CardContentProps, CardDescription, CardDescriptionProps, CardFooter, CardFooterProps, CardHeader, CardHeaderProps, CardProps, CardTitle, CardTitleProps, Carousel, CarouselApi, CarouselContent, CarouselContentProps, CarouselItem, CarouselItemProps, CarouselNext, CarouselNextProps, CarouselPrevious, CarouselPreviousProps, CarouselProps, CartesianGrid, Center, CenterProps, ChartConfig, ChartContainer, ChartContainerProps, ChartLegend, ChartLegendContent, ChartLegendContentProps, ChartLegendProps, ChartStyle, ChartStyleProps, ChartTooltip, ChartTooltipContent, ChartTooltipContentProps, ChartTooltipProps, Checkbox, CheckboxProps, Code, CodeProps, Collapsible, CollapsibleContent, CollapsibleContentProps, CollapsibleProps, CollapsibleTrigger, CollapsibleTriggerProps, Combobox, ComboboxChip, ComboboxChipProps, ComboboxChips, ComboboxChipsInput, ComboboxChipsInputProps, ComboboxChipsProps, ComboboxClear, ComboboxClearProps, ComboboxCollection, ComboboxCollectionProps, ComboboxContent, ComboboxContentProps, ComboboxEmpty, ComboboxEmptyProps, ComboboxGroup, ComboboxGroupProps, ComboboxInput, ComboboxInputProps, ComboboxItem, ComboboxItemProps, ComboboxLabel, ComboboxLabelProps, ComboboxList, ComboboxListProps, ComboboxProps, ComboboxSeparator, ComboboxSeparatorProps, ComboboxTrigger, ComboboxTriggerProps, ComboboxValue, ComboboxValueProps, Command, CommandDialog, CommandDialogProps, CommandEmpty, CommandEmptyProps, CommandGroup, CommandGroupProps, CommandInput, CommandInputProps, CommandItem, CommandItemProps, CommandList, CommandListProps, CommandProps, CommandSeparator, CommandSeparatorProps, CommandShortcut, CommandShortcutProps, Container, ContainerProps, DateRange, DateRangePicker, DateRangePickerActions, DateRangePickerActionsProps, DateRangePickerApply, DateRangePickerApplyProps, DateRangePickerCalendar, DateRangePickerCalendarProps, DateRangePickerContent, DateRangePickerContentProps, DateRangePickerDateFields, DateRangePickerDateFieldsProps, DateRangePickerPreset, DateRangePickerPresetOption, DateRangePickerPresetProps, DateRangePickerPresets, DateRangePickerPresetsProps, DateRangePickerProps, DateRangePickerReset, DateRangePickerResetProps, DateRangePickerTrigger, DateRangePickerTriggerProps, DateRangePickerValue, DateRangePickerValueProps, Dialog, DialogClose, DialogCloseProps, DialogContent, DialogContentProps, DialogDescription, DialogDescriptionProps, DialogFooter, DialogFooterProps, DialogHeader, DialogHeaderProps, DialogOverlay, DialogOverlayProps, DialogPortal, DialogPortalProps, DialogProps, DialogTitle, DialogTitleProps, DialogTrigger, DialogTriggerProps, Drawer, DrawerClose, DrawerCloseProps, DrawerContent, DrawerContentProps, DrawerDescription, DrawerDescriptionProps, DrawerFooter, DrawerFooterProps, DrawerHeader, DrawerHeaderProps, DrawerOverlay, DrawerOverlayProps, DrawerPortal, DrawerPortalProps, DrawerProps, DrawerTitle, DrawerTitleProps, DrawerTrigger, DrawerTriggerProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuCheckboxItemProps, DropdownMenuContent, DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuGroupProps, DropdownMenuItem, DropdownMenuItemProps, DropdownMenuLabel, DropdownMenuLabelProps, DropdownMenuPortal, DropdownMenuPortalProps, DropdownMenuProps, DropdownMenuRadioGroup, DropdownMenuRadioGroupProps, DropdownMenuRadioItem, DropdownMenuRadioItemProps, DropdownMenuSeparator, DropdownMenuSeparatorProps, DropdownMenuShortcut, DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubContentProps, DropdownMenuSubProps, DropdownMenuSubTrigger, DropdownMenuSubTriggerProps, DropdownMenuTrigger, DropdownMenuTriggerProps, Dropzone, DropzoneArea, DropzoneAreaProps, DropzoneDescription, DropzoneDescriptionProps, DropzoneFileList, DropzoneFileListItem, DropzoneFileListItemProps, DropzoneFileListProps, DropzoneFileMessage, DropzoneFileMessageProps, DropzoneFileStatus, DropzoneMessage, DropzoneMessageProps, DropzoneProps, DropzoneRemoveFile, DropzoneRemoveFileProps, DropzoneRetryFile, DropzoneRetryFileProps, DropzoneTrigger, DropzoneTriggerProps, DropzoneUploadResult, DropzoneValidation, Empty, EmptyContent, EmptyContentProps, EmptyDescription, EmptyDescriptionProps, EmptyHeader, EmptyHeaderProps, EmptyMedia, EmptyMediaProps, EmptyProps, EmptyTitle, EmptyTitleProps, ErrorCode, Field, FieldContent, FieldContentProps, FieldDescription, FieldDescriptionProps, FieldError, FieldErrorProps, FieldGroup, FieldGroupProps, FieldLabel, FieldLabelProps, FieldLegend, FieldLegendProps, FieldProps, FieldSeparator, FieldSeparatorProps, FieldSet, FieldSetProps, FieldTitle, FieldTitleProps, FileError, FileStatus, Grid, GridItem, GridItemProps, GridProps, Group, GroupProps, Heading, HeadingProps, HiddenFrom, HiddenFromProps, HoverCard, HoverCardContent, HoverCardContentProps, HoverCardProps, HoverCardTrigger, HoverCardTriggerProps, InfiniteProgress, InfiniteProgressProps, Input, InputGroup, InputGroupAddon, InputGroupAddonProps, InputGroupButton, InputGroupButtonProps, InputGroupInput, InputGroupInputProps, InputGroupProps, InputGroupText, InputGroupTextProps, InputGroupTextarea, InputGroupTextareaProps, InputOTP, InputOTPGroup, InputOTPGroupProps, InputOTPProps, InputOTPSeparator, InputOTPSeparatorProps, InputOTPSlot, InputOTPSlotProps, InputProps, Kbd, KbdGroup, KbdGroupProps, KbdProps, Label, LabelProps, List, ListIcon, ListIconProps, ListItem, ListItemProps, ListProps, ModeToggle, ModeToggleProps, NativeSelect, NativeSelectOptGroup, NativeSelectOptGroupProps, NativeSelectOption, NativeSelectOptionProps, NativeSelectProps, NavigationMenu, NavigationMenuContent, NavigationMenuContentProps, NavigationMenuIndicator, NavigationMenuIndicatorProps, NavigationMenuItem, NavigationMenuItemProps, NavigationMenuLink, NavigationMenuLinkProps, NavigationMenuList, NavigationMenuListProps, NavigationMenuProps, NavigationMenuTrigger, NavigationMenuTriggerProps, NavigationMenuViewport, NavigationMenuViewportProps, Pagination, PaginationContent, PaginationContentProps, PaginationEllipsis, PaginationEllipsisProps, PaginationItem, PaginationItemProps, PaginationLink, PaginationLinkProps, PaginationNext, PaginationNextProps, PaginationPrevious, PaginationPreviousProps, PaginationProps, Popover, PopoverAnchor, PopoverAnchorProps, PopoverContent, PopoverContentProps, PopoverDescription, PopoverDescriptionProps, PopoverHeader, PopoverHeaderProps, PopoverProps, PopoverTitle, PopoverTitleProps, PopoverTrigger, PopoverTriggerProps, Progress, ProgressProps, REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS, RadioGroup, RadioGroupItem, RadioGroupItemProps, RadioGroupProps, ResizableHandle, ResizableHandleProps, ResizablePanel, ResizablePanelGroup, ResizablePanelGroupProps, ResizablePanelProps, ResponsiveValueMap, ScrollArea, ScrollAreaProps, ScrollBar, ScrollBarProps, Select, SelectContent, SelectContentProps, SelectGroup, SelectGroupProps, SelectItem, SelectItemProps, SelectLabel, SelectLabelProps, SelectProps, SelectScrollDownButton, SelectScrollDownButtonProps, SelectScrollUpButton, SelectScrollUpButtonProps, SelectSeparator, SelectSeparatorProps, SelectTrigger, SelectTriggerProps, SelectValue, SelectValueProps, Separator, SeparatorProps, 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, SimpleGrid, SimpleGridProps, Skeleton, SkeletonProps, Slider, SliderProps, Spinner, SpinnerProps, Stack, StackProps, Switch, SwitchProps, Table, TableBody, TableBodyProps, TableCaption, TableCaptionProps, TableCell, TableCellProps, TableFooter, TableFooterProps, TableHead, TableHeadProps, TableHeader, TableHeaderProps, TableProps, TableRow, TableRowProps, Tabs, TabsContent, TabsContentProps, TabsList, TabsListProps, TabsProps, TabsTrigger, TabsTriggerProps, Text, TextProps, Textarea, TextareaProps, Theme, ThemeProvider, ThemeProviderProps, ThemeProviderState, Timeline, TimelineConnector, TimelineConnectorColor, TimelineConnectorProps, TimelineContent, TimelineContentProps, TimelineDescription, TimelineDescriptionProps, TimelineEmpty, TimelineEmptyProps, TimelineHeader, TimelineHeaderProps, TimelineIcon, TimelineIconColor, TimelineIconProps, TimelineIconSize, TimelineItem, TimelineItemProps, TimelineProps, TimelineStatus, TimelineTime, TimelineTimeProps, TimelineTitle, TimelineTitleProps, Toaster, ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, ToggleGroupItemProps, ToggleGroupProps, ToggleProps, Tooltip, TooltipContent, TooltipContentProps, TooltipProps, TooltipProvider, TooltipProviderProps, TooltipTrigger, TooltipTriggerProps, UIColor, UseDisclosureHandlers, UseDisclosureOptions, UseDisclosureReturnValue, UseDropzoneProps, UseDropzoneReturn, UseIdleOptions, UseIntervalOptions, UseIntervalReturnValue, UseLocalStorageOptions, VisibleFrom, VisibleFromProps, XAxis, anchorVariants, badgeVariants, breakpointValues, buttonColorVariants, buttonGroupVariants, buttonVariants, centerVariants, cn, containerVariants, groupVariants, headingVariants, listVariants, locale, navigationMenuTriggerStyle, randomId, selectionControlColorVariants, spinnerVariants, stackVariants, tabsListVariants, textVariants, timelineVariants, toast, toggleVariants, uiColors, useBreakpoint, useBreakpointValue, useCarousel, useComboboxAnchor, useDisclosure, useDocumentVisibility, useDropzone, useIdle, useInterval, useIsMobile, useLocalStorage, useSidebar, useTheme };
78
+ export { Accordion, AccordionContent, AccordionContentProps, AccordionItem, AccordionItemProps, AccordionProps, AccordionTrigger, AccordionTriggerProps, Alert, AlertAction, AlertActionProps, AlertDescription, AlertDescriptionProps, AlertDialog, AlertDialogAction, AlertDialogActionProps, AlertDialogCancel, AlertDialogCancelProps, AlertDialogContent, AlertDialogContentProps, AlertDialogDescription, AlertDialogDescriptionProps, AlertDialogFooter, AlertDialogFooterProps, AlertDialogHeader, AlertDialogHeaderProps, AlertDialogMedia, AlertDialogMediaProps, AlertDialogOverlay, AlertDialogOverlayProps, AlertDialogPortal, AlertDialogPortalProps, AlertDialogProps, AlertDialogTitle, AlertDialogTitleProps, AlertDialogTrigger, AlertDialogTriggerProps, AlertProps, AlertTitle, AlertTitleProps, Anchor, AnchorProps, Avatar, AvatarBadge, AvatarBadgeProps, AvatarFallback, AvatarFallbackProps, AvatarGroup, AvatarGroupCount, AvatarGroupCountProps, AvatarGroupProps, AvatarImage, AvatarImageProps, AvatarProps, Badge, BadgeProps, Bar, BarChart, Breadcrumb, BreadcrumbEllipsis, BreadcrumbEllipsisProps, BreadcrumbItem, BreadcrumbItemProps, BreadcrumbLink, BreadcrumbLinkProps, BreadcrumbList, BreadcrumbListProps, BreadcrumbPage, BreadcrumbPageProps, BreadcrumbProps, BreadcrumbSeparator, BreadcrumbSeparatorProps, Breakpoint, Button, ButtonColor, ButtonGroup, ButtonGroupProps, ButtonGroupSeparator, ButtonGroupSeparatorProps, ButtonGroupText, ButtonGroupTextProps, ButtonProps, Calendar, CalendarDayButton, CalendarDayButtonProps, CalendarProps, Card, CardAction, CardActionProps, CardContent, CardContentProps, CardDescription, CardDescriptionProps, CardFooter, CardFooterProps, CardHeader, CardHeaderProps, CardProps, CardTitle, CardTitleProps, Carousel, CarouselApi, CarouselContent, CarouselContentProps, CarouselItem, CarouselItemProps, CarouselNext, CarouselNextProps, CarouselPrevious, CarouselPreviousProps, CarouselProps, CartesianGrid, Center, CenterProps, ChartConfig, ChartContainer, ChartContainerProps, ChartLegend, ChartLegendContent, ChartLegendContentProps, ChartLegendProps, ChartStyle, ChartStyleProps, ChartTooltip, ChartTooltipContent, ChartTooltipContentProps, ChartTooltipProps, Checkbox, CheckboxProps, Code, CodeProps, Collapsible, CollapsibleContent, CollapsibleContentProps, CollapsibleProps, CollapsibleTrigger, CollapsibleTriggerProps, Combobox, ComboboxChip, ComboboxChipProps, ComboboxChips, ComboboxChipsInput, ComboboxChipsInputProps, ComboboxChipsProps, ComboboxClear, ComboboxClearProps, ComboboxCollection, ComboboxCollectionProps, ComboboxContent, ComboboxContentProps, ComboboxEmpty, ComboboxEmptyProps, ComboboxGroup, ComboboxGroupProps, ComboboxInput, ComboboxInputProps, ComboboxItem, ComboboxItemProps, ComboboxLabel, ComboboxLabelProps, ComboboxList, ComboboxListProps, ComboboxProps, ComboboxSeparator, ComboboxSeparatorProps, ComboboxTrigger, ComboboxTriggerProps, ComboboxValue, ComboboxValueProps, Command, CommandDialog, CommandDialogProps, CommandEmpty, CommandEmptyProps, CommandGroup, CommandGroupProps, CommandInput, CommandInputProps, CommandItem, CommandItemProps, CommandList, CommandListProps, CommandProps, CommandSeparator, CommandSeparatorProps, CommandShortcut, CommandShortcutProps, Container, ContainerProps, DateRange, DateRangePicker, DateRangePickerActions, DateRangePickerActionsProps, DateRangePickerApply, DateRangePickerApplyProps, DateRangePickerCalendar, DateRangePickerCalendarProps, DateRangePickerContent, DateRangePickerContentProps, DateRangePickerDateFields, DateRangePickerDateFieldsProps, DateRangePickerPreset, DateRangePickerPresetOption, DateRangePickerPresetProps, DateRangePickerPresets, DateRangePickerPresetsProps, DateRangePickerProps, DateRangePickerReset, DateRangePickerResetProps, DateRangePickerTrigger, DateRangePickerTriggerProps, DateRangePickerValue, DateRangePickerValueProps, Dialog, DialogClose, DialogCloseProps, DialogContent, DialogContentProps, DialogDescription, DialogDescriptionProps, DialogFooter, DialogFooterProps, DialogHeader, DialogHeaderProps, DialogOverlay, DialogOverlayProps, DialogPortal, DialogPortalProps, DialogProps, DialogTitle, DialogTitleProps, DialogTrigger, DialogTriggerProps, Drawer, DrawerClose, DrawerCloseProps, DrawerContent, DrawerContentProps, DrawerDescription, DrawerDescriptionProps, DrawerFooter, DrawerFooterProps, DrawerHeader, DrawerHeaderProps, DrawerOverlay, DrawerOverlayProps, DrawerPortal, DrawerPortalProps, DrawerProps, DrawerTitle, DrawerTitleProps, DrawerTrigger, DrawerTriggerProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuCheckboxItemProps, DropdownMenuContent, DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuGroupProps, DropdownMenuItem, DropdownMenuItemProps, DropdownMenuLabel, DropdownMenuLabelProps, DropdownMenuPortal, DropdownMenuPortalProps, DropdownMenuProps, DropdownMenuRadioGroup, DropdownMenuRadioGroupProps, DropdownMenuRadioItem, DropdownMenuRadioItemProps, DropdownMenuSeparator, DropdownMenuSeparatorProps, DropdownMenuShortcut, DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubContentProps, DropdownMenuSubProps, DropdownMenuSubTrigger, DropdownMenuSubTriggerProps, DropdownMenuTrigger, DropdownMenuTriggerProps, Dropzone, DropzoneArea, DropzoneAreaProps, DropzoneDescription, DropzoneDescriptionProps, DropzoneFileList, DropzoneFileListItem, DropzoneFileListItemProps, DropzoneFileListProps, DropzoneFileMessage, DropzoneFileMessageProps, DropzoneFileStatus, DropzoneMessage, DropzoneMessageProps, DropzoneProps, DropzoneRemoveFile, DropzoneRemoveFileProps, DropzoneRetryFile, DropzoneRetryFileProps, DropzoneTrigger, DropzoneTriggerProps, DropzoneUploadResult, DropzoneValidation, Empty, EmptyContent, EmptyContentProps, EmptyDescription, EmptyDescriptionProps, EmptyHeader, EmptyHeaderProps, EmptyMedia, EmptyMediaProps, EmptyProps, EmptyTitle, EmptyTitleProps, ErrorCode, Field, FieldContent, FieldContentProps, FieldDescription, FieldDescriptionProps, FieldError, FieldErrorProps, FieldGroup, FieldGroupProps, FieldLabel, FieldLabelProps, FieldLegend, FieldLegendProps, FieldProps, FieldSeparator, FieldSeparatorProps, FieldSet, FieldSetProps, FieldTitle, FieldTitleProps, FileError, FileStatus, Grid, GridItem, GridItemProps, GridProps, Group, GroupProps, Heading, HeadingProps, HiddenFrom, HiddenFromProps, HoverCard, HoverCardContent, HoverCardContentProps, HoverCardProps, HoverCardTrigger, HoverCardTriggerProps, InfiniteProgress, InfiniteProgressProps, Input, InputGroup, InputGroupAddon, InputGroupAddonProps, InputGroupButton, InputGroupButtonProps, InputGroupInput, InputGroupInputProps, InputGroupProps, InputGroupText, InputGroupTextProps, InputGroupTextarea, InputGroupTextareaProps, InputOTP, InputOTPGroup, InputOTPGroupProps, InputOTPProps, InputOTPSeparator, InputOTPSeparatorProps, InputOTPSlot, InputOTPSlotProps, InputProps, Kbd, KbdGroup, KbdGroupProps, KbdProps, Label, LabelProps, List, ListIcon, ListIconProps, ListItem, ListItemProps, ListProps, ModeToggle, ModeToggleProps, NativeSelect, NativeSelectOptGroup, NativeSelectOptGroupProps, NativeSelectOption, NativeSelectOptionProps, NativeSelectProps, NavigationMenu, NavigationMenuContent, NavigationMenuContentProps, NavigationMenuIndicator, NavigationMenuIndicatorProps, NavigationMenuItem, NavigationMenuItemProps, NavigationMenuLink, NavigationMenuLinkProps, NavigationMenuList, NavigationMenuListProps, NavigationMenuProps, NavigationMenuTrigger, NavigationMenuTriggerProps, NavigationMenuViewport, NavigationMenuViewportProps, Pagination, PaginationContent, PaginationContentProps, PaginationEllipsis, PaginationEllipsisProps, PaginationItem, PaginationItemProps, PaginationLink, PaginationLinkProps, PaginationNext, PaginationNextProps, PaginationPrevious, PaginationPreviousProps, PaginationProps, Popover, PopoverAnchor, PopoverAnchorProps, PopoverContent, PopoverContentProps, PopoverDescription, PopoverDescriptionProps, PopoverHeader, PopoverHeaderProps, PopoverProps, PopoverTitle, PopoverTitleProps, PopoverTrigger, PopoverTriggerProps, Progress, ProgressProps, REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS, RadioGroup, RadioGroupItem, RadioGroupItemProps, RadioGroupProps, ResizableHandle, ResizableHandleProps, ResizablePanel, ResizablePanelGroup, ResizablePanelGroupProps, ResizablePanelProps, ResponsiveValueMap, ScrollArea, ScrollAreaProps, ScrollBar, ScrollBarProps, Select, SelectContent, SelectContentProps, SelectGroup, SelectGroupProps, SelectItem, SelectItemProps, SelectLabel, SelectLabelProps, SelectProps, SelectScrollDownButton, SelectScrollDownButtonProps, SelectScrollUpButton, SelectScrollUpButtonProps, SelectSeparator, SelectSeparatorProps, SelectTrigger, SelectTriggerProps, SelectValue, SelectValueProps, Separator, SeparatorProps, 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, SimpleGrid, SimpleGridProps, Skeleton, SkeletonProps, Slider, SliderProps, Spinner, SpinnerProps, Stack, StackProps, Switch, SwitchProps, Table, TableBody, TableBodyProps, TableCaption, TableCaptionProps, TableCell, TableCellProps, TableFooter, TableFooterProps, TableHead, TableHeadProps, TableHeader, TableHeaderProps, TableProps, TableRow, TableRowProps, Tabs, TabsContent, TabsContentProps, TabsList, TabsListProps, TabsProps, TabsTrigger, TabsTriggerProps, Text, TextProps, Textarea, TextareaProps, Theme, ThemeProvider, ThemeProviderProps, ThemeProviderState, Timeline, TimelineConnector, TimelineConnectorColor, TimelineConnectorProps, TimelineContent, TimelineContentProps, TimelineDescription, TimelineDescriptionProps, TimelineEmpty, TimelineEmptyProps, TimelineHeader, TimelineHeaderProps, TimelineIcon, TimelineIconColor, TimelineIconProps, TimelineIconSize, TimelineItem, TimelineItemProps, TimelineProps, TimelineStatus, TimelineTime, TimelineTimeProps, TimelineTitle, TimelineTitleProps, Toaster, ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, ToggleGroupItemProps, ToggleGroupProps, ToggleProps, Tooltip, TooltipContent, TooltipContentProps, TooltipProps, TooltipProvider, TooltipProviderProps, TooltipRoot, TooltipRootProps, TooltipTrigger, TooltipTriggerProps, UIColor, UnstyledButton, UnstyledButtonProps, UseDisclosureHandlers, UseDisclosureOptions, UseDisclosureReturnValue, UseDropzoneProps, UseDropzoneReturn, UseIdleOptions, UseIntervalOptions, UseIntervalReturnValue, UseLocalStorageOptions, VisibleFrom, VisibleFromProps, XAxis, anchorVariants, badgeVariants, breakpointValues, buttonColorVariants, buttonGroupVariants, buttonVariants, centerVariants, cn, containerVariants, groupVariants, headingVariants, listVariants, locale, navigationMenuTriggerStyle, randomId, selectionControlColorVariants, spinnerVariants, stackVariants, tabsListVariants, textVariants, timelineVariants, toast, toggleVariants, uiColors, useBreakpoint, useBreakpointValue, useCarousel, useComboboxAnchor, useDisclosure, useDocumentVisibility, useDropzone, useIdle, useInterval, useIsMobile, useLocalStorage, useSidebar, useTheme };
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import{cn as e,randomId as t}from"./lib/utils.js";import{Accordion as n,AccordionContent as r,AccordionItem as i,AccordionTrigger as a}from"./components/accordion.js";import{Alert as o,AlertAction as s,AlertDescription as c,AlertTitle as l}from"./components/alert.js";import{buttonColorVariants as u}from"./lib/button.js";import{Spinner as d,spinnerVariants as f}from"./components/spinner.js";import{Button as p,buttonVariants as m}from"./components/button.js";import{AlertDialog as h,AlertDialogAction as g,AlertDialogCancel as _,AlertDialogContent as v,AlertDialogDescription as y,AlertDialogFooter as b,AlertDialogHeader as x,AlertDialogMedia as S,AlertDialogOverlay as C,AlertDialogPortal as w,AlertDialogTitle as T,AlertDialogTrigger as E}from"./components/alert-dialog.js";import{Anchor as D,anchorVariants as O}from"./components/anchor.js";import{Avatar as k,AvatarBadge as A,AvatarFallback as j,AvatarGroup as M,AvatarGroupCount as N,AvatarImage as P}from"./components/avatar.js";import{Badge as F,badgeVariants as I}from"./components/badge.js";import{Breadcrumb as L,BreadcrumbEllipsis as R,BreadcrumbItem as z,BreadcrumbLink as B,BreadcrumbList as V,BreadcrumbPage as H,BreadcrumbSeparator as U}from"./components/breadcrumb.js";import{Separator as W}from"./components/separator.js";import{ButtonGroup as G,ButtonGroupSeparator as K,ButtonGroupText as q,buttonGroupVariants as J}from"./components/button-group.js";import{Calendar as Y,CalendarDayButton as X,locale as Z}from"./components/calendar.js";import{Card as Q,CardAction as $,CardContent as ee,CardDescription as te,CardFooter as ne,CardHeader as re,CardTitle as ie}from"./components/card.js";import{Carousel as ae,CarouselContent as oe,CarouselItem as se,CarouselNext as ce,CarouselPrevious as le,useCarousel as ue}from"./components/carousel.js";import{Center as de,centerVariants as fe}from"./components/center.js";import{Bar as pe,BarChart as me,CartesianGrid as he,ChartContainer as ge,ChartLegend as _e,ChartLegendContent as ve,ChartStyle as ye,ChartTooltip as be,ChartTooltipContent as xe,XAxis as Se}from"./components/chart.js";import{selectionControlColorVariants as Ce,uiColors as we}from"./lib/color.js";import{Label as Te}from"./components/label.js";import{Checkbox as Ee}from"./components/checkbox.js";import{Code as De}from"./components/code.js";import{Collapsible as Oe,CollapsibleContent as ke,CollapsibleTrigger as Ae}from"./components/collapsible.js";import{Input as je}from"./components/input.js";import{Textarea as Me}from"./components/textarea.js";import{InputGroup as Ne,InputGroupAddon as Pe,InputGroupButton as Fe,InputGroupInput as Ie,InputGroupText as Le,InputGroupTextarea as Re}from"./components/input-group.js";import{Combobox as ze,ComboboxChip as Be,ComboboxChips as Ve,ComboboxChipsInput as He,ComboboxClear as Ue,ComboboxCollection as We,ComboboxContent as Ge,ComboboxEmpty as Ke,ComboboxGroup as qe,ComboboxInput as Je,ComboboxItem as Ye,ComboboxLabel as Xe,ComboboxList as Ze,ComboboxSeparator as Qe,ComboboxTrigger as $e,ComboboxValue as et,useComboboxAnchor as tt}from"./components/combobox.js";import{Dialog as nt,DialogClose as rt,DialogContent as it,DialogDescription as at,DialogFooter as ot,DialogHeader as st,DialogOverlay as ct,DialogPortal as lt,DialogTitle as ut,DialogTrigger as dt}from"./components/dialog.js";import{Command as ft,CommandDialog as pt,CommandEmpty as mt,CommandGroup as ht,CommandInput as gt,CommandItem as _t,CommandList as vt,CommandSeparator as yt,CommandShortcut as bt}from"./components/command.js";import{Container as xt,containerVariants as St}from"./components/container.js";import{Popover as Ct,PopoverAnchor as wt,PopoverContent as Tt,PopoverDescription as Et,PopoverHeader as Dt,PopoverTitle as Ot,PopoverTrigger as kt}from"./components/popover.js";import{DateRangePicker as At,DateRangePickerActions as jt,DateRangePickerApply as Mt,DateRangePickerCalendar as Nt,DateRangePickerContent as Pt,DateRangePickerDateFields as Ft,DateRangePickerPreset as It,DateRangePickerPresets as Lt,DateRangePickerReset as Rt,DateRangePickerTrigger as zt,DateRangePickerValue as Bt}from"./components/date-range-picker.js";import{Drawer as Vt,DrawerClose as Ht,DrawerContent as Ut,DrawerDescription as Wt,DrawerFooter as Gt,DrawerHeader as Kt,DrawerOverlay as qt,DrawerPortal as Jt,DrawerTitle as Yt,DrawerTrigger as Xt}from"./components/drawer.js";import{DropdownMenu as Zt,DropdownMenuCheckboxItem as Qt,DropdownMenuContent as $t,DropdownMenuGroup as en,DropdownMenuItem as tn,DropdownMenuLabel as nn,DropdownMenuPortal as rn,DropdownMenuRadioGroup as an,DropdownMenuRadioItem as on,DropdownMenuSeparator as sn,DropdownMenuShortcut as cn,DropdownMenuSub as ln,DropdownMenuSubContent as un,DropdownMenuSubTrigger as dn,DropdownMenuTrigger as fn}from"./components/dropdown-menu.js";import{Dropzone as pn,DropzoneArea as mn,DropzoneDescription as hn,DropzoneFileList as gn,DropzoneFileListItem as _n,DropzoneFileMessage as vn,DropzoneMessage as yn,DropzoneRemoveFile as bn,DropzoneRetryFile as xn,DropzoneTrigger as Sn,ErrorCode as Cn,InfiniteProgress as wn,useDropzone as Tn}from"./components/dropzone.js";import{Empty as En,EmptyContent as Dn,EmptyDescription as On,EmptyHeader as kn,EmptyMedia as An,EmptyTitle as jn}from"./components/empty.js";import{Field as Mn,FieldContent as Nn,FieldDescription as Pn,FieldError as Fn,FieldGroup as In,FieldLabel as Ln,FieldLegend as Rn,FieldSeparator as zn,FieldSet as Bn,FieldTitle as Vn}from"./components/field.js";import{Grid as Hn,GridItem as Un}from"./components/grid.js";import{Group as Wn,groupVariants as Gn}from"./components/group.js";import{Heading as Kn,headingVariants as qn}from"./components/heading.js";import{HoverCard as Jn,HoverCardContent as Yn,HoverCardTrigger as Xn}from"./components/hover-card.js";import{InputOTP as Zn,InputOTPGroup as Qn,InputOTPSeparator as $n,InputOTPSlot as er,REGEXP_ONLY_CHARS as tr,REGEXP_ONLY_DIGITS as nr,REGEXP_ONLY_DIGITS_AND_CHARS as rr}from"./components/input-otp.js";import{Kbd as ir,KbdGroup as ar}from"./components/kbd.js";import{List as or,ListIcon as sr,ListItem as cr,listVariants as lr}from"./components/list.js";import{NativeSelect as ur,NativeSelectOptGroup as dr,NativeSelectOption as fr}from"./components/native-select.js";import{NavigationMenu as pr,NavigationMenuContent as mr,NavigationMenuIndicator as hr,NavigationMenuItem as gr,NavigationMenuLink as _r,NavigationMenuList as vr,NavigationMenuTrigger as yr,NavigationMenuViewport as br,navigationMenuTriggerStyle as xr}from"./components/navigation-menu.js";import{Pagination as Sr,PaginationContent as Cr,PaginationEllipsis as wr,PaginationItem as Tr,PaginationLink as Er,PaginationNext as Dr,PaginationPrevious as Or}from"./components/pagination.js";import{Progress as kr}from"./components/progress.js";import{RadioGroup as Ar,RadioGroupItem as jr}from"./components/radio-group.js";import{ResizableHandle as Mr,ResizablePanel as Nr,ResizablePanelGroup as Pr}from"./components/resizable.js";import{ScrollArea as Fr,ScrollBar as Ir}from"./components/scroll-area.js";import{Select as Lr,SelectContent as Rr,SelectGroup as zr,SelectItem as Br,SelectLabel as Vr,SelectScrollDownButton as Hr,SelectScrollUpButton as Ur,SelectSeparator as Wr,SelectTrigger as Gr,SelectValue as Kr}from"./components/select.js";import{useIsMobile as qr}from"./hooks/use-mobile.js";import{Skeleton as Jr}from"./components/skeleton.js";import{Tooltip as Yr,TooltipContent as Xr,TooltipProvider as Zr,TooltipTrigger as Qr}from"./components/tooltip.js";import{Sidebar as $r,SidebarContent as ei,SidebarFooter as ti,SidebarGroup as ni,SidebarGroupAction as ri,SidebarGroupContent as ii,SidebarGroupLabel as ai,SidebarHeader as oi,SidebarInput as si,SidebarInset as ci,SidebarMenu as li,SidebarMenuAction as ui,SidebarMenuBadge as di,SidebarMenuButton as fi,SidebarMenuItem as pi,SidebarMenuSkeleton as mi,SidebarMenuSub as hi,SidebarMenuSubButton as gi,SidebarMenuSubItem as _i,SidebarProvider as vi,SidebarRail as yi,SidebarSeparator as bi,SidebarTrigger as xi,useSidebar as Si}from"./components/sidebar.js";import{SimpleGrid as Ci}from"./components/simple-grid.js";import{Slider as wi}from"./components/slider.js";import{Toaster as Ti,toast as Ei}from"./components/sonner.js";import{Stack as Di,stackVariants as Oi}from"./components/stack.js";import{Switch as ki}from"./components/switch.js";import{Table as Ai,TableBody as ji,TableCaption as Mi,TableCell as Ni,TableFooter as Pi,TableHead as Fi,TableHeader as Ii,TableRow as Li}from"./components/table.js";import{Tabs as Ri,TabsContent as zi,TabsList as Bi,TabsTrigger as Vi,tabsListVariants as Hi}from"./components/tabs.js";import{Text as Ui,textVariants as Wi}from"./components/text.js";import{ModeToggle as Gi,ThemeProvider as Ki,useTheme as qi}from"./components/theme.js";import{Timeline as Ji,TimelineConnector as Yi,TimelineContent as Xi,TimelineDescription as Zi,TimelineEmpty as Qi,TimelineHeader as $i,TimelineIcon as ea,TimelineItem as ta,TimelineTime as na,TimelineTitle as ra,timelineVariants as ia}from"./components/timeline.js";import{Toggle as aa,toggleVariants as oa}from"./components/toggle.js";import{ToggleGroup as sa,ToggleGroupItem as ca}from"./components/toggle-group.js";import{breakpointValues as la,useBreakpoint as ua}from"./hooks/use-breakpoint.js";import{HiddenFrom as da,VisibleFrom as fa}from"./components/visibility.js";import{useBreakpointValue as pa}from"./hooks/use-breakpoint-value.js";import{useDisclosure as ma}from"./hooks/use-disclosure.js";import{useDocumentVisibility as ha}from"./hooks/use-document-visibility.js";import{useIdle as ga}from"./hooks/use-idle.js";import{useInterval as _a}from"./hooks/use-interval.js";import{useLocalStorage as va}from"./hooks/use-local-storage.js";export{n as Accordion,r as AccordionContent,i as AccordionItem,a as AccordionTrigger,o as Alert,s as AlertAction,c as AlertDescription,h as AlertDialog,g as AlertDialogAction,_ as AlertDialogCancel,v as AlertDialogContent,y as AlertDialogDescription,b as AlertDialogFooter,x as AlertDialogHeader,S as AlertDialogMedia,C as AlertDialogOverlay,w as AlertDialogPortal,T as AlertDialogTitle,E as AlertDialogTrigger,l as AlertTitle,D as Anchor,k as Avatar,A as AvatarBadge,j as AvatarFallback,M as AvatarGroup,N as AvatarGroupCount,P as AvatarImage,F as Badge,pe as Bar,me as BarChart,L as Breadcrumb,R as BreadcrumbEllipsis,z as BreadcrumbItem,B as BreadcrumbLink,V as BreadcrumbList,H as BreadcrumbPage,U as BreadcrumbSeparator,p as Button,G as ButtonGroup,K as ButtonGroupSeparator,q as ButtonGroupText,Y as Calendar,X as CalendarDayButton,Q as Card,$ as CardAction,ee as CardContent,te as CardDescription,ne as CardFooter,re as CardHeader,ie as CardTitle,ae as Carousel,oe as CarouselContent,se as CarouselItem,ce as CarouselNext,le as CarouselPrevious,he as CartesianGrid,de as Center,ge as ChartContainer,_e as ChartLegend,ve as ChartLegendContent,ye as ChartStyle,be as ChartTooltip,xe as ChartTooltipContent,Ee as Checkbox,De as Code,Oe as Collapsible,ke as CollapsibleContent,Ae as CollapsibleTrigger,ze as Combobox,Be as ComboboxChip,Ve as ComboboxChips,He as ComboboxChipsInput,Ue as ComboboxClear,We as ComboboxCollection,Ge as ComboboxContent,Ke as ComboboxEmpty,qe as ComboboxGroup,Je as ComboboxInput,Ye as ComboboxItem,Xe as ComboboxLabel,Ze as ComboboxList,Qe as ComboboxSeparator,$e as ComboboxTrigger,et as ComboboxValue,ft as Command,pt as CommandDialog,mt as CommandEmpty,ht as CommandGroup,gt as CommandInput,_t as CommandItem,vt as CommandList,yt as CommandSeparator,bt as CommandShortcut,xt as Container,At as DateRangePicker,jt as DateRangePickerActions,Mt as DateRangePickerApply,Nt as DateRangePickerCalendar,Pt as DateRangePickerContent,Ft as DateRangePickerDateFields,It as DateRangePickerPreset,Lt as DateRangePickerPresets,Rt as DateRangePickerReset,zt as DateRangePickerTrigger,Bt as DateRangePickerValue,nt as Dialog,rt as DialogClose,it as DialogContent,at as DialogDescription,ot as DialogFooter,st as DialogHeader,ct as DialogOverlay,lt as DialogPortal,ut as DialogTitle,dt as DialogTrigger,Vt as Drawer,Ht as DrawerClose,Ut as DrawerContent,Wt as DrawerDescription,Gt as DrawerFooter,Kt as DrawerHeader,qt as DrawerOverlay,Jt as DrawerPortal,Yt as DrawerTitle,Xt as DrawerTrigger,Zt as DropdownMenu,Qt as DropdownMenuCheckboxItem,$t as DropdownMenuContent,en as DropdownMenuGroup,tn as DropdownMenuItem,nn as DropdownMenuLabel,rn as DropdownMenuPortal,an as DropdownMenuRadioGroup,on as DropdownMenuRadioItem,sn as DropdownMenuSeparator,cn as DropdownMenuShortcut,ln as DropdownMenuSub,un as DropdownMenuSubContent,dn as DropdownMenuSubTrigger,fn as DropdownMenuTrigger,pn as Dropzone,mn as DropzoneArea,hn as DropzoneDescription,gn as DropzoneFileList,_n as DropzoneFileListItem,vn as DropzoneFileMessage,yn as DropzoneMessage,bn as DropzoneRemoveFile,xn as DropzoneRetryFile,Sn as DropzoneTrigger,En as Empty,Dn as EmptyContent,On as EmptyDescription,kn as EmptyHeader,An as EmptyMedia,jn as EmptyTitle,Cn as ErrorCode,Mn as Field,Nn as FieldContent,Pn as FieldDescription,Fn as FieldError,In as FieldGroup,Ln as FieldLabel,Rn as FieldLegend,zn as FieldSeparator,Bn as FieldSet,Vn as FieldTitle,Hn as Grid,Un as GridItem,Wn as Group,Kn as Heading,da as HiddenFrom,Jn as HoverCard,Yn as HoverCardContent,Xn as HoverCardTrigger,wn as InfiniteProgress,je as Input,Ne as InputGroup,Pe as InputGroupAddon,Fe as InputGroupButton,Ie as InputGroupInput,Le as InputGroupText,Re as InputGroupTextarea,Zn as InputOTP,Qn as InputOTPGroup,$n as InputOTPSeparator,er as InputOTPSlot,ir as Kbd,ar as KbdGroup,Te as Label,or as List,sr as ListIcon,cr as ListItem,Gi as ModeToggle,ur as NativeSelect,dr as NativeSelectOptGroup,fr as NativeSelectOption,pr as NavigationMenu,mr as NavigationMenuContent,hr as NavigationMenuIndicator,gr as NavigationMenuItem,_r as NavigationMenuLink,vr as NavigationMenuList,yr as NavigationMenuTrigger,br as NavigationMenuViewport,Sr as Pagination,Cr as PaginationContent,wr as PaginationEllipsis,Tr as PaginationItem,Er as PaginationLink,Dr as PaginationNext,Or as PaginationPrevious,Ct as Popover,wt as PopoverAnchor,Tt as PopoverContent,Et as PopoverDescription,Dt as PopoverHeader,Ot as PopoverTitle,kt as PopoverTrigger,kr as Progress,tr as REGEXP_ONLY_CHARS,nr as REGEXP_ONLY_DIGITS,rr as REGEXP_ONLY_DIGITS_AND_CHARS,Ar as RadioGroup,jr as RadioGroupItem,Mr as ResizableHandle,Nr as ResizablePanel,Pr as ResizablePanelGroup,Fr as ScrollArea,Ir as ScrollBar,Lr as Select,Rr as SelectContent,zr as SelectGroup,Br as SelectItem,Vr as SelectLabel,Hr as SelectScrollDownButton,Ur as SelectScrollUpButton,Wr as SelectSeparator,Gr as SelectTrigger,Kr as SelectValue,W as Separator,$r as Sidebar,ei as SidebarContent,ti as SidebarFooter,ni as SidebarGroup,ri as SidebarGroupAction,ii as SidebarGroupContent,ai as SidebarGroupLabel,oi as SidebarHeader,si as SidebarInput,ci as SidebarInset,li as SidebarMenu,ui as SidebarMenuAction,di as SidebarMenuBadge,fi as SidebarMenuButton,pi as SidebarMenuItem,mi as SidebarMenuSkeleton,hi as SidebarMenuSub,gi as SidebarMenuSubButton,_i as SidebarMenuSubItem,vi as SidebarProvider,yi as SidebarRail,bi as SidebarSeparator,xi as SidebarTrigger,Ci as SimpleGrid,Jr as Skeleton,wi as Slider,d as Spinner,Di as Stack,ki as Switch,Ai as Table,ji as TableBody,Mi as TableCaption,Ni as TableCell,Pi as TableFooter,Fi as TableHead,Ii as TableHeader,Li as TableRow,Ri as Tabs,zi as TabsContent,Bi as TabsList,Vi as TabsTrigger,Ui as Text,Me as Textarea,Ki as ThemeProvider,Ji as Timeline,Yi as TimelineConnector,Xi as TimelineContent,Zi as TimelineDescription,Qi as TimelineEmpty,$i as TimelineHeader,ea as TimelineIcon,ta as TimelineItem,na as TimelineTime,ra as TimelineTitle,Ti as Toaster,aa as Toggle,sa as ToggleGroup,ca as ToggleGroupItem,Yr as Tooltip,Xr as TooltipContent,Zr as TooltipProvider,Qr as TooltipTrigger,fa as VisibleFrom,Se as XAxis,O as anchorVariants,I as badgeVariants,la as breakpointValues,u as buttonColorVariants,J as buttonGroupVariants,m as buttonVariants,fe as centerVariants,e as cn,St as containerVariants,Gn as groupVariants,qn as headingVariants,lr as listVariants,Z as locale,xr as navigationMenuTriggerStyle,t as randomId,Ce as selectionControlColorVariants,f as spinnerVariants,Oi as stackVariants,Hi as tabsListVariants,Wi as textVariants,ia as timelineVariants,Ei as toast,oa as toggleVariants,we as uiColors,ua as useBreakpoint,pa as useBreakpointValue,ue as useCarousel,tt as useComboboxAnchor,ma as useDisclosure,ha as useDocumentVisibility,Tn as useDropzone,ga as useIdle,_a as useInterval,qr as useIsMobile,va as useLocalStorage,Si as useSidebar,qi as useTheme};
1
+ import{cn as e,randomId as t}from"./lib/utils.js";import{Accordion as n,AccordionContent as r,AccordionItem as i,AccordionTrigger as a}from"./components/accordion.js";import{Alert as o,AlertAction as s,AlertDescription as c,AlertTitle as l}from"./components/alert.js";import{buttonColorVariants as u}from"./lib/button.js";import{Spinner as d,spinnerVariants as f}from"./components/spinner.js";import{Button as p,buttonVariants as m}from"./components/button.js";import{AlertDialog as h,AlertDialogAction as g,AlertDialogCancel as _,AlertDialogContent as v,AlertDialogDescription as y,AlertDialogFooter as b,AlertDialogHeader as x,AlertDialogMedia as S,AlertDialogOverlay as C,AlertDialogPortal as w,AlertDialogTitle as T,AlertDialogTrigger as E}from"./components/alert-dialog.js";import{Anchor as D,anchorVariants as O}from"./components/anchor.js";import{Avatar as k,AvatarBadge as A,AvatarFallback as j,AvatarGroup as M,AvatarGroupCount as N,AvatarImage as P}from"./components/avatar.js";import{Badge as F,badgeVariants as I}from"./components/badge.js";import{Breadcrumb as L,BreadcrumbEllipsis as R,BreadcrumbItem as z,BreadcrumbLink as B,BreadcrumbList as V,BreadcrumbPage as H,BreadcrumbSeparator as U}from"./components/breadcrumb.js";import{Separator as W}from"./components/separator.js";import{ButtonGroup as G,ButtonGroupSeparator as K,ButtonGroupText as q,buttonGroupVariants as J}from"./components/button-group.js";import{Calendar as Y,CalendarDayButton as X,locale as Z}from"./components/calendar.js";import{Card as Q,CardAction as $,CardContent as ee,CardDescription as te,CardFooter as ne,CardHeader as re,CardTitle as ie}from"./components/card.js";import{Carousel as ae,CarouselContent as oe,CarouselItem as se,CarouselNext as ce,CarouselPrevious as le,useCarousel as ue}from"./components/carousel.js";import{Center as de,centerVariants as fe}from"./components/center.js";import{Bar as pe,BarChart as me,CartesianGrid as he,ChartContainer as ge,ChartLegend as _e,ChartLegendContent as ve,ChartStyle as ye,ChartTooltip as be,ChartTooltipContent as xe,XAxis as Se}from"./components/chart.js";import{selectionControlColorVariants as Ce,uiColors as we}from"./lib/color.js";import{Label as Te}from"./components/label.js";import{Checkbox as Ee}from"./components/checkbox.js";import{Code as De}from"./components/code.js";import{Collapsible as Oe,CollapsibleContent as ke,CollapsibleTrigger as Ae}from"./components/collapsible.js";import{Input as je}from"./components/input.js";import{Textarea as Me}from"./components/textarea.js";import{InputGroup as Ne,InputGroupAddon as Pe,InputGroupButton as Fe,InputGroupInput as Ie,InputGroupText as Le,InputGroupTextarea as Re}from"./components/input-group.js";import{Combobox as ze,ComboboxChip as Be,ComboboxChips as Ve,ComboboxChipsInput as He,ComboboxClear as Ue,ComboboxCollection as We,ComboboxContent as Ge,ComboboxEmpty as Ke,ComboboxGroup as qe,ComboboxInput as Je,ComboboxItem as Ye,ComboboxLabel as Xe,ComboboxList as Ze,ComboboxSeparator as Qe,ComboboxTrigger as $e,ComboboxValue as et,useComboboxAnchor as tt}from"./components/combobox.js";import{Dialog as nt,DialogClose as rt,DialogContent as it,DialogDescription as at,DialogFooter as ot,DialogHeader as st,DialogOverlay as ct,DialogPortal as lt,DialogTitle as ut,DialogTrigger as dt}from"./components/dialog.js";import{Command as ft,CommandDialog as pt,CommandEmpty as mt,CommandGroup as ht,CommandInput as gt,CommandItem as _t,CommandList as vt,CommandSeparator as yt,CommandShortcut as bt}from"./components/command.js";import{Container as xt,containerVariants as St}from"./components/container.js";import{Popover as Ct,PopoverAnchor as wt,PopoverContent as Tt,PopoverDescription as Et,PopoverHeader as Dt,PopoverTitle as Ot,PopoverTrigger as kt}from"./components/popover.js";import{DateRangePicker as At,DateRangePickerActions as jt,DateRangePickerApply as Mt,DateRangePickerCalendar as Nt,DateRangePickerContent as Pt,DateRangePickerDateFields as Ft,DateRangePickerPreset as It,DateRangePickerPresets as Lt,DateRangePickerReset as Rt,DateRangePickerTrigger as zt,DateRangePickerValue as Bt}from"./components/date-range-picker.js";import{Drawer as Vt,DrawerClose as Ht,DrawerContent as Ut,DrawerDescription as Wt,DrawerFooter as Gt,DrawerHeader as Kt,DrawerOverlay as qt,DrawerPortal as Jt,DrawerTitle as Yt,DrawerTrigger as Xt}from"./components/drawer.js";import{DropdownMenu as Zt,DropdownMenuCheckboxItem as Qt,DropdownMenuContent as $t,DropdownMenuGroup as en,DropdownMenuItem as tn,DropdownMenuLabel as nn,DropdownMenuPortal as rn,DropdownMenuRadioGroup as an,DropdownMenuRadioItem as on,DropdownMenuSeparator as sn,DropdownMenuShortcut as cn,DropdownMenuSub as ln,DropdownMenuSubContent as un,DropdownMenuSubTrigger as dn,DropdownMenuTrigger as fn}from"./components/dropdown-menu.js";import{Dropzone as pn,DropzoneArea as mn,DropzoneDescription as hn,DropzoneFileList as gn,DropzoneFileListItem as _n,DropzoneFileMessage as vn,DropzoneMessage as yn,DropzoneRemoveFile as bn,DropzoneRetryFile as xn,DropzoneTrigger as Sn,ErrorCode as Cn,InfiniteProgress as wn,useDropzone as Tn}from"./components/dropzone.js";import{Empty as En,EmptyContent as Dn,EmptyDescription as On,EmptyHeader as kn,EmptyMedia as An,EmptyTitle as jn}from"./components/empty.js";import{Field as Mn,FieldContent as Nn,FieldDescription as Pn,FieldError as Fn,FieldGroup as In,FieldLabel as Ln,FieldLegend as Rn,FieldSeparator as zn,FieldSet as Bn,FieldTitle as Vn}from"./components/field.js";import{Grid as Hn,GridItem as Un}from"./components/grid.js";import{Group as Wn,groupVariants as Gn}from"./components/group.js";import{Heading as Kn,headingVariants as qn}from"./components/heading.js";import{HoverCard as Jn,HoverCardContent as Yn,HoverCardTrigger as Xn}from"./components/hover-card.js";import{InputOTP as Zn,InputOTPGroup as Qn,InputOTPSeparator as $n,InputOTPSlot as er,REGEXP_ONLY_CHARS as tr,REGEXP_ONLY_DIGITS as nr,REGEXP_ONLY_DIGITS_AND_CHARS as rr}from"./components/input-otp.js";import{Kbd as ir,KbdGroup as ar}from"./components/kbd.js";import{List as or,ListIcon as sr,ListItem as cr,listVariants as lr}from"./components/list.js";import{NativeSelect as ur,NativeSelectOptGroup as dr,NativeSelectOption as fr}from"./components/native-select.js";import{NavigationMenu as pr,NavigationMenuContent as mr,NavigationMenuIndicator as hr,NavigationMenuItem as gr,NavigationMenuLink as _r,NavigationMenuList as vr,NavigationMenuTrigger as yr,NavigationMenuViewport as br,navigationMenuTriggerStyle as xr}from"./components/navigation-menu.js";import{Pagination as Sr,PaginationContent as Cr,PaginationEllipsis as wr,PaginationItem as Tr,PaginationLink as Er,PaginationNext as Dr,PaginationPrevious as Or}from"./components/pagination.js";import{Progress as kr}from"./components/progress.js";import{RadioGroup as Ar,RadioGroupItem as jr}from"./components/radio-group.js";import{ResizableHandle as Mr,ResizablePanel as Nr,ResizablePanelGroup as Pr}from"./components/resizable.js";import{ScrollArea as Fr,ScrollBar as Ir}from"./components/scroll-area.js";import{Select as Lr,SelectContent as Rr,SelectGroup as zr,SelectItem as Br,SelectLabel as Vr,SelectScrollDownButton as Hr,SelectScrollUpButton as Ur,SelectSeparator as Wr,SelectTrigger as Gr,SelectValue as Kr}from"./components/select.js";import{useIsMobile as qr}from"./hooks/use-mobile.js";import{Skeleton as Jr}from"./components/skeleton.js";import{Tooltip as Yr,TooltipContent as Xr,TooltipProvider as Zr,TooltipRoot as Qr,TooltipTrigger as $r}from"./components/tooltip.js";import{Sidebar as ei,SidebarContent as ti,SidebarFooter as ni,SidebarGroup as ri,SidebarGroupAction as ii,SidebarGroupContent as ai,SidebarGroupLabel as oi,SidebarHeader as si,SidebarInput as ci,SidebarInset as li,SidebarMenu as ui,SidebarMenuAction as di,SidebarMenuBadge as fi,SidebarMenuButton as pi,SidebarMenuItem as mi,SidebarMenuSkeleton as hi,SidebarMenuSub as gi,SidebarMenuSubButton as _i,SidebarMenuSubItem as vi,SidebarProvider as yi,SidebarRail as bi,SidebarSeparator as xi,SidebarTrigger as Si,useSidebar as Ci}from"./components/sidebar.js";import{SimpleGrid as wi}from"./components/simple-grid.js";import{Slider as Ti}from"./components/slider.js";import{Toaster as Ei,toast as Di}from"./components/sonner.js";import{Stack as Oi,stackVariants as ki}from"./components/stack.js";import{Switch as Ai}from"./components/switch.js";import{Table as ji,TableBody as Mi,TableCaption as Ni,TableCell as Pi,TableFooter as Fi,TableHead as Ii,TableHeader as Li,TableRow as Ri}from"./components/table.js";import{Tabs as zi,TabsContent as Bi,TabsList as Vi,TabsTrigger as Hi,tabsListVariants as Ui}from"./components/tabs.js";import{Text as Wi,textVariants as Gi}from"./components/text.js";import{ModeToggle as Ki,ThemeProvider as qi,useTheme as Ji}from"./components/theme.js";import{Timeline as Yi,TimelineConnector as Xi,TimelineContent as Zi,TimelineDescription as Qi,TimelineEmpty as $i,TimelineHeader as ea,TimelineIcon as ta,TimelineItem as na,TimelineTime as ra,TimelineTitle as ia,timelineVariants as aa}from"./components/timeline.js";import{Toggle as oa,toggleVariants as sa}from"./components/toggle.js";import{ToggleGroup as ca,ToggleGroupItem as la}from"./components/toggle-group.js";import{UnstyledButton as ua}from"./components/unstyled-button.js";import{breakpointValues as da,useBreakpoint as fa}from"./hooks/use-breakpoint.js";import{HiddenFrom as pa,VisibleFrom as ma}from"./components/visibility.js";import{useBreakpointValue as ha}from"./hooks/use-breakpoint-value.js";import{useDisclosure as ga}from"./hooks/use-disclosure.js";import{useDocumentVisibility as _a}from"./hooks/use-document-visibility.js";import{useIdle as va}from"./hooks/use-idle.js";import{useInterval as ya}from"./hooks/use-interval.js";import{useLocalStorage as ba}from"./hooks/use-local-storage.js";export{n as Accordion,r as AccordionContent,i as AccordionItem,a as AccordionTrigger,o as Alert,s as AlertAction,c as AlertDescription,h as AlertDialog,g as AlertDialogAction,_ as AlertDialogCancel,v as AlertDialogContent,y as AlertDialogDescription,b as AlertDialogFooter,x as AlertDialogHeader,S as AlertDialogMedia,C as AlertDialogOverlay,w as AlertDialogPortal,T as AlertDialogTitle,E as AlertDialogTrigger,l as AlertTitle,D as Anchor,k as Avatar,A as AvatarBadge,j as AvatarFallback,M as AvatarGroup,N as AvatarGroupCount,P as AvatarImage,F as Badge,pe as Bar,me as BarChart,L as Breadcrumb,R as BreadcrumbEllipsis,z as BreadcrumbItem,B as BreadcrumbLink,V as BreadcrumbList,H as BreadcrumbPage,U as BreadcrumbSeparator,p as Button,G as ButtonGroup,K as ButtonGroupSeparator,q as ButtonGroupText,Y as Calendar,X as CalendarDayButton,Q as Card,$ as CardAction,ee as CardContent,te as CardDescription,ne as CardFooter,re as CardHeader,ie as CardTitle,ae as Carousel,oe as CarouselContent,se as CarouselItem,ce as CarouselNext,le as CarouselPrevious,he as CartesianGrid,de as Center,ge as ChartContainer,_e as ChartLegend,ve as ChartLegendContent,ye as ChartStyle,be as ChartTooltip,xe as ChartTooltipContent,Ee as Checkbox,De as Code,Oe as Collapsible,ke as CollapsibleContent,Ae as CollapsibleTrigger,ze as Combobox,Be as ComboboxChip,Ve as ComboboxChips,He as ComboboxChipsInput,Ue as ComboboxClear,We as ComboboxCollection,Ge as ComboboxContent,Ke as ComboboxEmpty,qe as ComboboxGroup,Je as ComboboxInput,Ye as ComboboxItem,Xe as ComboboxLabel,Ze as ComboboxList,Qe as ComboboxSeparator,$e as ComboboxTrigger,et as ComboboxValue,ft as Command,pt as CommandDialog,mt as CommandEmpty,ht as CommandGroup,gt as CommandInput,_t as CommandItem,vt as CommandList,yt as CommandSeparator,bt as CommandShortcut,xt as Container,At as DateRangePicker,jt as DateRangePickerActions,Mt as DateRangePickerApply,Nt as DateRangePickerCalendar,Pt as DateRangePickerContent,Ft as DateRangePickerDateFields,It as DateRangePickerPreset,Lt as DateRangePickerPresets,Rt as DateRangePickerReset,zt as DateRangePickerTrigger,Bt as DateRangePickerValue,nt as Dialog,rt as DialogClose,it as DialogContent,at as DialogDescription,ot as DialogFooter,st as DialogHeader,ct as DialogOverlay,lt as DialogPortal,ut as DialogTitle,dt as DialogTrigger,Vt as Drawer,Ht as DrawerClose,Ut as DrawerContent,Wt as DrawerDescription,Gt as DrawerFooter,Kt as DrawerHeader,qt as DrawerOverlay,Jt as DrawerPortal,Yt as DrawerTitle,Xt as DrawerTrigger,Zt as DropdownMenu,Qt as DropdownMenuCheckboxItem,$t as DropdownMenuContent,en as DropdownMenuGroup,tn as DropdownMenuItem,nn as DropdownMenuLabel,rn as DropdownMenuPortal,an as DropdownMenuRadioGroup,on as DropdownMenuRadioItem,sn as DropdownMenuSeparator,cn as DropdownMenuShortcut,ln as DropdownMenuSub,un as DropdownMenuSubContent,dn as DropdownMenuSubTrigger,fn as DropdownMenuTrigger,pn as Dropzone,mn as DropzoneArea,hn as DropzoneDescription,gn as DropzoneFileList,_n as DropzoneFileListItem,vn as DropzoneFileMessage,yn as DropzoneMessage,bn as DropzoneRemoveFile,xn as DropzoneRetryFile,Sn as DropzoneTrigger,En as Empty,Dn as EmptyContent,On as EmptyDescription,kn as EmptyHeader,An as EmptyMedia,jn as EmptyTitle,Cn as ErrorCode,Mn as Field,Nn as FieldContent,Pn as FieldDescription,Fn as FieldError,In as FieldGroup,Ln as FieldLabel,Rn as FieldLegend,zn as FieldSeparator,Bn as FieldSet,Vn as FieldTitle,Hn as Grid,Un as GridItem,Wn as Group,Kn as Heading,pa as HiddenFrom,Jn as HoverCard,Yn as HoverCardContent,Xn as HoverCardTrigger,wn as InfiniteProgress,je as Input,Ne as InputGroup,Pe as InputGroupAddon,Fe as InputGroupButton,Ie as InputGroupInput,Le as InputGroupText,Re as InputGroupTextarea,Zn as InputOTP,Qn as InputOTPGroup,$n as InputOTPSeparator,er as InputOTPSlot,ir as Kbd,ar as KbdGroup,Te as Label,or as List,sr as ListIcon,cr as ListItem,Ki as ModeToggle,ur as NativeSelect,dr as NativeSelectOptGroup,fr as NativeSelectOption,pr as NavigationMenu,mr as NavigationMenuContent,hr as NavigationMenuIndicator,gr as NavigationMenuItem,_r as NavigationMenuLink,vr as NavigationMenuList,yr as NavigationMenuTrigger,br as NavigationMenuViewport,Sr as Pagination,Cr as PaginationContent,wr as PaginationEllipsis,Tr as PaginationItem,Er as PaginationLink,Dr as PaginationNext,Or as PaginationPrevious,Ct as Popover,wt as PopoverAnchor,Tt as PopoverContent,Et as PopoverDescription,Dt as PopoverHeader,Ot as PopoverTitle,kt as PopoverTrigger,kr as Progress,tr as REGEXP_ONLY_CHARS,nr as REGEXP_ONLY_DIGITS,rr as REGEXP_ONLY_DIGITS_AND_CHARS,Ar as RadioGroup,jr as RadioGroupItem,Mr as ResizableHandle,Nr as ResizablePanel,Pr as ResizablePanelGroup,Fr as ScrollArea,Ir as ScrollBar,Lr as Select,Rr as SelectContent,zr as SelectGroup,Br as SelectItem,Vr as SelectLabel,Hr as SelectScrollDownButton,Ur as SelectScrollUpButton,Wr as SelectSeparator,Gr as SelectTrigger,Kr as SelectValue,W as Separator,ei as Sidebar,ti as SidebarContent,ni as SidebarFooter,ri as SidebarGroup,ii as SidebarGroupAction,ai as SidebarGroupContent,oi as SidebarGroupLabel,si as SidebarHeader,ci as SidebarInput,li as SidebarInset,ui as SidebarMenu,di as SidebarMenuAction,fi as SidebarMenuBadge,pi as SidebarMenuButton,mi as SidebarMenuItem,hi as SidebarMenuSkeleton,gi as SidebarMenuSub,_i as SidebarMenuSubButton,vi as SidebarMenuSubItem,yi as SidebarProvider,bi as SidebarRail,xi as SidebarSeparator,Si as SidebarTrigger,wi as SimpleGrid,Jr as Skeleton,Ti as Slider,d as Spinner,Oi as Stack,Ai as Switch,ji as Table,Mi as TableBody,Ni as TableCaption,Pi as TableCell,Fi as TableFooter,Ii as TableHead,Li as TableHeader,Ri as TableRow,zi as Tabs,Bi as TabsContent,Vi as TabsList,Hi as TabsTrigger,Wi as Text,Me as Textarea,qi as ThemeProvider,Yi as Timeline,Xi as TimelineConnector,Zi as TimelineContent,Qi as TimelineDescription,$i as TimelineEmpty,ea as TimelineHeader,ta as TimelineIcon,na as TimelineItem,ra as TimelineTime,ia as TimelineTitle,Ei as Toaster,oa as Toggle,ca as ToggleGroup,la as ToggleGroupItem,Yr as Tooltip,Xr as TooltipContent,Zr as TooltipProvider,Qr as TooltipRoot,$r as TooltipTrigger,ua as UnstyledButton,ma as VisibleFrom,Se as XAxis,O as anchorVariants,I as badgeVariants,da as breakpointValues,u as buttonColorVariants,J as buttonGroupVariants,m as buttonVariants,fe as centerVariants,e as cn,St as containerVariants,Gn as groupVariants,qn as headingVariants,lr as listVariants,Z as locale,xr as navigationMenuTriggerStyle,t as randomId,Ce as selectionControlColorVariants,f as spinnerVariants,ki as stackVariants,Ui as tabsListVariants,Gi as textVariants,aa as timelineVariants,Di as toast,sa as toggleVariants,we as uiColors,fa as useBreakpoint,ha as useBreakpointValue,ue as useCarousel,tt as useComboboxAnchor,ga as useDisclosure,_a as useDocumentVisibility,Tn as useDropzone,va as useIdle,ya as useInterval,qr as useIsMobile,ba as useLocalStorage,Ci as useSidebar,Ji as useTheme};
@@ -55,5 +55,5 @@ Unable to find an `+(a===!1?`accessible `:``)+`element with the role "`+r+`"`+d+
55
55
  `+u).trim()},xr=wrapAllByQueryWithSuggestion(queryAllByRole,queryAllByRole.name,`queryAll`),[Sr,Cr,wr,Tr,Er]=buildQueries(queryAllByRole,getMultipleError$1,getMissingError$1),getTestIdAttribute=()=>getConfig$1().testIdAttribute,queryAllByTestId=function(){var t=[...arguments];return checkContainerType(t[0]),queryAllByAttribute(getTestIdAttribute(),...t)},getMultipleError=(t,r)=>`Found multiple elements by: [`+getTestIdAttribute()+`="`+r+`"]`,getMissingError=(t,r)=>`Unable to find an element by: [`+getTestIdAttribute()+`="`+r+`"]`,Dr=wrapAllByQueryWithSuggestion(queryAllByTestId,queryAllByTestId.name,`queryAll`),[Or,kr,Ar,jr,Mr]=buildQueries(queryAllByTestId,getMultipleError,getMissingError);var Z=Object.freeze({__proto__:null,queryAllByLabelText:Un,queryByLabelText:Ln,getAllByLabelText:Vn,getByLabelText:Hn,findAllByLabelText:zn,findByLabelText:Bn,queryByPlaceholderText:Gn,queryAllByPlaceholderText:Wn,getByPlaceholderText:qn,getAllByPlaceholderText:Kn,findAllByPlaceholderText:Jn,findByPlaceholderText:Yn,queryByText:Zn,queryAllByText:Xn,getByText:$n,getAllByText:Qn,findAllByText:er,findByText:tr,queryByDisplayValue:rr,queryAllByDisplayValue:nr,getByDisplayValue:ar,getAllByDisplayValue:ir,findAllByDisplayValue:or,findByDisplayValue:sr,queryByAltText:ur,queryAllByAltText:lr,getByAltText:fr,getAllByAltText:dr,findAllByAltText:pr,findByAltText:mr,queryByTitle:gr,queryAllByTitle:hr,getByTitle:vr,getAllByTitle:_r,findAllByTitle:yr,findByTitle:br,queryByRole:Sr,queryAllByRole:xr,getAllByRole:Cr,getByRole:wr,findAllByRole:Tr,findByRole:Er,queryByTestId:Or,queryAllByTestId:Dr,getByTestId:Ar,getAllByTestId:kr,findAllByTestId:jr,findByTestId:Mr});function getQueriesForElement(t,r,i){return r===void 0&&(r=Z),i===void 0&&(i={}),Object.keys(r).reduce((i,a)=>(i[a]=r[a].bind(null,t),i),i)}const Nr={copy:{EventType:`ClipboardEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},cut:{EventType:`ClipboardEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:`ClipboardEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionEnd:{EventType:`CompositionEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionStart:{EventType:`CompositionEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionUpdate:{EventType:`CompositionEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyDown:{EventType:`KeyboardEvent`,defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyPress:{EventType:`KeyboardEvent`,defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyUp:{EventType:`KeyboardEvent`,defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},focus:{EventType:`FocusEvent`,defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},blur:{EventType:`FocusEvent`,defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusIn:{EventType:`FocusEvent`,defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusOut:{EventType:`FocusEvent`,defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},change:{EventType:`Event`,defaultInit:{bubbles:!0,cancelable:!1}},input:{EventType:`InputEvent`,defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},invalid:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!0}},submit:{EventType:`Event`,defaultInit:{bubbles:!0,cancelable:!0}},reset:{EventType:`Event`,defaultInit:{bubbles:!0,cancelable:!0}},click:{EventType:`MouseEvent`,defaultInit:{bubbles:!0,cancelable:!0,button:0,composed:!0}},contextMenu:{EventType:`MouseEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblClick:{EventType:`MouseEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drag:{EventType:`DragEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragEnd:{EventType:`DragEvent`,defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragEnter:{EventType:`DragEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragExit:{EventType:`DragEvent`,defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragLeave:{EventType:`DragEvent`,defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragOver:{EventType:`DragEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragStart:{EventType:`DragEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drop:{EventType:`DragEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseDown:{EventType:`MouseEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseEnter:{EventType:`MouseEvent`,defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseLeave:{EventType:`MouseEvent`,defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseMove:{EventType:`MouseEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOut:{EventType:`MouseEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOver:{EventType:`MouseEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseUp:{EventType:`MouseEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},select:{EventType:`Event`,defaultInit:{bubbles:!0,cancelable:!1}},touchCancel:{EventType:`TouchEvent`,defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},touchEnd:{EventType:`TouchEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchMove:{EventType:`TouchEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchStart:{EventType:`TouchEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},resize:{EventType:`UIEvent`,defaultInit:{bubbles:!1,cancelable:!1}},scroll:{EventType:`UIEvent`,defaultInit:{bubbles:!1,cancelable:!1}},wheel:{EventType:`WheelEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},abort:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},canPlay:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},canPlayThrough:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},durationChange:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},emptied:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},encrypted:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},ended:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},loadedData:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},loadedMetadata:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},loadStart:{EventType:`ProgressEvent`,defaultInit:{bubbles:!1,cancelable:!1}},pause:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},play:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},playing:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},progress:{EventType:`ProgressEvent`,defaultInit:{bubbles:!1,cancelable:!1}},rateChange:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},seeked:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},seeking:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},stalled:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},suspend:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},timeUpdate:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},volumeChange:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},waiting:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},load:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},error:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},animationStart:{EventType:`AnimationEvent`,defaultInit:{bubbles:!0,cancelable:!1}},animationEnd:{EventType:`AnimationEvent`,defaultInit:{bubbles:!0,cancelable:!1}},animationIteration:{EventType:`AnimationEvent`,defaultInit:{bubbles:!0,cancelable:!1}},transitionCancel:{EventType:`TransitionEvent`,defaultInit:{bubbles:!0,cancelable:!1}},transitionEnd:{EventType:`TransitionEvent`,defaultInit:{bubbles:!0,cancelable:!0}},transitionRun:{EventType:`TransitionEvent`,defaultInit:{bubbles:!0,cancelable:!1}},transitionStart:{EventType:`TransitionEvent`,defaultInit:{bubbles:!0,cancelable:!1}},pointerOver:{EventType:`PointerEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerEnter:{EventType:`PointerEvent`,defaultInit:{bubbles:!1,cancelable:!1}},pointerDown:{EventType:`PointerEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerMove:{EventType:`PointerEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerUp:{EventType:`PointerEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerCancel:{EventType:`PointerEvent`,defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerOut:{EventType:`PointerEvent`,defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerLeave:{EventType:`PointerEvent`,defaultInit:{bubbles:!1,cancelable:!1}},gotPointerCapture:{EventType:`PointerEvent`,defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},lostPointerCapture:{EventType:`PointerEvent`,defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},popState:{EventType:`PopStateEvent`,defaultInit:{bubbles:!0,cancelable:!1}},offline:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},online:{EventType:`Event`,defaultInit:{bubbles:!1,cancelable:!1}},pageHide:{EventType:`PageTransitionEvent`,defaultInit:{bubbles:!0,cancelable:!0}},pageShow:{EventType:`PageTransitionEvent`,defaultInit:{bubbles:!0,cancelable:!0}}},Pr={doubleClick:`dblClick`};function fireEvent$1(t,r){return getConfig$1().eventWrapper(()=>{if(!r)throw Error(`Unable to fire an event - please provide an event object.`);if(!t)throw Error(`Unable to fire a "`+r.type+`" event - please provide a DOM element.`);return t.dispatchEvent(r)})}t(fireEvent$1,`fireEvent`);function createEvent(t,r,i,a){let{EventType:o=`Event`,defaultInit:c={}}=a===void 0?{}:a;if(!r)throw Error(`Unable to fire a "`+t+`" event - please provide a DOM element.`);let l={...c,...i},{target:{value:u,files:d,...p}={}}=l;u!==void 0&&setNativeValue(r,u),d!==void 0&&Object.defineProperty(r,`files`,{configurable:!0,enumerable:!0,writable:!0,value:d}),Object.assign(r,p);let m=getWindowFromNode(r),h=m[o]||m.Event,g;if(typeof h==`function`)g=new h(t,l);else{g=m.document.createEvent(o);let{bubbles:r,cancelable:i,detail:a,...c}=l;g.initEvent(t,r,i,a),Object.keys(c).forEach(t=>{g[t]=c[t]})}return[`dataTransfer`,`clipboardData`].forEach(t=>{let r=l[t];typeof r==`object`&&(typeof m.DataTransfer==`function`?Object.defineProperty(g,t,{value:Object.getOwnPropertyNames(r).reduce((t,i)=>(Object.defineProperty(t,i,{value:r[i]}),t),new m.DataTransfer)}):Object.defineProperty(g,t,{value:r}))}),g}Object.keys(Nr).forEach(t=>{let{EventType:r,defaultInit:i}=Nr[t],a=t.toLowerCase();createEvent[t]=(t,o)=>createEvent(a,t,o,{EventType:r,defaultInit:i}),fireEvent$1[t]=(r,i)=>fireEvent$1(r,createEvent[t](r,i))});function setNativeValue(t,r){let{set:i}=Object.getOwnPropertyDescriptor(t,`value`)||{},{set:a}=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(t),`value`)||{};if(a&&i!==a)a.call(t,r);else if(i)i.call(t,r);else throw Error(`The given element does not have a value setter`)}Object.keys(Pr).forEach(t=>{let r=Pr[t];fireEvent$1[t]=function(){return fireEvent$1[r](...arguments)}});function unindent(t){return t.replace(/[ \t]*[\n][ \t]*/g,`
56
56
  `)}function encode(t){return An.default.compressToEncodedURIComponent(unindent(t))}function getPlaygroundUrl(t){return`https://testing-playground.com/#markup=`+encode(t)}const debug=(t,r,i)=>Array.isArray(t)?t.forEach(t=>logDOM(t,r,i)):logDOM(t,r,i),logTestingPlaygroundURL=function(t){if(t===void 0&&(t=getDocument().body),!t||!(`innerHTML`in t)){console.log(`The element you're providing isn't a valid DOM element.`);return}if(!t.innerHTML){console.log(`The provided element doesn't have any children.`);return}let r=getPlaygroundUrl(t.innerHTML);return console.log(`Open this URL in your browser
57
57
 
58
- `+r),r},Fr={debug,logTestingPlaygroundURL};typeof document<`u`&&document.body?getQueriesForElement(document.body,Z,Fr):Object.keys(Z).reduce((t,r)=>(t[r]=()=>{throw TypeError(`For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error`)},t),Fr);const Ir=typeof a.act==`function`?a.act:o.act;function getGlobalThis(){if(typeof globalThis<`u`)return globalThis;if(typeof self<`u`)return self;if(typeof window<`u`)return window;if(typeof global<`u`)return global;throw Error(`unable to locate global object`)}function setIsReactActEnvironment(t){getGlobalThis().IS_REACT_ACT_ENVIRONMENT=t}function getIsReactActEnvironment(){return getGlobalThis().IS_REACT_ACT_ENVIRONMENT}function withGlobalActEnvironment(t){return r=>{let i=getIsReactActEnvironment();setIsReactActEnvironment(!0);try{let a=!1,o=t(()=>{let t=r();return typeof t==`object`&&t&&typeof t.then==`function`&&(a=!0),t});if(a){let t=o;return{then:(r,a)=>{t.then(t=>{setIsReactActEnvironment(i),r(t)},t=>{setIsReactActEnvironment(i),a(t)})}}}else return setIsReactActEnvironment(i),o}catch(t){throw setIsReactActEnvironment(i),t}}}const Q=withGlobalActEnvironment(Ir),fireEvent=(...t)=>fireEvent$1(...t);Object.keys(fireEvent$1).forEach(t=>{fireEvent[t]=(...r)=>fireEvent$1[t](...r)});const Lr=fireEvent.mouseEnter,Rr=fireEvent.mouseLeave;fireEvent.mouseEnter=(...t)=>(Lr(...t),fireEvent.mouseOver(...t)),fireEvent.mouseLeave=(...t)=>(Rr(...t),fireEvent.mouseOut(...t));const zr=fireEvent.pointerEnter,Br=fireEvent.pointerLeave;fireEvent.pointerEnter=(...t)=>(zr(...t),fireEvent.pointerOver(...t)),fireEvent.pointerLeave=(...t)=>(Br(...t),fireEvent.pointerOut(...t));const Vr=fireEvent.select;fireEvent.select=(t,r)=>{Vr(t,r),t.focus(),fireEvent.keyUp(t,r)};const Hr=fireEvent.blur,Ur=fireEvent.focus;fireEvent.blur=(...t)=>(fireEvent.focusOut(...t),Hr(...t)),fireEvent.focus=(...t)=>(fireEvent.focusIn(...t),Ur(...t));let Wr={reactStrictMode:!1};function getConfig(){return{...getConfig$1(),...Wr}}function jestFakeTimersAreEnabled(){return typeof jest<`u`&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,`clock`):!1}configure({unstable_advanceTimersWrapper:t=>Q(t),asyncWrapper:async t=>{let r=getIsReactActEnvironment();setIsReactActEnvironment(!1);try{let r=await t();return await new Promise(t=>{setTimeout(()=>{t()},0),jestFakeTimersAreEnabled()&&jest.advanceTimersByTime(0)}),r}finally{setIsReactActEnvironment(r)}},eventWrapper:t=>{let r;return Q(()=>{r=t()}),r}});const Gr=new Set,$=[];function strictModeIfNeeded(t,r){return r??getConfig().reactStrictMode?a.createElement(a.StrictMode,null,t):t}function wrapUiIfNeeded(t,r){return r?a.createElement(r,null,t):t}function createConcurrentRoot(t,{hydrate:r,onCaughtError:i,onRecoverableError:a,ui:o,wrapper:c,reactStrictMode:u}){let d;return r?Q(()=>{d=l.hydrateRoot(t,strictModeIfNeeded(wrapUiIfNeeded(o,c),u),{onCaughtError:i,onRecoverableError:a})}):d=l.createRoot(t,{onCaughtError:i,onRecoverableError:a}),{hydrate(){if(!r)throw Error("Attempted to hydrate a non-hydrateable root. This is a bug in `@testing-library/react`.")},render(t){d.render(t)},unmount(){d.unmount()}}}function createLegacyRoot(t){return{hydrate(r){c.hydrate(r,t)},render(r){c.render(r,t)},unmount(){c.unmountComponentAtNode(t)}}}function renderRoot(t,{baseElement:r,container:i,hydrate:a,queries:o,root:c,wrapper:l,reactStrictMode:u}){return Q(()=>{a?c.hydrate(strictModeIfNeeded(wrapUiIfNeeded(t,l),u),i):c.render(strictModeIfNeeded(wrapUiIfNeeded(t,l),u),i)}),{container:i,baseElement:r,debug:(t=r,i,a)=>Array.isArray(t)?t.forEach(t=>console.log(prettyDOM(t,i,a))):console.log(prettyDOM(t,i,a)),unmount:()=>{Q(()=>{c.unmount()})},rerender:t=>{renderRoot(t,{container:i,baseElement:r,root:c,wrapper:l,reactStrictMode:u})},asFragment:()=>{if(typeof document.createRange==`function`)return document.createRange().createContextualFragment(i.innerHTML);{let t=document.createElement(`template`);return t.innerHTML=i.innerHTML,t.content}},...getQueriesForElement(r,o)}}function render(t,{container:r,baseElement:i=r,legacyRoot:a=!1,onCaughtError:o,onUncaughtError:l,onRecoverableError:u,queries:d,hydrate:p=!1,wrapper:m,reactStrictMode:h}={}){if(l!==void 0)throw Error("onUncaughtError is not supported. The `render` call will already throw on uncaught errors.");if(a&&typeof c.render!=`function`){let t=Error("`legacyRoot: true` is not supported in this version of React. If your app runs React 19 or later, you should remove this flag. If your app runs React 18 or earlier, visit https://react.dev/blog/2022/03/08/react-18-upgrade-guide for upgrade instructions.");throw Error.captureStackTrace(t,render),t}i||=document.body,r||=i.appendChild(document.createElement(`div`));let g;return Gr.has(r)?$.forEach(t=>{t.container===r&&(g=t.root)}):(g=(a?createLegacyRoot:createConcurrentRoot)(r,{hydrate:p,onCaughtError:o,onRecoverableError:u,ui:t,wrapper:m,reactStrictMode:h}),$.push({container:r,root:g}),Gr.add(r)),renderRoot(t,{container:r,baseElement:i,queries:d,hydrate:p,wrapper:m,root:g,reactStrictMode:h})}function cleanup(){$.forEach(({root:t,container:r})=>{Q(()=>{t.unmount()}),r.parentNode===document.body&&document.body.removeChild(r)}),$.length=0,Gr.clear()}function renderHook(t,r={}){let{initialProps:i,...o}=r;if(o.legacyRoot&&typeof c.render!=`function`){let t=Error("`legacyRoot: true` is not supported in this version of React. If your app runs React 19 or later, you should remove this flag. If your app runs React 18 or earlier, visit https://react.dev/blog/2022/03/08/react-18-upgrade-guide for upgrade instructions.");throw Error.captureStackTrace(t,renderHook),t}let l=a.createRef();function TestComponent({renderCallbackProps:r}){let i=t(r);return a.useEffect(()=>{l.current=i}),null}let{rerender:u,unmount:d}=render(a.createElement(TestComponent,{renderCallbackProps:i}),o);function rerender(t){return u(a.createElement(TestComponent,{renderCallbackProps:t}))}return{result:l,rerender,unmount:d}}if((typeof process>`u`||!process.env?.RTL_SKIP_AUTO_CLEANUP)&&(typeof afterEach==`function`?afterEach(()=>{cleanup()}):typeof teardown==`function`&&teardown(()=>{cleanup()}),typeof beforeAll==`function`&&typeof afterAll==`function`)){let t=getIsReactActEnvironment();beforeAll(()=>{t=getIsReactActEnvironment(),setIsReactActEnvironment(!0)}),afterAll(()=>{setIsReactActEnvironment(t)})}export{renderHook as n,Q as t};
59
- //# sourceMappingURL=react.esm-BuxkFT_p.js.map
58
+ `+r),r},Fr={debug,logTestingPlaygroundURL},Ir=typeof document<`u`&&document.body?getQueriesForElement(document.body,Z,Fr):Object.keys(Z).reduce((t,r)=>(t[r]=()=>{throw TypeError(`For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error`)},t),Fr),Lr=typeof a.act==`function`?a.act:o.act;function getGlobalThis(){if(typeof globalThis<`u`)return globalThis;if(typeof self<`u`)return self;if(typeof window<`u`)return window;if(typeof global<`u`)return global;throw Error(`unable to locate global object`)}function setIsReactActEnvironment(t){getGlobalThis().IS_REACT_ACT_ENVIRONMENT=t}function getIsReactActEnvironment(){return getGlobalThis().IS_REACT_ACT_ENVIRONMENT}function withGlobalActEnvironment(t){return r=>{let i=getIsReactActEnvironment();setIsReactActEnvironment(!0);try{let a=!1,o=t(()=>{let t=r();return typeof t==`object`&&t&&typeof t.then==`function`&&(a=!0),t});if(a){let t=o;return{then:(r,a)=>{t.then(t=>{setIsReactActEnvironment(i),r(t)},t=>{setIsReactActEnvironment(i),a(t)})}}}else return setIsReactActEnvironment(i),o}catch(t){throw setIsReactActEnvironment(i),t}}}const Q=withGlobalActEnvironment(Lr),fireEvent=(...t)=>fireEvent$1(...t);Object.keys(fireEvent$1).forEach(t=>{fireEvent[t]=(...r)=>fireEvent$1[t](...r)});const Rr=fireEvent.mouseEnter,zr=fireEvent.mouseLeave;fireEvent.mouseEnter=(...t)=>(Rr(...t),fireEvent.mouseOver(...t)),fireEvent.mouseLeave=(...t)=>(zr(...t),fireEvent.mouseOut(...t));const Br=fireEvent.pointerEnter,Vr=fireEvent.pointerLeave;fireEvent.pointerEnter=(...t)=>(Br(...t),fireEvent.pointerOver(...t)),fireEvent.pointerLeave=(...t)=>(Vr(...t),fireEvent.pointerOut(...t));const Hr=fireEvent.select;fireEvent.select=(t,r)=>{Hr(t,r),t.focus(),fireEvent.keyUp(t,r)};const Ur=fireEvent.blur,Wr=fireEvent.focus;fireEvent.blur=(...t)=>(fireEvent.focusOut(...t),Ur(...t)),fireEvent.focus=(...t)=>(fireEvent.focusIn(...t),Wr(...t));let Gr={reactStrictMode:!1};function getConfig(){return{...getConfig$1(),...Gr}}function jestFakeTimersAreEnabled(){return typeof jest<`u`&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,`clock`):!1}configure({unstable_advanceTimersWrapper:t=>Q(t),asyncWrapper:async t=>{let r=getIsReactActEnvironment();setIsReactActEnvironment(!1);try{let r=await t();return await new Promise(t=>{setTimeout(()=>{t()},0),jestFakeTimersAreEnabled()&&jest.advanceTimersByTime(0)}),r}finally{setIsReactActEnvironment(r)}},eventWrapper:t=>{let r;return Q(()=>{r=t()}),r}});const Kr=new Set,$=[];function strictModeIfNeeded(t,r){return r??getConfig().reactStrictMode?a.createElement(a.StrictMode,null,t):t}function wrapUiIfNeeded(t,r){return r?a.createElement(r,null,t):t}function createConcurrentRoot(t,{hydrate:r,onCaughtError:i,onRecoverableError:a,ui:o,wrapper:c,reactStrictMode:u}){let d;return r?Q(()=>{d=l.hydrateRoot(t,strictModeIfNeeded(wrapUiIfNeeded(o,c),u),{onCaughtError:i,onRecoverableError:a})}):d=l.createRoot(t,{onCaughtError:i,onRecoverableError:a}),{hydrate(){if(!r)throw Error("Attempted to hydrate a non-hydrateable root. This is a bug in `@testing-library/react`.")},render(t){d.render(t)},unmount(){d.unmount()}}}function createLegacyRoot(t){return{hydrate(r){c.hydrate(r,t)},render(r){c.render(r,t)},unmount(){c.unmountComponentAtNode(t)}}}function renderRoot(t,{baseElement:r,container:i,hydrate:a,queries:o,root:c,wrapper:l,reactStrictMode:u}){return Q(()=>{a?c.hydrate(strictModeIfNeeded(wrapUiIfNeeded(t,l),u),i):c.render(strictModeIfNeeded(wrapUiIfNeeded(t,l),u),i)}),{container:i,baseElement:r,debug:(t=r,i,a)=>Array.isArray(t)?t.forEach(t=>console.log(prettyDOM(t,i,a))):console.log(prettyDOM(t,i,a)),unmount:()=>{Q(()=>{c.unmount()})},rerender:t=>{renderRoot(t,{container:i,baseElement:r,root:c,wrapper:l,reactStrictMode:u})},asFragment:()=>{if(typeof document.createRange==`function`)return document.createRange().createContextualFragment(i.innerHTML);{let t=document.createElement(`template`);return t.innerHTML=i.innerHTML,t.content}},...getQueriesForElement(r,o)}}function render(t,{container:r,baseElement:i=r,legacyRoot:a=!1,onCaughtError:o,onUncaughtError:l,onRecoverableError:u,queries:d,hydrate:p=!1,wrapper:m,reactStrictMode:h}={}){if(l!==void 0)throw Error("onUncaughtError is not supported. The `render` call will already throw on uncaught errors.");if(a&&typeof c.render!=`function`){let t=Error("`legacyRoot: true` is not supported in this version of React. If your app runs React 19 or later, you should remove this flag. If your app runs React 18 or earlier, visit https://react.dev/blog/2022/03/08/react-18-upgrade-guide for upgrade instructions.");throw Error.captureStackTrace(t,render),t}i||=document.body,r||=i.appendChild(document.createElement(`div`));let g;return Kr.has(r)?$.forEach(t=>{t.container===r&&(g=t.root)}):(g=(a?createLegacyRoot:createConcurrentRoot)(r,{hydrate:p,onCaughtError:o,onRecoverableError:u,ui:t,wrapper:m,reactStrictMode:h}),$.push({container:r,root:g}),Kr.add(r)),renderRoot(t,{container:r,baseElement:i,queries:d,hydrate:p,wrapper:m,root:g,reactStrictMode:h})}function cleanup(){$.forEach(({root:t,container:r})=>{Q(()=>{t.unmount()}),r.parentNode===document.body&&document.body.removeChild(r)}),$.length=0,Kr.clear()}function renderHook(t,r={}){let{initialProps:i,...o}=r;if(o.legacyRoot&&typeof c.render!=`function`){let t=Error("`legacyRoot: true` is not supported in this version of React. If your app runs React 19 or later, you should remove this flag. If your app runs React 18 or earlier, visit https://react.dev/blog/2022/03/08/react-18-upgrade-guide for upgrade instructions.");throw Error.captureStackTrace(t,renderHook),t}let l=a.createRef();function TestComponent({renderCallbackProps:r}){let i=t(r);return a.useEffect(()=>{l.current=i}),null}let{rerender:u,unmount:d}=render(a.createElement(TestComponent,{renderCallbackProps:i}),o);function rerender(t){return u(a.createElement(TestComponent,{renderCallbackProps:t}))}return{result:l,rerender,unmount:d}}if((typeof process>`u`||!process.env?.RTL_SKIP_AUTO_CLEANUP)&&(typeof afterEach==`function`?afterEach(()=>{cleanup()}):typeof teardown==`function`&&teardown(()=>{cleanup()}),typeof beforeAll==`function`&&typeof afterAll==`function`)){let t=getIsReactActEnvironment();beforeAll(()=>{t=getIsReactActEnvironment(),setIsReactActEnvironment(!0)}),afterAll(()=>{setIsReactActEnvironment(t)})}export{Ir as i,render as n,renderHook as r,Q as t};
59
+ //# sourceMappingURL=react.esm-B3a5z6DL.js.map