refactor: old paths updated to reflect new path for files in excalidraw package

This commit is contained in:
Deepen Timalsina 2025-04-14 22:50:46 +05:45
parent 98e7946887
commit 18a187e470
107 changed files with 256 additions and 242 deletions

View file

@ -5,7 +5,7 @@ import {
zoomToFitBounds,
reconcileElements,
} from "@excalidraw/excalidraw/src";
import { ErrorDialog } from "@excalidraw/excalidraw/components/ErrorDialog";
import { ErrorDialog } from "@excalidraw/excalidraw/src/components/ErrorDialog";
import { APP_NAME, EVENT } from "@excalidraw/common";
import {
IDLE_THRESHOLD,
@ -18,7 +18,7 @@ import {
resolvablePromise,
throttleRAF,
} from "@excalidraw/common";
import { decryptData } from "@excalidraw/excalidraw/data/encryption";
import { decryptData } from "@excalidraw/excalidraw/src/data/encryption";
import { getVisibleSceneBounds } from "@excalidraw/element/bounds";
import { newElementWith } from "@excalidraw/element/mutateElement";
import {
@ -35,8 +35,8 @@ import { PureComponent } from "react";
import type {
ReconciledExcalidrawElement,
RemoteExcalidrawElement,
} from "@excalidraw/excalidraw/data/reconcile";
import type { ImportedDataState } from "@excalidraw/excalidraw/data/types";
} from "@excalidraw/excalidraw/src/data/reconcile";
import type { ImportedDataState } from "@excalidraw/excalidraw/src/data/types";
import type {
ExcalidrawElement,
FileId,

View file

@ -1,5 +1,5 @@
import { Tooltip } from "@excalidraw/excalidraw/components/Tooltip";
import { warning } from "@excalidraw/excalidraw/components/icons";
import { Tooltip } from "@excalidraw/excalidraw/src/components/Tooltip";
import { warning } from "@excalidraw/excalidraw/src/components/icons";
import clsx from "clsx";
import { useEffect, useRef, useState } from "react";

View file

@ -1,6 +1,6 @@
import { CaptureUpdateAction } from "@excalidraw/excalidraw/src";
import { trackEvent } from "@excalidraw/excalidraw/analytics";
import { encryptData } from "@excalidraw/excalidraw/data/encryption";
import { trackEvent } from "@excalidraw/excalidraw/src/analytics";
import { encryptData } from "@excalidraw/excalidraw/src/data/encryption";
import { newElementWith } from "@excalidraw/element/mutateElement";
import throttle from "lodash.throttle";