mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-22 08:50:56 +02:00
refactor: separate elements logic into a standalone package (#9285)
This commit is contained in:
@@ -1,19 +1,16 @@
|
||||
import type { Action } from "./actions/types";
|
||||
import type { Spreadsheet } from "./charts";
|
||||
import type { ClipboardData } from "./clipboard";
|
||||
import type App from "./components/App";
|
||||
import type Library from "./data/library";
|
||||
import type { FileSystemHandle } from "./data/filesystem";
|
||||
import type { IMAGE_MIME_TYPES, MIME_TYPES } from "./constants";
|
||||
import type { ContextMenuItems } from "./components/ContextMenu";
|
||||
import type { SnapLine } from "./snapping";
|
||||
import type { Merge, MaybePromise, ValueOf, MakeBrand } from "./utility-types";
|
||||
import type { CaptureUpdateActionType } from "./store";
|
||||
import type { UserIdleState } from "./constants";
|
||||
import type { ImportedDataState } from "./data/types";
|
||||
import type { SuggestedBinding } from "./element/binding";
|
||||
import type { LinearElementEditor } from "./element/linearElementEditor";
|
||||
import type { MaybeTransformHandleType } from "./element/transformHandles";
|
||||
import type {
|
||||
IMAGE_MIME_TYPES,
|
||||
UserIdleState,
|
||||
throttleRAF,
|
||||
MIME_TYPES,
|
||||
} from "@excalidraw/common";
|
||||
|
||||
import type { SuggestedBinding } from "@excalidraw/element/binding";
|
||||
|
||||
import type { LinearElementEditor } from "@excalidraw/element/linearElementEditor";
|
||||
|
||||
import type { MaybeTransformHandleType } from "@excalidraw/element/transformHandles";
|
||||
|
||||
import type {
|
||||
PointerType,
|
||||
ExcalidrawLinearElement,
|
||||
@@ -37,10 +34,28 @@ import type {
|
||||
ExcalidrawIframeLikeElement,
|
||||
OrderedExcalidrawElement,
|
||||
ExcalidrawNonSelectionElement,
|
||||
} from "./element/types";
|
||||
} from "@excalidraw/element/types";
|
||||
|
||||
import type {
|
||||
Merge,
|
||||
MaybePromise,
|
||||
ValueOf,
|
||||
MakeBrand,
|
||||
} from "@excalidraw/common/utility-types";
|
||||
|
||||
import type { Action } from "./actions/types";
|
||||
import type { Spreadsheet } from "./charts";
|
||||
import type { ClipboardData } from "./clipboard";
|
||||
import type App from "./components/App";
|
||||
import type Library from "./data/library";
|
||||
import type { FileSystemHandle } from "./data/filesystem";
|
||||
import type { ContextMenuItems } from "./components/ContextMenu";
|
||||
import type { SnapLine } from "./snapping";
|
||||
import type { CaptureUpdateActionType } from "./store";
|
||||
import type { ImportedDataState } from "./data/types";
|
||||
|
||||
import type { Language } from "./i18n";
|
||||
import type { isOverScrollBars } from "./scene/scrollbars";
|
||||
import type { throttleRAF } from "./utils";
|
||||
import type React from "react";
|
||||
import type { JSX } from "react";
|
||||
|
||||
|
Reference in New Issue
Block a user