hazo_ui 3.3.0 → 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 +47 -0
- package/README.md +133 -0
- package/dist/index.cjs +406 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +378 -173
- package/dist/index.d.ts +378 -173
- package/dist/index.js +398 -1
- package/dist/index.js.map +1 -1
- package/dist/test-harness/index.cjs.map +1 -1
- package/dist/test-harness/index.js.map +1 -1
- package/package.json +8 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { cn } from './index.utils.js';
|
|
2
|
-
import * as React from 'react';
|
|
2
|
+
import * as React$1 from 'react';
|
|
3
3
|
import { ReactNode, RefObject } from 'react';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import { ICommand } from '@uiw/react-md-editor';
|
|
@@ -27,6 +27,7 @@ import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
|
27
27
|
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
28
28
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
29
29
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
30
|
+
import { StateLevel } from 'hazo_state';
|
|
30
31
|
export { toast as rawToast } from 'sonner';
|
|
31
32
|
import 'clsx';
|
|
32
33
|
|
|
@@ -72,9 +73,9 @@ interface HazoContextProviderProps {
|
|
|
72
73
|
* value changes.
|
|
73
74
|
*/
|
|
74
75
|
userId?: string;
|
|
75
|
-
children: React.ReactNode;
|
|
76
|
+
children: React$1.ReactNode;
|
|
76
77
|
}
|
|
77
|
-
declare function HazoContextProvider({ correlationId, userId, children, }: HazoContextProviderProps): React.ReactElement;
|
|
78
|
+
declare function HazoContextProvider({ correlationId, userId, children, }: HazoContextProviderProps): React$1.ReactElement;
|
|
78
79
|
|
|
79
80
|
/**
|
|
80
81
|
* Logger utility for hazo_ui.
|
|
@@ -291,9 +292,9 @@ interface HazoUiPillRadioProps {
|
|
|
291
292
|
}
|
|
292
293
|
declare function HazoUiPillRadio({ layout, icon_set, data, value, onChange, className, pill_size, equal_width, }: HazoUiPillRadioProps): react_jsx_runtime.JSX.Element;
|
|
293
294
|
|
|
294
|
-
interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
295
|
+
interface InputProps extends React$1.InputHTMLAttributes<HTMLInputElement> {
|
|
295
296
|
}
|
|
296
|
-
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
|
|
297
|
+
declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
297
298
|
|
|
298
299
|
/**
|
|
299
300
|
* Hazo UI Flex Input Component
|
|
@@ -313,7 +314,7 @@ interface HazoUiFlexInputProps extends Omit<InputProps, "type"> {
|
|
|
313
314
|
format_guide?: string;
|
|
314
315
|
format_guide_info?: boolean;
|
|
315
316
|
}
|
|
316
|
-
declare const HazoUiFlexInput: React.ForwardRefExoticComponent<HazoUiFlexInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
317
|
+
declare const HazoUiFlexInput: React$1.ForwardRefExoticComponent<HazoUiFlexInputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
317
318
|
|
|
318
319
|
/**
|
|
319
320
|
* Hazo UI Rich Text Editor - Type Definitions
|
|
@@ -371,7 +372,7 @@ interface HazoUiRteProps {
|
|
|
371
372
|
/**
|
|
372
373
|
* HazoUiRte - Rich Text Editor Component
|
|
373
374
|
*/
|
|
374
|
-
declare const HazoUiRte: React.FC<HazoUiRteProps>;
|
|
375
|
+
declare const HazoUiRte: React$1.FC<HazoUiRteProps>;
|
|
375
376
|
|
|
376
377
|
/** A toolbar button that inserts a snippet at the cursor. */
|
|
377
378
|
interface MarkdownEmbed {
|
|
@@ -456,7 +457,7 @@ interface CommandItem$1 {
|
|
|
456
457
|
/** Optional description shown in the dropdown */
|
|
457
458
|
action_description?: string;
|
|
458
459
|
/** Optional icon to display alongside the command */
|
|
459
|
-
icon?: React.ReactNode;
|
|
460
|
+
icon?: React$1.ReactNode;
|
|
460
461
|
/** Optional group name for categorizing commands in the dropdown */
|
|
461
462
|
group?: string;
|
|
462
463
|
}
|
|
@@ -717,7 +718,7 @@ declare const create_command_suggestion_extension: (config: CommandSuggestionCon
|
|
|
717
718
|
/**
|
|
718
719
|
* CommandPill - Displays a command as a styled badge/pill
|
|
719
720
|
*/
|
|
720
|
-
declare const CommandPill: React.FC<CommandPillProps>;
|
|
721
|
+
declare const CommandPill: React$1.FC<CommandPillProps>;
|
|
721
722
|
|
|
722
723
|
/**
|
|
723
724
|
* Command Popover Component
|
|
@@ -735,7 +736,7 @@ declare const CommandPill: React.FC<CommandPillProps>;
|
|
|
735
736
|
/**
|
|
736
737
|
* CommandPopover - Dropdown for command selection
|
|
737
738
|
*/
|
|
738
|
-
declare const CommandPopover: React.FC<CommandPopoverProps>;
|
|
739
|
+
declare const CommandPopover: React$1.FC<CommandPopoverProps>;
|
|
739
740
|
|
|
740
741
|
/**
|
|
741
742
|
* HazoUiCommand - Headless Command/Mention System
|
|
@@ -797,7 +798,7 @@ declare const text_to_tiptap_content: (text: string, prefixes: PrefixConfigForPa
|
|
|
797
798
|
/**
|
|
798
799
|
* HazoUiTextbox Component
|
|
799
800
|
*/
|
|
800
|
-
declare const HazoUiTextbox: React.FC<HazoUiTextboxProps>;
|
|
801
|
+
declare const HazoUiTextbox: React$1.FC<HazoUiTextboxProps>;
|
|
801
802
|
|
|
802
803
|
/**
|
|
803
804
|
* HazoUiTextarea - Multi-line Input with Command Support
|
|
@@ -809,7 +810,7 @@ declare const HazoUiTextbox: React.FC<HazoUiTextboxProps>;
|
|
|
809
810
|
/**
|
|
810
811
|
* HazoUiTextarea Component
|
|
811
812
|
*/
|
|
812
|
-
declare const HazoUiTextarea: React.FC<HazoUiTextareaProps>;
|
|
813
|
+
declare const HazoUiTextarea: React$1.FC<HazoUiTextareaProps>;
|
|
813
814
|
|
|
814
815
|
/**
|
|
815
816
|
* animations.ts
|
|
@@ -833,7 +834,7 @@ type DialogVariant = 'default' | 'info' | 'success' | 'warning' | 'destructive';
|
|
|
833
834
|
interface HazoUiDialogProps {
|
|
834
835
|
open?: boolean;
|
|
835
836
|
onOpenChange?: (open: boolean) => void;
|
|
836
|
-
children: React.ReactNode;
|
|
837
|
+
children: React$1.ReactNode;
|
|
837
838
|
onConfirm?: () => void;
|
|
838
839
|
onCancel?: () => void;
|
|
839
840
|
title?: string;
|
|
@@ -860,7 +861,7 @@ interface HazoUiDialogProps {
|
|
|
860
861
|
* When actionButtonLoading is true, this is replaced with a spinner.
|
|
861
862
|
* Ignored if footerContent is provided.
|
|
862
863
|
*/
|
|
863
|
-
actionButtonIcon?: React.ReactNode;
|
|
864
|
+
actionButtonIcon?: React$1.ReactNode;
|
|
864
865
|
/**
|
|
865
866
|
* Custom footer content that completely replaces the default footer.
|
|
866
867
|
* When provided, actionButtonText, onConfirm, onCancel, showCancelButton,
|
|
@@ -868,7 +869,7 @@ interface HazoUiDialogProps {
|
|
|
868
869
|
* Use this for complex layouts like stats + buttons, multiple actions,
|
|
869
870
|
* or conditional button rendering.
|
|
870
871
|
*/
|
|
871
|
-
footerContent?: React.ReactNode;
|
|
872
|
+
footerContent?: React$1.ReactNode;
|
|
872
873
|
sizeWidth?: string;
|
|
873
874
|
sizeHeight?: string;
|
|
874
875
|
fixedSize?: boolean;
|
|
@@ -910,7 +911,7 @@ interface HazoUiConfirmDialogProps {
|
|
|
910
911
|
onOpenChange: (open: boolean) => void;
|
|
911
912
|
title: string;
|
|
912
913
|
description?: string;
|
|
913
|
-
children?: React.ReactNode;
|
|
914
|
+
children?: React$1.ReactNode;
|
|
914
915
|
variant?: ConfirmDialogVariant;
|
|
915
916
|
confirmLabel?: string;
|
|
916
917
|
cancelLabel?: string;
|
|
@@ -932,42 +933,42 @@ interface HazoUiConfirmDialogProps {
|
|
|
932
933
|
*/
|
|
933
934
|
declare function HazoUiConfirmDialog({ open, onOpenChange, title, description, children, variant, confirmLabel, cancelLabel, showCancelButton, onConfirm, onCancel, loading: external_loading, disabled, accentColor, confirmButtonColor, openAnimation, closeAnimation, }: HazoUiConfirmDialogProps): react_jsx_runtime.JSX.Element;
|
|
934
935
|
|
|
935
|
-
declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
|
|
936
|
-
declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
937
|
-
declare const DialogPortal: React.FC<DialogPrimitive.DialogPortalProps>;
|
|
938
|
-
declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
939
|
-
declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
940
|
-
declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
936
|
+
declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
|
|
937
|
+
declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
938
|
+
declare const DialogPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
|
|
939
|
+
declare const DialogClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
940
|
+
declare const DialogOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
941
|
+
declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
941
942
|
declare const DialogHeader: {
|
|
942
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
943
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
943
944
|
displayName: string;
|
|
944
945
|
};
|
|
945
946
|
declare const DialogFooter: {
|
|
946
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
947
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
947
948
|
displayName: string;
|
|
948
949
|
};
|
|
949
|
-
declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
950
|
-
declare const DialogDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
950
|
+
declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
951
|
+
declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
951
952
|
|
|
952
953
|
declare const Drawer: {
|
|
953
|
-
({ shouldScaleBackground, ...props }: React.ComponentProps<typeof Drawer$1.Root>): react_jsx_runtime.JSX.Element;
|
|
954
|
+
({ shouldScaleBackground, ...props }: React$1.ComponentProps<typeof Drawer$1.Root>): react_jsx_runtime.JSX.Element;
|
|
954
955
|
displayName: string;
|
|
955
956
|
};
|
|
956
|
-
declare const DrawerTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
957
|
+
declare const DrawerTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
957
958
|
declare const DrawerPortal: typeof vaul.Portal;
|
|
958
|
-
declare const DrawerClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
959
|
-
declare const DrawerOverlay: React.ForwardRefExoticComponent<Omit<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
960
|
-
declare const DrawerContent: React.ForwardRefExoticComponent<Omit<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
959
|
+
declare const DrawerClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
960
|
+
declare const DrawerOverlay: React$1.ForwardRefExoticComponent<Omit<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
961
|
+
declare const DrawerContent: React$1.ForwardRefExoticComponent<Omit<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
961
962
|
declare const DrawerHeader: {
|
|
962
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
963
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
963
964
|
displayName: string;
|
|
964
965
|
};
|
|
965
966
|
declare const DrawerFooter: {
|
|
966
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
967
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
967
968
|
displayName: string;
|
|
968
969
|
};
|
|
969
|
-
declare const DrawerTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
970
|
-
declare const DrawerDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
970
|
+
declare const DrawerTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
971
|
+
declare const DrawerDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
971
972
|
|
|
972
973
|
/**
|
|
973
974
|
* Returns whether the given media query currently matches.
|
|
@@ -982,130 +983,130 @@ declare const DrawerDescription: React.ForwardRefExoticComponent<Omit<DialogPrim
|
|
|
982
983
|
*/
|
|
983
984
|
declare function useMediaQuery(query: string): boolean;
|
|
984
985
|
|
|
985
|
-
declare const Accordion: React.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React.RefAttributes<HTMLDivElement>>;
|
|
986
|
-
declare const AccordionItem: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
987
|
-
declare const AccordionTrigger: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
988
|
-
declare const AccordionContent: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
986
|
+
declare const Accordion: React$1.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React$1.RefAttributes<HTMLDivElement>>;
|
|
987
|
+
declare const AccordionItem: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
988
|
+
declare const AccordionTrigger: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
989
|
+
declare const AccordionContent: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
989
990
|
|
|
990
991
|
declare const buttonVariants: (props?: ({
|
|
991
992
|
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
|
|
992
993
|
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
993
994
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
994
|
-
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
995
|
+
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
995
996
|
asChild?: boolean;
|
|
996
997
|
}
|
|
997
|
-
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
998
|
+
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
998
999
|
|
|
999
|
-
type CalendarProps = React.ComponentProps<typeof DayPicker>;
|
|
1000
|
+
type CalendarProps = React$1.ComponentProps<typeof DayPicker>;
|
|
1000
1001
|
declare function Calendar({ className, classNames, showOutsideDays, ...props }: CalendarProps): react_jsx_runtime.JSX.Element;
|
|
1001
1002
|
declare namespace Calendar {
|
|
1002
1003
|
var displayName: string;
|
|
1003
1004
|
}
|
|
1004
1005
|
|
|
1005
|
-
declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1006
|
+
declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1006
1007
|
|
|
1007
|
-
declare const Command: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
1008
|
-
declare const CommandInput: React.ForwardRefExoticComponent<React.InputHTMLAttributes<HTMLInputElement> & {
|
|
1008
|
+
declare const Command: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1009
|
+
declare const CommandInput: React$1.ForwardRefExoticComponent<React$1.InputHTMLAttributes<HTMLInputElement> & {
|
|
1009
1010
|
onValueChange?: (value: string) => void;
|
|
1010
|
-
} & React.RefAttributes<HTMLInputElement>>;
|
|
1011
|
-
declare const CommandList: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
1012
|
-
declare const CommandEmpty: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
1013
|
-
declare const CommandGroup: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
1011
|
+
} & React$1.RefAttributes<HTMLInputElement>>;
|
|
1012
|
+
declare const CommandList: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1013
|
+
declare const CommandEmpty: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1014
|
+
declare const CommandGroup: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & {
|
|
1014
1015
|
heading?: string;
|
|
1015
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
1016
|
-
declare const CommandItem: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
1016
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
1017
|
+
declare const CommandItem: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & {
|
|
1017
1018
|
onSelect?: (value: string) => void;
|
|
1018
1019
|
value?: string;
|
|
1019
1020
|
selected?: boolean;
|
|
1020
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
1021
|
-
|
|
1022
|
-
declare const DropdownMenu: React.FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
|
1023
|
-
declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
1024
|
-
declare const DropdownMenuGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
1025
|
-
declare const DropdownMenuPortal: React.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
|
|
1026
|
-
declare const DropdownMenuSub: React.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
|
1027
|
-
declare const DropdownMenuRadioGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
1028
|
-
declare const DropdownMenuSubTrigger: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
1021
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
1022
|
+
|
|
1023
|
+
declare const DropdownMenu: React$1.FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
|
1024
|
+
declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1025
|
+
declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1026
|
+
declare const DropdownMenuPortal: React$1.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
|
|
1027
|
+
declare const DropdownMenuSub: React$1.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
|
1028
|
+
declare const DropdownMenuRadioGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1029
|
+
declare const DropdownMenuSubTrigger: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
1029
1030
|
inset?: boolean;
|
|
1030
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
1031
|
-
declare const DropdownMenuSubContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1032
|
-
declare const DropdownMenuContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1033
|
-
declare const DropdownMenuItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
1031
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
1032
|
+
declare const DropdownMenuSubContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1033
|
+
declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1034
|
+
declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
1034
1035
|
inset?: boolean;
|
|
1035
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
1036
|
-
declare const DropdownMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1037
|
-
declare const DropdownMenuRadioItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1038
|
-
declare const DropdownMenuLabel: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
1036
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
1037
|
+
declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1038
|
+
declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1039
|
+
declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
1039
1040
|
inset?: boolean;
|
|
1040
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
1041
|
-
declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1041
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
1042
|
+
declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1042
1043
|
declare const DropdownMenuShortcut: {
|
|
1043
|
-
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
1044
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
1044
1045
|
displayName: string;
|
|
1045
1046
|
};
|
|
1046
1047
|
|
|
1047
|
-
declare const HoverCard: React.FC<HoverCardPrimitive.HoverCardProps>;
|
|
1048
|
-
declare const HoverCardTrigger: React.ForwardRefExoticComponent<HoverCardPrimitive.HoverCardTriggerProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
1049
|
-
declare const HoverCardContent: React.ForwardRefExoticComponent<Omit<HoverCardPrimitive.HoverCardContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1048
|
+
declare const HoverCard: React$1.FC<HoverCardPrimitive.HoverCardProps>;
|
|
1049
|
+
declare const HoverCardTrigger: React$1.ForwardRefExoticComponent<HoverCardPrimitive.HoverCardTriggerProps & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
1050
|
+
declare const HoverCardContent: React$1.ForwardRefExoticComponent<Omit<HoverCardPrimitive.HoverCardContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1050
1051
|
|
|
1051
|
-
interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement> {
|
|
1052
|
+
interface LabelProps extends React$1.LabelHTMLAttributes<HTMLLabelElement> {
|
|
1052
1053
|
}
|
|
1053
|
-
declare const Label: React.ForwardRefExoticComponent<LabelProps & React.RefAttributes<HTMLLabelElement>>;
|
|
1054
|
+
declare const Label: React$1.ForwardRefExoticComponent<LabelProps & React$1.RefAttributes<HTMLLabelElement>>;
|
|
1054
1055
|
|
|
1055
|
-
declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
|
|
1056
|
-
declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
1057
|
-
declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1056
|
+
declare const Popover: React$1.FC<PopoverPrimitive.PopoverProps>;
|
|
1057
|
+
declare const PopoverTrigger: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1058
|
+
declare const PopoverContent: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1058
1059
|
|
|
1059
|
-
declare const RadioGroup: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1060
|
-
declare const RadioGroupItem: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1060
|
+
declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1061
|
+
declare const RadioGroupItem: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1061
1062
|
|
|
1062
|
-
declare const Select: React.FC<SelectPrimitive.SelectProps>;
|
|
1063
|
-
declare const SelectGroup: React.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
1064
|
-
declare const SelectValue: React.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React.RefAttributes<HTMLSpanElement>>;
|
|
1065
|
-
declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1066
|
-
declare const SelectScrollUpButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1067
|
-
declare const SelectScrollDownButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1068
|
-
declare const SelectContent: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1069
|
-
declare const SelectLabel: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1070
|
-
declare const SelectItem: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1071
|
-
declare const SelectSeparator: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1063
|
+
declare const Select: React$1.FC<SelectPrimitive.SelectProps>;
|
|
1064
|
+
declare const SelectGroup: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1065
|
+
declare const SelectValue: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
1066
|
+
declare const SelectTrigger: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1067
|
+
declare const SelectScrollUpButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1068
|
+
declare const SelectScrollDownButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1069
|
+
declare const SelectContent: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1070
|
+
declare const SelectLabel: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1071
|
+
declare const SelectItem: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1072
|
+
declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1072
1073
|
|
|
1073
|
-
declare const Switch: React.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1074
|
+
declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1074
1075
|
|
|
1075
1076
|
/**
|
|
1076
1077
|
* Tabs component based on Radix UI
|
|
1077
1078
|
* Provides tabbed interface for content switching
|
|
1078
1079
|
*/
|
|
1079
1080
|
|
|
1080
|
-
declare const Tabs: React.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React.RefAttributes<HTMLDivElement>>;
|
|
1081
|
-
declare const TabsList: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1082
|
-
declare const TabsTrigger: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1083
|
-
declare const TabsContent: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1081
|
+
declare const Tabs: React$1.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1082
|
+
declare const TabsList: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1083
|
+
declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1084
|
+
declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1084
1085
|
|
|
1085
|
-
interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
1086
|
+
interface TextareaProps extends React$1.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
1086
1087
|
}
|
|
1087
|
-
declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
1088
|
+
declare const Textarea: React$1.ForwardRefExoticComponent<TextareaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
1088
1089
|
|
|
1089
|
-
declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
1090
|
-
declare const Tooltip: React.FC<TooltipPrimitive.TooltipProps>;
|
|
1091
|
-
declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
1092
|
-
declare const TooltipContent: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1090
|
+
declare const TooltipProvider: React$1.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
1091
|
+
declare const Tooltip: React$1.FC<TooltipPrimitive.TooltipProps>;
|
|
1092
|
+
declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1093
|
+
declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1093
1094
|
|
|
1094
|
-
declare const Separator: React.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1095
|
+
declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1095
1096
|
|
|
1096
|
-
declare const Collapsible: React.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & React.RefAttributes<HTMLDivElement>>;
|
|
1097
|
-
declare const CollapsibleTrigger: React.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
1098
|
-
declare const CollapsibleContent: React.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
1097
|
+
declare const Collapsible: React$1.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1098
|
+
declare const CollapsibleTrigger: React$1.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1099
|
+
declare const CollapsibleContent: React$1.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1099
1100
|
|
|
1100
|
-
declare const ScrollArea: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1101
|
-
declare const ScrollBar: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1101
|
+
declare const ScrollArea: React$1.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1102
|
+
declare const ScrollBar: React$1.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1102
1103
|
|
|
1103
|
-
declare const Card: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
1104
|
-
declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
1105
|
-
declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLHeadingElement>>;
|
|
1106
|
-
declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
1107
|
-
declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
1108
|
-
declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
1104
|
+
declare const Card: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1105
|
+
declare const CardHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1106
|
+
declare const CardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
1107
|
+
declare const CardDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
1108
|
+
declare const CardContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1109
|
+
declare const CardFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1109
1110
|
|
|
1110
1111
|
interface SpinnerProps {
|
|
1111
1112
|
className?: string;
|
|
@@ -1117,51 +1118,51 @@ declare const toggleVariants: (props?: ({
|
|
|
1117
1118
|
variant?: "default" | "outline" | null | undefined;
|
|
1118
1119
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1119
1120
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1120
|
-
declare const Toggle: React.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
1121
|
+
declare const Toggle: React$1.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
1121
1122
|
variant?: "default" | "outline" | null | undefined;
|
|
1122
1123
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1123
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
|
|
1124
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1124
1125
|
|
|
1125
|
-
declare const ToggleGroup: React.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
|
|
1126
|
+
declare const ToggleGroup: React$1.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React$1.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React$1.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
|
|
1126
1127
|
variant?: "default" | "outline" | null | undefined;
|
|
1127
1128
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1128
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string>) & React.RefAttributes<HTMLDivElement>>;
|
|
1129
|
-
declare const ToggleGroupItem: React.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
1129
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>) & React$1.RefAttributes<HTMLDivElement>>;
|
|
1130
|
+
declare const ToggleGroupItem: React$1.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
1130
1131
|
variant?: "default" | "outline" | null | undefined;
|
|
1131
1132
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1132
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
|
|
1133
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1133
1134
|
|
|
1134
|
-
declare const AlertDialog: React.FC<AlertDialogPrimitive.AlertDialogProps>;
|
|
1135
|
-
declare const AlertDialogTrigger: React.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
1136
|
-
declare const AlertDialogPortal: React.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
|
|
1137
|
-
declare const AlertDialogOverlay: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1138
|
-
declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1135
|
+
declare const AlertDialog: React$1.FC<AlertDialogPrimitive.AlertDialogProps>;
|
|
1136
|
+
declare const AlertDialogTrigger: React$1.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1137
|
+
declare const AlertDialogPortal: React$1.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
|
|
1138
|
+
declare const AlertDialogOverlay: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1139
|
+
declare const AlertDialogContent: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1139
1140
|
declare const AlertDialogHeader: {
|
|
1140
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
1141
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
1141
1142
|
displayName: string;
|
|
1142
1143
|
};
|
|
1143
1144
|
declare const AlertDialogFooter: {
|
|
1144
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
1145
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
1145
1146
|
displayName: string;
|
|
1146
1147
|
};
|
|
1147
|
-
declare const AlertDialogTitle: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
1148
|
-
declare const AlertDialogDescription: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
1149
|
-
declare const AlertDialogAction: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1150
|
-
declare const AlertDialogCancel: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1148
|
+
declare const AlertDialogTitle: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
1149
|
+
declare const AlertDialogDescription: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
1150
|
+
declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1151
|
+
declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1151
1152
|
|
|
1152
1153
|
declare const buttonGroupVariants: (props?: ({
|
|
1153
1154
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
1154
1155
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1155
|
-
declare function ButtonGroup({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof buttonGroupVariants>): react_jsx_runtime.JSX.Element;
|
|
1156
|
-
declare function ButtonGroupText({ className, asChild, ...props }: React.ComponentProps<"div"> & {
|
|
1156
|
+
declare function ButtonGroup({ className, orientation, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof buttonGroupVariants>): react_jsx_runtime.JSX.Element;
|
|
1157
|
+
declare function ButtonGroupText({ className, asChild, ...props }: React$1.ComponentProps<"div"> & {
|
|
1157
1158
|
asChild?: boolean;
|
|
1158
1159
|
}): react_jsx_runtime.JSX.Element;
|
|
1159
|
-
declare function ButtonGroupSeparator({ className, orientation, ...props }: React.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
|
|
1160
|
+
declare function ButtonGroupSeparator({ className, orientation, ...props }: React$1.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
|
|
1160
1161
|
|
|
1161
|
-
interface SkeletonBaseProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
1162
|
+
interface SkeletonBaseProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1162
1163
|
className?: string;
|
|
1163
1164
|
}
|
|
1164
|
-
declare const Skeleton: React.ForwardRefExoticComponent<SkeletonBaseProps & React.RefAttributes<HTMLDivElement>>;
|
|
1165
|
+
declare const Skeleton: React$1.ForwardRefExoticComponent<SkeletonBaseProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1165
1166
|
interface SkeletonCircleProps {
|
|
1166
1167
|
/** Diameter in px. Default 40. */
|
|
1167
1168
|
size?: number;
|
|
@@ -1184,22 +1185,22 @@ interface SkeletonRectProps {
|
|
|
1184
1185
|
className?: string;
|
|
1185
1186
|
}
|
|
1186
1187
|
declare function SkeletonRect({ width, height, radius, className }: SkeletonRectProps): react_jsx_runtime.JSX.Element;
|
|
1187
|
-
interface SkeletonGroupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
1188
|
+
interface SkeletonGroupProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1188
1189
|
/** Optional `aria-label` for the loading region. Default "Loading content". */
|
|
1189
1190
|
label?: string;
|
|
1190
|
-
children: React.ReactNode;
|
|
1191
|
+
children: React$1.ReactNode;
|
|
1191
1192
|
}
|
|
1192
1193
|
declare function SkeletonGroup({ label, children, className, ...rest }: SkeletonGroupProps): react_jsx_runtime.JSX.Element;
|
|
1193
1194
|
|
|
1194
1195
|
interface EmptyStateProps {
|
|
1195
1196
|
/** Icon element. Recommended size 48x48. Wrap a lucide icon in a div if you want background styling. */
|
|
1196
|
-
icon?: React.ReactNode;
|
|
1197
|
+
icon?: React$1.ReactNode;
|
|
1197
1198
|
/** Required main heading. */
|
|
1198
1199
|
title: string;
|
|
1199
1200
|
/** Optional secondary description. */
|
|
1200
|
-
description?: React.ReactNode;
|
|
1201
|
+
description?: React$1.ReactNode;
|
|
1201
1202
|
/** Optional CTA region — typically one or two <Button> elements. */
|
|
1202
|
-
action?: React.ReactNode;
|
|
1203
|
+
action?: React$1.ReactNode;
|
|
1203
1204
|
/** Visual size. "sm" for inline use (cards, panels), "md" default, "lg" for full-page emptiness. */
|
|
1204
1205
|
size?: "sm" | "md" | "lg";
|
|
1205
1206
|
className?: string;
|
|
@@ -1213,11 +1214,11 @@ interface ErrorBannerProps {
|
|
|
1213
1214
|
/** Optional bold heading shown above the message. */
|
|
1214
1215
|
title?: string;
|
|
1215
1216
|
/** Required body text or node. */
|
|
1216
|
-
message: React.ReactNode;
|
|
1217
|
+
message: React$1.ReactNode;
|
|
1217
1218
|
/** Override the auto-selected icon. */
|
|
1218
|
-
icon?: React.ReactNode;
|
|
1219
|
+
icon?: React$1.ReactNode;
|
|
1219
1220
|
/** Optional CTA region — typically one <Button>. */
|
|
1220
|
-
action?: React.ReactNode;
|
|
1221
|
+
action?: React$1.ReactNode;
|
|
1221
1222
|
/** When provided, renders a dismiss "X" button that calls this on click. */
|
|
1222
1223
|
onDismiss?: () => void;
|
|
1223
1224
|
className?: string;
|
|
@@ -1228,15 +1229,15 @@ interface ErrorPageProps {
|
|
|
1228
1229
|
/** Defaults to "Something went wrong". */
|
|
1229
1230
|
title?: string;
|
|
1230
1231
|
/** Optional explanation paragraph(s). */
|
|
1231
|
-
description?: React.ReactNode;
|
|
1232
|
+
description?: React$1.ReactNode;
|
|
1232
1233
|
/** Short symbolic code (e.g., "500", "NOT_FOUND") rendered as a tag. */
|
|
1233
1234
|
errorCode?: string;
|
|
1234
1235
|
/** Correlation id from hazo_logs — rendered in a copyable mono block when present. */
|
|
1235
1236
|
correlationId?: string;
|
|
1236
1237
|
/** CTA region — typically one or two <Button> elements ("Try again", "Go home"). */
|
|
1237
|
-
actions?: React.ReactNode;
|
|
1238
|
+
actions?: React$1.ReactNode;
|
|
1238
1239
|
/** Override the default OctagonAlert icon. */
|
|
1239
|
-
illustration?: React.ReactNode;
|
|
1240
|
+
illustration?: React$1.ReactNode;
|
|
1240
1241
|
className?: string;
|
|
1241
1242
|
}
|
|
1242
1243
|
declare function ErrorPage({ title, description, errorCode, correlationId, actions, illustration, className, }: ErrorPageProps): react_jsx_runtime.JSX.Element;
|
|
@@ -1245,9 +1246,9 @@ interface LoadingTimeoutProps {
|
|
|
1245
1246
|
/** When true, the timeout runs and escalation states render. When false, renders children. */
|
|
1246
1247
|
active: boolean;
|
|
1247
1248
|
/** Children shown when not loading. */
|
|
1248
|
-
children?: React.ReactNode;
|
|
1249
|
+
children?: React$1.ReactNode;
|
|
1249
1250
|
/** Optional skeleton rendered during the "silent" phase (0–5s). */
|
|
1250
|
-
skeleton?: React.ReactNode;
|
|
1251
|
+
skeleton?: React$1.ReactNode;
|
|
1251
1252
|
/** Called when the user clicks the retry button in the "expired" phase. */
|
|
1252
1253
|
onRetry?: () => void;
|
|
1253
1254
|
/** Customise the timeout thresholds in ms. Defaults: 5000/15000/30000. */
|
|
@@ -1479,6 +1480,50 @@ interface UseFullscreenResult {
|
|
|
1479
1480
|
*/
|
|
1480
1481
|
declare function useFullscreen(elementRef?: RefObject<HTMLElement | null>): UseFullscreenResult;
|
|
1481
1482
|
|
|
1483
|
+
/**
|
|
1484
|
+
* Declarative screen wake-lock hook.
|
|
1485
|
+
*
|
|
1486
|
+
* The lock is acquired whenever `active` becomes true and released when it
|
|
1487
|
+
* becomes false. The underlying {@link useWakeLock} hook handles:
|
|
1488
|
+
* - SSR / unsupported-browser safety (`supported` guard)
|
|
1489
|
+
* - Automatic reacquisition when the page becomes visible again
|
|
1490
|
+
* - Release on unmount
|
|
1491
|
+
*
|
|
1492
|
+
* @param active - When `true` the screen wake lock is held; `false` releases it.
|
|
1493
|
+
*
|
|
1494
|
+
* @example
|
|
1495
|
+
* // Keep screen on while a timer is running
|
|
1496
|
+
* use_wake_lock(timer.is_running);
|
|
1497
|
+
*/
|
|
1498
|
+
declare function use_wake_lock(active: boolean): void;
|
|
1499
|
+
|
|
1500
|
+
interface UseFullscreenRefResult<T extends HTMLElement = HTMLDivElement> {
|
|
1501
|
+
/** True when the target element is currently fullscreen. */
|
|
1502
|
+
is_fullscreen: boolean;
|
|
1503
|
+
/** Toggle between fullscreen and normal. */
|
|
1504
|
+
toggle: () => Promise<void>;
|
|
1505
|
+
/** Attach this ref to the element that should enter fullscreen. */
|
|
1506
|
+
ref: React.RefObject<T | null>;
|
|
1507
|
+
}
|
|
1508
|
+
/**
|
|
1509
|
+
* Self-binding fullscreen hook.
|
|
1510
|
+
*
|
|
1511
|
+
* Creates a ref, wires it to {@link useFullscreen}, and returns it alongside
|
|
1512
|
+
* a snake_case state field and toggle function. The consumer only needs to
|
|
1513
|
+
* attach `ref` to the target element — no need to manage the ref separately.
|
|
1514
|
+
*
|
|
1515
|
+
* @example
|
|
1516
|
+
* const { is_fullscreen, toggle, ref } = use_fullscreen();
|
|
1517
|
+
* return (
|
|
1518
|
+
* <div ref={ref}>
|
|
1519
|
+
* <button onClick={toggle}>
|
|
1520
|
+
* {is_fullscreen ? "Exit fullscreen" : "Go fullscreen"}
|
|
1521
|
+
* </button>
|
|
1522
|
+
* </div>
|
|
1523
|
+
* );
|
|
1524
|
+
*/
|
|
1525
|
+
declare function use_fullscreen<T extends HTMLElement = HTMLDivElement>(): UseFullscreenRefResult<T>;
|
|
1526
|
+
|
|
1482
1527
|
/**
|
|
1483
1528
|
* Types for HazoUiKanban - Drag-Drop Kanban
|
|
1484
1529
|
*
|
|
@@ -1567,7 +1612,7 @@ interface KanbanAnnouncements {
|
|
|
1567
1612
|
interface HazoUiKanbanProps<T extends KanbanItem = KanbanItem> {
|
|
1568
1613
|
columns: KanbanColumn[];
|
|
1569
1614
|
items: T[];
|
|
1570
|
-
renderCard: (item: T) => React.ReactNode;
|
|
1615
|
+
renderCard: (item: T) => React$1.ReactNode;
|
|
1571
1616
|
onMove?: (event: KanbanMoveEvent<T>) => void;
|
|
1572
1617
|
onReorder?: (event: KanbanReorderEvent<T>) => void;
|
|
1573
1618
|
/** Default 640 (Tailwind sm). Below this width the board collapses to tabs. */
|
|
@@ -1575,7 +1620,7 @@ interface HazoUiKanbanProps<T extends KanbanItem = KanbanItem> {
|
|
|
1575
1620
|
/** Override default screen-reader messages. Partial — unset keys use defaults. */
|
|
1576
1621
|
announcements?: Partial<KanbanAnnouncements>;
|
|
1577
1622
|
/** Rendered when a column has zero items. Default: muted "—" placeholder. */
|
|
1578
|
-
emptyColumn?: React.ReactNode;
|
|
1623
|
+
emptyColumn?: React$1.ReactNode;
|
|
1579
1624
|
/** Class on the board root. */
|
|
1580
1625
|
className?: string;
|
|
1581
1626
|
/** Class on each card shell (the wrapper around renderCard output). */
|
|
@@ -1604,7 +1649,7 @@ interface HazoUiKanbanProps<T extends KanbanItem = KanbanItem> {
|
|
|
1604
1649
|
* Override the body of the editor dialog. The library still renders the
|
|
1605
1650
|
* Dialog wrapper, title, and (by default) the Cancel/Save footer.
|
|
1606
1651
|
*/
|
|
1607
|
-
renderCardEditor?: (item: T, ctx: KanbanEditorCtx<T>) => React.ReactNode;
|
|
1652
|
+
renderCardEditor?: (item: T, ctx: KanbanEditorCtx<T>) => React$1.ReactNode;
|
|
1608
1653
|
/**
|
|
1609
1654
|
* Suppress the library's default Cancel/Save footer. Only honored when
|
|
1610
1655
|
* renderCardEditor is also provided — in default mode there is no
|
|
@@ -1734,14 +1779,14 @@ declare function applyKanbanFilter<T extends KanbanItem>(items: T[], filter: Kan
|
|
|
1734
1779
|
|
|
1735
1780
|
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_jsx_runtime.JSX.Element;
|
|
1736
1781
|
|
|
1737
|
-
declare const Table: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableElement> & React.RefAttributes<HTMLTableElement>>;
|
|
1738
|
-
declare const TableHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
1739
|
-
declare const TableBody: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
1740
|
-
declare const TableFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
1741
|
-
declare const TableRow: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableRowElement> & React.RefAttributes<HTMLTableRowElement>>;
|
|
1742
|
-
declare const TableHead: React.ForwardRefExoticComponent<React.ThHTMLAttributes<HTMLTableCellElement> & React.RefAttributes<HTMLTableCellElement>>;
|
|
1743
|
-
declare const TableCell: React.ForwardRefExoticComponent<React.TdHTMLAttributes<HTMLTableCellElement> & React.RefAttributes<HTMLTableCellElement>>;
|
|
1744
|
-
declare const TableCaption: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableCaptionElement> & React.RefAttributes<HTMLTableCaptionElement>>;
|
|
1782
|
+
declare const Table: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableElement> & React$1.RefAttributes<HTMLTableElement>>;
|
|
1783
|
+
declare const TableHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
1784
|
+
declare const TableBody: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
1785
|
+
declare const TableFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
1786
|
+
declare const TableRow: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableRowElement> & React$1.RefAttributes<HTMLTableRowElement>>;
|
|
1787
|
+
declare const TableHead: React$1.ForwardRefExoticComponent<React$1.ThHTMLAttributes<HTMLTableCellElement> & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
1788
|
+
declare const TableCell: React$1.ForwardRefExoticComponent<React$1.TdHTMLAttributes<HTMLTableCellElement> & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
1789
|
+
declare const TableCaption: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableCaptionElement> & React$1.RefAttributes<HTMLTableCaptionElement>>;
|
|
1745
1790
|
|
|
1746
1791
|
/**
|
|
1747
1792
|
* HazoUiTable — public types.
|
|
@@ -1769,7 +1814,7 @@ interface TableColumn<TRow extends object = any> {
|
|
|
1769
1814
|
key: keyof TRow & string;
|
|
1770
1815
|
label: string;
|
|
1771
1816
|
sortable?: boolean;
|
|
1772
|
-
cell?: (row: TRow, index: number) => React.ReactNode;
|
|
1817
|
+
cell?: (row: TRow, index: number) => React$1.ReactNode;
|
|
1773
1818
|
formatter?: TableFormatter;
|
|
1774
1819
|
/** ISO-4217 currency code used when `formatter` is "currency". Defaults to "USD". */
|
|
1775
1820
|
currency?: string;
|
|
@@ -1818,14 +1863,14 @@ interface HazoUiTableProps<TRow extends object = any> {
|
|
|
1818
1863
|
searchPlaceholder?: string;
|
|
1819
1864
|
searchDebounceMs?: number;
|
|
1820
1865
|
loading?: boolean;
|
|
1821
|
-
empty?: React.ReactNode;
|
|
1822
|
-
noResults?: React.ReactNode;
|
|
1866
|
+
empty?: React$1.ReactNode;
|
|
1867
|
+
noResults?: React$1.ReactNode;
|
|
1823
1868
|
/**
|
|
1824
1869
|
* Rendered when `onLoad` rejects. Receives the thrown error.
|
|
1825
1870
|
* If not provided (or returns null), the table falls back to the
|
|
1826
1871
|
* `noResults` empty-state visual. `console.warn` runs regardless.
|
|
1827
1872
|
*/
|
|
1828
|
-
error?: React.ReactNode | ((err: unknown) => React.ReactNode);
|
|
1873
|
+
error?: React$1.ReactNode | ((err: unknown) => React$1.ReactNode);
|
|
1829
1874
|
onRowClick?: (row: TRow, index: number) => void;
|
|
1830
1875
|
mobileCardFallback?: boolean;
|
|
1831
1876
|
mobileBreakpoint?: number;
|
|
@@ -1865,6 +1910,16 @@ interface DateRangeOption {
|
|
|
1865
1910
|
value: string;
|
|
1866
1911
|
label: string;
|
|
1867
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
|
+
}
|
|
1868
1923
|
|
|
1869
1924
|
/**
|
|
1870
1925
|
* Sparkline — tiny single-series line for KPI cards.
|
|
@@ -1888,7 +1943,7 @@ interface SparklineProps {
|
|
|
1888
1943
|
/** Override the default 40px height. */
|
|
1889
1944
|
height?: number;
|
|
1890
1945
|
}
|
|
1891
|
-
declare function Sparkline({ data, color, className, height, }: SparklineProps): React.ReactElement;
|
|
1946
|
+
declare function Sparkline({ data, color, className, height, }: SparklineProps): React$1.ReactElement;
|
|
1892
1947
|
|
|
1893
1948
|
/**
|
|
1894
1949
|
* InverseSparkline — tiny axisless line where lower = better.
|
|
@@ -1911,7 +1966,7 @@ interface InverseSparklineProps {
|
|
|
1911
1966
|
/** Override default 18px height. */
|
|
1912
1967
|
height?: number;
|
|
1913
1968
|
}
|
|
1914
|
-
declare function InverseSparkline({ data, color, className, width, height, }: InverseSparklineProps): React.ReactElement;
|
|
1969
|
+
declare function InverseSparkline({ data, color, className, width, height, }: InverseSparklineProps): React$1.ReactElement;
|
|
1915
1970
|
|
|
1916
1971
|
/**
|
|
1917
1972
|
* LineChart — full-anatomy single-series chart (PRD §6b spec).
|
|
@@ -1947,7 +2002,7 @@ interface LineChartProps {
|
|
|
1947
2002
|
/** Container className passthrough. */
|
|
1948
2003
|
className?: string;
|
|
1949
2004
|
}
|
|
1950
|
-
declare function LineChart({ data, dates, color, width, height, unit, showTooltip, className, }: LineChartProps): React.ReactElement;
|
|
2005
|
+
declare function LineChart({ data, dates, color, width, height, unit, showTooltip, className, }: LineChartProps): React$1.ReactElement;
|
|
1951
2006
|
|
|
1952
2007
|
/**
|
|
1953
2008
|
* MultiLineChart — multi-series chart with shared Y-axis.
|
|
@@ -1967,7 +2022,7 @@ interface MultiLineChartProps {
|
|
|
1967
2022
|
showLegend?: boolean;
|
|
1968
2023
|
className?: string;
|
|
1969
2024
|
}
|
|
1970
|
-
declare function MultiLineChart({ series, dates, width, height, showTooltip, showLegend, className, }: MultiLineChartProps): React.ReactElement;
|
|
2025
|
+
declare function MultiLineChart({ series, dates, width, height, showTooltip, showLegend, className, }: MultiLineChartProps): React$1.ReactElement;
|
|
1971
2026
|
|
|
1972
2027
|
/**
|
|
1973
2028
|
* StackedBars — one vertical bar per X position, each split into top-to-bottom
|
|
@@ -1987,7 +2042,7 @@ interface StackedBarsProps {
|
|
|
1987
2042
|
showYAxis?: boolean;
|
|
1988
2043
|
className?: string;
|
|
1989
2044
|
}
|
|
1990
|
-
declare function StackedBars({ bars, width, height, showYAxis, className, }: StackedBarsProps): React.ReactElement;
|
|
2045
|
+
declare function StackedBars({ bars, width, height, showYAxis, className, }: StackedBarsProps): React$1.ReactElement;
|
|
1991
2046
|
|
|
1992
2047
|
/**
|
|
1993
2048
|
* DateRangeSelector — segmented control for picking a chart's time window.
|
|
@@ -2009,7 +2064,39 @@ interface DateRangeSelectorProps {
|
|
|
2009
2064
|
/** Aria label for the whole group. Defaults to "Date range". */
|
|
2010
2065
|
ariaLabel?: string;
|
|
2011
2066
|
}
|
|
2012
|
-
declare function DateRangeSelector({ value, onChange, options, className, ariaLabel, }: DateRangeSelectorProps): React.ReactElement;
|
|
2067
|
+
declare function DateRangeSelector({ value, onChange, options, className, ariaLabel, }: DateRangeSelectorProps): React$1.ReactElement;
|
|
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;
|
|
2013
2100
|
|
|
2014
2101
|
/**
|
|
2015
2102
|
* Number/date formatters shared across hazo_ui_charts.
|
|
@@ -2044,7 +2131,7 @@ interface CelebrationShareableCard {
|
|
|
2044
2131
|
*/
|
|
2045
2132
|
background?: string;
|
|
2046
2133
|
/** ReactNode rendered at full 1080×1080 size (scaled down for preview). */
|
|
2047
|
-
foreground: React.ReactNode;
|
|
2134
|
+
foreground: React$1.ReactNode;
|
|
2048
2135
|
/**
|
|
2049
2136
|
* Caption at the bottom of the card.
|
|
2050
2137
|
* Falls back to the top-level subtitle when omitted.
|
|
@@ -2077,7 +2164,7 @@ interface CelebrationPayload {
|
|
|
2077
2164
|
*/
|
|
2078
2165
|
declare function celebrate(payload: CelebrationPayload): void;
|
|
2079
2166
|
interface CelebrationProviderProps {
|
|
2080
|
-
children: React.ReactNode;
|
|
2167
|
+
children: React$1.ReactNode;
|
|
2081
2168
|
}
|
|
2082
2169
|
/**
|
|
2083
2170
|
* Mount once near the root of your app (e.g. (app)/layout.tsx).
|
|
@@ -2085,4 +2172,122 @@ interface CelebrationProviderProps {
|
|
|
2085
2172
|
*/
|
|
2086
2173
|
declare function CelebrationProvider({ children }: CelebrationProviderProps): react_jsx_runtime.JSX.Element;
|
|
2087
2174
|
|
|
2088
|
-
|
|
2175
|
+
/**
|
|
2176
|
+
* Pure ETA estimation helpers — no React, no I/O, fully unit-testable.
|
|
2177
|
+
*/
|
|
2178
|
+
/** Median of a non-empty number array. Returns 0 for empty arrays. */
|
|
2179
|
+
declare function median(values: number[]): number;
|
|
2180
|
+
/**
|
|
2181
|
+
* Compute expected duration in ms.
|
|
2182
|
+
*
|
|
2183
|
+
* @param durationWindow - Rolling window of per-unit median durations (ms)
|
|
2184
|
+
* @param unitCount - Number of units to process
|
|
2185
|
+
* @param concurrency - How many units run in parallel (default 1 = serial)
|
|
2186
|
+
* @param fallbackUnitMs - Cold-start fallback per-unit ms (default 5000)
|
|
2187
|
+
*/
|
|
2188
|
+
declare function computeEta(durationWindow: number[], unitCount: number, concurrency?: number, fallbackUnitMs?: number): number;
|
|
2189
|
+
/**
|
|
2190
|
+
* Asymptotic ease toward ETA, capped at maxCap (default 0.95).
|
|
2191
|
+
*
|
|
2192
|
+
* Curve: `maxCap × (1 − e^(−1.5 × elapsed/eta))`
|
|
2193
|
+
* At elapsed=eta: ≈ maxCap × 0.78
|
|
2194
|
+
* At elapsed=2eta: ≈ maxCap × 0.95
|
|
2195
|
+
* As elapsed→∞: → maxCap
|
|
2196
|
+
*/
|
|
2197
|
+
declare function easeToward(elapsed: number, eta: number, maxCap?: number): number;
|
|
2198
|
+
/** Options for useEtaProgress. */
|
|
2199
|
+
interface UseEtaProgressOptions {
|
|
2200
|
+
/** Unique key identifying what is being estimated (used for storage). */
|
|
2201
|
+
estimateKey: string;
|
|
2202
|
+
/** Total number of parallel-eligible work units. */
|
|
2203
|
+
unitCount: number;
|
|
2204
|
+
/** How many units run concurrently. Default 1 (serial/conservative). */
|
|
2205
|
+
concurrency?: number;
|
|
2206
|
+
/** Rolling window size for stored samples. Default 5. */
|
|
2207
|
+
windowSize?: number;
|
|
2208
|
+
/** Per-unit fallback duration in ms when window is empty. Default 5000. */
|
|
2209
|
+
fallbackUnitMs?: number;
|
|
2210
|
+
/** Load the current duration window from storage. Called on mount. */
|
|
2211
|
+
loadDurations: () => number[];
|
|
2212
|
+
/** Persist a new sample to storage after a run completes. */
|
|
2213
|
+
appendDuration: (ms: number) => void;
|
|
2214
|
+
}
|
|
2215
|
+
/** Imperative handle returned by useEtaProgress. */
|
|
2216
|
+
interface EtaProgressHandle {
|
|
2217
|
+
/** 0..1 progress value. Drives the bar width. */
|
|
2218
|
+
value: number;
|
|
2219
|
+
/** Call once when the operation begins. */
|
|
2220
|
+
start: () => void;
|
|
2221
|
+
/** Call each time one unit of work completes. */
|
|
2222
|
+
unitDone: () => void;
|
|
2223
|
+
/** Call when all work is complete. Snaps bar to 1.0 and saves the run sample. */
|
|
2224
|
+
finish: () => void;
|
|
2225
|
+
}
|
|
2226
|
+
|
|
2227
|
+
interface HazoUiProgressBarProps {
|
|
2228
|
+
/** 0..1 progress value. */
|
|
2229
|
+
value: number;
|
|
2230
|
+
/** Optional accessible label shown above the bar. */
|
|
2231
|
+
label?: string;
|
|
2232
|
+
/** Show percentage text. Default false. */
|
|
2233
|
+
showPercent?: boolean;
|
|
2234
|
+
/** Bar height in px. Default 8. */
|
|
2235
|
+
size?: number;
|
|
2236
|
+
className?: string;
|
|
2237
|
+
}
|
|
2238
|
+
/**
|
|
2239
|
+
* Purely presentational determinate progress bar.
|
|
2240
|
+
* Zero logic — accepts a 0..1 value and renders the fill.
|
|
2241
|
+
* Safe to use standalone without any ETA or state machinery.
|
|
2242
|
+
*/
|
|
2243
|
+
declare function HazoUiProgressBar({ value, label, showPercent, size, className, }: HazoUiProgressBarProps): react_jsx_runtime.JSX.Element;
|
|
2244
|
+
/**
|
|
2245
|
+
* Headless hook — ETA estimation + animation core.
|
|
2246
|
+
*
|
|
2247
|
+
* Storage-agnostic: pass `loadDurations` and `appendDuration` callbacks.
|
|
2248
|
+
* The returned `value` (0..1) is suitable for HazoUiProgressBar.
|
|
2249
|
+
*
|
|
2250
|
+
* Usage:
|
|
2251
|
+
* ```ts
|
|
2252
|
+
* const { value, start, unitDone, finish } = useEtaProgress({ ... })
|
|
2253
|
+
* // Call start() when work begins, unitDone() per resolved unit, finish() when all done.
|
|
2254
|
+
* ```
|
|
2255
|
+
*/
|
|
2256
|
+
declare function useEtaProgress(opts: UseEtaProgressOptions): EtaProgressHandle;
|
|
2257
|
+
interface HazoUiEtaProgressProps {
|
|
2258
|
+
/** Key used for storing the duration rolling window in hazo_state. */
|
|
2259
|
+
estimateKey: string;
|
|
2260
|
+
/** Total number of parallel-eligible work units. */
|
|
2261
|
+
unitCount: number;
|
|
2262
|
+
/** How many units run concurrently. Default 1. */
|
|
2263
|
+
concurrency?: number;
|
|
2264
|
+
/** Rolling window size. Default 5. */
|
|
2265
|
+
windowSize?: number;
|
|
2266
|
+
/** Per-unit fallback ms on cold start. Default 5000. */
|
|
2267
|
+
fallbackUnitMs?: number;
|
|
2268
|
+
/** hazo_state visibility level. Default 'global'. */
|
|
2269
|
+
level?: StateLevel;
|
|
2270
|
+
/** Label shown above the bar. */
|
|
2271
|
+
label?: string;
|
|
2272
|
+
/** hazo-state API endpoint. Default '/api/hazo-state'. */
|
|
2273
|
+
endpoint?: string;
|
|
2274
|
+
/** Ref that exposes start/unitDone/finish to the parent. */
|
|
2275
|
+
handleRef?: React$1.RefObject<EtaProgressHandle | null>;
|
|
2276
|
+
className?: string;
|
|
2277
|
+
}
|
|
2278
|
+
/**
|
|
2279
|
+
* Turnkey ETA progress bar backed by hazo_state.
|
|
2280
|
+
*
|
|
2281
|
+
* Persists the rolling window of run-time samples automatically.
|
|
2282
|
+
* Expose `handleRef` to fire `start()`, `unitDone()`, `finish()` imperatively.
|
|
2283
|
+
*
|
|
2284
|
+
* ```tsx
|
|
2285
|
+
* const handle = React.useRef<EtaProgressHandle>(null)
|
|
2286
|
+
* // ...
|
|
2287
|
+
* <HazoUiEtaProgress estimateKey="my_op" unitCount={5} handleRef={handle} />
|
|
2288
|
+
* // In effect: handle.current?.start(); ... handle.current?.finish();
|
|
2289
|
+
* ```
|
|
2290
|
+
*/
|
|
2291
|
+
declare function HazoUiEtaProgress({ estimateKey, unitCount, concurrency, windowSize, fallbackUnitMs, level, label, endpoint, handleRef, className, }: HazoUiEtaProgressProps): react_jsx_runtime.JSX.Element;
|
|
2292
|
+
|
|
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 };
|