Fix components

This commit is contained in:
Marcel Mraz 2025-03-17 20:04:21 +01:00
parent 44837c9bde
commit 79021f4b6b
No known key found for this signature in database
GPG key ID: 4EBD6E62DC830CD2
80 changed files with 555 additions and 438 deletions

View file

@ -1,7 +1,14 @@
import { pointFrom, pointRotateRads } from "@excalidraw/math";
import { useMemo } from "react";
import { getCommonBounds, isTextElement } from "../../element";
import { getCommonBounds, isTextElement } from "@excalidraw/element";
import type {
ElementsMap,
ExcalidrawElement,
NonDeletedExcalidrawElement,
NonDeletedSceneElementsMap,
} from "@excalidraw/element/types";
import StatsDragInput from "./DragInput";
import { getAtomicUnits, getStepSizedValue, isPropertyEditable } from "./utils";
@ -9,12 +16,6 @@ import { getElementsInAtomicUnit, moveElement } from "./utils";
import type { DragInputCallbackType } from "./DragInput";
import type { AtomicUnit } from "./utils";
import type {
ElementsMap,
ExcalidrawElement,
NonDeletedExcalidrawElement,
NonDeletedSceneElementsMap,
} from "../../element/types";
import type Scene from "../../scene/Scene";
import type { AppState } from "../../types";