mirror of
https://github.com/supabase/supabase.git
synced 2026-12-04 07:29:16 +00:00
## Problem - on `/kb/guides/migrate-from-auth0` in safari 27 on macos, the mouse wheel does not scroll the page and a trackpad does - radix scroll area bar in the table of contents adds a non-passive `wheel` listener on `document` - webkit stops mouse-wheel page scroll when that listener meets `overscroll-behavior-y: none` on `html`, which kb sets ## Solution - replaces radix with base ui in the `ui` scroll area parts because base ui binds its wheel listener to the scrollbar element - replaces the radix `display: table` workarounds in the studio token sheets and the connect sheet with a reset of the base ui content `min-width` - changes the docs ask ai scroll area to use the `ui` scroll area - adds an inset focus ring to the scroll area viewport because base ui makes an overflowing viewport focusable - adds a `getAnimations` stub to the jsdom test setups because the base ui viewport calls it - adds `@base-ui/react` to the pnpm catalog + points the design system scroll area page at the base ui docs <!-- ## Preview links If relevant, include links to changed pages for easy review access. Copy the preview base URL from the Vercel bot comment on this PR. Use the following table as an example template. | Site | Live | Preview | Search for | | -------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | ----------------------------- | | WWW | [/blog/your-post](https://supabase.com/blog/your-post) | [/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post) | unique phrase from the change | | Docs | [/docs/guides/your-page](https://supabase.com/docs/guides/your-page) | [/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page) | unique phrase from the change | | Studio | [/dashboard](https://supabase.com/dashboard) | [/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard) | unique phrase from the change | | Design system | [/design-system](https://supabase.com/design-system) | [/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system) | unique phrase from the change | | UI library | [/library](https://supabase.com/library) | [/library](https://ui-library-git-branch-name-supabase.vercel.app/library) | unique phrase from the change | | Knowledge base | [/kb/guides/your-page](https://supabase.com/kb/guides/your-page) | [/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page) | unique phrase from the change | --> <!-- ## Additional context Optionally add any other context or screenshots. --> ## Review instructions 1. open the preview [/kb/guides/migrate-from-auth0](https://kb-git-antlio-ui-scroll-area-supabase.vercel.app/kb/guides/migrate-from-auth0) in safari on macos with a mouse 2. turn the mouse wheel and make sure that the page scrolls and the table of contents marks the active heading 3. open the preview [/design-system/docs/components/scroll-area](https://design-system-git-antlio-ui-scroll-area-supabase.vercel.app/design-system/docs/components/scroll-area) and make sure that each demo shows its bar on hover and scrolls with the wheel 4. make sure that the horizontal demo scrolls sideways 5. press `tab` until a demo takes focus and make sure that it shows an inset focus ring 6. open a project in the [studio preview](https://studio-staging-git-antlio-ui-scroll-area-supabase.vercel.app/dashboard), click `Connect` and make sure that a long code line scrolls inside its code block and the sheet body does not scroll sideways 7. open the [docs preview](https://docs-git-antlio-ui-scroll-area-supabase.vercel.app/docs), press `cmd+k`, search for `auth` and make sure that the results list scrolls ## Checklist Check all before review: - [x] I have read [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) - [ ] If I wrote a new docs topic or edited an existing topic, I used the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs [style guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
141 lines
4.2 KiB
YAML
141 lines
4.2 KiB
YAML
packages:
|
|
- apps/*
|
|
- packages/*
|
|
- blocks/*
|
|
- e2e/*
|
|
|
|
blockExoticSubdeps: true
|
|
engineStrict: true
|
|
updateNotifier: false
|
|
# Doesn't work because of Typescript issues with peer dependencies, see https://github.com/pnpm/pnpm/issues/9739
|
|
enableGlobalVirtualStore: false
|
|
|
|
catalog:
|
|
'@base-ui/react': ^1.9.0
|
|
'@monaco-editor/react': 4.8.0-rc.3
|
|
'@sentry/nextjs': ^10.75.2
|
|
'@sentry/node': ^10.75.2
|
|
'@sentry/tanstackstart-react': ^10.75.2
|
|
'@supabase/auth-js': 2.117.3
|
|
'@supabase/postgrest-js': 2.117.3
|
|
'@supabase/realtime-js': 2.117.3
|
|
'@supabase/ssr': 0.12.7
|
|
'@supabase/supabase-js': 2.117.3
|
|
'@tanstack/react-router': ^1.170.44
|
|
'@tanstack/react-start': ^1.169.2
|
|
'@tanstack/react-table': ^8.21.3
|
|
'@types/node': ^26.6.6
|
|
'@types/react': ^19.2.14
|
|
'@types/react-dom': ^19.2.3
|
|
# TypeScript 7 has no programmatic API until 7.1, so `typescript` stays aliased
|
|
# to the 6.0-API compat package for tools that import it (typescript-eslint,
|
|
# Next.js build typechecking), while `@typescript/native` provides the native
|
|
# TS 7 `tsc` binary used by typecheck scripts.
|
|
# https://devblogs.microsoft.com/typescript/announcing-typescript-7-0/
|
|
'@typescript/native': npm:typescript@~7.0.2
|
|
'@vitejs/plugin-react': ^6.0.1
|
|
'@vitest/coverage-v8': ^5.1.1
|
|
'@vitest/ui': ^5.1.1
|
|
cn: ^0.4.0
|
|
lodash: ^4.18.1
|
|
lodash-es: ^4.18.1
|
|
# Latest v1.x that satisfies minimumReleaseAge (72h). Newer patch releases
|
|
# (1.56+) will be picked up automatically once they age in.
|
|
lucide-react: ^1.55.0
|
|
monaco-editor: 0.52.2
|
|
motion: ^11.18.2
|
|
next: ^16.4.3
|
|
next-themes: ^0.4.6
|
|
# Pin exact version while oxfmt is 0.x so patch releases don't cause surprise CI diffs.
|
|
oxfmt: 0.79.0
|
|
postcss: ^8.5.18
|
|
radix-ui: ^1.4.3
|
|
react: ^19.2.6
|
|
react-dom: ^19.2.6
|
|
recharts: ^2.15.4
|
|
rehype-pretty-code: ^0.14.5
|
|
shiki: ^4.5.0
|
|
tailwindcss: ^4.2.4
|
|
tsx: ^4.22.0
|
|
typescript: ~6.0.2
|
|
valtio: ^2.3.2
|
|
vite: ^8.0.16
|
|
velite: ^0.4.0
|
|
vitest: ^5.1.1
|
|
zod: 3.25.76
|
|
|
|
allowBuilds:
|
|
'@parcel/watcher': false
|
|
'@sentry/cli': false
|
|
'@supabase/build-icons@file:packages/build-icons': set this to true or false
|
|
'@supabase/pg-meta@file:packages/pg-meta': set this to true or false
|
|
ai-commands@file:packages/ai-commands: set this to true or false
|
|
api-types@file:packages/api-types: set this to true or false
|
|
braintrust: false
|
|
common@file:packages/common: set this to true or false
|
|
config@file:packages/config: set this to true or false
|
|
contentlayer2: false
|
|
core-js: false
|
|
dev-tools@file:packages/dev-tools: set this to true or false
|
|
es5-ext: false
|
|
esbuild: false
|
|
icons@file:packages/icons: set this to true or false
|
|
libpg-query: false
|
|
msgpackr-extract: false
|
|
msw: false
|
|
node-pty: true
|
|
protobufjs: false
|
|
shared-data@file:packages/shared-data: set this to true or false
|
|
sharp: false
|
|
supabase: true
|
|
ui-patterns@file:packages/ui-patterns: set this to true or false
|
|
ui@file:packages/ui: set this to true or false
|
|
|
|
minimumReleaseAge: 4320
|
|
|
|
minimumReleaseAgeExclude:
|
|
- '@ai-sdk/*'
|
|
- '@supabase/*'
|
|
- '@supabase-labs/*'
|
|
- typescript
|
|
- '@typescript/*'
|
|
# First-party, published from supabase-community/mdast-jsx.
|
|
- mdast-jsx
|
|
# The following are excluded to fix vulnerablities.
|
|
- react-use
|
|
- '@astrojs/markdown-satteri@0.3.8'
|
|
- astro@7.2.6
|
|
|
|
overrides:
|
|
'monaco-editor': 'catalog:'
|
|
'@nuxt/devtools>simple-git': ^4.0.0
|
|
'@mapbox/node-pre-gyp>tar': ^7.5.21
|
|
'@sentry/webpack-plugin>uuid': ^11.1.1
|
|
'@usercentrics/cmp-browser-sdk>uuid': ^11.1.1
|
|
braintrust>esbuild: ^0.28.1
|
|
braintrust>uuid: ^11.1.1
|
|
cacache>tar: ^7.5.21
|
|
dompurify: ^3.3.2
|
|
express-rate-limit>ip-address: ^10.1.1
|
|
# Pin h3 v1 to a single version so the Nuxt registry example (vue-blocks)
|
|
# doesn't end up with two copies (1.15.10 + 1.15.11) and hit nominal
|
|
# H3Event type mismatches. v2 (h3@2) is intentionally left untouched.
|
|
'h3@1': 1.15.11
|
|
lodash: 'catalog:'
|
|
lodash-es: 'catalog:'
|
|
mdx-bundler>uuid: ^11.1.1
|
|
node-gyp>tar: ^7.5.21
|
|
nodemailer: ^7.0.11
|
|
postcss: 'catalog:'
|
|
qs: ^6.15.2
|
|
refractor>prismjs: ^1.30.0
|
|
tmp: ^0.2.7
|
|
velite>sharp: ^0.35.0
|
|
vite>esbuild: ^0.28.1
|
|
webpack: ^5.104.1
|
|
'codemirror-graphql>@codemirror/language': 6.11.0
|
|
'@esbuild-plugins/node-resolve>esbuild': ^0.28.1
|
|
|
|
patchedDependencies:
|
|
react-data-grid: patches/react-data-grid.patch
|