@zsviczian/excalidraw 0.15.2-obsidian-1 → 0.15.2-obsidian-2

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 (63) hide show
  1. package/dist/excalidraw.development.js +462 -198
  2. package/dist/excalidraw.production.min.js +1 -1
  3. package/package.json +1 -1
  4. package/types/actions/actionAddToLibrary.d.ts +15 -6
  5. package/types/actions/actionBoundText.d.ts +10 -4
  6. package/types/actions/actionCanvas.d.ts +50 -20
  7. package/types/actions/actionClipboard.d.ts +25 -10
  8. package/types/actions/actionDeleteSelected.d.ts +15 -6
  9. package/types/actions/actionExport.d.ts +45 -18
  10. package/types/actions/actionFinalize.d.ts +10 -4
  11. package/types/actions/actionLinearEditor.d.ts +5 -2
  12. package/types/actions/actionMenu.d.ts +15 -6
  13. package/types/actions/actionProperties.d.ts +65 -26
  14. package/types/actions/actionStyles.d.ts +5 -2
  15. package/types/actions/actionToggleGridMode.d.ts +5 -2
  16. package/types/actions/actionToggleLock.d.ts +5 -2
  17. package/types/actions/actionToggleStats.d.ts +5 -2
  18. package/types/actions/actionToggleViewMode.d.ts +5 -2
  19. package/types/actions/actionToggleZenMode.d.ts +5 -2
  20. package/types/appState.d.ts +5 -2
  21. package/types/clipboard.d.ts +2 -2
  22. package/types/components/Actions.d.ts +5 -5
  23. package/types/components/App.d.ts +10 -3
  24. package/types/components/Button.d.ts +3 -1
  25. package/types/components/DefaultSidebar.d.ts +30 -0
  26. package/types/components/HintViewer.d.ts +2 -2
  27. package/types/components/ImageExportDialog.d.ts +4 -4
  28. package/types/components/JSONExportDialog.d.ts +3 -3
  29. package/types/components/LayerUI.d.ts +3 -10
  30. package/types/components/LibraryMenu.d.ts +32 -13
  31. package/types/components/LibraryMenuBrowseButton.d.ts +2 -2
  32. package/types/components/LibraryMenuControlButtons.d.ts +9 -0
  33. package/types/components/LibraryMenuHeaderContent.d.ts +9 -28
  34. package/types/components/LibraryMenuItems.d.ts +2 -2
  35. package/types/components/MobileMenu.d.ts +3 -3
  36. package/types/components/PasteChartDialog.d.ts +4 -5
  37. package/types/components/PublishLibrary.d.ts +2 -2
  38. package/types/components/Sidebar/Sidebar.d.ts +68 -45
  39. package/types/components/Sidebar/SidebarHeader.d.ts +6 -19
  40. package/types/components/Sidebar/SidebarTab.d.ts +9 -0
  41. package/types/components/Sidebar/SidebarTabTrigger.d.ts +10 -0
  42. package/types/components/Sidebar/SidebarTabTriggers.d.ts +7 -0
  43. package/types/components/Sidebar/SidebarTabs.d.ts +7 -0
  44. package/types/components/Sidebar/SidebarTrigger.d.ts +6 -0
  45. package/types/components/Sidebar/common.d.ts +23 -6
  46. package/types/components/Stats.d.ts +3 -3
  47. package/types/components/Trans.d.ts +8 -0
  48. package/types/components/footer/Footer.d.ts +2 -2
  49. package/types/constants.d.ts +5 -0
  50. package/types/context/tunnels.d.ts +18 -0
  51. package/types/context/ui-appState.d.ts +4 -0
  52. package/types/data/types.d.ts +2 -4
  53. package/types/element/Hyperlink.d.ts +7 -4
  54. package/types/element/linearElementEditor.d.ts +5 -2
  55. package/types/element/newElement.d.ts +6 -1
  56. package/types/element/showSelectedShapeActions.d.ts +2 -2
  57. package/types/element/textElement.d.ts +2 -2
  58. package/types/hooks/useOutsideClick.d.ts +1 -1
  59. package/types/packages/excalidraw/index.d.ts +2 -1
  60. package/types/packages/utils.d.ts +1 -1
  61. package/types/scene/selection.d.ts +4 -4
  62. package/types/types.d.ts +23 -12
  63. package/types/utils.d.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zsviczian/excalidraw",
3
- "version": "0.15.2-obsidian-1",
3
+ "version": "0.15.2-obsidian-2",
4
4
  "main": "main.js",
5
5
  "types": "types/packages/excalidraw/index.d.ts",
6
6
  "files": [
@@ -69,9 +69,12 @@ export declare const actionAddToLibrary: {
69
69
  }>;
70
70
  openMenu: "canvas" | "shape" | null;
71
71
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
72
- openSidebar: "library" | "customSidebar" | null;
72
+ openSidebar: {
73
+ name: string;
74
+ tab?: string | undefined;
75
+ } | null;
73
76
  openDialog: "imageExport" | "help" | "jsonExport" | null;
74
- isSidebarDocked: boolean;
77
+ defaultSidebarDockedPreference: boolean;
75
78
  lastPointerDownWith: import("../element/types").PointerType;
76
79
  selectedElementIds: {
77
80
  [id: string]: boolean;
@@ -186,9 +189,12 @@ export declare const actionAddToLibrary: {
186
189
  }>;
187
190
  openMenu: "canvas" | "shape" | null;
188
191
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
189
- openSidebar: "library" | "customSidebar" | null;
192
+ openSidebar: {
193
+ name: string;
194
+ tab?: string | undefined;
195
+ } | null;
190
196
  openDialog: "imageExport" | "help" | "jsonExport" | null;
191
- isSidebarDocked: boolean;
197
+ defaultSidebarDockedPreference: boolean;
192
198
  lastPointerDownWith: import("../element/types").PointerType;
193
199
  selectedElementIds: {
194
200
  [id: string]: boolean;
@@ -308,9 +314,12 @@ export declare const actionAddToLibrary: {
308
314
  }>;
309
315
  openMenu: "canvas" | "shape" | null;
310
316
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
311
- openSidebar: "library" | "customSidebar" | null;
317
+ openSidebar: {
318
+ name: string;
319
+ tab?: string | undefined;
320
+ } | null;
312
321
  openDialog: "imageExport" | "help" | "jsonExport" | null;
313
- isSidebarDocked: boolean;
322
+ defaultSidebarDockedPreference: boolean;
314
323
  lastPointerDownWith: import("../element/types").PointerType;
315
324
  selectedElementIds: {
316
325
  [id: string]: boolean;
@@ -88,9 +88,12 @@ export declare const actionBindText: {
88
88
  }>;
89
89
  openMenu: "canvas" | "shape" | null;
90
90
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
91
- openSidebar: "library" | "customSidebar" | null;
91
+ openSidebar: {
92
+ name: string;
93
+ tab?: string | undefined;
94
+ } | null;
92
95
  openDialog: "imageExport" | "help" | "jsonExport" | null;
93
- isSidebarDocked: boolean;
96
+ defaultSidebarDockedPreference: boolean;
94
97
  lastPointerDownWith: import("../element/types").PointerType;
95
98
  previousSelectedElementIds: {
96
99
  [id: string]: boolean;
@@ -222,9 +225,12 @@ export declare const actionWrapTextInContainer: {
222
225
  }>;
223
226
  openMenu: "canvas" | "shape" | null;
224
227
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
225
- openSidebar: "library" | "customSidebar" | null;
228
+ openSidebar: {
229
+ name: string;
230
+ tab?: string | undefined;
231
+ } | null;
226
232
  openDialog: "imageExport" | "help" | "jsonExport" | null;
227
- isSidebarDocked: boolean;
233
+ defaultSidebarDockedPreference: boolean;
228
234
  lastPointerDownWith: import("../element/types").PointerType;
229
235
  previousSelectedElementIds: {
230
236
  [id: string]: boolean;
@@ -102,9 +102,12 @@ export declare const actionClearCanvas: {
102
102
  }>;
103
103
  openMenu: "canvas" | "shape" | null;
104
104
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
105
- openSidebar: "library" | "customSidebar" | null;
105
+ openSidebar: {
106
+ name: string;
107
+ tab?: string | undefined;
108
+ } | null;
106
109
  openDialog: "imageExport" | "help" | "jsonExport" | null;
107
- isSidebarDocked: boolean;
110
+ defaultSidebarDockedPreference: boolean;
108
111
  lastPointerDownWith: import("../element/types").PointerType;
109
112
  selectedElementIds: {
110
113
  [id: string]: boolean;
@@ -210,9 +213,12 @@ export declare const actionZoomIn: {
210
213
  isRotating: boolean;
211
214
  openMenu: "canvas" | "shape" | null;
212
215
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
213
- openSidebar: "library" | "customSidebar" | null;
216
+ openSidebar: {
217
+ name: string;
218
+ tab?: string | undefined;
219
+ } | null;
214
220
  openDialog: "imageExport" | "help" | "jsonExport" | null;
215
- isSidebarDocked: boolean;
221
+ defaultSidebarDockedPreference: boolean;
216
222
  lastPointerDownWith: import("../element/types").PointerType;
217
223
  selectedElementIds: {
218
224
  [id: string]: boolean;
@@ -344,9 +350,12 @@ export declare const actionZoomOut: {
344
350
  isRotating: boolean;
345
351
  openMenu: "canvas" | "shape" | null;
346
352
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
347
- openSidebar: "library" | "customSidebar" | null;
353
+ openSidebar: {
354
+ name: string;
355
+ tab?: string | undefined;
356
+ } | null;
348
357
  openDialog: "imageExport" | "help" | "jsonExport" | null;
349
- isSidebarDocked: boolean;
358
+ defaultSidebarDockedPreference: boolean;
350
359
  lastPointerDownWith: import("../element/types").PointerType;
351
360
  selectedElementIds: {
352
361
  [id: string]: boolean;
@@ -478,9 +487,12 @@ export declare const actionResetZoom: {
478
487
  isRotating: boolean;
479
488
  openMenu: "canvas" | "shape" | null;
480
489
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
481
- openSidebar: "library" | "customSidebar" | null;
490
+ openSidebar: {
491
+ name: string;
492
+ tab?: string | undefined;
493
+ } | null;
482
494
  openDialog: "imageExport" | "help" | "jsonExport" | null;
483
- isSidebarDocked: boolean;
495
+ defaultSidebarDockedPreference: boolean;
484
496
  lastPointerDownWith: import("../element/types").PointerType;
485
497
  selectedElementIds: {
486
498
  [id: string]: boolean;
@@ -606,9 +618,12 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
606
618
  isRotating: boolean;
607
619
  openMenu: "canvas" | "shape" | null;
608
620
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
609
- openSidebar: "library" | "customSidebar" | null;
621
+ openSidebar: {
622
+ name: string;
623
+ tab?: string | undefined;
624
+ } | null;
610
625
  openDialog: "imageExport" | "help" | "jsonExport" | null;
611
- isSidebarDocked: boolean;
626
+ defaultSidebarDockedPreference: boolean;
612
627
  lastPointerDownWith: import("../element/types").PointerType;
613
628
  selectedElementIds: {
614
629
  [id: string]: boolean;
@@ -734,9 +749,12 @@ export declare const actionZoomToSelected: {
734
749
  isRotating: boolean;
735
750
  openMenu: "canvas" | "shape" | null;
736
751
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
737
- openSidebar: "library" | "customSidebar" | null;
752
+ openSidebar: {
753
+ name: string;
754
+ tab?: string | undefined;
755
+ } | null;
738
756
  openDialog: "imageExport" | "help" | "jsonExport" | null;
739
- isSidebarDocked: boolean;
757
+ defaultSidebarDockedPreference: boolean;
740
758
  lastPointerDownWith: import("../element/types").PointerType;
741
759
  selectedElementIds: {
742
760
  [id: string]: boolean;
@@ -867,9 +885,12 @@ export declare const actionZoomToFit: {
867
885
  isRotating: boolean;
868
886
  openMenu: "canvas" | "shape" | null;
869
887
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
870
- openSidebar: "library" | "customSidebar" | null;
888
+ openSidebar: {
889
+ name: string;
890
+ tab?: string | undefined;
891
+ } | null;
871
892
  openDialog: "imageExport" | "help" | "jsonExport" | null;
872
- isSidebarDocked: boolean;
893
+ defaultSidebarDockedPreference: boolean;
873
894
  lastPointerDownWith: import("../element/types").PointerType;
874
895
  selectedElementIds: {
875
896
  [id: string]: boolean;
@@ -1001,9 +1022,12 @@ export declare const actionToggleTheme: {
1001
1022
  }>;
1002
1023
  openMenu: "canvas" | "shape" | null;
1003
1024
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
1004
- openSidebar: "library" | "customSidebar" | null;
1025
+ openSidebar: {
1026
+ name: string;
1027
+ tab?: string | undefined;
1028
+ } | null;
1005
1029
  openDialog: "imageExport" | "help" | "jsonExport" | null;
1006
- isSidebarDocked: boolean;
1030
+ defaultSidebarDockedPreference: boolean;
1007
1031
  lastPointerDownWith: import("../element/types").PointerType;
1008
1032
  selectedElementIds: {
1009
1033
  [id: string]: boolean;
@@ -1135,9 +1159,12 @@ export declare const actionToggleEraserTool: {
1135
1159
  }>;
1136
1160
  openMenu: "canvas" | "shape" | null;
1137
1161
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
1138
- openSidebar: "library" | "customSidebar" | null;
1162
+ openSidebar: {
1163
+ name: string;
1164
+ tab?: string | undefined;
1165
+ } | null;
1139
1166
  openDialog: "imageExport" | "help" | "jsonExport" | null;
1140
- isSidebarDocked: boolean;
1167
+ defaultSidebarDockedPreference: boolean;
1141
1168
  lastPointerDownWith: import("../element/types").PointerType;
1142
1169
  previousSelectedElementIds: {
1143
1170
  [id: string]: boolean;
@@ -1263,9 +1290,12 @@ export declare const actionToggleHandTool: {
1263
1290
  }>;
1264
1291
  openMenu: "canvas" | "shape" | null;
1265
1292
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
1266
- openSidebar: "library" | "customSidebar" | null;
1293
+ openSidebar: {
1294
+ name: string;
1295
+ tab?: string | undefined;
1296
+ } | null;
1267
1297
  openDialog: "imageExport" | "help" | "jsonExport" | null;
1268
- isSidebarDocked: boolean;
1298
+ defaultSidebarDockedPreference: boolean;
1269
1299
  lastPointerDownWith: import("../element/types").PointerType;
1270
1300
  previousSelectedElementIds: {
1271
1301
  [id: string]: boolean;
@@ -94,9 +94,12 @@ export declare const actionCut: {
94
94
  }>;
95
95
  openMenu: "canvas" | "shape" | null;
96
96
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
97
- openSidebar: "library" | "customSidebar" | null;
97
+ openSidebar: {
98
+ name: string;
99
+ tab?: string | undefined;
100
+ } | null;
98
101
  openDialog: "imageExport" | "help" | "jsonExport" | null;
99
- isSidebarDocked: boolean;
102
+ defaultSidebarDockedPreference: boolean;
100
103
  lastPointerDownWith: import("../element/types").PointerType;
101
104
  selectedElementIds: {
102
105
  [id: string]: boolean;
@@ -245,9 +248,12 @@ export declare const actionCut: {
245
248
  }>;
246
249
  openMenu: "canvas" | "shape" | null;
247
250
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
248
- openSidebar: "library" | "customSidebar" | null;
251
+ openSidebar: {
252
+ name: string;
253
+ tab?: string | undefined;
254
+ } | null;
249
255
  openDialog: "imageExport" | "help" | "jsonExport" | null;
250
- isSidebarDocked: boolean;
256
+ defaultSidebarDockedPreference: boolean;
251
257
  lastPointerDownWith: import("../element/types").PointerType;
252
258
  selectedElementIds: {
253
259
  [id: string]: boolean;
@@ -369,9 +375,12 @@ export declare const actionCut: {
369
375
  }>;
370
376
  openMenu: "canvas" | "shape" | null;
371
377
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
372
- openSidebar: "library" | "customSidebar" | null;
378
+ openSidebar: {
379
+ name: string;
380
+ tab?: string | undefined;
381
+ } | null;
373
382
  openDialog: "imageExport" | "help" | "jsonExport" | null;
374
- isSidebarDocked: boolean;
383
+ defaultSidebarDockedPreference: boolean;
375
384
  lastPointerDownWith: import("../element/types").PointerType;
376
385
  previousSelectedElementIds: {
377
386
  [id: string]: boolean;
@@ -503,9 +512,12 @@ export declare const actionCopyAsSvg: {
503
512
  }>;
504
513
  openMenu: "canvas" | "shape" | null;
505
514
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
506
- openSidebar: "library" | "customSidebar" | null;
515
+ openSidebar: {
516
+ name: string;
517
+ tab?: string | undefined;
518
+ } | null;
507
519
  openDialog: "imageExport" | "help" | "jsonExport" | null;
508
- isSidebarDocked: boolean;
520
+ defaultSidebarDockedPreference: boolean;
509
521
  lastPointerDownWith: import("../element/types").PointerType;
510
522
  selectedElementIds: {
511
523
  [id: string]: boolean;
@@ -639,9 +651,12 @@ export declare const actionCopyAsPng: {
639
651
  }>;
640
652
  openMenu: "canvas" | "shape" | null;
641
653
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
642
- openSidebar: "library" | "customSidebar" | null;
654
+ openSidebar: {
655
+ name: string;
656
+ tab?: string | undefined;
657
+ } | null;
643
658
  openDialog: "imageExport" | "help" | "jsonExport" | null;
644
- isSidebarDocked: boolean;
659
+ defaultSidebarDockedPreference: boolean;
645
660
  lastPointerDownWith: import("../element/types").PointerType;
646
661
  selectedElementIds: {
647
662
  [id: string]: boolean;
@@ -70,9 +70,12 @@ export declare const actionDeleteSelected: {
70
70
  }>;
71
71
  openMenu: "canvas" | "shape" | null;
72
72
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
73
- openSidebar: "library" | "customSidebar" | null;
73
+ openSidebar: {
74
+ name: string;
75
+ tab?: string | undefined;
76
+ } | null;
74
77
  openDialog: "imageExport" | "help" | "jsonExport" | null;
75
- isSidebarDocked: boolean;
78
+ defaultSidebarDockedPreference: boolean;
76
79
  lastPointerDownWith: import("../element/types").PointerType;
77
80
  selectedElementIds: {
78
81
  [id: string]: boolean;
@@ -221,9 +224,12 @@ export declare const actionDeleteSelected: {
221
224
  }>;
222
225
  openMenu: "canvas" | "shape" | null;
223
226
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
224
- openSidebar: "library" | "customSidebar" | null;
227
+ openSidebar: {
228
+ name: string;
229
+ tab?: string | undefined;
230
+ } | null;
225
231
  openDialog: "imageExport" | "help" | "jsonExport" | null;
226
- isSidebarDocked: boolean;
232
+ defaultSidebarDockedPreference: boolean;
227
233
  lastPointerDownWith: import("../element/types").PointerType;
228
234
  selectedElementIds: {
229
235
  [id: string]: boolean;
@@ -345,9 +351,12 @@ export declare const actionDeleteSelected: {
345
351
  }>;
346
352
  openMenu: "canvas" | "shape" | null;
347
353
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
348
- openSidebar: "library" | "customSidebar" | null;
354
+ openSidebar: {
355
+ name: string;
356
+ tab?: string | undefined;
357
+ } | null;
349
358
  openDialog: "imageExport" | "help" | "jsonExport" | null;
350
- isSidebarDocked: boolean;
359
+ defaultSidebarDockedPreference: boolean;
351
360
  lastPointerDownWith: import("../element/types").PointerType;
352
361
  previousSelectedElementIds: {
353
362
  [id: string]: boolean;
@@ -64,9 +64,12 @@ export declare const actionChangeProjectName: {
64
64
  }>;
65
65
  openMenu: "canvas" | "shape" | null;
66
66
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
67
- openSidebar: "library" | "customSidebar" | null;
67
+ openSidebar: {
68
+ name: string;
69
+ tab?: string | undefined;
70
+ } | null;
68
71
  openDialog: "imageExport" | "help" | "jsonExport" | null;
69
- isSidebarDocked: boolean;
72
+ defaultSidebarDockedPreference: boolean;
70
73
  lastPointerDownWith: import("../element/types").PointerType;
71
74
  selectedElementIds: {
72
75
  [id: string]: boolean;
@@ -197,9 +200,12 @@ export declare const actionChangeExportScale: {
197
200
  }>;
198
201
  openMenu: "canvas" | "shape" | null;
199
202
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
200
- openSidebar: "library" | "customSidebar" | null;
203
+ openSidebar: {
204
+ name: string;
205
+ tab?: string | undefined;
206
+ } | null;
201
207
  openDialog: "imageExport" | "help" | "jsonExport" | null;
202
- isSidebarDocked: boolean;
208
+ defaultSidebarDockedPreference: boolean;
203
209
  lastPointerDownWith: import("../element/types").PointerType;
204
210
  selectedElementIds: {
205
211
  [id: string]: boolean;
@@ -330,9 +336,12 @@ export declare const actionChangeExportBackground: {
330
336
  }>;
331
337
  openMenu: "canvas" | "shape" | null;
332
338
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
333
- openSidebar: "library" | "customSidebar" | null;
339
+ openSidebar: {
340
+ name: string;
341
+ tab?: string | undefined;
342
+ } | null;
334
343
  openDialog: "imageExport" | "help" | "jsonExport" | null;
335
- isSidebarDocked: boolean;
344
+ defaultSidebarDockedPreference: boolean;
336
345
  lastPointerDownWith: import("../element/types").PointerType;
337
346
  selectedElementIds: {
338
347
  [id: string]: boolean;
@@ -463,9 +472,12 @@ export declare const actionChangeExportEmbedScene: {
463
472
  }>;
464
473
  openMenu: "canvas" | "shape" | null;
465
474
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
466
- openSidebar: "library" | "customSidebar" | null;
475
+ openSidebar: {
476
+ name: string;
477
+ tab?: string | undefined;
478
+ } | null;
467
479
  openDialog: "imageExport" | "help" | "jsonExport" | null;
468
- isSidebarDocked: boolean;
480
+ defaultSidebarDockedPreference: boolean;
469
481
  lastPointerDownWith: import("../element/types").PointerType;
470
482
  selectedElementIds: {
471
483
  [id: string]: boolean;
@@ -601,9 +613,12 @@ export declare const actionSaveToActiveFile: {
601
613
  }>;
602
614
  openMenu: "canvas" | "shape" | null;
603
615
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
604
- openSidebar: "library" | "customSidebar" | null;
616
+ openSidebar: {
617
+ name: string;
618
+ tab?: string | undefined;
619
+ } | null;
605
620
  openDialog: "imageExport" | "help" | "jsonExport" | null;
606
- isSidebarDocked: boolean;
621
+ defaultSidebarDockedPreference: boolean;
607
622
  lastPointerDownWith: import("../element/types").PointerType;
608
623
  selectedElementIds: {
609
624
  [id: string]: boolean;
@@ -732,9 +747,12 @@ export declare const actionSaveFileToDisk: {
732
747
  }>;
733
748
  openMenu: "canvas" | "shape" | null;
734
749
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
735
- openSidebar: "library" | "customSidebar" | null;
750
+ openSidebar: {
751
+ name: string;
752
+ tab?: string | undefined;
753
+ } | null;
736
754
  openDialog: "imageExport" | "help" | "jsonExport" | null;
737
- isSidebarDocked: boolean;
755
+ defaultSidebarDockedPreference: boolean;
738
756
  lastPointerDownWith: import("../element/types").PointerType;
739
757
  selectedElementIds: {
740
758
  [id: string]: boolean;
@@ -869,9 +887,12 @@ export declare const actionLoadScene: {
869
887
  }>;
870
888
  openMenu: "canvas" | "shape" | null;
871
889
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
872
- openSidebar: "library" | "customSidebar" | null;
890
+ openSidebar: {
891
+ name: string;
892
+ tab?: string | undefined;
893
+ } | null;
873
894
  openDialog: "imageExport" | "help" | "jsonExport" | null;
874
- isSidebarDocked: boolean;
895
+ defaultSidebarDockedPreference: boolean;
875
896
  lastPointerDownWith: import("../element/types").PointerType;
876
897
  selectedElementIds: {
877
898
  [id: string]: boolean;
@@ -988,9 +1009,12 @@ export declare const actionLoadScene: {
988
1009
  }>;
989
1010
  openMenu: "canvas" | "shape" | null;
990
1011
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
991
- openSidebar: "library" | "customSidebar" | null;
1012
+ openSidebar: {
1013
+ name: string;
1014
+ tab?: string | undefined;
1015
+ } | null;
992
1016
  openDialog: "imageExport" | "help" | "jsonExport" | null;
993
- isSidebarDocked: boolean;
1017
+ defaultSidebarDockedPreference: boolean;
994
1018
  lastPointerDownWith: import("../element/types").PointerType;
995
1019
  selectedElementIds: {
996
1020
  [id: string]: boolean;
@@ -1122,9 +1146,12 @@ export declare const actionExportWithDarkMode: {
1122
1146
  }>;
1123
1147
  openMenu: "canvas" | "shape" | null;
1124
1148
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
1125
- openSidebar: "library" | "customSidebar" | null;
1149
+ openSidebar: {
1150
+ name: string;
1151
+ tab?: string | undefined;
1152
+ } | null;
1126
1153
  openDialog: "imageExport" | "help" | "jsonExport" | null;
1127
- isSidebarDocked: boolean;
1154
+ defaultSidebarDockedPreference: boolean;
1128
1155
  lastPointerDownWith: import("../element/types").PointerType;
1129
1156
  selectedElementIds: {
1130
1157
  [id: string]: boolean;
@@ -66,9 +66,12 @@ export declare const actionFinalize: {
66
66
  }>;
67
67
  openMenu: "canvas" | "shape" | null;
68
68
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
69
- openSidebar: "library" | "customSidebar" | null;
69
+ openSidebar: {
70
+ name: string;
71
+ tab?: string | undefined;
72
+ } | null;
70
73
  openDialog: "imageExport" | "help" | "jsonExport" | null;
71
- isSidebarDocked: boolean;
74
+ defaultSidebarDockedPreference: boolean;
72
75
  lastPointerDownWith: import("../element/types").PointerType;
73
76
  selectedElementIds: {
74
77
  [id: string]: boolean;
@@ -194,9 +197,12 @@ export declare const actionFinalize: {
194
197
  }>;
195
198
  openMenu: "canvas" | "shape" | null;
196
199
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
197
- openSidebar: "library" | "customSidebar" | null;
200
+ openSidebar: {
201
+ name: string;
202
+ tab?: string | undefined;
203
+ } | null;
198
204
  openDialog: "imageExport" | "help" | "jsonExport" | null;
199
- isSidebarDocked: boolean;
205
+ defaultSidebarDockedPreference: boolean;
200
206
  lastPointerDownWith: import("../element/types").PointerType;
201
207
  previousSelectedElementIds: {
202
208
  [id: string]: boolean;
@@ -68,9 +68,12 @@ export declare const actionToggleLinearEditor: {
68
68
  }>;
69
69
  openMenu: "canvas" | "shape" | null;
70
70
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
71
- openSidebar: "library" | "customSidebar" | null;
71
+ openSidebar: {
72
+ name: string;
73
+ tab?: string | undefined;
74
+ } | null;
72
75
  openDialog: "imageExport" | "help" | "jsonExport" | null;
73
- isSidebarDocked: boolean;
76
+ defaultSidebarDockedPreference: boolean;
74
77
  lastPointerDownWith: import("../element/types").PointerType;
75
78
  selectedElementIds: {
76
79
  [id: string]: boolean;
@@ -65,9 +65,12 @@ export declare const actionToggleCanvasMenu: {
65
65
  value: import("../types").NormalizedZoomValue;
66
66
  }>;
67
67
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
68
- openSidebar: "library" | "customSidebar" | null;
68
+ openSidebar: {
69
+ name: string;
70
+ tab?: string | undefined;
71
+ } | null;
69
72
  openDialog: "imageExport" | "help" | "jsonExport" | null;
70
- isSidebarDocked: boolean;
73
+ defaultSidebarDockedPreference: boolean;
71
74
  lastPointerDownWith: import("../element/types").PointerType;
72
75
  selectedElementIds: {
73
76
  [id: string]: boolean;
@@ -197,9 +200,12 @@ export declare const actionToggleEditMenu: {
197
200
  value: import("../types").NormalizedZoomValue;
198
201
  }>;
199
202
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
200
- openSidebar: "library" | "customSidebar" | null;
203
+ openSidebar: {
204
+ name: string;
205
+ tab?: string | undefined;
206
+ } | null;
201
207
  openDialog: "imageExport" | "help" | "jsonExport" | null;
202
- isSidebarDocked: boolean;
208
+ defaultSidebarDockedPreference: boolean;
203
209
  lastPointerDownWith: import("../element/types").PointerType;
204
210
  selectedElementIds: {
205
211
  [id: string]: boolean;
@@ -346,8 +352,11 @@ export declare const actionShortcuts: {
346
352
  }>;
347
353
  openMenu: "canvas" | "shape" | null;
348
354
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
349
- openSidebar: "library" | "customSidebar" | null;
350
- isSidebarDocked: boolean;
355
+ openSidebar: {
356
+ name: string;
357
+ tab?: string | undefined;
358
+ } | null;
359
+ defaultSidebarDockedPreference: boolean;
351
360
  lastPointerDownWith: import("../element/types").PointerType;
352
361
  selectedElementIds: {
353
362
  [id: string]: boolean;