@excalidraw/math 0.18.0-2b1c2a9 → 0.18.0-2c3dcc0
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/index.js +8 -2
- package/dist/dev/index.js.map +2 -2
- package/dist/prod/index.js +1 -1
- package/dist/types/common/src/colors.d.ts +3 -0
- package/dist/types/common/src/constants.d.ts +56 -0
- package/dist/types/common/src/keys.d.ts +4 -0
- package/dist/types/common/src/random.d.ts +7 -0
- package/dist/types/common/src/utils.d.ts +12 -1
- package/dist/types/element/src/Scene.d.ts +1 -1
- package/dist/types/element/src/align.d.ts +4 -1
- package/dist/types/element/src/binding.d.ts +75 -7
- package/dist/types/element/src/bounds.d.ts +10 -2
- package/dist/types/element/src/collision.d.ts +21 -5
- package/dist/types/element/src/comparisons.d.ts +5 -3
- package/dist/types/element/src/cropElement.d.ts +36 -4
- package/dist/types/element/src/delta.d.ts +30 -2
- package/dist/types/element/src/distribute.d.ts +4 -1
- package/dist/types/element/src/dragElements.d.ts +8 -3
- package/dist/types/element/src/duplicate.d.ts +60 -0
- package/dist/types/element/src/elbowArrow.d.ts +5 -0
- package/dist/types/element/src/embeddable.d.ts +2 -1
- package/dist/types/element/src/flowchart.d.ts +6 -8
- package/dist/types/element/src/frame.d.ts +21 -3
- package/dist/types/element/src/groups.d.ts +1 -6
- package/dist/types/element/src/image.d.ts +5 -2
- package/dist/types/element/src/index.d.ts +3 -0
- package/dist/types/element/src/linearElementEditor.d.ts +4 -1
- package/dist/types/element/src/listMarker.d.ts +39 -0
- package/dist/types/element/src/mutateElement.d.ts +1 -1
- package/dist/types/element/src/newElement.d.ts +40 -3
- package/dist/types/element/src/renderElement.d.ts +31 -4
- package/dist/types/element/src/renderEnvironment.d.ts +66 -0
- package/dist/types/element/src/resizeElements.d.ts +15 -5
- package/dist/types/element/src/selection.d.ts +4 -10
- package/dist/types/element/src/shape.d.ts +17 -1
- package/dist/types/element/src/sizeHelpers.d.ts +6 -0
- package/dist/types/element/src/stickyNote.d.ts +191 -0
- package/dist/types/element/src/textElement.d.ts +10 -2
- package/dist/types/element/src/textMeasurements.d.ts +15 -11
- package/dist/types/element/src/textWrapping.d.ts +3 -2
- package/dist/types/element/src/transform.d.ts +30 -7
- package/dist/types/element/src/typeChecks.d.ts +3 -2
- package/dist/types/element/src/types.d.ts +28 -6
- package/dist/types/element/src/utils.d.ts +8 -1
- package/dist/types/element/src/zindex.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +48 -3
- package/dist/types/excalidraw/actions/actionAlign.d.ts +6 -6
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +62 -208
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +121 -16
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +32 -2
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +16 -1
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +4 -546
- package/dist/types/excalidraw/actions/actionDeselect.d.ts +20 -2
- package/dist/types/excalidraw/actions/actionDistribute.d.ts +2 -2
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +16 -1
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +32 -2
- package/dist/types/excalidraw/actions/actionExport.d.ts +39 -9
- package/dist/types/excalidraw/actions/actionFrame.d.ts +92 -479
- package/dist/types/excalidraw/actions/actionGroup.d.ts +34 -4
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +66 -2
- package/dist/types/excalidraw/actions/actionLink.d.ts +16 -1
- package/dist/types/excalidraw/actions/actionMenu.d.ts +16 -1
- package/dist/types/excalidraw/actions/actionProperties.d.ts +42 -8
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +17 -2
- package/dist/types/excalidraw/actions/actionStyles.d.ts +17 -2
- package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +452 -6
- package/dist/types/excalidraw/actions/actionToggleArrowBinding.d.ts +16 -1
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +16 -1
- package/dist/types/excalidraw/actions/actionToggleMidpointSnapping.d.ts +16 -1
- package/dist/types/excalidraw/actions/actionToggleMinimap.d.ts +201 -0
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +16 -1
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +16 -1
- package/dist/types/excalidraw/actions/actionToggleShowHints.d.ts +198 -0
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +16 -1
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +16 -1
- package/dist/types/excalidraw/actions/actionToggleWrap.d.ts +12 -0
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +16 -1
- package/dist/types/excalidraw/actions/colorTargets.d.ts +39 -0
- package/dist/types/excalidraw/actions/index.d.ts +3 -0
- package/dist/types/excalidraw/actions/shortcuts.d.ts +1 -1
- package/dist/types/excalidraw/actions/types.d.ts +1 -1
- package/dist/types/excalidraw/appState.d.ts +26 -8
- package/dist/types/excalidraw/charts/charts.bar.d.ts +2 -1
- package/dist/types/excalidraw/charts/charts.helpers.d.ts +6 -5
- package/dist/types/excalidraw/charts/charts.line.d.ts +2 -1
- package/dist/types/excalidraw/charts/charts.radar.d.ts +2 -1
- package/dist/types/excalidraw/charts/index.d.ts +2 -1
- package/dist/types/excalidraw/components/Actions.d.ts +10 -2
- package/dist/types/excalidraw/components/App.arrowText.d.ts +5 -39
- package/dist/types/excalidraw/components/App.clipboard.d.ts +31 -0
- package/dist/types/excalidraw/components/App.d.ts +129 -218
- package/dist/types/excalidraw/components/App.duplicate.d.ts +101 -0
- package/dist/types/excalidraw/components/App.host.d.ts +102 -0
- package/dist/types/excalidraw/components/App.modifiers.d.ts +38 -0
- package/dist/types/excalidraw/components/App.pan.d.ts +62 -0
- package/dist/types/excalidraw/components/App.selection.d.ts +265 -0
- package/dist/types/excalidraw/components/App.selectionTool.d.ts +94 -0
- package/dist/types/excalidraw/components/App.text.d.ts +194 -0
- package/dist/types/excalidraw/components/App.textTool.d.ts +140 -0
- package/dist/types/excalidraw/components/App.toolDrag.d.ts +63 -0
- package/dist/types/excalidraw/components/App.viewport.d.ts +64 -4
- package/dist/types/excalidraw/components/App.wheel.d.ts +30 -0
- package/dist/types/excalidraw/components/App.wrap.d.ts +39 -0
- package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -0
- package/dist/types/excalidraw/components/ColorPicker/colorTopPicksDnD.d.ts +11 -0
- package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +2 -1
- package/dist/types/excalidraw/components/FileDropOverlay.d.ts +2 -0
- package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +4 -1
- package/dist/types/excalidraw/components/FontPicker/FontPickerList.d.ts +6 -1
- package/dist/types/excalidraw/components/FontPicker/fontTopPicksDnD.d.ts +12 -0
- package/dist/types/excalidraw/components/IconButton.d.ts +2 -0
- package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +6 -2
- package/dist/types/excalidraw/components/LibraryUnit.d.ts +7 -2
- package/dist/types/excalidraw/components/Minimap/Minimap.d.ts +15 -0
- package/dist/types/excalidraw/components/Minimap/MinimapAnnouncementDot.d.ts +10 -0
- package/dist/types/excalidraw/components/Minimap/minimap-controller.chunk.d.ts +90 -0
- package/dist/types/excalidraw/components/Minimap/minimap-shared.chunk.d.ts +122 -0
- package/dist/types/excalidraw/components/Minimap/minimap-worker.chunk.d.ts +12 -0
- package/dist/types/excalidraw/components/Stats/utils.d.ts +4 -2
- package/dist/types/excalidraw/components/TTDDialog/MermaidToExcalidraw.d.ts +2 -1
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogOutput.d.ts +5 -2
- package/dist/types/excalidraw/components/TTDDialog/TTDPreviewPanel.d.ts +5 -2
- package/dist/types/excalidraw/components/TTDDialog/TextToDiagram.d.ts +2 -1
- package/dist/types/excalidraw/components/TTDDialog/common.d.ts +4 -1
- package/dist/types/excalidraw/components/TTDDialog/hooks/useTextGeneration.d.ts +3 -2
- package/dist/types/excalidraw/components/TTDDialog/types.d.ts +14 -1
- package/dist/types/excalidraw/components/TTDDialog/utils/mermaidError.d.ts +16 -0
- package/dist/types/excalidraw/components/Tools.d.ts +7 -2
- package/dist/types/excalidraw/components/Tooltip.d.ts +26 -2
- package/dist/types/excalidraw/components/TopPicksDnD/TopPicksContextMenu.d.ts +14 -0
- package/dist/types/excalidraw/components/TopPicksDnD/TopPicksTip.d.ts +11 -0
- package/dist/types/excalidraw/components/TopPicksDnD/topPicksDnD.d.ts +58 -0
- package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +0 -1
- package/dist/types/excalidraw/components/canvases/NewElementCanvas.d.ts +2 -0
- package/dist/types/excalidraw/components/footer/Footer.d.ts +3 -1
- package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +3 -2
- package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +13 -2
- package/dist/types/excalidraw/components/icons.d.ts +2 -0
- package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +3 -0
- package/dist/types/excalidraw/components/shapeActionPredicates.d.ts +2 -2
- package/dist/types/excalidraw/data/blob.d.ts +46 -16
- package/dist/types/excalidraw/data/index.d.ts +3 -3
- package/dist/types/excalidraw/data/json.d.ts +23 -8
- package/dist/types/excalidraw/fonts/Fonts.d.ts +9 -6
- package/dist/types/excalidraw/history.d.ts +10 -4
- package/dist/types/excalidraw/mermaid.d.ts +7 -0
- package/dist/types/excalidraw/reactUtils.d.ts +1 -1
- package/dist/types/excalidraw/renderOverrides.d.ts +9 -0
- package/dist/types/excalidraw/renderer/animation.d.ts +11 -4
- package/dist/types/excalidraw/renderer/helpers.d.ts +18 -0
- package/dist/types/excalidraw/renderer/interactiveScene.d.ts +1 -1
- package/dist/types/excalidraw/renderer/staticScene.d.ts +11 -6
- package/dist/types/excalidraw/scene/Renderer.d.ts +64 -3
- package/dist/types/excalidraw/scene/export.d.ts +343 -20
- package/dist/types/excalidraw/scene/index.d.ts +1 -1
- package/dist/types/excalidraw/scene/types.d.ts +26 -2
- package/dist/types/excalidraw/types.d.ts +191 -22
- package/dist/types/excalidraw/viewport.d.ts +29 -1
- package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +12 -1
- package/dist/types/utils/src/index.d.ts +3 -1
- package/dist/types/utils/src/shape.d.ts +2 -2
- package/package.json +2 -2
- package/dist/types/excalidraw/components/ColorPicker/topPicksDnD.d.ts +0 -31
- package/dist/types/utils/src/export.d.ts +0 -35
|
@@ -30,7 +30,10 @@ export declare const actionClearCanvas: {
|
|
|
30
30
|
elementStroke: readonly string[] | null;
|
|
31
31
|
elementBackground: readonly string[] | null;
|
|
32
32
|
bucketFill: readonly string[] | null;
|
|
33
|
+
stickyNoteStroke: readonly string[] | null;
|
|
34
|
+
stickyNoteBackground: readonly string[] | null;
|
|
33
35
|
};
|
|
36
|
+
fontTopPicks: readonly number[] | null;
|
|
34
37
|
activeTool: {
|
|
35
38
|
lastActiveTool: import("../types").ActiveTool | null;
|
|
36
39
|
locked: boolean;
|
|
@@ -45,6 +48,11 @@ export declare const actionClearCanvas: {
|
|
|
45
48
|
};
|
|
46
49
|
name: string | null;
|
|
47
50
|
zoom: import("../types").Zoom;
|
|
51
|
+
isBindingEnabled: boolean;
|
|
52
|
+
isMidpointSnappingEnabled: boolean;
|
|
53
|
+
selectedElementIds: Readonly<{
|
|
54
|
+
[id: string]: true;
|
|
55
|
+
}>;
|
|
48
56
|
scrollX: number;
|
|
49
57
|
scrollY: number;
|
|
50
58
|
viewModeEnabled: boolean;
|
|
@@ -66,9 +74,6 @@ export declare const actionClearCanvas: {
|
|
|
66
74
|
rawText: string;
|
|
67
75
|
};
|
|
68
76
|
editingGroupId: import("@excalidraw/element/types").GroupId | null;
|
|
69
|
-
selectedElementIds: Readonly<{
|
|
70
|
-
[id: string]: true;
|
|
71
|
-
}>;
|
|
72
77
|
frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
|
|
73
78
|
activeEmbeddable: {
|
|
74
79
|
element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
|
|
@@ -81,13 +86,18 @@ export declare const actionClearCanvas: {
|
|
|
81
86
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
82
87
|
multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
|
|
83
88
|
newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
|
|
84
|
-
isBindingEnabled: boolean;
|
|
85
|
-
isMidpointSnappingEnabled: boolean;
|
|
86
89
|
suggestedBinding: {
|
|
87
90
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
88
91
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
89
92
|
} | null;
|
|
90
|
-
|
|
93
|
+
textToolHover: {
|
|
94
|
+
type: "text";
|
|
95
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
96
|
+
} | {
|
|
97
|
+
type: "container";
|
|
98
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
99
|
+
} | {
|
|
100
|
+
type: "arrow";
|
|
91
101
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
92
102
|
anchor: "start" | "end" | "label";
|
|
93
103
|
} | null;
|
|
@@ -110,7 +120,6 @@ export declare const actionClearCanvas: {
|
|
|
110
120
|
shouldCacheIgnoreZoom: boolean;
|
|
111
121
|
exportScale: number;
|
|
112
122
|
currentItemArrowType: "sharp" | "round" | "elbow";
|
|
113
|
-
bindMode: import("@excalidraw/element/types").BindMode;
|
|
114
123
|
contextMenu: {
|
|
115
124
|
items: import("../components/ContextMenu").ContextMenuItems;
|
|
116
125
|
top: number;
|
|
@@ -122,6 +131,8 @@ export declare const actionClearCanvas: {
|
|
|
122
131
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
123
132
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
124
133
|
bindingPreference: "enabled" | "disabled";
|
|
134
|
+
showHints: boolean;
|
|
135
|
+
inputDevice: import("../types").InputDevice;
|
|
125
136
|
editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
|
|
126
137
|
preferredSelectionTool: {
|
|
127
138
|
type: "selection" | "lasso";
|
|
@@ -129,6 +140,8 @@ export declare const actionClearCanvas: {
|
|
|
129
140
|
};
|
|
130
141
|
exportWithDarkMode: boolean;
|
|
131
142
|
currentItemStrokeColor: string;
|
|
143
|
+
currentItemStickynoteStrokeColor: string;
|
|
144
|
+
currentItemStickynoteBackgroundColor: string;
|
|
132
145
|
currentItemBackgroundColor: string;
|
|
133
146
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
134
147
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -164,6 +177,7 @@ export declare const actionClearCanvas: {
|
|
|
164
177
|
closable?: boolean;
|
|
165
178
|
duration?: number;
|
|
166
179
|
} | null;
|
|
180
|
+
minimapEnabled: boolean;
|
|
167
181
|
fileHandle: FileSystemFileHandle | null;
|
|
168
182
|
showHyperlinkPopup: false | "info" | "editor";
|
|
169
183
|
originSnapOffset: {
|
|
@@ -174,6 +188,7 @@ export declare const actionClearCanvas: {
|
|
|
174
188
|
lockedMultiSelections: {
|
|
175
189
|
[groupId: string]: true;
|
|
176
190
|
};
|
|
191
|
+
bindMode: import("@excalidraw/element/types").BindMode;
|
|
177
192
|
};
|
|
178
193
|
captureUpdate: "IMMEDIATELY";
|
|
179
194
|
};
|
|
@@ -190,7 +205,7 @@ export declare const actionZoomIn: {
|
|
|
190
205
|
category: "canvas";
|
|
191
206
|
};
|
|
192
207
|
predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: AppState, appProps: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
193
|
-
perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>,
|
|
208
|
+
perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, anchor: unknown, app: import("../types").AppClassProperties) => {
|
|
194
209
|
appState: {
|
|
195
210
|
zoom: import("../types").Zoom;
|
|
196
211
|
scrollX: number;
|
|
@@ -215,11 +230,20 @@ export declare const actionZoomIn: {
|
|
|
215
230
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
216
231
|
bindingPreference: "enabled" | "disabled";
|
|
217
232
|
isMidpointSnappingEnabled: boolean;
|
|
233
|
+
showHints: boolean;
|
|
234
|
+
inputDevice: import("../types").InputDevice;
|
|
218
235
|
suggestedBinding: {
|
|
219
236
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
220
237
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
221
238
|
} | null;
|
|
222
|
-
|
|
239
|
+
textToolHover: {
|
|
240
|
+
type: "text";
|
|
241
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
242
|
+
} | {
|
|
243
|
+
type: "container";
|
|
244
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
245
|
+
} | {
|
|
246
|
+
type: "arrow";
|
|
223
247
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
224
248
|
anchor: "start" | "end" | "label";
|
|
225
249
|
} | null;
|
|
@@ -249,6 +273,8 @@ export declare const actionZoomIn: {
|
|
|
249
273
|
exportWithDarkMode: boolean;
|
|
250
274
|
exportScale: number;
|
|
251
275
|
currentItemStrokeColor: string;
|
|
276
|
+
currentItemStickynoteStrokeColor: string;
|
|
277
|
+
currentItemStickynoteBackgroundColor: string;
|
|
252
278
|
currentItemBackgroundColor: string;
|
|
253
279
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
254
280
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -313,6 +339,7 @@ export declare const actionZoomIn: {
|
|
|
313
339
|
duration?: number;
|
|
314
340
|
} | null;
|
|
315
341
|
zenModeEnabled: boolean;
|
|
342
|
+
minimapEnabled: boolean;
|
|
316
343
|
theme: import("@excalidraw/element/types").Theme;
|
|
317
344
|
gridSize: number;
|
|
318
345
|
gridStep: number;
|
|
@@ -355,7 +382,10 @@ export declare const actionZoomIn: {
|
|
|
355
382
|
elementStroke: readonly string[] | null;
|
|
356
383
|
elementBackground: readonly string[] | null;
|
|
357
384
|
bucketFill: readonly string[] | null;
|
|
385
|
+
stickyNoteStroke: readonly string[] | null;
|
|
386
|
+
stickyNoteBackground: readonly string[] | null;
|
|
358
387
|
};
|
|
388
|
+
fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
|
|
359
389
|
};
|
|
360
390
|
captureUpdate: "EVENTUALLY";
|
|
361
391
|
};
|
|
@@ -374,7 +404,7 @@ export declare const actionZoomOut: {
|
|
|
374
404
|
category: "canvas";
|
|
375
405
|
};
|
|
376
406
|
predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: AppState, appProps: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
377
|
-
perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>,
|
|
407
|
+
perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, anchor: unknown, app: import("../types").AppClassProperties) => {
|
|
378
408
|
appState: {
|
|
379
409
|
zoom: import("../types").Zoom;
|
|
380
410
|
scrollX: number;
|
|
@@ -399,11 +429,20 @@ export declare const actionZoomOut: {
|
|
|
399
429
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
400
430
|
bindingPreference: "enabled" | "disabled";
|
|
401
431
|
isMidpointSnappingEnabled: boolean;
|
|
432
|
+
showHints: boolean;
|
|
433
|
+
inputDevice: import("../types").InputDevice;
|
|
402
434
|
suggestedBinding: {
|
|
403
435
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
404
436
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
405
437
|
} | null;
|
|
406
|
-
|
|
438
|
+
textToolHover: {
|
|
439
|
+
type: "text";
|
|
440
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
441
|
+
} | {
|
|
442
|
+
type: "container";
|
|
443
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
444
|
+
} | {
|
|
445
|
+
type: "arrow";
|
|
407
446
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
408
447
|
anchor: "start" | "end" | "label";
|
|
409
448
|
} | null;
|
|
@@ -433,6 +472,8 @@ export declare const actionZoomOut: {
|
|
|
433
472
|
exportWithDarkMode: boolean;
|
|
434
473
|
exportScale: number;
|
|
435
474
|
currentItemStrokeColor: string;
|
|
475
|
+
currentItemStickynoteStrokeColor: string;
|
|
476
|
+
currentItemStickynoteBackgroundColor: string;
|
|
436
477
|
currentItemBackgroundColor: string;
|
|
437
478
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
438
479
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -497,6 +538,7 @@ export declare const actionZoomOut: {
|
|
|
497
538
|
duration?: number;
|
|
498
539
|
} | null;
|
|
499
540
|
zenModeEnabled: boolean;
|
|
541
|
+
minimapEnabled: boolean;
|
|
500
542
|
theme: import("@excalidraw/element/types").Theme;
|
|
501
543
|
gridSize: number;
|
|
502
544
|
gridStep: number;
|
|
@@ -539,7 +581,10 @@ export declare const actionZoomOut: {
|
|
|
539
581
|
elementStroke: readonly string[] | null;
|
|
540
582
|
elementBackground: readonly string[] | null;
|
|
541
583
|
bucketFill: readonly string[] | null;
|
|
584
|
+
stickyNoteStroke: readonly string[] | null;
|
|
585
|
+
stickyNoteBackground: readonly string[] | null;
|
|
542
586
|
};
|
|
587
|
+
fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
|
|
543
588
|
};
|
|
544
589
|
captureUpdate: "EVENTUALLY";
|
|
545
590
|
};
|
|
@@ -558,7 +603,7 @@ export declare const actionResetZoom: {
|
|
|
558
603
|
category: "canvas";
|
|
559
604
|
};
|
|
560
605
|
predicate: (elements: readonly import("@excalidraw/element/types").ExcalidrawElement[], appState: AppState, appProps: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
|
|
561
|
-
perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>,
|
|
606
|
+
perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, anchor: unknown, app: import("../types").AppClassProperties) => {
|
|
562
607
|
appState: {
|
|
563
608
|
zoom: import("../types").Zoom;
|
|
564
609
|
scrollX: number;
|
|
@@ -583,11 +628,20 @@ export declare const actionResetZoom: {
|
|
|
583
628
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
584
629
|
bindingPreference: "enabled" | "disabled";
|
|
585
630
|
isMidpointSnappingEnabled: boolean;
|
|
631
|
+
showHints: boolean;
|
|
632
|
+
inputDevice: import("../types").InputDevice;
|
|
586
633
|
suggestedBinding: {
|
|
587
634
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
588
635
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
589
636
|
} | null;
|
|
590
|
-
|
|
637
|
+
textToolHover: {
|
|
638
|
+
type: "text";
|
|
639
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
640
|
+
} | {
|
|
641
|
+
type: "container";
|
|
642
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
643
|
+
} | {
|
|
644
|
+
type: "arrow";
|
|
591
645
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
592
646
|
anchor: "start" | "end" | "label";
|
|
593
647
|
} | null;
|
|
@@ -617,6 +671,8 @@ export declare const actionResetZoom: {
|
|
|
617
671
|
exportWithDarkMode: boolean;
|
|
618
672
|
exportScale: number;
|
|
619
673
|
currentItemStrokeColor: string;
|
|
674
|
+
currentItemStickynoteStrokeColor: string;
|
|
675
|
+
currentItemStickynoteBackgroundColor: string;
|
|
620
676
|
currentItemBackgroundColor: string;
|
|
621
677
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
622
678
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -681,6 +737,7 @@ export declare const actionResetZoom: {
|
|
|
681
737
|
duration?: number;
|
|
682
738
|
} | null;
|
|
683
739
|
zenModeEnabled: boolean;
|
|
740
|
+
minimapEnabled: boolean;
|
|
684
741
|
theme: import("@excalidraw/element/types").Theme;
|
|
685
742
|
gridSize: number;
|
|
686
743
|
gridStep: number;
|
|
@@ -723,7 +780,10 @@ export declare const actionResetZoom: {
|
|
|
723
780
|
elementStroke: readonly string[] | null;
|
|
724
781
|
elementBackground: readonly string[] | null;
|
|
725
782
|
bucketFill: readonly string[] | null;
|
|
783
|
+
stickyNoteStroke: readonly string[] | null;
|
|
784
|
+
stickyNoteBackground: readonly string[] | null;
|
|
726
785
|
};
|
|
786
|
+
fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
|
|
727
787
|
};
|
|
728
788
|
captureUpdate: "EVENTUALLY";
|
|
729
789
|
};
|
|
@@ -767,11 +827,20 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
767
827
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
768
828
|
bindingPreference: "enabled" | "disabled";
|
|
769
829
|
isMidpointSnappingEnabled: boolean;
|
|
830
|
+
showHints: boolean;
|
|
831
|
+
inputDevice: import("../types").InputDevice;
|
|
770
832
|
suggestedBinding: {
|
|
771
833
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
772
834
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
773
835
|
} | null;
|
|
774
|
-
|
|
836
|
+
textToolHover: {
|
|
837
|
+
type: "text";
|
|
838
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
839
|
+
} | {
|
|
840
|
+
type: "container";
|
|
841
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
842
|
+
} | {
|
|
843
|
+
type: "arrow";
|
|
775
844
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
776
845
|
anchor: "start" | "end" | "label";
|
|
777
846
|
} | null;
|
|
@@ -801,6 +870,8 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
801
870
|
exportWithDarkMode: boolean;
|
|
802
871
|
exportScale: number;
|
|
803
872
|
currentItemStrokeColor: string;
|
|
873
|
+
currentItemStickynoteStrokeColor: string;
|
|
874
|
+
currentItemStickynoteBackgroundColor: string;
|
|
804
875
|
currentItemBackgroundColor: string;
|
|
805
876
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
806
877
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -865,6 +936,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
865
936
|
duration?: number;
|
|
866
937
|
} | null;
|
|
867
938
|
zenModeEnabled: boolean;
|
|
939
|
+
minimapEnabled: boolean;
|
|
868
940
|
theme: import("@excalidraw/element/types").Theme;
|
|
869
941
|
gridSize: number;
|
|
870
942
|
gridStep: number;
|
|
@@ -907,7 +979,10 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
907
979
|
elementStroke: readonly string[] | null;
|
|
908
980
|
elementBackground: readonly string[] | null;
|
|
909
981
|
bucketFill: readonly string[] | null;
|
|
982
|
+
stickyNoteStroke: readonly string[] | null;
|
|
983
|
+
stickyNoteBackground: readonly string[] | null;
|
|
910
984
|
};
|
|
985
|
+
fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
|
|
911
986
|
};
|
|
912
987
|
captureUpdate: "EVENTUALLY";
|
|
913
988
|
};
|
|
@@ -950,11 +1025,20 @@ export declare const actionZoomToFitSelection: {
|
|
|
950
1025
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
951
1026
|
bindingPreference: "enabled" | "disabled";
|
|
952
1027
|
isMidpointSnappingEnabled: boolean;
|
|
1028
|
+
showHints: boolean;
|
|
1029
|
+
inputDevice: import("../types").InputDevice;
|
|
953
1030
|
suggestedBinding: {
|
|
954
1031
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
955
1032
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
956
1033
|
} | null;
|
|
957
|
-
|
|
1034
|
+
textToolHover: {
|
|
1035
|
+
type: "text";
|
|
1036
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
1037
|
+
} | {
|
|
1038
|
+
type: "container";
|
|
1039
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
1040
|
+
} | {
|
|
1041
|
+
type: "arrow";
|
|
958
1042
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
959
1043
|
anchor: "start" | "end" | "label";
|
|
960
1044
|
} | null;
|
|
@@ -984,6 +1068,8 @@ export declare const actionZoomToFitSelection: {
|
|
|
984
1068
|
exportWithDarkMode: boolean;
|
|
985
1069
|
exportScale: number;
|
|
986
1070
|
currentItemStrokeColor: string;
|
|
1071
|
+
currentItemStickynoteStrokeColor: string;
|
|
1072
|
+
currentItemStickynoteBackgroundColor: string;
|
|
987
1073
|
currentItemBackgroundColor: string;
|
|
988
1074
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
989
1075
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -1048,6 +1134,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1048
1134
|
duration?: number;
|
|
1049
1135
|
} | null;
|
|
1050
1136
|
zenModeEnabled: boolean;
|
|
1137
|
+
minimapEnabled: boolean;
|
|
1051
1138
|
theme: import("@excalidraw/element/types").Theme;
|
|
1052
1139
|
gridSize: number;
|
|
1053
1140
|
gridStep: number;
|
|
@@ -1090,7 +1177,10 @@ export declare const actionZoomToFitSelection: {
|
|
|
1090
1177
|
elementStroke: readonly string[] | null;
|
|
1091
1178
|
elementBackground: readonly string[] | null;
|
|
1092
1179
|
bucketFill: readonly string[] | null;
|
|
1180
|
+
stickyNoteStroke: readonly string[] | null;
|
|
1181
|
+
stickyNoteBackground: readonly string[] | null;
|
|
1093
1182
|
};
|
|
1183
|
+
fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
|
|
1094
1184
|
};
|
|
1095
1185
|
captureUpdate: "EVENTUALLY";
|
|
1096
1186
|
};
|
|
@@ -1133,11 +1223,20 @@ export declare const actionZoomToFit: {
|
|
|
1133
1223
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
1134
1224
|
bindingPreference: "enabled" | "disabled";
|
|
1135
1225
|
isMidpointSnappingEnabled: boolean;
|
|
1226
|
+
showHints: boolean;
|
|
1227
|
+
inputDevice: import("../types").InputDevice;
|
|
1136
1228
|
suggestedBinding: {
|
|
1137
1229
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
1138
1230
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
1139
1231
|
} | null;
|
|
1140
|
-
|
|
1232
|
+
textToolHover: {
|
|
1233
|
+
type: "text";
|
|
1234
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
1235
|
+
} | {
|
|
1236
|
+
type: "container";
|
|
1237
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
1238
|
+
} | {
|
|
1239
|
+
type: "arrow";
|
|
1141
1240
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
1142
1241
|
anchor: "start" | "end" | "label";
|
|
1143
1242
|
} | null;
|
|
@@ -1167,6 +1266,8 @@ export declare const actionZoomToFit: {
|
|
|
1167
1266
|
exportWithDarkMode: boolean;
|
|
1168
1267
|
exportScale: number;
|
|
1169
1268
|
currentItemStrokeColor: string;
|
|
1269
|
+
currentItemStickynoteStrokeColor: string;
|
|
1270
|
+
currentItemStickynoteBackgroundColor: string;
|
|
1170
1271
|
currentItemBackgroundColor: string;
|
|
1171
1272
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
1172
1273
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -1231,6 +1332,7 @@ export declare const actionZoomToFit: {
|
|
|
1231
1332
|
duration?: number;
|
|
1232
1333
|
} | null;
|
|
1233
1334
|
zenModeEnabled: boolean;
|
|
1335
|
+
minimapEnabled: boolean;
|
|
1234
1336
|
theme: import("@excalidraw/element/types").Theme;
|
|
1235
1337
|
gridSize: number;
|
|
1236
1338
|
gridStep: number;
|
|
@@ -1273,7 +1375,10 @@ export declare const actionZoomToFit: {
|
|
|
1273
1375
|
elementStroke: readonly string[] | null;
|
|
1274
1376
|
elementBackground: readonly string[] | null;
|
|
1275
1377
|
bucketFill: readonly string[] | null;
|
|
1378
|
+
stickyNoteStroke: readonly string[] | null;
|
|
1379
|
+
stickyNoteBackground: readonly string[] | null;
|
|
1276
1380
|
};
|
|
1381
|
+
fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
|
|
1277
1382
|
};
|
|
1278
1383
|
captureUpdate: "EVENTUALLY";
|
|
1279
1384
|
};
|
|
@@ -30,11 +30,20 @@ export declare const actionPaste: {
|
|
|
30
30
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
31
31
|
bindingPreference: "enabled" | "disabled";
|
|
32
32
|
isMidpointSnappingEnabled: boolean;
|
|
33
|
+
showHints: boolean;
|
|
34
|
+
inputDevice: import("../types").InputDevice;
|
|
33
35
|
suggestedBinding: {
|
|
34
36
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
35
37
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
36
38
|
} | null;
|
|
37
|
-
|
|
39
|
+
textToolHover: {
|
|
40
|
+
type: "text";
|
|
41
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
42
|
+
} | {
|
|
43
|
+
type: "container";
|
|
44
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
45
|
+
} | {
|
|
46
|
+
type: "arrow";
|
|
38
47
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
39
48
|
anchor: "start" | "end" | "label";
|
|
40
49
|
} | null;
|
|
@@ -64,6 +73,8 @@ export declare const actionPaste: {
|
|
|
64
73
|
exportWithDarkMode: boolean;
|
|
65
74
|
exportScale: number;
|
|
66
75
|
currentItemStrokeColor: string;
|
|
76
|
+
currentItemStickynoteStrokeColor: string;
|
|
77
|
+
currentItemStickynoteBackgroundColor: string;
|
|
67
78
|
currentItemBackgroundColor: string;
|
|
68
79
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
69
80
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -131,6 +142,7 @@ export declare const actionPaste: {
|
|
|
131
142
|
duration?: number;
|
|
132
143
|
} | null;
|
|
133
144
|
zenModeEnabled: boolean;
|
|
145
|
+
minimapEnabled: boolean;
|
|
134
146
|
theme: import("@excalidraw/element/types").Theme;
|
|
135
147
|
gridSize: number;
|
|
136
148
|
gridStep: number;
|
|
@@ -173,7 +185,10 @@ export declare const actionPaste: {
|
|
|
173
185
|
elementStroke: readonly string[] | null;
|
|
174
186
|
elementBackground: readonly string[] | null;
|
|
175
187
|
bucketFill: readonly string[] | null;
|
|
188
|
+
stickyNoteStroke: readonly string[] | null;
|
|
189
|
+
stickyNoteBackground: readonly string[] | null;
|
|
176
190
|
};
|
|
191
|
+
fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
|
|
177
192
|
};
|
|
178
193
|
} | {
|
|
179
194
|
captureUpdate: "EVENTUALLY";
|
|
@@ -248,11 +263,20 @@ export declare const actionCopyAsPng: {
|
|
|
248
263
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
249
264
|
bindingPreference: "enabled" | "disabled";
|
|
250
265
|
isMidpointSnappingEnabled: boolean;
|
|
266
|
+
showHints: boolean;
|
|
267
|
+
inputDevice: import("../types").InputDevice;
|
|
251
268
|
suggestedBinding: {
|
|
252
269
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
253
270
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
254
271
|
} | null;
|
|
255
|
-
|
|
272
|
+
textToolHover: {
|
|
273
|
+
type: "text";
|
|
274
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
275
|
+
} | {
|
|
276
|
+
type: "container";
|
|
277
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
278
|
+
} | {
|
|
279
|
+
type: "arrow";
|
|
256
280
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
257
281
|
anchor: "start" | "end" | "label";
|
|
258
282
|
} | null;
|
|
@@ -282,6 +306,8 @@ export declare const actionCopyAsPng: {
|
|
|
282
306
|
exportWithDarkMode: boolean;
|
|
283
307
|
exportScale: number;
|
|
284
308
|
currentItemStrokeColor: string;
|
|
309
|
+
currentItemStickynoteStrokeColor: string;
|
|
310
|
+
currentItemStickynoteBackgroundColor: string;
|
|
285
311
|
currentItemBackgroundColor: string;
|
|
286
312
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
287
313
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -349,6 +375,7 @@ export declare const actionCopyAsPng: {
|
|
|
349
375
|
duration?: number;
|
|
350
376
|
} | null;
|
|
351
377
|
zenModeEnabled: boolean;
|
|
378
|
+
minimapEnabled: boolean;
|
|
352
379
|
theme: import("@excalidraw/element/types").Theme;
|
|
353
380
|
gridSize: number;
|
|
354
381
|
gridStep: number;
|
|
@@ -391,7 +418,10 @@ export declare const actionCopyAsPng: {
|
|
|
391
418
|
elementStroke: readonly string[] | null;
|
|
392
419
|
elementBackground: readonly string[] | null;
|
|
393
420
|
bucketFill: readonly string[] | null;
|
|
421
|
+
stickyNoteStroke: readonly string[] | null;
|
|
422
|
+
stickyNoteBackground: readonly string[] | null;
|
|
394
423
|
};
|
|
424
|
+
fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
|
|
395
425
|
};
|
|
396
426
|
captureUpdate: "EVENTUALLY";
|
|
397
427
|
}>;
|
|
@@ -31,11 +31,20 @@ export declare const actionToggleCropEditor: {
|
|
|
31
31
|
boxSelectionMode: import("../types").BoxSelectionMode;
|
|
32
32
|
bindingPreference: "enabled" | "disabled";
|
|
33
33
|
isMidpointSnappingEnabled: boolean;
|
|
34
|
+
showHints: boolean;
|
|
35
|
+
inputDevice: import("../types").InputDevice;
|
|
34
36
|
suggestedBinding: {
|
|
35
37
|
element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
|
|
36
38
|
midPoint?: import("@excalidraw/math").GlobalPoint;
|
|
37
39
|
} | null;
|
|
38
|
-
|
|
40
|
+
textToolHover: {
|
|
41
|
+
type: "text";
|
|
42
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
43
|
+
} | {
|
|
44
|
+
type: "container";
|
|
45
|
+
elementId: import("@excalidraw/element/types").ExcalidrawElement["id"];
|
|
46
|
+
} | {
|
|
47
|
+
type: "arrow";
|
|
39
48
|
elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
|
|
40
49
|
anchor: "start" | "end" | "label";
|
|
41
50
|
} | null;
|
|
@@ -65,6 +74,8 @@ export declare const actionToggleCropEditor: {
|
|
|
65
74
|
exportWithDarkMode: boolean;
|
|
66
75
|
exportScale: number;
|
|
67
76
|
currentItemStrokeColor: string;
|
|
77
|
+
currentItemStickynoteStrokeColor: string;
|
|
78
|
+
currentItemStickynoteBackgroundColor: string;
|
|
68
79
|
currentItemBackgroundColor: string;
|
|
69
80
|
currentItemFillStyle: import("@excalidraw/element/types").ExcalidrawElement["fillStyle"];
|
|
70
81
|
currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
|
|
@@ -132,6 +143,7 @@ export declare const actionToggleCropEditor: {
|
|
|
132
143
|
duration?: number;
|
|
133
144
|
} | null;
|
|
134
145
|
zenModeEnabled: boolean;
|
|
146
|
+
minimapEnabled: boolean;
|
|
135
147
|
theme: import("@excalidraw/element/types").Theme;
|
|
136
148
|
gridSize: number;
|
|
137
149
|
gridStep: number;
|
|
@@ -172,7 +184,10 @@ export declare const actionToggleCropEditor: {
|
|
|
172
184
|
elementStroke: readonly string[] | null;
|
|
173
185
|
elementBackground: readonly string[] | null;
|
|
174
186
|
bucketFill: readonly string[] | null;
|
|
187
|
+
stickyNoteStroke: readonly string[] | null;
|
|
188
|
+
stickyNoteBackground: readonly string[] | null;
|
|
175
189
|
};
|
|
190
|
+
fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
|
|
176
191
|
};
|
|
177
192
|
captureUpdate: "IMMEDIATELY";
|
|
178
193
|
};
|