hazo_ui 4.9.0 → 4.10.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.
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- export { cn } from './index.utils.cjs';
1
+ export { c as cn, s as safeHref } from './index.utils-DZVbQXFR.cjs';
2
2
  import * as React$1 from 'react';
3
3
  import { ReactNode, RefObject } from 'react';
4
4
  import { ICommand } from '@uiw/react-md-editor';
@@ -28,6 +28,7 @@ import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
28
28
  import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
29
29
  import * as SliderPrimitive from '@radix-ui/react-slider';
30
30
  import { StateLevel } from 'hazo_state';
31
+ import { BrandIdentity, FooterConfig } from 'hazo_theme';
31
32
  export { toast as rawToast } from 'sonner';
32
33
  import 'clsx';
33
34
 
@@ -907,17 +908,20 @@ declare function resolve_animation_classes(open_anim?: AnimationPreset | string,
907
908
  * - Responsive sizing (viewport-relative up to limits)
908
909
  * - Background overlay customization
909
910
  * - CSS variable-based theming
911
+ * - Orthogonal `kind` prop (PRD hazo_theme §5.7): 'form' | 'confirm' | 'status' | 'content'
912
+ * selects a rendering/behavior profile without changing the underlying prop surface.
913
+ * `kind` omitted entirely preserves the exact pre-existing default behavior.
910
914
  */
911
915
 
912
916
  type ButtonVariant = "default" | "destructive" | "outline" | "secondary" | "ghost" | "link";
913
917
  type DialogVariant = 'default' | 'info' | 'success' | 'warning' | 'destructive';
914
- interface HazoUiDialogProps {
918
+ type HazoUiDialogKind = 'form' | 'confirm' | 'status' | 'content';
919
+ interface HazoUiDialogBaseProps {
915
920
  open?: boolean;
916
921
  onOpenChange?: (open: boolean) => void;
917
922
  children: React$1.ReactNode;
918
- onConfirm?: () => void;
923
+ onConfirm?: () => void | Promise<void>;
919
924
  onCancel?: () => void;
920
- title?: string;
921
925
  description?: string;
922
926
  actionButtonText?: string;
923
927
  actionButtonVariant?: ButtonVariant;
@@ -932,12 +936,11 @@ interface HazoUiDialogProps {
932
936
  showActionButton?: boolean;
933
937
  /**
934
938
  * When true, clicking the action button closes the dialog (calls
935
- * onOpenChange(false)) after invoking onConfirm. Defaults to false so
936
- * existing consumers keep controlling close themselves.
937
- *
938
- * Enables the common "acknowledge / Okay" pattern: pair with
939
- * showCancelButton={false} and actionButtonText="Okay" for a single
940
- * self-closing button.
939
+ * onOpenChange(false)) after invoking onConfirm. Defaults to false for
940
+ * kind="form"/"content"/undefined so existing consumers keep controlling
941
+ * close themselves. Defaults to true for kind="status"/"confirm", since
942
+ * those are inherently "acknowledge and dismiss" / "confirm and dismiss"
943
+ * patterns — pass closeOnConfirm={false} explicitly to opt out.
941
944
  * Ignored if footerContent is provided.
942
945
  */
943
946
  closeOnConfirm?: boolean;
@@ -945,6 +948,9 @@ interface HazoUiDialogProps {
945
948
  * Shows a loading spinner and disables the action button.
946
949
  * When true, renders a spinner icon before the action button text.
947
950
  * Does not affect cancel button.
951
+ * For kind="confirm", when left undefined and onConfirm returns a Promise,
952
+ * an internal loading flag is managed automatically (mirrors the old
953
+ * HazoUiConfirmDialog's async auto-loading behavior).
948
954
  * Ignored if footerContent is provided.
949
955
  */
950
956
  actionButtonLoading?: boolean;
@@ -957,7 +963,7 @@ interface HazoUiDialogProps {
957
963
  * Icon element rendered before the action button text.
958
964
  * Typically a Lucide icon like <Send className="h-4 w-4 mr-2" />
959
965
  * When actionButtonLoading is true, this is replaced with a spinner.
960
- * Ignored if footerContent is provided.
966
+ * Ignored if footerContent is provided. Not used by kind="confirm".
961
967
  */
962
968
  actionButtonIcon?: React$1.ReactNode;
963
969
  /**
@@ -965,7 +971,9 @@ interface HazoUiDialogProps {
965
971
  * When provided, actionButtonText, onConfirm, onCancel, showCancelButton,
966
972
  * actionButtonLoading, actionButtonIcon are all ignored.
967
973
  * Use this for complex layouts like stats + buttons, multiple actions,
968
- * or conditional button rendering.
974
+ * or conditional button rendering. Not supported by kind="confirm" (its
975
+ * compact layout hardcodes the action row, matching the old
976
+ * HazoUiConfirmDialog exactly).
969
977
  */
970
978
  footerContent?: React$1.ReactNode;
971
979
  sizeWidth?: string;
@@ -975,6 +983,7 @@ interface HazoUiDialogProps {
975
983
  * Reduces header and footer vertical padding to give the body more room.
976
984
  * Useful for content-dense dialogs (triage lists, tables) where the chrome
977
985
  * should be slim. Affects the header bar, the plain header, and the footer.
986
+ * Not used by kind="confirm".
978
987
  */
979
988
  compact?: boolean;
980
989
  openAnimation?: AnimationPreset | string;
@@ -984,6 +993,7 @@ interface HazoUiDialogProps {
984
993
  * Controls header layout when a variant is active.
985
994
  * - true (default): title and description get separate background rows
986
995
  * - false: single header background, description rendered as italic subtext
996
+ * Not used by kind="confirm" (no header row in the compact layout).
987
997
  */
988
998
  splitHeader?: boolean;
989
999
  headerBackgroundColor?: string;
@@ -994,6 +1004,13 @@ interface HazoUiDialogProps {
994
1004
  borderColor?: string;
995
1005
  accentColor?: string;
996
1006
  headerBar?: boolean;
1007
+ /**
1008
+ * Color for the header bar (e.g., "#1e293b", "rgb(30, 41, 59)").
1009
+ * Defaults to the neutral `var(--dialog-header-bar-bg)` token. When an
1010
+ * active variant is set (variant !== "default"), the variant's solid
1011
+ * `var(--dialog-<status>-fg)` color overrides the neutral default as the
1012
+ * bar fill — pass headerBarColor explicitly to override both.
1013
+ */
997
1014
  headerBarColor?: string;
998
1015
  className?: string;
999
1016
  contentClassName?: string;
@@ -1002,25 +1019,33 @@ interface HazoUiDialogProps {
1002
1019
  footerClassName?: string;
1003
1020
  showCloseButton?: boolean;
1004
1021
  }
1022
+ type HazoUiDialogProps = HazoUiDialogBaseProps & ({
1023
+ kind: 'form' | 'confirm';
1024
+ title: string;
1025
+ } | {
1026
+ kind?: 'status' | 'content';
1027
+ title?: string;
1028
+ });
1005
1029
  /**
1006
1030
  * HazoUiDialog Component
1007
1031
  *
1008
1032
  * A flexible dialog component with standardized layout and customizable behavior
1009
1033
  */
1010
- declare function HazoUiDialog({ open, onOpenChange, children, onConfirm, onCancel, title, description, actionButtonText, actionButtonVariant, cancelButtonText, showCancelButton, showActionButton, closeOnConfirm, actionButtonLoading, actionButtonDisabled, actionButtonIcon, footerContent, sizeWidth, sizeHeight, fixedSize, compact, openAnimation, closeAnimation, variant, splitHeader, headerBackgroundColor, descriptionBackgroundColor, headerTextColor, bodyBackgroundColor, footerBackgroundColor, borderColor, accentColor, headerBar, headerBarColor, className, contentClassName, overlayClassName, headerClassName, footerClassName, showCloseButton, }: HazoUiDialogProps): React$1.JSX.Element;
1034
+ declare function HazoUiDialog({ open, onOpenChange, children, onConfirm, onCancel, title, description, actionButtonText: actionButtonTextProp, actionButtonVariant, cancelButtonText, showCancelButton: showCancelButtonProp, showActionButton, closeOnConfirm: closeOnConfirmProp, actionButtonLoading: actionButtonLoadingProp, actionButtonDisabled, actionButtonIcon, footerContent, sizeWidth, sizeHeight, fixedSize, compact, openAnimation, closeAnimation, variant, splitHeader, headerBackgroundColor, descriptionBackgroundColor, headerTextColor, bodyBackgroundColor, footerBackgroundColor, borderColor, accentColor, headerBar, headerBarColor, className, contentClassName, overlayClassName, headerClassName, footerClassName, showCloseButton, kind, }: HazoUiDialogProps): React$1.JSX.Element;
1011
1035
 
1012
1036
  /**
1013
1037
  * hazo_ui_confirm_dialog/index.tsx
1014
1038
  *
1015
1039
  * Purpose: Compact, opinionated confirmation dialog for confirmations,
1016
1040
  * acknowledgments, and destructive action prompts.
1017
- * Features:
1018
- * - Accent top border colored by variant
1019
- * - Variant system (default, destructive, warning, info, success)
1020
- * - Async onConfirm with auto-loading state
1021
- * - Configurable buttons (confirm + optional cancel)
1022
- * - ReactNode children or simple description string
1023
- * - Integrates with hazo_ui_config for theming
1041
+ *
1042
+ * This is now a thin wrapper over `HazoUiDialog` with `kind="confirm"`
1043
+ * (PRD hazo_theme §5.7) the compact layout, variant colors, and async
1044
+ * loading behavior all live in hazo_ui_dialog/index.tsx. This file exists
1045
+ * purely to preserve the historical, narrower `HazoUiConfirmDialogProps`
1046
+ * surface that external consumers (hazo_pay, hazo_config, ...) already
1047
+ * depend on. Do not change this prop interface without a major bump AND
1048
+ * coordinated consumer updates.
1024
1049
  */
1025
1050
 
1026
1051
  type ConfirmDialogVariant = 'default' | 'destructive' | 'warning' | 'info' | 'success';
@@ -1047,9 +1072,10 @@ interface HazoUiConfirmDialogProps {
1047
1072
  * HazoUiConfirmDialog Component
1048
1073
  *
1049
1074
  * A compact, opinionated confirmation dialog with variant-driven styling,
1050
- * accent top border, and async loading support.
1075
+ * accent top border, and async loading support. Delegates all rendering to
1076
+ * `<HazoUiDialog kind="confirm">`.
1051
1077
  */
1052
- declare function HazoUiConfirmDialog({ open, onOpenChange, title, description, children, variant, confirmLabel, cancelLabel, showCancelButton, onConfirm, onCancel, loading: external_loading, disabled, accentColor, confirmButtonColor, openAnimation, closeAnimation, }: HazoUiConfirmDialogProps): React$1.JSX.Element;
1078
+ declare function HazoUiConfirmDialog({ open, onOpenChange, title, description, children, variant, confirmLabel, cancelLabel, showCancelButton, onConfirm, onCancel, loading, disabled, accentColor, confirmButtonColor, openAnimation, closeAnimation, }: HazoUiConfirmDialogProps): React$1.JSX.Element;
1053
1079
 
1054
1080
  /**
1055
1081
  * hazo_ui_image_cropper/index.tsx
@@ -2647,4 +2673,43 @@ interface ThemeToggleProps extends React$1.ButtonHTMLAttributes<HTMLButtonElemen
2647
2673
  */
2648
2674
  declare const ThemeToggle: React$1.ForwardRefExoticComponent<ThemeToggleProps & React$1.RefAttributes<HTMLButtonElement>>;
2649
2675
 
2650
- 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, CELEBRATION_GRADIENT, Calendar, CanvasTextToolbar, type CanvasTextToolbarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type CelebrationPayload, CelebrationProvider, type CelebrationProviderProps, type CelebrationShareableCard, type ChartDataPoint, type ChartDataSeries, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, type CommandEditContext, type CommandItem$1 as CommandItem, CommandNodeExtension, CommandPill, type CommandPillProps, CommandPopover, type CommandPopoverProps, type CommandTextOutput, type ConfirmDialogVariant, type DateRangeOption, DateRangeSelector, type DateRangeSelectorProps, type DialogVariant, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, type EmptyStateProps, ErrorBanner, type ErrorBannerProps, type ErrorBannerSeverity, ErrorPage, type ErrorPageProps, type EtaProgressHandle, type FilterConfig, type FilterField, FunnelChart, type FunnelChartProps, type FunnelStep, HazoContextProvider, type HazoContextProviderProps, HazoThemeProvider, 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, HazoUiEtaProgress, type HazoUiEtaProgressProps, HazoUiFlexInput, type HazoUiFlexInputProps, HazoUiFlexRadio, type HazoUiFlexRadioItem, type HazoUiFlexRadioProps, HazoUiImageCropper, HazoUiImageCropperDialog, type HazoUiImageCropperDialogProps, type HazoUiImageCropperHandle, type HazoUiImageCropperProps, HazoUiKanban, HazoUiKanbanFilter, type HazoUiKanbanFilterProps, type HazoUiKanbanProps, HazoUiMemoryDropdown, type HazoUiMemoryDropdownProps, HazoUiMultiFilterDialog, HazoUiMultiSortDialog, HazoUiPillRadio, type HazoUiPillRadioItem, type HazoUiPillRadioProps, HazoUiProgressBar, type HazoUiProgressBarProps, HazoUiRte, type HazoUiRteProps, HazoUiTable, type HazoUiTablePagination, type HazoUiTableProps, type HazoUiTableServerLoadArgs, type HazoUiTableServerLoadResult, HazoUiTextarea, type HazoUiTextareaProps, HazoUiTextbox, type HazoUiTextboxProps, HazoUiToaster, type HazoUiToasterProps, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputAffix, type InputAffixProps, type InsertedCommand, InverseSparkline, type InverseSparklineProps, type KanbanAnnouncements, type KanbanColumn, type KanbanEditorCtx, type KanbanEditorField, type KanbanEditorFieldType, type KanbanFilterValue, type KanbanItem, type KanbanMoveEvent, type KanbanMoveHandle, type KanbanPriority, type KanbanReorderEvent, type KanbanSaveEvent, Label, LoadingTimeout, type LoadingTimeoutProps, type Logger, MarkdownEditor, type MarkdownEditorProps, type MarkdownEmbed, type MemoryEntry, NotificationCountBadge, type NotificationCountBadgeProps, NotificationItem, type NotificationItemProps, NotificationPanel, type NotificationPanelProps, Popover, PopoverContent, PopoverTrigger, type PrefixColor, type PrefixConfig, ProgressiveImage, type ProgressiveImageProps, 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, Skeleton, SkeletonBar, type SkeletonBarProps, SkeletonCircle, type SkeletonCircleProps, SkeletonGroup, type SkeletonGroupProps, SkeletonRect, type SkeletonRectProps, Slider, type SortConfig, type SortField, Sparkline, type SparklineProps, Spinner, type StackedBar, StackedBars, type StackedBarsProps, type SuggestionState, Switch, Table, TableBody, TableCaption, TableCell, type TableColumn, type TableFilter, TableFooter, type TableFormatter, TableHead, TableHeader, TableRow, type TableSort, type TableSortEntry, type TableSortProp, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type Theme, type ThemeContextValue, type ThemeProviderProps, ThemeScript, type ThemeScriptProps, ThemeToggle, type ThemeToggleProps, type ToastOptions, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type UseCopyToClipboardResult, type UseErrorDisplayResult, type UseEtaProgressOptions, type UseFullscreenRefResult, type UseFullscreenResult, type UseLoadingStateResult, type UseWakeLockResult, applyKanbanFilter, buttonGroupVariants, celebrate, computeEta, create_command_suggestion_extension, easeToward, errorToast, format_num, generateUUID, get_hazo_ui_config, get_logger, median, parse_commands_from_text, pick_x_label_indices, reset_hazo_ui_config, resolve_animation_classes, set_hazo_ui_config, set_logger, successToast, text_to_tiptap_content, toggleVariants, upsertEntry as upsertMemoryEntry, useClickOutside, useCopyToClipboard, useDebounce, useErrorDisplay, useEtaProgress, useFullscreen, useIsMobile, useLoadingState, useLocalStorage, useMediaQuery, useSessionStorage, useTheme, useViewport, useWakeLock, use_fullscreen, use_wake_lock };
2676
+ interface LogoProps {
2677
+ /** Light-mode logo URL. */
2678
+ logoUrl?: string;
2679
+ /** Optional dark-mode logo URL (shown under .dark). Falls back to logoUrl. */
2680
+ logoUrlDark?: string;
2681
+ /** Text fallback when no logoUrl is set (also used as the alt text). */
2682
+ appTitle?: string;
2683
+ /** Optional link wrapper href. */
2684
+ href?: string;
2685
+ /** Rendered logo height in px (width auto). Default 28. */
2686
+ height?: number;
2687
+ className?: string;
2688
+ imgClassName?: string;
2689
+ }
2690
+ declare function Logo({ logoUrl, logoUrlDark, appTitle, href, height, className, imgClassName, }: LogoProps): React$1.JSX.Element;
2691
+
2692
+ interface AppHeaderProps {
2693
+ /** Brand identity — logo + title come from here. */
2694
+ identity?: Pick<BrandIdentity, "logoUrl" | "logoUrlDark" | "appTitle">;
2695
+ /** Optional href for the logo/title link. */
2696
+ homeHref?: string;
2697
+ /** Nav items region (center/left-after-brand). */
2698
+ navItems?: React$1.ReactNode;
2699
+ /** Actions region (right side — buttons, avatar, etc.). */
2700
+ actions?: React$1.ReactNode;
2701
+ className?: string;
2702
+ }
2703
+ declare function AppHeader({ identity, homeHref, navItems, actions, className }: AppHeaderProps): React$1.JSX.Element;
2704
+
2705
+ interface AppFooterProps {
2706
+ variant: "public" | "app";
2707
+ /** Footer content. If omitted, falls back to identity.footer[variant]. */
2708
+ footer?: FooterConfig;
2709
+ /** Brand identity — used for the footer fallback + optional logo/title in the public footer. */
2710
+ identity?: BrandIdentity;
2711
+ className?: string;
2712
+ }
2713
+ declare function AppFooter({ variant, footer, identity, className }: AppFooterProps): React$1.JSX.Element;
2714
+
2715
+ export { ANIMATION_PRESETS, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AnimationPreset, AppFooter, type AppFooterProps, AppHeader, type AppHeaderProps, type BaseCommandInputProps, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, CELEBRATION_GRADIENT, Calendar, CanvasTextToolbar, type CanvasTextToolbarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type CelebrationPayload, CelebrationProvider, type CelebrationProviderProps, type CelebrationShareableCard, type ChartDataPoint, type ChartDataSeries, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, type CommandEditContext, type CommandItem$1 as CommandItem, CommandNodeExtension, CommandPill, type CommandPillProps, CommandPopover, type CommandPopoverProps, type CommandTextOutput, type ConfirmDialogVariant, type DateRangeOption, DateRangeSelector, type DateRangeSelectorProps, type DialogVariant, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, type EmptyStateProps, ErrorBanner, type ErrorBannerProps, type ErrorBannerSeverity, ErrorPage, type ErrorPageProps, type EtaProgressHandle, type FilterConfig, type FilterField, FunnelChart, type FunnelChartProps, type FunnelStep, HazoContextProvider, type HazoContextProviderProps, HazoThemeProvider, type HazoUiConfig, HazoUiConfirmDialog, type HazoUiConfirmDialogProps, HazoUiDialog, DialogClose as HazoUiDialogClose, DialogContent as HazoUiDialogContent, DialogDescription as HazoUiDialogDescription, DialogFooter as HazoUiDialogFooter, DialogHeader as HazoUiDialogHeader, type HazoUiDialogKind, DialogOverlay as HazoUiDialogOverlay, DialogPortal as HazoUiDialogPortal, type HazoUiDialogProps, Dialog as HazoUiDialogRoot, DialogTitle as HazoUiDialogTitle, DialogTrigger as HazoUiDialogTrigger, HazoUiEtaProgress, type HazoUiEtaProgressProps, HazoUiFlexInput, type HazoUiFlexInputProps, HazoUiFlexRadio, type HazoUiFlexRadioItem, type HazoUiFlexRadioProps, HazoUiImageCropper, HazoUiImageCropperDialog, type HazoUiImageCropperDialogProps, type HazoUiImageCropperHandle, type HazoUiImageCropperProps, HazoUiKanban, HazoUiKanbanFilter, type HazoUiKanbanFilterProps, type HazoUiKanbanProps, HazoUiMemoryDropdown, type HazoUiMemoryDropdownProps, HazoUiMultiFilterDialog, HazoUiMultiSortDialog, HazoUiPillRadio, type HazoUiPillRadioItem, type HazoUiPillRadioProps, HazoUiProgressBar, type HazoUiProgressBarProps, HazoUiRte, type HazoUiRteProps, HazoUiTable, type HazoUiTablePagination, type HazoUiTableProps, type HazoUiTableServerLoadArgs, type HazoUiTableServerLoadResult, HazoUiTextarea, type HazoUiTextareaProps, HazoUiTextbox, type HazoUiTextboxProps, HazoUiToaster, type HazoUiToasterProps, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputAffix, type InputAffixProps, type InsertedCommand, InverseSparkline, type InverseSparklineProps, type KanbanAnnouncements, type KanbanColumn, type KanbanEditorCtx, type KanbanEditorField, type KanbanEditorFieldType, type KanbanFilterValue, type KanbanItem, type KanbanMoveEvent, type KanbanMoveHandle, type KanbanPriority, type KanbanReorderEvent, type KanbanSaveEvent, Label, LoadingTimeout, type LoadingTimeoutProps, type Logger, Logo, type LogoProps, MarkdownEditor, type MarkdownEditorProps, type MarkdownEmbed, type MemoryEntry, NotificationCountBadge, type NotificationCountBadgeProps, NotificationItem, type NotificationItemProps, NotificationPanel, type NotificationPanelProps, Popover, PopoverContent, PopoverTrigger, type PrefixColor, type PrefixConfig, ProgressiveImage, type ProgressiveImageProps, 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, Skeleton, SkeletonBar, type SkeletonBarProps, SkeletonCircle, type SkeletonCircleProps, SkeletonGroup, type SkeletonGroupProps, SkeletonRect, type SkeletonRectProps, Slider, type SortConfig, type SortField, Sparkline, type SparklineProps, Spinner, type StackedBar, StackedBars, type StackedBarsProps, type SuggestionState, Switch, Table, TableBody, TableCaption, TableCell, type TableColumn, type TableFilter, TableFooter, type TableFormatter, TableHead, TableHeader, TableRow, type TableSort, type TableSortEntry, type TableSortProp, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type Theme, type ThemeContextValue, type ThemeProviderProps, ThemeScript, type ThemeScriptProps, ThemeToggle, type ThemeToggleProps, type ToastOptions, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type UseCopyToClipboardResult, type UseErrorDisplayResult, type UseEtaProgressOptions, type UseFullscreenRefResult, type UseFullscreenResult, type UseLoadingStateResult, type UseWakeLockResult, applyKanbanFilter, buttonGroupVariants, celebrate, computeEta, create_command_suggestion_extension, easeToward, errorToast, format_num, generateUUID, get_hazo_ui_config, get_logger, median, parse_commands_from_text, pick_x_label_indices, reset_hazo_ui_config, resolve_animation_classes, set_hazo_ui_config, set_logger, successToast, text_to_tiptap_content, toggleVariants, upsertEntry as upsertMemoryEntry, useClickOutside, useCopyToClipboard, useDebounce, useErrorDisplay, useEtaProgress, useFullscreen, useIsMobile, useLoadingState, useLocalStorage, useMediaQuery, useSessionStorage, useTheme, useViewport, useWakeLock, use_fullscreen, use_wake_lock };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { cn } from './index.utils.js';
1
+ export { c as cn, s as safeHref } from './index.utils-DZVbQXFR.js';
2
2
  import * as React$1 from 'react';
3
3
  import { ReactNode, RefObject } from 'react';
4
4
  import { ICommand } from '@uiw/react-md-editor';
@@ -28,6 +28,7 @@ import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
28
28
  import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
29
29
  import * as SliderPrimitive from '@radix-ui/react-slider';
30
30
  import { StateLevel } from 'hazo_state';
31
+ import { BrandIdentity, FooterConfig } from 'hazo_theme';
31
32
  export { toast as rawToast } from 'sonner';
32
33
  import 'clsx';
33
34
 
@@ -907,17 +908,20 @@ declare function resolve_animation_classes(open_anim?: AnimationPreset | string,
907
908
  * - Responsive sizing (viewport-relative up to limits)
908
909
  * - Background overlay customization
909
910
  * - CSS variable-based theming
911
+ * - Orthogonal `kind` prop (PRD hazo_theme §5.7): 'form' | 'confirm' | 'status' | 'content'
912
+ * selects a rendering/behavior profile without changing the underlying prop surface.
913
+ * `kind` omitted entirely preserves the exact pre-existing default behavior.
910
914
  */
911
915
 
912
916
  type ButtonVariant = "default" | "destructive" | "outline" | "secondary" | "ghost" | "link";
913
917
  type DialogVariant = 'default' | 'info' | 'success' | 'warning' | 'destructive';
914
- interface HazoUiDialogProps {
918
+ type HazoUiDialogKind = 'form' | 'confirm' | 'status' | 'content';
919
+ interface HazoUiDialogBaseProps {
915
920
  open?: boolean;
916
921
  onOpenChange?: (open: boolean) => void;
917
922
  children: React$1.ReactNode;
918
- onConfirm?: () => void;
923
+ onConfirm?: () => void | Promise<void>;
919
924
  onCancel?: () => void;
920
- title?: string;
921
925
  description?: string;
922
926
  actionButtonText?: string;
923
927
  actionButtonVariant?: ButtonVariant;
@@ -932,12 +936,11 @@ interface HazoUiDialogProps {
932
936
  showActionButton?: boolean;
933
937
  /**
934
938
  * When true, clicking the action button closes the dialog (calls
935
- * onOpenChange(false)) after invoking onConfirm. Defaults to false so
936
- * existing consumers keep controlling close themselves.
937
- *
938
- * Enables the common "acknowledge / Okay" pattern: pair with
939
- * showCancelButton={false} and actionButtonText="Okay" for a single
940
- * self-closing button.
939
+ * onOpenChange(false)) after invoking onConfirm. Defaults to false for
940
+ * kind="form"/"content"/undefined so existing consumers keep controlling
941
+ * close themselves. Defaults to true for kind="status"/"confirm", since
942
+ * those are inherently "acknowledge and dismiss" / "confirm and dismiss"
943
+ * patterns — pass closeOnConfirm={false} explicitly to opt out.
941
944
  * Ignored if footerContent is provided.
942
945
  */
943
946
  closeOnConfirm?: boolean;
@@ -945,6 +948,9 @@ interface HazoUiDialogProps {
945
948
  * Shows a loading spinner and disables the action button.
946
949
  * When true, renders a spinner icon before the action button text.
947
950
  * Does not affect cancel button.
951
+ * For kind="confirm", when left undefined and onConfirm returns a Promise,
952
+ * an internal loading flag is managed automatically (mirrors the old
953
+ * HazoUiConfirmDialog's async auto-loading behavior).
948
954
  * Ignored if footerContent is provided.
949
955
  */
950
956
  actionButtonLoading?: boolean;
@@ -957,7 +963,7 @@ interface HazoUiDialogProps {
957
963
  * Icon element rendered before the action button text.
958
964
  * Typically a Lucide icon like <Send className="h-4 w-4 mr-2" />
959
965
  * When actionButtonLoading is true, this is replaced with a spinner.
960
- * Ignored if footerContent is provided.
966
+ * Ignored if footerContent is provided. Not used by kind="confirm".
961
967
  */
962
968
  actionButtonIcon?: React$1.ReactNode;
963
969
  /**
@@ -965,7 +971,9 @@ interface HazoUiDialogProps {
965
971
  * When provided, actionButtonText, onConfirm, onCancel, showCancelButton,
966
972
  * actionButtonLoading, actionButtonIcon are all ignored.
967
973
  * Use this for complex layouts like stats + buttons, multiple actions,
968
- * or conditional button rendering.
974
+ * or conditional button rendering. Not supported by kind="confirm" (its
975
+ * compact layout hardcodes the action row, matching the old
976
+ * HazoUiConfirmDialog exactly).
969
977
  */
970
978
  footerContent?: React$1.ReactNode;
971
979
  sizeWidth?: string;
@@ -975,6 +983,7 @@ interface HazoUiDialogProps {
975
983
  * Reduces header and footer vertical padding to give the body more room.
976
984
  * Useful for content-dense dialogs (triage lists, tables) where the chrome
977
985
  * should be slim. Affects the header bar, the plain header, and the footer.
986
+ * Not used by kind="confirm".
978
987
  */
979
988
  compact?: boolean;
980
989
  openAnimation?: AnimationPreset | string;
@@ -984,6 +993,7 @@ interface HazoUiDialogProps {
984
993
  * Controls header layout when a variant is active.
985
994
  * - true (default): title and description get separate background rows
986
995
  * - false: single header background, description rendered as italic subtext
996
+ * Not used by kind="confirm" (no header row in the compact layout).
987
997
  */
988
998
  splitHeader?: boolean;
989
999
  headerBackgroundColor?: string;
@@ -994,6 +1004,13 @@ interface HazoUiDialogProps {
994
1004
  borderColor?: string;
995
1005
  accentColor?: string;
996
1006
  headerBar?: boolean;
1007
+ /**
1008
+ * Color for the header bar (e.g., "#1e293b", "rgb(30, 41, 59)").
1009
+ * Defaults to the neutral `var(--dialog-header-bar-bg)` token. When an
1010
+ * active variant is set (variant !== "default"), the variant's solid
1011
+ * `var(--dialog-<status>-fg)` color overrides the neutral default as the
1012
+ * bar fill — pass headerBarColor explicitly to override both.
1013
+ */
997
1014
  headerBarColor?: string;
998
1015
  className?: string;
999
1016
  contentClassName?: string;
@@ -1002,25 +1019,33 @@ interface HazoUiDialogProps {
1002
1019
  footerClassName?: string;
1003
1020
  showCloseButton?: boolean;
1004
1021
  }
1022
+ type HazoUiDialogProps = HazoUiDialogBaseProps & ({
1023
+ kind: 'form' | 'confirm';
1024
+ title: string;
1025
+ } | {
1026
+ kind?: 'status' | 'content';
1027
+ title?: string;
1028
+ });
1005
1029
  /**
1006
1030
  * HazoUiDialog Component
1007
1031
  *
1008
1032
  * A flexible dialog component with standardized layout and customizable behavior
1009
1033
  */
1010
- declare function HazoUiDialog({ open, onOpenChange, children, onConfirm, onCancel, title, description, actionButtonText, actionButtonVariant, cancelButtonText, showCancelButton, showActionButton, closeOnConfirm, actionButtonLoading, actionButtonDisabled, actionButtonIcon, footerContent, sizeWidth, sizeHeight, fixedSize, compact, openAnimation, closeAnimation, variant, splitHeader, headerBackgroundColor, descriptionBackgroundColor, headerTextColor, bodyBackgroundColor, footerBackgroundColor, borderColor, accentColor, headerBar, headerBarColor, className, contentClassName, overlayClassName, headerClassName, footerClassName, showCloseButton, }: HazoUiDialogProps): React$1.JSX.Element;
1034
+ declare function HazoUiDialog({ open, onOpenChange, children, onConfirm, onCancel, title, description, actionButtonText: actionButtonTextProp, actionButtonVariant, cancelButtonText, showCancelButton: showCancelButtonProp, showActionButton, closeOnConfirm: closeOnConfirmProp, actionButtonLoading: actionButtonLoadingProp, actionButtonDisabled, actionButtonIcon, footerContent, sizeWidth, sizeHeight, fixedSize, compact, openAnimation, closeAnimation, variant, splitHeader, headerBackgroundColor, descriptionBackgroundColor, headerTextColor, bodyBackgroundColor, footerBackgroundColor, borderColor, accentColor, headerBar, headerBarColor, className, contentClassName, overlayClassName, headerClassName, footerClassName, showCloseButton, kind, }: HazoUiDialogProps): React$1.JSX.Element;
1011
1035
 
1012
1036
  /**
1013
1037
  * hazo_ui_confirm_dialog/index.tsx
1014
1038
  *
1015
1039
  * Purpose: Compact, opinionated confirmation dialog for confirmations,
1016
1040
  * acknowledgments, and destructive action prompts.
1017
- * Features:
1018
- * - Accent top border colored by variant
1019
- * - Variant system (default, destructive, warning, info, success)
1020
- * - Async onConfirm with auto-loading state
1021
- * - Configurable buttons (confirm + optional cancel)
1022
- * - ReactNode children or simple description string
1023
- * - Integrates with hazo_ui_config for theming
1041
+ *
1042
+ * This is now a thin wrapper over `HazoUiDialog` with `kind="confirm"`
1043
+ * (PRD hazo_theme §5.7) the compact layout, variant colors, and async
1044
+ * loading behavior all live in hazo_ui_dialog/index.tsx. This file exists
1045
+ * purely to preserve the historical, narrower `HazoUiConfirmDialogProps`
1046
+ * surface that external consumers (hazo_pay, hazo_config, ...) already
1047
+ * depend on. Do not change this prop interface without a major bump AND
1048
+ * coordinated consumer updates.
1024
1049
  */
1025
1050
 
1026
1051
  type ConfirmDialogVariant = 'default' | 'destructive' | 'warning' | 'info' | 'success';
@@ -1047,9 +1072,10 @@ interface HazoUiConfirmDialogProps {
1047
1072
  * HazoUiConfirmDialog Component
1048
1073
  *
1049
1074
  * A compact, opinionated confirmation dialog with variant-driven styling,
1050
- * accent top border, and async loading support.
1075
+ * accent top border, and async loading support. Delegates all rendering to
1076
+ * `<HazoUiDialog kind="confirm">`.
1051
1077
  */
1052
- declare function HazoUiConfirmDialog({ open, onOpenChange, title, description, children, variant, confirmLabel, cancelLabel, showCancelButton, onConfirm, onCancel, loading: external_loading, disabled, accentColor, confirmButtonColor, openAnimation, closeAnimation, }: HazoUiConfirmDialogProps): React$1.JSX.Element;
1078
+ declare function HazoUiConfirmDialog({ open, onOpenChange, title, description, children, variant, confirmLabel, cancelLabel, showCancelButton, onConfirm, onCancel, loading, disabled, accentColor, confirmButtonColor, openAnimation, closeAnimation, }: HazoUiConfirmDialogProps): React$1.JSX.Element;
1053
1079
 
1054
1080
  /**
1055
1081
  * hazo_ui_image_cropper/index.tsx
@@ -2647,4 +2673,43 @@ interface ThemeToggleProps extends React$1.ButtonHTMLAttributes<HTMLButtonElemen
2647
2673
  */
2648
2674
  declare const ThemeToggle: React$1.ForwardRefExoticComponent<ThemeToggleProps & React$1.RefAttributes<HTMLButtonElement>>;
2649
2675
 
2650
- 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, CELEBRATION_GRADIENT, Calendar, CanvasTextToolbar, type CanvasTextToolbarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type CelebrationPayload, CelebrationProvider, type CelebrationProviderProps, type CelebrationShareableCard, type ChartDataPoint, type ChartDataSeries, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, type CommandEditContext, type CommandItem$1 as CommandItem, CommandNodeExtension, CommandPill, type CommandPillProps, CommandPopover, type CommandPopoverProps, type CommandTextOutput, type ConfirmDialogVariant, type DateRangeOption, DateRangeSelector, type DateRangeSelectorProps, type DialogVariant, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, type EmptyStateProps, ErrorBanner, type ErrorBannerProps, type ErrorBannerSeverity, ErrorPage, type ErrorPageProps, type EtaProgressHandle, type FilterConfig, type FilterField, FunnelChart, type FunnelChartProps, type FunnelStep, HazoContextProvider, type HazoContextProviderProps, HazoThemeProvider, 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, HazoUiEtaProgress, type HazoUiEtaProgressProps, HazoUiFlexInput, type HazoUiFlexInputProps, HazoUiFlexRadio, type HazoUiFlexRadioItem, type HazoUiFlexRadioProps, HazoUiImageCropper, HazoUiImageCropperDialog, type HazoUiImageCropperDialogProps, type HazoUiImageCropperHandle, type HazoUiImageCropperProps, HazoUiKanban, HazoUiKanbanFilter, type HazoUiKanbanFilterProps, type HazoUiKanbanProps, HazoUiMemoryDropdown, type HazoUiMemoryDropdownProps, HazoUiMultiFilterDialog, HazoUiMultiSortDialog, HazoUiPillRadio, type HazoUiPillRadioItem, type HazoUiPillRadioProps, HazoUiProgressBar, type HazoUiProgressBarProps, HazoUiRte, type HazoUiRteProps, HazoUiTable, type HazoUiTablePagination, type HazoUiTableProps, type HazoUiTableServerLoadArgs, type HazoUiTableServerLoadResult, HazoUiTextarea, type HazoUiTextareaProps, HazoUiTextbox, type HazoUiTextboxProps, HazoUiToaster, type HazoUiToasterProps, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputAffix, type InputAffixProps, type InsertedCommand, InverseSparkline, type InverseSparklineProps, type KanbanAnnouncements, type KanbanColumn, type KanbanEditorCtx, type KanbanEditorField, type KanbanEditorFieldType, type KanbanFilterValue, type KanbanItem, type KanbanMoveEvent, type KanbanMoveHandle, type KanbanPriority, type KanbanReorderEvent, type KanbanSaveEvent, Label, LoadingTimeout, type LoadingTimeoutProps, type Logger, MarkdownEditor, type MarkdownEditorProps, type MarkdownEmbed, type MemoryEntry, NotificationCountBadge, type NotificationCountBadgeProps, NotificationItem, type NotificationItemProps, NotificationPanel, type NotificationPanelProps, Popover, PopoverContent, PopoverTrigger, type PrefixColor, type PrefixConfig, ProgressiveImage, type ProgressiveImageProps, 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, Skeleton, SkeletonBar, type SkeletonBarProps, SkeletonCircle, type SkeletonCircleProps, SkeletonGroup, type SkeletonGroupProps, SkeletonRect, type SkeletonRectProps, Slider, type SortConfig, type SortField, Sparkline, type SparklineProps, Spinner, type StackedBar, StackedBars, type StackedBarsProps, type SuggestionState, Switch, Table, TableBody, TableCaption, TableCell, type TableColumn, type TableFilter, TableFooter, type TableFormatter, TableHead, TableHeader, TableRow, type TableSort, type TableSortEntry, type TableSortProp, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type Theme, type ThemeContextValue, type ThemeProviderProps, ThemeScript, type ThemeScriptProps, ThemeToggle, type ThemeToggleProps, type ToastOptions, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type UseCopyToClipboardResult, type UseErrorDisplayResult, type UseEtaProgressOptions, type UseFullscreenRefResult, type UseFullscreenResult, type UseLoadingStateResult, type UseWakeLockResult, applyKanbanFilter, buttonGroupVariants, celebrate, computeEta, create_command_suggestion_extension, easeToward, errorToast, format_num, generateUUID, get_hazo_ui_config, get_logger, median, parse_commands_from_text, pick_x_label_indices, reset_hazo_ui_config, resolve_animation_classes, set_hazo_ui_config, set_logger, successToast, text_to_tiptap_content, toggleVariants, upsertEntry as upsertMemoryEntry, useClickOutside, useCopyToClipboard, useDebounce, useErrorDisplay, useEtaProgress, useFullscreen, useIsMobile, useLoadingState, useLocalStorage, useMediaQuery, useSessionStorage, useTheme, useViewport, useWakeLock, use_fullscreen, use_wake_lock };
2676
+ interface LogoProps {
2677
+ /** Light-mode logo URL. */
2678
+ logoUrl?: string;
2679
+ /** Optional dark-mode logo URL (shown under .dark). Falls back to logoUrl. */
2680
+ logoUrlDark?: string;
2681
+ /** Text fallback when no logoUrl is set (also used as the alt text). */
2682
+ appTitle?: string;
2683
+ /** Optional link wrapper href. */
2684
+ href?: string;
2685
+ /** Rendered logo height in px (width auto). Default 28. */
2686
+ height?: number;
2687
+ className?: string;
2688
+ imgClassName?: string;
2689
+ }
2690
+ declare function Logo({ logoUrl, logoUrlDark, appTitle, href, height, className, imgClassName, }: LogoProps): React$1.JSX.Element;
2691
+
2692
+ interface AppHeaderProps {
2693
+ /** Brand identity — logo + title come from here. */
2694
+ identity?: Pick<BrandIdentity, "logoUrl" | "logoUrlDark" | "appTitle">;
2695
+ /** Optional href for the logo/title link. */
2696
+ homeHref?: string;
2697
+ /** Nav items region (center/left-after-brand). */
2698
+ navItems?: React$1.ReactNode;
2699
+ /** Actions region (right side — buttons, avatar, etc.). */
2700
+ actions?: React$1.ReactNode;
2701
+ className?: string;
2702
+ }
2703
+ declare function AppHeader({ identity, homeHref, navItems, actions, className }: AppHeaderProps): React$1.JSX.Element;
2704
+
2705
+ interface AppFooterProps {
2706
+ variant: "public" | "app";
2707
+ /** Footer content. If omitted, falls back to identity.footer[variant]. */
2708
+ footer?: FooterConfig;
2709
+ /** Brand identity — used for the footer fallback + optional logo/title in the public footer. */
2710
+ identity?: BrandIdentity;
2711
+ className?: string;
2712
+ }
2713
+ declare function AppFooter({ variant, footer, identity, className }: AppFooterProps): React$1.JSX.Element;
2714
+
2715
+ export { ANIMATION_PRESETS, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AnimationPreset, AppFooter, type AppFooterProps, AppHeader, type AppHeaderProps, type BaseCommandInputProps, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, CELEBRATION_GRADIENT, Calendar, CanvasTextToolbar, type CanvasTextToolbarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type CelebrationPayload, CelebrationProvider, type CelebrationProviderProps, type CelebrationShareableCard, type ChartDataPoint, type ChartDataSeries, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, type CommandEditContext, type CommandItem$1 as CommandItem, CommandNodeExtension, CommandPill, type CommandPillProps, CommandPopover, type CommandPopoverProps, type CommandTextOutput, type ConfirmDialogVariant, type DateRangeOption, DateRangeSelector, type DateRangeSelectorProps, type DialogVariant, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, type EmptyStateProps, ErrorBanner, type ErrorBannerProps, type ErrorBannerSeverity, ErrorPage, type ErrorPageProps, type EtaProgressHandle, type FilterConfig, type FilterField, FunnelChart, type FunnelChartProps, type FunnelStep, HazoContextProvider, type HazoContextProviderProps, HazoThemeProvider, type HazoUiConfig, HazoUiConfirmDialog, type HazoUiConfirmDialogProps, HazoUiDialog, DialogClose as HazoUiDialogClose, DialogContent as HazoUiDialogContent, DialogDescription as HazoUiDialogDescription, DialogFooter as HazoUiDialogFooter, DialogHeader as HazoUiDialogHeader, type HazoUiDialogKind, DialogOverlay as HazoUiDialogOverlay, DialogPortal as HazoUiDialogPortal, type HazoUiDialogProps, Dialog as HazoUiDialogRoot, DialogTitle as HazoUiDialogTitle, DialogTrigger as HazoUiDialogTrigger, HazoUiEtaProgress, type HazoUiEtaProgressProps, HazoUiFlexInput, type HazoUiFlexInputProps, HazoUiFlexRadio, type HazoUiFlexRadioItem, type HazoUiFlexRadioProps, HazoUiImageCropper, HazoUiImageCropperDialog, type HazoUiImageCropperDialogProps, type HazoUiImageCropperHandle, type HazoUiImageCropperProps, HazoUiKanban, HazoUiKanbanFilter, type HazoUiKanbanFilterProps, type HazoUiKanbanProps, HazoUiMemoryDropdown, type HazoUiMemoryDropdownProps, HazoUiMultiFilterDialog, HazoUiMultiSortDialog, HazoUiPillRadio, type HazoUiPillRadioItem, type HazoUiPillRadioProps, HazoUiProgressBar, type HazoUiProgressBarProps, HazoUiRte, type HazoUiRteProps, HazoUiTable, type HazoUiTablePagination, type HazoUiTableProps, type HazoUiTableServerLoadArgs, type HazoUiTableServerLoadResult, HazoUiTextarea, type HazoUiTextareaProps, HazoUiTextbox, type HazoUiTextboxProps, HazoUiToaster, type HazoUiToasterProps, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputAffix, type InputAffixProps, type InsertedCommand, InverseSparkline, type InverseSparklineProps, type KanbanAnnouncements, type KanbanColumn, type KanbanEditorCtx, type KanbanEditorField, type KanbanEditorFieldType, type KanbanFilterValue, type KanbanItem, type KanbanMoveEvent, type KanbanMoveHandle, type KanbanPriority, type KanbanReorderEvent, type KanbanSaveEvent, Label, LoadingTimeout, type LoadingTimeoutProps, type Logger, Logo, type LogoProps, MarkdownEditor, type MarkdownEditorProps, type MarkdownEmbed, type MemoryEntry, NotificationCountBadge, type NotificationCountBadgeProps, NotificationItem, type NotificationItemProps, NotificationPanel, type NotificationPanelProps, Popover, PopoverContent, PopoverTrigger, type PrefixColor, type PrefixConfig, ProgressiveImage, type ProgressiveImageProps, 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, Skeleton, SkeletonBar, type SkeletonBarProps, SkeletonCircle, type SkeletonCircleProps, SkeletonGroup, type SkeletonGroupProps, SkeletonRect, type SkeletonRectProps, Slider, type SortConfig, type SortField, Sparkline, type SparklineProps, Spinner, type StackedBar, StackedBars, type StackedBarsProps, type SuggestionState, Switch, Table, TableBody, TableCaption, TableCell, type TableColumn, type TableFilter, TableFooter, type TableFormatter, TableHead, TableHeader, TableRow, type TableSort, type TableSortEntry, type TableSortProp, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type Theme, type ThemeContextValue, type ThemeProviderProps, ThemeScript, type ThemeScriptProps, ThemeToggle, type ThemeToggleProps, type ToastOptions, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type UseCopyToClipboardResult, type UseErrorDisplayResult, type UseEtaProgressOptions, type UseFullscreenRefResult, type UseFullscreenResult, type UseLoadingStateResult, type UseWakeLockResult, applyKanbanFilter, buttonGroupVariants, celebrate, computeEta, create_command_suggestion_extension, easeToward, errorToast, format_num, generateUUID, get_hazo_ui_config, get_logger, median, parse_commands_from_text, pick_x_label_indices, reset_hazo_ui_config, resolve_animation_classes, set_hazo_ui_config, set_logger, successToast, text_to_tiptap_content, toggleVariants, upsertEntry as upsertMemoryEntry, useClickOutside, useCopyToClipboard, useDebounce, useErrorDisplay, useEtaProgress, useFullscreen, useIsMobile, useLoadingState, useLocalStorage, useMediaQuery, useSessionStorage, useTheme, useViewport, useWakeLock, use_fullscreen, use_wake_lock };