mirror of
https://github.com/supabase/supabase.git
synced 2026-06-16 02:26:42 +08:00
This PR migrates the whole monorepo to use Tailwind v4: - Removed `@tailwindcss/container-queries` plugin since it's included by default in v4, - Bump all instances of Tailwind to v4. Made minimal changes to the shared config to remove non-supported features (`alpha` mentions), - Migrate all apps to be compatible with v4 configs, - Fix the `typography.css` import in 3 apps, - Add missing rules which were included by default in v3, - Run `pnpm dlx @tailwindcss/upgrade` on all apps, which renames a lot of classes - Rename all misnamed classes according to https://tailwindcss.com/docs/upgrade-guide#renamed-utilities in all apps. --------- Co-authored-by: Jordi Enric <jordi.err@gmail.com>
29 lines
915 B
TypeScript
29 lines
915 B
TypeScript
import { useParams } from 'common'
|
|
import Link from 'next/link'
|
|
import { Button } from 'ui'
|
|
import { Admonition } from 'ui-patterns'
|
|
|
|
const PublicSchemaNotEnabledAlert = () => {
|
|
const { ref: projectRef } = useParams()
|
|
|
|
return (
|
|
<Admonition type="default">
|
|
<p className="mt-0! mb-1.5!">The public schema for this project is not exposed</p>
|
|
<p className="mt-0! mb-1.5! text-foreground-light">
|
|
You will not be able to query tables and views in the public schema via supabase-js or HTTP
|
|
clients. Configure this behavior in your project's Data API settings.
|
|
</p>
|
|
<Button asChild type="default" className="mt-1">
|
|
<Link
|
|
href={`/project/${projectRef}/settings/api#postgrest-config`}
|
|
className="no-underline!"
|
|
>
|
|
View API settings
|
|
</Link>
|
|
</Button>
|
|
</Admonition>
|
|
)
|
|
}
|
|
|
|
export default PublicSchemaNotEnabledAlert
|