@hellixit/hellixitboard 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (171) hide show
  1. package/README.md +11 -53
  2. package/dist/prod/chunk-IGUB3U7T.js +4 -0
  3. package/dist/prod/data/{image-2IKBHSIF.js → image-WXEFXRM6.js} +1 -1
  4. package/dist/prod/index.css +1 -1
  5. package/dist/prod/index.js +16 -16
  6. package/dist/types/common/src/constants.d.ts +1 -1
  7. package/dist/types/common/src/font-metadata.d.ts +1 -1
  8. package/dist/types/common/src/points.d.ts +1 -1
  9. package/dist/types/common/src/utils.d.ts +2 -2
  10. package/dist/types/element/src/Scene.d.ts +4 -4
  11. package/dist/types/element/src/arrows/focus.d.ts +1 -1
  12. package/dist/types/element/src/binding.d.ts +3 -3
  13. package/dist/types/element/src/bounds.d.ts +2 -2
  14. package/dist/types/element/src/collision.d.ts +1 -1
  15. package/dist/types/element/src/delta.d.ts +2 -2
  16. package/dist/types/element/src/distance.d.ts +1 -1
  17. package/dist/types/element/src/dragElements.d.ts +1 -1
  18. package/dist/types/element/src/duplicate.d.ts +1 -1
  19. package/dist/types/element/src/elbowArrow.d.ts +1 -1
  20. package/dist/types/element/src/embeddable.d.ts +1 -1
  21. package/dist/types/element/src/frame.d.ts +1 -1
  22. package/dist/types/element/src/groups.d.ts +1 -1
  23. package/dist/types/element/src/heading.d.ts +2 -2
  24. package/dist/types/element/src/image.d.ts +1 -1
  25. package/dist/types/element/src/linearElementEditor.d.ts +3 -3
  26. package/dist/types/element/src/mutateElement.d.ts +1 -1
  27. package/dist/types/element/src/newElement.d.ts +1 -1
  28. package/dist/types/element/src/renderElement.d.ts +2 -2
  29. package/dist/types/element/src/resizeElements.d.ts +1 -1
  30. package/dist/types/element/src/resizeTest.d.ts +3 -3
  31. package/dist/types/element/src/shape.d.ts +3 -3
  32. package/dist/types/element/src/store.d.ts +2 -2
  33. package/dist/types/element/src/textElement.d.ts +2 -2
  34. package/dist/types/element/src/transform.d.ts +1 -1
  35. package/dist/types/element/src/transformHandles.d.ts +3 -3
  36. package/dist/types/element/src/typeChecks.d.ts +1 -1
  37. package/dist/types/element/src/types.d.ts +3 -3
  38. package/dist/types/element/src/utils.d.ts +2 -2
  39. package/dist/types/element/src/zindex.d.ts +1 -1
  40. package/dist/types/hellixitboard/actions/actionAddToLibrary.d.ts +82 -82
  41. package/dist/types/hellixitboard/actions/actionAlign.d.ts +7 -7
  42. package/dist/types/hellixitboard/actions/actionBoundText.d.ts +50 -50
  43. package/dist/types/hellixitboard/actions/actionCanvas.d.ts +275 -275
  44. package/dist/types/hellixitboard/actions/actionClipboard.d.ts +63 -63
  45. package/dist/types/hellixitboard/actions/actionCropEditor.d.ts +28 -28
  46. package/dist/types/hellixitboard/actions/actionDeleteSelected.d.ts +69 -69
  47. package/dist/types/hellixitboard/actions/actionDistribute.d.ts +3 -3
  48. package/dist/types/hellixitboard/actions/actionDuplicateSelection.d.ts +2 -2
  49. package/dist/types/hellixitboard/actions/actionElementLink.d.ts +32 -32
  50. package/dist/types/hellixitboard/actions/actionElementLock.d.ts +49 -49
  51. package/dist/types/hellixitboard/actions/actionEmbeddable.d.ts +29 -29
  52. package/dist/types/hellixitboard/actions/actionExport.d.ts +48 -48
  53. package/dist/types/hellixitboard/actions/actionFinalize.d.ts +1 -1
  54. package/dist/types/hellixitboard/actions/actionFlip.d.ts +3 -3
  55. package/dist/types/hellixitboard/actions/actionFrame.d.ts +210 -210
  56. package/dist/types/hellixitboard/actions/actionGroup.d.ts +43 -43
  57. package/dist/types/hellixitboard/actions/actionLinearEditor.d.ts +149 -149
  58. package/dist/types/hellixitboard/actions/actionLink.d.ts +31 -31
  59. package/dist/types/hellixitboard/actions/actionMenu.d.ts +27 -27
  60. package/dist/types/hellixitboard/actions/actionNavigate.d.ts +2 -2
  61. package/dist/types/hellixitboard/actions/actionProperties.d.ts +39 -39
  62. package/dist/types/hellixitboard/actions/actionSelectAll.d.ts +23 -23
  63. package/dist/types/hellixitboard/actions/actionStyles.d.ts +31 -31
  64. package/dist/types/hellixitboard/actions/actionTextAutoResize.d.ts +3 -3
  65. package/dist/types/hellixitboard/actions/actionToggleArrowBinding.d.ts +28 -28
  66. package/dist/types/hellixitboard/actions/actionToggleGridMode.d.ts +29 -29
  67. package/dist/types/hellixitboard/actions/actionToggleMidpointSnapping.d.ts +28 -28
  68. package/dist/types/hellixitboard/actions/actionToggleObjectsSnapMode.d.ts +29 -29
  69. package/dist/types/hellixitboard/actions/actionToggleSearchMenu.d.ts +28 -28
  70. package/dist/types/hellixitboard/actions/actionToggleShapeSwitch.d.ts +2 -2
  71. package/dist/types/hellixitboard/actions/actionToggleStats.d.ts +28 -28
  72. package/dist/types/hellixitboard/actions/actionToggleViewMode.d.ts +29 -29
  73. package/dist/types/hellixitboard/actions/actionToggleZenMode.d.ts +29 -29
  74. package/dist/types/hellixitboard/actions/actionZindex.d.ts +8 -8
  75. package/dist/types/hellixitboard/actions/manager.d.ts +1 -1
  76. package/dist/types/hellixitboard/actions/shortcuts.d.ts +1 -1
  77. package/dist/types/hellixitboard/actions/types.d.ts +2 -2
  78. package/dist/types/hellixitboard/animated-trail.d.ts +2 -2
  79. package/dist/types/hellixitboard/appState.d.ts +9 -9
  80. package/dist/types/hellixitboard/charts/charts.constants.d.ts +1 -1
  81. package/dist/types/hellixitboard/charts/charts.helpers.d.ts +3 -3
  82. package/dist/types/hellixitboard/charts/charts.types.d.ts +1 -1
  83. package/dist/types/hellixitboard/charts/index.d.ts +1 -1
  84. package/dist/types/hellixitboard/clipboard.d.ts +4 -4
  85. package/dist/types/hellixitboard/components/Actions.d.ts +1 -1
  86. package/dist/types/hellixitboard/components/App.d.ts +9 -9
  87. package/dist/types/hellixitboard/components/ColorPicker/ColorPicker.d.ts +2 -2
  88. package/dist/types/hellixitboard/components/ColorPicker/Picker.d.ts +2 -2
  89. package/dist/types/hellixitboard/components/ColorPicker/PickerColorList.d.ts +1 -1
  90. package/dist/types/hellixitboard/components/ColorPicker/ShadeList.d.ts +1 -1
  91. package/dist/types/hellixitboard/components/ColorPicker/colorPickerUtils.d.ts +2 -2
  92. package/dist/types/hellixitboard/components/ColorPicker/keyboardNavHandlers.d.ts +1 -1
  93. package/dist/types/hellixitboard/components/ConvertElementTypePopup.d.ts +2 -2
  94. package/dist/types/hellixitboard/components/DarkModeToggle.d.ts +1 -1
  95. package/dist/types/hellixitboard/components/DefaultSidebar.d.ts +1 -1
  96. package/dist/types/hellixitboard/components/ElementCanvasButtons.d.ts +1 -1
  97. package/dist/types/hellixitboard/components/ElementLinkDialog.d.ts +2 -2
  98. package/dist/types/hellixitboard/components/EyeDropper.d.ts +1 -1
  99. package/dist/types/hellixitboard/components/FontPicker/FontPicker.d.ts +1 -1
  100. package/dist/types/hellixitboard/components/FontPicker/FontPickerList.d.ts +2 -2
  101. package/dist/types/hellixitboard/components/FontPicker/FontPickerTrigger.d.ts +1 -1
  102. package/dist/types/hellixitboard/components/FontPicker/keyboardNavHandlers.d.ts +1 -1
  103. package/dist/types/hellixitboard/components/HintViewer.d.ts +1 -1
  104. package/dist/types/hellixitboard/components/ImageExportDialog.d.ts +1 -1
  105. package/dist/types/hellixitboard/components/InitializeApp.d.ts +1 -1
  106. package/dist/types/hellixitboard/components/JSONExportDialog.d.ts +1 -1
  107. package/dist/types/hellixitboard/components/LayerUI.d.ts +1 -1
  108. package/dist/types/hellixitboard/components/LibraryMenuSection.d.ts +1 -1
  109. package/dist/types/hellixitboard/components/LoadingMessage.d.ts +1 -1
  110. package/dist/types/hellixitboard/components/MobileMenu.d.ts +1 -1
  111. package/dist/types/hellixitboard/components/Stats/Angle.d.ts +2 -2
  112. package/dist/types/hellixitboard/components/Stats/CanvasGrid.d.ts +1 -1
  113. package/dist/types/hellixitboard/components/Stats/Dimension.d.ts +2 -2
  114. package/dist/types/hellixitboard/components/Stats/DragInput.d.ts +2 -2
  115. package/dist/types/hellixitboard/components/Stats/FontSize.d.ts +2 -2
  116. package/dist/types/hellixitboard/components/Stats/MultiAngle.d.ts +2 -2
  117. package/dist/types/hellixitboard/components/Stats/MultiDimension.d.ts +2 -2
  118. package/dist/types/hellixitboard/components/Stats/MultiFontSize.d.ts +2 -2
  119. package/dist/types/hellixitboard/components/Stats/MultiPosition.d.ts +2 -2
  120. package/dist/types/hellixitboard/components/Stats/Position.d.ts +2 -2
  121. package/dist/types/hellixitboard/components/Stats/index.d.ts +1 -1
  122. package/dist/types/hellixitboard/components/Stats/utils.d.ts +2 -2
  123. package/dist/types/hellixitboard/components/TTDDialog/CodeMirrorEditor.d.ts +1 -1
  124. package/dist/types/hellixitboard/components/TTDDialog/common.d.ts +1 -1
  125. package/dist/types/hellixitboard/components/TTDDialog/hooks/useMermaidRenderer.d.ts +1 -1
  126. package/dist/types/hellixitboard/components/TTDDialog/types.d.ts +3 -3
  127. package/dist/types/hellixitboard/components/ToolButton.d.ts +1 -1
  128. package/dist/types/hellixitboard/components/canvases/InteractiveCanvas.d.ts +2 -2
  129. package/dist/types/hellixitboard/components/canvases/NewElementCanvas.d.ts +1 -1
  130. package/dist/types/hellixitboard/components/canvases/StaticCanvas.d.ts +1 -1
  131. package/dist/types/hellixitboard/components/dropdownMenu/DropdownMenu.d.ts +1 -1
  132. package/dist/types/hellixitboard/components/dropdownMenu/DropdownMenuItem.d.ts +1 -1
  133. package/dist/types/hellixitboard/components/hyperlink/Hyperlink.d.ts +2 -2
  134. package/dist/types/hellixitboard/components/hyperlink/helpers.d.ts +3 -3
  135. package/dist/types/hellixitboard/components/icons.d.ts +1 -1
  136. package/dist/types/hellixitboard/components/live-collaboration/LiveCollaborationTrigger.d.ts +1 -1
  137. package/dist/types/hellixitboard/components/main-menu/DefaultItems.d.ts +1 -1
  138. package/dist/types/hellixitboard/components/main-menu/MainMenu.d.ts +1 -1
  139. package/dist/types/hellixitboard/data/EditorLocalStorage.d.ts +1 -1
  140. package/dist/types/hellixitboard/data/blob.d.ts +49 -49
  141. package/dist/types/hellixitboard/data/filesystem.d.ts +1 -1
  142. package/dist/types/hellixitboard/data/index.d.ts +1 -1
  143. package/dist/types/hellixitboard/data/json.d.ts +24 -24
  144. package/dist/types/hellixitboard/data/library.d.ts +2 -2
  145. package/dist/types/hellixitboard/data/reconcile.d.ts +2 -2
  146. package/dist/types/hellixitboard/data/resave.d.ts +2 -2
  147. package/dist/types/hellixitboard/data/restore.d.ts +2 -2
  148. package/dist/types/hellixitboard/data/types.d.ts +2 -2
  149. package/dist/types/hellixitboard/fonts/Fonts.d.ts +3 -3
  150. package/dist/types/hellixitboard/history.d.ts +4 -4
  151. package/dist/types/hellixitboard/hooks/useEmitter.d.ts +1 -1
  152. package/dist/types/hellixitboard/i18n.d.ts +1 -1
  153. package/dist/types/hellixitboard/index.d.ts +12 -12
  154. package/dist/types/hellixitboard/lasso/utils.d.ts +2 -2
  155. package/dist/types/hellixitboard/renderer/staticScene.d.ts +1 -1
  156. package/dist/types/hellixitboard/renderer/staticSvgScene.d.ts +1 -1
  157. package/dist/types/hellixitboard/scene/Renderer.d.ts +2 -2
  158. package/dist/types/hellixitboard/scene/export.d.ts +1 -1
  159. package/dist/types/hellixitboard/scene/index.d.ts +2 -2
  160. package/dist/types/hellixitboard/scene/scroll.d.ts +1 -1
  161. package/dist/types/hellixitboard/scene/types.d.ts +3 -3
  162. package/dist/types/hellixitboard/snapping.d.ts +5 -5
  163. package/dist/types/hellixitboard/types.d.ts +7 -7
  164. package/dist/types/hellixitboard/wysiwyg/textWysiwyg.d.ts +1 -1
  165. package/dist/types/utils/src/bbox.d.ts +2 -2
  166. package/dist/types/utils/src/export.d.ts +2 -2
  167. package/dist/types/utils/src/index.d.ts +1 -1
  168. package/dist/types/utils/src/shape.d.ts +4 -4
  169. package/dist/types/utils/src/withinBounds.d.ts +2 -2
  170. package/package.json +7 -7
  171. package/dist/prod/chunk-6TQ3TBTF.js +0 -4
@@ -1,6 +1,6 @@
1
- import { IMAGE_MIME_TYPES, MIME_TYPES } from "@excalidraw/common";
2
- import type { ValueOf } from "@excalidraw/common/utility-types";
3
- import type { HellixitboardElement, FileId } from "@excalidraw/element/types";
1
+ import { IMAGE_MIME_TYPES, MIME_TYPES } from "@hellixit/common";
2
+ import type { ValueOf } from "@hellixit/common/utility-types";
3
+ import type { HellixitboardElement, FileId } from "@hellixit/element/types";
4
4
  import type { AppState, DataURL, LibraryItem } from "../types";
5
5
  import type { ImportedLibraryData } from "./types";
6
6
  export declare const getMimeType: (blob: Blob | string) => string;
@@ -18,10 +18,10 @@ localAppState: AppState | null, localElements: readonly HellixitboardElement[] |
18
18
  fileHandle?: FileSystemFileHandle | null) => Promise<{
19
19
  type: "application/vnd.excalidraw+json";
20
20
  data: {
21
- elements: import("@excalidraw/element/types").OrderedHellixitboardElement[];
21
+ elements: import("@hellixit/element/types").OrderedHellixitboardElement[];
22
22
  appState: {
23
23
  viewBackgroundColor: string;
24
- theme: import("@excalidraw/element/types").Theme;
24
+ theme: import("@hellixit/element/types").Theme;
25
25
  frameRendering: {
26
26
  enabled: boolean;
27
27
  name: boolean;
@@ -50,39 +50,39 @@ fileHandle?: FileSystemFileHandle | null) => Promise<{
50
50
  data: import("../charts").Spreadsheet;
51
51
  rawText: string;
52
52
  };
53
- editingGroupId: import("@excalidraw/element/types").GroupId | null;
53
+ editingGroupId: import("@hellixit/element/types").GroupId | null;
54
54
  selectedElementIds: Readonly<{
55
55
  [id: string]: true;
56
56
  }>;
57
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").HellixitboardFrameLikeElement> | null;
57
+ frameToHighlight: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardFrameLikeElement> | null;
58
58
  activeTool: {
59
59
  lastActiveTool: import("../types").ActiveTool | null;
60
60
  locked: boolean;
61
61
  fromSelection: boolean;
62
62
  } & import("../types").ActiveTool;
63
63
  activeEmbeddable: {
64
- element: import("@excalidraw/element/types").NonDeletedHellixitboardElement;
64
+ element: import("@hellixit/element/types").NonDeletedHellixitboardElement;
65
65
  state: "hover" | "active";
66
66
  } | null;
67
- selectionElement: import("@excalidraw/element/types").NonDeletedHellixitboardElement | null;
67
+ selectionElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
68
68
  selectedGroupIds: {
69
69
  [groupId: string]: boolean;
70
70
  };
71
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
72
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").HellixitboardLinearElement> | null;
73
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").HellixitboardNonSelectionElement> | null;
71
+ selectedLinearElement: import("@hellixit/element").LinearElementEditor | null;
72
+ multiElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardLinearElement> | null;
73
+ newElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardNonSelectionElement> | null;
74
74
  isBindingEnabled: boolean;
75
75
  isMidpointSnappingEnabled: boolean;
76
76
  suggestedBinding: {
77
- element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").HellixitboardBindableElement>;
78
- midPoint?: import("@excalidraw/math").GlobalPoint;
77
+ element: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement>;
78
+ midPoint?: import("@hellixit/math").GlobalPoint;
79
79
  } | null;
80
80
  isRotating: boolean;
81
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<HellixitboardElement>[] | null;
81
+ elementsToHighlight: import("@hellixit/element/types").NonDeleted<HellixitboardElement>[] | null;
82
82
  collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
83
83
  snapLines: readonly import("../snapping").SnapLine[];
84
84
  zenModeEnabled: boolean;
85
- editingTextElement: import("@excalidraw/element/types").NonDeletedHellixitboardElement | null;
85
+ editingTextElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
86
86
  isCropping: boolean;
87
87
  croppingElementId: HellixitboardElement["id"] | null;
88
88
  searchMatches: Readonly<{
@@ -96,7 +96,7 @@ fileHandle?: FileSystemFileHandle | null) => Promise<{
96
96
  shouldCacheIgnoreZoom: boolean;
97
97
  exportScale: number;
98
98
  currentItemArrowType: "sharp" | "round" | "elbow";
99
- bindMode: import("@excalidraw/element/types").BindMode;
99
+ bindMode: import("@hellixit/element/types").BindMode;
100
100
  gridSize: number;
101
101
  contextMenu: {
102
102
  items: import("../components/ContextMenu").ContextMenuItems;
@@ -106,9 +106,9 @@ fileHandle?: FileSystemFileHandle | null) => Promise<{
106
106
  showWelcomeScreen: boolean;
107
107
  isLoading: boolean;
108
108
  errorMessage: React.ReactNode;
109
- resizingElement: import("@excalidraw/element/types").NonDeletedHellixitboardElement | null;
109
+ resizingElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
110
110
  bindingPreference: "enabled" | "disabled";
111
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").HellixitboardBindableElement> | null;
111
+ startBoundElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement> | null;
112
112
  editingFrame: string | null;
113
113
  preferredSelectionTool: {
114
114
  type: "selection" | "lasso";
@@ -126,13 +126,13 @@ fileHandle?: FileSystemFileHandle | null) => Promise<{
126
126
  currentItemStrokeStyle: HellixitboardElement["strokeStyle"];
127
127
  currentItemRoughness: number;
128
128
  currentItemOpacity: number;
129
- currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
129
+ currentItemFontFamily: import("@hellixit/element/types").FontFamilyValues;
130
130
  currentItemFontSize: number;
131
- currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
132
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
133
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
134
- currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
135
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
131
+ currentItemTextAlign: import("@hellixit/element/types").TextAlign;
132
+ currentItemStartArrowhead: import("@hellixit/element/types").Arrowhead | null;
133
+ currentItemEndArrowhead: import("@hellixit/element/types").Arrowhead | null;
134
+ currentHoveredFontFamily: import("@hellixit/element/types").FontFamilyValues | null;
135
+ currentItemRoundness: import("@hellixit/element/types").StrokeRoundness;
136
136
  cursorButton: "up" | "down";
137
137
  scrolledOutside: boolean;
138
138
  isResizing: boolean;
@@ -143,7 +143,7 @@ fileHandle?: FileSystemFileHandle | null) => Promise<{
143
143
  tab?: import("../types").SidebarTabName;
144
144
  } | null;
145
145
  defaultSidebarDockedPreference: boolean;
146
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
146
+ lastPointerDownWith: import("@hellixit/element/types").PointerType;
147
147
  previousSelectedElementIds: {
148
148
  [id: string]: true;
149
149
  };
@@ -183,10 +183,10 @@ export declare const loadFromBlob: (blob: Blob,
183
183
  localAppState: AppState | null, localElements: readonly HellixitboardElement[] | null,
184
184
  /** FileSystemFileHandle. Defaults to `blob.handle` if defined, otherwise null. */
185
185
  fileHandle?: FileSystemFileHandle | null) => Promise<{
186
- elements: import("@excalidraw/element/types").OrderedHellixitboardElement[];
186
+ elements: import("@hellixit/element/types").OrderedHellixitboardElement[];
187
187
  appState: {
188
188
  viewBackgroundColor: string;
189
- theme: import("@excalidraw/element/types").Theme;
189
+ theme: import("@hellixit/element/types").Theme;
190
190
  frameRendering: {
191
191
  enabled: boolean;
192
192
  name: boolean;
@@ -215,39 +215,39 @@ fileHandle?: FileSystemFileHandle | null) => Promise<{
215
215
  data: import("../charts").Spreadsheet;
216
216
  rawText: string;
217
217
  };
218
- editingGroupId: import("@excalidraw/element/types").GroupId | null;
218
+ editingGroupId: import("@hellixit/element/types").GroupId | null;
219
219
  selectedElementIds: Readonly<{
220
220
  [id: string]: true;
221
221
  }>;
222
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").HellixitboardFrameLikeElement> | null;
222
+ frameToHighlight: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardFrameLikeElement> | null;
223
223
  activeTool: {
224
224
  lastActiveTool: import("../types").ActiveTool | null;
225
225
  locked: boolean;
226
226
  fromSelection: boolean;
227
227
  } & import("../types").ActiveTool;
228
228
  activeEmbeddable: {
229
- element: import("@excalidraw/element/types").NonDeletedHellixitboardElement;
229
+ element: import("@hellixit/element/types").NonDeletedHellixitboardElement;
230
230
  state: "hover" | "active";
231
231
  } | null;
232
- selectionElement: import("@excalidraw/element/types").NonDeletedHellixitboardElement | null;
232
+ selectionElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
233
233
  selectedGroupIds: {
234
234
  [groupId: string]: boolean;
235
235
  };
236
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
237
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").HellixitboardLinearElement> | null;
238
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").HellixitboardNonSelectionElement> | null;
236
+ selectedLinearElement: import("@hellixit/element").LinearElementEditor | null;
237
+ multiElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardLinearElement> | null;
238
+ newElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardNonSelectionElement> | null;
239
239
  isBindingEnabled: boolean;
240
240
  isMidpointSnappingEnabled: boolean;
241
241
  suggestedBinding: {
242
- element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").HellixitboardBindableElement>;
243
- midPoint?: import("@excalidraw/math").GlobalPoint;
242
+ element: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement>;
243
+ midPoint?: import("@hellixit/math").GlobalPoint;
244
244
  } | null;
245
245
  isRotating: boolean;
246
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<HellixitboardElement>[] | null;
246
+ elementsToHighlight: import("@hellixit/element/types").NonDeleted<HellixitboardElement>[] | null;
247
247
  collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
248
248
  snapLines: readonly import("../snapping").SnapLine[];
249
249
  zenModeEnabled: boolean;
250
- editingTextElement: import("@excalidraw/element/types").NonDeletedHellixitboardElement | null;
250
+ editingTextElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
251
251
  isCropping: boolean;
252
252
  croppingElementId: HellixitboardElement["id"] | null;
253
253
  searchMatches: Readonly<{
@@ -261,7 +261,7 @@ fileHandle?: FileSystemFileHandle | null) => Promise<{
261
261
  shouldCacheIgnoreZoom: boolean;
262
262
  exportScale: number;
263
263
  currentItemArrowType: "sharp" | "round" | "elbow";
264
- bindMode: import("@excalidraw/element/types").BindMode;
264
+ bindMode: import("@hellixit/element/types").BindMode;
265
265
  gridSize: number;
266
266
  contextMenu: {
267
267
  items: import("../components/ContextMenu").ContextMenuItems;
@@ -271,9 +271,9 @@ fileHandle?: FileSystemFileHandle | null) => Promise<{
271
271
  showWelcomeScreen: boolean;
272
272
  isLoading: boolean;
273
273
  errorMessage: React.ReactNode;
274
- resizingElement: import("@excalidraw/element/types").NonDeletedHellixitboardElement | null;
274
+ resizingElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
275
275
  bindingPreference: "enabled" | "disabled";
276
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").HellixitboardBindableElement> | null;
276
+ startBoundElement: import("@hellixit/element/types").NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement> | null;
277
277
  editingFrame: string | null;
278
278
  preferredSelectionTool: {
279
279
  type: "selection" | "lasso";
@@ -291,13 +291,13 @@ fileHandle?: FileSystemFileHandle | null) => Promise<{
291
291
  currentItemStrokeStyle: HellixitboardElement["strokeStyle"];
292
292
  currentItemRoughness: number;
293
293
  currentItemOpacity: number;
294
- currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
294
+ currentItemFontFamily: import("@hellixit/element/types").FontFamilyValues;
295
295
  currentItemFontSize: number;
296
- currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
297
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
298
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
299
- currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
300
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
296
+ currentItemTextAlign: import("@hellixit/element/types").TextAlign;
297
+ currentItemStartArrowhead: import("@hellixit/element/types").Arrowhead | null;
298
+ currentItemEndArrowhead: import("@hellixit/element/types").Arrowhead | null;
299
+ currentHoveredFontFamily: import("@hellixit/element/types").FontFamilyValues | null;
300
+ currentItemRoundness: import("@hellixit/element/types").StrokeRoundness;
301
301
  cursorButton: "up" | "down";
302
302
  scrolledOutside: boolean;
303
303
  isResizing: boolean;
@@ -308,7 +308,7 @@ fileHandle?: FileSystemFileHandle | null) => Promise<{
308
308
  tab?: import("../types").SidebarTabName;
309
309
  } | null;
310
310
  defaultSidebarDockedPreference: boolean;
311
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
311
+ lastPointerDownWith: import("@hellixit/element/types").PointerType;
312
312
  previousSelectedElementIds: {
313
313
  [id: string]: true;
314
314
  };
@@ -1,5 +1,5 @@
1
1
  import { supported as nativeFileSystemSupported } from "browser-fs-access";
2
- import { MIME_TYPES } from "@excalidraw/common";
2
+ import { MIME_TYPES } from "@hellixit/common";
3
3
  type FILE_EXTENSION = Exclude<keyof typeof MIME_TYPES, "binary">;
4
4
  export declare const fileOpen: <M extends boolean | undefined = false>(opts: {
5
5
  extensions?: FILE_EXTENSION[];
@@ -1,4 +1,4 @@
1
- import type { HellixitboardElement, HellixitboardFrameLikeElement, NonDeletedHellixitboardElement } from "@excalidraw/element/types";
1
+ import type { HellixitboardElement, HellixitboardFrameLikeElement, NonDeletedHellixitboardElement } from "@hellixit/element/types";
2
2
  import type { ExportType } from "../scene/types";
3
3
  import type { AppState, BinaryFiles } from "../types";
4
4
  export { loadFromBlob } from "./blob";
@@ -1,5 +1,5 @@
1
- import type { HellixitboardElement, NonDeleted } from "@excalidraw/element/types";
2
- import type { MaybePromise } from "@excalidraw/common/utility-types";
1
+ import type { HellixitboardElement, NonDeleted } from "@hellixit/element/types";
2
+ import type { MaybePromise } from "@hellixit/common/utility-types";
3
3
  import type { AppState, BinaryFiles, LibraryItems } from "../types";
4
4
  import type { ImportedDataState, ImportedLibraryData } from "./types";
5
5
  export type JSONExportData = {
@@ -16,10 +16,10 @@ export declare const saveAsJSON: ({ data, filename, fileHandle, }: {
16
16
  fileHandle: FileSystemFileHandle | null;
17
17
  }>;
18
18
  export declare const loadFromJSON: (localAppState: AppState, localElements: readonly HellixitboardElement[] | null) => Promise<{
19
- elements: import("@excalidraw/element/types").OrderedHellixitboardElement[];
19
+ elements: import("@hellixit/element/types").OrderedHellixitboardElement[];
20
20
  appState: {
21
21
  viewBackgroundColor: string;
22
- theme: import("@excalidraw/element/types").Theme;
22
+ theme: import("@hellixit/element/types").Theme;
23
23
  frameRendering: {
24
24
  enabled: boolean;
25
25
  name: boolean;
@@ -48,39 +48,39 @@ export declare const loadFromJSON: (localAppState: AppState, localElements: read
48
48
  data: import("../charts").Spreadsheet;
49
49
  rawText: string;
50
50
  };
51
- editingGroupId: import("@excalidraw/element/types").GroupId | null;
51
+ editingGroupId: import("@hellixit/element/types").GroupId | null;
52
52
  selectedElementIds: Readonly<{
53
53
  [id: string]: true;
54
54
  }>;
55
- frameToHighlight: NonDeleted<import("@excalidraw/element/types").HellixitboardFrameLikeElement> | null;
55
+ frameToHighlight: NonDeleted<import("@hellixit/element/types").HellixitboardFrameLikeElement> | null;
56
56
  activeTool: {
57
57
  lastActiveTool: import("../types").ActiveTool | null;
58
58
  locked: boolean;
59
59
  fromSelection: boolean;
60
60
  } & import("../types").ActiveTool;
61
61
  activeEmbeddable: {
62
- element: import("@excalidraw/element/types").NonDeletedHellixitboardElement;
62
+ element: import("@hellixit/element/types").NonDeletedHellixitboardElement;
63
63
  state: "hover" | "active";
64
64
  } | null;
65
- selectionElement: import("@excalidraw/element/types").NonDeletedHellixitboardElement | null;
65
+ selectionElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
66
66
  selectedGroupIds: {
67
67
  [groupId: string]: boolean;
68
68
  };
69
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
70
- multiElement: NonDeleted<import("@excalidraw/element/types").HellixitboardLinearElement> | null;
71
- newElement: NonDeleted<import("@excalidraw/element/types").HellixitboardNonSelectionElement> | null;
69
+ selectedLinearElement: import("@hellixit/element").LinearElementEditor | null;
70
+ multiElement: NonDeleted<import("@hellixit/element/types").HellixitboardLinearElement> | null;
71
+ newElement: NonDeleted<import("@hellixit/element/types").HellixitboardNonSelectionElement> | null;
72
72
  isBindingEnabled: boolean;
73
73
  isMidpointSnappingEnabled: boolean;
74
74
  suggestedBinding: {
75
- element: NonDeleted<import("@excalidraw/element/types").HellixitboardBindableElement>;
76
- midPoint?: import("@excalidraw/math").GlobalPoint;
75
+ element: NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement>;
76
+ midPoint?: import("@hellixit/math").GlobalPoint;
77
77
  } | null;
78
78
  isRotating: boolean;
79
79
  elementsToHighlight: NonDeleted<HellixitboardElement>[] | null;
80
80
  collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
81
81
  snapLines: readonly import("../snapping").SnapLine[];
82
82
  zenModeEnabled: boolean;
83
- editingTextElement: import("@excalidraw/element/types").NonDeletedHellixitboardElement | null;
83
+ editingTextElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
84
84
  isCropping: boolean;
85
85
  croppingElementId: HellixitboardElement["id"] | null;
86
86
  searchMatches: Readonly<{
@@ -94,7 +94,7 @@ export declare const loadFromJSON: (localAppState: AppState, localElements: read
94
94
  shouldCacheIgnoreZoom: boolean;
95
95
  exportScale: number;
96
96
  currentItemArrowType: "sharp" | "round" | "elbow";
97
- bindMode: import("@excalidraw/element/types").BindMode;
97
+ bindMode: import("@hellixit/element/types").BindMode;
98
98
  gridSize: number;
99
99
  contextMenu: {
100
100
  items: import("../components/ContextMenu").ContextMenuItems;
@@ -104,9 +104,9 @@ export declare const loadFromJSON: (localAppState: AppState, localElements: read
104
104
  showWelcomeScreen: boolean;
105
105
  isLoading: boolean;
106
106
  errorMessage: React.ReactNode;
107
- resizingElement: import("@excalidraw/element/types").NonDeletedHellixitboardElement | null;
107
+ resizingElement: import("@hellixit/element/types").NonDeletedHellixitboardElement | null;
108
108
  bindingPreference: "enabled" | "disabled";
109
- startBoundElement: NonDeleted<import("@excalidraw/element/types").HellixitboardBindableElement> | null;
109
+ startBoundElement: NonDeleted<import("@hellixit/element/types").HellixitboardBindableElement> | null;
110
110
  editingFrame: string | null;
111
111
  preferredSelectionTool: {
112
112
  type: "selection" | "lasso";
@@ -124,13 +124,13 @@ export declare const loadFromJSON: (localAppState: AppState, localElements: read
124
124
  currentItemStrokeStyle: HellixitboardElement["strokeStyle"];
125
125
  currentItemRoughness: number;
126
126
  currentItemOpacity: number;
127
- currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
127
+ currentItemFontFamily: import("@hellixit/element/types").FontFamilyValues;
128
128
  currentItemFontSize: number;
129
- currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
130
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
131
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
132
- currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
133
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
129
+ currentItemTextAlign: import("@hellixit/element/types").TextAlign;
130
+ currentItemStartArrowhead: import("@hellixit/element/types").Arrowhead | null;
131
+ currentItemEndArrowhead: import("@hellixit/element/types").Arrowhead | null;
132
+ currentHoveredFontFamily: import("@hellixit/element/types").FontFamilyValues | null;
133
+ currentItemRoundness: import("@hellixit/element/types").StrokeRoundness;
134
134
  cursorButton: "up" | "down";
135
135
  scrolledOutside: boolean;
136
136
  isResizing: boolean;
@@ -141,7 +141,7 @@ export declare const loadFromJSON: (localAppState: AppState, localElements: read
141
141
  tab?: import("../types").SidebarTabName;
142
142
  } | null;
143
143
  defaultSidebarDockedPreference: boolean;
144
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
144
+ lastPointerDownWith: import("@hellixit/element/types").PointerType;
145
145
  previousSelectedElementIds: {
146
146
  [id: string]: true;
147
147
  };
@@ -1,5 +1,5 @@
1
- import type { HellixitboardElement } from "@excalidraw/element/types";
2
- import type { MaybePromise } from "@excalidraw/common/utility-types";
1
+ import type { HellixitboardElement } from "@hellixit/element/types";
2
+ import type { MaybePromise } from "@hellixit/common/utility-types";
3
3
  import type App from "../components/App";
4
4
  import type { LibraryItems, HellixitboardImperativeAPI, LibraryItemsSource, LibraryItems_anyVersion } from "../types";
5
5
  export type LibraryPersistedData = {
@@ -1,5 +1,5 @@
1
- import type { OrderedHellixitboardElement } from "@excalidraw/element/types";
2
- import type { MakeBrand } from "@excalidraw/common/utility-types";
1
+ import type { OrderedHellixitboardElement } from "@hellixit/element/types";
2
+ import type { MakeBrand } from "@hellixit/common/utility-types";
3
3
  import type { AppState } from "../types";
4
4
  export type ReconciledHellixitboardElement = OrderedHellixitboardElement & MakeBrand<"ReconciledElement">;
5
5
  export type RemoteHellixitboardElement = OrderedHellixitboardElement & MakeBrand<"RemoteHellixitboardElement">;
@@ -1,5 +1,5 @@
1
- import type { MaybePromise } from "@excalidraw/common/utility-types";
2
- import type { HellixitboardElement } from "@excalidraw/element/types";
1
+ import type { MaybePromise } from "@hellixit/common/utility-types";
2
+ import type { HellixitboardElement } from "@hellixit/element/types";
3
3
  import type { AppState, BinaryFiles } from "../types";
4
4
  export declare const resaveAsImageWithScene: (data: MaybePromise<{
5
5
  elements: readonly HellixitboardElement[];
@@ -1,5 +1,5 @@
1
- import { type CombineBrandsIfNeeded } from "@excalidraw/common";
2
- import type { ElementsMap, ElementsMapOrArray, HellixitboardElement, HellixitboardSelectionElement, OrderedHellixitboardElement } from "@excalidraw/element/types";
1
+ import { type CombineBrandsIfNeeded } from "@hellixit/common";
2
+ import type { ElementsMap, ElementsMapOrArray, HellixitboardElement, HellixitboardSelectionElement, OrderedHellixitboardElement } from "@hellixit/element/types";
3
3
  import type { AppState, BinaryFiles, LibraryItem } from "../types";
4
4
  import type { ImportedDataState } from "./types";
5
5
  type RestoredAppState = Omit<AppState, "offsetTop" | "offsetLeft" | "width" | "height">;
@@ -1,5 +1,5 @@
1
- import type { VERSIONS } from "@excalidraw/common";
2
- import type { HellixitboardElement } from "@excalidraw/element/types";
1
+ import type { VERSIONS } from "@hellixit/common";
2
+ import type { HellixitboardElement } from "@hellixit/element/types";
3
3
  import type { cleanAppStateForExport } from "../appState";
4
4
  import type { AppState, BinaryFiles, LibraryItem, LibraryItems, LibraryItems_anyVersion } from "../types";
5
5
  export interface ExportedDataState {
@@ -1,6 +1,6 @@
1
- import { type FontMetadata } from "@excalidraw/common";
2
- import type { HellixitboardElement } from "@excalidraw/element/types";
3
- import type { Scene } from "@excalidraw/element";
1
+ import { type FontMetadata } from "@hellixit/common";
2
+ import type { HellixitboardElement } from "@hellixit/element/types";
3
+ import type { Scene } from "@hellixit/element";
4
4
  import { HellixitboardFontFace } from "./HellixitboardFontFace";
5
5
  export declare class Fonts {
6
6
  static readonly loadedFontsCache: Set<string>;
@@ -1,7 +1,7 @@
1
- import { Emitter } from "@excalidraw/common";
2
- import { StoreDelta } from "@excalidraw/element";
3
- import type { StoreSnapshot, Store } from "@excalidraw/element";
4
- import type { SceneElementsMap } from "@excalidraw/element/types";
1
+ import { Emitter } from "@hellixit/common";
2
+ import { StoreDelta } from "@hellixit/element";
3
+ import type { StoreSnapshot, Store } from "@hellixit/element";
4
+ import type { SceneElementsMap } from "@hellixit/element/types";
5
5
  import type { AppState } from "./types";
6
6
  export declare class HistoryDelta extends StoreDelta {
7
7
  /**
@@ -1,2 +1,2 @@
1
- import type { Emitter } from "@excalidraw/common";
1
+ import type { Emitter } from "@hellixit/common";
2
2
  export declare const useEmitter: <TEvent extends unknown>(emitter: Emitter<[TEvent]>, initialState: TEvent) => TEvent;
@@ -1,4 +1,4 @@
1
- import type { NestedKeyOf } from "@excalidraw/common/utility-types";
1
+ import type { NestedKeyOf } from "@hellixit/common/utility-types";
2
2
  import fallbackLangData from "./locales/en.json";
3
3
  export interface Language {
4
4
  code: string;
@@ -18,20 +18,20 @@ export declare const HellixitboardAPIProvider: ({ children, }: {
18
18
  children: React.ReactNode;
19
19
  }) => import("react/jsx-runtime").JSX.Element;
20
20
  export declare const Hellixitboard: React.MemoExoticComponent<(props: HellixitboardProps) => import("react/jsx-runtime").JSX.Element>;
21
- export { getSceneVersion, hashElementsVersion, hashString, getNonDeletedElements, } from "@excalidraw/element";
22
- export { getTextFromElements } from "@excalidraw/element";
23
- export { isInvisiblySmallElement } from "@excalidraw/element";
21
+ export { getSceneVersion, hashElementsVersion, hashString, getNonDeletedElements, } from "@hellixit/element";
22
+ export { getTextFromElements } from "@hellixit/element";
23
+ export { isInvisiblySmallElement } from "@hellixit/element";
24
24
  export { defaultLang, useI18n, languages } from "./i18n";
25
25
  export { restoreAppState, restoreElement, restoreElements, restoreLibraryItems, } from "./data/restore";
26
26
  export { reconcileElements } from "./data/reconcile";
27
- export { exportToCanvas, exportToBlob, exportToSvg, exportToClipboard, } from "@excalidraw/utils/export";
27
+ export { exportToCanvas, exportToBlob, exportToSvg, exportToClipboard, } from "@hellixit/utils/export";
28
28
  export { serializeAsJSON, serializeLibraryAsJSON } from "./data/json";
29
29
  export { loadFromBlob, loadSceneOrLibraryFromBlob, loadLibraryFromBlob, } from "./data/blob";
30
30
  export { mergeLibraryItems, getLibraryItemsHash } from "./data/library";
31
- export { isLinearElement } from "@excalidraw/element";
32
- export { FONT_FAMILY, THEME, MIME_TYPES, ROUNDNESS, DEFAULT_LASER_COLOR, UserIdleState, normalizeLink, sceneCoordsToViewportCoords, viewportCoordsToSceneCoords, getFormFactor, throttleRAF, } from "@excalidraw/common";
33
- export { mutateElement, newElementWith, bumpVersion, } from "@excalidraw/element";
34
- export { CaptureUpdateAction } from "@excalidraw/element";
31
+ export { isLinearElement } from "@hellixit/element";
32
+ export { FONT_FAMILY, THEME, MIME_TYPES, ROUNDNESS, DEFAULT_LASER_COLOR, UserIdleState, normalizeLink, sceneCoordsToViewportCoords, viewportCoordsToSceneCoords, getFormFactor, throttleRAF, } from "@hellixit/common";
33
+ export { mutateElement, newElementWith, bumpVersion, } from "@hellixit/element";
34
+ export { CaptureUpdateAction } from "@hellixit/element";
35
35
  export { parseLibraryTokensFromUrl, useHandleLibrary } from "./data/library";
36
36
  export { Sidebar } from "./components/Sidebar/Sidebar";
37
37
  export { Button } from "./components/Button";
@@ -49,12 +49,12 @@ export { TTDDialogTrigger } from "./components/TTDDialog/TTDDialogTrigger";
49
49
  export { TTDStreamFetch } from "./components/TTDDialog/utils/TTDStreamFetch";
50
50
  export type { TTDPersistenceAdapter, SavedChat, SavedChats, } from "./components/TTDDialog/types";
51
51
  export { zoomToFitBounds } from "./actions/actionCanvas";
52
- export { getCommonBounds, getVisibleSceneBounds, convertToHellixitboardElements, } from "@excalidraw/element";
53
- export { elementsOverlappingBBox, isElementInsideBBox, elementPartiallyOverlapsWithOrContainsBBox, } from "@excalidraw/utils/withinBounds";
52
+ export { getCommonBounds, getVisibleSceneBounds, convertToHellixitboardElements, } from "@hellixit/element";
53
+ export { elementsOverlappingBBox, isElementInsideBBox, elementPartiallyOverlapsWithOrContainsBBox, } from "@hellixit/utils/withinBounds";
54
54
  export { DiagramToCodePlugin } from "./components/DiagramToCodePlugin/DiagramToCodePlugin";
55
55
  export { getDataURL } from "./data/blob";
56
- export { isElementLink } from "@excalidraw/element";
57
- export { setCustomTextMetricsProvider } from "@excalidraw/element";
56
+ export { isElementLink } from "@hellixit/element";
57
+ export { setCustomTextMetricsProvider } from "@hellixit/element";
58
58
  export { CommandPalette } from "./components/CommandPalette/CommandPalette";
59
59
  export { renderSpreadsheet, tryParseSpreadsheet, isSpreadsheetValidForChartType, } from "./charts";
60
60
  /**
@@ -1,5 +1,5 @@
1
- import type { ElementsSegmentsMap, GlobalPoint } from "@excalidraw/math/types";
2
- import type { ElementsMap, HellixitboardElement } from "@excalidraw/element/types";
1
+ import type { ElementsSegmentsMap, GlobalPoint } from "@hellixit/math/types";
2
+ import type { ElementsMap, HellixitboardElement } from "@hellixit/element/types";
3
3
  export declare const getLassoSelectedElementIds: (input: {
4
4
  lassoPath: GlobalPoint[];
5
5
  elements: readonly HellixitboardElement[];
@@ -1,4 +1,4 @@
1
- import type { HellixitboardFrameLikeElement } from "@excalidraw/element/types";
1
+ import type { HellixitboardFrameLikeElement } from "@hellixit/element/types";
2
2
  import type { StaticCanvasRenderConfig, StaticSceneRenderConfig } from "../scene/types";
3
3
  import type { StaticCanvasAppState } from "../types";
4
4
  export declare const frameClip: (frame: HellixitboardFrameLikeElement, context: CanvasRenderingContext2D, renderConfig: StaticCanvasRenderConfig, appState: StaticCanvasAppState) => void;
@@ -1,4 +1,4 @@
1
- import type { NonDeletedHellixitboardElement } from "@excalidraw/element/types";
1
+ import type { NonDeletedHellixitboardElement } from "@hellixit/element/types";
2
2
  import type { RenderableElementsMap, SVGRenderConfig } from "../scene/types";
3
3
  import type { BinaryFiles } from "../types";
4
4
  import type { RoughSVG } from "roughjs/bin/svg";
@@ -1,5 +1,5 @@
1
- import type { HellixitboardElement, NonDeletedHellixitboardElement } from "@excalidraw/element/types";
2
- import type { Scene } from "@excalidraw/element";
1
+ import type { HellixitboardElement, NonDeletedHellixitboardElement } from "@hellixit/element/types";
2
+ import type { Scene } from "@hellixit/element";
3
3
  import type { RenderableElementsMap } from "./types";
4
4
  import type { AppState } from "../types";
5
5
  export declare class Renderer {
@@ -1,4 +1,4 @@
1
- import type { HellixitboardFrameLikeElement, NonDeletedHellixitboardElement } from "@excalidraw/element/types";
1
+ import type { HellixitboardFrameLikeElement, NonDeletedHellixitboardElement } from "@hellixit/element/types";
2
2
  import type { AppState, BinaryFiles } from "../types";
3
3
  export declare const exportToCanvas: (elements: readonly NonDeletedHellixitboardElement[], appState: AppState, files: BinaryFiles, { exportBackground, exportPadding, viewBackgroundColor, exportingFrame, }: {
4
4
  exportBackground: boolean;
@@ -1,4 +1,4 @@
1
- export { isSomeElementSelected, getElementsWithinSelection, getSelectedElements, getTargetElements, } from "@excalidraw/element";
1
+ export { isSomeElementSelected, getElementsWithinSelection, getSelectedElements, getTargetElements, } from "@hellixit/element";
2
2
  export { calculateScrollCenter } from "./scroll";
3
- export { hasBackground, hasStrokeWidth, hasStrokeStyle, canHaveArrowheads, canChangeRoundness, canAnimate, } from "@excalidraw/element";
3
+ export { hasBackground, hasStrokeWidth, hasStrokeStyle, canHaveArrowheads, canChangeRoundness, canAnimate, } from "@hellixit/element";
4
4
  export { getNormalizedZoom, getNormalizedGridSize, getNormalizedGridStep, } from "./normalize";
@@ -1,4 +1,4 @@
1
- import type { HellixitboardElement } from "@excalidraw/element/types";
1
+ import type { HellixitboardElement } from "@hellixit/element/types";
2
2
  import type { AppState, Offsets, PointerCoords, Zoom } from "../types";
3
3
  export declare const centerScrollOn: ({ scenePoint, viewportDimensions, zoom, offsets, }: {
4
4
  scenePoint: PointerCoords;
@@ -1,6 +1,6 @@
1
- import type { UserIdleState, EditorInterface } from "@excalidraw/common";
2
- import type { HellixitboardElement, NonDeletedElementsMap, NonDeletedHellixitboardElement, NonDeletedSceneElementsMap } from "@excalidraw/element/types";
3
- import type { MakeBrand } from "@excalidraw/common/utility-types";
1
+ import type { UserIdleState, EditorInterface } from "@hellixit/common";
2
+ import type { HellixitboardElement, NonDeletedElementsMap, NonDeletedHellixitboardElement, NonDeletedSceneElementsMap } from "@hellixit/element/types";
3
+ import type { MakeBrand } from "@hellixit/common/utility-types";
4
4
  import type { AppClassProperties, AppState, EmbedsValidationStatus, ElementsPendingErasure, InteractiveCanvasAppState, StaticCanvasAppState, SocketId, PendingHellixitboardElements } from "../types";
5
5
  import type { RoughCanvas } from "roughjs/bin/canvas";
6
6
  import type { Drawable } from "roughjs/bin/core";
@@ -1,8 +1,8 @@
1
- import { type GlobalPoint } from "@excalidraw/math";
2
- import type { InclusiveRange } from "@excalidraw/math";
3
- import type { Bounds } from "@excalidraw/common";
4
- import type { MaybeTransformHandleType } from "@excalidraw/element";
5
- import type { ElementsMap, HellixitboardElement, NonDeletedHellixitboardElement } from "@excalidraw/element/types";
1
+ import { type GlobalPoint } from "@hellixit/math";
2
+ import type { InclusiveRange } from "@hellixit/math";
3
+ import type { Bounds } from "@hellixit/common";
4
+ import type { MaybeTransformHandleType } from "@hellixit/element";
5
+ import type { ElementsMap, HellixitboardElement, NonDeletedHellixitboardElement } from "@hellixit/element/types";
6
6
  import type { AppClassProperties, AppState, KeyboardModifiersObject } from "./types";
7
7
  export declare const getSnapDistance: (zoomValue: number) => number;
8
8
  type Vector2D = {