Skip to content

Commit 1a194e6

Browse files
committed
chore: upgraded excalidraw
1 parent 095b71a commit 1a194e6

File tree

8 files changed

+151
-15
lines changed

8 files changed

+151
-15
lines changed

bun.lock

Lines changed: 143 additions & 7 deletions
Large diffs are not rendered by default.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"preview": "vite preview"
1111
},
1212
"dependencies": {
13-
"@excalidraw/excalidraw": "^0.17.6",
13+
"@excalidraw/excalidraw": "^0.18.0",
1414
"@excalidraw/mermaid-to-excalidraw": "^1.1.2",
1515
"@hookform/resolvers": "^3.9.1",
1616
"@radix-ui/react-dropdown-menu": "^2.1.2",

src/db/draw.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { NonDeletedExcalidrawElement } from "@excalidraw/excalidraw/types/element/types";
1+
import { NonDeletedExcalidrawElement } from "@excalidraw/excalidraw/element/types";
22
import { supabase } from "./supabase";
33
import { AuthError, PostgrestError } from "@supabase/supabase-js";
44

src/stores/drawDataStore.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { NonDeletedExcalidrawElement } from "@excalidraw/excalidraw/types/element/types";
1+
import { NonDeletedExcalidrawElement } from "@excalidraw/excalidraw/element/types";
22
import { create } from "zustand";
33
import { persist } from "zustand/middleware";
44

src/views/Mermaid.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
} from "@excalidraw/excalidraw";
99
import { useEffect, useState } from "react";
1010
import { Textarea } from "@/components/ui/textarea";
11-
import { ExcalidrawImperativeAPI } from "@excalidraw/excalidraw/types/types";
11+
import { ExcalidrawImperativeAPI } from "@excalidraw/excalidraw/types";
1212
import { useTheme } from "@/components/theme-provider";
1313
import TitleBar from "@/components/TitleBar";
1414
import { useNavigate } from "@tanstack/react-router";

src/views/Page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import { Button } from "@/components/ui/button";
1111
import { Input } from "@/components/ui/input";
1212
import { toast } from "sonner";
1313
import { Excalidraw, WelcomeScreen } from "@excalidraw/excalidraw";
14-
import { NonDeletedExcalidrawElement } from "@excalidraw/excalidraw/types/element/types";
15-
import { ExcalidrawImperativeAPI } from "@excalidraw/excalidraw/types/types";
14+
import { NonDeletedExcalidrawElement } from "@excalidraw/excalidraw/element/types";
15+
import { ExcalidrawImperativeAPI } from "@excalidraw/excalidraw/types";
1616
import { useQuery, useMutation } from "@tanstack/react-query";
1717
import { RefreshCcw } from "lucide-react";
1818
import { getDrawData, setDrawData } from "@/db/draw";

tsconfig.app.tsbuildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"root":["./src/constants.ts","./src/main.tsx","./src/routeTree.gen.ts","./src/vite-env.d.ts","./src/components/Loader.tsx","./src/components/ProfileDropdown.tsx","./src/components/ProfileItem.tsx","./src/components/TitleBar.tsx","./src/components/mode-toggle.tsx","./src/components/theme-provider.tsx","./src/components/ui/button.tsx","./src/components/ui/card.tsx","./src/components/ui/dropdown-menu.tsx","./src/components/ui/form.tsx","./src/components/ui/input.tsx","./src/components/ui/label.tsx","./src/components/ui/sonner.tsx","./src/components/ui/textarea.tsx","./src/components/ui/tooltip.tsx","./src/db/auth.ts","./src/db/draw.ts","./src/db/supabase.ts","./src/hooks/isAuthenticated.tsx","./src/lib/schemas.ts","./src/lib/utils.ts","./src/routes/__root.tsx","./src/routes/_authenticated.tsx","./src/routes/index.tsx","./src/routes/login.lazy.tsx","./src/routes/signup.lazy.tsx","./src/routes/_authenticated/mermaid.lazy.tsx","./src/routes/_authenticated/page.$id.lazy.tsx","./src/routes/_authenticated/pages.lazy.tsx","./src/routes/_authenticated/profile.lazy.tsx","./src/stores/drawDataStore.ts","./src/views/HomePage.tsx","./src/views/Layout.tsx","./src/views/Login.tsx","./src/views/Mermaid.tsx","./src/views/Navbar.tsx","./src/views/NoData.tsx","./src/views/NotFound.tsx","./src/views/Page.tsx","./src/views/Pages.tsx","./src/views/Profile.tsx","./src/views/SignUp.tsx"],"version":"5.7.2"}
1+
{"root":["./src/constants.ts","./src/main.tsx","./src/routetree.gen.ts","./src/vite-env.d.ts","./src/components/loader.tsx","./src/components/profiledropdown.tsx","./src/components/profileitem.tsx","./src/components/titlebar.tsx","./src/components/mode-toggle.tsx","./src/components/theme-provider.tsx","./src/components/ui/button.tsx","./src/components/ui/card.tsx","./src/components/ui/dropdown-menu.tsx","./src/components/ui/form.tsx","./src/components/ui/input.tsx","./src/components/ui/label.tsx","./src/components/ui/sonner.tsx","./src/components/ui/textarea.tsx","./src/components/ui/tooltip.tsx","./src/db/auth.ts","./src/db/draw.ts","./src/db/supabase.ts","./src/hooks/isauthenticated.tsx","./src/lib/schemas.ts","./src/lib/utils.ts","./src/routes/__root.tsx","./src/routes/_authenticated.tsx","./src/routes/index.tsx","./src/routes/login.lazy.tsx","./src/routes/signup.lazy.tsx","./src/routes/_authenticated/mermaid.lazy.tsx","./src/routes/_authenticated/page.$id.lazy.tsx","./src/routes/_authenticated/pages.lazy.tsx","./src/routes/_authenticated/profile.lazy.tsx","./src/stores/drawdatastore.ts","./src/views/homepage.tsx","./src/views/layout.tsx","./src/views/login.tsx","./src/views/mermaid.tsx","./src/views/navbar.tsx","./src/views/nodata.tsx","./src/views/notfound.tsx","./src/views/page.tsx","./src/views/pages.tsx","./src/views/profile.tsx","./src/views/signup.tsx"],"version":"5.7.3"}

tsconfig.node.tsbuildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"root":["./vite.config.ts"],"version":"5.7.2"}
1+
{"root":["./vite.config.ts"],"version":"5.7.3"}

0 commit comments

Comments
 (0)