@excalidraw/excalidraw 0.18.0-a5d6939 → 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-X3RYHLJU.js → chunk-QF5FRM6O.js} +15 -5
- package/dist/dev/chunk-QF5FRM6O.js.map +7 -0
- package/dist/dev/data/{image-JN3Y4CVN.js → image-GQCFJKGM.js} +3 -3
- package/dist/dev/index.css +230 -23
- package/dist/dev/index.css.map +3 -3
- package/dist/dev/index.js +10262 -10068
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{en-CKWC2GMK.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 +25 -17
- package/dist/prod/locales/{en-SBO6ZHT2.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 +40 -7
- 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 +18 -4
- package/dist/types/{excalidraw/scene → element/src}/Scene.d.ts +16 -15
- package/dist/types/element/src/align.d.ts +4 -3
- package/dist/types/element/src/binding.d.ts +25 -14
- package/dist/types/element/src/bounds.d.ts +14 -6
- package/dist/types/element/src/collision.d.ts +18 -12
- package/dist/types/element/src/cropElement.d.ts +1 -1
- package/dist/types/{excalidraw/change.d.ts → element/src/delta.d.ts} +77 -40
- 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 +3 -2
- 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 +9 -3
- package/dist/types/element/src/frame.d.ts +4 -3
- package/dist/types/element/src/groups.d.ts +1 -0
- package/dist/types/element/src/index.d.ts +44 -2
- package/dist/types/element/src/linearElementEditor.d.ts +23 -36
- package/dist/types/element/src/mutateElement.d.ts +11 -3
- package/dist/types/element/src/newElement.d.ts +4 -3
- 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 +5 -4
- 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 -2
- package/dist/types/element/src/store.d.ts +237 -0
- package/dist/types/element/src/textElement.d.ts +4 -3
- package/dist/types/element/src/typeChecks.d.ts +19 -1
- package/dist/types/element/src/types.d.ts +15 -2
- package/dist/types/element/src/utils.d.ts +16 -6
- package/dist/types/element/src/zindex.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +45 -54
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +30 -36
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +204 -242
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +90 -106
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +15 -18
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +45 -53
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +14 -17
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +45 -52
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +15 -18
- package/dist/types/excalidraw/actions/actionExport.d.ts +145 -172
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +77 -42
- package/dist/types/excalidraw/actions/actionFrame.d.ts +107 -119
- package/dist/types/excalidraw/actions/actionGroup.d.ts +30 -36
- package/dist/types/excalidraw/actions/actionHistory.d.ts +1 -2
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +541 -20
- package/dist/types/excalidraw/actions/actionLink.d.ts +14 -17
- package/dist/types/excalidraw/actions/actionMenu.d.ts +42 -51
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +29 -35
- package/dist/types/excalidraw/actions/actionProperties.d.ts +246 -274
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +15 -18
- package/dist/types/excalidraw/actions/actionStyles.d.ts +15 -18
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +15 -18
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +15 -18
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +14 -190
- package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +19 -0
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +15 -18
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +15 -18
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +15 -18
- package/dist/types/excalidraw/actions/index.d.ts +1 -1
- package/dist/types/excalidraw/actions/types.d.ts +4 -3
- 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 +30 -30
- 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 +23 -0
- package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +4 -3
- 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/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 +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 +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 +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/editor-jotai.d.ts +6 -6
- 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 +30 -22
- package/dist/types/excalidraw/hooks/useEmitter.d.ts +1 -1
- 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 +7 -2
- 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/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 +36 -15
- 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/constants.d.ts +3 -0
- package/dist/types/math/src/curve.d.ts +34 -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 +8 -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 +146 -109
- package/package.json +13 -10
- package/dist/dev/chunk-GBJ7S76A.js +0 -18599
- package/dist/dev/chunk-GBJ7S76A.js.map +0 -7
- package/dist/dev/chunk-GIMGG4AT.js +0 -7
- package/dist/dev/chunk-GIMGG4AT.js.map +0 -7
- package/dist/dev/chunk-X3RYHLJU.js.map +0 -7
- package/dist/prod/chunk-GKI4RZ6C.js +0 -7
- package/dist/prod/chunk-IUH5AXLB.js +0 -12
- package/dist/prod/chunk-TVF64BAY.js +0 -33
- package/dist/prod/data/image-CZ2OEVDB.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/store.d.ts +0 -129
- package/dist/types/excalidraw/visualdebug.d.ts +0 -41
- package/dist/types/utils/src/collision.d.ts +0 -8
- /package/dist/dev/data/{image-JN3Y4CVN.js.map → image-GQCFJKGM.js.map} +0 -0
- /package/dist/dev/locales/{en-CKWC2GMK.js.map → en-SMAPCEOQ.js.map} +0 -0
|
@@ -18,7 +18,7 @@ export declare const actionLink: {
|
|
|
18
18
|
errorMessage: import("react").ReactNode;
|
|
19
19
|
activeEmbeddable: {
|
|
20
20
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
21
|
-
state: "
|
|
21
|
+
state: "active" | "hover";
|
|
22
22
|
} | null;
|
|
23
23
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
24
24
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -26,7 +26,7 @@ export declare const actionLink: {
|
|
|
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 actionLink: {
|
|
|
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 actionLink: {
|
|
|
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;
|
|
@@ -84,7 +83,7 @@ export declare const actionLink: {
|
|
|
84
83
|
name: "imageExport" | "help" | "jsonExport";
|
|
85
84
|
} | {
|
|
86
85
|
name: "ttd";
|
|
87
|
-
tab: "text-to-diagram"
|
|
86
|
+
tab: "mermaid" | "text-to-diagram";
|
|
88
87
|
} | {
|
|
89
88
|
name: "commandPalette";
|
|
90
89
|
} | {
|
|
@@ -156,8 +155,7 @@ export declare const actionLink: {
|
|
|
156
155
|
shown: true;
|
|
157
156
|
data: import("../charts").Spreadsheet;
|
|
158
157
|
};
|
|
159
|
-
|
|
160
|
-
selectedLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
158
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
161
159
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
162
160
|
originSnapOffset: {
|
|
163
161
|
x: number;
|
|
@@ -168,16 +166,15 @@ export declare const actionLink: {
|
|
|
168
166
|
followedBy: Set<import("../types").SocketId>;
|
|
169
167
|
isCropping: boolean;
|
|
170
168
|
croppingElementId: string | null;
|
|
171
|
-
searchMatches:
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
}[];
|
|
169
|
+
searchMatches: Readonly<{
|
|
170
|
+
focusedId: string | null;
|
|
171
|
+
matches: readonly import("../types").SearchMatch[];
|
|
172
|
+
}> | null;
|
|
173
|
+
activeLockedId: string | null;
|
|
174
|
+
lockedMultiSelections: {
|
|
175
|
+
[groupId: string]: true;
|
|
176
|
+
};
|
|
177
|
+
stylesPanelMode: "compact" | "full";
|
|
181
178
|
};
|
|
182
179
|
captureUpdate: "IMMEDIATELY";
|
|
183
180
|
};
|
|
@@ -18,7 +18,7 @@ export declare const actionToggleCanvasMenu: {
|
|
|
18
18
|
errorMessage: import("react").ReactNode;
|
|
19
19
|
activeEmbeddable: {
|
|
20
20
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
21
|
-
state: "
|
|
21
|
+
state: "active" | "hover";
|
|
22
22
|
} | null;
|
|
23
23
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
24
24
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -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;
|
|
@@ -84,7 +83,7 @@ export declare const actionToggleCanvasMenu: {
|
|
|
84
83
|
name: "imageExport" | "help" | "jsonExport";
|
|
85
84
|
} | {
|
|
86
85
|
name: "ttd";
|
|
87
|
-
tab: "text-to-diagram"
|
|
86
|
+
tab: "mermaid" | "text-to-diagram";
|
|
88
87
|
} | {
|
|
89
88
|
name: "commandPalette";
|
|
90
89
|
} | {
|
|
@@ -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;
|
|
@@ -169,16 +167,15 @@ export declare const actionToggleCanvasMenu: {
|
|
|
169
167
|
followedBy: Set<import("../types").SocketId>;
|
|
170
168
|
isCropping: boolean;
|
|
171
169
|
croppingElementId: string | null;
|
|
172
|
-
searchMatches:
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
}[];
|
|
170
|
+
searchMatches: Readonly<{
|
|
171
|
+
focusedId: string | null;
|
|
172
|
+
matches: readonly import("../types").SearchMatch[];
|
|
173
|
+
}> | null;
|
|
174
|
+
activeLockedId: string | null;
|
|
175
|
+
lockedMultiSelections: {
|
|
176
|
+
[groupId: string]: true;
|
|
177
|
+
};
|
|
178
|
+
stylesPanelMode: "compact" | "full";
|
|
182
179
|
};
|
|
183
180
|
captureUpdate: "EVENTUALLY";
|
|
184
181
|
};
|
|
@@ -205,7 +202,7 @@ export declare const actionToggleEditMenu: {
|
|
|
205
202
|
errorMessage: import("react").ReactNode;
|
|
206
203
|
activeEmbeddable: {
|
|
207
204
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
208
|
-
state: "
|
|
205
|
+
state: "active" | "hover";
|
|
209
206
|
} | null;
|
|
210
207
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
211
208
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -213,7 +210,7 @@ export declare const actionToggleEditMenu: {
|
|
|
213
210
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
214
211
|
isBindingEnabled: boolean;
|
|
215
212
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
216
|
-
suggestedBindings: import("@excalidraw/element
|
|
213
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
217
214
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
218
215
|
frameRendering: {
|
|
219
216
|
enabled: boolean;
|
|
@@ -224,7 +221,6 @@ export declare const actionToggleEditMenu: {
|
|
|
224
221
|
editingFrame: string | null;
|
|
225
222
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
226
223
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
227
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
228
224
|
activeTool: {
|
|
229
225
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
230
226
|
locked: boolean;
|
|
@@ -262,7 +258,7 @@ export declare const actionToggleEditMenu: {
|
|
|
262
258
|
zoom: Readonly<{
|
|
263
259
|
value: import("../types").NormalizedZoomValue;
|
|
264
260
|
}>;
|
|
265
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
261
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
266
262
|
openSidebar: {
|
|
267
263
|
name: string;
|
|
268
264
|
tab?: string | undefined;
|
|
@@ -271,7 +267,7 @@ export declare const actionToggleEditMenu: {
|
|
|
271
267
|
name: "imageExport" | "help" | "jsonExport";
|
|
272
268
|
} | {
|
|
273
269
|
name: "ttd";
|
|
274
|
-
tab: "text-to-diagram"
|
|
270
|
+
tab: "mermaid" | "text-to-diagram";
|
|
275
271
|
} | {
|
|
276
272
|
name: "commandPalette";
|
|
277
273
|
} | {
|
|
@@ -343,9 +339,8 @@ export declare const actionToggleEditMenu: {
|
|
|
343
339
|
shown: true;
|
|
344
340
|
data: import("../charts").Spreadsheet;
|
|
345
341
|
};
|
|
346
|
-
pendingImageElementId: string | null;
|
|
347
342
|
showHyperlinkPopup: false | "editor" | "info";
|
|
348
|
-
selectedLinearElement: import("@excalidraw/element
|
|
343
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
349
344
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
350
345
|
originSnapOffset: {
|
|
351
346
|
x: number;
|
|
@@ -356,16 +351,15 @@ export declare const actionToggleEditMenu: {
|
|
|
356
351
|
followedBy: Set<import("../types").SocketId>;
|
|
357
352
|
isCropping: boolean;
|
|
358
353
|
croppingElementId: string | null;
|
|
359
|
-
searchMatches:
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
}[];
|
|
354
|
+
searchMatches: Readonly<{
|
|
355
|
+
focusedId: string | null;
|
|
356
|
+
matches: readonly import("../types").SearchMatch[];
|
|
357
|
+
}> | null;
|
|
358
|
+
activeLockedId: string | null;
|
|
359
|
+
lockedMultiSelections: {
|
|
360
|
+
[groupId: string]: true;
|
|
361
|
+
};
|
|
362
|
+
stylesPanelMode: "compact" | "full";
|
|
369
363
|
};
|
|
370
364
|
captureUpdate: "EVENTUALLY";
|
|
371
365
|
};
|
|
@@ -397,7 +391,7 @@ export declare const actionShortcuts: {
|
|
|
397
391
|
errorMessage: import("react").ReactNode;
|
|
398
392
|
activeEmbeddable: {
|
|
399
393
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
400
|
-
state: "
|
|
394
|
+
state: "active" | "hover";
|
|
401
395
|
} | null;
|
|
402
396
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
403
397
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -405,7 +399,7 @@ export declare const actionShortcuts: {
|
|
|
405
399
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
406
400
|
isBindingEnabled: boolean;
|
|
407
401
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
408
|
-
suggestedBindings: import("@excalidraw/element
|
|
402
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
409
403
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
410
404
|
frameRendering: {
|
|
411
405
|
enabled: boolean;
|
|
@@ -416,7 +410,6 @@ export declare const actionShortcuts: {
|
|
|
416
410
|
editingFrame: string | null;
|
|
417
411
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
418
412
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
419
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
420
413
|
activeTool: {
|
|
421
414
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
422
415
|
locked: boolean;
|
|
@@ -454,8 +447,8 @@ export declare const actionShortcuts: {
|
|
|
454
447
|
zoom: Readonly<{
|
|
455
448
|
value: import("../types").NormalizedZoomValue;
|
|
456
449
|
}>;
|
|
457
|
-
openMenu: "
|
|
458
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
450
|
+
openMenu: "canvas" | "shape" | null;
|
|
451
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
459
452
|
openSidebar: {
|
|
460
453
|
name: string;
|
|
461
454
|
tab?: string | undefined;
|
|
@@ -525,9 +518,8 @@ export declare const actionShortcuts: {
|
|
|
525
518
|
shown: true;
|
|
526
519
|
data: import("../charts").Spreadsheet;
|
|
527
520
|
};
|
|
528
|
-
pendingImageElementId: string | null;
|
|
529
521
|
showHyperlinkPopup: false | "editor" | "info";
|
|
530
|
-
selectedLinearElement: import("@excalidraw/element
|
|
522
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
531
523
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
532
524
|
originSnapOffset: {
|
|
533
525
|
x: number;
|
|
@@ -538,16 +530,15 @@ export declare const actionShortcuts: {
|
|
|
538
530
|
followedBy: Set<import("../types").SocketId>;
|
|
539
531
|
isCropping: boolean;
|
|
540
532
|
croppingElementId: string | null;
|
|
541
|
-
searchMatches:
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
}[];
|
|
533
|
+
searchMatches: Readonly<{
|
|
534
|
+
focusedId: string | null;
|
|
535
|
+
matches: readonly import("../types").SearchMatch[];
|
|
536
|
+
}> | null;
|
|
537
|
+
activeLockedId: string | null;
|
|
538
|
+
lockedMultiSelections: {
|
|
539
|
+
[groupId: string]: true;
|
|
540
|
+
};
|
|
541
|
+
stylesPanelMode: "compact" | "full";
|
|
551
542
|
};
|
|
552
543
|
captureUpdate: "EVENTUALLY";
|
|
553
544
|
};
|
|
@@ -20,7 +20,7 @@ export declare const actionGoToCollaborator: {
|
|
|
20
20
|
errorMessage: import("react").ReactNode;
|
|
21
21
|
activeEmbeddable: {
|
|
22
22
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
23
|
-
state: "
|
|
23
|
+
state: "active" | "hover";
|
|
24
24
|
} | null;
|
|
25
25
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
26
26
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -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;
|
|
@@ -77,8 +76,8 @@ export declare const actionGoToCollaborator: {
|
|
|
77
76
|
zoom: Readonly<{
|
|
78
77
|
value: import("../types").NormalizedZoomValue;
|
|
79
78
|
}>;
|
|
80
|
-
openMenu: "
|
|
81
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
79
|
+
openMenu: "canvas" | "shape" | null;
|
|
80
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
82
81
|
openSidebar: {
|
|
83
82
|
name: string;
|
|
84
83
|
tab?: string | undefined;
|
|
@@ -87,7 +86,7 @@ export declare const actionGoToCollaborator: {
|
|
|
87
86
|
name: "imageExport" | "help" | "jsonExport";
|
|
88
87
|
} | {
|
|
89
88
|
name: "ttd";
|
|
90
|
-
tab: "text-to-diagram"
|
|
89
|
+
tab: "mermaid" | "text-to-diagram";
|
|
91
90
|
} | {
|
|
92
91
|
name: "commandPalette";
|
|
93
92
|
} | {
|
|
@@ -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;
|
|
@@ -171,16 +169,15 @@ export declare const actionGoToCollaborator: {
|
|
|
171
169
|
followedBy: Set<import("../types").SocketId>;
|
|
172
170
|
isCropping: boolean;
|
|
173
171
|
croppingElementId: string | null;
|
|
174
|
-
searchMatches:
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
}[];
|
|
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
|
+
};
|
|
180
|
+
stylesPanelMode: "compact" | "full";
|
|
184
181
|
};
|
|
185
182
|
captureUpdate: "EVENTUALLY";
|
|
186
183
|
} | {
|
|
@@ -200,7 +197,7 @@ export declare const actionGoToCollaborator: {
|
|
|
200
197
|
errorMessage: import("react").ReactNode;
|
|
201
198
|
activeEmbeddable: {
|
|
202
199
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
203
|
-
state: "
|
|
200
|
+
state: "active" | "hover";
|
|
204
201
|
} | null;
|
|
205
202
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
206
203
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -208,7 +205,7 @@ export declare const actionGoToCollaborator: {
|
|
|
208
205
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
209
206
|
isBindingEnabled: boolean;
|
|
210
207
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
211
|
-
suggestedBindings: import("@excalidraw/element
|
|
208
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
212
209
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
213
210
|
frameRendering: {
|
|
214
211
|
enabled: boolean;
|
|
@@ -219,7 +216,6 @@ export declare const actionGoToCollaborator: {
|
|
|
219
216
|
editingFrame: string | null;
|
|
220
217
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
221
218
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
222
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
223
219
|
activeTool: {
|
|
224
220
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
225
221
|
locked: boolean;
|
|
@@ -257,7 +253,7 @@ export declare const actionGoToCollaborator: {
|
|
|
257
253
|
zoom: Readonly<{
|
|
258
254
|
value: import("../types").NormalizedZoomValue;
|
|
259
255
|
}>;
|
|
260
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
256
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
261
257
|
openSidebar: {
|
|
262
258
|
name: string;
|
|
263
259
|
tab?: string | undefined;
|
|
@@ -266,7 +262,7 @@ export declare const actionGoToCollaborator: {
|
|
|
266
262
|
name: "imageExport" | "help" | "jsonExport";
|
|
267
263
|
} | {
|
|
268
264
|
name: "ttd";
|
|
269
|
-
tab: "text-to-diagram"
|
|
265
|
+
tab: "mermaid" | "text-to-diagram";
|
|
270
266
|
} | {
|
|
271
267
|
name: "commandPalette";
|
|
272
268
|
} | {
|
|
@@ -338,9 +334,8 @@ export declare const actionGoToCollaborator: {
|
|
|
338
334
|
shown: true;
|
|
339
335
|
data: import("../charts").Spreadsheet;
|
|
340
336
|
};
|
|
341
|
-
pendingImageElementId: string | null;
|
|
342
337
|
showHyperlinkPopup: false | "editor" | "info";
|
|
343
|
-
selectedLinearElement: import("@excalidraw/element
|
|
338
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
344
339
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
345
340
|
originSnapOffset: {
|
|
346
341
|
x: number;
|
|
@@ -350,16 +345,15 @@ export declare const actionGoToCollaborator: {
|
|
|
350
345
|
followedBy: Set<import("../types").SocketId>;
|
|
351
346
|
isCropping: boolean;
|
|
352
347
|
croppingElementId: string | null;
|
|
353
|
-
searchMatches:
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
}[];
|
|
348
|
+
searchMatches: Readonly<{
|
|
349
|
+
focusedId: string | null;
|
|
350
|
+
matches: readonly import("../types").SearchMatch[];
|
|
351
|
+
}> | null;
|
|
352
|
+
activeLockedId: string | null;
|
|
353
|
+
lockedMultiSelections: {
|
|
354
|
+
[groupId: string]: true;
|
|
355
|
+
};
|
|
356
|
+
stylesPanelMode: "compact" | "full";
|
|
363
357
|
};
|
|
364
358
|
captureUpdate: "EVENTUALLY";
|
|
365
359
|
};
|