@omniviewdev/base-ui 0.7.2 → 0.9.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 +319 -111
- package/dist/index.js +24892 -21275
- 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
|
/**
|
|
@@ -1666,6 +1731,8 @@ declare interface DecoratedContentProps_4 {
|
|
|
1666
1731
|
endDecorator?: ReactNode;
|
|
1667
1732
|
}
|
|
1668
1733
|
|
|
1734
|
+
export declare const DEFAULT_TAB_DRAG_TYPE: TabDragType;
|
|
1735
|
+
|
|
1669
1736
|
export declare const DescriptionList: DescriptionListCompound;
|
|
1670
1737
|
|
|
1671
1738
|
export declare type DescriptionListColumns = 1 | 2 | 3;
|
|
@@ -1692,11 +1759,18 @@ export declare interface DescriptionListProps extends HTMLAttributes<HTMLDListEl
|
|
|
1692
1759
|
|
|
1693
1760
|
declare const DescriptionListRoot: ForwardRefExoticComponent<DescriptionListProps & RefAttributes<HTMLDListElement>>;
|
|
1694
1761
|
|
|
1762
|
+
/**
|
|
1763
|
+
* Release point of a tear-off. Screen coordinates are not global in every
|
|
1764
|
+
* webview (WebKitGTK reports them relative to the native window), so hosts that
|
|
1765
|
+
* place native windows can use the client point with their own window bounds.
|
|
1766
|
+
*/
|
|
1695
1767
|
export declare type DetachCommit = {
|
|
1696
1768
|
id: TabId;
|
|
1697
1769
|
payload?: unknown;
|
|
1698
1770
|
screenX: number;
|
|
1699
1771
|
screenY: number;
|
|
1772
|
+
clientX: number;
|
|
1773
|
+
clientY: number;
|
|
1700
1774
|
};
|
|
1701
1775
|
|
|
1702
1776
|
export declare const Dialog: DialogCompound;
|
|
@@ -1805,11 +1879,15 @@ export declare interface DrawerProps extends Omit<HTMLAttributes<HTMLDivElement>
|
|
|
1805
1879
|
|
|
1806
1880
|
declare const DrawerRoot: ForwardRefExoticComponent<DrawerProps & RefAttributes<HTMLDivElement>>;
|
|
1807
1881
|
|
|
1808
|
-
declare interface DropZoneRegistration {
|
|
1882
|
+
export declare interface DropZoneRegistration {
|
|
1809
1883
|
instanceId: string;
|
|
1810
1884
|
getRect: () => DOMRect | null;
|
|
1811
1885
|
getElement: () => HTMLElement | null;
|
|
1812
1886
|
onAttach: (commit: AttachCommit) => void;
|
|
1887
|
+
/** Only sessions of the same type can drop here. Defaults to `'editor-tab'`. */
|
|
1888
|
+
dragType?: TabDragType;
|
|
1889
|
+
/** Vertical padding added to the rect for the second hit-test pass. Defaults to 60. */
|
|
1890
|
+
expandY?: number;
|
|
1813
1891
|
}
|
|
1814
1892
|
|
|
1815
1893
|
export declare const EditableList: EditableListCompound;
|
|
@@ -1836,7 +1914,7 @@ declare type EditableListCompound = typeof EditableListRoot & {
|
|
|
1836
1914
|
Loading: typeof List.Loading;
|
|
1837
1915
|
};
|
|
1838
1916
|
|
|
1839
|
-
declare const EditableListItem: ForwardRefExoticComponent<ListItemProps & RefAttributes<HTMLDivElement>>;
|
|
1917
|
+
declare const EditableListItem: ForwardRefExoticComponent< ListItemProps & RefAttributes<HTMLDivElement>>;
|
|
1840
1918
|
|
|
1841
1919
|
declare const EditableListItemCancel: ForwardRefExoticComponent<EditableListItemCancelProps & RefAttributes<HTMLButtonElement>>;
|
|
1842
1920
|
|
|
@@ -1986,13 +2064,24 @@ export declare interface EditorTabsProps extends Omit<StyledComponentProps, 'var
|
|
|
1986
2064
|
allowReorderAcrossGroups?: boolean;
|
|
1987
2065
|
detachable?: boolean;
|
|
1988
2066
|
detachThresholdPx?: number;
|
|
2067
|
+
/** Fired when a tab is released outside the strip. In broker mode, only when it lands on no target. */
|
|
1989
2068
|
onDetachCommit?: (commit: DetachCommit) => void;
|
|
1990
2069
|
instanceId?: string;
|
|
1991
2070
|
onAttachTab?: (commit: AttachCommit) => void;
|
|
1992
2071
|
/** When true and a TabDragBrokerProvider is present, vertical detach starts a
|
|
1993
2072
|
* broker session instead of the default Phase 3 flow. */
|
|
1994
2073
|
detachToBroker?: boolean;
|
|
2074
|
+
/** Strips only exchange tabs with strips of the same type. Defaults to `'editor-tab'`. */
|
|
2075
|
+
dragType?: TabDragType;
|
|
2076
|
+
/**
|
|
2077
|
+
* Broker mode: fired once when a tab dragged from this strip was attached to
|
|
2078
|
+
* another strip (in this document or another one). Remove the tab here.
|
|
2079
|
+
*/
|
|
2080
|
+
onTabTransferred?: (commit: TabTransferCommit) => void;
|
|
1995
2081
|
className?: string;
|
|
2082
|
+
/** Accessible name of the tab list. Give one of these when a page has more than one strip. */
|
|
2083
|
+
'aria-label'?: string;
|
|
2084
|
+
'aria-labelledby'?: string;
|
|
1996
2085
|
}
|
|
1997
2086
|
|
|
1998
2087
|
declare const EditorTabsRoot: ForwardRefExoticComponent<EditorTabsProps & RefAttributes<HTMLDivElement>>;
|
|
@@ -2017,7 +2106,7 @@ declare interface EditorTabsViewportProps {
|
|
|
2017
2106
|
|
|
2018
2107
|
export declare const Em: <C extends EmElement = "em">(props: TypographyBaseProps & TruncationProps & {
|
|
2019
2108
|
as?: C | undefined;
|
|
2020
|
-
} & Omit<PropsWithoutRef<ComponentProps<C>>, "color" | "as" | "truncate" | keyof TypographyBaseProps> & {
|
|
2109
|
+
} & Omit< PropsWithoutRef<ComponentProps<C>>, "color" | "as" | "truncate" | keyof TypographyBaseProps> & {
|
|
2021
2110
|
ref?: PolymorphicRef<C> | undefined;
|
|
2022
2111
|
}) => ReactElement | null;
|
|
2023
2112
|
|
|
@@ -2070,7 +2159,7 @@ export declare interface FileTableBodyProps {
|
|
|
2070
2159
|
rowActions?: (item: FileTableItem) => ReactNode;
|
|
2071
2160
|
}
|
|
2072
2161
|
|
|
2073
|
-
export declare function FileTableColumn<T extends FileTableItem = FileTableItem>(
|
|
2162
|
+
export declare function FileTableColumn<T extends FileTableItem = FileTableItem>(props: FileTableColumnProps<T>): null;
|
|
2074
2163
|
|
|
2075
2164
|
export declare namespace FileTableColumn {
|
|
2076
2165
|
var displayName: string;
|
|
@@ -2393,15 +2482,15 @@ export declare interface InputControlProps extends Omit<ComponentPropsWithoutRef
|
|
|
2393
2482
|
mono?: boolean;
|
|
2394
2483
|
}
|
|
2395
2484
|
|
|
2396
|
-
declare const InputDescription: ForwardRefExoticComponent<Omit<FieldDescriptionProps, "ref"> & RefAttributes<HTMLParagraphElement>>;
|
|
2485
|
+
declare const InputDescription: ForwardRefExoticComponent<Omit< FieldDescriptionProps, "ref"> & RefAttributes<HTMLParagraphElement>>;
|
|
2397
2486
|
|
|
2398
2487
|
export declare type InputDescriptionProps = Field.Description.Props;
|
|
2399
2488
|
|
|
2400
|
-
declare const InputError: ForwardRefExoticComponent<Omit<FieldErrorProps, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
2489
|
+
declare const InputError: ForwardRefExoticComponent<Omit< FieldErrorProps, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
2401
2490
|
|
|
2402
2491
|
export declare type InputErrorProps = Field.Error.Props;
|
|
2403
2492
|
|
|
2404
|
-
declare const InputLabel: ForwardRefExoticComponent<Omit<FieldLabelProps, "ref"> & RefAttributes<HTMLElement>>;
|
|
2493
|
+
declare const InputLabel: ForwardRefExoticComponent<Omit< FieldLabelProps, "ref"> & RefAttributes<HTMLElement>>;
|
|
2405
2494
|
|
|
2406
2495
|
export declare type InputLabelProps = Field.Label.Props;
|
|
2407
2496
|
|
|
@@ -2601,11 +2690,11 @@ export declare interface ListViewportProps extends HTMLAttributes<HTMLDivElement
|
|
|
2601
2690
|
|
|
2602
2691
|
export declare const Menu: MenuCompound;
|
|
2603
2692
|
|
|
2604
|
-
declare const MenuBackdrop: ForwardRefExoticComponent<Omit<Omit<ContextMenuBackdropProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
2693
|
+
declare const MenuBackdrop: ForwardRefExoticComponent<Omit<Omit< ContextMenuBackdropProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
2605
2694
|
|
|
2606
2695
|
declare const MenuCheckboxItem: ForwardRefExoticComponent<MenuCheckboxItemProps & RefAttributes<HTMLElement>>;
|
|
2607
2696
|
|
|
2608
|
-
declare const MenuCheckboxItemIndicator: ForwardRefExoticComponent<Omit<Omit<ContextMenuCheckboxItemIndicatorProps, "ref"> & RefAttributes<HTMLSpanElement>, "ref"> & RefAttributes<HTMLSpanElement>>;
|
|
2697
|
+
declare const MenuCheckboxItemIndicator: ForwardRefExoticComponent<Omit<Omit< ContextMenuCheckboxItemIndicatorProps, "ref"> & RefAttributes<HTMLSpanElement>, "ref"> & RefAttributes<HTMLSpanElement>>;
|
|
2609
2698
|
|
|
2610
2699
|
export declare interface MenuCheckboxItemProps extends Omit<ComponentPropsWithoutRef<typeof Menu_2.CheckboxItem>, 'color' | 'children'>, StyledComponentProps, DecoratedContentProps_3 {
|
|
2611
2700
|
}
|
|
@@ -2634,7 +2723,7 @@ declare type MenuCompound = typeof MenuRoot & {
|
|
|
2634
2723
|
createHandle: typeof Menu_2.createHandle;
|
|
2635
2724
|
};
|
|
2636
2725
|
|
|
2637
|
-
declare const MenuGroupLabel: ForwardRefExoticComponent<Omit<Omit<Omit<ContextMenuGroupLabelProps, "ref"> & RefAttributes<HTMLDivElement>, "ref">, "color"> & StyledComponentProps & RefAttributes<HTMLDivElement>>;
|
|
2726
|
+
declare const MenuGroupLabel: ForwardRefExoticComponent<Omit<Omit<Omit< ContextMenuGroupLabelProps, "ref"> & RefAttributes<HTMLDivElement>, "ref">, "color"> & StyledComponentProps & RefAttributes<HTMLDivElement>>;
|
|
2638
2727
|
|
|
2639
2728
|
declare const MenuItem: ForwardRefExoticComponent<MenuItemProps & RefAttributes<HTMLElement>>;
|
|
2640
2729
|
|
|
@@ -2651,11 +2740,11 @@ declare const MenuPopup: ForwardRefExoticComponent<MenuPopupProps & RefAttribute
|
|
|
2651
2740
|
export declare interface MenuPopupProps extends Omit<ComponentPropsWithoutRef<typeof Menu_2.Popup>, 'color'>, StyledComponentProps {
|
|
2652
2741
|
}
|
|
2653
2742
|
|
|
2654
|
-
declare const MenuPositioner: ForwardRefExoticComponent<Omit<Omit<
|
|
2743
|
+
declare const MenuPositioner: ForwardRefExoticComponent<Omit<Omit< MenuPositionerProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
2655
2744
|
|
|
2656
2745
|
declare const MenuRadioItem: ForwardRefExoticComponent<MenuRadioItemProps & RefAttributes<HTMLElement>>;
|
|
2657
2746
|
|
|
2658
|
-
declare const MenuRadioItemIndicator: ForwardRefExoticComponent<Omit<Omit<ContextMenuRadioItemIndicatorProps, "ref"> & RefAttributes<HTMLSpanElement>, "ref"> & RefAttributes<HTMLSpanElement>>;
|
|
2747
|
+
declare const MenuRadioItemIndicator: ForwardRefExoticComponent<Omit<Omit< ContextMenuRadioItemIndicatorProps, "ref"> & RefAttributes<HTMLSpanElement>, "ref"> & RefAttributes<HTMLSpanElement>>;
|
|
2659
2748
|
|
|
2660
2749
|
export declare interface MenuRadioItemProps extends Omit<ComponentPropsWithoutRef<typeof Menu_2.RadioItem>, 'color' | 'children'>, StyledComponentProps, DecoratedContentProps_3 {
|
|
2661
2750
|
}
|
|
@@ -2668,7 +2757,7 @@ declare const MenuRoot: {
|
|
|
2668
2757
|
export declare interface MenuRootProps extends Omit<ComponentPropsWithoutRef<typeof Menu_2.Root>, 'color'>, StyledComponentProps {
|
|
2669
2758
|
}
|
|
2670
2759
|
|
|
2671
|
-
declare const MenuSeparator: ForwardRefExoticComponent<Omit<Omit<Omit<SeparatorProps_2, "ref"> & RefAttributes<HTMLDivElement>, "ref">, "color"> & StyledComponentProps & RefAttributes<HTMLDivElement>>;
|
|
2760
|
+
declare const MenuSeparator: ForwardRefExoticComponent<Omit<Omit<Omit< SeparatorProps_2, "ref"> & RefAttributes<HTMLDivElement>, "ref">, "color"> & StyledComponentProps & RefAttributes<HTMLDivElement>>;
|
|
2672
2761
|
|
|
2673
2762
|
declare const MenuSubmenuTrigger: ForwardRefExoticComponent<MenuSubmenuTriggerProps & RefAttributes<HTMLElement>>;
|
|
2674
2763
|
|
|
@@ -2838,7 +2927,7 @@ export declare interface NumberInputStepperProps extends Omit<ComponentPropsWith
|
|
|
2838
2927
|
|
|
2839
2928
|
export declare const Overline: <C extends OverlineElement = "span">(props: TypographyBaseProps & TruncationProps & {
|
|
2840
2929
|
as?: C | undefined;
|
|
2841
|
-
} & Omit<PropsWithoutRef<ComponentProps<C>>, "color" | "as" | "truncate" | keyof TypographyBaseProps> & {
|
|
2930
|
+
} & Omit< PropsWithoutRef<ComponentProps<C>>, "color" | "as" | "truncate" | keyof TypographyBaseProps> & {
|
|
2842
2931
|
ref?: PolymorphicRef<C> | undefined;
|
|
2843
2932
|
}) => ReactElement | null;
|
|
2844
2933
|
|
|
@@ -2880,7 +2969,7 @@ declare const PopoverArrow: ForwardRefExoticComponent<PopoverArrowProps & RefAtt
|
|
|
2880
2969
|
export declare interface PopoverArrowProps extends Omit<ComponentPropsWithoutRef<typeof Popover_2.Arrow>, 'color'>, StyledComponentProps {
|
|
2881
2970
|
}
|
|
2882
2971
|
|
|
2883
|
-
declare const PopoverBackdrop: ForwardRefExoticComponent<Omit<Omit<PopoverBackdropProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
2972
|
+
declare const PopoverBackdrop: ForwardRefExoticComponent<Omit<Omit< PopoverBackdropProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
2884
2973
|
|
|
2885
2974
|
declare const PopoverClose: ForwardRefExoticComponent<PopoverCloseProps & RefAttributes<HTMLButtonElement>>;
|
|
2886
2975
|
|
|
@@ -2903,16 +2992,16 @@ declare type PopoverCompound = typeof PopoverRoot & {
|
|
|
2903
2992
|
createHandle: typeof Popover_2.createHandle;
|
|
2904
2993
|
};
|
|
2905
2994
|
|
|
2906
|
-
declare const PopoverDescription: ForwardRefExoticComponent<Omit<Omit<PopoverDescriptionProps, "ref"> & RefAttributes<HTMLParagraphElement>, "ref"> & RefAttributes<HTMLParagraphElement>>;
|
|
2995
|
+
declare const PopoverDescription: ForwardRefExoticComponent<Omit<Omit< PopoverDescriptionProps, "ref"> & RefAttributes<HTMLParagraphElement>, "ref"> & RefAttributes<HTMLParagraphElement>>;
|
|
2907
2996
|
|
|
2908
2997
|
declare const PopoverPopup: ForwardRefExoticComponent<PopoverPopupProps & RefAttributes<HTMLDivElement>>;
|
|
2909
2998
|
|
|
2910
2999
|
export declare interface PopoverPopupProps extends Omit<ComponentPropsWithoutRef<typeof Popover_2.Popup>, 'color'>, StyledComponentProps {
|
|
2911
3000
|
}
|
|
2912
3001
|
|
|
2913
|
-
declare const PopoverPortal: ForwardRefExoticComponent<Omit<Omit<PopoverPortalProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
3002
|
+
declare const PopoverPortal: ForwardRefExoticComponent<Omit<Omit< PopoverPortalProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
2914
3003
|
|
|
2915
|
-
declare const PopoverPositioner: ForwardRefExoticComponent<Omit<Omit<PopoverPositionerProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
3004
|
+
declare const PopoverPositioner: ForwardRefExoticComponent<Omit<Omit< PopoverPositionerProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
2916
3005
|
|
|
2917
3006
|
declare function PopoverRoot<Payload>({ variant, color, size, ...props }: PopoverRootProps<Payload>): JSX.Element;
|
|
2918
3007
|
|
|
@@ -2922,14 +3011,14 @@ declare namespace PopoverRoot {
|
|
|
2922
3011
|
|
|
2923
3012
|
export declare type PopoverRootProps<Payload = unknown> = Omit<Popover_2.Root.Props<Payload>, 'color'> & StyledComponentProps;
|
|
2924
3013
|
|
|
2925
|
-
declare const PopoverTitle: ForwardRefExoticComponent<Omit<Omit<PopoverTitleProps, "ref"> & RefAttributes<HTMLHeadingElement>, "ref"> & RefAttributes<HTMLHeadingElement>>;
|
|
3014
|
+
declare const PopoverTitle: ForwardRefExoticComponent<Omit<Omit< PopoverTitleProps, "ref"> & RefAttributes<HTMLHeadingElement>, "ref"> & RefAttributes<HTMLHeadingElement>>;
|
|
2926
3015
|
|
|
2927
3016
|
declare const PopoverTrigger: ForwardRefExoticComponent<PopoverTriggerProps & RefAttributes<HTMLButtonElement>>;
|
|
2928
3017
|
|
|
2929
3018
|
export declare interface PopoverTriggerProps extends Omit<ComponentPropsWithoutRef<typeof Popover_2.Trigger>, 'color'>, StyledComponentProps {
|
|
2930
3019
|
}
|
|
2931
3020
|
|
|
2932
|
-
declare const PopoverViewport: ForwardRefExoticComponent<Omit<Omit<
|
|
3021
|
+
declare const PopoverViewport: ForwardRefExoticComponent<Omit<Omit< PopoverViewportProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
2933
3022
|
|
|
2934
3023
|
declare interface ProcessedItem<TItem = unknown> {
|
|
2935
3024
|
key: Key_2;
|
|
@@ -3373,7 +3462,7 @@ export declare interface QueryVariablesProps {
|
|
|
3373
3462
|
|
|
3374
3463
|
export declare const Quote: <C extends QuoteElement = "q">(props: TypographyBaseProps & TruncationProps & {
|
|
3375
3464
|
as?: C | undefined;
|
|
3376
|
-
} & Omit<PropsWithoutRef<ComponentProps<C>>, "color" | "as" | "truncate" | keyof TypographyBaseProps> & {
|
|
3465
|
+
} & Omit< PropsWithoutRef<ComponentProps<C>>, "color" | "as" | "truncate" | keyof TypographyBaseProps> & {
|
|
3377
3466
|
ref?: PolymorphicRef<C> | undefined;
|
|
3378
3467
|
}) => ReactElement | null;
|
|
3379
3468
|
|
|
@@ -3566,6 +3655,31 @@ export declare interface RelationshipValidation {
|
|
|
3566
3655
|
diagnostics: readonly InspectorDiagnostic[];
|
|
3567
3656
|
}
|
|
3568
3657
|
|
|
3658
|
+
export declare type RemoteTabDragEvent = {
|
|
3659
|
+
type: 'hover';
|
|
3660
|
+
sessionId: string;
|
|
3661
|
+
payload: TabDragPayload;
|
|
3662
|
+
clientX: number;
|
|
3663
|
+
clientY: number;
|
|
3664
|
+
} | {
|
|
3665
|
+
type: 'leave';
|
|
3666
|
+
sessionId: string;
|
|
3667
|
+
} | {
|
|
3668
|
+
type: 'drop';
|
|
3669
|
+
sessionId: string;
|
|
3670
|
+
payload: TabDragPayload;
|
|
3671
|
+
clientX: number;
|
|
3672
|
+
clientY: number;
|
|
3673
|
+
respond: (result: RemoteTabDropResult) => void;
|
|
3674
|
+
} | {
|
|
3675
|
+
type: 'end';
|
|
3676
|
+
sessionId: string;
|
|
3677
|
+
};
|
|
3678
|
+
|
|
3679
|
+
export declare type RemoteTabDropResult = {
|
|
3680
|
+
targetInstanceId: string;
|
|
3681
|
+
} | null;
|
|
3682
|
+
|
|
3569
3683
|
export declare type ReorderMeta = {
|
|
3570
3684
|
id: TabId;
|
|
3571
3685
|
from: number;
|
|
@@ -3828,7 +3942,7 @@ declare const RowListHeader: ForwardRefExoticComponent<RowListHeaderProps & RefA
|
|
|
3828
3942
|
|
|
3829
3943
|
export declare type RowListHeaderProps = HTMLAttributes<HTMLDivElement>;
|
|
3830
3944
|
|
|
3831
|
-
declare const RowListItem: ForwardRefExoticComponent<ListItemProps & RefAttributes<HTMLDivElement>>;
|
|
3945
|
+
declare const RowListItem: ForwardRefExoticComponent< ListItemProps & RefAttributes<HTMLDivElement>>;
|
|
3832
3946
|
|
|
3833
3947
|
export declare type RowListItemProps = ListItemProps;
|
|
3834
3948
|
|
|
@@ -4059,7 +4173,7 @@ export declare interface SelectableListGroupSelectAllProps extends HTMLAttribute
|
|
|
4059
4173
|
children?: ReactNode;
|
|
4060
4174
|
}
|
|
4061
4175
|
|
|
4062
|
-
declare const SelectableListItem: ForwardRefExoticComponent<ListItemProps & RefAttributes<HTMLDivElement>>;
|
|
4176
|
+
declare const SelectableListItem: ForwardRefExoticComponent< ListItemProps & RefAttributes<HTMLDivElement>>;
|
|
4063
4177
|
|
|
4064
4178
|
declare const SelectableListItemIndicator: ForwardRefExoticComponent<SelectableListItemIndicatorProps & RefAttributes<HTMLSpanElement>>;
|
|
4065
4179
|
|
|
@@ -4091,9 +4205,9 @@ export declare interface SelectableListSelectionSummaryProps extends Omit<HTMLAt
|
|
|
4091
4205
|
children?: ReactNode | ((selected: number, total: number) => ReactNode);
|
|
4092
4206
|
}
|
|
4093
4207
|
|
|
4094
|
-
declare const SelectArrow: ForwardRefExoticComponent<Omit<Omit<SelectArrowProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4208
|
+
declare const SelectArrow: ForwardRefExoticComponent<Omit<Omit< SelectArrowProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4095
4209
|
|
|
4096
|
-
declare const SelectBackdrop: ForwardRefExoticComponent<Omit<Omit<SelectBackdropProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4210
|
+
declare const SelectBackdrop: ForwardRefExoticComponent<Omit<Omit< SelectBackdropProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4097
4211
|
|
|
4098
4212
|
declare type SelectCompound = typeof SelectRoot & {
|
|
4099
4213
|
Root: typeof SelectRoot;
|
|
@@ -4116,7 +4230,7 @@ declare type SelectCompound = typeof SelectRoot & {
|
|
|
4116
4230
|
Separator: typeof SelectSeparator;
|
|
4117
4231
|
};
|
|
4118
4232
|
|
|
4119
|
-
declare const SelectGroupLabel: ForwardRefExoticComponent<Omit<Omit<Omit<SelectGroupLabelProps, "ref"> & RefAttributes<HTMLDivElement>, "ref">, "color"> & StyledComponentProps & RefAttributes<HTMLDivElement>>;
|
|
4233
|
+
declare const SelectGroupLabel: ForwardRefExoticComponent<Omit<Omit<Omit< SelectGroupLabelProps, "ref"> & RefAttributes<HTMLDivElement>, "ref">, "color"> & StyledComponentProps & RefAttributes<HTMLDivElement>>;
|
|
4120
4234
|
|
|
4121
4235
|
declare const SelectIcon: ForwardRefExoticComponent<SelectIconProps & RefAttributes<HTMLSpanElement>>;
|
|
4122
4236
|
|
|
@@ -4136,13 +4250,13 @@ declare type SelectionMode_3 = 'none' | 'single' | 'multiple';
|
|
|
4136
4250
|
|
|
4137
4251
|
declare const SelectItem: ForwardRefExoticComponent<SelectItemProps & RefAttributes<HTMLElement>>;
|
|
4138
4252
|
|
|
4139
|
-
declare const SelectItemIndicator: ForwardRefExoticComponent<Omit<Omit<SelectItemIndicatorProps, "ref"> & RefAttributes<HTMLSpanElement>, "ref"> & RefAttributes<HTMLSpanElement>>;
|
|
4253
|
+
declare const SelectItemIndicator: ForwardRefExoticComponent<Omit<Omit< SelectItemIndicatorProps, "ref"> & RefAttributes<HTMLSpanElement>, "ref"> & RefAttributes<HTMLSpanElement>>;
|
|
4140
4254
|
|
|
4141
4255
|
export declare interface SelectItemProps extends Omit<ComponentPropsWithoutRef<typeof Select_2.Item>, 'color' | 'children'>, StyledComponentProps, DecoratedContentProps_4 {
|
|
4142
4256
|
selectionIndicator?: boolean;
|
|
4143
4257
|
}
|
|
4144
4258
|
|
|
4145
|
-
declare const SelectItemText: ForwardRefExoticComponent<Omit<Omit<SelectItemTextProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4259
|
+
declare const SelectItemText: ForwardRefExoticComponent<Omit<Omit< SelectItemTextProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4146
4260
|
|
|
4147
4261
|
declare const SelectList: ForwardRefExoticComponent<SelectListProps & RefAttributes<HTMLDivElement>>;
|
|
4148
4262
|
|
|
@@ -4154,7 +4268,7 @@ declare const SelectPopup: ForwardRefExoticComponent<SelectPopupProps & RefAttri
|
|
|
4154
4268
|
export declare interface SelectPopupProps extends Omit<ComponentPropsWithoutRef<typeof Select_2.Popup>, 'color'>, StyledComponentProps {
|
|
4155
4269
|
}
|
|
4156
4270
|
|
|
4157
|
-
declare const SelectPositioner: ForwardRefExoticComponent<Omit<Omit<SelectPositionerProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4271
|
+
declare const SelectPositioner: ForwardRefExoticComponent<Omit<Omit< SelectPositionerProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4158
4272
|
|
|
4159
4273
|
declare function SelectRoot<Value, Multiple extends boolean | undefined = false>({ variant, color, size, selectionIndicator, multiple, ...props }: SelectRootProps<Value, Multiple>): JSX.Element;
|
|
4160
4274
|
|
|
@@ -4166,11 +4280,11 @@ export declare type SelectRootProps<Value, Multiple extends boolean | undefined
|
|
|
4166
4280
|
selectionIndicator?: SelectionIndicatorMode;
|
|
4167
4281
|
};
|
|
4168
4282
|
|
|
4169
|
-
declare const SelectScrollDownArrow: ForwardRefExoticComponent<Omit<Omit<SelectScrollDownArrowProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4283
|
+
declare const SelectScrollDownArrow: ForwardRefExoticComponent<Omit<Omit< SelectScrollDownArrowProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4170
4284
|
|
|
4171
|
-
declare const SelectScrollUpArrow: ForwardRefExoticComponent<Omit<Omit<SelectScrollUpArrowProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4285
|
+
declare const SelectScrollUpArrow: ForwardRefExoticComponent<Omit<Omit< SelectScrollUpArrowProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4172
4286
|
|
|
4173
|
-
declare const SelectSeparator: ForwardRefExoticComponent<Omit<Omit<
|
|
4287
|
+
declare const SelectSeparator: ForwardRefExoticComponent<Omit<Omit< SelectSeparatorProps & RefAttributes<HTMLDivElement>, "ref">, "color"> & StyledComponentProps & RefAttributes<HTMLDivElement>>;
|
|
4174
4288
|
|
|
4175
4289
|
declare const SelectTrigger: ForwardRefExoticComponent<SelectTriggerProps & RefAttributes<HTMLButtonElement>>;
|
|
4176
4290
|
|
|
@@ -4448,8 +4562,7 @@ export declare interface StatusBarIconItemProps extends Omit<HTMLAttributes<HTML
|
|
|
4448
4562
|
|
|
4449
4563
|
declare const StatusBarIndicator: ForwardRefExoticComponent<StatusBarIndicatorProps & RefAttributes<HTMLSpanElement>>;
|
|
4450
4564
|
|
|
4451
|
-
export declare
|
|
4452
|
-
}
|
|
4565
|
+
export declare type StatusBarIndicatorProps = Omit<StatusDotProps, 'size'>;
|
|
4453
4566
|
|
|
4454
4567
|
declare const StatusBarItem: ForwardRefExoticComponent<StatusBarItemProps & RefAttributes<HTMLDivElement>>;
|
|
4455
4568
|
|
|
@@ -4541,7 +4654,7 @@ export declare interface StepProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
4541
4654
|
|
|
4542
4655
|
export declare const Strong: <C extends StrongElement = "strong">(props: TypographyBaseProps & TruncationProps & {
|
|
4543
4656
|
as?: C | undefined;
|
|
4544
|
-
} & Omit<PropsWithoutRef<ComponentProps<C>>, "color" | "as" | "truncate" | keyof TypographyBaseProps> & {
|
|
4657
|
+
} & Omit< PropsWithoutRef<ComponentProps<C>>, "color" | "as" | "truncate" | keyof TypographyBaseProps> & {
|
|
4545
4658
|
ref?: PolymorphicRef<C> | undefined;
|
|
4546
4659
|
}) => ReactElement | null;
|
|
4547
4660
|
|
|
@@ -4612,36 +4725,100 @@ export declare type TabDescriptor = {
|
|
|
4612
4725
|
disabled?: boolean;
|
|
4613
4726
|
closable?: boolean;
|
|
4614
4727
|
pinned?: boolean;
|
|
4728
|
+
/** Set to false to keep this tab reorder-only even when the strip is detachable. Defaults to true. */
|
|
4729
|
+
detachable?: boolean;
|
|
4615
4730
|
groupId?: TabGroupId | null;
|
|
4616
4731
|
payload?: unknown;
|
|
4617
4732
|
};
|
|
4618
4733
|
|
|
4619
|
-
export declare function TabDragBrokerProvider({ children, onCancel }: TabDragBrokerProviderProps): JSX.Element;
|
|
4734
|
+
export declare function TabDragBrokerProvider({ children, onCancel, transport, }: TabDragBrokerProviderProps): JSX.Element;
|
|
4620
4735
|
|
|
4621
|
-
declare interface TabDragBrokerProviderProps {
|
|
4736
|
+
export declare interface TabDragBrokerProviderProps {
|
|
4622
4737
|
children: ReactNode;
|
|
4623
4738
|
onCancel?: (session: TabDragSession) => void;
|
|
4739
|
+
/** Connects this document's broker to brokers in other documents (e.g. other OS windows). */
|
|
4740
|
+
transport?: TabDragTransport;
|
|
4624
4741
|
}
|
|
4625
4742
|
|
|
4626
|
-
declare interface TabDragBrokerValue {
|
|
4743
|
+
export declare interface TabDragBrokerValue {
|
|
4627
4744
|
activeSession: TabDragSession | null;
|
|
4628
|
-
beginSession: (session: TabDragSession,
|
|
4745
|
+
beginSession: (session: TabDragSession, pointer: TabDragPointer) => void;
|
|
4746
|
+
/** Ends the session as a cancel: calls `onCancel` and reports a `cancelled` outcome. */
|
|
4629
4747
|
cancelSession: () => void;
|
|
4630
|
-
/**
|
|
4748
|
+
/** Ends the session without calling onCancel or reporting an outcome. */
|
|
4631
4749
|
clearSession: () => void;
|
|
4632
4750
|
registerDropZone: (reg: DropZoneRegistration) => void;
|
|
4633
4751
|
unregisterDropZone: (instanceId: string) => void;
|
|
4752
|
+
/** Zone under the pointer, for a local session or a remote session hovering this document. */
|
|
4634
4753
|
hoverInstanceId: string | null;
|
|
4754
|
+
/** Insertion index within `hoverInstanceId`'s zone. */
|
|
4755
|
+
hoverInsertIndex: number | null;
|
|
4635
4756
|
pointerX: number;
|
|
4636
4757
|
pointerY: number;
|
|
4637
4758
|
}
|
|
4638
4759
|
|
|
4639
|
-
|
|
4760
|
+
/** How a broker session ended, reported once to the session's source. */
|
|
4761
|
+
export declare type TabDragOutcome = {
|
|
4762
|
+
type: 'transferred';
|
|
4763
|
+
targetInstanceId: string;
|
|
4764
|
+
} | ({
|
|
4765
|
+
type: 'torn-off';
|
|
4766
|
+
} & TabDragPointer) | {
|
|
4767
|
+
type: 'cancelled';
|
|
4768
|
+
};
|
|
4769
|
+
|
|
4770
|
+
/** Serializable form of a drag session that can cross documents. `tab.icon` is always undefined. */
|
|
4771
|
+
export declare type TabDragPayload = {
|
|
4772
|
+
/** Icon stripped; the payload must be JSON-serializable. */
|
|
4773
|
+
tab: TabDescriptor;
|
|
4774
|
+
sourceInstanceId: string;
|
|
4775
|
+
dragType: TabDragType;
|
|
4776
|
+
ghostStyle?: Record<string, string>;
|
|
4777
|
+
};
|
|
4778
|
+
|
|
4779
|
+
/** Pointer position in both this document's client space and screen space. */
|
|
4780
|
+
export declare type TabDragPointer = TabDragScreenPoint & {
|
|
4781
|
+
clientX: number;
|
|
4782
|
+
clientY: number;
|
|
4783
|
+
};
|
|
4784
|
+
|
|
4785
|
+
export declare type TabDragScreenPoint = {
|
|
4786
|
+
screenX: number;
|
|
4787
|
+
screenY: number;
|
|
4788
|
+
};
|
|
4789
|
+
|
|
4790
|
+
export declare interface TabDragSession {
|
|
4640
4791
|
tab: TabDescriptor;
|
|
4641
4792
|
sourceInstanceId: string;
|
|
4793
|
+
/** Only drop zones of the same type accept the tab. Defaults to `'editor-tab'`. */
|
|
4794
|
+
dragType?: TabDragType;
|
|
4642
4795
|
ghostStyle?: React.CSSProperties;
|
|
4796
|
+
/** When true, releasing over no target ends in a `torn-off` outcome; otherwise it is a cancel. */
|
|
4797
|
+
allowTearOff?: boolean;
|
|
4798
|
+
/**
|
|
4799
|
+
* Set by the source strip. Called exactly once with how the session ended,
|
|
4800
|
+
* unless the session is dropped with `clearSession`.
|
|
4801
|
+
*/
|
|
4802
|
+
onOutcome?: (outcome: TabDragOutcome) => void;
|
|
4803
|
+
}
|
|
4804
|
+
|
|
4805
|
+
/**
|
|
4806
|
+
* Connects brokers in separate documents. The source side receives the pointer
|
|
4807
|
+
* in both client and screen space; the host decides which one maps reliably to
|
|
4808
|
+
* its other documents.
|
|
4809
|
+
*/
|
|
4810
|
+
export declare interface TabDragTransport {
|
|
4811
|
+
begin(sessionId: string, payload: TabDragPayload, pointer: TabDragPointer): void;
|
|
4812
|
+
move(sessionId: string, pointer: TabDragPointer): void;
|
|
4813
|
+
/** Ask other documents to accept the tab at `pointer`. */
|
|
4814
|
+
drop(sessionId: string, pointer: TabDragPointer): Promise<RemoteTabDropResult>;
|
|
4815
|
+
cancel(sessionId: string): void;
|
|
4816
|
+
subscribe(handler: (event: RemoteTabDragEvent) => void): () => void;
|
|
4643
4817
|
}
|
|
4644
4818
|
|
|
4819
|
+
/** Identifies which strips can exchange tabs. Strips only accept sessions of their own type. */
|
|
4820
|
+
export declare type TabDragType = string;
|
|
4821
|
+
|
|
4645
4822
|
export declare type TabGroupDescriptor = {
|
|
4646
4823
|
id: TabGroupId;
|
|
4647
4824
|
title?: string;
|
|
@@ -4751,15 +4928,15 @@ export declare type TabSegments = {
|
|
|
4751
4928
|
ungrouped: TabDescriptor[];
|
|
4752
4929
|
};
|
|
4753
4930
|
|
|
4754
|
-
declare const TabsIndicator: ForwardRefExoticComponent<Omit<TabsIndicatorProps_2, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4931
|
+
declare const TabsIndicator: ForwardRefExoticComponent<Omit< TabsIndicatorProps_2, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4755
4932
|
|
|
4756
4933
|
export declare type TabsIndicatorProps = Tabs_2.Indicator.Props;
|
|
4757
4934
|
|
|
4758
|
-
declare const TabsList: ForwardRefExoticComponent<Omit<TabsListProps_2, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4935
|
+
declare const TabsList: ForwardRefExoticComponent<Omit< TabsListProps_2, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4759
4936
|
|
|
4760
4937
|
export declare type TabsListProps = Tabs_2.List.Props;
|
|
4761
4938
|
|
|
4762
|
-
declare const TabsPanel: ForwardRefExoticComponent<Omit<TabsPanelProps_2, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4939
|
+
declare const TabsPanel: ForwardRefExoticComponent<Omit< TabsPanelProps_2, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4763
4940
|
|
|
4764
4941
|
export declare type TabsPanelProps = Tabs_2.Panel.Props;
|
|
4765
4942
|
|
|
@@ -4780,6 +4957,12 @@ export declare type TabsTabProps = Tabs_2.Tab.Props & {
|
|
|
4780
4957
|
|
|
4781
4958
|
declare type TabsVariant = 'solid' | 'soft' | 'outline' | 'ghost' | 'flat';
|
|
4782
4959
|
|
|
4960
|
+
/** Source-side notice that a dragged tab now lives in another strip (local or in another document). */
|
|
4961
|
+
export declare type TabTransferCommit = {
|
|
4962
|
+
id: TabId;
|
|
4963
|
+
targetInstanceId: string;
|
|
4964
|
+
};
|
|
4965
|
+
|
|
4783
4966
|
export declare const TagInput: ForwardRefExoticComponent<TagInputProps & RefAttributes<HTMLDivElement>>;
|
|
4784
4967
|
|
|
4785
4968
|
export declare interface TagInputProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
|
|
@@ -4825,15 +5008,15 @@ export declare interface TextAreaControlProps extends Omit<TextareaHTMLAttribute
|
|
|
4825
5008
|
resize?: CSSProperties['resize'];
|
|
4826
5009
|
}
|
|
4827
5010
|
|
|
4828
|
-
declare const TextAreaDescription: ForwardRefExoticComponent<Omit<FieldDescriptionProps, "ref"> & RefAttributes<HTMLParagraphElement>>;
|
|
5011
|
+
declare const TextAreaDescription: ForwardRefExoticComponent<Omit< FieldDescriptionProps, "ref"> & RefAttributes<HTMLParagraphElement>>;
|
|
4829
5012
|
|
|
4830
5013
|
export declare type TextAreaDescriptionProps = Field.Description.Props;
|
|
4831
5014
|
|
|
4832
|
-
declare const TextAreaError: ForwardRefExoticComponent<Omit<FieldErrorProps, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
5015
|
+
declare const TextAreaError: ForwardRefExoticComponent<Omit< FieldErrorProps, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4833
5016
|
|
|
4834
5017
|
export declare type TextAreaErrorProps = Field.Error.Props;
|
|
4835
5018
|
|
|
4836
|
-
declare const TextAreaLabel: ForwardRefExoticComponent<Omit<FieldLabelProps, "ref"> & RefAttributes<HTMLElement>>;
|
|
5019
|
+
declare const TextAreaLabel: ForwardRefExoticComponent<Omit< FieldLabelProps, "ref"> & RefAttributes<HTMLElement>>;
|
|
4837
5020
|
|
|
4838
5021
|
export declare type TextAreaLabelProps = Field.Label.Props;
|
|
4839
5022
|
|
|
@@ -4858,19 +5041,19 @@ declare type TextFieldCompound = typeof TextFieldRoot & {
|
|
|
4858
5041
|
Error: typeof TextFieldError;
|
|
4859
5042
|
};
|
|
4860
5043
|
|
|
4861
|
-
declare const TextFieldControl: ForwardRefExoticComponent<Omit<FieldControlProps, "ref"> & RefAttributes<HTMLInputElement>>;
|
|
5044
|
+
declare const TextFieldControl: ForwardRefExoticComponent<Omit< FieldControlProps, "ref"> & RefAttributes<HTMLInputElement>>;
|
|
4862
5045
|
|
|
4863
5046
|
export declare type TextFieldControlProps = Field.Control.Props;
|
|
4864
5047
|
|
|
4865
|
-
declare const TextFieldDescription: ForwardRefExoticComponent<Omit<FieldDescriptionProps, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
5048
|
+
declare const TextFieldDescription: ForwardRefExoticComponent<Omit< FieldDescriptionProps, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4866
5049
|
|
|
4867
5050
|
export declare type TextFieldDescriptionProps = Field.Description.Props;
|
|
4868
5051
|
|
|
4869
|
-
declare const TextFieldError: ForwardRefExoticComponent<Omit<FieldErrorProps, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
5052
|
+
declare const TextFieldError: ForwardRefExoticComponent<Omit< FieldErrorProps, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
4870
5053
|
|
|
4871
5054
|
export declare type TextFieldErrorProps = Field.Error.Props;
|
|
4872
5055
|
|
|
4873
|
-
declare const TextFieldLabel: ForwardRefExoticComponent<Omit<FieldLabelProps, "ref"> & RefAttributes<HTMLLabelElement>>;
|
|
5056
|
+
declare const TextFieldLabel: ForwardRefExoticComponent<Omit< FieldLabelProps, "ref"> & RefAttributes<HTMLLabelElement>>;
|
|
4874
5057
|
|
|
4875
5058
|
export declare type TextFieldLabelProps = Field.Label.Props;
|
|
4876
5059
|
|
|
@@ -4979,7 +5162,7 @@ export declare interface ThemeSummary {
|
|
|
4979
5162
|
owner: ThemeOwner;
|
|
4980
5163
|
}
|
|
4981
5164
|
|
|
4982
|
-
export declare const ThemeSwitcher:
|
|
5165
|
+
export declare const ThemeSwitcher: MemoExoticComponent<({ className }: ThemeSwitcherProps) => JSX.Element>;
|
|
4983
5166
|
|
|
4984
5167
|
export declare interface ThemeSwitcherProps {
|
|
4985
5168
|
className?: string;
|
|
@@ -5180,9 +5363,9 @@ declare const TooltipPopup: ForwardRefExoticComponent<TooltipPopupProps & RefAtt
|
|
|
5180
5363
|
export declare interface TooltipPopupProps extends Omit<ComponentPropsWithoutRef<typeof Tooltip_2.Popup>, 'color'>, StyledComponentProps {
|
|
5181
5364
|
}
|
|
5182
5365
|
|
|
5183
|
-
declare const TooltipPortal: ForwardRefExoticComponent<Omit<Omit<TooltipPortalProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
5366
|
+
declare const TooltipPortal: ForwardRefExoticComponent<Omit<Omit< TooltipPortalProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
5184
5367
|
|
|
5185
|
-
declare const TooltipPositioner: ForwardRefExoticComponent<Omit<Omit<TooltipPositionerProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
5368
|
+
declare const TooltipPositioner: ForwardRefExoticComponent<Omit<Omit< TooltipPositionerProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
5186
5369
|
|
|
5187
5370
|
declare function TooltipRoot<Payload>({ variant, color, size, lazy, defaultOpen, open, onOpenChange, ...props }: TooltipRootProps<Payload>): JSX.Element;
|
|
5188
5371
|
|
|
@@ -5200,7 +5383,7 @@ declare const TooltipTrigger: ForwardRefExoticComponent<TooltipTriggerProps & Re
|
|
|
5200
5383
|
export declare interface TooltipTriggerProps extends Omit<ComponentPropsWithoutRef<typeof Tooltip_2.Trigger>, 'color'>, StyledComponentProps {
|
|
5201
5384
|
}
|
|
5202
5385
|
|
|
5203
|
-
declare const TooltipViewport: ForwardRefExoticComponent<Omit<Omit<
|
|
5386
|
+
declare const TooltipViewport: ForwardRefExoticComponent<Omit<Omit< TooltipViewportProps, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
5204
5387
|
|
|
5205
5388
|
declare interface TreeActionsContextValue {
|
|
5206
5389
|
select: (key: Key_3) => void;
|
|
@@ -5475,7 +5658,7 @@ export declare type TypographyWeight = 'regular' | 'medium' | 'semibold';
|
|
|
5475
5658
|
|
|
5476
5659
|
export declare const Underline: <C extends UnderlineElement = "u">(props: TypographyBaseProps & TruncationProps & {
|
|
5477
5660
|
as?: C | undefined;
|
|
5478
|
-
} & Omit<PropsWithoutRef<ComponentProps<C>>, "color" | "as" | "truncate" | keyof TypographyBaseProps> & {
|
|
5661
|
+
} & Omit< PropsWithoutRef<ComponentProps<C>>, "color" | "as" | "truncate" | keyof TypographyBaseProps> & {
|
|
5479
5662
|
ref?: PolymorphicRef<C> | undefined;
|
|
5480
5663
|
}) => ReactElement | null;
|
|
5481
5664
|
|
|
@@ -5489,7 +5672,7 @@ export declare function useCollapsible(): CollapsibleContextValue;
|
|
|
5489
5672
|
* Provides a DnD end handler that reorders columns.
|
|
5490
5673
|
* Used with @dnd-kit/core DndContext in the DataTable root.
|
|
5491
5674
|
*/
|
|
5492
|
-
export declare function useColumnDnd(table:
|
|
5675
|
+
export declare function useColumnDnd(table: DataTableInstance<any>): {
|
|
5493
5676
|
handleDragEnd: (event: DragEndEvent) => void;
|
|
5494
5677
|
};
|
|
5495
5678
|
|
|
@@ -5498,9 +5681,9 @@ export declare function useColumnDnd(table: Table_2<any>): {
|
|
|
5498
5681
|
* Applied at the root table element so cells reference them via
|
|
5499
5682
|
* `width: calc(var(--header-{id}-size) * 1px)` without per-cell inline styles.
|
|
5500
5683
|
*
|
|
5501
|
-
* Only recomputes when columnSizing or
|
|
5684
|
+
* Only recomputes when columnSizing or columnResizing changes.
|
|
5502
5685
|
*/
|
|
5503
|
-
export declare function useColumnSizeVars(table:
|
|
5686
|
+
export declare function useColumnSizeVars<TData extends RowData>(table: DataTableInstance<TData>, state?: TableState<DataTableFeatures>, options?: DataTableInstance<TData>['options']): Record<string, number>;
|
|
5504
5687
|
|
|
5505
5688
|
export declare function useCommandListActions(): CommandListActionsContextValue;
|
|
5506
5689
|
|
|
@@ -5515,17 +5698,17 @@ export declare function useCommandListItem(store: CommandListStore, key: Key_2):
|
|
|
5515
5698
|
|
|
5516
5699
|
export declare function useCommandListStoreContext(): CommandListStore;
|
|
5517
5700
|
|
|
5518
|
-
export declare function useDataTable<TData =
|
|
5701
|
+
export declare function useDataTable<TData extends RowData = RowData>(options: UseDataTableOptions<TData>): DataTableInstance<TData>;
|
|
5519
5702
|
|
|
5520
|
-
export declare function useDataTableContext(): DataTableContextValue
|
|
5703
|
+
export declare function useDataTableContext<TData extends RowData = any>(): DataTableContextValue<TData>;
|
|
5521
5704
|
|
|
5522
|
-
export declare interface UseDataTableOptions<TData> {
|
|
5705
|
+
export declare interface UseDataTableOptions<TData extends RowData> {
|
|
5523
5706
|
data: TData[];
|
|
5524
|
-
columns:
|
|
5525
|
-
features?:
|
|
5526
|
-
initialState?: Partial<TableState
|
|
5707
|
+
columns: DataTableColumnDef<TData, unknown>[];
|
|
5708
|
+
features?: DataTableFeatureFlags;
|
|
5709
|
+
initialState?: Partial<TableState<DataTableFeatures>>;
|
|
5527
5710
|
/** Controlled slices override internal state. Callbacks request host edits. */
|
|
5528
|
-
state?: Partial<TableState
|
|
5711
|
+
state?: Partial<TableState<DataTableFeatures>>;
|
|
5529
5712
|
getRowId?: (row: TData, index: number) => string;
|
|
5530
5713
|
getSubRows?: (row: TData) => TData[] | undefined;
|
|
5531
5714
|
getRowCanExpand?: (row: {
|
|
@@ -5542,13 +5725,13 @@ export declare interface UseDataTableOptions<TData> {
|
|
|
5542
5725
|
onGlobalFilterChange?: (filter: string) => void;
|
|
5543
5726
|
onColumnFiltersChange?: (filters: ColumnFiltersState) => void;
|
|
5544
5727
|
onGroupingChange?: (grouping: GroupingState) => void;
|
|
5545
|
-
onColumnVisibilityChange?: (visibility:
|
|
5728
|
+
onColumnVisibilityChange?: (visibility: ColumnVisibilityState) => void;
|
|
5546
5729
|
onColumnOrderChange?: (order: ColumnOrderState) => void;
|
|
5547
5730
|
onColumnSizingChange?: (sizing: ColumnSizingState) => void;
|
|
5548
5731
|
onExpandedChange?: (expanded: ExpandedState) => void;
|
|
5549
5732
|
onPaginationChange?: (pagination: PaginationState) => void;
|
|
5550
5733
|
onColumnPinningChange?: (pinning: ColumnPinningState) => void;
|
|
5551
|
-
defaultColumn?: Partial<
|
|
5734
|
+
defaultColumn?: Partial<DataTableColumnDef<TData, unknown>>;
|
|
5552
5735
|
meta?: Record<string, unknown>;
|
|
5553
5736
|
enableMultiSort?: boolean;
|
|
5554
5737
|
manualSorting?: boolean;
|
|
@@ -5566,7 +5749,7 @@ export declare interface UseDataTableOptions<TData> {
|
|
|
5566
5749
|
* Persists select table state to localStorage under the given key.
|
|
5567
5750
|
* Restores on mount. Only persists column sizing, visibility, order, and sorting.
|
|
5568
5751
|
*/
|
|
5569
|
-
export declare function useDataTablePersistence(table:
|
|
5752
|
+
export declare function useDataTablePersistence(table: DataTableInstance<any>, key: string | undefined): void;
|
|
5570
5753
|
|
|
5571
5754
|
/**
|
|
5572
5755
|
* `useDateField` is the headless hook driving the sectioned input primitive.
|
|
@@ -5708,7 +5891,7 @@ export declare function useTabDragBroker(): TabDragBrokerValue | null;
|
|
|
5708
5891
|
|
|
5709
5892
|
export declare function useTheme(): ThemeContextValue;
|
|
5710
5893
|
|
|
5711
|
-
export declare function useThemeList(registry?: ThemeRegistry): readonly Readonly<ThemeSummary>[];
|
|
5894
|
+
export declare function useThemeList(registry?: ThemeRegistry): readonly Readonly< ThemeSummary>[];
|
|
5712
5895
|
|
|
5713
5896
|
/** Returns the module-level theme registry singleton. */
|
|
5714
5897
|
export declare function useThemeRegistry(): ThemeRegistry;
|
|
@@ -5879,3 +6062,28 @@ export declare type WorkspaceActionResult = {
|
|
|
5879
6062
|
};
|
|
5880
6063
|
|
|
5881
6064
|
export { }
|
|
6065
|
+
|
|
6066
|
+
|
|
6067
|
+
declare namespace ComboboxRoot {
|
|
6068
|
+
var displayName: string;
|
|
6069
|
+
}
|
|
6070
|
+
|
|
6071
|
+
|
|
6072
|
+
declare namespace PopoverRoot {
|
|
6073
|
+
var displayName: string;
|
|
6074
|
+
}
|
|
6075
|
+
|
|
6076
|
+
|
|
6077
|
+
declare namespace SelectRoot {
|
|
6078
|
+
var displayName: string;
|
|
6079
|
+
}
|
|
6080
|
+
|
|
6081
|
+
|
|
6082
|
+
declare namespace DataTableRoot {
|
|
6083
|
+
var displayName: string;
|
|
6084
|
+
}
|
|
6085
|
+
|
|
6086
|
+
|
|
6087
|
+
declare namespace TooltipRoot {
|
|
6088
|
+
var displayName: string;
|
|
6089
|
+
}
|