hazo_ui 4.9.0 โ†’ 5.1.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
@@ -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,8 @@ 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
+ export { HazoThemeContextValue, HazoThemeProvider, HazoThemeProviderProps, ThemeMode, ThemeScript, ThemeScriptProps, ThemeSetPicker, ThemeSetPickerProps, ThemeToggle, ThemeToggleProps, useTheme } from 'hazo_theme/client';
32
+ import { BrandIdentity, FooterConfig } from 'hazo_theme';
31
33
  export { toast as rawToast } from 'sonner';
32
34
  import 'clsx';
33
35
 
@@ -292,6 +294,42 @@ interface HazoUiPillRadioProps {
292
294
  }
293
295
  declare function HazoUiPillRadio({ layout, icon_set, data, value, onChange, className, pill_size, equal_width, }: HazoUiPillRadioProps): React$1.JSX.Element;
294
296
 
297
+ /**
298
+ * Hazo UI Icon Picker Component
299
+ *
300
+ * A trigger + popover icon picker supporting two value shapes:
301
+ * - a single emoji character (e.g. "๐Ÿ”ง")
302
+ * - a lucide-react icon reference, prefixed "lucide:" (e.g. "lucide:Wrench")
303
+ *
304
+ * Also exports HazoUiIcon, a small renderer for either value shape, and
305
+ * isLucideValue, a helper to detect the "lucide:" prefix.
306
+ */
307
+
308
+ /**
309
+ * Returns true when `value` is a lucide-react icon reference
310
+ * (i.e. it starts with the "lucide:" prefix).
311
+ */
312
+ declare function isLucideValue(value: string): boolean;
313
+ interface HazoUiIconProps {
314
+ value: string;
315
+ size?: number;
316
+ className?: string;
317
+ }
318
+ /**
319
+ * Renders either a lucide-react icon ("lucide:Name") or an emoji character.
320
+ * Unknown lucide names render nothing rather than throwing.
321
+ */
322
+ declare function HazoUiIcon({ value, size, className }: HazoUiIconProps): React$1.JSX.Element | null;
323
+ interface HazoUiIconPickerProps {
324
+ value: string;
325
+ onChange: (value: string) => void;
326
+ disabled?: boolean;
327
+ className?: string;
328
+ triggerClassName?: string;
329
+ align?: "start" | "center" | "end";
330
+ }
331
+ declare function HazoUiIconPicker({ value, onChange, disabled, className, triggerClassName, align, }: HazoUiIconPickerProps): React$1.JSX.Element;
332
+
295
333
  interface InputProps extends React$1.InputHTMLAttributes<HTMLInputElement> {
296
334
  }
297
335
  declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
@@ -907,17 +945,20 @@ declare function resolve_animation_classes(open_anim?: AnimationPreset | string,
907
945
  * - Responsive sizing (viewport-relative up to limits)
908
946
  * - Background overlay customization
909
947
  * - CSS variable-based theming
948
+ * - Orthogonal `kind` prop (PRD hazo_theme ยง5.7): 'form' | 'confirm' | 'status' | 'content'
949
+ * selects a rendering/behavior profile without changing the underlying prop surface.
950
+ * `kind` omitted entirely preserves the exact pre-existing default behavior.
910
951
  */
911
952
 
912
953
  type ButtonVariant = "default" | "destructive" | "outline" | "secondary" | "ghost" | "link";
913
954
  type DialogVariant = 'default' | 'info' | 'success' | 'warning' | 'destructive';
914
- interface HazoUiDialogProps {
955
+ type HazoUiDialogKind = 'form' | 'confirm' | 'status' | 'content';
956
+ interface HazoUiDialogBaseProps {
915
957
  open?: boolean;
916
958
  onOpenChange?: (open: boolean) => void;
917
959
  children: React$1.ReactNode;
918
- onConfirm?: () => void;
960
+ onConfirm?: () => void | Promise<void>;
919
961
  onCancel?: () => void;
920
- title?: string;
921
962
  description?: string;
922
963
  actionButtonText?: string;
923
964
  actionButtonVariant?: ButtonVariant;
@@ -932,12 +973,11 @@ interface HazoUiDialogProps {
932
973
  showActionButton?: boolean;
933
974
  /**
934
975
  * 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.
976
+ * onOpenChange(false)) after invoking onConfirm. Defaults to false for
977
+ * kind="form"/"content"/undefined so existing consumers keep controlling
978
+ * close themselves. Defaults to true for kind="status"/"confirm", since
979
+ * those are inherently "acknowledge and dismiss" / "confirm and dismiss"
980
+ * patterns โ€” pass closeOnConfirm={false} explicitly to opt out.
941
981
  * Ignored if footerContent is provided.
942
982
  */
943
983
  closeOnConfirm?: boolean;
@@ -945,6 +985,9 @@ interface HazoUiDialogProps {
945
985
  * Shows a loading spinner and disables the action button.
946
986
  * When true, renders a spinner icon before the action button text.
947
987
  * Does not affect cancel button.
988
+ * For kind="confirm", when left undefined and onConfirm returns a Promise,
989
+ * an internal loading flag is managed automatically (mirrors the old
990
+ * HazoUiConfirmDialog's async auto-loading behavior).
948
991
  * Ignored if footerContent is provided.
949
992
  */
950
993
  actionButtonLoading?: boolean;
@@ -957,7 +1000,7 @@ interface HazoUiDialogProps {
957
1000
  * Icon element rendered before the action button text.
958
1001
  * Typically a Lucide icon like <Send className="h-4 w-4 mr-2" />
959
1002
  * When actionButtonLoading is true, this is replaced with a spinner.
960
- * Ignored if footerContent is provided.
1003
+ * Ignored if footerContent is provided. Not used by kind="confirm".
961
1004
  */
962
1005
  actionButtonIcon?: React$1.ReactNode;
963
1006
  /**
@@ -965,7 +1008,9 @@ interface HazoUiDialogProps {
965
1008
  * When provided, actionButtonText, onConfirm, onCancel, showCancelButton,
966
1009
  * actionButtonLoading, actionButtonIcon are all ignored.
967
1010
  * Use this for complex layouts like stats + buttons, multiple actions,
968
- * or conditional button rendering.
1011
+ * or conditional button rendering. Not supported by kind="confirm" (its
1012
+ * compact layout hardcodes the action row, matching the old
1013
+ * HazoUiConfirmDialog exactly).
969
1014
  */
970
1015
  footerContent?: React$1.ReactNode;
971
1016
  sizeWidth?: string;
@@ -975,6 +1020,7 @@ interface HazoUiDialogProps {
975
1020
  * Reduces header and footer vertical padding to give the body more room.
976
1021
  * Useful for content-dense dialogs (triage lists, tables) where the chrome
977
1022
  * should be slim. Affects the header bar, the plain header, and the footer.
1023
+ * Not used by kind="confirm".
978
1024
  */
979
1025
  compact?: boolean;
980
1026
  openAnimation?: AnimationPreset | string;
@@ -984,6 +1030,7 @@ interface HazoUiDialogProps {
984
1030
  * Controls header layout when a variant is active.
985
1031
  * - true (default): title and description get separate background rows
986
1032
  * - false: single header background, description rendered as italic subtext
1033
+ * Not used by kind="confirm" (no header row in the compact layout).
987
1034
  */
988
1035
  splitHeader?: boolean;
989
1036
  headerBackgroundColor?: string;
@@ -994,6 +1041,13 @@ interface HazoUiDialogProps {
994
1041
  borderColor?: string;
995
1042
  accentColor?: string;
996
1043
  headerBar?: boolean;
1044
+ /**
1045
+ * Color for the header bar (e.g., "#1e293b", "rgb(30, 41, 59)").
1046
+ * Defaults to the neutral `var(--dialog-header-bar-bg)` token. When an
1047
+ * active variant is set (variant !== "default"), the variant's solid
1048
+ * `var(--dialog-<status>-fg)` color overrides the neutral default as the
1049
+ * bar fill โ€” pass headerBarColor explicitly to override both.
1050
+ */
997
1051
  headerBarColor?: string;
998
1052
  className?: string;
999
1053
  contentClassName?: string;
@@ -1002,25 +1056,33 @@ interface HazoUiDialogProps {
1002
1056
  footerClassName?: string;
1003
1057
  showCloseButton?: boolean;
1004
1058
  }
1059
+ type HazoUiDialogProps = HazoUiDialogBaseProps & ({
1060
+ kind: 'form' | 'confirm';
1061
+ title: string;
1062
+ } | {
1063
+ kind?: 'status' | 'content';
1064
+ title?: string;
1065
+ });
1005
1066
  /**
1006
1067
  * HazoUiDialog Component
1007
1068
  *
1008
1069
  * A flexible dialog component with standardized layout and customizable behavior
1009
1070
  */
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;
1071
+ 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
1072
 
1012
1073
  /**
1013
1074
  * hazo_ui_confirm_dialog/index.tsx
1014
1075
  *
1015
1076
  * Purpose: Compact, opinionated confirmation dialog for confirmations,
1016
1077
  * 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
1078
+ *
1079
+ * This is now a thin wrapper over `HazoUiDialog` with `kind="confirm"`
1080
+ * (PRD hazo_theme ยง5.7) โ€” the compact layout, variant colors, and async
1081
+ * loading behavior all live in hazo_ui_dialog/index.tsx. This file exists
1082
+ * purely to preserve the historical, narrower `HazoUiConfirmDialogProps`
1083
+ * surface that external consumers (hazo_pay, hazo_config, ...) already
1084
+ * depend on. Do not change this prop interface without a major bump AND
1085
+ * coordinated consumer updates.
1024
1086
  */
1025
1087
 
1026
1088
  type ConfirmDialogVariant = 'default' | 'destructive' | 'warning' | 'info' | 'success';
@@ -1047,9 +1109,10 @@ interface HazoUiConfirmDialogProps {
1047
1109
  * HazoUiConfirmDialog Component
1048
1110
  *
1049
1111
  * A compact, opinionated confirmation dialog with variant-driven styling,
1050
- * accent top border, and async loading support.
1112
+ * accent top border, and async loading support. Delegates all rendering to
1113
+ * `<HazoUiDialog kind="confirm">`.
1051
1114
  */
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;
1115
+ 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
1116
 
1054
1117
  /**
1055
1118
  * hazo_ui_image_cropper/index.tsx
@@ -1956,8 +2019,13 @@ interface HazoUiKanbanFilterProps {
1956
2019
  * value). Bound to `columnKey` by convention โ€” saving with a different
1957
2020
  * status moves the card to a new column through the consumer's
1958
2021
  * onCardSave handler.
2022
+ * `richtext` binds to a string HTML key on the item and renders `HazoUiRte`
2023
+ * (the library's existing rich text editor). Content is an HTML string โ€”
2024
+ * on change the field is set to `RteOutput.html`. Required-gating is not
2025
+ * honored for `richtext` (an "empty" RTE still emits `<p></p>`, not `""`,
2026
+ * so it can never read as empty) โ€” same carve-out as `select` / `checkbox`.
1959
2027
  */
1960
- type KanbanEditorFieldType = "text" | "textarea" | "select" | "number" | "checkbox" | "priority" | "status";
2028
+ type KanbanEditorFieldType = "text" | "textarea" | "select" | "number" | "checkbox" | "priority" | "status" | "richtext";
1961
2029
  /**
1962
2030
  * Declarative field config for the default editor. One per editable key.
1963
2031
  */
@@ -1969,12 +2037,12 @@ interface KanbanEditorField {
1969
2037
  type: KanbanEditorFieldType;
1970
2038
  /** Options list for `type: 'select'`. Ignored otherwise. */
1971
2039
  options?: string[];
1972
- /** Placeholder for `type: 'text' | 'textarea' | 'number' | 'select' | 'priority'`. */
2040
+ /** Placeholder for `type: 'text' | 'textarea' | 'number' | 'select' | 'priority' | 'richtext'`. */
1973
2041
  placeholder?: string;
1974
2042
  /**
1975
2043
  * If true, the field shows a `*` marker on its label and Save is disabled
1976
2044
  * when empty. Only honored for text / textarea / number; ignored for
1977
- * select / priority / checkbox (those types are never "empty").
2045
+ * select / priority / checkbox / richtext (those types are never "empty").
1978
2046
  */
1979
2047
  required?: boolean;
1980
2048
  }
@@ -2592,59 +2660,43 @@ interface HazoUiMemoryDropdownProps {
2592
2660
  */
2593
2661
  declare function HazoUiMemoryDropdown({ history_key, placeholder, on_select, add_entry, empty_label, }: HazoUiMemoryDropdownProps): React$1.JSX.Element;
2594
2662
 
2595
- /** User-facing theme mode. "system" resolves against the OS preference. */
2596
- type Theme = "light" | "dark" | "system";
2597
- interface ThemeProviderProps {
2598
- children: React$1.ReactNode;
2599
- /** Initial mode when no value is stored yet. Default: "system". */
2600
- defaultTheme?: Theme;
2601
- /** localStorage key used to persist the chosen mode. Default: "theme". */
2602
- storageKey?: string;
2603
- }
2604
- interface ThemeContextValue {
2605
- /** The user's chosen mode. */
2606
- theme: Theme;
2607
- /** Persist + apply a new mode. */
2608
- setTheme: (theme: Theme) => void;
2609
- /** The effective "light"|"dark" after resolving "system". */
2610
- resolvedTheme: "light" | "dark";
2611
- /** Flips between light and dark (sets an explicit mode, never "system"). */
2612
- toggleTheme: () => void;
2613
- }
2614
- /**
2615
- * Provides theme state/context and keeps `<html class="dark">` in sync.
2616
- *
2617
- * SSR-safe: reads/writes to `window`/`document` only ever happen inside
2618
- * `useEffect`, never during render, so server and first-client render match.
2619
- */
2620
- declare function HazoThemeProvider({ children, defaultTheme, storageKey, }: ThemeProviderProps): React$1.ReactElement;
2621
- /**
2622
- * Reads the theme context.
2623
- * @throws if called outside a <HazoThemeProvider>.
2624
- */
2625
- declare function useTheme(): ThemeContextValue;
2626
- interface ThemeScriptProps {
2627
- /** Must match the storageKey passed to <HazoThemeProvider>. Default: "theme". */
2628
- storageKey?: string;
2663
+ interface LogoProps {
2664
+ /** Light-mode logo URL. */
2665
+ logoUrl?: string;
2666
+ /** Optional dark-mode logo URL (shown under .dark). Falls back to logoUrl. */
2667
+ logoUrlDark?: string;
2668
+ /** Text fallback when no logoUrl is set (also used as the alt text). */
2669
+ appTitle?: string;
2670
+ /** Optional link wrapper href. */
2671
+ href?: string;
2672
+ /** Rendered logo height in px (width auto). Default 28. */
2673
+ height?: number;
2674
+ className?: string;
2675
+ imgClassName?: string;
2676
+ }
2677
+ declare function Logo({ logoUrl, logoUrlDark, appTitle, href, height, className, imgClassName, }: LogoProps): React$1.JSX.Element;
2678
+
2679
+ interface AppHeaderProps {
2680
+ /** Brand identity โ€” logo + title come from here. */
2681
+ identity?: Pick<BrandIdentity, "logoUrl" | "logoUrlDark" | "appTitle">;
2682
+ /** Optional href for the logo/title link. */
2683
+ homeHref?: string;
2684
+ /** Nav items region (center/left-after-brand). */
2685
+ navItems?: React$1.ReactNode;
2686
+ /** Actions region (right side โ€” buttons, avatar, etc.). */
2687
+ actions?: React$1.ReactNode;
2688
+ className?: string;
2629
2689
  }
2630
- /**
2631
- * No-flash inline script. Place in the root layout's <head>, BEFORE any
2632
- * stylesheet/content that depends on the theme, so the `dark` class lands
2633
- * on <html> before first paint.
2634
- *
2635
- * Reads `localStorage.getItem(storageKey)` (JSON-stringified by
2636
- * useLocalStorage, so `"dark"` is stored as the string `"dark"` โ€” parsed
2637
- * safely with a try/catch fallback to a raw-string strip of the quotes).
2638
- * Wrapped entirely in try/catch so it can never throw and block rendering.
2639
- */
2640
- declare function ThemeScript({ storageKey }: ThemeScriptProps): React$1.ReactElement;
2641
- interface ThemeToggleProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
2690
+ declare function AppHeader({ identity, homeHref, navItems, actions, className }: AppHeaderProps): React$1.JSX.Element;
2691
+
2692
+ interface AppFooterProps {
2693
+ variant: "public" | "app";
2694
+ /** Footer content. If omitted, falls back to identity.footer[variant]. */
2695
+ footer?: FooterConfig;
2696
+ /** Brand identity โ€” used for the footer fallback + optional logo/title in the public footer. */
2697
+ identity?: BrandIdentity;
2642
2698
  className?: string;
2643
2699
  }
2644
- /**
2645
- * Minimal, unopinionated light/dark toggle button. Shows Sun/Moon (lucide)
2646
- * and calls `toggleTheme()` from context on click.
2647
- */
2648
- declare const ThemeToggle: React$1.ForwardRefExoticComponent<ThemeToggleProps & React$1.RefAttributes<HTMLButtonElement>>;
2700
+ declare function AppFooter({ variant, footer, identity, className }: AppFooterProps): React$1.JSX.Element;
2649
2701
 
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 };
2702
+ 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, 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, HazoUiIcon, HazoUiIconPicker, type HazoUiIconPickerProps, type HazoUiIconProps, 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 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, isLucideValue, 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, useViewport, useWakeLock, use_fullscreen, use_wake_lock };