@dwelle/excalidraw 0.4.0-d8d86cf → 0.4.0-e3bee83

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 (89) hide show
  1. package/CHANGELOG.md +189 -0
  2. package/README.md +417 -19
  3. package/dist/excalidraw.development.js +427 -229
  4. package/dist/excalidraw.production.min.js +1 -1
  5. package/package.json +1 -1
  6. package/types/actions/actionAddToLibrary.d.ts +21 -9
  7. package/types/actions/actionAlign.d.ts +6 -18
  8. package/types/actions/actionBoundText.d.ts +9 -5
  9. package/types/actions/actionCanvas.d.ts +69 -45
  10. package/types/actions/actionClipboard.d.ts +54 -16
  11. package/types/actions/actionDeleteSelected.d.ts +22 -12
  12. package/types/actions/actionDistribute.d.ts +2 -6
  13. package/types/actions/actionDuplicateSelection.d.ts +1 -3
  14. package/types/actions/actionExport.d.ts +72 -51
  15. package/types/actions/actionFinalize.d.ts +15 -9
  16. package/types/actions/actionFlip.d.ts +2 -2
  17. package/types/actions/actionGroup.d.ts +4 -8
  18. package/types/actions/actionLinearEditor.d.ts +8 -4
  19. package/types/actions/actionMenu.d.ts +24 -17
  20. package/types/actions/actionNavigate.d.ts +2 -3
  21. package/types/actions/actionProperties.d.ts +106 -80
  22. package/types/actions/actionStyles.d.ts +7 -3
  23. package/types/actions/actionToggleGridMode.d.ts +9 -3
  24. package/types/actions/actionToggleLock.d.ts +7 -3
  25. package/types/actions/actionToggleStats.d.ts +8 -3
  26. package/types/actions/actionToggleViewMode.d.ts +9 -3
  27. package/types/actions/actionToggleZenMode.d.ts +9 -3
  28. package/types/actions/actionZindex.d.ts +4 -12
  29. package/types/actions/manager.d.ts +2 -1
  30. package/types/actions/types.d.ts +6 -5
  31. package/types/appState.d.ts +3 -4
  32. package/types/components/App.d.ts +7 -50
  33. package/types/components/Button.d.ts +15 -0
  34. package/types/components/Card.d.ts +7 -0
  35. package/types/components/ContextMenu.d.ts +8 -21
  36. package/types/components/JSONExportDialog.d.ts +3 -1
  37. package/types/components/LayerUI.d.ts +3 -5
  38. package/types/components/LibraryMenuHeaderContent.d.ts +23 -0
  39. package/types/components/MobileMenu.d.ts +5 -8
  40. package/types/components/UserList.d.ts +0 -2
  41. package/types/components/dropdownMenu/DropdownMenu.d.ts +64 -0
  42. package/types/components/dropdownMenu/DropdownMenuContent.d.ts +11 -0
  43. package/types/components/dropdownMenu/DropdownMenuGroup.d.ts +11 -0
  44. package/types/components/dropdownMenu/DropdownMenuItem.d.ts +13 -0
  45. package/types/components/dropdownMenu/DropdownMenuItemContent.d.ts +6 -0
  46. package/types/components/dropdownMenu/DropdownMenuItemCustom.d.ts +6 -0
  47. package/types/components/dropdownMenu/DropdownMenuItemLink.d.ts +12 -0
  48. package/types/components/dropdownMenu/DropdownMenuSeparator.d.ts +5 -0
  49. package/types/components/dropdownMenu/DropdownMenuTrigger.d.ts +9 -0
  50. package/types/components/dropdownMenu/dropdownMenuUtils.d.ts +3 -0
  51. package/types/components/footer/Footer.d.ts +13 -0
  52. package/types/components/footer/FooterCenter.d.ts +8 -0
  53. package/types/components/icons.d.ts +1 -1
  54. package/types/components/live-collaboration/LiveCollaborationTrigger.d.ts +10 -0
  55. package/types/components/main-menu/DefaultItems.d.ts +47 -0
  56. package/types/components/main-menu/MainMenu.d.ts +55 -0
  57. package/types/components/welcome-screen/WelcomeScreen.Center.d.ts +58 -0
  58. package/types/components/welcome-screen/WelcomeScreen.Hints.d.ts +19 -0
  59. package/types/components/welcome-screen/WelcomeScreen.d.ts +85 -0
  60. package/types/constants.d.ts +11 -8
  61. package/types/data/index.d.ts +1 -1
  62. package/types/element/Hyperlink.d.ts +9 -7
  63. package/types/element/bounds.d.ts +1 -1
  64. package/types/element/linearElementEditor.d.ts +8 -4
  65. package/types/element/textElement.d.ts +7 -0
  66. package/types/element/textWysiwyg.d.ts +6 -1
  67. package/types/element/typeChecks.d.ts +9 -1
  68. package/types/element/types.d.ts +9 -5
  69. package/types/keys.d.ts +2 -0
  70. package/types/math.d.ts +2 -1
  71. package/types/packages/excalidraw/example/CustomFooter.d.ts +5 -0
  72. package/types/packages/excalidraw/example/MobileFooter.d.ts +5 -0
  73. package/types/packages/excalidraw/index.d.ts +12 -1
  74. package/types/packages/utils.d.ts +22 -25
  75. package/types/renderer/renderScene.d.ts +1 -3
  76. package/types/scene/comparisons.d.ts +1 -1
  77. package/types/scene/export.d.ts +143 -9
  78. package/types/scene/index.d.ts +1 -1
  79. package/types/scene/types.d.ts +9 -1
  80. package/types/types.d.ts +44 -24
  81. package/types/utils.d.ts +17 -0
  82. package/types/components/ActiveFile.d.ts +0 -7
  83. package/types/components/ClearCanvas.d.ts +0 -4
  84. package/types/components/CollabButton.d.ts +0 -6
  85. package/types/components/Footer.d.ts +0 -10
  86. package/types/components/MenuItem.d.ts +0 -11
  87. package/types/components/MenuUtils.d.ts +0 -1
  88. package/types/components/WelcomeScreen.d.ts +0 -10
  89. package/types/components/WelcomeScreenDecor.d.ts +0 -6
@@ -7,6 +7,21 @@ export declare const actionCopy: {
7
7
  perform: (elements: readonly import("../element/types").ExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: any, app: import("../types").AppClassProperties) => {
8
8
  commitToHistory: false;
9
9
  };
10
+ predicate: (elements: readonly import("../element/types").ExcalidrawElement[], appState: import("../types").AppState, appProps: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
11
+ contextItemLabel: string;
12
+ keyTest: undefined;
13
+ } & {
14
+ keyTest?: undefined;
15
+ };
16
+ export declare const actionPaste: {
17
+ name: "paste";
18
+ trackEvent: {
19
+ category: "element";
20
+ };
21
+ perform: (elements: any, appStates: any, data: any, app: import("../types").AppClassProperties) => {
22
+ commitToHistory: false;
23
+ };
24
+ predicate: (elements: readonly import("../element/types").ExcalidrawElement[], appState: import("../types").AppState, appProps: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
10
25
  contextItemLabel: string;
11
26
  keyTest: undefined;
12
27
  } & {
@@ -21,6 +36,11 @@ export declare const actionCut: {
21
36
  elements: import("../element/types").ExcalidrawElement[];
22
37
  appState: {
23
38
  editingLinearElement: null;
39
+ contextMenu: {
40
+ items: import("../components/ContextMenu").ContextMenuItems;
41
+ top: number;
42
+ left: number;
43
+ } | null;
24
44
  showWelcomeScreen: boolean;
25
45
  isLoading: boolean;
26
46
  errorMessage: string | null;
@@ -59,10 +79,9 @@ export declare const actionCut: {
59
79
  currentItemFontFamily: number;
60
80
  currentItemFontSize: number;
61
81
  currentItemTextAlign: string;
62
- currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
63
82
  currentItemStartArrowhead: import("../element/types").Arrowhead | null;
64
83
  currentItemEndArrowhead: import("../element/types").Arrowhead | null;
65
- currentItemLinearStrokeSharpness: import("../element/types").StrokeSharpness;
84
+ currentItemRoundness: import("../element/types").StrokeRoundness;
66
85
  viewBackgroundColor: string;
67
86
  scrollX: number;
68
87
  scrollY: number;
@@ -77,7 +96,7 @@ export declare const actionCut: {
77
96
  openMenu: "canvas" | "shape" | null;
78
97
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
79
98
  openSidebar: "library" | "customSidebar" | null;
80
- openDialog: "imageExport" | "help" | null;
99
+ openDialog: "imageExport" | "help" | "jsonExport" | null;
81
100
  isSidebarDocked: boolean;
82
101
  lastPointerDownWith: import("../element/types").PointerType;
83
102
  selectedElementIds: {
@@ -152,6 +171,11 @@ export declare const actionCut: {
152
171
  hoverPointIndex: number;
153
172
  segmentMidPointHoveredCoords: readonly [number, number] | null;
154
173
  };
174
+ contextMenu: {
175
+ items: import("../components/ContextMenu").ContextMenuItems;
176
+ top: number;
177
+ left: number;
178
+ } | null;
155
179
  showWelcomeScreen: boolean;
156
180
  isLoading: boolean;
157
181
  errorMessage: string | null;
@@ -190,10 +214,9 @@ export declare const actionCut: {
190
214
  currentItemFontFamily: number;
191
215
  currentItemFontSize: number;
192
216
  currentItemTextAlign: string;
193
- currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
194
217
  currentItemStartArrowhead: import("../element/types").Arrowhead | null;
195
218
  currentItemEndArrowhead: import("../element/types").Arrowhead | null;
196
- currentItemLinearStrokeSharpness: import("../element/types").StrokeSharpness;
219
+ currentItemRoundness: import("../element/types").StrokeRoundness;
197
220
  viewBackgroundColor: string;
198
221
  scrollX: number;
199
222
  scrollY: number;
@@ -208,7 +231,7 @@ export declare const actionCut: {
208
231
  openMenu: "canvas" | "shape" | null;
209
232
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
210
233
  openSidebar: "library" | "customSidebar" | null;
211
- openDialog: "imageExport" | "help" | null;
234
+ openDialog: "imageExport" | "help" | "jsonExport" | null;
212
235
  isSidebarDocked: boolean;
213
236
  lastPointerDownWith: import("../element/types").PointerType;
214
237
  selectedElementIds: {
@@ -267,6 +290,11 @@ export declare const actionCut: {
267
290
  };
268
291
  multiElement: null;
269
292
  selectedElementIds: {};
293
+ contextMenu: {
294
+ items: import("../components/ContextMenu").ContextMenuItems;
295
+ top: number;
296
+ left: number;
297
+ } | null;
270
298
  showWelcomeScreen: boolean;
271
299
  isLoading: boolean;
272
300
  errorMessage: string | null;
@@ -294,10 +322,9 @@ export declare const actionCut: {
294
322
  currentItemFontFamily: number;
295
323
  currentItemFontSize: number;
296
324
  currentItemTextAlign: string;
297
- currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
298
325
  currentItemStartArrowhead: import("../element/types").Arrowhead | null;
299
326
  currentItemEndArrowhead: import("../element/types").Arrowhead | null;
300
- currentItemLinearStrokeSharpness: import("../element/types").StrokeSharpness;
327
+ currentItemRoundness: import("../element/types").StrokeRoundness;
301
328
  viewBackgroundColor: string;
302
329
  scrollX: number;
303
330
  scrollY: number;
@@ -312,7 +339,7 @@ export declare const actionCut: {
312
339
  openMenu: "canvas" | "shape" | null;
313
340
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
314
341
  openSidebar: "library" | "customSidebar" | null;
315
- openDialog: "imageExport" | "help" | null;
342
+ openDialog: "imageExport" | "help" | "jsonExport" | null;
316
343
  isSidebarDocked: boolean;
317
344
  lastPointerDownWith: import("../element/types").PointerType;
318
345
  previousSelectedElementIds: {
@@ -353,6 +380,7 @@ export declare const actionCut: {
353
380
  };
354
381
  commitToHistory: boolean;
355
382
  };
383
+ predicate: (elements: readonly import("../element/types").ExcalidrawElement[], appState: import("../types").AppState, appProps: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
356
384
  contextItemLabel: string;
357
385
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
358
386
  } & {
@@ -369,6 +397,11 @@ export declare const actionCopyAsSvg: {
369
397
  } | {
370
398
  appState: {
371
399
  errorMessage: any;
400
+ contextMenu: {
401
+ items: import("../components/ContextMenu").ContextMenuItems;
402
+ top: number;
403
+ left: number;
404
+ } | null;
372
405
  showWelcomeScreen: boolean;
373
406
  isLoading: boolean;
374
407
  draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -407,10 +440,9 @@ export declare const actionCopyAsSvg: {
407
440
  currentItemFontFamily: number;
408
441
  currentItemFontSize: number;
409
442
  currentItemTextAlign: string;
410
- currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
411
443
  currentItemStartArrowhead: import("../element/types").Arrowhead | null;
412
444
  currentItemEndArrowhead: import("../element/types").Arrowhead | null;
413
- currentItemLinearStrokeSharpness: import("../element/types").StrokeSharpness;
445
+ currentItemRoundness: import("../element/types").StrokeRoundness;
414
446
  viewBackgroundColor: string;
415
447
  scrollX: number;
416
448
  scrollY: number;
@@ -425,7 +457,7 @@ export declare const actionCopyAsSvg: {
425
457
  openMenu: "canvas" | "shape" | null;
426
458
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
427
459
  openSidebar: "library" | "customSidebar" | null;
428
- openDialog: "imageExport" | "help" | null;
460
+ openDialog: "imageExport" | "help" | "jsonExport" | null;
429
461
  isSidebarDocked: boolean;
430
462
  lastPointerDownWith: import("../element/types").PointerType;
431
463
  selectedElementIds: {
@@ -469,6 +501,7 @@ export declare const actionCopyAsSvg: {
469
501
  };
470
502
  commitToHistory: false;
471
503
  }>;
504
+ predicate: (elements: readonly import("../element/types").ExcalidrawElement[]) => boolean;
472
505
  contextItemLabel: string;
473
506
  } & {
474
507
  keyTest?: undefined;
@@ -484,6 +517,11 @@ export declare const actionCopyAsPng: {
484
517
  } | {
485
518
  appState: {
486
519
  errorMessage: any;
520
+ contextMenu: {
521
+ items: import("../components/ContextMenu").ContextMenuItems;
522
+ top: number;
523
+ left: number;
524
+ } | null;
487
525
  showWelcomeScreen: boolean;
488
526
  isLoading: boolean;
489
527
  draggingElement: import("../element/types").NonDeletedExcalidrawElement | null;
@@ -522,10 +560,9 @@ export declare const actionCopyAsPng: {
522
560
  currentItemFontFamily: number;
523
561
  currentItemFontSize: number;
524
562
  currentItemTextAlign: string;
525
- currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
526
563
  currentItemStartArrowhead: import("../element/types").Arrowhead | null;
527
564
  currentItemEndArrowhead: import("../element/types").Arrowhead | null;
528
- currentItemLinearStrokeSharpness: import("../element/types").StrokeSharpness;
565
+ currentItemRoundness: import("../element/types").StrokeRoundness;
529
566
  viewBackgroundColor: string;
530
567
  scrollX: number;
531
568
  scrollY: number;
@@ -540,7 +577,7 @@ export declare const actionCopyAsPng: {
540
577
  openMenu: "canvas" | "shape" | null;
541
578
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
542
579
  openSidebar: "library" | "customSidebar" | null;
543
- openDialog: "imageExport" | "help" | null;
580
+ openDialog: "imageExport" | "help" | "jsonExport" | null;
544
581
  isSidebarDocked: boolean;
545
582
  lastPointerDownWith: import("../element/types").PointerType;
546
583
  selectedElementIds: {
@@ -584,6 +621,7 @@ export declare const actionCopyAsPng: {
584
621
  };
585
622
  commitToHistory: false;
586
623
  }>;
624
+ predicate: (elements: readonly import("../element/types").ExcalidrawElement[]) => boolean;
587
625
  contextItemLabel: string;
588
626
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
589
627
  } & {
@@ -597,7 +635,7 @@ export declare const copyText: {
597
635
  perform: (elements: readonly import("../element/types").ExcalidrawElement[], appState: Readonly<import("../types").AppState>) => {
598
636
  commitToHistory: false;
599
637
  };
600
- contextItemPredicate: (elements: readonly import("../element/types").ExcalidrawElement[], appState: import("../types").AppState) => boolean;
638
+ predicate: (elements: readonly import("../element/types").ExcalidrawElement[], appState: import("../types").AppState) => boolean;
601
639
  contextItemLabel: string;
602
640
  } & {
603
641
  keyTest?: undefined;
@@ -12,6 +12,11 @@ export declare const actionDeleteSelected: {
12
12
  elements: ExcalidrawElement[];
13
13
  appState: {
14
14
  editingLinearElement: null;
15
+ contextMenu: {
16
+ items: import("../components/ContextMenu").ContextMenuItems;
17
+ top: number;
18
+ left: number;
19
+ } | null;
15
20
  showWelcomeScreen: boolean;
16
21
  isLoading: boolean;
17
22
  errorMessage: string | null;
@@ -50,10 +55,9 @@ export declare const actionDeleteSelected: {
50
55
  currentItemFontFamily: number;
51
56
  currentItemFontSize: number;
52
57
  currentItemTextAlign: string;
53
- currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
54
58
  currentItemStartArrowhead: import("../element/types").Arrowhead | null;
55
59
  currentItemEndArrowhead: import("../element/types").Arrowhead | null;
56
- currentItemLinearStrokeSharpness: import("../element/types").StrokeSharpness;
60
+ currentItemRoundness: import("../element/types").StrokeRoundness;
57
61
  viewBackgroundColor: string;
58
62
  scrollX: number;
59
63
  scrollY: number;
@@ -68,7 +72,7 @@ export declare const actionDeleteSelected: {
68
72
  openMenu: "canvas" | "shape" | null;
69
73
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
70
74
  openSidebar: "library" | "customSidebar" | null;
71
- openDialog: "imageExport" | "help" | null;
75
+ openDialog: "imageExport" | "help" | "jsonExport" | null;
72
76
  isSidebarDocked: boolean;
73
77
  lastPointerDownWith: import("../element/types").PointerType;
74
78
  selectedElementIds: {
@@ -143,6 +147,11 @@ export declare const actionDeleteSelected: {
143
147
  hoverPointIndex: number;
144
148
  segmentMidPointHoveredCoords: readonly [number, number] | null;
145
149
  };
150
+ contextMenu: {
151
+ items: import("../components/ContextMenu").ContextMenuItems;
152
+ top: number;
153
+ left: number;
154
+ } | null;
146
155
  showWelcomeScreen: boolean;
147
156
  isLoading: boolean;
148
157
  errorMessage: string | null;
@@ -181,10 +190,9 @@ export declare const actionDeleteSelected: {
181
190
  currentItemFontFamily: number;
182
191
  currentItemFontSize: number;
183
192
  currentItemTextAlign: string;
184
- currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
185
193
  currentItemStartArrowhead: import("../element/types").Arrowhead | null;
186
194
  currentItemEndArrowhead: import("../element/types").Arrowhead | null;
187
- currentItemLinearStrokeSharpness: import("../element/types").StrokeSharpness;
195
+ currentItemRoundness: import("../element/types").StrokeRoundness;
188
196
  viewBackgroundColor: string;
189
197
  scrollX: number;
190
198
  scrollY: number;
@@ -199,7 +207,7 @@ export declare const actionDeleteSelected: {
199
207
  openMenu: "canvas" | "shape" | null;
200
208
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
201
209
  openSidebar: "library" | "customSidebar" | null;
202
- openDialog: "imageExport" | "help" | null;
210
+ openDialog: "imageExport" | "help" | "jsonExport" | null;
203
211
  isSidebarDocked: boolean;
204
212
  lastPointerDownWith: import("../element/types").PointerType;
205
213
  selectedElementIds: {
@@ -258,6 +266,11 @@ export declare const actionDeleteSelected: {
258
266
  };
259
267
  multiElement: null;
260
268
  selectedElementIds: {};
269
+ contextMenu: {
270
+ items: import("../components/ContextMenu").ContextMenuItems;
271
+ top: number;
272
+ left: number;
273
+ } | null;
261
274
  showWelcomeScreen: boolean;
262
275
  isLoading: boolean;
263
276
  errorMessage: string | null;
@@ -285,10 +298,9 @@ export declare const actionDeleteSelected: {
285
298
  currentItemFontFamily: number;
286
299
  currentItemFontSize: number;
287
300
  currentItemTextAlign: string;
288
- currentItemStrokeSharpness: import("../element/types").StrokeSharpness;
289
301
  currentItemStartArrowhead: import("../element/types").Arrowhead | null;
290
302
  currentItemEndArrowhead: import("../element/types").Arrowhead | null;
291
- currentItemLinearStrokeSharpness: import("../element/types").StrokeSharpness;
303
+ currentItemRoundness: import("../element/types").StrokeRoundness;
292
304
  viewBackgroundColor: string;
293
305
  scrollX: number;
294
306
  scrollY: number;
@@ -303,7 +315,7 @@ export declare const actionDeleteSelected: {
303
315
  openMenu: "canvas" | "shape" | null;
304
316
  openPopup: "canvasColorPicker" | "backgroundColorPicker" | "strokeColorPicker" | null;
305
317
  openSidebar: "library" | "customSidebar" | null;
306
- openDialog: "imageExport" | "help" | null;
318
+ openDialog: "imageExport" | "help" | "jsonExport" | null;
307
319
  isSidebarDocked: boolean;
308
320
  lastPointerDownWith: import("../element/types").PointerType;
309
321
  previousSelectedElementIds: {
@@ -346,9 +358,7 @@ export declare const actionDeleteSelected: {
346
358
  };
347
359
  contextItemLabel: string;
348
360
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
349
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps & {
350
- isInHamburgerMenu: boolean;
351
- }) => JSX.Element;
361
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
352
362
  } & {
353
363
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
354
364
  };
@@ -12,9 +12,7 @@ export declare const distributeHorizontally: {
12
12
  commitToHistory: true;
13
13
  };
14
14
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
15
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps & {
16
- isInHamburgerMenu: boolean;
17
- }) => JSX.Element;
15
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
18
16
  } & {
19
17
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
20
18
  };
@@ -29,9 +27,7 @@ export declare const distributeVertically: {
29
27
  commitToHistory: true;
30
28
  };
31
29
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
32
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps & {
33
- isInHamburgerMenu: boolean;
34
- }) => JSX.Element;
30
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
35
31
  } & {
36
32
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
37
33
  };
@@ -16,9 +16,7 @@ export declare const actionDuplicateSelection: {
16
16
  };
17
17
  contextItemLabel: string;
18
18
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
19
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps & {
20
- isInHamburgerMenu: boolean;
21
- }) => JSX.Element;
19
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
22
20
  } & {
23
21
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
24
22
  };