The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: Fix the folder layout for the Nextjs Auth block (#34496)
Ivan Vasilov95ade9f4ca98
diff --git a/apps/ui-library/__registry__/index.tsx b/apps/ui-library/__registry__/index.tsxindex 7f59bed5d7b..d094b8047a0 100644--- a/apps/ui-library/__registry__/index.tsx+++ b/apps/ui-library/__registry__/index.tsx@@ -11,9 +11,9 @@ export const Index: Record<string, any> = {name: "password-based-auth-nextjs",type: "registry:block",registryDependencies: ["button","card","input","label"],- component: React.lazy(() => import("@/registry/default/blocks/password-based-auth-nextjs/app/login/page.tsx")),+ component: React.lazy(() => import("@/registry/default/blocks/password-based-auth-nextjs/app/auth/login/page.tsx")),source: "",- files: ["registry/default/blocks/password-based-auth-nextjs/app/login/page.tsx","registry/default/blocks/password-based-auth-nextjs/app/error/page.tsx","registry/default/blocks/password-based-auth-nextjs/app/protected/page.tsx","registry/default/blocks/password-based-auth-nextjs/app/confirm/route.ts","registry/default/blocks/password-based-auth-nextjs/components/login-form.tsx","registry/default/blocks/password-based-auth-nextjs/middleware.ts","registry/default/blocks/password-based-auth-nextjs/app/sign-up/page.tsx","registry/default/blocks/password-based-auth-nextjs/app/sign-up-success/page.tsx","registry/default/blocks/password-based-auth-nextjs/components/sign-up-form.tsx","registry/default/blocks/password-based-auth-nextjs/app/forgot-password/page.tsx","registry/default/blocks/password-based-auth-nextjs/app/update-password/page.tsx","registry/default/blocks/password-based-auth-nextjs/components/forgot-password-form.tsx","registry/default/blocks/password-based-auth-nextjs/components/update-password-form.tsx","registry/default/clients/nextjs/lib/supabase/client.ts","registry/default/clients/nextjs/lib/supabase/middleware.ts","registry/default/clients/nextjs/lib/supabase/server.ts"],+ files: ["registry/default/blocks/password-based-auth-nextjs/app/auth/login/page.tsx","registry/default/blocks/password-based-auth-nextjs/app/auth/error/page.tsx","registry/default/blocks/password-based-auth-nextjs/app/protected/page.tsx","registry/default/blocks/password-based-auth-nextjs/app/auth/confirm/route.ts","registry/default/blocks/password-based-auth-nextjs/components/login-form.tsx","registry/default/blocks/password-based-auth-nextjs/middleware.ts","registry/default/blocks/password-based-auth-nextjs/app/auth/sign-up/page.tsx","registry/default/blocks/password-based-auth-nextjs/app/auth/sign-up-success/page.tsx","registry/default/blocks/password-based-auth-nextjs/components/sign-up-form.tsx","registry/default/blocks/password-based-auth-nextjs/app/auth/forgot-password/page.tsx","registry/default/blocks/password-based-auth-nextjs/app/auth/update-password/page.tsx","registry/default/blocks/password-based-auth-nextjs/components/forgot-password-form.tsx","registry/default/blocks/password-based-auth-nextjs/components/update-password-form.tsx","registry/default/blocks/password-based-auth-nextjs/components/logout-button.tsx","registry/default/clients/nextjs/lib/supabase/client.ts","registry/default/clients/nextjs/lib/supabase/middleware.ts","registry/default/clients/nextjs/lib/supabase/server.ts"],category: "undefined",subcategory: "undefined",chunks: []diff --git a/apps/ui-library/app/(app)/page.tsx b/apps/ui-library/app/(app)/page.tsxindex e4d67ef7e2c..72bdc058159 100644--- a/apps/ui-library/app/(app)/page.tsx+++ b/apps/ui-library/app/(app)/page.tsx@@ -1,7 +1,7 @@import { BlockPreview } from '@/components/block-preview'import { ComponentPreview } from '@/components/component-preview'-import { Button } from '@/registry/default/components/ui/button'import Link from 'next/link'+import { Button_Shadcn_ } from 'ui'// Horizontal grid line componentconst HorizontalGridLine = () => <div className="col-span-12 h-px bg-border/30" />@@ -43,9 +43,9 @@ export default function Home() {Supabase back-end to your front-end. Works with your favorite frameworks. OpenSource. Open Code.</h2>- <Button variant="secondary" size="lg" className="mt-4">+ <Button_Shadcn_ variant="secondary" size="lg" className="mt-4"><Link href="/docs/getting-started/quickstart">Get Started</Link>- </Button>+ </Button_Shadcn_></div></div></div>@@ -63,7 +63,7 @@ export default function Home() {className="col-start-2 col-span-10 md:col-start-3 md:col-span-8 relative"><div className="-mt-4">- <BlockPreview name="password-based-auth/sign-up" />+ <BlockPreview name="password-based-auth/auth/sign-up" /></div></div><HorizontalGridLine />diff --git a/apps/ui-library/app/example/password-based-auth/forgot-password/page.tsx b/apps/ui-library/app/example/password-based-auth/auth/forgot-password/page.tsxsimilarity index 100%rename from apps/ui-library/app/example/password-based-auth/forgot-password/page.tsxrename to apps/ui-library/app/example/password-based-auth/auth/forgot-password/page.tsxdiff --git a/apps/ui-library/app/example/password-based-auth/login/page.tsx b/apps/ui-library/app/example/password-based-auth/auth/login/page.tsxsimilarity index 100%rename from apps/ui-library/app/example/password-based-auth/login/page.tsxrename to apps/ui-library/app/example/password-based-auth/auth/login/page.tsxdiff --git a/apps/ui-library/app/example/password-based-auth/sign-up-success/page.tsx b/apps/ui-library/app/example/password-based-auth/auth/sign-up-success/page.tsxsimilarity index 100%rename from apps/ui-library/app/example/password-based-auth/sign-up-success/page.tsxrename to apps/ui-library/app/example/password-based-auth/auth/sign-up-success/page.tsxdiff --git a/apps/ui-library/app/example/password-based-auth/sign-up/page.tsx b/apps/ui-library/app/example/password-based-auth/auth/sign-up/page.tsxsimilarity index 100%rename from apps/ui-library/app/example/password-based-auth/sign-up/page.tsxrename to apps/ui-library/app/example/password-based-auth/auth/sign-up/page.tsxdiff --git a/apps/ui-library/app/example/password-based-auth/update-password/page.tsx b/apps/ui-library/app/example/password-based-auth/auth/update-password/page.tsxsimilarity index 100%rename from apps/ui-library/app/example/password-based-auth/update-password/page.tsxrename to apps/ui-library/app/example/password-based-auth/auth/update-password/page.tsxdiff --git a/apps/ui-library/app/example/password-based-auth/protected/SignOutButton.tsx b/apps/ui-library/app/example/password-based-auth/protected/SignOutButton.tsxdeleted file mode 100644index 50947760f00..00000000000--- a/apps/ui-library/app/example/password-based-auth/protected/SignOutButton.tsx+++ /dev/null@@ -1,22 +0,0 @@-'use client'--import { Button } from '@/registry/default/components/ui/button'-import { createClient } from '@/registry/default/clients/nextjs/lib/supabase/client'-import { useRouter } from 'next/navigation'--export function SignOutButton() {- const supabase = createClient()- const router = useRouter()-- return (- <Button- variant="outline"- onClick={() => {- supabase.auth.signOut()- router.push('/example/password-based-auth/login')- }}- >- Sign out- </Button>- )-}diff --git a/apps/ui-library/app/example/password-based-auth/protected/page.tsx b/apps/ui-library/app/example/password-based-auth/protected/page.tsxindex f610f6151c0..204123552db 100644--- a/apps/ui-library/app/example/password-based-auth/protected/page.tsx+++ b/apps/ui-library/app/example/password-based-auth/protected/page.tsx@@ -1,20 +1,19 @@-import { redirect } from 'next/navigation'-+import { LogoutButton } from '@/registry/default/blocks/password-based-auth-nextjs/components/logout-button'import { createClient } from '@/registry/default/clients/nextjs/lib/supabase/server'-import { SignOutButton } from './SignOutButton'+import { redirect } from 'next/navigation'export default async function ProtectedPage() {const supabase = await createClient()const { data, error } = await supabase.auth.getUser()if (error || !data?.user) {- redirect('/login')+ redirect('/example/password-based-auth/auth/login')}return (<><p>Hello {data.user.email}</p>- <SignOutButton />+ <LogoutButton /></>)}diff --git a/apps/ui-library/components/block-preview.tsx b/apps/ui-library/components/block-preview.tsxindex 0524448923a..77e3a9fc251 100644--- a/apps/ui-library/components/block-preview.tsx+++ b/apps/ui-library/components/block-preview.tsx@@ -19,7 +19,7 @@ export function BlockPreview({ name, wide = false, isPair = false }: ComponentPr}><iframe- src={`/ui/example/${name}`}+ src={`${process.env.NEXT_PUBLIC_BASE_PATH ?? ''}/example/${name}`}style={{border: 'none',width: '100%',diff --git a/apps/ui-library/components/colors.tsx b/apps/ui-library/components/colors.tsxdeleted file mode 100644index e1d63267d0f..00000000000--- a/apps/ui-library/components/colors.tsx+++ /dev/null@@ -1,155 +0,0 @@-import { cn } from 'ui/src/lib/utils/cn'-// import { Card } from '@ui/components/shadcn/ui/card'-import color from 'ui/src/lib/tailwind-demo-classes'-import { Grid, GridItem } from './grid'--const Colors = ({- definition,-}: {- definition: 'background' | 'border' | 'text' | 'colors' | 'palletes'-}) => {- const Example = ({ x }: { x: string }) => {- switch (definition) {- case 'background':- return (- <div className={cn(x, 'relative w-full h-12 border border-overlay rounded-full')}></div>- )- break-- case 'border':- return <div className={cn(x, 'relative w-full h-12 border-4 rounded-full')}></div>- break-- case 'text':- return (- <span className={cn(x, 'relative w-full h-12 flex items-center justify-center')}>- Postgres- </span>- )- break-- case 'colors':- return (- <div className={cn(x, 'relative w-full h-12 border border-overlay rounded-full')}></div>- )- break-- case 'palletes':- return (- <div className={cn(x, 'relative w-full h-12 border border-overlay rounded-full')}></div>- )- break-- default:- break- }- }-- return (- <>- <Grid>- {color[definition].map((x: string, i) => {- return (- <GridItem- key={i}- className={cn(x.includes('contrast') && 'bg-foreground hover:bg-foreground-light')}- >- <Example x={x} />- <span className="bg-surface-100 rounded-full border px-2 font-mono text-xs text-foreground-lighter group-data-[state=open]:text-foreground">- {x}- </span>- </GridItem>- )- })}- </Grid>- </>- )-}--{- /* <div className="flex flex-col gap-12 py-20">- <div className="flex flex-row gap-12">- <div>- <h5 className="mb-3">Background</h5>- <div className="flex flex-col gap-3">- {color.background.map((x: string, i) => {- return (- <div className="flex gap-3 items-center" key={i}>- <div className={cn(x, 'relative w-12 h-12 border border-overlay shadow')}></div>- <div className="font-mono text-sm bg-surface-100 px-2 py-0.5 rounded-full">- {x}- </div>- </div>- )- })}- </div>- </div>- <div>- <h5 className="mb-3">Border</h5>- <div className="flex flex-col gap-3">- {color.border.map((x, i) => {- return (- <div className="flex gap-3 items-center" key={i}>- <div className={cn(x, 'relative w-12 h-12 border-4')}></div>- <div className="font-mono text-sm bg-surface-100 px-2 py-0.5 rounded-full">- {x}- </div>- </div>- )- })}- </div>- </div>- <div>- <h5 className="mb-3">texts</h5>- <div className="flex flex-col gap-3">- {color.text.map((x, i) => {- return (- <div className="flex gap-3 items-center" key={i}>- <span className={cn(x, 'relative w-12 h-12 flex items-center justify-center')}>- ###- </span>- <div className="font-mono text-sm bg-surface-100 px-2 py-0.5 rounded-full">- {x}- </div>- </div>- )- })}- </div>- </div>- </div>- <div className="flex flex-row gap-12">- <div>- <h5 className="mb-3">Colors</h5>- <div className="flex flex-col gap-3">- {color.colors.map((x: string, i) => {- return (- <div className="flex gap-3 items-center" key={i}>- <div className={cn(x, 'relative w-12 h-12 border border-overlay shadow')}></div>- <div className="font-mono text-sm bg-surface-100 px-2 py-0.5 rounded-full">- {x}- </div>- </div>- )- })}- </div>- </div>- <div>- <h5 className="mb-3">Palletes</h5>- <div className="flex flex-col gap-3">- {color.palletes.map((x, i) => {- return (- <div className="flex gap-3 items-center" key={i}>- <div className={cn(x, 'relative w-12 h-12 border border-overlay shadow')}></div>- <div className="font-mono text-sm bg-surface-100 px-2 py-0.5 rounded-full">- {x}- </div>- </div>- )- })}- </div>- </div>- </div>- </div> */-}--export { Colors }diff --git a/apps/ui-library/components/framework-selector.tsx b/apps/ui-library/components/framework-selector.tsxindex 17686b9958a..5072e2f9874 100644--- a/apps/ui-library/components/framework-selector.tsx+++ b/apps/ui-library/components/framework-selector.tsx@@ -4,13 +4,13 @@ import { usePathname, useRouter } from 'next/navigation'import { componentPages, frameworkTitles } from '@/config/docs'import { useFramework } from '@/context/framework-context'-import { SelectValue } from '@ui/components/shadcn/ui/select'import {Select_Shadcn_,SelectContent_Shadcn_,SelectGroup_Shadcn_,SelectItem_Shadcn_,SelectTrigger_Shadcn_,+ SelectValue_Shadcn_,} from 'ui'const frameworks = Object.keys(frameworkTitles)@@ -62,7 +62,7 @@ export function FrameworkSelector() {return (<Select_Shadcn_ value={selectedFramework} onValueChange={onSelect}><SelectTrigger_Shadcn_ className="w-[180px]">- <SelectValue />+ <SelectValue_Shadcn_ /></SelectTrigger_Shadcn_><SelectContent_Shadcn_><SelectGroup_Shadcn_>diff --git a/apps/ui-library/components/mdx-components.tsx b/apps/ui-library/components/mdx-components.tsxindex 5d7158cc1be..8554c2ef67c 100644--- a/apps/ui-library/components/mdx-components.tsx+++ b/apps/ui-library/components/mdx-components.tsx@@ -13,12 +13,10 @@ import { CopyButton } from '@/components/copy-button'import { cn } from 'ui'// import { FrameworkDocs } from '@/components/framework-docs'import { CodeFragment } from '@/components/code-fragment'-import { Colors } from '@/components/colors'import { Icons } from '@/components/icons'import { RegistryBlock } from '@/components/registry-block'import { ThemeSettings } from '@/components/theme-settings'import { Style } from '@/registry/styles'-import { DynamicCodeBlock } from 'fumadocs-ui/components/dynamic-codeblock'import {Accordion_Shadcn_ as Accordion,AccordionContent_Shadcn_ as AccordionContent,@@ -42,7 +40,6 @@ import { SonnerPositionConfig } from './sonner-expand-position'import { StyleWrapper } from './style-wrapper'const components = {- DynamicCodeBlock,RegistryBlock,Accordion,AccordionContent,@@ -266,7 +263,6 @@ const components = {{...props}/>),- Colors,Icons,ThemeSettings,CodeFragment,diff --git a/apps/ui-library/components/side-navigation-item.tsx b/apps/ui-library/components/side-navigation-item.tsxindex 691de3058c4..12ff0488c2e 100644--- a/apps/ui-library/components/side-navigation-item.tsx+++ b/apps/ui-library/components/side-navigation-item.tsx@@ -1,10 +1,10 @@'use client'import { SidebarNavItem } from '@/types/nav'-import { cn } from 'ui/src/lib/utils/cn'-import { usePathname } from 'next/navigation'import Link from 'next/link'+import { usePathname } from 'next/navigation'import React from 'react'+import { cn } from 'ui'const NavigationItem: React.FC<{ item: SidebarNavItem }> = React.memo(({ item }) => {const pathname = usePathname()diff --git a/apps/ui-library/components/side-navigation.tsx b/apps/ui-library/components/side-navigation.tsxindex b44f0fc04ff..481186e3a02 100644--- a/apps/ui-library/components/side-navigation.tsx+++ b/apps/ui-library/components/side-navigation.tsx@@ -4,8 +4,8 @@ import NavigationItem from '@/components/side-navigation-item'import { aiEditorsRules, componentPages, gettingStarted } from '@/config/docs'import { useFramework } from '@/context/framework-context'import Link from 'next/link'-import { ThemeSwitcherDropdown } from './theme-switcher-dropdown'import { CommandMenu } from './command-menu'+import { ThemeSwitcherDropdown } from './theme-switcher-dropdown'function SideNavigation() {const { framework: preferredFramework } = useFramework()@@ -55,7 +55,7 @@ function SideNavigation() {<pathd="M63.7076 110.284C60.8481 113.885 55.0502 111.912 54.9813 107.314L53.9738 40.0625L99.1935 40.0625C107.384 40.0625 111.952 49.5226 106.859 55.9372L63.7076 110.284Z"fill="url(#paint1_linear)"- fill-opacity="0.2"+ fillOpacity="0.2"/><pathd="M45.317 2.07103C48.1765 -1.53037 53.9745 0.442937 54.0434 5.041L54.4849 72.2922H9.83113C1.64038 72.2922 -2.92775 62.8321 2.1655 56.4175L45.317 2.07103Z"@@ -70,8 +70,8 @@ function SideNavigation() {y2="71.8293"gradientUnits="userSpaceOnUse">- <stop stop-color="#249361" />- <stop offset="1" stop-color="#3ECF8E" />+ <stop stopColor="#249361" />+ <stop offset="1" stopColor="#3ECF8E" /></linearGradient><linearGradientid="paint1_linear"@@ -82,7 +82,7 @@ function SideNavigation() {gradientUnits="userSpaceOnUse"><stop />- <stop offset="1" stop-opacity="0" />+ <stop offset="1" stopOpacity="0" /></linearGradient></defs></svg>diff --git a/apps/ui-library/components/source-panel.tsx b/apps/ui-library/components/source-panel.tsxindex 92151a863c8..84f40aef3ee 100644--- a/apps/ui-library/components/source-panel.tsx+++ b/apps/ui-library/components/source-panel.tsx@@ -3,9 +3,8 @@ import Link from 'next/link'import { forwardRef } from 'react'import { ExternalLink } from 'lucide-react'-import { Button } from 'ui'-import { cn } from 'ui/src/lib/utils/cn'import Image from 'next/image'+import { Button, cn } from 'ui'const SourcePanel = forwardRef<HTMLDivElement, React.HTMLProps<HTMLDivElement> & { doc: Doc }>(({ doc, children, ...props }, ref) => {diff --git a/apps/ui-library/content/docs/nextjs/password-based-auth.mdx b/apps/ui-library/content/docs/nextjs/password-based-auth.mdxindex 0ea4b7b919c..7f128c40ab3 100644--- a/apps/ui-library/content/docs/nextjs/password-based-auth.mdx+++ b/apps/ui-library/content/docs/nextjs/password-based-auth.mdx@@ -3,7 +3,7 @@ title: Password-based Auth (Next.js)description: Password-based Auth block for Next.js app----<BlockPreview name="password-based-auth/sign-up" />+<BlockPreview name="password-based-auth/auth/sign-up" />## Installationdiff --git a/apps/ui-library/content/docs/react-router/password-based-auth.mdx b/apps/ui-library/content/docs/react-router/password-based-auth.mdxindex 75b7044018d..6281d2f5120 100644--- a/apps/ui-library/content/docs/react-router/password-based-auth.mdx+++ b/apps/ui-library/content/docs/react-router/password-based-auth.mdx@@ -1,9 +1,9 @@----title: Password-based Auth (Next.js)-description: Password-based Auth block for Next.js app+title: Password-based Auth (React Router)+description: Password-based Auth block for React Router app----<BlockPreview name="password-based-auth/sign-up" />+<BlockPreview name="password-based-auth/auth/sign-up" />## Installationdiff --git a/apps/ui-library/package.json b/apps/ui-library/package.jsonindex 6a0095403af..bcc96afb20c 100644--- a/apps/ui-library/package.json+++ b/apps/ui-library/package.json@@ -62,7 +62,6 @@"@types/react-dom": "^18.2.22","autoprefixer": "^10.0.1","config": "workspace:^",- "fumadocs-ui": "^15.1.0","lodash": "^4.17.21","mdast-util-toc": "^6.1.1","postcss": "^8",diff --git a/apps/ui-library/public/r/current-user-avatar-nextjs.json b/apps/ui-library/public/r/current-user-avatar-nextjs.jsonindex 0d6c9afb861..405dfa29dd7 100644--- a/apps/ui-library/public/r/current-user-avatar-nextjs.json+++ b/apps/ui-library/public/r/current-user-avatar-nextjs.json@@ -33,7 +33,7 @@},{"path": "registry/default/clients/nextjs/lib/supabase/middleware.ts",- "content": "import { createServerClient } from '@supabase/ssr'\nimport { NextResponse, type NextRequest } from 'next/server'\n\nexport async function updateSession(request: NextRequest) {\n let supabaseResponse = NextResponse.next({\n request,\n })\n\n const supabase = createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return request.cookies.getAll()\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value }) => request.cookies.set(name, value))\n supabaseResponse = NextResponse.next({\n request,\n })\n cookiesToSet.forEach(({ name, value, options }) =>\n supabaseResponse.cookies.set(name, value, options)\n )\n },\n },\n }\n )\n\n // Do not run code between createServerClient and\n // supabase.auth.getUser(). A simple mistake could make it very hard to debug\n // issues with users being randomly logged out.\n\n // IMPORTANT: DO NOT REMOVE auth.getUser()\n\n const {\n data: { user },\n } = await supabase.auth.getUser()\n\n if (\n !user &&\n !request.nextUrl.pathname.startsWith('/login') &&\n !request.nextUrl.pathname.startsWith('/auth')\n ) {\n // no user, potentially respond by redirecting the user to the login page\n const url = request.nextUrl.clone()\n url.pathname = '/login'\n return NextResponse.redirect(url)\n }\n\n // IMPORTANT: You *must* return the supabaseResponse object as it is.\n // If you're creating a new response object with NextResponse.next() make sure to:\n // 1. Pass the request in it, like so:\n // const myNewResponse = NextResponse.next({ request })\n // 2. Copy over the cookies, like so:\n // myNewResponse.cookies.setAll(supabaseResponse.cookies.getAll())\n // 3. Change the myNewResponse object to fit your needs, but avoid changing\n // the cookies!\n // 4. Finally:\n // return myNewResponse\n // If this is not done, you may be causing the browser and server to go out\n // of sync and terminate the user's session prematurely!\n\n return supabaseResponse\n}\n",+ "content": "import { createServerClient } from '@supabase/ssr'\nimport { NextResponse, type NextRequest } from 'next/server'\n\nexport async function updateSession(request: NextRequest) {\n let supabaseResponse = NextResponse.next({\n request,\n })\n\n const supabase = createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return request.cookies.getAll()\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value }) => request.cookies.set(name, value))\n supabaseResponse = NextResponse.next({\n request,\n })\n cookiesToSet.forEach(({ name, value, options }) =>\n supabaseResponse.cookies.set(name, value, options)\n )\n },\n },\n }\n )\n\n // Do not run code between createServerClient and\n // supabase.auth.getUser(). A simple mistake could make it very hard to debug\n // issues with users being randomly logged out.\n\n // IMPORTANT: DO NOT REMOVE auth.getUser()\n\n const {\n data: { user },\n } = await supabase.auth.getUser()\n\n if (\n !user &&\n !request.nextUrl.pathname.startsWith('/login') &&\n !request.nextUrl.pathname.startsWith('/auth')\n ) {\n // no user, potentially respond by redirecting the user to the login page\n const url = request.nextUrl.clone()\n url.pathname = '/auth/login'\n return NextResponse.redirect(url)\n }\n\n // IMPORTANT: You *must* return the supabaseResponse object as it is.\n // If you're creating a new response object with NextResponse.next() make sure to:\n // 1. Pass the request in it, like so:\n // const myNewResponse = NextResponse.next({ request })\n // 2. Copy over the cookies, like so:\n // myNewResponse.cookies.setAll(supabaseResponse.cookies.getAll())\n // 3. Change the myNewResponse object to fit your needs, but avoid changing\n // the cookies!\n // 4. Finally:\n // return myNewResponse\n // If this is not done, you may be causing the browser and server to go out\n // of sync and terminate the user's session prematurely!\n\n return supabaseResponse\n}\n","type": "registry:lib"},{diff --git a/apps/ui-library/public/r/dropzone-nextjs.json b/apps/ui-library/public/r/dropzone-nextjs.jsonindex f6eca7ec8e3..d6374662349 100644--- a/apps/ui-library/public/r/dropzone-nextjs.json+++ b/apps/ui-library/public/r/dropzone-nextjs.json@@ -32,7 +32,7 @@},{"path": "registry/default/clients/nextjs/lib/supabase/middleware.ts",- "content": "import { createServerClient } from '@supabase/ssr'\nimport { NextResponse, type NextRequest } from 'next/server'\n\nexport async function updateSession(request: NextRequest) {\n let supabaseResponse = NextResponse.next({\n request,\n })\n\n const supabase = createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return request.cookies.getAll()\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value }) => request.cookies.set(name, value))\n supabaseResponse = NextResponse.next({\n request,\n })\n cookiesToSet.forEach(({ name, value, options }) =>\n supabaseResponse.cookies.set(name, value, options)\n )\n },\n },\n }\n )\n\n // Do not run code between createServerClient and\n // supabase.auth.getUser(). A simple mistake could make it very hard to debug\n // issues with users being randomly logged out.\n\n // IMPORTANT: DO NOT REMOVE auth.getUser()\n\n const {\n data: { user },\n } = await supabase.auth.getUser()\n\n if (\n !user &&\n !request.nextUrl.pathname.startsWith('/login') &&\n !request.nextUrl.pathname.startsWith('/auth')\n ) {\n // no user, potentially respond by redirecting the user to the login page\n const url = request.nextUrl.clone()\n url.pathname = '/login'\n return NextResponse.redirect(url)\n }\n\n // IMPORTANT: You *must* return the supabaseResponse object as it is.\n // If you're creating a new response object with NextResponse.next() make sure to:\n // 1. Pass the request in it, like so:\n // const myNewResponse = NextResponse.next({ request })\n // 2. Copy over the cookies, like so:\n // myNewResponse.cookies.setAll(supabaseResponse.cookies.getAll())\n // 3. Change the myNewResponse object to fit your needs, but avoid changing\n // the cookies!\n // 4. Finally:\n // return myNewResponse\n // If this is not done, you may be causing the browser and server to go out\n // of sync and terminate the user's session prematurely!\n\n return supabaseResponse\n}\n",+ "content": "import { createServerClient } from '@supabase/ssr'\nimport { NextResponse, type NextRequest } from 'next/server'\n\nexport async function updateSession(request: NextRequest) {\n let supabaseResponse = NextResponse.next({\n request,\n })\n\n const supabase = createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return request.cookies.getAll()\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value }) => request.cookies.set(name, value))\n supabaseResponse = NextResponse.next({\n request,\n })\n cookiesToSet.forEach(({ name, value, options }) =>\n supabaseResponse.cookies.set(name, value, options)\n )\n },\n },\n }\n )\n\n // Do not run code between createServerClient and\n // supabase.auth.getUser(). A simple mistake could make it very hard to debug\n // issues with users being randomly logged out.\n\n // IMPORTANT: DO NOT REMOVE auth.getUser()\n\n const {\n data: { user },\n } = await supabase.auth.getUser()\n\n if (\n !user &&\n !request.nextUrl.pathname.startsWith('/login') &&\n !request.nextUrl.pathname.startsWith('/auth')\n ) {\n // no user, potentially respond by redirecting the user to the login page\n const url = request.nextUrl.clone()\n url.pathname = '/auth/login'\n return NextResponse.redirect(url)\n }\n\n // IMPORTANT: You *must* return the supabaseResponse object as it is.\n // If you're creating a new response object with NextResponse.next() make sure to:\n // 1. Pass the request in it, like so:\n // const myNewResponse = NextResponse.next({ request })\n // 2. Copy over the cookies, like so:\n // myNewResponse.cookies.setAll(supabaseResponse.cookies.getAll())\n // 3. Change the myNewResponse object to fit your needs, but avoid changing\n // the cookies!\n // 4. Finally:\n // return myNewResponse\n // If this is not done, you may be causing the browser and server to go out\n // of sync and terminate the user's session prematurely!\n\n return supabaseResponse\n}\n","type": "registry:lib"},{diff --git a/apps/ui-library/public/r/password-based-auth-nextjs.json b/apps/ui-library/public/r/password-based-auth-nextjs.jsonindex 895de138556..9520697d593 100644--- a/apps/ui-library/public/r/password-based-auth-nextjs.json+++ b/apps/ui-library/public/r/password-based-auth-nextjs.json@@ -16,32 +16,32 @@],"files": [{- "path": "registry/default/blocks/password-based-auth-nextjs/app/login/page.tsx",+ "path": "registry/default/blocks/password-based-auth-nextjs/app/auth/login/page.tsx","content": "import { LoginForm } from '@/registry/default/blocks/password-based-auth-nextjs/components/login-form'\n\nexport default function Page() {\n return (\n <div className=\"flex min-h-svh w-full items-center justify-center p-6 md:p-10\">\n <div className=\"w-full max-w-sm\">\n <LoginForm />\n </div>\n </div>\n )\n}\n","type": "registry:page",- "target": "app/login/page.tsx"+ "target": "app/auth/login/page.tsx"},{- "path": "registry/default/blocks/password-based-auth-nextjs/app/error/page.tsx",- "content": "import { Card, CardContent, CardHeader, CardTitle } from '@/registry/default/components/ui/card'\n\nexport default function Page({ searchParams }: { searchParams: { error: string } }) {\n return (\n <div className=\"flex min-h-svh w-full items-center justify-center p-6 md:p-10\">\n <div className=\"w-full max-w-sm\">\n <div className=\"flex flex-col gap-6\">\n <Card>\n <CardHeader>\n <CardTitle className=\"text-2xl\">Sorry, something went wrong.</CardTitle>\n </CardHeader>\n <CardContent>\n {searchParams?.error ? (\n <p className=\"text-sm text-muted-foreground\">Code error: {searchParams.error}</p>\n ) : (\n <p className=\"text-sm text-muted-foreground\">An unspecified error occurred.</p>\n )}\n </CardContent>\n </Card>\n </div>\n </div>\n </div>\n )\n}\n",+ "path": "registry/default/blocks/password-based-auth-nextjs/app/auth/error/page.tsx",+ "content": "import { Card, CardContent, CardHeader, CardTitle } from '@/registry/default/components/ui/card'\n\nexport default async function Page({ searchParams }: { searchParams: Promise<{ error: string }> }) {\n const params = await searchParams\n\n return (\n <div className=\"flex min-h-svh w-full items-center justify-center p-6 md:p-10\">\n <div className=\"w-full max-w-sm\">\n <div className=\"flex flex-col gap-6\">\n <Card>\n <CardHeader>\n <CardTitle className=\"text-2xl\">Sorry, something went wrong.</CardTitle>\n </CardHeader>\n <CardContent>\n {params?.error ? (\n <p className=\"text-sm text-muted-foreground\">Code error: {params.error}</p>\n ) : (\n <p className=\"text-sm text-muted-foreground\">An unspecified error occurred.</p>\n )}\n </CardContent>\n </Card>\n </div>\n </div>\n </div>\n )\n}\n","type": "registry:page","target": "app/auth/error/page.tsx"},{"path": "registry/default/blocks/password-based-auth-nextjs/app/protected/page.tsx",- "content": "import { redirect } from 'next/navigation'\n\nimport { createClient } from '@/registry/default/clients/nextjs/lib/supabase/server'\n\nexport default async function ProtectedPage() {\n const supabase = await createClient()\n\n const { data, error } = await supabase.auth.getUser()\n if (error || !data?.user) {\n redirect('/login')\n }\n\n return <p>Hello {data.user.email}</p>\n}\n",+ "content": "import { redirect } from 'next/navigation'\n\nimport { LogoutButton } from '@/registry/default/blocks/password-based-auth-nextjs/components/logout-button'\nimport { createClient } from '@/registry/default/clients/nextjs/lib/supabase/server'\n\nexport default async function ProtectedPage() {\n const supabase = await createClient()\n\n const { data, error } = await supabase.auth.getUser()\n if (error || !data?.user) {\n redirect('/login')\n }\n\n return (\n <div className=\"flex h-svh w-full items-center justify-center gap-2\">\n <p>\n Hello <span>{data.user.email}</span>\n </p>\n <LogoutButton />\n </div>\n )\n}\n","type": "registry:page","target": "app/protected/page.tsx"},{- "path": "registry/default/blocks/password-based-auth-nextjs/app/confirm/route.ts",- "content": "import { type EmailOtpType } from '@supabase/supabase-js'\nimport { type NextRequest } from 'next/server'\n\nimport { createClient } from '@/registry/default/clients/nextjs/lib/supabase/server'\nimport { redirect } from 'next/navigation'\n\nexport async function GET(request: NextRequest) {\n const { searchParams } = new URL(request.url)\n const token_hash = searchParams.get('token_hash')\n const type = searchParams.get('type') as EmailOtpType | null\n const next = searchParams.get('next') ?? '/'\n\n if (token_hash && type) {\n const supabase = await createClient()\n\n const { error } = await supabase.auth.verifyOtp({\n type,\n token_hash,\n })\n if (!error) {\n // redirect user to specified redirect URL or root of app\n redirect(next)\n } else {\n // redirect the user to an error page with some instructions\n redirect(`/auth/error?error=${error?.message}`)\n }\n }\n\n // redirect the user to an error page with some instructions\n redirect(`/auth/error?error=No token hash or type`)\n}\n",+ "path": "registry/default/blocks/password-based-auth-nextjs/app/auth/confirm/route.ts",+ "content": "import { createClient } from '@/registry/default/clients/nextjs/lib/supabase/server'\nimport { type EmailOtpType } from '@supabase/supabase-js'\nimport { redirect } from 'next/navigation'\nimport { type NextRequest } from 'next/server'\n\nexport async function GET(request: NextRequest) {\n const { searchParams } = new URL(request.url)\n const token_hash = searchParams.get('token_hash')\n const type = searchParams.get('type') as EmailOtpType | null\n const next = searchParams.get('next') ?? '/'\n\n if (token_hash && type) {\n const supabase = await createClient()\n\n const { error } = await supabase.auth.verifyOtp({\n type,\n token_hash,\n })\n if (!error) {\n // redirect user to specified redirect URL or root of app\n redirect(next)\n } else {\n // redirect the user to an error page with some instructions\n redirect(`/auth/error?error=${error?.message}`)\n }\n }\n\n // redirect the user to an error page with some instructions\n redirect(`/auth/error?error=No token hash or type`)\n}\n","type": "registry:page","target": "app/auth/confirm/route.ts"},{"path": "registry/default/blocks/password-based-auth-nextjs/components/login-form.tsx",- "content": "'use client'\n\nimport { cn } from '@/lib/utils'\nimport { createClient } from '@/registry/default/clients/nextjs/lib/supabase/client'\nimport { Button } from '@/registry/default/components/ui/button'\nimport {\n Card,\n CardContent,\n CardDescription,\n CardHeader,\n CardTitle,\n} from '@/registry/default/components/ui/card'\nimport { Input } from '@/registry/default/components/ui/input'\nimport { Label } from '@/registry/default/components/ui/label'\nimport Link from 'next/link'\nimport { useRouter } from 'next/navigation'\nimport { useState } from 'react'\n\nexport function LoginForm({ className, ...props }: React.ComponentPropsWithoutRef<'div'>) {\n const [email, setEmail] = useState('')\n const [password, setPassword] = useState('')\n const [error, setError] = useState<string | null>(null)\n const [isLoading, setIsLoading] = useState(false)\n const router = useRouter()\n\n const handleLogin = async (e: React.FormEvent) => {\n e.preventDefault()\n const supabase = createClient()\n setIsLoading(true)\n setError(null)\n\n try {\n const { error } = await supabase.auth.signInWithPassword({\n email,\n password,\n })\n if (error) throw error\n console.log('login successful')\n // Update this route to redirect to an authenticated route. The user already has an active session.\n router.push('/protected')\n } catch (error: unknown) {\n setError(error instanceof Error ? error.message : 'An error occurred')\n } finally {\n setIsLoading(false)\n }\n }\n\n return (\n <div className={cn('flex flex-col gap-6', className)} {...props}>\n <Card>\n <CardHeader>\n <CardTitle className=\"text-2xl\">Login</CardTitle>\n <CardDescription>Enter your email below to login to your account</CardDescription>\n </CardHeader>\n <CardContent>\n <form onSubmit={handleLogin}>\n <div className=\"flex flex-col gap-6\">\n <div className=\"grid gap-2\">\n <Label htmlFor=\"email\">Email</Label>\n <Input\n id=\"email\"\n type=\"email\"\n placeholder=\"[email protected]\"\n required\n value={email}\n onChange={(e) => setEmail(e.target.value)}\n />\n </div>\n <div className=\"grid gap-2\">\n <div className=\"flex items-center\">\n <Label htmlFor=\"password\">Password</Label>\n <Link\n href=\"/forgot-password\"\n className=\"ml-auto inline-block text-sm underline-offset-4 hover:underline\"\n >\n Forgot your password?\n </Link>\n </div>\n <Input\n id=\"password\"\n type=\"password\"\n required\n value={password}\n onChange={(e) => setPassword(e.target.value)}\n />\n </div>\n {error && <p className=\"text-sm text-red-500\">{error}</p>}\n <Button type=\"submit\" className=\"w-full\" disabled={isLoading}>\n {isLoading ? 'Logging in...' : 'Login'}\n </Button>\n </div>\n <div className=\"mt-4 text-center text-sm\">\n Don't have an account?{' '}\n <Link href=\"/sign-up\" className=\"underline underline-offset-4\">\n Sign up\n </Link>\n </div>\n </form>\n </CardContent>\n </Card>\n </div>\n )\n}\n",+ "content": "'use client'\n\nimport { cn } from '@/lib/utils'\nimport { createClient } from '@/registry/default/clients/nextjs/lib/supabase/client'\nimport { Button } from '@/registry/default/components/ui/button'\nimport {\n Card,\n CardContent,\n CardDescription,\n CardHeader,\n CardTitle,\n} from '@/registry/default/components/ui/card'\nimport { Input } from '@/registry/default/components/ui/input'\nimport { Label } from '@/registry/default/components/ui/label'\nimport Link from 'next/link'\nimport { useRouter } from 'next/navigation'\nimport { useState } from 'react'\n\nexport function LoginForm({ className, ...props }: React.ComponentPropsWithoutRef<'div'>) {\n const [email, setEmail] = useState('')\n const [password, setPassword] = useState('')\n const [error, setError] = useState<string | null>(null)\n const [isLoading, setIsLoading] = useState(false)\n const router = useRouter()\n\n const handleLogin = async (e: React.FormEvent) => {\n e.preventDefault()\n const supabase = createClient()\n setIsLoading(true)\n setError(null)\n\n try {\n const { error } = await supabase.auth.signInWithPassword({\n email,\n password,\n })\n if (error) throw error\n // Update this route to redirect to an authenticated route. The user already has an active session.\n router.push('/protected')\n } catch (error: unknown) {\n setError(error instanceof Error ? error.message : 'An error occurred')\n } finally {\n setIsLoading(false)\n }\n }\n\n return (\n <div className={cn('flex flex-col gap-6', className)} {...props}>\n <Card>\n <CardHeader>\n <CardTitle className=\"text-2xl\">Login</CardTitle>\n <CardDescription>Enter your email below to login to your account</CardDescription>\n </CardHeader>\n <CardContent>\n <form onSubmit={handleLogin}>\n <div className=\"flex flex-col gap-6\">\n <div className=\"grid gap-2\">\n <Label htmlFor=\"email\">Email</Label>\n <Input\n id=\"email\"\n type=\"email\"\n placeholder=\"[email protected]\"\n required\n value={email}\n onChange={(e) => setEmail(e.target.value)}\n />\n </div>\n <div className=\"grid gap-2\">\n <div className=\"flex items-center\">\n <Label htmlFor=\"password\">Password</Label>\n <Link\n href=\"/auth/forgot-password\"\n className=\"ml-auto inline-block text-sm underline-offset-4 hover:underline\"\n >\n Forgot your password?\n </Link>\n </div>\n <Input\n id=\"password\"\n type=\"password\"\n required\n value={password}\n onChange={(e) => setPassword(e.target.value)}\n />\n </div>\n {error && <p className=\"text-sm text-red-500\">{error}</p>}\n <Button type=\"submit\" className=\"w-full\" disabled={isLoading}>\n {isLoading ? 'Logging in...' : 'Login'}\n </Button>\n </div>\n <div className=\"mt-4 text-center text-sm\">\n Don't have an account?{' '}\n <Link href=\"/auth/sign-up\" className=\"underline underline-offset-4\">\n Sign up\n </Link>\n </div>\n </form>\n </CardContent>\n </Card>\n </div>\n )\n}\n","type": "registry:component"},{@@ -51,42 +51,47 @@"target": "middleware.ts"},{- "path": "registry/default/blocks/password-based-auth-nextjs/app/sign-up/page.tsx",+ "path": "registry/default/blocks/password-based-auth-nextjs/app/auth/sign-up/page.tsx","content": "import { SignUpForm } from '@/registry/default/blocks/password-based-auth-nextjs/components/sign-up-form'\n\nexport default function Page() {\n return (\n <div className=\"flex min-h-svh w-full items-center justify-center p-6 md:p-10\">\n <div className=\"w-full max-w-sm\">\n <SignUpForm />\n </div>\n </div>\n )\n}\n","type": "registry:page",- "target": "app/sign-up/page.tsx"+ "target": "app/auth/sign-up/page.tsx"},{- "path": "registry/default/blocks/password-based-auth-nextjs/app/sign-up-success/page.tsx",- "content": "import {\n Card,\n CardContent,\n CardDescription,\n CardHeader,\n CardTitle,\n} from '@/registry/default/components/ui/card'\n\nexport default function Page() {\n return (\n <div className=\"flex min-h-svh w-full items-center justify-center p-6 md:p-10\">\n <div className=\"w-full max-w-sm\">\n <div className=\"flex flex-col gap-6\">\n <Card>\n <CardHeader>\n <CardTitle className=\"text-2xl\">Thank you for signing up!</CardTitle>\n <CardDescription>Check your email to confirm</CardDescription>\n </CardHeader>\n <CardContent>\n <p className=\"text-sm text-muted-foreground\">\n You've successfully signed up. Please check your email to confirm your account\n before signing in.\n </p>\n </CardContent>\n </Card>\n </div>\n </div>\n </div>\n )\n}\n",+ "path": "registry/default/blocks/password-based-auth-nextjs/app/auth/sign-up-success/page.tsx",+ "content": "import {\n Card,\n CardContent,\n CardDescription,\n CardHeader,\n CardTitle,\n} from '@/registry/default/components/ui/card'\n\nexport default function Page() {\n return (\n <div className=\"flex min-h-svh w-full items-center justify-center p-6 md:p-10\">\n <div className=\"w-full max-w-sm\">\n <div className=\"flex flex-col gap-6\">\n <Card>\n <CardHeader>\n <CardTitle className=\"text-2xl\">Thank you for signing up!</CardTitle>\n <CardDescription>Check your email to confirm</CardDescription>\n </CardHeader>\n <CardContent>\n <p className=\"text-sm text-muted-foreground\">\n You've successfully signed up. Please check your email to confirm your account\n before signing in.\n </p>\n </CardContent>\n </Card>\n </div>\n </div>\n </div>\n )\n}\n","type": "registry:page",- "target": "app/sign-up-success/page.tsx"+ "target": "app/auth/sign-up-success/page.tsx"},{"path": "registry/default/blocks/password-based-auth-nextjs/components/sign-up-form.tsx",- "content": "'use client'\n\nimport { cn } from '@/lib/utils'\nimport { createClient } from '@/registry/default/clients/nextjs/lib/supabase/client'\nimport { Button } from '@/registry/default/components/ui/button'\nimport {\n Card,\n CardContent,\n CardDescription,\n CardHeader,\n CardTitle,\n} from '@/registry/default/components/ui/card'\nimport { Input } from '@/registry/default/components/ui/input'\nimport { Label } from '@/registry/default/components/ui/label'\nimport Link from 'next/link'\nimport { useRouter } from 'next/navigation'\nimport { useState } from 'react'\n\nexport function SignUpForm({ className, ...props }: React.ComponentPropsWithoutRef<'div'>) {\n const [email, setEmail] = useState('')\n const [password, setPassword] = useState('')\n const [repeatPassword, setRepeatPassword] = useState('')\n const [error, setError] = useState<string | null>(null)\n const [isLoading, setIsLoading] = useState(false)\n const router = useRouter()\n\n const handleSignUp = async (e: React.FormEvent) => {\n e.preventDefault()\n const supabase = createClient()\n setIsLoading(true)\n setError(null)\n\n if (password !== repeatPassword) {\n setError('Passwords do not match')\n setIsLoading(false)\n return\n }\n\n try {\n const { error } = await supabase.auth.signUp({\n email,\n password,\n options: {\n emailRedirectTo: `${window.location.origin}/protected`,\n },\n })\n if (error) throw error\n router.push('/sign-up-success')\n } catch (error: unknown) {\n setError(error instanceof Error ? error.message : 'An error occurred')\n } finally {\n setIsLoading(false)\n }\n }\n\n return (\n <div className={cn('flex flex-col gap-6', className)} {...props}>\n <Card>\n <CardHeader>\n <CardTitle className=\"text-2xl\">Sign up</CardTitle>\n <CardDescription>Create a new account</CardDescription>\n </CardHeader>\n <CardContent>\n <form onSubmit={handleSignUp}>\n <div className=\"flex flex-col gap-6\">\n <div className=\"grid gap-2\">\n <Label htmlFor=\"email\">Email</Label>\n <Input\n id=\"email\"\n type=\"email\"\n placeholder=\"[email protected]\"\n required\n value={email}\n onChange={(e) => setEmail(e.target.value)}\n />\n </div>\n <div className=\"grid gap-2\">\n <div className=\"flex items-center\">\n <Label htmlFor=\"password\">Password</Label>\n </div>\n <Input\n id=\"password\"\n type=\"password\"\n required\n value={password}\n onChange={(e) => setPassword(e.target.value)}\n />\n </div>\n <div className=\"grid gap-2\">\n <div className=\"flex items-center\">\n <Label htmlFor=\"repeat-password\">Repeat Password</Label>\n </div>\n <Input\n id=\"repeat-password\"\n type=\"password\"\n required\n value={repeatPassword}\n onChange={(e) => setRepeatPassword(e.target.value)}\n />\n </div>\n {error && <p className=\"text-sm text-red-500\">{error}</p>}\n <Button type=\"submit\" className=\"w-full\" disabled={isLoading}>\n {isLoading ? 'Creating an account...' : 'Sign up'}\n </Button>\n </div>\n <div className=\"mt-4 text-center text-sm\">\n Already have an account?{' '}\n <Link href=\"/login\" className=\"underline underline-offset-4\">\n Login\n </Link>\n </div>\n </form>\n </CardContent>\n </Card>\n </div>\n )\n}\n",+ "content": "'use client'\n\nimport { cn } from '@/lib/utils'\nimport { createClient } from '@/registry/default/clients/nextjs/lib/supabase/client'\nimport { Button } from '@/registry/default/components/ui/button'\nimport {\n Card,\n CardContent,\n CardDescription,\n CardHeader,\n CardTitle,\n} from '@/registry/default/components/ui/card'\nimport { Input } from '@/registry/default/components/ui/input'\nimport { Label } from '@/registry/default/components/ui/label'\nimport Link from 'next/link'\nimport { useRouter } from 'next/navigation'\nimport { useState } from 'react'\n\nexport function SignUpForm({ className, ...props }: React.ComponentPropsWithoutRef<'div'>) {\n const [email, setEmail] = useState('')\n const [password, setPassword] = useState('')\n const [repeatPassword, setRepeatPassword] = useState('')\n const [error, setError] = useState<string | null>(null)\n const [isLoading, setIsLoading] = useState(false)\n const router = useRouter()\n\n const handleSignUp = async (e: React.FormEvent) => {\n e.preventDefault()\n const supabase = createClient()\n setIsLoading(true)\n setError(null)\n\n if (password !== repeatPassword) {\n setError('Passwords do not match')\n setIsLoading(false)\n return\n }\n\n try {\n const { error } = await supabase.auth.signUp({\n email,\n password,\n options: {\n emailRedirectTo: `${window.location.origin}/protected`,\n },\n })\n if (error) throw error\n router.push('/auth/sign-up-success')\n } catch (error: unknown) {\n setError(error instanceof Error ? error.message : 'An error occurred')\n } finally {\n setIsLoading(false)\n }\n }\n\n return (\n <div className={cn('flex flex-col gap-6', className)} {...props}>\n <Card>\n <CardHeader>\n <CardTitle className=\"text-2xl\">Sign up</CardTitle>\n <CardDescription>Create a new account</CardDescription>\n </CardHeader>\n <CardContent>\n <form onSubmit={handleSignUp}>\n <div className=\"flex flex-col gap-6\">\n <div className=\"grid gap-2\">\n <Label htmlFor=\"email\">Email</Label>\n <Input\n id=\"email\"\n type=\"email\"\n placeholder=\"[email protected]\"\n required\n value={email}\n onChange={(e) => setEmail(e.target.value)}\n />\n </div>\n <div className=\"grid gap-2\">\n <div className=\"flex items-center\">\n <Label htmlFor=\"password\">Password</Label>\n </div>\n <Input\n id=\"password\"\n type=\"password\"\n required\n value={password}\n onChange={(e) => setPassword(e.target.value)}\n />\n </div>\n <div className=\"grid gap-2\">\n <div className=\"flex items-center\">\n <Label htmlFor=\"repeat-password\">Repeat Password</Label>\n </div>\n <Input\n id=\"repeat-password\"\n type=\"password\"\n required\n value={repeatPassword}\n onChange={(e) => setRepeatPassword(e.target.value)}\n />\n </div>\n {error && <p className=\"text-sm text-red-500\">{error}</p>}\n <Button type=\"submit\" className=\"w-full\" disabled={isLoading}>\n {isLoading ? 'Creating an account...' : 'Sign up'}\n </Button>\n </div>\n <div className=\"mt-4 text-center text-sm\">\n Already have an account?{' '}\n <Link href=\"/auth/login\" className=\"underline underline-offset-4\">\n Login\n </Link>\n </div>\n </form>\n </CardContent>\n </Card>\n </div>\n )\n}\n","type": "registry:component"},{- "path": "registry/default/blocks/password-based-auth-nextjs/app/forgot-password/page.tsx",+ "path": "registry/default/blocks/password-based-auth-nextjs/app/auth/forgot-password/page.tsx","content": "import { ForgotPasswordForm } from '@/registry/default/blocks/password-based-auth-nextjs/components/forgot-password-form'\n\nexport default function Page() {\n return (\n <div className=\"flex min-h-svh w-full items-center justify-center p-6 md:p-10\">\n <div className=\"w-full max-w-sm\">\n <ForgotPasswordForm />\n </div>\n </div>\n )\n}\n","type": "registry:page",- "target": "app/forgot-password/page.tsx"+ "target": "app/auth/forgot-password/page.tsx"},{- "path": "registry/default/blocks/password-based-auth-nextjs/app/update-password/page.tsx",+ "path": "registry/default/blocks/password-based-auth-nextjs/app/auth/update-password/page.tsx","content": "import { UpdatePasswordForm } from '@/registry/default/blocks/password-based-auth-nextjs/components/update-password-form'\n\nexport default function Page() {\n return (\n <div className=\"flex min-h-svh w-full items-center justify-center p-6 md:p-10\">\n <div className=\"w-full max-w-sm\">\n <UpdatePasswordForm />\n </div>\n </div>\n )\n}\n","type": "registry:page",- "target": "app/update-password/page.tsx"+ "target": "app/auth/update-password/page.tsx"},{"path": "registry/default/blocks/password-based-auth-nextjs/components/forgot-password-form.tsx",- "content": "'use client'\n\nimport { cn } from '@/lib/utils'\nimport { createClient } from '@/registry/default/clients/nextjs/lib/supabase/client'\nimport { Button } from '@/registry/default/components/ui/button'\nimport {\n Card,\n CardContent,\n CardDescription,\n CardHeader,\n CardTitle,\n} from '@/registry/default/components/ui/card'\nimport { Input } from '@/registry/default/components/ui/input'\nimport { Label } from '@/registry/default/components/ui/label'\nimport Link from 'next/link'\nimport { useState } from 'react'\n\nexport function ForgotPasswordForm({ className, ...props }: React.ComponentPropsWithoutRef<'div'>) {\n const [email, setEmail] = useState('')\n const [error, setError] = useState<string | null>(null)\n const [success, setSuccess] = useState(false)\n const [isLoading, setIsLoading] = useState(false)\n\n const handleForgotPassword = async (e: React.FormEvent) => {\n e.preventDefault()\n const supabase = createClient()\n setIsLoading(true)\n setError(null)\n\n try {\n // The url which will be included in the email. This URL needs to be configured in your redirect URLs in the Supabase dashboard at https://supabase.com/dashboard/project/_/auth/url-configuration\n const { error } = await supabase.auth.resetPasswordForEmail(email, {\n redirectTo: `${window.location.origin}/update-password`,\n })\n if (error) throw error\n setSuccess(true)\n } catch (error: unknown) {\n setError(error instanceof Error ? error.message : 'An error occurred')\n } finally {\n setIsLoading(false)\n }\n }\n\n return (\n <div className={cn('flex flex-col gap-6', className)} {...props}>\n {success ? (\n <Card>\n <CardHeader>\n <CardTitle className=\"text-2xl\">Check Your Email</CardTitle>\n <CardDescription>Password reset instructions sent</CardDescription>\n </CardHeader>\n <CardContent>\n <p className=\"text-sm text-muted-foreground\">\n If you registered using your email and password, you will receive a password reset\n email.\n </p>\n </CardContent>\n </Card>\n ) : (\n <Card>\n <CardHeader>\n <CardTitle className=\"text-2xl\">Reset Your Password</CardTitle>\n <CardDescription>\n Type in your email and we'll send you a link to reset your password\n </CardDescription>\n </CardHeader>\n <CardContent>\n <form onSubmit={handleForgotPassword}>\n <div className=\"flex flex-col gap-6\">\n <div className=\"grid gap-2\">\n <Label htmlFor=\"email\">Email</Label>\n <Input\n id=\"email\"\n type=\"email\"\n placeholder=\"[email protected]\"\n required\n value={email}\n onChange={(e) => setEmail(e.target.value)}\n />\n </div>\n {error && <p className=\"text-sm text-red-500\">{error}</p>}\n <Button type=\"submit\" className=\"w-full\" disabled={isLoading}>\n {isLoading ? 'Sending...' : 'Send reset email'}\n </Button>\n </div>\n <div className=\"mt-4 text-center text-sm\">\n Already have an account?{' '}\n <Link href=\"/login\" className=\"underline underline-offset-4\">\n Login\n </Link>\n </div>\n </form>\n </CardContent>\n </Card>\n )}\n </div>\n )\n}\n",+ "content": "'use client'\n\nimport { cn } from '@/lib/utils'\nimport { createClient } from '@/registry/default/clients/nextjs/lib/supabase/client'\nimport { Button } from '@/registry/default/components/ui/button'\nimport {\n Card,\n CardContent,\n CardDescription,\n CardHeader,\n CardTitle,\n} from '@/registry/default/components/ui/card'\nimport { Input } from '@/registry/default/components/ui/input'\nimport { Label } from '@/registry/default/components/ui/label'\nimport Link from 'next/link'\nimport { useState } from 'react'\n\nexport function ForgotPasswordForm({ className, ...props }: React.ComponentPropsWithoutRef<'div'>) {\n const [email, setEmail] = useState('')\n const [error, setError] = useState<string | null>(null)\n const [success, setSuccess] = useState(false)\n const [isLoading, setIsLoading] = useState(false)\n\n const handleForgotPassword = async (e: React.FormEvent) => {\n e.preventDefault()\n const supabase = createClient()\n setIsLoading(true)\n setError(null)\n\n try {\n // The url which will be included in the email. This URL needs to be configured in your redirect URLs in the Supabase dashboard at https://supabase.com/dashboard/project/_/auth/url-configuration\n const { error } = await supabase.auth.resetPasswordForEmail(email, {\n redirectTo: `${window.location.origin}/auth/update-password`,\n })\n if (error) throw error\n setSuccess(true)\n } catch (error: unknown) {\n setError(error instanceof Error ? error.message : 'An error occurred')\n } finally {\n setIsLoading(false)\n }\n }\n\n return (\n <div className={cn('flex flex-col gap-6', className)} {...props}>\n {success ? (\n <Card>\n <CardHeader>\n <CardTitle className=\"text-2xl\">Check Your Email</CardTitle>\n <CardDescription>Password reset instructions sent</CardDescription>\n </CardHeader>\n <CardContent>\n <p className=\"text-sm text-muted-foreground\">\n If you registered using your email and password, you will receive a password reset\n email.\n </p>\n </CardContent>\n </Card>\n ) : (\n <Card>\n <CardHeader>\n <CardTitle className=\"text-2xl\">Reset Your Password</CardTitle>\n <CardDescription>\n Type in your email and we'll send you a link to reset your password\n </CardDescription>\n </CardHeader>\n <CardContent>\n <form onSubmit={handleForgotPassword}>\n <div className=\"flex flex-col gap-6\">\n <div className=\"grid gap-2\">\n <Label htmlFor=\"email\">Email</Label>\n <Input\n id=\"email\"\n type=\"email\"\n placeholder=\"[email protected]\"\n required\n value={email}\n onChange={(e) => setEmail(e.target.value)}\n />\n </div>\n {error && <p className=\"text-sm text-red-500\">{error}</p>}\n <Button type=\"submit\" className=\"w-full\" disabled={isLoading}>\n {isLoading ? 'Sending...' : 'Send reset email'}\n </Button>\n </div>\n <div className=\"mt-4 text-center text-sm\">\n Already have an account?{' '}\n <Link href=\"/auth/login\" className=\"underline underline-offset-4\">\n Login\n </Link>\n </div>\n </form>\n </CardContent>\n </Card>\n )}\n </div>\n )\n}\n","type": "registry:component"},{"path": "registry/default/blocks/password-based-auth-nextjs/components/update-password-form.tsx",- "content": "'use client'\n\nimport { cn } from '@/lib/utils'\nimport { createClient } from '@/registry/default/clients/nextjs/lib/supabase/client'\nimport { Button } from '@/registry/default/components/ui/button'\nimport {\n Card,\n CardContent,\n CardDescription,\n CardHeader,\n CardTitle,\n} from '@/registry/default/components/ui/card'\nimport { Input } from '@/registry/default/components/ui/input'\nimport { Label } from '@/registry/default/components/ui/label'\nimport { useRouter } from 'next/navigation'\nimport { useState } from 'react'\n\nexport function UpdatePasswordForm({ className, ...props }: React.ComponentPropsWithoutRef<'div'>) {\n const [password, setPassword] = useState('')\n const [error, setError] = useState<string | null>(null)\n const [isLoading, setIsLoading] = useState(false)\n const router = useRouter()\n\n const handleForgotPassword = async (e: React.FormEvent) => {\n e.preventDefault()\n const supabase = createClient()\n setIsLoading(true)\n setError(null)\n\n try {\n const { error } = await supabase.auth.updateUser({ password })\n if (error) throw error\n // Update this route to redirect to an authenticated route. The user already has an active session.\n router.push('/protected')\n } catch (error: unknown) {\n setError(error instanceof Error ? error.message : 'An error occurred')\n } finally {\n setIsLoading(false)\n }\n }\n\n return (\n <div className={cn('flex flex-col gap-6', className)} {...props}>\n <Card>\n <CardHeader>\n <CardTitle className=\"text-2xl\">Reset Your Password</CardTitle>\n <CardDescription>Please enter your new password below.</CardDescription>\n </CardHeader>\n <CardContent>\n <form onSubmit={handleForgotPassword}>\n <div className=\"flex flex-col gap-6\">\n <div className=\"grid gap-2\">\n <Label htmlFor=\"password\">New password</Label>\n <Input\n id=\"password\"\n type=\"password\"\n placeholder=\"New password\"\n required\n value={password}\n onChange={(e) => setPassword(e.target.value)}\n />\n </div>\n {error && <p className=\"text-sm text-red-500\">{error}</p>}\n <Button type=\"submit\" className=\"w-full\" disabled={isLoading}>\n {isLoading ? 'Saving...' : 'Save new password'}\n </Button>\n </div>\n <div className=\"mt-4 text-center text-sm\">\n Already have an account?{' '}\n <a href=\"/login\" className=\"underline underline-offset-4\">\n Login\n </a>\n </div>\n </form>\n </CardContent>\n </Card>\n </div>\n )\n}\n",+ "content": "'use client'\n\nimport { cn } from '@/lib/utils'\nimport { createClient } from '@/registry/default/clients/nextjs/lib/supabase/client'\nimport { Button } from '@/registry/default/components/ui/button'\nimport {\n Card,\n CardContent,\n CardDescription,\n CardHeader,\n CardTitle,\n} from '@/registry/default/components/ui/card'\nimport { Input } from '@/registry/default/components/ui/input'\nimport { Label } from '@/registry/default/components/ui/label'\nimport { useRouter } from 'next/navigation'\nimport { useState } from 'react'\n\nexport function UpdatePasswordForm({ className, ...props }: React.ComponentPropsWithoutRef<'div'>) {\n const [password, setPassword] = useState('')\n const [error, setError] = useState<string | null>(null)\n const [isLoading, setIsLoading] = useState(false)\n const router = useRouter()\n\n const handleForgotPassword = async (e: React.FormEvent) => {\n e.preventDefault()\n const supabase = createClient()\n setIsLoading(true)\n setError(null)\n\n try {\n const { error } = await supabase.auth.updateUser({ password })\n if (error) throw error\n // Update this route to redirect to an authenticated route. The user already has an active session.\n router.push('/protected')\n } catch (error: unknown) {\n setError(error instanceof Error ? error.message : 'An error occurred')\n } finally {\n setIsLoading(false)\n }\n }\n\n return (\n <div className={cn('flex flex-col gap-6', className)} {...props}>\n <Card>\n <CardHeader>\n <CardTitle className=\"text-2xl\">Reset Your Password</CardTitle>\n <CardDescription>Please enter your new password below.</CardDescription>\n </CardHeader>\n <CardContent>\n <form onSubmit={handleForgotPassword}>\n <div className=\"flex flex-col gap-6\">\n <div className=\"grid gap-2\">\n <Label htmlFor=\"password\">New password</Label>\n <Input\n id=\"password\"\n type=\"password\"\n placeholder=\"New password\"\n required\n value={password}\n onChange={(e) => setPassword(e.target.value)}\n />\n </div>\n {error && <p className=\"text-sm text-red-500\">{error}</p>}\n <Button type=\"submit\" className=\"w-full\" disabled={isLoading}>\n {isLoading ? 'Saving...' : 'Save new password'}\n </Button>\n </div>\n </form>\n </CardContent>\n </Card>\n </div>\n )\n}\n",+ "type": "registry:component"+ },+ {+ "path": "registry/default/blocks/password-based-auth-nextjs/components/logout-button.tsx",+ "content": "'use client'\n\nimport { createClient } from '@/registry/default/clients/nextjs/lib/supabase/client'\nimport { Button } from '@/registry/default/components/ui/button'\nimport { useRouter } from 'next/navigation'\n\nexport function LogoutButton() {\n const router = useRouter()\n\n const logout = async () => {\n const supabase = createClient()\n await supabase.auth.signOut()\n router.push('/auth/login')\n }\n\n return <Button onClick={logout}>Logout</Button>\n}\n","type": "registry:component"},{@@ -96,7 +101,7 @@},{"path": "registry/default/clients/nextjs/lib/supabase/middleware.ts",- "content": "import { createServerClient } from '@supabase/ssr'\nimport { NextResponse, type NextRequest } from 'next/server'\n\nexport async function updateSession(request: NextRequest) {\n let supabaseResponse = NextResponse.next({\n request,\n })\n\n const supabase = createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return request.cookies.getAll()\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value }) => request.cookies.set(name, value))\n supabaseResponse = NextResponse.next({\n request,\n })\n cookiesToSet.forEach(({ name, value, options }) =>\n supabaseResponse.cookies.set(name, value, options)\n )\n },\n },\n }\n )\n\n // Do not run code between createServerClient and\n // supabase.auth.getUser(). A simple mistake could make it very hard to debug\n // issues with users being randomly logged out.\n\n // IMPORTANT: DO NOT REMOVE auth.getUser()\n\n const {\n data: { user },\n } = await supabase.auth.getUser()\n\n if (\n !user &&\n !request.nextUrl.pathname.startsWith('/login') &&\n !request.nextUrl.pathname.startsWith('/auth')\n ) {\n // no user, potentially respond by redirecting the user to the login page\n const url = request.nextUrl.clone()\n url.pathname = '/login'\n return NextResponse.redirect(url)\n }\n\n // IMPORTANT: You *must* return the supabaseResponse object as it is.\n // If you're creating a new response object with NextResponse.next() make sure to:\n // 1. Pass the request in it, like so:\n // const myNewResponse = NextResponse.next({ request })\n // 2. Copy over the cookies, like so:\n // myNewResponse.cookies.setAll(supabaseResponse.cookies.getAll())\n // 3. Change the myNewResponse object to fit your needs, but avoid changing\n // the cookies!\n // 4. Finally:\n // return myNewResponse\n // If this is not done, you may be causing the browser and server to go out\n // of sync and terminate the user's session prematurely!\n\n return supabaseResponse\n}\n",+ "content": "import { createServerClient } from '@supabase/ssr'\nimport { NextResponse, type NextRequest } from 'next/server'\n\nexport async function updateSession(request: NextRequest) {\n let supabaseResponse = NextResponse.next({\n request,\n })\n\n const supabase = createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return request.cookies.getAll()\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value }) => request.cookies.set(name, value))\n supabaseResponse = NextResponse.next({\n request,\n })\n cookiesToSet.forEach(({ name, value, options }) =>\n supabaseResponse.cookies.set(name, value, options)\n )\n },\n },\n }\n )\n\n // Do not run code between createServerClient and\n // supabase.auth.getUser(). A simple mistake could make it very hard to debug\n // issues with users being randomly logged out.\n\n // IMPORTANT: DO NOT REMOVE auth.getUser()\n\n const {\n data: { user },\n } = await supabase.auth.getUser()\n\n if (\n !user &&\n !request.nextUrl.pathname.startsWith('/login') &&\n !request.nextUrl.pathname.startsWith('/auth')\n ) {\n // no user, potentially respond by redirecting the user to the login page\n const url = request.nextUrl.clone()\n url.pathname = '/auth/login'\n return NextResponse.redirect(url)\n }\n\n // IMPORTANT: You *must* return the supabaseResponse object as it is.\n // If you're creating a new response object with NextResponse.next() make sure to:\n // 1. Pass the request in it, like so:\n // const myNewResponse = NextResponse.next({ request })\n // 2. Copy over the cookies, like so:\n // myNewResponse.cookies.setAll(supabaseResponse.cookies.getAll())\n // 3. Change the myNewResponse object to fit your needs, but avoid changing\n // the cookies!\n // 4. Finally:\n // return myNewResponse\n // If this is not done, you may be causing the browser and server to go out\n // of sync and terminate the user's session prematurely!\n\n return supabaseResponse\n}\n","type": "registry:lib"},{diff --git a/apps/ui-library/public/r/realtime-avatar-stack-nextjs.json b/apps/ui-library/public/r/realtime-avatar-stack-nextjs.jsonindex 4b988897e12..8bf06332056 100644--- a/apps/ui-library/public/r/realtime-avatar-stack-nextjs.json+++ b/apps/ui-library/public/r/realtime-avatar-stack-nextjs.json@@ -44,7 +44,7 @@},{"path": "registry/default/clients/nextjs/lib/supabase/middleware.ts",- "content": "import { createServerClient } from '@supabase/ssr'\nimport { NextResponse, type NextRequest } from 'next/server'\n\nexport async function updateSession(request: NextRequest) {\n let supabaseResponse = NextResponse.next({\n request,\n })\n\n const supabase = createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return request.cookies.getAll()\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value }) => request.cookies.set(name, value))\n supabaseResponse = NextResponse.next({\n request,\n })\n cookiesToSet.forEach(({ name, value, options }) =>\n supabaseResponse.cookies.set(name, value, options)\n )\n },\n },\n }\n )\n\n // Do not run code between createServerClient and\n // supabase.auth.getUser(). A simple mistake could make it very hard to debug\n // issues with users being randomly logged out.\n\n // IMPORTANT: DO NOT REMOVE auth.getUser()\n\n const {\n data: { user },\n } = await supabase.auth.getUser()\n\n if (\n !user &&\n !request.nextUrl.pathname.startsWith('/login') &&\n !request.nextUrl.pathname.startsWith('/auth')\n ) {\n // no user, potentially respond by redirecting the user to the login page\n const url = request.nextUrl.clone()\n url.pathname = '/login'\n return NextResponse.redirect(url)\n }\n\n // IMPORTANT: You *must* return the supabaseResponse object as it is.\n // If you're creating a new response object with NextResponse.next() make sure to:\n // 1. Pass the request in it, like so:\n // const myNewResponse = NextResponse.next({ request })\n // 2. Copy over the cookies, like so:\n // myNewResponse.cookies.setAll(supabaseResponse.cookies.getAll())\n // 3. Change the myNewResponse object to fit your needs, but avoid changing\n // the cookies!\n // 4. Finally:\n // return myNewResponse\n // If this is not done, you may be causing the browser and server to go out\n // of sync and terminate the user's session prematurely!\n\n return supabaseResponse\n}\n",+ "content": "import { createServerClient } from '@supabase/ssr'\nimport { NextResponse, type NextRequest } from 'next/server'\n\nexport async function updateSession(request: NextRequest) {\n let supabaseResponse = NextResponse.next({\n request,\n })\n\n const supabase = createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return request.cookies.getAll()\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value }) => request.cookies.set(name, value))\n supabaseResponse = NextResponse.next({\n request,\n })\n cookiesToSet.forEach(({ name, value, options }) =>\n supabaseResponse.cookies.set(name, value, options)\n )\n },\n },\n }\n )\n\n // Do not run code between createServerClient and\n // supabase.auth.getUser(). A simple mistake could make it very hard to debug\n // issues with users being randomly logged out.\n\n // IMPORTANT: DO NOT REMOVE auth.getUser()\n\n const {\n data: { user },\n } = await supabase.auth.getUser()\n\n if (\n !user &&\n !request.nextUrl.pathname.startsWith('/login') &&\n !request.nextUrl.pathname.startsWith('/auth')\n ) {\n // no user, potentially respond by redirecting the user to the login page\n const url = request.nextUrl.clone()\n url.pathname = '/auth/login'\n return NextResponse.redirect(url)\n }\n\n // IMPORTANT: You *must* return the supabaseResponse object as it is.\n // If you're creating a new response object with NextResponse.next() make sure to:\n // 1. Pass the request in it, like so:\n // const myNewResponse = NextResponse.next({ request })\n // 2. Copy over the cookies, like so:\n // myNewResponse.cookies.setAll(supabaseResponse.cookies.getAll())\n // 3. Change the myNewResponse object to fit your needs, but avoid changing\n // the cookies!\n // 4. Finally:\n // return myNewResponse\n // If this is not done, you may be causing the browser and server to go out\n // of sync and terminate the user's session prematurely!\n\n return supabaseResponse\n}\n","type": "registry:lib"},{diff --git a/apps/ui-library/public/r/realtime-cursor-nextjs.json b/apps/ui-library/public/r/realtime-cursor-nextjs.jsonindex 0922f7689ec..12155a4af05 100644--- a/apps/ui-library/public/r/realtime-cursor-nextjs.json+++ b/apps/ui-library/public/r/realtime-cursor-nextjs.json@@ -32,7 +32,7 @@},{"path": "registry/default/clients/nextjs/lib/supabase/middleware.ts",- "content": "import { createServerClient } from '@supabase/ssr'\nimport { NextResponse, type NextRequest } from 'next/server'\n\nexport async function updateSession(request: NextRequest) {\n let supabaseResponse = NextResponse.next({\n request,\n })\n\n const supabase = createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return request.cookies.getAll()\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value }) => request.cookies.set(name, value))\n supabaseResponse = NextResponse.next({\n request,\n })\n cookiesToSet.forEach(({ name, value, options }) =>\n supabaseResponse.cookies.set(name, value, options)\n )\n },\n },\n }\n )\n\n // Do not run code between createServerClient and\n // supabase.auth.getUser(). A simple mistake could make it very hard to debug\n // issues with users being randomly logged out.\n\n // IMPORTANT: DO NOT REMOVE auth.getUser()\n\n const {\n data: { user },\n } = await supabase.auth.getUser()\n\n if (\n !user &&\n !request.nextUrl.pathname.startsWith('/login') &&\n !request.nextUrl.pathname.startsWith('/auth')\n ) {\n // no user, potentially respond by redirecting the user to the login page\n const url = request.nextUrl.clone()\n url.pathname = '/login'\n return NextResponse.redirect(url)\n }\n\n // IMPORTANT: You *must* return the supabaseResponse object as it is.\n // If you're creating a new response object with NextResponse.next() make sure to:\n // 1. Pass the request in it, like so:\n // const myNewResponse = NextResponse.next({ request })\n // 2. Copy over the cookies, like so:\n // myNewResponse.cookies.setAll(supabaseResponse.cookies.getAll())\n // 3. Change the myNewResponse object to fit your needs, but avoid changing\n // the cookies!\n // 4. Finally:\n // return myNewResponse\n // If this is not done, you may be causing the browser and server to go out\n // of sync and terminate the user's session prematurely!\n\n return supabaseResponse\n}\n",+ "content": "import { createServerClient } from '@supabase/ssr'\nimport { NextResponse, type NextRequest } from 'next/server'\n\nexport async function updateSession(request: NextRequest) {\n let supabaseResponse = NextResponse.next({\n request,\n })\n\n const supabase = createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return request.cookies.getAll()\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value }) => request.cookies.set(name, value))\n supabaseResponse = NextResponse.next({\n request,\n })\n cookiesToSet.forEach(({ name, value, options }) =>\n supabaseResponse.cookies.set(name, value, options)\n )\n },\n },\n }\n )\n\n // Do not run code between createServerClient and\n // supabase.auth.getUser(). A simple mistake could make it very hard to debug\n // issues with users being randomly logged out.\n\n // IMPORTANT: DO NOT REMOVE auth.getUser()\n\n const {\n data: { user },\n } = await supabase.auth.getUser()\n\n if (\n !user &&\n !request.nextUrl.pathname.startsWith('/login') &&\n !request.nextUrl.pathname.startsWith('/auth')\n ) {\n // no user, potentially respond by redirecting the user to the login page\n const url = request.nextUrl.clone()\n url.pathname = '/auth/login'\n return NextResponse.redirect(url)\n }\n\n // IMPORTANT: You *must* return the supabaseResponse object as it is.\n // If you're creating a new response object with NextResponse.next() make sure to:\n // 1. Pass the request in it, like so:\n // const myNewResponse = NextResponse.next({ request })\n // 2. Copy over the cookies, like so:\n // myNewResponse.cookies.setAll(supabaseResponse.cookies.getAll())\n // 3. Change the myNewResponse object to fit your needs, but avoid changing\n // the cookies!\n // 4. Finally:\n // return myNewResponse\n // If this is not done, you may be causing the browser and server to go out\n // of sync and terminate the user's session prematurely!\n\n return supabaseResponse\n}\n","type": "registry:lib"},{diff --git a/apps/ui-library/public/r/supabase-client-nextjs.json b/apps/ui-library/public/r/supabase-client-nextjs.jsonindex 126b2e08ec1..e22f4552654 100644--- a/apps/ui-library/public/r/supabase-client-nextjs.json+++ b/apps/ui-library/public/r/supabase-client-nextjs.json@@ -16,7 +16,7 @@},{"path": "registry/default/clients/nextjs/lib/supabase/middleware.ts",- "content": "import { createServerClient } from '@supabase/ssr'\nimport { NextResponse, type NextRequest } from 'next/server'\n\nexport async function updateSession(request: NextRequest) {\n let supabaseResponse = NextResponse.next({\n request,\n })\n\n const supabase = createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return request.cookies.getAll()\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value }) => request.cookies.set(name, value))\n supabaseResponse = NextResponse.next({\n request,\n })\n cookiesToSet.forEach(({ name, value, options }) =>\n supabaseResponse.cookies.set(name, value, options)\n )\n },\n },\n }\n )\n\n // Do not run code between createServerClient and\n // supabase.auth.getUser(). A simple mistake could make it very hard to debug\n // issues with users being randomly logged out.\n\n // IMPORTANT: DO NOT REMOVE auth.getUser()\n\n const {\n data: { user },\n } = await supabase.auth.getUser()\n\n if (\n !user &&\n !request.nextUrl.pathname.startsWith('/login') &&\n !request.nextUrl.pathname.startsWith('/auth')\n ) {\n // no user, potentially respond by redirecting the user to the login page\n const url = request.nextUrl.clone()\n url.pathname = '/login'\n return NextResponse.redirect(url)\n }\n\n // IMPORTANT: You *must* return the supabaseResponse object as it is.\n // If you're creating a new response object with NextResponse.next() make sure to:\n // 1. Pass the request in it, like so:\n // const myNewResponse = NextResponse.next({ request })\n // 2. Copy over the cookies, like so:\n // myNewResponse.cookies.setAll(supabaseResponse.cookies.getAll())\n // 3. Change the myNewResponse object to fit your needs, but avoid changing\n // the cookies!\n // 4. Finally:\n // return myNewResponse\n // If this is not done, you may be causing the browser and server to go out\n // of sync and terminate the user's session prematurely!\n\n return supabaseResponse\n}\n",+ "content": "import { createServerClient } from '@supabase/ssr'\nimport { NextResponse, type NextRequest } from 'next/server'\n\nexport async function updateSession(request: NextRequest) {\n let supabaseResponse = NextResponse.next({\n request,\n })\n\n const supabase = createServerClient(\n process.env.NEXT_PUBLIC_SUPABASE_URL!,\n process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,\n {\n cookies: {\n getAll() {\n return request.cookies.getAll()\n },\n setAll(cookiesToSet) {\n cookiesToSet.forEach(({ name, value }) => request.cookies.set(name, value))\n supabaseResponse = NextResponse.next({\n request,\n })\n cookiesToSet.forEach(({ name, value, options }) =>\n supabaseResponse.cookies.set(name, value, options)\n )\n },\n },\n }\n )\n\n // Do not run code between createServerClient and\n // supabase.auth.getUser(). A simple mistake could make it very hard to debug\n // issues with users being randomly logged out.\n\n // IMPORTANT: DO NOT REMOVE auth.getUser()\n\n const {\n data: { user },\n } = await supabase.auth.getUser()\n\n if (\n !user &&\n !request.nextUrl.pathname.startsWith('/login') &&\n !request.nextUrl.pathname.startsWith('/auth')\n ) {\n // no user, potentially respond by redirecting the user to the login page\n const url = request.nextUrl.clone()\n url.pathname = '/auth/login'\n return NextResponse.redirect(url)\n }\n\n // IMPORTANT: You *must* return the supabaseResponse object as it is.\n // If you're creating a new response object with NextResponse.next() make sure to:\n // 1. Pass the request in it, like so:\n // const myNewResponse = NextResponse.next({ request })\n // 2. Copy over the cookies, like so:\n // myNewResponse.cookies.setAll(supabaseResponse.cookies.getAll())\n // 3. Change the myNewResponse object to fit your needs, but avoid changing\n // the cookies!\n // 4. Finally:\n // return myNewResponse\n // If this is not done, you may be causing the browser and server to go out\n // of sync and terminate the user's session prematurely!\n\n return supabaseResponse\n}\n","type": "registry:lib"},{diff --git a/apps/ui-library/registry.json b/apps/ui-library/registry.jsonindex 5c885b18d3d..983db290a2a 100644--- a/apps/ui-library/registry.json+++ b/apps/ui-library/registry.json@@ -12,12 +12,12 @@"dependencies": ["@supabase/ssr@latest", "@supabase/supabase-js@latest"],"files": [{- "path": "registry/default/blocks/password-based-auth-nextjs/app/login/page.tsx",+ "path": "registry/default/blocks/password-based-auth-nextjs/app/auth/login/page.tsx","type": "registry:page",- "target": "app/login/page.tsx"+ "target": "app/auth/login/page.tsx"},{- "path": "registry/default/blocks/password-based-auth-nextjs/app/error/page.tsx",+ "path": "registry/default/blocks/password-based-auth-nextjs/app/auth/error/page.tsx","type": "registry:page","target": "app/auth/error/page.tsx"},@@ -27,7 +27,7 @@"target": "app/protected/page.tsx"},{- "path": "registry/default/blocks/password-based-auth-nextjs/app/confirm/route.ts",+ "path": "registry/default/blocks/password-based-auth-nextjs/app/auth/confirm/route.ts","type": "registry:page","target": "app/auth/confirm/route.ts"},@@ -41,28 +41,28 @@"target": "middleware.ts"},{- "path": "registry/default/blocks/password-based-auth-nextjs/app/sign-up/page.tsx",+ "path": "registry/default/blocks/password-based-auth-nextjs/app/auth/sign-up/page.tsx","type": "registry:page",- "target": "app/sign-up/page.tsx"+ "target": "app/auth/sign-up/page.tsx"},{- "path": "registry/default/blocks/password-based-auth-nextjs/app/sign-up-success/page.tsx",+ "path": "registry/default/blocks/password-based-auth-nextjs/app/auth/sign-up-success/page.tsx","type": "registry:page",- "target": "app/sign-up-success/page.tsx"+ "target": "app/auth/sign-up-success/page.tsx"},{"path": "registry/default/blocks/password-based-auth-nextjs/components/sign-up-form.tsx","type": "registry:component"},{- "path": "registry/default/blocks/password-based-auth-nextjs/app/forgot-password/page.tsx",+ "path": "registry/default/blocks/password-based-auth-nextjs/app/auth/forgot-password/page.tsx","type": "registry:page",- "target": "app/forgot-password/page.tsx"+ "target": "app/auth/forgot-password/page.tsx"},{- "path": "registry/default/blocks/password-based-auth-nextjs/app/update-password/page.tsx",+ "path": "registry/default/blocks/password-based-auth-nextjs/app/auth/update-password/page.tsx","type": "registry:page",- "target": "app/update-password/page.tsx"+ "target": "app/auth/update-password/page.tsx"},{"path": "registry/default/blocks/password-based-auth-nextjs/components/forgot-password-form.tsx",@@ -72,6 +72,10 @@"path": "registry/default/blocks/password-based-auth-nextjs/components/update-password-form.tsx","type": "registry:component"},+ {+ "path": "registry/default/blocks/password-based-auth-nextjs/components/logout-button.tsx",+ "type": "registry:component"+ },{"path": "registry/default/clients/nextjs/lib/supabase/client.ts","type": "registry:lib"diff --git a/apps/ui-library/registry/default/blocks/dropzone/registry-item.json b/apps/ui-library/registry/default/blocks/dropzone/registry-item.jsonindex 757f3e940a6..be11cf55b36 100644--- a/apps/ui-library/registry/default/blocks/dropzone/registry-item.json+++ b/apps/ui-library/registry/default/blocks/dropzone/registry-item.json@@ -4,7 +4,7 @@"type": "registry:component","title": "Dropzone (File Upload)","description": "Displays a control for easier uploading of files directly to Supabase Storage.",- "registryDependencies": ["button", "tooltip", "progress"],+ "registryDependencies": ["button"],"dependencies": ["react-dropzone", "lucide-react"],"files": [{diff --git a/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/app/confirm/route.ts b/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/app/auth/confirm/route.tssimilarity index 99%rename from apps/ui-library/registry/default/blocks/password-based-auth-nextjs/app/confirm/route.tsrename to apps/ui-library/registry/default/blocks/password-based-auth-nextjs/app/auth/confirm/route.tsindex 21611a1d60f..141bec92115 100644--- a/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/app/confirm/route.ts+++ b/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/app/auth/confirm/route.ts@@ -1,8 +1,7 @@-import { type EmailOtpType } from '@supabase/supabase-js'-import { type NextRequest } from 'next/server'-import { createClient } from '@/registry/default/clients/nextjs/lib/supabase/server'+import { type EmailOtpType } from '@supabase/supabase-js'import { redirect } from 'next/navigation'+import { type NextRequest } from 'next/server'export async function GET(request: NextRequest) {const { searchParams } = new URL(request.url)diff --git a/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/app/error/page.tsx b/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/app/auth/error/page.tsxsimilarity index 78%rename from apps/ui-library/registry/default/blocks/password-based-auth-nextjs/app/error/page.tsxrename to apps/ui-library/registry/default/blocks/password-based-auth-nextjs/app/auth/error/page.tsxindex 4f8c30a9e88..ed8def8595f 100644--- a/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/app/error/page.tsx+++ b/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/app/auth/error/page.tsx@@ -1,6 +1,8 @@import { Card, CardContent, CardHeader, CardTitle } from '@/registry/default/components/ui/card'-export default function Page({ searchParams }: { searchParams: { error: string } }) {+export default async function Page({ searchParams }: { searchParams: Promise<{ error: string }> }) {+ const params = await searchParams+return (<div className="flex min-h-svh w-full items-center justify-center p-6 md:p-10"><div className="w-full max-w-sm">@@ -10,8 +12,8 @@ export default function Page({ searchParams }: { searchParams: { error: string }<CardTitle className="text-2xl">Sorry, something went wrong.</CardTitle></CardHeader><CardContent>- {searchParams?.error ? (- <p className="text-sm text-muted-foreground">Code error: {searchParams.error}</p>+ {params?.error ? (+ <p className="text-sm text-muted-foreground">Code error: {params.error}</p>) : (<p className="text-sm text-muted-foreground">An unspecified error occurred.</p>)}diff --git a/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/app/forgot-password/page.tsx b/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/app/auth/forgot-password/page.tsxsimilarity index 100%rename from apps/ui-library/registry/default/blocks/password-based-auth-nextjs/app/forgot-password/page.tsxrename to apps/ui-library/registry/default/blocks/password-based-auth-nextjs/app/auth/forgot-password/page.tsxdiff --git a/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/app/login/page.tsx b/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/app/auth/login/page.tsxsimilarity index 100%rename from apps/ui-library/registry/default/blocks/password-based-auth-nextjs/app/login/page.tsxrename to apps/ui-library/registry/default/blocks/password-based-auth-nextjs/app/auth/login/page.tsxdiff --git a/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/app/sign-up-success/page.tsx b/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/app/auth/sign-up-success/page.tsxsimilarity index 88%rename from apps/ui-library/registry/default/blocks/password-based-auth-nextjs/app/sign-up-success/page.tsxrename to apps/ui-library/registry/default/blocks/password-based-auth-nextjs/app/auth/sign-up-success/page.tsxindex 95be7c7a3c8..b265cabf808 100644--- a/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/app/sign-up-success/page.tsx+++ b/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/app/auth/sign-up-success/page.tsx@@ -18,7 +18,7 @@ export default function Page() {</CardHeader><CardContent><p className="text-sm text-muted-foreground">- You've successfully signed up. Please check your email to confirm your account+ You've successfully signed up. Please check your email to confirm your accountbefore signing in.</p></CardContent>diff --git a/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/app/sign-up/page.tsx b/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/app/auth/sign-up/page.tsxsimilarity index 100%rename from apps/ui-library/registry/default/blocks/password-based-auth-nextjs/app/sign-up/page.tsxrename to apps/ui-library/registry/default/blocks/password-based-auth-nextjs/app/auth/sign-up/page.tsxdiff --git a/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/app/update-password/page.tsx b/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/app/auth/update-password/page.tsxsimilarity index 100%rename from apps/ui-library/registry/default/blocks/password-based-auth-nextjs/app/update-password/page.tsxrename to apps/ui-library/registry/default/blocks/password-based-auth-nextjs/app/auth/update-password/page.tsxdiff --git a/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/app/protected/page.tsx b/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/app/protected/page.tsxindex 08b2d019578..3b4fc57ee16 100644--- a/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/app/protected/page.tsx+++ b/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/app/protected/page.tsx@@ -1,5 +1,6 @@import { redirect } from 'next/navigation'+import { LogoutButton } from '@/registry/default/blocks/password-based-auth-nextjs/components/logout-button'import { createClient } from '@/registry/default/clients/nextjs/lib/supabase/server'export default async function ProtectedPage() {@@ -10,5 +11,12 @@ export default async function ProtectedPage() {redirect('/login')}- return <p>Hello {data.user.email}</p>+ return (+ <div className="flex h-svh w-full items-center justify-center gap-2">+ <p>+ Hello <span>{data.user.email}</span>+ </p>+ <LogoutButton />+ </div>+ )}diff --git a/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/components/forgot-password-form.tsx b/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/components/forgot-password-form.tsxindex 8bdcb26cb2c..98571e8e7f0 100644--- a/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/components/forgot-password-form.tsx+++ b/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/components/forgot-password-form.tsx@@ -30,7 +30,7 @@ export function ForgotPasswordForm({ className, ...props }: React.ComponentPropstry {// The url which will be included in the email. This URL needs to be configured in your redirect URLs in the Supabase dashboard at https://supabase.com/dashboard/project/_/auth/url-configurationconst { error } = await supabase.auth.resetPasswordForEmail(email, {- redirectTo: `${window.location.origin}/ui/example/password-based-auth/update-password`,+ redirectTo: `${window.location.origin}/ui/example/password-based-auth/auth/update-password`,})if (error) throw errorsetSuccess(true)@@ -85,7 +85,7 @@ export function ForgotPasswordForm({ className, ...props }: React.ComponentProps</div><div className="mt-4 text-center text-sm">Already have an account?{' '}- <Link href="/login" className="underline underline-offset-4">+ <Link href="/auth/login" className="underline underline-offset-4">Login</Link></div>diff --git a/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/components/login-form.tsx b/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/components/login-form.tsxindex 58cc93d3100..6a4d2231d89 100644--- a/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/components/login-form.tsx+++ b/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/components/login-form.tsx@@ -35,7 +35,6 @@ export function LoginForm({ className, ...props }: React.ComponentPropsWithoutRepassword,})if (error) throw error- console.log('login successful')// Update this route to redirect to an authenticated route. The user already has an active session.router.push('/example/password-based-auth/protected')} catch (error: unknown) {@@ -70,7 +69,7 @@ export function LoginForm({ className, ...props }: React.ComponentPropsWithoutRe<div className="flex items-center"><Label htmlFor="password">Password</Label><Link- href="/forgot-password"+ href="/auth/forgot-password"className="ml-auto inline-block text-sm underline-offset-4 hover:underline">Forgot your password?@@ -91,7 +90,7 @@ export function LoginForm({ className, ...props }: React.ComponentPropsWithoutRe</div><div className="mt-4 text-center text-sm">Don't have an account?{' '}- <Link href="/sign-up" className="underline underline-offset-4">+ <Link href="/auth/sign-up" className="underline underline-offset-4">Sign up</Link></div>diff --git a/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/components/logout-button.tsx b/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/components/logout-button.tsxnew file mode 100644index 00000000000..88110ddc6c7--- /dev/null+++ b/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/components/logout-button.tsx@@ -0,0 +1,17 @@+'use client'++import { createClient } from '@/registry/default/clients/nextjs/lib/supabase/client'+import { Button } from '@/registry/default/components/ui/button'+import { useRouter } from 'next/navigation'++export function LogoutButton() {+ const router = useRouter()++ const logout = async () => {+ const supabase = createClient()+ await supabase.auth.signOut()+ router.push('/example/password-based-auth/auth/login')+ }++ return <Button onClick={logout}>Logout</Button>+}diff --git a/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/components/sign-up-form.tsx b/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/components/sign-up-form.tsxindex feb1ace33d3..79df2905c89 100644--- a/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/components/sign-up-form.tsx+++ b/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/components/sign-up-form.tsx@@ -45,7 +45,7 @@ export function SignUpForm({ className, ...props }: React.ComponentPropsWithoutR},})if (error) throw error- router.push('/example/password-based-auth/sign-up-success')+ router.push('/example/password-based-auth/auth/sign-up-success')} catch (error: unknown) {setError(error instanceof Error ? error.message : 'An error occurred')} finally {@@ -105,7 +105,7 @@ export function SignUpForm({ className, ...props }: React.ComponentPropsWithoutR</div><div className="mt-4 text-center text-sm">Already have an account?{' '}- <Link href="/login" className="underline underline-offset-4">+ <Link href="/auth/login" className="underline underline-offset-4">Login</Link></div>diff --git a/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/components/update-password-form.tsx b/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/components/update-password-form.tsxindex 7e640c13590..eef6dfa4dd1 100644--- a/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/components/update-password-form.tsx+++ b/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/components/update-password-form.tsx@@ -65,12 +65,6 @@ export function UpdatePasswordForm({ className, ...props }: React.ComponentProps{isLoading ? 'Saving...' : 'Save new password'}</Button></div>- <div className="mt-4 text-center text-sm">- Already have an account?{' '}- <a href="/login" className="underline underline-offset-4">- Login- </a>- </div></form></CardContent></Card>diff --git a/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/registry-item.json b/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/registry-item.jsonindex 2c897251a8b..2203774c8dc 100644--- a/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/registry-item.json+++ b/apps/ui-library/registry/default/blocks/password-based-auth-nextjs/registry-item.json@@ -7,12 +7,12 @@"dependencies": ["@supabase/ssr@latest", "@supabase/supabase-js@latest"],"files": [{- "path": "registry/default/blocks/password-based-auth-nextjs/app/login/page.tsx",+ "path": "registry/default/blocks/password-based-auth-nextjs/app/auth/login/page.tsx","type": "registry:page",- "target": "app/login/page.tsx"+ "target": "app/auth/login/page.tsx"},{- "path": "registry/default/blocks/password-based-auth-nextjs/app/error/page.tsx",+ "path": "registry/default/blocks/password-based-auth-nextjs/app/auth/error/page.tsx","type": "registry:page","target": "app/auth/error/page.tsx"},@@ -22,7 +22,7 @@"target": "app/protected/page.tsx"},{- "path": "registry/default/blocks/password-based-auth-nextjs/app/confirm/route.ts",+ "path": "registry/default/blocks/password-based-auth-nextjs/app/auth/confirm/route.ts","type": "registry:page","target": "app/auth/confirm/route.ts"},@@ -36,28 +36,28 @@"target": "middleware.ts"},{- "path": "registry/default/blocks/password-based-auth-nextjs/app/sign-up/page.tsx",+ "path": "registry/default/blocks/password-based-auth-nextjs/app/auth/sign-up/page.tsx","type": "registry:page",- "target": "app/sign-up/page.tsx"+ "target": "app/auth/sign-up/page.tsx"},{- "path": "registry/default/blocks/password-based-auth-nextjs/app/sign-up-success/page.tsx",+ "path": "registry/default/blocks/password-based-auth-nextjs/app/auth/sign-up-success/page.tsx","type": "registry:page",- "target": "app/sign-up-success/page.tsx"+ "target": "app/auth/sign-up-success/page.tsx"},{"path": "registry/default/blocks/password-based-auth-nextjs/components/sign-up-form.tsx","type": "registry:component"},{- "path": "registry/default/blocks/password-based-auth-nextjs/app/forgot-password/page.tsx",+ "path": "registry/default/blocks/password-based-auth-nextjs/app/auth/forgot-password/page.tsx","type": "registry:page",- "target": "app/forgot-password/page.tsx"+ "target": "app/auth/forgot-password/page.tsx"},{- "path": "registry/default/blocks/password-based-auth-nextjs/app/update-password/page.tsx",+ "path": "registry/default/blocks/password-based-auth-nextjs/app/auth/update-password/page.tsx","type": "registry:page",- "target": "app/update-password/page.tsx"+ "target": "app/auth/update-password/page.tsx"},{"path": "registry/default/blocks/password-based-auth-nextjs/components/forgot-password-form.tsx",@@ -66,6 +66,10 @@{"path": "registry/default/blocks/password-based-auth-nextjs/components/update-password-form.tsx","type": "registry:component"+ },+ {+ "path": "registry/default/blocks/password-based-auth-nextjs/components/logout-button.tsx",+ "type": "registry:component"}]}diff --git a/apps/ui-library/registry/default/blocks/password-based-auth-react/components/update-password-form.tsx b/apps/ui-library/registry/default/blocks/password-based-auth-react/components/update-password-form.tsxindex fc6ebb0ea36..e9cbc328295 100644--- a/apps/ui-library/registry/default/blocks/password-based-auth-react/components/update-password-form.tsx+++ b/apps/ui-library/registry/default/blocks/password-based-auth-react/components/update-password-form.tsx@@ -61,12 +61,6 @@ export function UpdatePasswordForm({ className, ...props }: React.ComponentProps{isLoading ? 'Saving...' : 'Save new password'}</Button></div>- <div className="mt-4 text-center text-sm">- Already have an account?{' '}- <a href="/login" className="underline underline-offset-4">- Login- </a>- </div></form></CardContent></Card>diff --git a/apps/ui-library/registry/default/blocks/password-based-auth-tanstack/components/sign-up-form.tsx b/apps/ui-library/registry/default/blocks/password-based-auth-tanstack/components/sign-up-form.tsxindex 2b55fb35d38..276cfefd128 100644--- a/apps/ui-library/registry/default/blocks/password-based-auth-tanstack/components/sign-up-form.tsx+++ b/apps/ui-library/registry/default/blocks/password-based-auth-tanstack/components/sign-up-form.tsx@@ -36,6 +36,9 @@ export function SignUpForm({ className, ...props }: React.ComponentPropsWithoutRconst { error } = await supabase.auth.signUp({email,password,+ options: {+ emailRedirectTo: `${window.location.origin}/protected`,+ },})if (error) throw errorawait navigate({ to: '/sign-up-success' })diff --git a/apps/ui-library/registry/default/blocks/password-based-auth-tanstack/components/update-password-form.tsx b/apps/ui-library/registry/default/blocks/password-based-auth-tanstack/components/update-password-form.tsxindex e85929f13e6..88d6ad63240 100644--- a/apps/ui-library/registry/default/blocks/password-based-auth-tanstack/components/update-password-form.tsx+++ b/apps/ui-library/registry/default/blocks/password-based-auth-tanstack/components/update-password-form.tsx@@ -63,12 +63,6 @@ export function UpdatePasswordForm({ className, ...props }: React.ComponentProps{isLoading ? 'Saving...' : 'Save new password'}</Button></div>- <div className="mt-4 text-center text-sm">- Already have an account?{' '}- <a href="/login" className="underline underline-offset-4">- Login- </a>- </div></form></CardContent></Card>diff --git a/apps/ui-library/registry/default/blocks/realtime-avatar-stack/components/avatar-stack.tsx b/apps/ui-library/registry/default/blocks/realtime-avatar-stack/components/avatar-stack.tsxindex a28692009e0..e8f8db33691 100644--- a/apps/ui-library/registry/default/blocks/realtime-avatar-stack/components/avatar-stack.tsx+++ b/apps/ui-library/registry/default/blocks/realtime-avatar-stack/components/avatar-stack.tsx@@ -45,7 +45,7 @@ const AvatarStack = ({{shownAvatars.map(({ name, image }, index) => (<Tooltip key={`${name}-${image}-${index}`}><TooltipTrigger asChild>- <Avatar className={'hover:z-10'}>+ <Avatar className="hover:z-10"><AvatarImage src={image} /><AvatarFallback>{name@@ -69,7 +69,7 @@ const AvatarStack = ({<AvatarFallback>+{avatars.length - shownAvatars.length}</AvatarFallback></Avatar></TooltipTrigger>- <TooltipContent className="flex flex-col gap-2 bg-gray-100 p-2 rounded border">+ <TooltipContent>{hiddenAvatars.map(({ name }, index) => (<p key={`${name}-${index}`}>{name}</p>))}diff --git a/apps/ui-library/registry/default/clients/nextjs/lib/supabase/middleware.ts b/apps/ui-library/registry/default/clients/nextjs/lib/supabase/middleware.tsindex cc9299648b7..3e284415f6f 100644--- a/apps/ui-library/registry/default/clients/nextjs/lib/supabase/middleware.ts+++ b/apps/ui-library/registry/default/clients/nextjs/lib/supabase/middleware.ts@@ -44,7 +44,7 @@ export async function updateSession(request: NextRequest) {) {// no user, potentially respond by redirecting the user to the login pageconst url = request.nextUrl.clone()- url.pathname = '/login'+ url.pathname = '/auth/login'return NextResponse.redirect(url)}diff --git a/apps/ui-library/registry/default/examples/realtime-avatar-stack-demo.tsx b/apps/ui-library/registry/default/examples/realtime-avatar-stack-demo.tsxindex 073b4c364b2..63c839ed717 100644--- a/apps/ui-library/registry/default/examples/realtime-avatar-stack-demo.tsx+++ b/apps/ui-library/registry/default/examples/realtime-avatar-stack-demo.tsx@@ -27,7 +27,7 @@ const RealtimeAvatarStackDemo = () => {name = user?.user_metadata.full_name as string}return name ?? '?'- }, [user, dashboardUser, user?.user_metadata.full_name])+ }, [dashboardUser, user?.user_metadata.full_name])// generate a random image for the current user or use his supabase.com avatarconst currentUserImage = useMemo(() => {@@ -37,7 +37,7 @@ const RealtimeAvatarStackDemo = () => {}return image- }, [user, dashboardUser, user?.user_metadata.avatar_url])+ }, [dashboardUser, user?.user_metadata.avatar_url])const [usersMap, setUsersMap] = useState<Record<string, RealtimeUser> | null>(null)@@ -70,7 +70,7 @@ const RealtimeAvatarStackDemo = () => {return () => {room.unsubscribe()}- }, [currentUserName, currentUserImage, roomName])+ }, [currentUserName, currentUserImage])const avatars = useMemo(() => {return Object.values(usersMap || {}).map((user) => ({@@ -89,7 +89,7 @@ const RealtimeAvatarStackDemo = () => {{avatars.length < 2 ? (<div className="flex flex-col text-sm text-foreground-light">- <span>It seems like you're the only person viewing this page.</span>+ <span>It seems like you're the only person viewing this page.</span><span>Open this page in another browser tab to see it in action.</span></div>) : user ? (@@ -101,6 +101,8 @@ const RealtimeAvatarStackDemo = () => {<span className="text-sm text-foreground-light">It seems like you're not logged in. Login via the{' '}<a+ target="_blank"+ rel="noopener noreferrer"href="https://supabase.com/dashboard/sign-in"className="text-foreground underline decoration-1 decoration-foreground-muted underline-offset-4 transition-colors hover:decoration-brand hover:decoration-2">diff --git a/apps/ui-library/supabase/templates/recovery.html b/apps/ui-library/supabase/templates/recovery.htmlindex 16f5609fa66..ce529ecfb17 100644--- a/apps/ui-library/supabase/templates/recovery.html+++ b/apps/ui-library/supabase/templates/recovery.html@@ -1,8 +1,9 @@<h2>Reset Password</h2>+<p>Follow this link to reset the password for your user:</p><p><a- href="{{ .SiteURL }}/auth/confirm?token_hash={{ .TokenHash }}&type=recovery&next=/update-password"+ href="{{ .SiteURL }}/auth/confirm?token_hash={{ .TokenHash }}&type=recovery&next={{ .RedirectTo }}">Reset Password</a></p>diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex a74a20b8cbb..5cc01b15176 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -1125,9 +1125,6 @@ importers:config:specifier: workspace:^version: link:../../packages/config- fumadocs-ui:- specifier: ^15.1.0- version: 15.1.2(@types/[email protected])(@types/[email protected])([email protected](@types/[email protected])([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected]))([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected]([email protected](@types/[email protected])([email protected])))lodash:specifier: ^4.17.21version: 4.17.21@@ -3332,9 +3329,6 @@ packages:'@floating-ui/[email protected]':resolution: {integrity: sha512-OfX7E2oUDYxtBvsuS4e/jSn4Q9Qb6DzgeYtsAdkPZ47znpoNsMgZw0+tVijiv3uGNR6dgNlty6r9rzIzHjtd/A==}- '@formatjs/[email protected]':- resolution: {integrity: sha512-ePEgLgVCqi2BBFnTMWPfIghu6FkbZnnBVhO2sSxvLfrdFw7wCHAHiDoM2h4NRgjbaY7+B7HgOLZGkK187pZTZg==}-'@gar/[email protected]':resolution: {integrity: sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==}@@ -4246,10 +4240,6 @@ packages:peerDependencies:'@opentelemetry/api': ^1.1.0- '@orama/[email protected]':- resolution: {integrity: sha512-UdtAMLe2RxtqvmfNDJSMpYoQYUpXgs+9qXVVFCO0BqHF86gp+uz8N6ftkaLe1p55OQXmliciw7BH34GFozKLnQ==}- engines: {node: '>= 16.0.0'}-'@parcel/[email protected]':resolution: {integrity: sha512-KF8+j9nNbUN8vzOFDpRMsaKBHZ/mcjEjMToVMJOhTozkDonQFFrRcfdLWn6yWKCmJKmdVxSgHiYvTCef4/qcBA==}engines: {node: '>= 10.0.0'}@@ -4412,18 +4402,12 @@ packages:'@radix-ui/[email protected]':resolution: {integrity: sha512-T5gIdVO2mmPW3NNhjNgEP3cqMXjXL9UbO0BzWcXfvdBs+BohbQxvd/K5hSVKmn9/lbTdsQVKbUcP5WLCwvUbBg==}- '@radix-ui/[email protected]':- resolution: {integrity: sha512-V3gRzhVNU1ldS5XhAPTom1fOIo4ccrjjJgmE+LI2h/WaFpHmx0MQApT+KZHnx8abG6Avtfcz4WoEciMnpFT3HQ==}-'@radix-ui/[email protected]':resolution: {integrity: sha512-yQ8oGX2GVsEYMWGxcovu1uGWPCxV5BFfeeYxqPmuAzUyLT9qmaMXSAhXpb0WrspIeqYzdJpkh2vHModJPgRIaw==}'@radix-ui/[email protected]':resolution: {integrity: sha512-4Z8dn6Upk0qk4P74xBhZ6Hd/w0mPEzOOLxy4xiPXOXqjF7jZS0VAKk7/x/H6FyY2zCkYJqePf1G5KmkmNJ4RBA==}- '@radix-ui/[email protected]':- resolution: {integrity: sha512-SJ31y+Q/zAyShtXJc8x83i9TYdbAfHZ++tUZnvjJJqFjzsdUnKsxPL6IEtBlxKkU7yzer//GQtZSV4GbldL3YA==}-'@radix-ui/[email protected]':resolution: {integrity: sha512-fDG7jcoNKVjSK6yfmuAs0EnPDro0WMXIhMtXdTBWqEioVW206ku+4Lw07e+13lUkFkpoEQ2PdeMIAGpdqEAmDg==}peerDependencies:@@ -4437,19 +4421,6 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-RIQ15mrcvqIkDARJeERSuXSry2N8uYnxkdDetpfmalT/+0ntOXLkFOsh9iwlAsCv+qcmhZjbdJogIm6WBa6c4A==}- peerDependencies:- '@types/react': '*'- '@types/react-dom': '*'- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true- '@types/react-dom':- optional: true-'@radix-ui/[email protected]':resolution: {integrity: sha512-OrVIOcZL0tl6xibeuGt5/+UxoT2N27KCFOPjFyfXMnchxSHZ/OW7cCX2nGlIYJrbHK/fczPcFzAwvNBB6XBNMA==}peerDependencies:@@ -4489,19 +4460,6 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-G+KcpzXHq24iH0uGG/pF8LyzpFJYGD4RfLjCIBfGdSLXvjLHST31RUiRVrupIBMvIppMgSzQ6l66iAxl03tdlg==}- peerDependencies:- '@types/react': '*'- '@types/react-dom': '*'- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true- '@types/react-dom':- optional: true-'@radix-ui/[email protected]':resolution: {integrity: sha512-fXR5kbMan9oQqMuacfzlGG/SQMcmMlZ4wrvpckv8SgUulD0MMpspxJrxg/Gp/ISV3JfV1AeSWTYK9GvxA4ySwA==}peerDependencies:@@ -4554,19 +4512,6 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-jFSerheto1X03MUC0g6R7LedNW9EEGWdg9W1+MlpkMLwGkgkbUXLPBH/KIuWKXUoeYRVY11llqbTBDzuLg7qrw==}- peerDependencies:- '@types/react': '*'- '@types/react-dom': '*'- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true- '@types/react-dom':- optional: true-'@radix-ui/[email protected]':resolution: {integrity: sha512-3SzW+0PW7yBBoQlT8wNcGtaxaD0XSu0uLUFgrtHY08Acx05TaHaOmVLR73c0j/cqpDy53KBMO7s0dx2wmOIDIA==}peerDependencies:@@ -4580,19 +4525,6 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-9z54IEKRxIa9VityapoEYMuByaG42iSy1ZXlY2KcuLSEtq8x4987/N6m15ppoMffgZX72gER2uHe1D9Y6Unlcw==}- peerDependencies:- '@types/react': '*'- '@types/react-dom': '*'- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true- '@types/react-dom':- optional: true-'@radix-ui/[email protected]':resolution: {integrity: sha512-fDSBgd44FKHa1FRMU59qBMPFcl2PZE+2nmqunj+BWFyYYjnhIDWL2ItDs3rrbJDQOtzt5nIebLCQc4QRfz6LJw==}peerDependencies:@@ -4651,15 +4583,6 @@ packages:'@types/react':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-UASk9zi+crv9WteK/NU4PLvOoL3OuE6BWVKNF6hPRBtYBDXQ2u5iu3O59zUlJiTVvkyuycnqrztsHVJwcK9K+Q==}- peerDependencies:- '@types/react': '*'- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true-'@radix-ui/[email protected]':resolution: {integrity: sha512-GjWJX/AUpB703eEBanuBnIWdIXg6NvJFCXcNlSZk4xdszCdhrJgBoUd1cGk67vFO+WdA2pfI/plOpqz/5GUP6Q==}peerDependencies:@@ -4673,19 +4596,6 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-/IVhJV5AceX620DUJ4uYVMymzsipdKBzo3edo+omeskCKGm9FRHM0ebIdbPnlQVJqyuHbuBltQUOG2mOTq2IYw==}- peerDependencies:- '@types/react': '*'- '@types/react-dom': '*'- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true- '@types/react-dom':- optional: true-'@radix-ui/[email protected]':resolution: {integrity: sha512-RXcvnXgyvYvBEOhCBuddKecVkoMiI10Jcm5cTI7abJRAHYfFxeu+FBQs/DvdxSYucxR5mna0dNsL6QFlds5TMA==}peerDependencies:@@ -4695,15 +4605,6 @@ packages:'@types/react':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-BUuBvgThEiAXh2DWu93XsT+a3aWrGqolGlqqw5VU1kG7p/ZH2cuDlM1sRLNnY3QcBS69UIz2mcKhMxDsdewhjg==}- peerDependencies:- '@types/react': '*'- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true-'@radix-ui/[email protected]':resolution: {integrity: sha512-aJeDjQhywg9LBu2t/At58hCvr7pEm0o2Ke1x33B+MhjNmmZ17sy4KImo0KPLgsnc/zN7GPdce8Cnn0SWvwZO7g==}peerDependencies:@@ -4730,19 +4631,6 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-E4TywXY6UsXNRhFrECa5HAvE5/4BFcGyfTyK36gP+pAW1ed7UTK4vKwdr53gAJYwqbfCWC6ATvJa3J3R/9+Qrg==}- peerDependencies:- '@types/react': '*'- '@types/react-dom': '*'- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true- '@types/react-dom':- optional: true-'@radix-ui/[email protected]':resolution: {integrity: sha512-i6TuFOoWmLWq+M/eCLGd/bQ2HfAX1RJgvrBQ6AQLmzfvsLdefxbWu8G9zczcPFfcSPehz9GcpF6K9QYreFV8hA==}peerDependencies:@@ -4774,15 +4662,6 @@ packages:'@types/react':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-pSIwfrT1a6sIoDASCSpFwOasEwKTZWDw/iBdtnqKO7v6FeOzYJ7U53cPzYFVR3geGGXgVHaH+CdngrrAzqUGxg==}- peerDependencies:- '@types/react': '*'- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true-'@radix-ui/[email protected]':resolution: {integrity: sha512-sL04Mgvf+FmyvZeYfNu1EPAaaxD+aw7cYeIB9L9Fvq8+urhltTRaEo5ysKOpHuKPclsZcSUMKlN05x4u+CINpA==}peerDependencies:@@ -4809,19 +4688,6 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-zxwE80FCU7lcXUGWkdt6XpTTCKPitG1XKOwViTxHVKIJhZl9MvIl2dVHeZENCWD9+EdWv05wlaEkRXUykU27RA==}- peerDependencies:- '@types/react': '*'- '@types/react-dom': '*'- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true- '@types/react-dom':- optional: true-'@radix-ui/[email protected]':resolution: {integrity: sha512-OcUN2FU0YpmajD/qkph3XzMcK/NmSk9hGWnjV68p6QiZMgILugusgQwnLSDs3oFSJYGKf3Y49zgFedhGh04k9A==}peerDependencies:@@ -4905,19 +4771,6 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-myMHHQUZ3ZLTi8W381/Vu43Ia0NqakkQZ2vzynMmTUtQQ9kNkjzhOwkZC9TAM5R07OZUVIQyHC06f/9JZJpvvA==}- peerDependencies:- '@types/react': '*'- '@types/react-dom': '*'- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true- '@types/react-dom':- optional: true-'@radix-ui/[email protected]':resolution: {integrity: sha512-3y1A3isulwnWhvTTwmIreiB8CF4L+qRjZnK1wYLO7pplddzXKby/GnZ2M7OZY3qgnl6p9AodUIHRYGXNah8Y7g==}peerDependencies:@@ -4931,19 +4784,6 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-NQouW0x4/GnkFJ/pRqsIS3rM/k97VzKnVb2jB7Gq7VEGPy5g7uNV1ykySFt7eWSp3i2uSGFwaJcvIRJBAHmmFg==}- peerDependencies:- '@types/react': '*'- '@types/react-dom': '*'- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true- '@types/react-dom':- optional: true-'@radix-ui/[email protected]':resolution: {integrity: sha512-cKpopj/5RHZWjrbF2846jBNacjQVwkP068DfmgrNJXpvVWrOvlAmE9xSiy5OqeE+Gi8D9fP+oDhUnPqNMY8/5w==}peerDependencies:@@ -4970,19 +4810,6 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-Rvqc3nOpwseCyj/rgjlJDYAgyfw7OC1tTkKn2ivhaMGcYt8FSBlahHOZak2i3QwkRXUXgGgzeEe2RuqeEHuHgA==}- peerDependencies:- '@types/react': '*'- '@types/react-dom': '*'- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true- '@types/react-dom':- optional: true-'@radix-ui/[email protected]':resolution: {integrity: sha512-Qki+C/EuGUVCQTOTD5vzJzJuMUlewbzuKyUy+/iHM2uwGiru9gZeBJtHAPKAEkB5KWGi9mP/CHKcY0wt1aW45Q==}peerDependencies:@@ -5009,19 +4836,6 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-sn2O9k1rPFYVyKd5LAJfo96JlSGVFpa1fS6UuBJfrZadudiw5tAmru+n1x7aMRQ84qDM71Zh1+SzK5QwU0tJfA==}- peerDependencies:- '@types/react': '*'- '@types/react-dom': '*'- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true- '@types/react-dom':- optional: true-'@radix-ui/[email protected]':resolution: {integrity: sha512-UXLW4UAbIY5ZjcvzjfRFo5gxva8QirC9hF7wRE4U5gz+TP0DbRk+//qyuAQ1McDxBt1xNMBTaciFGvEmJvAZCg==}peerDependencies:@@ -5048,19 +4862,6 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-18TFr80t5EVgL9x1SwF/YGtfG+l0BS0PRAlCWBDoBEiDQjeKgnNZRVJp/oVBl24sr3Gbfwc/Qpj4OcWTQMsAEg==}- peerDependencies:- '@types/react': '*'- '@types/react-dom': '*'- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true- '@types/react-dom':- optional: true-'@radix-ui/[email protected]':resolution: {integrity: sha512-yi58uVyoAcK/Nq1inRY56ZSjKypBNKTa/1mcL8qdl6oJeEaDbOldlzrGn7P6Q3Id5d+SYNGc5AJgc4vGhjs5+g==}peerDependencies:@@ -5087,19 +4888,6 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-Ec/0d38EIuvDF+GZjcMU/Ze6MxntVJYO/fRlCPhCaVUyPY9WTalHJw54tp9sXeJo3tlShWpy41vQRgLRGOuz+w==}- peerDependencies:- '@types/react': '*'- '@types/react-dom': '*'- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true- '@types/react-dom':- optional: true-'@radix-ui/[email protected]':resolution: {integrity: sha512-5G6Om/tYSxjSeEdrb1VfKkfZfn/1IlPWd731h2RfPuSbIfNUgfqAwbKfJCg/PP6nuUCTrYzalwHSpSinoWoCag==}peerDependencies:@@ -5139,19 +4927,6 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-zgMQWkNO169GtGqRvYrzb0Zf8NhMHS2DuEB/TiEmVnpr5OqPU3i8lfbxaAmC2J/KYuIQxyoQQ6DxepyXp61/xw==}- peerDependencies:- '@types/react': '*'- '@types/react-dom': '*'- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true- '@types/react-dom':- optional: true-'@radix-ui/[email protected]':resolution: {integrity: sha512-b6PAgH4GQf9QEn8zbT2XUHpW5z8BzqEc7Kl11TwDrvuTrxlkcjTD5qa/bxgKr+nmuXKu4L/W5UZ4mlP/VG/5Gw==}peerDependencies:@@ -5165,19 +4940,6 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-l7+NNBfBYYJa9tNqVcP2AGvxdE3lmE6kFTBXdvHgUaZuy+4wGCL1Cl2AfaR7RKyimj7lZURGLwFO59k4eBnDJQ==}- peerDependencies:- '@types/react': '*'- '@types/react-dom': '*'- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true- '@types/react-dom':- optional: true-'@radix-ui/[email protected]':resolution: {integrity: sha512-RH5b7af4oHtkcHS7pG6Sgv5rk5Wxa7XI8W5gvB1N/yiuDGZxko1ynvOiVhFM7Cis2A8zxF9bTOUVbRDzPepe6w==}peerDependencies:@@ -5270,19 +5032,6 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-9mFyI30cuRDImbmFF6O2KUJdgEOsGh9Vmx9x/Dh9tOhL7BngmQPQfwW4aejKm5OHpfWIdmeV6ySyuxoOGjtNng==}- peerDependencies:- '@types/react': '*'- '@types/react-dom': '*'- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true- '@types/react-dom':- optional: true-'@radix-ui/[email protected]':resolution: {integrity: sha512-Uaj/M/cMyiyT9Bx6fOZO0SAG4Cls0GptBWiBmBxofmDbNVnYYoyRWj/2M/6VCi/7qcXFWnHhRUfdfZFvvkuu8A==}peerDependencies:@@ -5403,15 +5152,6 @@ packages:'@types/react':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-Z/e78qg2YFnnXcW88A4JmTtm4ADckLno6F7OXotmkQfeuCVaKuYzqAATPhVzl3delXE7CxIV8shofPn3jPc5Og==}- peerDependencies:- '@types/react': '*'- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true-'@radix-ui/[email protected]':resolution: {integrity: sha512-Cq5DLuSiuYVKNU8orzJMbl15TXilTnJKUCltMVQg53BQOF1/C5toAaGrowkgksdBQ9H+SRL23g0HDmg9tvmxXw==}peerDependencies:@@ -5461,19 +5201,6 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-1SzA4ns2M1aRlvxErqhLHsBHoS5eI5UUcI2awAMgGUp4LoaoWOKYmvqDY2s/tltuPkh3Yk77YF/r3IRj+Amx4Q==}- peerDependencies:- '@types/react': '*'- '@types/react-dom': '*'- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true- '@types/react-dom':- optional: true-'@radix-ui/[email protected]':resolution: {integrity: sha512-fyrgCaedtvMg9NK3en0pnOYJdtfwxUcNolezkNPUsoX57X8oQk+NkqcvzHXD2uKNij6GXmWU9NDru2IWjrO4BQ==}@@ -6010,18 +5737,12 @@ packages:'@shikijs/[email protected]':resolution: {integrity: sha512-If0iDHYRSGbihiA8+7uRsgb1er1Yj11pwpX1c6HLYnizDsKAw5iaT3JXj5ZpaimXSWky/IhxTm7C6nkiYVym+A==}- '@shikijs/[email protected]':- resolution: {integrity: sha512-wj4TXI1PQ3TNPyXudUzKfdFIMneTxFym3HKKfWRzbOSAS8P4mECR+ttdUPhYU1dxrXrsatWxTJezOcEjiA0z8g==}-'@shikijs/[email protected]':resolution: {integrity: sha512-k5DKJUT8IldBvAm8WcrDT5+7GA7se6lLksR+2E3SvyqGTyFMzU2F9Gb7rmD+t+Pga1MKrYFxDIeyWjMZWM6uBQ==}'@shikijs/[email protected]':resolution: {integrity: sha512-qGfHe1ECiqfE2STPWvfogIj/9Q0SK+MCRJdoITkW7AmFuB7DmbFnBT2US84+zklJOB51MzNO8RUXZiauWssJlQ==}- '@shikijs/[email protected]':- resolution: {integrity: sha512-oIT40p8LOPV/6XLnUrVPeRtJtbu0Mpl+BjGFuMXw870eX9zTSQlidg7CsksFDVyUiSAOC/CH1RQm+ldZp0/6eQ==}-'@shikijs/[email protected]':resolution: {integrity: sha512-/NTWAk4KE2M8uac0RhOsIhYQf4pdU0OywQuYDGIGAJ6Mjunxl2cGiuLkvu4HLCMn+OTTLRWkjZITp+aYJv60yA==}@@ -7502,10 +7223,6 @@ packages:resolution: {integrity: sha512-xcLxITLe2HYa1cnYnwCjkOO1PqUHQpozB8x9AR0OgWN2woOBi5kSDVxKfd0b7sb1hw5qFeJhXm9H1nu3xSfLeQ==}engines: {node: '>=10'}- resolution: {integrity: sha512-y+CcFFwelSXpLZk/7fMB2mUbGtX9lKycf1MWJ7CaTIERyitVlyQx6C+sxcROU2BAJ24OiZyK+8wj2i8AlBoS3A==}- engines: {node: '>=10'}-resolution: {integrity: sha512-R5iJ5lkuHybztUfuOAznmboyjWq8O6sqNqtK7CLOqdydi54VNbORp49mb14KbWgG1QD3JFO9hJdZ+y4KutfdOQ==}@@ -9501,38 +9218,6 @@ packages:engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}os: [darwin]- resolution: {integrity: sha512-KbDZ2euvyXQ0M+ch6p4ZlrQzw6MqRBp7Z/2LbQC8fW+FYJUI9zKy/ThS04p2tTiz+6DN1Pi4nIuoOn7F2iCpbQ==}- peerDependencies:- '@oramacloud/client': 1.x.x || 2.x.x- algoliasearch: 4.24.0- next: 14.x.x || 15.x.x- react: 18.x.x || 19.x.x- react-dom: 18.x.x || 19.x.x- peerDependenciesMeta:- '@oramacloud/client':- optional: true- algoliasearch:- optional: true- next:- optional: true- react:- optional: true- react-dom:- optional: true-- resolution: {integrity: sha512-Jel9zhg85BfMfzDW2YX0lE0qeqnQmWj4s9QpbdKnPnrqeq2jRJJnpJExk3kaeWGG5KousEWG5ihsz3sFQvYCYw==}- peerDependencies:- fumadocs-core: 15.1.2- next: 14.x.x || 15.x.x- react: 18.x.x || 19.x.x- react-dom: 18.x.x || 19.x.x- tailwindcss: ^3.4.14 || ^4.0.0- peerDependenciesMeta:- tailwindcss:- optional: true-resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==}@@ -9863,9 +9548,6 @@ packages:resolution: {integrity: sha512-OGkAxX1Ua3cbcW6EJ5pT/tslVb90uViVkcJ4ZZIMW/R33DX/AkcJcRrPebPwJkHYwlDHXz4aIwvAAaAdtrACFA==}- resolution: {integrity: sha512-XelQVTDWvqcl3axRfI0xSeoVKzyIFPwsAGSLIsKdJKQMXDYJS4WYrBNF/8J7RdhIcFI2BOHgAifggsvsxp/3+A==}-resolution: {integrity: sha512-EWiE1FSArNBPUo1cKWtzqgnuRQwEeQbQtnFJRYV1hb1BWDgrAlBU0ExptvZMM/KSA82cDpm2sFGf3Dmc5Mza3w==}@@ -10018,11 +9700,6 @@ packages:resolution: {integrity: sha512-bAH5jbK/F3T3Jls4I0SO1hmPR0dKU0a7+SY6n1yzRtG54FLO8d6w/nxLFX2Nb7dBu6cCWXPaAME6cYqFUMmuCA==}engines: {node: '>= 4'}- resolution: {integrity: sha512-NI6NK/2zchlZopsQrcVIS7jxA0/rtIy74B+/rx5s7rKQyFebmQjZVhzxXgRZJROk+WhhOq+S6sUaODxp0L5hfg==}- engines: {node: '>=16.x'}- hasBin: true-resolution: {integrity: sha512-lCYzQrWzdnA68K03oMj/BUlBJrVBnslzDOgGFymAp49NmdGEJxGeN7sHh5mCva0nQkq+kkKSuru2zLf1m04+3A==}engines: {node: '>=14.0.0'}@@ -10975,11 +10652,6 @@ packages:peerDependencies:react: ^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0-rc- resolution: {integrity: sha512-WldsY17Qb/T3VZdMnVQ9C3DDIP7h1ViDTHVdVGnLZcvHNg30zH/MTQ04RTORjexoGmpsXroiQXZ4QyR0kBy0FA==}- peerDependencies:- react: ^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0-resolution: {integrity: sha512-zTU3DaZaF3Rt9rhN3uBMGQD3dD2/vFQqnvZCDv4dl5iOzq2IZQqTxu90r4E5J+nP70J3ilqVCrbho2eWaeW8Ow==}@@ -11716,10 +11388,6 @@ packages:resolution: {integrity: sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==}engines: {node: '>= 0.6'}- resolution: {integrity: sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==}- engines: {node: '>= 0.6'}-resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==}@@ -11768,12 +11436,6 @@ packages:react: ^16.8 || ^17 || ^18react-dom: ^16.8 || ^17 || ^18- resolution: {integrity: sha512-pZvgD5L0IEvX5/9GWyHMf3m8BKiVQwsCMHfoFosXtXBMnaS0ZnIJ9ST4b4NqLVKDEm8QBxoNNGNaBv2JNF6XNA==}- peerDependencies:- react: ^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc- react-dom: ^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc-resolution: {integrity: sha512-b81XSLihMwCfwiUVRRja3LphLo4uBBMZEzBBWMaISbKTwOmq3wPknIETy/8000tr7Gq4WmbuFYPS7jOYIf+ZJw==}engines: {node: '>=18.17.0'}@@ -12515,10 +12177,6 @@ packages:resolution: {integrity: sha512-EaV1Gl4mUEV4ddhDnv/xtj7sxwrwxdetHdWUGnT4VJQf+4d05v6lHYZr8N573k5Z0BViss7BDhfWtKS3+sfAqQ==}engines: {node: '>=4'}- resolution: {integrity: sha512-8sLjZwK0R+JlxlYcTuVnyT2v+htpdrjDOKuMcOVdYjt52Lh8hWRYpxBPoKx/Zg+bcjc3wx6fmQevMmUztS/ccA==}- engines: {node: '>=4'}-resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==}@@ -12923,12 +12581,6 @@ packages:'@types/react': '>=18'react: '>=18'- resolution: {integrity: sha512-nfTVYcAUnBzXQpPDcZL+cG/e6UceYUIG+zDcnemL7jtAqbJjVVkA85RgneGtJeni12dTyiRPZVM6Szkmwd/o8w==}- peerDependencies:- react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0- react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-resolution: {integrity: sha512-XLu/fLqpbmhiDAGA6yie78tDv4kh8GxvS7kKQArSOvCvm5zvgItoh4h01NAAvnezQ60ovsTeedHiHG3eG9CcGg==}peerDependencies:@@ -12974,16 +12626,6 @@ packages:'@types/react':optional: true- resolution: {integrity: sha512-9r+yi9+mgU33AKcj6IbT9oRCO78WriSj6t/cF8DWBZJ9aOGPOTEDvdUDz1FwKim7QXWwmHqtdHnRJfhAxEG46Q==}- engines: {node: '>=10'}- peerDependencies:- '@types/react': '*'- react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0- peerDependenciesMeta:- '@types/react':- optional: true-resolution: {integrity: sha512-ImKhrzJJsyXJfBZ4bzu8Bwpka14c/fQt0k+cyFp/PBhTfyDnU5hjOtM4AG/0AMyy8oKzOTR0lDgJIM7pYXI0kw==}engines: {node: '>=10'}@@ -13004,16 +12646,6 @@ packages:'@types/react':optional: true- resolution: {integrity: sha512-pnAi91oOk8g8ABQKGF5/M9qxmmOPxaAnopyTHYfqYEwJhyFrbbBtHuSgtKEoH0jpcxx5o3hXqH1mNd9/Oi+8iQ==}- engines: {node: '>=10'}- peerDependencies:- '@types/react': '*'- react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true-resolution: {integrity: sha512-kzue8lsoSBdyyd2IfXLQMMhNujOxRoGVus+63K95fQqleGxTfvgYLTzbwYMOODeAHqnkjb3WV/Ks7f5+gDYZuQ==}peerDependencies:@@ -13058,16 +12690,6 @@ packages:'@types/react':optional: true- resolution: {integrity: sha512-b6jSvxvVnyptAiLjbkWLE/lOnR4lfTtDAl+eUC7RZy+QQWc6wRzIV2CE6xBuMmDxc2qIihtDCZD5NPOFl7fRBQ==}- engines: {node: '>=10'}- peerDependencies:- '@types/react': '*'- react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true-resolution: {integrity: sha512-+zq2myprEnQmH5yw6Gqc8lD55QHnpKaU8TOcFeC/Lg/MQSs8UknEA0JC4nTZGFAXC2J2Hyj/ijJ7NlabyPi2gg==}peerDependencies:@@ -13278,9 +12900,6 @@ packages:resolution: {integrity: sha512-U92vJgBPkbw4Zfu/IiW2oTZLSL3Zpv+uI7My2eq8JxKgqraFdU8YUGicEJCEgSbeaG+QDFqIcwwfMTOEelPxuA==}- resolution: {integrity: sha512-1quofZ2RQ9EWdeN34S79+KExV1764+wCUGop5CPL1WGdD0ocPpu91lzPGbwWMECpEpd42kJGQwzRfyov9j4yNg==}-resolution: {integrity: sha512-B9JqA5i0qZe0Nsf49q3OXyGvyXuZFDzAP2iOFLEumymuYJITVpiH1IgsTEwTpdptDmZlMDMWeDmSawdaJIGCXQ==}@@ -14133,9 +13752,6 @@ packages:resolution: {integrity: sha512-3mFKyCo/MBcgyOTlrY8T7odzZFx+w+qKSMAmdFzRvqBfLlSigU6TZnlFHK0lkMwj9Bj8OYU+9yW9lmGuS0QEnQ==}- resolution: {integrity: sha512-l7z+OYZ7mu3DTqrL88RiKrKIqO3NcpEO8V/Od04bNpvk0kiIFndGEoqfuzvj4yuhRkHKjRkII2z+KS2HfPcSxw==}-resolution: {integrity: sha512-bl6mpH3T7I3UFxuvDEXLxy/VuFxBk5bbzplh7tXI68mwMokNYd1t9qPBHlnyTwfa4JGC4zP516I1hYYtQ/vspA==}peerDependencies:@@ -14807,16 +14423,6 @@ packages:'@types/react':optional: true- resolution: {integrity: sha512-jQL3lRnocaFtu3V00JToYz/4QkNWswxijDaCVNZRiRTO3HQDLsdu1ZtmIUvV4yPp+rvWm5j0y0TG/S61cuijTg==}- engines: {node: '>=10'}- peerDependencies:- '@types/react': '*'- react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true-resolution: {integrity: sha512-fOrzIw2wstbAJuv8PC9Vg4XgwyTLEOdq4y/Z3IhVl8DAE4svRcgyEUvrEXu+BMNgMoc3YND6qLT61kkgEKXh7Q==}engines: {node: '>= 10.0.0'}@@ -14838,16 +14444,6 @@ packages:'@types/react':optional: true- resolution: {integrity: sha512-Fedw0aZvkhynoPYlA5WXrMCAMm+nSWdZt6lzJQ7Ok8S6Q+VsHmHpRWndVRJ8Be0ZbkfPc5LRYH+5XrzXcEeLRQ==}- engines: {node: '>=10'}- peerDependencies:- '@types/react': '*'- react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true-resolution: {integrity: sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==}peerDependencies:@@ -16951,10 +16547,6 @@ snapshots:'@floating-ui/[email protected]': {}- '@formatjs/[email protected]':- dependencies:- tslib: 2.8.1-'@gar/[email protected]': {}'@graphiql/[email protected](@codemirror/[email protected])(@types/[email protected])(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])([email protected]([email protected]))([email protected])':@@ -18273,8 +17865,6 @@ snapshots:'@opentelemetry/api': 1.9.0'@opentelemetry/core': 1.30.1(@opentelemetry/[email protected])- '@orama/[email protected]': {}-'@parcel/[email protected]':optional: true@@ -18407,16 +17997,12 @@ snapshots:dependencies:'@babel/runtime': 7.24.7- '@radix-ui/[email protected]': {}-'@radix-ui/[email protected]':dependencies:'@babel/runtime': 7.24.7'@radix-ui/[email protected]': {}- '@radix-ui/[email protected]': {}-'@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@babel/runtime': 7.24.7@@ -18435,23 +18021,6 @@ snapshots:'@types/react': 18.3.3'@types/react-dom': 18.3.0- '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':- dependencies:- '@radix-ui/primitive': 1.1.1- '@radix-ui/react-collapsible': 1.1.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-collection': 1.1.2(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-direction': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-id': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 2.0.2(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])- react: 18.2.0- react-dom: 18.2.0([email protected])- optionalDependencies:- '@types/react': 18.3.3- '@types/react-dom': 18.3.0-'@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@babel/runtime': 7.24.7@@ -18486,15 +18055,6 @@ snapshots:'@types/react': 18.3.3'@types/react-dom': 18.3.0- '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':- dependencies:- '@radix-ui/react-primitive': 2.0.2(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- react: 18.2.0- react-dom: 18.2.0([email protected])- optionalDependencies:- '@types/react': 18.3.3- '@types/react-dom': 18.3.0-'@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@babel/runtime': 7.24.7@@ -18543,25 +18103,9 @@ snapshots:'@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])'@radix-ui/react-id': 1.0.1(@types/[email protected])([email protected])'@radix-ui/react-presence': 1.0.1(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-controllable-state': 1.0.1(@types/[email protected])([email protected])- '@radix-ui/react-use-layout-effect': 1.0.1(@types/[email protected])([email protected])- react: 18.2.0- react-dom: 18.2.0([email protected])- optionalDependencies:- '@types/react': 18.3.3- '@types/react-dom': 18.3.0-- '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':- dependencies:- '@radix-ui/primitive': 1.1.1- '@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-id': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-presence': 1.1.2(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.0.2(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.0.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.0.1(@types/[email protected])([email protected])react: 18.2.0react-dom: 18.2.0([email protected])optionalDependencies:@@ -18581,18 +18125,6 @@ snapshots:'@types/react': 18.3.3'@types/react-dom': 18.3.0- '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':- dependencies:- '@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 2.0.2(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-slot': 1.1.2(@types/[email protected])([email protected])- react: 18.2.0- react-dom: 18.2.0([email protected])- optionalDependencies:- '@types/react': 18.3.3- '@types/react-dom': 18.3.0-dependencies:'@babel/runtime': 7.24.7@@ -18640,12 +18172,6 @@ snapshots:optionalDependencies:'@types/react': 18.3.3- dependencies:- react: 18.2.0- optionalDependencies:- '@types/react': 18.3.3-'@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@babel/runtime': 7.24.7@@ -18669,28 +18195,6 @@ snapshots:'@types/react': 18.3.3'@types/react-dom': 18.3.0- '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':- dependencies:- '@radix-ui/primitive': 1.1.1- '@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-dismissable-layer': 1.1.5(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-focus-guards': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-focus-scope': 1.1.2(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-id': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-portal': 1.1.4(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-presence': 1.1.2(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.0.2(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-slot': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])- aria-hidden: 1.2.4- react: 18.2.0- react-dom: 18.2.0([email protected])- react-remove-scroll: 2.6.3(@types/[email protected])([email protected])- optionalDependencies:- '@types/react': 18.3.3- '@types/react-dom': 18.3.0-dependencies:'@babel/runtime': 7.24.7@@ -18698,12 +18202,6 @@ snapshots:optionalDependencies:'@types/react': 18.3.3- dependencies:- react: 18.2.0- optionalDependencies:- '@types/react': 18.3.3-'@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@babel/runtime': 7.24.7@@ -18731,19 +18229,6 @@ snapshots:'@types/react': 18.3.3'@types/react-dom': 18.3.0- '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':- dependencies:- '@radix-ui/primitive': 1.1.1- '@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 2.0.2(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-use-escape-keydown': 1.1.0(@types/[email protected])([email protected])- react: 18.2.0- react-dom: 18.2.0([email protected])- optionalDependencies:- '@types/react': 18.3.3- '@types/react-dom': 18.3.0-'@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@babel/runtime': 7.24.7@@ -18773,12 +18258,6 @@ snapshots:optionalDependencies:'@types/react': 18.3.3- dependencies:- react: 18.2.0- optionalDependencies:- '@types/react': 18.3.3-'@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@babel/runtime': 7.24.7@@ -18802,17 +18281,6 @@ snapshots:'@types/react': 18.3.3'@types/react-dom': 18.3.0- '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':- dependencies:- '@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 2.0.2(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])- react: 18.2.0- react-dom: 18.2.0([email protected])- optionalDependencies:- '@types/react': 18.3.3- '@types/react-dom': 18.3.0-'@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@babel/runtime': 7.24.7@@ -18925,28 +18393,6 @@ snapshots:'@types/react': 18.3.3'@types/react-dom': 18.3.0- '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':- dependencies:- '@radix-ui/primitive': 1.1.1- '@radix-ui/react-collection': 1.1.2(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-direction': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-dismissable-layer': 1.1.5(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-id': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-presence': 1.1.2(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.0.2(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-use-previous': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-visually-hidden': 1.1.2(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- react: 18.2.0- react-dom: 18.2.0([email protected])- optionalDependencies:- '@types/react': 18.3.3- '@types/react-dom': 18.3.0-'@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/primitive': 1.1.0@@ -18970,29 +18416,6 @@ snapshots:'@types/react': 18.3.3'@types/react-dom': 18.3.0- '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':- dependencies:- '@radix-ui/primitive': 1.1.1- '@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-dismissable-layer': 1.1.5(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-focus-guards': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-focus-scope': 1.1.2(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-id': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-popper': 1.2.2(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-portal': 1.1.4(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-presence': 1.1.2(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.0.2(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-slot': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])- aria-hidden: 1.2.4- react: 18.2.0- react-dom: 18.2.0([email protected])- react-remove-scroll: 2.6.3(@types/[email protected])([email protected])- optionalDependencies:- '@types/react': 18.3.3- '@types/react-dom': 18.3.0-'@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@babel/runtime': 7.24.7@@ -19030,24 +18453,6 @@ snapshots:'@types/react': 18.3.3'@types/react-dom': 18.3.0- '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':- dependencies:- '@radix-ui/react-arrow': 1.1.2(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 2.0.2(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-use-rect': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-use-size': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/rect': 1.1.0- react: 18.2.0- react-dom: 18.2.0([email protected])- optionalDependencies:- '@types/react': 18.3.3- '@types/react-dom': 18.3.0-'@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@babel/runtime': 7.24.7@@ -19068,16 +18473,6 @@ snapshots:'@types/react': 18.3.3'@types/react-dom': 18.3.0- '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':- dependencies:- '@radix-ui/react-primitive': 2.0.2(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])- react: 18.2.0- react-dom: 18.2.0([email protected])- optionalDependencies:- '@types/react': 18.3.3- '@types/react-dom': 18.3.0-'@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@babel/runtime': 7.24.7@@ -19099,16 +18494,6 @@ snapshots:'@types/react': 18.3.3'@types/react-dom': 18.3.0- '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':- dependencies:- '@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])- react: 18.2.0- react-dom: 18.2.0([email protected])- optionalDependencies:- '@types/react': 18.3.3- '@types/react-dom': 18.3.0-'@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@babel/runtime': 7.24.7@@ -19128,15 +18513,6 @@ snapshots:'@types/react': 18.3.3'@types/react-dom': 18.3.0- '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':- dependencies:- '@radix-ui/react-slot': 1.1.2(@types/[email protected])([email protected])- react: 18.2.0- react-dom: 18.2.0([email protected])- optionalDependencies:- '@types/react': 18.3.3- '@types/react-dom': 18.3.0-'@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@babel/runtime': 7.24.7@@ -19185,23 +18561,6 @@ snapshots:'@types/react': 18.3.3'@types/react-dom': 18.3.0- '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':- dependencies:- '@radix-ui/primitive': 1.1.1- '@radix-ui/react-collection': 1.1.2(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-direction': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-id': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 2.0.2(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])- react: 18.2.0- react-dom: 18.2.0([email protected])- optionalDependencies:- '@types/react': 18.3.3- '@types/react-dom': 18.3.0-'@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@babel/runtime': 7.24.7@@ -19220,23 +18579,6 @@ snapshots:'@types/react': 18.3.3'@types/react-dom': 18.3.0- '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':- dependencies:- '@radix-ui/number': 1.1.0- '@radix-ui/primitive': 1.1.1- '@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-direction': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-presence': 1.1.2(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.0.2(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-callback-ref': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])- react: 18.2.0- react-dom: 18.2.0([email protected])- optionalDependencies:- '@types/react': 18.3.3- '@types/react-dom': 18.3.0-'@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@babel/runtime': 7.24.7@@ -19352,22 +18694,6 @@ snapshots:'@types/react': 18.3.3'@types/react-dom': 18.3.0- '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':- dependencies:- '@radix-ui/primitive': 1.1.1- '@radix-ui/react-context': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-direction': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-id': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-presence': 1.1.2(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.0.2(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-roving-focus': 1.1.2(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-controllable-state': 1.1.0(@types/[email protected])([email protected])- react: 18.2.0- react-dom: 18.2.0([email protected])- optionalDependencies:- '@types/react': 18.3.3- '@types/react-dom': 18.3.0-'@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@babel/runtime': 7.24.7@@ -19480,12 +18806,6 @@ snapshots:optionalDependencies:'@types/react': 18.3.3- dependencies:- react: 18.2.0- optionalDependencies:- '@types/react': 18.3.3-dependencies:'@babel/runtime': 7.24.7@@ -19526,15 +18846,6 @@ snapshots:'@types/react': 18.3.3'@types/react-dom': 18.3.0- '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':- dependencies:- '@radix-ui/react-primitive': 2.0.2(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- react: 18.2.0- react-dom: 18.2.0([email protected])- optionalDependencies:- '@types/react': 18.3.3- '@types/react-dom': 18.3.0-'@radix-ui/[email protected]':dependencies:'@babel/runtime': 7.24.7@@ -20201,15 +19512,6 @@ snapshots:dependencies:'@shikijs/types': 3.2.1- '@shikijs/[email protected]':- dependencies:- '@shikijs/types': 3.2.1- '@types/hast': 3.0.4- hast-util-to-string: 3.0.1- shiki: 3.2.1- unified: 11.0.5- unist-util-visit: 5.0.0-'@shikijs/[email protected]':dependencies:'@shikijs/types': 3.2.1@@ -20218,11 +19520,6 @@ snapshots:dependencies:shiki: 1.6.0- '@shikijs/[email protected]':- dependencies:- '@shikijs/core': 3.2.1- '@shikijs/types': 3.2.1-'@shikijs/[email protected]':dependencies:'@shikijs/vscode-textmate': 10.0.2@@ -22476,10 +21773,6 @@ snapshots:dependencies:tslib: 2.8.1- dependencies:- tslib: 2.8.1-dependencies:deep-equal: 2.2.2@@ -24810,59 +24103,6 @@ snapshots:optional: true- [email protected](@types/[email protected])([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected]):- dependencies:- '@formatjs/intl-localematcher': 0.6.1- '@orama/orama': 3.1.3- '@shikijs/rehype': 3.2.1- '@shikijs/transformers': 3.2.1- github-slugger: 2.0.0- hast-util-to-estree: 3.1.3([email protected])- hast-util-to-jsx-runtime: 2.3.6([email protected])- image-size: 2.0.1- negotiator: 1.0.0- react-remove-scroll: 2.6.3(@types/[email protected])([email protected])- remark: 15.0.1([email protected])- remark-gfm: 4.0.1([email protected])- scroll-into-view-if-needed: 3.1.0- shiki: 3.2.1- unist-util-visit: 5.0.0- optionalDependencies:- next: 14.2.26(@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected])- react: 18.2.0- react-dom: 18.2.0([email protected])- transitivePeerDependencies:- - '@types/react'- - supports-color-- [email protected](@types/[email protected])(@types/[email protected])([email protected](@types/[email protected])([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected]))([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected]([email protected](@types/[email protected])([email protected]))):- dependencies:- '@radix-ui/react-accordion': 1.2.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-collapsible': 1.1.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-dialog': 1.1.6(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-direction': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-navigation-menu': 1.2.5(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-popover': 1.1.6(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-scroll-area': 1.2.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-slot': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-tabs': 1.1.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])- class-variance-authority: 0.7.1- fumadocs-core: 15.1.2(@types/[email protected])([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])- lodash.merge: 4.6.2- lucide-react: 0.483.0([email protected])- next: 14.2.26(@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected])- postcss-selector-parser: 7.1.0- react: 18.2.0- react-dom: 18.2.0([email protected])- tailwind-merge: 3.0.2- optionalDependencies:- transitivePeerDependencies:- - '@types/react'- - '@types/react-dom'-@@ -25409,10 +24649,6 @@ snapshots:dependencies:'@types/hast': 3.0.4- dependencies:- '@types/hast': 3.0.4-dependencies:'@types/hast': 3.0.4@@ -25605,8 +24841,6 @@ snapshots:- [email protected]: {}-@@ -26792,10 +26026,6 @@ snapshots:dependencies:react: 18.2.0- dependencies:- react: 18.2.0-@@ -28138,8 +27368,6 @@ snapshots:- [email protected]: {}-[email protected]([email protected]([email protected])([email protected])([email protected]))([email protected])([email protected])([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected]):@@ -28215,11 +27443,6 @@ snapshots:react: 18.2.0react-dom: 18.2.0([email protected])- dependencies:- react: 18.2.0- react-dom: 18.2.0([email protected])-[email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]):dependencies:'@next/env': 14.2.26@@ -29200,11 +28423,6 @@ snapshots:cssesc: 3.0.0util-deprecate: 1.0.2- dependencies:- cssesc: 3.0.0- util-deprecate: 1.0.2-@@ -29628,11 +28846,6 @@ snapshots:transitivePeerDependencies:- supports-color- dependencies:- react: 18.2.0- react-dom: 18.2.0([email protected])-dependencies:react: 18.2.0@@ -29673,14 +28886,6 @@ snapshots:optionalDependencies:'@types/react': 18.3.3- dependencies:- react: 18.2.0- react-style-singleton: 2.2.3(@types/[email protected])([email protected])- tslib: 2.8.1- optionalDependencies:- '@types/react': 18.3.3-dependencies:react: 18.2.0@@ -29703,17 +28908,6 @@ snapshots:optionalDependencies:'@types/react': 18.3.3- dependencies:- react: 18.2.0- react-remove-scroll-bar: 2.3.8(@types/[email protected])([email protected])- react-style-singleton: 2.2.3(@types/[email protected])([email protected])- tslib: 2.8.1- use-callback-ref: 1.3.3(@types/[email protected])([email protected])- use-sidecar: 1.1.3(@types/[email protected])([email protected])- optionalDependencies:- '@types/react': 18.3.3-dependencies:react: 18.2.0@@ -29764,14 +28958,6 @@ snapshots:optionalDependencies:'@types/react': 18.3.3- dependencies:- get-nonce: 1.0.1- react: 18.2.0- tslib: 2.8.1- optionalDependencies:- '@types/react': 18.3.3-dependencies:'@babel/runtime': 7.24.7@@ -30114,17 +29300,6 @@ snapshots:transitivePeerDependencies:- supports-color- dependencies:- '@types/mdast': 4.0.1- mdast-util-gfm: 3.0.0([email protected])- micromark-extension-gfm: 3.0.0- remark-parse: 11.0.0([email protected])- remark-stringify: 11.0.0- unified: 11.0.5- transitivePeerDependencies:- - supports-color-dependencies:'@types/mdast': 4.0.1@@ -31193,8 +30368,6 @@ snapshots:- [email protected]: {}-[email protected]([email protected]([email protected](@types/[email protected])([email protected]))):dependencies:@@ -31962,13 +31135,6 @@ snapshots:optionalDependencies:'@types/react': 18.3.3- dependencies:- react: 18.2.0- tslib: 2.8.1- optionalDependencies:- '@types/react': 18.3.3-dependencies:react: 18.2.0@@ -31985,14 +31151,6 @@ snapshots:optionalDependencies:'@types/react': 18.3.3- dependencies:- detect-node-es: 1.1.0- react: 18.2.0- tslib: 2.8.1- optionalDependencies:- '@types/react': 18.3.3-dependencies:react: 18.2.0