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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (183) hide show
  1. package/README.md +4 -5
  2. package/dist/dev/{chunk-CI27YPGF.js → chunk-3O3BNMYV.js} +71 -8
  3. package/dist/dev/chunk-3O3BNMYV.js.map +7 -0
  4. package/dist/dev/data/{image-TC7JM54G.js → image-EN763OZS.js} +2 -2
  5. package/dist/dev/index.js +9 -7
  6. package/dist/dev/index.js.map +3 -3
  7. package/dist/prod/{chunk-FZ2HZXXI.js → chunk-ELWWJGPE.js} +16 -16
  8. package/dist/prod/data/{image-QTHH6XLL.js → image-XQM6YLGO.js} +1 -1
  9. package/dist/prod/index.js +9 -9
  10. package/dist/types/excalidraw/actions/actionAlign.d.ts +12 -12
  11. package/dist/types/excalidraw/actions/actionCanvas.d.ts +13 -13
  12. package/dist/types/excalidraw/actions/actionClipboard.d.ts +4 -4
  13. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +2 -2
  14. package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +2 -2
  15. package/dist/types/excalidraw/actions/actionDistribute.d.ts +2 -2
  16. package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -2
  17. package/dist/types/excalidraw/actions/actionElementLink.d.ts +2 -2
  18. package/dist/types/excalidraw/actions/actionElementLock.d.ts +2 -2
  19. package/dist/types/excalidraw/actions/actionExport.d.ts +8 -8
  20. package/dist/types/excalidraw/actions/actionFinalize.d.ts +1 -1
  21. package/dist/types/excalidraw/actions/actionFlip.d.ts +2 -2
  22. package/dist/types/excalidraw/actions/actionFrame.d.ts +1 -1
  23. package/dist/types/excalidraw/actions/actionGroup.d.ts +4 -4
  24. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +1 -1
  25. package/dist/types/excalidraw/actions/actionLink.d.ts +2 -2
  26. package/dist/types/excalidraw/actions/actionMenu.d.ts +3 -3
  27. package/dist/types/excalidraw/actions/actionNavigate.d.ts +1 -1
  28. package/dist/types/excalidraw/actions/actionProperties.d.ts +16 -16
  29. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +1 -1
  30. package/dist/types/excalidraw/actions/actionStyles.d.ts +2 -2
  31. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +1 -1
  32. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +1 -1
  33. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +1 -1
  34. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +1 -1
  35. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +1 -1
  36. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +1 -1
  37. package/dist/types/excalidraw/actions/actionZindex.d.ts +8 -8
  38. package/dist/types/excalidraw/actions/manager.d.ts +1 -1
  39. package/dist/types/excalidraw/components/Actions.d.ts +6 -7
  40. package/dist/types/excalidraw/components/ActiveConfirmDialog.d.ts +1 -2
  41. package/dist/types/excalidraw/components/App.d.ts +1 -1
  42. package/dist/types/excalidraw/components/Avatar.d.ts +1 -1
  43. package/dist/types/excalidraw/components/BraveMeasureTextError.d.ts +1 -2
  44. package/dist/types/excalidraw/components/Button.d.ts +1 -1
  45. package/dist/types/excalidraw/components/ButtonIcon.d.ts +1 -1
  46. package/dist/types/excalidraw/components/ButtonIconCycle.d.ts +2 -2
  47. package/dist/types/excalidraw/components/ButtonIconSelect.d.ts +2 -2
  48. package/dist/types/excalidraw/components/ButtonSelect.d.ts +1 -2
  49. package/dist/types/excalidraw/components/ButtonSeparator.d.ts +1 -2
  50. package/dist/types/excalidraw/components/ColorPicker/ColorInput.d.ts +1 -2
  51. package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +1 -2
  52. package/dist/types/excalidraw/components/ColorPicker/CustomColorList.d.ts +1 -2
  53. package/dist/types/excalidraw/components/ColorPicker/HotkeyLabel.d.ts +1 -2
  54. package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +1 -1
  55. package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +1 -2
  56. package/dist/types/excalidraw/components/ColorPicker/PickerHeading.d.ts +1 -1
  57. package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +1 -2
  58. package/dist/types/excalidraw/components/ColorPicker/TopPicks.d.ts +1 -2
  59. package/dist/types/excalidraw/components/CommandPalette/CommandPalette.d.ts +1 -2
  60. package/dist/types/excalidraw/components/ConfirmDialog.d.ts +1 -2
  61. package/dist/types/excalidraw/components/ContextMenu.d.ts +1 -1
  62. package/dist/types/excalidraw/components/DarkModeToggle.d.ts +1 -2
  63. package/dist/types/excalidraw/components/DefaultSidebar.d.ts +1 -1
  64. package/dist/types/excalidraw/components/Dialog.d.ts +1 -1
  65. package/dist/types/excalidraw/components/DialogActionButton.d.ts +1 -1
  66. package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +1 -2
  67. package/dist/types/excalidraw/components/ErrorDialog.d.ts +1 -1
  68. package/dist/types/excalidraw/components/ExcalidrawLogo.d.ts +1 -1
  69. package/dist/types/excalidraw/components/FixedSideContainer.d.ts +1 -1
  70. package/dist/types/excalidraw/components/FollowMode/FollowMode.d.ts +1 -2
  71. package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +2 -2
  72. package/dist/types/excalidraw/components/FontPicker/FontPickerList.d.ts +2 -1
  73. package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +1 -2
  74. package/dist/types/excalidraw/components/FontPicker/keyboardNavHandlers.d.ts +1 -1
  75. package/dist/types/excalidraw/components/HandButton.d.ts +1 -2
  76. package/dist/types/excalidraw/components/HelpButton.d.ts +1 -2
  77. package/dist/types/excalidraw/components/HelpDialog.d.ts +1 -2
  78. package/dist/types/excalidraw/components/HintViewer.d.ts +1 -2
  79. package/dist/types/excalidraw/components/IconPicker.d.ts +2 -2
  80. package/dist/types/excalidraw/components/ImageExportDialog.d.ts +2 -3
  81. package/dist/types/excalidraw/components/InitializeApp.d.ts +1 -1
  82. package/dist/types/excalidraw/components/InlineIcon.d.ts +1 -2
  83. package/dist/types/excalidraw/components/JSONExportDialog.d.ts +1 -1
  84. package/dist/types/excalidraw/components/LaserPointerButton.d.ts +1 -2
  85. package/dist/types/excalidraw/components/LayerUI.d.ts +1 -1
  86. package/dist/types/excalidraw/components/LibraryMenu.d.ts +1 -1
  87. package/dist/types/excalidraw/components/LibraryMenuBrowseButton.d.ts +1 -2
  88. package/dist/types/excalidraw/components/LibraryMenuControlButtons.d.ts +1 -2
  89. package/dist/types/excalidraw/components/LibraryMenuHeaderContent.d.ts +1 -1
  90. package/dist/types/excalidraw/components/LibraryMenuItems.d.ts +1 -2
  91. package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +2 -2
  92. package/dist/types/excalidraw/components/LibraryUnit.d.ts +2 -2
  93. package/dist/types/excalidraw/components/LockButton.d.ts +1 -2
  94. package/dist/types/excalidraw/components/MagicButton.d.ts +2 -2
  95. package/dist/types/excalidraw/components/MobileMenu.d.ts +2 -1
  96. package/dist/types/excalidraw/components/OverwriteConfirm/OverwriteConfirm.d.ts +4 -4
  97. package/dist/types/excalidraw/components/OverwriteConfirm/OverwriteConfirmActions.d.ts +6 -6
  98. package/dist/types/excalidraw/components/Paragraph.d.ts +1 -2
  99. package/dist/types/excalidraw/components/PasteChartDialog.d.ts +1 -1
  100. package/dist/types/excalidraw/components/PenModeButton.d.ts +1 -2
  101. package/dist/types/excalidraw/components/Popover.d.ts +1 -1
  102. package/dist/types/excalidraw/components/ProjectName.d.ts +1 -2
  103. package/dist/types/excalidraw/components/PublishLibrary.d.ts +1 -2
  104. package/dist/types/excalidraw/components/RadioGroup.d.ts +1 -1
  105. package/dist/types/excalidraw/components/Range.d.ts +1 -2
  106. package/dist/types/excalidraw/components/SVGLayer.d.ts +1 -2
  107. package/dist/types/excalidraw/components/ScrollableList.d.ts +1 -1
  108. package/dist/types/excalidraw/components/SearchMenu.d.ts +1 -2
  109. package/dist/types/excalidraw/components/ShareableLinkDialog.d.ts +1 -2
  110. package/dist/types/excalidraw/components/Sidebar/Sidebar.d.ts +6 -6
  111. package/dist/types/excalidraw/components/Sidebar/SidebarHeader.d.ts +1 -2
  112. package/dist/types/excalidraw/components/Sidebar/SidebarTab.d.ts +1 -1
  113. package/dist/types/excalidraw/components/Sidebar/SidebarTabTrigger.d.ts +1 -1
  114. package/dist/types/excalidraw/components/Sidebar/SidebarTabTriggers.d.ts +1 -1
  115. package/dist/types/excalidraw/components/Sidebar/SidebarTabs.d.ts +1 -1
  116. package/dist/types/excalidraw/components/Sidebar/SidebarTrigger.d.ts +1 -2
  117. package/dist/types/excalidraw/components/Sidebar/common.d.ts +1 -0
  118. package/dist/types/excalidraw/components/Spinner.d.ts +1 -2
  119. package/dist/types/excalidraw/components/Stack.d.ts +2 -3
  120. package/dist/types/excalidraw/components/Stats/Angle.d.ts +1 -2
  121. package/dist/types/excalidraw/components/Stats/CanvasGrid.d.ts +1 -1
  122. package/dist/types/excalidraw/components/Stats/Collapsible.d.ts +1 -1
  123. package/dist/types/excalidraw/components/Stats/Dimension.d.ts +1 -2
  124. package/dist/types/excalidraw/components/Stats/DragInput.d.ts +1 -1
  125. package/dist/types/excalidraw/components/Stats/FontSize.d.ts +1 -2
  126. package/dist/types/excalidraw/components/Stats/MultiAngle.d.ts +1 -2
  127. package/dist/types/excalidraw/components/Stats/MultiDimension.d.ts +1 -2
  128. package/dist/types/excalidraw/components/Stats/MultiFontSize.d.ts +1 -2
  129. package/dist/types/excalidraw/components/Stats/MultiPosition.d.ts +1 -2
  130. package/dist/types/excalidraw/components/Stats/Position.d.ts +1 -2
  131. package/dist/types/excalidraw/components/Stats/index.d.ts +4 -4
  132. package/dist/types/excalidraw/components/Switch.d.ts +1 -2
  133. package/dist/types/excalidraw/components/TTDDialog/MermaidToExcalidraw.d.ts +1 -2
  134. package/dist/types/excalidraw/components/TTDDialog/TTDDialog.d.ts +1 -1
  135. package/dist/types/excalidraw/components/TTDDialog/TTDDialogInput.d.ts +1 -1
  136. package/dist/types/excalidraw/components/TTDDialog/TTDDialogOutput.d.ts +2 -2
  137. package/dist/types/excalidraw/components/TTDDialog/TTDDialogPanel.d.ts +1 -1
  138. package/dist/types/excalidraw/components/TTDDialog/TTDDialogPanels.d.ts +1 -1
  139. package/dist/types/excalidraw/components/TTDDialog/TTDDialogSubmitShortcut.d.ts +1 -2
  140. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTab.d.ts +1 -1
  141. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTabTrigger.d.ts +1 -1
  142. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTabTriggers.d.ts +1 -1
  143. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTabs.d.ts +1 -1
  144. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts +2 -1
  145. package/dist/types/excalidraw/components/TTDDialog/common.d.ts +1 -1
  146. package/dist/types/excalidraw/components/Toast.d.ts +1 -1
  147. package/dist/types/excalidraw/components/Tooltip.d.ts +1 -1
  148. package/dist/types/excalidraw/components/UserList.d.ts +1 -1
  149. package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +2 -2
  150. package/dist/types/excalidraw/components/canvases/NewElementCanvas.d.ts +1 -2
  151. package/dist/types/excalidraw/components/canvases/StaticCanvas.d.ts +1 -1
  152. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +11 -11
  153. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts +1 -1
  154. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuGroup.d.ts +1 -1
  155. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts +4 -3
  156. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemContent.d.ts +2 -2
  157. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemContentRadio.d.ts +1 -1
  158. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemCustom.d.ts +1 -1
  159. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemLink.d.ts +2 -1
  160. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuSeparator.d.ts +1 -2
  161. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuTrigger.d.ts +1 -1
  162. package/dist/types/excalidraw/components/dropdownMenu/dropdownMenuUtils.d.ts +2 -2
  163. package/dist/types/excalidraw/components/footer/Footer.d.ts +1 -2
  164. package/dist/types/excalidraw/components/footer/FooterCenter.d.ts +1 -2
  165. package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +1 -2
  166. package/dist/types/excalidraw/components/icons.d.ts +178 -178
  167. package/dist/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +1 -1
  168. package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +12 -13
  169. package/dist/types/excalidraw/components/main-menu/MainMenu.d.ts +9 -9
  170. package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.Center.d.ts +10 -10
  171. package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.Hints.d.ts +3 -4
  172. package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.d.ts +15 -15
  173. package/dist/types/excalidraw/element/ElementCanvasButtons.d.ts +1 -2
  174. package/dist/types/excalidraw/element/types.d.ts +1 -1
  175. package/dist/types/excalidraw/fonts/FontMetadata.d.ts +1 -1
  176. package/dist/types/excalidraw/hooks/useOutsideClick.d.ts +1 -1
  177. package/dist/types/excalidraw/hooks/useScrollPosition.d.ts +1 -1
  178. package/dist/types/excalidraw/index.d.ts +1 -1
  179. package/dist/types/excalidraw/shapes.d.ts +10 -11
  180. package/dist/types/excalidraw/types.d.ts +1 -0
  181. package/package.json +11 -11
  182. package/dist/dev/chunk-CI27YPGF.js.map +0 -7
  183. /package/dist/dev/data/{image-TC7JM54G.js.map → image-EN763OZS.js.map} +0 -0
@@ -12,5 +12,5 @@ interface LogoProps {
12
12
  */
13
13
  isNotLink?: boolean;
14
14
  }
15
- export declare const ExcalidrawLogo: ({ style, size, withText, }: LogoProps) => JSX.Element;
15
+ export declare const ExcalidrawLogo: ({ style, size, withText, }: LogoProps) => import("react/jsx-runtime").JSX.Element;
16
16
  export {};
@@ -5,5 +5,5 @@ type FixedSideContainerProps = {
5
5
  side: "top" | "left" | "right";
6
6
  className?: string;
7
7
  };
8
- export declare const FixedSideContainer: ({ children, side, className, }: FixedSideContainerProps) => JSX.Element;
8
+ export declare const FixedSideContainer: ({ children, side, className, }: FixedSideContainerProps) => import("react/jsx-runtime").JSX.Element;
9
9
  export {};
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { UserToFollow } from "../../types";
3
2
  import "./FollowMode.scss";
4
3
  interface FollowModeProps {
@@ -7,5 +6,5 @@ interface FollowModeProps {
7
6
  userToFollow: UserToFollow;
8
7
  onDisconnect: () => void;
9
8
  }
10
- declare const FollowMode: ({ height, width, userToFollow, onDisconnect, }: FollowModeProps) => JSX.Element;
9
+ declare const FollowMode: ({ height, width, userToFollow, onDisconnect, }: FollowModeProps) => import("react/jsx-runtime").JSX.Element;
11
10
  export default FollowMode;
@@ -3,7 +3,7 @@ import type { FontFamilyValues } from "../../element/types";
3
3
  import "./FontPicker.scss";
4
4
  export declare const DEFAULT_FONTS: {
5
5
  value: number;
6
- icon: JSX.Element;
6
+ icon: import("react/jsx-runtime").JSX.Element;
7
7
  text: string;
8
8
  testId: string;
9
9
  }[];
@@ -17,5 +17,5 @@ interface FontPickerProps {
17
17
  onLeave: () => void;
18
18
  onPopupChange: (open: boolean) => void;
19
19
  }
20
- export declare const FontPicker: React.MemoExoticComponent<({ isOpened, selectedFontFamily, hoveredFontFamily, onSelect, onHover, onLeave, onPopupChange, }: FontPickerProps) => JSX.Element>;
20
+ export declare const FontPicker: React.MemoExoticComponent<({ isOpened, selectedFontFamily, hoveredFontFamily, onSelect, onHover, onLeave, onPopupChange, }: FontPickerProps) => import("react/jsx-runtime").JSX.Element>;
21
21
  export {};
@@ -1,3 +1,4 @@
1
+ import type { JSX } from "react";
1
2
  import React from "react";
2
3
  import { DropDownMenuItemBadgeType } from "../dropdownMenu/DropdownMenuItem";
3
4
  import { type FontFamilyValues } from "../../element/types";
@@ -21,5 +22,5 @@ interface FontPickerListProps {
21
22
  onOpen: () => void;
22
23
  onClose: () => void;
23
24
  }
24
- export declare const FontPickerList: React.MemoExoticComponent<({ selectedFontFamily, hoveredFontFamily, onSelect, onHover, onLeave, onOpen, onClose, }: FontPickerListProps) => JSX.Element>;
25
+ export declare const FontPickerList: React.MemoExoticComponent<({ selectedFontFamily, hoveredFontFamily, onSelect, onHover, onLeave, onOpen, onClose, }: FontPickerListProps) => import("react/jsx-runtime").JSX.Element>;
25
26
  export {};
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  import type { FontFamilyValues } from "../../element/types";
3
2
  interface FontPickerTriggerProps {
4
3
  selectedFontFamily: FontFamilyValues | null;
5
4
  }
6
- export declare const FontPickerTrigger: ({ selectedFontFamily, }: FontPickerTriggerProps) => JSX.Element;
5
+ export declare const FontPickerTrigger: ({ selectedFontFamily, }: FontPickerTriggerProps) => import("react/jsx-runtime").JSX.Element;
7
6
  export {};
@@ -3,7 +3,7 @@ import type { Node } from "../../utils";
3
3
  import { type FontDescriptor } from "./FontPickerList";
4
4
  interface FontPickerKeyNavHandlerProps {
5
5
  event: React.KeyboardEvent<HTMLDivElement>;
6
- inputRef: React.RefObject<HTMLInputElement>;
6
+ inputRef: React.RefObject<HTMLInputElement | null>;
7
7
  hoveredFont: Node<FontDescriptor> | undefined;
8
8
  filteredFonts: Node<FontDescriptor>[];
9
9
  onClose: () => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./ToolIcon.scss";
3
2
  type LockIconProps = {
4
3
  title?: string;
@@ -7,5 +6,5 @@ type LockIconProps = {
7
6
  onChange?(): void;
8
7
  isMobile?: boolean;
9
8
  };
10
- export declare const HandButton: (props: LockIconProps) => JSX.Element;
9
+ export declare const HandButton: (props: LockIconProps) => import("react/jsx-runtime").JSX.Element;
11
10
  export {};
@@ -1,8 +1,7 @@
1
- /// <reference types="react" />
2
1
  type HelpButtonProps = {
3
2
  name?: string;
4
3
  id?: string;
5
4
  onClick?(): void;
6
5
  };
7
- export declare const HelpButton: (props: HelpButtonProps) => JSX.Element;
6
+ export declare const HelpButton: (props: HelpButtonProps) => import("react/jsx-runtime").JSX.Element;
8
7
  export {};
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
1
  import "./HelpDialog.scss";
3
2
  export declare const HelpDialog: ({ onClose }: {
4
3
  onClose?: (() => void) | undefined;
5
- }) => JSX.Element;
4
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { AppClassProperties, Device, UIAppState } from "../types";
3
2
  import "./HintViewer.scss";
4
3
  interface HintViewerProps {
@@ -7,5 +6,5 @@ interface HintViewerProps {
7
6
  device: Device;
8
7
  app: AppClassProperties;
9
8
  }
10
- export declare const HintViewer: ({ appState, isMobile, device, app, }: HintViewerProps) => JSX.Element | null;
9
+ export declare const HintViewer: ({ appState, isMobile, device, app, }: HintViewerProps) => import("react/jsx-runtime").JSX.Element | null;
11
10
  export {};
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import type { JSX } from "react";
2
2
  import "./IconPicker.scss";
3
3
  export declare function IconPicker<T>({ value, label, options, onChange, group, numberOfOptionsToAlwaysShow, }: {
4
4
  label: string;
@@ -12,4 +12,4 @@ export declare function IconPicker<T>({ value, label, options, onChange, group,
12
12
  onChange: (value: T) => void;
13
13
  numberOfOptionsToAlwaysShow?: number;
14
14
  group?: string;
15
- }): JSX.Element;
15
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,9 +1,8 @@
1
- /// <reference types="react" />
2
1
  import type { ActionManager } from "../actions/manager";
3
2
  import type { AppClassProperties, BinaryFiles, UIAppState } from "../types";
4
3
  import type { NonDeletedExcalidrawElement } from "../element/types";
5
4
  import "./ImageExportDialog.scss";
6
- export declare const ErrorCanvasPreview: () => JSX.Element;
5
+ export declare const ErrorCanvasPreview: () => import("react/jsx-runtime").JSX.Element;
7
6
  export declare const ImageExportDialog: ({ elements, appState, files, actionManager, onExportImage, onCloseRequest, name, }: {
8
7
  appState: UIAppState;
9
8
  elements: readonly NonDeletedExcalidrawElement[];
@@ -12,4 +11,4 @@ export declare const ImageExportDialog: ({ elements, appState, files, actionMana
12
11
  onExportImage: AppClassProperties["onExportImage"];
13
12
  onCloseRequest: () => void;
14
13
  name: string;
15
- }) => JSX.Element;
14
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -6,5 +6,5 @@ interface Props {
6
6
  children: React.ReactElement;
7
7
  theme?: Theme;
8
8
  }
9
- export declare const InitializeApp: (props: Props) => JSX.Element;
9
+ export declare const InitializeApp: (props: Props) => import("react/jsx-runtime").JSX.Element;
10
10
  export {};
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const InlineIcon: ({ icon }: {
3
2
  icon: React.ReactNode;
4
- }) => JSX.Element;
3
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -12,4 +12,4 @@ export declare const JSONExportDialog: ({ elements, appState, files, actionManag
12
12
  exportOpts: ExportOpts;
13
13
  canvas: HTMLCanvasElement;
14
14
  setAppState: React.Component<any, UIAppState>["setState"];
15
- }) => JSX.Element;
15
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./ToolIcon.scss";
3
2
  type LaserPointerIconProps = {
4
3
  title?: string;
@@ -7,5 +6,5 @@ type LaserPointerIconProps = {
7
6
  onChange?(): void;
8
7
  isMobile?: boolean;
9
8
  };
10
- export declare const LaserPointerButton: (props: LaserPointerIconProps) => JSX.Element;
9
+ export declare const LaserPointerButton: (props: LaserPointerIconProps) => import("react/jsx-runtime").JSX.Element;
11
10
  export {};
@@ -27,5 +27,5 @@ interface LayerUIProps {
27
27
  isCollaborating: boolean;
28
28
  generateLinkForSelection?: AppProps["generateLinkForSelection"];
29
29
  }
30
- declare const _default: React.MemoExoticComponent<({ actionManager, appState, files, setAppState, elements, canvas, onLockToggle, onHandToolToggle, onPenModeToggle, showExitZenModeBtn, renderTopRightUI, renderCustomStats, UIOptions, onExportImage, renderWelcomeScreen, children, app, isCollaborating, generateLinkForSelection, }: LayerUIProps) => JSX.Element>;
30
+ declare const _default: React.MemoExoticComponent<({ actionManager, appState, files, setAppState, elements, canvas, onLockToggle, onHandToolToggle, onPenModeToggle, showExitZenModeBtn, renderTopRightUI, renderCustomStats, UIOptions, onExportImage, renderWelcomeScreen, children, app, isCollaborating, generateLinkForSelection, }: LayerUIProps) => import("react/jsx-runtime").JSX.Element>;
31
31
  export default _default;
@@ -7,4 +7,4 @@ export declare const isLibraryMenuOpenAtom: import("jotai/vanilla/atom").Primiti
7
7
  * This component is meant to be rendered inside <Sidebar.Tab/> inside our
8
8
  * <DefaultSidebar/> or host apps Sidebar components.
9
9
  */
10
- export declare const LibraryMenu: React.MemoExoticComponent<() => JSX.Element>;
10
+ export declare const LibraryMenu: React.MemoExoticComponent<() => import("react/jsx-runtime").JSX.Element>;
@@ -1,8 +1,7 @@
1
- /// <reference types="react" />
2
1
  import type { ExcalidrawProps, UIAppState } from "../types";
3
2
  declare const LibraryMenuBrowseButton: ({ theme, id, libraryReturnUrl, }: {
4
3
  libraryReturnUrl: ExcalidrawProps["libraryReturnUrl"];
5
4
  theme: UIAppState["theme"];
6
5
  id: string;
7
- }) => JSX.Element;
6
+ }) => import("react/jsx-runtime").JSX.Element;
8
7
  export default LibraryMenuBrowseButton;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { ExcalidrawProps, UIAppState } from "../types";
3
2
  export declare const LibraryMenuControlButtons: ({ libraryReturnUrl, theme, id, style, children, className, }: {
4
3
  libraryReturnUrl: ExcalidrawProps["libraryReturnUrl"];
@@ -7,4 +6,4 @@ export declare const LibraryMenuControlButtons: ({ libraryReturnUrl, theme, id,
7
6
  style: React.CSSProperties;
8
7
  children?: React.ReactNode;
9
8
  className?: string | undefined;
10
- }) => JSX.Element;
9
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -15,4 +15,4 @@ export declare const LibraryDropdownMenu: ({ selectedItems, onSelectItems, class
15
15
  selectedItems: LibraryItem["id"][];
16
16
  onSelectItems: (id: LibraryItem["id"][]) => void;
17
17
  className?: string | undefined;
18
- }) => JSX.Element;
18
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { ExcalidrawProps, LibraryItem, LibraryItems, UIAppState } from "../types";
3
2
  import "./LibraryMenuItems.scss";
4
3
  export default function LibraryMenuItems({ isLoading, libraryItems, onAddToLibrary, onInsertLibraryItems, pendingElements, theme, id, libraryReturnUrl, onSelectItems, selectedItems, }: {
@@ -12,4 +11,4 @@ export default function LibraryMenuItems({ isLoading, libraryItems, onAddToLibra
12
11
  id: string;
13
12
  selectedItems: LibraryItem["id"][];
14
13
  onSelectItems: (id: LibraryItem["id"][]) => void;
15
- }): JSX.Element;
14
+ }): import("react/jsx-runtime").JSX.Element;
@@ -18,6 +18,6 @@ interface Props {
18
18
  }
19
19
  export declare const LibraryMenuSectionGrid: ({ children, }: {
20
20
  children: ReactNode;
21
- }) => JSX.Element;
22
- export declare const LibraryMenuSection: React.MemoExoticComponent<({ items, onItemSelectToggle, onItemDrag, isItemSelected, onClick, svgCache, itemsRenderedPerBatch, }: Props) => JSX.Element>;
21
+ }) => import("react/jsx-runtime").JSX.Element;
22
+ export declare const LibraryMenuSection: React.MemoExoticComponent<({ items, onItemSelectToggle, onItemDrag, isItemSelected, onClick, svgCache, itemsRenderedPerBatch, }: Props) => import("react/jsx-runtime").JSX.Element>;
23
23
  export {};
@@ -11,5 +11,5 @@ export declare const LibraryUnit: import("react").MemoExoticComponent<({ id, ele
11
11
  onToggle: (id: string, event: React.MouseEvent) => void;
12
12
  onDrag: (id: string, event: React.DragEvent) => void;
13
13
  svgCache: SvgCache;
14
- }) => JSX.Element>;
15
- export declare const EmptyLibraryUnit: () => JSX.Element;
14
+ }) => import("react/jsx-runtime").JSX.Element>;
15
+ export declare const EmptyLibraryUnit: () => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./ToolIcon.scss";
3
2
  type LockIconProps = {
4
3
  title?: string;
@@ -7,5 +6,5 @@ type LockIconProps = {
7
6
  onChange?(): void;
8
7
  isMobile?: boolean;
9
8
  };
10
- export declare const LockButton: (props: LockIconProps) => JSX.Element;
9
+ export declare const LockButton: (props: LockIconProps) => import("react/jsx-runtime").JSX.Element;
11
10
  export {};
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import type { JSX } from "react";
2
2
  import "./ToolIcon.scss";
3
3
  export declare const ElementCanvasButton: (props: {
4
4
  title?: string;
@@ -7,4 +7,4 @@ export declare const ElementCanvasButton: (props: {
7
7
  checked: boolean;
8
8
  onChange?(): void;
9
9
  isMobile?: boolean;
10
- }) => JSX.Element;
10
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,4 @@
1
+ import type { JSX } from "react";
1
2
  import React from "react";
2
3
  import type { AppClassProperties, AppProps, AppState, Device, ExcalidrawProps, UIAppState } from "../types";
3
4
  import type { ActionManager } from "../actions/manager";
@@ -20,5 +21,5 @@ type MobileMenuProps = {
20
21
  UIOptions: AppProps["UIOptions"];
21
22
  app: AppClassProperties;
22
23
  };
23
- export declare const MobileMenu: ({ appState, elements, actionManager, setAppState, onLockToggle, onHandToolToggle, onPenModeToggle, renderTopRightUI, renderCustomStats, renderSidebars, device, renderWelcomeScreen, UIOptions, app, }: MobileMenuProps) => JSX.Element;
24
+ export declare const MobileMenu: ({ appState, elements, actionManager, setAppState, onLockToggle, onHandToolToggle, onPenModeToggle, renderTopRightUI, renderCustomStats, renderSidebars, device, renderWelcomeScreen, UIOptions, app, }: MobileMenuProps) => import("react/jsx-runtime").JSX.Element;
24
25
  export {};
@@ -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;