Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<div id="root"></div>

<script type="module">
import * as ExcalidrawLib from "@excalidraw/excalidraw";
import * as ExcalidrawLib from "@atyrode/excalidraw";

window.ExcalidrawLib = ExcalidrawLib;
</script>
Expand Down
4 changes: 2 additions & 2 deletions src/frontend/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import { QueryClientProvider } from '@tanstack/react-query';
import { ReactQueryDevtools } from '@tanstack/react-query-devtools';
import { queryClient } from './src/api/queryClient';

import "@excalidraw/excalidraw/index.css";
import "@atyrode/excalidraw/index.css";
import "./src/styles/index.scss";

import type * as TExcalidraw from "@excalidraw/excalidraw";
import type * as TExcalidraw from "@atyrode/excalidraw";

import App from "./src/App";
import AuthGate from "./src/AuthGate";
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.0.0",
"private": true,
"dependencies": {
"@excalidraw/excalidraw": "*",
"@atyrode/excalidraw": "*",
"@monaco-editor/react": "^4.7.0",
"@tanstack/react-query": "^5.74.3",
"@tanstack/react-query-devtools": "^5.74.3",
Expand Down
6 changes: 3 additions & 3 deletions src/frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import { debounce } from "./utils/debounce";
import { capture } from "./utils/posthog";
import posthog from "./utils/posthog";
import { useSaveCanvas } from "./api/hooks";
import type * as TExcalidraw from "@excalidraw/excalidraw";
import type { NonDeletedExcalidrawElement } from "@excalidraw/excalidraw/element/types";
import type { ExcalidrawImperativeAPI, AppState } from "@excalidraw/excalidraw/types";
import type * as TExcalidraw from "@atyrode/excalidraw";
import type { NonDeletedExcalidrawElement } from "@atyrode/excalidraw/element/types";
import type { ExcalidrawImperativeAPI, AppState } from "@atyrode/excalidraw/types";
import { useAuthCheck } from "./api/hooks";

export interface AppProps {
Expand Down
4 changes: 2 additions & 2 deletions src/frontend/src/CustomEmbeddableRenderer.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import type { NonDeleted, ExcalidrawEmbeddableElement } from '@excalidraw/excalidraw/element/types';
import type { AppState } from '@excalidraw/excalidraw/types';
import type { NonDeleted, ExcalidrawEmbeddableElement } from '@atyrode/excalidraw/element/types';
import type { AppState } from '@atyrode/excalidraw/types';
import {
Dashboard,
StateIndicator,
Expand Down
6 changes: 3 additions & 3 deletions src/frontend/src/ExcalidrawWrapper.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import React, { Children, cloneElement } from 'react';
import DiscordButton from './ui/DiscordButton';
import FeedbackButton from './ui/FeedbackButton';
import type { ExcalidrawImperativeAPI } from '@excalidraw/excalidraw/types';
import type { NonDeletedExcalidrawElement } from '@excalidraw/excalidraw/element/types';
import type { AppState } from '@excalidraw/excalidraw/types';
import type { ExcalidrawImperativeAPI } from '@atyrode/excalidraw/types';
import type { NonDeletedExcalidrawElement } from '@atyrode/excalidraw/element/types';
import type { AppState } from '@atyrode/excalidraw/types';
import { MainMenuConfig } from './ui/MainMenu';
import { renderCustomEmbeddable } from './CustomEmbeddableRenderer';

Expand Down
4 changes: 2 additions & 2 deletions src/frontend/src/lib/ExcalidrawElementFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import type {
FillStyle,
StrokeStyle,
RoundnessType
} from '@excalidraw/excalidraw/element/types';
import type { ExcalidrawImperativeAPI } from '@excalidraw/excalidraw/types';
} from '@atyrode/excalidraw/element/types';
import type { ExcalidrawImperativeAPI } from '@atyrode/excalidraw/types';
import {
PlacementMode,
placeElement
Expand Down
4 changes: 2 additions & 2 deletions src/frontend/src/pad/containers/Dashboard.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useState, useRef, useEffect } from 'react';
import type { NonDeleted, ExcalidrawEmbeddableElement } from '@excalidraw/excalidraw/element/types';
import type { AppState } from '@excalidraw/excalidraw/types';
import type { NonDeleted, ExcalidrawEmbeddableElement } from '@atyrode/excalidraw/element/types';
import type { AppState } from '@atyrode/excalidraw/types';
import StateIndicator from '../controls/StateIndicator';
import ControlButton from '../controls/ControlButton';
import { ActionButtonGrid } from '../buttons';
Expand Down
4 changes: 2 additions & 2 deletions src/frontend/src/pad/editors/HtmlEditor.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useState, useRef } from 'react';
import type { NonDeleted, ExcalidrawEmbeddableElement } from '@excalidraw/excalidraw/element/types';
import type { AppState } from '@excalidraw/excalidraw/types';
import type { NonDeleted, ExcalidrawEmbeddableElement } from '@atyrode/excalidraw/element/types';
import type { AppState } from '@atyrode/excalidraw/types';
import Editor from '@monaco-editor/react';
import { ExcalidrawElementFactory } from '../../lib/ExcalidrawElementFactory';
import '../../styles/HtmlEditor.scss';
Expand Down
4 changes: 2 additions & 2 deletions src/frontend/src/ui/MainMenu.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';

import type { ExcalidrawImperativeAPI } from '@excalidraw/excalidraw/types';
import type { MainMenu as MainMenuType } from '@excalidraw/excalidraw';
import type { ExcalidrawImperativeAPI } from '@atyrode/excalidraw/types';
import type { MainMenu as MainMenuType } from '@atyrode/excalidraw';

import { LogOut, SquarePlus, LayoutDashboard, SquareCode, Eye, Coffee, Grid2x2, User } from 'lucide-react';
import { capture } from '../utils/posthog';
Expand Down
4 changes: 2 additions & 2 deletions src/frontend/src/utils/elementPlacement.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type {
ExcalidrawElement
} from '@excalidraw/excalidraw/element/types';
import type { ExcalidrawImperativeAPI } from '@excalidraw/excalidraw/types';
} from '@atyrode/excalidraw/element/types';
import type { ExcalidrawImperativeAPI } from '@atyrode/excalidraw/types';

// Enum for placement modes
export enum PlacementMode {
Expand Down
Loading