@dwelle/excalidraw 0.5.0-ff7b5f2db → 0.5.0-ffade30
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/CHANGELOG.md +2385 -0
- package/dist/dev/{chunk-56C7N44U.js → chunk-CB6O5JO7.js} +16177 -10984
- package/dist/dev/chunk-CB6O5JO7.js.map +7 -0
- package/dist/dev/{chunk-DGCWVQGA.js → chunk-JB4JDZ66.js} +15 -4
- package/dist/dev/chunk-JB4JDZ66.js.map +7 -0
- package/dist/dev/chunk-QXVP5PAI.js +7 -0
- package/dist/dev/chunk-QXVP5PAI.js.map +7 -0
- package/dist/dev/data/{image-BLSI3C2P.js → image-JTJWA4BG.js} +3 -3
- package/dist/dev/index.css +143 -68
- package/dist/dev/index.css.map +3 -3
- package/dist/dev/index.js +3978 -6519
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{en-AAITTNRF.js → en-PIB5PD3P.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-JEM5OQGK.js +33 -0
- package/dist/prod/chunk-JH36RZFS.js +7 -0
- package/dist/prod/{chunk-OV23WS6X.js → chunk-KC3NX2DX.js} +4 -4
- package/dist/prod/data/image-UJJWHTZ6.js +1 -0
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +22 -21
- package/dist/prod/locales/{en-YOZMX4VX.js → en-RKTHI3YA.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/colors.d.ts +1 -0
- package/dist/types/common/src/constants.d.ts +11 -1
- package/dist/types/{excalidraw → common/src}/emitter.d.ts +1 -1
- package/dist/types/common/src/font-metadata.d.ts +4 -2
- package/dist/types/common/src/index.d.ts +1 -0
- package/dist/types/common/src/utility-types.d.ts +5 -0
- package/dist/types/common/src/utils.d.ts +22 -5
- package/dist/types/{excalidraw/scene → element/src}/Scene.d.ts +11 -14
- package/dist/types/element/src/ShapeCache.d.ts +1 -1
- package/dist/types/element/src/align.d.ts +3 -3
- package/dist/types/element/src/binding.d.ts +19 -11
- package/dist/types/element/src/bounds.d.ts +7 -2
- package/dist/types/element/src/collision.d.ts +1 -1
- package/dist/types/{excalidraw/change.d.ts → element/src/delta.d.ts} +40 -35
- package/dist/types/element/src/dragElements.d.ts +3 -2
- package/dist/types/element/src/duplicate.d.ts +10 -13
- package/dist/types/element/src/elbowArrow.d.ts +1 -1
- package/dist/types/element/src/flowchart.d.ts +3 -2
- package/dist/types/element/src/fractionalIndex.d.ts +2 -2
- package/dist/types/element/src/frame.d.ts +5 -4
- package/dist/types/element/src/heading.d.ts +0 -1
- package/dist/types/element/src/index.d.ts +45 -2
- package/dist/types/element/src/linearElementEditor.d.ts +19 -31
- package/dist/types/element/src/mutateElement.d.ts +10 -2
- package/dist/types/element/src/newElement.d.ts +4 -3
- package/dist/types/element/src/resizeElements.d.ts +4 -4
- package/dist/types/element/src/selection.d.ts +11 -5
- package/dist/types/element/src/shapes.d.ts +5 -1
- package/dist/types/element/src/sizeHelpers.d.ts +1 -1
- package/dist/types/element/src/store.d.ts +227 -0
- package/dist/types/element/src/textElement.d.ts +5 -3
- 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 +14 -1
- package/dist/types/element/src/zindex.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +42 -45
- package/dist/types/excalidraw/actions/actionAlign.d.ts +8 -8
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +28 -30
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +438 -275
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +86 -92
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +14 -15
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +40 -43
- 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 +14 -15
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +43 -47
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +14 -15
- package/dist/types/excalidraw/actions/actionExport.d.ts +219 -228
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +73 -36
- package/dist/types/excalidraw/actions/actionFlip.d.ts +4 -4
- package/dist/types/excalidraw/actions/actionFrame.d.ts +100 -104
- package/dist/types/excalidraw/actions/actionGroup.d.ts +34 -36
- package/dist/types/excalidraw/actions/actionHistory.d.ts +1 -2
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +506 -14
- package/dist/types/excalidraw/actions/actionLink.d.ts +14 -15
- package/dist/types/excalidraw/actions/actionMenu.d.ts +42 -45
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +27 -29
- package/dist/types/excalidraw/actions/actionProperties.d.ts +207 -214
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +16 -17
- package/dist/types/excalidraw/actions/actionStyles.d.ts +18 -19
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +16 -17
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +16 -17
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +16 -189
- package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +19 -0
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +16 -18
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +16 -18
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +16 -18
- package/dist/types/excalidraw/actions/actionZindex.d.ts +8 -8
- package/dist/types/excalidraw/actions/types.d.ts +4 -3
- package/dist/types/excalidraw/animated-trail.d.ts +7 -1
- package/dist/types/excalidraw/appState.d.ts +40 -30
- package/dist/types/excalidraw/components/App.d.ts +30 -12
- package/dist/types/excalidraw/components/ButtonIcon.d.ts +1 -0
- package/dist/types/excalidraw/components/ColorPicker/ColorInput.d.ts +2 -1
- package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +5 -1
- package/dist/types/excalidraw/components/ColorPicker/CustomColorList.d.ts +1 -1
- package/dist/types/excalidraw/components/ColorPicker/HotkeyLabel.d.ts +1 -2
- package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -3
- package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +2 -3
- package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +2 -2
- package/dist/types/excalidraw/components/ColorPicker/TopPicks.d.ts +1 -1
- package/dist/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +2 -2
- package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +1 -1
- package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +23 -0
- package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +4 -3
- package/dist/types/excalidraw/components/{ButtonIconSelect.d.ts → RadioSelection.d.ts} +1 -1
- package/dist/types/excalidraw/components/Range.d.ts +3 -3
- package/dist/types/excalidraw/components/Stats/Angle.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/CanvasGrid.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/Collapsible.d.ts +2 -1
- package/dist/types/excalidraw/components/Stats/Dimension.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/DragInput.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/FontSize.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/MultiAngle.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/MultiDimension.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/MultiFontSize.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/MultiPosition.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/Position.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/utils.d.ts +4 -11
- package/dist/types/excalidraw/components/UnlockPopup.d.ts +8 -0
- package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +1 -0
- package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +3 -2
- package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +2 -1
- package/dist/types/excalidraw/components/icons.d.ts +4 -0
- package/dist/types/excalidraw/components/shapes.d.ts +1 -1
- package/dist/types/excalidraw/data/blob.d.ts +1 -1
- package/dist/types/excalidraw/data/transform.d.ts +1 -1
- package/dist/types/excalidraw/editor-jotai.d.ts +6 -6
- package/dist/types/excalidraw/eraser/index.d.ts +14 -0
- package/dist/types/excalidraw/fonts/Fonts.d.ts +1 -1
- package/dist/types/excalidraw/history.d.ts +14 -22
- package/dist/types/excalidraw/hooks/useEmitter.d.ts +1 -1
- package/dist/types/excalidraw/index.d.ts +9 -9
- package/dist/types/excalidraw/lasso/index.d.ts +16 -0
- package/dist/types/excalidraw/lasso/utils.d.ts +12 -0
- package/dist/types/excalidraw/renderer/helpers.d.ts +6 -1
- package/dist/types/excalidraw/scene/Renderer.d.ts +1 -1
- package/dist/types/excalidraw/scene/export.d.ts +1 -1
- package/dist/types/excalidraw/scene/index.d.ts +2 -2
- package/dist/types/excalidraw/scene/scrollbars.d.ts +2 -3
- package/dist/types/excalidraw/scene/types.d.ts +2 -0
- package/dist/types/excalidraw/snapping.d.ts +2 -2
- package/dist/types/excalidraw/types.d.ts +30 -7
- package/dist/types/excalidraw/visualdebug.d.ts +1 -1
- package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +3 -1
- package/dist/types/math/src/curve.d.ts +2 -0
- package/dist/types/math/src/point.d.ts +1 -1
- package/dist/types/math/src/polygon.d.ts +1 -0
- package/dist/types/math/src/segment.d.ts +1 -1
- package/dist/types/math/src/types.d.ts +1 -0
- package/dist/types/math/src/vector.d.ts +4 -0
- package/dist/types/utils/src/bbox.d.ts +1 -1
- package/dist/types/utils/src/index.d.ts +1 -1
- package/dist/types/utils/src/withinBounds.d.ts +1 -1
- package/history.ts +186 -0
- package/package.json +9 -4
- package/dist/dev/chunk-56C7N44U.js.map +0 -7
- package/dist/dev/chunk-DGCWVQGA.js.map +0 -7
- package/dist/dev/chunk-HQHB2BE4.js +0 -7
- package/dist/dev/chunk-HQHB2BE4.js.map +0 -7
- package/dist/prod/chunk-BUJ2ENHZ.js +0 -31
- package/dist/prod/chunk-C3FOHAIA.js +0 -7
- package/dist/prod/data/image-MI7OQWUS.js +0 -1
- package/dist/types/excalidraw/components/ButtonSelect.d.ts +0 -9
- package/dist/types/excalidraw/store.d.ts +0 -129
- /package/dist/dev/data/{image-BLSI3C2P.js.map → image-JTJWA4BG.js.map} +0 -0
- /package/dist/dev/locales/{en-AAITTNRF.js.map → en-PIB5PD3P.js.map} +0 -0
|
@@ -26,7 +26,7 @@ export declare const actionToggleCanvasMenu: {
|
|
|
26
26
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
27
27
|
isBindingEnabled: boolean;
|
|
28
28
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
29
|
-
suggestedBindings: import("@excalidraw/element
|
|
29
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
30
30
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
31
31
|
frameRendering: {
|
|
32
32
|
enabled: boolean;
|
|
@@ -37,10 +37,11 @@ export declare const actionToggleCanvasMenu: {
|
|
|
37
37
|
editingFrame: string | null;
|
|
38
38
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
39
39
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
40
|
-
editingLinearElement: import("@excalidraw/element
|
|
40
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
41
41
|
activeTool: {
|
|
42
42
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
43
43
|
locked: boolean;
|
|
44
|
+
fromSelection: boolean;
|
|
44
45
|
} & import("../types").ActiveTool;
|
|
45
46
|
penMode: boolean;
|
|
46
47
|
penDetected: boolean;
|
|
@@ -156,8 +157,8 @@ export declare const actionToggleCanvasMenu: {
|
|
|
156
157
|
data: import("../charts").Spreadsheet;
|
|
157
158
|
};
|
|
158
159
|
pendingImageElementId: string | null;
|
|
159
|
-
showHyperlinkPopup: false | "
|
|
160
|
-
selectedLinearElement: import("@excalidraw/element
|
|
160
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
161
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
161
162
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
162
163
|
originSnapOffset: {
|
|
163
164
|
x: number;
|
|
@@ -168,16 +169,14 @@ export declare const actionToggleCanvasMenu: {
|
|
|
168
169
|
followedBy: Set<import("../types").SocketId>;
|
|
169
170
|
isCropping: boolean;
|
|
170
171
|
croppingElementId: string | null;
|
|
171
|
-
searchMatches:
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
}[];
|
|
180
|
-
}[];
|
|
172
|
+
searchMatches: Readonly<{
|
|
173
|
+
focusedId: string | null;
|
|
174
|
+
matches: readonly import("../types").SearchMatch[];
|
|
175
|
+
}> | null;
|
|
176
|
+
activeLockedId: string | null;
|
|
177
|
+
lockedMultiSelections: {
|
|
178
|
+
[groupId: string]: true;
|
|
179
|
+
};
|
|
181
180
|
};
|
|
182
181
|
captureUpdate: "EVENTUALLY";
|
|
183
182
|
};
|
|
@@ -212,7 +211,7 @@ export declare const actionToggleEditMenu: {
|
|
|
212
211
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
213
212
|
isBindingEnabled: boolean;
|
|
214
213
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
215
|
-
suggestedBindings: import("@excalidraw/element
|
|
214
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
216
215
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
217
216
|
frameRendering: {
|
|
218
217
|
enabled: boolean;
|
|
@@ -223,10 +222,11 @@ export declare const actionToggleEditMenu: {
|
|
|
223
222
|
editingFrame: string | null;
|
|
224
223
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
225
224
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
226
|
-
editingLinearElement: import("@excalidraw/element
|
|
225
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
227
226
|
activeTool: {
|
|
228
227
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
229
228
|
locked: boolean;
|
|
229
|
+
fromSelection: boolean;
|
|
230
230
|
} & import("../types").ActiveTool;
|
|
231
231
|
penMode: boolean;
|
|
232
232
|
penDetected: boolean;
|
|
@@ -342,8 +342,8 @@ export declare const actionToggleEditMenu: {
|
|
|
342
342
|
data: import("../charts").Spreadsheet;
|
|
343
343
|
};
|
|
344
344
|
pendingImageElementId: string | null;
|
|
345
|
-
showHyperlinkPopup: false | "
|
|
346
|
-
selectedLinearElement: import("@excalidraw/element
|
|
345
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
346
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
347
347
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
348
348
|
originSnapOffset: {
|
|
349
349
|
x: number;
|
|
@@ -354,16 +354,14 @@ export declare const actionToggleEditMenu: {
|
|
|
354
354
|
followedBy: Set<import("../types").SocketId>;
|
|
355
355
|
isCropping: boolean;
|
|
356
356
|
croppingElementId: string | null;
|
|
357
|
-
searchMatches:
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
}[];
|
|
366
|
-
}[];
|
|
357
|
+
searchMatches: Readonly<{
|
|
358
|
+
focusedId: string | null;
|
|
359
|
+
matches: readonly import("../types").SearchMatch[];
|
|
360
|
+
}> | null;
|
|
361
|
+
activeLockedId: string | null;
|
|
362
|
+
lockedMultiSelections: {
|
|
363
|
+
[groupId: string]: true;
|
|
364
|
+
};
|
|
367
365
|
};
|
|
368
366
|
captureUpdate: "EVENTUALLY";
|
|
369
367
|
};
|
|
@@ -403,7 +401,7 @@ export declare const actionShortcuts: {
|
|
|
403
401
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
404
402
|
isBindingEnabled: boolean;
|
|
405
403
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
406
|
-
suggestedBindings: import("@excalidraw/element
|
|
404
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
407
405
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
408
406
|
frameRendering: {
|
|
409
407
|
enabled: boolean;
|
|
@@ -414,10 +412,11 @@ export declare const actionShortcuts: {
|
|
|
414
412
|
editingFrame: string | null;
|
|
415
413
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
416
414
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
417
|
-
editingLinearElement: import("@excalidraw/element
|
|
415
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
418
416
|
activeTool: {
|
|
419
417
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
420
418
|
locked: boolean;
|
|
419
|
+
fromSelection: boolean;
|
|
421
420
|
} & import("../types").ActiveTool;
|
|
422
421
|
penMode: boolean;
|
|
423
422
|
penDetected: boolean;
|
|
@@ -451,7 +450,7 @@ export declare const actionShortcuts: {
|
|
|
451
450
|
zoom: Readonly<{
|
|
452
451
|
value: import("../types").NormalizedZoomValue;
|
|
453
452
|
}>;
|
|
454
|
-
openMenu: "
|
|
453
|
+
openMenu: "canvas" | "shape" | null;
|
|
455
454
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
456
455
|
openSidebar: {
|
|
457
456
|
name: string;
|
|
@@ -523,8 +522,8 @@ export declare const actionShortcuts: {
|
|
|
523
522
|
data: import("../charts").Spreadsheet;
|
|
524
523
|
};
|
|
525
524
|
pendingImageElementId: string | null;
|
|
526
|
-
showHyperlinkPopup: false | "
|
|
527
|
-
selectedLinearElement: import("@excalidraw/element
|
|
525
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
526
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
528
527
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
529
528
|
originSnapOffset: {
|
|
530
529
|
x: number;
|
|
@@ -535,20 +534,18 @@ export declare const actionShortcuts: {
|
|
|
535
534
|
followedBy: Set<import("../types").SocketId>;
|
|
536
535
|
isCropping: boolean;
|
|
537
536
|
croppingElementId: string | null;
|
|
538
|
-
searchMatches:
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
}[];
|
|
547
|
-
}[];
|
|
537
|
+
searchMatches: Readonly<{
|
|
538
|
+
focusedId: string | null;
|
|
539
|
+
matches: readonly import("../types").SearchMatch[];
|
|
540
|
+
}> | null;
|
|
541
|
+
activeLockedId: string | null;
|
|
542
|
+
lockedMultiSelections: {
|
|
543
|
+
[groupId: string]: true;
|
|
544
|
+
};
|
|
548
545
|
};
|
|
549
546
|
captureUpdate: "EVENTUALLY";
|
|
550
547
|
};
|
|
551
|
-
keyTest: (event:
|
|
548
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
552
549
|
} & {
|
|
553
|
-
keyTest?: ((event:
|
|
550
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
554
551
|
};
|
|
@@ -28,7 +28,7 @@ export declare const actionGoToCollaborator: {
|
|
|
28
28
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
29
29
|
isBindingEnabled: boolean;
|
|
30
30
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
31
|
-
suggestedBindings: import("@excalidraw/element
|
|
31
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
32
32
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
33
33
|
frameRendering: {
|
|
34
34
|
enabled: boolean;
|
|
@@ -39,10 +39,11 @@ export declare const actionGoToCollaborator: {
|
|
|
39
39
|
editingFrame: string | null;
|
|
40
40
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
41
41
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
42
|
-
editingLinearElement: import("@excalidraw/element
|
|
42
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
43
43
|
activeTool: {
|
|
44
44
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
45
45
|
locked: boolean;
|
|
46
|
+
fromSelection: boolean;
|
|
46
47
|
} & import("../types").ActiveTool;
|
|
47
48
|
penMode: boolean;
|
|
48
49
|
penDetected: boolean;
|
|
@@ -76,7 +77,7 @@ export declare const actionGoToCollaborator: {
|
|
|
76
77
|
zoom: Readonly<{
|
|
77
78
|
value: import("../types").NormalizedZoomValue;
|
|
78
79
|
}>;
|
|
79
|
-
openMenu: "
|
|
80
|
+
openMenu: "canvas" | "shape" | null;
|
|
80
81
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
81
82
|
openSidebar: {
|
|
82
83
|
name: string;
|
|
@@ -159,8 +160,8 @@ export declare const actionGoToCollaborator: {
|
|
|
159
160
|
data: import("../charts").Spreadsheet;
|
|
160
161
|
};
|
|
161
162
|
pendingImageElementId: string | null;
|
|
162
|
-
showHyperlinkPopup: false | "
|
|
163
|
-
selectedLinearElement: import("@excalidraw/element
|
|
163
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
164
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
164
165
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
165
166
|
originSnapOffset: {
|
|
166
167
|
x: number;
|
|
@@ -170,16 +171,14 @@ export declare const actionGoToCollaborator: {
|
|
|
170
171
|
followedBy: Set<import("../types").SocketId>;
|
|
171
172
|
isCropping: boolean;
|
|
172
173
|
croppingElementId: string | null;
|
|
173
|
-
searchMatches:
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
}[];
|
|
182
|
-
}[];
|
|
174
|
+
searchMatches: Readonly<{
|
|
175
|
+
focusedId: string | null;
|
|
176
|
+
matches: readonly import("../types").SearchMatch[];
|
|
177
|
+
}> | null;
|
|
178
|
+
activeLockedId: string | null;
|
|
179
|
+
lockedMultiSelections: {
|
|
180
|
+
[groupId: string]: true;
|
|
181
|
+
};
|
|
183
182
|
};
|
|
184
183
|
captureUpdate: "EVENTUALLY";
|
|
185
184
|
} | {
|
|
@@ -207,7 +206,7 @@ export declare const actionGoToCollaborator: {
|
|
|
207
206
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
208
207
|
isBindingEnabled: boolean;
|
|
209
208
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
210
|
-
suggestedBindings: import("@excalidraw/element
|
|
209
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
211
210
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
212
211
|
frameRendering: {
|
|
213
212
|
enabled: boolean;
|
|
@@ -218,10 +217,11 @@ export declare const actionGoToCollaborator: {
|
|
|
218
217
|
editingFrame: string | null;
|
|
219
218
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
220
219
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
221
|
-
editingLinearElement: import("@excalidraw/element
|
|
220
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
222
221
|
activeTool: {
|
|
223
222
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
224
223
|
locked: boolean;
|
|
224
|
+
fromSelection: boolean;
|
|
225
225
|
} & import("../types").ActiveTool;
|
|
226
226
|
penMode: boolean;
|
|
227
227
|
penDetected: boolean;
|
|
@@ -337,8 +337,8 @@ export declare const actionGoToCollaborator: {
|
|
|
337
337
|
data: import("../charts").Spreadsheet;
|
|
338
338
|
};
|
|
339
339
|
pendingImageElementId: string | null;
|
|
340
|
-
showHyperlinkPopup: false | "
|
|
341
|
-
selectedLinearElement: import("@excalidraw/element
|
|
340
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
341
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
342
342
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
343
343
|
originSnapOffset: {
|
|
344
344
|
x: number;
|
|
@@ -348,16 +348,14 @@ export declare const actionGoToCollaborator: {
|
|
|
348
348
|
followedBy: Set<import("../types").SocketId>;
|
|
349
349
|
isCropping: boolean;
|
|
350
350
|
croppingElementId: string | null;
|
|
351
|
-
searchMatches:
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
}[];
|
|
360
|
-
}[];
|
|
351
|
+
searchMatches: Readonly<{
|
|
352
|
+
focusedId: string | null;
|
|
353
|
+
matches: readonly import("../types").SearchMatch[];
|
|
354
|
+
}> | null;
|
|
355
|
+
activeLockedId: string | null;
|
|
356
|
+
lockedMultiSelections: {
|
|
357
|
+
[groupId: string]: true;
|
|
358
|
+
};
|
|
361
359
|
};
|
|
362
360
|
captureUpdate: "EVENTUALLY";
|
|
363
361
|
};
|