@excalidraw/excalidraw 0.18.0-58f7d33 → 0.18.0-5fffc47
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-CP5DND7P.js +7 -0
- package/dist/dev/chunk-CP5DND7P.js.map +7 -0
- package/dist/dev/{chunk-X3RYHLJU.js → chunk-PWQMCSHA.js} +26 -8
- package/dist/dev/chunk-PWQMCSHA.js.map +7 -0
- package/dist/dev/chunk-YMRX7R7U.js +5671 -0
- package/dist/dev/chunk-YMRX7R7U.js.map +7 -0
- package/dist/dev/data/{image-U2IPNUKJ.js → image-L23D26XS.js} +3 -3
- package/dist/dev/index.css +964 -501
- package/dist/dev/index.css.map +3 -3
- package/dist/dev/index.js +11915 -10771
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{en-CKWC2GMK.js → en-V3NQTBPG.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-GF46JCB3.js +12 -0
- package/dist/prod/chunk-HT4FKTIQ.js +4 -0
- package/dist/prod/data/image-NWF7UX55.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-LQE6K457.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 +44 -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 +20 -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 +26 -16
- 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/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 +9 -3
- package/dist/types/element/src/frame.d.ts +5 -4
- 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 +11 -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 +57 -54
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +38 -36
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +256 -242
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +114 -106
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +19 -18
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +57 -53
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +18 -17
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +53 -52
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +19 -18
- package/dist/types/excalidraw/actions/actionExport.d.ts +181 -172
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +85 -42
- package/dist/types/excalidraw/actions/actionFrame.d.ts +123 -119
- package/dist/types/excalidraw/actions/actionGroup.d.ts +38 -36
- package/dist/types/excalidraw/actions/actionHistory.d.ts +1 -2
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +545 -20
- package/dist/types/excalidraw/actions/actionLink.d.ts +18 -17
- package/dist/types/excalidraw/actions/actionMenu.d.ts +18 -391
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +38 -36
- package/dist/types/excalidraw/actions/actionProperties.d.ts +305 -273
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +19 -18
- package/dist/types/excalidraw/actions/actionStyles.d.ts +19 -18
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +19 -18
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +19 -18
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +18 -190
- package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +19 -0
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +19 -18
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +19 -18
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +19 -18
- package/dist/types/excalidraw/actions/index.d.ts +2 -2
- package/dist/types/excalidraw/actions/types.d.ts +4 -3
- package/dist/types/excalidraw/appState.d.ts +23 -10
- package/dist/types/excalidraw/clipboard.d.ts +64 -1
- package/dist/types/excalidraw/components/Actions.d.ts +17 -7
- package/dist/types/excalidraw/components/App.d.ts +35 -22
- 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 +6 -1
- package/dist/types/excalidraw/components/ColorPicker/CustomColorList.d.ts +1 -1
- package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +4 -3
- package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +3 -3
- package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +3 -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/CommandPalette/CommandPalette.d.ts +1 -0
- 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/ExcalidrawLogo.d.ts +1 -1
- package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +2 -1
- package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +3 -1
- package/dist/types/excalidraw/components/InlineIcon.d.ts +3 -1
- package/dist/types/excalidraw/components/LayerUI.d.ts +2 -1
- package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +1 -1
- package/dist/types/excalidraw/components/MobileMenu.d.ts +3 -5
- package/dist/types/excalidraw/components/MobileToolBar.d.ts +11 -0
- 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/TTDDialog/TTDDialogTrigger.d.ts +1 -2
- package/dist/types/excalidraw/components/TextField.d.ts +1 -0
- package/dist/types/excalidraw/components/ToolPopover.d.ts +25 -0
- 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/dropdownMenu/DropdownMenu.d.ts +4 -2
- package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts +2 -1
- 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 +8 -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/useLibraryItemSvg.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 +46 -16
- 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-KKJLIRJU.js +0 -7
- package/dist/dev/chunk-KKJLIRJU.js.map +0 -7
- package/dist/dev/chunk-LEJJ2YZY.js +0 -18711
- package/dist/dev/chunk-LEJJ2YZY.js.map +0 -7
- package/dist/dev/chunk-X3RYHLJU.js.map +0 -7
- package/dist/prod/chunk-IUH5AXLB.js +0 -12
- package/dist/prod/chunk-QUX7WTVH.js +0 -7
- package/dist/prod/chunk-RQK6WG4F.js +0 -33
- package/dist/prod/data/image-UQDATCXC.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-U2IPNUKJ.js.map → image-L23D26XS.js.map} +0 -0
- /package/dist/dev/locales/{en-CKWC2GMK.js.map → en-V3NQTBPG.js.map} +0 -0
|
@@ -20,7 +20,7 @@ export declare const actionAddToLibrary: {
|
|
|
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 actionAddToLibrary: {
|
|
|
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,12 +39,15 @@ export declare const actionAddToLibrary: {
|
|
|
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;
|
|
46
45
|
fromSelection: boolean;
|
|
47
46
|
} & import("../types").ActiveTool;
|
|
47
|
+
preferredSelectionTool: {
|
|
48
|
+
type: "selection" | "lasso";
|
|
49
|
+
initialized: boolean;
|
|
50
|
+
};
|
|
48
51
|
penMode: boolean;
|
|
49
52
|
penDetected: boolean;
|
|
50
53
|
exportBackground: boolean;
|
|
@@ -77,8 +80,8 @@ export declare const actionAddToLibrary: {
|
|
|
77
80
|
zoom: Readonly<{
|
|
78
81
|
value: import("../types").NormalizedZoomValue;
|
|
79
82
|
}>;
|
|
80
|
-
openMenu: "
|
|
81
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
83
|
+
openMenu: "canvas" | null;
|
|
84
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
82
85
|
openSidebar: {
|
|
83
86
|
name: string;
|
|
84
87
|
tab?: string | undefined;
|
|
@@ -87,7 +90,7 @@ export declare const actionAddToLibrary: {
|
|
|
87
90
|
name: "imageExport" | "help" | "jsonExport";
|
|
88
91
|
} | {
|
|
89
92
|
name: "ttd";
|
|
90
|
-
tab: "text-to-diagram"
|
|
93
|
+
tab: "mermaid" | "text-to-diagram";
|
|
91
94
|
} | {
|
|
92
95
|
name: "commandPalette";
|
|
93
96
|
} | {
|
|
@@ -154,9 +157,8 @@ export declare const actionAddToLibrary: {
|
|
|
154
157
|
shown: true;
|
|
155
158
|
data: import("../charts").Spreadsheet;
|
|
156
159
|
};
|
|
157
|
-
pendingImageElementId: string | null;
|
|
158
160
|
showHyperlinkPopup: false | "editor" | "info";
|
|
159
|
-
selectedLinearElement: import("@excalidraw/element
|
|
161
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
160
162
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
161
163
|
originSnapOffset: {
|
|
162
164
|
x: number;
|
|
@@ -167,16 +169,15 @@ export declare const actionAddToLibrary: {
|
|
|
167
169
|
followedBy: Set<import("../types").SocketId>;
|
|
168
170
|
isCropping: boolean;
|
|
169
171
|
croppingElementId: string | null;
|
|
170
|
-
searchMatches:
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
}[];
|
|
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" | "mobile";
|
|
180
181
|
};
|
|
181
182
|
} | {
|
|
182
183
|
captureUpdate: "EVENTUALLY";
|
|
@@ -191,7 +192,7 @@ export declare const actionAddToLibrary: {
|
|
|
191
192
|
isLoading: boolean;
|
|
192
193
|
activeEmbeddable: {
|
|
193
194
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
194
|
-
state: "
|
|
195
|
+
state: "active" | "hover";
|
|
195
196
|
} | null;
|
|
196
197
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
197
198
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -199,7 +200,7 @@ export declare const actionAddToLibrary: {
|
|
|
199
200
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
200
201
|
isBindingEnabled: boolean;
|
|
201
202
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
202
|
-
suggestedBindings: import("@excalidraw/element
|
|
203
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
203
204
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
204
205
|
frameRendering: {
|
|
205
206
|
enabled: boolean;
|
|
@@ -210,12 +211,15 @@ export declare const actionAddToLibrary: {
|
|
|
210
211
|
editingFrame: string | null;
|
|
211
212
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
212
213
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
213
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
214
214
|
activeTool: {
|
|
215
215
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
216
216
|
locked: boolean;
|
|
217
217
|
fromSelection: boolean;
|
|
218
218
|
} & import("../types").ActiveTool;
|
|
219
|
+
preferredSelectionTool: {
|
|
220
|
+
type: "selection" | "lasso";
|
|
221
|
+
initialized: boolean;
|
|
222
|
+
};
|
|
219
223
|
penMode: boolean;
|
|
220
224
|
penDetected: boolean;
|
|
221
225
|
exportBackground: boolean;
|
|
@@ -248,8 +252,8 @@ export declare const actionAddToLibrary: {
|
|
|
248
252
|
zoom: Readonly<{
|
|
249
253
|
value: import("../types").NormalizedZoomValue;
|
|
250
254
|
}>;
|
|
251
|
-
openMenu: "
|
|
252
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
255
|
+
openMenu: "canvas" | null;
|
|
256
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
253
257
|
openSidebar: {
|
|
254
258
|
name: string;
|
|
255
259
|
tab?: string | undefined;
|
|
@@ -258,7 +262,7 @@ export declare const actionAddToLibrary: {
|
|
|
258
262
|
name: "imageExport" | "help" | "jsonExport";
|
|
259
263
|
} | {
|
|
260
264
|
name: "ttd";
|
|
261
|
-
tab: "text-to-diagram"
|
|
265
|
+
tab: "mermaid" | "text-to-diagram";
|
|
262
266
|
} | {
|
|
263
267
|
name: "commandPalette";
|
|
264
268
|
} | {
|
|
@@ -330,9 +334,8 @@ export declare const actionAddToLibrary: {
|
|
|
330
334
|
shown: true;
|
|
331
335
|
data: import("../charts").Spreadsheet;
|
|
332
336
|
};
|
|
333
|
-
pendingImageElementId: string | null;
|
|
334
337
|
showHyperlinkPopup: false | "editor" | "info";
|
|
335
|
-
selectedLinearElement: import("@excalidraw/element
|
|
338
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
336
339
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
337
340
|
originSnapOffset: {
|
|
338
341
|
x: number;
|
|
@@ -343,16 +346,15 @@ export declare const actionAddToLibrary: {
|
|
|
343
346
|
followedBy: Set<import("../types").SocketId>;
|
|
344
347
|
isCropping: boolean;
|
|
345
348
|
croppingElementId: string | null;
|
|
346
|
-
searchMatches:
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
}[];
|
|
349
|
+
searchMatches: Readonly<{
|
|
350
|
+
focusedId: string | null;
|
|
351
|
+
matches: readonly import("../types").SearchMatch[];
|
|
352
|
+
}> | null;
|
|
353
|
+
activeLockedId: string | null;
|
|
354
|
+
lockedMultiSelections: {
|
|
355
|
+
[groupId: string]: true;
|
|
356
|
+
};
|
|
357
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
356
358
|
};
|
|
357
359
|
}> | {
|
|
358
360
|
captureUpdate: "EVENTUALLY";
|
|
@@ -367,7 +369,7 @@ export declare const actionAddToLibrary: {
|
|
|
367
369
|
isLoading: boolean;
|
|
368
370
|
activeEmbeddable: {
|
|
369
371
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
370
|
-
state: "
|
|
372
|
+
state: "active" | "hover";
|
|
371
373
|
} | null;
|
|
372
374
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
373
375
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -375,7 +377,7 @@ export declare const actionAddToLibrary: {
|
|
|
375
377
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
376
378
|
isBindingEnabled: boolean;
|
|
377
379
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
378
|
-
suggestedBindings: import("@excalidraw/element
|
|
380
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
379
381
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
380
382
|
frameRendering: {
|
|
381
383
|
enabled: boolean;
|
|
@@ -386,12 +388,15 @@ export declare const actionAddToLibrary: {
|
|
|
386
388
|
editingFrame: string | null;
|
|
387
389
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
388
390
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
389
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
390
391
|
activeTool: {
|
|
391
392
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
392
393
|
locked: boolean;
|
|
393
394
|
fromSelection: boolean;
|
|
394
395
|
} & import("../types").ActiveTool;
|
|
396
|
+
preferredSelectionTool: {
|
|
397
|
+
type: "selection" | "lasso";
|
|
398
|
+
initialized: boolean;
|
|
399
|
+
};
|
|
395
400
|
penMode: boolean;
|
|
396
401
|
penDetected: boolean;
|
|
397
402
|
exportBackground: boolean;
|
|
@@ -424,8 +429,8 @@ export declare const actionAddToLibrary: {
|
|
|
424
429
|
zoom: Readonly<{
|
|
425
430
|
value: import("../types").NormalizedZoomValue;
|
|
426
431
|
}>;
|
|
427
|
-
openMenu: "
|
|
428
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
432
|
+
openMenu: "canvas" | null;
|
|
433
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
429
434
|
openSidebar: {
|
|
430
435
|
name: string;
|
|
431
436
|
tab?: string | undefined;
|
|
@@ -434,7 +439,7 @@ export declare const actionAddToLibrary: {
|
|
|
434
439
|
name: "imageExport" | "help" | "jsonExport";
|
|
435
440
|
} | {
|
|
436
441
|
name: "ttd";
|
|
437
|
-
tab: "text-to-diagram"
|
|
442
|
+
tab: "mermaid" | "text-to-diagram";
|
|
438
443
|
} | {
|
|
439
444
|
name: "commandPalette";
|
|
440
445
|
} | {
|
|
@@ -506,9 +511,8 @@ export declare const actionAddToLibrary: {
|
|
|
506
511
|
shown: true;
|
|
507
512
|
data: import("../charts").Spreadsheet;
|
|
508
513
|
};
|
|
509
|
-
pendingImageElementId: string | null;
|
|
510
514
|
showHyperlinkPopup: false | "editor" | "info";
|
|
511
|
-
selectedLinearElement: import("@excalidraw/element
|
|
515
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
512
516
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
513
517
|
originSnapOffset: {
|
|
514
518
|
x: number;
|
|
@@ -519,16 +523,15 @@ export declare const actionAddToLibrary: {
|
|
|
519
523
|
followedBy: Set<import("../types").SocketId>;
|
|
520
524
|
isCropping: boolean;
|
|
521
525
|
croppingElementId: string | null;
|
|
522
|
-
searchMatches:
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
}[];
|
|
526
|
+
searchMatches: Readonly<{
|
|
527
|
+
focusedId: string | null;
|
|
528
|
+
matches: readonly import("../types").SearchMatch[];
|
|
529
|
+
}> | null;
|
|
530
|
+
activeLockedId: string | null;
|
|
531
|
+
lockedMultiSelections: {
|
|
532
|
+
[groupId: string]: true;
|
|
533
|
+
};
|
|
534
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
532
535
|
};
|
|
533
536
|
};
|
|
534
537
|
label: string;
|
|
@@ -40,7 +40,7 @@ export declare const actionBindText: {
|
|
|
40
40
|
errorMessage: import("react").ReactNode;
|
|
41
41
|
activeEmbeddable: {
|
|
42
42
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
43
|
-
state: "
|
|
43
|
+
state: "active" | "hover";
|
|
44
44
|
} | null;
|
|
45
45
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
46
46
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -48,7 +48,7 @@ export declare const actionBindText: {
|
|
|
48
48
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
49
49
|
isBindingEnabled: boolean;
|
|
50
50
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
51
|
-
suggestedBindings: import("@excalidraw/element
|
|
51
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
52
52
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
53
53
|
frameRendering: {
|
|
54
54
|
enabled: boolean;
|
|
@@ -59,12 +59,15 @@ export declare const actionBindText: {
|
|
|
59
59
|
editingFrame: string | null;
|
|
60
60
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
61
61
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
62
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
63
62
|
activeTool: {
|
|
64
63
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
65
64
|
locked: boolean;
|
|
66
65
|
fromSelection: boolean;
|
|
67
66
|
} & import("../types").ActiveTool;
|
|
67
|
+
preferredSelectionTool: {
|
|
68
|
+
type: "selection" | "lasso";
|
|
69
|
+
initialized: boolean;
|
|
70
|
+
};
|
|
68
71
|
penMode: boolean;
|
|
69
72
|
penDetected: boolean;
|
|
70
73
|
exportBackground: boolean;
|
|
@@ -97,8 +100,8 @@ export declare const actionBindText: {
|
|
|
97
100
|
zoom: Readonly<{
|
|
98
101
|
value: import("../types").NormalizedZoomValue;
|
|
99
102
|
}>;
|
|
100
|
-
openMenu: "
|
|
101
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
103
|
+
openMenu: "canvas" | null;
|
|
104
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
102
105
|
openSidebar: {
|
|
103
106
|
name: string;
|
|
104
107
|
tab?: string | undefined;
|
|
@@ -107,7 +110,7 @@ export declare const actionBindText: {
|
|
|
107
110
|
name: "imageExport" | "help" | "jsonExport";
|
|
108
111
|
} | {
|
|
109
112
|
name: "ttd";
|
|
110
|
-
tab: "text-to-diagram"
|
|
113
|
+
tab: "mermaid" | "text-to-diagram";
|
|
111
114
|
} | {
|
|
112
115
|
name: "commandPalette";
|
|
113
116
|
} | {
|
|
@@ -176,9 +179,8 @@ export declare const actionBindText: {
|
|
|
176
179
|
shown: true;
|
|
177
180
|
data: import("../charts").Spreadsheet;
|
|
178
181
|
};
|
|
179
|
-
pendingImageElementId: string | null;
|
|
180
182
|
showHyperlinkPopup: false | "editor" | "info";
|
|
181
|
-
selectedLinearElement: import("@excalidraw/element
|
|
183
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
182
184
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
183
185
|
originSnapOffset: {
|
|
184
186
|
x: number;
|
|
@@ -189,16 +191,15 @@ export declare const actionBindText: {
|
|
|
189
191
|
followedBy: Set<import("../types").SocketId>;
|
|
190
192
|
isCropping: boolean;
|
|
191
193
|
croppingElementId: string | null;
|
|
192
|
-
searchMatches:
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
}[];
|
|
194
|
+
searchMatches: Readonly<{
|
|
195
|
+
focusedId: string | null;
|
|
196
|
+
matches: readonly import("../types").SearchMatch[];
|
|
197
|
+
}> | null;
|
|
198
|
+
activeLockedId: string | null;
|
|
199
|
+
lockedMultiSelections: {
|
|
200
|
+
[groupId: string]: true;
|
|
201
|
+
};
|
|
202
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
202
203
|
};
|
|
203
204
|
captureUpdate: "IMMEDIATELY";
|
|
204
205
|
};
|
|
@@ -228,7 +229,7 @@ export declare const actionWrapTextInContainer: {
|
|
|
228
229
|
errorMessage: import("react").ReactNode;
|
|
229
230
|
activeEmbeddable: {
|
|
230
231
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
231
|
-
state: "
|
|
232
|
+
state: "active" | "hover";
|
|
232
233
|
} | null;
|
|
233
234
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
234
235
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
@@ -236,7 +237,7 @@ export declare const actionWrapTextInContainer: {
|
|
|
236
237
|
selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
237
238
|
isBindingEnabled: boolean;
|
|
238
239
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
239
|
-
suggestedBindings: import("@excalidraw/element
|
|
240
|
+
suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
|
|
240
241
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
241
242
|
frameRendering: {
|
|
242
243
|
enabled: boolean;
|
|
@@ -247,12 +248,15 @@ export declare const actionWrapTextInContainer: {
|
|
|
247
248
|
editingFrame: string | null;
|
|
248
249
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
249
250
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
250
|
-
editingLinearElement: import("@excalidraw/element/linearElementEditor").LinearElementEditor | null;
|
|
251
251
|
activeTool: {
|
|
252
252
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
253
253
|
locked: boolean;
|
|
254
254
|
fromSelection: boolean;
|
|
255
255
|
} & import("../types").ActiveTool;
|
|
256
|
+
preferredSelectionTool: {
|
|
257
|
+
type: "selection" | "lasso";
|
|
258
|
+
initialized: boolean;
|
|
259
|
+
};
|
|
256
260
|
penMode: boolean;
|
|
257
261
|
penDetected: boolean;
|
|
258
262
|
exportBackground: boolean;
|
|
@@ -285,8 +289,8 @@ export declare const actionWrapTextInContainer: {
|
|
|
285
289
|
zoom: Readonly<{
|
|
286
290
|
value: import("../types").NormalizedZoomValue;
|
|
287
291
|
}>;
|
|
288
|
-
openMenu: "
|
|
289
|
-
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
|
|
292
|
+
openMenu: "canvas" | null;
|
|
293
|
+
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
290
294
|
openSidebar: {
|
|
291
295
|
name: string;
|
|
292
296
|
tab?: string | undefined;
|
|
@@ -295,7 +299,7 @@ export declare const actionWrapTextInContainer: {
|
|
|
295
299
|
name: "imageExport" | "help" | "jsonExport";
|
|
296
300
|
} | {
|
|
297
301
|
name: "ttd";
|
|
298
|
-
tab: "text-to-diagram"
|
|
302
|
+
tab: "mermaid" | "text-to-diagram";
|
|
299
303
|
} | {
|
|
300
304
|
name: "commandPalette";
|
|
301
305
|
} | {
|
|
@@ -364,9 +368,8 @@ export declare const actionWrapTextInContainer: {
|
|
|
364
368
|
shown: true;
|
|
365
369
|
data: import("../charts").Spreadsheet;
|
|
366
370
|
};
|
|
367
|
-
pendingImageElementId: string | null;
|
|
368
371
|
showHyperlinkPopup: false | "editor" | "info";
|
|
369
|
-
selectedLinearElement: import("@excalidraw/element
|
|
372
|
+
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
370
373
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
371
374
|
originSnapOffset: {
|
|
372
375
|
x: number;
|
|
@@ -377,16 +380,15 @@ export declare const actionWrapTextInContainer: {
|
|
|
377
380
|
followedBy: Set<import("../types").SocketId>;
|
|
378
381
|
isCropping: boolean;
|
|
379
382
|
croppingElementId: string | null;
|
|
380
|
-
searchMatches:
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
}[];
|
|
383
|
+
searchMatches: Readonly<{
|
|
384
|
+
focusedId: string | null;
|
|
385
|
+
matches: readonly import("../types").SearchMatch[];
|
|
386
|
+
}> | null;
|
|
387
|
+
activeLockedId: string | null;
|
|
388
|
+
lockedMultiSelections: {
|
|
389
|
+
[groupId: string]: true;
|
|
390
|
+
};
|
|
391
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
390
392
|
};
|
|
391
393
|
captureUpdate: "IMMEDIATELY";
|
|
392
394
|
};
|