@hellixit/hellixitboard 0.1.0 → 0.1.1

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 (170) hide show
  1. package/dist/prod/chunk-IGUB3U7T.js +4 -0
  2. package/dist/prod/data/{image-2IKBHSIF.js → image-WXEFXRM6.js} +1 -1
  3. package/dist/prod/index.css +1 -1
  4. package/dist/prod/index.js +16 -16
  5. package/dist/types/common/src/constants.d.ts +1 -1
  6. package/dist/types/common/src/font-metadata.d.ts +1 -1
  7. package/dist/types/common/src/points.d.ts +1 -1
  8. package/dist/types/common/src/utils.d.ts +2 -2
  9. package/dist/types/element/src/Scene.d.ts +4 -4
  10. package/dist/types/element/src/arrows/focus.d.ts +1 -1
  11. package/dist/types/element/src/binding.d.ts +3 -3
  12. package/dist/types/element/src/bounds.d.ts +2 -2
  13. package/dist/types/element/src/collision.d.ts +1 -1
  14. package/dist/types/element/src/delta.d.ts +2 -2
  15. package/dist/types/element/src/distance.d.ts +1 -1
  16. package/dist/types/element/src/dragElements.d.ts +1 -1
  17. package/dist/types/element/src/duplicate.d.ts +1 -1
  18. package/dist/types/element/src/elbowArrow.d.ts +1 -1
  19. package/dist/types/element/src/embeddable.d.ts +1 -1
  20. package/dist/types/element/src/frame.d.ts +1 -1
  21. package/dist/types/element/src/groups.d.ts +1 -1
  22. package/dist/types/element/src/heading.d.ts +2 -2
  23. package/dist/types/element/src/image.d.ts +1 -1
  24. package/dist/types/element/src/linearElementEditor.d.ts +3 -3
  25. package/dist/types/element/src/mutateElement.d.ts +1 -1
  26. package/dist/types/element/src/newElement.d.ts +1 -1
  27. package/dist/types/element/src/renderElement.d.ts +2 -2
  28. package/dist/types/element/src/resizeElements.d.ts +1 -1
  29. package/dist/types/element/src/resizeTest.d.ts +3 -3
  30. package/dist/types/element/src/shape.d.ts +3 -3
  31. package/dist/types/element/src/store.d.ts +2 -2
  32. package/dist/types/element/src/textElement.d.ts +2 -2
  33. package/dist/types/element/src/transform.d.ts +1 -1
  34. package/dist/types/element/src/transformHandles.d.ts +3 -3
  35. package/dist/types/element/src/typeChecks.d.ts +1 -1
  36. package/dist/types/element/src/types.d.ts +3 -3
  37. package/dist/types/element/src/utils.d.ts +2 -2
  38. package/dist/types/element/src/zindex.d.ts +1 -1
  39. package/dist/types/hellixitboard/actions/actionAddToLibrary.d.ts +82 -82
  40. package/dist/types/hellixitboard/actions/actionAlign.d.ts +7 -7
  41. package/dist/types/hellixitboard/actions/actionBoundText.d.ts +50 -50
  42. package/dist/types/hellixitboard/actions/actionCanvas.d.ts +275 -275
  43. package/dist/types/hellixitboard/actions/actionClipboard.d.ts +63 -63
  44. package/dist/types/hellixitboard/actions/actionCropEditor.d.ts +28 -28
  45. package/dist/types/hellixitboard/actions/actionDeleteSelected.d.ts +69 -69
  46. package/dist/types/hellixitboard/actions/actionDistribute.d.ts +3 -3
  47. package/dist/types/hellixitboard/actions/actionDuplicateSelection.d.ts +2 -2
  48. package/dist/types/hellixitboard/actions/actionElementLink.d.ts +32 -32
  49. package/dist/types/hellixitboard/actions/actionElementLock.d.ts +49 -49
  50. package/dist/types/hellixitboard/actions/actionEmbeddable.d.ts +29 -29
  51. package/dist/types/hellixitboard/actions/actionExport.d.ts +48 -48
  52. package/dist/types/hellixitboard/actions/actionFinalize.d.ts +1 -1
  53. package/dist/types/hellixitboard/actions/actionFlip.d.ts +3 -3
  54. package/dist/types/hellixitboard/actions/actionFrame.d.ts +210 -210
  55. package/dist/types/hellixitboard/actions/actionGroup.d.ts +43 -43
  56. package/dist/types/hellixitboard/actions/actionLinearEditor.d.ts +149 -149
  57. package/dist/types/hellixitboard/actions/actionLink.d.ts +31 -31
  58. package/dist/types/hellixitboard/actions/actionMenu.d.ts +27 -27
  59. package/dist/types/hellixitboard/actions/actionNavigate.d.ts +2 -2
  60. package/dist/types/hellixitboard/actions/actionProperties.d.ts +39 -39
  61. package/dist/types/hellixitboard/actions/actionSelectAll.d.ts +23 -23
  62. package/dist/types/hellixitboard/actions/actionStyles.d.ts +31 -31
  63. package/dist/types/hellixitboard/actions/actionTextAutoResize.d.ts +3 -3
  64. package/dist/types/hellixitboard/actions/actionToggleArrowBinding.d.ts +28 -28
  65. package/dist/types/hellixitboard/actions/actionToggleGridMode.d.ts +29 -29
  66. package/dist/types/hellixitboard/actions/actionToggleMidpointSnapping.d.ts +28 -28
  67. package/dist/types/hellixitboard/actions/actionToggleObjectsSnapMode.d.ts +29 -29
  68. package/dist/types/hellixitboard/actions/actionToggleSearchMenu.d.ts +28 -28
  69. package/dist/types/hellixitboard/actions/actionToggleShapeSwitch.d.ts +2 -2
  70. package/dist/types/hellixitboard/actions/actionToggleStats.d.ts +28 -28
  71. package/dist/types/hellixitboard/actions/actionToggleViewMode.d.ts +29 -29
  72. package/dist/types/hellixitboard/actions/actionToggleZenMode.d.ts +29 -29
  73. package/dist/types/hellixitboard/actions/actionZindex.d.ts +8 -8
  74. package/dist/types/hellixitboard/actions/manager.d.ts +1 -1
  75. package/dist/types/hellixitboard/actions/shortcuts.d.ts +1 -1
  76. package/dist/types/hellixitboard/actions/types.d.ts +2 -2
  77. package/dist/types/hellixitboard/animated-trail.d.ts +2 -2
  78. package/dist/types/hellixitboard/appState.d.ts +9 -9
  79. package/dist/types/hellixitboard/charts/charts.constants.d.ts +1 -1
  80. package/dist/types/hellixitboard/charts/charts.helpers.d.ts +3 -3
  81. package/dist/types/hellixitboard/charts/charts.types.d.ts +1 -1
  82. package/dist/types/hellixitboard/charts/index.d.ts +1 -1
  83. package/dist/types/hellixitboard/clipboard.d.ts +4 -4
  84. package/dist/types/hellixitboard/components/Actions.d.ts +1 -1
  85. package/dist/types/hellixitboard/components/App.d.ts +9 -9
  86. package/dist/types/hellixitboard/components/ColorPicker/ColorPicker.d.ts +2 -2
  87. package/dist/types/hellixitboard/components/ColorPicker/Picker.d.ts +2 -2
  88. package/dist/types/hellixitboard/components/ColorPicker/PickerColorList.d.ts +1 -1
  89. package/dist/types/hellixitboard/components/ColorPicker/ShadeList.d.ts +1 -1
  90. package/dist/types/hellixitboard/components/ColorPicker/colorPickerUtils.d.ts +2 -2
  91. package/dist/types/hellixitboard/components/ColorPicker/keyboardNavHandlers.d.ts +1 -1
  92. package/dist/types/hellixitboard/components/ConvertElementTypePopup.d.ts +2 -2
  93. package/dist/types/hellixitboard/components/DarkModeToggle.d.ts +1 -1
  94. package/dist/types/hellixitboard/components/DefaultSidebar.d.ts +1 -1
  95. package/dist/types/hellixitboard/components/ElementCanvasButtons.d.ts +1 -1
  96. package/dist/types/hellixitboard/components/ElementLinkDialog.d.ts +2 -2
  97. package/dist/types/hellixitboard/components/EyeDropper.d.ts +1 -1
  98. package/dist/types/hellixitboard/components/FontPicker/FontPicker.d.ts +1 -1
  99. package/dist/types/hellixitboard/components/FontPicker/FontPickerList.d.ts +2 -2
  100. package/dist/types/hellixitboard/components/FontPicker/FontPickerTrigger.d.ts +1 -1
  101. package/dist/types/hellixitboard/components/FontPicker/keyboardNavHandlers.d.ts +1 -1
  102. package/dist/types/hellixitboard/components/HintViewer.d.ts +1 -1
  103. package/dist/types/hellixitboard/components/ImageExportDialog.d.ts +1 -1
  104. package/dist/types/hellixitboard/components/InitializeApp.d.ts +1 -1
  105. package/dist/types/hellixitboard/components/JSONExportDialog.d.ts +1 -1
  106. package/dist/types/hellixitboard/components/LayerUI.d.ts +1 -1
  107. package/dist/types/hellixitboard/components/LibraryMenuSection.d.ts +1 -1
  108. package/dist/types/hellixitboard/components/LoadingMessage.d.ts +1 -1
  109. package/dist/types/hellixitboard/components/MobileMenu.d.ts +1 -1
  110. package/dist/types/hellixitboard/components/Stats/Angle.d.ts +2 -2
  111. package/dist/types/hellixitboard/components/Stats/CanvasGrid.d.ts +1 -1
  112. package/dist/types/hellixitboard/components/Stats/Dimension.d.ts +2 -2
  113. package/dist/types/hellixitboard/components/Stats/DragInput.d.ts +2 -2
  114. package/dist/types/hellixitboard/components/Stats/FontSize.d.ts +2 -2
  115. package/dist/types/hellixitboard/components/Stats/MultiAngle.d.ts +2 -2
  116. package/dist/types/hellixitboard/components/Stats/MultiDimension.d.ts +2 -2
  117. package/dist/types/hellixitboard/components/Stats/MultiFontSize.d.ts +2 -2
  118. package/dist/types/hellixitboard/components/Stats/MultiPosition.d.ts +2 -2
  119. package/dist/types/hellixitboard/components/Stats/Position.d.ts +2 -2
  120. package/dist/types/hellixitboard/components/Stats/index.d.ts +1 -1
  121. package/dist/types/hellixitboard/components/Stats/utils.d.ts +2 -2
  122. package/dist/types/hellixitboard/components/TTDDialog/CodeMirrorEditor.d.ts +1 -1
  123. package/dist/types/hellixitboard/components/TTDDialog/common.d.ts +1 -1
  124. package/dist/types/hellixitboard/components/TTDDialog/hooks/useMermaidRenderer.d.ts +1 -1
  125. package/dist/types/hellixitboard/components/TTDDialog/types.d.ts +3 -3
  126. package/dist/types/hellixitboard/components/ToolButton.d.ts +1 -1
  127. package/dist/types/hellixitboard/components/canvases/InteractiveCanvas.d.ts +2 -2
  128. package/dist/types/hellixitboard/components/canvases/NewElementCanvas.d.ts +1 -1
  129. package/dist/types/hellixitboard/components/canvases/StaticCanvas.d.ts +1 -1
  130. package/dist/types/hellixitboard/components/dropdownMenu/DropdownMenu.d.ts +1 -1
  131. package/dist/types/hellixitboard/components/dropdownMenu/DropdownMenuItem.d.ts +1 -1
  132. package/dist/types/hellixitboard/components/hyperlink/Hyperlink.d.ts +2 -2
  133. package/dist/types/hellixitboard/components/hyperlink/helpers.d.ts +3 -3
  134. package/dist/types/hellixitboard/components/icons.d.ts +1 -1
  135. package/dist/types/hellixitboard/components/live-collaboration/LiveCollaborationTrigger.d.ts +1 -1
  136. package/dist/types/hellixitboard/components/main-menu/DefaultItems.d.ts +1 -1
  137. package/dist/types/hellixitboard/components/main-menu/MainMenu.d.ts +1 -1
  138. package/dist/types/hellixitboard/data/EditorLocalStorage.d.ts +1 -1
  139. package/dist/types/hellixitboard/data/blob.d.ts +49 -49
  140. package/dist/types/hellixitboard/data/filesystem.d.ts +1 -1
  141. package/dist/types/hellixitboard/data/index.d.ts +1 -1
  142. package/dist/types/hellixitboard/data/json.d.ts +24 -24
  143. package/dist/types/hellixitboard/data/library.d.ts +2 -2
  144. package/dist/types/hellixitboard/data/reconcile.d.ts +2 -2
  145. package/dist/types/hellixitboard/data/resave.d.ts +2 -2
  146. package/dist/types/hellixitboard/data/restore.d.ts +2 -2
  147. package/dist/types/hellixitboard/data/types.d.ts +2 -2
  148. package/dist/types/hellixitboard/fonts/Fonts.d.ts +3 -3
  149. package/dist/types/hellixitboard/history.d.ts +4 -4
  150. package/dist/types/hellixitboard/hooks/useEmitter.d.ts +1 -1
  151. package/dist/types/hellixitboard/i18n.d.ts +1 -1
  152. package/dist/types/hellixitboard/index.d.ts +12 -12
  153. package/dist/types/hellixitboard/lasso/utils.d.ts +2 -2
  154. package/dist/types/hellixitboard/renderer/staticScene.d.ts +1 -1
  155. package/dist/types/hellixitboard/renderer/staticSvgScene.d.ts +1 -1
  156. package/dist/types/hellixitboard/scene/Renderer.d.ts +2 -2
  157. package/dist/types/hellixitboard/scene/export.d.ts +1 -1
  158. package/dist/types/hellixitboard/scene/index.d.ts +2 -2
  159. package/dist/types/hellixitboard/scene/scroll.d.ts +1 -1
  160. package/dist/types/hellixitboard/scene/types.d.ts +3 -3
  161. package/dist/types/hellixitboard/snapping.d.ts +5 -5
  162. package/dist/types/hellixitboard/types.d.ts +7 -7
  163. package/dist/types/hellixitboard/wysiwyg/textWysiwyg.d.ts +1 -1
  164. package/dist/types/utils/src/bbox.d.ts +2 -2
  165. package/dist/types/utils/src/export.d.ts +2 -2
  166. package/dist/types/utils/src/index.d.ts +1 -1
  167. package/dist/types/utils/src/shape.d.ts +4 -4
  168. package/dist/types/utils/src/withinBounds.d.ts +2 -2
  169. package/package.json +7 -7
  170. package/dist/prod/chunk-6TQ3TBTF.js +0 -4
@@ -1,4 +1,4 @@
1
- import type { Theme } from "@excalidraw/element/types";
1
+ import type { Theme } from "@hellixit/element/types";
2
2
  import "./ToolIcon.scss";
3
3
  export declare const DarkModeToggle: (props: {
4
4
  value: Theme;
@@ -1,4 +1,4 @@
1
- import type { MarkOptional } from "@excalidraw/common/utility-types";
1
+ import type { MarkOptional } from "@hellixit/common/utility-types";
2
2
  import "../components/dropdownMenu/DropdownMenu.scss";
3
3
  import type { SidebarProps, SidebarTriggerProps } from "./Sidebar/common";
4
4
  export declare const DefaultSidebar: import("react").FC<Omit<MarkOptional<Omit<{
@@ -1,4 +1,4 @@
1
- import type { ElementsMap, NonDeletedHellixitboardElement } from "@excalidraw/element/types";
1
+ import type { ElementsMap, NonDeletedHellixitboardElement } from "@hellixit/element/types";
2
2
  import "./ElementCanvasButtons.scss";
3
3
  export declare const ElementCanvasButtons: ({ children, element, elementsMap, }: {
4
4
  children: React.ReactNode;
@@ -1,5 +1,5 @@
1
- import type { HellixitboardElement } from "@excalidraw/element/types";
2
- import type { Scene } from "@excalidraw/element";
1
+ import type { HellixitboardElement } from "@hellixit/element/types";
2
+ import type { Scene } from "@hellixit/element";
3
3
  import "./ElementLinkDialog.scss";
4
4
  import type { AppProps, UIAppState } from "../types";
5
5
  declare const ElementLinkDialog: ({ sourceElementId, onClose, appState, scene, generateLinkForSelection, }: {
@@ -1,4 +1,4 @@
1
- import type { HellixitboardElement } from "@excalidraw/element/types";
1
+ import type { HellixitboardElement } from "@hellixit/element/types";
2
2
  import "./EyeDropper.scss";
3
3
  import type { ColorPickerType } from "./ColorPicker/colorPickerUtils";
4
4
  export type EyeDropperProperties = {
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { FontFamilyValues } from "@excalidraw/element/types";
2
+ import type { FontFamilyValues } from "@hellixit/element/types";
3
3
  import "./FontPicker.scss";
4
4
  export declare const DEFAULT_FONTS: {
5
5
  value: number;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
- import { type FontFamilyValues } from "@excalidraw/element/types";
3
- import type { ValueOf } from "@excalidraw/common/utility-types";
2
+ import { type FontFamilyValues } from "@hellixit/element/types";
3
+ import type { ValueOf } from "@hellixit/common/utility-types";
4
4
  import { DropDownMenuItemBadgeType } from "../dropdownMenu/DropdownMenuItem";
5
5
  import type { JSX } from "react";
6
6
  export interface FontDescriptor {
@@ -1,4 +1,4 @@
1
- import type { FontFamilyValues } from "@excalidraw/element/types";
1
+ import type { FontFamilyValues } from "@hellixit/element/types";
2
2
  interface FontPickerTriggerProps {
3
3
  selectedFontFamily: FontFamilyValues | null;
4
4
  isOpened?: boolean;
@@ -1,4 +1,4 @@
1
- import type { Node } from "@excalidraw/common";
1
+ import type { Node } from "@hellixit/common";
2
2
  import { type FontDescriptor } from "./FontPickerList";
3
3
  interface FontPickerKeyNavHandlerProps {
4
4
  event: React.KeyboardEvent<HTMLDivElement>;
@@ -1,4 +1,4 @@
1
- import type { EditorInterface } from "@excalidraw/common";
1
+ import type { EditorInterface } from "@hellixit/common";
2
2
  import "./HintViewer.scss";
3
3
  import type { AppClassProperties, UIAppState } from "../types";
4
4
  interface HintViewerProps {
@@ -1,4 +1,4 @@
1
- import type { NonDeletedHellixitboardElement } from "@excalidraw/element/types";
1
+ import type { NonDeletedHellixitboardElement } from "@hellixit/element/types";
2
2
  import "./ImageExportDialog.scss";
3
3
  import type { ActionManager } from "../actions/manager";
4
4
  import type { AppClassProperties, BinaryFiles, UIAppState } from "../types";
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { Theme } from "@excalidraw/element/types";
2
+ import type { Theme } from "@hellixit/element/types";
3
3
  import type { Language } from "../i18n";
4
4
  interface Props {
5
5
  langCode: Language["code"];
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { NonDeletedHellixitboardElement } from "@excalidraw/element/types";
2
+ import type { NonDeletedHellixitboardElement } from "@hellixit/element/types";
3
3
  import "./ExportDialog.scss";
4
4
  import type { ActionManager } from "../actions/manager";
5
5
  import type { ExportOpts, BinaryFiles, UIAppState } from "../types";
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { NonDeletedHellixitboardElement } from "@excalidraw/element/types";
2
+ import type { NonDeletedHellixitboardElement } from "@hellixit/element/types";
3
3
  import "./LayerUI.scss";
4
4
  import "./Toolbar.scss";
5
5
  import type { ActionManager } from "../actions/manager";
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { HellixitboardElement, NonDeleted } from "@excalidraw/element/types";
2
+ import type { HellixitboardElement, NonDeleted } from "@hellixit/element/types";
3
3
  import type { SvgCache } from "../hooks/useLibraryItemSvg";
4
4
  import type { LibraryItem } from "../types";
5
5
  import type { ReactNode } from "react";
@@ -1,4 +1,4 @@
1
- import type { Theme } from "@excalidraw/element/types";
1
+ import type { Theme } from "@hellixit/element/types";
2
2
  export declare const LoadingMessage: React.FC<{
3
3
  delay?: number;
4
4
  theme?: Theme;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { NonDeletedHellixitboardElement } from "@excalidraw/element/types";
2
+ import type { NonDeletedHellixitboardElement } from "@hellixit/element/types";
3
3
  import type { ActionManager } from "../actions/manager";
4
4
  import type { AppClassProperties, AppProps, AppState, UIAppState } from "../types";
5
5
  import type { JSX } from "react";
@@ -1,5 +1,5 @@
1
- import type { HellixitboardElement } from "@excalidraw/element/types";
2
- import type { Scene } from "@excalidraw/element";
1
+ import type { HellixitboardElement } from "@hellixit/element/types";
2
+ import type { Scene } from "@hellixit/element";
3
3
  import type { AppState } from "../../types";
4
4
  interface AngleProps {
5
5
  element: HellixitboardElement;
@@ -1,4 +1,4 @@
1
- import type { Scene } from "@excalidraw/element";
1
+ import type { Scene } from "@hellixit/element";
2
2
  import type { AppState } from "../../types";
3
3
  interface PositionProps {
4
4
  property: "gridStep";
@@ -1,5 +1,5 @@
1
- import type { HellixitboardElement } from "@excalidraw/element/types";
2
- import type { Scene } from "@excalidraw/element";
1
+ import type { HellixitboardElement } from "@hellixit/element/types";
2
+ import type { Scene } from "@hellixit/element";
3
3
  import type { AppState } from "../../types";
4
4
  interface DimensionDragInputProps {
5
5
  property: "width" | "height";
@@ -1,5 +1,5 @@
1
- import type { ElementsMap, HellixitboardElement } from "@excalidraw/element/types";
2
- import type { Scene } from "@excalidraw/element";
1
+ import type { ElementsMap, HellixitboardElement } from "@hellixit/element/types";
2
+ import type { Scene } from "@hellixit/element";
3
3
  import { useApp, useHellixitboardSetAppState } from "../App";
4
4
  import "./DragInput.scss";
5
5
  import type { StatsInputProperty } from "./utils";
@@ -1,5 +1,5 @@
1
- import type { HellixitboardElement } from "@excalidraw/element/types";
2
- import type { Scene } from "@excalidraw/element";
1
+ import type { HellixitboardElement } from "@hellixit/element/types";
2
+ import type { Scene } from "@hellixit/element";
3
3
  import type { AppState } from "../../types";
4
4
  interface FontSizeProps {
5
5
  element: HellixitboardElement;
@@ -1,5 +1,5 @@
1
- import type { HellixitboardElement } from "@excalidraw/element/types";
2
- import type { Scene } from "@excalidraw/element";
1
+ import type { HellixitboardElement } from "@hellixit/element/types";
2
+ import type { Scene } from "@hellixit/element";
3
3
  import type { AppState } from "../../types";
4
4
  interface MultiAngleProps {
5
5
  elements: readonly HellixitboardElement[];
@@ -1,5 +1,5 @@
1
- import type { HellixitboardElement, NonDeletedSceneElementsMap } from "@excalidraw/element/types";
2
- import type { Scene } from "@excalidraw/element";
1
+ import type { HellixitboardElement, NonDeletedSceneElementsMap } from "@hellixit/element/types";
2
+ import type { Scene } from "@hellixit/element";
3
3
  import type { AtomicUnit } from "./utils";
4
4
  import type { AppState } from "../../types";
5
5
  interface MultiDimensionProps {
@@ -1,5 +1,5 @@
1
- import type { HellixitboardElement, NonDeletedSceneElementsMap } from "@excalidraw/element/types";
2
- import type { Scene } from "@excalidraw/element";
1
+ import type { HellixitboardElement, NonDeletedSceneElementsMap } from "@hellixit/element/types";
2
+ import type { Scene } from "@hellixit/element";
3
3
  import type { AppState } from "../../types";
4
4
  interface MultiFontSizeProps {
5
5
  elements: readonly HellixitboardElement[];
@@ -1,5 +1,5 @@
1
- import type { ElementsMap, HellixitboardElement } from "@excalidraw/element/types";
2
- import type { Scene } from "@excalidraw/element";
1
+ import type { ElementsMap, HellixitboardElement } from "@hellixit/element/types";
2
+ import type { Scene } from "@hellixit/element";
3
3
  import type { AtomicUnit } from "./utils";
4
4
  import type { AppState } from "../../types";
5
5
  interface MultiPositionProps {
@@ -1,5 +1,5 @@
1
- import type { ElementsMap, HellixitboardElement } from "@excalidraw/element/types";
2
- import type { Scene } from "@excalidraw/element";
1
+ import type { ElementsMap, HellixitboardElement } from "@hellixit/element/types";
2
+ import type { Scene } from "@hellixit/element";
3
3
  import type { AppState } from "../../types";
4
4
  interface PositionProps {
5
5
  property: "x" | "y";
@@ -1,4 +1,4 @@
1
- import type { NonDeletedHellixitboardElement } from "@excalidraw/element/types";
1
+ import type { NonDeletedHellixitboardElement } from "@hellixit/element/types";
2
2
  import "./Stats.scss";
3
3
  import type { AppClassProperties, AppState, HellixitboardProps } from "../../types";
4
4
  interface StatsProps {
@@ -1,5 +1,5 @@
1
- import type { ElementsMap, HellixitboardElement, NonDeletedHellixitboardElement } from "@excalidraw/element/types";
2
- import type { Scene } from "@excalidraw/element";
1
+ import type { ElementsMap, HellixitboardElement, NonDeletedHellixitboardElement } from "@hellixit/element/types";
2
+ import type { Scene } from "@hellixit/element";
3
3
  import type { AppState } from "../../types";
4
4
  export type StatsInputProperty = "x" | "y" | "width" | "height" | "angle" | "fontSize" | "gridStep";
5
5
  export declare const SMALLEST_DELTA = 0.01;
@@ -1,4 +1,4 @@
1
- import type { Theme } from "@excalidraw/element/types";
1
+ import type { Theme } from "@hellixit/element/types";
2
2
  export interface CodeMirrorEditorProps {
3
3
  value: string;
4
4
  onChange: (value: string) => void;
@@ -1,4 +1,4 @@
1
- import type { NonDeletedHellixitboardElement, Theme } from "@excalidraw/element/types";
1
+ import type { NonDeletedHellixitboardElement, Theme } from "@hellixit/element/types";
2
2
  import type { MermaidToHellixitboardLibProps } from "./types";
3
3
  import type { AppClassProperties, BinaryFiles } from "../../types";
4
4
  export declare const resetPreview: ({ canvasRef, setError, }: {
@@ -1,4 +1,4 @@
1
- import type { NonDeletedHellixitboardElement } from "@excalidraw/element/types";
1
+ import type { NonDeletedHellixitboardElement } from "@hellixit/element/types";
2
2
  import type { BinaryFiles } from "../../../types";
3
3
  import type { MermaidToHellixitboardLibProps } from "../types";
4
4
  interface UseMermaidRendererProps {
@@ -1,7 +1,7 @@
1
1
  import type { RequestError } from "@hellixit/hellixitboard/errors";
2
- import type { NonDeletedHellixitboardElement } from "@excalidraw/element/types";
3
- import type { MermaidConfig } from "@excalidraw/mermaid-to-excalidraw";
4
- import type { MermaidToExcalidrawResult as MermaidToHellixitboardResult } from "@excalidraw/mermaid-to-excalidraw/dist/interfaces";
2
+ import type { NonDeletedHellixitboardElement } from "@hellixit/element/types";
3
+ import type { MermaidConfig } from "@hellixit/mermaid-to-hellixitboard";
4
+ import type { MermaidToExcalidrawResult as MermaidToHellixitboardResult } from "@hellixit/mermaid-to-hellixitboard/dist/interfaces";
5
5
  import type { BinaryFiles } from "../../types";
6
6
  export type LLMMessage = {
7
7
  role: "user" | "assistant";
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { PointerType } from "@excalidraw/element/types";
2
+ import type { PointerType } from "@hellixit/element/types";
3
3
  import "./ToolIcon.scss";
4
4
  import type { CSSProperties } from "react";
5
5
  export type ToolButtonSize = "small" | "medium";
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
- import { type EditorInterface } from "@excalidraw/common";
2
+ import { type EditorInterface } from "@hellixit/common";
3
3
  import type { RenderableElementsMap, RenderInteractiveSceneCallback } from "@hellixit/hellixitboard/scene/types";
4
- import type { NonDeletedHellixitboardElement, NonDeletedSceneElementsMap } from "@excalidraw/element/types";
4
+ import type { NonDeletedHellixitboardElement, NonDeletedSceneElementsMap } from "@hellixit/element/types";
5
5
  import type { AppClassProperties, InteractiveCanvasAppState } from "../../types";
6
6
  import type { DOMAttributes } from "react";
7
7
  type InteractiveCanvasProps = {
@@ -1,4 +1,4 @@
1
- import type { NonDeletedSceneElementsMap } from "@excalidraw/element/types";
1
+ import type { NonDeletedSceneElementsMap } from "@hellixit/element/types";
2
2
  import type { RenderableElementsMap, StaticCanvasRenderConfig } from "../../scene/types";
3
3
  import type { AppState } from "../../types";
4
4
  import type { RoughCanvas } from "roughjs/bin/canvas";
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { NonDeletedHellixitboardElement, NonDeletedSceneElementsMap } from "@excalidraw/element/types";
2
+ import type { NonDeletedHellixitboardElement, NonDeletedSceneElementsMap } from "@hellixit/element/types";
3
3
  import type { RenderableElementsMap, StaticCanvasRenderConfig } from "../../scene/types";
4
4
  import type { StaticCanvasAppState } from "../../types";
5
5
  import type { RoughCanvas } from "roughjs/bin/canvas";
@@ -31,7 +31,7 @@ declare const DropdownMenu: {
31
31
  displayName: string;
32
32
  Badge: {
33
33
  ({ type, children, }: {
34
- type?: import("@excalidraw/common/utility-types").ValueOf<typeof import("./DropdownMenuItem").DropDownMenuItemBadgeType>;
34
+ type?: import("@hellixit/common/utility-types").ValueOf<typeof import("./DropdownMenuItem").DropDownMenuItemBadgeType>;
35
35
  children: React.ReactNode;
36
36
  }): import("react/jsx-runtime").JSX.Element;
37
37
  displayName: string;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { ValueOf } from "@excalidraw/common/utility-types";
2
+ import type { ValueOf } from "@hellixit/common/utility-types";
3
3
  import type { JSX } from "react";
4
4
  export type DropdownMenuItemProps = {
5
5
  icon?: JSX.Element;
@@ -1,5 +1,5 @@
1
- import type { Scene } from "@excalidraw/element";
2
- import type { ElementsMap, HellixitboardEmbeddableElement, NonDeletedHellixitboardElement } from "@excalidraw/element/types";
1
+ import type { Scene } from "@hellixit/element";
2
+ import type { ElementsMap, HellixitboardEmbeddableElement, NonDeletedHellixitboardElement } from "@hellixit/element/types";
3
3
  import "./Hyperlink.scss";
4
4
  import type { AppState, HellixitboardProps, UIAppState } from "../../types";
5
5
  export declare const Hyperlink: ({ element, scene, setAppState, onLinkOpen, setToast, updateEmbedValidationStatus, }: {
@@ -1,6 +1,6 @@
1
- import type { GlobalPoint, Radians } from "@excalidraw/math";
2
- import type { Bounds } from "@excalidraw/common";
3
- import type { ElementsMap, NonDeletedHellixitboardElement } from "@excalidraw/element/types";
1
+ import type { GlobalPoint, Radians } from "@hellixit/math";
2
+ import type { Bounds } from "@hellixit/common";
3
+ import type { ElementsMap, NonDeletedHellixitboardElement } from "@hellixit/element/types";
4
4
  import type { AppState, UIAppState } from "../../types";
5
5
  export declare const DEFAULT_LINK_SIZE = 12;
6
6
  export declare const EXTERNAL_LINK_IMG: HTMLImageElement;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { Theme } from "@excalidraw/element/types";
2
+ import type { Theme } from "@hellixit/element/types";
3
3
  export declare const iconFillColor: (theme: Theme) => string;
4
4
  type Opts = {
5
5
  width?: number;
@@ -1,4 +1,4 @@
1
- import { type EditorInterface } from "@excalidraw/common";
1
+ import { type EditorInterface } from "@hellixit/common";
2
2
  import "./LiveCollaborationTrigger.scss";
3
3
  declare const LiveCollaborationTrigger: {
4
4
  ({ isCollaborating, onSelect, editorInterface, ...rest }: {
@@ -1,4 +1,4 @@
1
- import type { Theme } from "@excalidraw/element/types";
1
+ import type { Theme } from "@hellixit/element/types";
2
2
  import "./DefaultItems.scss";
3
3
  export declare const LoadScene: {
4
4
  (): import("react/jsx-runtime").JSX.Element | null;
@@ -23,7 +23,7 @@ declare const MainMenu: React.FC<{
23
23
  displayName: string;
24
24
  Badge: {
25
25
  ({ type, children, }: {
26
- type?: import("@excalidraw/common/utility-types").ValueOf<typeof import("../dropdownMenu/DropdownMenuItem").DropDownMenuItemBadgeType>;
26
+ type?: import("@hellixit/common/utility-types").ValueOf<typeof import("../dropdownMenu/DropdownMenuItem").DropDownMenuItemBadgeType>;
27
27
  children: React.ReactNode;
28
28
  }): import("react/jsx-runtime").JSX.Element;
29
29
  displayName: string;
@@ -1,4 +1,4 @@
1
- import type { EDITOR_LS_KEYS } from "@excalidraw/common";
1
+ import type { EDITOR_LS_KEYS } from "@hellixit/common";
2
2
  import type { JSONValue } from "../types";
3
3
  export declare class EditorLocalStorage {
4
4
  static has(key: typeof EDITOR_LS_KEYS[keyof typeof EDITOR_LS_KEYS]): boolean;