diff --git a/frontend/package.json b/frontend/package.json index a5ba0341..33d416f9 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -44,9 +44,6 @@ "@tanstack/react-table": "^8.21.3", "@tanstack/react-virtual": "^3.14.3", "@tiptap/core": "^3.27.1", - "@tiptap/extension-code": "^3.27.1", - "@tiptap/extension-code-block": "^3.27.1", - "@tiptap/extension-hard-break": "^3.27.1", "@tiptap/extension-image": "^3.27.1", "@tiptap/extension-list": "^3.27.1", "@tiptap/extension-table": "^3.27.1", @@ -93,7 +90,6 @@ "tailwind-merge": "^3.6.0", "tw-animate-css": "^1.4.0", "use-debounce": "^10.1.1", - "vaul": "^1.1.2", "zod": "^4.4.3" }, "devDependencies": { diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yaml index 6fdf7570..6776a54e 100644 --- a/frontend/pnpm-lock.yaml +++ b/frontend/pnpm-lock.yaml @@ -92,15 +92,6 @@ importers: '@tiptap/core': specifier: ^3.27.1 version: 3.27.1(@tiptap/pm@3.27.1) - '@tiptap/extension-code': - specifier: ^3.27.1 - version: 3.27.1(@tiptap/core@3.27.1(@tiptap/pm@3.27.1)) - '@tiptap/extension-code-block': - specifier: ^3.27.1 - version: 3.27.1(@tiptap/core@3.27.1(@tiptap/pm@3.27.1))(@tiptap/pm@3.27.1) - '@tiptap/extension-hard-break': - specifier: ^3.27.1 - version: 3.27.1(@tiptap/core@3.27.1(@tiptap/pm@3.27.1)) '@tiptap/extension-image': specifier: ^3.27.1 version: 3.27.1(@tiptap/core@3.27.1(@tiptap/pm@3.27.1)) @@ -239,9 +230,6 @@ importers: use-debounce: specifier: ^10.1.1 version: 10.1.1(react@19.2.7) - vaul: - specifier: ^1.1.2 - version: 1.1.2(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) zod: specifier: ^4.4.3 version: 4.4.3 @@ -5377,12 +5365,6 @@ packages: util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} - vaul@1.1.2: - resolution: {integrity: sha512-ZFkClGpWyI2WUQjdLJ/BaGuV6AVQiJ3uELGk3OYtP+B6yCO7Cmn9vPFXVJkRaGkOJu3m8bQMgtyzNHixULceQA==} - peerDependencies: - react: ^16.8 || ^17.0 || ^18.0 || ^19.0.0 || ^19.0.0-rc - react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0.0 || ^19.0.0-rc - vfile-message@4.0.3: resolution: {integrity: sha512-QTHzsGd1EhbZs4AsQ20JX1rC3cOlt/IWJruk893DfLRr57lcnOeMaWG4K0JrRta4mIJZKth2Au3mM3u03/JWKw==} @@ -11196,15 +11178,6 @@ snapshots: util-deprecate@1.0.2: {} - vaul@1.1.2(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7): - dependencies: - '@radix-ui/react-dialog': 1.1.17(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - react: 19.2.7 - react-dom: 19.2.7(react@19.2.7) - transitivePeerDependencies: - - '@types/react' - - '@types/react-dom' - vfile-message@4.0.3: dependencies: '@types/unist': 3.0.3 diff --git a/frontend/src/components/ui/drawer.tsx b/frontend/src/components/ui/drawer.tsx deleted file mode 100644 index e935dadb..00000000 --- a/frontend/src/components/ui/drawer.tsx +++ /dev/null @@ -1,95 +0,0 @@ -import * as React from 'react'; -import { Drawer as DrawerPrimitive } from 'vaul'; - -import { cn } from '@/lib/utils'; - -function Drawer({ shouldScaleBackground = true, ...props }: React.ComponentProps) { - return ( - - ); -} - -const DrawerTrigger = DrawerPrimitive.Trigger; - -const DrawerPortal = DrawerPrimitive.Portal; - -const DrawerClose = DrawerPrimitive.Close; - -function DrawerContent({ children, className, ...props }: React.ComponentProps) { - return ( - - - -
- {children} - - - ); -} - -function DrawerDescription({ className, ...props }: React.ComponentProps) { - return ( - - ); -} - -function DrawerFooter({ className, ...props }: React.ComponentProps<'div'>) { - return ( -
- ); -} - -function DrawerHeader({ className, ...props }: React.ComponentProps<'div'>) { - return ( -
- ); -} - -function DrawerOverlay({ className, ...props }: React.ComponentProps) { - return ( - - ); -} - -function DrawerTitle({ className, ...props }: React.ComponentProps) { - return ( - - ); -} - -export { - Drawer, - DrawerClose, - DrawerContent, - DrawerDescription, - DrawerFooter, - DrawerHeader, - DrawerOverlay, - DrawerPortal, - DrawerTitle, - DrawerTrigger, -};