@excalidraw/element 0.18.0-ec07091 → 0.18.0-f2600fe
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 +21 -24
- package/dist/dev/index.js.map +2 -2
- package/dist/prod/index.js +9 -9
- package/dist/types/common/src/constants.d.ts +3 -16
- package/dist/types/common/src/editorInterface.d.ts +34 -0
- package/dist/types/common/src/index.d.ts +1 -0
- package/dist/types/common/src/utils.d.ts +0 -2
- package/dist/types/element/src/resizeTest.d.ts +5 -4
- package/dist/types/element/src/transformHandles.d.ts +5 -4
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +18 -9
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +12 -6
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +78 -39
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +36 -18
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +6 -3
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +19 -10
- package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +6 -3
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +12 -6
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +6 -3
- package/dist/types/excalidraw/actions/actionExport.d.ts +54 -27
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +12 -6
- package/dist/types/excalidraw/actions/actionFrame.d.ts +24 -12
- package/dist/types/excalidraw/actions/actionGroup.d.ts +12 -6
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +6 -3
- package/dist/types/excalidraw/actions/actionLink.d.ts +4 -1
- package/dist/types/excalidraw/actions/actionMenu.d.ts +7 -372
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +12 -6
- package/dist/types/excalidraw/actions/actionProperties.d.ts +91 -46
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +6 -3
- package/dist/types/excalidraw/actions/actionStyles.d.ts +6 -3
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +6 -3
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +6 -3
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +6 -3
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +6 -3
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +6 -3
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +7 -4
- package/dist/types/excalidraw/actions/index.d.ts +1 -1
- package/dist/types/excalidraw/actions/types.d.ts +1 -1
- package/dist/types/excalidraw/appState.d.ts +5 -2
- package/dist/types/excalidraw/components/Actions.d.ts +13 -3
- package/dist/types/excalidraw/components/App.d.ts +19 -17
- package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +1 -2
- package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -0
- package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +2 -1
- package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +2 -1
- package/dist/types/excalidraw/components/ExcalidrawLogo.d.ts +1 -1
- package/dist/types/excalidraw/components/FilledButton.d.ts +1 -1
- package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +2 -1
- package/dist/types/excalidraw/components/HintViewer.d.ts +4 -3
- package/dist/types/excalidraw/components/LayerUI.d.ts +2 -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/Popover.d.ts +2 -1
- package/dist/types/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts +1 -2
- package/dist/types/excalidraw/components/ToolPopover.d.ts +25 -0
- package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +3 -2
- 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/icons.d.ts +5 -1
- package/dist/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +13 -1
- package/dist/types/excalidraw/components/main-menu/MainMenu.d.ts +0 -3
- package/dist/types/excalidraw/hooks/useOutsideClick.d.ts +3 -1
- package/dist/types/excalidraw/index.d.ts +2 -3
- package/dist/types/excalidraw/renderer/interactiveScene.d.ts +1 -1
- package/dist/types/excalidraw/scene/types.d.ts +3 -3
- package/dist/types/excalidraw/shortcut.d.ts +1 -0
- package/dist/types/excalidraw/types.d.ts +16 -17
- package/package.json +3 -3
|
@@ -42,6 +42,10 @@ export declare const actionChangeProjectName: {
|
|
|
42
42
|
locked: boolean;
|
|
43
43
|
fromSelection: boolean;
|
|
44
44
|
} & import("../types").ActiveTool;
|
|
45
|
+
preferredSelectionTool: {
|
|
46
|
+
type: "selection" | "lasso";
|
|
47
|
+
initialized: boolean;
|
|
48
|
+
};
|
|
45
49
|
penMode: boolean;
|
|
46
50
|
penDetected: boolean;
|
|
47
51
|
exportBackground: boolean;
|
|
@@ -73,7 +77,7 @@ export declare const actionChangeProjectName: {
|
|
|
73
77
|
zoom: Readonly<{
|
|
74
78
|
value: import("../types").NormalizedZoomValue;
|
|
75
79
|
}>;
|
|
76
|
-
openMenu: "canvas" |
|
|
80
|
+
openMenu: "canvas" | null;
|
|
77
81
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
78
82
|
openSidebar: {
|
|
79
83
|
name: string;
|
|
@@ -155,7 +159,7 @@ export declare const actionChangeProjectName: {
|
|
|
155
159
|
shown: true;
|
|
156
160
|
data: import("../charts").Spreadsheet;
|
|
157
161
|
};
|
|
158
|
-
showHyperlinkPopup: false | "
|
|
162
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
159
163
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
160
164
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
161
165
|
originSnapOffset: {
|
|
@@ -175,7 +179,6 @@ export declare const actionChangeProjectName: {
|
|
|
175
179
|
lockedMultiSelections: {
|
|
176
180
|
[groupId: string]: true;
|
|
177
181
|
};
|
|
178
|
-
stylesPanelMode: "compact" | "full";
|
|
179
182
|
};
|
|
180
183
|
captureUpdate: "EVENTUALLY";
|
|
181
184
|
};
|
|
@@ -227,6 +230,10 @@ export declare const actionChangeExportScale: {
|
|
|
227
230
|
locked: boolean;
|
|
228
231
|
fromSelection: boolean;
|
|
229
232
|
} & import("../types").ActiveTool;
|
|
233
|
+
preferredSelectionTool: {
|
|
234
|
+
type: "selection" | "lasso";
|
|
235
|
+
initialized: boolean;
|
|
236
|
+
};
|
|
230
237
|
penMode: boolean;
|
|
231
238
|
penDetected: boolean;
|
|
232
239
|
exportBackground: boolean;
|
|
@@ -258,7 +265,7 @@ export declare const actionChangeExportScale: {
|
|
|
258
265
|
zoom: Readonly<{
|
|
259
266
|
value: import("../types").NormalizedZoomValue;
|
|
260
267
|
}>;
|
|
261
|
-
openMenu: "canvas" |
|
|
268
|
+
openMenu: "canvas" | null;
|
|
262
269
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
263
270
|
openSidebar: {
|
|
264
271
|
name: string;
|
|
@@ -340,7 +347,7 @@ export declare const actionChangeExportScale: {
|
|
|
340
347
|
shown: true;
|
|
341
348
|
data: import("../charts").Spreadsheet;
|
|
342
349
|
};
|
|
343
|
-
showHyperlinkPopup: false | "
|
|
350
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
344
351
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
345
352
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
346
353
|
originSnapOffset: {
|
|
@@ -360,7 +367,6 @@ export declare const actionChangeExportScale: {
|
|
|
360
367
|
lockedMultiSelections: {
|
|
361
368
|
[groupId: string]: true;
|
|
362
369
|
};
|
|
363
|
-
stylesPanelMode: "compact" | "full";
|
|
364
370
|
};
|
|
365
371
|
captureUpdate: "EVENTUALLY";
|
|
366
372
|
};
|
|
@@ -412,6 +418,10 @@ export declare const actionChangeExportBackground: {
|
|
|
412
418
|
locked: boolean;
|
|
413
419
|
fromSelection: boolean;
|
|
414
420
|
} & import("../types").ActiveTool;
|
|
421
|
+
preferredSelectionTool: {
|
|
422
|
+
type: "selection" | "lasso";
|
|
423
|
+
initialized: boolean;
|
|
424
|
+
};
|
|
415
425
|
penMode: boolean;
|
|
416
426
|
penDetected: boolean;
|
|
417
427
|
exportEmbedScene: boolean;
|
|
@@ -443,7 +453,7 @@ export declare const actionChangeExportBackground: {
|
|
|
443
453
|
zoom: Readonly<{
|
|
444
454
|
value: import("../types").NormalizedZoomValue;
|
|
445
455
|
}>;
|
|
446
|
-
openMenu: "canvas" |
|
|
456
|
+
openMenu: "canvas" | null;
|
|
447
457
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
448
458
|
openSidebar: {
|
|
449
459
|
name: string;
|
|
@@ -525,7 +535,7 @@ export declare const actionChangeExportBackground: {
|
|
|
525
535
|
shown: true;
|
|
526
536
|
data: import("../charts").Spreadsheet;
|
|
527
537
|
};
|
|
528
|
-
showHyperlinkPopup: false | "
|
|
538
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
529
539
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
530
540
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
531
541
|
originSnapOffset: {
|
|
@@ -545,7 +555,6 @@ export declare const actionChangeExportBackground: {
|
|
|
545
555
|
lockedMultiSelections: {
|
|
546
556
|
[groupId: string]: true;
|
|
547
557
|
};
|
|
548
|
-
stylesPanelMode: "compact" | "full";
|
|
549
558
|
};
|
|
550
559
|
captureUpdate: "EVENTUALLY";
|
|
551
560
|
};
|
|
@@ -597,6 +606,10 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
597
606
|
locked: boolean;
|
|
598
607
|
fromSelection: boolean;
|
|
599
608
|
} & import("../types").ActiveTool;
|
|
609
|
+
preferredSelectionTool: {
|
|
610
|
+
type: "selection" | "lasso";
|
|
611
|
+
initialized: boolean;
|
|
612
|
+
};
|
|
600
613
|
penMode: boolean;
|
|
601
614
|
penDetected: boolean;
|
|
602
615
|
exportBackground: boolean;
|
|
@@ -628,7 +641,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
628
641
|
zoom: Readonly<{
|
|
629
642
|
value: import("../types").NormalizedZoomValue;
|
|
630
643
|
}>;
|
|
631
|
-
openMenu: "canvas" |
|
|
644
|
+
openMenu: "canvas" | null;
|
|
632
645
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
633
646
|
openSidebar: {
|
|
634
647
|
name: string;
|
|
@@ -710,7 +723,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
710
723
|
shown: true;
|
|
711
724
|
data: import("../charts").Spreadsheet;
|
|
712
725
|
};
|
|
713
|
-
showHyperlinkPopup: false | "
|
|
726
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
714
727
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
715
728
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
716
729
|
originSnapOffset: {
|
|
@@ -730,7 +743,6 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
730
743
|
lockedMultiSelections: {
|
|
731
744
|
[groupId: string]: true;
|
|
732
745
|
};
|
|
733
|
-
stylesPanelMode: "compact" | "full";
|
|
734
746
|
};
|
|
735
747
|
captureUpdate: "EVENTUALLY";
|
|
736
748
|
};
|
|
@@ -787,6 +799,10 @@ export declare const actionSaveToActiveFile: {
|
|
|
787
799
|
locked: boolean;
|
|
788
800
|
fromSelection: boolean;
|
|
789
801
|
} & import("../types").ActiveTool;
|
|
802
|
+
preferredSelectionTool: {
|
|
803
|
+
type: "selection" | "lasso";
|
|
804
|
+
initialized: boolean;
|
|
805
|
+
};
|
|
790
806
|
penMode: boolean;
|
|
791
807
|
penDetected: boolean;
|
|
792
808
|
exportBackground: boolean;
|
|
@@ -819,7 +835,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
819
835
|
zoom: Readonly<{
|
|
820
836
|
value: import("../types").NormalizedZoomValue;
|
|
821
837
|
}>;
|
|
822
|
-
openMenu: "canvas" |
|
|
838
|
+
openMenu: "canvas" | null;
|
|
823
839
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
824
840
|
openSidebar: {
|
|
825
841
|
name: string;
|
|
@@ -895,7 +911,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
895
911
|
shown: true;
|
|
896
912
|
data: import("../charts").Spreadsheet;
|
|
897
913
|
};
|
|
898
|
-
showHyperlinkPopup: false | "
|
|
914
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
899
915
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
900
916
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
901
917
|
originSnapOffset: {
|
|
@@ -915,7 +931,6 @@ export declare const actionSaveToActiveFile: {
|
|
|
915
931
|
lockedMultiSelections: {
|
|
916
932
|
[groupId: string]: true;
|
|
917
933
|
};
|
|
918
|
-
stylesPanelMode: "compact" | "full";
|
|
919
934
|
};
|
|
920
935
|
} | {
|
|
921
936
|
captureUpdate: "EVENTUALLY";
|
|
@@ -975,6 +990,10 @@ export declare const actionSaveFileToDisk: {
|
|
|
975
990
|
locked: boolean;
|
|
976
991
|
fromSelection: boolean;
|
|
977
992
|
} & import("../types").ActiveTool;
|
|
993
|
+
preferredSelectionTool: {
|
|
994
|
+
type: "selection" | "lasso";
|
|
995
|
+
initialized: boolean;
|
|
996
|
+
};
|
|
978
997
|
penMode: boolean;
|
|
979
998
|
penDetected: boolean;
|
|
980
999
|
exportBackground: boolean;
|
|
@@ -1007,7 +1026,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
1007
1026
|
zoom: Readonly<{
|
|
1008
1027
|
value: import("../types").NormalizedZoomValue;
|
|
1009
1028
|
}>;
|
|
1010
|
-
openMenu: "canvas" |
|
|
1029
|
+
openMenu: "canvas" | null;
|
|
1011
1030
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1012
1031
|
openSidebar: {
|
|
1013
1032
|
name: string;
|
|
@@ -1072,7 +1091,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
1072
1091
|
shown: true;
|
|
1073
1092
|
data: import("../charts").Spreadsheet;
|
|
1074
1093
|
};
|
|
1075
|
-
showHyperlinkPopup: false | "
|
|
1094
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1076
1095
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1077
1096
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1078
1097
|
originSnapOffset: {
|
|
@@ -1092,7 +1111,6 @@ export declare const actionSaveFileToDisk: {
|
|
|
1092
1111
|
lockedMultiSelections: {
|
|
1093
1112
|
[groupId: string]: true;
|
|
1094
1113
|
};
|
|
1095
|
-
stylesPanelMode: "compact" | "full";
|
|
1096
1114
|
};
|
|
1097
1115
|
} | {
|
|
1098
1116
|
captureUpdate: "EVENTUALLY";
|
|
@@ -1205,6 +1223,10 @@ export declare const actionLoadScene: {
|
|
|
1205
1223
|
locked: boolean;
|
|
1206
1224
|
fromSelection: boolean;
|
|
1207
1225
|
} & import("../types").ActiveTool;
|
|
1226
|
+
preferredSelectionTool: {
|
|
1227
|
+
type: "selection" | "lasso";
|
|
1228
|
+
initialized: boolean;
|
|
1229
|
+
};
|
|
1208
1230
|
penMode: boolean;
|
|
1209
1231
|
penDetected: boolean;
|
|
1210
1232
|
exportBackground: boolean;
|
|
@@ -1229,7 +1251,7 @@ export declare const actionLoadScene: {
|
|
|
1229
1251
|
cursorButton: "up" | "down";
|
|
1230
1252
|
scrolledOutside: boolean;
|
|
1231
1253
|
isResizing: boolean;
|
|
1232
|
-
openMenu: "canvas" |
|
|
1254
|
+
openMenu: "canvas" | null;
|
|
1233
1255
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1234
1256
|
openSidebar: {
|
|
1235
1257
|
name: string;
|
|
@@ -1266,7 +1288,7 @@ export declare const actionLoadScene: {
|
|
|
1266
1288
|
shown: true;
|
|
1267
1289
|
data: import("../charts").Spreadsheet;
|
|
1268
1290
|
};
|
|
1269
|
-
showHyperlinkPopup: false | "
|
|
1291
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1270
1292
|
originSnapOffset: {
|
|
1271
1293
|
x: number;
|
|
1272
1294
|
y: number;
|
|
@@ -1277,7 +1299,6 @@ export declare const actionLoadScene: {
|
|
|
1277
1299
|
lockedMultiSelections: {
|
|
1278
1300
|
[groupId: string]: true;
|
|
1279
1301
|
};
|
|
1280
|
-
stylesPanelMode: "compact" | "full";
|
|
1281
1302
|
};
|
|
1282
1303
|
files: import("../types").BinaryFiles;
|
|
1283
1304
|
captureUpdate: "IMMEDIATELY";
|
|
@@ -1318,6 +1339,10 @@ export declare const actionLoadScene: {
|
|
|
1318
1339
|
locked: boolean;
|
|
1319
1340
|
fromSelection: boolean;
|
|
1320
1341
|
} & import("../types").ActiveTool;
|
|
1342
|
+
preferredSelectionTool: {
|
|
1343
|
+
type: "selection" | "lasso";
|
|
1344
|
+
initialized: boolean;
|
|
1345
|
+
};
|
|
1321
1346
|
penMode: boolean;
|
|
1322
1347
|
penDetected: boolean;
|
|
1323
1348
|
exportBackground: boolean;
|
|
@@ -1350,7 +1375,7 @@ export declare const actionLoadScene: {
|
|
|
1350
1375
|
zoom: Readonly<{
|
|
1351
1376
|
value: import("../types").NormalizedZoomValue;
|
|
1352
1377
|
}>;
|
|
1353
|
-
openMenu: "canvas" |
|
|
1378
|
+
openMenu: "canvas" | null;
|
|
1354
1379
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1355
1380
|
openSidebar: {
|
|
1356
1381
|
name: string;
|
|
@@ -1432,7 +1457,7 @@ export declare const actionLoadScene: {
|
|
|
1432
1457
|
shown: true;
|
|
1433
1458
|
data: import("../charts").Spreadsheet;
|
|
1434
1459
|
};
|
|
1435
|
-
showHyperlinkPopup: false | "
|
|
1460
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1436
1461
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1437
1462
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1438
1463
|
originSnapOffset: {
|
|
@@ -1452,7 +1477,6 @@ export declare const actionLoadScene: {
|
|
|
1452
1477
|
lockedMultiSelections: {
|
|
1453
1478
|
[groupId: string]: true;
|
|
1454
1479
|
};
|
|
1455
|
-
stylesPanelMode: "compact" | "full";
|
|
1456
1480
|
};
|
|
1457
1481
|
files: import("../types").BinaryFiles;
|
|
1458
1482
|
captureUpdate: "EVENTUALLY";
|
|
@@ -1505,6 +1529,10 @@ export declare const actionExportWithDarkMode: {
|
|
|
1505
1529
|
locked: boolean;
|
|
1506
1530
|
fromSelection: boolean;
|
|
1507
1531
|
} & import("../types").ActiveTool;
|
|
1532
|
+
preferredSelectionTool: {
|
|
1533
|
+
type: "selection" | "lasso";
|
|
1534
|
+
initialized: boolean;
|
|
1535
|
+
};
|
|
1508
1536
|
penMode: boolean;
|
|
1509
1537
|
penDetected: boolean;
|
|
1510
1538
|
exportBackground: boolean;
|
|
@@ -1536,7 +1564,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1536
1564
|
zoom: Readonly<{
|
|
1537
1565
|
value: import("../types").NormalizedZoomValue;
|
|
1538
1566
|
}>;
|
|
1539
|
-
openMenu: "canvas" |
|
|
1567
|
+
openMenu: "canvas" | null;
|
|
1540
1568
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1541
1569
|
openSidebar: {
|
|
1542
1570
|
name: string;
|
|
@@ -1618,7 +1646,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1618
1646
|
shown: true;
|
|
1619
1647
|
data: import("../charts").Spreadsheet;
|
|
1620
1648
|
};
|
|
1621
|
-
showHyperlinkPopup: false | "
|
|
1649
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1622
1650
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
1623
1651
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1624
1652
|
originSnapOffset: {
|
|
@@ -1638,7 +1666,6 @@ export declare const actionExportWithDarkMode: {
|
|
|
1638
1666
|
lockedMultiSelections: {
|
|
1639
1667
|
[groupId: string]: true;
|
|
1640
1668
|
};
|
|
1641
|
-
stylesPanelMode: "compact" | "full";
|
|
1642
1669
|
};
|
|
1643
1670
|
captureUpdate: "EVENTUALLY";
|
|
1644
1671
|
};
|
|
@@ -85,6 +85,10 @@ export declare const actionFinalize: {
|
|
|
85
85
|
locked: boolean;
|
|
86
86
|
fromSelection: boolean;
|
|
87
87
|
} & import("../types").ActiveTool;
|
|
88
|
+
preferredSelectionTool: {
|
|
89
|
+
type: "selection" | "lasso";
|
|
90
|
+
initialized: boolean;
|
|
91
|
+
};
|
|
88
92
|
penMode: boolean;
|
|
89
93
|
penDetected: boolean;
|
|
90
94
|
exportBackground: boolean;
|
|
@@ -116,7 +120,7 @@ export declare const actionFinalize: {
|
|
|
116
120
|
zoom: Readonly<{
|
|
117
121
|
value: import("../types").NormalizedZoomValue;
|
|
118
122
|
}>;
|
|
119
|
-
openMenu: "canvas" |
|
|
123
|
+
openMenu: "canvas" | null;
|
|
120
124
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
121
125
|
openSidebar: {
|
|
122
126
|
name: string;
|
|
@@ -198,7 +202,7 @@ export declare const actionFinalize: {
|
|
|
198
202
|
shown: true;
|
|
199
203
|
data: import("../charts").Spreadsheet;
|
|
200
204
|
};
|
|
201
|
-
showHyperlinkPopup: false | "
|
|
205
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
202
206
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
203
207
|
originSnapOffset: {
|
|
204
208
|
x: number;
|
|
@@ -217,7 +221,6 @@ export declare const actionFinalize: {
|
|
|
217
221
|
lockedMultiSelections: {
|
|
218
222
|
[groupId: string]: true;
|
|
219
223
|
};
|
|
220
|
-
stylesPanelMode: "compact" | "full";
|
|
221
224
|
};
|
|
222
225
|
captureUpdate: "IMMEDIATELY";
|
|
223
226
|
} | {
|
|
@@ -259,6 +262,10 @@ export declare const actionFinalize: {
|
|
|
259
262
|
};
|
|
260
263
|
editingFrame: string | null;
|
|
261
264
|
elementsToHighlight: NonDeleted<ExcalidrawElement>[] | null;
|
|
265
|
+
preferredSelectionTool: {
|
|
266
|
+
type: "selection" | "lasso";
|
|
267
|
+
initialized: boolean;
|
|
268
|
+
};
|
|
262
269
|
penMode: boolean;
|
|
263
270
|
penDetected: boolean;
|
|
264
271
|
exportBackground: boolean;
|
|
@@ -290,7 +297,7 @@ export declare const actionFinalize: {
|
|
|
290
297
|
zoom: Readonly<{
|
|
291
298
|
value: import("../types").NormalizedZoomValue;
|
|
292
299
|
}>;
|
|
293
|
-
openMenu: "canvas" |
|
|
300
|
+
openMenu: "canvas" | null;
|
|
294
301
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
295
302
|
openSidebar: {
|
|
296
303
|
name: string;
|
|
@@ -369,7 +376,7 @@ export declare const actionFinalize: {
|
|
|
369
376
|
shown: true;
|
|
370
377
|
data: import("../charts").Spreadsheet;
|
|
371
378
|
};
|
|
372
|
-
showHyperlinkPopup: false | "
|
|
379
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
373
380
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
374
381
|
originSnapOffset: {
|
|
375
382
|
x: number;
|
|
@@ -388,7 +395,6 @@ export declare const actionFinalize: {
|
|
|
388
395
|
lockedMultiSelections: {
|
|
389
396
|
[groupId: string]: true;
|
|
390
397
|
};
|
|
391
|
-
stylesPanelMode: "compact" | "full";
|
|
392
398
|
};
|
|
393
399
|
captureUpdate: "IMMEDIATELY";
|
|
394
400
|
};
|
|
@@ -45,6 +45,10 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
45
45
|
locked: boolean;
|
|
46
46
|
fromSelection: boolean;
|
|
47
47
|
} & import("../types").ActiveTool;
|
|
48
|
+
preferredSelectionTool: {
|
|
49
|
+
type: "selection" | "lasso";
|
|
50
|
+
initialized: boolean;
|
|
51
|
+
};
|
|
48
52
|
penMode: boolean;
|
|
49
53
|
penDetected: boolean;
|
|
50
54
|
exportBackground: boolean;
|
|
@@ -77,7 +81,7 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
77
81
|
zoom: Readonly<{
|
|
78
82
|
value: import("../types").NormalizedZoomValue;
|
|
79
83
|
}>;
|
|
80
|
-
openMenu: "canvas" |
|
|
84
|
+
openMenu: "canvas" | null;
|
|
81
85
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
82
86
|
openSidebar: {
|
|
83
87
|
name: string;
|
|
@@ -156,7 +160,7 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
156
160
|
shown: true;
|
|
157
161
|
data: import("../charts").Spreadsheet;
|
|
158
162
|
};
|
|
159
|
-
showHyperlinkPopup: false | "
|
|
163
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
160
164
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
161
165
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
162
166
|
originSnapOffset: {
|
|
@@ -176,7 +180,6 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
176
180
|
lockedMultiSelections: {
|
|
177
181
|
[groupId: string]: true;
|
|
178
182
|
};
|
|
179
|
-
stylesPanelMode: "compact" | "full";
|
|
180
183
|
};
|
|
181
184
|
captureUpdate: "IMMEDIATELY";
|
|
182
185
|
} | {
|
|
@@ -234,6 +237,10 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
234
237
|
locked: boolean;
|
|
235
238
|
fromSelection: boolean;
|
|
236
239
|
} & import("../types").ActiveTool;
|
|
240
|
+
preferredSelectionTool: {
|
|
241
|
+
type: "selection" | "lasso";
|
|
242
|
+
initialized: boolean;
|
|
243
|
+
};
|
|
237
244
|
penMode: boolean;
|
|
238
245
|
penDetected: boolean;
|
|
239
246
|
exportBackground: boolean;
|
|
@@ -266,7 +273,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
266
273
|
zoom: Readonly<{
|
|
267
274
|
value: import("../types").NormalizedZoomValue;
|
|
268
275
|
}>;
|
|
269
|
-
openMenu: "canvas" |
|
|
276
|
+
openMenu: "canvas" | null;
|
|
270
277
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
271
278
|
openSidebar: {
|
|
272
279
|
name: string;
|
|
@@ -345,7 +352,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
345
352
|
shown: true;
|
|
346
353
|
data: import("../charts").Spreadsheet;
|
|
347
354
|
};
|
|
348
|
-
showHyperlinkPopup: false | "
|
|
355
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
349
356
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
350
357
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
351
358
|
originSnapOffset: {
|
|
@@ -365,7 +372,6 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
365
372
|
lockedMultiSelections: {
|
|
366
373
|
[groupId: string]: true;
|
|
367
374
|
};
|
|
368
|
-
stylesPanelMode: "compact" | "full";
|
|
369
375
|
};
|
|
370
376
|
captureUpdate: "IMMEDIATELY";
|
|
371
377
|
} | {
|
|
@@ -421,6 +427,10 @@ export declare const actionupdateFrameRendering: {
|
|
|
421
427
|
locked: boolean;
|
|
422
428
|
fromSelection: boolean;
|
|
423
429
|
} & import("../types").ActiveTool;
|
|
430
|
+
preferredSelectionTool: {
|
|
431
|
+
type: "selection" | "lasso";
|
|
432
|
+
initialized: boolean;
|
|
433
|
+
};
|
|
424
434
|
penMode: boolean;
|
|
425
435
|
penDetected: boolean;
|
|
426
436
|
exportBackground: boolean;
|
|
@@ -453,7 +463,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
453
463
|
zoom: Readonly<{
|
|
454
464
|
value: import("../types").NormalizedZoomValue;
|
|
455
465
|
}>;
|
|
456
|
-
openMenu: "canvas" |
|
|
466
|
+
openMenu: "canvas" | null;
|
|
457
467
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
458
468
|
openSidebar: {
|
|
459
469
|
name: string;
|
|
@@ -535,7 +545,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
535
545
|
shown: true;
|
|
536
546
|
data: import("../charts").Spreadsheet;
|
|
537
547
|
};
|
|
538
|
-
showHyperlinkPopup: false | "
|
|
548
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
539
549
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
540
550
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
541
551
|
originSnapOffset: {
|
|
@@ -555,7 +565,6 @@ export declare const actionupdateFrameRendering: {
|
|
|
555
565
|
lockedMultiSelections: {
|
|
556
566
|
[groupId: string]: true;
|
|
557
567
|
};
|
|
558
|
-
stylesPanelMode: "compact" | "full";
|
|
559
568
|
};
|
|
560
569
|
captureUpdate: "EVENTUALLY";
|
|
561
570
|
};
|
|
@@ -608,6 +617,10 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
608
617
|
editingFrame: string | null;
|
|
609
618
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
610
619
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
620
|
+
preferredSelectionTool: {
|
|
621
|
+
type: "selection" | "lasso";
|
|
622
|
+
initialized: boolean;
|
|
623
|
+
};
|
|
611
624
|
penMode: boolean;
|
|
612
625
|
penDetected: boolean;
|
|
613
626
|
exportBackground: boolean;
|
|
@@ -640,7 +653,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
640
653
|
zoom: Readonly<{
|
|
641
654
|
value: import("../types").NormalizedZoomValue;
|
|
642
655
|
}>;
|
|
643
|
-
openMenu: "canvas" |
|
|
656
|
+
openMenu: "canvas" | null;
|
|
644
657
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
645
658
|
openSidebar: {
|
|
646
659
|
name: string;
|
|
@@ -722,7 +735,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
722
735
|
shown: true;
|
|
723
736
|
data: import("../charts").Spreadsheet;
|
|
724
737
|
};
|
|
725
|
-
showHyperlinkPopup: false | "
|
|
738
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
726
739
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
727
740
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
728
741
|
originSnapOffset: {
|
|
@@ -742,7 +755,6 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
742
755
|
lockedMultiSelections: {
|
|
743
756
|
[groupId: string]: true;
|
|
744
757
|
};
|
|
745
|
-
stylesPanelMode: "compact" | "full";
|
|
746
758
|
};
|
|
747
759
|
captureUpdate: "EVENTUALLY";
|
|
748
760
|
};
|
|
@@ -55,6 +55,10 @@ export declare const actionGroup: {
|
|
|
55
55
|
locked: boolean;
|
|
56
56
|
fromSelection: boolean;
|
|
57
57
|
} & import("../types").ActiveTool;
|
|
58
|
+
preferredSelectionTool: {
|
|
59
|
+
type: "selection" | "lasso";
|
|
60
|
+
initialized: boolean;
|
|
61
|
+
};
|
|
58
62
|
penMode: boolean;
|
|
59
63
|
penDetected: boolean;
|
|
60
64
|
exportBackground: boolean;
|
|
@@ -87,7 +91,7 @@ export declare const actionGroup: {
|
|
|
87
91
|
zoom: Readonly<{
|
|
88
92
|
value: import("../types").NormalizedZoomValue;
|
|
89
93
|
}>;
|
|
90
|
-
openMenu: "canvas" |
|
|
94
|
+
openMenu: "canvas" | null;
|
|
91
95
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
92
96
|
openSidebar: {
|
|
93
97
|
name: string;
|
|
@@ -162,7 +166,7 @@ export declare const actionGroup: {
|
|
|
162
166
|
shown: true;
|
|
163
167
|
data: import("../charts").Spreadsheet;
|
|
164
168
|
};
|
|
165
|
-
showHyperlinkPopup: false | "
|
|
169
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
166
170
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
167
171
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
168
172
|
originSnapOffset: {
|
|
@@ -182,7 +186,6 @@ export declare const actionGroup: {
|
|
|
182
186
|
lockedMultiSelections: {
|
|
183
187
|
[groupId: string]: true;
|
|
184
188
|
};
|
|
185
|
-
stylesPanelMode: "compact" | "full";
|
|
186
189
|
};
|
|
187
190
|
elements: OrderedExcalidrawElement[];
|
|
188
191
|
captureUpdate: "IMMEDIATELY";
|
|
@@ -247,6 +250,10 @@ export declare const actionUngroup: {
|
|
|
247
250
|
locked: boolean;
|
|
248
251
|
fromSelection: boolean;
|
|
249
252
|
} & import("../types").ActiveTool;
|
|
253
|
+
preferredSelectionTool: {
|
|
254
|
+
type: "selection" | "lasso";
|
|
255
|
+
initialized: boolean;
|
|
256
|
+
};
|
|
250
257
|
penMode: boolean;
|
|
251
258
|
penDetected: boolean;
|
|
252
259
|
exportBackground: boolean;
|
|
@@ -279,7 +286,7 @@ export declare const actionUngroup: {
|
|
|
279
286
|
zoom: Readonly<{
|
|
280
287
|
value: import("../types").NormalizedZoomValue;
|
|
281
288
|
}>;
|
|
282
|
-
openMenu: "canvas" |
|
|
289
|
+
openMenu: "canvas" | null;
|
|
283
290
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
284
291
|
openSidebar: {
|
|
285
292
|
name: string;
|
|
@@ -354,7 +361,7 @@ export declare const actionUngroup: {
|
|
|
354
361
|
shown: true;
|
|
355
362
|
data: import("../charts").Spreadsheet;
|
|
356
363
|
};
|
|
357
|
-
showHyperlinkPopup: false | "
|
|
364
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
358
365
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
359
366
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
360
367
|
originSnapOffset: {
|
|
@@ -374,7 +381,6 @@ export declare const actionUngroup: {
|
|
|
374
381
|
lockedMultiSelections: {
|
|
375
382
|
[groupId: string]: true;
|
|
376
383
|
};
|
|
377
|
-
stylesPanelMode: "compact" | "full";
|
|
378
384
|
};
|
|
379
385
|
elements: OrderedExcalidrawElement[];
|
|
380
386
|
captureUpdate: "IMMEDIATELY";
|
|
@@ -78,6 +78,10 @@ export declare const actionToggleLinearEditor: {
|
|
|
78
78
|
locked: boolean;
|
|
79
79
|
fromSelection: boolean;
|
|
80
80
|
} & import("../types").ActiveTool;
|
|
81
|
+
preferredSelectionTool: {
|
|
82
|
+
type: "selection" | "lasso";
|
|
83
|
+
initialized: boolean;
|
|
84
|
+
};
|
|
81
85
|
penMode: boolean;
|
|
82
86
|
penDetected: boolean;
|
|
83
87
|
exportBackground: boolean;
|
|
@@ -110,7 +114,7 @@ export declare const actionToggleLinearEditor: {
|
|
|
110
114
|
zoom: Readonly<{
|
|
111
115
|
value: import("../types").NormalizedZoomValue;
|
|
112
116
|
}>;
|
|
113
|
-
openMenu: "canvas" |
|
|
117
|
+
openMenu: "canvas" | null;
|
|
114
118
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
115
119
|
openSidebar: {
|
|
116
120
|
name: string;
|
|
@@ -192,7 +196,7 @@ export declare const actionToggleLinearEditor: {
|
|
|
192
196
|
shown: true;
|
|
193
197
|
data: import("../charts").Spreadsheet;
|
|
194
198
|
};
|
|
195
|
-
showHyperlinkPopup: false | "
|
|
199
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
196
200
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
197
201
|
originSnapOffset: {
|
|
198
202
|
x: number;
|
|
@@ -211,7 +215,6 @@ export declare const actionToggleLinearEditor: {
|
|
|
211
215
|
lockedMultiSelections: {
|
|
212
216
|
[groupId: string]: true;
|
|
213
217
|
};
|
|
214
|
-
stylesPanelMode: "compact" | "full";
|
|
215
218
|
};
|
|
216
219
|
captureUpdate: "IMMEDIATELY";
|
|
217
220
|
};
|
|
@@ -42,6 +42,10 @@ export declare const actionLink: {
|
|
|
42
42
|
locked: boolean;
|
|
43
43
|
fromSelection: boolean;
|
|
44
44
|
} & import("../types").ActiveTool;
|
|
45
|
+
preferredSelectionTool: {
|
|
46
|
+
type: "selection" | "lasso";
|
|
47
|
+
initialized: boolean;
|
|
48
|
+
};
|
|
45
49
|
penMode: boolean;
|
|
46
50
|
penDetected: boolean;
|
|
47
51
|
exportBackground: boolean;
|
|
@@ -174,7 +178,6 @@ export declare const actionLink: {
|
|
|
174
178
|
lockedMultiSelections: {
|
|
175
179
|
[groupId: string]: true;
|
|
176
180
|
};
|
|
177
|
-
stylesPanelMode: "compact" | "full";
|
|
178
181
|
};
|
|
179
182
|
captureUpdate: "IMMEDIATELY";
|
|
180
183
|
};
|