@mlw-packages/react-components 1.5.8 → 1.6.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
@@ -85,8 +85,8 @@ declare function BreadcrumbSeparatorBase({ children, className, ...props }: Reac
85
85
  declare function BreadcrumbEllipsisBase({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
86
86
 
87
87
  declare const buttonVariantsBase: (props?: ({
88
- variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
89
- size?: "default" | "sm" | "lg" | "icon" | null | undefined;
88
+ variant?: "default" | "destructive" | "outline" | "select" | "secondary" | "ghost" | "link" | null | undefined;
89
+ size?: "default" | "select" | "sm" | "lg" | "icon" | null | undefined;
90
90
  } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
91
91
  interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariantsBase> {
92
92
  asChild?: boolean;
@@ -376,10 +376,22 @@ type TestIdProps = {
376
376
  };
377
377
  declare const PopoverContentBase: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & TestIdProps & React$1.RefAttributes<HTMLDivElement>>;
378
378
 
379
+ /**
380
+ * Tipos disponíveis de progresso
381
+ */
382
+ type ProgressType = "bar" | "segments" | "panels" | "circles";
379
383
  interface ProgressBaseProps extends React$1.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root> {
384
+ /** Tipo de visualização do progresso */
385
+ variant?: ProgressType;
380
386
  label?: string;
381
387
  leftIcon?: React$1.ReactNode;
382
388
  rightIcon?: React$1.ReactNode;
389
+ /** Número de segmentos (usado quando variant="segments") */
390
+ segments?: number;
391
+ /** Array de etapas (usado quando variant="panels" ou "circles") */
392
+ steps?: string[];
393
+ /** Índice da etapa atual (usado quando variant="panels" ou "circles") */
394
+ currentStep?: number;
383
395
  }
384
396
  declare const ProgressBase: React$1.ForwardRefExoticComponent<ProgressBaseProps & React$1.RefAttributes<HTMLDivElement>>;
385
397
  interface ProgressSegmentsBaseProps {
@@ -550,7 +562,11 @@ declare const TabsListBase: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive
550
562
  declare const TabsTriggerBase: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
551
563
  declare const TabsContentBase: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
552
564
 
553
- declare const TextAreaBase: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & React$1.RefAttributes<HTMLTextAreaElement>>;
565
+ interface TextAreaBaseProps extends React$1.ComponentProps<"textarea"> {
566
+ clearable?: boolean;
567
+ onClear?: () => void;
568
+ }
569
+ declare const TextAreaBase: React$1.ForwardRefExoticComponent<Omit<TextAreaBaseProps, "ref"> & React$1.RefAttributes<HTMLTextAreaElement>>;
554
570
 
555
571
  type Theme = "light" | "light-purple" | "light-green" | "light-blue" | "dark" | "dark-purple" | "dark-green" | "dark-blue" | "system";
556
572
  type ThemeProviderProps = {
@@ -1011,6 +1027,86 @@ interface UseChartHighlightsReturn {
1011
1027
  }
1012
1028
  declare const useChartHighlights: () => UseChartHighlightsReturn;
1013
1029
 
1030
+ interface QuickButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
1031
+ disabled?: boolean;
1032
+ onClick?: (e?: React$1.MouseEvent<HTMLButtonElement>) => void;
1033
+ testid?: string;
1034
+ className?: string;
1035
+ iconSize?: number;
1036
+ iconColor?: string;
1037
+ variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link";
1038
+ size?: "default" | "sm" | "lg" | "icon";
1039
+ }
1040
+ declare const EditButton: React$1.FC<QuickButtonProps>;
1041
+ declare const SaveButton: React$1.FC<QuickButtonProps>;
1042
+ declare const AddButton: React$1.FC<QuickButtonProps>;
1043
+ declare const CloseButton: React$1.FC<QuickButtonProps>;
1044
+ declare const DeleteButton: React$1.FC<QuickButtonProps>;
1045
+ declare const DownloadButton: React$1.FC<QuickButtonProps>;
1046
+ declare const UploadButton: React$1.FC<QuickButtonProps>;
1047
+ declare const CopyButton: React$1.FC<QuickButtonProps>;
1048
+ declare const RefreshButton: React$1.FC<QuickButtonProps>;
1049
+ declare const SearchButton: React$1.FC<QuickButtonProps>;
1050
+ declare const BackButton: React$1.FC<QuickButtonProps>;
1051
+ declare const SettingsButton: React$1.FC<QuickButtonProps>;
1052
+ declare const NotificationButton: React$1.FC<QuickButtonProps>;
1053
+ declare const MoreButton: React$1.FC<QuickButtonProps>;
1054
+ declare const CheckButton: React$1.FC<QuickButtonProps>;
1055
+ interface FilterButtonProps extends QuickButtonProps {
1056
+ active?: boolean;
1057
+ }
1058
+ declare const FilterButton: React$1.FC<FilterButtonProps>;
1059
+ interface LikeButtonProps extends QuickButtonProps {
1060
+ isLiked?: boolean;
1061
+ }
1062
+ declare const LikeButton: React$1.FC<LikeButtonProps>;
1063
+ interface FavoriteButtonProps extends QuickButtonProps {
1064
+ isFavorite?: boolean;
1065
+ }
1066
+ declare const FavoriteButton: React$1.FC<FavoriteButtonProps>;
1067
+ interface VisibilityButtonProps extends QuickButtonProps {
1068
+ isVisible?: boolean;
1069
+ }
1070
+ declare const VisibilityButton: React$1.FC<VisibilityButtonProps>;
1071
+ declare const ViewButton: React$1.FC<QuickButtonProps>;
1072
+ declare const HideButton: React$1.FC<QuickButtonProps>;
1073
+ interface LockButtonProps extends QuickButtonProps {
1074
+ isLocked?: boolean;
1075
+ }
1076
+ declare const LockButton: React$1.FC<LockButtonProps>;
1077
+ declare const UnlockButton: React$1.FC<QuickButtonProps>;
1078
+
1079
+ interface DebouncedInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value"> {
1080
+ value: string;
1081
+ onChange: (value: string) => void;
1082
+ debounce?: number;
1083
+ label?: string;
1084
+ labelClassname?: string;
1085
+ leftIcon?: React.ReactNode;
1086
+ rightIcon?: React.ReactNode;
1087
+ showLoadingIndicator?: boolean;
1088
+ }
1089
+
1090
+ interface FileWithPreview extends File {
1091
+ id?: string;
1092
+ error?: string;
1093
+ preview?: string;
1094
+ }
1095
+ interface FileUploaderProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onDrop"> {
1096
+ accept: string[];
1097
+ maxSize: number;
1098
+ maxFiles?: number;
1099
+ onValueChange: (files: FileWithPreview[]) => void;
1100
+ disabled?: boolean;
1101
+ value?: FileWithPreview[];
1102
+ onUpload?: (files: FileWithPreview[]) => Promise<void>;
1103
+ showPreview?: boolean;
1104
+ dropzoneText?: string;
1105
+ dropzoneSubtext?: string;
1106
+ animate?: boolean;
1107
+ }
1108
+ declare const FileUploader: React$1.ForwardRefExoticComponent<FileUploaderProps & React$1.RefAttributes<HTMLDivElement>>;
1109
+
1014
1110
  declare function useIsMobile(): boolean;
1015
1111
 
1016
1112
  interface Position {
@@ -1030,4 +1126,4 @@ declare const useDrag: (options?: UseDragOptions) => {
1030
1126
  isDragging: boolean;
1031
1127
  };
1032
1128
 
1033
- export { AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarFallbackBase, AvatarImageBase, BadgeBase, BarChart, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, ButtonBase, ButtonGroupBase, type ButtonProps, CalendarBase, type CalendarProps, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, type CarouselApi, CarouselBase, CarouselContentBase, CarouselItemBase, CarouselNextBase, CarouselPrevious, Chart, CheckboxBase, CloseAllButton, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, DateTimePicker, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, Highlights, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase, CustomLineChart as LineChart, LoadingBase, type Margins, ModeToggleBase, MultiCombobox, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, type Padding, PeriodsDropdown, CustomPieChart as PieChart, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, ScrollAreaBase, ScrollBarBase, Select, SelectBase, SelectContentBase, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, SelectTriggerBase, SelectValueBase, SeparatorBase, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, type SliderBaseProps, SwitchBase, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, type Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, Toaster, TooltipBase, TooltipContentBase, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UseSideBarBase, badgeVariants, buttonVariantsBase, compactTick, detectDataFields, detectXAxis, formatFieldName, generateAdditionalColors, niceCeil, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, toast, useChartHighlights, useDrag, useIsMobile, useTheme };
1129
+ export { AddButton, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarFallbackBase, AvatarImageBase, BackButton, BadgeBase, BarChart, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, ButtonBase, ButtonGroupBase, type ButtonProps, CalendarBase, type CalendarProps, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, type CarouselApi, CarouselBase, CarouselContentBase, CarouselItemBase, CarouselNextBase, CarouselPrevious, Chart, CheckButton, CheckboxBase, CloseAllButton, CloseButton, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, CopyButton, DateTimePicker, type DebouncedInputProps, DeleteButton, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, EditButton, FavoriteButton, FileUploader, type FileUploaderProps, type FileWithPreview, FilterButton, HideButton, Highlights, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase, LikeButton, CustomLineChart as LineChart, LoadingBase, LockButton, type Margins, ModeToggleBase, MoreButton, MultiCombobox, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, NotificationButton, type Padding, PeriodsDropdown, CustomPieChart as PieChart, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, type ProgressType, RefreshButton, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, SelectTriggerBase, SelectValueBase, SeparatorBase, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, type SliderBaseProps, SwitchBase, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, type TextAreaBaseProps, type Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, Toaster, TooltipBase, TooltipContentBase, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UnlockButton, UploadButton, UseSideBarBase, ViewButton, VisibilityButton, badgeVariants, buttonVariantsBase, compactTick, detectDataFields, detectXAxis, formatFieldName, generateAdditionalColors, niceCeil, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, toast, useChartHighlights, useDrag, useIsMobile, useTheme };
package/dist/index.d.ts CHANGED
@@ -85,8 +85,8 @@ declare function BreadcrumbSeparatorBase({ children, className, ...props }: Reac
85
85
  declare function BreadcrumbEllipsisBase({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
86
86
 
87
87
  declare const buttonVariantsBase: (props?: ({
88
- variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
89
- size?: "default" | "sm" | "lg" | "icon" | null | undefined;
88
+ variant?: "default" | "destructive" | "outline" | "select" | "secondary" | "ghost" | "link" | null | undefined;
89
+ size?: "default" | "select" | "sm" | "lg" | "icon" | null | undefined;
90
90
  } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
91
91
  interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariantsBase> {
92
92
  asChild?: boolean;
@@ -376,10 +376,22 @@ type TestIdProps = {
376
376
  };
377
377
  declare const PopoverContentBase: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & TestIdProps & React$1.RefAttributes<HTMLDivElement>>;
378
378
 
379
+ /**
380
+ * Tipos disponíveis de progresso
381
+ */
382
+ type ProgressType = "bar" | "segments" | "panels" | "circles";
379
383
  interface ProgressBaseProps extends React$1.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root> {
384
+ /** Tipo de visualização do progresso */
385
+ variant?: ProgressType;
380
386
  label?: string;
381
387
  leftIcon?: React$1.ReactNode;
382
388
  rightIcon?: React$1.ReactNode;
389
+ /** Número de segmentos (usado quando variant="segments") */
390
+ segments?: number;
391
+ /** Array de etapas (usado quando variant="panels" ou "circles") */
392
+ steps?: string[];
393
+ /** Índice da etapa atual (usado quando variant="panels" ou "circles") */
394
+ currentStep?: number;
383
395
  }
384
396
  declare const ProgressBase: React$1.ForwardRefExoticComponent<ProgressBaseProps & React$1.RefAttributes<HTMLDivElement>>;
385
397
  interface ProgressSegmentsBaseProps {
@@ -550,7 +562,11 @@ declare const TabsListBase: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive
550
562
  declare const TabsTriggerBase: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
551
563
  declare const TabsContentBase: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
552
564
 
553
- declare const TextAreaBase: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & React$1.RefAttributes<HTMLTextAreaElement>>;
565
+ interface TextAreaBaseProps extends React$1.ComponentProps<"textarea"> {
566
+ clearable?: boolean;
567
+ onClear?: () => void;
568
+ }
569
+ declare const TextAreaBase: React$1.ForwardRefExoticComponent<Omit<TextAreaBaseProps, "ref"> & React$1.RefAttributes<HTMLTextAreaElement>>;
554
570
 
555
571
  type Theme = "light" | "light-purple" | "light-green" | "light-blue" | "dark" | "dark-purple" | "dark-green" | "dark-blue" | "system";
556
572
  type ThemeProviderProps = {
@@ -1011,6 +1027,86 @@ interface UseChartHighlightsReturn {
1011
1027
  }
1012
1028
  declare const useChartHighlights: () => UseChartHighlightsReturn;
1013
1029
 
1030
+ interface QuickButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
1031
+ disabled?: boolean;
1032
+ onClick?: (e?: React$1.MouseEvent<HTMLButtonElement>) => void;
1033
+ testid?: string;
1034
+ className?: string;
1035
+ iconSize?: number;
1036
+ iconColor?: string;
1037
+ variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link";
1038
+ size?: "default" | "sm" | "lg" | "icon";
1039
+ }
1040
+ declare const EditButton: React$1.FC<QuickButtonProps>;
1041
+ declare const SaveButton: React$1.FC<QuickButtonProps>;
1042
+ declare const AddButton: React$1.FC<QuickButtonProps>;
1043
+ declare const CloseButton: React$1.FC<QuickButtonProps>;
1044
+ declare const DeleteButton: React$1.FC<QuickButtonProps>;
1045
+ declare const DownloadButton: React$1.FC<QuickButtonProps>;
1046
+ declare const UploadButton: React$1.FC<QuickButtonProps>;
1047
+ declare const CopyButton: React$1.FC<QuickButtonProps>;
1048
+ declare const RefreshButton: React$1.FC<QuickButtonProps>;
1049
+ declare const SearchButton: React$1.FC<QuickButtonProps>;
1050
+ declare const BackButton: React$1.FC<QuickButtonProps>;
1051
+ declare const SettingsButton: React$1.FC<QuickButtonProps>;
1052
+ declare const NotificationButton: React$1.FC<QuickButtonProps>;
1053
+ declare const MoreButton: React$1.FC<QuickButtonProps>;
1054
+ declare const CheckButton: React$1.FC<QuickButtonProps>;
1055
+ interface FilterButtonProps extends QuickButtonProps {
1056
+ active?: boolean;
1057
+ }
1058
+ declare const FilterButton: React$1.FC<FilterButtonProps>;
1059
+ interface LikeButtonProps extends QuickButtonProps {
1060
+ isLiked?: boolean;
1061
+ }
1062
+ declare const LikeButton: React$1.FC<LikeButtonProps>;
1063
+ interface FavoriteButtonProps extends QuickButtonProps {
1064
+ isFavorite?: boolean;
1065
+ }
1066
+ declare const FavoriteButton: React$1.FC<FavoriteButtonProps>;
1067
+ interface VisibilityButtonProps extends QuickButtonProps {
1068
+ isVisible?: boolean;
1069
+ }
1070
+ declare const VisibilityButton: React$1.FC<VisibilityButtonProps>;
1071
+ declare const ViewButton: React$1.FC<QuickButtonProps>;
1072
+ declare const HideButton: React$1.FC<QuickButtonProps>;
1073
+ interface LockButtonProps extends QuickButtonProps {
1074
+ isLocked?: boolean;
1075
+ }
1076
+ declare const LockButton: React$1.FC<LockButtonProps>;
1077
+ declare const UnlockButton: React$1.FC<QuickButtonProps>;
1078
+
1079
+ interface DebouncedInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value"> {
1080
+ value: string;
1081
+ onChange: (value: string) => void;
1082
+ debounce?: number;
1083
+ label?: string;
1084
+ labelClassname?: string;
1085
+ leftIcon?: React.ReactNode;
1086
+ rightIcon?: React.ReactNode;
1087
+ showLoadingIndicator?: boolean;
1088
+ }
1089
+
1090
+ interface FileWithPreview extends File {
1091
+ id?: string;
1092
+ error?: string;
1093
+ preview?: string;
1094
+ }
1095
+ interface FileUploaderProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onDrop"> {
1096
+ accept: string[];
1097
+ maxSize: number;
1098
+ maxFiles?: number;
1099
+ onValueChange: (files: FileWithPreview[]) => void;
1100
+ disabled?: boolean;
1101
+ value?: FileWithPreview[];
1102
+ onUpload?: (files: FileWithPreview[]) => Promise<void>;
1103
+ showPreview?: boolean;
1104
+ dropzoneText?: string;
1105
+ dropzoneSubtext?: string;
1106
+ animate?: boolean;
1107
+ }
1108
+ declare const FileUploader: React$1.ForwardRefExoticComponent<FileUploaderProps & React$1.RefAttributes<HTMLDivElement>>;
1109
+
1014
1110
  declare function useIsMobile(): boolean;
1015
1111
 
1016
1112
  interface Position {
@@ -1030,4 +1126,4 @@ declare const useDrag: (options?: UseDragOptions) => {
1030
1126
  isDragging: boolean;
1031
1127
  };
1032
1128
 
1033
- export { AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarFallbackBase, AvatarImageBase, BadgeBase, BarChart, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, ButtonBase, ButtonGroupBase, type ButtonProps, CalendarBase, type CalendarProps, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, type CarouselApi, CarouselBase, CarouselContentBase, CarouselItemBase, CarouselNextBase, CarouselPrevious, Chart, CheckboxBase, CloseAllButton, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, DateTimePicker, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, Highlights, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase, CustomLineChart as LineChart, LoadingBase, type Margins, ModeToggleBase, MultiCombobox, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, type Padding, PeriodsDropdown, CustomPieChart as PieChart, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, ScrollAreaBase, ScrollBarBase, Select, SelectBase, SelectContentBase, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, SelectTriggerBase, SelectValueBase, SeparatorBase, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, type SliderBaseProps, SwitchBase, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, type Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, Toaster, TooltipBase, TooltipContentBase, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UseSideBarBase, badgeVariants, buttonVariantsBase, compactTick, detectDataFields, detectXAxis, formatFieldName, generateAdditionalColors, niceCeil, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, toast, useChartHighlights, useDrag, useIsMobile, useTheme };
1129
+ export { AddButton, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarFallbackBase, AvatarImageBase, BackButton, BadgeBase, BarChart, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, ButtonBase, ButtonGroupBase, type ButtonProps, CalendarBase, type CalendarProps, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, type CarouselApi, CarouselBase, CarouselContentBase, CarouselItemBase, CarouselNextBase, CarouselPrevious, Chart, CheckButton, CheckboxBase, CloseAllButton, CloseButton, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, CopyButton, DateTimePicker, type DebouncedInputProps, DeleteButton, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, EditButton, FavoriteButton, FileUploader, type FileUploaderProps, type FileWithPreview, FilterButton, HideButton, Highlights, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase, LikeButton, CustomLineChart as LineChart, LoadingBase, LockButton, type Margins, ModeToggleBase, MoreButton, MultiCombobox, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, NotificationButton, type Padding, PeriodsDropdown, CustomPieChart as PieChart, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, type ProgressType, RefreshButton, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, SelectTriggerBase, SelectValueBase, SeparatorBase, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, type SliderBaseProps, SwitchBase, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, type TextAreaBaseProps, type Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, Toaster, TooltipBase, TooltipContentBase, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UnlockButton, UploadButton, UseSideBarBase, ViewButton, VisibilityButton, badgeVariants, buttonVariantsBase, compactTick, detectDataFields, detectXAxis, formatFieldName, generateAdditionalColors, niceCeil, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, toast, useChartHighlights, useDrag, useIsMobile, useTheme };