@zsviczian/excalidraw 0.18.0-40 → 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
@@ -1,449 +1,3 @@
1
- export declare const actionToggleCanvasMenu: {
2
- name: "toggleCanvasMenu";
3
- label: string;
4
- trackEvent: {
5
- category: "menu";
6
- };
7
- perform: (_: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>) => {
8
- appState: {
9
- openMenu: "canvas" | null;
10
- contextMenu: {
11
- items: import("../components/ContextMenu").ContextMenuItems;
12
- top: number;
13
- left: number;
14
- } | null;
15
- showWelcomeScreen: boolean;
16
- isLoading: boolean;
17
- errorMessage: import("react").ReactNode;
18
- activeEmbeddable: {
19
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
20
- state: "active" | "hover";
21
- } | null;
22
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
23
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
24
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
25
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
26
- isBindingEnabled: boolean;
27
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
28
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
29
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
30
- frameRendering: {
31
- enabled: boolean;
32
- name: boolean;
33
- outline: boolean;
34
- clip: boolean;
35
- markerName: boolean;
36
- markerEnabled: boolean;
37
- };
38
- editingFrame: string | null;
39
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
40
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
41
- activeTool: {
42
- lastActiveTool: import("../types").ActiveTool | null;
43
- locked: boolean;
44
- fromSelection: boolean;
45
- } & import("../types").ActiveTool;
46
- penMode: boolean;
47
- penDetected: boolean;
48
- exportBackground: boolean;
49
- exportEmbedScene: boolean;
50
- exportWithDarkMode: boolean;
51
- exportScale: number;
52
- currentItemStrokeColor: string;
53
- currentItemBackgroundColor: string;
54
- currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
55
- currentItemStrokeWidth: number;
56
- currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
57
- currentItemRoughness: number;
58
- currentItemOpacity: number;
59
- currentItemFontFamily: number;
60
- currentItemFontSize: number;
61
- currentItemTextAlign: string;
62
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
63
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
64
- currentHoveredFontFamily: number | null;
65
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
66
- currentItemArrowType: "round" | "sharp" | "elbow";
67
- currentItemFrameRole: ("marker" | null) | undefined;
68
- viewBackgroundColor: string;
69
- scrollX: number;
70
- scrollY: number;
71
- cursorButton: "up" | "down";
72
- scrolledOutside: boolean;
73
- name: string | null;
74
- isResizing: boolean;
75
- isRotating: boolean;
76
- zoom: Readonly<{
77
- value: import("../types").NormalizedZoomValue;
78
- }>;
79
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
80
- openSidebar: {
81
- name: string;
82
- tab?: string | undefined;
83
- } | null;
84
- openDialog: {
85
- name: "help" | "imageExport" | "jsonExport";
86
- } | {
87
- name: "ttd";
88
- tab: "mermaid" | "text-to-diagram";
89
- } | {
90
- name: "commandPalette";
91
- } | {
92
- name: "elementLinkSelector";
93
- sourceElementId: string;
94
- } | null;
95
- defaultSidebarDockedPreference: boolean;
96
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
97
- selectedElementIds: Readonly<{
98
- [id: string]: true;
99
- }>;
100
- hoveredElementIds: Readonly<{
101
- [id: string]: true;
102
- }>;
103
- previousSelectedElementIds: {
104
- [id: string]: true;
105
- };
106
- selectedElementsAreBeingDragged: boolean;
107
- shouldCacheIgnoreZoom: boolean;
108
- toast: {
109
- message: string;
110
- closable?: boolean | undefined;
111
- duration?: number | undefined;
112
- } | null;
113
- zenModeEnabled: boolean;
114
- theme: import("@excalidraw/element/types").Theme;
115
- gridSize: number;
116
- gridStep: number;
117
- gridModeEnabled: boolean;
118
- viewModeEnabled: boolean;
119
- selectedGroupIds: {
120
- [groupId: string]: boolean;
121
- };
122
- editingGroupId: string | null;
123
- width: number;
124
- height: number;
125
- offsetTop: number;
126
- offsetLeft: number;
127
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
128
- collaborators: Map<import("../types").SocketId, Readonly<{
129
- pointer?: import("../types").CollaboratorPointer | undefined;
130
- button?: "up" | "down" | undefined;
131
- selectedElementIds?: Readonly<{
132
- [id: string]: true;
133
- }> | undefined;
134
- username?: string | null | undefined;
135
- userState?: import("@excalidraw/common").UserIdleState | undefined;
136
- color?: {
137
- background: string;
138
- stroke: string;
139
- } | undefined;
140
- avatarUrl?: string | undefined;
141
- id?: string | undefined;
142
- socketId?: import("../types").SocketId | undefined;
143
- isCurrentUser?: boolean | undefined;
144
- isInCall?: boolean | undefined;
145
- isSpeaking?: boolean | undefined;
146
- isMuted?: boolean | undefined;
147
- }>>;
148
- stats: {
149
- open: boolean;
150
- panels: number;
151
- };
152
- currentChartType: import("@excalidraw/element/types").ChartType;
153
- pasteDialog: {
154
- shown: false;
155
- data: null;
156
- } | {
157
- shown: true;
158
- data: import("../charts").Spreadsheet;
159
- };
160
- showHyperlinkPopup: false | "editor" | "info";
161
- linkOpacity: number;
162
- trayModeEnabled: boolean;
163
- colorPalette?: {
164
- canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
165
- elementBackground: import("@excalidraw/common").ColorPaletteCustom;
166
- elementStroke: import("@excalidraw/common").ColorPaletteCustom;
167
- topPicks: {
168
- canvasBackground: [string, string, string, string, string];
169
- elementStroke: [string, string, string, string, string];
170
- elementBackground: [string, string, string, string, string];
171
- };
172
- } | undefined;
173
- allowWheelZoom?: boolean | undefined;
174
- allowPinchZoom?: boolean | undefined;
175
- pinnedScripts?: string[] | undefined;
176
- customPens?: any[] | undefined;
177
- currentStrokeOptions?: any;
178
- resetCustomPen?: any;
179
- gridColor: {
180
- Bold: string;
181
- Regular: string;
182
- };
183
- gridDirection: {
184
- horizontal: boolean;
185
- vertical: boolean;
186
- };
187
- highlightSearchResult: boolean;
188
- dynamicStyle: {
189
- [x: string]: string;
190
- };
191
- frameColor: {
192
- stroke: string;
193
- fill: string;
194
- nameColor: string;
195
- };
196
- invertBindingBehaviour: boolean;
197
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
198
- snapLines: readonly import("../snapping").SnapLine[];
199
- originSnapOffset: {
200
- x: number;
201
- y: number;
202
- } | null;
203
- objectsSnapModeEnabled: boolean;
204
- userToFollow: import("../types").UserToFollow | null;
205
- followedBy: Set<import("../types").SocketId>;
206
- isCropping: boolean;
207
- croppingElementId: string | null;
208
- searchMatches: Readonly<{
209
- focusedId: string | null;
210
- matches: readonly import("../types").SearchMatch[];
211
- }> | null;
212
- activeLockedId: string | null;
213
- lockedMultiSelections: {
214
- [groupId: string]: true;
215
- };
216
- stylesPanelMode: "compact" | "full";
217
- };
218
- captureUpdate: "EVENTUALLY";
219
- };
220
- PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
221
- } & {
222
- keyTest?: undefined;
223
- };
224
- export declare const actionToggleEditMenu: {
225
- name: "toggleEditMenu";
226
- label: string;
227
- trackEvent: {
228
- category: "menu";
229
- };
230
- perform: (_elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>) => {
231
- appState: {
232
- openMenu: "shape" | null;
233
- contextMenu: {
234
- items: import("../components/ContextMenu").ContextMenuItems;
235
- top: number;
236
- left: number;
237
- } | null;
238
- showWelcomeScreen: boolean;
239
- isLoading: boolean;
240
- errorMessage: import("react").ReactNode;
241
- activeEmbeddable: {
242
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
243
- state: "active" | "hover";
244
- } | null;
245
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
246
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
247
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
248
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
249
- isBindingEnabled: boolean;
250
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
251
- suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
252
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
253
- frameRendering: {
254
- enabled: boolean;
255
- name: boolean;
256
- outline: boolean;
257
- clip: boolean;
258
- markerName: boolean;
259
- markerEnabled: boolean;
260
- };
261
- editingFrame: string | null;
262
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawElement>[] | null;
263
- editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
264
- activeTool: {
265
- lastActiveTool: import("../types").ActiveTool | null;
266
- locked: boolean;
267
- fromSelection: boolean;
268
- } & import("../types").ActiveTool;
269
- penMode: boolean;
270
- penDetected: boolean;
271
- exportBackground: boolean;
272
- exportEmbedScene: boolean;
273
- exportWithDarkMode: boolean;
274
- exportScale: number;
275
- currentItemStrokeColor: string;
276
- currentItemBackgroundColor: string;
277
- currentItemFillStyle: import("@excalidraw/element/types").FillStyle;
278
- currentItemStrokeWidth: number;
279
- currentItemStrokeStyle: import("@excalidraw/element/types").StrokeStyle;
280
- currentItemRoughness: number;
281
- currentItemOpacity: number;
282
- currentItemFontFamily: number;
283
- currentItemFontSize: number;
284
- currentItemTextAlign: string;
285
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
286
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
287
- currentHoveredFontFamily: number | null;
288
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
289
- currentItemArrowType: "round" | "sharp" | "elbow";
290
- currentItemFrameRole: ("marker" | null) | undefined;
291
- viewBackgroundColor: string;
292
- scrollX: number;
293
- scrollY: number;
294
- cursorButton: "up" | "down";
295
- scrolledOutside: boolean;
296
- name: string | null;
297
- isResizing: boolean;
298
- isRotating: boolean;
299
- zoom: Readonly<{
300
- value: import("../types").NormalizedZoomValue;
301
- }>;
302
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
303
- openSidebar: {
304
- name: string;
305
- tab?: string | undefined;
306
- } | null;
307
- openDialog: {
308
- name: "help" | "imageExport" | "jsonExport";
309
- } | {
310
- name: "ttd";
311
- tab: "mermaid" | "text-to-diagram";
312
- } | {
313
- name: "commandPalette";
314
- } | {
315
- name: "elementLinkSelector";
316
- sourceElementId: string;
317
- } | null;
318
- defaultSidebarDockedPreference: boolean;
319
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
320
- selectedElementIds: Readonly<{
321
- [id: string]: true;
322
- }>;
323
- hoveredElementIds: Readonly<{
324
- [id: string]: true;
325
- }>;
326
- previousSelectedElementIds: {
327
- [id: string]: true;
328
- };
329
- selectedElementsAreBeingDragged: boolean;
330
- shouldCacheIgnoreZoom: boolean;
331
- toast: {
332
- message: string;
333
- closable?: boolean | undefined;
334
- duration?: number | undefined;
335
- } | null;
336
- zenModeEnabled: boolean;
337
- theme: import("@excalidraw/element/types").Theme;
338
- gridSize: number;
339
- gridStep: number;
340
- gridModeEnabled: boolean;
341
- viewModeEnabled: boolean;
342
- selectedGroupIds: {
343
- [groupId: string]: boolean;
344
- };
345
- editingGroupId: string | null;
346
- width: number;
347
- height: number;
348
- offsetTop: number;
349
- offsetLeft: number;
350
- fileHandle: import("browser-fs-access").FileSystemHandle | null;
351
- collaborators: Map<import("../types").SocketId, Readonly<{
352
- pointer?: import("../types").CollaboratorPointer | undefined;
353
- button?: "up" | "down" | undefined;
354
- selectedElementIds?: Readonly<{
355
- [id: string]: true;
356
- }> | undefined;
357
- username?: string | null | undefined;
358
- userState?: import("@excalidraw/common").UserIdleState | undefined;
359
- color?: {
360
- background: string;
361
- stroke: string;
362
- } | undefined;
363
- avatarUrl?: string | undefined;
364
- id?: string | undefined;
365
- socketId?: import("../types").SocketId | undefined;
366
- isCurrentUser?: boolean | undefined;
367
- isInCall?: boolean | undefined;
368
- isSpeaking?: boolean | undefined;
369
- isMuted?: boolean | undefined;
370
- }>>;
371
- stats: {
372
- open: boolean;
373
- panels: number;
374
- };
375
- currentChartType: import("@excalidraw/element/types").ChartType;
376
- pasteDialog: {
377
- shown: false;
378
- data: null;
379
- } | {
380
- shown: true;
381
- data: import("../charts").Spreadsheet;
382
- };
383
- showHyperlinkPopup: false | "editor" | "info";
384
- linkOpacity: number;
385
- trayModeEnabled: boolean;
386
- colorPalette?: {
387
- canvasBackground: import("@excalidraw/common").ColorPaletteCustom;
388
- elementBackground: import("@excalidraw/common").ColorPaletteCustom;
389
- elementStroke: import("@excalidraw/common").ColorPaletteCustom;
390
- topPicks: {
391
- canvasBackground: [string, string, string, string, string];
392
- elementStroke: [string, string, string, string, string];
393
- elementBackground: [string, string, string, string, string];
394
- };
395
- } | undefined;
396
- allowWheelZoom?: boolean | undefined;
397
- allowPinchZoom?: boolean | undefined;
398
- pinnedScripts?: string[] | undefined;
399
- customPens?: any[] | undefined;
400
- currentStrokeOptions?: any;
401
- resetCustomPen?: any;
402
- gridColor: {
403
- Bold: string;
404
- Regular: string;
405
- };
406
- gridDirection: {
407
- horizontal: boolean;
408
- vertical: boolean;
409
- };
410
- highlightSearchResult: boolean;
411
- dynamicStyle: {
412
- [x: string]: string;
413
- };
414
- frameColor: {
415
- stroke: string;
416
- fill: string;
417
- nameColor: string;
418
- };
419
- invertBindingBehaviour: boolean;
420
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
421
- snapLines: readonly import("../snapping").SnapLine[];
422
- originSnapOffset: {
423
- x: number;
424
- y: number;
425
- } | null;
426
- objectsSnapModeEnabled: boolean;
427
- userToFollow: import("../types").UserToFollow | null;
428
- followedBy: Set<import("../types").SocketId>;
429
- isCropping: boolean;
430
- croppingElementId: string | null;
431
- searchMatches: Readonly<{
432
- focusedId: string | null;
433
- matches: readonly import("../types").SearchMatch[];
434
- }> | null;
435
- activeLockedId: string | null;
436
- lockedMultiSelections: {
437
- [groupId: string]: true;
438
- };
439
- stylesPanelMode: "compact" | "full";
440
- };
441
- captureUpdate: "EVENTUALLY";
442
- };
443
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
444
- } & {
445
- keyTest?: undefined;
446
- };
447
1
  export declare const actionShortcuts: {
448
2
  name: "toggleShortcuts";
449
3
  label: string;
@@ -458,6 +12,8 @@ export declare const actionShortcuts: {
458
12
  openDialog: {
459
13
  name: "help";
460
14
  } | null;
15
+ openMenu: null;
16
+ openPopup: null;
461
17
  contextMenu: {
462
18
  items: import("../components/ContextMenu").ContextMenuItems;
463
19
  top: number;
@@ -494,6 +50,10 @@ export declare const actionShortcuts: {
494
50
  locked: boolean;
495
51
  fromSelection: boolean;
496
52
  } & import("../types").ActiveTool;
53
+ preferredSelectionTool: {
54
+ type: "selection" | "lasso";
55
+ initialized: boolean;
56
+ };
497
57
  penMode: boolean;
498
58
  penDetected: boolean;
499
59
  exportBackground: boolean;
@@ -527,8 +87,6 @@ export declare const actionShortcuts: {
527
87
  zoom: Readonly<{
528
88
  value: import("../types").NormalizedZoomValue;
529
89
  }>;
530
- openMenu: "canvas" | "shape" | null;
531
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
532
90
  openSidebar: {
533
91
  name: string;
534
92
  tab?: string | undefined;
@@ -654,7 +212,7 @@ export declare const actionShortcuts: {
654
212
  lockedMultiSelections: {
655
213
  [groupId: string]: true;
656
214
  };
657
- stylesPanelMode: "compact" | "full";
215
+ stylesPanelMode: "compact" | "full" | "mobile" | "tray";
658
216
  };
659
217
  captureUpdate: "EVENTUALLY";
660
218
  };
@@ -45,6 +45,10 @@ export declare const actionGoToCollaborator: {
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;
@@ -215,7 +219,7 @@ export declare const actionGoToCollaborator: {
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
  } | {
@@ -261,6 +265,10 @@ export declare const actionGoToCollaborator: {
261
265
  locked: boolean;
262
266
  fromSelection: boolean;
263
267
  } & import("../types").ActiveTool;
268
+ preferredSelectionTool: {
269
+ type: "selection" | "lasso";
270
+ initialized: boolean;
271
+ };
264
272
  penMode: boolean;
265
273
  penDetected: boolean;
266
274
  exportBackground: boolean;
@@ -430,7 +438,7 @@ export declare const actionGoToCollaborator: {
430
438
  lockedMultiSelections: {
431
439
  [groupId: string]: true;
432
440
  };
433
- stylesPanelMode: "compact" | "full";
441
+ stylesPanelMode: "compact" | "full" | "mobile" | "tray";
434
442
  };
435
443
  captureUpdate: "EVENTUALLY";
436
444
  };