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

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 (233) hide show
  1. package/README.md +3 -4
  2. package/dist/dev/{chunk-EFVS2MI5.js → chunk-FCTATTEX.js} +2 -2
  3. package/dist/dev/{chunk-EFVS2MI5.js.map → chunk-FCTATTEX.js.map} +1 -1
  4. package/dist/dev/chunk-GPAPUEH7.js +25914 -0
  5. package/dist/dev/chunk-GPAPUEH7.js.map +7 -0
  6. package/dist/dev/data/image-KIZE4OBD.js +13 -0
  7. package/dist/dev/index.css.map +1 -1
  8. package/dist/dev/index.js +33243 -37
  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-DZ7HA6XS.js} +1 -1
  13. package/dist/prod/chunk-TQDSDB2B.js +46 -0
  14. package/dist/prod/data/image-SCXWNX5A.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/actionAddToLibrary.d.ts +3 -3
  19. package/dist/types/excalidraw/actions/actionAlign.d.ts +18 -18
  20. package/dist/types/excalidraw/actions/actionBoundText.d.ts +3 -3
  21. package/dist/types/excalidraw/actions/actionCanvas.d.ts +31 -31
  22. package/dist/types/excalidraw/actions/actionClipboard.d.ts +17 -17
  23. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +3 -3
  24. package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +5 -5
  25. package/dist/types/excalidraw/actions/actionDistribute.d.ts +4 -4
  26. package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +3 -3
  27. package/dist/types/excalidraw/actions/actionElementLink.d.ts +6 -6
  28. package/dist/types/excalidraw/actions/actionElementLock.d.ts +4 -4
  29. package/dist/types/excalidraw/actions/actionExport.d.ts +30 -30
  30. package/dist/types/excalidraw/actions/actionFinalize.d.ts +3 -3
  31. package/dist/types/excalidraw/actions/actionFlip.d.ts +4 -4
  32. package/dist/types/excalidraw/actions/actionFrame.d.ts +9 -9
  33. package/dist/types/excalidraw/actions/actionGroup.d.ts +8 -8
  34. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +2 -2
  35. package/dist/types/excalidraw/actions/actionLink.d.ts +3 -3
  36. package/dist/types/excalidraw/actions/actionMenu.d.ts +6 -6
  37. package/dist/types/excalidraw/actions/actionNavigate.d.ts +3 -3
  38. package/dist/types/excalidraw/actions/actionProperties.d.ts +31 -31
  39. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +2 -2
  40. package/dist/types/excalidraw/actions/actionStyles.d.ts +5 -5
  41. package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +1 -1
  42. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +2 -2
  43. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +2 -2
  44. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +3 -3
  45. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +2 -2
  46. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +2 -2
  47. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +2 -2
  48. package/dist/types/excalidraw/actions/actionZindex.d.ts +14 -14
  49. package/dist/types/excalidraw/actions/manager.d.ts +1 -1
  50. package/dist/types/excalidraw/actions/types.d.ts +2 -2
  51. package/dist/types/excalidraw/appState.d.ts +9 -9
  52. package/dist/types/excalidraw/clipboard.d.ts +4 -4
  53. package/dist/types/excalidraw/components/Actions.d.ts +6 -7
  54. package/dist/types/excalidraw/components/ActiveConfirmDialog.d.ts +1 -2
  55. package/dist/types/excalidraw/components/App.d.ts +13 -3
  56. package/dist/types/excalidraw/components/Avatar.d.ts +1 -1
  57. package/dist/types/excalidraw/components/BraveMeasureTextError.d.ts +1 -2
  58. package/dist/types/excalidraw/components/Button.d.ts +1 -1
  59. package/dist/types/excalidraw/components/ButtonIcon.d.ts +1 -1
  60. package/dist/types/excalidraw/components/ButtonIconCycle.d.ts +2 -2
  61. package/dist/types/excalidraw/components/ButtonIconSelect.d.ts +2 -2
  62. package/dist/types/excalidraw/components/ButtonSelect.d.ts +1 -2
  63. package/dist/types/excalidraw/components/ButtonSeparator.d.ts +1 -2
  64. package/dist/types/excalidraw/components/ColorPicker/ColorInput.d.ts +1 -2
  65. package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +1 -2
  66. package/dist/types/excalidraw/components/ColorPicker/CustomColorList.d.ts +1 -2
  67. package/dist/types/excalidraw/components/ColorPicker/HotkeyLabel.d.ts +1 -2
  68. package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +1 -1
  69. package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +1 -2
  70. package/dist/types/excalidraw/components/ColorPicker/PickerHeading.d.ts +1 -1
  71. package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +1 -2
  72. package/dist/types/excalidraw/components/ColorPicker/TopPicks.d.ts +1 -2
  73. package/dist/types/excalidraw/components/CommandPalette/CommandPalette.d.ts +1 -2
  74. package/dist/types/excalidraw/components/ConfirmDialog.d.ts +1 -2
  75. package/dist/types/excalidraw/components/ContextMenu.d.ts +1 -1
  76. package/dist/types/excalidraw/components/DarkModeToggle.d.ts +1 -2
  77. package/dist/types/excalidraw/components/DefaultSidebar.d.ts +1 -1
  78. package/dist/types/excalidraw/components/Dialog.d.ts +1 -1
  79. package/dist/types/excalidraw/components/DialogActionButton.d.ts +1 -1
  80. package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +1 -2
  81. package/dist/types/excalidraw/components/ErrorDialog.d.ts +1 -1
  82. package/dist/types/excalidraw/components/ExcalidrawLogo.d.ts +1 -1
  83. package/dist/types/excalidraw/components/FixedSideContainer.d.ts +1 -1
  84. package/dist/types/excalidraw/components/FollowMode/FollowMode.d.ts +1 -2
  85. package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +2 -2
  86. package/dist/types/excalidraw/components/FontPicker/FontPickerList.d.ts +2 -1
  87. package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +1 -2
  88. package/dist/types/excalidraw/components/FontPicker/keyboardNavHandlers.d.ts +1 -1
  89. package/dist/types/excalidraw/components/HandButton.d.ts +1 -2
  90. package/dist/types/excalidraw/components/HelpButton.d.ts +1 -2
  91. package/dist/types/excalidraw/components/HelpDialog.d.ts +1 -2
  92. package/dist/types/excalidraw/components/HintViewer.d.ts +1 -2
  93. package/dist/types/excalidraw/components/IconPicker.d.ts +2 -2
  94. package/dist/types/excalidraw/components/ImageExportDialog.d.ts +2 -3
  95. package/dist/types/excalidraw/components/InitializeApp.d.ts +1 -1
  96. package/dist/types/excalidraw/components/InlineIcon.d.ts +1 -2
  97. package/dist/types/excalidraw/components/JSONExportDialog.d.ts +1 -1
  98. package/dist/types/excalidraw/components/LaserPointerButton.d.ts +1 -2
  99. package/dist/types/excalidraw/components/LayerUI.d.ts +1 -1
  100. package/dist/types/excalidraw/components/LibraryMenu.d.ts +1 -1
  101. package/dist/types/excalidraw/components/LibraryMenuBrowseButton.d.ts +1 -2
  102. package/dist/types/excalidraw/components/LibraryMenuControlButtons.d.ts +1 -2
  103. package/dist/types/excalidraw/components/LibraryMenuHeaderContent.d.ts +1 -1
  104. package/dist/types/excalidraw/components/LibraryMenuItems.d.ts +1 -2
  105. package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +2 -2
  106. package/dist/types/excalidraw/components/LibraryUnit.d.ts +2 -2
  107. package/dist/types/excalidraw/components/LockButton.d.ts +1 -2
  108. package/dist/types/excalidraw/components/MagicButton.d.ts +2 -2
  109. package/dist/types/excalidraw/components/MobileMenu.d.ts +2 -1
  110. package/dist/types/excalidraw/components/OverwriteConfirm/OverwriteConfirm.d.ts +4 -4
  111. package/dist/types/excalidraw/components/OverwriteConfirm/OverwriteConfirmActions.d.ts +6 -6
  112. package/dist/types/excalidraw/components/Paragraph.d.ts +1 -2
  113. package/dist/types/excalidraw/components/PasteChartDialog.d.ts +1 -1
  114. package/dist/types/excalidraw/components/PenModeButton.d.ts +1 -2
  115. package/dist/types/excalidraw/components/Popover.d.ts +1 -1
  116. package/dist/types/excalidraw/components/ProjectName.d.ts +1 -2
  117. package/dist/types/excalidraw/components/PublishLibrary.d.ts +1 -2
  118. package/dist/types/excalidraw/components/RadioGroup.d.ts +1 -1
  119. package/dist/types/excalidraw/components/Range.d.ts +1 -2
  120. package/dist/types/excalidraw/components/SVGLayer.d.ts +1 -2
  121. package/dist/types/excalidraw/components/ScrollableList.d.ts +1 -1
  122. package/dist/types/excalidraw/components/SearchMenu.d.ts +1 -2
  123. package/dist/types/excalidraw/components/ShareableLinkDialog.d.ts +1 -2
  124. package/dist/types/excalidraw/components/Sidebar/Sidebar.d.ts +6 -6
  125. package/dist/types/excalidraw/components/Sidebar/SidebarHeader.d.ts +1 -2
  126. package/dist/types/excalidraw/components/Sidebar/SidebarTab.d.ts +1 -1
  127. package/dist/types/excalidraw/components/Sidebar/SidebarTabTrigger.d.ts +1 -1
  128. package/dist/types/excalidraw/components/Sidebar/SidebarTabTriggers.d.ts +1 -1
  129. package/dist/types/excalidraw/components/Sidebar/SidebarTabs.d.ts +1 -1
  130. package/dist/types/excalidraw/components/Sidebar/SidebarTrigger.d.ts +1 -2
  131. package/dist/types/excalidraw/components/Sidebar/common.d.ts +1 -0
  132. package/dist/types/excalidraw/components/Spinner.d.ts +1 -2
  133. package/dist/types/excalidraw/components/Stack.d.ts +2 -3
  134. package/dist/types/excalidraw/components/Stats/Angle.d.ts +1 -2
  135. package/dist/types/excalidraw/components/Stats/CanvasGrid.d.ts +1 -1
  136. package/dist/types/excalidraw/components/Stats/Collapsible.d.ts +1 -1
  137. package/dist/types/excalidraw/components/Stats/Dimension.d.ts +1 -2
  138. package/dist/types/excalidraw/components/Stats/DragInput.d.ts +1 -1
  139. package/dist/types/excalidraw/components/Stats/FontSize.d.ts +1 -2
  140. package/dist/types/excalidraw/components/Stats/MultiAngle.d.ts +1 -2
  141. package/dist/types/excalidraw/components/Stats/MultiDimension.d.ts +1 -2
  142. package/dist/types/excalidraw/components/Stats/MultiFontSize.d.ts +1 -2
  143. package/dist/types/excalidraw/components/Stats/MultiPosition.d.ts +1 -2
  144. package/dist/types/excalidraw/components/Stats/Position.d.ts +1 -2
  145. package/dist/types/excalidraw/components/Stats/index.d.ts +4 -4
  146. package/dist/types/excalidraw/components/Switch.d.ts +1 -2
  147. package/dist/types/excalidraw/components/TTDDialog/MermaidToExcalidraw.d.ts +1 -2
  148. package/dist/types/excalidraw/components/TTDDialog/TTDDialog.d.ts +1 -1
  149. package/dist/types/excalidraw/components/TTDDialog/TTDDialogInput.d.ts +1 -1
  150. package/dist/types/excalidraw/components/TTDDialog/TTDDialogOutput.d.ts +2 -2
  151. package/dist/types/excalidraw/components/TTDDialog/TTDDialogPanel.d.ts +1 -1
  152. package/dist/types/excalidraw/components/TTDDialog/TTDDialogPanels.d.ts +1 -1
  153. package/dist/types/excalidraw/components/TTDDialog/TTDDialogSubmitShortcut.d.ts +1 -2
  154. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTab.d.ts +1 -1
  155. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTabTrigger.d.ts +1 -1
  156. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTabTriggers.d.ts +1 -1
  157. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTabs.d.ts +1 -1
  158. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts +2 -1
  159. package/dist/types/excalidraw/components/TTDDialog/common.d.ts +1 -1
  160. package/dist/types/excalidraw/components/Toast.d.ts +1 -1
  161. package/dist/types/excalidraw/components/Tooltip.d.ts +1 -1
  162. package/dist/types/excalidraw/components/UserList.d.ts +1 -1
  163. package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +2 -2
  164. package/dist/types/excalidraw/components/canvases/NewElementCanvas.d.ts +1 -2
  165. package/dist/types/excalidraw/components/canvases/StaticCanvas.d.ts +1 -1
  166. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +11 -11
  167. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts +1 -1
  168. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuGroup.d.ts +1 -1
  169. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts +4 -3
  170. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemContent.d.ts +2 -2
  171. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemContentRadio.d.ts +1 -1
  172. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemCustom.d.ts +1 -1
  173. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemLink.d.ts +2 -1
  174. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuSeparator.d.ts +1 -2
  175. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuTrigger.d.ts +1 -1
  176. package/dist/types/excalidraw/components/dropdownMenu/dropdownMenuUtils.d.ts +2 -2
  177. package/dist/types/excalidraw/components/footer/Footer.d.ts +1 -2
  178. package/dist/types/excalidraw/components/footer/FooterCenter.d.ts +1 -2
  179. package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +1 -2
  180. package/dist/types/excalidraw/components/icons.d.ts +178 -178
  181. package/dist/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +1 -1
  182. package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +12 -13
  183. package/dist/types/excalidraw/components/main-menu/MainMenu.d.ts +9 -9
  184. package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.Center.d.ts +10 -10
  185. package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.Hints.d.ts +3 -4
  186. package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.d.ts +15 -15
  187. package/dist/types/excalidraw/constants.d.ts +1 -0
  188. package/dist/types/excalidraw/data/blob.d.ts +1 -1
  189. package/dist/types/excalidraw/element/ElementCanvasButtons.d.ts +1 -2
  190. package/dist/types/excalidraw/element/binding.d.ts +1 -2
  191. package/dist/types/excalidraw/element/collision.d.ts +10 -1
  192. package/dist/types/excalidraw/element/distance.d.ts +3 -0
  193. package/dist/types/excalidraw/element/embeddable.d.ts +1 -1
  194. package/dist/types/excalidraw/element/newElement.d.ts +1 -1
  195. package/dist/types/excalidraw/element/transformHandles.d.ts +2 -2
  196. package/dist/types/excalidraw/element/types.d.ts +1 -1
  197. package/dist/types/excalidraw/element/utils.d.ts +21 -0
  198. package/dist/types/excalidraw/fonts/FontMetadata.d.ts +1 -1
  199. package/dist/types/excalidraw/hooks/useOutsideClick.d.ts +1 -1
  200. package/dist/types/excalidraw/hooks/useScrollPosition.d.ts +1 -1
  201. package/dist/types/excalidraw/index.d.ts +2 -4
  202. package/dist/types/excalidraw/shapes.d.ts +11 -12
  203. package/dist/types/excalidraw/store.d.ts +6 -6
  204. package/dist/types/excalidraw/types.d.ts +3 -2
  205. package/dist/types/excalidraw/utils.d.ts +3 -3
  206. package/dist/types/excalidraw/visualdebug.d.ts +7 -8
  207. package/dist/types/excalidraw/zindex.d.ts +2 -2
  208. package/dist/types/math/curve.d.ts +22 -14
  209. package/dist/types/math/ellipse.d.ts +44 -0
  210. package/dist/types/math/index.d.ts +1 -1
  211. package/dist/types/math/line.d.ts +2 -30
  212. package/dist/types/math/point.d.ts +1 -29
  213. package/dist/types/math/rectangle.d.ts +3 -0
  214. package/dist/types/math/segment.d.ts +8 -1
  215. package/dist/types/math/types.d.ts +15 -6
  216. package/dist/types/math/vector.d.ts +0 -4
  217. package/dist/types/utils/export.d.ts +1 -1
  218. package/package.json +6 -14
  219. package/dist/dev/chunk-637CAVTS.js +0 -57639
  220. package/dist/dev/chunk-637CAVTS.js.map +0 -7
  221. package/dist/dev/data/image-N6Y7BWW6.css +0 -6753
  222. package/dist/dev/data/image-N6Y7BWW6.css.map +0 -7
  223. package/dist/dev/data/image-QMQX6YR5.js +0 -15
  224. package/dist/prod/chunk-PEDHHNBJ.js +0 -153
  225. package/dist/prod/data/image-IP6M4LZC.js +0 -1
  226. package/dist/prod/data/image-KGQIL6Y4.css +0 -1
  227. package/dist/types/math/arc.d.ts +0 -6
  228. package/dist/types/math/ga/ga.d.ts +0 -63
  229. package/dist/types/math/ga/gadirections.d.ts +0 -8
  230. package/dist/types/math/ga/galines.d.ts +0 -22
  231. package/dist/types/math/ga/gapoints.d.ts +0 -7
  232. package/dist/types/math/ga/gatransforms.d.ts +0 -10
  233. /package/dist/dev/data/{image-QMQX6YR5.js.map → image-KIZE4OBD.js.map} +0 -0
@@ -8,10 +8,10 @@ declare const OverwriteConfirmDialog: React.FC<OverwriteConfirmDialogProps & {
8
8
  }> & {
9
9
  Actions: (({ children }: {
10
10
  children: React.ReactNode;
11
- }) => JSX.Element) & {
12
- ExportToImage: () => JSX.Element;
13
- SaveToDisk: () => JSX.Element;
11
+ }) => import("react/jsx-runtime").JSX.Element) & {
12
+ ExportToImage: () => import("react/jsx-runtime").JSX.Element;
13
+ SaveToDisk: () => import("react/jsx-runtime").JSX.Element;
14
14
  };
15
- Action: ({ title, children, actionLabel, onClick, }: import("./OverwriteConfirmActions").ActionProps) => JSX.Element;
15
+ Action: ({ title, children, actionLabel, onClick, }: import("./OverwriteConfirmActions").ActionProps) => import("react/jsx-runtime").JSX.Element;
16
16
  };
17
17
  export { OverwriteConfirmDialog };
@@ -5,13 +5,13 @@ export type ActionProps = {
5
5
  actionLabel: string;
6
6
  onClick: () => void;
7
7
  };
8
- export declare const Action: ({ title, children, actionLabel, onClick, }: ActionProps) => JSX.Element;
9
- export declare const ExportToImage: () => JSX.Element;
10
- export declare const SaveToDisk: () => JSX.Element;
8
+ export declare const Action: ({ title, children, actionLabel, onClick, }: ActionProps) => import("react/jsx-runtime").JSX.Element;
9
+ export declare const ExportToImage: () => import("react/jsx-runtime").JSX.Element;
10
+ export declare const SaveToDisk: () => import("react/jsx-runtime").JSX.Element;
11
11
  declare const Actions: (({ children }: {
12
12
  children: React.ReactNode;
13
- }) => JSX.Element) & {
14
- ExportToImage: () => JSX.Element;
15
- SaveToDisk: () => JSX.Element;
13
+ }) => import("react/jsx-runtime").JSX.Element) & {
14
+ ExportToImage: () => import("react/jsx-runtime").JSX.Element;
15
+ SaveToDisk: () => import("react/jsx-runtime").JSX.Element;
16
16
  };
17
17
  export { Actions };
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
1
  export declare const Paragraph: (props: {
3
2
  children: React.ReactNode;
4
3
  style?: React.CSSProperties;
5
- }) => JSX.Element;
4
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -5,4 +5,4 @@ export declare const PasteChartDialog: ({ setAppState, appState, onClose, }: {
5
5
  appState: UIAppState;
6
6
  onClose: () => void;
7
7
  setAppState: React.Component<any, UIAppState>["setState"];
8
- }) => JSX.Element;
8
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./ToolIcon.scss";
3
2
  type PenModeIconProps = {
4
3
  title?: string;
@@ -9,5 +8,5 @@ type PenModeIconProps = {
9
8
  isMobile?: boolean;
10
9
  penDetected: boolean;
11
10
  };
12
- export declare const PenModeButton: (props: PenModeIconProps) => JSX.Element | null;
11
+ export declare const PenModeButton: (props: PenModeIconProps) => import("react/jsx-runtime").JSX.Element | null;
13
12
  export {};
@@ -11,5 +11,5 @@ type Props = {
11
11
  viewportWidth?: number;
12
12
  viewportHeight?: number;
13
13
  };
14
- export declare const Popover: ({ children, left, top, onCloseRequest, fitInViewport, offsetLeft, offsetTop, viewportWidth, viewportHeight, }: Props) => JSX.Element;
14
+ export declare const Popover: ({ children, left, top, onCloseRequest, fitInViewport, offsetLeft, offsetTop, viewportWidth, viewportHeight, }: Props) => import("react/jsx-runtime").JSX.Element;
15
15
  export {};
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./TextInput.scss";
3
2
  import "./ProjectName.scss";
4
3
  type Props = {
@@ -7,5 +6,5 @@ type Props = {
7
6
  label: string;
8
7
  ignoreFocus?: boolean;
9
8
  };
10
- export declare const ProjectName: (props: Props) => JSX.Element;
9
+ export declare const ProjectName: (props: Props) => import("react/jsx-runtime").JSX.Element;
11
10
  export {};
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { LibraryItems, UIAppState } from "../types";
3
2
  import "./PublishLibrary.scss";
4
3
  declare const PublishLibrary: ({ onClose, libraryItems, appState, onSuccess, onError, updateItemsInStorage, onRemove, }: {
@@ -13,5 +12,5 @@ declare const PublishLibrary: ({ onClose, libraryItems, appState, onSuccess, onE
13
12
  onError: (error: Error) => void;
14
13
  updateItemsInStorage: (items: LibraryItems) => void;
15
14
  onRemove: (id: string) => void;
16
- }) => JSX.Element;
15
+ }) => import("react/jsx-runtime").JSX.Element;
17
16
  export default PublishLibrary;
@@ -11,4 +11,4 @@ export type RadioGroupProps<T> = {
11
11
  onChange: (value: T) => void;
12
12
  name: string;
13
13
  };
14
- export declare const RadioGroup: <T>({ onChange, value, choices, name, }: RadioGroupProps<T>) => JSX.Element;
14
+ export declare const RadioGroup: <T>({ onChange, value, choices, name, }: RadioGroupProps<T>) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./Range.scss";
3
2
  export type RangeProps = {
4
3
  updateData: (value: number) => void;
@@ -6,4 +5,4 @@ export type RangeProps = {
6
5
  elements: any;
7
6
  testId?: string;
8
7
  };
9
- export declare const Range: ({ updateData, appState, elements, testId, }: RangeProps) => JSX.Element;
8
+ export declare const Range: ({ updateData, appState, elements, testId, }: RangeProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,8 +1,7 @@
1
- /// <reference types="react" />
2
1
  import type { Trail } from "../animated-trail";
3
2
  import "./SVGLayer.scss";
4
3
  type SVGLayerProps = {
5
4
  trails: Trail[];
6
5
  };
7
- export declare const SVGLayer: ({ trails }: SVGLayerProps) => JSX.Element;
6
+ export declare const SVGLayer: ({ trails }: SVGLayerProps) => import("react/jsx-runtime").JSX.Element;
8
7
  export {};
@@ -5,5 +5,5 @@ interface ScrollableListProps {
5
5
  placeholder: string;
6
6
  children: React.ReactNode;
7
7
  }
8
- export declare const ScrollableList: ({ className, placeholder, children, }: ScrollableListProps) => JSX.Element;
8
+ export declare const ScrollableList: ({ className, placeholder, children, }: ScrollableListProps) => import("react/jsx-runtime").JSX.Element;
9
9
  export {};
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  import "./SearchMenu.scss";
3
2
  export declare const searchItemInFocusAtom: import("jotai/vanilla/atom").PrimitiveAtom<number | null> & {
4
3
  init: number | null;
5
4
  };
6
- export declare const SearchMenu: () => JSX.Element;
5
+ export declare const SearchMenu: () => import("react/jsx-runtime").JSX.Element;
@@ -1,8 +1,7 @@
1
- /// <reference types="react" />
2
1
  import "./ShareableLinkDialog.scss";
3
2
  export type ShareableLinkDialogProps = {
4
3
  link: string;
5
4
  onCloseRequest: () => void;
6
5
  setErrorMessage: (error: string) => void;
7
6
  };
8
- export declare const ShareableLinkDialog: ({ link, onCloseRequest, setErrorMessage, }: ShareableLinkDialogProps) => JSX.Element;
7
+ export declare const ShareableLinkDialog: ({ link, onCloseRequest, setErrorMessage, }: ShareableLinkDialogProps) => import("react/jsx-runtime").JSX.Element;
@@ -39,13 +39,13 @@ export declare const Sidebar: React.ForwardRefExoticComponent<{
39
39
  ({ children, className, }: {
40
40
  children?: React.ReactNode;
41
41
  className?: string | undefined;
42
- }): JSX.Element;
42
+ }): import("react/jsx-runtime").JSX.Element;
43
43
  displayName: string;
44
44
  };
45
45
  TabTriggers: {
46
46
  ({ children, ...rest }: {
47
47
  children: React.ReactNode;
48
- } & Omit<React.RefAttributes<HTMLDivElement>, "onSelect">): JSX.Element;
48
+ } & Omit<React.RefAttributes<HTMLDivElement>, "onSelect">): import("react/jsx-runtime").JSX.Element;
49
49
  displayName: string;
50
50
  };
51
51
  TabTrigger: {
@@ -53,24 +53,24 @@ export declare const Sidebar: React.ForwardRefExoticComponent<{
53
53
  children: React.ReactNode;
54
54
  tab: string;
55
55
  onSelect?: React.ReactEventHandler<HTMLButtonElement> | undefined;
56
- } & Omit<React.HTMLAttributes<HTMLButtonElement>, "onSelect">): JSX.Element;
56
+ } & Omit<React.HTMLAttributes<HTMLButtonElement>, "onSelect">): import("react/jsx-runtime").JSX.Element;
57
57
  displayName: string;
58
58
  };
59
59
  Tabs: {
60
60
  ({ children, ...rest }: {
61
61
  children: React.ReactNode;
62
- } & Omit<React.RefAttributes<HTMLDivElement>, "onSelect">): JSX.Element | null;
62
+ } & Omit<React.RefAttributes<HTMLDivElement>, "onSelect">): import("react/jsx-runtime").JSX.Element | null;
63
63
  displayName: string;
64
64
  };
65
65
  Tab: {
66
66
  ({ tab, children, ...rest }: {
67
67
  tab: string;
68
68
  children: React.ReactNode;
69
- } & React.HTMLAttributes<HTMLDivElement>): JSX.Element;
69
+ } & React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
70
70
  displayName: string;
71
71
  };
72
72
  Trigger: {
73
- ({ name, tab, icon, title, children, onToggle, className, style, }: import("./common").SidebarTriggerProps): JSX.Element;
73
+ ({ name, tab, icon, title, children, onToggle, className, style, }: import("./common").SidebarTriggerProps): import("react/jsx-runtime").JSX.Element;
74
74
  displayName: string;
75
75
  };
76
76
  };
@@ -1,8 +1,7 @@
1
- /// <reference types="react" />
2
1
  export declare const SidebarHeader: {
3
2
  ({ children, className, }: {
4
3
  children?: React.ReactNode;
5
4
  className?: string | undefined;
6
- }): JSX.Element;
5
+ }): import("react/jsx-runtime").JSX.Element;
7
6
  displayName: string;
8
7
  };
@@ -4,6 +4,6 @@ export declare const SidebarTab: {
4
4
  ({ tab, children, ...rest }: {
5
5
  tab: SidebarTabName;
6
6
  children: React.ReactNode;
7
- } & import("react").HTMLAttributes<HTMLDivElement>): JSX.Element;
7
+ } & import("react").HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
8
8
  displayName: string;
9
9
  };
@@ -5,6 +5,6 @@ export declare const SidebarTabTrigger: {
5
5
  children: React.ReactNode;
6
6
  tab: SidebarTabName;
7
7
  onSelect?: React.ReactEventHandler<HTMLButtonElement> | undefined;
8
- } & Omit<import("react").HTMLAttributes<HTMLButtonElement>, "onSelect">): JSX.Element;
8
+ } & Omit<import("react").HTMLAttributes<HTMLButtonElement>, "onSelect">): import("react/jsx-runtime").JSX.Element;
9
9
  displayName: string;
10
10
  };
@@ -2,6 +2,6 @@
2
2
  export declare const SidebarTabTriggers: {
3
3
  ({ children, ...rest }: {
4
4
  children: React.ReactNode;
5
- } & Omit<import("react").RefAttributes<HTMLDivElement>, "onSelect">): JSX.Element;
5
+ } & Omit<import("react").RefAttributes<HTMLDivElement>, "onSelect">): import("react/jsx-runtime").JSX.Element;
6
6
  displayName: string;
7
7
  };
@@ -2,6 +2,6 @@
2
2
  export declare const SidebarTabs: {
3
3
  ({ children, ...rest }: {
4
4
  children: React.ReactNode;
5
- } & Omit<import("react").RefAttributes<HTMLDivElement>, "onSelect">): JSX.Element | null;
5
+ } & Omit<import("react").RefAttributes<HTMLDivElement>, "onSelect">): import("react/jsx-runtime").JSX.Element | null;
6
6
  displayName: string;
7
7
  };
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  import type { SidebarTriggerProps } from "./common";
3
2
  import "./SidebarTrigger.scss";
4
3
  export declare const SidebarTrigger: {
5
- ({ name, tab, icon, title, children, onToggle, className, style, }: SidebarTriggerProps): JSX.Element;
4
+ ({ name, tab, icon, title, children, onToggle, className, style, }: SidebarTriggerProps): import("react/jsx-runtime").JSX.Element;
6
5
  displayName: string;
7
6
  };
@@ -1,3 +1,4 @@
1
+ import type { JSX } from "react";
1
2
  import React from "react";
2
3
  import type { AppState, SidebarName, SidebarTabName } from "../../types";
3
4
  export type SidebarTriggerProps = {
@@ -1,9 +1,8 @@
1
- /// <reference types="react" />
2
1
  import "./Spinner.scss";
3
2
  declare const Spinner: ({ size, circleWidth, synchronized, className, }: {
4
3
  size?: string | number | undefined;
5
4
  circleWidth?: number | undefined;
6
5
  synchronized?: boolean | undefined;
7
6
  className?: string | undefined;
8
- }) => JSX.Element;
7
+ }) => import("react/jsx-runtime").JSX.Element;
9
8
  export default Spinner;
@@ -7,10 +7,9 @@ type StackProps = {
7
7
  justifyContent?: "center" | "space-around" | "space-between";
8
8
  className?: string | boolean;
9
9
  style?: React.CSSProperties;
10
- ref: React.RefObject<HTMLDivElement>;
11
10
  };
12
11
  declare const _default: {
13
- Row: React.ForwardRefExoticComponent<Omit<StackProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
14
- Col: React.ForwardRefExoticComponent<Omit<StackProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
12
+ Row: React.ForwardRefExoticComponent<StackProps & React.RefAttributes<HTMLDivElement>>;
13
+ Col: React.ForwardRefExoticComponent<StackProps & React.RefAttributes<HTMLDivElement>>;
15
14
  };
16
15
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { ExcalidrawElement } from "../../element/types";
3
2
  import type Scene from "../../scene/Scene";
4
3
  import type { AppState } from "../../types";
@@ -8,5 +7,5 @@ interface AngleProps {
8
7
  appState: AppState;
9
8
  property: "angle";
10
9
  }
11
- declare const Angle: ({ element, scene, appState, property }: AngleProps) => JSX.Element;
10
+ declare const Angle: ({ element, scene, appState, property }: AngleProps) => import("react/jsx-runtime").JSX.Element;
12
11
  export default Angle;
@@ -7,5 +7,5 @@ interface PositionProps {
7
7
  appState: AppState;
8
8
  setAppState: React.Component<any, AppState>["setState"];
9
9
  }
10
- declare const CanvasGrid: ({ property, scene, appState, setAppState, }: PositionProps) => JSX.Element;
10
+ declare const CanvasGrid: ({ property, scene, appState, setAppState, }: PositionProps) => import("react/jsx-runtime").JSX.Element;
11
11
  export default CanvasGrid;
@@ -6,5 +6,5 @@ interface CollapsibleProps {
6
6
  children: React.ReactNode;
7
7
  className?: string;
8
8
  }
9
- declare const Collapsible: ({ label, open, openTrigger, children, className, }: CollapsibleProps) => JSX.Element;
9
+ declare const Collapsible: ({ label, open, openTrigger, children, className, }: CollapsibleProps) => import("react/jsx-runtime").JSX.Element;
10
10
  export default Collapsible;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { ExcalidrawElement } from "../../element/types";
3
2
  import type Scene from "../../scene/Scene";
4
3
  import type { AppState } from "../../types";
@@ -8,5 +7,5 @@ interface DimensionDragInputProps {
8
7
  scene: Scene;
9
8
  appState: AppState;
10
9
  }
11
- declare const DimensionDragInput: ({ property, element, scene, appState, }: DimensionDragInputProps) => JSX.Element;
10
+ declare const DimensionDragInput: ({ property, element, scene, appState, }: DimensionDragInputProps) => import("react/jsx-runtime").JSX.Element;
12
11
  export default DimensionDragInput;
@@ -31,5 +31,5 @@ interface StatsDragInputProps<T extends StatsInputProperty, E = ExcalidrawElemen
31
31
  /** how many px you need to drag to get 1 unit change */
32
32
  sensitivity?: number;
33
33
  }
34
- declare const StatsDragInput: <T extends StatsInputProperty, E extends ExcalidrawElement = ExcalidrawElement>({ label, icon, dragInputCallback, value, elements, editable, shouldKeepAspectRatio, property, scene, appState, sensitivity, }: StatsDragInputProps<T, E>) => JSX.Element | null;
34
+ declare const StatsDragInput: <T extends StatsInputProperty, E extends ExcalidrawElement = ExcalidrawElement>({ label, icon, dragInputCallback, value, elements, editable, shouldKeepAspectRatio, property, scene, appState, sensitivity, }: StatsDragInputProps<T, E>) => import("react/jsx-runtime").JSX.Element | null;
35
35
  export default StatsDragInput;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { ExcalidrawElement } from "../../element/types";
3
2
  import type Scene from "../../scene/Scene";
4
3
  import type { AppState } from "../../types";
@@ -8,5 +7,5 @@ interface FontSizeProps {
8
7
  appState: AppState;
9
8
  property: "fontSize";
10
9
  }
11
- declare const FontSize: ({ element, scene, appState, property }: FontSizeProps) => JSX.Element | null;
10
+ declare const FontSize: ({ element, scene, appState, property }: FontSizeProps) => import("react/jsx-runtime").JSX.Element | null;
12
11
  export default FontSize;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { ExcalidrawElement } from "../../element/types";
3
2
  import type Scene from "../../scene/Scene";
4
3
  import type { AppState } from "../../types";
@@ -8,5 +7,5 @@ interface MultiAngleProps {
8
7
  appState: AppState;
9
8
  property: "angle";
10
9
  }
11
- declare const MultiAngle: ({ elements, scene, appState, property, }: MultiAngleProps) => JSX.Element;
10
+ declare const MultiAngle: ({ elements, scene, appState, property, }: MultiAngleProps) => import("react/jsx-runtime").JSX.Element;
12
11
  export default MultiAngle;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { ExcalidrawElement, NonDeletedSceneElementsMap } from "../../element/types";
3
2
  import type Scene from "../../scene/Scene";
4
3
  import type { AppState } from "../../types";
@@ -11,5 +10,5 @@ interface MultiDimensionProps {
11
10
  scene: Scene;
12
11
  appState: AppState;
13
12
  }
14
- declare const MultiDimension: ({ property, elements, elementsMap, atomicUnits, scene, appState, }: MultiDimensionProps) => JSX.Element;
13
+ declare const MultiDimension: ({ property, elements, elementsMap, atomicUnits, scene, appState, }: MultiDimensionProps) => import("react/jsx-runtime").JSX.Element;
15
14
  export default MultiDimension;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { ExcalidrawElement, NonDeletedSceneElementsMap } from "../../element/types";
3
2
  import type Scene from "../../scene/Scene";
4
3
  import type { AppState } from "../../types";
@@ -9,5 +8,5 @@ interface MultiFontSizeProps {
9
8
  appState: AppState;
10
9
  property: "fontSize";
11
10
  }
12
- declare const MultiFontSize: ({ elements, scene, appState, property, elementsMap, }: MultiFontSizeProps) => JSX.Element | null;
11
+ declare const MultiFontSize: ({ elements, scene, appState, property, elementsMap, }: MultiFontSizeProps) => import("react/jsx-runtime").JSX.Element | null;
13
12
  export default MultiFontSize;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { ElementsMap, ExcalidrawElement } from "../../element/types";
3
2
  import type Scene from "../../scene/Scene";
4
3
  import type { AtomicUnit } from "./utils";
@@ -11,5 +10,5 @@ interface MultiPositionProps {
11
10
  scene: Scene;
12
11
  appState: AppState;
13
12
  }
14
- declare const MultiPosition: ({ property, elements, elementsMap, atomicUnits, scene, appState, }: MultiPositionProps) => JSX.Element;
13
+ declare const MultiPosition: ({ property, elements, elementsMap, atomicUnits, scene, appState, }: MultiPositionProps) => import("react/jsx-runtime").JSX.Element;
15
14
  export default MultiPosition;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { ElementsMap, ExcalidrawElement } from "../../element/types";
3
2
  import type Scene from "../../scene/Scene";
4
3
  import type { AppState } from "../../types";
@@ -9,5 +8,5 @@ interface PositionProps {
9
8
  scene: Scene;
10
9
  appState: AppState;
11
10
  }
12
- declare const Position: ({ property, element, elementsMap, scene, appState, }: PositionProps) => JSX.Element;
11
+ declare const Position: ({ property, element, elementsMap, scene, appState, }: PositionProps) => import("react/jsx-runtime").JSX.Element;
13
12
  export default Position;
@@ -8,14 +8,14 @@ interface StatsProps {
8
8
  renderCustomStats: ExcalidrawProps["renderCustomStats"];
9
9
  }
10
10
  export declare const Stats: {
11
- (props: StatsProps): JSX.Element;
11
+ (props: StatsProps): import("react/jsx-runtime").JSX.Element;
12
12
  StatsRow: {
13
13
  ({ children, columns, heading, style, ...rest }: {
14
14
  children: React.ReactNode;
15
15
  columns?: number | undefined;
16
16
  heading?: boolean | undefined;
17
17
  style?: import("react").CSSProperties | undefined;
18
- } & import("react").HTMLAttributes<HTMLDivElement>): JSX.Element;
18
+ } & import("react").HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
19
19
  displayName: string;
20
20
  };
21
21
  StatsRows: {
@@ -23,7 +23,7 @@ export declare const Stats: {
23
23
  children: React.ReactNode;
24
24
  order?: number | undefined;
25
25
  style?: import("react").CSSProperties | undefined;
26
- } & import("react").HTMLAttributes<HTMLDivElement>): JSX.Element;
26
+ } & import("react").HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
27
27
  displayName: string;
28
28
  };
29
29
  };
@@ -32,5 +32,5 @@ export declare const StatsInner: import("react").MemoExoticComponent<({ app, onC
32
32
  selectedElements: readonly NonDeletedExcalidrawElement[];
33
33
  appState: AppState;
34
34
  gridModeEnabled: boolean;
35
- }) => JSX.Element>;
35
+ }) => import("react/jsx-runtime").JSX.Element>;
36
36
  export {};
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./Switch.scss";
3
2
  export type SwitchProps = {
4
3
  name: string;
@@ -7,4 +6,4 @@ export type SwitchProps = {
7
6
  onChange: (value: boolean) => void;
8
7
  disabled?: boolean;
9
8
  };
10
- export declare const Switch: ({ title, name, checked, onChange, disabled, }: SwitchProps) => JSX.Element;
9
+ export declare const Switch: ({ title, name, checked, onChange, disabled, }: SwitchProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  import "./MermaidToExcalidraw.scss";
3
2
  import type { MermaidToExcalidrawLibProps } from "./common";
4
3
  declare const MermaidToExcalidraw: ({ mermaidToExcalidrawLib, }: {
5
4
  mermaidToExcalidrawLib: MermaidToExcalidrawLibProps;
6
- }) => JSX.Element;
5
+ }) => import("react/jsx-runtime").JSX.Element;
7
6
  export default MermaidToExcalidraw;
@@ -14,7 +14,7 @@ export declare const TTDDialog: (props: {
14
14
  onTextSubmit(value: string): Promise<OnTestSubmitRetValue>;
15
15
  } | {
16
16
  __fallback: true;
17
- }) => JSX.Element | null;
17
+ }) => import("react/jsx-runtime").JSX.Element | null;
18
18
  /**
19
19
  * Text to diagram (TTD) dialog
20
20
  */
@@ -5,5 +5,5 @@ interface TTDDialogInputProps {
5
5
  onChange: ChangeEventHandler<HTMLTextAreaElement>;
6
6
  onKeyboardSubmit?: () => void;
7
7
  }
8
- export declare const TTDDialogInput: ({ input, placeholder, onChange, onKeyboardSubmit, }: TTDDialogInputProps) => JSX.Element;
8
+ export declare const TTDDialogInput: ({ input, placeholder, onChange, onKeyboardSubmit, }: TTDDialogInputProps) => import("react/jsx-runtime").JSX.Element;
9
9
  export {};
@@ -1,8 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  interface TTDDialogOutputProps {
3
3
  error: Error | null;
4
- canvasRef: React.RefObject<HTMLDivElement>;
4
+ canvasRef: React.RefObject<HTMLDivElement | null>;
5
5
  loaded: boolean;
6
6
  }
7
- export declare const TTDDialogOutput: ({ error, canvasRef, loaded, }: TTDDialogOutputProps) => JSX.Element;
7
+ export declare const TTDDialogOutput: ({ error, canvasRef, loaded, }: TTDDialogOutputProps) => import("react/jsx-runtime").JSX.Element;
8
8
  export {};
@@ -13,5 +13,5 @@ interface TTDDialogPanelProps {
13
13
  renderSubmitShortcut?: () => ReactNode;
14
14
  renderBottomRight?: () => ReactNode;
15
15
  }
16
- export declare const TTDDialogPanel: ({ label, children, panelAction, panelActionDisabled, onTextSubmitInProgess, renderTopRight, renderSubmitShortcut, renderBottomRight, }: TTDDialogPanelProps) => JSX.Element;
16
+ export declare const TTDDialogPanel: ({ label, children, panelAction, panelActionDisabled, onTextSubmitInProgess, renderTopRight, renderSubmitShortcut, renderBottomRight, }: TTDDialogPanelProps) => import("react/jsx-runtime").JSX.Element;
17
17
  export {};
@@ -1,4 +1,4 @@
1
1
  import type { ReactNode } from "react";
2
2
  export declare const TTDDialogPanels: ({ children }: {
3
3
  children: ReactNode;
4
- }) => JSX.Element;
4
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
- export declare const TTDDialogSubmitShortcut: () => JSX.Element;
1
+ export declare const TTDDialogSubmitShortcut: () => import("react/jsx-runtime").JSX.Element;
@@ -3,6 +3,6 @@ export declare const TTDDialogTab: {
3
3
  ({ tab, children, ...rest }: {
4
4
  tab: string;
5
5
  children: React.ReactNode;
6
- } & import("react").HTMLAttributes<HTMLDivElement>): JSX.Element;
6
+ } & import("react").HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
7
7
  displayName: string;
8
8
  };
@@ -4,6 +4,6 @@ export declare const TTDDialogTabTrigger: {
4
4
  children: React.ReactNode;
5
5
  tab: string;
6
6
  onSelect?: React.ReactEventHandler<HTMLButtonElement> | undefined;
7
- } & Omit<import("react").HTMLAttributes<HTMLButtonElement>, "onSelect">): JSX.Element;
7
+ } & Omit<import("react").HTMLAttributes<HTMLButtonElement>, "onSelect">): import("react/jsx-runtime").JSX.Element;
8
8
  displayName: string;
9
9
  };
@@ -2,6 +2,6 @@
2
2
  export declare const TTDDialogTabTriggers: {
3
3
  ({ children, ...rest }: {
4
4
  children: React.ReactNode;
5
- } & import("react").HTMLAttributes<HTMLDivElement>): JSX.Element;
5
+ } & import("react").HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
6
6
  displayName: string;
7
7
  };
@@ -5,7 +5,7 @@ declare const TTDDialogTabs: {
5
5
  } & {
6
6
  dialog: "ttd";
7
7
  tab: "text-to-diagram" | "mermaid";
8
- }): JSX.Element;
8
+ }): import("react/jsx-runtime").JSX.Element;
9
9
  displayName: string;
10
10
  };
11
11
  export default TTDDialogTabs;
@@ -1,8 +1,9 @@
1
+ import type { JSX } from "react";
1
2
  import type { ReactNode } from "react";
2
3
  export declare const TTDDialogTrigger: {
3
4
  ({ children, icon, }: {
4
5
  children?: ReactNode;
5
6
  icon?: JSX.Element | undefined;
6
- }): JSX.Element;
7
+ }): import("react/jsx-runtime").JSX.Element;
7
8
  displayName: string;
8
9
  };
@@ -10,7 +10,7 @@ export interface MermaidToExcalidrawLibProps {
10
10
  }>;
11
11
  }
12
12
  interface ConvertMermaidToExcalidrawFormatProps {
13
- canvasRef: React.RefObject<HTMLDivElement>;
13
+ canvasRef: React.RefObject<HTMLDivElement | null>;
14
14
  mermaidToExcalidrawLib: MermaidToExcalidrawLibProps;
15
15
  mermaidDefinition: string;
16
16
  setError: (error: Error | null) => void;
@@ -6,4 +6,4 @@ export declare const Toast: ({ message, onClose, closable, duration, style, }: {
6
6
  closable?: boolean | undefined;
7
7
  duration?: number | undefined;
8
8
  style?: CSSProperties | undefined;
9
- }) => JSX.Element;
9
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -14,5 +14,5 @@ type TooltipProps = {
14
14
  style?: React.CSSProperties;
15
15
  disabled?: boolean;
16
16
  };
17
- export declare const Tooltip: ({ children, label, long, style, disabled, }: TooltipProps) => JSX.Element | null;
17
+ export declare const Tooltip: ({ children, label, long, style, disabled, }: TooltipProps) => import("react/jsx-runtime").JSX.Element | null;
18
18
  export {};
@@ -14,5 +14,5 @@ type UserListProps = {
14
14
  collaborators: Map<SocketId, UserListUserObject>;
15
15
  userToFollow: SocketId | null;
16
16
  };
17
- export declare const UserList: React.MemoExoticComponent<({ className, mobile, collaborators, userToFollow }: UserListProps) => JSX.Element>;
17
+ export declare const UserList: React.MemoExoticComponent<({ className, mobile, collaborators, userToFollow }: UserListProps) => import("react/jsx-runtime").JSX.Element>;
18
18
  export {};