@sustaina/shared-ui 1.10.1 → 1.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -20,6 +20,7 @@ import * as SelectPrimitive from '@radix-ui/react-select';
20
20
  import * as SeparatorPrimitive from '@radix-ui/react-separator';
21
21
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
22
22
  import * as SwitchPrimitive from '@radix-ui/react-switch';
23
+ import { Area, CropperProps } from 'react-easy-crop';
23
24
  import { ClassValue } from 'clsx';
24
25
 
25
26
  declare function Accordion({ ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Root>): react_jsx_runtime.JSX.Element;
@@ -543,7 +544,6 @@ declare const SuiWarningIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runt
543
544
 
544
545
  type InputPrimitiveProps = React$1.InputHTMLAttributes<HTMLInputElement>;
545
546
  declare const InputPrimitive: React$1.ForwardRefExoticComponent<InputPrimitiveProps & React$1.RefAttributes<HTMLInputElement>>;
546
-
547
547
  declare const inputVariants: (props?: ({
548
548
  controlSize?: "sm" | "lg" | "md" | null | undefined;
549
549
  fullWidth?: boolean | null | undefined;
@@ -552,8 +552,10 @@ declare const inputVariants: (props?: ({
552
552
  type InputProps = Omit<InputPrimitiveProps, "size"> & VariantProps<typeof inputVariants> & {
553
553
  prefix?: React$1.ReactNode;
554
554
  prefixProps?: React$1.HTMLAttributes<HTMLSpanElement>;
555
+ prefixInteractive?: boolean;
555
556
  suffix?: React$1.ReactNode;
556
557
  suffixProps?: React$1.HTMLAttributes<HTMLSpanElement>;
558
+ suffixInteractive?: boolean;
557
559
  wrapperClassName?: string;
558
560
  invalid?: boolean;
559
561
  loading?: boolean;
@@ -561,6 +563,7 @@ type InputProps = Omit<InputPrimitiveProps, "size"> & VariantProps<typeof inputV
561
563
  validationMessage?: React$1.ReactNode;
562
564
  validationIcon?: React$1.ReactNode;
563
565
  validationMessageProps?: React$1.HTMLAttributes<HTMLParagraphElement>;
566
+ onValueChange?: (value: string) => void;
564
567
  };
565
568
  declare const Input: React$1.ForwardRefExoticComponent<Omit<InputPrimitiveProps, "size"> & VariantProps<(props?: ({
566
569
  controlSize?: "sm" | "lg" | "md" | null | undefined;
@@ -569,8 +572,10 @@ declare const Input: React$1.ForwardRefExoticComponent<Omit<InputPrimitiveProps,
569
572
  } & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
570
573
  prefix?: React$1.ReactNode;
571
574
  prefixProps?: React$1.HTMLAttributes<HTMLSpanElement>;
575
+ prefixInteractive?: boolean;
572
576
  suffix?: React$1.ReactNode;
573
577
  suffixProps?: React$1.HTMLAttributes<HTMLSpanElement>;
578
+ suffixInteractive?: boolean;
574
579
  wrapperClassName?: string;
575
580
  invalid?: boolean;
576
581
  loading?: boolean;
@@ -578,6 +583,7 @@ declare const Input: React$1.ForwardRefExoticComponent<Omit<InputPrimitiveProps,
578
583
  validationMessage?: React$1.ReactNode;
579
584
  validationIcon?: React$1.ReactNode;
580
585
  validationMessageProps?: React$1.HTMLAttributes<HTMLParagraphElement>;
586
+ onValueChange?: (value: string) => void;
581
587
  } & React$1.RefAttributes<HTMLInputElement>>;
582
588
 
583
589
  declare function Label({ className, ...props }: React$1.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime.JSX.Element;
@@ -854,6 +860,7 @@ declare const index_CollapsibleContent: typeof CollapsibleContent;
854
860
  declare const index_CollapsibleTrigger: typeof CollapsibleTrigger;
855
861
  declare const index_Dialog: typeof Dialog;
856
862
  declare const index_DialogContent: typeof DialogContent;
863
+ type index_DialogContentProps = DialogContentProps;
857
864
  declare const index_DialogDescription: typeof DialogDescription;
858
865
  declare const index_DialogFooter: typeof DialogFooter;
859
866
  declare const index_DialogTitle: typeof DialogTitle;
@@ -865,8 +872,10 @@ declare const index_FormField: typeof FormField;
865
872
  declare const index_FormItem: typeof FormItem;
866
873
  declare const index_FormLabel: typeof FormLabel;
867
874
  declare const index_FormMessage: typeof FormMessage;
875
+ declare const index_Input: typeof Input;
868
876
  declare const index_InputPrimitive: typeof InputPrimitive;
869
877
  type index_InputPrimitiveProps = InputPrimitiveProps;
878
+ type index_InputProps = InputProps;
870
879
  declare const index_Label: typeof Label;
871
880
  declare const index_Popover: typeof Popover;
872
881
  declare const index_PopoverAnchor: typeof PopoverAnchor;
@@ -935,11 +944,12 @@ declare const index_TableHeader: typeof TableHeader;
935
944
  declare const index_TableRow: typeof TableRow;
936
945
  declare const index_Textarea: typeof Textarea;
937
946
  declare const index_buttonVariants: typeof buttonVariants;
947
+ declare const index_inputVariants: typeof inputVariants;
938
948
  declare const index_spinnerVariants: typeof spinnerVariants;
939
949
  declare const index_useFormField: typeof useFormField;
940
950
  declare const index_useSidebar: typeof useSidebar;
941
951
  declare namespace index {
942
- export { index_Accordion as Accordion, index_AccordionContent as AccordionContent, index_AccordionItem as AccordionItem, index_AccordionTrigger as AccordionTrigger, index_Button as Button, index_Checkbox as Checkbox, index_ClearButton as ClearButton, index_Collapsible as Collapsible, index_CollapsibleContent as CollapsibleContent, index_CollapsibleTrigger as CollapsibleTrigger, DatePicker$1 as DatePicker, index_Dialog as Dialog, index_DialogContent as DialogContent, index_DialogDescription as DialogDescription, index_DialogFooter as DialogFooter, index_DialogTitle as DialogTitle, index_DialogTrigger as DialogTrigger, index_Form as Form, index_FormControl as FormControl, index_FormDescription as FormDescription, index_FormField as FormField, index_FormItem as FormItem, index_FormLabel as FormLabel, index_FormMessage as FormMessage, index_InputPrimitive as InputPrimitive, type index_InputPrimitiveProps as InputPrimitiveProps, index_Label as Label, MonthPicker$1 as MonthPicker, type MonthPickerProps$1 as MonthPickerProps, index_Popover as Popover, index_PopoverAnchor as PopoverAnchor, index_PopoverArrow as PopoverArrow, index_PopoverContent as PopoverContent, index_PopoverTrigger as PopoverTrigger, index_RadioGroupItem as RadioGroupItem, index_RadioGroupRoot as RadioGroupRoot, index_RadioLabel as RadioLabel, index_RichText as RichText, index_Select as Select, index_SelectContent as SelectContent, index_SelectGroup as SelectGroup, index_SelectItem as SelectItem, index_SelectLabel as SelectLabel, index_SelectScrollDownButton as SelectScrollDownButton, index_SelectScrollUpButton as SelectScrollUpButton, index_SelectSeparator as SelectSeparator, index_SelectTrigger as SelectTrigger, index_SelectValue as SelectValue, index_Separator as Separator, index_Sheet as Sheet, index_SheetClose as SheetClose, index_SheetContent as SheetContent, index_SheetDescription as SheetDescription, index_SheetFooter as SheetFooter, index_SheetHeader as SheetHeader, index_SheetTitle as SheetTitle, index_SheetTrigger as SheetTrigger, index_Sidebar as Sidebar, index_SidebarContent as SidebarContent, index_SidebarFooter as SidebarFooter, index_SidebarGroup as SidebarGroup, index_SidebarGroupAction as SidebarGroupAction, index_SidebarGroupContent as SidebarGroupContent, index_SidebarGroupLabel as SidebarGroupLabel, index_SidebarHeader as SidebarHeader, index_SidebarInput as SidebarInput, index_SidebarInset as SidebarInset, index_SidebarLayout as SidebarLayout, index_SidebarMenu as SidebarMenu, index_SidebarMenuAction as SidebarMenuAction, index_SidebarMenuBadge as SidebarMenuBadge, index_SidebarMenuButton as SidebarMenuButton, index_SidebarMenuItem as SidebarMenuItem, index_SidebarMenuSkeleton as SidebarMenuSkeleton, index_SidebarMenuSub as SidebarMenuSub, index_SidebarMenuSubButton as SidebarMenuSubButton, index_SidebarMenuSubItem as SidebarMenuSubItem, index_SidebarProvider as SidebarProvider, index_SidebarRail as SidebarRail, index_SidebarSeparator as SidebarSeparator, index_SidebarTrigger as SidebarTrigger, index_Skeleton as Skeleton, index_Spinner as Spinner, type index_SpinnerProps as SpinnerProps, index_Switch as Switch, index_Table as Table, index_TableBody as TableBody, index_TableCaption as TableCaption, index_TableCell as TableCell, index_TableContainer as TableContainer, index_TableFooter as TableFooter, index_TableHead as TableHead, index_TableHeader as TableHeader, index_TableRow as TableRow, index_Textarea as Textarea, Tooltip$1 as Tooltip, TooltipContent$1 as TooltipContent, TooltipProvider$1 as TooltipProvider, TooltipTrigger$1 as TooltipTrigger, index_buttonVariants as buttonVariants, index_spinnerVariants as spinnerVariants, index_useFormField as useFormField, index_useSidebar as useSidebar };
952
+ export { index_Accordion as Accordion, index_AccordionContent as AccordionContent, index_AccordionItem as AccordionItem, index_AccordionTrigger as AccordionTrigger, index_Button as Button, index_Checkbox as Checkbox, index_ClearButton as ClearButton, index_Collapsible as Collapsible, index_CollapsibleContent as CollapsibleContent, index_CollapsibleTrigger as CollapsibleTrigger, DatePicker$1 as DatePicker, index_Dialog as Dialog, index_DialogContent as DialogContent, type index_DialogContentProps as DialogContentProps, index_DialogDescription as DialogDescription, index_DialogFooter as DialogFooter, index_DialogTitle as DialogTitle, index_DialogTrigger as DialogTrigger, index_Form as Form, index_FormControl as FormControl, index_FormDescription as FormDescription, index_FormField as FormField, index_FormItem as FormItem, index_FormLabel as FormLabel, index_FormMessage as FormMessage, index_Input as Input, index_InputPrimitive as InputPrimitive, type index_InputPrimitiveProps as InputPrimitiveProps, type index_InputProps as InputProps, index_Label as Label, MonthPicker$1 as MonthPicker, type MonthPickerProps$1 as MonthPickerProps, index_Popover as Popover, index_PopoverAnchor as PopoverAnchor, index_PopoverArrow as PopoverArrow, index_PopoverContent as PopoverContent, index_PopoverTrigger as PopoverTrigger, index_RadioGroupItem as RadioGroupItem, index_RadioGroupRoot as RadioGroupRoot, index_RadioLabel as RadioLabel, index_RichText as RichText, index_Select as Select, index_SelectContent as SelectContent, index_SelectGroup as SelectGroup, index_SelectItem as SelectItem, index_SelectLabel as SelectLabel, index_SelectScrollDownButton as SelectScrollDownButton, index_SelectScrollUpButton as SelectScrollUpButton, index_SelectSeparator as SelectSeparator, index_SelectTrigger as SelectTrigger, index_SelectValue as SelectValue, index_Separator as Separator, index_Sheet as Sheet, index_SheetClose as SheetClose, index_SheetContent as SheetContent, index_SheetDescription as SheetDescription, index_SheetFooter as SheetFooter, index_SheetHeader as SheetHeader, index_SheetTitle as SheetTitle, index_SheetTrigger as SheetTrigger, index_Sidebar as Sidebar, index_SidebarContent as SidebarContent, index_SidebarFooter as SidebarFooter, index_SidebarGroup as SidebarGroup, index_SidebarGroupAction as SidebarGroupAction, index_SidebarGroupContent as SidebarGroupContent, index_SidebarGroupLabel as SidebarGroupLabel, index_SidebarHeader as SidebarHeader, index_SidebarInput as SidebarInput, index_SidebarInset as SidebarInset, index_SidebarLayout as SidebarLayout, index_SidebarMenu as SidebarMenu, index_SidebarMenuAction as SidebarMenuAction, index_SidebarMenuBadge as SidebarMenuBadge, index_SidebarMenuButton as SidebarMenuButton, index_SidebarMenuItem as SidebarMenuItem, index_SidebarMenuSkeleton as SidebarMenuSkeleton, index_SidebarMenuSub as SidebarMenuSub, index_SidebarMenuSubButton as SidebarMenuSubButton, index_SidebarMenuSubItem as SidebarMenuSubItem, index_SidebarProvider as SidebarProvider, index_SidebarRail as SidebarRail, index_SidebarSeparator as SidebarSeparator, index_SidebarTrigger as SidebarTrigger, index_Skeleton as Skeleton, index_Spinner as Spinner, type index_SpinnerProps as SpinnerProps, index_Switch as Switch, index_Table as Table, index_TableBody as TableBody, index_TableCaption as TableCaption, index_TableCell as TableCell, index_TableContainer as TableContainer, index_TableFooter as TableFooter, index_TableHead as TableHead, index_TableHeader as TableHeader, index_TableRow as TableRow, index_Textarea as Textarea, Tooltip$1 as Tooltip, TooltipContent$1 as TooltipContent, TooltipProvider$1 as TooltipProvider, TooltipTrigger$1 as TooltipTrigger, index_buttonVariants as buttonVariants, index_inputVariants as inputVariants, index_spinnerVariants as spinnerVariants, index_useFormField as useFormField, index_useSidebar as useSidebar };
943
953
  }
944
954
 
945
955
  type SidebarContextProps = {
@@ -1019,6 +1029,51 @@ declare function TooltipTrigger({ ...props }: React$1.ComponentProps<typeof Tool
1019
1029
  declare function TooltipArrow(props: React$1.ComponentProps<typeof TooltipPrimitive.Arrow>): react_jsx_runtime.JSX.Element;
1020
1030
  declare function TooltipContent({ className, sideOffset, children, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime.JSX.Element;
1021
1031
 
1032
+ interface CroppedImagePayload {
1033
+ crop: {
1034
+ x: number;
1035
+ y: number;
1036
+ };
1037
+ croppedAreaPixels: Area | null;
1038
+ }
1039
+ interface CroppedImagePayloadWithBlobUrl extends CroppedImagePayload {
1040
+ croppedImageBlobUrl: string;
1041
+ }
1042
+ interface CropperModalBaseProps {
1043
+ open?: boolean;
1044
+ onOpenChange: (open: boolean) => void;
1045
+ onCancel?: () => void;
1046
+ onError?: (e: unknown) => void;
1047
+ imageSrc?: string | null;
1048
+ cropSize?: {
1049
+ width: number;
1050
+ height: number;
1051
+ };
1052
+ /**
1053
+ * @property {boolean} outputExactCropSize - Determine whether to ouput image with the exact size given in cropSize attribute
1054
+ * @description an original image dimension is 1000x1000px, if cropSize is 500x500px, the output image will be exactly 500x500px
1055
+ */
1056
+ outputExactCropSize?: boolean;
1057
+ title?: string;
1058
+ props?: {
1059
+ dialogTitleContainer?: React.ComponentProps<"div">;
1060
+ dialogTitle?: React.ComponentProps<typeof SheetPrimitive.Title>;
1061
+ dialogContent?: DialogContentProps;
1062
+ cropper?: CropperProps;
1063
+ cropperContainer?: React.ComponentProps<"div">;
1064
+ };
1065
+ }
1066
+ interface CropperModalWithBlobUrlOutputProps extends CropperModalBaseProps {
1067
+ onConfirm?: (payload: CroppedImagePayloadWithBlobUrl) => void;
1068
+ generateBlobUrlOutput: true;
1069
+ }
1070
+ interface CropperModalNormalProps extends CropperModalBaseProps {
1071
+ onConfirm?: (payload: CroppedImagePayload) => void;
1072
+ generateBlobUrlOutput: undefined | false;
1073
+ }
1074
+ type CropperModalProps = CropperModalWithBlobUrlOutputProps | CropperModalNormalProps;
1075
+ declare const CropperModal: ({ open, onOpenChange, imageSrc, onConfirm, onCancel, onError, cropSize, outputExactCropSize, generateBlobUrlOutput, title, props }: CropperModalProps) => react_jsx_runtime.JSX.Element;
1076
+
1022
1077
  declare function isDefined(value: any): boolean;
1023
1078
  declare function isEmptyObject(value: any): boolean;
1024
1079
  type DebounceOptions = {
@@ -1116,4 +1171,4 @@ type UseTruncatedOptions<T> = {
1116
1171
  type UseTruncatedResult = boolean;
1117
1172
  declare const useTruncated: <T extends HTMLElement = any>({ elementRef, onChange, resizeDetectDelay }: UseTruncatedOptions<T>) => UseTruncatedResult;
1118
1173
 
1119
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AdvanceSearch, ArrowIcon, type Breakpoints, Button, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, type Column, DataTable, type DataTableChildrenKeyHandler, type DataTableColumnFilter, type DataTableColumnFilterProps, type DataTableColumnGrouping, type DataTableColumnOrdering, type DataTableColumnPinning, type DataTableColumnSeparatorProps, type DataTableColumnSorting, type DataTableColumnVisibility, type DataTableComponentProps, type DataTableFilterConfig, type DataTableFilters, type DataTableGlobalFilter, type DataTableHeaderCell, type DataTableProps, type DataTableRenderHeaderHandler, type DataTableRenderHeaderProps, type DataTableRenderRowHandler, type DataTableRenderRowProps, type DataTableRowCell, type DataTableRowClickHandler, type DataTableRowExpansion, type DataTableRowIdKeyHandler, type DataTableRowSelection, type DataTableScrollFetch, type DataTableStatusContent, type DatatableColumnResizing, DatePicker, type DatePickerProps, type DebounceOptions, type DebouncedFunction, Dialog, DialogAlert, type DialogAlertProps, DialogContent, DialogDescription, DialogFooter, DialogTitle, DialogTrigger, type DialogVariant, type FieldSchema, type FieldType, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type GridPayload, GridSettingsModal, type GridSettingsModalProps, HeaderCell, type HeaderCellProps, Input, type InputProps, Label, List, ListContainer, type ListContainerProps, ListHeader, type ListHeaderProps, type ListProps, ListTable, type ListTableProps, LookupSelect, type LookupSelectOption, type LookupSelectProps, MonthPicker, type MonthPickerProps, _default as Navbar, type NavbarProps, NotFoundIcon, type Params, Popover, PopoverAnchor, PopoverArrow, PopoverContent, PopoverTrigger, PreventPageLeave, RadioGroupItem, RadioGroupRoot, RadioLabel, RichText, type RowClickType, type RowState, type ScrollInfo, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarLayout, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, type SorterProps, type StatusContentKey, SuiCalendarIcon, SuiCheckIcon, SuiDotsVerticalIcon, SuiEmptyDataIcon, SuiExpandIcon, SuiFilterIcon, SuiSettingIcon, SuiTriangleDownIcon, SuiWarningIcon, Switch, Textarea, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, index as UI, type UseHoverResult, type UseMediaQueryOptions, type UseMediaQueryResult, type UsePreventPageLeaveOptions, type UseScreenSizeResult, type UseTruncatedOptions, type UseTruncatedResult, booleanToSelectValue, buttonVariants, cn, compareAlphanumeric, debounce, inputVariants, isDefined, isEmptyObject, selectValueToBoolean, stripNullishObject, throttle, useFormField, useGridSettingsStore, useHover, useIntersectionObserver, useMediaQuery, usePreventPageLeave, usePreventPageLeaveStore, useScreenSize, useSidebar, useTruncated };
1174
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AdvanceSearch, ArrowIcon, type Breakpoints, Button, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, type Column, type CroppedImagePayload, type CroppedImagePayloadWithBlobUrl, CropperModal, type CropperModalProps, DataTable, type DataTableChildrenKeyHandler, type DataTableColumnFilter, type DataTableColumnFilterProps, type DataTableColumnGrouping, type DataTableColumnOrdering, type DataTableColumnPinning, type DataTableColumnSeparatorProps, type DataTableColumnSorting, type DataTableColumnVisibility, type DataTableComponentProps, type DataTableFilterConfig, type DataTableFilters, type DataTableGlobalFilter, type DataTableHeaderCell, type DataTableProps, type DataTableRenderHeaderHandler, type DataTableRenderHeaderProps, type DataTableRenderRowHandler, type DataTableRenderRowProps, type DataTableRowCell, type DataTableRowClickHandler, type DataTableRowExpansion, type DataTableRowIdKeyHandler, type DataTableRowSelection, type DataTableScrollFetch, type DataTableStatusContent, type DatatableColumnResizing, DatePicker, type DatePickerProps, type DebounceOptions, type DebouncedFunction, Dialog, DialogAlert, type DialogAlertProps, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogTitle, DialogTrigger, type DialogVariant, type FieldSchema, type FieldType, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type GridPayload, GridSettingsModal, type GridSettingsModalProps, HeaderCell, type HeaderCellProps, Input, type InputProps, Label, List, ListContainer, type ListContainerProps, ListHeader, type ListHeaderProps, type ListProps, ListTable, type ListTableProps, LookupSelect, type LookupSelectOption, type LookupSelectProps, MonthPicker, type MonthPickerProps, _default as Navbar, type NavbarProps, NotFoundIcon, type Params, Popover, PopoverAnchor, PopoverArrow, PopoverContent, PopoverTrigger, PreventPageLeave, RadioGroupItem, RadioGroupRoot, RadioLabel, RichText, type RowClickType, type RowState, type ScrollInfo, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarLayout, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, type SorterProps, type StatusContentKey, SuiCalendarIcon, SuiCheckIcon, SuiDotsVerticalIcon, SuiEmptyDataIcon, SuiExpandIcon, SuiFilterIcon, SuiSettingIcon, SuiTriangleDownIcon, SuiWarningIcon, Switch, Textarea, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, index as UI, type UseHoverResult, type UseMediaQueryOptions, type UseMediaQueryResult, type UsePreventPageLeaveOptions, type UseScreenSizeResult, type UseTruncatedOptions, type UseTruncatedResult, booleanToSelectValue, buttonVariants, cn, compareAlphanumeric, debounce, inputVariants, isDefined, isEmptyObject, selectValueToBoolean, stripNullishObject, throttle, useFormField, useGridSettingsStore, useHover, useIntersectionObserver, useMediaQuery, usePreventPageLeave, usePreventPageLeaveStore, useScreenSize, useSidebar, useTruncated };
package/dist/index.d.ts CHANGED
@@ -20,6 +20,7 @@ import * as SelectPrimitive from '@radix-ui/react-select';
20
20
  import * as SeparatorPrimitive from '@radix-ui/react-separator';
21
21
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
22
22
  import * as SwitchPrimitive from '@radix-ui/react-switch';
23
+ import { Area, CropperProps } from 'react-easy-crop';
23
24
  import { ClassValue } from 'clsx';
24
25
 
25
26
  declare function Accordion({ ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Root>): react_jsx_runtime.JSX.Element;
@@ -543,7 +544,6 @@ declare const SuiWarningIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runt
543
544
 
544
545
  type InputPrimitiveProps = React$1.InputHTMLAttributes<HTMLInputElement>;
545
546
  declare const InputPrimitive: React$1.ForwardRefExoticComponent<InputPrimitiveProps & React$1.RefAttributes<HTMLInputElement>>;
546
-
547
547
  declare const inputVariants: (props?: ({
548
548
  controlSize?: "sm" | "lg" | "md" | null | undefined;
549
549
  fullWidth?: boolean | null | undefined;
@@ -552,8 +552,10 @@ declare const inputVariants: (props?: ({
552
552
  type InputProps = Omit<InputPrimitiveProps, "size"> & VariantProps<typeof inputVariants> & {
553
553
  prefix?: React$1.ReactNode;
554
554
  prefixProps?: React$1.HTMLAttributes<HTMLSpanElement>;
555
+ prefixInteractive?: boolean;
555
556
  suffix?: React$1.ReactNode;
556
557
  suffixProps?: React$1.HTMLAttributes<HTMLSpanElement>;
558
+ suffixInteractive?: boolean;
557
559
  wrapperClassName?: string;
558
560
  invalid?: boolean;
559
561
  loading?: boolean;
@@ -561,6 +563,7 @@ type InputProps = Omit<InputPrimitiveProps, "size"> & VariantProps<typeof inputV
561
563
  validationMessage?: React$1.ReactNode;
562
564
  validationIcon?: React$1.ReactNode;
563
565
  validationMessageProps?: React$1.HTMLAttributes<HTMLParagraphElement>;
566
+ onValueChange?: (value: string) => void;
564
567
  };
565
568
  declare const Input: React$1.ForwardRefExoticComponent<Omit<InputPrimitiveProps, "size"> & VariantProps<(props?: ({
566
569
  controlSize?: "sm" | "lg" | "md" | null | undefined;
@@ -569,8 +572,10 @@ declare const Input: React$1.ForwardRefExoticComponent<Omit<InputPrimitiveProps,
569
572
  } & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
570
573
  prefix?: React$1.ReactNode;
571
574
  prefixProps?: React$1.HTMLAttributes<HTMLSpanElement>;
575
+ prefixInteractive?: boolean;
572
576
  suffix?: React$1.ReactNode;
573
577
  suffixProps?: React$1.HTMLAttributes<HTMLSpanElement>;
578
+ suffixInteractive?: boolean;
574
579
  wrapperClassName?: string;
575
580
  invalid?: boolean;
576
581
  loading?: boolean;
@@ -578,6 +583,7 @@ declare const Input: React$1.ForwardRefExoticComponent<Omit<InputPrimitiveProps,
578
583
  validationMessage?: React$1.ReactNode;
579
584
  validationIcon?: React$1.ReactNode;
580
585
  validationMessageProps?: React$1.HTMLAttributes<HTMLParagraphElement>;
586
+ onValueChange?: (value: string) => void;
581
587
  } & React$1.RefAttributes<HTMLInputElement>>;
582
588
 
583
589
  declare function Label({ className, ...props }: React$1.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime.JSX.Element;
@@ -854,6 +860,7 @@ declare const index_CollapsibleContent: typeof CollapsibleContent;
854
860
  declare const index_CollapsibleTrigger: typeof CollapsibleTrigger;
855
861
  declare const index_Dialog: typeof Dialog;
856
862
  declare const index_DialogContent: typeof DialogContent;
863
+ type index_DialogContentProps = DialogContentProps;
857
864
  declare const index_DialogDescription: typeof DialogDescription;
858
865
  declare const index_DialogFooter: typeof DialogFooter;
859
866
  declare const index_DialogTitle: typeof DialogTitle;
@@ -865,8 +872,10 @@ declare const index_FormField: typeof FormField;
865
872
  declare const index_FormItem: typeof FormItem;
866
873
  declare const index_FormLabel: typeof FormLabel;
867
874
  declare const index_FormMessage: typeof FormMessage;
875
+ declare const index_Input: typeof Input;
868
876
  declare const index_InputPrimitive: typeof InputPrimitive;
869
877
  type index_InputPrimitiveProps = InputPrimitiveProps;
878
+ type index_InputProps = InputProps;
870
879
  declare const index_Label: typeof Label;
871
880
  declare const index_Popover: typeof Popover;
872
881
  declare const index_PopoverAnchor: typeof PopoverAnchor;
@@ -935,11 +944,12 @@ declare const index_TableHeader: typeof TableHeader;
935
944
  declare const index_TableRow: typeof TableRow;
936
945
  declare const index_Textarea: typeof Textarea;
937
946
  declare const index_buttonVariants: typeof buttonVariants;
947
+ declare const index_inputVariants: typeof inputVariants;
938
948
  declare const index_spinnerVariants: typeof spinnerVariants;
939
949
  declare const index_useFormField: typeof useFormField;
940
950
  declare const index_useSidebar: typeof useSidebar;
941
951
  declare namespace index {
942
- export { index_Accordion as Accordion, index_AccordionContent as AccordionContent, index_AccordionItem as AccordionItem, index_AccordionTrigger as AccordionTrigger, index_Button as Button, index_Checkbox as Checkbox, index_ClearButton as ClearButton, index_Collapsible as Collapsible, index_CollapsibleContent as CollapsibleContent, index_CollapsibleTrigger as CollapsibleTrigger, DatePicker$1 as DatePicker, index_Dialog as Dialog, index_DialogContent as DialogContent, index_DialogDescription as DialogDescription, index_DialogFooter as DialogFooter, index_DialogTitle as DialogTitle, index_DialogTrigger as DialogTrigger, index_Form as Form, index_FormControl as FormControl, index_FormDescription as FormDescription, index_FormField as FormField, index_FormItem as FormItem, index_FormLabel as FormLabel, index_FormMessage as FormMessage, index_InputPrimitive as InputPrimitive, type index_InputPrimitiveProps as InputPrimitiveProps, index_Label as Label, MonthPicker$1 as MonthPicker, type MonthPickerProps$1 as MonthPickerProps, index_Popover as Popover, index_PopoverAnchor as PopoverAnchor, index_PopoverArrow as PopoverArrow, index_PopoverContent as PopoverContent, index_PopoverTrigger as PopoverTrigger, index_RadioGroupItem as RadioGroupItem, index_RadioGroupRoot as RadioGroupRoot, index_RadioLabel as RadioLabel, index_RichText as RichText, index_Select as Select, index_SelectContent as SelectContent, index_SelectGroup as SelectGroup, index_SelectItem as SelectItem, index_SelectLabel as SelectLabel, index_SelectScrollDownButton as SelectScrollDownButton, index_SelectScrollUpButton as SelectScrollUpButton, index_SelectSeparator as SelectSeparator, index_SelectTrigger as SelectTrigger, index_SelectValue as SelectValue, index_Separator as Separator, index_Sheet as Sheet, index_SheetClose as SheetClose, index_SheetContent as SheetContent, index_SheetDescription as SheetDescription, index_SheetFooter as SheetFooter, index_SheetHeader as SheetHeader, index_SheetTitle as SheetTitle, index_SheetTrigger as SheetTrigger, index_Sidebar as Sidebar, index_SidebarContent as SidebarContent, index_SidebarFooter as SidebarFooter, index_SidebarGroup as SidebarGroup, index_SidebarGroupAction as SidebarGroupAction, index_SidebarGroupContent as SidebarGroupContent, index_SidebarGroupLabel as SidebarGroupLabel, index_SidebarHeader as SidebarHeader, index_SidebarInput as SidebarInput, index_SidebarInset as SidebarInset, index_SidebarLayout as SidebarLayout, index_SidebarMenu as SidebarMenu, index_SidebarMenuAction as SidebarMenuAction, index_SidebarMenuBadge as SidebarMenuBadge, index_SidebarMenuButton as SidebarMenuButton, index_SidebarMenuItem as SidebarMenuItem, index_SidebarMenuSkeleton as SidebarMenuSkeleton, index_SidebarMenuSub as SidebarMenuSub, index_SidebarMenuSubButton as SidebarMenuSubButton, index_SidebarMenuSubItem as SidebarMenuSubItem, index_SidebarProvider as SidebarProvider, index_SidebarRail as SidebarRail, index_SidebarSeparator as SidebarSeparator, index_SidebarTrigger as SidebarTrigger, index_Skeleton as Skeleton, index_Spinner as Spinner, type index_SpinnerProps as SpinnerProps, index_Switch as Switch, index_Table as Table, index_TableBody as TableBody, index_TableCaption as TableCaption, index_TableCell as TableCell, index_TableContainer as TableContainer, index_TableFooter as TableFooter, index_TableHead as TableHead, index_TableHeader as TableHeader, index_TableRow as TableRow, index_Textarea as Textarea, Tooltip$1 as Tooltip, TooltipContent$1 as TooltipContent, TooltipProvider$1 as TooltipProvider, TooltipTrigger$1 as TooltipTrigger, index_buttonVariants as buttonVariants, index_spinnerVariants as spinnerVariants, index_useFormField as useFormField, index_useSidebar as useSidebar };
952
+ export { index_Accordion as Accordion, index_AccordionContent as AccordionContent, index_AccordionItem as AccordionItem, index_AccordionTrigger as AccordionTrigger, index_Button as Button, index_Checkbox as Checkbox, index_ClearButton as ClearButton, index_Collapsible as Collapsible, index_CollapsibleContent as CollapsibleContent, index_CollapsibleTrigger as CollapsibleTrigger, DatePicker$1 as DatePicker, index_Dialog as Dialog, index_DialogContent as DialogContent, type index_DialogContentProps as DialogContentProps, index_DialogDescription as DialogDescription, index_DialogFooter as DialogFooter, index_DialogTitle as DialogTitle, index_DialogTrigger as DialogTrigger, index_Form as Form, index_FormControl as FormControl, index_FormDescription as FormDescription, index_FormField as FormField, index_FormItem as FormItem, index_FormLabel as FormLabel, index_FormMessage as FormMessage, index_Input as Input, index_InputPrimitive as InputPrimitive, type index_InputPrimitiveProps as InputPrimitiveProps, type index_InputProps as InputProps, index_Label as Label, MonthPicker$1 as MonthPicker, type MonthPickerProps$1 as MonthPickerProps, index_Popover as Popover, index_PopoverAnchor as PopoverAnchor, index_PopoverArrow as PopoverArrow, index_PopoverContent as PopoverContent, index_PopoverTrigger as PopoverTrigger, index_RadioGroupItem as RadioGroupItem, index_RadioGroupRoot as RadioGroupRoot, index_RadioLabel as RadioLabel, index_RichText as RichText, index_Select as Select, index_SelectContent as SelectContent, index_SelectGroup as SelectGroup, index_SelectItem as SelectItem, index_SelectLabel as SelectLabel, index_SelectScrollDownButton as SelectScrollDownButton, index_SelectScrollUpButton as SelectScrollUpButton, index_SelectSeparator as SelectSeparator, index_SelectTrigger as SelectTrigger, index_SelectValue as SelectValue, index_Separator as Separator, index_Sheet as Sheet, index_SheetClose as SheetClose, index_SheetContent as SheetContent, index_SheetDescription as SheetDescription, index_SheetFooter as SheetFooter, index_SheetHeader as SheetHeader, index_SheetTitle as SheetTitle, index_SheetTrigger as SheetTrigger, index_Sidebar as Sidebar, index_SidebarContent as SidebarContent, index_SidebarFooter as SidebarFooter, index_SidebarGroup as SidebarGroup, index_SidebarGroupAction as SidebarGroupAction, index_SidebarGroupContent as SidebarGroupContent, index_SidebarGroupLabel as SidebarGroupLabel, index_SidebarHeader as SidebarHeader, index_SidebarInput as SidebarInput, index_SidebarInset as SidebarInset, index_SidebarLayout as SidebarLayout, index_SidebarMenu as SidebarMenu, index_SidebarMenuAction as SidebarMenuAction, index_SidebarMenuBadge as SidebarMenuBadge, index_SidebarMenuButton as SidebarMenuButton, index_SidebarMenuItem as SidebarMenuItem, index_SidebarMenuSkeleton as SidebarMenuSkeleton, index_SidebarMenuSub as SidebarMenuSub, index_SidebarMenuSubButton as SidebarMenuSubButton, index_SidebarMenuSubItem as SidebarMenuSubItem, index_SidebarProvider as SidebarProvider, index_SidebarRail as SidebarRail, index_SidebarSeparator as SidebarSeparator, index_SidebarTrigger as SidebarTrigger, index_Skeleton as Skeleton, index_Spinner as Spinner, type index_SpinnerProps as SpinnerProps, index_Switch as Switch, index_Table as Table, index_TableBody as TableBody, index_TableCaption as TableCaption, index_TableCell as TableCell, index_TableContainer as TableContainer, index_TableFooter as TableFooter, index_TableHead as TableHead, index_TableHeader as TableHeader, index_TableRow as TableRow, index_Textarea as Textarea, Tooltip$1 as Tooltip, TooltipContent$1 as TooltipContent, TooltipProvider$1 as TooltipProvider, TooltipTrigger$1 as TooltipTrigger, index_buttonVariants as buttonVariants, index_inputVariants as inputVariants, index_spinnerVariants as spinnerVariants, index_useFormField as useFormField, index_useSidebar as useSidebar };
943
953
  }
944
954
 
945
955
  type SidebarContextProps = {
@@ -1019,6 +1029,51 @@ declare function TooltipTrigger({ ...props }: React$1.ComponentProps<typeof Tool
1019
1029
  declare function TooltipArrow(props: React$1.ComponentProps<typeof TooltipPrimitive.Arrow>): react_jsx_runtime.JSX.Element;
1020
1030
  declare function TooltipContent({ className, sideOffset, children, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime.JSX.Element;
1021
1031
 
1032
+ interface CroppedImagePayload {
1033
+ crop: {
1034
+ x: number;
1035
+ y: number;
1036
+ };
1037
+ croppedAreaPixels: Area | null;
1038
+ }
1039
+ interface CroppedImagePayloadWithBlobUrl extends CroppedImagePayload {
1040
+ croppedImageBlobUrl: string;
1041
+ }
1042
+ interface CropperModalBaseProps {
1043
+ open?: boolean;
1044
+ onOpenChange: (open: boolean) => void;
1045
+ onCancel?: () => void;
1046
+ onError?: (e: unknown) => void;
1047
+ imageSrc?: string | null;
1048
+ cropSize?: {
1049
+ width: number;
1050
+ height: number;
1051
+ };
1052
+ /**
1053
+ * @property {boolean} outputExactCropSize - Determine whether to ouput image with the exact size given in cropSize attribute
1054
+ * @description an original image dimension is 1000x1000px, if cropSize is 500x500px, the output image will be exactly 500x500px
1055
+ */
1056
+ outputExactCropSize?: boolean;
1057
+ title?: string;
1058
+ props?: {
1059
+ dialogTitleContainer?: React.ComponentProps<"div">;
1060
+ dialogTitle?: React.ComponentProps<typeof SheetPrimitive.Title>;
1061
+ dialogContent?: DialogContentProps;
1062
+ cropper?: CropperProps;
1063
+ cropperContainer?: React.ComponentProps<"div">;
1064
+ };
1065
+ }
1066
+ interface CropperModalWithBlobUrlOutputProps extends CropperModalBaseProps {
1067
+ onConfirm?: (payload: CroppedImagePayloadWithBlobUrl) => void;
1068
+ generateBlobUrlOutput: true;
1069
+ }
1070
+ interface CropperModalNormalProps extends CropperModalBaseProps {
1071
+ onConfirm?: (payload: CroppedImagePayload) => void;
1072
+ generateBlobUrlOutput: undefined | false;
1073
+ }
1074
+ type CropperModalProps = CropperModalWithBlobUrlOutputProps | CropperModalNormalProps;
1075
+ declare const CropperModal: ({ open, onOpenChange, imageSrc, onConfirm, onCancel, onError, cropSize, outputExactCropSize, generateBlobUrlOutput, title, props }: CropperModalProps) => react_jsx_runtime.JSX.Element;
1076
+
1022
1077
  declare function isDefined(value: any): boolean;
1023
1078
  declare function isEmptyObject(value: any): boolean;
1024
1079
  type DebounceOptions = {
@@ -1116,4 +1171,4 @@ type UseTruncatedOptions<T> = {
1116
1171
  type UseTruncatedResult = boolean;
1117
1172
  declare const useTruncated: <T extends HTMLElement = any>({ elementRef, onChange, resizeDetectDelay }: UseTruncatedOptions<T>) => UseTruncatedResult;
1118
1173
 
1119
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AdvanceSearch, ArrowIcon, type Breakpoints, Button, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, type Column, DataTable, type DataTableChildrenKeyHandler, type DataTableColumnFilter, type DataTableColumnFilterProps, type DataTableColumnGrouping, type DataTableColumnOrdering, type DataTableColumnPinning, type DataTableColumnSeparatorProps, type DataTableColumnSorting, type DataTableColumnVisibility, type DataTableComponentProps, type DataTableFilterConfig, type DataTableFilters, type DataTableGlobalFilter, type DataTableHeaderCell, type DataTableProps, type DataTableRenderHeaderHandler, type DataTableRenderHeaderProps, type DataTableRenderRowHandler, type DataTableRenderRowProps, type DataTableRowCell, type DataTableRowClickHandler, type DataTableRowExpansion, type DataTableRowIdKeyHandler, type DataTableRowSelection, type DataTableScrollFetch, type DataTableStatusContent, type DatatableColumnResizing, DatePicker, type DatePickerProps, type DebounceOptions, type DebouncedFunction, Dialog, DialogAlert, type DialogAlertProps, DialogContent, DialogDescription, DialogFooter, DialogTitle, DialogTrigger, type DialogVariant, type FieldSchema, type FieldType, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type GridPayload, GridSettingsModal, type GridSettingsModalProps, HeaderCell, type HeaderCellProps, Input, type InputProps, Label, List, ListContainer, type ListContainerProps, ListHeader, type ListHeaderProps, type ListProps, ListTable, type ListTableProps, LookupSelect, type LookupSelectOption, type LookupSelectProps, MonthPicker, type MonthPickerProps, _default as Navbar, type NavbarProps, NotFoundIcon, type Params, Popover, PopoverAnchor, PopoverArrow, PopoverContent, PopoverTrigger, PreventPageLeave, RadioGroupItem, RadioGroupRoot, RadioLabel, RichText, type RowClickType, type RowState, type ScrollInfo, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarLayout, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, type SorterProps, type StatusContentKey, SuiCalendarIcon, SuiCheckIcon, SuiDotsVerticalIcon, SuiEmptyDataIcon, SuiExpandIcon, SuiFilterIcon, SuiSettingIcon, SuiTriangleDownIcon, SuiWarningIcon, Switch, Textarea, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, index as UI, type UseHoverResult, type UseMediaQueryOptions, type UseMediaQueryResult, type UsePreventPageLeaveOptions, type UseScreenSizeResult, type UseTruncatedOptions, type UseTruncatedResult, booleanToSelectValue, buttonVariants, cn, compareAlphanumeric, debounce, inputVariants, isDefined, isEmptyObject, selectValueToBoolean, stripNullishObject, throttle, useFormField, useGridSettingsStore, useHover, useIntersectionObserver, useMediaQuery, usePreventPageLeave, usePreventPageLeaveStore, useScreenSize, useSidebar, useTruncated };
1174
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AdvanceSearch, ArrowIcon, type Breakpoints, Button, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, type Column, type CroppedImagePayload, type CroppedImagePayloadWithBlobUrl, CropperModal, type CropperModalProps, DataTable, type DataTableChildrenKeyHandler, type DataTableColumnFilter, type DataTableColumnFilterProps, type DataTableColumnGrouping, type DataTableColumnOrdering, type DataTableColumnPinning, type DataTableColumnSeparatorProps, type DataTableColumnSorting, type DataTableColumnVisibility, type DataTableComponentProps, type DataTableFilterConfig, type DataTableFilters, type DataTableGlobalFilter, type DataTableHeaderCell, type DataTableProps, type DataTableRenderHeaderHandler, type DataTableRenderHeaderProps, type DataTableRenderRowHandler, type DataTableRenderRowProps, type DataTableRowCell, type DataTableRowClickHandler, type DataTableRowExpansion, type DataTableRowIdKeyHandler, type DataTableRowSelection, type DataTableScrollFetch, type DataTableStatusContent, type DatatableColumnResizing, DatePicker, type DatePickerProps, type DebounceOptions, type DebouncedFunction, Dialog, DialogAlert, type DialogAlertProps, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogTitle, DialogTrigger, type DialogVariant, type FieldSchema, type FieldType, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type GridPayload, GridSettingsModal, type GridSettingsModalProps, HeaderCell, type HeaderCellProps, Input, type InputProps, Label, List, ListContainer, type ListContainerProps, ListHeader, type ListHeaderProps, type ListProps, ListTable, type ListTableProps, LookupSelect, type LookupSelectOption, type LookupSelectProps, MonthPicker, type MonthPickerProps, _default as Navbar, type NavbarProps, NotFoundIcon, type Params, Popover, PopoverAnchor, PopoverArrow, PopoverContent, PopoverTrigger, PreventPageLeave, RadioGroupItem, RadioGroupRoot, RadioLabel, RichText, type RowClickType, type RowState, type ScrollInfo, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarLayout, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, type SorterProps, type StatusContentKey, SuiCalendarIcon, SuiCheckIcon, SuiDotsVerticalIcon, SuiEmptyDataIcon, SuiExpandIcon, SuiFilterIcon, SuiSettingIcon, SuiTriangleDownIcon, SuiWarningIcon, Switch, Textarea, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, index as UI, type UseHoverResult, type UseMediaQueryOptions, type UseMediaQueryResult, type UsePreventPageLeaveOptions, type UseScreenSizeResult, type UseTruncatedOptions, type UseTruncatedResult, booleanToSelectValue, buttonVariants, cn, compareAlphanumeric, debounce, inputVariants, isDefined, isEmptyObject, selectValueToBoolean, stripNullishObject, throttle, useFormField, useGridSettingsStore, useHover, useIntersectionObserver, useMediaQuery, usePreventPageLeave, usePreventPageLeaveStore, useScreenSize, useSidebar, useTruncated };