@excalidraw/math 0.18.0-835eb8d → 0.18.0-8608d7b
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/types/common/src/constants.d.ts +3 -0
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +15 -3
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +10 -2
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +65 -13
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +30 -6
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +5 -1
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +15 -3
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +5 -1
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +10 -2
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +5 -1
- package/dist/types/excalidraw/actions/actionExport.d.ts +45 -9
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +10 -2
- package/dist/types/excalidraw/actions/actionFrame.d.ts +20 -4
- package/dist/types/excalidraw/actions/actionGroup.d.ts +10 -2
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +5 -1
- package/dist/types/excalidraw/actions/actionLink.d.ts +5 -1
- package/dist/types/excalidraw/actions/actionMenu.d.ts +15 -3
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +10 -2
- package/dist/types/excalidraw/actions/actionProperties.d.ts +76 -16
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +5 -1
- package/dist/types/excalidraw/actions/actionStyles.d.ts +5 -1
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +5 -1
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +5 -1
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +5 -1
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +5 -1
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +5 -1
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +5 -1
- package/dist/types/excalidraw/appState.d.ts +4 -1
- package/dist/types/excalidraw/components/Actions.d.ts +9 -2
- package/dist/types/excalidraw/components/App.d.ts +8 -3
- package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +1 -1
- 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/FontPicker/FontPickerTrigger.d.ts +2 -1
- 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/TTDDialog/TTDDialogTrigger.d.ts +1 -2
- package/dist/types/excalidraw/components/ToolPopover.d.ts +25 -0
- 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 +0 -1
- package/dist/types/excalidraw/types.d.ts +7 -2
- package/package.json +2 -2
|
@@ -358,3 +358,6 @@ export declare enum UserIdleState {
|
|
|
358
358
|
*/
|
|
359
359
|
export declare const LINE_POLYGON_POINT_MERGE_DISTANCE = 20;
|
|
360
360
|
export declare const DOUBLE_TAP_POSITION_THRESHOLD = 35;
|
|
361
|
+
export declare const MOBILE_ACTION_BUTTON_BG: {
|
|
362
|
+
readonly background: "var(--mobile-action-button-bg)";
|
|
363
|
+
};
|
|
@@ -44,6 +44,10 @@ export declare const actionAddToLibrary: {
|
|
|
44
44
|
locked: boolean;
|
|
45
45
|
fromSelection: boolean;
|
|
46
46
|
} & import("../types").ActiveTool;
|
|
47
|
+
preferredSelectionTool: {
|
|
48
|
+
type: "selection" | "lasso";
|
|
49
|
+
initialized: boolean;
|
|
50
|
+
};
|
|
47
51
|
penMode: boolean;
|
|
48
52
|
penDetected: boolean;
|
|
49
53
|
exportBackground: boolean;
|
|
@@ -173,7 +177,7 @@ export declare const actionAddToLibrary: {
|
|
|
173
177
|
lockedMultiSelections: {
|
|
174
178
|
[groupId: string]: true;
|
|
175
179
|
};
|
|
176
|
-
stylesPanelMode: "compact" | "full";
|
|
180
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
177
181
|
};
|
|
178
182
|
} | {
|
|
179
183
|
captureUpdate: "EVENTUALLY";
|
|
@@ -212,6 +216,10 @@ export declare const actionAddToLibrary: {
|
|
|
212
216
|
locked: boolean;
|
|
213
217
|
fromSelection: boolean;
|
|
214
218
|
} & import("../types").ActiveTool;
|
|
219
|
+
preferredSelectionTool: {
|
|
220
|
+
type: "selection" | "lasso";
|
|
221
|
+
initialized: boolean;
|
|
222
|
+
};
|
|
215
223
|
penMode: boolean;
|
|
216
224
|
penDetected: boolean;
|
|
217
225
|
exportBackground: boolean;
|
|
@@ -346,7 +354,7 @@ export declare const actionAddToLibrary: {
|
|
|
346
354
|
lockedMultiSelections: {
|
|
347
355
|
[groupId: string]: true;
|
|
348
356
|
};
|
|
349
|
-
stylesPanelMode: "compact" | "full";
|
|
357
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
350
358
|
};
|
|
351
359
|
}> | {
|
|
352
360
|
captureUpdate: "EVENTUALLY";
|
|
@@ -385,6 +393,10 @@ export declare const actionAddToLibrary: {
|
|
|
385
393
|
locked: boolean;
|
|
386
394
|
fromSelection: boolean;
|
|
387
395
|
} & import("../types").ActiveTool;
|
|
396
|
+
preferredSelectionTool: {
|
|
397
|
+
type: "selection" | "lasso";
|
|
398
|
+
initialized: boolean;
|
|
399
|
+
};
|
|
388
400
|
penMode: boolean;
|
|
389
401
|
penDetected: boolean;
|
|
390
402
|
exportBackground: boolean;
|
|
@@ -519,7 +531,7 @@ export declare const actionAddToLibrary: {
|
|
|
519
531
|
lockedMultiSelections: {
|
|
520
532
|
[groupId: string]: true;
|
|
521
533
|
};
|
|
522
|
-
stylesPanelMode: "compact" | "full";
|
|
534
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
523
535
|
};
|
|
524
536
|
};
|
|
525
537
|
label: string;
|
|
@@ -64,6 +64,10 @@ export declare const actionBindText: {
|
|
|
64
64
|
locked: boolean;
|
|
65
65
|
fromSelection: boolean;
|
|
66
66
|
} & import("../types").ActiveTool;
|
|
67
|
+
preferredSelectionTool: {
|
|
68
|
+
type: "selection" | "lasso";
|
|
69
|
+
initialized: boolean;
|
|
70
|
+
};
|
|
67
71
|
penMode: boolean;
|
|
68
72
|
penDetected: boolean;
|
|
69
73
|
exportBackground: boolean;
|
|
@@ -195,7 +199,7 @@ export declare const actionBindText: {
|
|
|
195
199
|
lockedMultiSelections: {
|
|
196
200
|
[groupId: string]: true;
|
|
197
201
|
};
|
|
198
|
-
stylesPanelMode: "compact" | "full";
|
|
202
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
199
203
|
};
|
|
200
204
|
captureUpdate: "IMMEDIATELY";
|
|
201
205
|
};
|
|
@@ -249,6 +253,10 @@ export declare const actionWrapTextInContainer: {
|
|
|
249
253
|
locked: boolean;
|
|
250
254
|
fromSelection: boolean;
|
|
251
255
|
} & import("../types").ActiveTool;
|
|
256
|
+
preferredSelectionTool: {
|
|
257
|
+
type: "selection" | "lasso";
|
|
258
|
+
initialized: boolean;
|
|
259
|
+
};
|
|
252
260
|
penMode: boolean;
|
|
253
261
|
penDetected: boolean;
|
|
254
262
|
exportBackground: boolean;
|
|
@@ -380,7 +388,7 @@ export declare const actionWrapTextInContainer: {
|
|
|
380
388
|
lockedMultiSelections: {
|
|
381
389
|
[groupId: string]: true;
|
|
382
390
|
};
|
|
383
|
-
stylesPanelMode: "compact" | "full";
|
|
391
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
384
392
|
};
|
|
385
393
|
captureUpdate: "IMMEDIATELY";
|
|
386
394
|
};
|
|
@@ -137,6 +137,10 @@ export declare const actionClearCanvas: {
|
|
|
137
137
|
resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
138
138
|
startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
|
|
139
139
|
editingFrame: string | null;
|
|
140
|
+
preferredSelectionTool: {
|
|
141
|
+
type: "selection" | "lasso";
|
|
142
|
+
initialized: boolean;
|
|
143
|
+
};
|
|
140
144
|
exportWithDarkMode: boolean;
|
|
141
145
|
exportScale: number;
|
|
142
146
|
currentItemStrokeColor: string;
|
|
@@ -191,7 +195,7 @@ export declare const actionClearCanvas: {
|
|
|
191
195
|
lockedMultiSelections: {
|
|
192
196
|
[groupId: string]: true;
|
|
193
197
|
};
|
|
194
|
-
stylesPanelMode: "compact" | "full";
|
|
198
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
195
199
|
};
|
|
196
200
|
captureUpdate: "IMMEDIATELY";
|
|
197
201
|
};
|
|
@@ -248,6 +252,10 @@ export declare const actionZoomIn: {
|
|
|
248
252
|
locked: boolean;
|
|
249
253
|
fromSelection: boolean;
|
|
250
254
|
} & import("../types").ActiveTool;
|
|
255
|
+
preferredSelectionTool: {
|
|
256
|
+
type: "selection" | "lasso";
|
|
257
|
+
initialized: boolean;
|
|
258
|
+
};
|
|
251
259
|
penMode: boolean;
|
|
252
260
|
penDetected: boolean;
|
|
253
261
|
exportBackground: boolean;
|
|
@@ -376,7 +384,7 @@ export declare const actionZoomIn: {
|
|
|
376
384
|
lockedMultiSelections: {
|
|
377
385
|
[groupId: string]: true;
|
|
378
386
|
};
|
|
379
|
-
stylesPanelMode: "compact" | "full";
|
|
387
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
380
388
|
};
|
|
381
389
|
captureUpdate: "EVENTUALLY";
|
|
382
390
|
};
|
|
@@ -435,6 +443,10 @@ export declare const actionZoomOut: {
|
|
|
435
443
|
locked: boolean;
|
|
436
444
|
fromSelection: boolean;
|
|
437
445
|
} & import("../types").ActiveTool;
|
|
446
|
+
preferredSelectionTool: {
|
|
447
|
+
type: "selection" | "lasso";
|
|
448
|
+
initialized: boolean;
|
|
449
|
+
};
|
|
438
450
|
penMode: boolean;
|
|
439
451
|
penDetected: boolean;
|
|
440
452
|
exportBackground: boolean;
|
|
@@ -563,7 +575,7 @@ export declare const actionZoomOut: {
|
|
|
563
575
|
lockedMultiSelections: {
|
|
564
576
|
[groupId: string]: true;
|
|
565
577
|
};
|
|
566
|
-
stylesPanelMode: "compact" | "full";
|
|
578
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
567
579
|
};
|
|
568
580
|
captureUpdate: "EVENTUALLY";
|
|
569
581
|
};
|
|
@@ -622,6 +634,10 @@ export declare const actionResetZoom: {
|
|
|
622
634
|
locked: boolean;
|
|
623
635
|
fromSelection: boolean;
|
|
624
636
|
} & import("../types").ActiveTool;
|
|
637
|
+
preferredSelectionTool: {
|
|
638
|
+
type: "selection" | "lasso";
|
|
639
|
+
initialized: boolean;
|
|
640
|
+
};
|
|
625
641
|
penMode: boolean;
|
|
626
642
|
penDetected: boolean;
|
|
627
643
|
exportBackground: boolean;
|
|
@@ -750,7 +766,7 @@ export declare const actionResetZoom: {
|
|
|
750
766
|
lockedMultiSelections: {
|
|
751
767
|
[groupId: string]: true;
|
|
752
768
|
};
|
|
753
|
-
stylesPanelMode: "compact" | "full";
|
|
769
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
754
770
|
};
|
|
755
771
|
captureUpdate: "EVENTUALLY";
|
|
756
772
|
};
|
|
@@ -815,6 +831,10 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
815
831
|
locked: boolean;
|
|
816
832
|
fromSelection: boolean;
|
|
817
833
|
} & import("../types").ActiveTool;
|
|
834
|
+
preferredSelectionTool: {
|
|
835
|
+
type: "selection" | "lasso";
|
|
836
|
+
initialized: boolean;
|
|
837
|
+
};
|
|
818
838
|
penMode: boolean;
|
|
819
839
|
penDetected: boolean;
|
|
820
840
|
exportBackground: boolean;
|
|
@@ -944,7 +964,7 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
|
|
|
944
964
|
lockedMultiSelections: {
|
|
945
965
|
[groupId: string]: true;
|
|
946
966
|
};
|
|
947
|
-
stylesPanelMode: "compact" | "full";
|
|
967
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
948
968
|
};
|
|
949
969
|
captureUpdate: "EVENTUALLY";
|
|
950
970
|
};
|
|
@@ -1004,6 +1024,10 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1004
1024
|
locked: boolean;
|
|
1005
1025
|
fromSelection: boolean;
|
|
1006
1026
|
} & import("../types").ActiveTool;
|
|
1027
|
+
preferredSelectionTool: {
|
|
1028
|
+
type: "selection" | "lasso";
|
|
1029
|
+
initialized: boolean;
|
|
1030
|
+
};
|
|
1007
1031
|
penMode: boolean;
|
|
1008
1032
|
penDetected: boolean;
|
|
1009
1033
|
exportBackground: boolean;
|
|
@@ -1133,7 +1157,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
|
|
|
1133
1157
|
lockedMultiSelections: {
|
|
1134
1158
|
[groupId: string]: true;
|
|
1135
1159
|
};
|
|
1136
|
-
stylesPanelMode: "compact" | "full";
|
|
1160
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
1137
1161
|
};
|
|
1138
1162
|
captureUpdate: "EVENTUALLY";
|
|
1139
1163
|
};
|
|
@@ -1185,6 +1209,10 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1185
1209
|
locked: boolean;
|
|
1186
1210
|
fromSelection: boolean;
|
|
1187
1211
|
} & import("../types").ActiveTool;
|
|
1212
|
+
preferredSelectionTool: {
|
|
1213
|
+
type: "selection" | "lasso";
|
|
1214
|
+
initialized: boolean;
|
|
1215
|
+
};
|
|
1188
1216
|
penMode: boolean;
|
|
1189
1217
|
penDetected: boolean;
|
|
1190
1218
|
exportBackground: boolean;
|
|
@@ -1314,7 +1342,7 @@ export declare const actionZoomToFitSelectionInViewport: {
|
|
|
1314
1342
|
lockedMultiSelections: {
|
|
1315
1343
|
[groupId: string]: true;
|
|
1316
1344
|
};
|
|
1317
|
-
stylesPanelMode: "compact" | "full";
|
|
1345
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
1318
1346
|
};
|
|
1319
1347
|
captureUpdate: "EVENTUALLY";
|
|
1320
1348
|
};
|
|
@@ -1370,6 +1398,10 @@ export declare const actionZoomToFitSelection: {
|
|
|
1370
1398
|
locked: boolean;
|
|
1371
1399
|
fromSelection: boolean;
|
|
1372
1400
|
} & import("../types").ActiveTool;
|
|
1401
|
+
preferredSelectionTool: {
|
|
1402
|
+
type: "selection" | "lasso";
|
|
1403
|
+
initialized: boolean;
|
|
1404
|
+
};
|
|
1373
1405
|
penMode: boolean;
|
|
1374
1406
|
penDetected: boolean;
|
|
1375
1407
|
exportBackground: boolean;
|
|
@@ -1499,7 +1531,7 @@ export declare const actionZoomToFitSelection: {
|
|
|
1499
1531
|
lockedMultiSelections: {
|
|
1500
1532
|
[groupId: string]: true;
|
|
1501
1533
|
};
|
|
1502
|
-
stylesPanelMode: "compact" | "full";
|
|
1534
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
1503
1535
|
};
|
|
1504
1536
|
captureUpdate: "EVENTUALLY";
|
|
1505
1537
|
};
|
|
@@ -1556,6 +1588,10 @@ export declare const actionZoomToFit: {
|
|
|
1556
1588
|
locked: boolean;
|
|
1557
1589
|
fromSelection: boolean;
|
|
1558
1590
|
} & import("../types").ActiveTool;
|
|
1591
|
+
preferredSelectionTool: {
|
|
1592
|
+
type: "selection" | "lasso";
|
|
1593
|
+
initialized: boolean;
|
|
1594
|
+
};
|
|
1559
1595
|
penMode: boolean;
|
|
1560
1596
|
penDetected: boolean;
|
|
1561
1597
|
exportBackground: boolean;
|
|
@@ -1685,7 +1721,7 @@ export declare const actionZoomToFit: {
|
|
|
1685
1721
|
lockedMultiSelections: {
|
|
1686
1722
|
[groupId: string]: true;
|
|
1687
1723
|
};
|
|
1688
|
-
stylesPanelMode: "compact" | "full";
|
|
1724
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
1689
1725
|
};
|
|
1690
1726
|
captureUpdate: "EVENTUALLY";
|
|
1691
1727
|
};
|
|
@@ -1739,6 +1775,10 @@ export declare const actionToggleTheme: {
|
|
|
1739
1775
|
locked: boolean;
|
|
1740
1776
|
fromSelection: boolean;
|
|
1741
1777
|
} & import("../types").ActiveTool;
|
|
1778
|
+
preferredSelectionTool: {
|
|
1779
|
+
type: "selection" | "lasso";
|
|
1780
|
+
initialized: boolean;
|
|
1781
|
+
};
|
|
1742
1782
|
penMode: boolean;
|
|
1743
1783
|
penDetected: boolean;
|
|
1744
1784
|
exportBackground: boolean;
|
|
@@ -1872,7 +1912,7 @@ export declare const actionToggleTheme: {
|
|
|
1872
1912
|
lockedMultiSelections: {
|
|
1873
1913
|
[groupId: string]: true;
|
|
1874
1914
|
};
|
|
1875
|
-
stylesPanelMode: "compact" | "full";
|
|
1915
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
1876
1916
|
};
|
|
1877
1917
|
captureUpdate: "EVENTUALLY";
|
|
1878
1918
|
};
|
|
@@ -1922,6 +1962,10 @@ export declare const actionToggleEraserTool: {
|
|
|
1922
1962
|
editingFrame: string | null;
|
|
1923
1963
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
1924
1964
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
1965
|
+
preferredSelectionTool: {
|
|
1966
|
+
type: "selection" | "lasso";
|
|
1967
|
+
initialized: boolean;
|
|
1968
|
+
};
|
|
1925
1969
|
penMode: boolean;
|
|
1926
1970
|
penDetected: boolean;
|
|
1927
1971
|
exportBackground: boolean;
|
|
@@ -2050,7 +2094,7 @@ export declare const actionToggleEraserTool: {
|
|
|
2050
2094
|
lockedMultiSelections: {
|
|
2051
2095
|
[groupId: string]: true;
|
|
2052
2096
|
};
|
|
2053
|
-
stylesPanelMode: "compact" | "full";
|
|
2097
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
2054
2098
|
};
|
|
2055
2099
|
captureUpdate: "IMMEDIATELY";
|
|
2056
2100
|
};
|
|
@@ -2101,6 +2145,10 @@ export declare const actionToggleLassoTool: {
|
|
|
2101
2145
|
editingFrame: string | null;
|
|
2102
2146
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2103
2147
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2148
|
+
preferredSelectionTool: {
|
|
2149
|
+
type: "selection" | "lasso";
|
|
2150
|
+
initialized: boolean;
|
|
2151
|
+
};
|
|
2104
2152
|
penMode: boolean;
|
|
2105
2153
|
penDetected: boolean;
|
|
2106
2154
|
exportBackground: boolean;
|
|
@@ -2229,7 +2277,7 @@ export declare const actionToggleLassoTool: {
|
|
|
2229
2277
|
lockedMultiSelections: {
|
|
2230
2278
|
[groupId: string]: true;
|
|
2231
2279
|
};
|
|
2232
|
-
stylesPanelMode: "compact" | "full";
|
|
2280
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
2233
2281
|
};
|
|
2234
2282
|
captureUpdate: "NEVER";
|
|
2235
2283
|
};
|
|
@@ -2279,6 +2327,10 @@ export declare const actionToggleHandTool: {
|
|
|
2279
2327
|
editingFrame: string | null;
|
|
2280
2328
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
2281
2329
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
2330
|
+
preferredSelectionTool: {
|
|
2331
|
+
type: "selection" | "lasso";
|
|
2332
|
+
initialized: boolean;
|
|
2333
|
+
};
|
|
2282
2334
|
penMode: boolean;
|
|
2283
2335
|
penDetected: boolean;
|
|
2284
2336
|
exportBackground: boolean;
|
|
@@ -2407,7 +2459,7 @@ export declare const actionToggleHandTool: {
|
|
|
2407
2459
|
lockedMultiSelections: {
|
|
2408
2460
|
[groupId: string]: true;
|
|
2409
2461
|
};
|
|
2410
|
-
stylesPanelMode: "compact" | "full";
|
|
2462
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
2411
2463
|
};
|
|
2412
2464
|
captureUpdate: "IMMEDIATELY";
|
|
2413
2465
|
};
|
|
@@ -43,6 +43,10 @@ export declare const actionCopy: {
|
|
|
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;
|
|
@@ -177,7 +181,7 @@ export declare const actionCopy: {
|
|
|
177
181
|
lockedMultiSelections: {
|
|
178
182
|
[groupId: string]: true;
|
|
179
183
|
};
|
|
180
|
-
stylesPanelMode: "compact" | "full";
|
|
184
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
181
185
|
};
|
|
182
186
|
} | {
|
|
183
187
|
captureUpdate: "EVENTUALLY";
|
|
@@ -230,6 +234,10 @@ export declare const actionPaste: {
|
|
|
230
234
|
locked: boolean;
|
|
231
235
|
fromSelection: boolean;
|
|
232
236
|
} & import("../types").ActiveTool;
|
|
237
|
+
preferredSelectionTool: {
|
|
238
|
+
type: "selection" | "lasso";
|
|
239
|
+
initialized: boolean;
|
|
240
|
+
};
|
|
233
241
|
penMode: boolean;
|
|
234
242
|
penDetected: boolean;
|
|
235
243
|
exportBackground: boolean;
|
|
@@ -364,7 +372,7 @@ export declare const actionPaste: {
|
|
|
364
372
|
lockedMultiSelections: {
|
|
365
373
|
[groupId: string]: true;
|
|
366
374
|
};
|
|
367
|
-
stylesPanelMode: "compact" | "full";
|
|
375
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
368
376
|
};
|
|
369
377
|
} | {
|
|
370
378
|
captureUpdate: "EVENTUALLY";
|
|
@@ -419,6 +427,10 @@ export declare const actionCut: {
|
|
|
419
427
|
locked: boolean;
|
|
420
428
|
fromSelection: boolean;
|
|
421
429
|
} & import("../types").ActiveTool;
|
|
430
|
+
preferredSelectionTool: {
|
|
431
|
+
type: "selection" | "lasso";
|
|
432
|
+
initialized: boolean;
|
|
433
|
+
};
|
|
422
434
|
penMode: boolean;
|
|
423
435
|
penDetected: boolean;
|
|
424
436
|
exportBackground: boolean;
|
|
@@ -552,7 +564,7 @@ export declare const actionCut: {
|
|
|
552
564
|
lockedMultiSelections: {
|
|
553
565
|
[groupId: string]: true;
|
|
554
566
|
};
|
|
555
|
-
stylesPanelMode: "compact" | "full";
|
|
567
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
556
568
|
};
|
|
557
569
|
captureUpdate: "IMMEDIATELY";
|
|
558
570
|
} | {
|
|
@@ -625,6 +637,10 @@ export declare const actionCut: {
|
|
|
625
637
|
locked: boolean;
|
|
626
638
|
fromSelection: boolean;
|
|
627
639
|
} & import("../types").ActiveTool;
|
|
640
|
+
preferredSelectionTool: {
|
|
641
|
+
type: "selection" | "lasso";
|
|
642
|
+
initialized: boolean;
|
|
643
|
+
};
|
|
628
644
|
penMode: boolean;
|
|
629
645
|
penDetected: boolean;
|
|
630
646
|
exportBackground: boolean;
|
|
@@ -758,7 +774,7 @@ export declare const actionCut: {
|
|
|
758
774
|
lockedMultiSelections: {
|
|
759
775
|
[groupId: string]: true;
|
|
760
776
|
};
|
|
761
|
-
stylesPanelMode: "compact" | "full";
|
|
777
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
762
778
|
};
|
|
763
779
|
captureUpdate: "IMMEDIATELY";
|
|
764
780
|
} | {
|
|
@@ -803,6 +819,10 @@ export declare const actionCut: {
|
|
|
803
819
|
editingFrame: string | null;
|
|
804
820
|
elementsToHighlight: import("../../element/src/types").NonDeleted<import("../../element/src/types").ExcalidrawElement>[] | null;
|
|
805
821
|
editingTextElement: import("../../element/src/types").NonDeletedExcalidrawElement | null;
|
|
822
|
+
preferredSelectionTool: {
|
|
823
|
+
type: "selection" | "lasso";
|
|
824
|
+
initialized: boolean;
|
|
825
|
+
};
|
|
806
826
|
penMode: boolean;
|
|
807
827
|
penDetected: boolean;
|
|
808
828
|
exportBackground: boolean;
|
|
@@ -929,7 +949,7 @@ export declare const actionCut: {
|
|
|
929
949
|
lockedMultiSelections: {
|
|
930
950
|
[groupId: string]: true;
|
|
931
951
|
};
|
|
932
|
-
stylesPanelMode: "compact" | "full";
|
|
952
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
933
953
|
};
|
|
934
954
|
captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
|
|
935
955
|
};
|
|
@@ -1013,6 +1033,10 @@ export declare const actionCopyAsPng: {
|
|
|
1013
1033
|
locked: boolean;
|
|
1014
1034
|
fromSelection: boolean;
|
|
1015
1035
|
} & import("../types").ActiveTool;
|
|
1036
|
+
preferredSelectionTool: {
|
|
1037
|
+
type: "selection" | "lasso";
|
|
1038
|
+
initialized: boolean;
|
|
1039
|
+
};
|
|
1016
1040
|
penMode: boolean;
|
|
1017
1041
|
penDetected: boolean;
|
|
1018
1042
|
exportBackground: boolean;
|
|
@@ -1147,7 +1171,7 @@ export declare const actionCopyAsPng: {
|
|
|
1147
1171
|
lockedMultiSelections: {
|
|
1148
1172
|
[groupId: string]: true;
|
|
1149
1173
|
};
|
|
1150
|
-
stylesPanelMode: "compact" | "full";
|
|
1174
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
1151
1175
|
};
|
|
1152
1176
|
captureUpdate: "EVENTUALLY";
|
|
1153
1177
|
}>;
|
|
@@ -46,6 +46,10 @@ export declare const actionToggleCropEditor: {
|
|
|
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;
|
|
@@ -178,7 +182,7 @@ export declare const actionToggleCropEditor: {
|
|
|
178
182
|
lockedMultiSelections: {
|
|
179
183
|
[groupId: string]: true;
|
|
180
184
|
};
|
|
181
|
-
stylesPanelMode: "compact" | "full";
|
|
185
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
182
186
|
};
|
|
183
187
|
captureUpdate: "IMMEDIATELY";
|
|
184
188
|
};
|
|
@@ -47,6 +47,10 @@ export declare const actionDeleteSelected: {
|
|
|
47
47
|
locked: boolean;
|
|
48
48
|
fromSelection: boolean;
|
|
49
49
|
} & import("../types").ActiveTool;
|
|
50
|
+
preferredSelectionTool: {
|
|
51
|
+
type: "selection" | "lasso";
|
|
52
|
+
initialized: boolean;
|
|
53
|
+
};
|
|
50
54
|
penMode: boolean;
|
|
51
55
|
penDetected: boolean;
|
|
52
56
|
exportBackground: boolean;
|
|
@@ -180,7 +184,7 @@ export declare const actionDeleteSelected: {
|
|
|
180
184
|
lockedMultiSelections: {
|
|
181
185
|
[groupId: string]: true;
|
|
182
186
|
};
|
|
183
|
-
stylesPanelMode: "compact" | "full";
|
|
187
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
184
188
|
};
|
|
185
189
|
captureUpdate: "IMMEDIATELY";
|
|
186
190
|
} | {
|
|
@@ -253,6 +257,10 @@ export declare const actionDeleteSelected: {
|
|
|
253
257
|
locked: boolean;
|
|
254
258
|
fromSelection: boolean;
|
|
255
259
|
} & import("../types").ActiveTool;
|
|
260
|
+
preferredSelectionTool: {
|
|
261
|
+
type: "selection" | "lasso";
|
|
262
|
+
initialized: boolean;
|
|
263
|
+
};
|
|
256
264
|
penMode: boolean;
|
|
257
265
|
penDetected: boolean;
|
|
258
266
|
exportBackground: boolean;
|
|
@@ -386,7 +394,7 @@ export declare const actionDeleteSelected: {
|
|
|
386
394
|
lockedMultiSelections: {
|
|
387
395
|
[groupId: string]: true;
|
|
388
396
|
};
|
|
389
|
-
stylesPanelMode: "compact" | "full";
|
|
397
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
390
398
|
};
|
|
391
399
|
captureUpdate: "IMMEDIATELY";
|
|
392
400
|
} | {
|
|
@@ -431,6 +439,10 @@ export declare const actionDeleteSelected: {
|
|
|
431
439
|
editingFrame: string | null;
|
|
432
440
|
elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
|
|
433
441
|
editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
|
|
442
|
+
preferredSelectionTool: {
|
|
443
|
+
type: "selection" | "lasso";
|
|
444
|
+
initialized: boolean;
|
|
445
|
+
};
|
|
434
446
|
penMode: boolean;
|
|
435
447
|
penDetected: boolean;
|
|
436
448
|
exportBackground: boolean;
|
|
@@ -557,7 +569,7 @@ export declare const actionDeleteSelected: {
|
|
|
557
569
|
lockedMultiSelections: {
|
|
558
570
|
[groupId: string]: true;
|
|
559
571
|
};
|
|
560
|
-
stylesPanelMode: "compact" | "full";
|
|
572
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
561
573
|
};
|
|
562
574
|
captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
|
|
563
575
|
};
|
|
@@ -75,6 +75,10 @@ export declare const actionLinkToElement: {
|
|
|
75
75
|
locked: boolean;
|
|
76
76
|
fromSelection: boolean;
|
|
77
77
|
} & import("../types").ActiveTool;
|
|
78
|
+
preferredSelectionTool: {
|
|
79
|
+
type: "selection" | "lasso";
|
|
80
|
+
initialized: boolean;
|
|
81
|
+
};
|
|
78
82
|
penMode: boolean;
|
|
79
83
|
penDetected: boolean;
|
|
80
84
|
exportBackground: boolean;
|
|
@@ -198,7 +202,7 @@ export declare const actionLinkToElement: {
|
|
|
198
202
|
lockedMultiSelections: {
|
|
199
203
|
[groupId: string]: true;
|
|
200
204
|
};
|
|
201
|
-
stylesPanelMode: "compact" | "full";
|
|
205
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
202
206
|
};
|
|
203
207
|
captureUpdate: "IMMEDIATELY";
|
|
204
208
|
elements?: undefined;
|
|
@@ -57,6 +57,10 @@ export declare const actionToggleElementLock: {
|
|
|
57
57
|
locked: boolean;
|
|
58
58
|
fromSelection: boolean;
|
|
59
59
|
} & import("../types").ActiveTool;
|
|
60
|
+
preferredSelectionTool: {
|
|
61
|
+
type: "selection" | "lasso";
|
|
62
|
+
initialized: boolean;
|
|
63
|
+
};
|
|
60
64
|
penMode: boolean;
|
|
61
65
|
penDetected: boolean;
|
|
62
66
|
exportBackground: boolean;
|
|
@@ -180,7 +184,7 @@ export declare const actionToggleElementLock: {
|
|
|
180
184
|
focusedId: string | null;
|
|
181
185
|
matches: readonly import("../types").SearchMatch[];
|
|
182
186
|
}> | null;
|
|
183
|
-
stylesPanelMode: "compact" | "full";
|
|
187
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
184
188
|
};
|
|
185
189
|
captureUpdate: "IMMEDIATELY";
|
|
186
190
|
};
|
|
@@ -241,6 +245,10 @@ export declare const actionUnlockAllElements: {
|
|
|
241
245
|
locked: boolean;
|
|
242
246
|
fromSelection: boolean;
|
|
243
247
|
} & import("../types").ActiveTool;
|
|
248
|
+
preferredSelectionTool: {
|
|
249
|
+
type: "selection" | "lasso";
|
|
250
|
+
initialized: boolean;
|
|
251
|
+
};
|
|
244
252
|
penMode: boolean;
|
|
245
253
|
penDetected: boolean;
|
|
246
254
|
exportBackground: boolean;
|
|
@@ -365,7 +373,7 @@ export declare const actionUnlockAllElements: {
|
|
|
365
373
|
focusedId: string | null;
|
|
366
374
|
matches: readonly import("../types").SearchMatch[];
|
|
367
375
|
}> | null;
|
|
368
|
-
stylesPanelMode: "compact" | "full";
|
|
376
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
369
377
|
};
|
|
370
378
|
captureUpdate: "IMMEDIATELY";
|
|
371
379
|
};
|
|
@@ -43,6 +43,10 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
43
43
|
editingFrame: string | null;
|
|
44
44
|
elementsToHighlight: import("../../element/src/types").NonDeleted<import("../../element/src/types").ExcalidrawElement>[] | null;
|
|
45
45
|
editingTextElement: import("../../element/src/types").NonDeletedExcalidrawElement | null;
|
|
46
|
+
preferredSelectionTool: {
|
|
47
|
+
type: "selection" | "lasso";
|
|
48
|
+
initialized: boolean;
|
|
49
|
+
};
|
|
46
50
|
penMode: boolean;
|
|
47
51
|
penDetected: boolean;
|
|
48
52
|
exportBackground: boolean;
|
|
@@ -177,7 +181,7 @@ export declare const actionSetEmbeddableAsActiveTool: {
|
|
|
177
181
|
lockedMultiSelections: {
|
|
178
182
|
[groupId: string]: true;
|
|
179
183
|
};
|
|
180
|
-
stylesPanelMode: "compact" | "full";
|
|
184
|
+
stylesPanelMode: "compact" | "full" | "mobile";
|
|
181
185
|
};
|
|
182
186
|
captureUpdate: "EVENTUALLY";
|
|
183
187
|
};
|