@zsviczian/excalidraw 0.18.0-41 → 0.18.0-43
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/excalidraw.development.js +140 -63
- package/dist/excalidraw.production.min.js +1 -1
- package/dist/excalidraw.production.min.js.LICENSE.txt +0 -2
- package/dist/styles.development.css +524 -205
- package/dist/styles.production.css +18 -16
- package/package.json +1 -1
- package/types/common/src/constants.d.ts +6 -2
- package/types/common/src/utils.d.ts +0 -1
- package/types/element/src/transformHandles.d.ts +1 -1
- package/types/excalidraw/actions/actionAddToLibrary.d.ts +15 -3
- package/types/excalidraw/actions/actionBoundText.d.ts +10 -2
- package/types/excalidraw/actions/actionCanvas.d.ts +75 -15
- package/types/excalidraw/actions/actionClipboard.d.ts +30 -6
- package/types/excalidraw/actions/actionCropEditor.d.ts +5 -1
- package/types/excalidraw/actions/actionDeleteSelected.d.ts +15 -3
- package/types/excalidraw/actions/actionElementLink.d.ts +5 -1
- package/types/excalidraw/actions/actionElementLock.d.ts +10 -2
- package/types/excalidraw/actions/actionEmbeddable.d.ts +5 -1
- package/types/excalidraw/actions/actionExport.d.ts +45 -9
- package/types/excalidraw/actions/actionFinalize.d.ts +15 -3
- package/types/excalidraw/actions/actionFrame.d.ts +20 -4
- package/types/excalidraw/actions/actionGroup.d.ts +10 -2
- package/types/excalidraw/actions/actionLinearEditor.d.ts +5 -1
- package/types/excalidraw/actions/actionLink.d.ts +5 -1
- package/types/excalidraw/actions/actionMenu.d.ts +7 -449
- package/types/excalidraw/actions/actionNavigate.d.ts +10 -2
- package/types/excalidraw/actions/actionProperties.d.ts +81 -17
- package/types/excalidraw/actions/actionSelectAll.d.ts +5 -1
- package/types/excalidraw/actions/actionStyles.d.ts +5 -1
- package/types/excalidraw/actions/actionToggleGridMode.d.ts +5 -1
- package/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +5 -1
- package/types/excalidraw/actions/actionToggleSearchMenu.d.ts +5 -1
- package/types/excalidraw/actions/actionToggleStats.d.ts +5 -1
- package/types/excalidraw/actions/actionToggleViewMode.d.ts +5 -1
- package/types/excalidraw/actions/actionToggleZenMode.d.ts +5 -1
- package/types/excalidraw/actions/actionTrayMenu.d.ts +227 -0
- package/types/excalidraw/actions/index.d.ts +2 -1
- package/types/excalidraw/actions/types.d.ts +1 -1
- package/types/excalidraw/appState.d.ts +4 -1
- package/types/excalidraw/components/Actions.d.ts +9 -2
- package/types/excalidraw/components/App.d.ts +0 -1
- package/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +1 -1
- package/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -0
- package/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +2 -1
- package/types/excalidraw/components/ColorPicker/ShadeList.d.ts +2 -1
- package/types/excalidraw/components/ExcalidrawLogo.d.ts +1 -1
- package/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +2 -1
- package/types/excalidraw/components/LayerUI.d.ts +2 -1
- package/types/excalidraw/components/MobileMenu.d.ts +3 -5
- package/types/excalidraw/components/MobileToolBar.d.ts +10 -0
- package/types/excalidraw/components/Popover.d.ts +2 -1
- package/types/excalidraw/components/Section.d.ts +1 -0
- package/types/excalidraw/components/ToolPopover.d.ts +25 -0
- package/types/excalidraw/components/TrayMenu.d.ts +25 -0
- package/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +4 -2
- package/types/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts +2 -1
- package/types/excalidraw/components/icons.d.ts +0 -1
- package/types/excalidraw/obsidianUtils.d.ts +3 -2
- package/types/excalidraw/shortcut.d.ts +1 -0
- package/types/excalidraw/types.d.ts +7 -2
|
@@ -58,6 +58,10 @@ export declare const actionToggleElementLock: {
|
|
|
58
58
|
locked: boolean;
|
|
59
59
|
fromSelection: boolean;
|
|
60
60
|
} & import("../types").ActiveTool;
|
|
61
|
+
preferredSelectionTool: {
|
|
62
|
+
type: "selection" | "lasso";
|
|
63
|
+
initialized: boolean;
|
|
64
|
+
};
|
|
61
65
|
penMode: boolean;
|
|
62
66
|
penDetected: boolean;
|
|
63
67
|
exportBackground: boolean;
|
|
@@ -218,7 +222,7 @@ export declare const actionToggleElementLock: {
|
|
|
218
222
|
focusedId: string | null;
|
|
219
223
|
matches: readonly import("../types").SearchMatch[];
|
|
220
224
|
}> | null;
|
|
221
|
-
stylesPanelMode: "compact" | "full";
|
|
225
|
+
stylesPanelMode: "compact" | "full" | "mobile" | "tray";
|
|
222
226
|
};
|
|
223
227
|
captureUpdate: "IMMEDIATELY";
|
|
224
228
|
};
|
|
@@ -281,6 +285,10 @@ export declare const actionUnlockAllElements: {
|
|
|
281
285
|
locked: boolean;
|
|
282
286
|
fromSelection: boolean;
|
|
283
287
|
} & import("../types").ActiveTool;
|
|
288
|
+
preferredSelectionTool: {
|
|
289
|
+
type: "selection" | "lasso";
|
|
290
|
+
initialized: boolean;
|
|
291
|
+
};
|
|
284
292
|
penMode: boolean;
|
|
285
293
|
penDetected: boolean;
|
|
286
294
|
exportBackground: boolean;
|
|
@@ -442,7 +450,7 @@ export declare const actionUnlockAllElements: {
|
|
|
442
450
|
focusedId: string | null;
|
|
443
451
|
matches: readonly import("../types").SearchMatch[];
|
|
444
452
|
}> | null;
|
|
445
|
-
stylesPanelMode: "compact" | "full";
|
|
453
|
+
stylesPanelMode: "compact" | "full" | "mobile" | "tray";
|
|
446
454
|
};
|
|
447
455
|
captureUpdate: "IMMEDIATELY";
|
|
448
456
|
};
|
|
@@ -44,6 +44,10 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
44
44
|
editingFrame: string | null;
|
|
45
45
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
|
|
46
46
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
47
|
+
preferredSelectionTool: {
|
|
48
|
+
type: "selection" | "lasso";
|
|
49
|
+
initialized: boolean;
|
|
50
|
+
};
|
|
47
51
|
penMode: boolean;
|
|
48
52
|
penDetected: boolean;
|
|
49
53
|
exportBackground: boolean;
|
|
@@ -215,7 +219,7 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
215
219
|
lockedMultiSelections: {
|
|
216
220
|
[groupId: string]: true;
|
|
217
221
|
};
|
|
218
|
-
stylesPanelMode: "compact" | "full";
|
|
222
|
+
stylesPanelMode: "compact" | "full" | "mobile" | "tray";
|
|
219
223
|
};
|
|
220
224
|
captureUpdate: "EVENTUALLY";
|
|
221
225
|
};
|
|
@@ -43,6 +43,10 @@ export declare const actionChangeProjectName: {
|
|
|
43
43
|
locked: boolean;
|
|
44
44
|
fromSelection: boolean;
|
|
45
45
|
} & import("../types").ActiveTool;
|
|
46
|
+
preferredSelectionTool: {
|
|
47
|
+
type: "selection" | "lasso";
|
|
48
|
+
initialized: boolean;
|
|
49
|
+
};
|
|
46
50
|
penMode: boolean;
|
|
47
51
|
penDetected: boolean;
|
|
48
52
|
exportBackground: boolean;
|
|
@@ -213,7 +217,7 @@ export declare const actionChangeProjectName: {
|
|
|
213
217
|
lockedMultiSelections: {
|
|
214
218
|
[groupId: string]: true;
|
|
215
219
|
};
|
|
216
|
-
stylesPanelMode: "compact" | "full";
|
|
220
|
+
stylesPanelMode: "compact" | "full" | "mobile" | "tray";
|
|
217
221
|
};
|
|
218
222
|
captureUpdate: "EVENTUALLY";
|
|
219
223
|
};
|
|
@@ -267,6 +271,10 @@ export declare const actionChangeExportScale: {
|
|
|
267
271
|
locked: boolean;
|
|
268
272
|
fromSelection: boolean;
|
|
269
273
|
} & import("../types").ActiveTool;
|
|
274
|
+
preferredSelectionTool: {
|
|
275
|
+
type: "selection" | "lasso";
|
|
276
|
+
initialized: boolean;
|
|
277
|
+
};
|
|
270
278
|
penMode: boolean;
|
|
271
279
|
penDetected: boolean;
|
|
272
280
|
exportBackground: boolean;
|
|
@@ -437,7 +445,7 @@ export declare const actionChangeExportScale: {
|
|
|
437
445
|
lockedMultiSelections: {
|
|
438
446
|
[groupId: string]: true;
|
|
439
447
|
};
|
|
440
|
-
stylesPanelMode: "compact" | "full";
|
|
448
|
+
stylesPanelMode: "compact" | "full" | "mobile" | "tray";
|
|
441
449
|
};
|
|
442
450
|
captureUpdate: "EVENTUALLY";
|
|
443
451
|
};
|
|
@@ -491,6 +499,10 @@ export declare const actionChangeExportBackground: {
|
|
|
491
499
|
locked: boolean;
|
|
492
500
|
fromSelection: boolean;
|
|
493
501
|
} & import("../types").ActiveTool;
|
|
502
|
+
preferredSelectionTool: {
|
|
503
|
+
type: "selection" | "lasso";
|
|
504
|
+
initialized: boolean;
|
|
505
|
+
};
|
|
494
506
|
penMode: boolean;
|
|
495
507
|
penDetected: boolean;
|
|
496
508
|
exportEmbedScene: boolean;
|
|
@@ -661,7 +673,7 @@ export declare const actionChangeExportBackground: {
|
|
|
661
673
|
lockedMultiSelections: {
|
|
662
674
|
[groupId: string]: true;
|
|
663
675
|
};
|
|
664
|
-
stylesPanelMode: "compact" | "full";
|
|
676
|
+
stylesPanelMode: "compact" | "full" | "mobile" | "tray";
|
|
665
677
|
};
|
|
666
678
|
captureUpdate: "EVENTUALLY";
|
|
667
679
|
};
|
|
@@ -715,6 +727,10 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
715
727
|
locked: boolean;
|
|
716
728
|
fromSelection: boolean;
|
|
717
729
|
} & import("../types").ActiveTool;
|
|
730
|
+
preferredSelectionTool: {
|
|
731
|
+
type: "selection" | "lasso";
|
|
732
|
+
initialized: boolean;
|
|
733
|
+
};
|
|
718
734
|
penMode: boolean;
|
|
719
735
|
penDetected: boolean;
|
|
720
736
|
exportBackground: boolean;
|
|
@@ -885,7 +901,7 @@ export declare const actionChangeExportEmbedScene: {
|
|
|
885
901
|
lockedMultiSelections: {
|
|
886
902
|
[groupId: string]: true;
|
|
887
903
|
};
|
|
888
|
-
stylesPanelMode: "compact" | "full";
|
|
904
|
+
stylesPanelMode: "compact" | "full" | "mobile" | "tray";
|
|
889
905
|
};
|
|
890
906
|
captureUpdate: "EVENTUALLY";
|
|
891
907
|
};
|
|
@@ -944,6 +960,10 @@ export declare const actionSaveToActiveFile: {
|
|
|
944
960
|
locked: boolean;
|
|
945
961
|
fromSelection: boolean;
|
|
946
962
|
} & import("../types").ActiveTool;
|
|
963
|
+
preferredSelectionTool: {
|
|
964
|
+
type: "selection" | "lasso";
|
|
965
|
+
initialized: boolean;
|
|
966
|
+
};
|
|
947
967
|
penMode: boolean;
|
|
948
968
|
penDetected: boolean;
|
|
949
969
|
exportBackground: boolean;
|
|
@@ -1109,7 +1129,7 @@ export declare const actionSaveToActiveFile: {
|
|
|
1109
1129
|
lockedMultiSelections: {
|
|
1110
1130
|
[groupId: string]: true;
|
|
1111
1131
|
};
|
|
1112
|
-
stylesPanelMode: "compact" | "full";
|
|
1132
|
+
stylesPanelMode: "compact" | "full" | "mobile" | "tray";
|
|
1113
1133
|
};
|
|
1114
1134
|
} | {
|
|
1115
1135
|
captureUpdate: "EVENTUALLY";
|
|
@@ -1171,6 +1191,10 @@ export declare const actionSaveFileToDisk: {
|
|
|
1171
1191
|
locked: boolean;
|
|
1172
1192
|
fromSelection: boolean;
|
|
1173
1193
|
} & import("../types").ActiveTool;
|
|
1194
|
+
preferredSelectionTool: {
|
|
1195
|
+
type: "selection" | "lasso";
|
|
1196
|
+
initialized: boolean;
|
|
1197
|
+
};
|
|
1174
1198
|
penMode: boolean;
|
|
1175
1199
|
penDetected: boolean;
|
|
1176
1200
|
exportBackground: boolean;
|
|
@@ -1325,7 +1349,7 @@ export declare const actionSaveFileToDisk: {
|
|
|
1325
1349
|
lockedMultiSelections: {
|
|
1326
1350
|
[groupId: string]: true;
|
|
1327
1351
|
};
|
|
1328
|
-
stylesPanelMode: "compact" | "full";
|
|
1352
|
+
stylesPanelMode: "compact" | "full" | "mobile" | "tray";
|
|
1329
1353
|
};
|
|
1330
1354
|
} | {
|
|
1331
1355
|
captureUpdate: "EVENTUALLY";
|
|
@@ -1454,6 +1478,10 @@ export declare const actionLoadScene: {
|
|
|
1454
1478
|
locked: boolean;
|
|
1455
1479
|
fromSelection: boolean;
|
|
1456
1480
|
} & import("../types").ActiveTool;
|
|
1481
|
+
preferredSelectionTool: {
|
|
1482
|
+
type: "selection" | "lasso";
|
|
1483
|
+
initialized: boolean;
|
|
1484
|
+
};
|
|
1457
1485
|
penMode: boolean;
|
|
1458
1486
|
penDetected: boolean;
|
|
1459
1487
|
exportBackground: boolean;
|
|
@@ -1549,7 +1577,7 @@ export declare const actionLoadScene: {
|
|
|
1549
1577
|
lockedMultiSelections: {
|
|
1550
1578
|
[groupId: string]: true;
|
|
1551
1579
|
};
|
|
1552
|
-
stylesPanelMode: "compact" | "full";
|
|
1580
|
+
stylesPanelMode: "compact" | "full" | "mobile" | "tray";
|
|
1553
1581
|
};
|
|
1554
1582
|
files: import("../types").BinaryFiles;
|
|
1555
1583
|
captureUpdate: "IMMEDIATELY";
|
|
@@ -1592,6 +1620,10 @@ export declare const actionLoadScene: {
|
|
|
1592
1620
|
locked: boolean;
|
|
1593
1621
|
fromSelection: boolean;
|
|
1594
1622
|
} & import("../types").ActiveTool;
|
|
1623
|
+
preferredSelectionTool: {
|
|
1624
|
+
type: "selection" | "lasso";
|
|
1625
|
+
initialized: boolean;
|
|
1626
|
+
};
|
|
1595
1627
|
penMode: boolean;
|
|
1596
1628
|
penDetected: boolean;
|
|
1597
1629
|
exportBackground: boolean;
|
|
@@ -1763,7 +1795,7 @@ export declare const actionLoadScene: {
|
|
|
1763
1795
|
lockedMultiSelections: {
|
|
1764
1796
|
[groupId: string]: true;
|
|
1765
1797
|
};
|
|
1766
|
-
stylesPanelMode: "compact" | "full";
|
|
1798
|
+
stylesPanelMode: "compact" | "full" | "mobile" | "tray";
|
|
1767
1799
|
};
|
|
1768
1800
|
files: import("../types").BinaryFiles;
|
|
1769
1801
|
captureUpdate: "EVENTUALLY";
|
|
@@ -1818,6 +1850,10 @@ export declare const actionExportWithDarkMode: {
|
|
|
1818
1850
|
locked: boolean;
|
|
1819
1851
|
fromSelection: boolean;
|
|
1820
1852
|
} & import("../types").ActiveTool;
|
|
1853
|
+
preferredSelectionTool: {
|
|
1854
|
+
type: "selection" | "lasso";
|
|
1855
|
+
initialized: boolean;
|
|
1856
|
+
};
|
|
1821
1857
|
penMode: boolean;
|
|
1822
1858
|
penDetected: boolean;
|
|
1823
1859
|
exportBackground: boolean;
|
|
@@ -1988,7 +2024,7 @@ export declare const actionExportWithDarkMode: {
|
|
|
1988
2024
|
lockedMultiSelections: {
|
|
1989
2025
|
[groupId: string]: true;
|
|
1990
2026
|
};
|
|
1991
|
-
stylesPanelMode: "compact" | "full";
|
|
2027
|
+
stylesPanelMode: "compact" | "full" | "mobile" | "tray";
|
|
1992
2028
|
};
|
|
1993
2029
|
captureUpdate: "EVENTUALLY";
|
|
1994
2030
|
};
|
|
@@ -78,6 +78,10 @@ export declare const actionFinalize: {
|
|
|
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;
|
|
@@ -248,7 +252,7 @@ export declare const actionFinalize: {
|
|
|
248
252
|
lockedMultiSelections: {
|
|
249
253
|
[groupId: string]: true;
|
|
250
254
|
};
|
|
251
|
-
stylesPanelMode: "compact" | "full";
|
|
255
|
+
stylesPanelMode: "compact" | "full" | "mobile" | "tray";
|
|
252
256
|
};
|
|
253
257
|
captureUpdate: "IMMEDIATELY";
|
|
254
258
|
} | {
|
|
@@ -292,6 +296,10 @@ export declare const actionFinalize: {
|
|
|
292
296
|
locked: boolean;
|
|
293
297
|
fromSelection: boolean;
|
|
294
298
|
} & import("../types").ActiveTool;
|
|
299
|
+
preferredSelectionTool: {
|
|
300
|
+
type: "selection" | "lasso";
|
|
301
|
+
initialized: boolean;
|
|
302
|
+
};
|
|
295
303
|
penMode: boolean;
|
|
296
304
|
penDetected: boolean;
|
|
297
305
|
exportBackground: boolean;
|
|
@@ -461,7 +469,7 @@ export declare const actionFinalize: {
|
|
|
461
469
|
lockedMultiSelections: {
|
|
462
470
|
[groupId: string]: true;
|
|
463
471
|
};
|
|
464
|
-
stylesPanelMode: "compact" | "full";
|
|
472
|
+
stylesPanelMode: "compact" | "full" | "mobile" | "tray";
|
|
465
473
|
};
|
|
466
474
|
captureUpdate: "IMMEDIATELY";
|
|
467
475
|
} | {
|
|
@@ -505,6 +513,10 @@ export declare const actionFinalize: {
|
|
|
505
513
|
};
|
|
506
514
|
editingFrame: string | null;
|
|
507
515
|
elementsToHighlight: NonDeleted<ExcalidrawElement>[] | null;
|
|
516
|
+
preferredSelectionTool: {
|
|
517
|
+
type: "selection" | "lasso";
|
|
518
|
+
initialized: boolean;
|
|
519
|
+
};
|
|
508
520
|
penMode: boolean;
|
|
509
521
|
penDetected: boolean;
|
|
510
522
|
exportBackground: boolean;
|
|
@@ -671,7 +683,7 @@ export declare const actionFinalize: {
|
|
|
671
683
|
lockedMultiSelections: {
|
|
672
684
|
[groupId: string]: true;
|
|
673
685
|
};
|
|
674
|
-
stylesPanelMode: "compact" | "full";
|
|
686
|
+
stylesPanelMode: "compact" | "full" | "mobile" | "tray";
|
|
675
687
|
};
|
|
676
688
|
captureUpdate: "IMMEDIATELY";
|
|
677
689
|
};
|
|
@@ -46,6 +46,10 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
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;
|
|
@@ -214,7 +218,7 @@ export declare const actionSelectAllElementsInFrame: {
|
|
|
214
218
|
lockedMultiSelections: {
|
|
215
219
|
[groupId: string]: true;
|
|
216
220
|
};
|
|
217
|
-
stylesPanelMode: "compact" | "full";
|
|
221
|
+
stylesPanelMode: "compact" | "full" | "mobile" | "tray";
|
|
218
222
|
};
|
|
219
223
|
captureUpdate: "IMMEDIATELY";
|
|
220
224
|
} | {
|
|
@@ -274,6 +278,10 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
274
278
|
locked: boolean;
|
|
275
279
|
fromSelection: boolean;
|
|
276
280
|
} & import("../types").ActiveTool;
|
|
281
|
+
preferredSelectionTool: {
|
|
282
|
+
type: "selection" | "lasso";
|
|
283
|
+
initialized: boolean;
|
|
284
|
+
};
|
|
277
285
|
penMode: boolean;
|
|
278
286
|
penDetected: boolean;
|
|
279
287
|
exportBackground: boolean;
|
|
@@ -442,7 +450,7 @@ export declare const actionRemoveAllElementsFromFrame: {
|
|
|
442
450
|
lockedMultiSelections: {
|
|
443
451
|
[groupId: string]: true;
|
|
444
452
|
};
|
|
445
|
-
stylesPanelMode: "compact" | "full";
|
|
453
|
+
stylesPanelMode: "compact" | "full" | "mobile" | "tray";
|
|
446
454
|
};
|
|
447
455
|
captureUpdate: "IMMEDIATELY";
|
|
448
456
|
} | {
|
|
@@ -500,6 +508,10 @@ export declare const actionupdateFrameRendering: {
|
|
|
500
508
|
locked: boolean;
|
|
501
509
|
fromSelection: boolean;
|
|
502
510
|
} & import("../types").ActiveTool;
|
|
511
|
+
preferredSelectionTool: {
|
|
512
|
+
type: "selection" | "lasso";
|
|
513
|
+
initialized: boolean;
|
|
514
|
+
};
|
|
503
515
|
penMode: boolean;
|
|
504
516
|
penDetected: boolean;
|
|
505
517
|
exportBackground: boolean;
|
|
@@ -671,7 +683,7 @@ export declare const actionupdateFrameRendering: {
|
|
|
671
683
|
lockedMultiSelections: {
|
|
672
684
|
[groupId: string]: true;
|
|
673
685
|
};
|
|
674
|
-
stylesPanelMode: "compact" | "full";
|
|
686
|
+
stylesPanelMode: "compact" | "full" | "mobile" | "tray";
|
|
675
687
|
};
|
|
676
688
|
captureUpdate: "EVENTUALLY";
|
|
677
689
|
};
|
|
@@ -726,6 +738,10 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
726
738
|
editingFrame: string | null;
|
|
727
739
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
728
740
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
741
|
+
preferredSelectionTool: {
|
|
742
|
+
type: "selection" | "lasso";
|
|
743
|
+
initialized: boolean;
|
|
744
|
+
};
|
|
729
745
|
penMode: boolean;
|
|
730
746
|
penDetected: boolean;
|
|
731
747
|
exportBackground: boolean;
|
|
@@ -897,7 +913,7 @@ export declare const actionSetFrameAsActiveTool: {
|
|
|
897
913
|
lockedMultiSelections: {
|
|
898
914
|
[groupId: string]: true;
|
|
899
915
|
};
|
|
900
|
-
stylesPanelMode: "compact" | "full";
|
|
916
|
+
stylesPanelMode: "compact" | "full" | "mobile" | "tray";
|
|
901
917
|
};
|
|
902
918
|
captureUpdate: "EVENTUALLY";
|
|
903
919
|
};
|
|
@@ -56,6 +56,10 @@ export declare const actionGroup: {
|
|
|
56
56
|
locked: boolean;
|
|
57
57
|
fromSelection: boolean;
|
|
58
58
|
} & import("../types").ActiveTool;
|
|
59
|
+
preferredSelectionTool: {
|
|
60
|
+
type: "selection" | "lasso";
|
|
61
|
+
initialized: boolean;
|
|
62
|
+
};
|
|
59
63
|
penMode: boolean;
|
|
60
64
|
penDetected: boolean;
|
|
61
65
|
exportBackground: boolean;
|
|
@@ -220,7 +224,7 @@ export declare const actionGroup: {
|
|
|
220
224
|
lockedMultiSelections: {
|
|
221
225
|
[groupId: string]: true;
|
|
222
226
|
};
|
|
223
|
-
stylesPanelMode: "compact" | "full";
|
|
227
|
+
stylesPanelMode: "compact" | "full" | "mobile" | "tray";
|
|
224
228
|
};
|
|
225
229
|
elements: OrderedExcalidrawElement[];
|
|
226
230
|
captureUpdate: "IMMEDIATELY";
|
|
@@ -287,6 +291,10 @@ export declare const actionUngroup: {
|
|
|
287
291
|
locked: boolean;
|
|
288
292
|
fromSelection: boolean;
|
|
289
293
|
} & import("../types").ActiveTool;
|
|
294
|
+
preferredSelectionTool: {
|
|
295
|
+
type: "selection" | "lasso";
|
|
296
|
+
initialized: boolean;
|
|
297
|
+
};
|
|
290
298
|
penMode: boolean;
|
|
291
299
|
penDetected: boolean;
|
|
292
300
|
exportBackground: boolean;
|
|
@@ -451,7 +459,7 @@ export declare const actionUngroup: {
|
|
|
451
459
|
lockedMultiSelections: {
|
|
452
460
|
[groupId: string]: true;
|
|
453
461
|
};
|
|
454
|
-
stylesPanelMode: "compact" | "full";
|
|
462
|
+
stylesPanelMode: "compact" | "full" | "mobile" | "tray";
|
|
455
463
|
};
|
|
456
464
|
elements: OrderedExcalidrawElement[];
|
|
457
465
|
captureUpdate: "IMMEDIATELY";
|
|
@@ -79,6 +79,10 @@ export declare const actionToggleLinearEditor: {
|
|
|
79
79
|
locked: boolean;
|
|
80
80
|
fromSelection: boolean;
|
|
81
81
|
} & import("../types").ActiveTool;
|
|
82
|
+
preferredSelectionTool: {
|
|
83
|
+
type: "selection" | "lasso";
|
|
84
|
+
initialized: boolean;
|
|
85
|
+
};
|
|
82
86
|
penMode: boolean;
|
|
83
87
|
penDetected: boolean;
|
|
84
88
|
exportBackground: boolean;
|
|
@@ -249,7 +253,7 @@ export declare const actionToggleLinearEditor: {
|
|
|
249
253
|
lockedMultiSelections: {
|
|
250
254
|
[groupId: string]: true;
|
|
251
255
|
};
|
|
252
|
-
stylesPanelMode: "compact" | "full";
|
|
256
|
+
stylesPanelMode: "compact" | "full" | "mobile" | "tray";
|
|
253
257
|
};
|
|
254
258
|
captureUpdate: "IMMEDIATELY";
|
|
255
259
|
};
|
|
@@ -43,6 +43,10 @@ export declare const actionLink: {
|
|
|
43
43
|
locked: boolean;
|
|
44
44
|
fromSelection: boolean;
|
|
45
45
|
} & import("../types").ActiveTool;
|
|
46
|
+
preferredSelectionTool: {
|
|
47
|
+
type: "selection" | "lasso";
|
|
48
|
+
initialized: boolean;
|
|
49
|
+
};
|
|
46
50
|
penMode: boolean;
|
|
47
51
|
penDetected: boolean;
|
|
48
52
|
exportBackground: boolean;
|
|
@@ -212,7 +216,7 @@ export declare const actionLink: {
|
|
|
212
216
|
lockedMultiSelections: {
|
|
213
217
|
[groupId: string]: true;
|
|
214
218
|
};
|
|
215
|
-
stylesPanelMode: "compact" | "full";
|
|
219
|
+
stylesPanelMode: "compact" | "full" | "mobile" | "tray";
|
|
216
220
|
};
|
|
217
221
|
captureUpdate: "IMMEDIATELY";
|
|
218
222
|
};
|