@omniviewdev/base-ui 0.7.2 → 0.8.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/base-ui.css +1 -1
- package/dist/index.d.ts +194 -104
- package/dist/index.js +24553 -21111
- package/dist/index.js.map +1 -1
- package/package.json +34 -31
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { AlertDialog as AlertDialog_2 } from '@base-ui/react/alert-dialog';
|
|
2
|
+
import { AlertDialogBackdropProps } from '@base-ui/react';
|
|
3
|
+
import { AlertDialogDescriptionProps } from '@base-ui/react';
|
|
4
|
+
import { AlertDialogTitleProps } from '@base-ui/react';
|
|
2
5
|
import { AnchorHTMLAttributes } from 'react';
|
|
3
6
|
import { Autocomplete as Autocomplete_2 } from '@base-ui/react/autocomplete';
|
|
4
7
|
import { AutocompleteEmptyProps } from '@base-ui/react';
|
|
5
8
|
import { AutocompleteGroupLabelProps } from '@base-ui/react';
|
|
6
9
|
import { AutocompletePositionerProps } from '@base-ui/react';
|
|
10
|
+
import { AutocompleteSeparatorProps } from '@base-ui/react';
|
|
7
11
|
import { Avatar as Avatar_2 } from '@base-ui/react/avatar';
|
|
8
12
|
import { Button as Button_2 } from '@base-ui/react/button';
|
|
9
13
|
import { ButtonHTMLAttributes } from 'react';
|
|
@@ -11,14 +15,17 @@ import { ChangeEventHandler } from 'react';
|
|
|
11
15
|
import { Checkbox as Checkbox_2 } from '@base-ui/react/checkbox';
|
|
12
16
|
import { CheckboxGroup as CheckboxGroup_2 } from '@base-ui/react/checkbox-group';
|
|
13
17
|
import { ClipboardEvent as ClipboardEvent_2 } from 'react';
|
|
18
|
+
import { Column } from '@tanstack/react-table';
|
|
14
19
|
import { ColumnDef as ColumnDef_2 } from '@tanstack/react-table';
|
|
15
20
|
import { ColumnFiltersState } from '@tanstack/react-table';
|
|
16
21
|
import { ColumnOrderState } from '@tanstack/react-table';
|
|
17
22
|
import { ColumnPinningState } from '@tanstack/react-table';
|
|
18
23
|
import { ColumnSizingState } from '@tanstack/react-table';
|
|
24
|
+
import { ColumnVisibilityState } from '@tanstack/react-table';
|
|
19
25
|
import { Combobox as Combobox_2 } from '@base-ui/react/combobox';
|
|
20
26
|
import { ComboboxChipsProps } from '@base-ui/react';
|
|
21
27
|
import { ComboboxItemIndicatorProps } from '@base-ui/react';
|
|
28
|
+
import { ComboboxSeparatorProps } from '@base-ui/react';
|
|
22
29
|
import { ComponentProps } from 'react';
|
|
23
30
|
import { ComponentPropsWithoutRef } from 'react';
|
|
24
31
|
import { ComponentPropsWithRef } from 'react';
|
|
@@ -28,10 +35,9 @@ import { ContextMenuCheckboxItemIndicatorProps } from '@base-ui/react';
|
|
|
28
35
|
import { ContextMenuGroupLabelProps } from '@base-ui/react';
|
|
29
36
|
import { ContextMenuPositionerProps } from '@base-ui/react';
|
|
30
37
|
import { ContextMenuRadioItemIndicatorProps } from '@base-ui/react';
|
|
38
|
+
import { CreatedFilterFn } from '@tanstack/react-table';
|
|
39
|
+
import { CreatedSortFn } from '@tanstack/react-table';
|
|
31
40
|
import { CSSProperties } from 'react';
|
|
32
|
-
import { DialogBackdropProps } from '@base-ui/react';
|
|
33
|
-
import { DialogDescriptionProps } from '@base-ui/react';
|
|
34
|
-
import { DialogTitleProps as DialogTitleProps_2 } from '@base-ui/react';
|
|
35
41
|
import { DragEndEvent } from '@dnd-kit/core';
|
|
36
42
|
import { ElementType } from 'react';
|
|
37
43
|
import { ExpandedState } from '@tanstack/react-table';
|
|
@@ -47,10 +53,12 @@ import { GroupingState } from '@tanstack/react-table';
|
|
|
47
53
|
import { HTMLAttributes } from 'react';
|
|
48
54
|
import { ImgHTMLAttributes } from 'react';
|
|
49
55
|
import { Input as Input_2 } from '@base-ui/react/input';
|
|
50
|
-
import { JSX } from 'react
|
|
56
|
+
import { JSX } from 'react';
|
|
51
57
|
import { KeyboardEvent as KeyboardEvent_2 } from 'react';
|
|
52
58
|
import { LabelHTMLAttributes } from 'react';
|
|
59
|
+
import { MemoExoticComponent } from 'react';
|
|
53
60
|
import { Menu as Menu_2 } from '@base-ui/react/menu';
|
|
61
|
+
import { MenuPositionerProps } from '@base-ui/react';
|
|
54
62
|
import { MouseEvent as MouseEvent_2 } from 'react';
|
|
55
63
|
import { NamedExoticComponent } from 'react';
|
|
56
64
|
import { NumberField } from '@base-ui/react/number-field';
|
|
@@ -61,17 +69,21 @@ import { PopoverDescriptionProps } from '@base-ui/react';
|
|
|
61
69
|
import { PopoverPortalProps } from '@base-ui/react';
|
|
62
70
|
import { PopoverPositionerProps } from '@base-ui/react';
|
|
63
71
|
import { PopoverTitleProps } from '@base-ui/react';
|
|
72
|
+
import { PopoverViewportProps } from '@base-ui/react';
|
|
64
73
|
import { PropsWithChildren } from 'react';
|
|
65
74
|
import { PropsWithoutRef } from 'react';
|
|
66
75
|
import { Radio as Radio_2 } from '@base-ui/react/radio';
|
|
67
76
|
import { RadioGroup as RadioGroup_2 } from '@base-ui/react/radio-group';
|
|
68
77
|
import { ReactElement } from 'react';
|
|
69
78
|
import { ReactNode } from 'react';
|
|
79
|
+
import { ReactTable } from '@tanstack/react-table';
|
|
70
80
|
import { Ref } from 'react';
|
|
71
81
|
import { RefAttributes } from 'react';
|
|
72
82
|
import { RefCallback } from 'react';
|
|
73
83
|
import { RefObject } from 'react';
|
|
74
84
|
import { Row } from '@tanstack/react-table';
|
|
85
|
+
import { RowData } from '@tanstack/react-table';
|
|
86
|
+
import { RowModel } from '@tanstack/react-table';
|
|
75
87
|
import { RowSelectionState } from '@tanstack/react-table';
|
|
76
88
|
import { Select as Select_2 } from '@base-ui/react/select';
|
|
77
89
|
import { SelectArrowProps } from '@base-ui/react';
|
|
@@ -82,12 +94,14 @@ import { SelectItemTextProps } from '@base-ui/react';
|
|
|
82
94
|
import { SelectPositionerProps } from '@base-ui/react';
|
|
83
95
|
import { SelectScrollDownArrowProps } from '@base-ui/react';
|
|
84
96
|
import { SelectScrollUpArrowProps } from '@base-ui/react';
|
|
97
|
+
import { SelectSeparatorProps } from '@base-ui/react';
|
|
85
98
|
import { Separator as Separator_2 } from '@base-ui/react/separator';
|
|
86
99
|
import { SeparatorProps as SeparatorProps_2 } from '@base-ui/react';
|
|
87
100
|
import { Slider as Slider_2 } from '@base-ui/react/slider';
|
|
88
101
|
import { SortingState } from '@tanstack/react-table';
|
|
89
102
|
import { Switch as Switch_2 } from '@base-ui/react/switch';
|
|
90
103
|
import { Table as Table_2 } from '@tanstack/react-table';
|
|
104
|
+
import { TableFeature } from '@tanstack/react-table';
|
|
91
105
|
import { TableHTMLAttributes } from 'react';
|
|
92
106
|
import { TableState } from '@tanstack/react-table';
|
|
93
107
|
import { Tabs as Tabs_2 } from '@base-ui/react/tabs';
|
|
@@ -102,8 +116,8 @@ import { ToggleGroup } from '@base-ui/react/toggle-group';
|
|
|
102
116
|
import { Tooltip as Tooltip_2 } from '@base-ui/react/tooltip';
|
|
103
117
|
import { TooltipPortalProps } from '@base-ui/react';
|
|
104
118
|
import { TooltipPositionerProps } from '@base-ui/react';
|
|
119
|
+
import { TooltipViewportProps } from '@base-ui/react';
|
|
105
120
|
import { VirtualItem } from '@tanstack/react-virtual';
|
|
106
|
-
import { VisibilityState } from '@tanstack/react-table';
|
|
107
121
|
|
|
108
122
|
export declare const Accordion: AccordionCompound;
|
|
109
123
|
|
|
@@ -195,7 +209,7 @@ export declare type ActionListSeparatorProps = HTMLAttributes<HTMLDivElement>;
|
|
|
195
209
|
|
|
196
210
|
export declare const AlertDialog: AlertDialogCompound;
|
|
197
211
|
|
|
198
|
-
declare const AlertDialogBackdrop: ForwardRefExoticComponent<Omit<Omit<
|
|
212
|
+
declare const AlertDialogBackdrop: ForwardRefExoticComponent<Omit<Omit< AlertDialogBackdropProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
199
213
|
|
|
200
214
|
declare const AlertDialogClose: ForwardRefExoticComponent<AlertDialogCloseProps & RefAttributes<HTMLButtonElement>>;
|
|
201
215
|
|
|
@@ -216,7 +230,7 @@ declare type AlertDialogCompound = typeof AlertDialogRoot & {
|
|
|
216
230
|
createHandle: typeof AlertDialog_2.createHandle;
|
|
217
231
|
};
|
|
218
232
|
|
|
219
|
-
declare const AlertDialogDescription: ForwardRefExoticComponent<Omit<Omit<
|
|
233
|
+
declare const AlertDialogDescription: ForwardRefExoticComponent<Omit<Omit< AlertDialogDescriptionProps, "ref"> & RefAttributes<HTMLParagraphElement>, "ref"> & RefAttributes<HTMLParagraphElement>>;
|
|
220
234
|
|
|
221
235
|
declare const AlertDialogPopup: ForwardRefExoticComponent<AlertDialogPopupProps & RefAttributes<HTMLDivElement>>;
|
|
222
236
|
|
|
@@ -231,7 +245,7 @@ declare const AlertDialogRoot: {
|
|
|
231
245
|
export declare interface AlertDialogRootProps extends Omit<ComponentPropsWithoutRef<typeof AlertDialog_2.Root>, 'color'>, StyledComponentProps {
|
|
232
246
|
}
|
|
233
247
|
|
|
234
|
-
declare const AlertDialogTitle: ForwardRefExoticComponent<Omit<Omit<
|
|
248
|
+
declare const AlertDialogTitle: ForwardRefExoticComponent<Omit<Omit< AlertDialogTitleProps, "ref"> & RefAttributes<HTMLHeadingElement>, "ref"> & RefAttributes<HTMLHeadingElement>>;
|
|
235
249
|
|
|
236
250
|
declare const AlertDialogTrigger: {
|
|
237
251
|
({ className, variant, color, size, ...props }: AlertDialogTriggerProps): JSX.Element;
|
|
@@ -347,9 +361,9 @@ declare type AutocompleteCompound = typeof AutocompleteRoot & {
|
|
|
347
361
|
useFilteredItems: typeof Autocomplete_2.useFilteredItems;
|
|
348
362
|
};
|
|
349
363
|
|
|
350
|
-
declare const AutocompleteEmpty: ForwardRefExoticComponent<Omit<Omit<AutocompleteEmptyProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
364
|
+
declare const AutocompleteEmpty: ForwardRefExoticComponent<Omit<Omit< AutocompleteEmptyProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
351
365
|
|
|
352
|
-
declare const AutocompleteGroupLabel: ForwardRefExoticComponent<Omit<Omit<AutocompleteGroupLabelProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
366
|
+
declare const AutocompleteGroupLabel: ForwardRefExoticComponent<Omit<Omit< AutocompleteGroupLabelProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
353
367
|
|
|
354
368
|
declare const AutocompleteInput: ForwardRefExoticComponent<AutocompleteInputProps & RefAttributes<HTMLInputElement>>;
|
|
355
369
|
|
|
@@ -371,7 +385,7 @@ declare const AutocompletePopup: ForwardRefExoticComponent<AutocompletePopupProp
|
|
|
371
385
|
export declare interface AutocompletePopupProps extends Omit<ComponentPropsWithoutRef<typeof Autocomplete_2.Popup>, 'color'>, StyledComponentProps {
|
|
372
386
|
}
|
|
373
387
|
|
|
374
|
-
declare const AutocompletePositioner: ForwardRefExoticComponent<Omit<Omit<AutocompletePositionerProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
388
|
+
declare const AutocompletePositioner: ForwardRefExoticComponent<Omit<Omit< AutocompletePositionerProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
375
389
|
|
|
376
390
|
declare const AutocompleteRoot: {
|
|
377
391
|
({ variant, color, size, ...props }: AutocompleteRootProps): JSX.Element;
|
|
@@ -381,7 +395,7 @@ declare const AutocompleteRoot: {
|
|
|
381
395
|
export declare interface AutocompleteRootProps extends Omit<ComponentPropsWithoutRef<typeof Autocomplete_2.Root>, 'color'>, StyledComponentProps {
|
|
382
396
|
}
|
|
383
397
|
|
|
384
|
-
declare const AutocompleteSeparator: ForwardRefExoticComponent<Omit<
|
|
398
|
+
declare const AutocompleteSeparator: ForwardRefExoticComponent<Omit< AutocompleteSeparatorProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
385
399
|
|
|
386
400
|
declare const AutocompleteTrigger: ForwardRefExoticComponent<AutocompleteTriggerProps & RefAttributes<HTMLButtonElement>>;
|
|
387
401
|
|
|
@@ -701,7 +715,7 @@ declare type CalendarSingleProps = CalendarBaseProps & {
|
|
|
701
715
|
|
|
702
716
|
export declare const Caption: <C extends CaptionElement = "span">(props: TypographyBaseProps & TruncationProps & {
|
|
703
717
|
as?: C | undefined;
|
|
704
|
-
} & Omit<PropsWithoutRef<ComponentProps<C>>, "color" | "as" | "truncate" | keyof TypographyBaseProps> & {
|
|
718
|
+
} & Omit< PropsWithoutRef<ComponentProps<C>>, "color" | "as" | "truncate" | keyof TypographyBaseProps> & {
|
|
705
719
|
ref?: PolymorphicRef<C> | undefined;
|
|
706
720
|
}) => ReactElement | null;
|
|
707
721
|
|
|
@@ -940,7 +954,7 @@ export declare interface ClipboardTextProps extends HTMLAttributes<HTMLElement>
|
|
|
940
954
|
|
|
941
955
|
export declare const Code: <C extends CodeElement = "code">(props: TypographyBaseProps & TruncationProps & {
|
|
942
956
|
as?: C | undefined;
|
|
943
|
-
} & Omit<PropsWithoutRef<ComponentProps<C>>, "color" | "as" | "truncate" | keyof TypographyBaseProps> & {
|
|
957
|
+
} & Omit< PropsWithoutRef<ComponentProps<C>>, "color" | "as" | "truncate" | keyof TypographyBaseProps> & {
|
|
944
958
|
ref?: PolymorphicRef<C> | undefined;
|
|
945
959
|
}) => ReactElement | null;
|
|
946
960
|
|
|
@@ -1034,7 +1048,7 @@ declare const ComboboxChipRemove: ForwardRefExoticComponent<ComboboxChipRemovePr
|
|
|
1034
1048
|
export declare interface ComboboxChipRemoveProps extends Omit<ComponentPropsWithoutRef<typeof Combobox_2.ChipRemove>, 'color'>, StyledComponentProps {
|
|
1035
1049
|
}
|
|
1036
1050
|
|
|
1037
|
-
declare const ComboboxChips: ForwardRefExoticComponent<Omit<Omit<ComboboxChipsProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1051
|
+
declare const ComboboxChips: ForwardRefExoticComponent<Omit<Omit< ComboboxChipsProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1038
1052
|
|
|
1039
1053
|
declare const ComboboxClear: ForwardRefExoticComponent<ComboboxClearProps & RefAttributes<HTMLButtonElement>>;
|
|
1040
1054
|
|
|
@@ -1070,9 +1084,9 @@ declare type ComboboxCompound = typeof ComboboxRoot & {
|
|
|
1070
1084
|
useFilteredItems: typeof Combobox_2.useFilteredItems;
|
|
1071
1085
|
};
|
|
1072
1086
|
|
|
1073
|
-
declare const ComboboxEmpty: ForwardRefExoticComponent<Omit<Omit<AutocompleteEmptyProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1087
|
+
declare const ComboboxEmpty: ForwardRefExoticComponent<Omit<Omit< AutocompleteEmptyProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1074
1088
|
|
|
1075
|
-
declare const ComboboxGroupLabel: ForwardRefExoticComponent<Omit<Omit<AutocompleteGroupLabelProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1089
|
+
declare const ComboboxGroupLabel: ForwardRefExoticComponent<Omit<Omit< AutocompleteGroupLabelProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1076
1090
|
|
|
1077
1091
|
declare const ComboboxInput: ForwardRefExoticComponent<ComboboxInputProps & RefAttributes<HTMLInputElement>>;
|
|
1078
1092
|
|
|
@@ -1081,7 +1095,7 @@ export declare interface ComboboxInputProps extends Omit<ComponentPropsWithoutRe
|
|
|
1081
1095
|
|
|
1082
1096
|
declare const ComboboxItem: ForwardRefExoticComponent<ComboboxItemProps & RefAttributes<HTMLDivElement>>;
|
|
1083
1097
|
|
|
1084
|
-
declare const ComboboxItemIndicator: ForwardRefExoticComponent<Omit<Omit<ComboboxItemIndicatorProps, "ref"> & RefAttributes<HTMLSpanElement>, "ref"> & RefAttributes<HTMLSpanElement>>;
|
|
1098
|
+
declare const ComboboxItemIndicator: ForwardRefExoticComponent<Omit<Omit< ComboboxItemIndicatorProps, "ref"> & RefAttributes<HTMLSpanElement>, "ref"> & RefAttributes<HTMLSpanElement>>;
|
|
1085
1099
|
|
|
1086
1100
|
export declare interface ComboboxItemProps extends Omit<ComponentPropsWithoutRef<typeof Combobox_2.Item>, 'color' | 'children'>, StyledComponentProps, DecoratedContentProps {
|
|
1087
1101
|
}
|
|
@@ -1096,7 +1110,7 @@ declare const ComboboxPopup: ForwardRefExoticComponent<ComboboxPopupProps & RefA
|
|
|
1096
1110
|
export declare interface ComboboxPopupProps extends Omit<ComponentPropsWithoutRef<typeof Combobox_2.Popup>, 'color'>, StyledComponentProps {
|
|
1097
1111
|
}
|
|
1098
1112
|
|
|
1099
|
-
declare const ComboboxPositioner: ForwardRefExoticComponent<Omit<Omit<AutocompletePositionerProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1113
|
+
declare const ComboboxPositioner: ForwardRefExoticComponent<Omit<Omit< AutocompletePositionerProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1100
1114
|
|
|
1101
1115
|
declare function ComboboxRoot<Value, Multiple extends boolean | undefined = false>({ variant, color, size, ...props }: ComboboxRootProps<Value, Multiple>): JSX.Element;
|
|
1102
1116
|
|
|
@@ -1106,7 +1120,7 @@ declare namespace ComboboxRoot {
|
|
|
1106
1120
|
|
|
1107
1121
|
export declare type ComboboxRootProps<Value = unknown, Multiple extends boolean | undefined = false> = Omit<Combobox_2.Root.Props<Value, Multiple>, 'color'> & StyledComponentProps;
|
|
1108
1122
|
|
|
1109
|
-
declare const ComboboxSeparator: ForwardRefExoticComponent<Omit<
|
|
1123
|
+
declare const ComboboxSeparator: ForwardRefExoticComponent<Omit< ComboboxSeparatorProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1110
1124
|
|
|
1111
1125
|
declare const ComboboxTrigger: ForwardRefExoticComponent<ComboboxTriggerProps & RefAttributes<HTMLButtonElement>>;
|
|
1112
1126
|
|
|
@@ -1315,11 +1329,11 @@ declare const Content: ForwardRefExoticComponent<AppShellContentProps & RefAttri
|
|
|
1315
1329
|
|
|
1316
1330
|
export declare const ContextMenu: ContextMenuCompound;
|
|
1317
1331
|
|
|
1318
|
-
declare const ContextMenuBackdrop: ForwardRefExoticComponent<Omit<Omit<ContextMenuBackdropProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1332
|
+
declare const ContextMenuBackdrop: ForwardRefExoticComponent<Omit<Omit< ContextMenuBackdropProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1319
1333
|
|
|
1320
1334
|
declare const ContextMenuCheckboxItem: ForwardRefExoticComponent<ContextMenuCheckboxItemProps & RefAttributes<HTMLElement>>;
|
|
1321
1335
|
|
|
1322
|
-
declare const ContextMenuCheckboxItemIndicator: ForwardRefExoticComponent<Omit<Omit<ContextMenuCheckboxItemIndicatorProps, "ref"> & RefAttributes<HTMLSpanElement>, "ref"> & RefAttributes<HTMLSpanElement>>;
|
|
1336
|
+
declare const ContextMenuCheckboxItemIndicator: ForwardRefExoticComponent<Omit<Omit< ContextMenuCheckboxItemIndicatorProps, "ref"> & RefAttributes<HTMLSpanElement>, "ref"> & RefAttributes<HTMLSpanElement>>;
|
|
1323
1337
|
|
|
1324
1338
|
export declare interface ContextMenuCheckboxItemProps extends Omit<ComponentPropsWithoutRef<typeof ContextMenu_2.CheckboxItem>, 'color' | 'children'>, StyledComponentProps, DecoratedContentProps_2 {
|
|
1325
1339
|
}
|
|
@@ -1346,7 +1360,7 @@ declare type ContextMenuCompound = typeof ContextMenuRoot & {
|
|
|
1346
1360
|
Separator: typeof ContextMenuSeparator;
|
|
1347
1361
|
};
|
|
1348
1362
|
|
|
1349
|
-
declare const ContextMenuGroupLabel: ForwardRefExoticComponent<Omit<Omit<Omit<ContextMenuGroupLabelProps, "ref"> & RefAttributes<HTMLDivElement>, "ref">, "color"> & StyledComponentProps & RefAttributes<HTMLDivElement>>;
|
|
1363
|
+
declare const ContextMenuGroupLabel: ForwardRefExoticComponent<Omit<Omit<Omit< ContextMenuGroupLabelProps, "ref"> & RefAttributes<HTMLDivElement>, "ref">, "color"> & StyledComponentProps & RefAttributes<HTMLDivElement>>;
|
|
1350
1364
|
|
|
1351
1365
|
declare const ContextMenuItem: ForwardRefExoticComponent<ContextMenuItemProps & RefAttributes<HTMLElement>>;
|
|
1352
1366
|
|
|
@@ -1363,11 +1377,11 @@ declare const ContextMenuPopup: ForwardRefExoticComponent<ContextMenuPopupProps
|
|
|
1363
1377
|
export declare interface ContextMenuPopupProps extends Omit<ComponentPropsWithoutRef<typeof ContextMenu_2.Popup>, 'color'>, StyledComponentProps {
|
|
1364
1378
|
}
|
|
1365
1379
|
|
|
1366
|
-
declare const ContextMenuPositioner: ForwardRefExoticComponent<Omit<
|
|
1380
|
+
declare const ContextMenuPositioner: ForwardRefExoticComponent<Omit< ContextMenuPositionerProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
1367
1381
|
|
|
1368
1382
|
declare const ContextMenuRadioItem: ForwardRefExoticComponent<ContextMenuRadioItemProps & RefAttributes<HTMLElement>>;
|
|
1369
1383
|
|
|
1370
|
-
declare const ContextMenuRadioItemIndicator: ForwardRefExoticComponent<Omit<Omit<ContextMenuRadioItemIndicatorProps, "ref"> & RefAttributes<HTMLSpanElement>, "ref"> & RefAttributes<HTMLSpanElement>>;
|
|
1384
|
+
declare const ContextMenuRadioItemIndicator: ForwardRefExoticComponent<Omit<Omit< ContextMenuRadioItemIndicatorProps, "ref"> & RefAttributes<HTMLSpanElement>, "ref"> & RefAttributes<HTMLSpanElement>>;
|
|
1371
1385
|
|
|
1372
1386
|
export declare interface ContextMenuRadioItemProps extends Omit<ComponentPropsWithoutRef<typeof ContextMenu_2.RadioItem>, 'color' | 'children'>, StyledComponentProps, DecoratedContentProps_2 {
|
|
1373
1387
|
}
|
|
@@ -1380,7 +1394,7 @@ declare const ContextMenuRoot: {
|
|
|
1380
1394
|
export declare interface ContextMenuRootProps extends Omit<ComponentPropsWithoutRef<typeof ContextMenu_2.Root>, 'color'>, StyledComponentProps {
|
|
1381
1395
|
}
|
|
1382
1396
|
|
|
1383
|
-
declare const ContextMenuSeparator: ForwardRefExoticComponent<Omit<Omit<Omit<SeparatorProps_2, "ref"> & RefAttributes<HTMLDivElement>, "ref">, "color"> & StyledComponentProps & RefAttributes<HTMLDivElement>>;
|
|
1397
|
+
declare const ContextMenuSeparator: ForwardRefExoticComponent<Omit<Omit<Omit< SeparatorProps_2, "ref"> & RefAttributes<HTMLDivElement>, "ref">, "color"> & StyledComponentProps & RefAttributes<HTMLDivElement>>;
|
|
1384
1398
|
|
|
1385
1399
|
declare const ContextMenuSubmenuTrigger: ForwardRefExoticComponent<ContextMenuSubmenuTriggerProps & RefAttributes<HTMLElement>>;
|
|
1386
1400
|
|
|
@@ -1406,6 +1420,10 @@ export declare interface DataTableBodyProps extends HTMLAttributes<HTMLTableSect
|
|
|
1406
1420
|
renderExpandedRow?: (row: unknown) => ReactNode;
|
|
1407
1421
|
}
|
|
1408
1422
|
|
|
1423
|
+
export declare type DataTableColumn<TData extends RowData, TValue = unknown> = Column<DataTableFeatures, TData, TValue>;
|
|
1424
|
+
|
|
1425
|
+
export declare type DataTableColumnDef<TData extends RowData, TValue = unknown> = ColumnDef_2<DataTableFeatures, TData, TValue>;
|
|
1426
|
+
|
|
1409
1427
|
declare const DataTableColumnVisibility: ForwardRefExoticComponent<DataTableColumnVisibilityProps & RefAttributes<HTMLDivElement>>;
|
|
1410
1428
|
|
|
1411
1429
|
export declare type DataTableColumnVisibilityProps = HTMLAttributes<HTMLDivElement>;
|
|
@@ -1433,9 +1451,11 @@ export declare interface DataTableContainerProps extends HTMLAttributes<HTMLDivE
|
|
|
1433
1451
|
maxHeight?: number | string;
|
|
1434
1452
|
}
|
|
1435
1453
|
|
|
1436
|
-
declare interface DataTableContextValue {
|
|
1437
|
-
table:
|
|
1438
|
-
features:
|
|
1454
|
+
declare interface DataTableContextValue<TData extends RowData> {
|
|
1455
|
+
table: DataTableInstance<TData>;
|
|
1456
|
+
features: DataTableFeatureFlags;
|
|
1457
|
+
state: TableState<DataTableFeatures>;
|
|
1458
|
+
options: DataTableInstance<TData>['options'];
|
|
1439
1459
|
stickyHeader: boolean;
|
|
1440
1460
|
hoverable: boolean;
|
|
1441
1461
|
striped: boolean;
|
|
@@ -1450,17 +1470,17 @@ export declare interface DataTableEmptyProps extends HTMLAttributes<HTMLDivEleme
|
|
|
1450
1470
|
}
|
|
1451
1471
|
|
|
1452
1472
|
/** Native Tab/Enter/Space behavior; does not turn the table into a grid. */
|
|
1453
|
-
declare function DataTableExpansionToggle<TData>({ row, label, getAccessibleLabel, className, children, disabled, onClick, ...props }: DataTableExpansionToggleProps<TData>): JSX.Element;
|
|
1473
|
+
declare function DataTableExpansionToggle<TData extends RowData>({ row, label, getAccessibleLabel, className, children, disabled, onClick, ...props }: DataTableExpansionToggleProps<TData>): JSX.Element;
|
|
1454
1474
|
|
|
1455
|
-
declare interface DataTableExpansionToggleProps<TData> extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'aria-label' | 'aria-expanded'> {
|
|
1456
|
-
row:
|
|
1475
|
+
declare interface DataTableExpansionToggleProps<TData extends RowData> extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'aria-label' | 'aria-expanded'> {
|
|
1476
|
+
row: DataTableRow<TData>;
|
|
1457
1477
|
/** Row-specific accessible name, e.g. the displayed resource name. */
|
|
1458
1478
|
label: string;
|
|
1459
1479
|
/** Localize the complete accessible name; defaults to English Expand/Collapse plus label. */
|
|
1460
1480
|
getAccessibleLabel?: (expanded: boolean, label: string) => string;
|
|
1461
1481
|
}
|
|
1462
1482
|
|
|
1463
|
-
export declare interface
|
|
1483
|
+
export declare interface DataTableFeatureFlags {
|
|
1464
1484
|
sorting?: boolean;
|
|
1465
1485
|
filtering?: boolean;
|
|
1466
1486
|
globalFilter?: boolean;
|
|
@@ -1473,6 +1493,42 @@ export declare interface DataTableFeatures {
|
|
|
1473
1493
|
pagination?: boolean;
|
|
1474
1494
|
}
|
|
1475
1495
|
|
|
1496
|
+
export declare type DataTableFeatures = typeof dataTableFeatures;
|
|
1497
|
+
|
|
1498
|
+
export declare const dataTableFeatures: {
|
|
1499
|
+
rowSortingFeature: TableFeature;
|
|
1500
|
+
columnFilteringFeature: TableFeature;
|
|
1501
|
+
globalFilteringFeature: TableFeature;
|
|
1502
|
+
columnGroupingFeature: TableFeature;
|
|
1503
|
+
columnVisibilityFeature: TableFeature;
|
|
1504
|
+
columnOrderingFeature: TableFeature;
|
|
1505
|
+
columnPinningFeature: TableFeature;
|
|
1506
|
+
columnSizingFeature: TableFeature;
|
|
1507
|
+
columnResizingFeature: TableFeature;
|
|
1508
|
+
rowSelectionFeature: TableFeature;
|
|
1509
|
+
rowExpandingFeature: TableFeature;
|
|
1510
|
+
rowPaginationFeature: TableFeature;
|
|
1511
|
+
sortedRowModel: (table: Table_2<any, any>) => () => RowModel<any, any>;
|
|
1512
|
+
filteredRowModel: (table: Table_2<any, any>) => () => RowModel<any, any>;
|
|
1513
|
+
groupedRowModel: (table: Table_2<any, any>) => () => RowModel<any, any>;
|
|
1514
|
+
expandedRowModel: (table: Table_2<any, any>) => () => RowModel<any, any>;
|
|
1515
|
+
paginatedRowModel: (table: Table_2<any, any>) => () => RowModel<any, any>;
|
|
1516
|
+
sortFns: {
|
|
1517
|
+
alphanumeric: CreatedSortFn<any, any>;
|
|
1518
|
+
datetime: CreatedSortFn<any, any>;
|
|
1519
|
+
text: CreatedSortFn<any, any>;
|
|
1520
|
+
};
|
|
1521
|
+
filterFns: {
|
|
1522
|
+
arrIncludes: CreatedFilterFn<any, any>;
|
|
1523
|
+
equals: CreatedFilterFn<any, any>;
|
|
1524
|
+
inDateRange: CreatedFilterFn<any, any>;
|
|
1525
|
+
inNumberRange: CreatedFilterFn<any, any>;
|
|
1526
|
+
includesString: CreatedFilterFn<any, any>;
|
|
1527
|
+
includesStringSensitive: CreatedFilterFn<any, any>;
|
|
1528
|
+
weakEquals: CreatedFilterFn<any, any>;
|
|
1529
|
+
};
|
|
1530
|
+
};
|
|
1531
|
+
|
|
1476
1532
|
declare const DataTableFooter: ForwardRefExoticComponent<DataTableFooterProps & RefAttributes<HTMLTableSectionElement>>;
|
|
1477
1533
|
|
|
1478
1534
|
export declare type DataTableFooterProps = HTMLAttributes<HTMLTableSectionElement>;
|
|
@@ -1481,6 +1537,8 @@ declare const DataTableHeader: ForwardRefExoticComponent<DataTableHeaderProps &
|
|
|
1481
1537
|
|
|
1482
1538
|
export declare type DataTableHeaderProps = HTMLAttributes<HTMLTableSectionElement>;
|
|
1483
1539
|
|
|
1540
|
+
export declare type DataTableInstance<TData extends RowData> = ReactTable<DataTableFeatures, TData>;
|
|
1541
|
+
|
|
1484
1542
|
declare const DataTableLoading: ForwardRefExoticComponent<DataTableLoadingProps & RefAttributes<HTMLTableSectionElement>>;
|
|
1485
1543
|
|
|
1486
1544
|
export declare interface DataTableLoadingProps extends HTMLAttributes<HTMLTableSectionElement> {
|
|
@@ -1491,25 +1549,32 @@ declare const DataTablePagination: ForwardRefExoticComponent<DataTablePagination
|
|
|
1491
1549
|
|
|
1492
1550
|
export declare type DataTablePaginationProps = HTMLAttributes<HTMLDivElement>;
|
|
1493
1551
|
|
|
1494
|
-
declare
|
|
1552
|
+
declare function DataTableRoot<TData extends RowData>({ className, variant, color, size, table, features: featuresProp, stickyHeader, hoverable, striped, children, ref, ...props }: DataTableRootProps<TData>): JSX.Element;
|
|
1553
|
+
|
|
1554
|
+
declare namespace DataTableRoot {
|
|
1555
|
+
var displayName: string;
|
|
1556
|
+
}
|
|
1495
1557
|
|
|
1496
|
-
export declare interface DataTableRootProps extends Omit<HTMLAttributes<HTMLDivElement>, 'color'>, StyledComponentProps {
|
|
1497
|
-
table:
|
|
1498
|
-
features?:
|
|
1558
|
+
export declare interface DataTableRootProps<TData extends RowData = RowData> extends Omit<HTMLAttributes<HTMLDivElement>, 'color'>, StyledComponentProps {
|
|
1559
|
+
table: DataTableInstance<TData>;
|
|
1560
|
+
features?: DataTableFeatureFlags;
|
|
1499
1561
|
stickyHeader?: boolean;
|
|
1500
1562
|
hoverable?: boolean;
|
|
1501
1563
|
striped?: boolean;
|
|
1564
|
+
ref?: RefAttributes<HTMLDivElement>['ref'];
|
|
1502
1565
|
}
|
|
1503
1566
|
|
|
1567
|
+
export declare type DataTableRow<TData extends RowData> = Row<DataTableFeatures, TData>;
|
|
1568
|
+
|
|
1504
1569
|
declare const DataTableToolbar: ForwardRefExoticComponent<DataTableToolbarProps & RefAttributes<HTMLDivElement>>;
|
|
1505
1570
|
|
|
1506
1571
|
export declare interface DataTableToolbarProps extends HTMLAttributes<HTMLDivElement> {
|
|
1507
1572
|
searchPlaceholder?: string;
|
|
1508
1573
|
}
|
|
1509
1574
|
|
|
1510
|
-
declare const DataTableVirtualBody: <TData =
|
|
1575
|
+
declare const DataTableVirtualBody: <TData extends RowData = RowData>(props: DataTableVirtualBodyProps<TData> & RefAttributes<HTMLTableSectionElement>) => ReactElement | null;
|
|
1511
1576
|
|
|
1512
|
-
export declare interface DataTableVirtualBodyProps<TData =
|
|
1577
|
+
export declare interface DataTableVirtualBodyProps<TData extends RowData = RowData> extends HTMLAttributes<HTMLTableSectionElement> {
|
|
1513
1578
|
estimateRowSize?: number;
|
|
1514
1579
|
overscan?: number;
|
|
1515
1580
|
/** Fixed parent-row height only. Expanded content is always dynamically measured. */
|
|
@@ -1525,9 +1590,9 @@ export declare interface DataTableVirtualBodyProps<TData = unknown> extends HTML
|
|
|
1525
1590
|
*/
|
|
1526
1591
|
renderExpandedRow?: (original: TData) => ReactNode;
|
|
1527
1592
|
/** Plain-cell pointer convenience; expose equivalent actions in native controls. */
|
|
1528
|
-
onRowClick?: (row:
|
|
1593
|
+
onRowClick?: (row: DataTableRow<TData>, event: MouseEvent_2<HTMLTableRowElement>) => void;
|
|
1529
1594
|
/** Internal positioning and measurement attributes take precedence. */
|
|
1530
|
-
getRowProps?: (row:
|
|
1595
|
+
getRowProps?: (row: DataTableRow<TData>) => HTMLAttributes<HTMLTableRowElement>;
|
|
1531
1596
|
}
|
|
1532
1597
|
|
|
1533
1598
|
/**
|
|
@@ -1836,7 +1901,7 @@ declare type EditableListCompound = typeof EditableListRoot & {
|
|
|
1836
1901
|
Loading: typeof List.Loading;
|
|
1837
1902
|
};
|
|
1838
1903
|
|
|
1839
|
-
declare const EditableListItem: ForwardRefExoticComponent<ListItemProps & RefAttributes<HTMLDivElement>>;
|
|
1904
|
+
declare const EditableListItem: ForwardRefExoticComponent< ListItemProps & RefAttributes<HTMLDivElement>>;
|
|
1840
1905
|
|
|
1841
1906
|
declare const EditableListItemCancel: ForwardRefExoticComponent<EditableListItemCancelProps & RefAttributes<HTMLButtonElement>>;
|
|
1842
1907
|
|
|
@@ -2017,7 +2082,7 @@ declare interface EditorTabsViewportProps {
|
|
|
2017
2082
|
|
|
2018
2083
|
export declare const Em: <C extends EmElement = "em">(props: TypographyBaseProps & TruncationProps & {
|
|
2019
2084
|
as?: C | undefined;
|
|
2020
|
-
} & Omit<PropsWithoutRef<ComponentProps<C>>, "color" | "as" | "truncate" | keyof TypographyBaseProps> & {
|
|
2085
|
+
} & Omit< PropsWithoutRef<ComponentProps<C>>, "color" | "as" | "truncate" | keyof TypographyBaseProps> & {
|
|
2021
2086
|
ref?: PolymorphicRef<C> | undefined;
|
|
2022
2087
|
}) => ReactElement | null;
|
|
2023
2088
|
|
|
@@ -2070,7 +2135,7 @@ export declare interface FileTableBodyProps {
|
|
|
2070
2135
|
rowActions?: (item: FileTableItem) => ReactNode;
|
|
2071
2136
|
}
|
|
2072
2137
|
|
|
2073
|
-
export declare function FileTableColumn<T extends FileTableItem = FileTableItem>(
|
|
2138
|
+
export declare function FileTableColumn<T extends FileTableItem = FileTableItem>(props: FileTableColumnProps<T>): null;
|
|
2074
2139
|
|
|
2075
2140
|
export declare namespace FileTableColumn {
|
|
2076
2141
|
var displayName: string;
|
|
@@ -2393,15 +2458,15 @@ export declare interface InputControlProps extends Omit<ComponentPropsWithoutRef
|
|
|
2393
2458
|
mono?: boolean;
|
|
2394
2459
|
}
|
|
2395
2460
|
|
|
2396
|
-
declare const InputDescription: ForwardRefExoticComponent<Omit<FieldDescriptionProps, "ref"> & RefAttributes<HTMLParagraphElement>>;
|
|
2461
|
+
declare const InputDescription: ForwardRefExoticComponent<Omit< FieldDescriptionProps, "ref"> & RefAttributes<HTMLParagraphElement>>;
|
|
2397
2462
|
|
|
2398
2463
|
export declare type InputDescriptionProps = Field.Description.Props;
|
|
2399
2464
|
|
|
2400
|
-
declare const InputError: ForwardRefExoticComponent<Omit<FieldErrorProps, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
2465
|
+
declare const InputError: ForwardRefExoticComponent<Omit< FieldErrorProps, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
2401
2466
|
|
|
2402
2467
|
export declare type InputErrorProps = Field.Error.Props;
|
|
2403
2468
|
|
|
2404
|
-
declare const InputLabel: ForwardRefExoticComponent<Omit<FieldLabelProps, "ref"> & RefAttributes<HTMLElement>>;
|
|
2469
|
+
declare const InputLabel: ForwardRefExoticComponent<Omit< FieldLabelProps, "ref"> & RefAttributes<HTMLElement>>;
|
|
2405
2470
|
|
|
2406
2471
|
export declare type InputLabelProps = Field.Label.Props;
|
|
2407
2472
|
|
|
@@ -2601,11 +2666,11 @@ export declare interface ListViewportProps extends HTMLAttributes<HTMLDivElement
|
|
|
2601
2666
|
|
|
2602
2667
|
export declare const Menu: MenuCompound;
|
|
2603
2668
|
|
|
2604
|
-
declare const MenuBackdrop: ForwardRefExoticComponent<Omit<Omit<ContextMenuBackdropProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
2669
|
+
declare const MenuBackdrop: ForwardRefExoticComponent<Omit<Omit< ContextMenuBackdropProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
2605
2670
|
|
|
2606
2671
|
declare const MenuCheckboxItem: ForwardRefExoticComponent<MenuCheckboxItemProps & RefAttributes<HTMLElement>>;
|
|
2607
2672
|
|
|
2608
|
-
declare const MenuCheckboxItemIndicator: ForwardRefExoticComponent<Omit<Omit<ContextMenuCheckboxItemIndicatorProps, "ref"> & RefAttributes<HTMLSpanElement>, "ref"> & RefAttributes<HTMLSpanElement>>;
|
|
2673
|
+
declare const MenuCheckboxItemIndicator: ForwardRefExoticComponent<Omit<Omit< ContextMenuCheckboxItemIndicatorProps, "ref"> & RefAttributes<HTMLSpanElement>, "ref"> & RefAttributes<HTMLSpanElement>>;
|
|
2609
2674
|
|
|
2610
2675
|
export declare interface MenuCheckboxItemProps extends Omit<ComponentPropsWithoutRef<typeof Menu_2.CheckboxItem>, 'color' | 'children'>, StyledComponentProps, DecoratedContentProps_3 {
|
|
2611
2676
|
}
|
|
@@ -2634,7 +2699,7 @@ declare type MenuCompound = typeof MenuRoot & {
|
|
|
2634
2699
|
createHandle: typeof Menu_2.createHandle;
|
|
2635
2700
|
};
|
|
2636
2701
|
|
|
2637
|
-
declare const MenuGroupLabel: ForwardRefExoticComponent<Omit<Omit<Omit<ContextMenuGroupLabelProps, "ref"> & RefAttributes<HTMLDivElement>, "ref">, "color"> & StyledComponentProps & RefAttributes<HTMLDivElement>>;
|
|
2702
|
+
declare const MenuGroupLabel: ForwardRefExoticComponent<Omit<Omit<Omit< ContextMenuGroupLabelProps, "ref"> & RefAttributes<HTMLDivElement>, "ref">, "color"> & StyledComponentProps & RefAttributes<HTMLDivElement>>;
|
|
2638
2703
|
|
|
2639
2704
|
declare const MenuItem: ForwardRefExoticComponent<MenuItemProps & RefAttributes<HTMLElement>>;
|
|
2640
2705
|
|
|
@@ -2651,11 +2716,11 @@ declare const MenuPopup: ForwardRefExoticComponent<MenuPopupProps & RefAttribute
|
|
|
2651
2716
|
export declare interface MenuPopupProps extends Omit<ComponentPropsWithoutRef<typeof Menu_2.Popup>, 'color'>, StyledComponentProps {
|
|
2652
2717
|
}
|
|
2653
2718
|
|
|
2654
|
-
declare const MenuPositioner: ForwardRefExoticComponent<Omit<Omit<
|
|
2719
|
+
declare const MenuPositioner: ForwardRefExoticComponent<Omit<Omit< MenuPositionerProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
2655
2720
|
|
|
2656
2721
|
declare const MenuRadioItem: ForwardRefExoticComponent<MenuRadioItemProps & RefAttributes<HTMLElement>>;
|
|
2657
2722
|
|
|
2658
|
-
declare const MenuRadioItemIndicator: ForwardRefExoticComponent<Omit<Omit<ContextMenuRadioItemIndicatorProps, "ref"> & RefAttributes<HTMLSpanElement>, "ref"> & RefAttributes<HTMLSpanElement>>;
|
|
2723
|
+
declare const MenuRadioItemIndicator: ForwardRefExoticComponent<Omit<Omit< ContextMenuRadioItemIndicatorProps, "ref"> & RefAttributes<HTMLSpanElement>, "ref"> & RefAttributes<HTMLSpanElement>>;
|
|
2659
2724
|
|
|
2660
2725
|
export declare interface MenuRadioItemProps extends Omit<ComponentPropsWithoutRef<typeof Menu_2.RadioItem>, 'color' | 'children'>, StyledComponentProps, DecoratedContentProps_3 {
|
|
2661
2726
|
}
|
|
@@ -2668,7 +2733,7 @@ declare const MenuRoot: {
|
|
|
2668
2733
|
export declare interface MenuRootProps extends Omit<ComponentPropsWithoutRef<typeof Menu_2.Root>, 'color'>, StyledComponentProps {
|
|
2669
2734
|
}
|
|
2670
2735
|
|
|
2671
|
-
declare const MenuSeparator: ForwardRefExoticComponent<Omit<Omit<Omit<SeparatorProps_2, "ref"> & RefAttributes<HTMLDivElement>, "ref">, "color"> & StyledComponentProps & RefAttributes<HTMLDivElement>>;
|
|
2736
|
+
declare const MenuSeparator: ForwardRefExoticComponent<Omit<Omit<Omit< SeparatorProps_2, "ref"> & RefAttributes<HTMLDivElement>, "ref">, "color"> & StyledComponentProps & RefAttributes<HTMLDivElement>>;
|
|
2672
2737
|
|
|
2673
2738
|
declare const MenuSubmenuTrigger: ForwardRefExoticComponent<MenuSubmenuTriggerProps & RefAttributes<HTMLElement>>;
|
|
2674
2739
|
|
|
@@ -2838,7 +2903,7 @@ export declare interface NumberInputStepperProps extends Omit<ComponentPropsWith
|
|
|
2838
2903
|
|
|
2839
2904
|
export declare const Overline: <C extends OverlineElement = "span">(props: TypographyBaseProps & TruncationProps & {
|
|
2840
2905
|
as?: C | undefined;
|
|
2841
|
-
} & Omit<PropsWithoutRef<ComponentProps<C>>, "color" | "as" | "truncate" | keyof TypographyBaseProps> & {
|
|
2906
|
+
} & Omit< PropsWithoutRef<ComponentProps<C>>, "color" | "as" | "truncate" | keyof TypographyBaseProps> & {
|
|
2842
2907
|
ref?: PolymorphicRef<C> | undefined;
|
|
2843
2908
|
}) => ReactElement | null;
|
|
2844
2909
|
|
|
@@ -2880,7 +2945,7 @@ declare const PopoverArrow: ForwardRefExoticComponent<PopoverArrowProps & RefAtt
|
|
|
2880
2945
|
export declare interface PopoverArrowProps extends Omit<ComponentPropsWithoutRef<typeof Popover_2.Arrow>, 'color'>, StyledComponentProps {
|
|
2881
2946
|
}
|
|
2882
2947
|
|
|
2883
|
-
declare const PopoverBackdrop: ForwardRefExoticComponent<Omit<Omit<PopoverBackdropProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
2948
|
+
declare const PopoverBackdrop: ForwardRefExoticComponent<Omit<Omit< PopoverBackdropProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
2884
2949
|
|
|
2885
2950
|
declare const PopoverClose: ForwardRefExoticComponent<PopoverCloseProps & RefAttributes<HTMLButtonElement>>;
|
|
2886
2951
|
|
|
@@ -2903,16 +2968,16 @@ declare type PopoverCompound = typeof PopoverRoot & {
|
|
|
2903
2968
|
createHandle: typeof Popover_2.createHandle;
|
|
2904
2969
|
};
|
|
2905
2970
|
|
|
2906
|
-
declare const PopoverDescription: ForwardRefExoticComponent<Omit<Omit<PopoverDescriptionProps, "ref"> & RefAttributes<HTMLParagraphElement>, "ref"> & RefAttributes<HTMLParagraphElement>>;
|
|
2971
|
+
declare const PopoverDescription: ForwardRefExoticComponent<Omit<Omit< PopoverDescriptionProps, "ref"> & RefAttributes<HTMLParagraphElement>, "ref"> & RefAttributes<HTMLParagraphElement>>;
|
|
2907
2972
|
|
|
2908
2973
|
declare const PopoverPopup: ForwardRefExoticComponent<PopoverPopupProps & RefAttributes<HTMLDivElement>>;
|
|
2909
2974
|
|
|
2910
2975
|
export declare interface PopoverPopupProps extends Omit<ComponentPropsWithoutRef<typeof Popover_2.Popup>, 'color'>, StyledComponentProps {
|
|
2911
2976
|
}
|
|
2912
2977
|
|
|
2913
|
-
declare const PopoverPortal: ForwardRefExoticComponent<Omit<Omit<PopoverPortalProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
2978
|
+
declare const PopoverPortal: ForwardRefExoticComponent<Omit<Omit< PopoverPortalProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
2914
2979
|
|
|
2915
|
-
declare const PopoverPositioner: ForwardRefExoticComponent<Omit<Omit<PopoverPositionerProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
2980
|
+
declare const PopoverPositioner: ForwardRefExoticComponent<Omit<Omit< PopoverPositionerProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
2916
2981
|
|
|
2917
2982
|
declare function PopoverRoot<Payload>({ variant, color, size, ...props }: PopoverRootProps<Payload>): JSX.Element;
|
|
2918
2983
|
|
|
@@ -2922,14 +2987,14 @@ declare namespace PopoverRoot {
|
|
|
2922
2987
|
|
|
2923
2988
|
export declare type PopoverRootProps<Payload = unknown> = Omit<Popover_2.Root.Props<Payload>, 'color'> & StyledComponentProps;
|
|
2924
2989
|
|
|
2925
|
-
declare const PopoverTitle: ForwardRefExoticComponent<Omit<Omit<PopoverTitleProps, "ref"> & RefAttributes<HTMLHeadingElement>, "ref"> & RefAttributes<HTMLHeadingElement>>;
|
|
2990
|
+
declare const PopoverTitle: ForwardRefExoticComponent<Omit<Omit< PopoverTitleProps, "ref"> & RefAttributes<HTMLHeadingElement>, "ref"> & RefAttributes<HTMLHeadingElement>>;
|
|
2926
2991
|
|
|
2927
2992
|
declare const PopoverTrigger: ForwardRefExoticComponent<PopoverTriggerProps & RefAttributes<HTMLButtonElement>>;
|
|
2928
2993
|
|
|
2929
2994
|
export declare interface PopoverTriggerProps extends Omit<ComponentPropsWithoutRef<typeof Popover_2.Trigger>, 'color'>, StyledComponentProps {
|
|
2930
2995
|
}
|
|
2931
2996
|
|
|
2932
|
-
declare const PopoverViewport: ForwardRefExoticComponent<Omit<Omit<
|
|
2997
|
+
declare const PopoverViewport: ForwardRefExoticComponent<Omit<Omit< PopoverViewportProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
2933
2998
|
|
|
2934
2999
|
declare interface ProcessedItem<TItem = unknown> {
|
|
2935
3000
|
key: Key_2;
|
|
@@ -3373,7 +3438,7 @@ export declare interface QueryVariablesProps {
|
|
|
3373
3438
|
|
|
3374
3439
|
export declare const Quote: <C extends QuoteElement = "q">(props: TypographyBaseProps & TruncationProps & {
|
|
3375
3440
|
as?: C | undefined;
|
|
3376
|
-
} & Omit<PropsWithoutRef<ComponentProps<C>>, "color" | "as" | "truncate" | keyof TypographyBaseProps> & {
|
|
3441
|
+
} & Omit< PropsWithoutRef<ComponentProps<C>>, "color" | "as" | "truncate" | keyof TypographyBaseProps> & {
|
|
3377
3442
|
ref?: PolymorphicRef<C> | undefined;
|
|
3378
3443
|
}) => ReactElement | null;
|
|
3379
3444
|
|
|
@@ -3828,7 +3893,7 @@ declare const RowListHeader: ForwardRefExoticComponent<RowListHeaderProps & RefA
|
|
|
3828
3893
|
|
|
3829
3894
|
export declare type RowListHeaderProps = HTMLAttributes<HTMLDivElement>;
|
|
3830
3895
|
|
|
3831
|
-
declare const RowListItem: ForwardRefExoticComponent<ListItemProps & RefAttributes<HTMLDivElement>>;
|
|
3896
|
+
declare const RowListItem: ForwardRefExoticComponent< ListItemProps & RefAttributes<HTMLDivElement>>;
|
|
3832
3897
|
|
|
3833
3898
|
export declare type RowListItemProps = ListItemProps;
|
|
3834
3899
|
|
|
@@ -4059,7 +4124,7 @@ export declare interface SelectableListGroupSelectAllProps extends HTMLAttribute
|
|
|
4059
4124
|
children?: ReactNode;
|
|
4060
4125
|
}
|
|
4061
4126
|
|
|
4062
|
-
declare const SelectableListItem: ForwardRefExoticComponent<ListItemProps & RefAttributes<HTMLDivElement>>;
|
|
4127
|
+
declare const SelectableListItem: ForwardRefExoticComponent< ListItemProps & RefAttributes<HTMLDivElement>>;
|
|
4063
4128
|
|
|
4064
4129
|
declare const SelectableListItemIndicator: ForwardRefExoticComponent<SelectableListItemIndicatorProps & RefAttributes<HTMLSpanElement>>;
|
|
4065
4130
|
|
|
@@ -4091,9 +4156,9 @@ export declare interface SelectableListSelectionSummaryProps extends Omit<HTMLAt
|
|
|
4091
4156
|
children?: ReactNode | ((selected: number, total: number) => ReactNode);
|
|
4092
4157
|
}
|
|
4093
4158
|
|
|
4094
|
-
declare const SelectArrow: ForwardRefExoticComponent<Omit<Omit<SelectArrowProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4159
|
+
declare const SelectArrow: ForwardRefExoticComponent<Omit<Omit< SelectArrowProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4095
4160
|
|
|
4096
|
-
declare const SelectBackdrop: ForwardRefExoticComponent<Omit<Omit<SelectBackdropProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4161
|
+
declare const SelectBackdrop: ForwardRefExoticComponent<Omit<Omit< SelectBackdropProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4097
4162
|
|
|
4098
4163
|
declare type SelectCompound = typeof SelectRoot & {
|
|
4099
4164
|
Root: typeof SelectRoot;
|
|
@@ -4116,7 +4181,7 @@ declare type SelectCompound = typeof SelectRoot & {
|
|
|
4116
4181
|
Separator: typeof SelectSeparator;
|
|
4117
4182
|
};
|
|
4118
4183
|
|
|
4119
|
-
declare const SelectGroupLabel: ForwardRefExoticComponent<Omit<Omit<Omit<SelectGroupLabelProps, "ref"> & RefAttributes<HTMLDivElement>, "ref">, "color"> & StyledComponentProps & RefAttributes<HTMLDivElement>>;
|
|
4184
|
+
declare const SelectGroupLabel: ForwardRefExoticComponent<Omit<Omit<Omit< SelectGroupLabelProps, "ref"> & RefAttributes<HTMLDivElement>, "ref">, "color"> & StyledComponentProps & RefAttributes<HTMLDivElement>>;
|
|
4120
4185
|
|
|
4121
4186
|
declare const SelectIcon: ForwardRefExoticComponent<SelectIconProps & RefAttributes<HTMLSpanElement>>;
|
|
4122
4187
|
|
|
@@ -4136,13 +4201,13 @@ declare type SelectionMode_3 = 'none' | 'single' | 'multiple';
|
|
|
4136
4201
|
|
|
4137
4202
|
declare const SelectItem: ForwardRefExoticComponent<SelectItemProps & RefAttributes<HTMLElement>>;
|
|
4138
4203
|
|
|
4139
|
-
declare const SelectItemIndicator: ForwardRefExoticComponent<Omit<Omit<SelectItemIndicatorProps, "ref"> & RefAttributes<HTMLSpanElement>, "ref"> & RefAttributes<HTMLSpanElement>>;
|
|
4204
|
+
declare const SelectItemIndicator: ForwardRefExoticComponent<Omit<Omit< SelectItemIndicatorProps, "ref"> & RefAttributes<HTMLSpanElement>, "ref"> & RefAttributes<HTMLSpanElement>>;
|
|
4140
4205
|
|
|
4141
4206
|
export declare interface SelectItemProps extends Omit<ComponentPropsWithoutRef<typeof Select_2.Item>, 'color' | 'children'>, StyledComponentProps, DecoratedContentProps_4 {
|
|
4142
4207
|
selectionIndicator?: boolean;
|
|
4143
4208
|
}
|
|
4144
4209
|
|
|
4145
|
-
declare const SelectItemText: ForwardRefExoticComponent<Omit<Omit<SelectItemTextProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4210
|
+
declare const SelectItemText: ForwardRefExoticComponent<Omit<Omit< SelectItemTextProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4146
4211
|
|
|
4147
4212
|
declare const SelectList: ForwardRefExoticComponent<SelectListProps & RefAttributes<HTMLDivElement>>;
|
|
4148
4213
|
|
|
@@ -4154,7 +4219,7 @@ declare const SelectPopup: ForwardRefExoticComponent<SelectPopupProps & RefAttri
|
|
|
4154
4219
|
export declare interface SelectPopupProps extends Omit<ComponentPropsWithoutRef<typeof Select_2.Popup>, 'color'>, StyledComponentProps {
|
|
4155
4220
|
}
|
|
4156
4221
|
|
|
4157
|
-
declare const SelectPositioner: ForwardRefExoticComponent<Omit<Omit<SelectPositionerProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4222
|
+
declare const SelectPositioner: ForwardRefExoticComponent<Omit<Omit< SelectPositionerProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4158
4223
|
|
|
4159
4224
|
declare function SelectRoot<Value, Multiple extends boolean | undefined = false>({ variant, color, size, selectionIndicator, multiple, ...props }: SelectRootProps<Value, Multiple>): JSX.Element;
|
|
4160
4225
|
|
|
@@ -4166,11 +4231,11 @@ export declare type SelectRootProps<Value, Multiple extends boolean | undefined
|
|
|
4166
4231
|
selectionIndicator?: SelectionIndicatorMode;
|
|
4167
4232
|
};
|
|
4168
4233
|
|
|
4169
|
-
declare const SelectScrollDownArrow: ForwardRefExoticComponent<Omit<Omit<SelectScrollDownArrowProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4234
|
+
declare const SelectScrollDownArrow: ForwardRefExoticComponent<Omit<Omit< SelectScrollDownArrowProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4170
4235
|
|
|
4171
|
-
declare const SelectScrollUpArrow: ForwardRefExoticComponent<Omit<Omit<SelectScrollUpArrowProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4236
|
+
declare const SelectScrollUpArrow: ForwardRefExoticComponent<Omit<Omit< SelectScrollUpArrowProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4172
4237
|
|
|
4173
|
-
declare const SelectSeparator: ForwardRefExoticComponent<Omit<Omit<
|
|
4238
|
+
declare const SelectSeparator: ForwardRefExoticComponent<Omit<Omit< SelectSeparatorProps & RefAttributes<HTMLDivElement>, "ref">, "color"> & StyledComponentProps & RefAttributes<HTMLDivElement>>;
|
|
4174
4239
|
|
|
4175
4240
|
declare const SelectTrigger: ForwardRefExoticComponent<SelectTriggerProps & RefAttributes<HTMLButtonElement>>;
|
|
4176
4241
|
|
|
@@ -4448,8 +4513,7 @@ export declare interface StatusBarIconItemProps extends Omit<HTMLAttributes<HTML
|
|
|
4448
4513
|
|
|
4449
4514
|
declare const StatusBarIndicator: ForwardRefExoticComponent<StatusBarIndicatorProps & RefAttributes<HTMLSpanElement>>;
|
|
4450
4515
|
|
|
4451
|
-
export declare
|
|
4452
|
-
}
|
|
4516
|
+
export declare type StatusBarIndicatorProps = Omit<StatusDotProps, 'size'>;
|
|
4453
4517
|
|
|
4454
4518
|
declare const StatusBarItem: ForwardRefExoticComponent<StatusBarItemProps & RefAttributes<HTMLDivElement>>;
|
|
4455
4519
|
|
|
@@ -4541,7 +4605,7 @@ export declare interface StepProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
4541
4605
|
|
|
4542
4606
|
export declare const Strong: <C extends StrongElement = "strong">(props: TypographyBaseProps & TruncationProps & {
|
|
4543
4607
|
as?: C | undefined;
|
|
4544
|
-
} & Omit<PropsWithoutRef<ComponentProps<C>>, "color" | "as" | "truncate" | keyof TypographyBaseProps> & {
|
|
4608
|
+
} & Omit< PropsWithoutRef<ComponentProps<C>>, "color" | "as" | "truncate" | keyof TypographyBaseProps> & {
|
|
4545
4609
|
ref?: PolymorphicRef<C> | undefined;
|
|
4546
4610
|
}) => ReactElement | null;
|
|
4547
4611
|
|
|
@@ -4632,6 +4696,7 @@ declare interface TabDragBrokerValue {
|
|
|
4632
4696
|
registerDropZone: (reg: DropZoneRegistration) => void;
|
|
4633
4697
|
unregisterDropZone: (instanceId: string) => void;
|
|
4634
4698
|
hoverInstanceId: string | null;
|
|
4699
|
+
hoverInsertIndex: number | null;
|
|
4635
4700
|
pointerX: number;
|
|
4636
4701
|
pointerY: number;
|
|
4637
4702
|
}
|
|
@@ -4751,15 +4816,15 @@ export declare type TabSegments = {
|
|
|
4751
4816
|
ungrouped: TabDescriptor[];
|
|
4752
4817
|
};
|
|
4753
4818
|
|
|
4754
|
-
declare const TabsIndicator: ForwardRefExoticComponent<Omit<TabsIndicatorProps_2, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4819
|
+
declare const TabsIndicator: ForwardRefExoticComponent<Omit< TabsIndicatorProps_2, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4755
4820
|
|
|
4756
4821
|
export declare type TabsIndicatorProps = Tabs_2.Indicator.Props;
|
|
4757
4822
|
|
|
4758
|
-
declare const TabsList: ForwardRefExoticComponent<Omit<TabsListProps_2, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4823
|
+
declare const TabsList: ForwardRefExoticComponent<Omit< TabsListProps_2, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4759
4824
|
|
|
4760
4825
|
export declare type TabsListProps = Tabs_2.List.Props;
|
|
4761
4826
|
|
|
4762
|
-
declare const TabsPanel: ForwardRefExoticComponent<Omit<TabsPanelProps_2, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4827
|
+
declare const TabsPanel: ForwardRefExoticComponent<Omit< TabsPanelProps_2, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4763
4828
|
|
|
4764
4829
|
export declare type TabsPanelProps = Tabs_2.Panel.Props;
|
|
4765
4830
|
|
|
@@ -4825,15 +4890,15 @@ export declare interface TextAreaControlProps extends Omit<TextareaHTMLAttribute
|
|
|
4825
4890
|
resize?: CSSProperties['resize'];
|
|
4826
4891
|
}
|
|
4827
4892
|
|
|
4828
|
-
declare const TextAreaDescription: ForwardRefExoticComponent<Omit<FieldDescriptionProps, "ref"> & RefAttributes<HTMLParagraphElement>>;
|
|
4893
|
+
declare const TextAreaDescription: ForwardRefExoticComponent<Omit< FieldDescriptionProps, "ref"> & RefAttributes<HTMLParagraphElement>>;
|
|
4829
4894
|
|
|
4830
4895
|
export declare type TextAreaDescriptionProps = Field.Description.Props;
|
|
4831
4896
|
|
|
4832
|
-
declare const TextAreaError: ForwardRefExoticComponent<Omit<FieldErrorProps, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4897
|
+
declare const TextAreaError: ForwardRefExoticComponent<Omit< FieldErrorProps, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4833
4898
|
|
|
4834
4899
|
export declare type TextAreaErrorProps = Field.Error.Props;
|
|
4835
4900
|
|
|
4836
|
-
declare const TextAreaLabel: ForwardRefExoticComponent<Omit<FieldLabelProps, "ref"> & RefAttributes<HTMLElement>>;
|
|
4901
|
+
declare const TextAreaLabel: ForwardRefExoticComponent<Omit< FieldLabelProps, "ref"> & RefAttributes<HTMLElement>>;
|
|
4837
4902
|
|
|
4838
4903
|
export declare type TextAreaLabelProps = Field.Label.Props;
|
|
4839
4904
|
|
|
@@ -4858,19 +4923,19 @@ declare type TextFieldCompound = typeof TextFieldRoot & {
|
|
|
4858
4923
|
Error: typeof TextFieldError;
|
|
4859
4924
|
};
|
|
4860
4925
|
|
|
4861
|
-
declare const TextFieldControl: ForwardRefExoticComponent<Omit<FieldControlProps, "ref"> & RefAttributes<HTMLInputElement>>;
|
|
4926
|
+
declare const TextFieldControl: ForwardRefExoticComponent<Omit< FieldControlProps, "ref"> & RefAttributes<HTMLInputElement>>;
|
|
4862
4927
|
|
|
4863
4928
|
export declare type TextFieldControlProps = Field.Control.Props;
|
|
4864
4929
|
|
|
4865
|
-
declare const TextFieldDescription: ForwardRefExoticComponent<Omit<FieldDescriptionProps, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4930
|
+
declare const TextFieldDescription: ForwardRefExoticComponent<Omit< FieldDescriptionProps, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4866
4931
|
|
|
4867
4932
|
export declare type TextFieldDescriptionProps = Field.Description.Props;
|
|
4868
4933
|
|
|
4869
|
-
declare const TextFieldError: ForwardRefExoticComponent<Omit<FieldErrorProps, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4934
|
+
declare const TextFieldError: ForwardRefExoticComponent<Omit< FieldErrorProps, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4870
4935
|
|
|
4871
4936
|
export declare type TextFieldErrorProps = Field.Error.Props;
|
|
4872
4937
|
|
|
4873
|
-
declare const TextFieldLabel: ForwardRefExoticComponent<Omit<FieldLabelProps, "ref"> & RefAttributes<HTMLLabelElement>>;
|
|
4938
|
+
declare const TextFieldLabel: ForwardRefExoticComponent<Omit< FieldLabelProps, "ref"> & RefAttributes<HTMLLabelElement>>;
|
|
4874
4939
|
|
|
4875
4940
|
export declare type TextFieldLabelProps = Field.Label.Props;
|
|
4876
4941
|
|
|
@@ -4979,7 +5044,7 @@ export declare interface ThemeSummary {
|
|
|
4979
5044
|
owner: ThemeOwner;
|
|
4980
5045
|
}
|
|
4981
5046
|
|
|
4982
|
-
export declare const ThemeSwitcher:
|
|
5047
|
+
export declare const ThemeSwitcher: MemoExoticComponent<({ className }: ThemeSwitcherProps) => JSX.Element>;
|
|
4983
5048
|
|
|
4984
5049
|
export declare interface ThemeSwitcherProps {
|
|
4985
5050
|
className?: string;
|
|
@@ -5180,9 +5245,9 @@ declare const TooltipPopup: ForwardRefExoticComponent<TooltipPopupProps & RefAtt
|
|
|
5180
5245
|
export declare interface TooltipPopupProps extends Omit<ComponentPropsWithoutRef<typeof Tooltip_2.Popup>, 'color'>, StyledComponentProps {
|
|
5181
5246
|
}
|
|
5182
5247
|
|
|
5183
|
-
declare const TooltipPortal: ForwardRefExoticComponent<Omit<Omit<TooltipPortalProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
5248
|
+
declare const TooltipPortal: ForwardRefExoticComponent<Omit<Omit< TooltipPortalProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
5184
5249
|
|
|
5185
|
-
declare const TooltipPositioner: ForwardRefExoticComponent<Omit<Omit<TooltipPositionerProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
5250
|
+
declare const TooltipPositioner: ForwardRefExoticComponent<Omit<Omit< TooltipPositionerProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
5186
5251
|
|
|
5187
5252
|
declare function TooltipRoot<Payload>({ variant, color, size, lazy, defaultOpen, open, onOpenChange, ...props }: TooltipRootProps<Payload>): JSX.Element;
|
|
5188
5253
|
|
|
@@ -5200,7 +5265,7 @@ declare const TooltipTrigger: ForwardRefExoticComponent<TooltipTriggerProps & Re
|
|
|
5200
5265
|
export declare interface TooltipTriggerProps extends Omit<ComponentPropsWithoutRef<typeof Tooltip_2.Trigger>, 'color'>, StyledComponentProps {
|
|
5201
5266
|
}
|
|
5202
5267
|
|
|
5203
|
-
declare const TooltipViewport: ForwardRefExoticComponent<Omit<Omit<
|
|
5268
|
+
declare const TooltipViewport: ForwardRefExoticComponent<Omit<Omit< TooltipViewportProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
5204
5269
|
|
|
5205
5270
|
declare interface TreeActionsContextValue {
|
|
5206
5271
|
select: (key: Key_3) => void;
|
|
@@ -5475,7 +5540,7 @@ export declare type TypographyWeight = 'regular' | 'medium' | 'semibold';
|
|
|
5475
5540
|
|
|
5476
5541
|
export declare const Underline: <C extends UnderlineElement = "u">(props: TypographyBaseProps & TruncationProps & {
|
|
5477
5542
|
as?: C | undefined;
|
|
5478
|
-
} & Omit<PropsWithoutRef<ComponentProps<C>>, "color" | "as" | "truncate" | keyof TypographyBaseProps> & {
|
|
5543
|
+
} & Omit< PropsWithoutRef<ComponentProps<C>>, "color" | "as" | "truncate" | keyof TypographyBaseProps> & {
|
|
5479
5544
|
ref?: PolymorphicRef<C> | undefined;
|
|
5480
5545
|
}) => ReactElement | null;
|
|
5481
5546
|
|
|
@@ -5489,7 +5554,7 @@ export declare function useCollapsible(): CollapsibleContextValue;
|
|
|
5489
5554
|
* Provides a DnD end handler that reorders columns.
|
|
5490
5555
|
* Used with @dnd-kit/core DndContext in the DataTable root.
|
|
5491
5556
|
*/
|
|
5492
|
-
export declare function useColumnDnd(table:
|
|
5557
|
+
export declare function useColumnDnd(table: DataTableInstance<any>): {
|
|
5493
5558
|
handleDragEnd: (event: DragEndEvent) => void;
|
|
5494
5559
|
};
|
|
5495
5560
|
|
|
@@ -5498,9 +5563,9 @@ export declare function useColumnDnd(table: Table_2<any>): {
|
|
|
5498
5563
|
* Applied at the root table element so cells reference them via
|
|
5499
5564
|
* `width: calc(var(--header-{id}-size) * 1px)` without per-cell inline styles.
|
|
5500
5565
|
*
|
|
5501
|
-
* Only recomputes when columnSizing or
|
|
5566
|
+
* Only recomputes when columnSizing or columnResizing changes.
|
|
5502
5567
|
*/
|
|
5503
|
-
export declare function useColumnSizeVars(table:
|
|
5568
|
+
export declare function useColumnSizeVars<TData extends RowData>(table: DataTableInstance<TData>, state?: TableState<DataTableFeatures>, options?: DataTableInstance<TData>['options']): Record<string, number>;
|
|
5504
5569
|
|
|
5505
5570
|
export declare function useCommandListActions(): CommandListActionsContextValue;
|
|
5506
5571
|
|
|
@@ -5515,17 +5580,17 @@ export declare function useCommandListItem(store: CommandListStore, key: Key_2):
|
|
|
5515
5580
|
|
|
5516
5581
|
export declare function useCommandListStoreContext(): CommandListStore;
|
|
5517
5582
|
|
|
5518
|
-
export declare function useDataTable<TData =
|
|
5583
|
+
export declare function useDataTable<TData extends RowData = RowData>(options: UseDataTableOptions<TData>): DataTableInstance<TData>;
|
|
5519
5584
|
|
|
5520
|
-
export declare function useDataTableContext(): DataTableContextValue
|
|
5585
|
+
export declare function useDataTableContext<TData extends RowData = any>(): DataTableContextValue<TData>;
|
|
5521
5586
|
|
|
5522
|
-
export declare interface UseDataTableOptions<TData> {
|
|
5587
|
+
export declare interface UseDataTableOptions<TData extends RowData> {
|
|
5523
5588
|
data: TData[];
|
|
5524
|
-
columns:
|
|
5525
|
-
features?:
|
|
5526
|
-
initialState?: Partial<TableState
|
|
5589
|
+
columns: DataTableColumnDef<TData, unknown>[];
|
|
5590
|
+
features?: DataTableFeatureFlags;
|
|
5591
|
+
initialState?: Partial<TableState<DataTableFeatures>>;
|
|
5527
5592
|
/** Controlled slices override internal state. Callbacks request host edits. */
|
|
5528
|
-
state?: Partial<TableState
|
|
5593
|
+
state?: Partial<TableState<DataTableFeatures>>;
|
|
5529
5594
|
getRowId?: (row: TData, index: number) => string;
|
|
5530
5595
|
getSubRows?: (row: TData) => TData[] | undefined;
|
|
5531
5596
|
getRowCanExpand?: (row: {
|
|
@@ -5542,13 +5607,13 @@ export declare interface UseDataTableOptions<TData> {
|
|
|
5542
5607
|
onGlobalFilterChange?: (filter: string) => void;
|
|
5543
5608
|
onColumnFiltersChange?: (filters: ColumnFiltersState) => void;
|
|
5544
5609
|
onGroupingChange?: (grouping: GroupingState) => void;
|
|
5545
|
-
onColumnVisibilityChange?: (visibility:
|
|
5610
|
+
onColumnVisibilityChange?: (visibility: ColumnVisibilityState) => void;
|
|
5546
5611
|
onColumnOrderChange?: (order: ColumnOrderState) => void;
|
|
5547
5612
|
onColumnSizingChange?: (sizing: ColumnSizingState) => void;
|
|
5548
5613
|
onExpandedChange?: (expanded: ExpandedState) => void;
|
|
5549
5614
|
onPaginationChange?: (pagination: PaginationState) => void;
|
|
5550
5615
|
onColumnPinningChange?: (pinning: ColumnPinningState) => void;
|
|
5551
|
-
defaultColumn?: Partial<
|
|
5616
|
+
defaultColumn?: Partial<DataTableColumnDef<TData, unknown>>;
|
|
5552
5617
|
meta?: Record<string, unknown>;
|
|
5553
5618
|
enableMultiSort?: boolean;
|
|
5554
5619
|
manualSorting?: boolean;
|
|
@@ -5566,7 +5631,7 @@ export declare interface UseDataTableOptions<TData> {
|
|
|
5566
5631
|
* Persists select table state to localStorage under the given key.
|
|
5567
5632
|
* Restores on mount. Only persists column sizing, visibility, order, and sorting.
|
|
5568
5633
|
*/
|
|
5569
|
-
export declare function useDataTablePersistence(table:
|
|
5634
|
+
export declare function useDataTablePersistence(table: DataTableInstance<any>, key: string | undefined): void;
|
|
5570
5635
|
|
|
5571
5636
|
/**
|
|
5572
5637
|
* `useDateField` is the headless hook driving the sectioned input primitive.
|
|
@@ -5708,7 +5773,7 @@ export declare function useTabDragBroker(): TabDragBrokerValue | null;
|
|
|
5708
5773
|
|
|
5709
5774
|
export declare function useTheme(): ThemeContextValue;
|
|
5710
5775
|
|
|
5711
|
-
export declare function useThemeList(registry?: ThemeRegistry): readonly Readonly<ThemeSummary>[];
|
|
5776
|
+
export declare function useThemeList(registry?: ThemeRegistry): readonly Readonly< ThemeSummary>[];
|
|
5712
5777
|
|
|
5713
5778
|
/** Returns the module-level theme registry singleton. */
|
|
5714
5779
|
export declare function useThemeRegistry(): ThemeRegistry;
|
|
@@ -5879,3 +5944,28 @@ export declare type WorkspaceActionResult = {
|
|
|
5879
5944
|
};
|
|
5880
5945
|
|
|
5881
5946
|
export { }
|
|
5947
|
+
|
|
5948
|
+
|
|
5949
|
+
declare namespace TooltipRoot {
|
|
5950
|
+
var displayName: string;
|
|
5951
|
+
}
|
|
5952
|
+
|
|
5953
|
+
|
|
5954
|
+
declare namespace PopoverRoot {
|
|
5955
|
+
var displayName: string;
|
|
5956
|
+
}
|
|
5957
|
+
|
|
5958
|
+
|
|
5959
|
+
declare namespace SelectRoot {
|
|
5960
|
+
var displayName: string;
|
|
5961
|
+
}
|
|
5962
|
+
|
|
5963
|
+
|
|
5964
|
+
declare namespace ComboboxRoot {
|
|
5965
|
+
var displayName: string;
|
|
5966
|
+
}
|
|
5967
|
+
|
|
5968
|
+
|
|
5969
|
+
declare namespace DataTableRoot {
|
|
5970
|
+
var displayName: string;
|
|
5971
|
+
}
|