@excalidraw/excalidraw 0.15.2-6546-eae7ba2 → 0.15.2-6546-3398d86
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/CHANGELOG.md +19 -0
- package/dist/excalidraw-assets/locales/{es-ES-json-f2467c6a875a9e288756.js → es-ES-json-4f3da97feff33cb00e6d.js} +1 -1
- package/dist/excalidraw-assets/locales/{hi-IN-json-e22f4ad73126c2971850.js → hi-IN-json-3898c9c1216b44476529.js} +1 -1
- package/dist/excalidraw-assets/locales/{id-ID-json-0e69caf5d919807ed234.js → id-ID-json-43d505d7071a0e359681.js} +1 -1
- package/dist/excalidraw-assets/locales/{kk-KZ-json-106d2a41c68f69765668.js → kk-KZ-json-f648362328b839e9313f.js} +1 -1
- package/dist/excalidraw-assets/locales/{pa-IN-json-0fd029451b07248c5194.js → pa-IN-json-d9ee09801ed220840b2b.js} +1 -1
- package/dist/excalidraw-assets/{vendor-53d1c69ef585b6dd219b.js → vendor-ef3c5d81a00ef582b871.js} +2 -2
- package/dist/excalidraw-assets-dev/{vendor-e6df8519da951026ff69.js → vendor-a14cd58fa2db417e42b2.js} +6 -6
- package/dist/excalidraw.development.js +2163 -2119
- package/dist/excalidraw.production.min.js +1 -1
- package/dist/excalidraw.production.min.js.LICENSE.txt +15 -0
- package/package.json +7 -2
- package/types/actions/actionAddToLibrary.d.ts +21 -10
- package/types/actions/actionAlign.d.ts +0 -1
- package/types/actions/actionBoundText.d.ts +14 -7
- package/types/actions/actionCanvas.d.ts +76 -39
- package/types/actions/actionClipboard.d.ts +32 -16
- package/types/actions/actionDeleteSelected.d.ts +18 -10
- package/types/actions/actionDistribute.d.ts +0 -1
- package/types/actions/actionDuplicateSelection.d.ts +0 -1
- package/types/actions/actionElementLock.d.ts +14 -7
- package/types/actions/actionExport.d.ts +71 -35
- package/types/actions/actionFinalize.d.ts +11 -7
- package/types/actions/actionFlip.d.ts +0 -1
- package/types/actions/actionFrame.d.ts +21 -10
- package/types/actions/actionGroup.d.ts +0 -1
- package/types/actions/actionLinearEditor.d.ts +7 -4
- package/types/actions/actionMenu.d.ts +21 -10
- package/types/actions/actionProperties.d.ts +91 -40
- package/types/actions/actionSelectAll.d.ts +0 -1
- package/types/actions/actionStyles.d.ts +7 -4
- package/types/actions/actionToggleGridMode.d.ts +7 -4
- package/types/actions/actionToggleStats.d.ts +7 -4
- package/types/actions/actionToggleViewMode.d.ts +7 -4
- package/types/actions/actionToggleZenMode.d.ts +7 -4
- package/types/actions/types.d.ts +1 -1
- package/types/appState.d.ts +3 -3
- package/types/clipboard.d.ts +1 -2
- package/types/colors.d.ts +9 -9
- package/types/components/App.d.ts +10 -0
- package/types/components/Button.d.ts +0 -1
- package/types/components/Card.d.ts +0 -1
- package/types/components/ColorPicker/keyboardNavHandlers.d.ts +0 -1
- package/types/components/DefaultSidebar.d.ts +0 -1
- package/types/components/EyeDropper.d.ts +0 -1
- package/types/components/LibraryMenuHeaderContent.d.ts +0 -1
- package/types/components/LibraryUnit.d.ts +0 -1
- package/types/components/LoadingMessage.d.ts +0 -1
- package/types/components/Section.d.ts +1 -1
- package/types/components/Sidebar/SidebarTab.d.ts +0 -1
- package/types/components/Sidebar/SidebarTabTrigger.d.ts +0 -1
- package/types/components/Sidebar/SidebarTabTriggers.d.ts +0 -1
- package/types/components/Sidebar/SidebarTabs.d.ts +0 -1
- package/types/components/Stack.d.ts +2 -2
- package/types/components/Trans.d.ts +2 -1
- package/types/components/dropdownMenu/DropdownMenuTrigger.d.ts +0 -1
- package/types/components/icons.d.ts +1 -0
- package/types/components/live-collaboration/LiveCollaborationTrigger.d.ts +0 -1
- package/types/components/welcome-screen/WelcomeScreen.Center.d.ts +0 -1
- package/types/components/welcome-screen/WelcomeScreen.d.ts +0 -1
- package/types/constants.d.ts +16 -3
- package/types/data/transform.d.ts +7 -11
- package/types/data/url.d.ts +5 -0
- package/types/element/Hyperlink.d.ts +16 -7
- package/types/element/collision.d.ts +2 -2
- package/types/element/embeddable.d.ts +153 -0
- package/types/element/linearElementEditor.d.ts +8 -5
- package/types/element/newElement.d.ts +5 -2
- package/types/element/textElement.d.ts +4 -7
- package/types/element/transformHandles.d.ts +1 -1
- package/types/element/typeChecks.d.ts +2 -1
- package/types/element/types.d.ts +13 -2
- package/types/hooks/useOutsideClick.d.ts +0 -1
- package/types/hooks/useScrollPosition.d.ts +0 -1
- package/types/i18n.d.ts +5 -2
- package/types/keys.d.ts +1 -0
- package/types/packages/excalidraw/example/initialData.d.ts +2 -1
- package/types/packages/excalidraw/webpack.dev.config.d.ts +5 -2
- package/types/packages/excalidraw/webpack.prod.config.d.ts +3 -0
- package/types/packages/utils.d.ts +2 -1
- package/types/renderer/renderElement.d.ts +1 -1
- package/types/renderer/renderScene.d.ts +2 -1
- package/types/scene/export.d.ts +1 -0
- package/types/types.d.ts +9 -3
- package/types/utility-types.d.ts +1 -1
- package/types/utils.d.ts +2 -1
- /package/dist/excalidraw-assets/{vendor-53d1c69ef585b6dd219b.js.LICENSE.txt → vendor-ef3c5d81a00ef582b871.js.LICENSE.txt} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{es-ES-json-f2467c6a875a9e288756.d.ts → es-ES-json-4f3da97feff33cb00e6d.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{hi-IN-json-e22f4ad73126c2971850.d.ts → hi-IN-json-3898c9c1216b44476529.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{id-ID-json-0e69caf5d919807ed234.d.ts → id-ID-json-43d505d7071a0e359681.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{kk-KZ-json-106d2a41c68f69765668.d.ts → kk-KZ-json-f648362328b839e9313f.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/locales/{pa-IN-json-0fd029451b07248c5194.d.ts → pa-IN-json-d9ee09801ed220840b2b.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/{vendor-53d1c69ef585b6dd219b.d.ts → vendor-ef3c5d81a00ef582b871.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/{vendor-e6df8519da951026ff69.d.ts → vendor-a14cd58fa2db417e42b2.d.ts} +0 -0
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ExcalidrawElement } from "../element/types";
|
|
3
2
|
import { AppClassProperties, AppState } from "../types";
|
|
4
3
|
export declare const actionSelectAllElementsInFrame: {
|
|
@@ -35,6 +34,10 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
35
34
|
showWelcomeScreen: boolean;
|
|
36
35
|
isLoading: boolean;
|
|
37
36
|
errorMessage: import("react").ReactNode;
|
|
37
|
+
activeEmbeddable: {
|
|
38
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
39
|
+
state: "active" | "hover";
|
|
40
|
+
} | null;
|
|
38
41
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
39
42
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
40
43
|
multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
|
|
@@ -57,7 +60,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
57
60
|
lastActiveTool: import("../types").LastActiveTool;
|
|
58
61
|
locked: boolean;
|
|
59
62
|
} & ({
|
|
60
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
63
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
61
64
|
customType: null;
|
|
62
65
|
} | {
|
|
63
66
|
type: "custom";
|
|
@@ -113,7 +116,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
113
116
|
duration?: number | undefined;
|
|
114
117
|
} | null;
|
|
115
118
|
zenModeEnabled: boolean;
|
|
116
|
-
theme:
|
|
119
|
+
theme: import("../element/types").Theme;
|
|
117
120
|
gridSize: number | null;
|
|
118
121
|
viewModeEnabled: boolean;
|
|
119
122
|
selectedGroupIds: {
|
|
@@ -136,7 +139,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
136
139
|
data: import("../charts").Spreadsheet;
|
|
137
140
|
};
|
|
138
141
|
pendingImageElementId: string | null;
|
|
139
|
-
showHyperlinkPopup: false | "
|
|
142
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
140
143
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
141
144
|
};
|
|
142
145
|
commitToHistory: true;
|
|
@@ -173,6 +176,10 @@ export declare const actionupdateFrameRendering: {
|
|
|
173
176
|
showWelcomeScreen: boolean;
|
|
174
177
|
isLoading: boolean;
|
|
175
178
|
errorMessage: import("react").ReactNode;
|
|
179
|
+
activeEmbeddable: {
|
|
180
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
181
|
+
state: "active" | "hover";
|
|
182
|
+
} | null;
|
|
176
183
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
177
184
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
178
185
|
multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
|
|
@@ -189,7 +196,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
189
196
|
lastActiveTool: import("../types").LastActiveTool;
|
|
190
197
|
locked: boolean;
|
|
191
198
|
} & ({
|
|
192
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
199
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
193
200
|
customType: null;
|
|
194
201
|
} | {
|
|
195
202
|
type: "custom";
|
|
@@ -248,7 +255,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
248
255
|
duration?: number | undefined;
|
|
249
256
|
} | null;
|
|
250
257
|
zenModeEnabled: boolean;
|
|
251
|
-
theme:
|
|
258
|
+
theme: import("../element/types").Theme;
|
|
252
259
|
gridSize: number | null;
|
|
253
260
|
viewModeEnabled: boolean;
|
|
254
261
|
selectedGroupIds: {
|
|
@@ -271,7 +278,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
271
278
|
data: import("../charts").Spreadsheet;
|
|
272
279
|
};
|
|
273
280
|
pendingImageElementId: string | null;
|
|
274
|
-
showHyperlinkPopup: false | "
|
|
281
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
275
282
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
276
283
|
};
|
|
277
284
|
commitToHistory: false;
|
|
@@ -293,7 +300,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
293
300
|
lastActiveTool: import("../types").LastActiveTool;
|
|
294
301
|
locked: boolean;
|
|
295
302
|
} & ({
|
|
296
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
303
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
297
304
|
customType: null;
|
|
298
305
|
} | {
|
|
299
306
|
type: "custom";
|
|
@@ -307,6 +314,10 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
307
314
|
showWelcomeScreen: boolean;
|
|
308
315
|
isLoading: boolean;
|
|
309
316
|
errorMessage: import("react").ReactNode;
|
|
317
|
+
activeEmbeddable: {
|
|
318
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
319
|
+
state: "active" | "hover";
|
|
320
|
+
} | null;
|
|
310
321
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
311
322
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
312
323
|
multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
|
|
@@ -378,7 +389,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
378
389
|
duration?: number | undefined;
|
|
379
390
|
} | null;
|
|
380
391
|
zenModeEnabled: boolean;
|
|
381
|
-
theme:
|
|
392
|
+
theme: import("../element/types").Theme;
|
|
382
393
|
gridSize: number | null;
|
|
383
394
|
viewModeEnabled: boolean;
|
|
384
395
|
selectedGroupIds: {
|
|
@@ -401,7 +412,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
401
412
|
data: import("../charts").Spreadsheet;
|
|
402
413
|
};
|
|
403
414
|
pendingImageElementId: string | null;
|
|
404
|
-
showHyperlinkPopup: false | "
|
|
415
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
405
416
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
406
417
|
};
|
|
407
418
|
commitToHistory: false;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { LinearElementEditor } from "../element/linearElementEditor";
|
|
3
2
|
import { ExcalidrawLinearElement } from "../element/types";
|
|
4
3
|
export declare const actionToggleLinearEditor: {
|
|
@@ -18,6 +17,10 @@ export declare const actionToggleLinearEditor: {
|
|
|
18
17
|
showWelcomeScreen: boolean;
|
|
19
18
|
isLoading: boolean;
|
|
20
19
|
errorMessage: import("react").ReactNode;
|
|
20
|
+
activeEmbeddable: {
|
|
21
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
22
|
+
state: "active" | "hover";
|
|
23
|
+
} | null;
|
|
21
24
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
22
25
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
23
26
|
multiElement: import("../element/types").NonDeleted<ExcalidrawLinearElement> | null;
|
|
@@ -39,7 +42,7 @@ export declare const actionToggleLinearEditor: {
|
|
|
39
42
|
lastActiveTool: import("../types").LastActiveTool;
|
|
40
43
|
locked: boolean;
|
|
41
44
|
} & ({
|
|
42
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
45
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
43
46
|
customType: null;
|
|
44
47
|
} | {
|
|
45
48
|
type: "custom";
|
|
@@ -98,7 +101,7 @@ export declare const actionToggleLinearEditor: {
|
|
|
98
101
|
duration?: number | undefined;
|
|
99
102
|
} | null;
|
|
100
103
|
zenModeEnabled: boolean;
|
|
101
|
-
theme:
|
|
104
|
+
theme: import("../element/types").Theme;
|
|
102
105
|
gridSize: number | null;
|
|
103
106
|
viewModeEnabled: boolean;
|
|
104
107
|
selectedGroupIds: {
|
|
@@ -121,7 +124,7 @@ export declare const actionToggleLinearEditor: {
|
|
|
121
124
|
data: import("../charts").Spreadsheet;
|
|
122
125
|
};
|
|
123
126
|
pendingImageElementId: string | null;
|
|
124
|
-
showHyperlinkPopup: false | "
|
|
127
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
125
128
|
selectedLinearElement: LinearElementEditor | null;
|
|
126
129
|
};
|
|
127
130
|
commitToHistory: false;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const actionToggleCanvasMenu: {
|
|
3
2
|
name: "toggleCanvasMenu";
|
|
4
3
|
trackEvent: {
|
|
@@ -15,6 +14,10 @@ export declare const actionToggleCanvasMenu: {
|
|
|
15
14
|
showWelcomeScreen: boolean;
|
|
16
15
|
isLoading: boolean;
|
|
17
16
|
errorMessage: import("react").ReactNode;
|
|
17
|
+
activeEmbeddable: {
|
|
18
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
19
|
+
state: "active" | "hover";
|
|
20
|
+
} | null;
|
|
18
21
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
19
22
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
20
23
|
multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
|
|
@@ -37,7 +40,7 @@ export declare const actionToggleCanvasMenu: {
|
|
|
37
40
|
lastActiveTool: import("../types").LastActiveTool;
|
|
38
41
|
locked: boolean;
|
|
39
42
|
} & ({
|
|
40
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
43
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
41
44
|
customType: null;
|
|
42
45
|
} | {
|
|
43
46
|
type: "custom";
|
|
@@ -95,7 +98,7 @@ export declare const actionToggleCanvasMenu: {
|
|
|
95
98
|
duration?: number | undefined;
|
|
96
99
|
} | null;
|
|
97
100
|
zenModeEnabled: boolean;
|
|
98
|
-
theme:
|
|
101
|
+
theme: import("../element/types").Theme;
|
|
99
102
|
gridSize: number | null;
|
|
100
103
|
viewModeEnabled: boolean;
|
|
101
104
|
selectedGroupIds: {
|
|
@@ -118,7 +121,7 @@ export declare const actionToggleCanvasMenu: {
|
|
|
118
121
|
data: import("../charts").Spreadsheet;
|
|
119
122
|
};
|
|
120
123
|
pendingImageElementId: string | null;
|
|
121
|
-
showHyperlinkPopup: false | "
|
|
124
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
122
125
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
123
126
|
};
|
|
124
127
|
commitToHistory: false;
|
|
@@ -143,6 +146,10 @@ export declare const actionToggleEditMenu: {
|
|
|
143
146
|
showWelcomeScreen: boolean;
|
|
144
147
|
isLoading: boolean;
|
|
145
148
|
errorMessage: import("react").ReactNode;
|
|
149
|
+
activeEmbeddable: {
|
|
150
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
151
|
+
state: "active" | "hover";
|
|
152
|
+
} | null;
|
|
146
153
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
147
154
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
148
155
|
multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
|
|
@@ -165,7 +172,7 @@ export declare const actionToggleEditMenu: {
|
|
|
165
172
|
lastActiveTool: import("../types").LastActiveTool;
|
|
166
173
|
locked: boolean;
|
|
167
174
|
} & ({
|
|
168
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
175
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
169
176
|
customType: null;
|
|
170
177
|
} | {
|
|
171
178
|
type: "custom";
|
|
@@ -223,7 +230,7 @@ export declare const actionToggleEditMenu: {
|
|
|
223
230
|
duration?: number | undefined;
|
|
224
231
|
} | null;
|
|
225
232
|
zenModeEnabled: boolean;
|
|
226
|
-
theme:
|
|
233
|
+
theme: import("../element/types").Theme;
|
|
227
234
|
gridSize: number | null;
|
|
228
235
|
viewModeEnabled: boolean;
|
|
229
236
|
selectedGroupIds: {
|
|
@@ -246,7 +253,7 @@ export declare const actionToggleEditMenu: {
|
|
|
246
253
|
data: import("../charts").Spreadsheet;
|
|
247
254
|
};
|
|
248
255
|
pendingImageElementId: string | null;
|
|
249
|
-
showHyperlinkPopup: false | "
|
|
256
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
250
257
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
251
258
|
};
|
|
252
259
|
commitToHistory: false;
|
|
@@ -286,6 +293,10 @@ export declare const actionShortcuts: {
|
|
|
286
293
|
showWelcomeScreen: boolean;
|
|
287
294
|
isLoading: boolean;
|
|
288
295
|
errorMessage: import("react").ReactNode;
|
|
296
|
+
activeEmbeddable: {
|
|
297
|
+
element: import("../element/types").NonDeletedExcalidrawElement;
|
|
298
|
+
state: "active" | "hover";
|
|
299
|
+
} | null;
|
|
289
300
|
draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
290
301
|
resizingElement: import("../element/types").NonDeletedExcalidrawElement | null;
|
|
291
302
|
multiElement: import("../element/types").NonDeleted<import("../element/types").ExcalidrawLinearElement> | null;
|
|
@@ -308,7 +319,7 @@ export declare const actionShortcuts: {
|
|
|
308
319
|
lastActiveTool: import("../types").LastActiveTool;
|
|
309
320
|
locked: boolean;
|
|
310
321
|
} & ({
|
|
311
|
-
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
322
|
+
type: "line" | "arrow" | "text" | "selection" | "rectangle" | "diamond" | "ellipse" | "embeddable" | "image" | "frame" | "freedraw" | "eraser" | "hand";
|
|
312
323
|
customType: null;
|
|
313
324
|
} | {
|
|
314
325
|
type: "custom";
|
|
@@ -366,7 +377,7 @@ export declare const actionShortcuts: {
|
|
|
366
377
|
duration?: number | undefined;
|
|
367
378
|
} | null;
|
|
368
379
|
zenModeEnabled: boolean;
|
|
369
|
-
theme:
|
|
380
|
+
theme: import("../element/types").Theme;
|
|
370
381
|
gridSize: number | null;
|
|
371
382
|
viewModeEnabled: boolean;
|
|
372
383
|
selectedGroupIds: {
|
|
@@ -389,7 +400,7 @@ export declare const actionShortcuts: {
|
|
|
389
400
|
data: import("../charts").Spreadsheet;
|
|
390
401
|
};
|
|
391
402
|
pendingImageElementId: string | null;
|
|
392
|
-
showHyperlinkPopup: false | "
|
|
403
|
+
showHyperlinkPopup: false | "editor" | "info";
|
|
393
404
|
selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
|
|
394
405
|
};
|
|
395
406
|
commitToHistory: false;
|