fix: add constants and side methods to packages (#10418)

* fix: add constants and side methods to packages

* add transform to the element package

* lint

* remove dead code

* put transform types back to transform.ts

* fix imports

* fix imports in test

---------

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
This commit is contained in:
Ryan Di
2025-12-28 21:53:25 +01:00
committed by GitHub
co-authored by dwelle
parent d87620b239
commit e95222ed32
12 changed files with 484 additions and 30 deletions
+2 -1
View File
@@ -9,6 +9,7 @@ import {
VERTICAL_ALIGN,
randomId,
isDevEnv,
FONT_SIZES,
} from "@excalidraw/common";
import {
@@ -213,7 +214,7 @@ const chartXLabels = (
y: y + BAR_GAP / 2,
width: BAR_WIDTH,
angle: 5.87 as Radians,
fontSize: 16,
fontSize: FONT_SIZES.sm,
textAlign: "center",
verticalAlign: "top",
});