@excalidraw/excalidraw 0.18.0-508de2f3a → 0.18.0-5fffc47

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 (99) hide show
  1. package/dist/dev/{chunk-BVDPDK7J.js → chunk-CP5DND7P.js} +2 -2
  2. package/dist/dev/{chunk-BVDPDK7J.js.map → chunk-CP5DND7P.js.map} +1 -1
  3. package/dist/dev/{chunk-QF5FRM6O.js → chunk-PWQMCSHA.js} +12 -4
  4. package/dist/dev/chunk-PWQMCSHA.js.map +7 -0
  5. package/dist/dev/{chunk-3JWCK6AW.js → chunk-YMRX7R7U.js} +55 -61
  6. package/dist/dev/chunk-YMRX7R7U.js.map +7 -0
  7. package/dist/dev/data/{image-CNYZRAWA.js → image-L23D26XS.js} +3 -3
  8. package/dist/dev/index.css +965 -584
  9. package/dist/dev/index.css.map +3 -3
  10. package/dist/dev/index.js +4721 -2778
  11. package/dist/dev/index.js.map +4 -4
  12. package/dist/dev/locales/{en-SMAPCEOQ.js → en-V3NQTBPG.js} +2 -2
  13. package/dist/dev/subset-shared.chunk.js +1 -1
  14. package/dist/dev/subset-worker.chunk.js +1 -1
  15. package/dist/prod/{chunk-XRPJNYI4.js → chunk-A66AFZZU.js} +1 -1
  16. package/dist/prod/{chunk-I4UNSFV6.js → chunk-GF46JCB3.js} +2 -2
  17. package/dist/prod/chunk-HT4FKTIQ.js +4 -0
  18. package/dist/prod/data/image-NWF7UX55.js +1 -0
  19. package/dist/prod/index.css +1 -1
  20. package/dist/prod/index.js +18 -18
  21. package/dist/prod/locales/{en-TYY6KWIJ.js → en-LQE6K457.js} +1 -1
  22. package/dist/prod/subset-shared.chunk.js +1 -1
  23. package/dist/prod/subset-worker.chunk.js +1 -1
  24. package/dist/types/common/src/constants.d.ts +23 -4
  25. package/dist/types/common/src/utils.d.ts +3 -0
  26. package/dist/types/element/src/bounds.d.ts +1 -1
  27. package/dist/types/element/src/delta.d.ts +4 -5
  28. package/dist/types/element/src/index.d.ts +1 -0
  29. package/dist/types/element/src/mutateElement.d.ts +0 -1
  30. package/dist/types/element/src/positionElementsOnGrid.d.ts +2 -0
  31. package/dist/types/element/src/renderElement.d.ts +4 -1
  32. package/dist/types/element/src/store.d.ts +5 -0
  33. package/dist/types/element/src/textElement.d.ts +1 -1
  34. package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +21 -6
  35. package/dist/types/excalidraw/actions/actionBoundText.d.ts +14 -4
  36. package/dist/types/excalidraw/actions/actionCanvas.d.ts +94 -28
  37. package/dist/types/excalidraw/actions/actionClipboard.d.ts +42 -12
  38. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +7 -2
  39. package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +21 -6
  40. package/dist/types/excalidraw/actions/actionElementLink.d.ts +7 -2
  41. package/dist/types/excalidraw/actions/actionElementLock.d.ts +14 -4
  42. package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +7 -2
  43. package/dist/types/excalidraw/actions/actionExport.d.ts +63 -18
  44. package/dist/types/excalidraw/actions/actionFinalize.d.ts +14 -4
  45. package/dist/types/excalidraw/actions/actionFrame.d.ts +28 -8
  46. package/dist/types/excalidraw/actions/actionGroup.d.ts +14 -4
  47. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +8 -3
  48. package/dist/types/excalidraw/actions/actionLink.d.ts +6 -1
  49. package/dist/types/excalidraw/actions/actionMenu.d.ts +7 -368
  50. package/dist/types/excalidraw/actions/actionNavigate.d.ts +14 -4
  51. package/dist/types/excalidraw/actions/actionProperties.d.ts +122 -38
  52. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +7 -2
  53. package/dist/types/excalidraw/actions/actionStyles.d.ts +7 -2
  54. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +7 -2
  55. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +7 -2
  56. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +7 -2
  57. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +7 -2
  58. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +7 -2
  59. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +7 -2
  60. package/dist/types/excalidraw/actions/index.d.ts +2 -2
  61. package/dist/types/excalidraw/actions/types.d.ts +1 -1
  62. package/dist/types/excalidraw/appState.d.ts +5 -1
  63. package/dist/types/excalidraw/clipboard.d.ts +64 -1
  64. package/dist/types/excalidraw/components/Actions.d.ts +17 -3
  65. package/dist/types/excalidraw/components/App.d.ts +12 -11
  66. package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +1 -0
  67. package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -0
  68. package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +2 -1
  69. package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +2 -1
  70. package/dist/types/excalidraw/components/CommandPalette/CommandPalette.d.ts +1 -0
  71. package/dist/types/excalidraw/components/ExcalidrawLogo.d.ts +1 -1
  72. package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +2 -1
  73. package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +3 -1
  74. package/dist/types/excalidraw/components/InlineIcon.d.ts +3 -1
  75. package/dist/types/excalidraw/components/LayerUI.d.ts +2 -1
  76. package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +1 -1
  77. package/dist/types/excalidraw/components/MobileMenu.d.ts +3 -5
  78. package/dist/types/excalidraw/components/MobileToolBar.d.ts +11 -0
  79. package/dist/types/excalidraw/components/PropertiesPopover.d.ts +1 -0
  80. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts +1 -2
  81. package/dist/types/excalidraw/components/TextField.d.ts +1 -0
  82. package/dist/types/excalidraw/components/ToolPopover.d.ts +25 -0
  83. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +4 -2
  84. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts +2 -1
  85. package/dist/types/excalidraw/components/icons.d.ts +5 -0
  86. package/dist/types/excalidraw/components/shapes.d.ts +129 -1
  87. package/dist/types/excalidraw/data/blob.d.ts +3 -7
  88. package/dist/types/excalidraw/data/types.d.ts +4 -1
  89. package/dist/types/excalidraw/hooks/useLibraryItemSvg.d.ts +1 -1
  90. package/dist/types/excalidraw/hooks/useTextEditorFocus.d.ts +14 -0
  91. package/dist/types/excalidraw/types.d.ts +12 -4
  92. package/dist/types/math/src/segment.d.ts +1 -0
  93. package/package.json +5 -5
  94. package/dist/dev/chunk-3JWCK6AW.js.map +0 -7
  95. package/dist/dev/chunk-QF5FRM6O.js.map +0 -7
  96. package/dist/prod/chunk-2HQY2INW.js +0 -4
  97. package/dist/prod/data/image-DYRE7ZKS.js +0 -1
  98. /package/dist/dev/data/{image-CNYZRAWA.js.map → image-L23D26XS.js.map} +0 -0
  99. /package/dist/dev/locales/{en-SMAPCEOQ.js.map → en-V3NQTBPG.js.map} +0 -0
@@ -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;
@@ -79,8 +83,8 @@ export declare const actionDeleteSelected: {
79
83
  zoom: Readonly<{
80
84
  value: import("../types").NormalizedZoomValue;
81
85
  }>;
82
- openMenu: "canvas" | "shape" | null;
83
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
86
+ openMenu: "canvas" | null;
87
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
84
88
  openSidebar: {
85
89
  name: string;
86
90
  tab?: string | undefined;
@@ -180,6 +184,7 @@ export declare const actionDeleteSelected: {
180
184
  lockedMultiSelections: {
181
185
  [groupId: string]: true;
182
186
  };
187
+ stylesPanelMode: "compact" | "full" | "mobile";
183
188
  };
184
189
  captureUpdate: "IMMEDIATELY";
185
190
  } | {
@@ -252,6 +257,10 @@ export declare const actionDeleteSelected: {
252
257
  locked: boolean;
253
258
  fromSelection: boolean;
254
259
  } & import("../types").ActiveTool;
260
+ preferredSelectionTool: {
261
+ type: "selection" | "lasso";
262
+ initialized: boolean;
263
+ };
255
264
  penMode: boolean;
256
265
  penDetected: boolean;
257
266
  exportBackground: boolean;
@@ -284,8 +293,8 @@ export declare const actionDeleteSelected: {
284
293
  zoom: Readonly<{
285
294
  value: import("../types").NormalizedZoomValue;
286
295
  }>;
287
- openMenu: "canvas" | "shape" | null;
288
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
296
+ openMenu: "canvas" | null;
297
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
289
298
  openSidebar: {
290
299
  name: string;
291
300
  tab?: string | undefined;
@@ -385,6 +394,7 @@ export declare const actionDeleteSelected: {
385
394
  lockedMultiSelections: {
386
395
  [groupId: string]: true;
387
396
  };
397
+ stylesPanelMode: "compact" | "full" | "mobile";
388
398
  };
389
399
  captureUpdate: "IMMEDIATELY";
390
400
  } | {
@@ -429,6 +439,10 @@ export declare const actionDeleteSelected: {
429
439
  editingFrame: string | null;
430
440
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
431
441
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
442
+ preferredSelectionTool: {
443
+ type: "selection" | "lasso";
444
+ initialized: boolean;
445
+ };
432
446
  penMode: boolean;
433
447
  penDetected: boolean;
434
448
  exportBackground: boolean;
@@ -461,8 +475,8 @@ export declare const actionDeleteSelected: {
461
475
  zoom: Readonly<{
462
476
  value: import("../types").NormalizedZoomValue;
463
477
  }>;
464
- openMenu: "canvas" | "shape" | null;
465
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
478
+ openMenu: "canvas" | null;
479
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
466
480
  openSidebar: {
467
481
  name: string;
468
482
  tab?: string | undefined;
@@ -555,6 +569,7 @@ export declare const actionDeleteSelected: {
555
569
  lockedMultiSelections: {
556
570
  [groupId: string]: true;
557
571
  };
572
+ stylesPanelMode: "compact" | "full" | "mobile";
558
573
  };
559
574
  captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
560
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;
@@ -107,8 +111,8 @@ export declare const actionLinkToElement: {
107
111
  zoom: Readonly<{
108
112
  value: import("../types").NormalizedZoomValue;
109
113
  }>;
110
- openMenu: "canvas" | "shape" | null;
111
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
114
+ openMenu: "canvas" | null;
115
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
112
116
  openSidebar: {
113
117
  name: string;
114
118
  tab?: string | undefined;
@@ -198,6 +202,7 @@ export declare const actionLinkToElement: {
198
202
  lockedMultiSelections: {
199
203
  [groupId: string]: true;
200
204
  };
205
+ stylesPanelMode: "compact" | "full" | "mobile";
201
206
  };
202
207
  captureUpdate: "IMMEDIATELY";
203
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;
@@ -89,8 +93,8 @@ export declare const actionToggleElementLock: {
89
93
  zoom: Readonly<{
90
94
  value: import("../types").NormalizedZoomValue;
91
95
  }>;
92
- openMenu: "canvas" | "shape" | null;
93
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
96
+ openMenu: "canvas" | null;
97
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
94
98
  openSidebar: {
95
99
  name: string;
96
100
  tab?: string | undefined;
@@ -180,6 +184,7 @@ export declare const actionToggleElementLock: {
180
184
  focusedId: string | null;
181
185
  matches: readonly import("../types").SearchMatch[];
182
186
  }> | null;
187
+ stylesPanelMode: "compact" | "full" | "mobile";
183
188
  };
184
189
  captureUpdate: "IMMEDIATELY";
185
190
  };
@@ -240,6 +245,10 @@ export declare const actionUnlockAllElements: {
240
245
  locked: boolean;
241
246
  fromSelection: boolean;
242
247
  } & import("../types").ActiveTool;
248
+ preferredSelectionTool: {
249
+ type: "selection" | "lasso";
250
+ initialized: boolean;
251
+ };
243
252
  penMode: boolean;
244
253
  penDetected: boolean;
245
254
  exportBackground: boolean;
@@ -272,8 +281,8 @@ export declare const actionUnlockAllElements: {
272
281
  zoom: Readonly<{
273
282
  value: import("../types").NormalizedZoomValue;
274
283
  }>;
275
- openMenu: "canvas" | "shape" | null;
276
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
284
+ openMenu: "canvas" | null;
285
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
277
286
  openSidebar: {
278
287
  name: string;
279
288
  tab?: string | undefined;
@@ -364,6 +373,7 @@ export declare const actionUnlockAllElements: {
364
373
  focusedId: string | null;
365
374
  matches: readonly import("../types").SearchMatch[];
366
375
  }> | null;
376
+ stylesPanelMode: "compact" | "full" | "mobile";
367
377
  };
368
378
  captureUpdate: "IMMEDIATELY";
369
379
  };
@@ -43,6 +43,10 @@ export declare const actionSetEmbeddableAsActiveTool: {
43
43
  editingFrame: string | null;
44
44
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
45
45
  editingTextElement: import("@excalidraw/element/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;
@@ -75,8 +79,8 @@ export declare const actionSetEmbeddableAsActiveTool: {
75
79
  zoom: Readonly<{
76
80
  value: import("../types").NormalizedZoomValue;
77
81
  }>;
78
- openMenu: "canvas" | "shape" | null;
79
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
82
+ openMenu: "canvas" | null;
83
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
80
84
  openSidebar: {
81
85
  name: string;
82
86
  tab?: string | undefined;
@@ -177,6 +181,7 @@ export declare const actionSetEmbeddableAsActiveTool: {
177
181
  lockedMultiSelections: {
178
182
  [groupId: string]: true;
179
183
  };
184
+ stylesPanelMode: "compact" | "full" | "mobile";
180
185
  };
181
186
  captureUpdate: "EVENTUALLY";
182
187
  };
@@ -42,6 +42,10 @@ export declare const actionChangeProjectName: {
42
42
  locked: boolean;
43
43
  fromSelection: boolean;
44
44
  } & import("../types").ActiveTool;
45
+ preferredSelectionTool: {
46
+ type: "selection" | "lasso";
47
+ initialized: boolean;
48
+ };
45
49
  penMode: boolean;
46
50
  penDetected: boolean;
47
51
  exportBackground: boolean;
@@ -73,8 +77,8 @@ export declare const actionChangeProjectName: {
73
77
  zoom: Readonly<{
74
78
  value: import("../types").NormalizedZoomValue;
75
79
  }>;
76
- openMenu: "canvas" | "shape" | null;
77
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
80
+ openMenu: "canvas" | null;
81
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
78
82
  openSidebar: {
79
83
  name: string;
80
84
  tab?: string | undefined;
@@ -175,6 +179,7 @@ export declare const actionChangeProjectName: {
175
179
  lockedMultiSelections: {
176
180
  [groupId: string]: true;
177
181
  };
182
+ stylesPanelMode: "compact" | "full" | "mobile";
178
183
  };
179
184
  captureUpdate: "EVENTUALLY";
180
185
  };
@@ -226,6 +231,10 @@ export declare const actionChangeExportScale: {
226
231
  locked: boolean;
227
232
  fromSelection: boolean;
228
233
  } & import("../types").ActiveTool;
234
+ preferredSelectionTool: {
235
+ type: "selection" | "lasso";
236
+ initialized: boolean;
237
+ };
229
238
  penMode: boolean;
230
239
  penDetected: boolean;
231
240
  exportBackground: boolean;
@@ -257,8 +266,8 @@ export declare const actionChangeExportScale: {
257
266
  zoom: Readonly<{
258
267
  value: import("../types").NormalizedZoomValue;
259
268
  }>;
260
- openMenu: "canvas" | "shape" | null;
261
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
269
+ openMenu: "canvas" | null;
270
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
262
271
  openSidebar: {
263
272
  name: string;
264
273
  tab?: string | undefined;
@@ -359,6 +368,7 @@ export declare const actionChangeExportScale: {
359
368
  lockedMultiSelections: {
360
369
  [groupId: string]: true;
361
370
  };
371
+ stylesPanelMode: "compact" | "full" | "mobile";
362
372
  };
363
373
  captureUpdate: "EVENTUALLY";
364
374
  };
@@ -410,6 +420,10 @@ export declare const actionChangeExportBackground: {
410
420
  locked: boolean;
411
421
  fromSelection: boolean;
412
422
  } & import("../types").ActiveTool;
423
+ preferredSelectionTool: {
424
+ type: "selection" | "lasso";
425
+ initialized: boolean;
426
+ };
413
427
  penMode: boolean;
414
428
  penDetected: boolean;
415
429
  exportEmbedScene: boolean;
@@ -441,8 +455,8 @@ export declare const actionChangeExportBackground: {
441
455
  zoom: Readonly<{
442
456
  value: import("../types").NormalizedZoomValue;
443
457
  }>;
444
- openMenu: "canvas" | "shape" | null;
445
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
458
+ openMenu: "canvas" | null;
459
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
446
460
  openSidebar: {
447
461
  name: string;
448
462
  tab?: string | undefined;
@@ -543,6 +557,7 @@ export declare const actionChangeExportBackground: {
543
557
  lockedMultiSelections: {
544
558
  [groupId: string]: true;
545
559
  };
560
+ stylesPanelMode: "compact" | "full" | "mobile";
546
561
  };
547
562
  captureUpdate: "EVENTUALLY";
548
563
  };
@@ -594,6 +609,10 @@ export declare const actionChangeExportEmbedScene: {
594
609
  locked: boolean;
595
610
  fromSelection: boolean;
596
611
  } & import("../types").ActiveTool;
612
+ preferredSelectionTool: {
613
+ type: "selection" | "lasso";
614
+ initialized: boolean;
615
+ };
597
616
  penMode: boolean;
598
617
  penDetected: boolean;
599
618
  exportBackground: boolean;
@@ -625,8 +644,8 @@ export declare const actionChangeExportEmbedScene: {
625
644
  zoom: Readonly<{
626
645
  value: import("../types").NormalizedZoomValue;
627
646
  }>;
628
- openMenu: "canvas" | "shape" | null;
629
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
647
+ openMenu: "canvas" | null;
648
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
630
649
  openSidebar: {
631
650
  name: string;
632
651
  tab?: string | undefined;
@@ -727,6 +746,7 @@ export declare const actionChangeExportEmbedScene: {
727
746
  lockedMultiSelections: {
728
747
  [groupId: string]: true;
729
748
  };
749
+ stylesPanelMode: "compact" | "full" | "mobile";
730
750
  };
731
751
  captureUpdate: "EVENTUALLY";
732
752
  };
@@ -783,6 +803,10 @@ export declare const actionSaveToActiveFile: {
783
803
  locked: boolean;
784
804
  fromSelection: boolean;
785
805
  } & import("../types").ActiveTool;
806
+ preferredSelectionTool: {
807
+ type: "selection" | "lasso";
808
+ initialized: boolean;
809
+ };
786
810
  penMode: boolean;
787
811
  penDetected: boolean;
788
812
  exportBackground: boolean;
@@ -815,8 +839,8 @@ export declare const actionSaveToActiveFile: {
815
839
  zoom: Readonly<{
816
840
  value: import("../types").NormalizedZoomValue;
817
841
  }>;
818
- openMenu: "canvas" | "shape" | null;
819
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
842
+ openMenu: "canvas" | null;
843
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
820
844
  openSidebar: {
821
845
  name: string;
822
846
  tab?: string | undefined;
@@ -911,6 +935,7 @@ export declare const actionSaveToActiveFile: {
911
935
  lockedMultiSelections: {
912
936
  [groupId: string]: true;
913
937
  };
938
+ stylesPanelMode: "compact" | "full" | "mobile";
914
939
  };
915
940
  } | {
916
941
  captureUpdate: "EVENTUALLY";
@@ -970,6 +995,10 @@ export declare const actionSaveFileToDisk: {
970
995
  locked: boolean;
971
996
  fromSelection: boolean;
972
997
  } & import("../types").ActiveTool;
998
+ preferredSelectionTool: {
999
+ type: "selection" | "lasso";
1000
+ initialized: boolean;
1001
+ };
973
1002
  penMode: boolean;
974
1003
  penDetected: boolean;
975
1004
  exportBackground: boolean;
@@ -1002,8 +1031,8 @@ export declare const actionSaveFileToDisk: {
1002
1031
  zoom: Readonly<{
1003
1032
  value: import("../types").NormalizedZoomValue;
1004
1033
  }>;
1005
- openMenu: "canvas" | "shape" | null;
1006
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1034
+ openMenu: "canvas" | null;
1035
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1007
1036
  openSidebar: {
1008
1037
  name: string;
1009
1038
  tab?: string | undefined;
@@ -1087,6 +1116,7 @@ export declare const actionSaveFileToDisk: {
1087
1116
  lockedMultiSelections: {
1088
1117
  [groupId: string]: true;
1089
1118
  };
1119
+ stylesPanelMode: "compact" | "full" | "mobile";
1090
1120
  };
1091
1121
  } | {
1092
1122
  captureUpdate: "EVENTUALLY";
@@ -1199,6 +1229,10 @@ export declare const actionLoadScene: {
1199
1229
  locked: boolean;
1200
1230
  fromSelection: boolean;
1201
1231
  } & import("../types").ActiveTool;
1232
+ preferredSelectionTool: {
1233
+ type: "selection" | "lasso";
1234
+ initialized: boolean;
1235
+ };
1202
1236
  penMode: boolean;
1203
1237
  penDetected: boolean;
1204
1238
  exportBackground: boolean;
@@ -1223,8 +1257,8 @@ export declare const actionLoadScene: {
1223
1257
  cursorButton: "up" | "down";
1224
1258
  scrolledOutside: boolean;
1225
1259
  isResizing: boolean;
1226
- openMenu: "canvas" | "shape" | null;
1227
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1260
+ openMenu: "canvas" | null;
1261
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1228
1262
  openSidebar: {
1229
1263
  name: string;
1230
1264
  tab?: string | undefined;
@@ -1271,6 +1305,7 @@ export declare const actionLoadScene: {
1271
1305
  lockedMultiSelections: {
1272
1306
  [groupId: string]: true;
1273
1307
  };
1308
+ stylesPanelMode: "compact" | "full" | "mobile";
1274
1309
  };
1275
1310
  files: import("../types").BinaryFiles;
1276
1311
  captureUpdate: "IMMEDIATELY";
@@ -1311,6 +1346,10 @@ export declare const actionLoadScene: {
1311
1346
  locked: boolean;
1312
1347
  fromSelection: boolean;
1313
1348
  } & import("../types").ActiveTool;
1349
+ preferredSelectionTool: {
1350
+ type: "selection" | "lasso";
1351
+ initialized: boolean;
1352
+ };
1314
1353
  penMode: boolean;
1315
1354
  penDetected: boolean;
1316
1355
  exportBackground: boolean;
@@ -1343,8 +1382,8 @@ export declare const actionLoadScene: {
1343
1382
  zoom: Readonly<{
1344
1383
  value: import("../types").NormalizedZoomValue;
1345
1384
  }>;
1346
- openMenu: "canvas" | "shape" | null;
1347
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1385
+ openMenu: "canvas" | null;
1386
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1348
1387
  openSidebar: {
1349
1388
  name: string;
1350
1389
  tab?: string | undefined;
@@ -1445,6 +1484,7 @@ export declare const actionLoadScene: {
1445
1484
  lockedMultiSelections: {
1446
1485
  [groupId: string]: true;
1447
1486
  };
1487
+ stylesPanelMode: "compact" | "full" | "mobile";
1448
1488
  };
1449
1489
  files: import("../types").BinaryFiles;
1450
1490
  captureUpdate: "EVENTUALLY";
@@ -1497,6 +1537,10 @@ export declare const actionExportWithDarkMode: {
1497
1537
  locked: boolean;
1498
1538
  fromSelection: boolean;
1499
1539
  } & import("../types").ActiveTool;
1540
+ preferredSelectionTool: {
1541
+ type: "selection" | "lasso";
1542
+ initialized: boolean;
1543
+ };
1500
1544
  penMode: boolean;
1501
1545
  penDetected: boolean;
1502
1546
  exportBackground: boolean;
@@ -1528,8 +1572,8 @@ export declare const actionExportWithDarkMode: {
1528
1572
  zoom: Readonly<{
1529
1573
  value: import("../types").NormalizedZoomValue;
1530
1574
  }>;
1531
- openMenu: "canvas" | "shape" | null;
1532
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1575
+ openMenu: "canvas" | null;
1576
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1533
1577
  openSidebar: {
1534
1578
  name: string;
1535
1579
  tab?: string | undefined;
@@ -1630,6 +1674,7 @@ export declare const actionExportWithDarkMode: {
1630
1674
  lockedMultiSelections: {
1631
1675
  [groupId: string]: true;
1632
1676
  };
1677
+ stylesPanelMode: "compact" | "full" | "mobile";
1633
1678
  };
1634
1679
  captureUpdate: "EVENTUALLY";
1635
1680
  };
@@ -85,6 +85,10 @@ export declare const actionFinalize: {
85
85
  locked: boolean;
86
86
  fromSelection: boolean;
87
87
  } & import("../types").ActiveTool;
88
+ preferredSelectionTool: {
89
+ type: "selection" | "lasso";
90
+ initialized: boolean;
91
+ };
88
92
  penMode: boolean;
89
93
  penDetected: boolean;
90
94
  exportBackground: boolean;
@@ -116,8 +120,8 @@ export declare const actionFinalize: {
116
120
  zoom: Readonly<{
117
121
  value: import("../types").NormalizedZoomValue;
118
122
  }>;
119
- openMenu: "canvas" | "shape" | null;
120
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
123
+ openMenu: "canvas" | null;
124
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
121
125
  openSidebar: {
122
126
  name: string;
123
127
  tab?: string | undefined;
@@ -217,6 +221,7 @@ export declare const actionFinalize: {
217
221
  lockedMultiSelections: {
218
222
  [groupId: string]: true;
219
223
  };
224
+ stylesPanelMode: "compact" | "full" | "mobile";
220
225
  };
221
226
  captureUpdate: "IMMEDIATELY";
222
227
  } | {
@@ -258,6 +263,10 @@ export declare const actionFinalize: {
258
263
  };
259
264
  editingFrame: string | null;
260
265
  elementsToHighlight: NonDeleted<ExcalidrawElement>[] | null;
266
+ preferredSelectionTool: {
267
+ type: "selection" | "lasso";
268
+ initialized: boolean;
269
+ };
261
270
  penMode: boolean;
262
271
  penDetected: boolean;
263
272
  exportBackground: boolean;
@@ -289,8 +298,8 @@ export declare const actionFinalize: {
289
298
  zoom: Readonly<{
290
299
  value: import("../types").NormalizedZoomValue;
291
300
  }>;
292
- openMenu: "canvas" | "shape" | null;
293
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
301
+ openMenu: "canvas" | null;
302
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
294
303
  openSidebar: {
295
304
  name: string;
296
305
  tab?: string | undefined;
@@ -387,6 +396,7 @@ export declare const actionFinalize: {
387
396
  lockedMultiSelections: {
388
397
  [groupId: string]: true;
389
398
  };
399
+ stylesPanelMode: "compact" | "full" | "mobile";
390
400
  };
391
401
  captureUpdate: "IMMEDIATELY";
392
402
  };
@@ -45,6 +45,10 @@ export declare const actionSelectAllElementsInFrame: {
45
45
  locked: boolean;
46
46
  fromSelection: boolean;
47
47
  } & import("../types").ActiveTool;
48
+ preferredSelectionTool: {
49
+ type: "selection" | "lasso";
50
+ initialized: boolean;
51
+ };
48
52
  penMode: boolean;
49
53
  penDetected: boolean;
50
54
  exportBackground: boolean;
@@ -77,8 +81,8 @@ export declare const actionSelectAllElementsInFrame: {
77
81
  zoom: Readonly<{
78
82
  value: import("../types").NormalizedZoomValue;
79
83
  }>;
80
- openMenu: "canvas" | "shape" | null;
81
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
84
+ openMenu: "canvas" | null;
85
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
82
86
  openSidebar: {
83
87
  name: string;
84
88
  tab?: string | undefined;
@@ -176,6 +180,7 @@ export declare const actionSelectAllElementsInFrame: {
176
180
  lockedMultiSelections: {
177
181
  [groupId: string]: true;
178
182
  };
183
+ stylesPanelMode: "compact" | "full" | "mobile";
179
184
  };
180
185
  captureUpdate: "IMMEDIATELY";
181
186
  } | {
@@ -233,6 +238,10 @@ export declare const actionRemoveAllElementsFromFrame: {
233
238
  locked: boolean;
234
239
  fromSelection: boolean;
235
240
  } & import("../types").ActiveTool;
241
+ preferredSelectionTool: {
242
+ type: "selection" | "lasso";
243
+ initialized: boolean;
244
+ };
236
245
  penMode: boolean;
237
246
  penDetected: boolean;
238
247
  exportBackground: boolean;
@@ -265,8 +274,8 @@ export declare const actionRemoveAllElementsFromFrame: {
265
274
  zoom: Readonly<{
266
275
  value: import("../types").NormalizedZoomValue;
267
276
  }>;
268
- openMenu: "canvas" | "shape" | null;
269
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
277
+ openMenu: "canvas" | null;
278
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
270
279
  openSidebar: {
271
280
  name: string;
272
281
  tab?: string | undefined;
@@ -364,6 +373,7 @@ export declare const actionRemoveAllElementsFromFrame: {
364
373
  lockedMultiSelections: {
365
374
  [groupId: string]: true;
366
375
  };
376
+ stylesPanelMode: "compact" | "full" | "mobile";
367
377
  };
368
378
  captureUpdate: "IMMEDIATELY";
369
379
  } | {
@@ -419,6 +429,10 @@ export declare const actionupdateFrameRendering: {
419
429
  locked: boolean;
420
430
  fromSelection: boolean;
421
431
  } & import("../types").ActiveTool;
432
+ preferredSelectionTool: {
433
+ type: "selection" | "lasso";
434
+ initialized: boolean;
435
+ };
422
436
  penMode: boolean;
423
437
  penDetected: boolean;
424
438
  exportBackground: boolean;
@@ -451,8 +465,8 @@ export declare const actionupdateFrameRendering: {
451
465
  zoom: Readonly<{
452
466
  value: import("../types").NormalizedZoomValue;
453
467
  }>;
454
- openMenu: "canvas" | "shape" | null;
455
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
468
+ openMenu: "canvas" | null;
469
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
456
470
  openSidebar: {
457
471
  name: string;
458
472
  tab?: string | undefined;
@@ -553,6 +567,7 @@ export declare const actionupdateFrameRendering: {
553
567
  lockedMultiSelections: {
554
568
  [groupId: string]: true;
555
569
  };
570
+ stylesPanelMode: "compact" | "full" | "mobile";
556
571
  };
557
572
  captureUpdate: "EVENTUALLY";
558
573
  };
@@ -605,6 +620,10 @@ export declare const actionSetFrameAsActiveTool: {
605
620
  editingFrame: string | null;
606
621
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
607
622
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
623
+ preferredSelectionTool: {
624
+ type: "selection" | "lasso";
625
+ initialized: boolean;
626
+ };
608
627
  penMode: boolean;
609
628
  penDetected: boolean;
610
629
  exportBackground: boolean;
@@ -637,8 +656,8 @@ export declare const actionSetFrameAsActiveTool: {
637
656
  zoom: Readonly<{
638
657
  value: import("../types").NormalizedZoomValue;
639
658
  }>;
640
- openMenu: "canvas" | "shape" | null;
641
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
659
+ openMenu: "canvas" | null;
660
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
642
661
  openSidebar: {
643
662
  name: string;
644
663
  tab?: string | undefined;
@@ -739,6 +758,7 @@ export declare const actionSetFrameAsActiveTool: {
739
758
  lockedMultiSelections: {
740
759
  [groupId: string]: true;
741
760
  };
761
+ stylesPanelMode: "compact" | "full" | "mobile";
742
762
  };
743
763
  captureUpdate: "EVENTUALLY";
744
764
  };