@excalidraw/excalidraw 0.18.0-rc.2 → 0.18.0-rc.4

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 (183) hide show
  1. package/README.md +4 -5
  2. package/dist/dev/{chunk-CI27YPGF.js → chunk-3O3BNMYV.js} +71 -8
  3. package/dist/dev/chunk-3O3BNMYV.js.map +7 -0
  4. package/dist/dev/data/{image-TC7JM54G.js → image-EN763OZS.js} +2 -2
  5. package/dist/dev/index.js +9 -7
  6. package/dist/dev/index.js.map +3 -3
  7. package/dist/prod/{chunk-FZ2HZXXI.js → chunk-ELWWJGPE.js} +16 -16
  8. package/dist/prod/data/{image-QTHH6XLL.js → image-XQM6YLGO.js} +1 -1
  9. package/dist/prod/index.js +9 -9
  10. package/dist/types/excalidraw/actions/actionAlign.d.ts +12 -12
  11. package/dist/types/excalidraw/actions/actionCanvas.d.ts +13 -13
  12. package/dist/types/excalidraw/actions/actionClipboard.d.ts +4 -4
  13. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +2 -2
  14. package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +2 -2
  15. package/dist/types/excalidraw/actions/actionDistribute.d.ts +2 -2
  16. package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -2
  17. package/dist/types/excalidraw/actions/actionElementLink.d.ts +2 -2
  18. package/dist/types/excalidraw/actions/actionElementLock.d.ts +2 -2
  19. package/dist/types/excalidraw/actions/actionExport.d.ts +8 -8
  20. package/dist/types/excalidraw/actions/actionFinalize.d.ts +1 -1
  21. package/dist/types/excalidraw/actions/actionFlip.d.ts +2 -2
  22. package/dist/types/excalidraw/actions/actionFrame.d.ts +1 -1
  23. package/dist/types/excalidraw/actions/actionGroup.d.ts +4 -4
  24. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +1 -1
  25. package/dist/types/excalidraw/actions/actionLink.d.ts +2 -2
  26. package/dist/types/excalidraw/actions/actionMenu.d.ts +3 -3
  27. package/dist/types/excalidraw/actions/actionNavigate.d.ts +1 -1
  28. package/dist/types/excalidraw/actions/actionProperties.d.ts +16 -16
  29. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +1 -1
  30. package/dist/types/excalidraw/actions/actionStyles.d.ts +2 -2
  31. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +1 -1
  32. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +1 -1
  33. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +1 -1
  34. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +1 -1
  35. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +1 -1
  36. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +1 -1
  37. package/dist/types/excalidraw/actions/actionZindex.d.ts +8 -8
  38. package/dist/types/excalidraw/actions/manager.d.ts +1 -1
  39. package/dist/types/excalidraw/components/Actions.d.ts +6 -7
  40. package/dist/types/excalidraw/components/ActiveConfirmDialog.d.ts +1 -2
  41. package/dist/types/excalidraw/components/App.d.ts +1 -1
  42. package/dist/types/excalidraw/components/Avatar.d.ts +1 -1
  43. package/dist/types/excalidraw/components/BraveMeasureTextError.d.ts +1 -2
  44. package/dist/types/excalidraw/components/Button.d.ts +1 -1
  45. package/dist/types/excalidraw/components/ButtonIcon.d.ts +1 -1
  46. package/dist/types/excalidraw/components/ButtonIconCycle.d.ts +2 -2
  47. package/dist/types/excalidraw/components/ButtonIconSelect.d.ts +2 -2
  48. package/dist/types/excalidraw/components/ButtonSelect.d.ts +1 -2
  49. package/dist/types/excalidraw/components/ButtonSeparator.d.ts +1 -2
  50. package/dist/types/excalidraw/components/ColorPicker/ColorInput.d.ts +1 -2
  51. package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +1 -2
  52. package/dist/types/excalidraw/components/ColorPicker/CustomColorList.d.ts +1 -2
  53. package/dist/types/excalidraw/components/ColorPicker/HotkeyLabel.d.ts +1 -2
  54. package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +1 -1
  55. package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +1 -2
  56. package/dist/types/excalidraw/components/ColorPicker/PickerHeading.d.ts +1 -1
  57. package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +1 -2
  58. package/dist/types/excalidraw/components/ColorPicker/TopPicks.d.ts +1 -2
  59. package/dist/types/excalidraw/components/CommandPalette/CommandPalette.d.ts +1 -2
  60. package/dist/types/excalidraw/components/ConfirmDialog.d.ts +1 -2
  61. package/dist/types/excalidraw/components/ContextMenu.d.ts +1 -1
  62. package/dist/types/excalidraw/components/DarkModeToggle.d.ts +1 -2
  63. package/dist/types/excalidraw/components/DefaultSidebar.d.ts +1 -1
  64. package/dist/types/excalidraw/components/Dialog.d.ts +1 -1
  65. package/dist/types/excalidraw/components/DialogActionButton.d.ts +1 -1
  66. package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +1 -2
  67. package/dist/types/excalidraw/components/ErrorDialog.d.ts +1 -1
  68. package/dist/types/excalidraw/components/ExcalidrawLogo.d.ts +1 -1
  69. package/dist/types/excalidraw/components/FixedSideContainer.d.ts +1 -1
  70. package/dist/types/excalidraw/components/FollowMode/FollowMode.d.ts +1 -2
  71. package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +2 -2
  72. package/dist/types/excalidraw/components/FontPicker/FontPickerList.d.ts +2 -1
  73. package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +1 -2
  74. package/dist/types/excalidraw/components/FontPicker/keyboardNavHandlers.d.ts +1 -1
  75. package/dist/types/excalidraw/components/HandButton.d.ts +1 -2
  76. package/dist/types/excalidraw/components/HelpButton.d.ts +1 -2
  77. package/dist/types/excalidraw/components/HelpDialog.d.ts +1 -2
  78. package/dist/types/excalidraw/components/HintViewer.d.ts +1 -2
  79. package/dist/types/excalidraw/components/IconPicker.d.ts +2 -2
  80. package/dist/types/excalidraw/components/ImageExportDialog.d.ts +2 -3
  81. package/dist/types/excalidraw/components/InitializeApp.d.ts +1 -1
  82. package/dist/types/excalidraw/components/InlineIcon.d.ts +1 -2
  83. package/dist/types/excalidraw/components/JSONExportDialog.d.ts +1 -1
  84. package/dist/types/excalidraw/components/LaserPointerButton.d.ts +1 -2
  85. package/dist/types/excalidraw/components/LayerUI.d.ts +1 -1
  86. package/dist/types/excalidraw/components/LibraryMenu.d.ts +1 -1
  87. package/dist/types/excalidraw/components/LibraryMenuBrowseButton.d.ts +1 -2
  88. package/dist/types/excalidraw/components/LibraryMenuControlButtons.d.ts +1 -2
  89. package/dist/types/excalidraw/components/LibraryMenuHeaderContent.d.ts +1 -1
  90. package/dist/types/excalidraw/components/LibraryMenuItems.d.ts +1 -2
  91. package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +2 -2
  92. package/dist/types/excalidraw/components/LibraryUnit.d.ts +2 -2
  93. package/dist/types/excalidraw/components/LockButton.d.ts +1 -2
  94. package/dist/types/excalidraw/components/MagicButton.d.ts +2 -2
  95. package/dist/types/excalidraw/components/MobileMenu.d.ts +2 -1
  96. package/dist/types/excalidraw/components/OverwriteConfirm/OverwriteConfirm.d.ts +4 -4
  97. package/dist/types/excalidraw/components/OverwriteConfirm/OverwriteConfirmActions.d.ts +6 -6
  98. package/dist/types/excalidraw/components/Paragraph.d.ts +1 -2
  99. package/dist/types/excalidraw/components/PasteChartDialog.d.ts +1 -1
  100. package/dist/types/excalidraw/components/PenModeButton.d.ts +1 -2
  101. package/dist/types/excalidraw/components/Popover.d.ts +1 -1
  102. package/dist/types/excalidraw/components/ProjectName.d.ts +1 -2
  103. package/dist/types/excalidraw/components/PublishLibrary.d.ts +1 -2
  104. package/dist/types/excalidraw/components/RadioGroup.d.ts +1 -1
  105. package/dist/types/excalidraw/components/Range.d.ts +1 -2
  106. package/dist/types/excalidraw/components/SVGLayer.d.ts +1 -2
  107. package/dist/types/excalidraw/components/ScrollableList.d.ts +1 -1
  108. package/dist/types/excalidraw/components/SearchMenu.d.ts +1 -2
  109. package/dist/types/excalidraw/components/ShareableLinkDialog.d.ts +1 -2
  110. package/dist/types/excalidraw/components/Sidebar/Sidebar.d.ts +6 -6
  111. package/dist/types/excalidraw/components/Sidebar/SidebarHeader.d.ts +1 -2
  112. package/dist/types/excalidraw/components/Sidebar/SidebarTab.d.ts +1 -1
  113. package/dist/types/excalidraw/components/Sidebar/SidebarTabTrigger.d.ts +1 -1
  114. package/dist/types/excalidraw/components/Sidebar/SidebarTabTriggers.d.ts +1 -1
  115. package/dist/types/excalidraw/components/Sidebar/SidebarTabs.d.ts +1 -1
  116. package/dist/types/excalidraw/components/Sidebar/SidebarTrigger.d.ts +1 -2
  117. package/dist/types/excalidraw/components/Sidebar/common.d.ts +1 -0
  118. package/dist/types/excalidraw/components/Spinner.d.ts +1 -2
  119. package/dist/types/excalidraw/components/Stack.d.ts +2 -3
  120. package/dist/types/excalidraw/components/Stats/Angle.d.ts +1 -2
  121. package/dist/types/excalidraw/components/Stats/CanvasGrid.d.ts +1 -1
  122. package/dist/types/excalidraw/components/Stats/Collapsible.d.ts +1 -1
  123. package/dist/types/excalidraw/components/Stats/Dimension.d.ts +1 -2
  124. package/dist/types/excalidraw/components/Stats/DragInput.d.ts +1 -1
  125. package/dist/types/excalidraw/components/Stats/FontSize.d.ts +1 -2
  126. package/dist/types/excalidraw/components/Stats/MultiAngle.d.ts +1 -2
  127. package/dist/types/excalidraw/components/Stats/MultiDimension.d.ts +1 -2
  128. package/dist/types/excalidraw/components/Stats/MultiFontSize.d.ts +1 -2
  129. package/dist/types/excalidraw/components/Stats/MultiPosition.d.ts +1 -2
  130. package/dist/types/excalidraw/components/Stats/Position.d.ts +1 -2
  131. package/dist/types/excalidraw/components/Stats/index.d.ts +4 -4
  132. package/dist/types/excalidraw/components/Switch.d.ts +1 -2
  133. package/dist/types/excalidraw/components/TTDDialog/MermaidToExcalidraw.d.ts +1 -2
  134. package/dist/types/excalidraw/components/TTDDialog/TTDDialog.d.ts +1 -1
  135. package/dist/types/excalidraw/components/TTDDialog/TTDDialogInput.d.ts +1 -1
  136. package/dist/types/excalidraw/components/TTDDialog/TTDDialogOutput.d.ts +2 -2
  137. package/dist/types/excalidraw/components/TTDDialog/TTDDialogPanel.d.ts +1 -1
  138. package/dist/types/excalidraw/components/TTDDialog/TTDDialogPanels.d.ts +1 -1
  139. package/dist/types/excalidraw/components/TTDDialog/TTDDialogSubmitShortcut.d.ts +1 -2
  140. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTab.d.ts +1 -1
  141. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTabTrigger.d.ts +1 -1
  142. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTabTriggers.d.ts +1 -1
  143. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTabs.d.ts +1 -1
  144. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts +2 -1
  145. package/dist/types/excalidraw/components/TTDDialog/common.d.ts +1 -1
  146. package/dist/types/excalidraw/components/Toast.d.ts +1 -1
  147. package/dist/types/excalidraw/components/Tooltip.d.ts +1 -1
  148. package/dist/types/excalidraw/components/UserList.d.ts +1 -1
  149. package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +2 -2
  150. package/dist/types/excalidraw/components/canvases/NewElementCanvas.d.ts +1 -2
  151. package/dist/types/excalidraw/components/canvases/StaticCanvas.d.ts +1 -1
  152. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +11 -11
  153. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts +1 -1
  154. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuGroup.d.ts +1 -1
  155. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts +4 -3
  156. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemContent.d.ts +2 -2
  157. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemContentRadio.d.ts +1 -1
  158. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemCustom.d.ts +1 -1
  159. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemLink.d.ts +2 -1
  160. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuSeparator.d.ts +1 -2
  161. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuTrigger.d.ts +1 -1
  162. package/dist/types/excalidraw/components/dropdownMenu/dropdownMenuUtils.d.ts +2 -2
  163. package/dist/types/excalidraw/components/footer/Footer.d.ts +1 -2
  164. package/dist/types/excalidraw/components/footer/FooterCenter.d.ts +1 -2
  165. package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +1 -2
  166. package/dist/types/excalidraw/components/icons.d.ts +178 -178
  167. package/dist/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +1 -1
  168. package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +12 -13
  169. package/dist/types/excalidraw/components/main-menu/MainMenu.d.ts +9 -9
  170. package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.Center.d.ts +10 -10
  171. package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.Hints.d.ts +3 -4
  172. package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.d.ts +15 -15
  173. package/dist/types/excalidraw/element/ElementCanvasButtons.d.ts +1 -2
  174. package/dist/types/excalidraw/element/types.d.ts +1 -1
  175. package/dist/types/excalidraw/fonts/FontMetadata.d.ts +1 -1
  176. package/dist/types/excalidraw/hooks/useOutsideClick.d.ts +1 -1
  177. package/dist/types/excalidraw/hooks/useScrollPosition.d.ts +1 -1
  178. package/dist/types/excalidraw/index.d.ts +1 -1
  179. package/dist/types/excalidraw/shapes.d.ts +10 -11
  180. package/dist/types/excalidraw/types.d.ts +1 -0
  181. package/package.json +11 -11
  182. package/dist/dev/chunk-CI27YPGF.js.map +0 -7
  183. /package/dist/dev/data/{image-TC7JM54G.js.map → image-EN763OZS.js.map} +0 -0
@@ -5,7 +5,7 @@ export declare const alignActionsPredicate: (appState: UIAppState, app: AppClass
5
5
  export declare const actionAlignTop: {
6
6
  name: "alignTop";
7
7
  label: string;
8
- icon: JSX.Element;
8
+ icon: import("react/jsx-runtime").JSX.Element;
9
9
  trackEvent: {
10
10
  category: "element";
11
11
  };
@@ -16,14 +16,14 @@ export declare const actionAlignTop: {
16
16
  storeAction: "capture";
17
17
  };
18
18
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
19
- PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => JSX.Element;
19
+ PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
20
20
  } & {
21
21
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
22
22
  };
23
23
  export declare const actionAlignBottom: {
24
24
  name: "alignBottom";
25
25
  label: string;
26
- icon: JSX.Element;
26
+ icon: import("react/jsx-runtime").JSX.Element;
27
27
  trackEvent: {
28
28
  category: "element";
29
29
  };
@@ -34,14 +34,14 @@ export declare const actionAlignBottom: {
34
34
  storeAction: "capture";
35
35
  };
36
36
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
37
- PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => JSX.Element;
37
+ PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
38
38
  } & {
39
39
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
40
40
  };
41
41
  export declare const actionAlignLeft: {
42
42
  name: "alignLeft";
43
43
  label: string;
44
- icon: JSX.Element;
44
+ icon: import("react/jsx-runtime").JSX.Element;
45
45
  trackEvent: {
46
46
  category: "element";
47
47
  };
@@ -52,14 +52,14 @@ export declare const actionAlignLeft: {
52
52
  storeAction: "capture";
53
53
  };
54
54
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
55
- PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => JSX.Element;
55
+ PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
56
56
  } & {
57
57
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
58
58
  };
59
59
  export declare const actionAlignRight: {
60
60
  name: "alignRight";
61
61
  label: string;
62
- icon: JSX.Element;
62
+ icon: import("react/jsx-runtime").JSX.Element;
63
63
  trackEvent: {
64
64
  category: "element";
65
65
  };
@@ -70,14 +70,14 @@ export declare const actionAlignRight: {
70
70
  storeAction: "capture";
71
71
  };
72
72
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
73
- PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => JSX.Element;
73
+ PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
74
74
  } & {
75
75
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
76
76
  };
77
77
  export declare const actionAlignVerticallyCentered: {
78
78
  name: "alignVerticallyCentered";
79
79
  label: string;
80
- icon: JSX.Element;
80
+ icon: import("react/jsx-runtime").JSX.Element;
81
81
  trackEvent: {
82
82
  category: "element";
83
83
  };
@@ -87,14 +87,14 @@ export declare const actionAlignVerticallyCentered: {
87
87
  elements: ExcalidrawElement[];
88
88
  storeAction: "capture";
89
89
  };
90
- PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => JSX.Element;
90
+ PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
91
91
  } & {
92
92
  keyTest?: undefined;
93
93
  };
94
94
  export declare const actionAlignHorizontallyCentered: {
95
95
  name: "alignHorizontallyCentered";
96
96
  label: string;
97
- icon: JSX.Element;
97
+ icon: import("react/jsx-runtime").JSX.Element;
98
98
  trackEvent: {
99
99
  category: "element";
100
100
  };
@@ -104,7 +104,7 @@ export declare const actionAlignHorizontallyCentered: {
104
104
  elements: ExcalidrawElement[];
105
105
  storeAction: "capture";
106
106
  };
107
- PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => JSX.Element;
107
+ PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
108
108
  } & {
109
109
  keyTest?: undefined;
110
110
  };
@@ -12,7 +12,7 @@ export declare const actionChangeViewBackgroundColor: {
12
12
  appState: any;
13
13
  storeAction: "none" | "capture";
14
14
  };
15
- PanelComponent: ({ elements, appState, updateData, appProps }: import("./types").PanelComponentProps) => JSX.Element;
15
+ PanelComponent: ({ elements, appState, updateData, appProps }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
16
16
  } & {
17
17
  keyTest?: undefined;
18
18
  };
@@ -20,7 +20,7 @@ export declare const actionClearCanvas: {
20
20
  name: "clearCanvas";
21
21
  label: string;
22
22
  paletteName: string;
23
- icon: JSX.Element;
23
+ icon: import("react/jsx-runtime").JSX.Element;
24
24
  trackEvent: {
25
25
  category: "canvas";
26
26
  };
@@ -206,7 +206,7 @@ export declare const actionZoomIn: {
206
206
  name: "zoomIn";
207
207
  label: string;
208
208
  viewMode: true;
209
- icon: JSX.Element;
209
+ icon: import("react/jsx-runtime").JSX.Element;
210
210
  trackEvent: {
211
211
  category: "canvas";
212
212
  };
@@ -386,7 +386,7 @@ export declare const actionZoomIn: {
386
386
  };
387
387
  storeAction: "none";
388
388
  };
389
- PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => JSX.Element;
389
+ PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
390
390
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
391
391
  } & {
392
392
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
@@ -394,7 +394,7 @@ export declare const actionZoomIn: {
394
394
  export declare const actionZoomOut: {
395
395
  name: "zoomOut";
396
396
  label: string;
397
- icon: JSX.Element;
397
+ icon: import("react/jsx-runtime").JSX.Element;
398
398
  viewMode: true;
399
399
  trackEvent: {
400
400
  category: "canvas";
@@ -575,7 +575,7 @@ export declare const actionZoomOut: {
575
575
  };
576
576
  storeAction: "none";
577
577
  };
578
- PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => JSX.Element;
578
+ PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
579
579
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
580
580
  } & {
581
581
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
@@ -583,7 +583,7 @@ export declare const actionZoomOut: {
583
583
  export declare const actionResetZoom: {
584
584
  name: "resetZoom";
585
585
  label: string;
586
- icon: JSX.Element;
586
+ icon: import("react/jsx-runtime").JSX.Element;
587
587
  viewMode: true;
588
588
  trackEvent: {
589
589
  category: "canvas";
@@ -764,7 +764,7 @@ export declare const actionResetZoom: {
764
764
  };
765
765
  storeAction: "none";
766
766
  };
767
- PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => JSX.Element;
767
+ PanelComponent: ({ updateData, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
768
768
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
769
769
  } & {
770
770
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
@@ -1154,7 +1154,7 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
1154
1154
  export declare const actionZoomToFitSelectionInViewport: {
1155
1155
  name: "zoomToFitSelectionInViewport";
1156
1156
  label: string;
1157
- icon: JSX.Element;
1157
+ icon: import("react/jsx-runtime").JSX.Element;
1158
1158
  trackEvent: {
1159
1159
  category: "canvas";
1160
1160
  };
@@ -1341,7 +1341,7 @@ export declare const actionZoomToFitSelectionInViewport: {
1341
1341
  export declare const actionZoomToFitSelection: {
1342
1342
  name: "zoomToFitSelection";
1343
1343
  label: string;
1344
- icon: JSX.Element;
1344
+ icon: import("react/jsx-runtime").JSX.Element;
1345
1345
  trackEvent: {
1346
1346
  category: "canvas";
1347
1347
  };
@@ -1528,7 +1528,7 @@ export declare const actionZoomToFitSelection: {
1528
1528
  export declare const actionZoomToFit: {
1529
1529
  name: "zoomToFit";
1530
1530
  label: string;
1531
- icon: JSX.Element;
1531
+ icon: import("react/jsx-runtime").JSX.Element;
1532
1532
  viewMode: true;
1533
1533
  trackEvent: {
1534
1534
  category: "canvas";
@@ -1717,7 +1717,7 @@ export declare const actionToggleTheme: {
1717
1717
  name: "toggleTheme";
1718
1718
  label: (_: readonly ExcalidrawElement[], appState: Readonly<AppState>) => "buttons.lightMode" | "buttons.darkMode";
1719
1719
  keywords: string[];
1720
- icon: (appState: import("../types").UIAppState) => JSX.Element;
1720
+ icon: (appState: import("../types").UIAppState) => import("react/jsx-runtime").JSX.Element;
1721
1721
  viewMode: true;
1722
1722
  trackEvent: {
1723
1723
  category: "canvas";
@@ -2089,7 +2089,7 @@ export declare const actionToggleHandTool: {
2089
2089
  trackEvent: {
2090
2090
  category: "toolbar";
2091
2091
  };
2092
- icon: JSX.Element;
2092
+ icon: import("react/jsx-runtime").JSX.Element;
2093
2093
  viewMode: false;
2094
2094
  perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: import("../types").AppClassProperties) => {
2095
2095
  appState: {
@@ -2,7 +2,7 @@
2
2
  export declare const actionCopy: {
3
3
  name: "copy";
4
4
  label: string;
5
- icon: JSX.Element;
5
+ icon: import("react/jsx-runtime").JSX.Element;
6
6
  trackEvent: {
7
7
  category: "element";
8
8
  };
@@ -381,7 +381,7 @@ export declare const actionPaste: {
381
381
  export declare const actionCut: {
382
382
  name: "cut";
383
383
  label: string;
384
- icon: JSX.Element;
384
+ icon: import("react/jsx-runtime").JSX.Element;
385
385
  trackEvent: {
386
386
  category: "element";
387
387
  };
@@ -948,7 +948,7 @@ export declare const actionCut: {
948
948
  export declare const actionCopyAsSvg: {
949
949
  name: "copyAsSvg";
950
950
  label: string;
951
- icon: JSX.Element;
951
+ icon: import("react/jsx-runtime").JSX.Element;
952
952
  trackEvent: {
953
953
  category: "element";
954
954
  };
@@ -978,7 +978,7 @@ export declare const actionCopyAsSvg: {
978
978
  export declare const actionCopyAsPng: {
979
979
  name: "copyAsPng";
980
980
  label: string;
981
- icon: JSX.Element;
981
+ icon: import("react/jsx-runtime").JSX.Element;
982
982
  trackEvent: {
983
983
  category: "element";
984
984
  };
@@ -2,7 +2,7 @@
2
2
  export declare const actionToggleCropEditor: {
3
3
  name: "cropEditor";
4
4
  label: string;
5
- icon: JSX.Element;
5
+ icon: import("react/jsx-runtime").JSX.Element;
6
6
  viewMode: true;
7
7
  trackEvent: {
8
8
  category: "menu";
@@ -185,7 +185,7 @@ export declare const actionToggleCropEditor: {
185
185
  storeAction: "capture";
186
186
  };
187
187
  predicate: (elements: readonly import("../element/types").ExcalidrawElement[], appState: import("../types").AppState, _: import("../types").ExcalidrawProps, app: import("../types").AppClassProperties) => boolean;
188
- PanelComponent: ({ appState, updateData, app }: import("./types").PanelComponentProps) => JSX.Element;
188
+ PanelComponent: ({ appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
189
189
  } & {
190
190
  keyTest?: undefined;
191
191
  };
@@ -5,7 +5,7 @@ import { LinearElementEditor } from "../element/linearElementEditor";
5
5
  export declare const actionDeleteSelected: {
6
6
  name: "deleteSelectedElements";
7
7
  label: string;
8
- icon: JSX.Element;
8
+ icon: import("react/jsx-runtime").JSX.Element;
9
9
  trackEvent: {
10
10
  category: "element";
11
11
  action: string;
@@ -567,7 +567,7 @@ export declare const actionDeleteSelected: {
567
567
  storeAction: "none" | "capture";
568
568
  };
569
569
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly ExcalidrawElement[]) => boolean;
570
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
570
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
571
571
  } & {
572
572
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState, elements: readonly ExcalidrawElement[]) => boolean) | undefined;
573
573
  };
@@ -13,7 +13,7 @@ export declare const distributeHorizontally: {
13
13
  storeAction: "capture";
14
14
  };
15
15
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
16
- PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => JSX.Element;
16
+ PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
17
17
  } & {
18
18
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
19
19
  };
@@ -29,7 +29,7 @@ export declare const distributeVertically: {
29
29
  storeAction: "capture";
30
30
  };
31
31
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
32
- PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => JSX.Element;
32
+ PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
33
33
  } & {
34
34
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
35
35
  };
@@ -4,7 +4,7 @@ import type { AppState } from "../types";
4
4
  export declare const actionDuplicateSelection: {
5
5
  name: "duplicateSelection";
6
6
  label: string;
7
- icon: JSX.Element;
7
+ icon: import("react/jsx-runtime").JSX.Element;
8
8
  trackEvent: {
9
9
  category: "element";
10
10
  };
@@ -16,7 +16,7 @@ export declare const actionDuplicateSelection: {
16
16
  replaceFiles?: boolean | undefined;
17
17
  };
18
18
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
19
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
19
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
20
20
  } & {
21
21
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
22
22
  };
@@ -2,7 +2,7 @@
2
2
  export declare const actionCopyElementLink: {
3
3
  name: "copyElementLink";
4
4
  label: string;
5
- icon: JSX.Element;
5
+ icon: import("react/jsx-runtime").JSX.Element;
6
6
  trackEvent: {
7
7
  category: "element";
8
8
  };
@@ -29,7 +29,7 @@ export declare const actionCopyElementLink: {
29
29
  export declare const actionLinkToElement: {
30
30
  name: "linkToElement";
31
31
  label: string;
32
- icon: JSX.Element;
32
+ icon: import("react/jsx-runtime").JSX.Element;
33
33
  perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: any, app: import("../types").AppClassProperties) => {
34
34
  elements: readonly import("../element/types").OrderedExcalidrawElement[];
35
35
  appState: Readonly<import("../types").AppState>;
@@ -3,7 +3,7 @@ import type { ExcalidrawElement } from "../element/types";
3
3
  export declare const actionToggleElementLock: {
4
4
  name: "toggleElementLock";
5
5
  label: (elements: readonly ExcalidrawElement[], appState: Readonly<import("../types").AppState>, app: import("../types").AppClassProperties) => "labels.elementLock.unlock" | "labels.elementLock.lock" | "labels.elementLock.lockAll" | "labels.elementLock.unlockAll";
6
- icon: (appState: import("../types").UIAppState, elements: readonly ExcalidrawElement[]) => JSX.Element;
6
+ icon: (appState: import("../types").UIAppState, elements: readonly ExcalidrawElement[]) => import("react/jsx-runtime").JSX.Element;
7
7
  trackEvent: {
8
8
  category: "element";
9
9
  };
@@ -196,7 +196,7 @@ export declare const actionUnlockAllElements: {
196
196
  category: "canvas";
197
197
  };
198
198
  viewMode: false;
199
- icon: JSX.Element;
199
+ icon: import("react/jsx-runtime").JSX.Element;
200
200
  predicate: (elements: readonly ExcalidrawElement[], appState: import("../types").AppState) => boolean;
201
201
  perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>) => {
202
202
  elements: import("../element/types").OrderedExcalidrawElement[];
@@ -181,7 +181,7 @@ export declare const actionChangeProjectName: {
181
181
  };
182
182
  storeAction: "none";
183
183
  };
184
- PanelComponent: ({ appState, updateData, appProps, data, app }: import("./types").PanelComponentProps) => JSX.Element;
184
+ PanelComponent: ({ appState, updateData, appProps, data, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
185
185
  } & {
186
186
  keyTest?: undefined;
187
187
  };
@@ -368,7 +368,7 @@ export declare const actionChangeExportScale: {
368
368
  };
369
369
  storeAction: "none";
370
370
  };
371
- PanelComponent: ({ elements: allElements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
371
+ PanelComponent: ({ elements: allElements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
372
372
  } & {
373
373
  keyTest?: undefined;
374
374
  };
@@ -555,7 +555,7 @@ export declare const actionChangeExportBackground: {
555
555
  };
556
556
  storeAction: "none";
557
557
  };
558
- PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
558
+ PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
559
559
  } & {
560
560
  keyTest?: undefined;
561
561
  };
@@ -742,14 +742,14 @@ export declare const actionChangeExportEmbedScene: {
742
742
  };
743
743
  storeAction: "none";
744
744
  };
745
- PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
745
+ PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
746
746
  } & {
747
747
  keyTest?: undefined;
748
748
  };
749
749
  export declare const actionSaveToActiveFile: {
750
750
  name: "saveToActiveFile";
751
751
  label: string;
752
- icon: JSX.Element;
752
+ icon: import("react/jsx-runtime").JSX.Element;
753
753
  trackEvent: {
754
754
  category: "export";
755
755
  };
@@ -938,7 +938,7 @@ export declare const actionSaveToActiveFile: {
938
938
  export declare const actionSaveFileToDisk: {
939
939
  name: "saveFileToDisk";
940
940
  label: string;
941
- icon: JSX.Element;
941
+ icon: import("react/jsx-runtime").JSX.Element;
942
942
  viewMode: true;
943
943
  trackEvent: {
944
944
  category: "export";
@@ -1111,7 +1111,7 @@ export declare const actionSaveFileToDisk: {
1111
1111
  appState?: undefined;
1112
1112
  }>;
1113
1113
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
1114
- PanelComponent: ({ updateData }: import("./types").PanelComponentProps) => JSX.Element;
1114
+ PanelComponent: ({ updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
1115
1115
  } & {
1116
1116
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
1117
1117
  };
@@ -1660,7 +1660,7 @@ export declare const actionExportWithDarkMode: {
1660
1660
  };
1661
1661
  storeAction: "none";
1662
1662
  };
1663
- PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
1663
+ PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
1664
1664
  } & {
1665
1665
  keyTest?: undefined;
1666
1666
  };
@@ -356,7 +356,7 @@ export declare const actionFinalize: {
356
356
  storeAction: "capture";
357
357
  };
358
358
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState) => boolean;
359
- PanelComponent: ({ appState, updateData, data }: import("./types").PanelComponentProps) => JSX.Element;
359
+ PanelComponent: ({ appState, updateData, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
360
360
  } & {
361
361
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>, appState: AppState) => boolean) | undefined;
362
362
  };
@@ -4,7 +4,7 @@ import type { AppClassProperties, AppState } from "../types";
4
4
  export declare const actionFlipHorizontal: {
5
5
  name: "flipHorizontal";
6
6
  label: string;
7
- icon: JSX.Element;
7
+ icon: import("react/jsx-runtime").JSX.Element;
8
8
  trackEvent: {
9
9
  category: "element";
10
10
  };
@@ -20,7 +20,7 @@ export declare const actionFlipHorizontal: {
20
20
  export declare const actionFlipVertical: {
21
21
  name: "flipVertical";
22
22
  label: string;
23
- icon: JSX.Element;
23
+ icon: import("react/jsx-runtime").JSX.Element;
24
24
  trackEvent: {
25
25
  category: "element";
26
26
  };
@@ -575,7 +575,7 @@ export declare const actionSetFrameAsActiveTool: {
575
575
  trackEvent: {
576
576
  category: "toolbar";
577
577
  };
578
- icon: JSX.Element;
578
+ icon: import("react/jsx-runtime").JSX.Element;
579
579
  viewMode: false;
580
580
  perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: any, app: AppClassProperties) => {
581
581
  elements: readonly import("../element/types").OrderedExcalidrawElement[];
@@ -4,7 +4,7 @@ import type { AppClassProperties, AppState } from "../types";
4
4
  export declare const actionGroup: {
5
5
  name: "group";
6
6
  label: string;
7
- icon: (appState: import("../types").UIAppState) => JSX.Element;
7
+ icon: (appState: import("../types").UIAppState) => import("react/jsx-runtime").JSX.Element;
8
8
  trackEvent: {
9
9
  category: "element";
10
10
  };
@@ -191,14 +191,14 @@ export declare const actionGroup: {
191
191
  };
192
192
  predicate: (elements: readonly ExcalidrawElement[], appState: AppState, _: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
193
193
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
194
- PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => JSX.Element;
194
+ PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
195
195
  } & {
196
196
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
197
197
  };
198
198
  export declare const actionUngroup: {
199
199
  name: "ungroup";
200
200
  label: string;
201
- icon: (appState: import("../types").UIAppState) => JSX.Element;
201
+ icon: (appState: import("../types").UIAppState) => import("react/jsx-runtime").JSX.Element;
202
202
  trackEvent: {
203
203
  category: "element";
204
204
  };
@@ -385,7 +385,7 @@ export declare const actionUngroup: {
385
385
  };
386
386
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
387
387
  predicate: (elements: readonly ExcalidrawElement[], appState: AppState) => boolean;
388
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
388
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
389
389
  } & {
390
390
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
391
391
  };
@@ -186,7 +186,7 @@ export declare const actionToggleLinearEditor: {
186
186
  };
187
187
  storeAction: "capture";
188
188
  };
189
- PanelComponent: ({ appState, updateData, app }: import("./types").PanelComponentProps) => JSX.Element;
189
+ PanelComponent: ({ appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
190
190
  } & {
191
191
  keyTest?: undefined;
192
192
  };
@@ -2,7 +2,7 @@
2
2
  export declare const actionLink: {
3
3
  name: "hyperlink";
4
4
  label: (elements: readonly import("../element/types").ExcalidrawElement[], appState: Readonly<import("../types").AppState>) => "labels.link.editEmbed" | "labels.link.edit" | "labels.link.create";
5
- icon: JSX.Element;
5
+ icon: import("react/jsx-runtime").JSX.Element;
6
6
  perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>) => false | {
7
7
  elements: readonly import("../element/types").OrderedExcalidrawElement[];
8
8
  appState: {
@@ -186,7 +186,7 @@ export declare const actionLink: {
186
186
  };
187
187
  keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
188
188
  predicate: (elements: readonly import("../element/types").ExcalidrawElement[], appState: import("../types").AppState) => boolean;
189
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
189
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
190
190
  } & {
191
191
  keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
192
192
  };
@@ -181,7 +181,7 @@ export declare const actionToggleCanvasMenu: {
181
181
  };
182
182
  storeAction: "none";
183
183
  };
184
- PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
184
+ PanelComponent: ({ appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
185
185
  } & {
186
186
  keyTest?: undefined;
187
187
  };
@@ -367,14 +367,14 @@ export declare const actionToggleEditMenu: {
367
367
  };
368
368
  storeAction: "none";
369
369
  };
370
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => JSX.Element;
370
+ PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
371
371
  } & {
372
372
  keyTest?: undefined;
373
373
  };
374
374
  export declare const actionShortcuts: {
375
375
  name: "toggleShortcuts";
376
376
  label: string;
377
- icon: JSX.Element;
377
+ icon: import("react/jsx-runtime").JSX.Element;
378
378
  viewMode: true;
379
379
  trackEvent: {
380
380
  category: "menu";
@@ -361,7 +361,7 @@ export declare const actionGoToCollaborator: {
361
361
  };
362
362
  storeAction: "none";
363
363
  };
364
- PanelComponent: ({ updateData, data, appState }: import("./types").PanelComponentProps) => JSX.Element;
364
+ PanelComponent: ({ updateData, data, appState }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
365
365
  } & {
366
366
  keyTest?: undefined;
367
367
  };