hazo_ui 4.1.1 → 4.3.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 +17 -0
- package/README.md +97 -0
- package/dist/index.cjs +362 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +229 -38
- package/dist/index.d.ts +229 -38
- package/dist/index.js +355 -18
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export { cn } from './index.utils.cjs';
|
|
2
2
|
import * as React$1 from 'react';
|
|
3
3
|
import { ReactNode, RefObject } from 'react';
|
|
4
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
4
|
import { ICommand } from '@uiw/react-md-editor';
|
|
6
5
|
export { ICommand as MarkdownEditorCommand } from '@uiw/react-md-editor';
|
|
7
6
|
import { Node, Extension } from '@tiptap/core';
|
|
@@ -220,7 +219,7 @@ interface HazoUiMultiFilterDialogProps {
|
|
|
220
219
|
clearButtonTextColor?: string;
|
|
221
220
|
clearButtonBorderColor?: string;
|
|
222
221
|
}
|
|
223
|
-
declare function HazoUiMultiFilterDialog({ availableFields, onFilterChange, initialFilters, title, description, headerBackgroundColor, headerTextColor, submitButtonBackgroundColor, submitButtonTextColor, cancelButtonBackgroundColor, cancelButtonTextColor, cancelButtonBorderColor, clearButtonBackgroundColor, clearButtonTextColor, clearButtonBorderColor, }: HazoUiMultiFilterDialogProps):
|
|
222
|
+
declare function HazoUiMultiFilterDialog({ availableFields, onFilterChange, initialFilters, title, description, headerBackgroundColor, headerTextColor, submitButtonBackgroundColor, submitButtonTextColor, cancelButtonBackgroundColor, cancelButtonTextColor, cancelButtonBorderColor, clearButtonBackgroundColor, clearButtonTextColor, clearButtonBorderColor, }: HazoUiMultiFilterDialogProps): React$1.JSX.Element;
|
|
224
223
|
|
|
225
224
|
interface SortField {
|
|
226
225
|
value: string;
|
|
@@ -247,7 +246,7 @@ interface HazoUiMultiSortDialogProps {
|
|
|
247
246
|
clearButtonTextColor?: string;
|
|
248
247
|
clearButtonBorderColor?: string;
|
|
249
248
|
}
|
|
250
|
-
declare function HazoUiMultiSortDialog({ availableFields, onSortChange, initialSortFields, title, description, headerBackgroundColor, headerTextColor, submitButtonBackgroundColor, submitButtonTextColor, cancelButtonBackgroundColor, cancelButtonTextColor, cancelButtonBorderColor, clearButtonBackgroundColor, clearButtonTextColor, clearButtonBorderColor, }: HazoUiMultiSortDialogProps):
|
|
249
|
+
declare function HazoUiMultiSortDialog({ availableFields, onSortChange, initialSortFields, title, description, headerBackgroundColor, headerTextColor, submitButtonBackgroundColor, submitButtonTextColor, cancelButtonBackgroundColor, cancelButtonTextColor, cancelButtonBorderColor, clearButtonBackgroundColor, clearButtonTextColor, clearButtonBorderColor, }: HazoUiMultiSortDialogProps): React$1.JSX.Element;
|
|
251
250
|
|
|
252
251
|
interface HazoUiFlexRadioItem {
|
|
253
252
|
label: string;
|
|
@@ -273,7 +272,7 @@ interface HazoUiFlexRadioProps {
|
|
|
273
272
|
* Hazo UI Flex Radio Component
|
|
274
273
|
* Supports single and multi-selection with radio buttons or icons
|
|
275
274
|
*/
|
|
276
|
-
declare function HazoUiFlexRadio({ layout, style, display_label, icon_set, data, selection, value, onChange, className, compressed, }: HazoUiFlexRadioProps):
|
|
275
|
+
declare function HazoUiFlexRadio({ layout, style, display_label, icon_set, data, selection, value, onChange, className, compressed, }: HazoUiFlexRadioProps): React$1.JSX.Element;
|
|
277
276
|
|
|
278
277
|
interface HazoUiPillRadioItem {
|
|
279
278
|
label: string;
|
|
@@ -291,7 +290,7 @@ interface HazoUiPillRadioProps {
|
|
|
291
290
|
pill_size?: "sm" | "md" | "lg";
|
|
292
291
|
equal_width?: boolean;
|
|
293
292
|
}
|
|
294
|
-
declare function HazoUiPillRadio({ layout, icon_set, data, value, onChange, className, pill_size, equal_width, }: HazoUiPillRadioProps):
|
|
293
|
+
declare function HazoUiPillRadio({ layout, icon_set, data, value, onChange, className, pill_size, equal_width, }: HazoUiPillRadioProps): React$1.JSX.Element;
|
|
295
294
|
|
|
296
295
|
interface InputProps extends React$1.InputHTMLAttributes<HTMLInputElement> {
|
|
297
296
|
}
|
|
@@ -424,7 +423,7 @@ interface MarkdownEditorProps {
|
|
|
424
423
|
/** Whether the custom preview pane is visible. Default true (when renderPreview set). */
|
|
425
424
|
showPreview?: boolean;
|
|
426
425
|
}
|
|
427
|
-
declare function MarkdownEditor({ value, onChange, height, placeholder, className, colorMode, preview, embeds, extraCommands, onImageUpload, renderPreview, showPreview, }: MarkdownEditorProps):
|
|
426
|
+
declare function MarkdownEditor({ value, onChange, height, placeholder, className, colorMode, preview, embeds, extraCommands, onImageUpload, renderPreview, showPreview, }: MarkdownEditorProps): React$1.JSX.Element;
|
|
428
427
|
declare namespace MarkdownEditor {
|
|
429
428
|
var displayName: string;
|
|
430
429
|
}
|
|
@@ -830,6 +829,19 @@ declare const ANIMATION_PRESETS: Record<AnimationPreset, {
|
|
|
830
829
|
*/
|
|
831
830
|
declare function resolve_animation_classes(open_anim?: AnimationPreset | string, close_anim?: AnimationPreset | string): string;
|
|
832
831
|
|
|
832
|
+
/**
|
|
833
|
+
* hazo_ui_dialog/index.tsx
|
|
834
|
+
*
|
|
835
|
+
* Purpose: Standardized, reusable dialog component built on shadcn's Dialog primitive
|
|
836
|
+
* Features:
|
|
837
|
+
* - Standardized header and footer layout
|
|
838
|
+
* - Customizable content area
|
|
839
|
+
* - Flexible animation system (presets + custom)
|
|
840
|
+
* - Responsive sizing (viewport-relative up to limits)
|
|
841
|
+
* - Background overlay customization
|
|
842
|
+
* - CSS variable-based theming
|
|
843
|
+
*/
|
|
844
|
+
|
|
833
845
|
type ButtonVariant = "default" | "destructive" | "outline" | "secondary" | "ghost" | "link";
|
|
834
846
|
type DialogVariant = 'default' | 'info' | 'success' | 'warning' | 'destructive';
|
|
835
847
|
interface HazoUiDialogProps {
|
|
@@ -904,7 +916,21 @@ interface HazoUiDialogProps {
|
|
|
904
916
|
*
|
|
905
917
|
* A flexible dialog component with standardized layout and customizable behavior
|
|
906
918
|
*/
|
|
907
|
-
declare function HazoUiDialog({ open, onOpenChange, children, onConfirm, onCancel, title, description, actionButtonText, actionButtonVariant, cancelButtonText, showCancelButton, actionButtonLoading, actionButtonDisabled, actionButtonIcon, footerContent, sizeWidth, sizeHeight, fixedSize, openAnimation, closeAnimation, variant, splitHeader, headerBackgroundColor, descriptionBackgroundColor, headerTextColor, bodyBackgroundColor, footerBackgroundColor, borderColor, accentColor, headerBar, headerBarColor, className, contentClassName, overlayClassName, headerClassName, footerClassName, showCloseButton, }: HazoUiDialogProps):
|
|
919
|
+
declare function HazoUiDialog({ open, onOpenChange, children, onConfirm, onCancel, title, description, actionButtonText, actionButtonVariant, cancelButtonText, showCancelButton, actionButtonLoading, actionButtonDisabled, actionButtonIcon, footerContent, sizeWidth, sizeHeight, fixedSize, openAnimation, closeAnimation, variant, splitHeader, headerBackgroundColor, descriptionBackgroundColor, headerTextColor, bodyBackgroundColor, footerBackgroundColor, borderColor, accentColor, headerBar, headerBarColor, className, contentClassName, overlayClassName, headerClassName, footerClassName, showCloseButton, }: HazoUiDialogProps): React$1.JSX.Element;
|
|
920
|
+
|
|
921
|
+
/**
|
|
922
|
+
* hazo_ui_confirm_dialog/index.tsx
|
|
923
|
+
*
|
|
924
|
+
* Purpose: Compact, opinionated confirmation dialog for confirmations,
|
|
925
|
+
* acknowledgments, and destructive action prompts.
|
|
926
|
+
* Features:
|
|
927
|
+
* - Accent top border colored by variant
|
|
928
|
+
* - Variant system (default, destructive, warning, info, success)
|
|
929
|
+
* - Async onConfirm with auto-loading state
|
|
930
|
+
* - Configurable buttons (confirm + optional cancel)
|
|
931
|
+
* - ReactNode children or simple description string
|
|
932
|
+
* - Integrates with hazo_ui_config for theming
|
|
933
|
+
*/
|
|
908
934
|
|
|
909
935
|
type ConfirmDialogVariant = 'default' | 'destructive' | 'warning' | 'info' | 'success';
|
|
910
936
|
interface HazoUiConfirmDialogProps {
|
|
@@ -932,7 +958,89 @@ interface HazoUiConfirmDialogProps {
|
|
|
932
958
|
* A compact, opinionated confirmation dialog with variant-driven styling,
|
|
933
959
|
* accent top border, and async loading support.
|
|
934
960
|
*/
|
|
935
|
-
declare function HazoUiConfirmDialog({ open, onOpenChange, title, description, children, variant, confirmLabel, cancelLabel, showCancelButton, onConfirm, onCancel, loading: external_loading, disabled, accentColor, confirmButtonColor, openAnimation, closeAnimation, }: HazoUiConfirmDialogProps):
|
|
961
|
+
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;
|
|
962
|
+
|
|
963
|
+
/**
|
|
964
|
+
* hazo_ui_image_cropper/index.tsx
|
|
965
|
+
*
|
|
966
|
+
* Purpose: Round profile-photo cropper with pan/zoom, outputs a 512×512 WebP Blob.
|
|
967
|
+
* Wraps react-easy-crop with a Slider for zoom control and exposes an imperative
|
|
968
|
+
* handle so parent components can trigger blob production on demand.
|
|
969
|
+
*/
|
|
970
|
+
|
|
971
|
+
/** Imperative handle exposed via forwardRef for on-demand blob production. */
|
|
972
|
+
interface HazoUiImageCropperHandle {
|
|
973
|
+
/** Produces the cropped WebP blob using the current pan/zoom state. */
|
|
974
|
+
getCroppedBlob: () => Promise<Blob>;
|
|
975
|
+
}
|
|
976
|
+
interface HazoUiImageCropperProps {
|
|
977
|
+
/** URL or object URL of the source image to crop. */
|
|
978
|
+
imageSrc: string;
|
|
979
|
+
/**
|
|
980
|
+
* Optional callback invoked after the blob is produced.
|
|
981
|
+
* The dialog wrapper uses the imperative handle instead, but direct consumers
|
|
982
|
+
* can wire this for convenience.
|
|
983
|
+
*/
|
|
984
|
+
onCropped?: (blob: Blob) => void | Promise<void>;
|
|
985
|
+
/** Output canvas size in pixels (width = height). Defaults to 512. */
|
|
986
|
+
outputSize?: number;
|
|
987
|
+
/** WebP quality 0–1. Defaults to 0.9. */
|
|
988
|
+
quality?: number;
|
|
989
|
+
/** Label for the zoom slider — pass a translated string. Defaults to "Zoom". */
|
|
990
|
+
zoomLabel?: string;
|
|
991
|
+
/** Additional className for the root container. */
|
|
992
|
+
className?: string;
|
|
993
|
+
}
|
|
994
|
+
/**
|
|
995
|
+
* HazoUiImageCropper
|
|
996
|
+
*
|
|
997
|
+
* Round profile-photo cropper with pan/zoom support.
|
|
998
|
+
* Accepts a `ref` that exposes `getCroppedBlob()` for on-demand production.
|
|
999
|
+
*/
|
|
1000
|
+
declare const HazoUiImageCropper: React$1.ForwardRefExoticComponent<HazoUiImageCropperProps & React$1.RefAttributes<HazoUiImageCropperHandle>>;
|
|
1001
|
+
|
|
1002
|
+
/**
|
|
1003
|
+
* hazo_ui_image_cropper_dialog/index.tsx
|
|
1004
|
+
*
|
|
1005
|
+
* Purpose: Dialog wrapper around HazoUiImageCropper.
|
|
1006
|
+
* Manages a File → object URL lifecycle, triggers crop on Confirm,
|
|
1007
|
+
* and exposes all string labels as props so consuming apps can pass
|
|
1008
|
+
* translated strings without requiring next-intl in this package.
|
|
1009
|
+
*/
|
|
1010
|
+
|
|
1011
|
+
interface HazoUiImageCropperDialogProps {
|
|
1012
|
+
/** Whether the dialog is open. */
|
|
1013
|
+
open: boolean;
|
|
1014
|
+
/** Called when the dialog open state should change. */
|
|
1015
|
+
onOpenChange: (open: boolean) => void;
|
|
1016
|
+
/** The File to crop. Pass null to close / clear the dialog. */
|
|
1017
|
+
file: File | null;
|
|
1018
|
+
/** Called with the resulting WebP Blob when the user confirms. */
|
|
1019
|
+
onConfirm: (blob: Blob) => void | Promise<void>;
|
|
1020
|
+
/** Called when the user cancels (before the dialog closes). */
|
|
1021
|
+
onCancel?: () => void;
|
|
1022
|
+
/** Dialog title. Defaults to "Crop photo". */
|
|
1023
|
+
title?: string;
|
|
1024
|
+
/** Confirm/Save button label. Defaults to "Save". */
|
|
1025
|
+
confirmLabel?: string;
|
|
1026
|
+
/** Cancel button label. Defaults to "Cancel". */
|
|
1027
|
+
cancelLabel?: string;
|
|
1028
|
+
/** Zoom slider label. Defaults to "Zoom". */
|
|
1029
|
+
zoomLabel?: string;
|
|
1030
|
+
/** Output canvas size in pixels (width = height). Defaults to 512. */
|
|
1031
|
+
outputSize?: number;
|
|
1032
|
+
/** WebP quality 0–1. Defaults to 0.9. */
|
|
1033
|
+
quality?: number;
|
|
1034
|
+
}
|
|
1035
|
+
/**
|
|
1036
|
+
* HazoUiImageCropperDialog
|
|
1037
|
+
*
|
|
1038
|
+
* Wraps HazoUiImageCropper inside HazoUiDialog. The Confirm button calls the
|
|
1039
|
+
* cropper's imperative `getCroppedBlob()`, passes the blob to `onConfirm`,
|
|
1040
|
+
* then closes the dialog. `actionButtonLoading` is set while the blob is being
|
|
1041
|
+
* produced to prevent double-clicks.
|
|
1042
|
+
*/
|
|
1043
|
+
declare function HazoUiImageCropperDialog({ open, onOpenChange, file, onConfirm, onCancel, title, confirmLabel, cancelLabel, zoomLabel, outputSize, quality, }: HazoUiImageCropperDialogProps): React$1.JSX.Element;
|
|
936
1044
|
|
|
937
1045
|
declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
|
|
938
1046
|
declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -941,18 +1049,18 @@ declare const DialogClose: React$1.ForwardRefExoticComponent<DialogPrimitive.Dia
|
|
|
941
1049
|
declare const DialogOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
942
1050
|
declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
943
1051
|
declare const DialogHeader: {
|
|
944
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>):
|
|
1052
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
|
|
945
1053
|
displayName: string;
|
|
946
1054
|
};
|
|
947
1055
|
declare const DialogFooter: {
|
|
948
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>):
|
|
1056
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
|
|
949
1057
|
displayName: string;
|
|
950
1058
|
};
|
|
951
1059
|
declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
952
1060
|
declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
953
1061
|
|
|
954
1062
|
declare const Drawer: {
|
|
955
|
-
({ shouldScaleBackground, ...props }: React$1.ComponentProps<typeof Drawer$1.Root>):
|
|
1063
|
+
({ shouldScaleBackground, ...props }: React$1.ComponentProps<typeof Drawer$1.Root>): React$1.JSX.Element;
|
|
956
1064
|
displayName: string;
|
|
957
1065
|
};
|
|
958
1066
|
declare const DrawerTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -961,11 +1069,11 @@ declare const DrawerClose: React$1.ForwardRefExoticComponent<DialogPrimitive.Dia
|
|
|
961
1069
|
declare const DrawerOverlay: React$1.ForwardRefExoticComponent<Omit<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
962
1070
|
declare const DrawerContent: React$1.ForwardRefExoticComponent<Omit<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
963
1071
|
declare const DrawerHeader: {
|
|
964
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>):
|
|
1072
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
|
|
965
1073
|
displayName: string;
|
|
966
1074
|
};
|
|
967
1075
|
declare const DrawerFooter: {
|
|
968
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>):
|
|
1076
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
|
|
969
1077
|
displayName: string;
|
|
970
1078
|
};
|
|
971
1079
|
declare const DrawerTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
@@ -999,7 +1107,7 @@ interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, V
|
|
|
999
1107
|
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1000
1108
|
|
|
1001
1109
|
type CalendarProps = React$1.ComponentProps<typeof DayPicker>;
|
|
1002
|
-
declare function Calendar({ className, classNames, showOutsideDays, ...props }: CalendarProps):
|
|
1110
|
+
declare function Calendar({ className, classNames, showOutsideDays, ...props }: CalendarProps): React$1.JSX.Element;
|
|
1003
1111
|
declare namespace Calendar {
|
|
1004
1112
|
var displayName: string;
|
|
1005
1113
|
}
|
|
@@ -1042,7 +1150,7 @@ declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<Dropdown
|
|
|
1042
1150
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
1043
1151
|
declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1044
1152
|
declare const DropdownMenuShortcut: {
|
|
1045
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>):
|
|
1153
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): React$1.JSX.Element;
|
|
1046
1154
|
displayName: string;
|
|
1047
1155
|
};
|
|
1048
1156
|
|
|
@@ -1113,7 +1221,7 @@ interface SpinnerProps {
|
|
|
1113
1221
|
className?: string;
|
|
1114
1222
|
size?: "sm" | "md" | "lg";
|
|
1115
1223
|
}
|
|
1116
|
-
declare function Spinner({ className, size }: SpinnerProps):
|
|
1224
|
+
declare function Spinner({ className, size }: SpinnerProps): React$1.JSX.Element;
|
|
1117
1225
|
|
|
1118
1226
|
declare const toggleVariants: (props?: ({
|
|
1119
1227
|
variant?: "default" | "outline" | null | undefined;
|
|
@@ -1139,11 +1247,11 @@ declare const AlertDialogPortal: React$1.FC<AlertDialogPrimitive.AlertDialogPort
|
|
|
1139
1247
|
declare const AlertDialogOverlay: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1140
1248
|
declare const AlertDialogContent: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1141
1249
|
declare const AlertDialogHeader: {
|
|
1142
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>):
|
|
1250
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
|
|
1143
1251
|
displayName: string;
|
|
1144
1252
|
};
|
|
1145
1253
|
declare const AlertDialogFooter: {
|
|
1146
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>):
|
|
1254
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
|
|
1147
1255
|
displayName: string;
|
|
1148
1256
|
};
|
|
1149
1257
|
declare const AlertDialogTitle: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
@@ -1154,11 +1262,11 @@ declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<AlertDia
|
|
|
1154
1262
|
declare const buttonGroupVariants: (props?: ({
|
|
1155
1263
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
1156
1264
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1157
|
-
declare function ButtonGroup({ className, orientation, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof buttonGroupVariants>):
|
|
1265
|
+
declare function ButtonGroup({ className, orientation, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof buttonGroupVariants>): React$1.JSX.Element;
|
|
1158
1266
|
declare function ButtonGroupText({ className, asChild, ...props }: React$1.ComponentProps<"div"> & {
|
|
1159
1267
|
asChild?: boolean;
|
|
1160
|
-
}):
|
|
1161
|
-
declare function ButtonGroupSeparator({ className, orientation, ...props }: React$1.ComponentProps<typeof Separator>):
|
|
1268
|
+
}): React$1.JSX.Element;
|
|
1269
|
+
declare function ButtonGroupSeparator({ className, orientation, ...props }: React$1.ComponentProps<typeof Separator>): React$1.JSX.Element;
|
|
1162
1270
|
|
|
1163
1271
|
declare const Slider: React$1.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
1164
1272
|
|
|
@@ -1178,7 +1286,7 @@ interface SkeletonCircleProps {
|
|
|
1178
1286
|
size?: number;
|
|
1179
1287
|
className?: string;
|
|
1180
1288
|
}
|
|
1181
|
-
declare function SkeletonCircle({ size, className }: SkeletonCircleProps):
|
|
1289
|
+
declare function SkeletonCircle({ size, className }: SkeletonCircleProps): React$1.JSX.Element;
|
|
1182
1290
|
interface SkeletonBarProps {
|
|
1183
1291
|
/** CSS width — accepts px (number) or any CSS length string. Default "100%". */
|
|
1184
1292
|
width?: number | string;
|
|
@@ -1186,7 +1294,7 @@ interface SkeletonBarProps {
|
|
|
1186
1294
|
height?: number;
|
|
1187
1295
|
className?: string;
|
|
1188
1296
|
}
|
|
1189
|
-
declare function SkeletonBar({ width, height, className }: SkeletonBarProps):
|
|
1297
|
+
declare function SkeletonBar({ width, height, className }: SkeletonBarProps): React$1.JSX.Element;
|
|
1190
1298
|
interface SkeletonRectProps {
|
|
1191
1299
|
width?: number | string;
|
|
1192
1300
|
height?: number | string;
|
|
@@ -1194,13 +1302,13 @@ interface SkeletonRectProps {
|
|
|
1194
1302
|
radius?: number | string;
|
|
1195
1303
|
className?: string;
|
|
1196
1304
|
}
|
|
1197
|
-
declare function SkeletonRect({ width, height, radius, className }: SkeletonRectProps):
|
|
1305
|
+
declare function SkeletonRect({ width, height, radius, className }: SkeletonRectProps): React$1.JSX.Element;
|
|
1198
1306
|
interface SkeletonGroupProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1199
1307
|
/** Optional `aria-label` for the loading region. Default "Loading content". */
|
|
1200
1308
|
label?: string;
|
|
1201
1309
|
children: React$1.ReactNode;
|
|
1202
1310
|
}
|
|
1203
|
-
declare function SkeletonGroup({ label, children, className, ...rest }: SkeletonGroupProps):
|
|
1311
|
+
declare function SkeletonGroup({ label, children, className, ...rest }: SkeletonGroupProps): React$1.JSX.Element;
|
|
1204
1312
|
|
|
1205
1313
|
interface EmptyStateProps {
|
|
1206
1314
|
/** Icon element. Recommended size 48x48. Wrap a lucide icon in a div if you want background styling. */
|
|
@@ -1215,7 +1323,7 @@ interface EmptyStateProps {
|
|
|
1215
1323
|
size?: "sm" | "md" | "lg";
|
|
1216
1324
|
className?: string;
|
|
1217
1325
|
}
|
|
1218
|
-
declare function EmptyState({ icon, title, description, action, size, className, }: EmptyStateProps):
|
|
1326
|
+
declare function EmptyState({ icon, title, description, action, size, className, }: EmptyStateProps): React$1.JSX.Element;
|
|
1219
1327
|
|
|
1220
1328
|
type ErrorBannerSeverity = "warning" | "error";
|
|
1221
1329
|
interface ErrorBannerProps {
|
|
@@ -1233,7 +1341,7 @@ interface ErrorBannerProps {
|
|
|
1233
1341
|
onDismiss?: () => void;
|
|
1234
1342
|
className?: string;
|
|
1235
1343
|
}
|
|
1236
|
-
declare function ErrorBanner({ severity, title, message, icon, action, onDismiss, className, }: ErrorBannerProps):
|
|
1344
|
+
declare function ErrorBanner({ severity, title, message, icon, action, onDismiss, className, }: ErrorBannerProps): React$1.JSX.Element;
|
|
1237
1345
|
|
|
1238
1346
|
interface ErrorPageProps {
|
|
1239
1347
|
/** Defaults to "Something went wrong". */
|
|
@@ -1250,7 +1358,7 @@ interface ErrorPageProps {
|
|
|
1250
1358
|
illustration?: React$1.ReactNode;
|
|
1251
1359
|
className?: string;
|
|
1252
1360
|
}
|
|
1253
|
-
declare function ErrorPage({ title, description, errorCode, correlationId, actions, illustration, className, }: ErrorPageProps):
|
|
1361
|
+
declare function ErrorPage({ title, description, errorCode, correlationId, actions, illustration, className, }: ErrorPageProps): React$1.JSX.Element;
|
|
1254
1362
|
|
|
1255
1363
|
interface LoadingTimeoutProps {
|
|
1256
1364
|
/** When true, the timeout runs and escalation states render. When false, renders children. */
|
|
@@ -1271,7 +1379,7 @@ interface LoadingTimeoutProps {
|
|
|
1271
1379
|
label?: string;
|
|
1272
1380
|
className?: string;
|
|
1273
1381
|
}
|
|
1274
|
-
declare function LoadingTimeout({ active, children, skeleton, onRetry, thresholds, label, className, }: LoadingTimeoutProps):
|
|
1382
|
+
declare function LoadingTimeout({ active, children, skeleton, onRetry, thresholds, label, className, }: LoadingTimeoutProps): React$1.JSX.Element;
|
|
1275
1383
|
|
|
1276
1384
|
interface ProgressiveImageProps {
|
|
1277
1385
|
/** Required final image src. */
|
|
@@ -1292,7 +1400,47 @@ interface ProgressiveImageProps {
|
|
|
1292
1400
|
onLoad?: () => void;
|
|
1293
1401
|
onError?: () => void;
|
|
1294
1402
|
}
|
|
1295
|
-
declare function ProgressiveImage({ src, alt, lqip, width, height, loading, fit, className, onLoad, onError, }: ProgressiveImageProps):
|
|
1403
|
+
declare function ProgressiveImage({ src, alt, lqip, width, height, loading, fit, className, onLoad, onError, }: ProgressiveImageProps): React$1.JSX.Element;
|
|
1404
|
+
|
|
1405
|
+
interface NotificationCountBadgeProps {
|
|
1406
|
+
count: number;
|
|
1407
|
+
/** Default 9. Shows "N+" when count exceeds this value. */
|
|
1408
|
+
max?: number;
|
|
1409
|
+
className?: string;
|
|
1410
|
+
}
|
|
1411
|
+
declare function NotificationCountBadge({ count, max, className, }: NotificationCountBadgeProps): React$1.ReactElement | null;
|
|
1412
|
+
|
|
1413
|
+
interface NotificationItemProps {
|
|
1414
|
+
isRead: boolean;
|
|
1415
|
+
/** Pre-formatted relative timestamp, e.g. "2 hours ago". */
|
|
1416
|
+
timestamp: string;
|
|
1417
|
+
/** Message content. */
|
|
1418
|
+
children: React$1.ReactNode;
|
|
1419
|
+
/** Domain action buttons rendered below the message. */
|
|
1420
|
+
actions?: React$1.ReactNode;
|
|
1421
|
+
onClick?: () => void;
|
|
1422
|
+
onContextMenu?: React$1.MouseEventHandler<HTMLDivElement>;
|
|
1423
|
+
/** When provided AND !isRead, renders the "mark read" link. */
|
|
1424
|
+
onMarkRead?: () => void;
|
|
1425
|
+
/** Label for the mark-read button, e.g. "Mark read". */
|
|
1426
|
+
markReadLabel: string;
|
|
1427
|
+
}
|
|
1428
|
+
declare function NotificationItem({ isRead, timestamp, children, actions, onClick, onContextMenu, onMarkRead, markReadLabel, }: NotificationItemProps): React$1.JSX.Element;
|
|
1429
|
+
|
|
1430
|
+
interface NotificationPanelProps {
|
|
1431
|
+
/** NotificationItem rows. */
|
|
1432
|
+
children: React$1.ReactNode;
|
|
1433
|
+
/** When provided, renders the "Mark all as read" footer button. */
|
|
1434
|
+
onMarkAllRead?: () => void;
|
|
1435
|
+
/** Label for the mark-all-read button, e.g. "Mark all as read". */
|
|
1436
|
+
markAllReadLabel: string;
|
|
1437
|
+
/** Rendered when there are no children and loading is false. */
|
|
1438
|
+
emptyState?: React$1.ReactNode;
|
|
1439
|
+
/** Shows skeleton loading rows when true. */
|
|
1440
|
+
loading?: boolean;
|
|
1441
|
+
className?: string;
|
|
1442
|
+
}
|
|
1443
|
+
declare function NotificationPanel({ children, onMarkAllRead, markAllReadLabel, emptyState, loading, className, }: NotificationPanelProps): React$1.JSX.Element;
|
|
1296
1444
|
|
|
1297
1445
|
interface HazoUiToasterProps {
|
|
1298
1446
|
/** Position of the toast stack. Default "bottom-right". */
|
|
@@ -1302,7 +1450,7 @@ interface HazoUiToasterProps {
|
|
|
1302
1450
|
/** Max number of toasts visible at once. Default 5. */
|
|
1303
1451
|
visibleToasts?: number;
|
|
1304
1452
|
}
|
|
1305
|
-
declare function HazoUiToaster({ position, closeButton, visibleToasts, }?: HazoUiToasterProps):
|
|
1453
|
+
declare function HazoUiToaster({ position, closeButton, visibleToasts, }?: HazoUiToasterProps): React$1.JSX.Element;
|
|
1306
1454
|
interface ToastOptions {
|
|
1307
1455
|
title: string;
|
|
1308
1456
|
description?: string;
|
|
@@ -1772,7 +1920,15 @@ interface KanbanSaveEvent<T extends KanbanItem = KanbanItem> {
|
|
|
1772
1920
|
next: T;
|
|
1773
1921
|
}
|
|
1774
1922
|
|
|
1775
|
-
|
|
1923
|
+
/**
|
|
1924
|
+
* HazoUiKanbanFilter - controlled-or-uncontrolled filter bar
|
|
1925
|
+
*
|
|
1926
|
+
* Decoupled from HazoUiKanban. Emits KanbanFilterValue via onChange; consumer
|
|
1927
|
+
* applies it to their items (typically via applyKanbanFilter) before passing
|
|
1928
|
+
* to the board.
|
|
1929
|
+
*/
|
|
1930
|
+
|
|
1931
|
+
declare function HazoUiKanbanFilter({ search, searchPlaceholder, categories, priorities, value, defaultValue, onChange, className, }: HazoUiKanbanFilterProps): React$1.JSX.Element;
|
|
1776
1932
|
|
|
1777
1933
|
/**
|
|
1778
1934
|
* Pure helper: filters KanbanItem[] by search / categories / priority.
|
|
@@ -1787,7 +1943,21 @@ declare function HazoUiKanbanFilter({ search, searchPlaceholder, categories, pri
|
|
|
1787
1943
|
|
|
1788
1944
|
declare function applyKanbanFilter<T extends KanbanItem>(items: T[], filter: KanbanFilterValue): T[];
|
|
1789
1945
|
|
|
1790
|
-
|
|
1946
|
+
/**
|
|
1947
|
+
* HazoUiKanban - drag-drop kanban primitive
|
|
1948
|
+
*
|
|
1949
|
+
* Wraps @dnd-kit/core + @dnd-kit/sortable. Consumers see only HazoUi*
|
|
1950
|
+
* types — no @dnd-kit types leak through the public surface.
|
|
1951
|
+
*
|
|
1952
|
+
* State model: controlled `items` + library overlay. The consumer owns
|
|
1953
|
+
* the `items` array. While a drag is being committed (e.g. an async
|
|
1954
|
+
* PATCH), the library tracks an "overlay" position internally so the
|
|
1955
|
+
* card moves immediately. On commit, the consumer updates `items` and
|
|
1956
|
+
* the overlay clears naturally. On failure, the consumer calls
|
|
1957
|
+
* event.revert() and the overlay entry is dropped.
|
|
1958
|
+
*/
|
|
1959
|
+
|
|
1960
|
+
declare function HazoUiKanban<T extends KanbanItem = KanbanItem>({ columns, items, renderCard, onMove, onReorder, mobileBreakpoint, announcements, emptyColumn, className, cardClassName, itemLabel, editorFields, editorPriorities, editorTitle, renderCardEditor, hideEditorFooter, onCardSave, disableEdit, }: HazoUiKanbanProps<T>): React$1.JSX.Element;
|
|
1791
1961
|
|
|
1792
1962
|
declare const Table: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableElement> & React$1.RefAttributes<HTMLTableElement>>;
|
|
1793
1963
|
declare const TableHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
@@ -1889,7 +2059,15 @@ interface HazoUiTableProps<TRow extends object = any> {
|
|
|
1889
2059
|
caption?: string;
|
|
1890
2060
|
}
|
|
1891
2061
|
|
|
1892
|
-
|
|
2062
|
+
/**
|
|
2063
|
+
* HazoUiTable — column-config-driven data table.
|
|
2064
|
+
*
|
|
2065
|
+
* Composes the shadcn Table primitive family with the in-memory
|
|
2066
|
+
* filter/sort/paginate pipeline from use_table_state, and (in later
|
|
2067
|
+
* tasks) the existing HazoUiMultiSortDialog / HazoUiMultiFilterDialog.
|
|
2068
|
+
*/
|
|
2069
|
+
|
|
2070
|
+
declare function HazoUiTable<TRow extends object = any>(props: HazoUiTableProps<TRow>): React$1.JSX.Element;
|
|
1893
2071
|
|
|
1894
2072
|
/**
|
|
1895
2073
|
* Public types for hazo_ui_charts. Keep dependency-free so consumers can
|
|
@@ -2070,6 +2248,19 @@ declare function format_num(n: number | null | undefined | string): string;
|
|
|
2070
2248
|
*/
|
|
2071
2249
|
declare function pick_x_label_indices(length: number): [number, number, number];
|
|
2072
2250
|
|
|
2251
|
+
/**
|
|
2252
|
+
* hazo_ui_celebration/index.tsx
|
|
2253
|
+
*
|
|
2254
|
+
* CelebrationModal: imperative confetti + modal overlay with optional shareable card.
|
|
2255
|
+
* Mount <CelebrationProvider /> once at root, then call celebrate({ ... }) from anywhere.
|
|
2256
|
+
*
|
|
2257
|
+
* Session gating: each id is written to sessionStorage (hazo_ui_celebration_<id>) when
|
|
2258
|
+
* shown. Duplicate calls with the same id within the session are no-ops.
|
|
2259
|
+
* Cross-session gating is the consumer's responsibility.
|
|
2260
|
+
*
|
|
2261
|
+
* Queue policy: FIFO. Gating runs at call time (before enqueue), not at display time.
|
|
2262
|
+
*/
|
|
2263
|
+
|
|
2073
2264
|
/** Default gradient for the shareable card background. Override via shareableCard.background. */
|
|
2074
2265
|
declare const CELEBRATION_GRADIENT = "linear-gradient(135deg, #667eea 0%, #764ba2 100%)";
|
|
2075
2266
|
interface CelebrationShareableCard {
|
|
@@ -2118,7 +2309,7 @@ interface CelebrationProviderProps {
|
|
|
2118
2309
|
* Mount once near the root of your app (e.g. (app)/layout.tsx).
|
|
2119
2310
|
* Renders the current celebration modal and manages the FIFO queue.
|
|
2120
2311
|
*/
|
|
2121
|
-
declare function CelebrationProvider({ children }: CelebrationProviderProps):
|
|
2312
|
+
declare function CelebrationProvider({ children }: CelebrationProviderProps): React$1.JSX.Element;
|
|
2122
2313
|
|
|
2123
2314
|
/**
|
|
2124
2315
|
* Pure ETA estimation helpers — no React, no I/O, fully unit-testable.
|
|
@@ -2188,7 +2379,7 @@ interface HazoUiProgressBarProps {
|
|
|
2188
2379
|
* Zero logic — accepts a 0..1 value and renders the fill.
|
|
2189
2380
|
* Safe to use standalone without any ETA or state machinery.
|
|
2190
2381
|
*/
|
|
2191
|
-
declare function HazoUiProgressBar({ value, label, showPercent, size, className, }: HazoUiProgressBarProps):
|
|
2382
|
+
declare function HazoUiProgressBar({ value, label, showPercent, size, className, }: HazoUiProgressBarProps): React$1.JSX.Element;
|
|
2192
2383
|
/**
|
|
2193
2384
|
* Headless hook — ETA estimation + animation core.
|
|
2194
2385
|
*
|
|
@@ -2236,6 +2427,6 @@ interface HazoUiEtaProgressProps {
|
|
|
2236
2427
|
* // In effect: handle.current?.start(); ... handle.current?.finish();
|
|
2237
2428
|
* ```
|
|
2238
2429
|
*/
|
|
2239
|
-
declare function HazoUiEtaProgress({ estimateKey, unitCount, concurrency, windowSize, fallbackUnitMs, level, label, endpoint, handleRef, className, }: HazoUiEtaProgressProps):
|
|
2430
|
+
declare function HazoUiEtaProgress({ estimateKey, unitCount, concurrency, windowSize, fallbackUnitMs, level, label, endpoint, handleRef, className, }: HazoUiEtaProgressProps): React$1.JSX.Element;
|
|
2240
2431
|
|
|
2241
|
-
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, 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, 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, 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 };
|
|
2432
|
+
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, HazoUiImageCropper, HazoUiImageCropperDialog, type HazoUiImageCropperDialogProps, type HazoUiImageCropperHandle, type HazoUiImageCropperProps, 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, 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, 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, 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 };
|