@boxcustodia/library 2.0.0-alpha.4 → 2.0.0-alpha.6

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.ts CHANGED
@@ -14,8 +14,8 @@ import { ControllerRenderProps } from 'react-hook-form';
14
14
  import { CSSProperties } from 'react';
15
15
  import { default as default_2 } from 'react';
16
16
  import { DependencyList } from 'react';
17
- import * as DialogPrimitive from '@radix-ui/react-dialog';
18
- import { DialogProps } from '@radix-ui/react-dialog';
17
+ import { Dialog as DialogPrimitive } from '@base-ui/react/dialog';
18
+ import { DialogProps as DialogProps_2 } from '@radix-ui/react-dialog';
19
19
  import { Dispatch } from 'react';
20
20
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
21
21
  import { ElementType } from 'react';
@@ -161,7 +161,7 @@ export declare const AutoComplete: ({ items, placeholder, emptyMessage, onSelect
161
161
 
162
162
  export declare const AutoCompleteDialog: ({ children, ...props }: AutoCompleteDialogProps) => JSX.Element;
163
163
 
164
- declare interface AutoCompleteDialogProps extends DialogProps {
164
+ declare interface AutoCompleteDialogProps extends DialogProps_2 {
165
165
  }
166
166
 
167
167
  export declare const AutoCompleteEmpty: (props: React_2.ComponentProps<typeof Command.Empty>) => JSX.Element;
@@ -416,34 +416,94 @@ declare type DayProps = {
416
416
  navigationDate: Date;
417
417
  } & HTMLProps<HTMLButtonElement>;
418
418
 
419
- export declare const Dialog: ({ trigger, title, description, children, footer, focus, triggerProps, headerProps, headerClassName, titleProps, titleClassName, descriptionProps, descriptionClassName, contentProps, contentClassName, footerProps, footerClassName, ...props }: Props_8) => JSX.Element;
419
+ /**
420
+ * General-purpose dialog with optional trigger, title, description, body, and footer.
421
+ *
422
+ * The `trigger` prop uses Base UI's `render` prop — no wrapper element is added —
423
+ * making it composable with `<Tooltip>` at the primitive level.
424
+ * For full structural control, use the exported primitives directly.
425
+ *
426
+ * @example
427
+ * ```tsx
428
+ * <Dialog
429
+ * trigger={<Button>Open settings</Button>}
430
+ * title="Settings"
431
+ * description="Manage your account preferences."
432
+ * footer={<Button onClick={handleSave}>Save</Button>}
433
+ * >
434
+ * <SettingsForm />
435
+ * </Dialog>
436
+ * ```
437
+ */
438
+ export declare function Dialog({ trigger, title, description, children, footer, onClose, hideClose, closeProps, portalProps, className, onOpenChange, ...props }: DialogProps): JSX.Element;
420
439
 
421
- export declare const DialogClose: ({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Close>) => JSX.Element;
440
+ /** Semi-transparent overlay rendered behind the popup. */
441
+ export declare function DialogBackdrop({ className, ...props }: DialogPrimitive.Backdrop.Props): JSX.Element;
422
442
 
423
- export declare const DialogContent: ({ className, children, focus, hideClose, ...props }: React_2.ComponentPropsWithoutRef<typeof DialogPrimitive.Content> & {
424
- focus?: boolean;
425
- hideClose?: boolean;
426
- }) => JSX.Element;
443
+ /** Closes the dialog and merges an optional `onClick` into the `render` element. */
444
+ export declare function DialogClose({ className, ...props }: DialogPrimitive.Close.Props): JSX.Element;
427
445
 
428
- export declare const DialogDescription: ({ className, ...props }: React_2.ComponentPropsWithoutRef<typeof DialogPrimitive.Description>) => JSX.Element;
446
+ /** Supplementary description rendered below the title. */
447
+ export declare function DialogDescription({ className, ...props }: DialogPrimitive.Description.Props): JSX.Element;
429
448
 
430
- export declare const DialogFooter: ({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>) => JSX.Element;
449
+ /** Layout wrapper for action buttons. */
450
+ export declare function DialogFooter({ className, ...props }: HTMLAttributes<HTMLDivElement>): JSX.Element;
431
451
 
432
- export declare const DialogHeader: ({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>) => JSX.Element;
452
+ /** Layout wrapper for title and description. */
453
+ export declare function DialogHeader({ className, ...props }: HTMLAttributes<HTMLDivElement>): JSX.Element;
433
454
 
434
- export declare const DialogOverlay: ({ className, ...props }: React_2.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>) => JSX.Element;
455
+ /**
456
+ * Dialog content container. Includes Portal, Backdrop and Viewport internally.
457
+ * Pass `portalProps` to configure the portal (e.g. a custom `container`).
458
+ * Pass `closeProps` to customise the close button.
459
+ */
460
+ export declare function DialogPopup({ className, children, hideClose, closeProps, portalProps, ...props }: DialogPrimitive.Popup.Props & {
461
+ hideClose?: boolean;
462
+ closeProps?: DialogPrimitive.Close.Props;
463
+ portalProps?: DialogPrimitive.Portal.Props;
464
+ }): JSX.Element;
435
465
 
436
- export declare const DialogPortal: ({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Portal>) => JSX.Element;
466
+ export { DialogPrimitive }
437
467
 
438
- export declare const DialogRoot: ({ onClose, ...props }: React_2.ComponentProps<typeof DialogPrimitive.Root> & {
439
- onClose?: () => any;
440
- }) => JSX.Element;
468
+ export declare type DialogProps = Omit<DialogPrimitive.Root.Props, "children"> & {
469
+ /** Element that opens the dialog on click. Passed as Base UI `render` prop — no DOM wrapper added. */
470
+ trigger?: ReactElement;
471
+ /** Dialog heading. */
472
+ title?: ReactNode;
473
+ /** Supporting text rendered below the title. */
474
+ description?: ReactNode;
475
+ /** Body content rendered between the description and the footer. */
476
+ children?: ReactNode;
477
+ /** Content rendered inside the footer wrapper. */
478
+ footer?: ReactNode;
479
+ /** Called when the dialog closes. */
480
+ onClose?: () => void;
481
+ /** Hides the close (×) button inside the popup. */
482
+ hideClose?: boolean;
483
+ /** Props forwarded to the close button primitive. */
484
+ closeProps?: DialogPrimitive.Close.Props;
485
+ /** Props forwarded to the portal. */
486
+ portalProps?: DialogPrimitive.Portal.Props;
487
+ /** Additional className forwarded to the popup panel. */
488
+ className?: string;
489
+ };
441
490
 
442
- export declare const DialogTitle: ({ className, ...props }: React_2.ComponentPropsWithoutRef<typeof DialogPrimitive.Title>) => JSX.Element;
491
+ /** Context root. Holds open state and wraps all dialog parts. */
492
+ export declare function DialogRoot(props: DialogPrimitive.Root.Props): JSX.Element;
443
493
 
444
- export declare const DialogTrigger: ({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Trigger>) => JSX.Element;
494
+ /** Accessible title rendered as `<h2>`. Required for a11y. */
495
+ export declare function DialogTitle({ className, ...props }: DialogPrimitive.Title.Props): JSX.Element;
445
496
 
446
- export declare const Divider: (props: Props_9) => JSX.Element;
497
+ /**
498
+ * Renders as its `render` element (defaults to `<button>`).
499
+ * Composes cleanly with `<Tooltip>` and other Base UI triggers on the same DOM element.
500
+ */
501
+ export declare function DialogTrigger({ className, ...props }: DialogPrimitive.Trigger.Props): JSX.Element;
502
+
503
+ /** Full-screen container that centers the popup. */
504
+ export declare function DialogViewport({ className, ...props }: DialogPrimitive.Viewport.Props): JSX.Element;
505
+
506
+ export declare const Divider: (props: Props_8) => JSX.Element;
447
507
 
448
508
  export declare const DOTS = "...";
449
509
 
@@ -520,7 +580,7 @@ export declare type DropzoneProps = {
520
580
  onError?: (fileErrors: FileError[]) => void;
521
581
  } & Omit<ComponentPropsWithoutRef<"div">, "onDrop" | "onError">;
522
582
 
523
- export declare const EmptyState: ({ icon, title, description, className, children, ...props }: Props_10) => JSX.Element;
583
+ export declare const EmptyState: ({ icon, title, description, className, children, ...props }: Props_9) => JSX.Element;
524
584
 
525
585
  export declare const ensureReactElement: <P>({ children, as: Wrapper, props, }: EnsureReactElementProps<P>) => ReactElement;
526
586
 
@@ -548,20 +608,6 @@ declare interface ExtendedProps {
548
608
  }
549
609
 
550
610
  declare interface ExtendedProps_2 {
551
- triggerProps?: ComponentPropsWithoutRef<typeof DialogTrigger>;
552
- headerProps?: ComponentPropsWithoutRef<typeof DialogHeader>;
553
- headerClassName?: ClassName;
554
- titleProps?: ComponentPropsWithoutRef<typeof DialogTitle>;
555
- titleClassName?: ClassName;
556
- descriptionProps?: ComponentPropsWithoutRef<typeof DialogDescription>;
557
- descriptionClassName?: ClassName;
558
- contentProps?: ComponentPropsWithoutRef<typeof DialogContent>;
559
- contentClassName?: ClassName;
560
- footerProps?: ComponentPropsWithoutRef<typeof DialogFooter>;
561
- footerClassName?: ClassName;
562
- }
563
-
564
- declare interface ExtendedProps_3 {
565
611
  theadClassName?: ClassName;
566
612
  theadProps?: HTMLProps<HTMLTableSectionElement>;
567
613
  tbodyClassName?: ClassName;
@@ -581,7 +627,7 @@ declare interface ExtendedProps_3 {
581
627
  */
582
628
  export declare const extractInitials: (string: string) => string;
583
629
 
584
- export declare const Field: ({ label, labelClassName, labelProps, error, errorClassName, errorProps, children, className, ...props }: Props_11) => JSX.Element;
630
+ export declare const Field: ({ label, labelClassName, labelProps, error, errorClassName, errorProps, children, className, ...props }: Props_10) => JSX.Element;
585
631
 
586
632
  declare type FileError = {
587
633
  file: File;
@@ -621,7 +667,7 @@ export declare const FileTypeGroups: Record<string, FileTypeValue[]>;
621
667
 
622
668
  export declare type FileTypeValue = (typeof FileType)[keyof typeof FileType];
623
669
 
624
- export declare const Form: <TFieldValues extends FieldValues = FieldValues>({ onSubmit, id, form, children, className, }: Props_12<TFieldValues>) => JSX.Element;
670
+ export declare const Form: <TFieldValues extends FieldValues = FieldValues>({ onSubmit, id, form, children, className, }: Props_11<TFieldValues>) => JSX.Element;
625
671
 
626
672
  export declare const FormControl: ({ className, ...props }: React_2.ComponentProps<typeof Slot>) => JSX.Element;
627
673
 
@@ -664,7 +710,7 @@ declare type GenericObject_2 = Record<string, any>;
664
710
 
665
711
  export declare const getFormData: (event: FormEvent<HTMLFormElement>) => Record<string, string>;
666
712
 
667
- export declare const Heading: <C extends React.ElementType = "h2">({ className, size, weight, as, ...props }: Props_13<C>) => JSX.Element;
713
+ export declare const Heading: <C extends React.ElementType = "h2">({ className, size, weight, as, ...props }: Props_12<C>) => JSX.Element;
668
714
 
669
715
  declare const HeadingVariants: (props?: ({
670
716
  size?: "sm" | "lg" | "md" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | null | undefined;
@@ -682,7 +728,7 @@ declare type HotkeyOptions = {
682
728
 
683
729
  export declare type ID = string | number;
684
730
 
685
- export declare const Input: ({ value: prop, onChange, defaultValue: defaultProp, ...rest }: Props_14) => JSX.Element;
731
+ export declare const Input: ({ value: prop, onChange, defaultValue: defaultProp, ...rest }: Props_13) => JSX.Element;
686
732
 
687
733
  declare interface ItemTimeline {
688
734
  content?: ReactNode;
@@ -731,7 +777,7 @@ export declare type LibraryProviderProps = {
731
777
  tooltipDelay?: ComponentPropsWithoutRef<typeof TooltipPrimitive.Provider>["delay"];
732
778
  } & Omit<ToastProviderProps, "children">;
733
779
 
734
- export declare const Loader: ({ center, containerClassName, variant, size, ...props }: Props_15) => JSX.Element;
780
+ export declare const Loader: ({ center, containerClassName, variant, size, ...props }: Props_14) => JSX.Element;
735
781
 
736
782
  declare type LoaderVariants = VariantProps<typeof loaderVariants>;
737
783
 
@@ -922,7 +968,7 @@ declare type noop = (this: any, ...args: any[]) => any;
922
968
 
923
969
  export declare type Nullable<T> = T | null;
924
970
 
925
- export declare const NumberInput: ({ value: prop, onChange, defaultValue: defaultProp, className, min, max, ...props }: Props_16) => JSX.Element;
971
+ export declare const NumberInput: ({ value: prop, onChange, defaultValue: defaultProp, className, min, max, ...props }: Props_15) => JSX.Element;
926
972
 
927
973
  declare type OpenProps = {
928
974
  open?: boolean;
@@ -941,15 +987,15 @@ export declare type OverrideProps<T, TOverridden> = Omit<T, keyof TOverridden> &
941
987
 
942
988
  export declare type PageSize = (typeof TABLE_PAGE_SIZES)[number];
943
989
 
944
- export declare const Pagination: ({ optionProps, className, containerProps, ...rangeProps }: Props_17) => JSX.Element;
990
+ export declare const Pagination: ({ optionProps, className, containerProps, ...rangeProps }: Props_16) => JSX.Element;
945
991
 
946
992
  declare interface PaginationOptionProps extends ButtonHTMLAttributes<HTMLButtonElement> {
947
993
  isActive?: boolean;
948
994
  }
949
995
 
950
- export declare const Password: ({ className, containerClassName, showIcon, hideIcon, onShow, onHide, toggleable, ...rest }: Props_18) => JSX.Element;
996
+ export declare const Password: ({ className, containerClassName, showIcon, hideIcon, onShow, onHide, toggleable, ...rest }: Props_17) => JSX.Element;
951
997
 
952
- export declare const Popover: (props: Props_19) => JSX.Element;
998
+ export declare const Popover: (props: Props_18) => JSX.Element;
953
999
 
954
1000
  export declare const PopoverContent: ({ className, align, sideOffset, matchTriggerWidth, style, focus, ...props }: PopoverContentProps) => JSX.Element;
955
1001
 
@@ -998,13 +1044,7 @@ declare interface Props extends ExtendedProps {
998
1044
  onSelect?: (value: AutoCompleteItem["value"], item: AutoCompleteItem) => any;
999
1045
  }
1000
1046
 
1001
- declare type Props_10 = ComponentPropsWithoutRef<"div"> & {
1002
- icon?: ReactNode;
1003
- title?: ReactNode;
1004
- description?: ReactNode;
1005
- };
1006
-
1007
- declare interface Props_11 extends ComponentProps<"div"> {
1047
+ declare interface Props_10 extends ComponentProps<"div"> {
1008
1048
  label?: ReactNode;
1009
1049
  labelClassName?: string;
1010
1050
  labelProps?: ComponentPropsWithoutRef<"label">;
@@ -1013,7 +1053,7 @@ declare interface Props_11 extends ComponentProps<"div"> {
1013
1053
  errorProps?: ComponentPropsWithoutRef<"p">;
1014
1054
  }
1015
1055
 
1016
- declare type Props_12<TFieldValues extends FieldValues> = {
1056
+ declare type Props_11<TFieldValues extends FieldValues> = {
1017
1057
  onSubmit: (data: TFieldValues) => void;
1018
1058
  form: UseFormReturn<TFieldValues, any, any>;
1019
1059
  children: React_2.ReactNode;
@@ -1021,11 +1061,11 @@ declare type Props_12<TFieldValues extends FieldValues> = {
1021
1061
  id?: string;
1022
1062
  };
1023
1063
 
1024
- declare type Props_13<C extends React.ElementType> = VariantProps<typeof HeadingVariants> & {
1064
+ declare type Props_12<C extends React.ElementType> = VariantProps<typeof HeadingVariants> & {
1025
1065
  as?: C;
1026
1066
  } & Omit<React.ComponentPropsWithoutRef<C>, "as">;
1027
1067
 
1028
- declare type Props_14 = OverrideProps<ComponentProps<"input">, {
1068
+ declare type Props_13 = OverrideProps<ComponentProps<"input">, {
1029
1069
  /** valor del input */
1030
1070
  value?: string;
1031
1071
  /** functión a ejecutar cuando el valor cambia */
@@ -1034,12 +1074,12 @@ declare type Props_14 = OverrideProps<ComponentProps<"input">, {
1034
1074
  defaultValue?: string;
1035
1075
  }>;
1036
1076
 
1037
- declare type Props_15 = LucideProps & LoaderVariants & {
1077
+ declare type Props_14 = LucideProps & LoaderVariants & {
1038
1078
  center?: boolean;
1039
1079
  containerClassName?: string;
1040
1080
  };
1041
1081
 
1042
- declare type Props_16 = OverrideProps<ComponentProps<"input">, {
1082
+ declare type Props_15 = OverrideProps<ComponentProps<"input">, {
1043
1083
  /** valor del input */
1044
1084
  value?: number;
1045
1085
  /** functión a ejecutar cuando el valor cambia */
@@ -1052,13 +1092,13 @@ declare type Props_16 = OverrideProps<ComponentProps<"input">, {
1052
1092
  max?: number;
1053
1093
  }>;
1054
1094
 
1055
- declare interface Props_17 extends useRangePaginationProps {
1095
+ declare interface Props_16 extends useRangePaginationProps {
1056
1096
  optionProps?: PaginationOptionProps;
1057
1097
  className?: string;
1058
1098
  containerProps?: HTMLProps<HTMLDivElement>;
1059
1099
  }
1060
1100
 
1061
- declare type Props_18 = OverrideProps<ComponentProps<typeof Input>, {
1101
+ declare type Props_17 = OverrideProps<ComponentProps<typeof Input>, {
1062
1102
  /** Clase CSS para el contenedor */
1063
1103
  containerClassName?: string;
1064
1104
  /** Ícono para mostrar la contraseña */
@@ -1073,7 +1113,7 @@ declare type Props_18 = OverrideProps<ComponentProps<typeof Input>, {
1073
1113
  toggleable?: boolean;
1074
1114
  }>;
1075
1115
 
1076
- declare interface Props_19 {
1116
+ declare interface Props_18 {
1077
1117
  trigger?: ReactNode;
1078
1118
  children: ReactNode;
1079
1119
  rootProps?: ComponentPropsWithoutRef<typeof PopoverRoot>;
@@ -1087,6 +1127,11 @@ declare interface Props_19 {
1087
1127
  offset?: ComponentPropsWithoutRef<typeof PopoverContent>["sideOffset"];
1088
1128
  }
1089
1129
 
1130
+ declare interface Props_19 extends ComponentPropsWithoutRef<typeof Slot> {
1131
+ /** Si el componente está presente o no */
1132
+ when: ComponentProps<typeof Presence>["present"];
1133
+ }
1134
+
1090
1135
  declare interface Props_2 extends HTMLProps<HTMLDivElement> {
1091
1136
  /**
1092
1137
  * La URL de la imagen
@@ -1094,31 +1139,26 @@ declare interface Props_2 extends HTMLProps<HTMLDivElement> {
1094
1139
  src: string;
1095
1140
  }
1096
1141
 
1097
- declare interface Props_20 extends ComponentPropsWithoutRef<typeof Slot> {
1098
- /** Si el componente está presente o no */
1099
- when: ComponentProps<typeof Presence>["present"];
1100
- }
1101
-
1102
- declare type Props_21<T> = {
1142
+ declare type Props_20<T> = {
1103
1143
  data: T[];
1104
1144
  columns: ColumnDef<T>[];
1105
1145
  onRowClick?: (row: T) => void;
1106
1146
  onDoubleClick?: (row: T) => void;
1107
1147
  selected?: (row: T) => boolean;
1108
- } & ExtendedProps_3 & Omit<ComponentPropsWithoutRef<typeof TableRoot>, "data" | "selected" | "onDoubleClick">;
1148
+ } & ExtendedProps_2 & Omit<ComponentPropsWithoutRef<typeof TableRoot>, "data" | "selected" | "onDoubleClick">;
1109
1149
 
1110
- declare type Props_22 = {
1150
+ declare type Props_21 = {
1111
1151
  setPageSize?: (value: PageSize) => void;
1112
1152
  pageSize?: PageSize;
1113
1153
  } & Omit<usePaginationProps, "pageSize"> & TablePaginationExtendedProps;
1114
1154
 
1115
- declare type Props_23 = ClosableProps | NonClosableProps;
1155
+ declare type Props_22 = ClosableProps | NonClosableProps;
1116
1156
 
1117
- declare type Props_24<T extends TreeNode> = TreeRootProps & {
1157
+ declare type Props_23<T extends TreeNode> = TreeRootProps & {
1118
1158
  items: T[];
1119
1159
  };
1120
1160
 
1121
- declare interface Props_25<T> extends UseAsyncOptions<T> {
1161
+ declare interface Props_24<T> extends UseAsyncOptions<T> {
1122
1162
  fn: () => Promise<T>;
1123
1163
  dependencies?: DependencyList;
1124
1164
  }
@@ -1179,19 +1219,16 @@ declare type Props_7 = ComponentProps<"input"> & {
1179
1219
  renderFooter?: (props: DatePickerFooterProps) => ReactNode;
1180
1220
  };
1181
1221
 
1182
- declare type Props_8 = ComponentPropsWithoutRef<typeof DialogRoot> & ExtendedProps_2 & {
1183
- trigger?: ReactNode;
1222
+ declare type Props_8 = {
1223
+ orientation?: "horizontal" | "vertical";
1224
+ } & HTMLProps<HTMLHRElement>;
1225
+
1226
+ declare type Props_9 = ComponentPropsWithoutRef<"div"> & {
1227
+ icon?: ReactNode;
1184
1228
  title?: ReactNode;
1185
1229
  description?: ReactNode;
1186
- children: ReactNode;
1187
- footer?: ReactNode;
1188
- focus?: boolean;
1189
1230
  };
1190
1231
 
1191
- declare type Props_9 = {
1192
- orientation?: "horizontal" | "vertical";
1193
- } & HTMLProps<HTMLHRElement>;
1194
-
1195
1232
  declare type PropsWithoutValue<T> = Omit<T, "value" | "onChange" | "defaultValue">;
1196
1233
 
1197
1234
  declare type ProviderProps = ComponentPropsWithoutRef<typeof TooltipPrimitive.Provider>;
@@ -1335,7 +1372,7 @@ declare type Shortcut = Partial<{
1335
1372
  shortcutOptions: MenuShortcutProps_2["options"];
1336
1373
  }>;
1337
1374
 
1338
- export declare const Show: ({ when, ...props }: Props_20) => JSX.Element;
1375
+ export declare const Show: ({ when, ...props }: Props_19) => JSX.Element;
1339
1376
 
1340
1377
  export declare type SingleDateValue = {
1341
1378
  value?: DateSingle;
@@ -1432,7 +1469,7 @@ export declare interface TabContentProps extends HTMLProps<HTMLDivElement> {
1432
1469
  value: string;
1433
1470
  }
1434
1471
 
1435
- export declare const Table: <T>({ data, columns, onRowClick, onDoubleClick, selected, theadClassName, theadProps, tbodyClassName, tbodyProps, trClassName, trProps, thClassName, thProps, tdClassName, tdProps, ...tableProps }: Props_21<T>) => JSX.Element;
1472
+ export declare const Table: <T>({ data, columns, onRowClick, onDoubleClick, selected, theadClassName, theadProps, tbodyClassName, tbodyProps, trClassName, trProps, thClassName, thProps, tdClassName, tdProps, ...tableProps }: Props_20<T>) => JSX.Element;
1436
1473
 
1437
1474
  export declare const TABLE_PAGE_SIZES: number[];
1438
1475
 
@@ -1460,7 +1497,7 @@ declare type TableHeaderProps = React_2.ComponentProps<"thead">;
1460
1497
 
1461
1498
  declare type TableHeadProps = React_2.ComponentProps<"th">;
1462
1499
 
1463
- export declare const TablePagination: ({ containerClassName, containerProps, selectClassName, selectProps, sizes, ...props }: Props_22) => JSX.Element;
1500
+ export declare const TablePagination: ({ containerClassName, containerProps, selectClassName, selectProps, sizes, ...props }: Props_21) => JSX.Element;
1464
1501
 
1465
1502
  declare interface TablePaginationExtendedProps {
1466
1503
  containerClassName?: ClassName;
@@ -1515,7 +1552,7 @@ export declare interface TabTriggerProps extends Omit<HTMLProps<HTMLButtonElemen
1515
1552
  value: string;
1516
1553
  }
1517
1554
 
1518
- export declare const Tag: ({ className, color, variant, rounded, icon, closable, onClose, children, ...props }: Props_23) => JSX.Element;
1555
+ export declare const Tag: ({ className, color, variant, rounded, icon, closable, onClose, children, ...props }: Props_22) => JSX.Element;
1519
1556
 
1520
1557
  export declare type TagVariant = VariantProps<typeof tagVariants>;
1521
1558
 
@@ -1722,7 +1759,7 @@ export declare function TooltipRoot(props: RootProps): JSX.Element;
1722
1759
 
1723
1760
  export declare function TooltipTrigger({ className, ...props }: TriggerProps): JSX.Element;
1724
1761
 
1725
- export declare function Tree<T extends TreeNode>({ items, ...props }: Props_24<T>): JSX.Element;
1762
+ export declare function Tree<T extends TreeNode>({ items, ...props }: Props_23<T>): JSX.Element;
1726
1763
 
1727
1764
  export declare const TreeItem: <T extends object>({ className, ...props }: OverrideProps<TreeItemProps<T>, {
1728
1765
  id: string | number;
@@ -1812,7 +1849,7 @@ export declare function useArray<T>(defaultProp: T[]): readonly [T[], {
1812
1849
  readonly update: (predicate: ListIterateeCustom<T, boolean>, newItem: T | ((item: T) => T)) => void;
1813
1850
  }];
1814
1851
 
1815
- export declare function useAsync<T>({ fn, dependencies, onError, onSuccess, onFinish, }: Props_25<T>): AsyncState<T>;
1852
+ export declare function useAsync<T>({ fn, dependencies, onError, onSuccess, onFinish, }: Props_24<T>): AsyncState<T>;
1816
1853
 
1817
1854
  declare interface UseAsyncOptions<T> {
1818
1855
  onError?: (error: Error) => void;