refactor: export everything from @excalidraw/element, don't import from subpaths (#9466)
* Don't import from subpaths * Fix tests, move related tests to element
This commit is contained in:
@@ -17,11 +17,11 @@ import {
|
||||
newLinearElement,
|
||||
newMagicFrameElement,
|
||||
newTextElement,
|
||||
} from "@excalidraw/element/newElement";
|
||||
} from "@excalidraw/element";
|
||||
|
||||
import { isLinearElementType } from "@excalidraw/element/typeChecks";
|
||||
import { getSelectedElements } from "@excalidraw/element/selection";
|
||||
import { selectGroupsForSelectedElements } from "@excalidraw/element/groups";
|
||||
import { isLinearElementType } from "@excalidraw/element";
|
||||
import { getSelectedElements } from "@excalidraw/element";
|
||||
import { selectGroupsForSelectedElements } from "@excalidraw/element";
|
||||
|
||||
import type {
|
||||
ExcalidrawElement,
|
||||
|
||||
Reference in New Issue
Block a user