refactor: separate elements logic into a standalone package (#9285)

This commit is contained in:
Marcel Mraz
2025-03-26 15:24:59 +01:00
committed by GitHub
parent a18f059188
commit 432a46ef9e
372 changed files with 3463 additions and 2463 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import { VERSIONS } from "../../constants";
import { VERSIONS } from "@excalidraw/common";
import {
diamondFixture,
+3 -3
View File
@@ -1,8 +1,8 @@
import { DEFAULT_FONT_FAMILY } from "@excalidraw/common";
import type { Radians } from "@excalidraw/math";
import { DEFAULT_FONT_FAMILY } from "../../constants";
import type { ExcalidrawElement } from "../../element/types";
import type { ExcalidrawElement } from "@excalidraw/element/types";
const elementBase: Omit<ExcalidrawElement, "type"> = {
id: "vWrqOAfkind2qcm7LDAGZ",