mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Move all remaining files in src
This commit is contained in:
parent
e75a7b45d6
commit
c48d847f62
524 changed files with 538 additions and 547 deletions
|
@ -4,11 +4,11 @@ import {
|
|||
getTextFromElements,
|
||||
MIME_TYPES,
|
||||
TTDDialog,
|
||||
} from "@excalidraw/excalidraw";
|
||||
} from "@excalidraw/excalidraw/src";
|
||||
import { getDataURL } from "@excalidraw/excalidraw/src/data/blob";
|
||||
import { safelyParseJSON } from "@excalidraw/common";
|
||||
|
||||
import type { ExcalidrawImperativeAPI } from "@excalidraw/excalidraw/types";
|
||||
import type { ExcalidrawImperativeAPI } from "@excalidraw/excalidraw/src/types";
|
||||
|
||||
export const AIComponents = ({
|
||||
excalidrawAPI,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { Footer } from "@excalidraw/excalidraw/index";
|
||||
import { Footer } from "@excalidraw/excalidraw/src/index";
|
||||
import React from "react";
|
||||
|
||||
import { isExcalidrawPlusSignedUser } from "../app_constants";
|
||||
|
|
|
@ -3,7 +3,7 @@ import {
|
|||
ExcalLogo,
|
||||
eyeIcon,
|
||||
} from "@excalidraw/excalidraw/src/components/icons";
|
||||
import { MainMenu } from "@excalidraw/excalidraw/index";
|
||||
import { MainMenu } from "@excalidraw/excalidraw/src/index";
|
||||
import React from "react";
|
||||
|
||||
import { isDevEnv } from "@excalidraw/common";
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { loginIcon } from "@excalidraw/excalidraw/src/components/icons";
|
||||
import { POINTER_EVENTS } from "@excalidraw/common";
|
||||
import { useI18n } from "@excalidraw/excalidraw/i18n";
|
||||
import { WelcomeScreen } from "@excalidraw/excalidraw/index";
|
||||
import { useI18n } from "@excalidraw/excalidraw/src/i18n";
|
||||
import { WelcomeScreen } from "@excalidraw/excalidraw/src/index";
|
||||
import React from "react";
|
||||
|
||||
import { isExcalidrawPlusSignedUser } from "../app_constants";
|
||||
|
|
|
@ -7,7 +7,7 @@ import {
|
|||
bootstrapCanvas,
|
||||
getNormalizedCanvasDimensions,
|
||||
} from "@excalidraw/excalidraw/src/renderer/helpers";
|
||||
import { type AppState } from "@excalidraw/excalidraw/types";
|
||||
import { type AppState } from "@excalidraw/excalidraw/src/types";
|
||||
import { throttleRAF } from "@excalidraw/common";
|
||||
import { useCallback, useImperativeHandle, useRef } from "react";
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { Tooltip } from "@excalidraw/excalidraw/src/components/Tooltip";
|
||||
import { shield } from "@excalidraw/excalidraw/src/components/icons";
|
||||
import { useI18n } from "@excalidraw/excalidraw/i18n";
|
||||
import { useI18n } from "@excalidraw/excalidraw/src/i18n";
|
||||
|
||||
export const EncryptedIcon = () => {
|
||||
const { t } = useI18n();
|
||||
|
|
|
@ -2,7 +2,7 @@ import React from "react";
|
|||
import { uploadBytes, ref } from "firebase/storage";
|
||||
import { nanoid } from "nanoid";
|
||||
|
||||
import { trackEvent } from "@excalidraw/excalidraw/analytics";
|
||||
import { trackEvent } from "@excalidraw/excalidraw/src/analytics";
|
||||
import { Card } from "@excalidraw/excalidraw/src/components/Card";
|
||||
import { ExcalidrawLogo } from "@excalidraw/excalidraw/src/components/ExcalidrawLogo";
|
||||
import { ToolButton } from "@excalidraw/excalidraw/src/components/ToolButton";
|
||||
|
@ -13,7 +13,7 @@ import {
|
|||
} from "@excalidraw/excalidraw/src/data/encryption";
|
||||
import { serializeAsJSON } from "@excalidraw/excalidraw/src/data/json";
|
||||
import { isInitializedImageElement } from "@excalidraw/element/typeChecks";
|
||||
import { useI18n } from "@excalidraw/excalidraw/i18n";
|
||||
import { useI18n } from "@excalidraw/excalidraw/src/i18n";
|
||||
|
||||
import type {
|
||||
FileId,
|
||||
|
@ -23,7 +23,7 @@ import type {
|
|||
AppState,
|
||||
BinaryFileData,
|
||||
BinaryFiles,
|
||||
} from "@excalidraw/excalidraw/types";
|
||||
} from "@excalidraw/excalidraw/src/types";
|
||||
|
||||
import { FILE_UPLOAD_MAX_BYTES } from "../app_constants";
|
||||
import { encodeFilesForUpload } from "../data/FileManager";
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import Trans from "@excalidraw/excalidraw/src/components/Trans";
|
||||
import { t } from "@excalidraw/excalidraw/i18n";
|
||||
import { t } from "@excalidraw/excalidraw/src/i18n";
|
||||
import * as Sentry from "@sentry/browser";
|
||||
import React from "react";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue