@excalidraw/excalidraw 0.18.0-a30e1b2 → 0.18.0-a8acc82
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-6MX365WZ.js +5666 -0
- package/dist/dev/chunk-6MX365WZ.js.map +7 -0
- package/dist/dev/chunk-CP5DND7P.js +7 -0
- package/dist/dev/chunk-CP5DND7P.js.map +7 -0
- package/dist/dev/{chunk-CARD3WJZ.js → chunk-QF5FRM6O.js} +7 -2
- package/dist/dev/chunk-QF5FRM6O.js.map +7 -0
- package/dist/dev/data/{image-AYLHSOBV.js → image-GQCFJKGM.js} +3 -3
- package/dist/dev/index.css +187 -21
- package/dist/dev/index.css.map +3 -3
- package/dist/dev/index.js +15073 -16288
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{en-E3O5XSXJ.js → en-SMAPCEOQ.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-A66AFZZU.js +7 -0
- package/dist/prod/chunk-I4UNSFV6.js +12 -0
- package/dist/prod/chunk-R2M7VUMD.js +4 -0
- package/dist/prod/data/image-JWK7QZ22.js +1 -0
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +27 -20
- package/dist/prod/locales/{en-44IKVKYT.js → en-TYY6KWIJ.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 -7
- package/dist/types/common/src/utils.d.ts +7 -5
- package/dist/types/element/src/Scene.d.ts +10 -6
- package/dist/types/element/src/align.d.ts +3 -2
- package/dist/types/element/src/binding.d.ts +11 -8
- 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/dragElements.d.ts +1 -1
- package/dist/types/element/src/flowchart.d.ts +1 -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 +42 -0
- package/dist/types/element/src/linearElementEditor.d.ts +15 -24
- package/dist/types/element/src/mutateElement.d.ts +1 -1
- package/dist/types/element/src/newElement.d.ts +3 -2
- 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 +2 -1
- package/dist/types/element/src/selection.d.ts +0 -5
- 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 +2 -2
- package/dist/types/element/src/transformHandles.d.ts +2 -2
- package/dist/types/element/src/typeChecks.d.ts +16 -1
- package/dist/types/element/src/types.d.ts +10 -4
- package/dist/types/element/src/utils.d.ts +16 -6
- package/dist/types/element/src/zindex.d.ts +3 -3
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +24 -15
- package/dist/types/excalidraw/actions/actionAlign.d.ts +8 -8
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +16 -10
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +134 -94
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +53 -33
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +8 -5
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +27 -17
- 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 +8 -5
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +31 -26
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +8 -5
- package/dist/types/excalidraw/actions/actionExport.d.ts +94 -67
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +66 -19
- package/dist/types/excalidraw/actions/actionFlip.d.ts +4 -4
- package/dist/types/excalidraw/actions/actionFrame.d.ts +81 -69
- package/dist/types/excalidraw/actions/actionGroup.d.ts +20 -14
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +534 -7
- package/dist/types/excalidraw/actions/actionLink.d.ts +10 -7
- package/dist/types/excalidraw/actions/actionMenu.d.ts +26 -17
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +16 -10
- package/dist/types/excalidraw/actions/actionProperties.d.ts +145 -83
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +10 -7
- package/dist/types/excalidraw/actions/actionStyles.d.ts +12 -9
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +10 -7
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +10 -7
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +10 -7
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +10 -7
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +10 -7
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +10 -7
- package/dist/types/excalidraw/actions/actionZindex.d.ts +10 -10
- package/dist/types/excalidraw/actions/index.d.ts +1 -1
- package/dist/types/excalidraw/actions/types.d.ts +3 -2
- package/dist/types/excalidraw/appState.d.ts +20 -10
- 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 +22 -21
- 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 +7 -2
- 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 +2 -28
- package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +1 -1
- 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/PropertiesPopover.d.ts +1 -0
- 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/Dimension.d.ts +1 -1
- package/dist/types/excalidraw/components/Stats/DragInput.d.ts +12 -2
- 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 +1 -1
- package/dist/types/excalidraw/components/UnlockPopup.d.ts +8 -0
- package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +1 -1
- package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +2 -1
- package/dist/types/excalidraw/components/icons.d.ts +9 -0
- package/dist/types/excalidraw/components/shapes.d.ts +129 -1
- package/dist/types/excalidraw/data/blob.d.ts +3 -7
- 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/transform.d.ts +1 -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/fonts/Fonts.d.ts +1 -1
- package/dist/types/excalidraw/history.d.ts +21 -5
- package/dist/types/excalidraw/hooks/useTextEditorFocus.d.ts +14 -0
- package/dist/types/excalidraw/index.d.ts +11 -10
- package/dist/types/excalidraw/lasso/index.d.ts +1 -0
- 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 +1 -2
- package/dist/types/excalidraw/scene/index.d.ts +2 -2
- package/dist/types/excalidraw/snapping.d.ts +2 -2
- package/dist/types/excalidraw/types.d.ts +24 -13
- 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/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 +108 -45
- package/package.json +13 -10
- package/dist/dev/chunk-CARD3WJZ.js.map +0 -7
- package/dist/dev/chunk-ETWEPOFC.js +0 -18701
- package/dist/dev/chunk-ETWEPOFC.js.map +0 -7
- package/dist/dev/chunk-RS23HYC4.js +0 -7
- package/dist/dev/chunk-RS23HYC4.js.map +0 -7
- package/dist/prod/chunk-6BSJPDKJ.js +0 -33
- package/dist/prod/chunk-FGHASORR.js +0 -12
- package/dist/prod/chunk-SBKTMZM7.js +0 -7
- package/dist/prod/data/image-VAYKYPXV.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/components/ButtonSelect.d.ts +0 -9
- package/dist/types/excalidraw/visualdebug.d.ts +0 -41
- package/dist/types/utils/src/collision.d.ts +0 -8
- /package/dist/dev/data/{image-AYLHSOBV.js.map → image-GQCFJKGM.js.map} +0 -0
- /package/dist/dev/locales/{en-E3O5XSXJ.js.map → en-SMAPCEOQ.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,6 @@ 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/linearElementEditor").LinearElementEditor | null;
|
|
41
40
|
activeTool: {
|
|
42
41
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
43
42
|
locked: boolean;
|
|
@@ -75,7 +74,7 @@ export declare const actionToggleCanvasMenu: {
|
|
|
75
74
|
zoom: Readonly<{
|
|
76
75
|
value: import("../types").NormalizedZoomValue;
|
|
77
76
|
}>;
|
|
78
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
77
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
79
78
|
openSidebar: {
|
|
80
79
|
name: string;
|
|
81
80
|
tab?: string | undefined;
|
|
@@ -156,9 +155,8 @@ export declare const actionToggleCanvasMenu: {
|
|
|
156
155
|
shown: true;
|
|
157
156
|
data: import("../charts").Spreadsheet;
|
|
158
157
|
};
|
|
159
|
-
pendingImageElementId: string | null;
|
|
160
158
|
showHyperlinkPopup: false | "editor" | "info";
|
|
161
|
-
selectedLinearElement: import("@excalidraw/element
|
|
159
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
162
160
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
163
161
|
originSnapOffset: {
|
|
164
162
|
x: number;
|
|
@@ -173,6 +171,11 @@ export declare const actionToggleCanvasMenu: {
|
|
|
173
171
|
focusedId: string | null;
|
|
174
172
|
matches: readonly import("../types").SearchMatch[];
|
|
175
173
|
}> | null;
|
|
174
|
+
activeLockedId: string | null;
|
|
175
|
+
lockedMultiSelections: {
|
|
176
|
+
[groupId: string]: true;
|
|
177
|
+
};
|
|
178
|
+
stylesPanelMode: "compact" | "full";
|
|
176
179
|
};
|
|
177
180
|
captureUpdate: "EVENTUALLY";
|
|
178
181
|
};
|
|
@@ -207,7 +210,7 @@ export declare const actionToggleEditMenu: {
|
|
|
207
210
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
208
211
|
isBindingEnabled: boolean;
|
|
209
212
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
210
|
-
suggestedBindings: import("@excalidraw/element
|
|
213
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
211
214
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
212
215
|
frameRendering: {
|
|
213
216
|
enabled: boolean;
|
|
@@ -218,7 +221,6 @@ export declare const actionToggleEditMenu: {
|
|
|
218
221
|
editingFrame: string | null;
|
|
219
222
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
220
223
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
221
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
222
224
|
activeTool: {
|
|
223
225
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
224
226
|
locked: boolean;
|
|
@@ -256,7 +258,7 @@ export declare const actionToggleEditMenu: {
|
|
|
256
258
|
zoom: Readonly<{
|
|
257
259
|
value: import("../types").NormalizedZoomValue;
|
|
258
260
|
}>;
|
|
259
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
261
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
260
262
|
openSidebar: {
|
|
261
263
|
name: string;
|
|
262
264
|
tab?: string | undefined;
|
|
@@ -337,9 +339,8 @@ export declare const actionToggleEditMenu: {
|
|
|
337
339
|
shown: true;
|
|
338
340
|
data: import("../charts").Spreadsheet;
|
|
339
341
|
};
|
|
340
|
-
pendingImageElementId: string | null;
|
|
341
342
|
showHyperlinkPopup: false | "editor" | "info";
|
|
342
|
-
selectedLinearElement: import("@excalidraw/element
|
|
343
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
343
344
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
344
345
|
originSnapOffset: {
|
|
345
346
|
x: number;
|
|
@@ -354,6 +355,11 @@ export declare const actionToggleEditMenu: {
|
|
|
354
355
|
focusedId: string | null;
|
|
355
356
|
matches: readonly import("../types").SearchMatch[];
|
|
356
357
|
}> | null;
|
|
358
|
+
activeLockedId: string | null;
|
|
359
|
+
lockedMultiSelections: {
|
|
360
|
+
[groupId: string]: true;
|
|
361
|
+
};
|
|
362
|
+
stylesPanelMode: "compact" | "full";
|
|
357
363
|
};
|
|
358
364
|
captureUpdate: "EVENTUALLY";
|
|
359
365
|
};
|
|
@@ -393,7 +399,7 @@ export declare const actionShortcuts: {
|
|
|
393
399
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
394
400
|
isBindingEnabled: boolean;
|
|
395
401
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
396
|
-
suggestedBindings: import("@excalidraw/element
|
|
402
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
397
403
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
398
404
|
frameRendering: {
|
|
399
405
|
enabled: boolean;
|
|
@@ -404,7 +410,6 @@ export declare const actionShortcuts: {
|
|
|
404
410
|
editingFrame: string | null;
|
|
405
411
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
406
412
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
407
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
408
413
|
activeTool: {
|
|
409
414
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
410
415
|
locked: boolean;
|
|
@@ -443,7 +448,7 @@ export declare const actionShortcuts: {
|
|
|
443
448
|
value: import("../types").NormalizedZoomValue;
|
|
444
449
|
}>;
|
|
445
450
|
openMenu: "canvas" | "shape" | null;
|
|
446
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
451
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
447
452
|
openSidebar: {
|
|
448
453
|
name: string;
|
|
449
454
|
tab?: string | undefined;
|
|
@@ -513,9 +518,8 @@ export declare const actionShortcuts: {
|
|
|
513
518
|
shown: true;
|
|
514
519
|
data: import("../charts").Spreadsheet;
|
|
515
520
|
};
|
|
516
|
-
pendingImageElementId: string | null;
|
|
517
521
|
showHyperlinkPopup: false | "editor" | "info";
|
|
518
|
-
selectedLinearElement: import("@excalidraw/element
|
|
522
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
519
523
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
520
524
|
originSnapOffset: {
|
|
521
525
|
x: number;
|
|
@@ -530,10 +534,15 @@ export declare const actionShortcuts: {
|
|
|
530
534
|
focusedId: string | null;
|
|
531
535
|
matches: readonly import("../types").SearchMatch[];
|
|
532
536
|
}> | null;
|
|
537
|
+
activeLockedId: string | null;
|
|
538
|
+
lockedMultiSelections: {
|
|
539
|
+
[groupId: string]: true;
|
|
540
|
+
};
|
|
541
|
+
stylesPanelMode: "compact" | "full";
|
|
533
542
|
};
|
|
534
543
|
captureUpdate: "EVENTUALLY";
|
|
535
544
|
};
|
|
536
|
-
keyTest: (event: import("react").KeyboardEvent<Element>
|
|
545
|
+
keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
|
|
537
546
|
} & {
|
|
538
|
-
keyTest?: ((event: import("react").KeyboardEvent<Element>
|
|
547
|
+
keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
|
|
539
548
|
};
|
|
@@ -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,6 @@ 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/linearElementEditor").LinearElementEditor | null;
|
|
43
42
|
activeTool: {
|
|
44
43
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
45
44
|
locked: boolean;
|
|
@@ -78,7 +77,7 @@ export declare const actionGoToCollaborator: {
|
|
|
78
77
|
value: import("../types").NormalizedZoomValue;
|
|
79
78
|
}>;
|
|
80
79
|
openMenu: "canvas" | "shape" | null;
|
|
81
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
80
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
82
81
|
openSidebar: {
|
|
83
82
|
name: string;
|
|
84
83
|
tab?: string | undefined;
|
|
@@ -159,9 +158,8 @@ export declare const actionGoToCollaborator: {
|
|
|
159
158
|
shown: true;
|
|
160
159
|
data: import("../charts").Spreadsheet;
|
|
161
160
|
};
|
|
162
|
-
pendingImageElementId: string | null;
|
|
163
161
|
showHyperlinkPopup: false | "editor" | "info";
|
|
164
|
-
selectedLinearElement: import("@excalidraw/element
|
|
162
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
165
163
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
166
164
|
originSnapOffset: {
|
|
167
165
|
x: number;
|
|
@@ -175,6 +173,11 @@ export declare const actionGoToCollaborator: {
|
|
|
175
173
|
focusedId: string | null;
|
|
176
174
|
matches: readonly import("../types").SearchMatch[];
|
|
177
175
|
}> | null;
|
|
176
|
+
activeLockedId: string | null;
|
|
177
|
+
lockedMultiSelections: {
|
|
178
|
+
[groupId: string]: true;
|
|
179
|
+
};
|
|
180
|
+
stylesPanelMode: "compact" | "full";
|
|
178
181
|
};
|
|
179
182
|
captureUpdate: "EVENTUALLY";
|
|
180
183
|
} | {
|
|
@@ -202,7 +205,7 @@ export declare const actionGoToCollaborator: {
|
|
|
202
205
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
203
206
|
isBindingEnabled: boolean;
|
|
204
207
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
205
|
-
suggestedBindings: import("@excalidraw/element
|
|
208
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
206
209
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
207
210
|
frameRendering: {
|
|
208
211
|
enabled: boolean;
|
|
@@ -213,7 +216,6 @@ export declare const actionGoToCollaborator: {
|
|
|
213
216
|
editingFrame: string | null;
|
|
214
217
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
215
218
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
216
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
217
219
|
activeTool: {
|
|
218
220
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
219
221
|
locked: boolean;
|
|
@@ -251,7 +253,7 @@ export declare const actionGoToCollaborator: {
|
|
|
251
253
|
zoom: Readonly<{
|
|
252
254
|
value: import("../types").NormalizedZoomValue;
|
|
253
255
|
}>;
|
|
254
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
256
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
255
257
|
openSidebar: {
|
|
256
258
|
name: string;
|
|
257
259
|
tab?: string | undefined;
|
|
@@ -332,9 +334,8 @@ export declare const actionGoToCollaborator: {
|
|
|
332
334
|
shown: true;
|
|
333
335
|
data: import("../charts").Spreadsheet;
|
|
334
336
|
};
|
|
335
|
-
pendingImageElementId: string | null;
|
|
336
337
|
showHyperlinkPopup: false | "editor" | "info";
|
|
337
|
-
selectedLinearElement: import("@excalidraw/element
|
|
338
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
338
339
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
339
340
|
originSnapOffset: {
|
|
340
341
|
x: number;
|
|
@@ -348,6 +349,11 @@ export declare const actionGoToCollaborator: {
|
|
|
348
349
|
focusedId: string | null;
|
|
349
350
|
matches: readonly import("../types").SearchMatch[];
|
|
350
351
|
}> | null;
|
|
352
|
+
activeLockedId: string | null;
|
|
353
|
+
lockedMultiSelections: {
|
|
354
|
+
[groupId: string]: true;
|
|
355
|
+
};
|
|
356
|
+
stylesPanelMode: "compact" | "full";
|
|
351
357
|
};
|
|
352
358
|
captureUpdate: "EVENTUALLY";
|
|
353
359
|
};
|