@excalidraw/excalidraw 0.18.0-6fc8502 → 0.18.0-864353b
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-X3RYHLJU.js → chunk-7YMZV3TY.js} +14 -4
- package/dist/dev/chunk-7YMZV3TY.js.map +7 -0
- package/dist/dev/chunk-BBNNHA7I.js +7 -0
- package/dist/dev/chunk-BBNNHA7I.js.map +7 -0
- package/dist/dev/{chunk-KYBDXI6F.js → chunk-LL55DS44.js} +15037 -10099
- package/dist/dev/chunk-LL55DS44.js.map +7 -0
- package/dist/dev/data/{image-NKFINVKH.js → image-OFYK7EOY.js} +3 -3
- package/dist/dev/index.css +100 -22
- package/dist/dev/index.css.map +3 -3
- package/dist/dev/index.js +3531 -6486
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{en-CKWC2GMK.js → en-KIY5SGI3.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-F44EGBV2.js +33 -0
- package/dist/prod/{chunk-IUH5AXLB.js → chunk-OUULIERA.js} +4 -4
- package/dist/prod/chunk-UH6Q3EIV.js +7 -0
- package/dist/prod/data/image-CUOH64HE.js +1 -0
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +18 -17
- package/dist/prod/locales/{en-SBO6ZHT2.js → en-GCLCIHXH.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 +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 -4
- 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 -12
- package/dist/types/element/src/bounds.d.ts +2 -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/index.d.ts +45 -2
- package/dist/types/element/src/linearElementEditor.d.ts +20 -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 +2 -2
- 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 +39 -45
- package/dist/types/excalidraw/actions/actionAlign.d.ts +8 -8
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +26 -30
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +262 -288
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +81 -92
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +13 -15
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +38 -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 +13 -15
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +41 -46
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +13 -15
- package/dist/types/excalidraw/actions/actionExport.d.ts +210 -228
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +72 -36
- package/dist/types/excalidraw/actions/actionFlip.d.ts +4 -4
- package/dist/types/excalidraw/actions/actionFrame.d.ts +96 -104
- package/dist/types/excalidraw/actions/actionGroup.d.ts +32 -36
- package/dist/types/excalidraw/actions/actionHistory.d.ts +1 -2
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +505 -14
- package/dist/types/excalidraw/actions/actionLink.d.ts +13 -15
- package/dist/types/excalidraw/actions/actionMenu.d.ts +39 -45
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +25 -29
- package/dist/types/excalidraw/actions/actionProperties.d.ts +192 -214
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +15 -17
- package/dist/types/excalidraw/actions/actionStyles.d.ts +17 -19
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +15 -17
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +15 -17
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +15 -190
- package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +19 -0
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +15 -17
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +15 -17
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +15 -17
- package/dist/types/excalidraw/actions/actionZindex.d.ts +8 -8
- package/dist/types/excalidraw/actions/types.d.ts +4 -3
- package/dist/types/excalidraw/appState.d.ts +38 -29
- package/dist/types/excalidraw/components/App.d.ts +24 -11
- 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/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 +1 -1
- 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 +3 -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 +1 -0
- package/dist/types/excalidraw/lasso/utils.d.ts +1 -2
- package/dist/types/excalidraw/renderer/helpers.d.ts +7 -2
- package/dist/types/excalidraw/scene/Renderer.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 +28 -6
- package/dist/types/excalidraw/visualdebug.d.ts +1 -1
- package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +3 -1
- package/dist/types/math/src/angle.d.ts +2 -0
- 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/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 +68 -94
- package/package.json +3 -3
- package/dist/dev/chunk-H7XJ5UVD.js +0 -7
- package/dist/dev/chunk-H7XJ5UVD.js.map +0 -7
- package/dist/dev/chunk-KYBDXI6F.js.map +0 -7
- package/dist/dev/chunk-X3RYHLJU.js.map +0 -7
- package/dist/prod/chunk-CAN5RS4P.js +0 -31
- package/dist/prod/chunk-KJYFYP64.js +0 -7
- package/dist/prod/data/image-5XD47O4X.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-NKFINVKH.js.map → image-OFYK7EOY.js.map} +0 -0
- /package/dist/dev/locales/{en-CKWC2GMK.js.map → en-KIY5SGI3.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,7 +37,7 @@ 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;
|
|
@@ -157,8 +157,8 @@ export declare const actionToggleCanvasMenu: {
|
|
|
157
157
|
data: import("../charts").Spreadsheet;
|
|
158
158
|
};
|
|
159
159
|
pendingImageElementId: string | null;
|
|
160
|
-
showHyperlinkPopup: false | "
|
|
161
|
-
selectedLinearElement: import("@excalidraw/element
|
|
160
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
161
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
162
162
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
163
163
|
originSnapOffset: {
|
|
164
164
|
x: number;
|
|
@@ -169,16 +169,14 @@ export declare const actionToggleCanvasMenu: {
|
|
|
169
169
|
followedBy: Set<import("../types").SocketId>;
|
|
170
170
|
isCropping: boolean;
|
|
171
171
|
croppingElementId: string | null;
|
|
172
|
-
searchMatches:
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
}[];
|
|
181
|
-
}[];
|
|
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
|
+
};
|
|
182
180
|
};
|
|
183
181
|
captureUpdate: "EVENTUALLY";
|
|
184
182
|
};
|
|
@@ -213,7 +211,7 @@ export declare const actionToggleEditMenu: {
|
|
|
213
211
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
214
212
|
isBindingEnabled: boolean;
|
|
215
213
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
216
|
-
suggestedBindings: import("@excalidraw/element
|
|
214
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
217
215
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
218
216
|
frameRendering: {
|
|
219
217
|
enabled: boolean;
|
|
@@ -224,7 +222,7 @@ export declare const actionToggleEditMenu: {
|
|
|
224
222
|
editingFrame: string | null;
|
|
225
223
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
226
224
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
227
|
-
editingLinearElement: import("@excalidraw/element
|
|
225
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
228
226
|
activeTool: {
|
|
229
227
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
230
228
|
locked: boolean;
|
|
@@ -344,8 +342,8 @@ export declare const actionToggleEditMenu: {
|
|
|
344
342
|
data: import("../charts").Spreadsheet;
|
|
345
343
|
};
|
|
346
344
|
pendingImageElementId: string | null;
|
|
347
|
-
showHyperlinkPopup: false | "
|
|
348
|
-
selectedLinearElement: import("@excalidraw/element
|
|
345
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
346
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
349
347
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
350
348
|
originSnapOffset: {
|
|
351
349
|
x: number;
|
|
@@ -356,16 +354,14 @@ export declare const actionToggleEditMenu: {
|
|
|
356
354
|
followedBy: Set<import("../types").SocketId>;
|
|
357
355
|
isCropping: boolean;
|
|
358
356
|
croppingElementId: string | null;
|
|
359
|
-
searchMatches:
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
}[];
|
|
368
|
-
}[];
|
|
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
|
+
};
|
|
369
365
|
};
|
|
370
366
|
captureUpdate: "EVENTUALLY";
|
|
371
367
|
};
|
|
@@ -405,7 +401,7 @@ export declare const actionShortcuts: {
|
|
|
405
401
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
406
402
|
isBindingEnabled: boolean;
|
|
407
403
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
408
|
-
suggestedBindings: import("@excalidraw/element
|
|
404
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
409
405
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
410
406
|
frameRendering: {
|
|
411
407
|
enabled: boolean;
|
|
@@ -416,7 +412,7 @@ export declare const actionShortcuts: {
|
|
|
416
412
|
editingFrame: string | null;
|
|
417
413
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
418
414
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
419
|
-
editingLinearElement: import("@excalidraw/element
|
|
415
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
420
416
|
activeTool: {
|
|
421
417
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
422
418
|
locked: boolean;
|
|
@@ -454,7 +450,7 @@ export declare const actionShortcuts: {
|
|
|
454
450
|
zoom: Readonly<{
|
|
455
451
|
value: import("../types").NormalizedZoomValue;
|
|
456
452
|
}>;
|
|
457
|
-
openMenu: "
|
|
453
|
+
openMenu: "canvas" | "shape" | null;
|
|
458
454
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
459
455
|
openSidebar: {
|
|
460
456
|
name: string;
|
|
@@ -526,8 +522,8 @@ export declare const actionShortcuts: {
|
|
|
526
522
|
data: import("../charts").Spreadsheet;
|
|
527
523
|
};
|
|
528
524
|
pendingImageElementId: string | null;
|
|
529
|
-
showHyperlinkPopup: false | "
|
|
530
|
-
selectedLinearElement: import("@excalidraw/element
|
|
525
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
526
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
531
527
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
532
528
|
originSnapOffset: {
|
|
533
529
|
x: number;
|
|
@@ -538,20 +534,18 @@ export declare const actionShortcuts: {
|
|
|
538
534
|
followedBy: Set<import("../types").SocketId>;
|
|
539
535
|
isCropping: boolean;
|
|
540
536
|
croppingElementId: string | null;
|
|
541
|
-
searchMatches:
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
}[];
|
|
550
|
-
}[];
|
|
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
|
+
};
|
|
551
545
|
};
|
|
552
546
|
captureUpdate: "EVENTUALLY";
|
|
553
547
|
};
|
|
554
|
-
keyTest: (event:
|
|
548
|
+
keyTest: (event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean;
|
|
555
549
|
} & {
|
|
556
|
-
keyTest?: ((event:
|
|
550
|
+
keyTest?: ((event: import("react").KeyboardEvent<Element> | KeyboardEvent) => boolean) | undefined;
|
|
557
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,7 +39,7 @@ 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;
|
|
@@ -77,7 +77,7 @@ export declare const actionGoToCollaborator: {
|
|
|
77
77
|
zoom: Readonly<{
|
|
78
78
|
value: import("../types").NormalizedZoomValue;
|
|
79
79
|
}>;
|
|
80
|
-
openMenu: "
|
|
80
|
+
openMenu: "canvas" | "shape" | null;
|
|
81
81
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
82
82
|
openSidebar: {
|
|
83
83
|
name: string;
|
|
@@ -160,8 +160,8 @@ export declare const actionGoToCollaborator: {
|
|
|
160
160
|
data: import("../charts").Spreadsheet;
|
|
161
161
|
};
|
|
162
162
|
pendingImageElementId: string | null;
|
|
163
|
-
showHyperlinkPopup: false | "
|
|
164
|
-
selectedLinearElement: import("@excalidraw/element
|
|
163
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
164
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
165
165
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
166
166
|
originSnapOffset: {
|
|
167
167
|
x: number;
|
|
@@ -171,16 +171,14 @@ export declare const actionGoToCollaborator: {
|
|
|
171
171
|
followedBy: Set<import("../types").SocketId>;
|
|
172
172
|
isCropping: boolean;
|
|
173
173
|
croppingElementId: string | null;
|
|
174
|
-
searchMatches:
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
}[];
|
|
183
|
-
}[];
|
|
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
|
+
};
|
|
184
182
|
};
|
|
185
183
|
captureUpdate: "EVENTUALLY";
|
|
186
184
|
} | {
|
|
@@ -208,7 +206,7 @@ export declare const actionGoToCollaborator: {
|
|
|
208
206
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
209
207
|
isBindingEnabled: boolean;
|
|
210
208
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
211
|
-
suggestedBindings: import("@excalidraw/element
|
|
209
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
212
210
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
213
211
|
frameRendering: {
|
|
214
212
|
enabled: boolean;
|
|
@@ -219,7 +217,7 @@ export declare const actionGoToCollaborator: {
|
|
|
219
217
|
editingFrame: string | null;
|
|
220
218
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
221
219
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
222
|
-
editingLinearElement: import("@excalidraw/element
|
|
220
|
+
editingLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
223
221
|
activeTool: {
|
|
224
222
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
225
223
|
locked: boolean;
|
|
@@ -339,8 +337,8 @@ export declare const actionGoToCollaborator: {
|
|
|
339
337
|
data: import("../charts").Spreadsheet;
|
|
340
338
|
};
|
|
341
339
|
pendingImageElementId: string | null;
|
|
342
|
-
showHyperlinkPopup: false | "
|
|
343
|
-
selectedLinearElement: import("@excalidraw/element
|
|
340
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
341
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
344
342
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
345
343
|
originSnapOffset: {
|
|
346
344
|
x: number;
|
|
@@ -350,16 +348,14 @@ export declare const actionGoToCollaborator: {
|
|
|
350
348
|
followedBy: Set<import("../types").SocketId>;
|
|
351
349
|
isCropping: boolean;
|
|
352
350
|
croppingElementId: string | null;
|
|
353
|
-
searchMatches:
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
}[];
|
|
362
|
-
}[];
|
|
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
|
+
};
|
|
363
359
|
};
|
|
364
360
|
captureUpdate: "EVENTUALLY";
|
|
365
361
|
};
|