diff --git a/.depcheckrc.json b/.depcheckrc.json index f35f123bdf8..afde6e90a6f 100644 --- a/.depcheckrc.json +++ b/.depcheckrc.json @@ -4,6 +4,8 @@ "@sanity/eslint-config-studio", "dotenv-flow", "esbuild", - "esbuild-register" + "esbuild-register", + "react-compiler-runtime", + "babel-plugin-react-compiler" ] } diff --git a/.github/workflows/react-compiler.yml b/.github/workflows/react-compiler.yml new file mode 100644 index 00000000000..fd96df432bd --- /dev/null +++ b/.github/workflows/react-compiler.yml @@ -0,0 +1,48 @@ +name: Maintain React Compiler + +on: + schedule: + - cron: "10 12 * * 1" # Runs at 12:10 PM UTC every Monday, which is 3 hours after the React Compiler release: https://github.com/facebook/react/blob/989af12f72080c17db03ead91d99b6394a215564/.github/workflows/compiler_prereleases_weekly.yml#L5-L6 + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }} + cancel-in-progress: true + +permissions: + contents: read # for checkout + +jobs: + run: + name: Should React Compiler dependencies be updated? 🤔 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v4 + - uses: actions/setup-node@v4 + with: + cache: pnpm + node-version: lts/* + - run: pnpm -r up --ignore-scripts react-compiler-runtime@beta babel-plugin-react-compiler@beta eslint-plugin-react-compiler@beta + - uses: actions/create-github-app-token@v1 + id: generate-token + with: + app-id: ${{ secrets.ECOSPARK_APP_ID }} + private-key: ${{ secrets.ECOSPARK_APP_PRIVATE_KEY }} + - id: check-changes + run: | + if git diff --name-only | grep -q 'package.json'; then + echo "changed=true" >> $GITHUB_OUTPUT + else + echo "changed=false" >> $GITHUB_OUTPUT + fi + - if: steps.check-changes.outputs.changed == 'true' + uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7 + with: + body: I ran `pnpm -r up react-compiler-runtime@beta babel-plugin-react-compiler@beta eslint-plugin-react-compiler@beta` 🧑‍💻 + branch: actions/react-compiler + commit-message: "fix(deps): update react compiler dependencies 🤖 ✨" + labels: 🤖 bot + sign-commits: true + title: "fix(deps): update React Compiler dependencies 🤖 ✨" + token: ${{ steps.generate-token.outputs.token }} diff --git a/dev/page-building-studio/package.json b/dev/page-building-studio/package.json index ced93f5365a..ae09c203700 100644 --- a/dev/page-building-studio/package.json +++ b/dev/page-building-studio/package.json @@ -13,7 +13,9 @@ }, "dependencies": { "@sanity/vision": "workspace:*", + "babel-plugin-react-compiler": "19.0.0-beta-0dec889-20241115", "react": "^18.2.0", + "react-compiler-runtime": "19.0.0-beta-0dec889-20241115", "react-dom": "^18.2.0", "react-icons": "^5.2.1", "sanity": "workspace:*", diff --git a/dev/page-building-studio/sanity.cli.ts b/dev/page-building-studio/sanity.cli.ts index 31b3354aa2f..397383e4939 100644 --- a/dev/page-building-studio/sanity.cli.ts +++ b/dev/page-building-studio/sanity.cli.ts @@ -5,4 +5,5 @@ export default defineCliConfig({ projectId: 'ppsg7ml5', dataset: 'page-building', }, + reactCompiler: {target: '18'}, }) diff --git a/dev/starter-studio/package.json b/dev/starter-studio/package.json index e446795e091..4f2cf3e7298 100644 --- a/dev/starter-studio/package.json +++ b/dev/starter-studio/package.json @@ -12,7 +12,9 @@ "start": "../.bin/sanity start --port 3337" }, "dependencies": { + "babel-plugin-react-compiler": "19.0.0-beta-0dec889-20241115", "react": "^18.3.1", + "react-compiler-runtime": "19.0.0-beta-0dec889-20241115", "react-dom": "^18.3.1", "sanity": "workspace:*", "styled-components": "^6.1.0" diff --git a/dev/starter-studio/sanity.cli.ts b/dev/starter-studio/sanity.cli.ts index fac247bf8cf..2ea1de002f1 100644 --- a/dev/starter-studio/sanity.cli.ts +++ b/dev/starter-studio/sanity.cli.ts @@ -5,4 +5,5 @@ export default defineCliConfig({ projectId: 'ppsg7ml5', dataset: 'test', }, + reactCompiler: {target: '18'}, }) diff --git a/dev/studio-e2e-testing/package.json b/dev/studio-e2e-testing/package.json index 0f26b6883c8..febe0cc6ee9 100644 --- a/dev/studio-e2e-testing/package.json +++ b/dev/studio-e2e-testing/package.json @@ -19,7 +19,9 @@ "@sanity/icons": "^3.4.0", "@sanity/ui": "^2.8.24", "@sanity/vision": "3.64.2", + "babel-plugin-react-compiler": "19.0.0-beta-0dec889-20241115", "react": "^18.3.1", + "react-compiler-runtime": "19.0.0-beta-0dec889-20241115", "react-dom": "^18.3.1", "sanity": "workspace:*", "sanity-plugin-media": "^2.3.1", diff --git a/dev/studio-e2e-testing/sanity.cli.ts b/dev/studio-e2e-testing/sanity.cli.ts index b85f6e2a758..95205d33185 100644 --- a/dev/studio-e2e-testing/sanity.cli.ts +++ b/dev/studio-e2e-testing/sanity.cli.ts @@ -9,6 +9,7 @@ export default defineCliConfig({ projectId: process.env.SANITY_E2E_PROJECT_ID, dataset: process.env.SANITY_E2E_DATASET, }, + reactCompiler: {target: '18'}, vite: { define: { 'process.env.SANITY_E2E_PROJECT_ID': JSON.stringify(process.env.SANITY_E2E_PROJECT_ID), diff --git a/dev/test-next-studio/next.config.mjs b/dev/test-next-studio/next.config.mjs index e209564d298..116440f3a8f 100644 --- a/dev/test-next-studio/next.config.mjs +++ b/dev/test-next-studio/next.config.mjs @@ -2,9 +2,7 @@ function requireResolve(id) { return import.meta.resolve(id).replace('file://', '') } -const reactCompiler = process.env.REACT_COMPILER === 'true' const reactProductionProfiling = process.env.REACT_PRODUCTION_PROFILING === 'true' -const productionBrowserSourceMaps = reactCompiler || reactProductionProfiling // eslint-disable-next-line tsdoc/syntax /** @type {import('next').NextConfig} */ @@ -86,10 +84,10 @@ const config = { }, // Makes it much easier to see which component got memoized by the react compiler // when testing on https://test-next-studio.sanity.build - productionBrowserSourceMaps, + productionBrowserSourceMaps: reactProductionProfiling, reactProductionProfiling, experimental: { - reactCompiler, + reactCompiler: true, turbo: { resolveAlias: { '@sanity/block-tools': '@sanity/block-tools/src/index.ts', diff --git a/dev/test-next-studio/package.json b/dev/test-next-studio/package.json index 40ce9c78d11..05e55082dc5 100644 --- a/dev/test-next-studio/package.json +++ b/dev/test-next-studio/package.json @@ -12,11 +12,11 @@ }, "dependencies": { "@sanity/vision": "workspace:*", - "babel-plugin-react-compiler": "beta", + "babel-plugin-react-compiler": "19.0.0-beta-0dec889-20241115", "next": "15.0.3", - "react": "19.0.0-rc-a7d1240c-20240731", - "react-dom": "19.0.0-rc-a7d1240c-20240731", - "react-is": "19.0.0-rc-a7d1240c-20240731", + "react": "rc", + "react-dom": "rc", + "react-is": "rc", "sanity": "workspace:*", "sanity-test-studio": "workspace:*", "styled-components": "^6.1.12", diff --git a/dev/test-next-studio/turbo.json b/dev/test-next-studio/turbo.json index 4fa0bad8e78..cb04682e921 100644 --- a/dev/test-next-studio/turbo.json +++ b/dev/test-next-studio/turbo.json @@ -3,7 +3,7 @@ "extends": ["//"], "tasks": { "build": { - "env": ["REACT_COMPILER", "REACT_PRODUCTION_PROFILING"], + "env": ["REACT_PRODUCTION_PROFILING"], "outputs": [".next/**", "!.next/cache/**", "out/**"], "dependsOn": ["^build"] }, diff --git a/dev/test-studio/.depcheckignore.json b/dev/test-studio/.depcheckignore.json index 540c020880f..9466ce51be7 100644 --- a/dev/test-studio/.depcheckignore.json +++ b/dev/test-studio/.depcheckignore.json @@ -7,6 +7,7 @@ "@sanity/preview-url-secret", "@sanity/react-loader", "@sanity/visual-editing", - "@vercel/stega" + "@vercel/stega", + "babel-plugin-react-compiler" ] } diff --git a/dev/test-studio/package.json b/dev/test-studio/package.json index 29faca42200..f24d4abaf8d 100644 --- a/dev/test-studio/package.json +++ b/dev/test-studio/package.json @@ -51,6 +51,7 @@ "lodash": "^4.17.21", "qs": "^6.10.2", "react": "^18.3.1", + "react-compiler-runtime": "19.0.0-beta-0dec889-20241115", "react-dom": "^18.3.1", "react-refractor": "^2.1.6", "refractor": "^3.6.0", @@ -62,6 +63,7 @@ "styled-components": "^6.1.11" }, "devDependencies": { + "babel-plugin-react-compiler": "19.0.0-beta-0dec889-20241115", "chokidar": "^3.6.0", "vite": "^4.5.5" } diff --git a/dev/test-studio/sanity.cli.ts b/dev/test-studio/sanity.cli.ts index 085d8f34600..9978fe69684 100644 --- a/dev/test-studio/sanity.cli.ts +++ b/dev/test-studio/sanity.cli.ts @@ -13,6 +13,7 @@ export default defineCliConfig({ // A) `SANITY_STUDIO_REACT_STRICT_MODE=false pnpm dev` // B) creating a `.env` file locally that sets the same env variable as above reactStrictMode: true, + reactCompiler: {target: '18'}, vite(viteConfig: UserConfig): UserConfig { const reactProductionProfiling = process.env.REACT_PRODUCTION_PROFILING === 'true' diff --git a/package.json b/package.json index 8790eae2e94..e9e4ae0b751 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,6 @@ "dev:test-studio": "pnpm --filter sanity-test-studio dev", "dev:test-studio-production-profiling": "REACT_PRODUCTION_PROFILING=true turbo run start --filter=sanity-test-studio", "dev:next-studio": "pnpm --filter sanity-test-next-studio dev", - "dev:compiled-studio": "REACT_COMPILER=true pnpm dev:next-studio", "dev:turbo-studio": "pnpm dev:next-studio --turbo", "docs:report": "node -r dotenv-flow/config -r esbuild-register scripts/doc-report/docReport", "docs:report:cleanup": "node -r dotenv-flow/config -r esbuild-register scripts/doc-report/docReportCleanup", @@ -142,7 +141,7 @@ "eslint-plugin-import": "^2.30.0", "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-react": "^7.36.1", - "eslint-plugin-react-compiler": "beta", + "eslint-plugin-react-compiler": "19.0.0-beta-0dec889-20241115", "eslint-plugin-react-hooks": "^4.6.2", "eslint-plugin-simple-import-sort": "^12.1.1", "eslint-plugin-tsdoc": "^0.3.0", diff --git a/packages/@sanity/cli/src/types.ts b/packages/@sanity/cli/src/types.ts index 46705876634..556b15cc6bf 100644 --- a/packages/@sanity/cli/src/types.ts +++ b/packages/@sanity/cli/src/types.ts @@ -286,6 +286,30 @@ export interface GraphQLAPIConfig { filterSuffix?: string } +/** + * Until these types are on npm: https://github.com/facebook/react/blob/0bc30748730063e561d87a24a4617526fdd38349/compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Options.ts#L39-L122 + * @beta + */ +export interface ReactCompilerConfig { + /** + * @see https://react.dev/learn/react-compiler#existing-projects + */ + sources?: Array | ((filename: string) => boolean) | null + + /** + * The minimum major version of React that the compiler should emit code for. If the target is 19 + * or higher, the compiler emits direct imports of React runtime APIs needed by the compiler. On + * versions prior to 19, an extra runtime package react-compiler-runtime is necessary to provide + * a userspace approximation of runtime APIs. + * @see https://react.dev/learn/react-compiler#using-react-compiler-with-react-17-or-18 + */ + target: '18' | '19' + + panicThreshold?: 'ALL_ERRORS' | 'CRITICAL_ERRORS' | 'NONE' + + compilationMode?: 'infer' | 'syntax' | 'annotation' | 'all' +} + export interface CliConfig { api?: CliApiConfig @@ -301,6 +325,13 @@ export interface CliConfig { */ reactStrictMode?: boolean + /** + * The React Compiler is currently in beta, and is disabled by default. + * @see https://react.dev/learn/react-compiler + * @beta + */ + reactCompiler?: ReactCompilerConfig + server?: { hostname?: string port?: number diff --git a/packages/@sanity/types/vitest.config.mts b/packages/@sanity/types/vitest.config.mts index c38d69d9c06..66fee290f8b 100644 --- a/packages/@sanity/types/vitest.config.mts +++ b/packages/@sanity/types/vitest.config.mts @@ -2,5 +2,5 @@ import {defineConfig} from '@repo/test-config/vitest' import react from '@vitejs/plugin-react' export default defineConfig({ - plugins: [react()], + plugins: [react({babel: {plugins: [['babel-plugin-react-compiler', {target: '18'}]]}})], }) diff --git a/packages/@sanity/vision/.depcheckrc.json b/packages/@sanity/vision/.depcheckrc.json index ba3e1cd01cc..70d5baa8468 100644 --- a/packages/@sanity/vision/.depcheckrc.json +++ b/packages/@sanity/vision/.depcheckrc.json @@ -12,6 +12,7 @@ "@sanity/codegen", "@sanity/schema", "@sanity/block-tools", - "vite" + "vite", + "react-compiler-runtime" ] } diff --git a/packages/@sanity/vision/package.config.ts b/packages/@sanity/vision/package.config.ts index eaf0800c48c..eccc51a98e5 100644 --- a/packages/@sanity/vision/package.config.ts +++ b/packages/@sanity/vision/package.config.ts @@ -1,4 +1,9 @@ import baseConfig from '@repo/package.config' import {defineConfig} from '@sanity/pkg-utils' -export default defineConfig({...baseConfig, external: ['sanity']}) +export default defineConfig({ + ...baseConfig, + external: ['sanity'], + babel: {reactCompiler: true}, + reactCompilerOptions: {target: '18'}, +}) diff --git a/packages/@sanity/vision/package.json b/packages/@sanity/vision/package.json index bfb5fb8d7ed..38abd4f2b3b 100644 --- a/packages/@sanity/vision/package.json +++ b/packages/@sanity/vision/package.json @@ -69,7 +69,8 @@ "json-2-csv": "^5.5.1", "json5": "^2.2.3", "lodash": "^4.17.21", - "quick-lru": "^5.1.1" + "quick-lru": "^5.1.1", + "react-compiler-runtime": "19.0.0-beta-0dec889-20241115" }, "devDependencies": { "@repo/package.config": "workspace:*", @@ -84,6 +85,7 @@ "@sanity/types": "workspace:*", "@sanity/util": "workspace:*", "@types/lodash": "^4.17.7", + "babel-plugin-react-compiler": "19.0.0-beta-0dec889-20241115", "react": "^18.3.1", "sanity": "workspace:*", "styled-components": "^6.1.13" diff --git a/packages/sanity/.depcheckrc.json b/packages/sanity/.depcheckrc.json index b0cf8722be0..e109865c37e 100644 --- a/packages/sanity/.depcheckrc.json +++ b/packages/sanity/.depcheckrc.json @@ -6,6 +6,7 @@ "sanity", "@sanity/codegen", "@types/react", - "eslint-plugin-boundaries" + "eslint-plugin-boundaries", + "react-compiler-runtime" ] } diff --git a/packages/sanity/package.config.ts b/packages/sanity/package.config.ts index a2e7757e57a..bf55a949938 100644 --- a/packages/sanity/package.config.ts +++ b/packages/sanity/package.config.ts @@ -56,4 +56,7 @@ export default defineConfig({ 'ae-missing-release-tag': 'error', }, }, + + babel: {reactCompiler: true}, + reactCompilerOptions: {target: '18'}, }) diff --git a/packages/sanity/package.json b/packages/sanity/package.json index 3bd7e1a6717..84c92bf9155 100644 --- a/packages/sanity/package.json +++ b/packages/sanity/package.json @@ -189,7 +189,7 @@ "@types/speakingurl": "^13.0.3", "@types/tar-stream": "^3.1.3", "@types/use-sync-external-store": "^0.0.6", - "@vitejs/plugin-react": "^4.2.1", + "@vitejs/plugin-react": "^4.3.3", "archiver": "^7.0.0", "arrify": "^1.0.1", "async-mutex": "^0.4.1", @@ -238,6 +238,7 @@ "pretty-ms": "^7.0.1", "quick-lru": "^5.1.1", "raf": "^3.4.1", + "react-compiler-runtime": "19.0.0-beta-0dec889-20241115", "react-copy-to-clipboard": "^5.0.4", "react-fast-compare": "^3.2.0", "react-focus-lock": "^2.8.1", @@ -299,6 +300,7 @@ "@types/tar-fs": "^2.0.1", "@vitejs/plugin-react": "^4.3.3", "@vvo/tzdb": "6.137.0", + "babel-plugin-react-compiler": "19.0.0-beta-0dec889-20241115", "blob-polyfill": "^9.0.20240710", "date-fns-tz": "2.0.1", "react": "^18.3.1", diff --git a/packages/sanity/src/_internal/cli/actions/build/buildAction.ts b/packages/sanity/src/_internal/cli/actions/build/buildAction.ts index 24cb65957bc..beb8e29bbc6 100644 --- a/packages/sanity/src/_internal/cli/actions/build/buildAction.ts +++ b/packages/sanity/src/_internal/cli/actions/build/buildAction.ts @@ -176,6 +176,8 @@ export default async function buildSanityStudio( minify: Boolean(flags.minify), vite: cliConfig && 'vite' in cliConfig ? cliConfig.vite : undefined, importMap, + reactCompiler: + cliConfig && 'reactCompiler' in cliConfig ? cliConfig.reactCompiler : undefined, }) trace.log({ diff --git a/packages/sanity/src/_internal/cli/actions/dev/devAction.ts b/packages/sanity/src/_internal/cli/actions/dev/devAction.ts index 33a9912e4d9..8d16d114350 100644 --- a/packages/sanity/src/_internal/cli/actions/dev/devAction.ts +++ b/packages/sanity/src/_internal/cli/actions/dev/devAction.ts @@ -76,5 +76,6 @@ function getDevServerConfig({ ...baseConfig, staticPath: path.join(workDir, 'static'), reactStrictMode, + reactCompiler: cliConfig && 'reactCompiler' in cliConfig ? cliConfig.reactCompiler : undefined, } } diff --git a/packages/sanity/src/_internal/cli/server/buildStaticFiles.ts b/packages/sanity/src/_internal/cli/server/buildStaticFiles.ts index d4e014da342..a0bcbec040f 100644 --- a/packages/sanity/src/_internal/cli/server/buildStaticFiles.ts +++ b/packages/sanity/src/_internal/cli/server/buildStaticFiles.ts @@ -2,7 +2,7 @@ import {constants as fsConstants} from 'node:fs' import fs from 'node:fs/promises' import path from 'node:path' -import {type UserViteConfig} from '@sanity/cli' +import {type ReactCompilerConfig, type UserViteConfig} from '@sanity/cli' import readPkgUp from 'read-pkg-up' import {build} from 'vite' @@ -34,6 +34,7 @@ export interface StaticBuildOptions { importMap?: {imports?: Record} vite?: UserViteConfig + reactCompiler: ReactCompilerConfig | undefined } export async function buildStaticFiles( @@ -47,6 +48,7 @@ export async function buildStaticFiles( basePath, vite: extendViteConfig, importMap, + reactCompiler, } = options debug('Writing Sanity runtime files') @@ -62,6 +64,7 @@ export async function buildStaticFiles( sourceMap, mode, importMap, + reactCompiler, }) // Extend Vite configuration with user-provided config diff --git a/packages/sanity/src/_internal/cli/server/devServer.ts b/packages/sanity/src/_internal/cli/server/devServer.ts index f381b7a83a2..d3ef1ab8551 100644 --- a/packages/sanity/src/_internal/cli/server/devServer.ts +++ b/packages/sanity/src/_internal/cli/server/devServer.ts @@ -1,4 +1,4 @@ -import {type UserViteConfig} from '@sanity/cli' +import {type ReactCompilerConfig, type UserViteConfig} from '@sanity/cli' import chalk from 'chalk' import {createServer} from 'vite' @@ -16,6 +16,7 @@ export interface DevServerOptions { projectName?: string reactStrictMode: boolean + reactCompiler: ReactCompilerConfig | undefined vite?: UserViteConfig } @@ -24,7 +25,15 @@ export interface DevServer { } export async function startDevServer(options: DevServerOptions): Promise { - const {cwd, httpPort, httpHost, basePath, reactStrictMode, vite: extendViteConfig} = options + const { + cwd, + httpPort, + httpHost, + basePath, + reactStrictMode, + vite: extendViteConfig, + reactCompiler, + } = options const startTime = Date.now() debug('Writing Sanity runtime files') @@ -37,6 +46,7 @@ export async function startDevServer(options: DevServerOptions): Promise} + reactCompiler: ReactCompilerConfig | undefined } /** @@ -72,6 +73,7 @@ export async function getViteConfig(options: ViteOptions): Promise minify, basePath: rawBasePath = '/', importMap, + reactCompiler, } = options const monorepo = await loadSanityMonorepo(cwd) @@ -104,7 +106,9 @@ export async function getViteConfig(options: ViteOptions): Promise configFile: false, mode, plugins: [ - viteReact(), + viteReact( + reactCompiler ? {babel: {plugins: [['babel-plugin-react-compiler', reactCompiler]]}} : {}, + ), sanityFaviconsPlugin({defaultFaviconsPath, customFaviconsPath, staticUrlPath: staticPath}), sanityDotWorkaroundPlugin(), sanityRuntimeRewritePlugin(), diff --git a/packages/sanity/src/_internal/cli/vitest.config.mts b/packages/sanity/src/_internal/cli/vitest.config.mts index bbd83f33b25..60aa02e5e31 100644 --- a/packages/sanity/src/_internal/cli/vitest.config.mts +++ b/packages/sanity/src/_internal/cli/vitest.config.mts @@ -3,7 +3,7 @@ import react from '@vitejs/plugin-react' export default defineConfig({ // @ts-expect-error vite typings error - plugins: [react()], + plugins: [react({babel: {plugins: [['babel-plugin-react-compiler', {target: '18'}]]}})], test: { environment: 'node', includeSource: ['./**/*.ts'], diff --git a/packages/sanity/src/structure/panes/documentList/sheetList/ColumnsControl.tsx b/packages/sanity/src/structure/panes/documentList/sheetList/ColumnsControl.tsx index 68aab4cbd96..ab59919749a 100644 --- a/packages/sanity/src/structure/panes/documentList/sheetList/ColumnsControl.tsx +++ b/packages/sanity/src/structure/panes/documentList/sheetList/ColumnsControl.tsx @@ -1,3 +1,6 @@ +'use no memo' +// The `use no memo` directive is due to a known issue with react-table and react compiler: https://github.com/TanStack/table/issues/5567 + import {Box, Checkbox, Flex, Menu, Stack, Text} from '@sanity/ui' import {type Column, type Table} from '@tanstack/react-table' import {useCallback} from 'react' diff --git a/packages/sanity/src/structure/panes/documentList/sheetList/DocumentSheetListHeader.tsx b/packages/sanity/src/structure/panes/documentList/sheetList/DocumentSheetListHeader.tsx index 3014ee93455..f65889ecdd3 100644 --- a/packages/sanity/src/structure/panes/documentList/sheetList/DocumentSheetListHeader.tsx +++ b/packages/sanity/src/structure/panes/documentList/sheetList/DocumentSheetListHeader.tsx @@ -1,3 +1,6 @@ +'use no memo' +// The `use no memo` directive is due to a known issue with react-table and react compiler: https://github.com/TanStack/table/issues/5567 + import {CloseIcon, EllipsisHorizontalIcon} from '@sanity/icons' import {type SanityDocument} from '@sanity/types' import {Box, Flex, Menu, Text} from '@sanity/ui' diff --git a/packages/sanity/src/structure/panes/documentList/sheetList/DocumentSheetListPaginator.tsx b/packages/sanity/src/structure/panes/documentList/sheetList/DocumentSheetListPaginator.tsx index 45b2ba25950..6f8278beab1 100644 --- a/packages/sanity/src/structure/panes/documentList/sheetList/DocumentSheetListPaginator.tsx +++ b/packages/sanity/src/structure/panes/documentList/sheetList/DocumentSheetListPaginator.tsx @@ -1,3 +1,6 @@ +'use no memo' +// The `use no memo` directive is due to a known issue with react-table and react compiler: https://github.com/TanStack/table/issues/5567 + /* eslint-disable i18next/no-literal-string */ /* eslint-disable @sanity/i18n/no-attribute-string-literals */ /* eslint-disable react/jsx-no-bind */ diff --git a/packages/sanity/src/structure/panes/documentList/sheetList/DocumentSheetListPane.tsx b/packages/sanity/src/structure/panes/documentList/sheetList/DocumentSheetListPane.tsx index c84b8dff759..ef251c32ca6 100644 --- a/packages/sanity/src/structure/panes/documentList/sheetList/DocumentSheetListPane.tsx +++ b/packages/sanity/src/structure/panes/documentList/sheetList/DocumentSheetListPane.tsx @@ -1,3 +1,6 @@ +'use no memo' +// The `use no memo` directive is due to a known issue with react-table and react compiler: https://github.com/TanStack/table/issues/5567 + import {isDocumentSchemaType, type ObjectSchemaType, type SanityDocument} from '@sanity/types' import {Box, Flex, Text} from '@sanity/ui' import { diff --git a/packages/sanity/src/structure/panes/documentList/sheetList/DocumentSheetListSelect.tsx b/packages/sanity/src/structure/panes/documentList/sheetList/DocumentSheetListSelect.tsx index 299491da074..022dab871f0 100644 --- a/packages/sanity/src/structure/panes/documentList/sheetList/DocumentSheetListSelect.tsx +++ b/packages/sanity/src/structure/panes/documentList/sheetList/DocumentSheetListSelect.tsx @@ -1,3 +1,6 @@ +'use no memo' +// The `use no memo` directive is due to a known issue with react-table and react compiler: https://github.com/TanStack/table/issues/5567 + import {type SanityDocument} from '@sanity/client' import {Checkbox} from '@sanity/ui' import {type CellContext} from '@tanstack/react-table' diff --git a/packages/sanity/src/structure/panes/documentList/sheetList/SheetListCell.tsx b/packages/sanity/src/structure/panes/documentList/sheetList/SheetListCell.tsx index c0c0f0adaef..6db364f71ad 100644 --- a/packages/sanity/src/structure/panes/documentList/sheetList/SheetListCell.tsx +++ b/packages/sanity/src/structure/panes/documentList/sheetList/SheetListCell.tsx @@ -1,3 +1,6 @@ +'use no memo' +// The `use no memo` directive is due to a known issue with react-table and react compiler: https://github.com/TanStack/table/issues/5567 + /* eslint-disable i18next/no-literal-string */ import {type ObjectFieldType} from '@sanity/types' import {Select, TextInput} from '@sanity/ui' diff --git a/packages/sanity/src/structure/panes/documentList/sheetList/__tests__/ColumnsControl.test.tsx b/packages/sanity/src/structure/panes/documentList/sheetList/__tests__/ColumnsControl.test.tsx index 04641e65ca2..d16932b59ce 100644 --- a/packages/sanity/src/structure/panes/documentList/sheetList/__tests__/ColumnsControl.test.tsx +++ b/packages/sanity/src/structure/panes/documentList/sheetList/__tests__/ColumnsControl.test.tsx @@ -1,3 +1,6 @@ +'use no memo' +// The `use no memo` directive is due to a known issue with react-table and react compiler: https://github.com/TanStack/table/issues/5567 + import {studioTheme, ThemeProvider} from '@sanity/ui' import {type ColumnDef, useReactTable} from '@tanstack/react-table' import {fireEvent, render, screen} from '@testing-library/react' diff --git a/packages/sanity/src/structure/panes/documentList/sheetList/useDocumentSheetColumns.tsx b/packages/sanity/src/structure/panes/documentList/sheetList/useDocumentSheetColumns.tsx index 8574ae6ae0a..2ad2c0cd196 100644 --- a/packages/sanity/src/structure/panes/documentList/sheetList/useDocumentSheetColumns.tsx +++ b/packages/sanity/src/structure/panes/documentList/sheetList/useDocumentSheetColumns.tsx @@ -1,3 +1,6 @@ +'use no memo' +// The `use no memo` directive is due to a known issue with react-table and react compiler: https://github.com/TanStack/table/issues/5567 + import {isObjectSchemaType, type ObjectSchemaType} from '@sanity/types' import {Box, Checkbox, Flex, Text} from '@sanity/ui' import { diff --git a/packages/sanity/vitest.config.mts b/packages/sanity/vitest.config.mts index c7bb5602037..6599bd28ccc 100644 --- a/packages/sanity/vitest.config.mts +++ b/packages/sanity/vitest.config.mts @@ -18,5 +18,8 @@ export default defineConfig({ '@portabletext/editor': path.join(__dirname, './node_modules/@portabletext/editor/src'), }, }, - plugins: [react()], + plugins: [ + // @ts-expect-error vite typings error + react({babel: {plugins: [['babel-plugin-react-compiler', {target: '18'}]]}}), + ], }) diff --git a/perf/.depcheckrc.json b/perf/.depcheckrc.json index d06ac5926bc..175eeefafe6 100644 --- a/perf/.depcheckrc.json +++ b/perf/.depcheckrc.json @@ -1,3 +1,3 @@ { - "ignores": ["@repo/tsconfig", "sanity"] + "ignores": ["@repo/tsconfig", "sanity", "babel-plugin-react-compiler", "react-compiler-runtime"] } diff --git a/perf/efps/.depcheckrc.json b/perf/efps/.depcheckrc.json index c99cd71956c..3c86d3e4081 100644 --- a/perf/efps/.depcheckrc.json +++ b/perf/efps/.depcheckrc.json @@ -1,3 +1,9 @@ { - "ignores": ["@swc-node/register", "@types/react", "@types/react-dom"] + "ignores": [ + "@swc-node/register", + "@types/react", + "@types/react-dom", + "babel-plugin-react-compiler", + "react-compiler-runtime" + ] } diff --git a/perf/efps/package.json b/perf/efps/package.json index 134b18a60e8..f552e5ae198 100644 --- a/perf/efps/package.json +++ b/perf/efps/package.json @@ -23,6 +23,7 @@ "@types/serve-handler": "^6.1.4", "@types/yargs": "^17.0.7", "@vitejs/plugin-react": "^4.3.3", + "babel-plugin-react-compiler": "19.0.0-beta-0dec889-20241115", "chalk": "^4.1.2", "cli-table3": "^0.6.5", "dotenv": "^16.0.3", @@ -30,6 +31,7 @@ "ora": "^8.0.1", "playwright": "^1.46.1", "react": "^18.3.1", + "react-compiler-runtime": "19.0.0-beta-0dec889-20241115", "react-dom": "^18.3.1", "rollup-plugin-sourcemaps": "^0.6.3", "sanity": "workspace:*", diff --git a/perf/efps/runTest.ts b/perf/efps/runTest.ts index efcd2259863..5bc87891834 100644 --- a/perf/efps/runTest.ts +++ b/perf/efps/runTest.ts @@ -54,7 +54,12 @@ export async function runTest({ await vite.build({ appType: 'spa', build: {outDir, sourcemap: true}, - plugins: [{...sourcemaps(), enforce: 'pre'}, react()], + plugins: [ + {...sourcemaps(), enforce: 'pre'}, + react({ + babel: {plugins: [['babel-plugin-react-compiler', {target: '18'}]]}, + }), + ], resolve: {alias}, logLevel: 'silent', }) diff --git a/perf/studio/package.json b/perf/studio/package.json index 10b31cd7e64..a1bed9b7d4a 100644 --- a/perf/studio/package.json +++ b/perf/studio/package.json @@ -14,7 +14,9 @@ "start": "sanity start --port 3300" }, "dependencies": { + "babel-plugin-react-compiler": "19.0.0-beta-0dec889-20241115", "react": "^18.3.1", + "react-compiler-runtime": "19.0.0-beta-0dec889-20241115", "react-dom": "^18.3.1", "sanity": "workspace:*", "styled-components": "^6.1.0" diff --git a/perf/studio/sanity.cli.ts b/perf/studio/sanity.cli.ts index 94cd2e577b9..c0b0c04ed38 100644 --- a/perf/studio/sanity.cli.ts +++ b/perf/studio/sanity.cli.ts @@ -7,4 +7,5 @@ export default defineCliConfig({ projectId: STUDIO_PROJECT_ID, dataset: STUDIO_DATASET, }, + reactCompiler: {target: '18'}, }) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a3caa0cd2ab..600f2c0bbe4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -50,7 +50,7 @@ importers: version: 0.10.2(debug@4.3.7) '@sanity/pkg-utils': specifier: 6.11.12 - version: 6.11.12(@types/babel__core@7.20.5)(@types/node@18.19.44)(debug@4.3.7)(typescript@5.6.3) + version: 6.11.12(@types/babel__core@7.20.5)(@types/node@18.19.44)(babel-plugin-react-compiler@19.0.0-beta-0dec889-20241115)(debug@4.3.7)(typescript@5.6.3) '@sanity/prettier-config': specifier: ^1.0.3 version: 1.0.3(prettier@3.3.3) @@ -59,10 +59,10 @@ importers: version: 0.0.1-alpha.1 '@sanity/tsdoc': specifier: 1.0.134 - version: 1.0.134(@types/babel__core@7.20.5)(@types/node@18.19.44)(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react-is@19.0.0-rc-a7d1240c-20240731)(react@19.0.0-rc-f994737d14-20240522)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react@19.0.0-rc-f994737d14-20240522))(terser@5.32.0) + version: 1.0.134(@types/babel__core@7.20.5)(@types/node@18.19.44)(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react-is@19.0.0-rc-b01722d5-20241114)(react@19.0.0-rc-f994737d14-20240522)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react@19.0.0-rc-f994737d14-20240522))(terser@5.32.0) '@sanity/ui': specifier: ^2.8.24 - version: 2.8.24(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react-is@19.0.0-rc-a7d1240c-20240731)(react@19.0.0-rc-f994737d14-20240522)(styled-components@6.1.13(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react@19.0.0-rc-f994737d14-20240522)) + version: 2.8.24(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react-is@19.0.0-rc-b01722d5-20241114)(react@19.0.0-rc-f994737d14-20240522)(styled-components@6.1.13(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react@19.0.0-rc-f994737d14-20240522)) '@sanity/uuid': specifier: ^3.0.2 version: 3.0.2 @@ -142,7 +142,7 @@ importers: specifier: ^7.36.1 version: 7.36.1(eslint@8.57.0) eslint-plugin-react-compiler: - specifier: beta + specifier: 19.0.0-beta-0dec889-20241115 version: 19.0.0-beta-0dec889-20241115(eslint@8.57.0) eslint-plugin-react-hooks: specifier: ^4.6.2 @@ -238,7 +238,7 @@ importers: version: 3.4.0(react@18.3.1) '@sanity/ui': specifier: ^2.8.24 - version: 2.8.24(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + version: 2.8.24(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) react: specifier: ^18.3.1 version: 18.3.1 @@ -256,7 +256,7 @@ importers: dependencies: '@sanity/ui': specifier: ^2.8.24 - version: 2.8.24(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + version: 2.8.24(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) react: specifier: ^18.3.1 version: 18.3.1 @@ -291,9 +291,15 @@ importers: '@sanity/vision': specifier: workspace:* version: link:../../packages/@sanity/vision + babel-plugin-react-compiler: + specifier: 19.0.0-beta-0dec889-20241115 + version: 19.0.0-beta-0dec889-20241115 react: specifier: ^18.2.0 version: 18.3.1 + react-compiler-runtime: + specifier: 19.0.0-beta-0dec889-20241115 + version: 19.0.0-beta-0dec889-20241115(react@18.3.1) react-dom: specifier: ^18.2.0 version: 18.3.1(react@18.3.1) @@ -327,9 +333,15 @@ importers: dev/starter-studio: dependencies: + babel-plugin-react-compiler: + specifier: 19.0.0-beta-0dec889-20241115 + version: 19.0.0-beta-0dec889-20241115 react: specifier: ^18.3.1 version: 18.3.1 + react-compiler-runtime: + specifier: 19.0.0-beta-0dec889-20241115 + version: 19.0.0-beta-0dec889-20241115(react@18.3.1) react-dom: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) @@ -359,19 +371,25 @@ importers: dependencies: '@sanity/google-maps-input': specifier: ^4.0.0 - version: 4.0.1(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + version: 4.0.1(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) '@sanity/icons': specifier: ^3.4.0 version: 3.4.0(react@18.3.1) '@sanity/ui': specifier: ^2.8.24 - version: 2.8.24(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + version: 2.8.24(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) '@sanity/vision': specifier: 3.64.2 version: link:../../packages/@sanity/vision + babel-plugin-react-compiler: + specifier: 19.0.0-beta-0dec889-20241115 + version: 19.0.0-beta-0dec889-20241115 react: specifier: ^18.3.1 version: 18.3.1 + react-compiler-runtime: + specifier: 19.0.0-beta-0dec889-20241115 + version: 19.0.0-beta-0dec889-20241115(react@18.3.1) react-dom: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) @@ -380,10 +398,10 @@ importers: version: link:../../packages/sanity sanity-plugin-media: specifier: ^2.3.1 - version: 2.3.2(@sanity/ui@2.8.24(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)))(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + version: 2.3.2(@sanity/ui@2.8.24(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)))(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) sanity-plugin-mux-input: specifier: ^2.2.1 - version: 2.4.0(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + version: 2.4.0(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) sanity-test-studio: specifier: workspace:* version: link:../test-studio @@ -395,7 +413,7 @@ importers: dependencies: '@sanity/code-input': specifier: ^4.1.4 - version: 4.1.4(@babel/runtime@7.26.0)(@codemirror/theme-one-dark@6.1.2)(@lezer/common@1.2.1)(codemirror@6.0.1(@lezer/common@1.2.1))(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + version: 4.1.4(@babel/runtime@7.26.0)(@codemirror/theme-one-dark@6.1.2)(@lezer/common@1.2.1)(codemirror@6.0.1(@lezer/common@1.2.1))(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) react: specifier: ^18.3.1 version: 18.3.1 @@ -415,20 +433,20 @@ importers: specifier: workspace:* version: link:../../packages/@sanity/vision babel-plugin-react-compiler: - specifier: beta + specifier: 19.0.0-beta-0dec889-20241115 version: 19.0.0-beta-0dec889-20241115 next: specifier: 15.0.3 - version: 15.0.3(@babel/core@7.26.0)(@playwright/test@1.47.0)(babel-plugin-macros@3.1.0)(babel-plugin-react-compiler@19.0.0-beta-0dec889-20241115)(react-dom@19.0.0-rc-a7d1240c-20240731(react@19.0.0-rc-a7d1240c-20240731))(react@19.0.0-rc-a7d1240c-20240731) + version: 15.0.3(@babel/core@7.26.0)(@playwright/test@1.47.0)(babel-plugin-macros@3.1.0)(babel-plugin-react-compiler@19.0.0-beta-0dec889-20241115)(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1) react: - specifier: 19.0.0-rc-a7d1240c-20240731 - version: 19.0.0-rc-a7d1240c-20240731 + specifier: rc + version: 19.0.0-rc.1 react-dom: - specifier: 19.0.0-rc-a7d1240c-20240731 - version: 19.0.0-rc-a7d1240c-20240731(react@19.0.0-rc-a7d1240c-20240731) + specifier: rc + version: 19.0.0-rc.1(react@19.0.0-rc.1) react-is: - specifier: 19.0.0-rc-a7d1240c-20240731 - version: 19.0.0-rc-a7d1240c-20240731 + specifier: rc + version: 19.0.0-rc.1 sanity: specifier: workspace:* version: link:../../packages/sanity @@ -437,7 +455,7 @@ importers: version: link:../test-studio styled-components: specifier: ^6.1.12 - version: 6.1.13(react-dom@19.0.0-rc-a7d1240c-20240731(react@19.0.0-rc-a7d1240c-20240731))(react@19.0.0-rc-a7d1240c-20240731) + version: 6.1.13(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1) typescript: specifier: 5.6.3 version: 5.6.3 @@ -452,7 +470,7 @@ importers: version: 3.1.0(react@18.3.1) '@sanity/assist': specifier: ^3.0.2 - version: 3.0.8(@sanity/mutator@packages+@sanity+mutator)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + version: 3.0.8(@sanity/mutator@packages+@sanity+mutator)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) '@sanity/block-tools': specifier: 3.64.2 version: link:../../packages/@sanity/block-tools @@ -464,7 +482,7 @@ importers: version: 3.0.6 '@sanity/google-maps-input': specifier: ^4.0.0 - version: 4.0.1(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + version: 4.0.1(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) '@sanity/icons': specifier: ^3.4.0 version: 3.4.0(react@18.3.1) @@ -500,16 +518,16 @@ importers: version: 1.10.20(@sanity/client@6.22.5)(react@18.3.1) '@sanity/tsdoc': specifier: 1.0.134 - version: 1.0.134(@types/babel__core@7.20.5)(@types/node@22.5.4)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(terser@5.32.0) + version: 1.0.134(@types/babel__core@7.20.5)(@types/node@22.5.4)(babel-plugin-react-compiler@19.0.0-beta-0dec889-20241115)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(terser@5.32.0) '@sanity/types': specifier: workspace:* version: link:../../packages/@sanity/types '@sanity/ui': specifier: ^2.8.24 - version: 2.8.24(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + version: 2.8.24(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) '@sanity/ui-workshop': specifier: ^1.0.0 - version: 1.2.11(@sanity/icons@3.4.0(react@18.3.1))(@sanity/ui@2.8.24(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)))(@types/node@22.5.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(terser@5.32.0) + version: 1.2.11(@sanity/icons@3.4.0(react@18.3.1))(@sanity/ui@2.8.24(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)))(@types/node@22.5.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(terser@5.32.0) '@sanity/util': specifier: workspace:* version: link:../../packages/@sanity/util @@ -521,7 +539,7 @@ importers: version: link:../../packages/@sanity/vision '@sanity/visual-editing': specifier: 2.8.0 - version: 2.8.0(@sanity/client@6.22.5)(next@15.0.3(@babel/core@7.26.0)(@playwright/test@1.47.0)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 2.8.0(@sanity/client@6.22.5)(next@15.0.3(@babel/core@7.26.0)(@playwright/test@1.47.0)(babel-plugin-macros@3.1.0)(babel-plugin-react-compiler@19.0.0-beta-0dec889-20241115)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@turf/helpers': specifier: ^6.0.1 version: 6.5.0 @@ -549,6 +567,9 @@ importers: react: specifier: ^18.3.1 version: 18.3.1 + react-compiler-runtime: + specifier: 19.0.0-beta-0dec889-20241115 + version: 19.0.0-beta-0dec889-20241115(react@18.3.1) react-dom: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) @@ -566,17 +587,20 @@ importers: version: link:../../packages/sanity sanity-plugin-hotspot-array: specifier: ^2.0.0 - version: 2.1.0(@sanity/ui@2.8.24(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + version: 2.1.0(@sanity/ui@2.8.24(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) sanity-plugin-media: specifier: ^2.3.1 - version: 2.3.2(@sanity/ui@2.8.24(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)))(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + version: 2.3.2(@sanity/ui@2.8.24(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)))(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) sanity-plugin-mux-input: specifier: ^2.2.1 - version: 2.4.0(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + version: 2.4.0(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) styled-components: specifier: ^6.1.11 version: 6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) devDependencies: + babel-plugin-react-compiler: + specifier: 19.0.0-beta-0dec889-20241115 + version: 19.0.0-beta-0dec889-20241115 vite: specifier: ^4.5.5 version: 4.5.5(@types/node@22.5.4)(terser@5.32.0) @@ -618,7 +642,7 @@ importers: version: link:../../packages/@sanity/cli '@sanity/ui': specifier: ^2.8.24 - version: 2.8.24(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + version: 2.8.24(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) react: specifier: ^18.3.1 version: 18.3.1 @@ -639,7 +663,7 @@ importers: dependencies: '@sanity/google-maps-input': specifier: ^4.0.0 - version: 4.0.1(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + version: 4.0.1(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) react: specifier: ^18.3.1 version: 18.3.1 @@ -1226,7 +1250,7 @@ importers: version: link:../../@repo/test-config '@sanity/insert-menu': specifier: 1.0.12 - version: 1.0.12(@sanity/types@packages+@sanity+types)(react-dom@19.0.0-rc-f994737d14-20240522(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(styled-components@6.1.13(react-dom@19.0.0-rc-f994737d14-20240522(react@18.3.1))(react@18.3.1)) + version: 1.0.12(@sanity/types@packages+@sanity+types)(react-dom@19.0.0-rc-f994737d14-20240522(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1)(styled-components@6.1.13(react-dom@19.0.0-rc-f994737d14-20240522(react@18.3.1))(react@18.3.1)) '@vitejs/plugin-react': specifier: ^4.3.3 version: 4.3.3(vite@5.4.11(@types/node@22.5.4)(terser@5.32.0)) @@ -1314,7 +1338,7 @@ importers: version: 3.4.0(react@18.3.1) '@sanity/ui': specifier: ^2.8.24 - version: 2.8.24(react-dom@19.0.0-rc-f994737d14-20240522(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(styled-components@6.1.13(react-dom@19.0.0-rc-f994737d14-20240522(react@18.3.1))(react@18.3.1)) + version: 2.8.24(react-dom@19.0.0-rc-f994737d14-20240522(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1)(styled-components@6.1.13(react-dom@19.0.0-rc-f994737d14-20240522(react@18.3.1))(react@18.3.1)) '@uiw/react-codemirror': specifier: ^4.11.4 version: 4.23.0(@babel/runtime@7.26.0)(@codemirror/autocomplete@6.18.3(@codemirror/language@6.10.3)(@codemirror/state@6.4.1)(@codemirror/view@6.34.3)(@lezer/common@1.2.1))(@codemirror/language@6.10.3)(@codemirror/lint@6.8.2)(@codemirror/search@6.5.7)(@codemirror/state@6.4.1)(@codemirror/theme-one-dark@6.1.2)(@codemirror/view@6.34.3)(codemirror@6.0.1(@lezer/common@1.2.1))(react-dom@19.0.0-rc-f994737d14-20240522(react@18.3.1))(react@18.3.1) @@ -1333,6 +1357,9 @@ importers: quick-lru: specifier: ^5.1.1 version: 5.1.1 + react-compiler-runtime: + specifier: 19.0.0-beta-0dec889-20241115 + version: 19.0.0-beta-0dec889-20241115(react@18.3.1) devDependencies: '@repo/package.config': specifier: workspace:* @@ -1370,6 +1397,9 @@ importers: '@types/lodash': specifier: ^4.17.7 version: 4.17.12 + babel-plugin-react-compiler: + specifier: 19.0.0-beta-0dec889-20241115 + version: 19.0.0-beta-0dec889-20241115 react: specifier: ^18.3.1 version: 18.3.1 @@ -1521,7 +1551,7 @@ importers: specifier: ^0.0.6 version: 0.0.6 '@vitejs/plugin-react': - specifier: ^4.2.1 + specifier: ^4.3.3 version: 4.3.3(vite@4.5.5(@types/node@18.19.44)(terser@5.32.0)) archiver: specifier: ^7.0.0 @@ -1667,6 +1697,9 @@ importers: raf: specifier: ^3.4.1 version: 3.4.1 + react-compiler-runtime: + specifier: 19.0.0-beta-0dec889-20241115 + version: 19.0.0-beta-0dec889-20241115(react@18.3.1) react-copy-to-clipboard: specifier: ^5.0.4 version: 5.1.0(react@18.3.1) @@ -1769,10 +1802,10 @@ importers: version: 3.0.0 '@sanity/pkg-utils': specifier: 6.11.12 - version: 6.11.12(@types/babel__core@7.20.5)(@types/node@18.19.44)(debug@4.3.7)(typescript@5.6.3) + version: 6.11.12(@types/babel__core@7.20.5)(@types/node@18.19.44)(babel-plugin-react-compiler@19.0.0-beta-0dec889-20241115)(debug@4.3.7)(typescript@5.6.3) '@sanity/tsdoc': specifier: 1.0.134 - version: 1.0.134(@types/babel__core@7.20.5)(@types/node@18.19.44)(debug@4.3.7)(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(terser@5.32.0) + version: 1.0.134(@types/babel__core@7.20.5)(@types/node@18.19.44)(babel-plugin-react-compiler@19.0.0-beta-0dec889-20241115)(debug@4.3.7)(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(terser@5.32.0) '@sanity/ui-workshop': specifier: ^1.2.11 version: 1.2.11(@sanity/icons@3.4.0(react@18.3.1))(@sanity/ui@2.8.24(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)))(@types/node@18.19.44)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(terser@5.32.0) @@ -1842,6 +1875,9 @@ importers: '@vvo/tzdb': specifier: 6.137.0 version: 6.137.0 + babel-plugin-react-compiler: + specifier: 19.0.0-beta-0dec889-20241115 + version: 19.0.0-beta-0dec889-20241115 blob-polyfill: specifier: ^9.0.20240710 version: 9.0.20240710 @@ -1901,7 +1937,7 @@ importers: version: 18.3.1(react@18.3.1) styled-components: specifier: ^5.3.0 - version: 5.3.11(@babel/core@7.26.0)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1) + version: 5.3.11(@babel/core@7.26.0)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1) perf/efps: devDependencies: @@ -1926,6 +1962,9 @@ importers: '@vitejs/plugin-react': specifier: ^4.3.3 version: 4.3.3(vite@5.4.11(@types/node@22.5.4)(terser@5.32.0)) + babel-plugin-react-compiler: + specifier: 19.0.0-beta-0dec889-20241115 + version: 19.0.0-beta-0dec889-20241115 chalk: specifier: ^4.1.2 version: 4.1.2 @@ -1947,6 +1986,9 @@ importers: react: specifier: ^18.3.1 version: 18.3.1 + react-compiler-runtime: + specifier: 19.0.0-beta-0dec889-20241115 + version: 19.0.0-beta-0dec889-20241115(react@18.3.1) react-dom: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) @@ -1971,9 +2013,15 @@ importers: perf/studio: dependencies: + babel-plugin-react-compiler: + specifier: 19.0.0-beta-0dec889-20241115 + version: 19.0.0-beta-0dec889-20241115 react: specifier: ^18.3.1 version: 18.3.1 + react-compiler-runtime: + specifier: 19.0.0-beta-0dec889-20241115 + version: 19.0.0-beta-0dec889-20241115(react@18.3.1) react-dom: specifier: ^18.3.1 version: 18.3.1(react@18.3.1) @@ -9762,16 +9810,16 @@ packages: peerDependencies: react: ^18.3.1 - react-dom@19.0.0-rc-a7d1240c-20240731: - resolution: {integrity: sha512-NNXK26qZhw2DE0wWdphAV/zdQW8olRVGr4q/aFn4+BjSsj2qevdB6rUdrJRczUn8w119Jg/+9Z3EfRFfjSOg0w==} - peerDependencies: - react: 19.0.0-rc-a7d1240c-20240731 - react-dom@19.0.0-rc-f994737d14-20240522: resolution: {integrity: sha512-J4CsfTSptPKkhaPbaR6n/KohQiHZTrRZ8GL4H8rbAqN/Qpy69g2MIoLBr5/PUX21ye6JxC1ZRWJFna7Xdg1pdA==} peerDependencies: react: 19.0.0-rc-f994737d14-20240522 + react-dom@19.0.0-rc.1: + resolution: {integrity: sha512-k8MfDX+4G+eaa1cXXI9QF4d+pQtYol3nx8vauqRWUEOPqC7NQn2qmEqUsLoSd28rrZUL+R3T2VC+kZ2Hyx1geQ==} + peerDependencies: + react: 19.0.0-rc.1 + react-dropzone@11.7.1: resolution: {integrity: sha512-zxCMwhfPy1olUEbw3FLNPLhAm/HnaYH5aELIEglRbqabizKAdHs0h+WuyOpmA+v1JXn0++fpQDdNfUagWt5hJQ==} engines: {node: '>= 10.13'} @@ -9829,8 +9877,11 @@ packages: react-is@18.3.1: resolution: {integrity: sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==} - react-is@19.0.0-rc-a7d1240c-20240731: - resolution: {integrity: sha512-YlcVHXgUONHaEbwrxw7fm5VkXtsDAuuDV/7sBSejKQZh0L4YsfMFGhPTFMgCK8K1frsvdbNkscGIWXoB/TcgEg==} + react-is@19.0.0-rc-b01722d5-20241114: + resolution: {integrity: sha512-nR4blVGWugab7X2wN/FXLNKw1HWVK8lO9+rv0ip2xN5j6RNvXOV1PKtWOm2TuDzq52Nc6ASyno8FFy088ejsfA==} + + react-is@19.0.0-rc.1: + resolution: {integrity: sha512-D6AbvUGS+i2lK3yC1a+iSicqWhIenYGxYUd7j0JJxunlk0RSAy/yRo58Mh5JJcAVQfNhej20nCwJVehYpNwNiA==} react-lifecycles-compat@3.0.4: resolution: {integrity: sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA==} @@ -9888,14 +9939,14 @@ packages: resolution: {integrity: sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==} engines: {node: '>=0.10.0'} - react@19.0.0-rc-a7d1240c-20240731: - resolution: {integrity: sha512-z1O4z4q9hy4DPUOO2E2VOjJwFOKH/hqZOIKldPGY8DLzxW4pH2JiTm5ma51zRqj7WxVt/5yjDIbY3L9kYTAVcg==} - engines: {node: '>=0.10.0'} - react@19.0.0-rc-f994737d14-20240522: resolution: {integrity: sha512-SeU2v5Xy6FotVhKz0pMS2gvYP7HlkF0qgTskj3JzA1vlxcb3dQjxlm9t0ZlJqcgoyI3VFAw7bomuDMdgy1nBuw==} engines: {node: '>=0.10.0'} + react@19.0.0-rc.1: + resolution: {integrity: sha512-NZKln+uyPuyHchzP07I6GGYFxdAoaKhehgpCa3ltJGzwE31OYumLeshGaitA1R/fS5d9D2qpZVwTFAr6zCLM9w==} + engines: {node: '>=0.10.0'} + read-cmd-shim@4.0.0: resolution: {integrity: sha512-yILWifhaSEEytfXI76kB9xEEiG1AiozaCJZ83A87ytjRiN+jVibXjedjCRNjoZviinhG+4UkalO3mWTd8u5O0Q==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} @@ -10277,12 +10328,12 @@ packages: scheduler@0.23.2: resolution: {integrity: sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==} - scheduler@0.25.0-rc-a7d1240c-20240731: - resolution: {integrity: sha512-ci54e3SJGtv7AZJelSo8XLSgnWPIWiZeMYaDQMsf6CLrcjLBbke3Nu+7nwLd36IQ/WDcmp+x7sDfU6ZND236ZA==} - scheduler@0.25.0-rc-f994737d14-20240522: resolution: {integrity: sha512-qS+xGFF7AljP2APO2iJe8zESNsK20k25MACz+WGOXPybUsRdi1ssvaoF93im2nSX2q/XT3wKkjdz6RQfbmaxdw==} + scheduler@0.25.0-rc.1: + resolution: {integrity: sha512-fVinv2lXqYpKConAMdergOl5owd0rY1O4P/QTe0aWKCqGtu7VsCt1iqQFxSJtqK4Lci/upVSBpGwVC7eWcuS9Q==} + scroll-into-view-if-needed@3.1.0: resolution: {integrity: sha512-49oNpRjWRvnU8NyGVmUaYG4jtTkNonFZI86MmGRDqBphEK2EXT9gdEUoQPZhuBM8yWHxCWbobltqYO5M4XrUvQ==} @@ -14256,12 +14307,12 @@ snapshots: '@sanity/asset-utils@2.1.0': {} - '@sanity/assist@3.0.8(@sanity/mutator@packages+@sanity+mutator)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': + '@sanity/assist@3.0.8(@sanity/mutator@packages+@sanity+mutator)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': dependencies: '@sanity/icons': 2.11.8(react@18.3.1) '@sanity/incompatible-plugin': 1.0.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@sanity/mutator': link:packages/@sanity/mutator - '@sanity/ui': 2.8.24(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@sanity/ui': 2.8.24(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) date-fns: 3.6.0 lodash: 4.17.21 lodash-es: 4.17.21 @@ -14290,7 +14341,7 @@ snapshots: transitivePeerDependencies: - debug - '@sanity/code-input@4.1.4(@babel/runtime@7.26.0)(@codemirror/theme-one-dark@6.1.2)(@lezer/common@1.2.1)(codemirror@6.0.1(@lezer/common@1.2.1))(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': + '@sanity/code-input@4.1.4(@babel/runtime@7.26.0)(@codemirror/theme-one-dark@6.1.2)(@lezer/common@1.2.1)(codemirror@6.0.1(@lezer/common@1.2.1))(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': dependencies: '@codemirror/autocomplete': 6.18.3(@codemirror/language@6.10.3)(@codemirror/state@6.4.1)(@codemirror/view@6.34.3)(@lezer/common@1.2.1) '@codemirror/commands': 6.7.1 @@ -14309,7 +14360,7 @@ snapshots: '@juggle/resize-observer': 3.4.0 '@lezer/highlight': 1.2.1 '@sanity/incompatible-plugin': 1.0.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@sanity/ui': 1.9.3(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@sanity/ui': 1.9.3(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) '@uiw/codemirror-themes': 4.23.5(@codemirror/language@6.10.3)(@codemirror/state@6.4.1)(@codemirror/view@6.34.3) '@uiw/react-codemirror': 4.23.0(@babel/runtime@7.26.0)(@codemirror/autocomplete@6.18.3(@codemirror/language@6.10.3)(@codemirror/state@6.4.1)(@codemirror/view@6.34.3)(@lezer/common@1.2.1))(@codemirror/language@6.10.3)(@codemirror/search@6.5.7)(@codemirror/state@6.4.1)(@codemirror/theme-one-dark@6.1.2)(@codemirror/view@6.34.3)(codemirror@6.0.1(@lezer/common@1.2.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 18.3.1 @@ -14416,11 +14467,11 @@ snapshots: '@sanity/generate-help-url@3.0.0': {} - '@sanity/google-maps-input@4.0.1(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': + '@sanity/google-maps-input@4.0.1(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': dependencies: '@sanity/icons': 2.11.8(react@18.3.1) '@sanity/incompatible-plugin': 1.0.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@sanity/ui': 2.8.24(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@sanity/ui': 2.8.24(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) lodash: 4.17.21 react: 18.3.1 sanity: link:packages/sanity @@ -14492,15 +14543,15 @@ snapshots: transitivePeerDependencies: - styled-components - '@sanity/insert-menu@1.0.12(@sanity/types@packages+@sanity+types)(react-dom@19.0.0-rc-f994737d14-20240522(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(styled-components@6.1.13(react-dom@19.0.0-rc-f994737d14-20240522(react@18.3.1))(react@18.3.1))': + '@sanity/insert-menu@1.0.12(@sanity/types@packages+@sanity+types)(react-dom@19.0.0-rc-f994737d14-20240522(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1)(styled-components@6.1.13(react-dom@19.0.0-rc-f994737d14-20240522(react@18.3.1))(react@18.3.1))': dependencies: '@sanity/icons': 3.4.0(react@18.3.1) '@sanity/types': link:packages/@sanity/types - '@sanity/ui': 2.8.24(react-dom@19.0.0-rc-f994737d14-20240522(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(styled-components@6.1.13(react-dom@19.0.0-rc-f994737d14-20240522(react@18.3.1))(react@18.3.1)) + '@sanity/ui': 2.8.24(react-dom@19.0.0-rc-f994737d14-20240522(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1)(styled-components@6.1.13(react-dom@19.0.0-rc-f994737d14-20240522(react@18.3.1))(react@18.3.1)) lodash.startcase: 4.4.0 react: 18.3.1 react-dom: 19.0.0-rc-f994737d14-20240522(react@18.3.1) - react-is: 19.0.0-rc-a7d1240c-20240731 + react-is: 19.0.0-rc-b01722d5-20241114 transitivePeerDependencies: - styled-components @@ -14563,7 +14614,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@sanity/pkg-utils@6.11.12(@types/babel__core@7.20.5)(@types/node@18.19.44)(debug@4.3.7)(typescript@5.6.3)': + '@sanity/pkg-utils@6.11.12(@types/babel__core@7.20.5)(@types/node@18.19.44)(babel-plugin-react-compiler@19.0.0-beta-0dec889-20241115)(debug@4.3.7)(typescript@5.6.3)': dependencies: '@babel/core': 7.26.0 '@babel/preset-typescript': 7.26.0(@babel/core@7.26.0) @@ -14607,13 +14658,15 @@ snapshots: uuid: 10.0.0 zod: 3.23.8 zod-validation-error: 3.4.0(zod@3.23.8) + optionalDependencies: + babel-plugin-react-compiler: 19.0.0-beta-0dec889-20241115 transitivePeerDependencies: - '@types/babel__core' - '@types/node' - debug - supports-color - '@sanity/pkg-utils@6.11.12(@types/babel__core@7.20.5)(@types/node@22.5.4)(typescript@5.6.3)': + '@sanity/pkg-utils@6.11.12(@types/babel__core@7.20.5)(@types/node@22.5.4)(babel-plugin-react-compiler@19.0.0-beta-0dec889-20241115)(typescript@5.6.3)': dependencies: '@babel/core': 7.26.0 '@babel/preset-typescript': 7.26.0(@babel/core@7.26.0) @@ -14657,6 +14710,8 @@ snapshots: uuid: 10.0.0 zod: 3.23.8 zod-validation-error: 3.4.0(zod@3.23.8) + optionalDependencies: + babel-plugin-react-compiler: 19.0.0-beta-0dec889-20241115 transitivePeerDependencies: - '@types/babel__core' - '@types/node' @@ -14729,7 +14784,7 @@ snapshots: transitivePeerDependencies: - debug - '@sanity/tsdoc@1.0.134(@types/babel__core@7.20.5)(@types/node@18.19.44)(debug@4.3.7)(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(terser@5.32.0)': + '@sanity/tsdoc@1.0.134(@types/babel__core@7.20.5)(@types/node@18.19.44)(babel-plugin-react-compiler@19.0.0-beta-0dec889-20241115)(debug@4.3.7)(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(terser@5.32.0)': dependencies: '@microsoft/api-extractor': 7.47.11(@types/node@18.19.44) '@microsoft/api-extractor-model': 7.29.8(@types/node@18.19.44) @@ -14740,7 +14795,7 @@ snapshots: '@sanity/client': 6.22.5(debug@4.3.7) '@sanity/color': 3.0.6 '@sanity/icons': 3.4.0(react@18.3.1) - '@sanity/pkg-utils': 6.11.12(@types/babel__core@7.20.5)(@types/node@18.19.44)(debug@4.3.7)(typescript@5.6.3) + '@sanity/pkg-utils': 6.11.12(@types/babel__core@7.20.5)(@types/node@18.19.44)(babel-plugin-react-compiler@19.0.0-beta-0dec889-20241115)(debug@4.3.7)(typescript@5.6.3) '@sanity/ui': 2.8.24(react-dom@18.3.1(react@18.3.1))(react-is@18.3.1)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) '@types/cpx': 1.5.5 '@vitejs/plugin-react': 4.3.3(vite@5.4.11(@types/node@18.19.44)(terser@5.32.0)) @@ -14783,7 +14838,7 @@ snapshots: - supports-color - terser - '@sanity/tsdoc@1.0.134(@types/babel__core@7.20.5)(@types/node@18.19.44)(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react-is@19.0.0-rc-a7d1240c-20240731)(react@19.0.0-rc-f994737d14-20240522)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react@19.0.0-rc-f994737d14-20240522))(terser@5.32.0)': + '@sanity/tsdoc@1.0.134(@types/babel__core@7.20.5)(@types/node@18.19.44)(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react-is@19.0.0-rc-b01722d5-20241114)(react@19.0.0-rc-f994737d14-20240522)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react@19.0.0-rc-f994737d14-20240522))(terser@5.32.0)': dependencies: '@microsoft/api-extractor': 7.47.11(@types/node@18.19.44) '@microsoft/api-extractor-model': 7.29.8(@types/node@18.19.44) @@ -14794,8 +14849,8 @@ snapshots: '@sanity/client': 6.22.5(debug@4.3.7) '@sanity/color': 3.0.6 '@sanity/icons': 3.4.0(react@19.0.0-rc-f994737d14-20240522) - '@sanity/pkg-utils': 6.11.12(@types/babel__core@7.20.5)(@types/node@18.19.44)(debug@4.3.7)(typescript@5.6.3) - '@sanity/ui': 2.8.24(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react-is@19.0.0-rc-a7d1240c-20240731)(react@19.0.0-rc-f994737d14-20240522)(styled-components@6.1.13(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react@19.0.0-rc-f994737d14-20240522)) + '@sanity/pkg-utils': 6.11.12(@types/babel__core@7.20.5)(@types/node@18.19.44)(babel-plugin-react-compiler@19.0.0-beta-0dec889-20241115)(debug@4.3.7)(typescript@5.6.3) + '@sanity/ui': 2.8.24(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react-is@19.0.0-rc-b01722d5-20241114)(react@19.0.0-rc-f994737d14-20240522)(styled-components@6.1.13(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react@19.0.0-rc-f994737d14-20240522)) '@types/cpx': 1.5.5 '@vitejs/plugin-react': 4.3.3(vite@5.4.11(@types/node@18.19.44)(terser@5.32.0)) cac: 6.7.14 @@ -14837,7 +14892,7 @@ snapshots: - supports-color - terser - '@sanity/tsdoc@1.0.134(@types/babel__core@7.20.5)(@types/node@22.5.4)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(terser@5.32.0)': + '@sanity/tsdoc@1.0.134(@types/babel__core@7.20.5)(@types/node@22.5.4)(babel-plugin-react-compiler@19.0.0-beta-0dec889-20241115)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(terser@5.32.0)': dependencies: '@microsoft/api-extractor': 7.47.11(@types/node@22.5.4) '@microsoft/api-extractor-model': 7.29.8(@types/node@22.5.4) @@ -14848,8 +14903,8 @@ snapshots: '@sanity/client': 6.22.5(debug@4.3.7) '@sanity/color': 3.0.6 '@sanity/icons': 3.4.0(react@18.3.1) - '@sanity/pkg-utils': 6.11.12(@types/babel__core@7.20.5)(@types/node@22.5.4)(typescript@5.6.3) - '@sanity/ui': 2.8.24(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@sanity/pkg-utils': 6.11.12(@types/babel__core@7.20.5)(@types/node@22.5.4)(babel-plugin-react-compiler@19.0.0-beta-0dec889-20241115)(typescript@5.6.3) + '@sanity/ui': 2.8.24(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) '@types/cpx': 1.5.5 '@vitejs/plugin-react': 4.3.3(vite@5.4.11(@types/node@22.5.4)(terser@5.32.0)) cac: 6.7.14 @@ -14929,10 +14984,10 @@ snapshots: - supports-color - terser - '@sanity/ui-workshop@1.2.11(@sanity/icons@3.4.0(react@18.3.1))(@sanity/ui@2.8.24(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)))(@types/node@22.5.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(terser@5.32.0)': + '@sanity/ui-workshop@1.2.11(@sanity/icons@3.4.0(react@18.3.1))(@sanity/ui@2.8.24(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)))(@types/node@22.5.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(terser@5.32.0)': dependencies: '@sanity/icons': 3.4.0(react@18.3.1) - '@sanity/ui': 2.8.24(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@sanity/ui': 2.8.24(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) '@vitejs/plugin-react': 4.3.3(vite@4.5.5(@types/node@22.5.4)(terser@5.32.0)) axe-core: 4.10.0 cac: 6.7.14 @@ -14960,7 +15015,7 @@ snapshots: - supports-color - terser - '@sanity/ui@1.9.3(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': + '@sanity/ui@1.9.3(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': dependencies: '@floating-ui/react-dom': 2.0.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@sanity/color': 2.2.5 @@ -14969,7 +15024,7 @@ snapshots: framer-motion: 10.18.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - react-is: 19.0.0-rc-a7d1240c-20240731 + react-is: 19.0.0-rc-b01722d5-20241114 react-refractor: 2.2.0(react@18.3.1) styled-components: 6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -14988,7 +15043,7 @@ snapshots: styled-components: 6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) use-effect-event: 1.0.2(react@18.3.1) - '@sanity/ui@2.8.24(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': + '@sanity/ui@2.8.24(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': dependencies: '@floating-ui/react-dom': 2.1.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@sanity/color': 3.0.6 @@ -14998,12 +15053,12 @@ snapshots: react: 18.3.1 react-compiler-runtime: 19.0.0-beta-0dec889-20241115(react@18.3.1) react-dom: 18.3.1(react@18.3.1) - react-is: 19.0.0-rc-a7d1240c-20240731 + react-is: 19.0.0-rc-b01722d5-20241114 react-refractor: 2.2.0(react@18.3.1) styled-components: 6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) use-effect-event: 1.0.2(react@18.3.1) - '@sanity/ui@2.8.24(react-dom@19.0.0-rc-f994737d14-20240522(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(styled-components@6.1.13(react-dom@19.0.0-rc-f994737d14-20240522(react@18.3.1))(react@18.3.1))': + '@sanity/ui@2.8.24(react-dom@19.0.0-rc-f994737d14-20240522(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1)(styled-components@6.1.13(react-dom@19.0.0-rc-f994737d14-20240522(react@18.3.1))(react@18.3.1))': dependencies: '@floating-ui/react-dom': 2.1.2(react-dom@19.0.0-rc-f994737d14-20240522(react@18.3.1))(react@18.3.1) '@sanity/color': 3.0.6 @@ -15013,12 +15068,12 @@ snapshots: react: 18.3.1 react-compiler-runtime: 19.0.0-beta-0dec889-20241115(react@18.3.1) react-dom: 19.0.0-rc-f994737d14-20240522(react@18.3.1) - react-is: 19.0.0-rc-a7d1240c-20240731 + react-is: 19.0.0-rc-b01722d5-20241114 react-refractor: 2.2.0(react@18.3.1) styled-components: 6.1.13(react-dom@19.0.0-rc-f994737d14-20240522(react@18.3.1))(react@18.3.1) use-effect-event: 1.0.2(react@18.3.1) - '@sanity/ui@2.8.24(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react-is@19.0.0-rc-a7d1240c-20240731)(react@19.0.0-rc-f994737d14-20240522)(styled-components@6.1.13(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react@19.0.0-rc-f994737d14-20240522))': + '@sanity/ui@2.8.24(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react-is@19.0.0-rc-b01722d5-20241114)(react@19.0.0-rc-f994737d14-20240522)(styled-components@6.1.13(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react@19.0.0-rc-f994737d14-20240522))': dependencies: '@floating-ui/react-dom': 2.1.2(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react@19.0.0-rc-f994737d14-20240522) '@sanity/color': 3.0.6 @@ -15028,7 +15083,7 @@ snapshots: react: 19.0.0-rc-f994737d14-20240522 react-compiler-runtime: 19.0.0-beta-0dec889-20241115(react@19.0.0-rc-f994737d14-20240522) react-dom: 19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522) - react-is: 19.0.0-rc-a7d1240c-20240731 + react-is: 19.0.0-rc-b01722d5-20241114 react-refractor: 2.2.0(react@19.0.0-rc-f994737d14-20240522) styled-components: 6.1.13(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react@19.0.0-rc-f994737d14-20240522) use-effect-event: 1.0.2(react@19.0.0-rc-f994737d14-20240522) @@ -15048,7 +15103,7 @@ snapshots: '@types/uuid': 8.3.4 uuid: 8.3.2 - '@sanity/visual-editing@2.8.0(@sanity/client@6.22.5)(next@15.0.3(@babel/core@7.26.0)(@playwright/test@1.47.0)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@sanity/visual-editing@2.8.0(@sanity/client@6.22.5)(next@15.0.3(@babel/core@7.26.0)(@playwright/test@1.47.0)(babel-plugin-macros@3.1.0)(babel-plugin-react-compiler@19.0.0-beta-0dec889-20241115)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@sanity/comlink': 1.1.3 '@sanity/mutate': 0.11.0-canary.3(xstate@5.19.0) @@ -15064,7 +15119,7 @@ snapshots: xstate: 5.19.0 optionalDependencies: '@sanity/client': 6.22.5(debug@4.3.7) - next: 15.0.3(@babel/core@7.26.0)(@playwright/test@1.47.0)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + next: 15.0.3(@babel/core@7.26.0)(@playwright/test@1.47.0)(babel-plugin-macros@3.1.0)(babel-plugin-react-compiler@19.0.0-beta-0dec889-20241115)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) transitivePeerDependencies: - debug @@ -16321,14 +16376,14 @@ snapshots: dependencies: '@babel/types': 7.26.0 - babel-plugin-styled-components@2.1.4(@babel/core@7.26.0)(styled-components@5.3.11(@babel/core@7.26.0)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1))(supports-color@5.5.0): + babel-plugin-styled-components@2.1.4(@babel/core@7.26.0)(styled-components@5.3.11(@babel/core@7.26.0)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1))(supports-color@5.5.0): dependencies: '@babel/helper-annotate-as-pure': 7.25.9 '@babel/helper-module-imports': 7.25.9(supports-color@5.5.0) '@babel/plugin-syntax-jsx': 7.25.9(@babel/core@7.26.0) lodash: 4.17.21 picomatch: 2.3.1 - styled-components: 5.3.11(@babel/core@7.26.0)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1) + styled-components: 5.3.11(@babel/core@7.26.0)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1) transitivePeerDependencies: - '@babel/core' - supports-color @@ -20277,7 +20332,7 @@ snapshots: - '@babel/core' - babel-plugin-macros - next@15.0.3(@babel/core@7.26.0)(@playwright/test@1.47.0)(babel-plugin-macros@3.1.0)(babel-plugin-react-compiler@19.0.0-beta-0dec889-20241115)(react-dom@19.0.0-rc-a7d1240c-20240731(react@19.0.0-rc-a7d1240c-20240731))(react@19.0.0-rc-a7d1240c-20240731): + next@15.0.3(@babel/core@7.26.0)(@playwright/test@1.47.0)(babel-plugin-macros@3.1.0)(babel-plugin-react-compiler@19.0.0-beta-0dec889-20241115)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@next/env': 15.0.3 '@swc/counter': 0.1.3 @@ -20285,9 +20340,9 @@ snapshots: busboy: 1.6.0 caniuse-lite: 1.0.30001680 postcss: 8.4.31 - react: 19.0.0-rc-a7d1240c-20240731 - react-dom: 19.0.0-rc-a7d1240c-20240731(react@19.0.0-rc-a7d1240c-20240731) - styled-jsx: 5.1.6(@babel/core@7.26.0)(babel-plugin-macros@3.1.0)(react@19.0.0-rc-a7d1240c-20240731) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + styled-jsx: 5.1.6(@babel/core@7.26.0)(babel-plugin-macros@3.1.0)(react@18.3.1) optionalDependencies: '@next/swc-darwin-arm64': 15.0.3 '@next/swc-darwin-x64': 15.0.3 @@ -20303,8 +20358,9 @@ snapshots: transitivePeerDependencies: - '@babel/core' - babel-plugin-macros + optional: true - next@15.0.3(@babel/core@7.26.0)(@playwright/test@1.47.0)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + next@15.0.3(@babel/core@7.26.0)(@playwright/test@1.47.0)(babel-plugin-macros@3.1.0)(babel-plugin-react-compiler@19.0.0-beta-0dec889-20241115)(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1): dependencies: '@next/env': 15.0.3 '@swc/counter': 0.1.3 @@ -20312,9 +20368,9 @@ snapshots: busboy: 1.6.0 caniuse-lite: 1.0.30001680 postcss: 8.4.31 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - styled-jsx: 5.1.6(@babel/core@7.26.0)(babel-plugin-macros@3.1.0)(react@18.3.1) + react: 19.0.0-rc.1 + react-dom: 19.0.0-rc.1(react@19.0.0-rc.1) + styled-jsx: 5.1.6(@babel/core@7.26.0)(babel-plugin-macros@3.1.0)(react@19.0.0-rc.1) optionalDependencies: '@next/swc-darwin-arm64': 15.0.3 '@next/swc-darwin-x64': 15.0.3 @@ -20325,11 +20381,11 @@ snapshots: '@next/swc-win32-arm64-msvc': 15.0.3 '@next/swc-win32-x64-msvc': 15.0.3 '@playwright/test': 1.47.0 + babel-plugin-react-compiler: 19.0.0-beta-0dec889-20241115 sharp: 0.33.5 transitivePeerDependencies: - '@babel/core' - babel-plugin-macros - optional: true nice-try@1.0.5: {} @@ -21241,11 +21297,6 @@ snapshots: react: 18.3.1 scheduler: 0.23.2 - react-dom@19.0.0-rc-a7d1240c-20240731(react@19.0.0-rc-a7d1240c-20240731): - dependencies: - react: 19.0.0-rc-a7d1240c-20240731 - scheduler: 0.25.0-rc-a7d1240c-20240731 - react-dom@19.0.0-rc-f994737d14-20240522(react@18.3.1): dependencies: react: 18.3.1 @@ -21256,6 +21307,11 @@ snapshots: react: 19.0.0-rc-f994737d14-20240522 scheduler: 0.25.0-rc-f994737d14-20240522 + react-dom@19.0.0-rc.1(react@19.0.0-rc.1): + dependencies: + react: 19.0.0-rc.1 + scheduler: 0.25.0-rc.1 + react-dropzone@11.7.1(react@18.3.1): dependencies: attr-accept: 2.2.2 @@ -21307,7 +21363,9 @@ snapshots: react-is@18.3.1: {} - react-is@19.0.0-rc-a7d1240c-20240731: {} + react-is@19.0.0-rc-b01722d5-20241114: {} + + react-is@19.0.0-rc.1: {} react-lifecycles-compat@3.0.4: {} @@ -21386,10 +21444,10 @@ snapshots: dependencies: loose-envify: 1.4.0 - react@19.0.0-rc-a7d1240c-20240731: {} - react@19.0.0-rc-f994737d14-20240522: {} + react@19.0.0-rc.1: {} + read-cmd-shim@4.0.0: {} read-package-json-fast@3.0.2: @@ -21788,12 +21846,12 @@ snapshots: dependencies: '@sanity/diff-match-patch': 3.1.1 - sanity-plugin-hotspot-array@2.1.0(@sanity/ui@2.8.24(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)): + sanity-plugin-hotspot-array@2.1.0(@sanity/ui@2.8.24(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)): dependencies: '@sanity/asset-utils': 2.1.0 '@sanity/image-url': 1.1.0 '@sanity/incompatible-plugin': 1.0.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@sanity/ui': 2.8.24(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@sanity/ui': 2.8.24(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) '@sanity/util': link:packages/@sanity/util '@types/lodash-es': 4.17.12 framer-motion: 11.0.8(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -21804,12 +21862,12 @@ snapshots: transitivePeerDependencies: - react-dom - sanity-plugin-media@2.3.2(@sanity/ui@2.8.24(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)))(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)): + sanity-plugin-media@2.3.2(@sanity/ui@2.8.24(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)))(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)): dependencies: '@hookform/resolvers': 3.9.0(react-hook-form@7.52.2(react@18.3.1)) '@reduxjs/toolkit': 1.9.7(react-redux@7.2.9(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) '@sanity/incompatible-plugin': 1.0.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@sanity/ui': 2.8.24(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@sanity/ui': 2.8.24(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) '@sanity/uuid': 3.0.2 '@tanem/react-nprogress': 5.0.51(react-dom@18.3.1(react@18.3.1))(react@18.3.1) copy-to-clipboard: 3.3.3 @@ -21839,19 +21897,19 @@ snapshots: - react-native - supports-color - sanity-plugin-mux-input@2.4.0(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)): + sanity-plugin-mux-input@2.4.0(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)): dependencies: '@mux/mux-player-react': 2.9.1(@types/react@18.3.12)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@mux/upchunk': 3.4.0 '@sanity/icons': 3.4.0(react@18.3.1) '@sanity/incompatible-plugin': 1.0.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@sanity/ui': 2.8.24(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@sanity/ui': 2.8.24(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) '@sanity/uuid': 3.0.2 iso-639-1: 3.1.3 jsonwebtoken-esm: 1.0.5 lodash: 4.17.21 react: 18.3.1 - react-is: 19.0.0-rc-a7d1240c-20240731 + react-is: 19.0.0-rc-b01722d5-20241114 react-rx: 4.1.6(react@18.3.1)(rxjs@7.8.1) rxjs: 7.8.1 sanity: link:packages/sanity @@ -21874,10 +21932,10 @@ snapshots: dependencies: loose-envify: 1.4.0 - scheduler@0.25.0-rc-a7d1240c-20240731: {} - scheduler@0.25.0-rc-f994737d14-20240522: {} + scheduler@0.25.0-rc.1: {} + scroll-into-view-if-needed@3.1.0: dependencies: compute-scroll-into-view: 3.1.0 @@ -22415,19 +22473,19 @@ snapshots: style-mod@4.1.2: {} - styled-components@5.3.11(@babel/core@7.26.0)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1): + styled-components@5.3.11(@babel/core@7.26.0)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1): dependencies: '@babel/helper-module-imports': 7.25.9(supports-color@5.5.0) '@babel/traverse': 7.25.9(supports-color@5.5.0) '@emotion/is-prop-valid': 1.2.2 '@emotion/stylis': 0.8.5 '@emotion/unitless': 0.7.5 - babel-plugin-styled-components: 2.1.4(@babel/core@7.26.0)(styled-components@5.3.11(@babel/core@7.26.0)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-a7d1240c-20240731)(react@18.3.1))(supports-color@5.5.0) + babel-plugin-styled-components: 2.1.4(@babel/core@7.26.0)(styled-components@5.3.11(@babel/core@7.26.0)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc-b01722d5-20241114)(react@18.3.1))(supports-color@5.5.0) css-to-react-native: 3.2.0 hoist-non-react-statics: 3.3.2 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - react-is: 19.0.0-rc-a7d1240c-20240731 + react-is: 19.0.0-rc-b01722d5-20241114 shallowequal: 1.1.0 supports-color: 5.5.0 transitivePeerDependencies: @@ -22447,7 +22505,7 @@ snapshots: stylis: 4.3.2 tslib: 2.6.2 - styled-components@6.1.13(react-dom@19.0.0-rc-a7d1240c-20240731(react@19.0.0-rc-a7d1240c-20240731))(react@19.0.0-rc-a7d1240c-20240731): + styled-components@6.1.13(react-dom@19.0.0-rc-f994737d14-20240522(react@18.3.1))(react@18.3.1): dependencies: '@emotion/is-prop-valid': 1.2.2 '@emotion/unitless': 0.8.1 @@ -22455,13 +22513,13 @@ snapshots: css-to-react-native: 3.2.0 csstype: 3.1.3 postcss: 8.4.38 - react: 19.0.0-rc-a7d1240c-20240731 - react-dom: 19.0.0-rc-a7d1240c-20240731(react@19.0.0-rc-a7d1240c-20240731) + react: 18.3.1 + react-dom: 19.0.0-rc-f994737d14-20240522(react@18.3.1) shallowequal: 1.1.0 stylis: 4.3.2 tslib: 2.6.2 - styled-components@6.1.13(react-dom@19.0.0-rc-f994737d14-20240522(react@18.3.1))(react@18.3.1): + styled-components@6.1.13(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react@19.0.0-rc-f994737d14-20240522): dependencies: '@emotion/is-prop-valid': 1.2.2 '@emotion/unitless': 0.8.1 @@ -22469,13 +22527,13 @@ snapshots: css-to-react-native: 3.2.0 csstype: 3.1.3 postcss: 8.4.38 - react: 18.3.1 - react-dom: 19.0.0-rc-f994737d14-20240522(react@18.3.1) + react: 19.0.0-rc-f994737d14-20240522 + react-dom: 19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522) shallowequal: 1.1.0 stylis: 4.3.2 tslib: 2.6.2 - styled-components@6.1.13(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react@19.0.0-rc-f994737d14-20240522): + styled-components@6.1.13(react-dom@19.0.0-rc.1(react@19.0.0-rc.1))(react@19.0.0-rc.1): dependencies: '@emotion/is-prop-valid': 1.2.2 '@emotion/unitless': 0.8.1 @@ -22483,8 +22541,8 @@ snapshots: css-to-react-native: 3.2.0 csstype: 3.1.3 postcss: 8.4.38 - react: 19.0.0-rc-f994737d14-20240522 - react-dom: 19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522) + react: 19.0.0-rc.1 + react-dom: 19.0.0-rc.1(react@19.0.0-rc.1) shallowequal: 1.1.0 stylis: 4.3.2 tslib: 2.6.2 @@ -22506,10 +22564,10 @@ snapshots: babel-plugin-macros: 3.1.0 optional: true - styled-jsx@5.1.6(@babel/core@7.26.0)(babel-plugin-macros@3.1.0)(react@19.0.0-rc-a7d1240c-20240731): + styled-jsx@5.1.6(@babel/core@7.26.0)(babel-plugin-macros@3.1.0)(react@19.0.0-rc.1): dependencies: client-only: 0.0.1 - react: 19.0.0-rc-a7d1240c-20240731 + react: 19.0.0-rc.1 optionalDependencies: '@babel/core': 7.26.0 babel-plugin-macros: 3.1.0