@dwelle/excalidraw 0.6.0-rc.1 → 0.6.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (227) hide show
  1. package/README.md +3 -2
  2. package/dist/dev/{chunk-EFVS2MI5.js → chunk-LCPOPWNR.js} +2 -2
  3. package/dist/dev/{chunk-EFVS2MI5.js.map → chunk-LCPOPWNR.js.map} +1 -1
  4. package/dist/dev/chunk-NGUTX5QY.js +25914 -0
  5. package/dist/dev/chunk-NGUTX5QY.js.map +7 -0
  6. package/dist/dev/data/image-2IPPJHZ4.js +13 -0
  7. package/dist/dev/index.css.map +1 -1
  8. package/dist/dev/index.js +33216 -35
  9. package/dist/dev/index.js.map +4 -4
  10. package/dist/dev/subset-shared.chunk.js +1 -1
  11. package/dist/dev/subset-worker.chunk.js +1 -1
  12. package/dist/prod/{chunk-P7457GAF.js → chunk-BE2LY6VO.js} +1 -1
  13. package/dist/prod/chunk-R7OERAXD.js +46 -0
  14. package/dist/prod/data/image-DXJVNPGL.js +1 -0
  15. package/dist/prod/index.js +108 -1
  16. package/dist/prod/subset-shared.chunk.js +1 -1
  17. package/dist/prod/subset-worker.chunk.js +1 -1
  18. package/dist/types/excalidraw/actions/actionAlign.d.ts +12 -12
  19. package/dist/types/excalidraw/actions/actionCanvas.d.ts +18 -18
  20. package/dist/types/excalidraw/actions/actionClipboard.d.ts +4 -4
  21. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +2 -2
  22. package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +2 -2
  23. package/dist/types/excalidraw/actions/actionDistribute.d.ts +2 -2
  24. package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -2
  25. package/dist/types/excalidraw/actions/actionElementLink.d.ts +2 -2
  26. package/dist/types/excalidraw/actions/actionElementLock.d.ts +2 -2
  27. package/dist/types/excalidraw/actions/actionExport.d.ts +19 -19
  28. package/dist/types/excalidraw/actions/actionFinalize.d.ts +1 -1
  29. package/dist/types/excalidraw/actions/actionFlip.d.ts +2 -2
  30. package/dist/types/excalidraw/actions/actionFrame.d.ts +2 -2
  31. package/dist/types/excalidraw/actions/actionGroup.d.ts +4 -4
  32. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +1 -1
  33. package/dist/types/excalidraw/actions/actionLink.d.ts +2 -2
  34. package/dist/types/excalidraw/actions/actionMenu.d.ts +3 -3
  35. package/dist/types/excalidraw/actions/actionNavigate.d.ts +1 -1
  36. package/dist/types/excalidraw/actions/actionProperties.d.ts +16 -16
  37. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +1 -1
  38. package/dist/types/excalidraw/actions/actionStyles.d.ts +2 -2
  39. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +1 -1
  40. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +1 -1
  41. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +1 -1
  42. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +1 -1
  43. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +1 -1
  44. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +1 -1
  45. package/dist/types/excalidraw/actions/actionZindex.d.ts +10 -10
  46. package/dist/types/excalidraw/actions/manager.d.ts +1 -1
  47. package/dist/types/excalidraw/appState.d.ts +9 -9
  48. package/dist/types/excalidraw/clipboard.d.ts +4 -4
  49. package/dist/types/excalidraw/components/Actions.d.ts +6 -7
  50. package/dist/types/excalidraw/components/ActiveConfirmDialog.d.ts +1 -2
  51. package/dist/types/excalidraw/components/App.d.ts +1 -1
  52. package/dist/types/excalidraw/components/Avatar.d.ts +1 -1
  53. package/dist/types/excalidraw/components/BraveMeasureTextError.d.ts +1 -2
  54. package/dist/types/excalidraw/components/Button.d.ts +1 -1
  55. package/dist/types/excalidraw/components/ButtonIcon.d.ts +1 -1
  56. package/dist/types/excalidraw/components/ButtonIconCycle.d.ts +2 -2
  57. package/dist/types/excalidraw/components/ButtonIconSelect.d.ts +2 -2
  58. package/dist/types/excalidraw/components/ButtonSelect.d.ts +1 -2
  59. package/dist/types/excalidraw/components/ButtonSeparator.d.ts +1 -2
  60. package/dist/types/excalidraw/components/ColorPicker/ColorInput.d.ts +1 -2
  61. package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +1 -2
  62. package/dist/types/excalidraw/components/ColorPicker/CustomColorList.d.ts +1 -2
  63. package/dist/types/excalidraw/components/ColorPicker/HotkeyLabel.d.ts +1 -2
  64. package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +1 -1
  65. package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +1 -2
  66. package/dist/types/excalidraw/components/ColorPicker/PickerHeading.d.ts +1 -1
  67. package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +1 -2
  68. package/dist/types/excalidraw/components/ColorPicker/TopPicks.d.ts +1 -2
  69. package/dist/types/excalidraw/components/CommandPalette/CommandPalette.d.ts +1 -2
  70. package/dist/types/excalidraw/components/ConfirmDialog.d.ts +1 -2
  71. package/dist/types/excalidraw/components/ContextMenu.d.ts +1 -1
  72. package/dist/types/excalidraw/components/DarkModeToggle.d.ts +1 -2
  73. package/dist/types/excalidraw/components/DefaultSidebar.d.ts +1 -1
  74. package/dist/types/excalidraw/components/Dialog.d.ts +1 -1
  75. package/dist/types/excalidraw/components/DialogActionButton.d.ts +1 -1
  76. package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +1 -2
  77. package/dist/types/excalidraw/components/ErrorDialog.d.ts +1 -1
  78. package/dist/types/excalidraw/components/ExcalidrawLogo.d.ts +1 -1
  79. package/dist/types/excalidraw/components/FixedSideContainer.d.ts +1 -1
  80. package/dist/types/excalidraw/components/FollowMode/FollowMode.d.ts +1 -2
  81. package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +2 -2
  82. package/dist/types/excalidraw/components/FontPicker/FontPickerList.d.ts +2 -1
  83. package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +1 -2
  84. package/dist/types/excalidraw/components/FontPicker/keyboardNavHandlers.d.ts +1 -1
  85. package/dist/types/excalidraw/components/HandButton.d.ts +1 -2
  86. package/dist/types/excalidraw/components/HelpButton.d.ts +1 -2
  87. package/dist/types/excalidraw/components/HelpDialog.d.ts +1 -2
  88. package/dist/types/excalidraw/components/HintViewer.d.ts +1 -2
  89. package/dist/types/excalidraw/components/IconPicker.d.ts +2 -2
  90. package/dist/types/excalidraw/components/ImageExportDialog.d.ts +2 -3
  91. package/dist/types/excalidraw/components/InitializeApp.d.ts +1 -1
  92. package/dist/types/excalidraw/components/InlineIcon.d.ts +1 -2
  93. package/dist/types/excalidraw/components/JSONExportDialog.d.ts +1 -1
  94. package/dist/types/excalidraw/components/LaserPointerButton.d.ts +1 -2
  95. package/dist/types/excalidraw/components/LayerUI.d.ts +1 -1
  96. package/dist/types/excalidraw/components/LibraryMenu.d.ts +1 -1
  97. package/dist/types/excalidraw/components/LibraryMenuBrowseButton.d.ts +1 -2
  98. package/dist/types/excalidraw/components/LibraryMenuControlButtons.d.ts +1 -2
  99. package/dist/types/excalidraw/components/LibraryMenuHeaderContent.d.ts +1 -1
  100. package/dist/types/excalidraw/components/LibraryMenuItems.d.ts +1 -2
  101. package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +2 -2
  102. package/dist/types/excalidraw/components/LibraryUnit.d.ts +2 -2
  103. package/dist/types/excalidraw/components/LockButton.d.ts +1 -2
  104. package/dist/types/excalidraw/components/MagicButton.d.ts +2 -2
  105. package/dist/types/excalidraw/components/MobileMenu.d.ts +2 -1
  106. package/dist/types/excalidraw/components/OverwriteConfirm/OverwriteConfirm.d.ts +4 -4
  107. package/dist/types/excalidraw/components/OverwriteConfirm/OverwriteConfirmActions.d.ts +6 -6
  108. package/dist/types/excalidraw/components/Paragraph.d.ts +1 -2
  109. package/dist/types/excalidraw/components/PasteChartDialog.d.ts +1 -1
  110. package/dist/types/excalidraw/components/PenModeButton.d.ts +1 -2
  111. package/dist/types/excalidraw/components/Popover.d.ts +1 -1
  112. package/dist/types/excalidraw/components/ProjectName.d.ts +1 -2
  113. package/dist/types/excalidraw/components/PublishLibrary.d.ts +1 -2
  114. package/dist/types/excalidraw/components/RadioGroup.d.ts +1 -1
  115. package/dist/types/excalidraw/components/Range.d.ts +1 -2
  116. package/dist/types/excalidraw/components/SVGLayer.d.ts +1 -2
  117. package/dist/types/excalidraw/components/ScrollableList.d.ts +1 -1
  118. package/dist/types/excalidraw/components/SearchMenu.d.ts +1 -2
  119. package/dist/types/excalidraw/components/ShareableLinkDialog.d.ts +1 -2
  120. package/dist/types/excalidraw/components/Sidebar/Sidebar.d.ts +6 -6
  121. package/dist/types/excalidraw/components/Sidebar/SidebarHeader.d.ts +1 -2
  122. package/dist/types/excalidraw/components/Sidebar/SidebarTab.d.ts +1 -1
  123. package/dist/types/excalidraw/components/Sidebar/SidebarTabTrigger.d.ts +1 -1
  124. package/dist/types/excalidraw/components/Sidebar/SidebarTabTriggers.d.ts +1 -1
  125. package/dist/types/excalidraw/components/Sidebar/SidebarTabs.d.ts +1 -1
  126. package/dist/types/excalidraw/components/Sidebar/SidebarTrigger.d.ts +1 -2
  127. package/dist/types/excalidraw/components/Sidebar/common.d.ts +1 -0
  128. package/dist/types/excalidraw/components/Spinner.d.ts +1 -2
  129. package/dist/types/excalidraw/components/Stack.d.ts +2 -3
  130. package/dist/types/excalidraw/components/Stats/Angle.d.ts +1 -2
  131. package/dist/types/excalidraw/components/Stats/CanvasGrid.d.ts +1 -1
  132. package/dist/types/excalidraw/components/Stats/Collapsible.d.ts +1 -1
  133. package/dist/types/excalidraw/components/Stats/Dimension.d.ts +1 -2
  134. package/dist/types/excalidraw/components/Stats/DragInput.d.ts +1 -1
  135. package/dist/types/excalidraw/components/Stats/FontSize.d.ts +1 -2
  136. package/dist/types/excalidraw/components/Stats/MultiAngle.d.ts +1 -2
  137. package/dist/types/excalidraw/components/Stats/MultiDimension.d.ts +1 -2
  138. package/dist/types/excalidraw/components/Stats/MultiFontSize.d.ts +1 -2
  139. package/dist/types/excalidraw/components/Stats/MultiPosition.d.ts +1 -2
  140. package/dist/types/excalidraw/components/Stats/Position.d.ts +1 -2
  141. package/dist/types/excalidraw/components/Stats/index.d.ts +4 -4
  142. package/dist/types/excalidraw/components/Switch.d.ts +1 -2
  143. package/dist/types/excalidraw/components/TTDDialog/MermaidToExcalidraw.d.ts +1 -2
  144. package/dist/types/excalidraw/components/TTDDialog/TTDDialog.d.ts +1 -1
  145. package/dist/types/excalidraw/components/TTDDialog/TTDDialogInput.d.ts +1 -1
  146. package/dist/types/excalidraw/components/TTDDialog/TTDDialogOutput.d.ts +2 -2
  147. package/dist/types/excalidraw/components/TTDDialog/TTDDialogPanel.d.ts +1 -1
  148. package/dist/types/excalidraw/components/TTDDialog/TTDDialogPanels.d.ts +1 -1
  149. package/dist/types/excalidraw/components/TTDDialog/TTDDialogSubmitShortcut.d.ts +1 -2
  150. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTab.d.ts +1 -1
  151. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTabTrigger.d.ts +1 -1
  152. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTabTriggers.d.ts +1 -1
  153. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTabs.d.ts +1 -1
  154. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts +2 -1
  155. package/dist/types/excalidraw/components/TTDDialog/common.d.ts +1 -1
  156. package/dist/types/excalidraw/components/Toast.d.ts +1 -1
  157. package/dist/types/excalidraw/components/Tooltip.d.ts +1 -1
  158. package/dist/types/excalidraw/components/UserList.d.ts +1 -1
  159. package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +2 -2
  160. package/dist/types/excalidraw/components/canvases/NewElementCanvas.d.ts +1 -2
  161. package/dist/types/excalidraw/components/canvases/StaticCanvas.d.ts +1 -1
  162. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +11 -11
  163. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts +1 -1
  164. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuGroup.d.ts +1 -1
  165. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts +4 -3
  166. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemContent.d.ts +2 -2
  167. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemContentRadio.d.ts +1 -1
  168. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemCustom.d.ts +1 -1
  169. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemLink.d.ts +2 -1
  170. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuSeparator.d.ts +1 -2
  171. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuTrigger.d.ts +1 -1
  172. package/dist/types/excalidraw/components/dropdownMenu/dropdownMenuUtils.d.ts +2 -2
  173. package/dist/types/excalidraw/components/footer/Footer.d.ts +1 -2
  174. package/dist/types/excalidraw/components/footer/FooterCenter.d.ts +1 -2
  175. package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +1 -2
  176. package/dist/types/excalidraw/components/icons.d.ts +178 -178
  177. package/dist/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +1 -1
  178. package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +12 -13
  179. package/dist/types/excalidraw/components/main-menu/MainMenu.d.ts +9 -9
  180. package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.Center.d.ts +10 -10
  181. package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.Hints.d.ts +3 -4
  182. package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.d.ts +15 -15
  183. package/dist/types/excalidraw/constants.d.ts +1 -0
  184. package/dist/types/excalidraw/data/blob.d.ts +1 -1
  185. package/dist/types/excalidraw/element/ElementCanvasButtons.d.ts +1 -2
  186. package/dist/types/excalidraw/element/binding.d.ts +1 -2
  187. package/dist/types/excalidraw/element/collision.d.ts +10 -1
  188. package/dist/types/excalidraw/element/distance.d.ts +3 -0
  189. package/dist/types/excalidraw/element/newElement.d.ts +1 -1
  190. package/dist/types/excalidraw/element/transformHandles.d.ts +2 -2
  191. package/dist/types/excalidraw/element/types.d.ts +1 -1
  192. package/dist/types/excalidraw/element/utils.d.ts +21 -0
  193. package/dist/types/excalidraw/fonts/FontMetadata.d.ts +1 -1
  194. package/dist/types/excalidraw/hooks/useOutsideClick.d.ts +1 -1
  195. package/dist/types/excalidraw/hooks/useScrollPosition.d.ts +1 -1
  196. package/dist/types/excalidraw/index.d.ts +1 -3
  197. package/dist/types/excalidraw/shapes.d.ts +11 -12
  198. package/dist/types/excalidraw/types.d.ts +1 -0
  199. package/dist/types/excalidraw/utils.d.ts +3 -3
  200. package/dist/types/excalidraw/visualdebug.d.ts +7 -8
  201. package/dist/types/excalidraw/zindex.d.ts +2 -2
  202. package/dist/types/math/curve.d.ts +22 -14
  203. package/dist/types/math/ellipse.d.ts +44 -0
  204. package/dist/types/math/index.d.ts +1 -1
  205. package/dist/types/math/line.d.ts +2 -30
  206. package/dist/types/math/point.d.ts +1 -29
  207. package/dist/types/math/rectangle.d.ts +3 -0
  208. package/dist/types/math/segment.d.ts +8 -1
  209. package/dist/types/math/types.d.ts +15 -6
  210. package/dist/types/math/vector.d.ts +0 -4
  211. package/dist/types/utils/export.d.ts +1 -1
  212. package/package.json +5 -5
  213. package/dist/dev/chunk-637CAVTS.js +0 -57639
  214. package/dist/dev/chunk-637CAVTS.js.map +0 -7
  215. package/dist/dev/data/image-N6Y7BWW6.css +0 -6753
  216. package/dist/dev/data/image-N6Y7BWW6.css.map +0 -7
  217. package/dist/dev/data/image-QMQX6YR5.js +0 -15
  218. package/dist/prod/chunk-PEDHHNBJ.js +0 -153
  219. package/dist/prod/data/image-IP6M4LZC.js +0 -1
  220. package/dist/prod/data/image-KGQIL6Y4.css +0 -1
  221. package/dist/types/math/arc.d.ts +0 -6
  222. package/dist/types/math/ga/ga.d.ts +0 -63
  223. package/dist/types/math/ga/gadirections.d.ts +0 -8
  224. package/dist/types/math/ga/galines.d.ts +0 -22
  225. package/dist/types/math/ga/gapoints.d.ts +0 -7
  226. package/dist/types/math/ga/gatransforms.d.ts +0 -10
  227. /package/dist/dev/data/{image-QMQX6YR5.js.map → image-2IPPJHZ4.js.map} +0 -0
@@ -1 +1 @@
1
- import{a,b,c,d}from"./chunk-EIO257PC.js";import"./chunk-P7457GAF.js";import"./chunk-SRAX5OIU.js";export{a as Commands,b as subsetToBase64,c as subsetToBinary,d as toBase64};
1
+ import{a,b,c,d}from"./chunk-EIO257PC.js";import"./chunk-BE2LY6VO.js";import"./chunk-SRAX5OIU.js";export{a as Commands,b as subsetToBase64,c as subsetToBinary,d as toBase64};
@@ -1 +1 @@
1
- import{a as r,c as t}from"./chunk-EIO257PC.js";import"./chunk-P7457GAF.js";import"./chunk-SRAX5OIU.js";var s=import.meta.url?new URL(import.meta.url):void 0;typeof window>"u"&&typeof self<"u"&&(self.onmessage=async e=>{switch(e.data.command){case r.Subset:let a=await t(e.data.arrayBuffer,e.data.codePoints);self.postMessage(a,{transfer:[a]});break}});export{s as WorkerUrl};
1
+ import{a as r,c as t}from"./chunk-EIO257PC.js";import"./chunk-BE2LY6VO.js";import"./chunk-SRAX5OIU.js";var s=import.meta.url?new URL(import.meta.url):void 0;typeof window>"u"&&typeof self<"u"&&(self.onmessage=async e=>{switch(e.data.command){case r.Subset:let a=await t(e.data.arrayBuffer,e.data.codePoints);self.postMessage(a,{transfer:[a]});break}});export{s as WorkerUrl};
@@ -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
  };
@@ -52,6 +52,11 @@ export declare const actionClearCanvas: {
52
52
  lastActiveTool: import("../types").ActiveTool | null;
53
53
  locked: boolean;
54
54
  } & import("../types").ActiveTool;
55
+ viewModeEnabled: boolean;
56
+ zenModeEnabled: boolean;
57
+ objectsSnapModeEnabled: boolean;
58
+ name: string | null;
59
+ currentItemArrowType: "round" | "sharp" | "elbow";
55
60
  contextMenu: {
56
61
  items: import("../components/ContextMenu").ContextMenuItems;
57
62
  top: number;
@@ -98,13 +103,11 @@ export declare const actionClearCanvas: {
98
103
  currentItemEndArrowhead: import("../element/types").Arrowhead | null;
99
104
  currentHoveredFontFamily: number | null;
100
105
  currentItemRoundness: import("../element/types").StrokeRoundness;
101
- currentItemArrowType: "round" | "sharp" | "elbow";
102
106
  viewBackgroundColor: string;
103
107
  scrollX: number;
104
108
  scrollY: number;
105
109
  cursorButton: "up" | "down";
106
110
  scrolledOutside: boolean;
107
- name: string | null;
108
111
  isResizing: boolean;
109
112
  isRotating: boolean;
110
113
  zoom: Readonly<{
@@ -145,8 +148,6 @@ export declare const actionClearCanvas: {
145
148
  closable?: boolean | undefined;
146
149
  duration?: number | undefined;
147
150
  } | null;
148
- zenModeEnabled: boolean;
149
- viewModeEnabled: boolean;
150
151
  selectedGroupIds: {
151
152
  [groupId: string]: boolean;
152
153
  };
@@ -181,7 +182,6 @@ export declare const actionClearCanvas: {
181
182
  x: number;
182
183
  y: number;
183
184
  } | null;
184
- objectsSnapModeEnabled: boolean;
185
185
  userToFollow: import("../types").UserToFollow | null;
186
186
  followedBy: Set<import("../types").SocketId>;
187
187
  isCropping: boolean;
@@ -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
  };
@@ -1125,6 +1125,17 @@ export declare const actionLoadScene: {
1125
1125
  perform: (elements: readonly import("../element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: any, app: import("../types").AppClassProperties) => Promise<false | {
1126
1126
  elements: import("../element/types").OrderedExcalidrawElement[];
1127
1127
  appState: {
1128
+ viewModeEnabled: boolean;
1129
+ zenModeEnabled: boolean;
1130
+ gridModeEnabled: boolean;
1131
+ objectsSnapModeEnabled: boolean;
1132
+ theme: Theme;
1133
+ name: string | null;
1134
+ activeTool: {
1135
+ lastActiveTool: import("../types").ActiveTool | null;
1136
+ locked: boolean;
1137
+ } & import("../types").ActiveTool;
1138
+ currentItemArrowType: "round" | "sharp" | "elbow";
1128
1139
  contextMenu: {
1129
1140
  items: import("../components/ContextMenu").ContextMenuItems;
1130
1141
  top: number;
@@ -1155,10 +1166,6 @@ export declare const actionLoadScene: {
1155
1166
  elementsToHighlight: import("../element/types").NonDeleted<import("../element/types").ExcalidrawElement>[] | null;
1156
1167
  editingTextElement: NonDeletedExcalidrawElement | null;
1157
1168
  editingLinearElement: import("../element/linearElementEditor").LinearElementEditor | null;
1158
- activeTool: {
1159
- lastActiveTool: import("../types").ActiveTool | null;
1160
- locked: boolean;
1161
- } & import("../types").ActiveTool;
1162
1169
  penMode: boolean;
1163
1170
  penDetected: boolean;
1164
1171
  exportBackground: boolean;
@@ -1179,13 +1186,11 @@ export declare const actionLoadScene: {
1179
1186
  currentItemEndArrowhead: import("../element/types").Arrowhead | null;
1180
1187
  currentHoveredFontFamily: number | null;
1181
1188
  currentItemRoundness: import("../element/types").StrokeRoundness;
1182
- currentItemArrowType: "round" | "sharp" | "elbow";
1183
1189
  viewBackgroundColor: string;
1184
1190
  scrollX: number;
1185
1191
  scrollY: number;
1186
1192
  cursorButton: "up" | "down";
1187
1193
  scrolledOutside: boolean;
1188
- name: string | null;
1189
1194
  isResizing: boolean;
1190
1195
  isRotating: boolean;
1191
1196
  zoom: Readonly<{
@@ -1226,12 +1231,8 @@ export declare const actionLoadScene: {
1226
1231
  closable?: boolean | undefined;
1227
1232
  duration?: number | undefined;
1228
1233
  } | null;
1229
- zenModeEnabled: boolean;
1230
- theme: Theme;
1231
1234
  gridSize: number;
1232
1235
  gridStep: number;
1233
- gridModeEnabled: boolean;
1234
- viewModeEnabled: boolean;
1235
1236
  selectedGroupIds: {
1236
1237
  [groupId: string]: boolean;
1237
1238
  };
@@ -1277,7 +1278,6 @@ export declare const actionLoadScene: {
1277
1278
  x: number;
1278
1279
  y: number;
1279
1280
  } | null;
1280
- objectsSnapModeEnabled: boolean;
1281
1281
  userToFollow: import("../types").UserToFollow | null;
1282
1282
  followedBy: Set<import("../types").SocketId>;
1283
1283
  isCropping: boolean;
@@ -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[];
@@ -1082,7 +1082,7 @@ export declare const actionWrapSelectionInFrame: {
1082
1082
  }> & Readonly<{
1083
1083
  type: "image";
1084
1084
  fileId: import("../element/types").FileId | null;
1085
- status: "pending" | "saved" | "error";
1085
+ status: "error" | "pending" | "saved";
1086
1086
  scale: [number, number];
1087
1087
  crop: import("../element/types").ImageCrop | null;
1088
1088
  }> & {
@@ -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
  };