@misenkashari/excalidraw-common 1.0.3 → 1.0.6

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 (159) hide show
  1. package/dist/dev/index.js +5 -5
  2. package/dist/dev/index.js.map +1 -1
  3. package/dist/prod/index.js +3 -3
  4. package/dist/types/common/src/constants.d.ts +1 -1
  5. package/dist/types/common/src/font-metadata.d.ts +1 -1
  6. package/dist/types/common/src/points.d.ts +1 -1
  7. package/dist/types/common/src/utils.d.ts +1 -1
  8. package/dist/types/common/src/visualdebug.d.ts +3 -3
  9. package/dist/types/element/src/Scene.d.ts +4 -4
  10. package/dist/types/element/src/binding.d.ts +3 -3
  11. package/dist/types/element/src/bounds.d.ts +2 -2
  12. package/dist/types/element/src/collision.d.ts +1 -1
  13. package/dist/types/element/src/delta.d.ts +2 -2
  14. package/dist/types/element/src/distance.d.ts +1 -1
  15. package/dist/types/element/src/dragElements.d.ts +1 -1
  16. package/dist/types/element/src/duplicate.d.ts +1 -1
  17. package/dist/types/element/src/elbowArrow.d.ts +1 -1
  18. package/dist/types/element/src/embeddable.d.ts +1 -1
  19. package/dist/types/element/src/frame.d.ts +1 -1
  20. package/dist/types/element/src/groups.d.ts +1 -1
  21. package/dist/types/element/src/heading.d.ts +2 -2
  22. package/dist/types/element/src/image.d.ts +1 -1
  23. package/dist/types/element/src/linearElementEditor.d.ts +3 -3
  24. package/dist/types/element/src/mutateElement.d.ts +1 -1
  25. package/dist/types/element/src/newElement.d.ts +1 -1
  26. package/dist/types/element/src/renderElement.d.ts +2 -2
  27. package/dist/types/element/src/resizeElements.d.ts +1 -1
  28. package/dist/types/element/src/resizeTest.d.ts +3 -3
  29. package/dist/types/element/src/shape.d.ts +3 -3
  30. package/dist/types/element/src/store.d.ts +2 -2
  31. package/dist/types/element/src/textElement.d.ts +2 -2
  32. package/dist/types/element/src/transform.d.ts +1 -1
  33. package/dist/types/element/src/transformHandles.d.ts +3 -3
  34. package/dist/types/element/src/typeChecks.d.ts +1 -1
  35. package/dist/types/element/src/types.d.ts +3 -3
  36. package/dist/types/element/src/utils.d.ts +2 -2
  37. package/dist/types/element/src/zindex.d.ts +1 -1
  38. package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +82 -82
  39. package/dist/types/excalidraw/actions/actionAlign.d.ts +7 -7
  40. package/dist/types/excalidraw/actions/actionBoundText.d.ts +50 -50
  41. package/dist/types/excalidraw/actions/actionCanvas.d.ts +275 -275
  42. package/dist/types/excalidraw/actions/actionClipboard.d.ts +63 -63
  43. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +28 -28
  44. package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +69 -69
  45. package/dist/types/excalidraw/actions/actionDistribute.d.ts +3 -3
  46. package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -2
  47. package/dist/types/excalidraw/actions/actionElementLink.d.ts +32 -32
  48. package/dist/types/excalidraw/actions/actionElementLock.d.ts +49 -49
  49. package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +29 -29
  50. package/dist/types/excalidraw/actions/actionExport.d.ts +116 -116
  51. package/dist/types/excalidraw/actions/actionFinalize.d.ts +1 -1
  52. package/dist/types/excalidraw/actions/actionFlip.d.ts +3 -3
  53. package/dist/types/excalidraw/actions/actionFrame.d.ts +242 -242
  54. package/dist/types/excalidraw/actions/actionGroup.d.ts +43 -43
  55. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +181 -181
  56. package/dist/types/excalidraw/actions/actionLink.d.ts +31 -31
  57. package/dist/types/excalidraw/actions/actionMenu.d.ts +27 -27
  58. package/dist/types/excalidraw/actions/actionNavigate.d.ts +2 -2
  59. package/dist/types/excalidraw/actions/actionProperties.d.ts +39 -39
  60. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +23 -23
  61. package/dist/types/excalidraw/actions/actionStyles.d.ts +31 -31
  62. package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +3 -3
  63. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +29 -29
  64. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +29 -29
  65. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +28 -28
  66. package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +2 -2
  67. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +28 -28
  68. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +29 -29
  69. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +29 -29
  70. package/dist/types/excalidraw/actions/actionZindex.d.ts +8 -8
  71. package/dist/types/excalidraw/actions/manager.d.ts +1 -1
  72. package/dist/types/excalidraw/actions/shortcuts.d.ts +1 -1
  73. package/dist/types/excalidraw/actions/types.d.ts +2 -2
  74. package/dist/types/excalidraw/appState.d.ts +10 -10
  75. package/dist/types/excalidraw/charts.d.ts +1 -1
  76. package/dist/types/excalidraw/clipboard.d.ts +4 -4
  77. package/dist/types/excalidraw/components/Actions.d.ts +1 -1
  78. package/dist/types/excalidraw/components/App.d.ts +9 -9
  79. package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +2 -2
  80. package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -2
  81. package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +1 -1
  82. package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +1 -1
  83. package/dist/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +2 -2
  84. package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +1 -1
  85. package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +2 -2
  86. package/dist/types/excalidraw/components/DarkModeToggle.d.ts +1 -1
  87. package/dist/types/excalidraw/components/DefaultSidebar.d.ts +1 -1
  88. package/dist/types/excalidraw/components/ElementCanvasButtons.d.ts +1 -1
  89. package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +2 -2
  90. package/dist/types/excalidraw/components/EyeDropper.d.ts +1 -1
  91. package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +1 -1
  92. package/dist/types/excalidraw/components/FontPicker/FontPickerList.d.ts +2 -2
  93. package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +1 -1
  94. package/dist/types/excalidraw/components/FontPicker/keyboardNavHandlers.d.ts +1 -1
  95. package/dist/types/excalidraw/components/HintViewer.d.ts +1 -1
  96. package/dist/types/excalidraw/components/ImageExportDialog.d.ts +1 -1
  97. package/dist/types/excalidraw/components/InitializeApp.d.ts +1 -1
  98. package/dist/types/excalidraw/components/JSONExportDialog.d.ts +1 -1
  99. package/dist/types/excalidraw/components/LayerUI.d.ts +1 -1
  100. package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +1 -1
  101. package/dist/types/excalidraw/components/LoadingMessage.d.ts +1 -1
  102. package/dist/types/excalidraw/components/MobileMenu.d.ts +1 -1
  103. package/dist/types/excalidraw/components/Stats/Angle.d.ts +2 -2
  104. package/dist/types/excalidraw/components/Stats/CanvasGrid.d.ts +1 -1
  105. package/dist/types/excalidraw/components/Stats/Dimension.d.ts +2 -2
  106. package/dist/types/excalidraw/components/Stats/DragInput.d.ts +2 -2
  107. package/dist/types/excalidraw/components/Stats/FontSize.d.ts +2 -2
  108. package/dist/types/excalidraw/components/Stats/MultiAngle.d.ts +2 -2
  109. package/dist/types/excalidraw/components/Stats/MultiDimension.d.ts +2 -2
  110. package/dist/types/excalidraw/components/Stats/MultiFontSize.d.ts +2 -2
  111. package/dist/types/excalidraw/components/Stats/MultiPosition.d.ts +2 -2
  112. package/dist/types/excalidraw/components/Stats/Position.d.ts +2 -2
  113. package/dist/types/excalidraw/components/Stats/index.d.ts +1 -1
  114. package/dist/types/excalidraw/components/Stats/utils.d.ts +2 -2
  115. package/dist/types/excalidraw/components/TTDDialog/common.d.ts +1 -1
  116. package/dist/types/excalidraw/components/ToolButton.d.ts +1 -1
  117. package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +2 -2
  118. package/dist/types/excalidraw/components/canvases/NewElementCanvas.d.ts +1 -1
  119. package/dist/types/excalidraw/components/canvases/StaticCanvas.d.ts +1 -1
  120. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +1 -1
  121. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts +1 -1
  122. package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +2 -2
  123. package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +3 -3
  124. package/dist/types/excalidraw/components/icons.d.ts +1 -1
  125. package/dist/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +1 -1
  126. package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +1 -1
  127. package/dist/types/excalidraw/components/main-menu/MainMenu.d.ts +2 -4
  128. package/dist/types/excalidraw/data/EditorLocalStorage.d.ts +1 -1
  129. package/dist/types/excalidraw/data/blob.d.ts +49 -49
  130. package/dist/types/excalidraw/data/filesystem.d.ts +1 -1
  131. package/dist/types/excalidraw/data/index.d.ts +1 -1
  132. package/dist/types/excalidraw/data/json.d.ts +24 -24
  133. package/dist/types/excalidraw/data/library.d.ts +2 -2
  134. package/dist/types/excalidraw/data/reconcile.d.ts +2 -2
  135. package/dist/types/excalidraw/data/resave.d.ts +1 -1
  136. package/dist/types/excalidraw/data/restore.d.ts +2 -2
  137. package/dist/types/excalidraw/data/types.d.ts +2 -2
  138. package/dist/types/excalidraw/fonts/Fonts.d.ts +3 -3
  139. package/dist/types/excalidraw/history.d.ts +4 -4
  140. package/dist/types/excalidraw/hooks/useEmitter.d.ts +1 -1
  141. package/dist/types/excalidraw/i18n.d.ts +1 -1
  142. package/dist/types/excalidraw/index.d.ts +12 -12
  143. package/dist/types/excalidraw/lasso/utils.d.ts +2 -2
  144. package/dist/types/excalidraw/renderer/staticScene.d.ts +1 -1
  145. package/dist/types/excalidraw/renderer/staticSvgScene.d.ts +1 -1
  146. package/dist/types/excalidraw/scene/Renderer.d.ts +2 -2
  147. package/dist/types/excalidraw/scene/export.d.ts +1 -1
  148. package/dist/types/excalidraw/scene/index.d.ts +2 -2
  149. package/dist/types/excalidraw/scene/scroll.d.ts +1 -1
  150. package/dist/types/excalidraw/scene/types.d.ts +3 -3
  151. package/dist/types/excalidraw/snapping.d.ts +5 -5
  152. package/dist/types/excalidraw/types.d.ts +6 -6
  153. package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +1 -1
  154. package/dist/types/utils/src/bbox.d.ts +2 -2
  155. package/dist/types/utils/src/export.d.ts +2 -2
  156. package/dist/types/utils/src/index.d.ts +1 -1
  157. package/dist/types/utils/src/shape.d.ts +4 -4
  158. package/dist/types/utils/src/withinBounds.d.ts +2 -2
  159. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import type { ExcalidrawFrameLikeElement, NonDeletedExcalidrawElement } from "@excalidraw/element/types";
1
+ import type { ExcalidrawFrameLikeElement, NonDeletedExcalidrawElement } from "@misenkashari/excalidraw-element/types";
2
2
  import type { AppState, BinaryFiles } from "../types";
3
3
  export declare const exportToCanvas: (elements: readonly NonDeletedExcalidrawElement[], 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 "@misenkashari/excalidraw-element";
2
2
  export { calculateScrollCenter } from "./scroll";
3
- export { hasBackground, hasStrokeWidth, hasStrokeStyle, canHaveArrowheads, canChangeRoundness, } from "@excalidraw/element";
3
+ export { hasBackground, hasStrokeWidth, hasStrokeStyle, canHaveArrowheads, canChangeRoundness, } from "@misenkashari/excalidraw-element";
4
4
  export { getNormalizedZoom, getNormalizedGridSize, getNormalizedGridStep, } from "./normalize";
@@ -1,4 +1,4 @@
1
- import type { ExcalidrawElement } from "@excalidraw/element/types";
1
+ import type { ExcalidrawElement } from "@misenkashari/excalidraw-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 { ExcalidrawElement, NonDeletedElementsMap, NonDeletedExcalidrawElement, NonDeletedSceneElementsMap } from "@excalidraw/element/types";
3
- import type { MakeBrand } from "@excalidraw/common/utility-types";
1
+ import type { UserIdleState, EditorInterface } from "@misenkashari/excalidraw-common";
2
+ import type { ExcalidrawElement, NonDeletedElementsMap, NonDeletedExcalidrawElement, NonDeletedSceneElementsMap } from "@misenkashari/excalidraw-element/types";
3
+ import type { MakeBrand } from "@misenkashari/excalidraw-common/utility-types";
4
4
  import type { AppClassProperties, AppState, EmbedsValidationStatus, ElementsPendingErasure, InteractiveCanvasAppState, StaticCanvasAppState, SocketId, PendingExcalidrawElements } 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, ExcalidrawElement, NonDeletedExcalidrawElement } from "@excalidraw/element/types";
1
+ import { type GlobalPoint } from "@misenkashari/excalidraw-math";
2
+ import type { InclusiveRange } from "@misenkashari/excalidraw-math";
3
+ import type { Bounds } from "@misenkashari/excalidraw-common";
4
+ import type { MaybeTransformHandleType } from "@misenkashari/excalidraw-element";
5
+ import type { ElementsMap, ExcalidrawElement, NonDeletedExcalidrawElement } from "@misenkashari/excalidraw-element/types";
6
6
  import type { AppClassProperties, AppState, KeyboardModifiersObject } from "./types";
7
7
  export declare const getSnapDistance: (zoomValue: number) => number;
8
8
  type Vector2D = {
@@ -1,9 +1,9 @@
1
- import type { IMAGE_MIME_TYPES, UserIdleState, throttleRAF, MIME_TYPES, EditorInterface } from "@excalidraw/common";
2
- import type { LinearElementEditor } from "@excalidraw/element";
3
- import type { MaybeTransformHandleType } from "@excalidraw/element";
4
- import type { PointerType, ExcalidrawLinearElement, NonDeletedExcalidrawElement, NonDeleted, TextAlign, ExcalidrawElement, GroupId, ExcalidrawBindableElement, Arrowhead, ChartType, FontFamilyValues, FileId, Theme, StrokeRoundness, ExcalidrawEmbeddableElement, ExcalidrawMagicFrameElement, ExcalidrawFrameLikeElement, ExcalidrawElementType, ExcalidrawIframeLikeElement, OrderedExcalidrawElement, ExcalidrawNonSelectionElement, BindMode } from "@excalidraw/element/types";
5
- import type { Merge, MaybePromise, ValueOf, MakeBrand } from "@excalidraw/common/utility-types";
6
- import type { CaptureUpdateActionType, DurableIncrement, EphemeralIncrement } from "@excalidraw/element";
1
+ import type { IMAGE_MIME_TYPES, UserIdleState, throttleRAF, MIME_TYPES, EditorInterface } from "@misenkashari/excalidraw-common";
2
+ import type { LinearElementEditor } from "@misenkashari/excalidraw-element";
3
+ import type { MaybeTransformHandleType } from "@misenkashari/excalidraw-element";
4
+ import type { PointerType, ExcalidrawLinearElement, NonDeletedExcalidrawElement, NonDeleted, TextAlign, ExcalidrawElement, GroupId, ExcalidrawBindableElement, Arrowhead, ChartType, FontFamilyValues, FileId, Theme, StrokeRoundness, ExcalidrawEmbeddableElement, ExcalidrawMagicFrameElement, ExcalidrawFrameLikeElement, ExcalidrawElementType, ExcalidrawIframeLikeElement, OrderedExcalidrawElement, ExcalidrawNonSelectionElement, BindMode } from "@misenkashari/excalidraw-element/types";
5
+ import type { Merge, MaybePromise, ValueOf, MakeBrand } from "@misenkashari/excalidraw-common/utility-types";
6
+ import type { CaptureUpdateActionType, DurableIncrement, EphemeralIncrement } from "@misenkashari/excalidraw-element";
7
7
  import type { Action } from "./actions/types";
8
8
  import type { Spreadsheet } from "./charts";
9
9
  import type { ClipboardData } from "./clipboard";
@@ -1,4 +1,4 @@
1
- import type { ExcalidrawElement, ExcalidrawTextElement } from "@excalidraw/element/types";
1
+ import type { ExcalidrawElement, ExcalidrawTextElement } from "@misenkashari/excalidraw-element/types";
2
2
  import type App from "../components/App";
3
3
  type SubmitHandler = () => void;
4
4
  export declare const textWysiwyg: ({ id, onChange, onSubmit, getViewportCoords, element, canvas, excalidrawContainer, app, autoSelect, }: {
@@ -1,5 +1,5 @@
1
- import { type GlobalPoint, type LocalPoint } from "@excalidraw/math";
2
- import type { Bounds } from "@excalidraw/common";
1
+ import { type GlobalPoint, type LocalPoint } from "@misenkashari/excalidraw-math";
2
+ import type { Bounds } from "@misenkashari/excalidraw-common";
3
3
  export type LineSegment<P extends LocalPoint | GlobalPoint> = [P, P];
4
4
  export declare function getBBox<P extends LocalPoint | GlobalPoint>(line: LineSegment<P>): Bounds;
5
5
  export declare function doBBoxesIntersect(a: Bounds, b: Bounds): boolean;
@@ -1,5 +1,5 @@
1
- import { MIME_TYPES } from "@excalidraw/common";
2
- import type { ExcalidrawElement, ExcalidrawFrameLikeElement, NonDeleted } from "@excalidraw/element/types";
1
+ import { MIME_TYPES } from "@misenkashari/excalidraw-common";
2
+ import type { ExcalidrawElement, ExcalidrawFrameLikeElement, NonDeleted } from "@misenkashari/excalidraw-element/types";
3
3
  import type { AppState, BinaryFiles } from "@excalidraw/excalidraw/types";
4
4
  export { MIME_TYPES };
5
5
  type ExportOpts = {
@@ -1,4 +1,4 @@
1
1
  export * from "./export";
2
2
  export * from "./withinBounds";
3
3
  export * from "./bbox";
4
- export { getCommonBounds } from "@excalidraw/element";
4
+ export { getCommonBounds } from "@misenkashari/excalidraw-element";
@@ -1,6 +1,6 @@
1
- import { type GlobalPoint, type LocalPoint } from "@excalidraw/math";
2
- import type { ElementsMap, ExcalidrawBindableElement, ExcalidrawDiamondElement, ExcalidrawElement, ExcalidrawEllipseElement, ExcalidrawEmbeddableElement, ExcalidrawFrameLikeElement, ExcalidrawFreeDrawElement, ExcalidrawIframeElement, ExcalidrawImageElement, ExcalidrawLinearElement, ExcalidrawRectangleElement, ExcalidrawSelectionElement, ExcalidrawTextElement } from "@excalidraw/element/types";
3
- import type { Curve, LineSegment, Polygon, Radians } from "@excalidraw/math";
1
+ import { type GlobalPoint, type LocalPoint } from "@misenkashari/excalidraw-math";
2
+ import type { ElementsMap, ExcalidrawBindableElement, ExcalidrawDiamondElement, ExcalidrawElement, ExcalidrawEllipseElement, ExcalidrawEmbeddableElement, ExcalidrawFrameLikeElement, ExcalidrawFreeDrawElement, ExcalidrawIframeElement, ExcalidrawImageElement, ExcalidrawLinearElement, ExcalidrawRectangleElement, ExcalidrawSelectionElement, ExcalidrawTextElement } from "@misenkashari/excalidraw-element/types";
3
+ import type { Curve, LineSegment, Polygon, Radians } from "@misenkashari/excalidraw-math";
4
4
  import type { Drawable, Op } from "roughjs/bin/core";
5
5
  export type Polyline<Point extends GlobalPoint | LocalPoint> = LineSegment<Point>[];
6
6
  export type Polycurve<Point extends GlobalPoint | LocalPoint> = Curve<Point>[];
@@ -54,5 +54,5 @@ export declare const ellipseAxes: <Point extends LocalPoint | GlobalPoint>(ellip
54
54
  minorAxis: number;
55
55
  };
56
56
  export declare const ellipseFocusToCenter: <Point extends LocalPoint | GlobalPoint>(ellipse: Ellipse<Point>) => number;
57
- export declare const ellipseExtremes: <Point extends LocalPoint | GlobalPoint>(ellipse: Ellipse<Point>) => import("@excalidraw/math").Vector[];
57
+ export declare const ellipseExtremes: <Point extends LocalPoint | GlobalPoint>(ellipse: Ellipse<Point>) => import("@misenkashari/excalidraw-math").Vector[];
58
58
  export {};
@@ -1,5 +1,5 @@
1
- import { type Bounds } from "@excalidraw/common";
2
- import type { ExcalidrawElement, NonDeletedExcalidrawElement } from "@excalidraw/element/types";
1
+ import { type Bounds } from "@misenkashari/excalidraw-common";
2
+ import type { ExcalidrawElement, NonDeletedExcalidrawElement } from "@misenkashari/excalidraw-element/types";
3
3
  type Element = NonDeletedExcalidrawElement;
4
4
  type Elements = readonly NonDeletedExcalidrawElement[];
5
5
  export declare const isElementInsideBBox: (element: Element, bbox: Bounds, eitherDirection?: boolean) => boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@misenkashari/excalidraw-common",
3
- "version": "1.0.3",
3
+ "version": "1.0.6",
4
4
  "type": "module",
5
5
  "types": "./dist/types/common/src/index.d.ts",
6
6
  "main": "./dist/prod/index.js",