@zsviczian/excalidraw 0.17.1-obsidian-19 → 0.17.1-obsidian-21
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/excalidraw.development.js +267 -92
- package/dist/excalidraw.production.min.js +1 -1
- package/dist/styles.development.css +1103 -854
- package/dist/styles.production.css +16 -15
- package/package.json +5 -3
- package/types/excalidraw/actions/actionAddToLibrary.d.ts +20 -5
- package/types/excalidraw/actions/actionAlign.d.ts +39 -27
- package/types/excalidraw/actions/actionBoundText.d.ts +20 -10
- package/types/excalidraw/actions/actionCanvas.d.ts +148 -52
- package/types/excalidraw/actions/actionClipboard.d.ts +72 -30
- package/types/excalidraw/actions/actionDeleteSelected.d.ts +25 -9
- package/types/excalidraw/actions/actionDistribute.d.ts +10 -8
- package/types/excalidraw/actions/actionDuplicateSelection.d.ts +7 -7
- package/types/excalidraw/actions/actionElementLock.d.ts +24 -11
- package/types/excalidraw/actions/actionExport.d.ts +85 -32
- package/types/excalidraw/actions/actionFinalize.d.ts +19 -8
- package/types/excalidraw/actions/actionFlip.d.ts +13 -11
- package/types/excalidraw/actions/actionFrame.d.ts +30 -200
- package/types/excalidraw/actions/actionGroup.d.ts +15 -379
- package/types/excalidraw/actions/actionHistory.d.ts +3 -2
- package/types/excalidraw/actions/actionLinearEditor.d.ts +9 -3
- package/types/excalidraw/actions/actionLink.d.ts +12 -6
- package/types/excalidraw/actions/actionMenu.d.ts +25 -8
- package/types/excalidraw/actions/actionNavigate.d.ts +14 -3
- package/types/excalidraw/actions/actionProperties.d.ts +114 -32
- package/types/excalidraw/actions/actionSelectAll.d.ts +12 -5
- package/types/excalidraw/actions/actionStyles.d.ts +18 -14
- package/types/excalidraw/actions/actionToggleGridMode.d.ts +12 -5
- package/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +12 -6
- package/types/excalidraw/actions/actionToggleStats.d.ts +12 -5
- package/types/excalidraw/actions/actionToggleViewMode.d.ts +12 -5
- package/types/excalidraw/actions/actionToggleZenMode.d.ts +12 -5
- package/types/excalidraw/actions/actionZindex.d.ts +26 -23
- package/types/excalidraw/actions/manager.d.ts +3 -3
- package/types/excalidraw/actions/shortcuts.d.ts +2 -2
- package/types/excalidraw/actions/types.d.ts +10 -8
- package/types/excalidraw/appState.d.ts +4 -4
- package/types/excalidraw/change.d.ts +191 -0
- package/types/excalidraw/clients.d.ts +10 -1
- package/types/excalidraw/components/Actions.d.ts +3 -1
- package/types/excalidraw/components/App.d.ts +23 -9
- package/types/excalidraw/components/Avatar.d.ts +2 -3
- package/types/excalidraw/components/CommandPalette/CommandPalette.d.ts +18 -0
- package/types/excalidraw/components/CommandPalette/defaultCommandPaletteItems.d.ts +2 -0
- package/types/excalidraw/components/CommandPalette/types.d.ts +25 -0
- package/types/excalidraw/components/InlineIcon.d.ts +1 -1
- package/types/excalidraw/components/RadioGroup.d.ts +2 -1
- package/types/excalidraw/components/ToolButton.d.ts +1 -0
- package/types/excalidraw/components/UserList.d.ts +3 -7
- package/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +2 -1
- package/types/excalidraw/components/dropdownMenu/DropdownMenuItemContentRadio.d.ts +17 -0
- package/types/excalidraw/components/hyperlink/Hyperlink.d.ts +2 -2
- package/types/excalidraw/components/icons.d.ts +26 -1
- package/types/excalidraw/components/main-menu/DefaultItems.d.ts +15 -1
- package/types/excalidraw/constants.d.ts +8 -0
- package/types/excalidraw/data/reconcile.d.ts +6 -0
- package/types/excalidraw/data/restore.d.ts +3 -3
- package/types/excalidraw/data/transform.d.ts +1 -1
- package/types/excalidraw/data/url.d.ts +1 -0
- package/types/excalidraw/deburr.d.ts +1 -0
- package/types/excalidraw/element/binding.d.ts +52 -9
- package/types/excalidraw/element/bounds.d.ts +0 -1
- package/types/excalidraw/element/collision.d.ts +14 -19
- package/types/excalidraw/element/embeddable.d.ts +14 -4
- package/types/excalidraw/element/index.d.ts +0 -1
- package/types/excalidraw/element/linearElementEditor.d.ts +17 -12
- package/types/excalidraw/element/mutateElement.d.ts +1 -2
- package/types/excalidraw/element/newElement.d.ts +1 -1
- package/types/excalidraw/element/resizeElements.d.ts +1 -1
- package/types/excalidraw/element/resizeTest.d.ts +4 -4
- package/types/excalidraw/element/textElement.d.ts +1 -7
- package/types/excalidraw/element/transformHandles.d.ts +22 -4
- package/types/excalidraw/element/typeChecks.d.ts +2 -2
- package/types/excalidraw/element/types.d.ts +22 -6
- package/types/excalidraw/errors.d.ts +3 -0
- package/types/excalidraw/fractionalIndex.d.ts +40 -0
- package/types/excalidraw/frame.d.ts +1 -1
- package/types/excalidraw/groups.d.ts +2 -0
- package/types/excalidraw/history.d.ts +34 -46
- package/types/excalidraw/hooks/useEmitter.d.ts +2 -0
- package/types/excalidraw/hooks/useStableCallback.d.ts +4 -0
- package/types/excalidraw/index.d.ts +3 -1
- package/types/excalidraw/keys.d.ts +1 -0
- package/types/excalidraw/renderer/interactiveScene.d.ts +1 -1
- package/types/excalidraw/scene/Scene.d.ts +7 -6
- package/types/excalidraw/scene/types.d.ts +11 -20
- package/types/excalidraw/store.d.ts +99 -0
- package/types/excalidraw/types.d.ts +39 -6
- package/types/excalidraw/utils.d.ts +7 -0
- package/types/excalidraw/webpack.prod.config.d.ts +1 -1
- package/types/excalidraw/zindex.d.ts +2 -2
- package/types/utils/collision.d.ts +4 -0
- package/types/utils/export.d.ts +2 -2
- package/types/utils/geometry/geometry.d.ts +71 -0
- package/types/utils/geometry/shape.d.ts +56 -0
|
@@ -2,225 +2,43 @@ import { ExcalidrawElement } from "../element/types";
|
|
|
2
2
|
import { AppClassProperties, AppState } from "../types";
|
|
3
3
|
export declare const actionSelectAllElementsInFrame: {
|
|
4
4
|
name: "selectAllElementsInFrame";
|
|
5
|
+
label: string;
|
|
5
6
|
trackEvent: {
|
|
6
7
|
category: "canvas";
|
|
7
8
|
};
|
|
8
|
-
perform: (elements: readonly
|
|
9
|
-
elements: readonly
|
|
9
|
+
perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
|
|
10
|
+
elements: readonly import("../element/types").OrderedExcalidrawElement[];
|
|
10
11
|
appState: Readonly<AppState>;
|
|
11
|
-
|
|
12
|
+
storeAction: import("../store").StoreActionType;
|
|
12
13
|
};
|
|
13
|
-
contextItemLabel: string;
|
|
14
14
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, _: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
|
|
15
15
|
} & {
|
|
16
16
|
keyTest?: undefined;
|
|
17
17
|
};
|
|
18
18
|
export declare const actionRemoveAllElementsFromFrame: {
|
|
19
19
|
name: "removeAllElementsFromFrame";
|
|
20
|
+
label: string;
|
|
20
21
|
trackEvent: {
|
|
21
22
|
category: "history";
|
|
22
23
|
};
|
|
23
|
-
perform: (elements: readonly
|
|
24
|
-
elements: readonly
|
|
25
|
-
appState: {
|
|
26
|
-
selectedElementIds: {
|
|
27
|
-
[x: string]: true;
|
|
28
|
-
};
|
|
29
|
-
contextMenu: {
|
|
30
|
-
items: import("../components/ContextMenu").ContextMenuItems;
|
|
31
|
-
top: number;
|
|
32
|
-
left: number;
|
|
33
|
-
} | null;
|
|
34
|
-
showWelcomeScreen: boolean;
|
|
35
|
-
isLoading: boolean;
|
|
36
|
-
errorMessage: import("react").ReactNode;
|
|
37
|
-
activeEmbeddable: {
|
|
38
|
-
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
39
|
-
state: "active" | "hover";
|
|
40
|
-
} | null;
|
|
41
|
-
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
42
|
-
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
43
|
-
multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
|
|
44
|
-
selectionElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
45
|
-
isBindingEnabled: boolean;
|
|
46
|
-
startBoundElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawBindableElement> | null;
|
|
47
|
-
suggestedBindings: import("../element/binding").SuggestedBinding[];
|
|
48
|
-
frameToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawFrameLikeElement> | null;
|
|
49
|
-
frameRendering: {
|
|
50
|
-
enabled: boolean;
|
|
51
|
-
name: boolean;
|
|
52
|
-
outline: boolean;
|
|
53
|
-
clip: boolean;
|
|
54
|
-
};
|
|
55
|
-
editingFrame: string | null;
|
|
56
|
-
elementsToHighlight: import("../element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
57
|
-
editingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
58
|
-
editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
59
|
-
activeTool: {
|
|
60
|
-
lastActiveTool: import("../types").ActiveTool | null;
|
|
61
|
-
locked: boolean;
|
|
62
|
-
} & import("../types").ActiveTool;
|
|
63
|
-
penMode: boolean;
|
|
64
|
-
penDetected: boolean;
|
|
65
|
-
exportBackground: boolean;
|
|
66
|
-
exportEmbedScene: boolean;
|
|
67
|
-
exportWithDarkMode: boolean;
|
|
68
|
-
exportScale: number;
|
|
69
|
-
currentItemStrokeColor: string;
|
|
70
|
-
currentItemBackgroundColor: string;
|
|
71
|
-
currentItemFillStyle: import("../element/types").FillStyle;
|
|
72
|
-
currentItemStrokeWidth: number;
|
|
73
|
-
currentItemStrokeStyle: import("../element/types").StrokeStyle;
|
|
74
|
-
currentItemRoughness: number;
|
|
75
|
-
currentItemOpacity: number;
|
|
76
|
-
currentItemFontFamily: number;
|
|
77
|
-
currentItemFontSize: number;
|
|
78
|
-
currentItemTextAlign: string;
|
|
79
|
-
currentItemStartArrowhead: import("../element/types").Arrowhead | null;
|
|
80
|
-
currentItemEndArrowhead: import("../element/types").Arrowhead | null;
|
|
81
|
-
currentItemRoundness: import("../element/types").StrokeRoundness;
|
|
82
|
-
viewBackgroundColor: string;
|
|
83
|
-
scrollX: number;
|
|
84
|
-
scrollY: number;
|
|
85
|
-
cursorButton: "up" | "down";
|
|
86
|
-
scrolledOutside: boolean;
|
|
87
|
-
name: string | null;
|
|
88
|
-
isResizing: boolean;
|
|
89
|
-
isRotating: boolean;
|
|
90
|
-
zoom: Readonly<{
|
|
91
|
-
value: import("../types").NormalizedZoomValue;
|
|
92
|
-
}>;
|
|
93
|
-
openMenu: "canvas" | "shape" | null;
|
|
94
|
-
openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
95
|
-
openSidebar: {
|
|
96
|
-
name: string;
|
|
97
|
-
tab?: string | undefined;
|
|
98
|
-
} | null;
|
|
99
|
-
openDialog: {
|
|
100
|
-
name: "imageExport" | "help" | "jsonExport";
|
|
101
|
-
} | {
|
|
102
|
-
name: "settings";
|
|
103
|
-
source: "settings" | "tool" | "generation";
|
|
104
|
-
tab: "text-to-diagram" | "diagram-to-code";
|
|
105
|
-
} | {
|
|
106
|
-
name: "ttd";
|
|
107
|
-
tab: "mermaid" | "text-to-diagram";
|
|
108
|
-
} | null;
|
|
109
|
-
defaultSidebarDockedPreference: boolean;
|
|
110
|
-
lastPointerDownWith: import("../element/types").PointerType;
|
|
111
|
-
previousSelectedElementIds: {
|
|
112
|
-
[id: string]: true;
|
|
113
|
-
};
|
|
114
|
-
selectedElementsAreBeingDragged: boolean;
|
|
115
|
-
shouldCacheIgnoreZoom: boolean;
|
|
116
|
-
toast: {
|
|
117
|
-
message: string;
|
|
118
|
-
closable?: boolean | undefined;
|
|
119
|
-
duration?: number | undefined;
|
|
120
|
-
} | null;
|
|
121
|
-
zenModeEnabled: boolean;
|
|
122
|
-
theme: import("../element/types").Theme;
|
|
123
|
-
gridSize: number | null;
|
|
124
|
-
previousGridSize: number | null;
|
|
125
|
-
viewModeEnabled: boolean;
|
|
126
|
-
selectedGroupIds: {
|
|
127
|
-
[groupId: string]: boolean;
|
|
128
|
-
};
|
|
129
|
-
editingGroupId: string | null;
|
|
130
|
-
width: number;
|
|
131
|
-
height: number;
|
|
132
|
-
offsetTop: number;
|
|
133
|
-
offsetLeft: number;
|
|
134
|
-
fileHandle: import("browser-fs-access").FileSystemHandle | null;
|
|
135
|
-
collaborators: Map<import("../types").SocketId, Readonly<{
|
|
136
|
-
pointer?: import("../types").CollaboratorPointer | undefined;
|
|
137
|
-
button?: "up" | "down" | undefined;
|
|
138
|
-
selectedElementIds?: Readonly<{
|
|
139
|
-
[id: string]: true;
|
|
140
|
-
}> | undefined;
|
|
141
|
-
username?: string | null | undefined;
|
|
142
|
-
userState?: import("../types").UserIdleState | undefined;
|
|
143
|
-
color?: {
|
|
144
|
-
background: string;
|
|
145
|
-
stroke: string;
|
|
146
|
-
} | undefined;
|
|
147
|
-
avatarUrl?: string | undefined;
|
|
148
|
-
id?: string | undefined;
|
|
149
|
-
socketId?: import("../types").SocketId | undefined;
|
|
150
|
-
isCurrentUser?: boolean | undefined;
|
|
151
|
-
}>>;
|
|
152
|
-
showStats: boolean;
|
|
153
|
-
currentChartType: import("../element/types").ChartType;
|
|
154
|
-
pasteDialog: {
|
|
155
|
-
shown: false;
|
|
156
|
-
data: null;
|
|
157
|
-
} | {
|
|
158
|
-
shown: true;
|
|
159
|
-
data: import("../charts").Spreadsheet;
|
|
160
|
-
};
|
|
161
|
-
pendingImageElementId: string | null;
|
|
162
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
163
|
-
linkOpacity: number;
|
|
164
|
-
trayModeEnabled: boolean;
|
|
165
|
-
colorPalette?: {
|
|
166
|
-
canvasBackground: import("../colors").ColorPaletteCustom;
|
|
167
|
-
elementBackground: import("../colors").ColorPaletteCustom;
|
|
168
|
-
elementStroke: import("../colors").ColorPaletteCustom;
|
|
169
|
-
topPicks: {
|
|
170
|
-
canvasBackground: [string, string, string, string, string];
|
|
171
|
-
elementStroke: [string, string, string, string, string];
|
|
172
|
-
elementBackground: [string, string, string, string, string];
|
|
173
|
-
};
|
|
174
|
-
} | undefined;
|
|
175
|
-
allowWheelZoom?: boolean | undefined;
|
|
176
|
-
allowPinchZoom?: boolean | undefined;
|
|
177
|
-
pinnedScripts?: string[] | undefined;
|
|
178
|
-
customPens?: any[] | undefined;
|
|
179
|
-
currentStrokeOptions?: any;
|
|
180
|
-
resetCustomPen?: any;
|
|
181
|
-
gridColor: {
|
|
182
|
-
Bold: string;
|
|
183
|
-
Regular: string;
|
|
184
|
-
MajorGridFrequency?: number | undefined;
|
|
185
|
-
};
|
|
186
|
-
dynamicStyle: {
|
|
187
|
-
[x: string]: string;
|
|
188
|
-
};
|
|
189
|
-
frameColor: {
|
|
190
|
-
stroke: string;
|
|
191
|
-
fill: string;
|
|
192
|
-
nameColor: string;
|
|
193
|
-
};
|
|
194
|
-
invertBindingBehaviour: boolean;
|
|
195
|
-
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
196
|
-
snapLines: readonly import("../snapping").SnapLine[];
|
|
197
|
-
originSnapOffset: {
|
|
198
|
-
x: number;
|
|
199
|
-
y: number;
|
|
200
|
-
} | null;
|
|
201
|
-
objectsSnapModeEnabled: boolean;
|
|
202
|
-
userToFollow: import("../types").UserToFollow | null;
|
|
203
|
-
followedBy: Set<import("../types").SocketId>;
|
|
204
|
-
};
|
|
205
|
-
commitToHistory: true;
|
|
206
|
-
} | {
|
|
207
|
-
elements: readonly ExcalidrawElement[];
|
|
24
|
+
perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
|
|
25
|
+
elements: readonly import("../element/types").OrderedExcalidrawElement[];
|
|
208
26
|
appState: Readonly<AppState>;
|
|
209
|
-
|
|
27
|
+
storeAction: import("../store").StoreActionType;
|
|
210
28
|
};
|
|
211
|
-
contextItemLabel: string;
|
|
212
29
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, _: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
|
|
213
30
|
} & {
|
|
214
31
|
keyTest?: undefined;
|
|
215
32
|
};
|
|
216
33
|
export declare const actionupdateFrameRendering: {
|
|
217
34
|
name: "updateFrameRendering";
|
|
35
|
+
label: string;
|
|
218
36
|
viewMode: true;
|
|
219
37
|
trackEvent: {
|
|
220
38
|
category: "canvas";
|
|
221
39
|
};
|
|
222
|
-
perform: (elements: readonly
|
|
223
|
-
elements: readonly
|
|
40
|
+
perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>) => {
|
|
41
|
+
elements: readonly import("../element/types").OrderedExcalidrawElement[];
|
|
224
42
|
appState: {
|
|
225
43
|
frameRendering: {
|
|
226
44
|
enabled: boolean;
|
|
@@ -301,6 +119,8 @@ export declare const actionupdateFrameRendering: {
|
|
|
301
119
|
} | {
|
|
302
120
|
name: "ttd";
|
|
303
121
|
tab: "mermaid" | "text-to-diagram";
|
|
122
|
+
} | {
|
|
123
|
+
name: "commandPalette";
|
|
304
124
|
} | null;
|
|
305
125
|
defaultSidebarDockedPreference: boolean;
|
|
306
126
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
@@ -347,6 +167,9 @@ export declare const actionupdateFrameRendering: {
|
|
|
347
167
|
id?: string | undefined;
|
|
348
168
|
socketId?: import("../types").SocketId | undefined;
|
|
349
169
|
isCurrentUser?: boolean | undefined;
|
|
170
|
+
isInCall?: boolean | undefined;
|
|
171
|
+
isSpeaking?: boolean | undefined;
|
|
172
|
+
isMuted?: boolean | undefined;
|
|
350
173
|
}>>;
|
|
351
174
|
showStats: boolean;
|
|
352
175
|
currentChartType: import("../element/types").ChartType;
|
|
@@ -401,20 +224,22 @@ export declare const actionupdateFrameRendering: {
|
|
|
401
224
|
userToFollow: import("../types").UserToFollow | null;
|
|
402
225
|
followedBy: Set<import("../types").SocketId>;
|
|
403
226
|
};
|
|
404
|
-
|
|
227
|
+
storeAction: import("../store").StoreActionType;
|
|
405
228
|
};
|
|
406
|
-
contextItemLabel: string;
|
|
407
229
|
checked: (appState: AppState) => boolean;
|
|
408
230
|
} & {
|
|
409
231
|
keyTest?: undefined;
|
|
410
232
|
};
|
|
411
233
|
export declare const actionSetFrameAsActiveTool: {
|
|
412
234
|
name: "setFrameAsActiveTool";
|
|
235
|
+
label: string;
|
|
413
236
|
trackEvent: {
|
|
414
237
|
category: "toolbar";
|
|
415
238
|
};
|
|
416
|
-
|
|
417
|
-
|
|
239
|
+
icon: import("react/jsx-runtime").JSX.Element;
|
|
240
|
+
viewMode: false;
|
|
241
|
+
perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
|
|
242
|
+
elements: readonly import("../element/types").OrderedExcalidrawElement[];
|
|
418
243
|
appState: {
|
|
419
244
|
activeTool: {
|
|
420
245
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
@@ -495,6 +320,8 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
495
320
|
} | {
|
|
496
321
|
name: "ttd";
|
|
497
322
|
tab: "mermaid" | "text-to-diagram";
|
|
323
|
+
} | {
|
|
324
|
+
name: "commandPalette";
|
|
498
325
|
} | null;
|
|
499
326
|
defaultSidebarDockedPreference: boolean;
|
|
500
327
|
lastPointerDownWith: import("../element/types").PointerType;
|
|
@@ -541,6 +368,9 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
541
368
|
id?: string | undefined;
|
|
542
369
|
socketId?: import("../types").SocketId | undefined;
|
|
543
370
|
isCurrentUser?: boolean | undefined;
|
|
371
|
+
isInCall?: boolean | undefined;
|
|
372
|
+
isSpeaking?: boolean | undefined;
|
|
373
|
+
isMuted?: boolean | undefined;
|
|
544
374
|
}>>;
|
|
545
375
|
showStats: boolean;
|
|
546
376
|
currentChartType: import("../element/types").ChartType;
|
|
@@ -595,9 +425,9 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
595
425
|
userToFollow: import("../types").UserToFollow | null;
|
|
596
426
|
followedBy: Set<import("../types").SocketId>;
|
|
597
427
|
};
|
|
598
|
-
|
|
428
|
+
storeAction: import("../store").StoreActionType;
|
|
599
429
|
};
|
|
600
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
430
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
601
431
|
} & {
|
|
602
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
432
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
603
433
|
};
|