mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 17:35:10 +03:00
chore: Clean the ui package from next imports (#44278)
This PR moves several components which rely on `next` out of the `ui` package to the `ui-patterns` package. `ui-patterns` package is intented to be imported with specific imports so it's ok if there are components reliant on `next` in there. The `SonnerToaster` component has removed its dependency by requiring a prop for `theme`.
This commit is contained in:
1 parent
e01fa312fb
commit
ee8eae7309
187 files changed
+912
-912
No files matched your search
@@ -1,10 +1,10 @@
|
||||
import { ReportBlockContainer } from 'components/interfaces/Reports/ReportBlock/ReportBlockContainer'
|
||||
import { Code } from 'lucide-react'
|
||||
import Link from 'next/link'
|
||||
import type { DragEvent, ReactNode } from 'react'
|
||||
|
||||
import { ReportBlockContainer } from 'components/interfaces/Reports/ReportBlock/ReportBlockContainer'
|
||||
import { Button, CodeBlock, type CodeBlockLang, cn } from 'ui'
|
||||
import { Admonition } from 'ui-patterns'
|
||||
import { Button, cn } from 'ui'
|
||||
import { Admonition } from 'ui-patterns/admonition'
|
||||
import { CodeBlock, type CodeBlockLang } from 'ui-patterns/CodeBlock'
|
||||
|
||||
interface EdgeFunctionBlockProps {
|
||||
/** Title of the EdgeFunctionBlock */
|
||||
|
||||
Reference in new issue
Block a user