add @excalidraw/utils to external and fixes

This commit is contained in:
Aakansha Doshi
2024-05-03 17:08:07 +05:30
parent 6a1477a55c
commit 45ff9d1053
8 changed files with 9 additions and 9 deletions

View File

@@ -26,7 +26,7 @@ import {
import { getElementAbsoluteCoords } from "./bounds";
import { AppClassProperties, AppState, Point } from "../types";
import { isPointOnShape } from "../../utils/collision";
import { isPointOnShape } from "@excalidraw/utils";
import { getElementAtPosition } from "../scene";
import {
isArrowElement,

View File

@@ -13,7 +13,7 @@ import {
GeometricShape,
getPolygonShape,
} from "../../utils/geometry/shape";
import { isPointInShape, isPointOnShape } from "../../utils/collision";
import { isPointInShape, isPointOnShape } from "@excalidraw/utils";
import { isTransparent } from "../utils";
import {
hasBoundTextElement,

View File

@@ -59,7 +59,7 @@
"@braintree/sanitize-url": "6.0.2",
"@excalidraw/laser-pointer": "1.3.1",
"@excalidraw/mermaid-to-excalidraw": "0.3.0",
"@excalidraw/utils": "workspace:^",
"@excalidraw/utils": "*",
"@excalidraw/random-username": "1.1.0",
"@radix-ui/react-popover": "1.0.3",
"@radix-ui/react-tabs": "1.0.2",