diff --git a/packages/excalidraw/components/Stats/Angle.tsx b/packages/excalidraw/components/Stats/Angle.tsx index 4ef20a645..d0cb187da 100644 --- a/packages/excalidraw/components/Stats/Angle.tsx +++ b/packages/excalidraw/components/Stats/Angle.tsx @@ -11,9 +11,10 @@ import type Scene from "@excalidraw/element/Scene"; import { angleIcon } from "../icons"; -import DragInput, { type DragInputCallbackType } from "./DragInput"; +import DragInput from "./DragInput"; import { getStepSizedValue, isPropertyEditable, updateBindings } from "./utils"; +import type { DragInputCallbackType } from "./DragInput"; import type { AppState } from "../../types"; interface AngleProps { diff --git a/packages/excalidraw/components/Stats/Dimension.tsx b/packages/excalidraw/components/Stats/Dimension.tsx index dbd942c9a..c838b581f 100644 --- a/packages/excalidraw/components/Stats/Dimension.tsx +++ b/packages/excalidraw/components/Stats/Dimension.tsx @@ -12,9 +12,10 @@ import type { ExcalidrawElement } from "@excalidraw/element/types"; import type Scene from "@excalidraw/element/Scene"; -import DragInput, { type DragInputCallbackType } from "./DragInput"; +import DragInput from "./DragInput"; import { getStepSizedValue, isPropertyEditable } from "./utils"; +import type { DragInputCallbackType } from "./DragInput"; import type { AppState } from "../../types"; interface DimensionDragInputProps { diff --git a/packages/excalidraw/components/Stats/FontSize.tsx b/packages/excalidraw/components/Stats/FontSize.tsx index ac2e323a6..635f2cd5a 100644 --- a/packages/excalidraw/components/Stats/FontSize.tsx +++ b/packages/excalidraw/components/Stats/FontSize.tsx @@ -16,9 +16,10 @@ import type Scene from "@excalidraw/element/Scene"; import { fontSizeIcon } from "../icons"; -import StatsDragInput, { type DragInputCallbackType } from "./DragInput"; +import StatsDragInput from "./DragInput"; import { getStepSizedValue } from "./utils"; +import type { DragInputCallbackType } from "./DragInput"; import type { AppState } from "../../types"; interface FontSizeProps { diff --git a/packages/excalidraw/components/Stats/MultiAngle.tsx b/packages/excalidraw/components/Stats/MultiAngle.tsx index 5e429dada..a22a01147 100644 --- a/packages/excalidraw/components/Stats/MultiAngle.tsx +++ b/packages/excalidraw/components/Stats/MultiAngle.tsx @@ -13,9 +13,10 @@ import type Scene from "@excalidraw/element/Scene"; import { angleIcon } from "../icons"; -import DragInput, { type DragInputCallbackType } from "./DragInput"; +import DragInput from "./DragInput"; import { getStepSizedValue, isPropertyEditable } from "./utils"; +import type { DragInputCallbackType } from "./DragInput"; import type { AppState } from "../../types"; interface MultiAngleProps { diff --git a/packages/excalidraw/components/Stats/MultiDimension.tsx b/packages/excalidraw/components/Stats/MultiDimension.tsx index 3a008feae..ddac0ee3f 100644 --- a/packages/excalidraw/components/Stats/MultiDimension.tsx +++ b/packages/excalidraw/components/Stats/MultiDimension.tsx @@ -24,10 +24,11 @@ import type { import type Scene from "@excalidraw/element/Scene"; -import DragInput, { type DragInputCallbackType } from "./DragInput"; +import DragInput from "./DragInput"; import { getAtomicUnits, getStepSizedValue, isPropertyEditable } from "./utils"; import { getElementsInAtomicUnit } from "./utils"; +import type { DragInputCallbackType } from "./DragInput"; import type { AtomicUnit } from "./utils"; import type { AppState } from "../../types"; diff --git a/packages/excalidraw/components/Stats/MultiFontSize.tsx b/packages/excalidraw/components/Stats/MultiFontSize.tsx index d1c7dcdfc..075016ad1 100644 --- a/packages/excalidraw/components/Stats/MultiFontSize.tsx +++ b/packages/excalidraw/components/Stats/MultiFontSize.tsx @@ -19,9 +19,10 @@ import type Scene from "@excalidraw/element/Scene"; import { fontSizeIcon } from "../icons"; -import StatsDragInput, { type DragInputCallbackType } from "./DragInput"; +import StatsDragInput from "./DragInput"; import { getStepSizedValue } from "./utils"; +import type { DragInputCallbackType } from "./DragInput"; import type { AppState } from "../../types"; interface MultiFontSizeProps { diff --git a/packages/excalidraw/components/Stats/MultiPosition.tsx b/packages/excalidraw/components/Stats/MultiPosition.tsx index 165e420c3..e29070f91 100644 --- a/packages/excalidraw/components/Stats/MultiPosition.tsx +++ b/packages/excalidraw/components/Stats/MultiPosition.tsx @@ -10,8 +10,8 @@ import type Scene from "@excalidraw/element/Scene"; import StatsDragInput from "./DragInput"; import { handlePositionChange } from "./utils"; -import type { AppState } from "../../types"; import type { AtomicUnit } from "./utils"; +import type { AppState } from "../../types"; interface MultiPositionProps { property: "x" | "y";