hazo_ui 2.7.2 → 2.8.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.cts CHANGED
@@ -15,6 +15,12 @@ import * as SelectPrimitive from '@radix-ui/react-select';
15
15
  import * as SwitchPrimitives from '@radix-ui/react-switch';
16
16
  import * as TabsPrimitive from '@radix-ui/react-tabs';
17
17
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
18
+ import * as SeparatorPrimitive from '@radix-ui/react-separator';
19
+ import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
20
+ import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
21
+ import * as TogglePrimitive from '@radix-ui/react-toggle';
22
+ import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
23
+ import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
18
24
 
19
25
  /**
20
26
  * hazo_ui_config.ts
@@ -895,4 +901,71 @@ declare const Tooltip: React.FC<TooltipPrimitive.TooltipProps>;
895
901
  declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
896
902
  declare const TooltipContent: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
897
903
 
898
- export { ANIMATION_PRESETS, Accordion, AccordionContent, AccordionItem, AccordionTrigger, type AnimationPreset, type BaseCommandInputProps, Button, Calendar, Checkbox, type CommandEditContext, type CommandItem$1 as CommandItem, CommandNodeExtension, CommandPill, type CommandPillProps, CommandPopover, type CommandPopoverProps, type CommandTextOutput, type ConfirmDialogVariant, type DialogVariant, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type FilterConfig, type FilterField, type HazoUiConfig, HazoUiConfirmDialog, type HazoUiConfirmDialogProps, HazoUiDialog, DialogClose as HazoUiDialogClose, DialogContent as HazoUiDialogContent, DialogDescription as HazoUiDialogDescription, DialogFooter as HazoUiDialogFooter, DialogHeader as HazoUiDialogHeader, DialogOverlay as HazoUiDialogOverlay, DialogPortal as HazoUiDialogPortal, type HazoUiDialogProps, Dialog as HazoUiDialogRoot, DialogTitle as HazoUiDialogTitle, DialogTrigger as HazoUiDialogTrigger, HazoUiFlexInput, type HazoUiFlexInputProps, HazoUiFlexRadio, type HazoUiFlexRadioItem, type HazoUiFlexRadioProps, HazoUiMultiFilterDialog, HazoUiMultiSortDialog, HazoUiPillRadio, type HazoUiPillRadioItem, type HazoUiPillRadioProps, HazoUiRte, type HazoUiRteProps, HazoUiTextarea, type HazoUiTextareaProps, HazoUiTextbox, type HazoUiTextboxProps, HoverCard, HoverCardContent, HoverCardTrigger, Input, type InsertedCommand, Label, Popover, PopoverContent, PopoverTrigger, type PrefixColor, type PrefixConfig, RadioGroup, RadioGroupItem, type RteAttachment, type RteOutput, type RteVariable, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Command as ShadcnCommand, CommandEmpty as ShadcnCommandEmpty, CommandGroup as ShadcnCommandGroup, CommandInput as ShadcnCommandInput, CommandItem as ShadcnCommandItem, CommandList as ShadcnCommandList, type SortConfig, type SortField, type SuggestionState, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, create_command_suggestion_extension, get_hazo_ui_config, parse_commands_from_text, reset_hazo_ui_config, resolve_animation_classes, set_hazo_ui_config, text_to_tiptap_content };
904
+ declare const Separator: React.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
905
+
906
+ declare const Collapsible: React.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & React.RefAttributes<HTMLDivElement>>;
907
+ declare const CollapsibleTrigger: React.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & React.RefAttributes<HTMLButtonElement>>;
908
+ declare const CollapsibleContent: React.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleContentProps & React.RefAttributes<HTMLDivElement>>;
909
+
910
+ declare const ScrollArea: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
911
+ declare const ScrollBar: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
912
+
913
+ declare const Card: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
914
+ declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
915
+ declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLHeadingElement>>;
916
+ declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
917
+ declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
918
+ declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
919
+
920
+ interface SpinnerProps {
921
+ className?: string;
922
+ size?: "sm" | "md" | "lg";
923
+ }
924
+ declare function Spinner({ className, size }: SpinnerProps): react_jsx_runtime.JSX.Element;
925
+
926
+ declare const toggleVariants: (props?: ({
927
+ variant?: "default" | "outline" | null | undefined;
928
+ size?: "default" | "sm" | "lg" | null | undefined;
929
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
930
+ declare const Toggle: React.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
931
+ variant?: "default" | "outline" | null | undefined;
932
+ size?: "default" | "sm" | "lg" | null | undefined;
933
+ } & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
934
+
935
+ declare const ToggleGroup: React.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
936
+ variant?: "default" | "outline" | null | undefined;
937
+ size?: "default" | "sm" | "lg" | null | undefined;
938
+ } & class_variance_authority_types.ClassProp) | undefined) => string>) & React.RefAttributes<HTMLDivElement>>;
939
+ declare const ToggleGroupItem: React.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
940
+ variant?: "default" | "outline" | null | undefined;
941
+ size?: "default" | "sm" | "lg" | null | undefined;
942
+ } & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
943
+
944
+ declare const AlertDialog: React.FC<AlertDialogPrimitive.AlertDialogProps>;
945
+ declare const AlertDialogTrigger: React.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
946
+ declare const AlertDialogPortal: React.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
947
+ declare const AlertDialogOverlay: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
948
+ declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
949
+ declare const AlertDialogHeader: {
950
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
951
+ displayName: string;
952
+ };
953
+ declare const AlertDialogFooter: {
954
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
955
+ displayName: string;
956
+ };
957
+ declare const AlertDialogTitle: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
958
+ declare const AlertDialogDescription: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
959
+ declare const AlertDialogAction: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
960
+ declare const AlertDialogCancel: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
961
+
962
+ declare const buttonGroupVariants: (props?: ({
963
+ orientation?: "horizontal" | "vertical" | null | undefined;
964
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
965
+ declare function ButtonGroup({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof buttonGroupVariants>): react_jsx_runtime.JSX.Element;
966
+ declare function ButtonGroupText({ className, asChild, ...props }: React.ComponentProps<"div"> & {
967
+ asChild?: boolean;
968
+ }): react_jsx_runtime.JSX.Element;
969
+ declare function ButtonGroupSeparator({ className, orientation, ...props }: React.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
970
+
971
+ export { ANIMATION_PRESETS, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AnimationPreset, type BaseCommandInputProps, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, type CommandEditContext, type CommandItem$1 as CommandItem, CommandNodeExtension, CommandPill, type CommandPillProps, CommandPopover, type CommandPopoverProps, type CommandTextOutput, type ConfirmDialogVariant, type DialogVariant, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type FilterConfig, type FilterField, type HazoUiConfig, HazoUiConfirmDialog, type HazoUiConfirmDialogProps, HazoUiDialog, DialogClose as HazoUiDialogClose, DialogContent as HazoUiDialogContent, DialogDescription as HazoUiDialogDescription, DialogFooter as HazoUiDialogFooter, DialogHeader as HazoUiDialogHeader, DialogOverlay as HazoUiDialogOverlay, DialogPortal as HazoUiDialogPortal, type HazoUiDialogProps, Dialog as HazoUiDialogRoot, DialogTitle as HazoUiDialogTitle, DialogTrigger as HazoUiDialogTrigger, HazoUiFlexInput, type HazoUiFlexInputProps, HazoUiFlexRadio, type HazoUiFlexRadioItem, type HazoUiFlexRadioProps, HazoUiMultiFilterDialog, HazoUiMultiSortDialog, HazoUiPillRadio, type HazoUiPillRadioItem, type HazoUiPillRadioProps, HazoUiRte, type HazoUiRteProps, HazoUiTextarea, type HazoUiTextareaProps, HazoUiTextbox, type HazoUiTextboxProps, HoverCard, HoverCardContent, HoverCardTrigger, Input, type InsertedCommand, Label, Popover, PopoverContent, PopoverTrigger, type PrefixColor, type PrefixConfig, RadioGroup, RadioGroupItem, type RteAttachment, type RteOutput, type RteVariable, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Command as ShadcnCommand, CommandEmpty as ShadcnCommandEmpty, CommandGroup as ShadcnCommandGroup, CommandInput as ShadcnCommandInput, CommandItem as ShadcnCommandItem, CommandList as ShadcnCommandList, type SortConfig, type SortField, Spinner, type SuggestionState, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, buttonGroupVariants, create_command_suggestion_extension, get_hazo_ui_config, parse_commands_from_text, reset_hazo_ui_config, resolve_animation_classes, set_hazo_ui_config, text_to_tiptap_content, toggleVariants };
package/dist/index.d.ts CHANGED
@@ -15,6 +15,12 @@ import * as SelectPrimitive from '@radix-ui/react-select';
15
15
  import * as SwitchPrimitives from '@radix-ui/react-switch';
16
16
  import * as TabsPrimitive from '@radix-ui/react-tabs';
17
17
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
18
+ import * as SeparatorPrimitive from '@radix-ui/react-separator';
19
+ import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
20
+ import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
21
+ import * as TogglePrimitive from '@radix-ui/react-toggle';
22
+ import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
23
+ import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
18
24
 
19
25
  /**
20
26
  * hazo_ui_config.ts
@@ -895,4 +901,71 @@ declare const Tooltip: React.FC<TooltipPrimitive.TooltipProps>;
895
901
  declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
896
902
  declare const TooltipContent: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
897
903
 
898
- export { ANIMATION_PRESETS, Accordion, AccordionContent, AccordionItem, AccordionTrigger, type AnimationPreset, type BaseCommandInputProps, Button, Calendar, Checkbox, type CommandEditContext, type CommandItem$1 as CommandItem, CommandNodeExtension, CommandPill, type CommandPillProps, CommandPopover, type CommandPopoverProps, type CommandTextOutput, type ConfirmDialogVariant, type DialogVariant, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type FilterConfig, type FilterField, type HazoUiConfig, HazoUiConfirmDialog, type HazoUiConfirmDialogProps, HazoUiDialog, DialogClose as HazoUiDialogClose, DialogContent as HazoUiDialogContent, DialogDescription as HazoUiDialogDescription, DialogFooter as HazoUiDialogFooter, DialogHeader as HazoUiDialogHeader, DialogOverlay as HazoUiDialogOverlay, DialogPortal as HazoUiDialogPortal, type HazoUiDialogProps, Dialog as HazoUiDialogRoot, DialogTitle as HazoUiDialogTitle, DialogTrigger as HazoUiDialogTrigger, HazoUiFlexInput, type HazoUiFlexInputProps, HazoUiFlexRadio, type HazoUiFlexRadioItem, type HazoUiFlexRadioProps, HazoUiMultiFilterDialog, HazoUiMultiSortDialog, HazoUiPillRadio, type HazoUiPillRadioItem, type HazoUiPillRadioProps, HazoUiRte, type HazoUiRteProps, HazoUiTextarea, type HazoUiTextareaProps, HazoUiTextbox, type HazoUiTextboxProps, HoverCard, HoverCardContent, HoverCardTrigger, Input, type InsertedCommand, Label, Popover, PopoverContent, PopoverTrigger, type PrefixColor, type PrefixConfig, RadioGroup, RadioGroupItem, type RteAttachment, type RteOutput, type RteVariable, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Command as ShadcnCommand, CommandEmpty as ShadcnCommandEmpty, CommandGroup as ShadcnCommandGroup, CommandInput as ShadcnCommandInput, CommandItem as ShadcnCommandItem, CommandList as ShadcnCommandList, type SortConfig, type SortField, type SuggestionState, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, create_command_suggestion_extension, get_hazo_ui_config, parse_commands_from_text, reset_hazo_ui_config, resolve_animation_classes, set_hazo_ui_config, text_to_tiptap_content };
904
+ declare const Separator: React.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
905
+
906
+ declare const Collapsible: React.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & React.RefAttributes<HTMLDivElement>>;
907
+ declare const CollapsibleTrigger: React.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & React.RefAttributes<HTMLButtonElement>>;
908
+ declare const CollapsibleContent: React.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleContentProps & React.RefAttributes<HTMLDivElement>>;
909
+
910
+ declare const ScrollArea: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
911
+ declare const ScrollBar: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
912
+
913
+ declare const Card: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
914
+ declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
915
+ declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLHeadingElement>>;
916
+ declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
917
+ declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
918
+ declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
919
+
920
+ interface SpinnerProps {
921
+ className?: string;
922
+ size?: "sm" | "md" | "lg";
923
+ }
924
+ declare function Spinner({ className, size }: SpinnerProps): react_jsx_runtime.JSX.Element;
925
+
926
+ declare const toggleVariants: (props?: ({
927
+ variant?: "default" | "outline" | null | undefined;
928
+ size?: "default" | "sm" | "lg" | null | undefined;
929
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
930
+ declare const Toggle: React.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
931
+ variant?: "default" | "outline" | null | undefined;
932
+ size?: "default" | "sm" | "lg" | null | undefined;
933
+ } & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
934
+
935
+ declare const ToggleGroup: React.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
936
+ variant?: "default" | "outline" | null | undefined;
937
+ size?: "default" | "sm" | "lg" | null | undefined;
938
+ } & class_variance_authority_types.ClassProp) | undefined) => string>) & React.RefAttributes<HTMLDivElement>>;
939
+ declare const ToggleGroupItem: React.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
940
+ variant?: "default" | "outline" | null | undefined;
941
+ size?: "default" | "sm" | "lg" | null | undefined;
942
+ } & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
943
+
944
+ declare const AlertDialog: React.FC<AlertDialogPrimitive.AlertDialogProps>;
945
+ declare const AlertDialogTrigger: React.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
946
+ declare const AlertDialogPortal: React.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
947
+ declare const AlertDialogOverlay: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
948
+ declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
949
+ declare const AlertDialogHeader: {
950
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
951
+ displayName: string;
952
+ };
953
+ declare const AlertDialogFooter: {
954
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
955
+ displayName: string;
956
+ };
957
+ declare const AlertDialogTitle: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
958
+ declare const AlertDialogDescription: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
959
+ declare const AlertDialogAction: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
960
+ declare const AlertDialogCancel: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
961
+
962
+ declare const buttonGroupVariants: (props?: ({
963
+ orientation?: "horizontal" | "vertical" | null | undefined;
964
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
965
+ declare function ButtonGroup({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof buttonGroupVariants>): react_jsx_runtime.JSX.Element;
966
+ declare function ButtonGroupText({ className, asChild, ...props }: React.ComponentProps<"div"> & {
967
+ asChild?: boolean;
968
+ }): react_jsx_runtime.JSX.Element;
969
+ declare function ButtonGroupSeparator({ className, orientation, ...props }: React.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
970
+
971
+ export { ANIMATION_PRESETS, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AnimationPreset, type BaseCommandInputProps, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, type CommandEditContext, type CommandItem$1 as CommandItem, CommandNodeExtension, CommandPill, type CommandPillProps, CommandPopover, type CommandPopoverProps, type CommandTextOutput, type ConfirmDialogVariant, type DialogVariant, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type FilterConfig, type FilterField, type HazoUiConfig, HazoUiConfirmDialog, type HazoUiConfirmDialogProps, HazoUiDialog, DialogClose as HazoUiDialogClose, DialogContent as HazoUiDialogContent, DialogDescription as HazoUiDialogDescription, DialogFooter as HazoUiDialogFooter, DialogHeader as HazoUiDialogHeader, DialogOverlay as HazoUiDialogOverlay, DialogPortal as HazoUiDialogPortal, type HazoUiDialogProps, Dialog as HazoUiDialogRoot, DialogTitle as HazoUiDialogTitle, DialogTrigger as HazoUiDialogTrigger, HazoUiFlexInput, type HazoUiFlexInputProps, HazoUiFlexRadio, type HazoUiFlexRadioItem, type HazoUiFlexRadioProps, HazoUiMultiFilterDialog, HazoUiMultiSortDialog, HazoUiPillRadio, type HazoUiPillRadioItem, type HazoUiPillRadioProps, HazoUiRte, type HazoUiRteProps, HazoUiTextarea, type HazoUiTextareaProps, HazoUiTextbox, type HazoUiTextboxProps, HoverCard, HoverCardContent, HoverCardTrigger, Input, type InsertedCommand, Label, Popover, PopoverContent, PopoverTrigger, type PrefixColor, type PrefixConfig, RadioGroup, RadioGroupItem, type RteAttachment, type RteOutput, type RteVariable, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Command as ShadcnCommand, CommandEmpty as ShadcnCommandEmpty, CommandGroup as ShadcnCommandGroup, CommandInput as ShadcnCommandInput, CommandItem as ShadcnCommandItem, CommandList as ShadcnCommandList, type SortConfig, type SortField, Spinner, type SuggestionState, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, buttonGroupVariants, create_command_suggestion_extension, get_hazo_ui_config, parse_commands_from_text, reset_hazo_ui_config, resolve_animation_classes, set_hazo_ui_config, text_to_tiptap_content, toggleVariants };
package/dist/index.js CHANGED
@@ -60,6 +60,12 @@ import * as AccordionPrimitive from '@radix-ui/react-accordion';
60
60
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
61
61
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
62
62
  import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
63
+ import * as SeparatorPrimitive from '@radix-ui/react-separator';
64
+ import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
65
+ import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
66
+ import * as TogglePrimitive from '@radix-ui/react-toggle';
67
+ import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
68
+ import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
63
69
 
64
70
  var __create = Object.create;
65
71
  var __defProp = Object.defineProperty;
@@ -89,7 +95,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
89
95
 
90
96
  // ../node_modules/@babel/runtime/helpers/extends.js
91
97
  var require_extends = __commonJS({
92
- "../node_modules/@babel/runtime/helpers/extends.js"(exports$1, module) {
98
+ "../node_modules/@babel/runtime/helpers/extends.js"(exports, module) {
93
99
  function _extends11() {
94
100
  return module.exports = _extends11 = Object.assign ? Object.assign.bind() : function(n) {
95
101
  for (var e = 1; e < arguments.length; e++) {
@@ -105,7 +111,7 @@ var require_extends = __commonJS({
105
111
 
106
112
  // ../node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js
107
113
  var require_objectWithoutPropertiesLoose = __commonJS({
108
- "../node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js"(exports$1, module) {
114
+ "../node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js"(exports, module) {
109
115
  function _objectWithoutPropertiesLoose10(r, e) {
110
116
  if (null == r) return {};
111
117
  var t = {};
@@ -5135,6 +5141,8 @@ var Document = Node.create({
5135
5141
  }
5136
5142
  });
5137
5143
  var index_default = Document;
5144
+ var EMPTY_PARAGRAPH_MARKDOWN = "&nbsp;";
5145
+ var NBSP_CHAR = "\xA0";
5138
5146
  var Paragraph = Node.create({
5139
5147
  name: "paragraph",
5140
5148
  priority: 1e3,
@@ -5156,18 +5164,25 @@ var Paragraph = Node.create({
5156
5164
  if (tokens.length === 1 && tokens[0].type === "image") {
5157
5165
  return helpers.parseChildren([tokens[0]]);
5158
5166
  }
5159
- return helpers.createNode(
5160
- "paragraph",
5161
- void 0,
5162
- // no attributes for paragraph
5163
- helpers.parseInline(tokens)
5164
- );
5167
+ const content = helpers.parseInline(tokens);
5168
+ const hasExplicitEmptyParagraphMarker = tokens.length === 1 && tokens[0].type === "text" && (tokens[0].raw === EMPTY_PARAGRAPH_MARKDOWN || tokens[0].text === EMPTY_PARAGRAPH_MARKDOWN || tokens[0].raw === NBSP_CHAR || tokens[0].text === NBSP_CHAR);
5169
+ if (hasExplicitEmptyParagraphMarker && content.length === 1 && content[0].type === "text" && (content[0].text === EMPTY_PARAGRAPH_MARKDOWN || content[0].text === NBSP_CHAR)) {
5170
+ return helpers.createNode("paragraph", void 0, []);
5171
+ }
5172
+ return helpers.createNode("paragraph", void 0, content);
5165
5173
  },
5166
- renderMarkdown: (node, h) => {
5167
- if (!node || !Array.isArray(node.content)) {
5174
+ renderMarkdown: (node, h, ctx) => {
5175
+ var _a, _b;
5176
+ if (!node) {
5168
5177
  return "";
5169
5178
  }
5170
- return h.renderChildren(node.content);
5179
+ const content = Array.isArray(node.content) ? node.content : [];
5180
+ if (content.length === 0) {
5181
+ const previousContent = Array.isArray((_a = ctx == null ? void 0 : ctx.previousNode) == null ? void 0 : _a.content) ? ctx.previousNode.content : [];
5182
+ const previousNodeIsEmptyParagraph = ((_b = ctx == null ? void 0 : ctx.previousNode) == null ? void 0 : _b.type) === "paragraph" && previousContent.length === 0;
5183
+ return previousNodeIsEmptyParagraph ? EMPTY_PARAGRAPH_MARKDOWN : "";
5184
+ }
5185
+ return h.renderChildren(content);
5171
5186
  },
5172
5187
  addCommands() {
5173
5188
  return {
@@ -6934,7 +6949,191 @@ var Textarea = React27.forwardRef(
6934
6949
  }
6935
6950
  );
6936
6951
  Textarea.displayName = "Textarea";
6952
+ var Separator3 = React27.forwardRef(({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ jsx(
6953
+ SeparatorPrimitive.Root,
6954
+ {
6955
+ ref,
6956
+ decorative,
6957
+ orientation,
6958
+ className: cn(
6959
+ "shrink-0 bg-border",
6960
+ orientation === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]",
6961
+ className
6962
+ ),
6963
+ ...props
6964
+ }
6965
+ ));
6966
+ Separator3.displayName = SeparatorPrimitive.Root.displayName;
6967
+ var Collapsible = CollapsiblePrimitive.Root;
6968
+ var CollapsibleTrigger2 = CollapsiblePrimitive.CollapsibleTrigger;
6969
+ var CollapsibleContent2 = CollapsiblePrimitive.CollapsibleContent;
6970
+ var ScrollArea = React27.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
6971
+ ScrollAreaPrimitive.Root,
6972
+ {
6973
+ ref,
6974
+ className: cn("relative overflow-hidden", className),
6975
+ ...props,
6976
+ children: [
6977
+ /* @__PURE__ */ jsx(ScrollAreaPrimitive.Viewport, { className: "h-full w-full rounded-[inherit]", children }),
6978
+ /* @__PURE__ */ jsx(ScrollBar, {}),
6979
+ /* @__PURE__ */ jsx(ScrollAreaPrimitive.Corner, {})
6980
+ ]
6981
+ }
6982
+ ));
6983
+ ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
6984
+ var ScrollBar = React27.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ jsx(
6985
+ ScrollAreaPrimitive.ScrollAreaScrollbar,
6986
+ {
6987
+ ref,
6988
+ orientation,
6989
+ className: cn(
6990
+ "flex touch-none select-none transition-colors",
6991
+ orientation === "vertical" && "h-full w-2.5 border-l border-l-transparent p-[1px]",
6992
+ orientation === "horizontal" && "h-2.5 flex-col border-t border-t-transparent p-[1px]",
6993
+ className
6994
+ ),
6995
+ ...props,
6996
+ children: /* @__PURE__ */ jsx(ScrollAreaPrimitive.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
6997
+ }
6998
+ ));
6999
+ ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
7000
+ var Card = React27.forwardRef(
7001
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("rounded-lg border bg-card text-card-foreground shadow-sm", className), ...props })
7002
+ );
7003
+ Card.displayName = "Card";
7004
+ var CardHeader = React27.forwardRef(
7005
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("flex flex-col space-y-1.5 p-6", className), ...props })
7006
+ );
7007
+ CardHeader.displayName = "CardHeader";
7008
+ var CardTitle = React27.forwardRef(
7009
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx("h3", { ref, className: cn("text-2xl font-semibold leading-none tracking-tight", className), ...props })
7010
+ );
7011
+ CardTitle.displayName = "CardTitle";
7012
+ var CardDescription = React27.forwardRef(
7013
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx("p", { ref, className: cn("text-sm text-muted-foreground", className), ...props })
7014
+ );
7015
+ CardDescription.displayName = "CardDescription";
7016
+ var CardContent = React27.forwardRef(
7017
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("p-6 pt-0", className), ...props })
7018
+ );
7019
+ CardContent.displayName = "CardContent";
7020
+ var CardFooter = React27.forwardRef(
7021
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("flex items-center p-6 pt-0", className), ...props })
7022
+ );
7023
+ CardFooter.displayName = "CardFooter";
7024
+ function Spinner({ className, size = "md" }) {
7025
+ const sizeClasses = { sm: "h-4 w-4", md: "h-8 w-8", lg: "h-12 w-12" };
7026
+ return /* @__PURE__ */ jsx(
7027
+ "div",
7028
+ {
7029
+ className: cn("animate-spin rounded-full border-2 border-current border-t-transparent text-primary", sizeClasses[size], className),
7030
+ role: "status",
7031
+ "aria-label": "Loading",
7032
+ children: /* @__PURE__ */ jsx("span", { className: "sr-only", children: "Loading..." })
7033
+ }
7034
+ );
7035
+ }
7036
+ var toggleVariants = cva(
7037
+ "inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 gap-2",
7038
+ {
7039
+ variants: {
7040
+ variant: {
7041
+ default: "bg-transparent",
7042
+ outline: "border border-input bg-transparent hover:bg-accent hover:text-accent-foreground"
7043
+ },
7044
+ size: {
7045
+ default: "h-10 px-3 min-w-10",
7046
+ sm: "h-9 px-2.5 min-w-9",
7047
+ lg: "h-11 px-5 min-w-11"
7048
+ }
7049
+ },
7050
+ defaultVariants: { variant: "default", size: "default" }
7051
+ }
7052
+ );
7053
+ var Toggle = React27.forwardRef(({ className, variant, size, ...props }, ref) => /* @__PURE__ */ jsx(TogglePrimitive.Root, { ref, className: cn(toggleVariants({ variant, size, className })), ...props }));
7054
+ Toggle.displayName = TogglePrimitive.Root.displayName;
7055
+ var ToggleGroupContext = React27.createContext({
7056
+ size: "default",
7057
+ variant: "default"
7058
+ });
7059
+ var ToggleGroup = React27.forwardRef(({ className, variant, size, children, ...props }, ref) => /* @__PURE__ */ jsx(ToggleGroupPrimitive.Root, { ref, className: cn("flex items-center justify-center gap-1", className), ...props, children: /* @__PURE__ */ jsx(ToggleGroupContext.Provider, { value: { variant, size }, children }) }));
7060
+ ToggleGroup.displayName = ToggleGroupPrimitive.Root.displayName;
7061
+ var ToggleGroupItem = React27.forwardRef(({ className, children, variant, size, ...props }, ref) => {
7062
+ const context = React27.useContext(ToggleGroupContext);
7063
+ return /* @__PURE__ */ jsx(
7064
+ ToggleGroupPrimitive.Item,
7065
+ {
7066
+ ref,
7067
+ className: cn(toggleVariants({ variant: context.variant || variant, size: context.size || size }), className),
7068
+ ...props,
7069
+ children
7070
+ }
7071
+ );
7072
+ });
7073
+ ToggleGroupItem.displayName = ToggleGroupPrimitive.Item.displayName;
7074
+ var AlertDialog = AlertDialogPrimitive.Root;
7075
+ var AlertDialogTrigger = AlertDialogPrimitive.Trigger;
7076
+ var AlertDialogPortal = AlertDialogPrimitive.Portal;
7077
+ var AlertDialogOverlay = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
7078
+ AlertDialogPrimitive.Overlay,
7079
+ {
7080
+ ref,
7081
+ className: cn("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", className),
7082
+ ...props
7083
+ }
7084
+ ));
7085
+ AlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;
7086
+ var AlertDialogContent = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs(AlertDialogPortal, { children: [
7087
+ /* @__PURE__ */ jsx(AlertDialogOverlay, {}),
7088
+ /* @__PURE__ */ jsx(
7089
+ AlertDialogPrimitive.Content,
7090
+ {
7091
+ ref,
7092
+ className: cn("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg", className),
7093
+ ...props
7094
+ }
7095
+ )
7096
+ ] }));
7097
+ AlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName;
7098
+ var AlertDialogHeader = ({ className, ...props }) => /* @__PURE__ */ jsx("div", { className: cn("flex flex-col space-y-2 text-center sm:text-left", className), ...props });
7099
+ AlertDialogHeader.displayName = "AlertDialogHeader";
7100
+ var AlertDialogFooter = ({ className, ...props }) => /* @__PURE__ */ jsx("div", { className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className), ...props });
7101
+ AlertDialogFooter.displayName = "AlertDialogFooter";
7102
+ var AlertDialogTitle = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(AlertDialogPrimitive.Title, { ref, className: cn("text-lg font-semibold", className), ...props }));
7103
+ AlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;
7104
+ var AlertDialogDescription = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(AlertDialogPrimitive.Description, { ref, className: cn("text-sm text-muted-foreground", className), ...props }));
7105
+ AlertDialogDescription.displayName = AlertDialogPrimitive.Description.displayName;
7106
+ var AlertDialogAction = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(AlertDialogPrimitive.Action, { ref, className: cn(buttonVariants(), className), ...props }));
7107
+ AlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;
7108
+ var AlertDialogCancel = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(AlertDialogPrimitive.Cancel, { ref, className: cn(buttonVariants({ variant: "outline" }), "mt-2 sm:mt-0", className), ...props }));
7109
+ AlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;
7110
+ var buttonGroupVariants = cva(
7111
+ "flex w-fit items-stretch [&>*]:focus-visible:relative [&>*]:focus-visible:z-10",
7112
+ {
7113
+ variants: {
7114
+ orientation: {
7115
+ horizontal: "[&>*:not(:first-child)]:rounded-l-none [&>*:not(:first-child)]:border-l-0 [&>*:not(:last-child)]:rounded-r-none",
7116
+ vertical: "flex-col [&>*:not(:first-child)]:rounded-t-none [&>*:not(:first-child)]:border-t-0 [&>*:not(:last-child)]:rounded-b-none"
7117
+ }
7118
+ },
7119
+ defaultVariants: { orientation: "horizontal" }
7120
+ }
7121
+ );
7122
+ function ButtonGroup({
7123
+ className,
7124
+ orientation,
7125
+ ...props
7126
+ }) {
7127
+ return /* @__PURE__ */ jsx("div", { role: "group", "data-slot": "button-group", className: cn(buttonGroupVariants({ orientation }), className), ...props });
7128
+ }
7129
+ function ButtonGroupText({ className, asChild = false, ...props }) {
7130
+ const Comp = asChild ? Slot : "div";
7131
+ return /* @__PURE__ */ jsx(Comp, { className: cn("bg-muted flex items-center gap-2 rounded-md border px-4 text-sm font-medium [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4", className), ...props });
7132
+ }
7133
+ function ButtonGroupSeparator({ className, orientation = "vertical", ...props }) {
7134
+ return /* @__PURE__ */ jsx(Separator3, { orientation, className: cn("bg-input relative !m-0 self-stretch data-[orientation=vertical]:h-auto", className), ...props });
7135
+ }
6937
7136
 
6938
- export { ANIMATION_PRESETS, Accordion, AccordionContent, AccordionItem, AccordionTrigger, Button, Calendar, Checkbox, CommandNodeExtension, CommandPill, CommandPopover, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, HazoUiConfirmDialog, HazoUiDialog, DialogClose as HazoUiDialogClose, DialogContent as HazoUiDialogContent, DialogDescription as HazoUiDialogDescription, DialogFooter as HazoUiDialogFooter, DialogHeader as HazoUiDialogHeader, DialogOverlay as HazoUiDialogOverlay, DialogPortal as HazoUiDialogPortal, Dialog as HazoUiDialogRoot, DialogTitle as HazoUiDialogTitle, DialogTrigger as HazoUiDialogTrigger, HazoUiFlexInput, HazoUiFlexRadio, HazoUiMultiFilterDialog, HazoUiMultiSortDialog, HazoUiPillRadio, HazoUiRte, HazoUiTextarea, HazoUiTextbox, HoverCard, HoverCardContent, HoverCardTrigger, Input, Label2 as Label, Popover, PopoverContent, PopoverTrigger, RadioGroup, RadioGroupItem, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Command as ShadcnCommand, CommandEmpty as ShadcnCommandEmpty, CommandGroup as ShadcnCommandGroup, CommandInput as ShadcnCommandInput, CommandItem as ShadcnCommandItem, CommandList as ShadcnCommandList, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, create_command_suggestion_extension, get_hazo_ui_config, parse_commands_from_text, reset_hazo_ui_config, resolve_animation_classes, set_hazo_ui_config, text_to_tiptap_content };
7137
+ export { ANIMATION_PRESETS, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Collapsible, CollapsibleContent2 as CollapsibleContent, CollapsibleTrigger2 as CollapsibleTrigger, CommandNodeExtension, CommandPill, CommandPopover, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, HazoUiConfirmDialog, HazoUiDialog, DialogClose as HazoUiDialogClose, DialogContent as HazoUiDialogContent, DialogDescription as HazoUiDialogDescription, DialogFooter as HazoUiDialogFooter, DialogHeader as HazoUiDialogHeader, DialogOverlay as HazoUiDialogOverlay, DialogPortal as HazoUiDialogPortal, Dialog as HazoUiDialogRoot, DialogTitle as HazoUiDialogTitle, DialogTrigger as HazoUiDialogTrigger, HazoUiFlexInput, HazoUiFlexRadio, HazoUiMultiFilterDialog, HazoUiMultiSortDialog, HazoUiPillRadio, HazoUiRte, HazoUiTextarea, HazoUiTextbox, HoverCard, HoverCardContent, HoverCardTrigger, Input, Label2 as Label, Popover, PopoverContent, PopoverTrigger, RadioGroup, RadioGroupItem, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator3 as Separator, Command as ShadcnCommand, CommandEmpty as ShadcnCommandEmpty, CommandGroup as ShadcnCommandGroup, CommandInput as ShadcnCommandInput, CommandItem as ShadcnCommandItem, CommandList as ShadcnCommandList, Spinner, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, buttonGroupVariants, create_command_suggestion_extension, get_hazo_ui_config, parse_commands_from_text, reset_hazo_ui_config, resolve_animation_classes, set_hazo_ui_config, text_to_tiptap_content, toggleVariants };
6939
7138
  //# sourceMappingURL=index.js.map
6940
7139
  //# sourceMappingURL=index.js.map