diff --git a/apps/docs/components/Navigation/NavBar.tsx b/apps/docs/components/Navigation/NavBar.tsx index f4d7f6e0098..c821b2ab973 100644 --- a/apps/docs/components/Navigation/NavBar.tsx +++ b/apps/docs/components/Navigation/NavBar.tsx @@ -3,12 +3,12 @@ import Image from 'next/image' import Link from 'next/link' import { useRouter } from 'next/router' import { FC, useEffect, useState } from 'react' -import { IconCommand, IconMenu, IconMoon, IconSearch, IconSun, Listbox } from 'ui' +import { IconCommand, IconMenu, IconMoon, IconSearch, IconSun, Listbox, SearchButton } from 'ui' import { REFERENCES } from './Navigation.constants' import { getPageType } from '~/lib/helpers' -import SearchButton from '../Search/SearchButton' +// import SearchButton from '../Search/SearchButton' const NavBar: FC = () => { const { isDarkMode, toggleTheme } = useTheme() diff --git a/apps/docs/components/Navigation/NavigationMenu/TopNavBar.tsx b/apps/docs/components/Navigation/NavigationMenu/TopNavBar.tsx index 5b4b97fafa9..294446f7235 100644 --- a/apps/docs/components/Navigation/NavigationMenu/TopNavBar.tsx +++ b/apps/docs/components/Navigation/NavigationMenu/TopNavBar.tsx @@ -3,12 +3,21 @@ import Image from 'next/image' import Link from 'next/link' import { useRouter } from 'next/router' import { FC, useEffect, useState } from 'react' -import { Button, IconCommand, IconMenu, IconMoon, IconSearch, IconSun, Listbox } from 'ui' +import { + Button, + IconCommand, + IconMenu, + IconMoon, + IconSearch, + IconSun, + Listbox, + SearchButton, +} from 'ui' import { REFERENCES } from '~/components/Navigation/Navigation.constants' import { getPageType } from '~/lib/helpers' -import SearchButton from './../../Search/SearchButton' +// import SearchButton from './../../Search/SearchButton' const TopNavBar: FC = () => { const { isDarkMode, toggleTheme } = useTheme() diff --git a/apps/docs/components/Navigation/NavigationMenu/TopNavBarRef.tsx b/apps/docs/components/Navigation/NavigationMenu/TopNavBarRef.tsx index 0a2bdb7a696..765dce0f678 100644 --- a/apps/docs/components/Navigation/NavigationMenu/TopNavBarRef.tsx +++ b/apps/docs/components/Navigation/NavigationMenu/TopNavBarRef.tsx @@ -3,12 +3,12 @@ import Image from 'next/image' import Link from 'next/link' import { useRouter } from 'next/router' import { FC, useEffect, useState } from 'react' -import { Button, IconCommand, IconGitHub, IconMoon, IconSearch, IconSun } from 'ui' +import { Button, IconCommand, IconGitHub, IconMoon, IconSearch, IconSun, SearchButton } from 'ui' import { REFERENCES } from '~/components/Navigation/Navigation.constants' import { getPageType } from '~/lib/helpers' -import SearchButton from '~/components/Search/SearchButton' +// import SearchButton from '~/components/Search/SearchButton' const TopNavBarRef: FC = () => { const { isDarkMode, toggleTheme } = useTheme() diff --git a/apps/docs/pages/_app.tsx b/apps/docs/pages/_app.tsx index 1557f8ec9d7..24c40069b7c 100644 --- a/apps/docs/pages/_app.tsx +++ b/apps/docs/pages/_app.tsx @@ -4,7 +4,7 @@ import { ThemeProvider } from 'common/Providers' import { useRouter } from 'next/router' import { useEffect, useState } from 'react' import { AppPropsWithLayout } from 'types' -// import { CommandMenuProvider } from 'ui' +import { CommandMenuProvider } from 'ui' import Favicons from '~/components/Favicons' import SearchProvider from '~/components/Search/SearchProvider' import SiteLayout from '~/layouts/SiteLayout' @@ -67,24 +67,24 @@ function MyApp({ Component, pageProps }: AppPropsWithLayout) { {IS_PLATFORM || LOCAL_SUPABASE ? ( - - {/* */} + {/* */} + - {/* */} - + + {/* */} ) : ( - - {/* */} + {/* */} + - {/* */} - + + {/* */} )} diff --git a/packages/ui/index.tsx b/packages/ui/index.tsx index 8ed9dcc7a4a..4e4381f7e49 100644 --- a/packages/ui/index.tsx +++ b/packages/ui/index.tsx @@ -56,7 +56,7 @@ export * from './src/components/Upload' export * from './src/components/Form' // CMD+K -// export * from './src/components/Command' +export * from './src/components/Command' // config diff --git a/packages/ui/src/components/Command/Command.icons.tsx b/packages/ui/src/components/Command/Command.icons.tsx index ccb75965b32..07d7cf16d3b 100644 --- a/packages/ui/src/components/Command/Command.icons.tsx +++ b/packages/ui/src/components/Command/Command.icons.tsx @@ -6,7 +6,7 @@ export const AiIcon = () => ( viewBox="0 0 24 24" strokeWidth="1.5" stroke="currentColor" - className="w-6 h-6 text-purple-900" + className="w-6 h-6 text-brand-900" > ( export const AiIconChat = () => (
diff --git a/packages/ui/src/components/Command/CommandMenu.tsx b/packages/ui/src/components/Command/CommandMenu.tsx index b7e0e07a269..3dd0046620e 100644 --- a/packages/ui/src/components/Command/CommandMenu.tsx +++ b/packages/ui/src/components/Command/CommandMenu.tsx @@ -130,7 +130,7 @@ const CommandMenu = () => { forceMount > - + Ask Supabase AI {search ? ( <> diff --git a/studio/pages/_app.tsx b/studio/pages/_app.tsx index 054c4fe8cfa..f9c80b2081a 100644 --- a/studio/pages/_app.tsx +++ b/studio/pages/_app.tsx @@ -40,7 +40,7 @@ import { PortalToast, RouteValidationWrapper, AppBannerWrapper } from 'component import PageTelemetry from 'components/ui/PageTelemetry' import FlagProvider from 'components/ui/Flag/FlagProvider' import useAutoAuthRedirect from 'hooks/misc/useAutoAuthRedirect' -// import CommandMenuProvider from 'ui/src/components/Command/CommandMenuProvider' +import CommandMenuProvider from 'ui/src/components/Command/CommandMenuProvider' import { TooltipProvider } from '@radix-ui/react-tooltip' dayjs.extend(customParseFormat) @@ -118,9 +118,9 @@ function CustomApp({ Component, pageProps }: AppPropsWithLayout) { - {/* */} - {getLayout()} - {/* */} + + {getLayout()} +