@zsviczian/excalidraw 0.13.0-obsidian → 0.13.0-obsidian-1

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 (83) hide show
  1. package/dist/excalidraw.development.js +1103 -142
  2. package/dist/excalidraw.production.min.js +1 -1
  3. package/dist/excalidraw.production.min.js.LICENSE.txt +104 -0
  4. package/package.json +1 -1
  5. package/types/actions/actionAddToLibrary.d.ts +6 -3
  6. package/types/actions/actionAlign.d.ts +18 -6
  7. package/types/actions/actionBoundText.d.ts +2 -1
  8. package/types/actions/actionCanvas.d.ts +41 -18
  9. package/types/actions/actionClipboard.d.ts +10 -5
  10. package/types/actions/actionDeleteSelected.d.ts +9 -4
  11. package/types/actions/actionDistribute.d.ts +6 -2
  12. package/types/actions/actionDuplicateSelection.d.ts +3 -1
  13. package/types/actions/actionExport.d.ts +44 -19
  14. package/types/actions/actionFinalize.d.ts +7 -3
  15. package/types/actions/actionGroup.d.ts +6 -2
  16. package/types/actions/actionLinearEditor.d.ts +2 -1
  17. package/types/actions/actionMenu.d.ts +15 -6
  18. package/types/actions/actionNavigate.d.ts +3 -1
  19. package/types/actions/actionProperties.d.ts +65 -26
  20. package/types/actions/actionStyles.d.ts +2 -1
  21. package/types/actions/actionToggleGridMode.d.ts +2 -1
  22. package/types/actions/actionToggleLock.d.ts +2 -1
  23. package/types/actions/actionToggleStats.d.ts +2 -1
  24. package/types/actions/actionToggleViewMode.d.ts +2 -1
  25. package/types/actions/actionToggleZenMode.d.ts +2 -1
  26. package/types/actions/actionZindex.d.ts +12 -4
  27. package/types/actions/manager.d.ts +1 -1
  28. package/types/actions/shortcuts.d.ts +1 -1
  29. package/types/actions/types.d.ts +3 -1
  30. package/types/appState.d.ts +3 -2
  31. package/types/bug-issue-template.d.ts +2 -0
  32. package/types/clients.d.ts +1 -1
  33. package/types/components/Actions.d.ts +1 -0
  34. package/types/components/App.d.ts +46 -0
  35. package/types/components/Avatar.d.ts +1 -1
  36. package/types/components/CollabButton.d.ts +2 -1
  37. package/types/components/DialogActionButton.d.ts +10 -0
  38. package/types/components/EncryptedIcon.d.ts +2 -0
  39. package/types/components/Footer.d.ts +2 -1
  40. package/types/components/HelpButton.d.ts +8 -0
  41. package/types/components/ImageExportDialog.d.ts +3 -1
  42. package/types/components/LayerUI.d.ts +2 -1
  43. package/types/components/LibraryButton.d.ts +1 -0
  44. package/types/components/LibraryMenuBrowseButton.d.ts +7 -0
  45. package/types/components/LibraryMenuItems.d.ts +5 -2
  46. package/types/components/MenuItem.d.ts +11 -0
  47. package/types/components/MenuUtils.d.ts +2 -0
  48. package/types/components/MobileMenu.d.ts +2 -1
  49. package/types/components/Sidebar/Sidebar.d.ts +1 -1
  50. package/types/components/Sidebar/common.d.ts +1 -0
  51. package/types/components/TopErrorBoundary.d.ts +15 -0
  52. package/types/components/WelcomeScreen.d.ts +8 -0
  53. package/types/components/WelcomeScreenDecor.d.ts +6 -0
  54. package/types/components/icons.d.ts +83 -124
  55. package/types/constants.d.ts +1 -0
  56. package/types/element/Hyperlink.d.ts +5 -2
  57. package/types/element/linearElementEditor.d.ts +2 -1
  58. package/types/element/transformHandles.d.ts +1 -1
  59. package/types/excalidraw-app/CustomStats.d.ts +9 -0
  60. package/types/excalidraw-app/app_constants.d.ts +32 -0
  61. package/types/excalidraw-app/collab/Collab.d.ts +163 -0
  62. package/types/excalidraw-app/collab/Portal.d.ts +28 -0
  63. package/types/excalidraw-app/collab/RoomDialog.d.ts +13 -0
  64. package/types/excalidraw-app/collab/reconciliation.d.ts +10 -0
  65. package/types/excalidraw-app/components/ExportToExcalidrawPlus.d.ts +9 -0
  66. package/types/excalidraw-app/components/LanguageList.d.ts +4 -0
  67. package/types/excalidraw-app/components/icons.d.ts +1 -0
  68. package/types/excalidraw-app/data/FileManager.d.ts +66 -0
  69. package/types/excalidraw-app/data/LocalData.d.ts +32 -0
  70. package/types/excalidraw-app/data/Locker.d.ts +8 -0
  71. package/types/excalidraw-app/data/firebase.d.ts +25 -0
  72. package/types/excalidraw-app/data/index.d.ts +186 -0
  73. package/types/excalidraw-app/data/localStorage.d.ts +112 -0
  74. package/types/excalidraw-app/data/tabSync.d.ts +9 -0
  75. package/types/excalidraw-app/index.d.ts +26 -0
  76. package/types/hooks/useOutsideClick.d.ts +2 -0
  77. package/types/keys.d.ts +10 -0
  78. package/types/packages/excalidraw/index.d.ts +3 -0
  79. package/types/packages/utils.d.ts +3 -1
  80. package/types/renderer/renderScene.d.ts +1 -1
  81. package/types/scene/types.d.ts +1 -0
  82. package/types/shapes.d.ts +27 -3
  83. package/types/types.d.ts +13 -1
@@ -7,6 +7,7 @@ export declare const actionToggleCanvasMenu: {
7
7
  perform: (_: readonly import("../element/types").ExcalidrawElement[], appState: Readonly<import("../types").AppState>) => {
8
8
  appState: {
9
9
  openMenu: "canvas" | null;
10
+ showWelcomeScreen: boolean;
10
11
  isLoading: boolean;
11
12
  errorMessage: string | null;
12
13
  draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -62,6 +63,7 @@ export declare const actionToggleCanvasMenu: {
62
63
  }>;
63
64
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
64
65
  openSidebar: "library" | "customSidebar" | null;
66
+ openDialog: "imageExport" | "help" | null;
65
67
  isSidebarDocked: boolean;
66
68
  lastPointerDownWith: import("../element/types").PointerType;
67
69
  selectedElementIds: {
@@ -71,7 +73,6 @@ export declare const actionToggleCanvasMenu: {
71
73
  [id: string]: boolean;
72
74
  };
73
75
  shouldCacheIgnoreZoom: boolean;
74
- showHelpDialog: boolean;
75
76
  toast: {
76
77
  message: string;
77
78
  closable?: boolean | undefined;
@@ -113,7 +114,9 @@ export declare const actionToggleCanvasMenu: {
113
114
  };
114
115
  commitToHistory: false;
115
116
  };
116
- PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
117
+ PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps & {
118
+ isInHamburgerMenu: boolean;
119
+ }) => JSX.Element;
117
120
  } & {
118
121
  keyTest?: undefined;
119
122
  };
@@ -125,6 +128,7 @@ export declare const actionToggleEditMenu: {
125
128
  perform: (_elements: readonly import("../element/types").ExcalidrawElement[], appState: Readonly<import("../types").AppState>) => {
126
129
  appState: {
127
130
  openMenu: "shape" | null;
131
+ showWelcomeScreen: boolean;
128
132
  isLoading: boolean;
129
133
  errorMessage: string | null;
130
134
  draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -180,6 +184,7 @@ export declare const actionToggleEditMenu: {
180
184
  }>;
181
185
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
182
186
  openSidebar: "library" | "customSidebar" | null;
187
+ openDialog: "imageExport" | "help" | null;
183
188
  isSidebarDocked: boolean;
184
189
  lastPointerDownWith: import("../element/types").PointerType;
185
190
  selectedElementIds: {
@@ -189,7 +194,6 @@ export declare const actionToggleEditMenu: {
189
194
  [id: string]: boolean;
190
195
  };
191
196
  shouldCacheIgnoreZoom: boolean;
192
- showHelpDialog: boolean;
193
197
  toast: {
194
198
  message: string;
195
199
  closable?: boolean | undefined;
@@ -231,7 +235,9 @@ export declare const actionToggleEditMenu: {
231
235
  };
232
236
  commitToHistory: false;
233
237
  };
234
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
238
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps & {
239
+ isInHamburgerMenu: boolean;
240
+ }) => JSX.Element;
235
241
  } & {
236
242
  keyTest?: undefined;
237
243
  };
@@ -256,7 +262,8 @@ export declare const actionShortcuts: {
256
262
  };
257
263
  perform: (_elements: readonly import("../element/types").ExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: any, { focusContainer }: import("../types").AppClassProperties) => {
258
264
  appState: {
259
- showHelpDialog: boolean;
265
+ openDialog: "help" | null;
266
+ showWelcomeScreen: boolean;
260
267
  isLoading: boolean;
261
268
  errorMessage: string | null;
262
269
  draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -363,7 +370,9 @@ export declare const actionShortcuts: {
363
370
  };
364
371
  commitToHistory: false;
365
372
  };
366
- PanelComponent: ({ updateData }: import("./types").PanelComponentProps) => JSX.Element;
373
+ PanelComponent: ({ updateData, isInHamburgerMenu }: import("./types").PanelComponentProps & {
374
+ isInHamburgerMenu: boolean;
375
+ }) => JSX.Element;
367
376
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
368
377
  } & {
369
378
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
@@ -7,7 +7,9 @@ export declare const actionGoToCollaborator: {
7
7
  appState: Readonly<import("../types").AppState>;
8
8
  commitToHistory: false;
9
9
  };
10
- PanelComponent: ({ appState, updateData, data }: import("./types").PanelComponentProps) => JSX.Element;
10
+ PanelComponent: ({ appState, updateData, data }: import("./types").PanelComponentProps & {
11
+ isInHamburgerMenu: boolean;
12
+ }) => JSX.Element;
11
13
  } & {
12
14
  keyTest?: undefined;
13
15
  };
@@ -5,7 +5,9 @@ export declare const actionChangeStrokeColor: {
5
5
  name: "changeStrokeColor";
6
6
  trackEvent: false;
7
7
  perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => any;
8
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
8
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps & {
9
+ isInHamburgerMenu: boolean;
10
+ }) => JSX.Element;
9
11
  } & {
10
12
  keyTest?: undefined;
11
13
  };
@@ -13,7 +15,9 @@ export declare const actionChangeBackgroundColor: {
13
15
  name: "changeBackgroundColor";
14
16
  trackEvent: false;
15
17
  perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => any;
16
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
18
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps & {
19
+ isInHamburgerMenu: boolean;
20
+ }) => JSX.Element;
17
21
  } & {
18
22
  keyTest?: undefined;
19
23
  };
@@ -24,6 +28,7 @@ export declare const actionChangeFillStyle: {
24
28
  elements: ExcalidrawElement[];
25
29
  appState: {
26
30
  currentItemFillStyle: any;
31
+ showWelcomeScreen: boolean;
27
32
  isLoading: boolean;
28
33
  errorMessage: string | null;
29
34
  draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -79,6 +84,7 @@ export declare const actionChangeFillStyle: {
79
84
  openMenu: "canvas" | "shape" | null;
80
85
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
81
86
  openSidebar: "library" | "customSidebar" | null;
87
+ openDialog: "imageExport" | "help" | null;
82
88
  isSidebarDocked: boolean;
83
89
  lastPointerDownWith: import("../element/types").PointerType;
84
90
  selectedElementIds: {
@@ -88,7 +94,6 @@ export declare const actionChangeFillStyle: {
88
94
  [id: string]: boolean;
89
95
  };
90
96
  shouldCacheIgnoreZoom: boolean;
91
- showHelpDialog: boolean;
92
97
  toast: {
93
98
  message: string;
94
99
  closable?: boolean | undefined;
@@ -130,7 +135,9 @@ export declare const actionChangeFillStyle: {
130
135
  };
131
136
  commitToHistory: true;
132
137
  };
133
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
138
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps & {
139
+ isInHamburgerMenu: boolean;
140
+ }) => JSX.Element;
134
141
  } & {
135
142
  keyTest?: undefined;
136
143
  };
@@ -141,6 +148,7 @@ export declare const actionChangeStrokeWidth: {
141
148
  elements: ExcalidrawElement[];
142
149
  appState: {
143
150
  currentItemStrokeWidth: any;
151
+ showWelcomeScreen: boolean;
144
152
  isLoading: boolean;
145
153
  errorMessage: string | null;
146
154
  draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -196,6 +204,7 @@ export declare const actionChangeStrokeWidth: {
196
204
  openMenu: "canvas" | "shape" | null;
197
205
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
198
206
  openSidebar: "library" | "customSidebar" | null;
207
+ openDialog: "imageExport" | "help" | null;
199
208
  isSidebarDocked: boolean;
200
209
  lastPointerDownWith: import("../element/types").PointerType;
201
210
  selectedElementIds: {
@@ -205,7 +214,6 @@ export declare const actionChangeStrokeWidth: {
205
214
  [id: string]: boolean;
206
215
  };
207
216
  shouldCacheIgnoreZoom: boolean;
208
- showHelpDialog: boolean;
209
217
  toast: {
210
218
  message: string;
211
219
  closable?: boolean | undefined;
@@ -247,7 +255,9 @@ export declare const actionChangeStrokeWidth: {
247
255
  };
248
256
  commitToHistory: true;
249
257
  };
250
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
258
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps & {
259
+ isInHamburgerMenu: boolean;
260
+ }) => JSX.Element;
251
261
  } & {
252
262
  keyTest?: undefined;
253
263
  };
@@ -258,6 +268,7 @@ export declare const actionChangeSloppiness: {
258
268
  elements: ExcalidrawElement[];
259
269
  appState: {
260
270
  currentItemRoughness: any;
271
+ showWelcomeScreen: boolean;
261
272
  isLoading: boolean;
262
273
  errorMessage: string | null;
263
274
  draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -313,6 +324,7 @@ export declare const actionChangeSloppiness: {
313
324
  openMenu: "canvas" | "shape" | null;
314
325
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
315
326
  openSidebar: "library" | "customSidebar" | null;
327
+ openDialog: "imageExport" | "help" | null;
316
328
  isSidebarDocked: boolean;
317
329
  lastPointerDownWith: import("../element/types").PointerType;
318
330
  selectedElementIds: {
@@ -322,7 +334,6 @@ export declare const actionChangeSloppiness: {
322
334
  [id: string]: boolean;
323
335
  };
324
336
  shouldCacheIgnoreZoom: boolean;
325
- showHelpDialog: boolean;
326
337
  toast: {
327
338
  message: string;
328
339
  closable?: boolean | undefined;
@@ -364,7 +375,9 @@ export declare const actionChangeSloppiness: {
364
375
  };
365
376
  commitToHistory: true;
366
377
  };
367
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
378
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps & {
379
+ isInHamburgerMenu: boolean;
380
+ }) => JSX.Element;
368
381
  } & {
369
382
  keyTest?: undefined;
370
383
  };
@@ -375,6 +388,7 @@ export declare const actionChangeStrokeStyle: {
375
388
  elements: ExcalidrawElement[];
376
389
  appState: {
377
390
  currentItemStrokeStyle: any;
391
+ showWelcomeScreen: boolean;
378
392
  isLoading: boolean;
379
393
  errorMessage: string | null;
380
394
  draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -430,6 +444,7 @@ export declare const actionChangeStrokeStyle: {
430
444
  openMenu: "canvas" | "shape" | null;
431
445
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
432
446
  openSidebar: "library" | "customSidebar" | null;
447
+ openDialog: "imageExport" | "help" | null;
433
448
  isSidebarDocked: boolean;
434
449
  lastPointerDownWith: import("../element/types").PointerType;
435
450
  selectedElementIds: {
@@ -439,7 +454,6 @@ export declare const actionChangeStrokeStyle: {
439
454
  [id: string]: boolean;
440
455
  };
441
456
  shouldCacheIgnoreZoom: boolean;
442
- showHelpDialog: boolean;
443
457
  toast: {
444
458
  message: string;
445
459
  closable?: boolean | undefined;
@@ -481,7 +495,9 @@ export declare const actionChangeStrokeStyle: {
481
495
  };
482
496
  commitToHistory: true;
483
497
  };
484
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
498
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps & {
499
+ isInHamburgerMenu: boolean;
500
+ }) => JSX.Element;
485
501
  } & {
486
502
  keyTest?: undefined;
487
503
  };
@@ -492,6 +508,7 @@ export declare const actionChangeOpacity: {
492
508
  elements: ExcalidrawElement[];
493
509
  appState: {
494
510
  currentItemOpacity: any;
511
+ showWelcomeScreen: boolean;
495
512
  isLoading: boolean;
496
513
  errorMessage: string | null;
497
514
  draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -547,6 +564,7 @@ export declare const actionChangeOpacity: {
547
564
  openMenu: "canvas" | "shape" | null;
548
565
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
549
566
  openSidebar: "library" | "customSidebar" | null;
567
+ openDialog: "imageExport" | "help" | null;
550
568
  isSidebarDocked: boolean;
551
569
  lastPointerDownWith: import("../element/types").PointerType;
552
570
  selectedElementIds: {
@@ -556,7 +574,6 @@ export declare const actionChangeOpacity: {
556
574
  [id: string]: boolean;
557
575
  };
558
576
  shouldCacheIgnoreZoom: boolean;
559
- showHelpDialog: boolean;
560
577
  toast: {
561
578
  message: string;
562
579
  closable?: boolean | undefined;
@@ -598,7 +615,9 @@ export declare const actionChangeOpacity: {
598
615
  };
599
616
  commitToHistory: true;
600
617
  };
601
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
618
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps & {
619
+ isInHamburgerMenu: boolean;
620
+ }) => JSX.Element;
602
621
  } & {
603
622
  keyTest?: undefined;
604
623
  };
@@ -609,6 +628,7 @@ export declare const actionChangeFontSize: {
609
628
  elements: ExcalidrawElement[];
610
629
  appState: {
611
630
  currentItemFontSize: number;
631
+ showWelcomeScreen: boolean;
612
632
  isLoading: boolean;
613
633
  errorMessage: string | null;
614
634
  draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -664,6 +684,7 @@ export declare const actionChangeFontSize: {
664
684
  openMenu: "canvas" | "shape" | null;
665
685
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
666
686
  openSidebar: "library" | "customSidebar" | null;
687
+ openDialog: "imageExport" | "help" | null;
667
688
  isSidebarDocked: boolean;
668
689
  lastPointerDownWith: import("../element/types").PointerType;
669
690
  selectedElementIds: {
@@ -673,7 +694,6 @@ export declare const actionChangeFontSize: {
673
694
  [id: string]: boolean;
674
695
  };
675
696
  shouldCacheIgnoreZoom: boolean;
676
- showHelpDialog: boolean;
677
697
  toast: {
678
698
  message: string;
679
699
  closable?: boolean | undefined;
@@ -715,7 +735,9 @@ export declare const actionChangeFontSize: {
715
735
  };
716
736
  commitToHistory: boolean;
717
737
  };
718
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
738
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps & {
739
+ isInHamburgerMenu: boolean;
740
+ }) => JSX.Element;
719
741
  } & {
720
742
  keyTest?: undefined;
721
743
  };
@@ -726,6 +748,7 @@ export declare const actionDecreaseFontSize: {
726
748
  elements: ExcalidrawElement[];
727
749
  appState: {
728
750
  currentItemFontSize: number;
751
+ showWelcomeScreen: boolean;
729
752
  isLoading: boolean;
730
753
  errorMessage: string | null;
731
754
  draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -781,6 +804,7 @@ export declare const actionDecreaseFontSize: {
781
804
  openMenu: "canvas" | "shape" | null;
782
805
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
783
806
  openSidebar: "library" | "customSidebar" | null;
807
+ openDialog: "imageExport" | "help" | null;
784
808
  isSidebarDocked: boolean;
785
809
  lastPointerDownWith: import("../element/types").PointerType;
786
810
  selectedElementIds: {
@@ -790,7 +814,6 @@ export declare const actionDecreaseFontSize: {
790
814
  [id: string]: boolean;
791
815
  };
792
816
  shouldCacheIgnoreZoom: boolean;
793
- showHelpDialog: boolean;
794
817
  toast: {
795
818
  message: string;
796
819
  closable?: boolean | undefined;
@@ -843,6 +866,7 @@ export declare const actionIncreaseFontSize: {
843
866
  elements: ExcalidrawElement[];
844
867
  appState: {
845
868
  currentItemFontSize: number;
869
+ showWelcomeScreen: boolean;
846
870
  isLoading: boolean;
847
871
  errorMessage: string | null;
848
872
  draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -898,6 +922,7 @@ export declare const actionIncreaseFontSize: {
898
922
  openMenu: "canvas" | "shape" | null;
899
923
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
900
924
  openSidebar: "library" | "customSidebar" | null;
925
+ openDialog: "imageExport" | "help" | null;
901
926
  isSidebarDocked: boolean;
902
927
  lastPointerDownWith: import("../element/types").PointerType;
903
928
  selectedElementIds: {
@@ -907,7 +932,6 @@ export declare const actionIncreaseFontSize: {
907
932
  [id: string]: boolean;
908
933
  };
909
934
  shouldCacheIgnoreZoom: boolean;
910
- showHelpDialog: boolean;
911
935
  toast: {
912
936
  message: string;
913
937
  closable?: boolean | undefined;
@@ -960,6 +984,7 @@ export declare const actionChangeFontFamily: {
960
984
  elements: ExcalidrawElement[];
961
985
  appState: {
962
986
  currentItemFontFamily: any;
987
+ showWelcomeScreen: boolean;
963
988
  isLoading: boolean;
964
989
  errorMessage: string | null;
965
990
  draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -1015,6 +1040,7 @@ export declare const actionChangeFontFamily: {
1015
1040
  openMenu: "canvas" | "shape" | null;
1016
1041
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
1017
1042
  openSidebar: "library" | "customSidebar" | null;
1043
+ openDialog: "imageExport" | "help" | null;
1018
1044
  isSidebarDocked: boolean;
1019
1045
  lastPointerDownWith: import("../element/types").PointerType;
1020
1046
  selectedElementIds: {
@@ -1024,7 +1050,6 @@ export declare const actionChangeFontFamily: {
1024
1050
  [id: string]: boolean;
1025
1051
  };
1026
1052
  shouldCacheIgnoreZoom: boolean;
1027
- showHelpDialog: boolean;
1028
1053
  toast: {
1029
1054
  message: string;
1030
1055
  closable?: boolean | undefined;
@@ -1066,7 +1091,9 @@ export declare const actionChangeFontFamily: {
1066
1091
  };
1067
1092
  commitToHistory: true;
1068
1093
  };
1069
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
1094
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps & {
1095
+ isInHamburgerMenu: boolean;
1096
+ }) => JSX.Element;
1070
1097
  } & {
1071
1098
  keyTest?: undefined;
1072
1099
  };
@@ -1077,6 +1104,7 @@ export declare const actionChangeTextAlign: {
1077
1104
  elements: ExcalidrawElement[];
1078
1105
  appState: {
1079
1106
  currentItemTextAlign: any;
1107
+ showWelcomeScreen: boolean;
1080
1108
  isLoading: boolean;
1081
1109
  errorMessage: string | null;
1082
1110
  draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -1132,6 +1160,7 @@ export declare const actionChangeTextAlign: {
1132
1160
  openMenu: "canvas" | "shape" | null;
1133
1161
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
1134
1162
  openSidebar: "library" | "customSidebar" | null;
1163
+ openDialog: "imageExport" | "help" | null;
1135
1164
  isSidebarDocked: boolean;
1136
1165
  lastPointerDownWith: import("../element/types").PointerType;
1137
1166
  selectedElementIds: {
@@ -1141,7 +1170,6 @@ export declare const actionChangeTextAlign: {
1141
1170
  [id: string]: boolean;
1142
1171
  };
1143
1172
  shouldCacheIgnoreZoom: boolean;
1144
- showHelpDialog: boolean;
1145
1173
  toast: {
1146
1174
  message: string;
1147
1175
  closable?: boolean | undefined;
@@ -1183,7 +1211,9 @@ export declare const actionChangeTextAlign: {
1183
1211
  };
1184
1212
  commitToHistory: true;
1185
1213
  };
1186
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
1214
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps & {
1215
+ isInHamburgerMenu: boolean;
1216
+ }) => JSX.Element;
1187
1217
  } & {
1188
1218
  keyTest?: undefined;
1189
1219
  };
@@ -1195,6 +1225,7 @@ export declare const actionChangeVerticalAlign: {
1195
1225
  perform: (elements: readonly ExcalidrawElement[], appState: Readonly<AppState>, value: any) => {
1196
1226
  elements: ExcalidrawElement[];
1197
1227
  appState: {
1228
+ showWelcomeScreen: boolean;
1198
1229
  isLoading: boolean;
1199
1230
  errorMessage: string | null;
1200
1231
  draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -1251,6 +1282,7 @@ export declare const actionChangeVerticalAlign: {
1251
1282
  openMenu: "canvas" | "shape" | null;
1252
1283
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
1253
1284
  openSidebar: "library" | "customSidebar" | null;
1285
+ openDialog: "imageExport" | "help" | null;
1254
1286
  isSidebarDocked: boolean;
1255
1287
  lastPointerDownWith: import("../element/types").PointerType;
1256
1288
  selectedElementIds: {
@@ -1260,7 +1292,6 @@ export declare const actionChangeVerticalAlign: {
1260
1292
  [id: string]: boolean;
1261
1293
  };
1262
1294
  shouldCacheIgnoreZoom: boolean;
1263
- showHelpDialog: boolean;
1264
1295
  toast: {
1265
1296
  message: string;
1266
1297
  closable?: boolean | undefined;
@@ -1302,7 +1333,9 @@ export declare const actionChangeVerticalAlign: {
1302
1333
  };
1303
1334
  commitToHistory: true;
1304
1335
  };
1305
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
1336
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps & {
1337
+ isInHamburgerMenu: boolean;
1338
+ }) => JSX.Element;
1306
1339
  } & {
1307
1340
  keyTest?: undefined;
1308
1341
  };
@@ -1314,6 +1347,7 @@ export declare const actionChangeSharpness: {
1314
1347
  appState: {
1315
1348
  currentItemStrokeSharpness: any;
1316
1349
  currentItemLinearStrokeSharpness: any;
1350
+ showWelcomeScreen: boolean;
1317
1351
  isLoading: boolean;
1318
1352
  errorMessage: string | null;
1319
1353
  draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -1368,6 +1402,7 @@ export declare const actionChangeSharpness: {
1368
1402
  openMenu: "canvas" | "shape" | null;
1369
1403
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
1370
1404
  openSidebar: "library" | "customSidebar" | null;
1405
+ openDialog: "imageExport" | "help" | null;
1371
1406
  isSidebarDocked: boolean;
1372
1407
  lastPointerDownWith: import("../element/types").PointerType;
1373
1408
  selectedElementIds: {
@@ -1377,7 +1412,6 @@ export declare const actionChangeSharpness: {
1377
1412
  [id: string]: boolean;
1378
1413
  };
1379
1414
  shouldCacheIgnoreZoom: boolean;
1380
- showHelpDialog: boolean;
1381
1415
  toast: {
1382
1416
  message: string;
1383
1417
  closable?: boolean | undefined;
@@ -1419,7 +1453,9 @@ export declare const actionChangeSharpness: {
1419
1453
  };
1420
1454
  commitToHistory: true;
1421
1455
  };
1422
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
1456
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps & {
1457
+ isInHamburgerMenu: boolean;
1458
+ }) => JSX.Element;
1423
1459
  } & {
1424
1460
  keyTest?: undefined;
1425
1461
  };
@@ -1432,6 +1468,7 @@ export declare const actionChangeArrowhead: {
1432
1468
  }) => {
1433
1469
  elements: ExcalidrawElement[];
1434
1470
  appState: {
1471
+ showWelcomeScreen: boolean;
1435
1472
  isLoading: boolean;
1436
1473
  errorMessage: string | null;
1437
1474
  draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -1488,6 +1525,7 @@ export declare const actionChangeArrowhead: {
1488
1525
  openMenu: "canvas" | "shape" | null;
1489
1526
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
1490
1527
  openSidebar: "library" | "customSidebar" | null;
1528
+ openDialog: "imageExport" | "help" | null;
1491
1529
  isSidebarDocked: boolean;
1492
1530
  lastPointerDownWith: import("../element/types").PointerType;
1493
1531
  selectedElementIds: {
@@ -1497,7 +1535,6 @@ export declare const actionChangeArrowhead: {
1497
1535
  [id: string]: boolean;
1498
1536
  };
1499
1537
  shouldCacheIgnoreZoom: boolean;
1500
- showHelpDialog: boolean;
1501
1538
  toast: {
1502
1539
  message: string;
1503
1540
  closable?: boolean | undefined;
@@ -1539,7 +1576,9 @@ export declare const actionChangeArrowhead: {
1539
1576
  };
1540
1577
  commitToHistory: true;
1541
1578
  };
1542
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
1579
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps & {
1580
+ isInHamburgerMenu: boolean;
1581
+ }) => JSX.Element;
1543
1582
  } & {
1544
1583
  keyTest?: undefined;
1545
1584
  };
@@ -10,6 +10,7 @@ export declare const actionCopyStyles: {
10
10
  toast: {
11
11
  message: string;
12
12
  };
13
+ showWelcomeScreen: boolean;
13
14
  isLoading: boolean;
14
15
  errorMessage: string | null;
15
16
  draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -66,6 +67,7 @@ export declare const actionCopyStyles: {
66
67
  openMenu: "canvas" | "shape" | null;
67
68
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
68
69
  openSidebar: "library" | "customSidebar" | null;
70
+ openDialog: "imageExport" | "help" | null;
69
71
  isSidebarDocked: boolean;
70
72
  lastPointerDownWith: import("../element/types").PointerType;
71
73
  selectedElementIds: {
@@ -75,7 +77,6 @@ export declare const actionCopyStyles: {
75
77
  [id: string]: boolean;
76
78
  };
77
79
  shouldCacheIgnoreZoom: boolean;
78
- showHelpDialog: boolean;
79
80
  zenModeEnabled: boolean;
80
81
  theme: string;
81
82
  gridSize: number | null;
@@ -9,6 +9,7 @@ export declare const actionToggleGridMode: {
9
9
  perform(elements: readonly import("../element/types").ExcalidrawElement[], appState: Readonly<AppState>): {
10
10
  appState: {
11
11
  gridSize: number | null;
12
+ showWelcomeScreen: boolean;
12
13
  isLoading: boolean;
13
14
  errorMessage: string | null;
14
15
  draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -65,6 +66,7 @@ export declare const actionToggleGridMode: {
65
66
  openMenu: "canvas" | "shape" | null;
66
67
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
67
68
  openSidebar: "library" | "customSidebar" | null;
69
+ openDialog: "imageExport" | "help" | null;
68
70
  isSidebarDocked: boolean;
69
71
  lastPointerDownWith: import("../element/types").PointerType;
70
72
  selectedElementIds: {
@@ -74,7 +76,6 @@ export declare const actionToggleGridMode: {
74
76
  [id: string]: boolean;
75
77
  };
76
78
  shouldCacheIgnoreZoom: boolean;
77
- showHelpDialog: boolean;
78
79
  toast: {
79
80
  message: string;
80
81
  closable?: boolean | undefined;
@@ -9,6 +9,7 @@ export declare const actionToggleLock: {
9
9
  elements: ExcalidrawElement[];
10
10
  appState: {
11
11
  selectedLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
12
+ showWelcomeScreen: boolean;
12
13
  isLoading: boolean;
13
14
  errorMessage: string | null;
14
15
  draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -65,6 +66,7 @@ export declare const actionToggleLock: {
65
66
  openMenu: "canvas" | "shape" | null;
66
67
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
67
68
  openSidebar: "library" | "customSidebar" | null;
69
+ openDialog: "imageExport" | "help" | null;
68
70
  isSidebarDocked: boolean;
69
71
  lastPointerDownWith: import("../element/types").PointerType;
70
72
  selectedElementIds: {
@@ -74,7 +76,6 @@ export declare const actionToggleLock: {
74
76
  [id: string]: boolean;
75
77
  };
76
78
  shouldCacheIgnoreZoom: boolean;
77
- showHelpDialog: boolean;
78
79
  toast: {
79
80
  message: string;
80
81
  closable?: boolean | undefined;
@@ -7,6 +7,7 @@ export declare const actionToggleStats: {
7
7
  perform(elements: readonly import("../element/types").ExcalidrawElement[], appState: Readonly<import("../types").AppState>): {
8
8
  appState: {
9
9
  showStats: boolean;
10
+ showWelcomeScreen: boolean;
10
11
  isLoading: boolean;
11
12
  errorMessage: string | null;
12
13
  draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -63,6 +64,7 @@ export declare const actionToggleStats: {
63
64
  openMenu: "canvas" | "shape" | null;
64
65
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
65
66
  openSidebar: "library" | "customSidebar" | null;
67
+ openDialog: "imageExport" | "help" | null;
66
68
  isSidebarDocked: boolean;
67
69
  lastPointerDownWith: import("../element/types").PointerType;
68
70
  selectedElementIds: {
@@ -72,7 +74,6 @@ export declare const actionToggleStats: {
72
74
  [id: string]: boolean;
73
75
  };
74
76
  shouldCacheIgnoreZoom: boolean;
75
- showHelpDialog: boolean;
76
77
  toast: {
77
78
  message: string;
78
79
  closable?: boolean | undefined;
@@ -8,6 +8,7 @@ export declare const actionToggleViewMode: {
8
8
  perform(elements: readonly import("../element/types").ExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: any, app: import("../types").AppClassProperties): {
9
9
  appState: {
10
10
  viewModeEnabled: boolean;
11
+ showWelcomeScreen: boolean;
11
12
  isLoading: boolean;
12
13
  errorMessage: string | null;
13
14
  draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -64,6 +65,7 @@ export declare const actionToggleViewMode: {
64
65
  openMenu: "canvas" | "shape" | null;
65
66
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
66
67
  openSidebar: "library" | "customSidebar" | null;
68
+ openDialog: "imageExport" | "help" | null;
67
69
  isSidebarDocked: boolean;
68
70
  lastPointerDownWith: import("../element/types").PointerType;
69
71
  selectedElementIds: {
@@ -73,7 +75,6 @@ export declare const actionToggleViewMode: {
73
75
  [id: string]: boolean;
74
76
  };
75
77
  shouldCacheIgnoreZoom: boolean;
76
- showHelpDialog: boolean;
77
78
  toast: {
78
79
  message: string;
79
80
  closable?: boolean | undefined;