@dwelle/excalidraw 0.5.0-8cb033d → 0.5.0-90f2d4e
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/dev/{chunk-C6WW3IWU.js → chunk-BIYCCCC4.js} +14 -4
- package/dist/dev/chunk-BIYCCCC4.js.map +7 -0
- package/dist/dev/chunk-QW2KPMGE.js +7 -0
- package/dist/dev/chunk-QW2KPMGE.js.map +7 -0
- package/dist/dev/{chunk-2LNRWI74.js → chunk-VPDGV5DO.js} +9679 -8756
- package/dist/dev/chunk-VPDGV5DO.js.map +7 -0
- package/dist/dev/data/{image-7QZI7GM4.js → image-RC4Z3PZK.js} +3 -3
- package/dist/dev/index.css +695 -506
- package/dist/dev/index.css.map +3 -3
- package/dist/dev/index.js +4223 -2821
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{en-VFJV7E2V.js → en-XLJO5VTH.js} +2 -2
- package/dist/dev/subset-shared.chunk.js +1 -1
- package/dist/dev/subset-worker.chunk.js +1 -1
- package/dist/prod/chunk-DUG5AXRR.js +33 -0
- package/dist/prod/chunk-M2OFWNPH.js +7 -0
- package/dist/prod/{chunk-O65DDAOS.js → chunk-SPUFWQ3U.js} +4 -4
- package/dist/prod/data/image-W7J67QSB.js +1 -0
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +20 -20
- package/dist/prod/locales/{en-UUHXMMMY.js → en-DMU2KFKH.js} +1 -1
- package/dist/prod/subset-shared.chunk.js +1 -1
- package/dist/prod/subset-worker.chunk.js +1 -1
- package/dist/types/common/src/constants.d.ts +38 -6
- package/dist/types/common/src/utils.d.ts +6 -5
- package/dist/types/element/src/Scene.d.ts +7 -3
- package/dist/types/element/src/align.d.ts +2 -1
- package/dist/types/element/src/binding.d.ts +10 -7
- package/dist/types/element/src/bounds.d.ts +12 -4
- package/dist/types/element/src/collision.d.ts +18 -12
- package/dist/types/element/src/cropElement.d.ts +1 -1
- package/dist/types/element/src/delta.d.ts +41 -9
- package/dist/types/element/src/distance.d.ts +2 -2
- package/dist/types/element/src/distribute.d.ts +2 -1
- package/dist/types/element/src/fractionalIndex.d.ts +8 -2
- package/dist/types/element/src/frame.d.ts +2 -2
- package/dist/types/element/src/groups.d.ts +1 -0
- package/dist/types/element/src/index.d.ts +2 -3
- package/dist/types/element/src/linearElementEditor.d.ts +13 -15
- package/dist/types/element/src/mutateElement.d.ts +1 -1
- package/dist/types/element/src/newElement.d.ts +2 -1
- package/dist/types/element/src/positionElementsOnGrid.d.ts +2 -0
- package/dist/types/element/src/renderElement.d.ts +4 -1
- package/dist/types/element/src/resizeElements.d.ts +1 -0
- package/dist/types/element/src/selection.d.ts +1 -1
- package/dist/types/element/src/shape.d.ts +42 -0
- package/dist/types/element/src/sizeHelpers.d.ts +2 -1
- package/dist/types/element/src/store.d.ts +19 -9
- package/dist/types/element/src/textElement.d.ts +1 -1
- package/dist/types/element/src/transformHandles.d.ts +4 -4
- package/dist/types/element/src/typeChecks.d.ts +15 -1
- package/dist/types/element/src/types.d.ts +8 -3
- package/dist/types/element/src/utils.d.ts +16 -6
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +15 -18
- package/dist/types/excalidraw/actions/actionAlign.d.ts +8 -8
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +10 -12
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +158 -170
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +38 -42
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +5 -6
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +21 -23
- package/dist/types/excalidraw/actions/actionDistribute.d.ts +4 -4
- package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +4 -5
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +12 -14
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +5 -6
- package/dist/types/excalidraw/actions/actionExport.d.ts +130 -139
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +61 -22
- package/dist/types/excalidraw/actions/actionFlip.d.ts +4 -4
- package/dist/types/excalidraw/actions/actionFrame.d.ts +70 -74
- package/dist/types/excalidraw/actions/actionGroup.d.ts +16 -18
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +532 -9
- package/dist/types/excalidraw/actions/actionLink.d.ts +6 -7
- package/dist/types/excalidraw/actions/actionMenu.d.ts +16 -19
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +10 -12
- package/dist/types/excalidraw/actions/actionProperties.d.ts +107 -105
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +8 -9
- package/dist/types/excalidraw/actions/actionStyles.d.ts +9 -10
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +7 -8
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +7 -8
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +6 -7
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +7 -8
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +7 -8
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +7 -8
- package/dist/types/excalidraw/actions/actionZindex.d.ts +8 -8
- package/dist/types/excalidraw/actions/index.d.ts +1 -1
- package/dist/types/excalidraw/actions/types.d.ts +2 -1
- package/dist/types/excalidraw/appState.d.ts +21 -20
- package/dist/types/excalidraw/clipboard.d.ts +64 -1
- package/dist/types/excalidraw/components/Actions.d.ts +8 -5
- package/dist/types/excalidraw/components/App.d.ts +21 -27
- package/dist/types/excalidraw/components/ButtonIcon.d.ts +1 -0
- package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +2 -1
- package/dist/types/excalidraw/components/CommandPalette/CommandPalette.d.ts +1 -0
- package/dist/types/excalidraw/components/Ellipsify.d.ts +4 -0
- package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +2 -1
- package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +2 -1
- package/dist/types/excalidraw/components/InlineIcon.d.ts +3 -1
- package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +1 -1
- package/dist/types/excalidraw/components/PropertiesPopover.d.ts +1 -0
- package/dist/types/excalidraw/components/Stats/DragInput.d.ts +11 -1
- package/dist/types/excalidraw/components/TextField.d.ts +1 -0
- package/dist/types/excalidraw/components/icons.d.ts +7 -0
- package/dist/types/excalidraw/components/shapes.d.ts +129 -1
- package/dist/types/excalidraw/data/blob.d.ts +4 -8
- package/dist/types/excalidraw/data/reconcile.d.ts +1 -0
- package/dist/types/excalidraw/data/restore.d.ts +6 -1
- package/dist/types/excalidraw/data/types.d.ts +4 -1
- package/dist/types/excalidraw/eraser/index.d.ts +0 -2
- package/dist/types/excalidraw/history.d.ts +21 -5
- package/dist/types/excalidraw/hooks/useLibraryItemSvg.d.ts +1 -1
- package/dist/types/excalidraw/hooks/useTextEditorFocus.d.ts +14 -0
- package/dist/types/excalidraw/index.d.ts +2 -1
- package/dist/types/excalidraw/lasso/utils.d.ts +2 -1
- package/dist/types/excalidraw/renderer/helpers.d.ts +4 -4
- package/dist/types/excalidraw/renderer/staticScene.d.ts +4 -1
- package/dist/types/excalidraw/scene/Renderer.d.ts +0 -1
- package/dist/types/excalidraw/types.d.ts +12 -9
- package/dist/types/math/src/angle.d.ts +2 -0
- package/dist/types/math/src/constants.d.ts +3 -0
- package/dist/types/math/src/curve.d.ts +32 -0
- package/dist/types/math/src/index.d.ts +1 -0
- package/dist/types/math/src/point.d.ts +1 -1
- package/dist/types/math/src/rectangle.d.ts +2 -0
- package/dist/types/math/src/segment.d.ts +1 -0
- package/dist/types/math/src/vector.d.ts +4 -2
- package/history.ts +107 -44
- package/package.json +9 -9
- package/dist/dev/chunk-2LNRWI74.js.map +0 -7
- package/dist/dev/chunk-C6WW3IWU.js.map +0 -7
- package/dist/dev/chunk-NR24AOHB.js +0 -7
- package/dist/dev/chunk-NR24AOHB.js.map +0 -7
- package/dist/prod/chunk-JUZ2P6ZK.js +0 -33
- package/dist/prod/chunk-ZSOIT5RG.js +0 -7
- package/dist/prod/data/image-RPTD4VCP.js +0 -1
- package/dist/types/element/src/Shape.d.ts +0 -17
- package/dist/types/element/src/ShapeCache.d.ts +0 -25
- package/dist/types/element/src/shapes.d.ts +0 -23
- package/dist/types/excalidraw/visualdebug.d.ts +0 -41
- package/dist/types/utils/src/collision.d.ts +0 -8
- /package/dist/dev/data/{image-7QZI7GM4.js.map → image-RC4Z3PZK.js.map} +0 -0
- /package/dist/dev/locales/{en-VFJV7E2V.js.map → en-XLJO5VTH.js.map} +0 -0
|
@@ -21,7 +21,7 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
21
21
|
errorMessage: import("react").ReactNode;
|
|
22
22
|
activeEmbeddable: {
|
|
23
23
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
24
|
-
state: "
|
|
24
|
+
state: "active" | "hover";
|
|
25
25
|
} | null;
|
|
26
26
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
27
27
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -40,7 +40,6 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
40
40
|
editingFrame: string | null;
|
|
41
41
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
42
42
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
43
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
44
43
|
activeTool: {
|
|
45
44
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
46
45
|
locked: boolean;
|
|
@@ -79,7 +78,7 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
79
78
|
value: import("../types").NormalizedZoomValue;
|
|
80
79
|
}>;
|
|
81
80
|
openMenu: "canvas" | "shape" | null;
|
|
82
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
81
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
83
82
|
openSidebar: {
|
|
84
83
|
name: string;
|
|
85
84
|
tab?: string | undefined;
|
|
@@ -88,7 +87,7 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
88
87
|
name: "imageExport" | "help" | "jsonExport";
|
|
89
88
|
} | {
|
|
90
89
|
name: "ttd";
|
|
91
|
-
tab: "text-to-diagram"
|
|
90
|
+
tab: "mermaid" | "text-to-diagram";
|
|
92
91
|
} | {
|
|
93
92
|
name: "commandPalette";
|
|
94
93
|
} | {
|
|
@@ -157,8 +156,7 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
157
156
|
shown: true;
|
|
158
157
|
data: import("../charts").Spreadsheet;
|
|
159
158
|
};
|
|
160
|
-
|
|
161
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
159
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
162
160
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
163
161
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
164
162
|
originSnapOffset: {
|
|
@@ -178,6 +176,7 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
178
176
|
lockedMultiSelections: {
|
|
179
177
|
[groupId: string]: true;
|
|
180
178
|
};
|
|
179
|
+
stylesPanelMode: "compact" | "full";
|
|
181
180
|
};
|
|
182
181
|
captureUpdate: "IMMEDIATELY";
|
|
183
182
|
} | {
|
|
@@ -211,7 +210,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
211
210
|
errorMessage: import("react").ReactNode;
|
|
212
211
|
activeEmbeddable: {
|
|
213
212
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
214
|
-
state: "
|
|
213
|
+
state: "active" | "hover";
|
|
215
214
|
} | null;
|
|
216
215
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
217
216
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -230,7 +229,6 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
230
229
|
editingFrame: string | null;
|
|
231
230
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
232
231
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
233
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
234
232
|
activeTool: {
|
|
235
233
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
236
234
|
locked: boolean;
|
|
@@ -269,7 +267,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
269
267
|
value: import("../types").NormalizedZoomValue;
|
|
270
268
|
}>;
|
|
271
269
|
openMenu: "canvas" | "shape" | null;
|
|
272
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
270
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
273
271
|
openSidebar: {
|
|
274
272
|
name: string;
|
|
275
273
|
tab?: string | undefined;
|
|
@@ -278,7 +276,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
278
276
|
name: "imageExport" | "help" | "jsonExport";
|
|
279
277
|
} | {
|
|
280
278
|
name: "ttd";
|
|
281
|
-
tab: "text-to-diagram"
|
|
279
|
+
tab: "mermaid" | "text-to-diagram";
|
|
282
280
|
} | {
|
|
283
281
|
name: "commandPalette";
|
|
284
282
|
} | {
|
|
@@ -347,8 +345,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
347
345
|
shown: true;
|
|
348
346
|
data: import("../charts").Spreadsheet;
|
|
349
347
|
};
|
|
350
|
-
|
|
351
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
348
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
352
349
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
353
350
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
354
351
|
originSnapOffset: {
|
|
@@ -368,6 +365,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
368
365
|
lockedMultiSelections: {
|
|
369
366
|
[groupId: string]: true;
|
|
370
367
|
};
|
|
368
|
+
stylesPanelMode: "compact" | "full";
|
|
371
369
|
};
|
|
372
370
|
captureUpdate: "IMMEDIATELY";
|
|
373
371
|
} | {
|
|
@@ -405,7 +403,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
405
403
|
errorMessage: import("react").ReactNode;
|
|
406
404
|
activeEmbeddable: {
|
|
407
405
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
408
|
-
state: "
|
|
406
|
+
state: "active" | "hover";
|
|
409
407
|
} | null;
|
|
410
408
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
411
409
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -418,7 +416,6 @@ export declare const actionupdateFrameRendering: {
|
|
|
418
416
|
editingFrame: string | null;
|
|
419
417
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
420
418
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
421
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
422
419
|
activeTool: {
|
|
423
420
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
424
421
|
locked: boolean;
|
|
@@ -457,7 +454,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
457
454
|
value: import("../types").NormalizedZoomValue;
|
|
458
455
|
}>;
|
|
459
456
|
openMenu: "canvas" | "shape" | null;
|
|
460
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
457
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
461
458
|
openSidebar: {
|
|
462
459
|
name: string;
|
|
463
460
|
tab?: string | undefined;
|
|
@@ -466,7 +463,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
466
463
|
name: "imageExport" | "help" | "jsonExport";
|
|
467
464
|
} | {
|
|
468
465
|
name: "ttd";
|
|
469
|
-
tab: "text-to-diagram"
|
|
466
|
+
tab: "mermaid" | "text-to-diagram";
|
|
470
467
|
} | {
|
|
471
468
|
name: "commandPalette";
|
|
472
469
|
} | {
|
|
@@ -538,8 +535,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
538
535
|
shown: true;
|
|
539
536
|
data: import("../charts").Spreadsheet;
|
|
540
537
|
};
|
|
541
|
-
|
|
542
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
538
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
543
539
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
544
540
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
545
541
|
originSnapOffset: {
|
|
@@ -559,6 +555,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
559
555
|
lockedMultiSelections: {
|
|
560
556
|
[groupId: string]: true;
|
|
561
557
|
};
|
|
558
|
+
stylesPanelMode: "compact" | "full";
|
|
562
559
|
};
|
|
563
560
|
captureUpdate: "EVENTUALLY";
|
|
564
561
|
};
|
|
@@ -592,7 +589,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
592
589
|
errorMessage: import("react").ReactNode;
|
|
593
590
|
activeEmbeddable: {
|
|
594
591
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
595
|
-
state: "
|
|
592
|
+
state: "active" | "hover";
|
|
596
593
|
} | null;
|
|
597
594
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
598
595
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -611,7 +608,6 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
611
608
|
editingFrame: string | null;
|
|
612
609
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
613
610
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
614
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
615
611
|
penMode: boolean;
|
|
616
612
|
penDetected: boolean;
|
|
617
613
|
exportBackground: boolean;
|
|
@@ -645,7 +641,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
645
641
|
value: import("../types").NormalizedZoomValue;
|
|
646
642
|
}>;
|
|
647
643
|
openMenu: "canvas" | "shape" | null;
|
|
648
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
644
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
649
645
|
openSidebar: {
|
|
650
646
|
name: string;
|
|
651
647
|
tab?: string | undefined;
|
|
@@ -654,7 +650,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
654
650
|
name: "imageExport" | "help" | "jsonExport";
|
|
655
651
|
} | {
|
|
656
652
|
name: "ttd";
|
|
657
|
-
tab: "text-to-diagram"
|
|
653
|
+
tab: "mermaid" | "text-to-diagram";
|
|
658
654
|
} | {
|
|
659
655
|
name: "commandPalette";
|
|
660
656
|
} | {
|
|
@@ -726,8 +722,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
726
722
|
shown: true;
|
|
727
723
|
data: import("../charts").Spreadsheet;
|
|
728
724
|
};
|
|
729
|
-
|
|
730
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
725
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
731
726
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
732
727
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
733
728
|
originSnapOffset: {
|
|
@@ -747,12 +742,13 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
747
742
|
lockedMultiSelections: {
|
|
748
743
|
[groupId: string]: true;
|
|
749
744
|
};
|
|
745
|
+
stylesPanelMode: "compact" | "full";
|
|
750
746
|
};
|
|
751
747
|
captureUpdate: "EVENTUALLY";
|
|
752
748
|
};
|
|
753
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
749
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
754
750
|
} & {
|
|
755
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
751
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
756
752
|
};
|
|
757
753
|
export declare const actionWrapSelectionInFrame: {
|
|
758
754
|
name: "wrapSelectionInFrame";
|
|
@@ -789,15 +785,21 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
789
785
|
frameId: string | null;
|
|
790
786
|
boundElements: readonly Readonly<{
|
|
791
787
|
id: string;
|
|
792
|
-
type: "
|
|
788
|
+
type: "arrow" | "text";
|
|
793
789
|
}>[] | null;
|
|
794
790
|
updated: number;
|
|
795
791
|
link: string | null;
|
|
796
792
|
locked: boolean;
|
|
797
793
|
customData?: Record<string, any> | undefined;
|
|
794
|
+
}> & Readonly<{
|
|
795
|
+
type: "line" | "arrow";
|
|
796
|
+
points: readonly import("@excalidraw/math").LocalPoint[];
|
|
797
|
+
lastCommittedPoint: import("@excalidraw/math").LocalPoint | null;
|
|
798
|
+
startBinding: import("@excalidraw/element/types").PointBinding | null;
|
|
799
|
+
endBinding: import("@excalidraw/element/types").PointBinding | null;
|
|
800
|
+
startArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
801
|
+
endArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
798
802
|
}> & {
|
|
799
|
-
type: "selection";
|
|
800
|
-
} & {
|
|
801
803
|
index: import("@excalidraw/element/types").FractionalIndex;
|
|
802
804
|
}) | (Readonly<{
|
|
803
805
|
id: string;
|
|
@@ -826,14 +828,14 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
826
828
|
frameId: string | null;
|
|
827
829
|
boundElements: readonly Readonly<{
|
|
828
830
|
id: string;
|
|
829
|
-
type: "
|
|
831
|
+
type: "arrow" | "text";
|
|
830
832
|
}>[] | null;
|
|
831
833
|
updated: number;
|
|
832
834
|
link: string | null;
|
|
833
835
|
locked: boolean;
|
|
834
836
|
customData?: Record<string, any> | undefined;
|
|
835
837
|
}> & {
|
|
836
|
-
type: "
|
|
838
|
+
type: "selection";
|
|
837
839
|
} & {
|
|
838
840
|
index: import("@excalidraw/element/types").FractionalIndex;
|
|
839
841
|
}) | (Readonly<{
|
|
@@ -863,14 +865,14 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
863
865
|
frameId: string | null;
|
|
864
866
|
boundElements: readonly Readonly<{
|
|
865
867
|
id: string;
|
|
866
|
-
type: "
|
|
868
|
+
type: "arrow" | "text";
|
|
867
869
|
}>[] | null;
|
|
868
870
|
updated: number;
|
|
869
871
|
link: string | null;
|
|
870
872
|
locked: boolean;
|
|
871
873
|
customData?: Record<string, any> | undefined;
|
|
872
874
|
}> & {
|
|
873
|
-
type: "
|
|
875
|
+
type: "rectangle";
|
|
874
876
|
} & {
|
|
875
877
|
index: import("@excalidraw/element/types").FractionalIndex;
|
|
876
878
|
}) | (Readonly<{
|
|
@@ -900,14 +902,14 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
900
902
|
frameId: string | null;
|
|
901
903
|
boundElements: readonly Readonly<{
|
|
902
904
|
id: string;
|
|
903
|
-
type: "
|
|
905
|
+
type: "arrow" | "text";
|
|
904
906
|
}>[] | null;
|
|
905
907
|
updated: number;
|
|
906
908
|
link: string | null;
|
|
907
909
|
locked: boolean;
|
|
908
910
|
customData?: Record<string, any> | undefined;
|
|
909
911
|
}> & {
|
|
910
|
-
type: "
|
|
912
|
+
type: "diamond";
|
|
911
913
|
} & {
|
|
912
914
|
index: import("@excalidraw/element/types").FractionalIndex;
|
|
913
915
|
}) | (Readonly<{
|
|
@@ -937,26 +939,15 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
937
939
|
frameId: string | null;
|
|
938
940
|
boundElements: readonly Readonly<{
|
|
939
941
|
id: string;
|
|
940
|
-
type: "
|
|
942
|
+
type: "arrow" | "text";
|
|
941
943
|
}>[] | null;
|
|
942
944
|
updated: number;
|
|
943
945
|
link: string | null;
|
|
944
946
|
locked: boolean;
|
|
945
947
|
customData?: Record<string, any> | undefined;
|
|
946
|
-
}> & Readonly<{
|
|
947
|
-
type: "text";
|
|
948
|
-
fontSize: number;
|
|
949
|
-
fontFamily: number;
|
|
950
|
-
text: string;
|
|
951
|
-
textAlign: string;
|
|
952
|
-
verticalAlign: string;
|
|
953
|
-
containerId: string | null;
|
|
954
|
-
originalText: string;
|
|
955
|
-
autoResize: boolean;
|
|
956
|
-
lineHeight: number & {
|
|
957
|
-
_brand: "unitlessLineHeight";
|
|
958
|
-
};
|
|
959
948
|
}> & {
|
|
949
|
+
type: "ellipse";
|
|
950
|
+
} & {
|
|
960
951
|
index: import("@excalidraw/element/types").FractionalIndex;
|
|
961
952
|
}) | (Readonly<{
|
|
962
953
|
id: string;
|
|
@@ -985,20 +976,14 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
985
976
|
frameId: string | null;
|
|
986
977
|
boundElements: readonly Readonly<{
|
|
987
978
|
id: string;
|
|
988
|
-
type: "
|
|
979
|
+
type: "arrow" | "text";
|
|
989
980
|
}>[] | null;
|
|
990
981
|
updated: number;
|
|
991
982
|
link: string | null;
|
|
992
983
|
locked: boolean;
|
|
993
984
|
customData?: Record<string, any> | undefined;
|
|
994
985
|
}> & Readonly<{
|
|
995
|
-
type: "
|
|
996
|
-
points: readonly import("@excalidraw/math").LocalPoint[];
|
|
997
|
-
lastCommittedPoint: import("@excalidraw/math").LocalPoint | null;
|
|
998
|
-
startBinding: import("@excalidraw/element/types").PointBinding | null;
|
|
999
|
-
endBinding: import("@excalidraw/element/types").PointBinding | null;
|
|
1000
|
-
startArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
1001
|
-
endArrowhead: import("@excalidraw/element/types").Arrowhead | null;
|
|
986
|
+
type: "embeddable";
|
|
1002
987
|
}> & {
|
|
1003
988
|
index: import("@excalidraw/element/types").FractionalIndex;
|
|
1004
989
|
}) | (Readonly<{
|
|
@@ -1028,18 +1013,17 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1028
1013
|
frameId: string | null;
|
|
1029
1014
|
boundElements: readonly Readonly<{
|
|
1030
1015
|
id: string;
|
|
1031
|
-
type: "
|
|
1016
|
+
type: "arrow" | "text";
|
|
1032
1017
|
}>[] | null;
|
|
1033
1018
|
updated: number;
|
|
1034
1019
|
link: string | null;
|
|
1035
1020
|
locked: boolean;
|
|
1036
1021
|
customData?: Record<string, any> | undefined;
|
|
1037
1022
|
}> & Readonly<{
|
|
1038
|
-
type: "
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
lastCommittedPoint: import("@excalidraw/math").LocalPoint | null;
|
|
1023
|
+
type: "iframe";
|
|
1024
|
+
customData?: {
|
|
1025
|
+
generationData?: import("@excalidraw/element/types").MagicGenerationData | undefined;
|
|
1026
|
+
} | undefined;
|
|
1043
1027
|
}> & {
|
|
1044
1028
|
index: import("@excalidraw/element/types").FractionalIndex;
|
|
1045
1029
|
}) | (Readonly<{
|
|
@@ -1069,7 +1053,7 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1069
1053
|
frameId: string | null;
|
|
1070
1054
|
boundElements: readonly Readonly<{
|
|
1071
1055
|
id: string;
|
|
1072
|
-
type: "
|
|
1056
|
+
type: "arrow" | "text";
|
|
1073
1057
|
}>[] | null;
|
|
1074
1058
|
updated: number;
|
|
1075
1059
|
link: string | null;
|
|
@@ -1078,7 +1062,7 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1078
1062
|
}> & Readonly<{
|
|
1079
1063
|
type: "image";
|
|
1080
1064
|
fileId: import("@excalidraw/element/types").FileId | null;
|
|
1081
|
-
status: "
|
|
1065
|
+
status: "pending" | "error" | "saved";
|
|
1082
1066
|
scale: [number, number];
|
|
1083
1067
|
crop: import("@excalidraw/element/types").ImageCrop | null;
|
|
1084
1068
|
}> & {
|
|
@@ -1110,7 +1094,7 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1110
1094
|
frameId: string | null;
|
|
1111
1095
|
boundElements: readonly Readonly<{
|
|
1112
1096
|
id: string;
|
|
1113
|
-
type: "
|
|
1097
|
+
type: "arrow" | "text";
|
|
1114
1098
|
}>[] | null;
|
|
1115
1099
|
updated: number;
|
|
1116
1100
|
link: string | null;
|
|
@@ -1148,7 +1132,7 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1148
1132
|
frameId: string | null;
|
|
1149
1133
|
boundElements: readonly Readonly<{
|
|
1150
1134
|
id: string;
|
|
1151
|
-
type: "
|
|
1135
|
+
type: "arrow" | "text";
|
|
1152
1136
|
}>[] | null;
|
|
1153
1137
|
updated: number;
|
|
1154
1138
|
link: string | null;
|
|
@@ -1186,17 +1170,25 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1186
1170
|
frameId: string | null;
|
|
1187
1171
|
boundElements: readonly Readonly<{
|
|
1188
1172
|
id: string;
|
|
1189
|
-
type: "
|
|
1173
|
+
type: "arrow" | "text";
|
|
1190
1174
|
}>[] | null;
|
|
1191
1175
|
updated: number;
|
|
1192
1176
|
link: string | null;
|
|
1193
1177
|
locked: boolean;
|
|
1194
1178
|
customData?: Record<string, any> | undefined;
|
|
1195
1179
|
}> & Readonly<{
|
|
1196
|
-
type: "
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1180
|
+
type: "text";
|
|
1181
|
+
fontSize: number;
|
|
1182
|
+
fontFamily: number;
|
|
1183
|
+
text: string;
|
|
1184
|
+
textAlign: string;
|
|
1185
|
+
verticalAlign: string;
|
|
1186
|
+
containerId: string | null;
|
|
1187
|
+
originalText: string;
|
|
1188
|
+
autoResize: boolean;
|
|
1189
|
+
lineHeight: number & {
|
|
1190
|
+
_brand: "unitlessLineHeight";
|
|
1191
|
+
};
|
|
1200
1192
|
}> & {
|
|
1201
1193
|
index: import("@excalidraw/element/types").FractionalIndex;
|
|
1202
1194
|
}) | (Readonly<{
|
|
@@ -1226,14 +1218,18 @@ export declare const actionWrapSelectionInFrame: {
|
|
|
1226
1218
|
frameId: string | null;
|
|
1227
1219
|
boundElements: readonly Readonly<{
|
|
1228
1220
|
id: string;
|
|
1229
|
-
type: "
|
|
1221
|
+
type: "arrow" | "text";
|
|
1230
1222
|
}>[] | null;
|
|
1231
1223
|
updated: number;
|
|
1232
1224
|
link: string | null;
|
|
1233
1225
|
locked: boolean;
|
|
1234
1226
|
customData?: Record<string, any> | undefined;
|
|
1235
1227
|
}> & Readonly<{
|
|
1236
|
-
type: "
|
|
1228
|
+
type: "freedraw";
|
|
1229
|
+
points: readonly import("@excalidraw/math").LocalPoint[];
|
|
1230
|
+
pressures: readonly number[];
|
|
1231
|
+
simulatePressure: boolean;
|
|
1232
|
+
lastCommittedPoint: import("@excalidraw/math").LocalPoint | null;
|
|
1237
1233
|
}> & {
|
|
1238
1234
|
index: import("@excalidraw/element/types").FractionalIndex;
|
|
1239
1235
|
}) | import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameElement>)[];
|
|
@@ -14,13 +14,13 @@ export declare const actionGroup: {
|
|
|
14
14
|
captureUpdate: "EVENTUALLY";
|
|
15
15
|
} | {
|
|
16
16
|
appState: {
|
|
17
|
+
editingGroupId: string | null;
|
|
17
18
|
selectedElementIds: Readonly<{
|
|
18
19
|
[id: string]: true;
|
|
19
20
|
}>;
|
|
20
21
|
selectedGroupIds: {
|
|
21
22
|
[groupId: string]: boolean;
|
|
22
23
|
};
|
|
23
|
-
editingGroupId: string | null;
|
|
24
24
|
contextMenu: {
|
|
25
25
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
26
26
|
top: number;
|
|
@@ -31,7 +31,7 @@ export declare const actionGroup: {
|
|
|
31
31
|
errorMessage: import("react").ReactNode;
|
|
32
32
|
activeEmbeddable: {
|
|
33
33
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
34
|
-
state: "
|
|
34
|
+
state: "active" | "hover";
|
|
35
35
|
} | null;
|
|
36
36
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
37
37
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -50,7 +50,6 @@ export declare const actionGroup: {
|
|
|
50
50
|
editingFrame: string | null;
|
|
51
51
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
52
52
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
53
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
54
53
|
activeTool: {
|
|
55
54
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
56
55
|
locked: boolean;
|
|
@@ -89,7 +88,7 @@ export declare const actionGroup: {
|
|
|
89
88
|
value: import("../types").NormalizedZoomValue;
|
|
90
89
|
}>;
|
|
91
90
|
openMenu: "canvas" | "shape" | null;
|
|
92
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
91
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
93
92
|
openSidebar: {
|
|
94
93
|
name: string;
|
|
95
94
|
tab?: string | undefined;
|
|
@@ -98,7 +97,7 @@ export declare const actionGroup: {
|
|
|
98
97
|
name: "imageExport" | "help" | "jsonExport";
|
|
99
98
|
} | {
|
|
100
99
|
name: "ttd";
|
|
101
|
-
tab: "text-to-diagram"
|
|
100
|
+
tab: "mermaid" | "text-to-diagram";
|
|
102
101
|
} | {
|
|
103
102
|
name: "commandPalette";
|
|
104
103
|
} | {
|
|
@@ -163,8 +162,7 @@ export declare const actionGroup: {
|
|
|
163
162
|
shown: true;
|
|
164
163
|
data: import("../charts").Spreadsheet;
|
|
165
164
|
};
|
|
166
|
-
|
|
167
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
165
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
168
166
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
169
167
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
170
168
|
originSnapOffset: {
|
|
@@ -184,15 +182,16 @@ export declare const actionGroup: {
|
|
|
184
182
|
lockedMultiSelections: {
|
|
185
183
|
[groupId: string]: true;
|
|
186
184
|
};
|
|
185
|
+
stylesPanelMode: "compact" | "full";
|
|
187
186
|
};
|
|
188
187
|
elements: OrderedExcalidrawElement[];
|
|
189
188
|
captureUpdate: "IMMEDIATELY";
|
|
190
189
|
};
|
|
191
190
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState, _: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
|
|
192
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
191
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
193
192
|
PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
194
193
|
} & {
|
|
195
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
194
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
196
195
|
};
|
|
197
196
|
export declare const actionUngroup: {
|
|
198
197
|
name: "ungroup";
|
|
@@ -207,13 +206,13 @@ export declare const actionUngroup: {
|
|
|
207
206
|
captureUpdate: "EVENTUALLY";
|
|
208
207
|
} | {
|
|
209
208
|
appState: {
|
|
209
|
+
editingGroupId: string | null;
|
|
210
210
|
selectedElementIds: Readonly<{
|
|
211
211
|
[id: string]: true;
|
|
212
212
|
}>;
|
|
213
213
|
selectedGroupIds: {
|
|
214
214
|
[groupId: string]: boolean;
|
|
215
215
|
};
|
|
216
|
-
editingGroupId: string | null;
|
|
217
216
|
contextMenu: {
|
|
218
217
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
219
218
|
top: number;
|
|
@@ -224,7 +223,7 @@ export declare const actionUngroup: {
|
|
|
224
223
|
errorMessage: import("react").ReactNode;
|
|
225
224
|
activeEmbeddable: {
|
|
226
225
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
227
|
-
state: "
|
|
226
|
+
state: "active" | "hover";
|
|
228
227
|
} | null;
|
|
229
228
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
230
229
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -243,7 +242,6 @@ export declare const actionUngroup: {
|
|
|
243
242
|
editingFrame: string | null;
|
|
244
243
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
245
244
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
246
|
-
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
247
245
|
activeTool: {
|
|
248
246
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
249
247
|
locked: boolean;
|
|
@@ -282,7 +280,7 @@ export declare const actionUngroup: {
|
|
|
282
280
|
value: import("../types").NormalizedZoomValue;
|
|
283
281
|
}>;
|
|
284
282
|
openMenu: "canvas" | "shape" | null;
|
|
285
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
283
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
286
284
|
openSidebar: {
|
|
287
285
|
name: string;
|
|
288
286
|
tab?: string | undefined;
|
|
@@ -291,7 +289,7 @@ export declare const actionUngroup: {
|
|
|
291
289
|
name: "imageExport" | "help" | "jsonExport";
|
|
292
290
|
} | {
|
|
293
291
|
name: "ttd";
|
|
294
|
-
tab: "text-to-diagram"
|
|
292
|
+
tab: "mermaid" | "text-to-diagram";
|
|
295
293
|
} | {
|
|
296
294
|
name: "commandPalette";
|
|
297
295
|
} | {
|
|
@@ -356,8 +354,7 @@ export declare const actionUngroup: {
|
|
|
356
354
|
shown: true;
|
|
357
355
|
data: import("../charts").Spreadsheet;
|
|
358
356
|
};
|
|
359
|
-
|
|
360
|
-
showHyperlinkPopup: false | "info" | "editor";
|
|
357
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
361
358
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
362
359
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
363
360
|
originSnapOffset: {
|
|
@@ -377,13 +374,14 @@ export declare const actionUngroup: {
|
|
|
377
374
|
lockedMultiSelections: {
|
|
378
375
|
[groupId: string]: true;
|
|
379
376
|
};
|
|
377
|
+
stylesPanelMode: "compact" | "full";
|
|
380
378
|
};
|
|
381
379
|
elements: OrderedExcalidrawElement[];
|
|
382
380
|
captureUpdate: "IMMEDIATELY";
|
|
383
381
|
};
|
|
384
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
382
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
385
383
|
predicate: (elements: readonly ExcalidrawElement[], appState: AppState) => boolean;
|
|
386
384
|
PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
387
385
|
} & {
|
|
388
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
386
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
389
387
|
};
|