@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
|
@@ -72,6 +72,10 @@ export declare const actionChangeFillStyle: {
|
|
|
72
72
|
locked: boolean;
|
|
73
73
|
fromSelection: boolean;
|
|
74
74
|
} & import("../types").ActiveTool;
|
|
75
|
+
preferredSelectionTool: {
|
|
76
|
+
type: "selection" | "lasso";
|
|
77
|
+
initialized: boolean;
|
|
78
|
+
};
|
|
75
79
|
penMode: boolean;
|
|
76
80
|
penDetected: boolean;
|
|
77
81
|
exportBackground: boolean;
|
|
@@ -103,7 +107,7 @@ export declare const actionChangeFillStyle: {
|
|
|
103
107
|
zoom: Readonly<{
|
|
104
108
|
value: import("../types").NormalizedZoomValue;
|
|
105
109
|
}>;
|
|
106
|
-
openMenu: "canvas" |
|
|
110
|
+
openMenu: "canvas" | null;
|
|
107
111
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
108
112
|
openSidebar: {
|
|
109
113
|
name: string;
|
|
@@ -185,7 +189,7 @@ export declare const actionChangeFillStyle: {
|
|
|
185
189
|
shown: true;
|
|
186
190
|
data: import("../charts").Spreadsheet;
|
|
187
191
|
};
|
|
188
|
-
showHyperlinkPopup: false | "
|
|
192
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
189
193
|
selectedLinearElement: LinearElementEditor | null;
|
|
190
194
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
191
195
|
originSnapOffset: {
|
|
@@ -205,7 +209,6 @@ export declare const actionChangeFillStyle: {
|
|
|
205
209
|
lockedMultiSelections: {
|
|
206
210
|
[groupId: string]: true;
|
|
207
211
|
};
|
|
208
|
-
stylesPanelMode: "compact" | "full";
|
|
209
212
|
};
|
|
210
213
|
captureUpdate: "IMMEDIATELY";
|
|
211
214
|
};
|
|
@@ -255,6 +258,10 @@ export declare const actionChangeStrokeWidth: {
|
|
|
255
258
|
locked: boolean;
|
|
256
259
|
fromSelection: boolean;
|
|
257
260
|
} & import("../types").ActiveTool;
|
|
261
|
+
preferredSelectionTool: {
|
|
262
|
+
type: "selection" | "lasso";
|
|
263
|
+
initialized: boolean;
|
|
264
|
+
};
|
|
258
265
|
penMode: boolean;
|
|
259
266
|
penDetected: boolean;
|
|
260
267
|
exportBackground: boolean;
|
|
@@ -286,7 +293,7 @@ export declare const actionChangeStrokeWidth: {
|
|
|
286
293
|
zoom: Readonly<{
|
|
287
294
|
value: import("../types").NormalizedZoomValue;
|
|
288
295
|
}>;
|
|
289
|
-
openMenu: "canvas" |
|
|
296
|
+
openMenu: "canvas" | null;
|
|
290
297
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
291
298
|
openSidebar: {
|
|
292
299
|
name: string;
|
|
@@ -368,7 +375,7 @@ export declare const actionChangeStrokeWidth: {
|
|
|
368
375
|
shown: true;
|
|
369
376
|
data: import("../charts").Spreadsheet;
|
|
370
377
|
};
|
|
371
|
-
showHyperlinkPopup: false | "
|
|
378
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
372
379
|
selectedLinearElement: LinearElementEditor | null;
|
|
373
380
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
374
381
|
originSnapOffset: {
|
|
@@ -388,7 +395,6 @@ export declare const actionChangeStrokeWidth: {
|
|
|
388
395
|
lockedMultiSelections: {
|
|
389
396
|
[groupId: string]: true;
|
|
390
397
|
};
|
|
391
|
-
stylesPanelMode: "compact" | "full";
|
|
392
398
|
};
|
|
393
399
|
captureUpdate: "IMMEDIATELY";
|
|
394
400
|
};
|
|
@@ -438,6 +444,10 @@ export declare const actionChangeSloppiness: {
|
|
|
438
444
|
locked: boolean;
|
|
439
445
|
fromSelection: boolean;
|
|
440
446
|
} & import("../types").ActiveTool;
|
|
447
|
+
preferredSelectionTool: {
|
|
448
|
+
type: "selection" | "lasso";
|
|
449
|
+
initialized: boolean;
|
|
450
|
+
};
|
|
441
451
|
penMode: boolean;
|
|
442
452
|
penDetected: boolean;
|
|
443
453
|
exportBackground: boolean;
|
|
@@ -469,7 +479,7 @@ export declare const actionChangeSloppiness: {
|
|
|
469
479
|
zoom: Readonly<{
|
|
470
480
|
value: import("../types").NormalizedZoomValue;
|
|
471
481
|
}>;
|
|
472
|
-
openMenu: "canvas" |
|
|
482
|
+
openMenu: "canvas" | null;
|
|
473
483
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
474
484
|
openSidebar: {
|
|
475
485
|
name: string;
|
|
@@ -551,7 +561,7 @@ export declare const actionChangeSloppiness: {
|
|
|
551
561
|
shown: true;
|
|
552
562
|
data: import("../charts").Spreadsheet;
|
|
553
563
|
};
|
|
554
|
-
showHyperlinkPopup: false | "
|
|
564
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
555
565
|
selectedLinearElement: LinearElementEditor | null;
|
|
556
566
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
557
567
|
originSnapOffset: {
|
|
@@ -571,7 +581,6 @@ export declare const actionChangeSloppiness: {
|
|
|
571
581
|
lockedMultiSelections: {
|
|
572
582
|
[groupId: string]: true;
|
|
573
583
|
};
|
|
574
|
-
stylesPanelMode: "compact" | "full";
|
|
575
584
|
};
|
|
576
585
|
captureUpdate: "IMMEDIATELY";
|
|
577
586
|
};
|
|
@@ -621,6 +630,10 @@ export declare const actionChangeStrokeStyle: {
|
|
|
621
630
|
locked: boolean;
|
|
622
631
|
fromSelection: boolean;
|
|
623
632
|
} & import("../types").ActiveTool;
|
|
633
|
+
preferredSelectionTool: {
|
|
634
|
+
type: "selection" | "lasso";
|
|
635
|
+
initialized: boolean;
|
|
636
|
+
};
|
|
624
637
|
penMode: boolean;
|
|
625
638
|
penDetected: boolean;
|
|
626
639
|
exportBackground: boolean;
|
|
@@ -652,7 +665,7 @@ export declare const actionChangeStrokeStyle: {
|
|
|
652
665
|
zoom: Readonly<{
|
|
653
666
|
value: import("../types").NormalizedZoomValue;
|
|
654
667
|
}>;
|
|
655
|
-
openMenu: "canvas" |
|
|
668
|
+
openMenu: "canvas" | null;
|
|
656
669
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
657
670
|
openSidebar: {
|
|
658
671
|
name: string;
|
|
@@ -734,7 +747,7 @@ export declare const actionChangeStrokeStyle: {
|
|
|
734
747
|
shown: true;
|
|
735
748
|
data: import("../charts").Spreadsheet;
|
|
736
749
|
};
|
|
737
|
-
showHyperlinkPopup: false | "
|
|
750
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
738
751
|
selectedLinearElement: LinearElementEditor | null;
|
|
739
752
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
740
753
|
originSnapOffset: {
|
|
@@ -754,7 +767,6 @@ export declare const actionChangeStrokeStyle: {
|
|
|
754
767
|
lockedMultiSelections: {
|
|
755
768
|
[groupId: string]: true;
|
|
756
769
|
};
|
|
757
|
-
stylesPanelMode: "compact" | "full";
|
|
758
770
|
};
|
|
759
771
|
captureUpdate: "IMMEDIATELY";
|
|
760
772
|
};
|
|
@@ -804,6 +816,10 @@ export declare const actionChangeOpacity: {
|
|
|
804
816
|
locked: boolean;
|
|
805
817
|
fromSelection: boolean;
|
|
806
818
|
} & import("../types").ActiveTool;
|
|
819
|
+
preferredSelectionTool: {
|
|
820
|
+
type: "selection" | "lasso";
|
|
821
|
+
initialized: boolean;
|
|
822
|
+
};
|
|
807
823
|
penMode: boolean;
|
|
808
824
|
penDetected: boolean;
|
|
809
825
|
exportBackground: boolean;
|
|
@@ -835,7 +851,7 @@ export declare const actionChangeOpacity: {
|
|
|
835
851
|
zoom: Readonly<{
|
|
836
852
|
value: import("../types").NormalizedZoomValue;
|
|
837
853
|
}>;
|
|
838
|
-
openMenu: "canvas" |
|
|
854
|
+
openMenu: "canvas" | null;
|
|
839
855
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
840
856
|
openSidebar: {
|
|
841
857
|
name: string;
|
|
@@ -917,7 +933,7 @@ export declare const actionChangeOpacity: {
|
|
|
917
933
|
shown: true;
|
|
918
934
|
data: import("../charts").Spreadsheet;
|
|
919
935
|
};
|
|
920
|
-
showHyperlinkPopup: false | "
|
|
936
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
921
937
|
selectedLinearElement: LinearElementEditor | null;
|
|
922
938
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
923
939
|
originSnapOffset: {
|
|
@@ -937,7 +953,6 @@ export declare const actionChangeOpacity: {
|
|
|
937
953
|
lockedMultiSelections: {
|
|
938
954
|
[groupId: string]: true;
|
|
939
955
|
};
|
|
940
|
-
stylesPanelMode: "compact" | "full";
|
|
941
956
|
};
|
|
942
957
|
captureUpdate: "IMMEDIATELY";
|
|
943
958
|
};
|
|
@@ -987,6 +1002,10 @@ export declare const actionChangeFontSize: {
|
|
|
987
1002
|
locked: boolean;
|
|
988
1003
|
fromSelection: boolean;
|
|
989
1004
|
} & import("../types").ActiveTool;
|
|
1005
|
+
preferredSelectionTool: {
|
|
1006
|
+
type: "selection" | "lasso";
|
|
1007
|
+
initialized: boolean;
|
|
1008
|
+
};
|
|
990
1009
|
penMode: boolean;
|
|
991
1010
|
penDetected: boolean;
|
|
992
1011
|
exportBackground: boolean;
|
|
@@ -1018,7 +1037,7 @@ export declare const actionChangeFontSize: {
|
|
|
1018
1037
|
zoom: Readonly<{
|
|
1019
1038
|
value: import("../types").NormalizedZoomValue;
|
|
1020
1039
|
}>;
|
|
1021
|
-
openMenu: "canvas" |
|
|
1040
|
+
openMenu: "canvas" | null;
|
|
1022
1041
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1023
1042
|
openSidebar: {
|
|
1024
1043
|
name: string;
|
|
@@ -1100,7 +1119,7 @@ export declare const actionChangeFontSize: {
|
|
|
1100
1119
|
shown: true;
|
|
1101
1120
|
data: import("../charts").Spreadsheet;
|
|
1102
1121
|
};
|
|
1103
|
-
showHyperlinkPopup: false | "
|
|
1122
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1104
1123
|
selectedLinearElement: LinearElementEditor | null;
|
|
1105
1124
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1106
1125
|
originSnapOffset: {
|
|
@@ -1120,7 +1139,6 @@ export declare const actionChangeFontSize: {
|
|
|
1120
1139
|
lockedMultiSelections: {
|
|
1121
1140
|
[groupId: string]: true;
|
|
1122
1141
|
};
|
|
1123
|
-
stylesPanelMode: "compact" | "full";
|
|
1124
1142
|
};
|
|
1125
1143
|
captureUpdate: "IMMEDIATELY";
|
|
1126
1144
|
};
|
|
@@ -1171,6 +1189,10 @@ export declare const actionDecreaseFontSize: {
|
|
|
1171
1189
|
locked: boolean;
|
|
1172
1190
|
fromSelection: boolean;
|
|
1173
1191
|
} & import("../types").ActiveTool;
|
|
1192
|
+
preferredSelectionTool: {
|
|
1193
|
+
type: "selection" | "lasso";
|
|
1194
|
+
initialized: boolean;
|
|
1195
|
+
};
|
|
1174
1196
|
penMode: boolean;
|
|
1175
1197
|
penDetected: boolean;
|
|
1176
1198
|
exportBackground: boolean;
|
|
@@ -1202,7 +1224,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
1202
1224
|
zoom: Readonly<{
|
|
1203
1225
|
value: import("../types").NormalizedZoomValue;
|
|
1204
1226
|
}>;
|
|
1205
|
-
openMenu: "canvas" |
|
|
1227
|
+
openMenu: "canvas" | null;
|
|
1206
1228
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1207
1229
|
openSidebar: {
|
|
1208
1230
|
name: string;
|
|
@@ -1284,7 +1306,7 @@ export declare const actionDecreaseFontSize: {
|
|
|
1284
1306
|
shown: true;
|
|
1285
1307
|
data: import("../charts").Spreadsheet;
|
|
1286
1308
|
};
|
|
1287
|
-
showHyperlinkPopup: false | "
|
|
1309
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1288
1310
|
selectedLinearElement: LinearElementEditor | null;
|
|
1289
1311
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1290
1312
|
originSnapOffset: {
|
|
@@ -1304,7 +1326,6 @@ export declare const actionDecreaseFontSize: {
|
|
|
1304
1326
|
lockedMultiSelections: {
|
|
1305
1327
|
[groupId: string]: true;
|
|
1306
1328
|
};
|
|
1307
|
-
stylesPanelMode: "compact" | "full";
|
|
1308
1329
|
};
|
|
1309
1330
|
captureUpdate: "IMMEDIATELY";
|
|
1310
1331
|
};
|
|
@@ -1355,6 +1376,10 @@ export declare const actionIncreaseFontSize: {
|
|
|
1355
1376
|
locked: boolean;
|
|
1356
1377
|
fromSelection: boolean;
|
|
1357
1378
|
} & import("../types").ActiveTool;
|
|
1379
|
+
preferredSelectionTool: {
|
|
1380
|
+
type: "selection" | "lasso";
|
|
1381
|
+
initialized: boolean;
|
|
1382
|
+
};
|
|
1358
1383
|
penMode: boolean;
|
|
1359
1384
|
penDetected: boolean;
|
|
1360
1385
|
exportBackground: boolean;
|
|
@@ -1386,7 +1411,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
1386
1411
|
zoom: Readonly<{
|
|
1387
1412
|
value: import("../types").NormalizedZoomValue;
|
|
1388
1413
|
}>;
|
|
1389
|
-
openMenu: "canvas" |
|
|
1414
|
+
openMenu: "canvas" | null;
|
|
1390
1415
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1391
1416
|
openSidebar: {
|
|
1392
1417
|
name: string;
|
|
@@ -1468,7 +1493,7 @@ export declare const actionIncreaseFontSize: {
|
|
|
1468
1493
|
shown: true;
|
|
1469
1494
|
data: import("../charts").Spreadsheet;
|
|
1470
1495
|
};
|
|
1471
|
-
showHyperlinkPopup: false | "
|
|
1496
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1472
1497
|
selectedLinearElement: LinearElementEditor | null;
|
|
1473
1498
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1474
1499
|
originSnapOffset: {
|
|
@@ -1488,7 +1513,6 @@ export declare const actionIncreaseFontSize: {
|
|
|
1488
1513
|
lockedMultiSelections: {
|
|
1489
1514
|
[groupId: string]: true;
|
|
1490
1515
|
};
|
|
1491
|
-
stylesPanelMode: "compact" | "full";
|
|
1492
1516
|
};
|
|
1493
1517
|
captureUpdate: "IMMEDIATELY";
|
|
1494
1518
|
};
|
|
@@ -1539,6 +1563,10 @@ export declare const actionChangeFontFamily: {
|
|
|
1539
1563
|
locked: boolean;
|
|
1540
1564
|
fromSelection: boolean;
|
|
1541
1565
|
} & import("../types").ActiveTool;
|
|
1566
|
+
preferredSelectionTool: {
|
|
1567
|
+
type: "selection" | "lasso";
|
|
1568
|
+
initialized: boolean;
|
|
1569
|
+
};
|
|
1542
1570
|
penMode: boolean;
|
|
1543
1571
|
penDetected: boolean;
|
|
1544
1572
|
exportBackground: boolean;
|
|
@@ -1569,7 +1597,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1569
1597
|
zoom: Readonly<{
|
|
1570
1598
|
value: import("../types").NormalizedZoomValue;
|
|
1571
1599
|
}>;
|
|
1572
|
-
openMenu: "canvas" |
|
|
1600
|
+
openMenu: "canvas" | null;
|
|
1573
1601
|
openSidebar: {
|
|
1574
1602
|
name: string;
|
|
1575
1603
|
tab?: string | undefined;
|
|
@@ -1650,7 +1678,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1650
1678
|
shown: true;
|
|
1651
1679
|
data: import("../charts").Spreadsheet;
|
|
1652
1680
|
};
|
|
1653
|
-
showHyperlinkPopup: false | "
|
|
1681
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1654
1682
|
selectedLinearElement: LinearElementEditor | null;
|
|
1655
1683
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1656
1684
|
originSnapOffset: {
|
|
@@ -1670,7 +1698,6 @@ export declare const actionChangeFontFamily: {
|
|
|
1670
1698
|
lockedMultiSelections: {
|
|
1671
1699
|
[groupId: string]: true;
|
|
1672
1700
|
};
|
|
1673
|
-
stylesPanelMode: "compact" | "full";
|
|
1674
1701
|
};
|
|
1675
1702
|
captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
|
|
1676
1703
|
} | {
|
|
@@ -1713,6 +1740,10 @@ export declare const actionChangeFontFamily: {
|
|
|
1713
1740
|
locked: boolean;
|
|
1714
1741
|
fromSelection: boolean;
|
|
1715
1742
|
} & import("../types").ActiveTool;
|
|
1743
|
+
preferredSelectionTool: {
|
|
1744
|
+
type: "selection" | "lasso";
|
|
1745
|
+
initialized: boolean;
|
|
1746
|
+
};
|
|
1716
1747
|
penMode: boolean;
|
|
1717
1748
|
penDetected: boolean;
|
|
1718
1749
|
exportBackground: boolean;
|
|
@@ -1743,7 +1774,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1743
1774
|
zoom: Readonly<{
|
|
1744
1775
|
value: import("../types").NormalizedZoomValue;
|
|
1745
1776
|
}>;
|
|
1746
|
-
openMenu: "canvas" |
|
|
1777
|
+
openMenu: "canvas" | null;
|
|
1747
1778
|
openSidebar: {
|
|
1748
1779
|
name: string;
|
|
1749
1780
|
tab?: string | undefined;
|
|
@@ -1824,7 +1855,7 @@ export declare const actionChangeFontFamily: {
|
|
|
1824
1855
|
shown: true;
|
|
1825
1856
|
data: import("../charts").Spreadsheet;
|
|
1826
1857
|
};
|
|
1827
|
-
showHyperlinkPopup: false | "
|
|
1858
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
1828
1859
|
selectedLinearElement: LinearElementEditor | null;
|
|
1829
1860
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
1830
1861
|
originSnapOffset: {
|
|
@@ -1844,11 +1875,10 @@ export declare const actionChangeFontFamily: {
|
|
|
1844
1875
|
lockedMultiSelections: {
|
|
1845
1876
|
[groupId: string]: true;
|
|
1846
1877
|
};
|
|
1847
|
-
stylesPanelMode: "compact" | "full";
|
|
1848
1878
|
};
|
|
1849
1879
|
captureUpdate: "NEVER";
|
|
1850
1880
|
};
|
|
1851
|
-
PanelComponent: ({ elements, appState, app, updateData
|
|
1881
|
+
PanelComponent: ({ elements, appState, app, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
1852
1882
|
} & {
|
|
1853
1883
|
keyTest?: undefined;
|
|
1854
1884
|
};
|
|
@@ -1894,6 +1924,10 @@ export declare const actionChangeTextAlign: {
|
|
|
1894
1924
|
locked: boolean;
|
|
1895
1925
|
fromSelection: boolean;
|
|
1896
1926
|
} & import("../types").ActiveTool;
|
|
1927
|
+
preferredSelectionTool: {
|
|
1928
|
+
type: "selection" | "lasso";
|
|
1929
|
+
initialized: boolean;
|
|
1930
|
+
};
|
|
1897
1931
|
penMode: boolean;
|
|
1898
1932
|
penDetected: boolean;
|
|
1899
1933
|
exportBackground: boolean;
|
|
@@ -1925,7 +1959,7 @@ export declare const actionChangeTextAlign: {
|
|
|
1925
1959
|
zoom: Readonly<{
|
|
1926
1960
|
value: import("../types").NormalizedZoomValue;
|
|
1927
1961
|
}>;
|
|
1928
|
-
openMenu: "canvas" |
|
|
1962
|
+
openMenu: "canvas" | null;
|
|
1929
1963
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
1930
1964
|
openSidebar: {
|
|
1931
1965
|
name: string;
|
|
@@ -2007,7 +2041,7 @@ export declare const actionChangeTextAlign: {
|
|
|
2007
2041
|
shown: true;
|
|
2008
2042
|
data: import("../charts").Spreadsheet;
|
|
2009
2043
|
};
|
|
2010
|
-
showHyperlinkPopup: false | "
|
|
2044
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2011
2045
|
selectedLinearElement: LinearElementEditor | null;
|
|
2012
2046
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2013
2047
|
originSnapOffset: {
|
|
@@ -2027,7 +2061,6 @@ export declare const actionChangeTextAlign: {
|
|
|
2027
2061
|
lockedMultiSelections: {
|
|
2028
2062
|
[groupId: string]: true;
|
|
2029
2063
|
};
|
|
2030
|
-
stylesPanelMode: "compact" | "full";
|
|
2031
2064
|
};
|
|
2032
2065
|
captureUpdate: "IMMEDIATELY";
|
|
2033
2066
|
};
|
|
@@ -2078,6 +2111,10 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2078
2111
|
locked: boolean;
|
|
2079
2112
|
fromSelection: boolean;
|
|
2080
2113
|
} & import("../types").ActiveTool;
|
|
2114
|
+
preferredSelectionTool: {
|
|
2115
|
+
type: "selection" | "lasso";
|
|
2116
|
+
initialized: boolean;
|
|
2117
|
+
};
|
|
2081
2118
|
penMode: boolean;
|
|
2082
2119
|
penDetected: boolean;
|
|
2083
2120
|
exportBackground: boolean;
|
|
@@ -2110,7 +2147,7 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2110
2147
|
zoom: Readonly<{
|
|
2111
2148
|
value: import("../types").NormalizedZoomValue;
|
|
2112
2149
|
}>;
|
|
2113
|
-
openMenu: "canvas" |
|
|
2150
|
+
openMenu: "canvas" | null;
|
|
2114
2151
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
2115
2152
|
openSidebar: {
|
|
2116
2153
|
name: string;
|
|
@@ -2192,7 +2229,7 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2192
2229
|
shown: true;
|
|
2193
2230
|
data: import("../charts").Spreadsheet;
|
|
2194
2231
|
};
|
|
2195
|
-
showHyperlinkPopup: false | "
|
|
2232
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2196
2233
|
selectedLinearElement: LinearElementEditor | null;
|
|
2197
2234
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2198
2235
|
originSnapOffset: {
|
|
@@ -2212,7 +2249,6 @@ export declare const actionChangeVerticalAlign: {
|
|
|
2212
2249
|
lockedMultiSelections: {
|
|
2213
2250
|
[groupId: string]: true;
|
|
2214
2251
|
};
|
|
2215
|
-
stylesPanelMode: "compact" | "full";
|
|
2216
2252
|
};
|
|
2217
2253
|
captureUpdate: "IMMEDIATELY";
|
|
2218
2254
|
};
|
|
@@ -2262,6 +2298,10 @@ export declare const actionChangeRoundness: {
|
|
|
2262
2298
|
locked: boolean;
|
|
2263
2299
|
fromSelection: boolean;
|
|
2264
2300
|
} & import("../types").ActiveTool;
|
|
2301
|
+
preferredSelectionTool: {
|
|
2302
|
+
type: "selection" | "lasso";
|
|
2303
|
+
initialized: boolean;
|
|
2304
|
+
};
|
|
2265
2305
|
penMode: boolean;
|
|
2266
2306
|
penDetected: boolean;
|
|
2267
2307
|
exportBackground: boolean;
|
|
@@ -2293,7 +2333,7 @@ export declare const actionChangeRoundness: {
|
|
|
2293
2333
|
zoom: Readonly<{
|
|
2294
2334
|
value: import("../types").NormalizedZoomValue;
|
|
2295
2335
|
}>;
|
|
2296
|
-
openMenu: "canvas" |
|
|
2336
|
+
openMenu: "canvas" | null;
|
|
2297
2337
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
2298
2338
|
openSidebar: {
|
|
2299
2339
|
name: string;
|
|
@@ -2375,7 +2415,7 @@ export declare const actionChangeRoundness: {
|
|
|
2375
2415
|
shown: true;
|
|
2376
2416
|
data: import("../charts").Spreadsheet;
|
|
2377
2417
|
};
|
|
2378
|
-
showHyperlinkPopup: false | "
|
|
2418
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2379
2419
|
selectedLinearElement: LinearElementEditor | null;
|
|
2380
2420
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2381
2421
|
originSnapOffset: {
|
|
@@ -2395,7 +2435,6 @@ export declare const actionChangeRoundness: {
|
|
|
2395
2435
|
lockedMultiSelections: {
|
|
2396
2436
|
[groupId: string]: true;
|
|
2397
2437
|
};
|
|
2398
|
-
stylesPanelMode: "compact" | "full";
|
|
2399
2438
|
};
|
|
2400
2439
|
captureUpdate: "IMMEDIATELY";
|
|
2401
2440
|
};
|
|
@@ -2447,6 +2486,10 @@ export declare const actionChangeArrowhead: {
|
|
|
2447
2486
|
locked: boolean;
|
|
2448
2487
|
fromSelection: boolean;
|
|
2449
2488
|
} & import("../types").ActiveTool;
|
|
2489
|
+
preferredSelectionTool: {
|
|
2490
|
+
type: "selection" | "lasso";
|
|
2491
|
+
initialized: boolean;
|
|
2492
|
+
};
|
|
2450
2493
|
penMode: boolean;
|
|
2451
2494
|
penDetected: boolean;
|
|
2452
2495
|
exportBackground: boolean;
|
|
@@ -2479,7 +2522,7 @@ export declare const actionChangeArrowhead: {
|
|
|
2479
2522
|
zoom: Readonly<{
|
|
2480
2523
|
value: import("../types").NormalizedZoomValue;
|
|
2481
2524
|
}>;
|
|
2482
|
-
openMenu: "canvas" |
|
|
2525
|
+
openMenu: "canvas" | null;
|
|
2483
2526
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
2484
2527
|
openSidebar: {
|
|
2485
2528
|
name: string;
|
|
@@ -2561,7 +2604,7 @@ export declare const actionChangeArrowhead: {
|
|
|
2561
2604
|
shown: true;
|
|
2562
2605
|
data: import("../charts").Spreadsheet;
|
|
2563
2606
|
};
|
|
2564
|
-
showHyperlinkPopup: false | "
|
|
2607
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2565
2608
|
selectedLinearElement: LinearElementEditor | null;
|
|
2566
2609
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2567
2610
|
originSnapOffset: {
|
|
@@ -2581,7 +2624,6 @@ export declare const actionChangeArrowhead: {
|
|
|
2581
2624
|
lockedMultiSelections: {
|
|
2582
2625
|
[groupId: string]: true;
|
|
2583
2626
|
};
|
|
2584
|
-
stylesPanelMode: "compact" | "full";
|
|
2585
2627
|
};
|
|
2586
2628
|
captureUpdate: "IMMEDIATELY";
|
|
2587
2629
|
};
|
|
@@ -2640,6 +2682,10 @@ export declare const actionChangeArrowType: {
|
|
|
2640
2682
|
locked: boolean;
|
|
2641
2683
|
fromSelection: boolean;
|
|
2642
2684
|
} & import("../types").ActiveTool;
|
|
2685
|
+
preferredSelectionTool: {
|
|
2686
|
+
type: "selection" | "lasso";
|
|
2687
|
+
initialized: boolean;
|
|
2688
|
+
};
|
|
2643
2689
|
penMode: boolean;
|
|
2644
2690
|
penDetected: boolean;
|
|
2645
2691
|
exportBackground: boolean;
|
|
@@ -2671,7 +2717,7 @@ export declare const actionChangeArrowType: {
|
|
|
2671
2717
|
zoom: Readonly<{
|
|
2672
2718
|
value: import("../types").NormalizedZoomValue;
|
|
2673
2719
|
}>;
|
|
2674
|
-
openMenu: "canvas" |
|
|
2720
|
+
openMenu: "canvas" | null;
|
|
2675
2721
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
2676
2722
|
openSidebar: {
|
|
2677
2723
|
name: string;
|
|
@@ -2753,7 +2799,7 @@ export declare const actionChangeArrowType: {
|
|
|
2753
2799
|
shown: true;
|
|
2754
2800
|
data: import("../charts").Spreadsheet;
|
|
2755
2801
|
};
|
|
2756
|
-
showHyperlinkPopup: false | "
|
|
2802
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
2757
2803
|
selectedLinearElement: LinearElementEditor | null;
|
|
2758
2804
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
2759
2805
|
originSnapOffset: {
|
|
@@ -2773,7 +2819,6 @@ export declare const actionChangeArrowType: {
|
|
|
2773
2819
|
lockedMultiSelections: {
|
|
2774
2820
|
[groupId: string]: true;
|
|
2775
2821
|
};
|
|
2776
|
-
stylesPanelMode: "compact" | "full";
|
|
2777
2822
|
};
|
|
2778
2823
|
captureUpdate: "IMMEDIATELY";
|
|
2779
2824
|
};
|
|
@@ -53,6 +53,10 @@ export declare const actionSelectAll: {
|
|
|
53
53
|
locked: boolean;
|
|
54
54
|
fromSelection: boolean;
|
|
55
55
|
} & import("../types").ActiveTool;
|
|
56
|
+
preferredSelectionTool: {
|
|
57
|
+
type: "selection" | "lasso";
|
|
58
|
+
initialized: boolean;
|
|
59
|
+
};
|
|
56
60
|
penMode: boolean;
|
|
57
61
|
penDetected: boolean;
|
|
58
62
|
exportBackground: boolean;
|
|
@@ -85,7 +89,7 @@ export declare const actionSelectAll: {
|
|
|
85
89
|
zoom: Readonly<{
|
|
86
90
|
value: import("../types").NormalizedZoomValue;
|
|
87
91
|
}>;
|
|
88
|
-
openMenu: "canvas" |
|
|
92
|
+
openMenu: "canvas" | null;
|
|
89
93
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
90
94
|
openSidebar: {
|
|
91
95
|
name: string;
|
|
@@ -160,7 +164,7 @@ export declare const actionSelectAll: {
|
|
|
160
164
|
shown: true;
|
|
161
165
|
data: import("../charts").Spreadsheet;
|
|
162
166
|
};
|
|
163
|
-
showHyperlinkPopup: false | "
|
|
167
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
164
168
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
165
169
|
originSnapOffset: {
|
|
166
170
|
x: number;
|
|
@@ -179,7 +183,6 @@ export declare const actionSelectAll: {
|
|
|
179
183
|
lockedMultiSelections: {
|
|
180
184
|
[groupId: string]: true;
|
|
181
185
|
};
|
|
182
|
-
stylesPanelMode: "compact" | "full";
|
|
183
186
|
};
|
|
184
187
|
captureUpdate: "IMMEDIATELY";
|
|
185
188
|
};
|
|
@@ -46,6 +46,10 @@ export declare const actionCopyStyles: {
|
|
|
46
46
|
locked: boolean;
|
|
47
47
|
fromSelection: boolean;
|
|
48
48
|
} & import("../types").ActiveTool;
|
|
49
|
+
preferredSelectionTool: {
|
|
50
|
+
type: "selection" | "lasso";
|
|
51
|
+
initialized: boolean;
|
|
52
|
+
};
|
|
49
53
|
penMode: boolean;
|
|
50
54
|
penDetected: boolean;
|
|
51
55
|
exportBackground: boolean;
|
|
@@ -78,7 +82,7 @@ export declare const actionCopyStyles: {
|
|
|
78
82
|
zoom: Readonly<{
|
|
79
83
|
value: import("../types").NormalizedZoomValue;
|
|
80
84
|
}>;
|
|
81
|
-
openMenu: "canvas" |
|
|
85
|
+
openMenu: "canvas" | null;
|
|
82
86
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
83
87
|
openSidebar: {
|
|
84
88
|
name: string;
|
|
@@ -155,7 +159,7 @@ export declare const actionCopyStyles: {
|
|
|
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 actionCopyStyles: {
|
|
|
175
179
|
lockedMultiSelections: {
|
|
176
180
|
[groupId: string]: true;
|
|
177
181
|
};
|
|
178
|
-
stylesPanelMode: "compact" | "full";
|
|
179
182
|
};
|
|
180
183
|
captureUpdate: "EVENTUALLY";
|
|
181
184
|
};
|
|
@@ -48,6 +48,10 @@ export declare const actionToggleGridMode: {
|
|
|
48
48
|
locked: boolean;
|
|
49
49
|
fromSelection: boolean;
|
|
50
50
|
} & import("../types").ActiveTool;
|
|
51
|
+
preferredSelectionTool: {
|
|
52
|
+
type: "selection" | "lasso";
|
|
53
|
+
initialized: boolean;
|
|
54
|
+
};
|
|
51
55
|
penMode: boolean;
|
|
52
56
|
penDetected: boolean;
|
|
53
57
|
exportBackground: boolean;
|
|
@@ -80,7 +84,7 @@ export declare const actionToggleGridMode: {
|
|
|
80
84
|
zoom: Readonly<{
|
|
81
85
|
value: import("../types").NormalizedZoomValue;
|
|
82
86
|
}>;
|
|
83
|
-
openMenu: "canvas" |
|
|
87
|
+
openMenu: "canvas" | null;
|
|
84
88
|
openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
|
|
85
89
|
openSidebar: {
|
|
86
90
|
name: string;
|
|
@@ -161,7 +165,7 @@ export declare const actionToggleGridMode: {
|
|
|
161
165
|
shown: true;
|
|
162
166
|
data: import("../charts").Spreadsheet;
|
|
163
167
|
};
|
|
164
|
-
showHyperlinkPopup: false | "
|
|
168
|
+
showHyperlinkPopup: false | "info" | "editor";
|
|
165
169
|
selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
|
|
166
170
|
snapLines: readonly import("../snapping").SnapLine[];
|
|
167
171
|
originSnapOffset: {
|
|
@@ -180,7 +184,6 @@ export declare const actionToggleGridMode: {
|
|
|
180
184
|
lockedMultiSelections: {
|
|
181
185
|
[groupId: string]: true;
|
|
182
186
|
};
|
|
183
|
-
stylesPanelMode: "compact" | "full";
|
|
184
187
|
};
|
|
185
188
|
captureUpdate: "EVENTUALLY";
|
|
186
189
|
};
|