@medway-ui/core 1.15.0 → 1.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,9 +1,10 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as class_variance_authority_types from 'class-variance-authority/types';
3
3
  import * as react from 'react';
4
- import { ComponentProps, ReactNode, ReactElement, TableHTMLAttributes, HTMLAttributes, ThHTMLAttributes, ComponentPropsWithoutRef } from 'react';
4
+ import { ComponentProps, ReactNode, HTMLAttributes, ButtonHTMLAttributes, ReactElement, TableHTMLAttributes, ThHTMLAttributes, ComponentPropsWithoutRef } from 'react';
5
5
  import { VariantProps } from 'class-variance-authority';
6
- import { AlertDialog as AlertDialog$1, Avatar as Avatar$1, Progress as Progress$1, Checkbox as Checkbox$1, Collapsible as Collapsible$1, Dialog as Dialog$1, DropdownMenu as DropdownMenu$1, Label as Label$1, RadioGroup as RadioGroup$1, ScrollArea as ScrollArea$1, Select as Select$1, Tabs as Tabs$1, Separator as Separator$1, Tooltip as Tooltip$1, Switch as Switch$1, Toast as Toast$2 } from 'radix-ui';
6
+ import { AlertDialog as AlertDialog$1, Dialog as Dialog$1, Avatar as Avatar$1, Progress as Progress$1, Checkbox as Checkbox$1, Collapsible as Collapsible$1, DropdownMenu as DropdownMenu$1, Label as Label$1, RadioGroup as RadioGroup$1, ScrollArea as ScrollArea$1, Select as Select$1, Tabs as Tabs$1, Separator as Separator$1, Tooltip as Tooltip$1, Switch as Switch$1, Toast as Toast$2 } from 'radix-ui';
7
+ import { Command } from 'cmdk';
7
8
 
8
9
  interface AlertProps extends ComponentProps<"div"> {
9
10
  variant?: "regular" | "emphasis" | "success" | "warning" | "error";
@@ -41,6 +42,89 @@ declare function AlertDialogDescription({ className, ...props }: ComponentProps<
41
42
  declare function AlertDialogAction({ className, ...props }: ComponentProps<typeof AlertDialog$1.Action>): react_jsx_runtime.JSX.Element;
42
43
  declare function AlertDialogCancel({ className, ...props }: ComponentProps<typeof AlertDialog$1.Cancel>): react_jsx_runtime.JSX.Element;
43
44
 
45
+ declare function Dialog({ ...props }: ComponentProps<typeof Dialog$1.Root>): react_jsx_runtime.JSX.Element;
46
+ declare function DialogTrigger({ ...props }: ComponentProps<typeof Dialog$1.Trigger>): react_jsx_runtime.JSX.Element;
47
+ declare function DialogPortal({ ...props }: ComponentProps<typeof Dialog$1.Portal>): react_jsx_runtime.JSX.Element;
48
+ declare function DialogClose({ ...props }: ComponentProps<typeof Dialog$1.Close>): react_jsx_runtime.JSX.Element;
49
+ declare function DialogOverlay({ className, ...props }: ComponentProps<typeof Dialog$1.Overlay>): react_jsx_runtime.JSX.Element;
50
+ interface DialogContainerProps extends ComponentProps<typeof Dialog$1.Content> {
51
+ showCloseButton?: boolean;
52
+ overlayClassName?: string;
53
+ }
54
+ declare function DialogContainer({ className, overlayClassName, children, showCloseButton, ...props }: DialogContainerProps): react_jsx_runtime.JSX.Element;
55
+ declare function DialogContent({ className, children, }: {
56
+ className?: string;
57
+ children: ReactNode;
58
+ }): react_jsx_runtime.JSX.Element;
59
+ interface DialogHeaderProps extends ComponentProps<"div"> {
60
+ separator?: boolean;
61
+ }
62
+ declare function DialogHeader({ className, separator, ...props }: DialogHeaderProps): react_jsx_runtime.JSX.Element;
63
+ interface DialogFooterProps extends ComponentProps<"div"> {
64
+ separator?: boolean;
65
+ }
66
+ declare function DialogFooter({ className, separator, ...props }: DialogFooterProps): react_jsx_runtime.JSX.Element;
67
+ interface DialogTitleProps extends ComponentProps<typeof Dialog$1.Title> {
68
+ iconLeft?: ReactNode;
69
+ iconRight?: ReactNode;
70
+ }
71
+ declare function DialogTitle({ className, iconLeft, iconRight, children, ...props }: DialogTitleProps): react_jsx_runtime.JSX.Element;
72
+ declare function DialogDescription({ className, ...props }: ComponentProps<typeof Dialog$1.Description>): react_jsx_runtime.JSX.Element;
73
+
74
+ declare function CommandGroup({ className, ...props }: ComponentProps<typeof Command.Group>): react_jsx_runtime.JSX.Element;
75
+
76
+ type AutocompleteTextProps = HTMLAttributes<HTMLSpanElement>;
77
+ interface AutocompleteContextValue {
78
+ invalid: boolean;
79
+ disabled: boolean;
80
+ open: boolean;
81
+ setOpen: (open: boolean) => void;
82
+ values: string[];
83
+ toggleValue: (value: string) => void;
84
+ onCancelSelection: () => void;
85
+ listId: string;
86
+ }
87
+ interface AutocompleteProps {
88
+ children: ReactNode;
89
+ invalid?: boolean;
90
+ disabled?: boolean;
91
+ values?: string[];
92
+ onValuesChange?: (values: string[]) => void;
93
+ open?: boolean;
94
+ onOpenChange?: (open: boolean) => void;
95
+ defaultValues?: string[];
96
+ }
97
+ interface AutocompleteTriggerProps extends ButtonHTMLAttributes<HTMLButtonElement> {
98
+ placeholder?: string;
99
+ }
100
+ interface AutocompleteContentProps {
101
+ children: ReactNode;
102
+ className?: string;
103
+ searchPlaceholder?: string;
104
+ emptyMessage?: string;
105
+ }
106
+ interface AutocompleteItemProps {
107
+ children: ReactNode;
108
+ value: string;
109
+ className?: string;
110
+ disabled?: boolean;
111
+ }
112
+ interface AutocompleteContentFooterProps {
113
+ className?: string;
114
+ cancelLabel?: string;
115
+ confirmLabel?: string;
116
+ onCancel?: () => void;
117
+ onConfirm?: (values: string[]) => void;
118
+ }
119
+ declare function Autocomplete({ children, invalid, disabled, values: controlledValues, onValuesChange, open: controlledOpen, onOpenChange, defaultValues, }: AutocompleteProps): react_jsx_runtime.JSX.Element;
120
+ declare function AutocompleteWrapper({ className, ...props }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
121
+ declare function AutocompleteTrigger({ className, placeholder, children, ...props }: AutocompleteTriggerProps): react_jsx_runtime.JSX.Element;
122
+ declare function AutocompleteContentFooter({ className, cancelLabel, confirmLabel, onCancel, onConfirm, }: AutocompleteContentFooterProps): react_jsx_runtime.JSX.Element;
123
+ declare function AutocompleteContent({ children, className, searchPlaceholder, emptyMessage, }: AutocompleteContentProps): react_jsx_runtime.JSX.Element;
124
+ declare function AutocompleteItem({ children, value: itemValue, className, disabled: itemDisabled, }: AutocompleteItemProps): react_jsx_runtime.JSX.Element;
125
+ declare function AutocompleteGroup({ className, ...props }: ComponentProps<typeof CommandGroup>): react_jsx_runtime.JSX.Element;
126
+ declare function AutocompleteText({ className, ...props }: AutocompleteTextProps): react_jsx_runtime.JSX.Element;
127
+
44
128
  declare const avatarVariants: (props?: ({
45
129
  size?: "sm" | "md" | "lg" | "xl" | null | undefined;
46
130
  } & class_variance_authority_types.ClassProp) | undefined) => string;
@@ -160,35 +244,6 @@ declare function Collapsible({ animation, ...props }: CollapsibleProps): react_j
160
244
  declare function CollapsibleTrigger({ ...props }: ComponentProps<typeof Collapsible$1.Trigger>): react_jsx_runtime.JSX.Element;
161
245
  declare function CollapsibleContent({ className, ...props }: CollapsibleContentProps): react_jsx_runtime.JSX.Element;
162
246
 
163
- declare function Dialog({ ...props }: ComponentProps<typeof Dialog$1.Root>): react_jsx_runtime.JSX.Element;
164
- declare function DialogTrigger({ ...props }: ComponentProps<typeof Dialog$1.Trigger>): react_jsx_runtime.JSX.Element;
165
- declare function DialogPortal({ ...props }: ComponentProps<typeof Dialog$1.Portal>): react_jsx_runtime.JSX.Element;
166
- declare function DialogClose({ ...props }: ComponentProps<typeof Dialog$1.Close>): react_jsx_runtime.JSX.Element;
167
- declare function DialogOverlay({ className, ...props }: ComponentProps<typeof Dialog$1.Overlay>): react_jsx_runtime.JSX.Element;
168
- interface DialogContainerProps extends ComponentProps<typeof Dialog$1.Content> {
169
- showCloseButton?: boolean;
170
- overlayClassName?: string;
171
- }
172
- declare function DialogContainer({ className, overlayClassName, children, showCloseButton, ...props }: DialogContainerProps): react_jsx_runtime.JSX.Element;
173
- declare function DialogContent({ className, children, }: {
174
- className?: string;
175
- children: ReactNode;
176
- }): react_jsx_runtime.JSX.Element;
177
- interface DialogHeaderProps extends ComponentProps<"div"> {
178
- separator?: boolean;
179
- }
180
- declare function DialogHeader({ className, separator, ...props }: DialogHeaderProps): react_jsx_runtime.JSX.Element;
181
- interface DialogFooterProps extends ComponentProps<"div"> {
182
- separator?: boolean;
183
- }
184
- declare function DialogFooter({ className, separator, ...props }: DialogFooterProps): react_jsx_runtime.JSX.Element;
185
- interface DialogTitleProps extends ComponentProps<typeof Dialog$1.Title> {
186
- iconLeft?: ReactNode;
187
- iconRight?: ReactNode;
188
- }
189
- declare function DialogTitle({ className, iconLeft, iconRight, children, ...props }: DialogTitleProps): react_jsx_runtime.JSX.Element;
190
- declare function DialogDescription({ className, ...props }: ComponentProps<typeof Dialog$1.Description>): react_jsx_runtime.JSX.Element;
191
-
192
247
  declare function DropdownMenu({ ...props }: ComponentProps<typeof DropdownMenu$1.Root>): react_jsx_runtime.JSX.Element;
193
248
  declare function DropdownMenuPortal({ ...props }: ComponentProps<typeof DropdownMenu$1.Portal>): react_jsx_runtime.JSX.Element;
194
249
  declare function DropdownMenuTrigger({ ...props }: ComponentProps<typeof DropdownMenu$1.Trigger>): react_jsx_runtime.JSX.Element;
@@ -706,4 +761,4 @@ declare function useToast(): {
706
761
 
707
762
  declare function useIsMobile(): boolean;
708
763
 
709
- export { Alert, AlertActions, AlertButton, type AlertButtonProps, AlertContainer, AlertContent, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertIcon, type AlertProps, AlertTitle, type AnimationType, Avatar, AvatarFallback, AvatarImage, type AvatarProps, Badge, type BadgeAnimation, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, CardWeek, CardWeekActions, CardWeekBreadcrumb, type CardWeekBreadcrumbProps, CardWeekContainer, CardWeekContent, CardWeekDescription, CardWeekFooter, CardWeekHeader, CardWeekProgress, CardWeekProgressCircle, type CardWeekProps, CardWeekStatus, CardWeekTags, CardWeekText, type CardWeekTextProps, CardWeekTitle, Checkbox, type CheckboxProps, Collapsible, CollapsibleContent, type CollapsibleContentProps, type CollapsibleProps, CollapsibleTrigger, Dialog, DialogClose, DialogContainer, type DialogContainerProps, DialogContent, DialogDescription, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, DialogOverlay, DialogPortal, DialogTitle, type DialogTitleProps, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Input, Label, type LabelProps, Loading, type LoadingProps, Logo, type LogoProps, LogoShort, Pagination, PaginationContent, PaginationEllipsis, PaginationInfo, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type PaginationProps, PaginationRoot, type PercentageStatusKey, type PerformanceData, Progress, ProgressCircle, type ProgressCircleProps, type ProgressProps, RadioGroup, RadioGroupItem, type RadioGroupItemProps, Ranking, RankingAssigneeGroup, type RankingAssigneeGroupProps, RankingAssigneeItem, type RankingAssigneeItemProps, RankingAssigneeLabel, type RankingAssigneeLabelProps, RankingAssigneesColumn, type RankingAssigneesColumnProps, RankingBody, RankingButton, type RankingButtonProps, RankingHeader, RankingHeaderCell, type RankingHeaderCellProps, type RankingHeaderProps, RankingItem, type RankingItemProps, RankingNumber, type RankingNumberProps, RankingPerformance, type RankingPerformanceProps, RankingPriority, type RankingPriorityProps, type RankingProps, RankingQuestions, type RankingQuestionsProps, RankingSpecialty, type RankingSpecialtyProps, RankingSuperFocus, type RankingSuperFocusProps, RankingTopic, RankingTopicColumn, type RankingTopicColumnProps, RankingTopicContent, type RankingTopicContentProps, type RankingTopicProps, Rating, RatingButtonVariants, RatingLabelVariants, type RatingProps, type RatingSize, type RatingStarState, RatingStarVariants, ScrollArea, ScrollBar, SegmentControl, SegmentControlContent, SegmentControlList, type SegmentControlListProps, SegmentControlTrigger, type SegmentControlTriggerProps, Select, SelectContent, SelectGroup, SelectHeader, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectText, SelectTrigger, SelectValue, SelectWrapper, Separator, Sheet, SheetClose, SheetContent, type SheetContentProps, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuItemCollapse, SidebarMenuItemTitle, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Switch, type SwitchProps, Switcher, SwitcherContent, type SwitcherContentProps, SwitcherFooter, type SwitcherFooterProps, SwitcherGroup, type SwitcherGroupProps, SwitcherItem, type SwitcherItemProps, type SwitcherProps, SwitcherSeparator, SwitcherTrigger, type SwitcherTriggerProps, Tabs, TabsContent, TabsList, type TabsProps, type TabsSize, TabsTrigger, type TabsTriggerProps, type TabsVariant, Tag, type TagProps, Tile, TileDescription, TileIcon, type TileProps, TileTitle, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, alertButtonVariants, alertVariants, avatarVariants, badgeVariants, buttonVariants, calculatePageNumbers, checkboxVariants, labelVariants, radioGroupVariants, segmentControlTriggerVariants, switchVariants, tabsContentVariants, tabsListVariants, tabsTriggerVariants, tagVariants, tileVariants, toastVariants, useIsMobile, useSidebar, useTabsContext, useToast };
764
+ export { Alert, AlertActions, AlertButton, type AlertButtonProps, AlertContainer, AlertContent, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertIcon, type AlertProps, AlertTitle, type AnimationType, Autocomplete, AutocompleteContent, AutocompleteContentFooter, type AutocompleteContentFooterProps, type AutocompleteContentProps, type AutocompleteContextValue, AutocompleteGroup, AutocompleteItem, type AutocompleteItemProps, type AutocompleteProps, AutocompleteText, AutocompleteTrigger, type AutocompleteTriggerProps, AutocompleteWrapper, Avatar, AvatarFallback, AvatarImage, type AvatarProps, Badge, type BadgeAnimation, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, CardWeek, CardWeekActions, CardWeekBreadcrumb, type CardWeekBreadcrumbProps, CardWeekContainer, CardWeekContent, CardWeekDescription, CardWeekFooter, CardWeekHeader, CardWeekProgress, CardWeekProgressCircle, type CardWeekProps, CardWeekStatus, CardWeekTags, CardWeekText, type CardWeekTextProps, CardWeekTitle, Checkbox, type CheckboxProps, Collapsible, CollapsibleContent, type CollapsibleContentProps, type CollapsibleProps, CollapsibleTrigger, Dialog, DialogClose, DialogContainer, type DialogContainerProps, DialogContent, DialogDescription, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, DialogOverlay, DialogPortal, DialogTitle, type DialogTitleProps, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Input, Label, type LabelProps, Loading, type LoadingProps, Logo, type LogoProps, LogoShort, Pagination, PaginationContent, PaginationEllipsis, PaginationInfo, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type PaginationProps, PaginationRoot, type PercentageStatusKey, type PerformanceData, Progress, ProgressCircle, type ProgressCircleProps, type ProgressProps, RadioGroup, RadioGroupItem, type RadioGroupItemProps, Ranking, RankingAssigneeGroup, type RankingAssigneeGroupProps, RankingAssigneeItem, type RankingAssigneeItemProps, RankingAssigneeLabel, type RankingAssigneeLabelProps, RankingAssigneesColumn, type RankingAssigneesColumnProps, RankingBody, RankingButton, type RankingButtonProps, RankingHeader, RankingHeaderCell, type RankingHeaderCellProps, type RankingHeaderProps, RankingItem, type RankingItemProps, RankingNumber, type RankingNumberProps, RankingPerformance, type RankingPerformanceProps, RankingPriority, type RankingPriorityProps, type RankingProps, RankingQuestions, type RankingQuestionsProps, RankingSpecialty, type RankingSpecialtyProps, RankingSuperFocus, type RankingSuperFocusProps, RankingTopic, RankingTopicColumn, type RankingTopicColumnProps, RankingTopicContent, type RankingTopicContentProps, type RankingTopicProps, Rating, RatingButtonVariants, RatingLabelVariants, type RatingProps, type RatingSize, type RatingStarState, RatingStarVariants, ScrollArea, ScrollBar, SegmentControl, SegmentControlContent, SegmentControlList, type SegmentControlListProps, SegmentControlTrigger, type SegmentControlTriggerProps, Select, SelectContent, SelectGroup, SelectHeader, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectText, SelectTrigger, SelectValue, SelectWrapper, Separator, Sheet, SheetClose, SheetContent, type SheetContentProps, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuItemCollapse, SidebarMenuItemTitle, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Switch, type SwitchProps, Switcher, SwitcherContent, type SwitcherContentProps, SwitcherFooter, type SwitcherFooterProps, SwitcherGroup, type SwitcherGroupProps, SwitcherItem, type SwitcherItemProps, type SwitcherProps, SwitcherSeparator, SwitcherTrigger, type SwitcherTriggerProps, Tabs, TabsContent, TabsList, type TabsProps, type TabsSize, TabsTrigger, type TabsTriggerProps, type TabsVariant, Tag, type TagProps, Tile, TileDescription, TileIcon, type TileProps, TileTitle, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, alertButtonVariants, alertVariants, avatarVariants, badgeVariants, buttonVariants, calculatePageNumbers, checkboxVariants, labelVariants, radioGroupVariants, segmentControlTriggerVariants, switchVariants, tabsContentVariants, tabsListVariants, tabsTriggerVariants, tagVariants, tileVariants, toastVariants, useIsMobile, useSidebar, useTabsContext, useToast };
package/dist/index.d.ts CHANGED
@@ -1,9 +1,10 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as class_variance_authority_types from 'class-variance-authority/types';
3
3
  import * as react from 'react';
4
- import { ComponentProps, ReactNode, ReactElement, TableHTMLAttributes, HTMLAttributes, ThHTMLAttributes, ComponentPropsWithoutRef } from 'react';
4
+ import { ComponentProps, ReactNode, HTMLAttributes, ButtonHTMLAttributes, ReactElement, TableHTMLAttributes, ThHTMLAttributes, ComponentPropsWithoutRef } from 'react';
5
5
  import { VariantProps } from 'class-variance-authority';
6
- import { AlertDialog as AlertDialog$1, Avatar as Avatar$1, Progress as Progress$1, Checkbox as Checkbox$1, Collapsible as Collapsible$1, Dialog as Dialog$1, DropdownMenu as DropdownMenu$1, Label as Label$1, RadioGroup as RadioGroup$1, ScrollArea as ScrollArea$1, Select as Select$1, Tabs as Tabs$1, Separator as Separator$1, Tooltip as Tooltip$1, Switch as Switch$1, Toast as Toast$2 } from 'radix-ui';
6
+ import { AlertDialog as AlertDialog$1, Dialog as Dialog$1, Avatar as Avatar$1, Progress as Progress$1, Checkbox as Checkbox$1, Collapsible as Collapsible$1, DropdownMenu as DropdownMenu$1, Label as Label$1, RadioGroup as RadioGroup$1, ScrollArea as ScrollArea$1, Select as Select$1, Tabs as Tabs$1, Separator as Separator$1, Tooltip as Tooltip$1, Switch as Switch$1, Toast as Toast$2 } from 'radix-ui';
7
+ import { Command } from 'cmdk';
7
8
 
8
9
  interface AlertProps extends ComponentProps<"div"> {
9
10
  variant?: "regular" | "emphasis" | "success" | "warning" | "error";
@@ -41,6 +42,89 @@ declare function AlertDialogDescription({ className, ...props }: ComponentProps<
41
42
  declare function AlertDialogAction({ className, ...props }: ComponentProps<typeof AlertDialog$1.Action>): react_jsx_runtime.JSX.Element;
42
43
  declare function AlertDialogCancel({ className, ...props }: ComponentProps<typeof AlertDialog$1.Cancel>): react_jsx_runtime.JSX.Element;
43
44
 
45
+ declare function Dialog({ ...props }: ComponentProps<typeof Dialog$1.Root>): react_jsx_runtime.JSX.Element;
46
+ declare function DialogTrigger({ ...props }: ComponentProps<typeof Dialog$1.Trigger>): react_jsx_runtime.JSX.Element;
47
+ declare function DialogPortal({ ...props }: ComponentProps<typeof Dialog$1.Portal>): react_jsx_runtime.JSX.Element;
48
+ declare function DialogClose({ ...props }: ComponentProps<typeof Dialog$1.Close>): react_jsx_runtime.JSX.Element;
49
+ declare function DialogOverlay({ className, ...props }: ComponentProps<typeof Dialog$1.Overlay>): react_jsx_runtime.JSX.Element;
50
+ interface DialogContainerProps extends ComponentProps<typeof Dialog$1.Content> {
51
+ showCloseButton?: boolean;
52
+ overlayClassName?: string;
53
+ }
54
+ declare function DialogContainer({ className, overlayClassName, children, showCloseButton, ...props }: DialogContainerProps): react_jsx_runtime.JSX.Element;
55
+ declare function DialogContent({ className, children, }: {
56
+ className?: string;
57
+ children: ReactNode;
58
+ }): react_jsx_runtime.JSX.Element;
59
+ interface DialogHeaderProps extends ComponentProps<"div"> {
60
+ separator?: boolean;
61
+ }
62
+ declare function DialogHeader({ className, separator, ...props }: DialogHeaderProps): react_jsx_runtime.JSX.Element;
63
+ interface DialogFooterProps extends ComponentProps<"div"> {
64
+ separator?: boolean;
65
+ }
66
+ declare function DialogFooter({ className, separator, ...props }: DialogFooterProps): react_jsx_runtime.JSX.Element;
67
+ interface DialogTitleProps extends ComponentProps<typeof Dialog$1.Title> {
68
+ iconLeft?: ReactNode;
69
+ iconRight?: ReactNode;
70
+ }
71
+ declare function DialogTitle({ className, iconLeft, iconRight, children, ...props }: DialogTitleProps): react_jsx_runtime.JSX.Element;
72
+ declare function DialogDescription({ className, ...props }: ComponentProps<typeof Dialog$1.Description>): react_jsx_runtime.JSX.Element;
73
+
74
+ declare function CommandGroup({ className, ...props }: ComponentProps<typeof Command.Group>): react_jsx_runtime.JSX.Element;
75
+
76
+ type AutocompleteTextProps = HTMLAttributes<HTMLSpanElement>;
77
+ interface AutocompleteContextValue {
78
+ invalid: boolean;
79
+ disabled: boolean;
80
+ open: boolean;
81
+ setOpen: (open: boolean) => void;
82
+ values: string[];
83
+ toggleValue: (value: string) => void;
84
+ onCancelSelection: () => void;
85
+ listId: string;
86
+ }
87
+ interface AutocompleteProps {
88
+ children: ReactNode;
89
+ invalid?: boolean;
90
+ disabled?: boolean;
91
+ values?: string[];
92
+ onValuesChange?: (values: string[]) => void;
93
+ open?: boolean;
94
+ onOpenChange?: (open: boolean) => void;
95
+ defaultValues?: string[];
96
+ }
97
+ interface AutocompleteTriggerProps extends ButtonHTMLAttributes<HTMLButtonElement> {
98
+ placeholder?: string;
99
+ }
100
+ interface AutocompleteContentProps {
101
+ children: ReactNode;
102
+ className?: string;
103
+ searchPlaceholder?: string;
104
+ emptyMessage?: string;
105
+ }
106
+ interface AutocompleteItemProps {
107
+ children: ReactNode;
108
+ value: string;
109
+ className?: string;
110
+ disabled?: boolean;
111
+ }
112
+ interface AutocompleteContentFooterProps {
113
+ className?: string;
114
+ cancelLabel?: string;
115
+ confirmLabel?: string;
116
+ onCancel?: () => void;
117
+ onConfirm?: (values: string[]) => void;
118
+ }
119
+ declare function Autocomplete({ children, invalid, disabled, values: controlledValues, onValuesChange, open: controlledOpen, onOpenChange, defaultValues, }: AutocompleteProps): react_jsx_runtime.JSX.Element;
120
+ declare function AutocompleteWrapper({ className, ...props }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
121
+ declare function AutocompleteTrigger({ className, placeholder, children, ...props }: AutocompleteTriggerProps): react_jsx_runtime.JSX.Element;
122
+ declare function AutocompleteContentFooter({ className, cancelLabel, confirmLabel, onCancel, onConfirm, }: AutocompleteContentFooterProps): react_jsx_runtime.JSX.Element;
123
+ declare function AutocompleteContent({ children, className, searchPlaceholder, emptyMessage, }: AutocompleteContentProps): react_jsx_runtime.JSX.Element;
124
+ declare function AutocompleteItem({ children, value: itemValue, className, disabled: itemDisabled, }: AutocompleteItemProps): react_jsx_runtime.JSX.Element;
125
+ declare function AutocompleteGroup({ className, ...props }: ComponentProps<typeof CommandGroup>): react_jsx_runtime.JSX.Element;
126
+ declare function AutocompleteText({ className, ...props }: AutocompleteTextProps): react_jsx_runtime.JSX.Element;
127
+
44
128
  declare const avatarVariants: (props?: ({
45
129
  size?: "sm" | "md" | "lg" | "xl" | null | undefined;
46
130
  } & class_variance_authority_types.ClassProp) | undefined) => string;
@@ -160,35 +244,6 @@ declare function Collapsible({ animation, ...props }: CollapsibleProps): react_j
160
244
  declare function CollapsibleTrigger({ ...props }: ComponentProps<typeof Collapsible$1.Trigger>): react_jsx_runtime.JSX.Element;
161
245
  declare function CollapsibleContent({ className, ...props }: CollapsibleContentProps): react_jsx_runtime.JSX.Element;
162
246
 
163
- declare function Dialog({ ...props }: ComponentProps<typeof Dialog$1.Root>): react_jsx_runtime.JSX.Element;
164
- declare function DialogTrigger({ ...props }: ComponentProps<typeof Dialog$1.Trigger>): react_jsx_runtime.JSX.Element;
165
- declare function DialogPortal({ ...props }: ComponentProps<typeof Dialog$1.Portal>): react_jsx_runtime.JSX.Element;
166
- declare function DialogClose({ ...props }: ComponentProps<typeof Dialog$1.Close>): react_jsx_runtime.JSX.Element;
167
- declare function DialogOverlay({ className, ...props }: ComponentProps<typeof Dialog$1.Overlay>): react_jsx_runtime.JSX.Element;
168
- interface DialogContainerProps extends ComponentProps<typeof Dialog$1.Content> {
169
- showCloseButton?: boolean;
170
- overlayClassName?: string;
171
- }
172
- declare function DialogContainer({ className, overlayClassName, children, showCloseButton, ...props }: DialogContainerProps): react_jsx_runtime.JSX.Element;
173
- declare function DialogContent({ className, children, }: {
174
- className?: string;
175
- children: ReactNode;
176
- }): react_jsx_runtime.JSX.Element;
177
- interface DialogHeaderProps extends ComponentProps<"div"> {
178
- separator?: boolean;
179
- }
180
- declare function DialogHeader({ className, separator, ...props }: DialogHeaderProps): react_jsx_runtime.JSX.Element;
181
- interface DialogFooterProps extends ComponentProps<"div"> {
182
- separator?: boolean;
183
- }
184
- declare function DialogFooter({ className, separator, ...props }: DialogFooterProps): react_jsx_runtime.JSX.Element;
185
- interface DialogTitleProps extends ComponentProps<typeof Dialog$1.Title> {
186
- iconLeft?: ReactNode;
187
- iconRight?: ReactNode;
188
- }
189
- declare function DialogTitle({ className, iconLeft, iconRight, children, ...props }: DialogTitleProps): react_jsx_runtime.JSX.Element;
190
- declare function DialogDescription({ className, ...props }: ComponentProps<typeof Dialog$1.Description>): react_jsx_runtime.JSX.Element;
191
-
192
247
  declare function DropdownMenu({ ...props }: ComponentProps<typeof DropdownMenu$1.Root>): react_jsx_runtime.JSX.Element;
193
248
  declare function DropdownMenuPortal({ ...props }: ComponentProps<typeof DropdownMenu$1.Portal>): react_jsx_runtime.JSX.Element;
194
249
  declare function DropdownMenuTrigger({ ...props }: ComponentProps<typeof DropdownMenu$1.Trigger>): react_jsx_runtime.JSX.Element;
@@ -706,4 +761,4 @@ declare function useToast(): {
706
761
 
707
762
  declare function useIsMobile(): boolean;
708
763
 
709
- export { Alert, AlertActions, AlertButton, type AlertButtonProps, AlertContainer, AlertContent, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertIcon, type AlertProps, AlertTitle, type AnimationType, Avatar, AvatarFallback, AvatarImage, type AvatarProps, Badge, type BadgeAnimation, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, CardWeek, CardWeekActions, CardWeekBreadcrumb, type CardWeekBreadcrumbProps, CardWeekContainer, CardWeekContent, CardWeekDescription, CardWeekFooter, CardWeekHeader, CardWeekProgress, CardWeekProgressCircle, type CardWeekProps, CardWeekStatus, CardWeekTags, CardWeekText, type CardWeekTextProps, CardWeekTitle, Checkbox, type CheckboxProps, Collapsible, CollapsibleContent, type CollapsibleContentProps, type CollapsibleProps, CollapsibleTrigger, Dialog, DialogClose, DialogContainer, type DialogContainerProps, DialogContent, DialogDescription, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, DialogOverlay, DialogPortal, DialogTitle, type DialogTitleProps, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Input, Label, type LabelProps, Loading, type LoadingProps, Logo, type LogoProps, LogoShort, Pagination, PaginationContent, PaginationEllipsis, PaginationInfo, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type PaginationProps, PaginationRoot, type PercentageStatusKey, type PerformanceData, Progress, ProgressCircle, type ProgressCircleProps, type ProgressProps, RadioGroup, RadioGroupItem, type RadioGroupItemProps, Ranking, RankingAssigneeGroup, type RankingAssigneeGroupProps, RankingAssigneeItem, type RankingAssigneeItemProps, RankingAssigneeLabel, type RankingAssigneeLabelProps, RankingAssigneesColumn, type RankingAssigneesColumnProps, RankingBody, RankingButton, type RankingButtonProps, RankingHeader, RankingHeaderCell, type RankingHeaderCellProps, type RankingHeaderProps, RankingItem, type RankingItemProps, RankingNumber, type RankingNumberProps, RankingPerformance, type RankingPerformanceProps, RankingPriority, type RankingPriorityProps, type RankingProps, RankingQuestions, type RankingQuestionsProps, RankingSpecialty, type RankingSpecialtyProps, RankingSuperFocus, type RankingSuperFocusProps, RankingTopic, RankingTopicColumn, type RankingTopicColumnProps, RankingTopicContent, type RankingTopicContentProps, type RankingTopicProps, Rating, RatingButtonVariants, RatingLabelVariants, type RatingProps, type RatingSize, type RatingStarState, RatingStarVariants, ScrollArea, ScrollBar, SegmentControl, SegmentControlContent, SegmentControlList, type SegmentControlListProps, SegmentControlTrigger, type SegmentControlTriggerProps, Select, SelectContent, SelectGroup, SelectHeader, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectText, SelectTrigger, SelectValue, SelectWrapper, Separator, Sheet, SheetClose, SheetContent, type SheetContentProps, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuItemCollapse, SidebarMenuItemTitle, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Switch, type SwitchProps, Switcher, SwitcherContent, type SwitcherContentProps, SwitcherFooter, type SwitcherFooterProps, SwitcherGroup, type SwitcherGroupProps, SwitcherItem, type SwitcherItemProps, type SwitcherProps, SwitcherSeparator, SwitcherTrigger, type SwitcherTriggerProps, Tabs, TabsContent, TabsList, type TabsProps, type TabsSize, TabsTrigger, type TabsTriggerProps, type TabsVariant, Tag, type TagProps, Tile, TileDescription, TileIcon, type TileProps, TileTitle, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, alertButtonVariants, alertVariants, avatarVariants, badgeVariants, buttonVariants, calculatePageNumbers, checkboxVariants, labelVariants, radioGroupVariants, segmentControlTriggerVariants, switchVariants, tabsContentVariants, tabsListVariants, tabsTriggerVariants, tagVariants, tileVariants, toastVariants, useIsMobile, useSidebar, useTabsContext, useToast };
764
+ export { Alert, AlertActions, AlertButton, type AlertButtonProps, AlertContainer, AlertContent, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertIcon, type AlertProps, AlertTitle, type AnimationType, Autocomplete, AutocompleteContent, AutocompleteContentFooter, type AutocompleteContentFooterProps, type AutocompleteContentProps, type AutocompleteContextValue, AutocompleteGroup, AutocompleteItem, type AutocompleteItemProps, type AutocompleteProps, AutocompleteText, AutocompleteTrigger, type AutocompleteTriggerProps, AutocompleteWrapper, Avatar, AvatarFallback, AvatarImage, type AvatarProps, Badge, type BadgeAnimation, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, CardWeek, CardWeekActions, CardWeekBreadcrumb, type CardWeekBreadcrumbProps, CardWeekContainer, CardWeekContent, CardWeekDescription, CardWeekFooter, CardWeekHeader, CardWeekProgress, CardWeekProgressCircle, type CardWeekProps, CardWeekStatus, CardWeekTags, CardWeekText, type CardWeekTextProps, CardWeekTitle, Checkbox, type CheckboxProps, Collapsible, CollapsibleContent, type CollapsibleContentProps, type CollapsibleProps, CollapsibleTrigger, Dialog, DialogClose, DialogContainer, type DialogContainerProps, DialogContent, DialogDescription, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, DialogOverlay, DialogPortal, DialogTitle, type DialogTitleProps, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Input, Label, type LabelProps, Loading, type LoadingProps, Logo, type LogoProps, LogoShort, Pagination, PaginationContent, PaginationEllipsis, PaginationInfo, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type PaginationProps, PaginationRoot, type PercentageStatusKey, type PerformanceData, Progress, ProgressCircle, type ProgressCircleProps, type ProgressProps, RadioGroup, RadioGroupItem, type RadioGroupItemProps, Ranking, RankingAssigneeGroup, type RankingAssigneeGroupProps, RankingAssigneeItem, type RankingAssigneeItemProps, RankingAssigneeLabel, type RankingAssigneeLabelProps, RankingAssigneesColumn, type RankingAssigneesColumnProps, RankingBody, RankingButton, type RankingButtonProps, RankingHeader, RankingHeaderCell, type RankingHeaderCellProps, type RankingHeaderProps, RankingItem, type RankingItemProps, RankingNumber, type RankingNumberProps, RankingPerformance, type RankingPerformanceProps, RankingPriority, type RankingPriorityProps, type RankingProps, RankingQuestions, type RankingQuestionsProps, RankingSpecialty, type RankingSpecialtyProps, RankingSuperFocus, type RankingSuperFocusProps, RankingTopic, RankingTopicColumn, type RankingTopicColumnProps, RankingTopicContent, type RankingTopicContentProps, type RankingTopicProps, Rating, RatingButtonVariants, RatingLabelVariants, type RatingProps, type RatingSize, type RatingStarState, RatingStarVariants, ScrollArea, ScrollBar, SegmentControl, SegmentControlContent, SegmentControlList, type SegmentControlListProps, SegmentControlTrigger, type SegmentControlTriggerProps, Select, SelectContent, SelectGroup, SelectHeader, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectText, SelectTrigger, SelectValue, SelectWrapper, Separator, Sheet, SheetClose, SheetContent, type SheetContentProps, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuItemCollapse, SidebarMenuItemTitle, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Switch, type SwitchProps, Switcher, SwitcherContent, type SwitcherContentProps, SwitcherFooter, type SwitcherFooterProps, SwitcherGroup, type SwitcherGroupProps, SwitcherItem, type SwitcherItemProps, type SwitcherProps, SwitcherSeparator, SwitcherTrigger, type SwitcherTriggerProps, Tabs, TabsContent, TabsList, type TabsProps, type TabsSize, TabsTrigger, type TabsTriggerProps, type TabsVariant, Tag, type TagProps, Tile, TileDescription, TileIcon, type TileProps, TileTitle, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, alertButtonVariants, alertVariants, avatarVariants, badgeVariants, buttonVariants, calculatePageNumbers, checkboxVariants, labelVariants, radioGroupVariants, segmentControlTriggerVariants, switchVariants, tabsContentVariants, tabsListVariants, tabsTriggerVariants, tagVariants, tileVariants, toastVariants, useIsMobile, useSidebar, useTabsContext, useToast };