diff --git a/packages/excalidraw/actions/actionProperties.tsx b/packages/excalidraw/actions/actionProperties.tsx index f3730d7be..ce96b0699 100644 --- a/packages/excalidraw/actions/actionProperties.tsx +++ b/packages/excalidraw/actions/actionProperties.tsx @@ -68,7 +68,7 @@ import type { VerticalAlign, } from "@excalidraw/element/types"; -import type Scene from "@excalidraw/element"; +import type { Scene } from "@excalidraw/element"; import { trackEvent } from "../analytics"; import { ButtonIconSelect } from "../components/ButtonIconSelect"; diff --git a/packages/excalidraw/components/ConvertElementTypePopup.tsx b/packages/excalidraw/components/ConvertElementTypePopup.tsx index e609329fe..acb9a44f5 100644 --- a/packages/excalidraw/components/ConvertElementTypePopup.tsx +++ b/packages/excalidraw/components/ConvertElementTypePopup.tsx @@ -66,7 +66,7 @@ import type { FixedSegment, } from "@excalidraw/element/types"; -import type Scene from "@excalidraw/element"; +import type { Scene } from "@excalidraw/element"; import { bumpVersion, diff --git a/packages/excalidraw/components/ElementLinkDialog.tsx b/packages/excalidraw/components/ElementLinkDialog.tsx index b4598ef5b..5d4309c9e 100644 --- a/packages/excalidraw/components/ElementLinkDialog.tsx +++ b/packages/excalidraw/components/ElementLinkDialog.tsx @@ -9,7 +9,7 @@ import { import type { ExcalidrawElement } from "@excalidraw/element/types"; -import type Scene from "@excalidraw/element"; +import type { Scene } from "@excalidraw/element"; import { t } from "../i18n"; import { getSelectedElements } from "../scene"; diff --git a/packages/excalidraw/components/Stats/Angle.tsx b/packages/excalidraw/components/Stats/Angle.tsx index 8328dcba0..28d9913e8 100644 --- a/packages/excalidraw/components/Stats/Angle.tsx +++ b/packages/excalidraw/components/Stats/Angle.tsx @@ -7,7 +7,7 @@ import type { Degrees } from "@excalidraw/math"; import type { ExcalidrawElement } from "@excalidraw/element/types"; -import type Scene from "@excalidraw/element"; +import type { Scene } from "@excalidraw/element"; import { angleIcon } from "../icons"; diff --git a/packages/excalidraw/components/Stats/CanvasGrid.tsx b/packages/excalidraw/components/Stats/CanvasGrid.tsx index d7909b736..4eed85c24 100644 --- a/packages/excalidraw/components/Stats/CanvasGrid.tsx +++ b/packages/excalidraw/components/Stats/CanvasGrid.tsx @@ -1,4 +1,4 @@ -import type Scene from "@excalidraw/element"; +import type { Scene } from "@excalidraw/element"; import { getNormalizedGridStep } from "../../scene"; diff --git a/packages/excalidraw/components/Stats/Dimension.tsx b/packages/excalidraw/components/Stats/Dimension.tsx index 6356178d4..a8868721b 100644 --- a/packages/excalidraw/components/Stats/Dimension.tsx +++ b/packages/excalidraw/components/Stats/Dimension.tsx @@ -10,7 +10,7 @@ import { isImageElement } from "@excalidraw/element"; import type { ExcalidrawElement } from "@excalidraw/element/types"; -import type Scene from "@excalidraw/element"; +import type { Scene } from "@excalidraw/element"; import DragInput from "./DragInput"; import { getStepSizedValue, isPropertyEditable } from "./utils"; diff --git a/packages/excalidraw/components/Stats/DragInput.tsx b/packages/excalidraw/components/Stats/DragInput.tsx index f2ba0ab5c..9b57b625b 100644 --- a/packages/excalidraw/components/Stats/DragInput.tsx +++ b/packages/excalidraw/components/Stats/DragInput.tsx @@ -7,7 +7,7 @@ import { deepCopyElement } from "@excalidraw/element"; import type { ElementsMap, ExcalidrawElement } from "@excalidraw/element/types"; -import type Scene from "@excalidraw/element"; +import type { Scene } from "@excalidraw/element"; import { CaptureUpdateAction } from "../../store"; import { useApp } from "../App"; diff --git a/packages/excalidraw/components/Stats/FontSize.tsx b/packages/excalidraw/components/Stats/FontSize.tsx index 6d3a64d33..62edcf7b4 100644 --- a/packages/excalidraw/components/Stats/FontSize.tsx +++ b/packages/excalidraw/components/Stats/FontSize.tsx @@ -9,7 +9,7 @@ import type { ExcalidrawTextElement, } from "@excalidraw/element/types"; -import type Scene from "@excalidraw/element"; +import type { Scene } from "@excalidraw/element"; import { fontSizeIcon } from "../icons"; diff --git a/packages/excalidraw/components/Stats/MultiAngle.tsx b/packages/excalidraw/components/Stats/MultiAngle.tsx index a557bafcc..966425f3b 100644 --- a/packages/excalidraw/components/Stats/MultiAngle.tsx +++ b/packages/excalidraw/components/Stats/MultiAngle.tsx @@ -9,7 +9,7 @@ import type { Degrees } from "@excalidraw/math"; import type { ExcalidrawElement } from "@excalidraw/element/types"; -import type Scene from "@excalidraw/element"; +import type { Scene } from "@excalidraw/element"; import { angleIcon } from "../icons"; diff --git a/packages/excalidraw/components/Stats/MultiDimension.tsx b/packages/excalidraw/components/Stats/MultiDimension.tsx index 7bde820c2..65f59ffe3 100644 --- a/packages/excalidraw/components/Stats/MultiDimension.tsx +++ b/packages/excalidraw/components/Stats/MultiDimension.tsx @@ -19,7 +19,7 @@ import type { NonDeletedSceneElementsMap, } from "@excalidraw/element/types"; -import type Scene from "@excalidraw/element"; +import type { Scene } from "@excalidraw/element"; import DragInput from "./DragInput"; import { getAtomicUnits, getStepSizedValue, isPropertyEditable } from "./utils"; diff --git a/packages/excalidraw/components/Stats/MultiFontSize.tsx b/packages/excalidraw/components/Stats/MultiFontSize.tsx index f0659d58c..921bfb021 100644 --- a/packages/excalidraw/components/Stats/MultiFontSize.tsx +++ b/packages/excalidraw/components/Stats/MultiFontSize.tsx @@ -12,7 +12,7 @@ import type { NonDeletedSceneElementsMap, } from "@excalidraw/element/types"; -import type Scene from "@excalidraw/element"; +import type { Scene } from "@excalidraw/element"; import { fontSizeIcon } from "../icons"; diff --git a/packages/excalidraw/components/Stats/MultiPosition.tsx b/packages/excalidraw/components/Stats/MultiPosition.tsx index 71518704a..3dd974aa3 100644 --- a/packages/excalidraw/components/Stats/MultiPosition.tsx +++ b/packages/excalidraw/components/Stats/MultiPosition.tsx @@ -7,7 +7,7 @@ import { getCommonBounds } from "@excalidraw/element"; import type { ElementsMap, ExcalidrawElement } from "@excalidraw/element/types"; -import type Scene from "@excalidraw/element"; +import type { Scene } from "@excalidraw/element"; import StatsDragInput from "./DragInput"; import { getAtomicUnits, getStepSizedValue, isPropertyEditable } from "./utils"; diff --git a/packages/excalidraw/components/Stats/Position.tsx b/packages/excalidraw/components/Stats/Position.tsx index aa5c0796f..d43636f90 100644 --- a/packages/excalidraw/components/Stats/Position.tsx +++ b/packages/excalidraw/components/Stats/Position.tsx @@ -8,7 +8,7 @@ import { isImageElement } from "@excalidraw/element"; import type { ElementsMap, ExcalidrawElement } from "@excalidraw/element/types"; -import type Scene from "@excalidraw/element"; +import type { Scene } from "@excalidraw/element"; import StatsDragInput from "./DragInput"; import { getStepSizedValue, moveElement } from "./utils"; diff --git a/packages/excalidraw/components/Stats/utils.ts b/packages/excalidraw/components/Stats/utils.ts index aee9ee582..26997ffba 100644 --- a/packages/excalidraw/components/Stats/utils.ts +++ b/packages/excalidraw/components/Stats/utils.ts @@ -17,7 +17,7 @@ import type { NonDeletedExcalidrawElement, } from "@excalidraw/element/types"; -import type Scene from "@excalidraw/element"; +import type { Scene } from "@excalidraw/element"; import { updateBindings } from "../../../element/src/binding"; diff --git a/packages/excalidraw/components/hyperlink/Hyperlink.tsx b/packages/excalidraw/components/hyperlink/Hyperlink.tsx index 2cc9600c4..292659bdb 100644 --- a/packages/excalidraw/components/hyperlink/Hyperlink.tsx +++ b/packages/excalidraw/components/hyperlink/Hyperlink.tsx @@ -28,7 +28,7 @@ import { import { isEmbeddableElement } from "@excalidraw/element"; -import type Scene from "@excalidraw/element"; +import type { Scene } from "@excalidraw/element"; import type { ElementsMap, diff --git a/packages/excalidraw/fonts/Fonts.ts b/packages/excalidraw/fonts/Fonts.ts index d4e3af0b0..c1de529cd 100644 --- a/packages/excalidraw/fonts/Fonts.ts +++ b/packages/excalidraw/fonts/Fonts.ts @@ -28,7 +28,7 @@ import type { import type { ValueOf } from "@excalidraw/common/utility-types"; -import type Scene from "@excalidraw/element"; +import type { Scene } from "@excalidraw/element"; import { CascadiaFontFaces } from "./Cascadia"; import { ComicShannsFontFaces } from "./ComicShanns"; diff --git a/packages/excalidraw/scene/Renderer.ts b/packages/excalidraw/scene/Renderer.ts index fc4e8c31a..cf112c2ce 100644 --- a/packages/excalidraw/scene/Renderer.ts +++ b/packages/excalidraw/scene/Renderer.ts @@ -9,7 +9,7 @@ import type { NonDeletedExcalidrawElement, } from "@excalidraw/element/types"; -import type Scene from "@excalidraw/element"; +import type { Scene } from "@excalidraw/element"; import { renderInteractiveSceneThrottled } from "../renderer/interactiveScene"; import { renderStaticSceneThrottled } from "../renderer/staticScene";