hazo_ui 3.4.1 → 3.5.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/CHANGE_LOG.md +5 -0
- package/README.md +92 -0
- package/dist/index.cjs +214 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +43 -1
- package/dist/index.d.ts +43 -1
- package/dist/index.js +214 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1910,6 +1910,16 @@ interface DateRangeOption {
|
|
|
1910
1910
|
value: string;
|
|
1911
1911
|
label: string;
|
|
1912
1912
|
}
|
|
1913
|
+
/** One step in a FunnelChart — a horizontal bar with optional segment breakdown. */
|
|
1914
|
+
interface FunnelStep {
|
|
1915
|
+
label: string;
|
|
1916
|
+
value?: number;
|
|
1917
|
+
segments?: {
|
|
1918
|
+
label: string;
|
|
1919
|
+
value: number;
|
|
1920
|
+
color: string;
|
|
1921
|
+
}[];
|
|
1922
|
+
}
|
|
1913
1923
|
|
|
1914
1924
|
/**
|
|
1915
1925
|
* Sparkline — tiny single-series line for KPI cards.
|
|
@@ -2056,6 +2066,38 @@ interface DateRangeSelectorProps {
|
|
|
2056
2066
|
}
|
|
2057
2067
|
declare function DateRangeSelector({ value, onChange, options, className, ariaLabel, }: DateRangeSelectorProps): React$1.ReactElement;
|
|
2058
2068
|
|
|
2069
|
+
/**
|
|
2070
|
+
* FunnelChart — pure-SVG horizontal centered-bar conversion funnel.
|
|
2071
|
+
*
|
|
2072
|
+
* Each step renders as a centered horizontal bar whose width is proportional
|
|
2073
|
+
* to its total value relative to the widest step (value_max). The funnel
|
|
2074
|
+
* silhouette emerges naturally because bars are centered on the same axis —
|
|
2075
|
+
* narrower bars appear as indented from both sides.
|
|
2076
|
+
*
|
|
2077
|
+
* Optional `segments` prop splits a bar into left-to-right colored sub-rects.
|
|
2078
|
+
* Hover maps the Y coordinate (not X) to a row index, matching the funnel's
|
|
2079
|
+
* row-oriented read direction.
|
|
2080
|
+
*/
|
|
2081
|
+
|
|
2082
|
+
interface FunnelChartProps {
|
|
2083
|
+
steps: FunnelStep[];
|
|
2084
|
+
/** viewBox width. Default 360. */
|
|
2085
|
+
width?: number;
|
|
2086
|
+
/** viewBox height. Defaults to PAD_TOP + steps.length * ROW_H + PAD_BOTTOM. */
|
|
2087
|
+
height?: number;
|
|
2088
|
+
/** Bar fill when a step has no segments. Default "#3b82f6". */
|
|
2089
|
+
color?: string;
|
|
2090
|
+
/** Number format override. Default: format_num. */
|
|
2091
|
+
valueFormat?: (n: number) => string;
|
|
2092
|
+
/** Show per-step drop-off label below the value. Default true. */
|
|
2093
|
+
showDropoff?: boolean;
|
|
2094
|
+
/** Enable hover tooltip. Default true. */
|
|
2095
|
+
showTooltip?: boolean;
|
|
2096
|
+
/** Container className passthrough. */
|
|
2097
|
+
className?: string;
|
|
2098
|
+
}
|
|
2099
|
+
declare function FunnelChart({ steps, width, height, color, valueFormat, showDropoff, showTooltip, className, }: FunnelChartProps): React$1.ReactElement;
|
|
2100
|
+
|
|
2059
2101
|
/**
|
|
2060
2102
|
* Number/date formatters shared across hazo_ui_charts.
|
|
2061
2103
|
*
|
|
@@ -2248,4 +2290,4 @@ interface HazoUiEtaProgressProps {
|
|
|
2248
2290
|
*/
|
|
2249
2291
|
declare function HazoUiEtaProgress({ estimateKey, unitCount, concurrency, windowSize, fallbackUnitMs, level, label, endpoint, handleRef, className, }: HazoUiEtaProgressProps): react_jsx_runtime.JSX.Element;
|
|
2250
2292
|
|
|
2251
|
-
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, 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, HazoContextProvider, type HazoContextProviderProps, 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, HazoUiKanban, HazoUiKanbanFilter, type HazoUiKanbanFilterProps, type HazoUiKanbanProps, 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, 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, LineChart, type LineChartProps, LoadingTimeout, type LoadingTimeoutProps, type Logger, MarkdownEditor, type MarkdownEditorProps, type MarkdownEmbed, MultiLineChart, type MultiLineChartProps, type MultiSeries, 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, 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, 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, useClickOutside, useCopyToClipboard, useDebounce, useErrorDisplay, useEtaProgress, useFullscreen, useIsMobile, useLoadingState, useLocalStorage, useMediaQuery, useSessionStorage, useViewport, useWakeLock, use_fullscreen, use_wake_lock };
|
|
2293
|
+
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, 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, 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, HazoUiKanban, HazoUiKanbanFilter, type HazoUiKanbanFilterProps, type HazoUiKanbanProps, 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, 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, LineChart, type LineChartProps, LoadingTimeout, type LoadingTimeoutProps, type Logger, MarkdownEditor, type MarkdownEditorProps, type MarkdownEmbed, MultiLineChart, type MultiLineChartProps, type MultiSeries, 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, 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, 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, useClickOutside, useCopyToClipboard, useDebounce, useErrorDisplay, useEtaProgress, useFullscreen, useIsMobile, useLoadingState, useLocalStorage, useMediaQuery, useSessionStorage, useViewport, useWakeLock, use_fullscreen, use_wake_lock };
|
package/dist/index.d.ts
CHANGED
|
@@ -1910,6 +1910,16 @@ interface DateRangeOption {
|
|
|
1910
1910
|
value: string;
|
|
1911
1911
|
label: string;
|
|
1912
1912
|
}
|
|
1913
|
+
/** One step in a FunnelChart — a horizontal bar with optional segment breakdown. */
|
|
1914
|
+
interface FunnelStep {
|
|
1915
|
+
label: string;
|
|
1916
|
+
value?: number;
|
|
1917
|
+
segments?: {
|
|
1918
|
+
label: string;
|
|
1919
|
+
value: number;
|
|
1920
|
+
color: string;
|
|
1921
|
+
}[];
|
|
1922
|
+
}
|
|
1913
1923
|
|
|
1914
1924
|
/**
|
|
1915
1925
|
* Sparkline — tiny single-series line for KPI cards.
|
|
@@ -2056,6 +2066,38 @@ interface DateRangeSelectorProps {
|
|
|
2056
2066
|
}
|
|
2057
2067
|
declare function DateRangeSelector({ value, onChange, options, className, ariaLabel, }: DateRangeSelectorProps): React$1.ReactElement;
|
|
2058
2068
|
|
|
2069
|
+
/**
|
|
2070
|
+
* FunnelChart — pure-SVG horizontal centered-bar conversion funnel.
|
|
2071
|
+
*
|
|
2072
|
+
* Each step renders as a centered horizontal bar whose width is proportional
|
|
2073
|
+
* to its total value relative to the widest step (value_max). The funnel
|
|
2074
|
+
* silhouette emerges naturally because bars are centered on the same axis —
|
|
2075
|
+
* narrower bars appear as indented from both sides.
|
|
2076
|
+
*
|
|
2077
|
+
* Optional `segments` prop splits a bar into left-to-right colored sub-rects.
|
|
2078
|
+
* Hover maps the Y coordinate (not X) to a row index, matching the funnel's
|
|
2079
|
+
* row-oriented read direction.
|
|
2080
|
+
*/
|
|
2081
|
+
|
|
2082
|
+
interface FunnelChartProps {
|
|
2083
|
+
steps: FunnelStep[];
|
|
2084
|
+
/** viewBox width. Default 360. */
|
|
2085
|
+
width?: number;
|
|
2086
|
+
/** viewBox height. Defaults to PAD_TOP + steps.length * ROW_H + PAD_BOTTOM. */
|
|
2087
|
+
height?: number;
|
|
2088
|
+
/** Bar fill when a step has no segments. Default "#3b82f6". */
|
|
2089
|
+
color?: string;
|
|
2090
|
+
/** Number format override. Default: format_num. */
|
|
2091
|
+
valueFormat?: (n: number) => string;
|
|
2092
|
+
/** Show per-step drop-off label below the value. Default true. */
|
|
2093
|
+
showDropoff?: boolean;
|
|
2094
|
+
/** Enable hover tooltip. Default true. */
|
|
2095
|
+
showTooltip?: boolean;
|
|
2096
|
+
/** Container className passthrough. */
|
|
2097
|
+
className?: string;
|
|
2098
|
+
}
|
|
2099
|
+
declare function FunnelChart({ steps, width, height, color, valueFormat, showDropoff, showTooltip, className, }: FunnelChartProps): React$1.ReactElement;
|
|
2100
|
+
|
|
2059
2101
|
/**
|
|
2060
2102
|
* Number/date formatters shared across hazo_ui_charts.
|
|
2061
2103
|
*
|
|
@@ -2248,4 +2290,4 @@ interface HazoUiEtaProgressProps {
|
|
|
2248
2290
|
*/
|
|
2249
2291
|
declare function HazoUiEtaProgress({ estimateKey, unitCount, concurrency, windowSize, fallbackUnitMs, level, label, endpoint, handleRef, className, }: HazoUiEtaProgressProps): react_jsx_runtime.JSX.Element;
|
|
2250
2292
|
|
|
2251
|
-
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, 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, HazoContextProvider, type HazoContextProviderProps, 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, HazoUiKanban, HazoUiKanbanFilter, type HazoUiKanbanFilterProps, type HazoUiKanbanProps, 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, 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, LineChart, type LineChartProps, LoadingTimeout, type LoadingTimeoutProps, type Logger, MarkdownEditor, type MarkdownEditorProps, type MarkdownEmbed, MultiLineChart, type MultiLineChartProps, type MultiSeries, 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, 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, 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, useClickOutside, useCopyToClipboard, useDebounce, useErrorDisplay, useEtaProgress, useFullscreen, useIsMobile, useLoadingState, useLocalStorage, useMediaQuery, useSessionStorage, useViewport, useWakeLock, use_fullscreen, use_wake_lock };
|
|
2293
|
+
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, 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, 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, HazoUiKanban, HazoUiKanbanFilter, type HazoUiKanbanFilterProps, type HazoUiKanbanProps, 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, 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, LineChart, type LineChartProps, LoadingTimeout, type LoadingTimeoutProps, type Logger, MarkdownEditor, type MarkdownEditorProps, type MarkdownEmbed, MultiLineChart, type MultiLineChartProps, type MultiSeries, 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, 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, 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, useClickOutside, useCopyToClipboard, useDebounce, useErrorDisplay, useEtaProgress, useFullscreen, useIsMobile, useLoadingState, useLocalStorage, useMediaQuery, useSessionStorage, useViewport, useWakeLock, use_fullscreen, use_wake_lock };
|
package/dist/index.js
CHANGED
|
@@ -10360,6 +10360,219 @@ function DateRangeSelector({
|
|
|
10360
10360
|
}
|
|
10361
10361
|
);
|
|
10362
10362
|
}
|
|
10363
|
+
var PAD_LEFT4 = 80;
|
|
10364
|
+
var PAD_RIGHT4 = 72;
|
|
10365
|
+
var PAD_TOP4 = 12;
|
|
10366
|
+
var PAD_BOTTOM4 = 12;
|
|
10367
|
+
var ROW_H = 44;
|
|
10368
|
+
var LABEL_H = 14;
|
|
10369
|
+
var BAR_H = 22;
|
|
10370
|
+
var AXIS_LABEL_COLOR4 = "#8b949e";
|
|
10371
|
+
var GRIDLINE_COLOR3 = "#2a3441";
|
|
10372
|
+
function step_total(step) {
|
|
10373
|
+
if (step.value !== void 0) return step.value;
|
|
10374
|
+
if (step.segments) return step.segments.reduce((s, g) => s + g.value, 0);
|
|
10375
|
+
return 0;
|
|
10376
|
+
}
|
|
10377
|
+
function FunnelChart({
|
|
10378
|
+
steps,
|
|
10379
|
+
width = 360,
|
|
10380
|
+
height,
|
|
10381
|
+
color: color2 = "#3b82f6",
|
|
10382
|
+
valueFormat,
|
|
10383
|
+
showDropoff = true,
|
|
10384
|
+
showTooltip = true,
|
|
10385
|
+
className
|
|
10386
|
+
}) {
|
|
10387
|
+
const [hover_idx, set_hover_idx] = React26.useState(null);
|
|
10388
|
+
const fmt = valueFormat ?? format_num;
|
|
10389
|
+
const totals = steps.map(step_total);
|
|
10390
|
+
const value_max = Math.max(1, ...totals);
|
|
10391
|
+
const plot_w = width - PAD_LEFT4 - PAD_RIGHT4;
|
|
10392
|
+
const vbox_h = height ?? PAD_TOP4 + steps.length * ROW_H + PAD_BOTTOM4;
|
|
10393
|
+
const handle_mouse_move = React26.useCallback(
|
|
10394
|
+
(e) => {
|
|
10395
|
+
if (steps.length === 0) return;
|
|
10396
|
+
const rect = e.currentTarget.getBoundingClientRect();
|
|
10397
|
+
if (rect.height === 0) return;
|
|
10398
|
+
const vbox_y = (e.clientY - rect.top) / rect.height * vbox_h;
|
|
10399
|
+
const row_idx = Math.floor((vbox_y - PAD_TOP4) / ROW_H);
|
|
10400
|
+
if (row_idx < 0 || row_idx >= steps.length) {
|
|
10401
|
+
set_hover_idx(null);
|
|
10402
|
+
return;
|
|
10403
|
+
}
|
|
10404
|
+
set_hover_idx(row_idx);
|
|
10405
|
+
},
|
|
10406
|
+
[steps.length, vbox_h]
|
|
10407
|
+
);
|
|
10408
|
+
const handle_mouse_leave = React26.useCallback(() => set_hover_idx(null), []);
|
|
10409
|
+
return /* @__PURE__ */ jsxs(
|
|
10410
|
+
"svg",
|
|
10411
|
+
{
|
|
10412
|
+
viewBox: `0 0 ${width} ${vbox_h}`,
|
|
10413
|
+
onMouseMove: showTooltip ? handle_mouse_move : void 0,
|
|
10414
|
+
onMouseLeave: showTooltip ? handle_mouse_leave : void 0,
|
|
10415
|
+
className: cn("cls_hazo_chart cls_hazo_chart_funnel", className),
|
|
10416
|
+
style: {
|
|
10417
|
+
width: "100%",
|
|
10418
|
+
height: "auto",
|
|
10419
|
+
display: "block",
|
|
10420
|
+
cursor: showTooltip ? "crosshair" : "default"
|
|
10421
|
+
},
|
|
10422
|
+
children: [
|
|
10423
|
+
steps.length > 0 && /* @__PURE__ */ jsx(
|
|
10424
|
+
"line",
|
|
10425
|
+
{
|
|
10426
|
+
x1: PAD_LEFT4 + plot_w / 2,
|
|
10427
|
+
x2: PAD_LEFT4 + plot_w / 2,
|
|
10428
|
+
y1: PAD_TOP4,
|
|
10429
|
+
y2: PAD_TOP4 + steps.length * ROW_H,
|
|
10430
|
+
stroke: GRIDLINE_COLOR3,
|
|
10431
|
+
strokeWidth: 0.5,
|
|
10432
|
+
strokeDasharray: "2,3"
|
|
10433
|
+
}
|
|
10434
|
+
),
|
|
10435
|
+
steps.map((step, i) => {
|
|
10436
|
+
const total = totals[i];
|
|
10437
|
+
const bar_w = total / value_max * plot_w;
|
|
10438
|
+
const bar_x = PAD_LEFT4 + (plot_w - bar_w) / 2;
|
|
10439
|
+
const bar_y = PAD_TOP4 + i * ROW_H + LABEL_H;
|
|
10440
|
+
const pct_first = i === 0 ? 100 : Math.round(total / (totals[0] || 1) * 100);
|
|
10441
|
+
const value_label = i === 0 ? `${fmt(total)} (100%)` : `${fmt(total)} (${pct_first}%)`;
|
|
10442
|
+
const dropoff = i > 0 ? totals[i - 1] - total : 0;
|
|
10443
|
+
const label_x = bar_x + bar_w + 6;
|
|
10444
|
+
return /* @__PURE__ */ jsxs("g", { children: [
|
|
10445
|
+
/* @__PURE__ */ jsx(
|
|
10446
|
+
"text",
|
|
10447
|
+
{
|
|
10448
|
+
x: PAD_LEFT4 - 6,
|
|
10449
|
+
y: bar_y + BAR_H / 2 + 4,
|
|
10450
|
+
textAnchor: "end",
|
|
10451
|
+
fill: AXIS_LABEL_COLOR4,
|
|
10452
|
+
fontSize: 9,
|
|
10453
|
+
children: step.label
|
|
10454
|
+
}
|
|
10455
|
+
),
|
|
10456
|
+
step.segments ? (() => {
|
|
10457
|
+
let cursor_x = bar_x;
|
|
10458
|
+
return step.segments.map((seg, s_idx) => {
|
|
10459
|
+
const seg_w = seg.value / value_max * plot_w;
|
|
10460
|
+
const x = cursor_x;
|
|
10461
|
+
cursor_x += seg_w;
|
|
10462
|
+
return /* @__PURE__ */ jsx(
|
|
10463
|
+
"rect",
|
|
10464
|
+
{
|
|
10465
|
+
x,
|
|
10466
|
+
y: bar_y,
|
|
10467
|
+
width: seg_w,
|
|
10468
|
+
height: BAR_H,
|
|
10469
|
+
fill: seg.color
|
|
10470
|
+
},
|
|
10471
|
+
`seg_${s_idx}`
|
|
10472
|
+
);
|
|
10473
|
+
});
|
|
10474
|
+
})() : /* @__PURE__ */ jsx("rect", { x: bar_x, y: bar_y, width: bar_w, height: BAR_H, fill: color2 }),
|
|
10475
|
+
/* @__PURE__ */ jsx(
|
|
10476
|
+
"text",
|
|
10477
|
+
{
|
|
10478
|
+
x: label_x,
|
|
10479
|
+
y: bar_y + BAR_H / 2,
|
|
10480
|
+
textAnchor: "start",
|
|
10481
|
+
fill: color2,
|
|
10482
|
+
fontSize: 9,
|
|
10483
|
+
dominantBaseline: "middle",
|
|
10484
|
+
children: value_label
|
|
10485
|
+
}
|
|
10486
|
+
),
|
|
10487
|
+
showDropoff && i > 0 && /* @__PURE__ */ jsx(
|
|
10488
|
+
"text",
|
|
10489
|
+
{
|
|
10490
|
+
x: label_x,
|
|
10491
|
+
y: bar_y + BAR_H / 2 + 10,
|
|
10492
|
+
textAnchor: "start",
|
|
10493
|
+
fill: AXIS_LABEL_COLOR4,
|
|
10494
|
+
fontSize: 8,
|
|
10495
|
+
children: `\u2212${fmt(dropoff)}`
|
|
10496
|
+
}
|
|
10497
|
+
)
|
|
10498
|
+
] }, `step_${i}`);
|
|
10499
|
+
}),
|
|
10500
|
+
showTooltip && hover_idx !== null && (() => {
|
|
10501
|
+
const i = hover_idx;
|
|
10502
|
+
const step = steps[i];
|
|
10503
|
+
const total = totals[i];
|
|
10504
|
+
const pct_first = i === 0 ? 100 : Math.round(total / (totals[0] || 1) * 100);
|
|
10505
|
+
const pct_prev = i === 0 ? 100 : Math.round(total / (totals[i - 1] || 1) * 100);
|
|
10506
|
+
const dropoff = i > 0 ? totals[i - 1] - total : 0;
|
|
10507
|
+
const bar_w = total / value_max * plot_w;
|
|
10508
|
+
const bar_x = PAD_LEFT4 + (plot_w - bar_w) / 2;
|
|
10509
|
+
const bar_y = PAD_TOP4 + i * ROW_H + LABEL_H;
|
|
10510
|
+
const bubble_anchor_y = bar_y + BAR_H / 2;
|
|
10511
|
+
const lines = [
|
|
10512
|
+
{ text: step.label, accent: true },
|
|
10513
|
+
{ text: `Total: ${fmt(total)}`, accent: false },
|
|
10514
|
+
{ text: `% of first: ${pct_first}%`, accent: false }
|
|
10515
|
+
];
|
|
10516
|
+
if (i > 0) {
|
|
10517
|
+
lines.push({ text: `% of prev: ${pct_prev}%`, accent: false });
|
|
10518
|
+
lines.push({ text: `Drop-off: \u2212${fmt(dropoff)}`, accent: false });
|
|
10519
|
+
}
|
|
10520
|
+
if (step.segments) {
|
|
10521
|
+
step.segments.forEach((seg) => {
|
|
10522
|
+
lines.push({ text: `${seg.label}: ${fmt(seg.value)}`, accent: false });
|
|
10523
|
+
});
|
|
10524
|
+
}
|
|
10525
|
+
const line_h = 13;
|
|
10526
|
+
const pad_v = 8;
|
|
10527
|
+
const bubble_w = 120;
|
|
10528
|
+
const bubble_h = lines.length * line_h + pad_v * 2;
|
|
10529
|
+
const right_x = bar_x + bar_w + 6;
|
|
10530
|
+
const left_x = bar_x - bubble_w - 6;
|
|
10531
|
+
const fits_right = right_x + bubble_w <= width - 4;
|
|
10532
|
+
const fits_left = left_x >= 4;
|
|
10533
|
+
let bubble_x;
|
|
10534
|
+
let bubble_y;
|
|
10535
|
+
if (fits_right || fits_left) {
|
|
10536
|
+
bubble_x = fits_right ? right_x : left_x;
|
|
10537
|
+
bubble_y = Math.max(4, Math.min(bubble_anchor_y - bubble_h / 2, vbox_h - bubble_h - 4));
|
|
10538
|
+
} else {
|
|
10539
|
+
bubble_x = Math.min(Math.max(bar_x + bar_w / 2 - bubble_w / 2, 4), width - bubble_w - 4);
|
|
10540
|
+
const below_y = bar_y + BAR_H + 6;
|
|
10541
|
+
bubble_y = below_y + bubble_h <= vbox_h - 4 ? below_y : Math.max(4, bar_y - bubble_h - 6);
|
|
10542
|
+
}
|
|
10543
|
+
return /* @__PURE__ */ jsxs("g", { children: [
|
|
10544
|
+
/* @__PURE__ */ jsx(
|
|
10545
|
+
"rect",
|
|
10546
|
+
{
|
|
10547
|
+
x: bubble_x,
|
|
10548
|
+
y: bubble_y,
|
|
10549
|
+
width: bubble_w,
|
|
10550
|
+
height: bubble_h,
|
|
10551
|
+
rx: 3,
|
|
10552
|
+
fill: "#0d1117",
|
|
10553
|
+
stroke: color2,
|
|
10554
|
+
strokeWidth: 0.5,
|
|
10555
|
+
fillOpacity: 0.92
|
|
10556
|
+
}
|
|
10557
|
+
),
|
|
10558
|
+
lines.map((line, k) => /* @__PURE__ */ jsx(
|
|
10559
|
+
"text",
|
|
10560
|
+
{
|
|
10561
|
+
x: bubble_x + 7,
|
|
10562
|
+
y: bubble_y + pad_v + k * line_h + line_h * 0.75,
|
|
10563
|
+
fill: line.accent ? color2 : AXIS_LABEL_COLOR4,
|
|
10564
|
+
fontSize: line.accent ? 10 : 8,
|
|
10565
|
+
fontWeight: line.accent ? 700 : 400,
|
|
10566
|
+
children: line.text
|
|
10567
|
+
},
|
|
10568
|
+
k
|
|
10569
|
+
))
|
|
10570
|
+
] });
|
|
10571
|
+
})()
|
|
10572
|
+
]
|
|
10573
|
+
}
|
|
10574
|
+
);
|
|
10575
|
+
}
|
|
10363
10576
|
|
|
10364
10577
|
// src/assets/celebration-chime.mp3
|
|
10365
10578
|
var celebration_chime_default = "data:text/plain;charset=utf-8,";
|
|
@@ -10817,6 +11030,6 @@ function HazoUiEtaProgress({
|
|
|
10817
11030
|
);
|
|
10818
11031
|
}
|
|
10819
11032
|
|
|
10820
|
-
export { ANIMATION_PRESETS, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, CELEBRATION_GRADIENT, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CelebrationProvider, Checkbox, Collapsible, CollapsibleContent2 as CollapsibleContent, CollapsibleTrigger2 as CollapsibleTrigger, CommandNodeExtension, CommandPill, CommandPopover, DateRangeSelector, 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, ErrorBanner, ErrorPage, HazoContextProvider, 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, HazoUiEtaProgress, HazoUiFlexInput, HazoUiFlexRadio, HazoUiKanban, HazoUiKanbanFilter, HazoUiMultiFilterDialog, HazoUiMultiSortDialog, HazoUiPillRadio, HazoUiProgressBar, HazoUiRte, HazoUiTable, HazoUiTextarea, HazoUiTextbox, HazoUiToaster, HoverCard, HoverCardContent, HoverCardTrigger, Input, InverseSparkline, Label3 as Label, LineChart, LoadingTimeout, MarkdownEditor, MultiLineChart, Popover, PopoverContent, PopoverTrigger, ProgressiveImage, 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, Skeleton, SkeletonBar, SkeletonCircle, SkeletonGroup, SkeletonRect, Sparkline, Spinner, StackedBars, Switch, Table2 as Table, TableBody, TableCaption, TableCell2 as TableCell, TableFooter, TableHead, TableHeader2 as TableHeader, TableRow2 as TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, applyKanbanFilter, buttonGroupVariants, celebrate, cn, 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, useClickOutside, useCopyToClipboard, useDebounce, useErrorDisplay, useEtaProgress, useFullscreen, useIsMobile, useLoadingState, useLocalStorage, useMediaQuery, useSessionStorage, useViewport, useWakeLock, use_fullscreen, use_wake_lock };
|
|
11033
|
+
export { ANIMATION_PRESETS, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, CELEBRATION_GRADIENT, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CelebrationProvider, Checkbox, Collapsible, CollapsibleContent2 as CollapsibleContent, CollapsibleTrigger2 as CollapsibleTrigger, CommandNodeExtension, CommandPill, CommandPopover, DateRangeSelector, 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, ErrorBanner, ErrorPage, FunnelChart, HazoContextProvider, 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, HazoUiEtaProgress, HazoUiFlexInput, HazoUiFlexRadio, HazoUiKanban, HazoUiKanbanFilter, HazoUiMultiFilterDialog, HazoUiMultiSortDialog, HazoUiPillRadio, HazoUiProgressBar, HazoUiRte, HazoUiTable, HazoUiTextarea, HazoUiTextbox, HazoUiToaster, HoverCard, HoverCardContent, HoverCardTrigger, Input, InverseSparkline, Label3 as Label, LineChart, LoadingTimeout, MarkdownEditor, MultiLineChart, Popover, PopoverContent, PopoverTrigger, ProgressiveImage, 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, Skeleton, SkeletonBar, SkeletonCircle, SkeletonGroup, SkeletonRect, Sparkline, Spinner, StackedBars, Switch, Table2 as Table, TableBody, TableCaption, TableCell2 as TableCell, TableFooter, TableHead, TableHeader2 as TableHeader, TableRow2 as TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, applyKanbanFilter, buttonGroupVariants, celebrate, cn, 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, useClickOutside, useCopyToClipboard, useDebounce, useErrorDisplay, useEtaProgress, useFullscreen, useIsMobile, useLoadingState, useLocalStorage, useMediaQuery, useSessionStorage, useViewport, useWakeLock, use_fullscreen, use_wake_lock };
|
|
10821
11034
|
//# sourceMappingURL=index.js.map
|
|
10822
11035
|
//# sourceMappingURL=index.js.map
|