@zsviczian/excalidraw 0.18.0-41 → 0.18.0-42

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.
Files changed (60) hide show
  1. package/dist/excalidraw.development.js +138 -61
  2. package/dist/excalidraw.production.min.js +1 -1
  3. package/dist/excalidraw.production.min.js.LICENSE.txt +0 -2
  4. package/dist/styles.development.css +522 -205
  5. package/dist/styles.production.css +18 -16
  6. package/package.json +1 -1
  7. package/types/common/src/constants.d.ts +5 -1
  8. package/types/common/src/utils.d.ts +0 -1
  9. package/types/element/src/transformHandles.d.ts +1 -1
  10. package/types/excalidraw/actions/actionAddToLibrary.d.ts +15 -3
  11. package/types/excalidraw/actions/actionBoundText.d.ts +10 -2
  12. package/types/excalidraw/actions/actionCanvas.d.ts +75 -15
  13. package/types/excalidraw/actions/actionClipboard.d.ts +30 -6
  14. package/types/excalidraw/actions/actionCropEditor.d.ts +5 -1
  15. package/types/excalidraw/actions/actionDeleteSelected.d.ts +15 -3
  16. package/types/excalidraw/actions/actionElementLink.d.ts +5 -1
  17. package/types/excalidraw/actions/actionElementLock.d.ts +10 -2
  18. package/types/excalidraw/actions/actionEmbeddable.d.ts +5 -1
  19. package/types/excalidraw/actions/actionExport.d.ts +45 -9
  20. package/types/excalidraw/actions/actionFinalize.d.ts +15 -3
  21. package/types/excalidraw/actions/actionFrame.d.ts +20 -4
  22. package/types/excalidraw/actions/actionGroup.d.ts +10 -2
  23. package/types/excalidraw/actions/actionLinearEditor.d.ts +5 -1
  24. package/types/excalidraw/actions/actionLink.d.ts +5 -1
  25. package/types/excalidraw/actions/actionMenu.d.ts +7 -449
  26. package/types/excalidraw/actions/actionNavigate.d.ts +10 -2
  27. package/types/excalidraw/actions/actionProperties.d.ts +81 -17
  28. package/types/excalidraw/actions/actionSelectAll.d.ts +5 -1
  29. package/types/excalidraw/actions/actionStyles.d.ts +5 -1
  30. package/types/excalidraw/actions/actionToggleGridMode.d.ts +5 -1
  31. package/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +5 -1
  32. package/types/excalidraw/actions/actionToggleSearchMenu.d.ts +5 -1
  33. package/types/excalidraw/actions/actionToggleStats.d.ts +5 -1
  34. package/types/excalidraw/actions/actionToggleViewMode.d.ts +5 -1
  35. package/types/excalidraw/actions/actionToggleZenMode.d.ts +5 -1
  36. package/types/excalidraw/actions/actionTrayMenu.d.ts +227 -0
  37. package/types/excalidraw/actions/index.d.ts +2 -1
  38. package/types/excalidraw/actions/types.d.ts +1 -1
  39. package/types/excalidraw/appState.d.ts +4 -1
  40. package/types/excalidraw/components/Actions.d.ts +9 -2
  41. package/types/excalidraw/components/App.d.ts +0 -1
  42. package/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +1 -1
  43. package/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -0
  44. package/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +2 -1
  45. package/types/excalidraw/components/ColorPicker/ShadeList.d.ts +2 -1
  46. package/types/excalidraw/components/ExcalidrawLogo.d.ts +1 -1
  47. package/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +2 -1
  48. package/types/excalidraw/components/LayerUI.d.ts +2 -1
  49. package/types/excalidraw/components/MobileMenu.d.ts +3 -5
  50. package/types/excalidraw/components/MobileToolBar.d.ts +10 -0
  51. package/types/excalidraw/components/Popover.d.ts +2 -1
  52. package/types/excalidraw/components/Section.d.ts +1 -0
  53. package/types/excalidraw/components/ToolPopover.d.ts +25 -0
  54. package/types/excalidraw/components/TrayMenu.d.ts +25 -0
  55. package/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +4 -2
  56. package/types/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts +2 -1
  57. package/types/excalidraw/components/icons.d.ts +0 -1
  58. package/types/excalidraw/obsidianUtils.d.ts +3 -2
  59. package/types/excalidraw/shortcut.d.ts +1 -0
  60. package/types/excalidraw/types.d.ts +7 -2
@@ -73,6 +73,10 @@ export declare const actionChangeFillStyle: {
73
73
  locked: boolean;
74
74
  fromSelection: boolean;
75
75
  } & import("../types").ActiveTool;
76
+ preferredSelectionTool: {
77
+ type: "selection" | "lasso";
78
+ initialized: boolean;
79
+ };
76
80
  penMode: boolean;
77
81
  penDetected: boolean;
78
82
  exportBackground: boolean;
@@ -243,7 +247,7 @@ export declare const actionChangeFillStyle: {
243
247
  lockedMultiSelections: {
244
248
  [groupId: string]: true;
245
249
  };
246
- stylesPanelMode: "compact" | "full";
250
+ stylesPanelMode: "compact" | "full" | "mobile" | "tray";
247
251
  };
248
252
  captureUpdate: "IMMEDIATELY";
249
253
  };
@@ -295,6 +299,10 @@ export declare const actionChangeStrokeWidth: {
295
299
  locked: boolean;
296
300
  fromSelection: boolean;
297
301
  } & import("../types").ActiveTool;
302
+ preferredSelectionTool: {
303
+ type: "selection" | "lasso";
304
+ initialized: boolean;
305
+ };
298
306
  penMode: boolean;
299
307
  penDetected: boolean;
300
308
  exportBackground: boolean;
@@ -465,7 +473,7 @@ export declare const actionChangeStrokeWidth: {
465
473
  lockedMultiSelections: {
466
474
  [groupId: string]: true;
467
475
  };
468
- stylesPanelMode: "compact" | "full";
476
+ stylesPanelMode: "compact" | "full" | "mobile" | "tray";
469
477
  };
470
478
  captureUpdate: "IMMEDIATELY";
471
479
  };
@@ -517,6 +525,10 @@ export declare const actionChangeSloppiness: {
517
525
  locked: boolean;
518
526
  fromSelection: boolean;
519
527
  } & import("../types").ActiveTool;
528
+ preferredSelectionTool: {
529
+ type: "selection" | "lasso";
530
+ initialized: boolean;
531
+ };
520
532
  penMode: boolean;
521
533
  penDetected: boolean;
522
534
  exportBackground: boolean;
@@ -687,7 +699,7 @@ export declare const actionChangeSloppiness: {
687
699
  lockedMultiSelections: {
688
700
  [groupId: string]: true;
689
701
  };
690
- stylesPanelMode: "compact" | "full";
702
+ stylesPanelMode: "compact" | "full" | "mobile" | "tray";
691
703
  };
692
704
  captureUpdate: "IMMEDIATELY";
693
705
  };
@@ -739,6 +751,10 @@ export declare const actionChangeStrokeStyle: {
739
751
  locked: boolean;
740
752
  fromSelection: boolean;
741
753
  } & import("../types").ActiveTool;
754
+ preferredSelectionTool: {
755
+ type: "selection" | "lasso";
756
+ initialized: boolean;
757
+ };
742
758
  penMode: boolean;
743
759
  penDetected: boolean;
744
760
  exportBackground: boolean;
@@ -909,7 +925,7 @@ export declare const actionChangeStrokeStyle: {
909
925
  lockedMultiSelections: {
910
926
  [groupId: string]: true;
911
927
  };
912
- stylesPanelMode: "compact" | "full";
928
+ stylesPanelMode: "compact" | "full" | "mobile" | "tray";
913
929
  };
914
930
  captureUpdate: "IMMEDIATELY";
915
931
  };
@@ -961,6 +977,10 @@ export declare const actionChangeOpacity: {
961
977
  locked: boolean;
962
978
  fromSelection: boolean;
963
979
  } & import("../types").ActiveTool;
980
+ preferredSelectionTool: {
981
+ type: "selection" | "lasso";
982
+ initialized: boolean;
983
+ };
964
984
  penMode: boolean;
965
985
  penDetected: boolean;
966
986
  exportBackground: boolean;
@@ -1131,7 +1151,7 @@ export declare const actionChangeOpacity: {
1131
1151
  lockedMultiSelections: {
1132
1152
  [groupId: string]: true;
1133
1153
  };
1134
- stylesPanelMode: "compact" | "full";
1154
+ stylesPanelMode: "compact" | "full" | "mobile" | "tray";
1135
1155
  };
1136
1156
  captureUpdate: "IMMEDIATELY";
1137
1157
  };
@@ -1184,6 +1204,10 @@ export declare const actionChangeFontSize: {
1184
1204
  locked: boolean;
1185
1205
  fromSelection: boolean;
1186
1206
  } & import("../types").ActiveTool;
1207
+ preferredSelectionTool: {
1208
+ type: "selection" | "lasso";
1209
+ initialized: boolean;
1210
+ };
1187
1211
  penMode: boolean;
1188
1212
  penDetected: boolean;
1189
1213
  exportBackground: boolean;
@@ -1354,7 +1378,7 @@ export declare const actionChangeFontSize: {
1354
1378
  lockedMultiSelections: {
1355
1379
  [groupId: string]: true;
1356
1380
  };
1357
- stylesPanelMode: "compact" | "full";
1381
+ stylesPanelMode: "compact" | "full" | "mobile" | "tray";
1358
1382
  };
1359
1383
  captureUpdate: "IMMEDIATELY";
1360
1384
  };
@@ -1407,6 +1431,10 @@ export declare const actionDecreaseFontSize: {
1407
1431
  locked: boolean;
1408
1432
  fromSelection: boolean;
1409
1433
  } & import("../types").ActiveTool;
1434
+ preferredSelectionTool: {
1435
+ type: "selection" | "lasso";
1436
+ initialized: boolean;
1437
+ };
1410
1438
  penMode: boolean;
1411
1439
  penDetected: boolean;
1412
1440
  exportBackground: boolean;
@@ -1577,7 +1605,7 @@ export declare const actionDecreaseFontSize: {
1577
1605
  lockedMultiSelections: {
1578
1606
  [groupId: string]: true;
1579
1607
  };
1580
- stylesPanelMode: "compact" | "full";
1608
+ stylesPanelMode: "compact" | "full" | "mobile" | "tray";
1581
1609
  };
1582
1610
  captureUpdate: "IMMEDIATELY";
1583
1611
  };
@@ -1630,6 +1658,10 @@ export declare const actionIncreaseFontSize: {
1630
1658
  locked: boolean;
1631
1659
  fromSelection: boolean;
1632
1660
  } & import("../types").ActiveTool;
1661
+ preferredSelectionTool: {
1662
+ type: "selection" | "lasso";
1663
+ initialized: boolean;
1664
+ };
1633
1665
  penMode: boolean;
1634
1666
  penDetected: boolean;
1635
1667
  exportBackground: boolean;
@@ -1800,7 +1832,7 @@ export declare const actionIncreaseFontSize: {
1800
1832
  lockedMultiSelections: {
1801
1833
  [groupId: string]: true;
1802
1834
  };
1803
- stylesPanelMode: "compact" | "full";
1835
+ stylesPanelMode: "compact" | "full" | "mobile" | "tray";
1804
1836
  };
1805
1837
  captureUpdate: "IMMEDIATELY";
1806
1838
  };
@@ -1853,6 +1885,10 @@ export declare const actionChangeFontFamily: {
1853
1885
  locked: boolean;
1854
1886
  fromSelection: boolean;
1855
1887
  } & import("../types").ActiveTool;
1888
+ preferredSelectionTool: {
1889
+ type: "selection" | "lasso";
1890
+ initialized: boolean;
1891
+ };
1856
1892
  penMode: boolean;
1857
1893
  penDetected: boolean;
1858
1894
  exportBackground: boolean;
@@ -2021,7 +2057,7 @@ export declare const actionChangeFontFamily: {
2021
2057
  lockedMultiSelections: {
2022
2058
  [groupId: string]: true;
2023
2059
  };
2024
- stylesPanelMode: "compact" | "full";
2060
+ stylesPanelMode: "compact" | "full" | "mobile" | "tray";
2025
2061
  };
2026
2062
  captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
2027
2063
  } | {
@@ -2066,6 +2102,10 @@ export declare const actionChangeFontFamily: {
2066
2102
  locked: boolean;
2067
2103
  fromSelection: boolean;
2068
2104
  } & import("../types").ActiveTool;
2105
+ preferredSelectionTool: {
2106
+ type: "selection" | "lasso";
2107
+ initialized: boolean;
2108
+ };
2069
2109
  penMode: boolean;
2070
2110
  penDetected: boolean;
2071
2111
  exportBackground: boolean;
@@ -2234,11 +2274,11 @@ export declare const actionChangeFontFamily: {
2234
2274
  lockedMultiSelections: {
2235
2275
  [groupId: string]: true;
2236
2276
  };
2237
- stylesPanelMode: "compact" | "full";
2277
+ stylesPanelMode: "compact" | "full" | "mobile" | "tray";
2238
2278
  };
2239
2279
  captureUpdate: "NEVER";
2240
2280
  };
2241
- PanelComponent: ({ elements, appState, app, updateData, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2281
+ PanelComponent: ({ elements, appState, app, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2242
2282
  } & {
2243
2283
  keyTest?: undefined;
2244
2284
  };
@@ -2286,6 +2326,10 @@ export declare const actionChangeTextAlign: {
2286
2326
  locked: boolean;
2287
2327
  fromSelection: boolean;
2288
2328
  } & import("../types").ActiveTool;
2329
+ preferredSelectionTool: {
2330
+ type: "selection" | "lasso";
2331
+ initialized: boolean;
2332
+ };
2289
2333
  penMode: boolean;
2290
2334
  penDetected: boolean;
2291
2335
  exportBackground: boolean;
@@ -2456,7 +2500,7 @@ export declare const actionChangeTextAlign: {
2456
2500
  lockedMultiSelections: {
2457
2501
  [groupId: string]: true;
2458
2502
  };
2459
- stylesPanelMode: "compact" | "full";
2503
+ stylesPanelMode: "compact" | "full" | "mobile" | "tray";
2460
2504
  };
2461
2505
  captureUpdate: "IMMEDIATELY";
2462
2506
  };
@@ -2509,6 +2553,10 @@ export declare const actionChangeVerticalAlign: {
2509
2553
  locked: boolean;
2510
2554
  fromSelection: boolean;
2511
2555
  } & import("../types").ActiveTool;
2556
+ preferredSelectionTool: {
2557
+ type: "selection" | "lasso";
2558
+ initialized: boolean;
2559
+ };
2512
2560
  penMode: boolean;
2513
2561
  penDetected: boolean;
2514
2562
  exportBackground: boolean;
@@ -2680,7 +2728,7 @@ export declare const actionChangeVerticalAlign: {
2680
2728
  lockedMultiSelections: {
2681
2729
  [groupId: string]: true;
2682
2730
  };
2683
- stylesPanelMode: "compact" | "full";
2731
+ stylesPanelMode: "compact" | "full" | "mobile" | "tray";
2684
2732
  };
2685
2733
  captureUpdate: "IMMEDIATELY";
2686
2734
  };
@@ -2732,6 +2780,10 @@ export declare const actionChangeRoundness: {
2732
2780
  locked: boolean;
2733
2781
  fromSelection: boolean;
2734
2782
  } & import("../types").ActiveTool;
2783
+ preferredSelectionTool: {
2784
+ type: "selection" | "lasso";
2785
+ initialized: boolean;
2786
+ };
2735
2787
  penMode: boolean;
2736
2788
  penDetected: boolean;
2737
2789
  exportBackground: boolean;
@@ -2902,7 +2954,7 @@ export declare const actionChangeRoundness: {
2902
2954
  lockedMultiSelections: {
2903
2955
  [groupId: string]: true;
2904
2956
  };
2905
- stylesPanelMode: "compact" | "full";
2957
+ stylesPanelMode: "compact" | "full" | "mobile" | "tray";
2906
2958
  };
2907
2959
  captureUpdate: "IMMEDIATELY";
2908
2960
  };
@@ -2956,6 +3008,10 @@ export declare const actionChangeArrowhead: {
2956
3008
  locked: boolean;
2957
3009
  fromSelection: boolean;
2958
3010
  } & import("../types").ActiveTool;
3011
+ preferredSelectionTool: {
3012
+ type: "selection" | "lasso";
3013
+ initialized: boolean;
3014
+ };
2959
3015
  penMode: boolean;
2960
3016
  penDetected: boolean;
2961
3017
  exportBackground: boolean;
@@ -3127,7 +3183,7 @@ export declare const actionChangeArrowhead: {
3127
3183
  lockedMultiSelections: {
3128
3184
  [groupId: string]: true;
3129
3185
  };
3130
- stylesPanelMode: "compact" | "full";
3186
+ stylesPanelMode: "compact" | "full" | "mobile" | "tray";
3131
3187
  };
3132
3188
  captureUpdate: "IMMEDIATELY";
3133
3189
  };
@@ -3188,6 +3244,10 @@ export declare const actionChangeArrowType: {
3188
3244
  locked: boolean;
3189
3245
  fromSelection: boolean;
3190
3246
  } & import("../types").ActiveTool;
3247
+ preferredSelectionTool: {
3248
+ type: "selection" | "lasso";
3249
+ initialized: boolean;
3250
+ };
3191
3251
  penMode: boolean;
3192
3252
  penDetected: boolean;
3193
3253
  exportBackground: boolean;
@@ -3358,7 +3418,7 @@ export declare const actionChangeArrowType: {
3358
3418
  lockedMultiSelections: {
3359
3419
  [groupId: string]: true;
3360
3420
  };
3361
- stylesPanelMode: "compact" | "full";
3421
+ stylesPanelMode: "compact" | "full" | "mobile" | "tray";
3362
3422
  };
3363
3423
  captureUpdate: "IMMEDIATELY";
3364
3424
  };
@@ -3417,6 +3477,10 @@ export declare const actionToggleFrameRole: {
3417
3477
  locked: boolean;
3418
3478
  fromSelection: boolean;
3419
3479
  } & import("../types").ActiveTool;
3480
+ preferredSelectionTool: {
3481
+ type: "selection" | "lasso";
3482
+ initialized: boolean;
3483
+ };
3420
3484
  penMode: boolean;
3421
3485
  penDetected: boolean;
3422
3486
  exportBackground: boolean;
@@ -3587,7 +3651,7 @@ export declare const actionToggleFrameRole: {
3587
3651
  lockedMultiSelections: {
3588
3652
  [groupId: string]: true;
3589
3653
  };
3590
- stylesPanelMode: "compact" | "full";
3654
+ stylesPanelMode: "compact" | "full" | "mobile" | "tray";
3591
3655
  };
3592
3656
  captureUpdate: "IMMEDIATELY";
3593
3657
  };
@@ -54,6 +54,10 @@ export declare const actionSelectAll: {
54
54
  locked: boolean;
55
55
  fromSelection: boolean;
56
56
  } & import("../types").ActiveTool;
57
+ preferredSelectionTool: {
58
+ type: "selection" | "lasso";
59
+ initialized: boolean;
60
+ };
57
61
  penMode: boolean;
58
62
  penDetected: boolean;
59
63
  exportBackground: boolean;
@@ -217,7 +221,7 @@ export declare const actionSelectAll: {
217
221
  lockedMultiSelections: {
218
222
  [groupId: string]: true;
219
223
  };
220
- stylesPanelMode: "compact" | "full";
224
+ stylesPanelMode: "compact" | "full" | "mobile" | "tray";
221
225
  };
222
226
  captureUpdate: "IMMEDIATELY";
223
227
  };
@@ -47,6 +47,10 @@ export declare const actionCopyStyles: {
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;
@@ -213,7 +217,7 @@ export declare const actionCopyStyles: {
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
  };
@@ -49,6 +49,10 @@ export declare const actionToggleGridMode: {
49
49
  locked: boolean;
50
50
  fromSelection: boolean;
51
51
  } & import("../types").ActiveTool;
52
+ preferredSelectionTool: {
53
+ type: "selection" | "lasso";
54
+ initialized: boolean;
55
+ };
52
56
  penMode: boolean;
53
57
  penDetected: boolean;
54
58
  exportBackground: boolean;
@@ -218,7 +222,7 @@ export declare const actionToggleGridMode: {
218
222
  lockedMultiSelections: {
219
223
  [groupId: string]: true;
220
224
  };
221
- stylesPanelMode: "compact" | "full";
225
+ stylesPanelMode: "compact" | "full" | "mobile" | "tray";
222
226
  };
223
227
  captureUpdate: "EVENTUALLY";
224
228
  };
@@ -47,6 +47,10 @@ export declare const actionToggleObjectsSnapMode: {
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;
@@ -216,7 +220,7 @@ export declare const actionToggleObjectsSnapMode: {
216
220
  lockedMultiSelections: {
217
221
  [groupId: string]: true;
218
222
  };
219
- stylesPanelMode: "compact" | "full";
223
+ stylesPanelMode: "compact" | "full" | "mobile" | "tray";
220
224
  };
221
225
  captureUpdate: "EVENTUALLY";
222
226
  };
@@ -53,6 +53,10 @@ export declare const actionToggleSearchMenu: {
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;
@@ -209,7 +213,7 @@ export declare const actionToggleSearchMenu: {
209
213
  lockedMultiSelections: {
210
214
  [groupId: string]: true;
211
215
  };
212
- stylesPanelMode: "compact" | "full";
216
+ stylesPanelMode: "compact" | "full" | "mobile" | "tray";
213
217
  };
214
218
  captureUpdate: "EVENTUALLY";
215
219
  };
@@ -49,6 +49,10 @@ export declare const actionToggleStats: {
49
49
  locked: boolean;
50
50
  fromSelection: boolean;
51
51
  } & import("../types").ActiveTool;
52
+ preferredSelectionTool: {
53
+ type: "selection" | "lasso";
54
+ initialized: boolean;
55
+ };
52
56
  penMode: boolean;
53
57
  penDetected: boolean;
54
58
  exportBackground: boolean;
@@ -216,7 +220,7 @@ export declare const actionToggleStats: {
216
220
  lockedMultiSelections: {
217
221
  [groupId: string]: true;
218
222
  };
219
- stylesPanelMode: "compact" | "full";
223
+ stylesPanelMode: "compact" | "full" | "mobile" | "tray";
220
224
  };
221
225
  captureUpdate: "EVENTUALLY";
222
226
  };
@@ -46,6 +46,10 @@ export declare const actionToggleViewMode: {
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;
@@ -216,7 +220,7 @@ export declare const actionToggleViewMode: {
216
220
  lockedMultiSelections: {
217
221
  [groupId: string]: true;
218
222
  };
219
- stylesPanelMode: "compact" | "full";
223
+ stylesPanelMode: "compact" | "full" | "mobile" | "tray";
220
224
  };
221
225
  captureUpdate: "EVENTUALLY";
222
226
  };
@@ -46,6 +46,10 @@ export declare const actionToggleZenMode: {
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;
@@ -216,7 +220,7 @@ export declare const actionToggleZenMode: {
216
220
  lockedMultiSelections: {
217
221
  [groupId: string]: true;
218
222
  };
219
- stylesPanelMode: "compact" | "full";
223
+ stylesPanelMode: "compact" | "full" | "mobile" | "tray";
220
224
  };
221
225
  captureUpdate: "EVENTUALLY";
222
226
  };