diff --git a/dev/design-studio/package.json b/dev/design-studio/package.json index 9413e4ae1dc..fe2584b3bf4 100644 --- a/dev/design-studio/package.json +++ b/dev/design-studio/package.json @@ -33,8 +33,8 @@ "dependencies": { "@sanity/icons": "^3.5.6", "@sanity/ui": "^2.10.14", - "react": "^18.3.1", - "react-dom": "^18.3.1", + "react": "^19.0.0", + "react-dom": "^19.0.0", "sanity": "workspace:*", "styled-components": "^6.1.0" } diff --git a/dev/embedded-studio/package.json b/dev/embedded-studio/package.json index b1c910a0986..2601431c661 100644 --- a/dev/embedded-studio/package.json +++ b/dev/embedded-studio/package.json @@ -9,14 +9,14 @@ }, "dependencies": { "@sanity/ui": "^2.10.14", - "react": "^18.3.1", - "react-dom": "^18.3.1", + "react": "^19.0.0", + "react-dom": "^19.0.0", "sanity": "workspace:*", "styled-components": "^6.1.0" }, "devDependencies": { - "@types/react": "^18.3.18", - "@types/react-dom": "^18.3.5", + "@types/react": "^19.0.2", + "@types/react-dom": "^19.0.2", "@vitejs/plugin-react": "^4.3.4", "typescript": "5.7.2", "vite": "^5.4.11" diff --git a/dev/page-building-studio/package.json b/dev/page-building-studio/package.json index e8f9a64a837..ccb8919ce81 100644 --- a/dev/page-building-studio/package.json +++ b/dev/page-building-studio/package.json @@ -14,9 +14,8 @@ "dependencies": { "@sanity/vision": "workspace:*", "babel-plugin-react-compiler": "19.0.0-beta-55955c9-20241229", - "react": "^18.2.0", - "react-compiler-runtime": "19.0.0-beta-55955c9-20241229", - "react-dom": "^18.2.0", + "react": "^19.0.0", + "react-dom": "^19.0.0", "react-icons": "^5.2.1", "sanity": "workspace:*", "styled-components": "^6.1.8" diff --git a/dev/page-building-studio/sanity.cli.ts b/dev/page-building-studio/sanity.cli.ts index 397383e4939..4b3ad3c3c3b 100644 --- a/dev/page-building-studio/sanity.cli.ts +++ b/dev/page-building-studio/sanity.cli.ts @@ -5,5 +5,5 @@ export default defineCliConfig({ projectId: 'ppsg7ml5', dataset: 'page-building', }, - reactCompiler: {target: '18'}, + reactCompiler: {target: '19'}, }) diff --git a/dev/starter-next-studio/package.json b/dev/starter-next-studio/package.json index 1077e9a4e59..19dbd1f6961 100644 --- a/dev/starter-next-studio/package.json +++ b/dev/starter-next-studio/package.json @@ -11,8 +11,8 @@ }, "dependencies": { "next": "^14.0.0", - "react": "^18.3.1", - "react-dom": "^18.3.1", + "react": "^19.0.0", + "react-dom": "^19.0.0", "sanity": "workspace:*", "styled-components": "^6.1.0" } diff --git a/dev/starter-studio/package.json b/dev/starter-studio/package.json index 990b2f03397..8e79860a7d7 100644 --- a/dev/starter-studio/package.json +++ b/dev/starter-studio/package.json @@ -13,9 +13,8 @@ }, "dependencies": { "babel-plugin-react-compiler": "19.0.0-beta-55955c9-20241229", - "react": "^18.3.1", - "react-compiler-runtime": "19.0.0-beta-55955c9-20241229", - "react-dom": "^18.3.1", + "react": "^19.0.0", + "react-dom": "^19.0.0", "sanity": "workspace:*", "styled-components": "^6.1.0" } diff --git a/dev/starter-studio/sanity.cli.ts b/dev/starter-studio/sanity.cli.ts index 2ea1de002f1..396d6bd9185 100644 --- a/dev/starter-studio/sanity.cli.ts +++ b/dev/starter-studio/sanity.cli.ts @@ -5,5 +5,5 @@ export default defineCliConfig({ projectId: 'ppsg7ml5', dataset: 'test', }, - reactCompiler: {target: '18'}, + reactCompiler: {target: '19'}, }) diff --git a/dev/strict-studio/package.json b/dev/strict-studio/package.json index cd9c3663660..639baab7989 100644 --- a/dev/strict-studio/package.json +++ b/dev/strict-studio/package.json @@ -12,8 +12,8 @@ "start": "../.bin/sanity start" }, "dependencies": { - "react": "^18.3.1", - "react-dom": "^18.3.1", + "react": "^19.0.0", + "react-dom": "^19.0.0", "sanity": "workspace:*", "styled-components": "^6.1.0" } diff --git a/dev/studio-e2e-testing/package.json b/dev/studio-e2e-testing/package.json index a39687e88d9..8ced47b8b73 100644 --- a/dev/studio-e2e-testing/package.json +++ b/dev/studio-e2e-testing/package.json @@ -21,9 +21,8 @@ "@sanity/ui": "^2.10.14", "@sanity/vision": "3.68.3", "babel-plugin-react-compiler": "19.0.0-beta-55955c9-20241229", - "react": "^18.3.1", - "react-compiler-runtime": "19.0.0-beta-55955c9-20241229", - "react-dom": "^18.3.1", + "react": "^19.0.0", + "react-dom": "^19.0.0", "sanity": "workspace:*", "sanity-plugin-markdown": "^5.0.0", "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 95205d33185..f832bcab27e 100644 --- a/dev/studio-e2e-testing/sanity.cli.ts +++ b/dev/studio-e2e-testing/sanity.cli.ts @@ -9,7 +9,7 @@ export default defineCliConfig({ projectId: process.env.SANITY_E2E_PROJECT_ID, dataset: process.env.SANITY_E2E_DATASET, }, - reactCompiler: {target: '18'}, + reactCompiler: {target: '19'}, vite: { define: { 'process.env.SANITY_E2E_PROJECT_ID': JSON.stringify(process.env.SANITY_E2E_PROJECT_ID), diff --git a/dev/test-create-integration-studio/package.json b/dev/test-create-integration-studio/package.json index f92df10fe2f..32fb66bc247 100644 --- a/dev/test-create-integration-studio/package.json +++ b/dev/test-create-integration-studio/package.json @@ -14,8 +14,8 @@ }, "dependencies": { "@sanity/code-input": "^5.0.0", - "react": "^18.3.1", - "react-dom": "^18.3.1", + "react": "^19.0.0", + "react-dom": "^19.0.0", "sanity": "workspace:*", "styled-components": "^6.1.0" } diff --git a/dev/test-studio/package.json b/dev/test-studio/package.json index 5a10e1f6a60..8f7434b7d00 100644 --- a/dev/test-studio/package.json +++ b/dev/test-studio/package.json @@ -38,7 +38,7 @@ "@sanity/tsdoc": "1.0.157", "@sanity/types": "workspace:*", "@sanity/ui": "^2.10.14", - "@sanity/ui-workshop": "^1.0.0", + "@sanity/ui-workshop": "^2.0.20", "@sanity/util": "workspace:*", "@sanity/uuid": "^3.0.1", "@sanity/vision": "workspace:*", @@ -51,9 +51,8 @@ "history": "^5.3.0", "lodash": "^4.17.21", "qs": "^6.10.2", - "react": "^18.3.1", - "react-compiler-runtime": "19.0.0-beta-55955c9-20241229", - "react-dom": "^18.3.1", + "react": "^19.0.0", + "react-dom": "^19.0.0", "react-refractor": "^2.1.6", "refractor": "^3.6.0", "rxjs": "^7.8.0", diff --git a/dev/test-studio/sanity.cli.ts b/dev/test-studio/sanity.cli.ts index 5e8b1869b32..2a7eaf78e7a 100644 --- a/dev/test-studio/sanity.cli.ts +++ b/dev/test-studio/sanity.cli.ts @@ -29,7 +29,7 @@ export default defineCliConfig({ reactStrictMode: true, reactCompiler: millionLintEnabled ? { - target: '18', + target: '19', sources: (filename) => { /** * This is the default filter when `sources` is not defined. @@ -43,7 +43,7 @@ export default defineCliConfig({ ) }, } - : {target: '18'}, + : {target: '19'}, vite(viteConfig: UserConfig): UserConfig { const reactProductionProfiling = process.env.REACT_PRODUCTION_PROFILING === 'true' diff --git a/examples/blog-studio/package.json b/examples/blog-studio/package.json index c832ae455f3..152ddee171f 100644 --- a/examples/blog-studio/package.json +++ b/examples/blog-studio/package.json @@ -28,8 +28,8 @@ "start": "sanity dev --port 3336" }, "dependencies": { - "react": "^18.3.1", - "react-dom": "^18.3.1", + "react": "^19.0.0", + "react-dom": "^19.0.0", "sanity": "workspace:*", "styled-components": "^6.1.0" } diff --git a/examples/clean-studio/package.json b/examples/clean-studio/package.json index c64ea7e4134..5f250e85df2 100644 --- a/examples/clean-studio/package.json +++ b/examples/clean-studio/package.json @@ -28,8 +28,8 @@ "start": "sanity dev --port 3338" }, "dependencies": { - "react": "^18.3.1", - "react-dom": "^18.3.1", + "react": "^19.0.0", + "react-dom": "^19.0.0", "sanity": "workspace:*", "styled-components": "^6.1.0" } diff --git a/examples/ecommerce-studio/package.json b/examples/ecommerce-studio/package.json index dab5fabcd7e..5ae1a2a4f95 100644 --- a/examples/ecommerce-studio/package.json +++ b/examples/ecommerce-studio/package.json @@ -31,9 +31,9 @@ "dependencies": { "@sanity/cli": "3.68.3", "@sanity/ui": "^2.10.14", - "react": "^18.3.1", + "react": "^19.0.0", "react-barcode": "^1.4.1", - "react-dom": "^18.3.1", + "react-dom": "^19.0.0", "sanity": "workspace:*", "styled-components": "^6.1.0" } diff --git a/examples/movies-studio/package.json b/examples/movies-studio/package.json index d710c5d9740..54715a83c8b 100644 --- a/examples/movies-studio/package.json +++ b/examples/movies-studio/package.json @@ -30,8 +30,8 @@ }, "dependencies": { "@sanity/google-maps-input": "^4.0.0", - "react": "^18.3.1", - "react-dom": "^18.3.1", + "react": "^19.0.0", + "react-dom": "^19.0.0", "sanity": "workspace:*", "styled-components": "^6.1.0" } diff --git a/package.json b/package.json index b9f004b9e59..164a4ea62cf 100644 --- a/package.json +++ b/package.json @@ -123,7 +123,7 @@ "@types/glob": "^7.2.0", "@types/lodash": "^4.17.7", "@types/node": "^22.10.0", - "@types/react": "^18.3.12", + "@types/react": "^19.0.2", "@types/semver": "^7.5.6", "@types/yargs": "^17.0.7", "@typescript-eslint/eslint-plugin": "^7.18.0", diff --git a/packages/@sanity/block-tools/package.json b/packages/@sanity/block-tools/package.json index 34b53344f2a..ffc84eb01ee 100644 --- a/packages/@sanity/block-tools/package.json +++ b/packages/@sanity/block-tools/package.json @@ -50,7 +50,6 @@ }, "dependencies": { "@sanity/types": "3.68.3", - "@types/react": "^18.3.5", "get-random-values-esm": "1.0.2", "lodash": "^4.17.21" }, @@ -60,11 +59,15 @@ "@sanity/schema": "3.68.3", "@types/jsdom": "^20.0.0", "@types/lodash": "^4.17.7", + "@types/react": "^19.0.2", "@vercel/stega": "0.1.2", - "@vitest/coverage-v8": "^2.1.1", + "@vitest/coverage-v8": "^2.1.8", "jsdom": "^23.0.1", "vitest": "^2.1.8" }, + "peerDependencies": { + "@types/react": "18 || 19" + }, "publishConfig": { "access": "public" } diff --git a/packages/@sanity/cli/test/__fixtures__/v3/package.json b/packages/@sanity/cli/test/__fixtures__/v3/package.json index e0e22a0dc58..a5323c17932 100644 --- a/packages/@sanity/cli/test/__fixtures__/v3/package.json +++ b/packages/@sanity/cli/test/__fixtures__/v3/package.json @@ -14,8 +14,8 @@ }, "dependencies": { "groq": "^3.0.0", - "react": "^18.3.1", - "react-dom": "^18.3.1", + "react": "^19.0.0", + "react-dom": "^19.0.0", "sanity": "^3.0.0", "styled-components": "^6.1.0" } diff --git a/packages/@sanity/cli/test/test-template/package.json b/packages/@sanity/cli/test/test-template/package.json index 2fe7ae50df1..7f149f21e5f 100644 --- a/packages/@sanity/cli/test/test-template/package.json +++ b/packages/@sanity/cli/test/test-template/package.json @@ -13,25 +13,25 @@ "typegen": "sanity schema extract && sanity typegen generate" }, "dependencies": { - "@sanity/assist": "^3.0.8", + "@sanity/assist": "^3.0.9", "@sanity/icons": "^3.5.7", - "@sanity/image-url": "^1.0.2", - "@sanity/preview-url-secret": "^2.0.0", - "@sanity/vision": "^3.62.0", + "@sanity/image-url": "^1.1.0", + "@sanity/preview-url-secret": "^2.0.5", + "@sanity/vision": "^3.68.3", "@tailwindcss/typography": "^0.5.15", "@types/node": "^22.7.8", - "@types/react": "^18.3.11", - "@types/react-dom": "^18.3.1", - "@vercel/speed-insights": "^1.0.13", + "@types/react": "^19.0.2", + "@types/react-dom": "^19.0.2", + "@vercel/speed-insights": "^1.1.0", "autoprefixer": "^10.4.20", "date-fns": "^4.1.0", - "next": "^15.0.0", - "next-sanity": "^9.7.0", + "next": "^15.1.3", + "next-sanity": "^9.8.30", "postcss": "^8.4.47", - "react": "^18.3.1", - "react-dom": "^18.3.1", - "sanity": "^3.62.0", - "sanity-plugin-asset-source-unsplash": "^3.0.1", + "react": "^19.0.0", + "react-dom": "^19.0.0", + "sanity": "^3.68.3", + "sanity-plugin-asset-source-unsplash": "^3.0.2", "server-only": "^0.0.1", "styled-components": "^6.1.13", "tailwindcss": "^3.4.14", @@ -39,7 +39,7 @@ }, "devDependencies": { "eslint": "^9.13.0", - "eslint-config-next": "^15.0.0" + "eslint-config-next": "^15.1.3" } } diff --git a/packages/@sanity/schema/package.json b/packages/@sanity/schema/package.json index 9bc74d14e77..068ecb27fc5 100644 --- a/packages/@sanity/schema/package.json +++ b/packages/@sanity/schema/package.json @@ -78,7 +78,7 @@ "@sanity/icons": "^3.5.7", "@types/lodash": "^4.17.7", "@types/object-inspect": "^1.13.0", - "@types/react": "^18.3.12", + "@types/react": "^19.0.2", "rimraf": "^5.0.10", "vitest": "^2.1.8" } diff --git a/packages/@sanity/types/package.json b/packages/@sanity/types/package.json index 05de0cdccb8..40c5ab4ea93 100644 --- a/packages/@sanity/types/package.json +++ b/packages/@sanity/types/package.json @@ -55,9 +55,9 @@ "@repo/package.config": "workspace:*", "@repo/test-config": "workspace:*", "@sanity/insert-menu": "1.0.18", - "@types/react": "^18.3.5", + "@types/react": "^19.0.2", "@vitejs/plugin-react": "^4.3.4", - "react": "^18.3.1", + "react": "^19.0.0", "rimraf": "^5.0.10", "vitest": "^2.1.8" }, diff --git a/packages/@sanity/vision/package.json b/packages/@sanity/vision/package.json index 05a450eb3b6..8eb1036faff 100644 --- a/packages/@sanity/vision/package.json +++ b/packages/@sanity/vision/package.json @@ -86,12 +86,12 @@ "@sanity/util": "workspace:*", "@types/lodash": "^4.17.7", "babel-plugin-react-compiler": "19.0.0-beta-55955c9-20241229", - "react": "^18.3.1", + "react": "^19.0.0", "sanity": "workspace:*", "styled-components": "^6.1.13" }, "peerDependencies": { - "react": "^18 || ^19.0.0", + "react": "^18 || ^19", "styled-components": "^6.1" } } diff --git a/packages/@sanity/vision/src/components/ResultView.tsx b/packages/@sanity/vision/src/components/ResultView.tsx index 48d76d9ac71..7a7c15b0f49 100644 --- a/packages/@sanity/vision/src/components/ResultView.tsx +++ b/packages/@sanity/vision/src/components/ResultView.tsx @@ -9,7 +9,7 @@ import {ResultViewWrapper} from './ResultView.styled' const lru = new LRU({maxSize: 50000}) -export function ResultView(props: {data: unknown; datasetName: string}): JSX.Element { +export function ResultView(props: {data: unknown; datasetName: string}): React.JSX.Element { const {data, datasetName} = props const workspaceDataset = useDataset() diff --git a/packages/@sanity/vision/src/components/VisionGui.tsx b/packages/@sanity/vision/src/components/VisionGui.tsx index c26e5c885b3..11823bfb8b6 100644 --- a/packages/@sanity/vision/src/components/VisionGui.tsx +++ b/packages/@sanity/vision/src/components/VisionGui.tsx @@ -151,11 +151,11 @@ interface VisionGuiState { } export class VisionGui extends PureComponent { - _visionRoot: RefObject - _queryEditorContainer: RefObject - _paramsEditorContainer: RefObject - _operationUrlElement: RefObject - _customApiVersionElement: RefObject + _visionRoot: RefObject + _queryEditorContainer: RefObject + _paramsEditorContainer: RefObject + _operationUrlElement: RefObject + _customApiVersionElement: RefObject _resizeListener: ResizeObserver | undefined _querySubscription: Subscription | undefined _listenSubscription: Subscription | undefined diff --git a/packages/sanity/fixtures/examples/prj-with-react-19/package.json b/packages/sanity/fixtures/examples/prj-with-react-19/package.json index 3e7a9bb7cd3..2c5ea924233 100644 --- a/packages/sanity/fixtures/examples/prj-with-react-19/package.json +++ b/packages/sanity/fixtures/examples/prj-with-react-19/package.json @@ -2,8 +2,8 @@ "name": "prj-with-react-19", "private": true, "dependencies": { - "react": "19.0.0-rc-f994737d14-20240522", - "react-dom": "19.0.0-rc-f994737d14-20240522", + "react": "^19.0.0", + "react-dom": "^19.0.0", "styled-components": "^6.1.0" } } diff --git a/packages/sanity/package.json b/packages/sanity/package.json index bfeaf325ccd..766d8444612 100644 --- a/packages/sanity/package.json +++ b/packages/sanity/package.json @@ -183,7 +183,7 @@ "@sentry/react": "^8.33.0", "@tanstack/react-table": "^8.16.0", "@tanstack/react-virtual": "^3.11.2", - "@types/react-is": "^18.3.0", + "@types/react-is": "^19.0.0", "@types/shallow-equals": "^1.0.0", "@types/speakingurl": "^13.0.3", "@types/tar-stream": "^3.1.3", @@ -261,7 +261,7 @@ "use-device-pixel-ratio": "^1.1.0", "use-effect-event": "^1.0.2", "use-hot-module-reload": "^2.0.0", - "use-sync-external-store": "^1.2.0", + "use-sync-external-store": "^1.4.0", "vite": "^5.4.11", "yargs": "^17.3.0" }, @@ -275,9 +275,9 @@ "@sanity/generate-help-url": "^3.0.0", "@sanity/pkg-utils": "6.12.3", "@sanity/tsdoc": "1.0.157", - "@sanity/ui-workshop": "^1.2.11", + "@sanity/ui-workshop": "^2.0.20", "@sentry/types": "^8.12.0", - "@testing-library/jest-dom": "^6.4.8", + "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.1.0", "@testing-library/user-event": "^13.5.0", "@types/archiver": "^6.0.2", @@ -288,8 +288,8 @@ "@types/log-symbols": "^2.0.0", "@types/node": "^22.10.0", "@types/raf": "^3.4.0", - "@types/react": "^18.3.12", - "@types/react-dom": "^18.3.1", + "@types/react": "^19.0.2", + "@types/react-dom": "^19.0.2", "@types/refractor": "^3.0.0", "@types/resolve-from": "^4.0.0", "@types/semver": "^6.2.3", @@ -299,16 +299,16 @@ "babel-plugin-react-compiler": "19.0.0-beta-55955c9-20241229", "blob-polyfill": "^9.0.20240710", "date-fns-tz": "2.0.1", - "react": "^18.3.1", - "react-dom": "^18.3.1", + "react": "^19.0.0", + "react-dom": "^19.0.0", "rxjs-etc": "^10.6.2", "styled-components": "^6.1.13", "swr": "2.2.5", - "vitest": "2.1.1" + "vitest": "2.1.8" }, "peerDependencies": { - "react": "^18 || ^19.0.0", - "react-dom": "^18 || ^19.0.0", + "react": "^18 || ^19", + "react-dom": "^18 || ^19", "styled-components": "^6.1" }, "engines": { diff --git a/packages/sanity/playwright-ct.config.ts b/packages/sanity/playwright-ct.config.ts index ed5132af298..2d8527d0a62 100644 --- a/packages/sanity/playwright-ct.config.ts +++ b/packages/sanity/playwright-ct.config.ts @@ -1,6 +1,7 @@ import path from 'node:path' import {defineConfig, devices} from '@playwright/experimental-ct-react' +import {getViteAliases} from '@repo/dev-aliases/vite' // Paths const TESTS_PATH = path.join(__dirname, 'playwright-ct', 'tests') @@ -55,8 +56,16 @@ export default defineConfig({ /* Port to use for Playwright component endpoint. */ ctPort: 3100, /* Configure Playwright vite config */ - /* + // /* ctViteConfig: { + resolve: { + alias: getViteAliases(), + dedupe: ['styled-components'], + }, + optimizeDeps: { + exclude: ['sanity'], + }, + /* resolve: { alias: { '@sanity/util/content': path.join( @@ -65,8 +74,9 @@ export default defineConfig({ ), }, }, + */ }, - */ + // */ /* Where to find playwright-ct template files */ ctTemplateDir: './playwright-ct/template', }, diff --git a/packages/sanity/playwright-ct/tests/formBuilder/tree-editing/TreeEditingStory.tsx b/packages/sanity/playwright-ct/tests/formBuilder/tree-editing/TreeEditingStory.tsx index c1262ccdfb1..6158f5f79ba 100644 --- a/packages/sanity/playwright-ct/tests/formBuilder/tree-editing/TreeEditingStory.tsx +++ b/packages/sanity/playwright-ct/tests/formBuilder/tree-editing/TreeEditingStory.tsx @@ -162,7 +162,7 @@ interface TreeEditingStoryProps { value?: SanityDocument } -export function TreeEditingStory(props: TreeEditingStoryProps): JSX.Element { +export function TreeEditingStory(props: TreeEditingStoryProps): React.JSX.Element { const {legacyEditing, openPath, value} = props const types = getSchemaTypes({legacyEditing}) diff --git a/packages/sanity/playwright-ct/tests/formBuilder/utils/TestForm.tsx b/packages/sanity/playwright-ct/tests/formBuilder/utils/TestForm.tsx index 96b71978868..796d5585c63 100644 --- a/packages/sanity/playwright-ct/tests/formBuilder/utils/TestForm.tsx +++ b/packages/sanity/playwright-ct/tests/formBuilder/utils/TestForm.tsx @@ -76,7 +76,7 @@ export function TestForm(props: TestFormProps) { } = props const {setDocumentMeta} = useCopyPaste() - const wrapperRef = useRef(null) + const [rootElement, setRootElement] = useState(null) const [validation, setValidation] = useState([]) const [openPath, onSetOpenPath] = useState(openPathFromProps) const [fieldGroupState, onSetFieldGroupState] = useState>() @@ -99,7 +99,7 @@ export function TestForm(props: TestFormProps) { const [patchChannel] = useState(() => createPatchChannel()) useGlobalCopyPasteElementHandler({ - element: wrapperRef.current, + element: rootElement, focusPath, value: document, }) @@ -300,7 +300,7 @@ export function TestForm(props: TestFormProps) { ], ) return ( -
+
{ +export const TestWrapper = (props: TestWrapperProps): React.JSX.Element | null => { const {children, schemaTypes, betaFeatures} = props const [mockWorkspace, setMockWorkspace] = useState(null) @@ -83,8 +83,8 @@ export const TestWrapper = (props: TestWrapperProps): JSX.Element | null => { {}} - onSetFocus={() => {}} + onOpenReviewChanges={noop} + onSetFocus={noop} > @@ -106,3 +106,6 @@ export const TestWrapper = (props: TestWrapperProps): JSX.Element | null => { ) } + +// eslint-disable-next-line no-empty-function +function noop() {} diff --git a/packages/sanity/src/_internal/cli/util/checkStudioDependencyVersions.ts b/packages/sanity/src/_internal/cli/util/checkStudioDependencyVersions.ts index 8c8a638676d..989186f54e2 100644 --- a/packages/sanity/src/_internal/cli/util/checkStudioDependencyVersions.ts +++ b/packages/sanity/src/_internal/cli/util/checkStudioDependencyVersions.ts @@ -19,8 +19,8 @@ interface PackageInfo { // NOTE: when doing changes here, also remember to update versions in help docs at // https://sanity.io/admin/structure/docs;helpArticle;upgrade-packages const PACKAGES = [ - {name: 'react', supported: ['^18'], deprecatedBelow: null}, - {name: 'react-dom', supported: ['^18'], deprecatedBelow: null}, + {name: 'react', supported: ['^18 || ^19'], deprecatedBelow: null}, + {name: 'react-dom', supported: ['^18 || ^19'], deprecatedBelow: null}, {name: 'styled-components', supported: ['^6'], deprecatedBelow: null}, {name: '@sanity/ui', supported: ['^2'], deprecatedBelow: null}, ] diff --git a/packages/sanity/src/_internal/manifest/Icon.tsx b/packages/sanity/src/_internal/manifest/Icon.tsx index a0b087ab4e6..e36e99e1faa 100644 --- a/packages/sanity/src/_internal/manifest/Icon.tsx +++ b/packages/sanity/src/_internal/manifest/Icon.tsx @@ -12,7 +12,7 @@ interface SchemaIconProps { subtitle?: string } -const SchemaIcon = ({icon, title, subtitle}: SchemaIconProps): JSX.Element => { +const SchemaIcon = ({icon, title, subtitle}: SchemaIconProps): React.JSX.Element => { return {normalizeIcon(icon, title, subtitle)} } @@ -20,7 +20,7 @@ function normalizeIcon( Icon: ComponentType | ReactNode | undefined, title: string, subtitle = '', -): JSX.Element { +): React.JSX.Element { if (isValidElementType(Icon)) return if (isValidElement(Icon)) return Icon return createDefaultIcon(title, subtitle) diff --git a/packages/sanity/src/core/comments/__workshop__/CommentsMessageURLSerializerStory.tsx b/packages/sanity/src/core/comments/__workshop__/CommentsMessageURLSerializerStory.tsx index e7561d7c8e6..524735d40dc 100644 --- a/packages/sanity/src/core/comments/__workshop__/CommentsMessageURLSerializerStory.tsx +++ b/packages/sanity/src/core/comments/__workshop__/CommentsMessageURLSerializerStory.tsx @@ -40,7 +40,7 @@ const BLOCKS: CommentMessage = [ }, ] -export default function CommentsMessageURLSerializerStory(): JSX.Element { +export default function CommentsMessageURLSerializerStory(): React.JSX.Element { return ( diff --git a/packages/sanity/src/core/comments/components/pte/CommentMessageSerializer.tsx b/packages/sanity/src/core/comments/components/pte/CommentMessageSerializer.tsx index 0a315e682ef..dd4a236f74a 100644 --- a/packages/sanity/src/core/comments/components/pte/CommentMessageSerializer.tsx +++ b/packages/sanity/src/core/comments/components/pte/CommentMessageSerializer.tsx @@ -78,7 +78,7 @@ interface CommentMessageSerializerProps { * @beta * @hidden */ -export function CommentMessageSerializer(props: CommentMessageSerializerProps): JSX.Element { +export function CommentMessageSerializer(props: CommentMessageSerializerProps): React.JSX.Element { const {blocks} = props return ( diff --git a/packages/sanity/src/core/comments/components/pte/blocks/NormalBlock.tsx b/packages/sanity/src/core/comments/components/pte/blocks/NormalBlock.tsx index 338136e9bd6..85787534215 100644 --- a/packages/sanity/src/core/comments/components/pte/blocks/NormalBlock.tsx +++ b/packages/sanity/src/core/comments/components/pte/blocks/NormalBlock.tsx @@ -10,7 +10,7 @@ interface NormalBlockProps { children: ReactNode } -export function NormalBlock(props: NormalBlockProps): JSX.Element { +export function NormalBlock(props: NormalBlockProps): React.JSX.Element { const {children} = props return {children} diff --git a/packages/sanity/src/core/comments/components/reactions/CommentReactionsMenuButton.tsx b/packages/sanity/src/core/comments/components/reactions/CommentReactionsMenuButton.tsx index 974855a1241..365a1f110e7 100644 --- a/packages/sanity/src/core/comments/components/reactions/CommentReactionsMenuButton.tsx +++ b/packages/sanity/src/core/comments/components/reactions/CommentReactionsMenuButton.tsx @@ -20,7 +20,7 @@ export interface CommentReactionsMenuButtonProps { open: boolean tooltipContent: string t: TFunction - }) => React.ReactElement + }) => React.ReactElement } export function CommentReactionsMenuButton(props: CommentReactionsMenuButtonProps) { diff --git a/packages/sanity/src/core/comments/components/reactions/CommentReactionsUsersTooltip.tsx b/packages/sanity/src/core/comments/components/reactions/CommentReactionsUsersTooltip.tsx index 50126e0d88b..c340d7b2e39 100644 --- a/packages/sanity/src/core/comments/components/reactions/CommentReactionsUsersTooltip.tsx +++ b/packages/sanity/src/core/comments/components/reactions/CommentReactionsUsersTooltip.tsx @@ -89,7 +89,7 @@ function FormattedUserList({currentUserId, userIds}: {currentUserId: string; use * not special case on _comma_ per se, but rather by the presence of a non-whitespace character. */ const parts = listFormat.formatToParts(userIds) - const elements: JSX.Element[] = [] + const elements: React.JSX.Element[] = [] for (let i = 0; i < parts.length; i++) { const item = parts[i] diff --git a/packages/sanity/src/core/components/DefaultDocument.tsx b/packages/sanity/src/core/components/DefaultDocument.tsx index 25bc84feb17..cc7246a8ac4 100644 --- a/packages/sanity/src/core/components/DefaultDocument.tsx +++ b/packages/sanity/src/core/components/DefaultDocument.tsx @@ -122,7 +122,7 @@ const EMPTY_ARRAY: never[] = [] /** * @hidden * @beta */ -export function DefaultDocument(props: DefaultDocumentProps): ReactElement { +export function DefaultDocument(props: DefaultDocumentProps): ReactElement { const {entryPath, css = EMPTY_ARRAY} = props return ( diff --git a/packages/sanity/src/core/components/WithReferringDocuments.tsx b/packages/sanity/src/core/components/WithReferringDocuments.tsx index ef784d2c6a3..c835df44ab5 100644 --- a/packages/sanity/src/core/components/WithReferringDocuments.tsx +++ b/packages/sanity/src/core/components/WithReferringDocuments.tsx @@ -14,7 +14,7 @@ export function WithReferringDocuments({ children, id, }: { - children: (props: {isLoading: boolean; referringDocuments: SanityDocument[]}) => ReactElement + children: (props: {isLoading: boolean; referringDocuments: SanityDocument[]}) => ReactElement /** * @deprecated - no longer required */ diff --git a/packages/sanity/src/core/components/collapseMenu/CollapseMenu.tsx b/packages/sanity/src/core/components/collapseMenu/CollapseMenu.tsx index 6f6a6542232..9b46e5cbc50 100644 --- a/packages/sanity/src/core/components/collapseMenu/CollapseMenu.tsx +++ b/packages/sanity/src/core/components/collapseMenu/CollapseMenu.tsx @@ -30,7 +30,7 @@ export interface CollapseMenuProps { gap?: number | number[] menuButtonProps?: Omit & { id?: string - button?: ReactElement + button?: ReactElement } onMenuClose?: () => void } @@ -73,13 +73,13 @@ const OptionObserveElement = styled(ObserveElement)` ${OPTION_STYLE} ` -function _isReactElement(node: unknown): node is ReactElement { +function _isReactElement(node: unknown): node is ReactElement { return Boolean(node) } interface IntersectionEntry { intersects: boolean - element: ReactElement + element: ReactElement // todo: potentially add bounding rects so we can calculate how many we can fit non-collapsed vs collapsed } @@ -126,7 +126,7 @@ export const CollapseMenu = forwardRef(function CollapseMenu( /** @internal */ export const AutoCollapseMenu = forwardRef(function AutoCollapseMenu( - props: Omit & {menuOptions: ReactElement[]}, + props: Omit & {menuOptions: ReactElement[]}, ref: ForwardedRef, ) { const { @@ -180,7 +180,7 @@ export const AutoCollapseMenu = forwardRef(function AutoCollapseMenu( ) const handleExpandedIntersection = useCallback( - (e: IntersectionObserverEntry, element: ReactElement) => { + (e: IntersectionObserverEntry, element: ReactElement) => { setExpandedIntersections((current) => { const key = element.key if (key === null) { @@ -205,7 +205,7 @@ export const AutoCollapseMenu = forwardRef(function AutoCollapseMenu( ) const handleCollapsedIntersection = useCallback( - (e: IntersectionObserverEntry, element: ReactElement) => { + (e: IntersectionObserverEntry, element: ReactElement) => { setCollapsedIntersections((current) => { const key = element.key if (key === null) { @@ -335,10 +335,10 @@ export const AutoCollapseMenu = forwardRef(function AutoCollapseMenu( }) const RenderHidden = memo(function RenderHidden(props: { - elements: ReactElement[] + elements: ReactElement[] gap?: number | number[] intersectionOptions: IntersectionObserverInit - onIntersectionChange: (e: IntersectionObserverEntry, element: ReactElement) => void + onIntersectionChange: (e: IntersectionObserverEntry, element: ReactElement) => void }) { const {elements, gap, intersectionOptions, onIntersectionChange} = props return ( diff --git a/packages/sanity/src/core/components/collapseMenu/CollapseMenuButton.tsx b/packages/sanity/src/core/components/collapseMenu/CollapseMenuButton.tsx index 31eff1cd059..b2271431713 100644 --- a/packages/sanity/src/core/components/collapseMenu/CollapseMenuButton.tsx +++ b/packages/sanity/src/core/components/collapseMenu/CollapseMenuButton.tsx @@ -10,7 +10,7 @@ import {Button, type ButtonProps, type TooltipProps} from '../../../ui-component /** @internal */ export interface CommonProps extends Omit { - as?: ElementType | keyof JSX.IntrinsicElements + as?: ElementType | keyof React.JSX.IntrinsicElements dividerBefore?: boolean focused?: boolean tooltipProps?: TooltipProps diff --git a/packages/sanity/src/core/components/collapseMenu/CollapseOverflowMenu.tsx b/packages/sanity/src/core/components/collapseMenu/CollapseOverflowMenu.tsx index d37318090d8..6b9fab0016d 100644 --- a/packages/sanity/src/core/components/collapseMenu/CollapseOverflowMenu.tsx +++ b/packages/sanity/src/core/components/collapseMenu/CollapseOverflowMenu.tsx @@ -13,7 +13,7 @@ export const CollapseOverflowMenu = forwardRef(function CollapseOverflowMenu( props: Pick< CollapseMenuProps, 'disableRestoreFocusOnClose' | 'menuButtonProps' | 'onMenuClose' - > & {menuOptions: ReactElement[]; menuButton: ReactElement}, + > & {menuOptions: ReactElement[]; menuButton: ReactElement}, forwardedRef: ForwardedRef, ) { const {disableRestoreFocusOnClose, menuButton, menuButtonProps, menuOptions, onMenuClose} = props diff --git a/packages/sanity/src/core/components/collapseMenu/ObserveElement.tsx b/packages/sanity/src/core/components/collapseMenu/ObserveElement.tsx index be88e0324a0..e4312b49459 100644 --- a/packages/sanity/src/core/components/collapseMenu/ObserveElement.tsx +++ b/packages/sanity/src/core/components/collapseMenu/ObserveElement.tsx @@ -2,7 +2,7 @@ import {Flex} from '@sanity/ui' import {type ReactElement, useEffect, useState} from 'react' interface ObserveElementProps { - children: ReactElement + children: ReactElement options?: IntersectionObserverInit onIntersectionChange: IntersectionObserverCallback } diff --git a/packages/sanity/src/core/components/collapseTabList/CollapseTabList.tsx b/packages/sanity/src/core/components/collapseTabList/CollapseTabList.tsx index d91b7a6ac55..8bbb60c2976 100644 --- a/packages/sanity/src/core/components/collapseTabList/CollapseTabList.tsx +++ b/packages/sanity/src/core/components/collapseTabList/CollapseTabList.tsx @@ -17,7 +17,7 @@ import {CollapseOverflowMenu} from '../collapseMenu/CollapseOverflowMenu' import {ObserveElement} from '../collapseMenu/ObserveElement' import {ContextMenuButton} from '../contextMenuButton' -function _isReactElement(node: unknown): node is ReactElement { +function _isReactElement(node: unknown): node is ReactElement { return Boolean(node) } @@ -40,7 +40,7 @@ interface CollapseTabListProps { gap?: number | number[] menuButtonProps?: Omit & { id?: string - button?: ReactElement + button?: ReactElement } onMenuClose?: () => void collapsed?: boolean @@ -65,7 +65,7 @@ export const CollapseTabList = forwardRef(function CollapseTabList( ...rest } = props const [rootEl, setRootEl] = useState(null) - const [hiddenElements, setHiddenElements] = useState([]) + const [hiddenElements, setHiddenElements] = useState[]>([]) const [showChildren, setShowChildren] = useState(false) const children = useMemo( @@ -102,12 +102,12 @@ export const CollapseTabList = forwardRef(function CollapseTabList( collapsed ? children : // eslint-disable-next-line max-nested-callbacks - children.filter(({key}) => hiddenElements.find((o: ReactElement) => o.key === key)), + children.filter(({key}) => hiddenElements.find((o: ReactElement) => o.key === key)), [children, hiddenElements, collapsed], ) const handleIntersection = useCallback( - (e: IntersectionObserverEntry, child: ReactElement) => { + (e: IntersectionObserverEntry, child: ReactElement) => { const isHidden = hiddenElements.some((el) => el.key === child.key) if (!showChildren) setShowChildren(true) diff --git a/packages/sanity/src/core/components/commandList/CommandList.tsx b/packages/sanity/src/core/components/commandList/CommandList.tsx index c4c44978074..aaf1f8e9e49 100644 --- a/packages/sanity/src/core/components/commandList/CommandList.tsx +++ b/packages/sanity/src/core/components/commandList/CommandList.tsx @@ -608,7 +608,7 @@ const CommandListComponent = forwardRef(fun disabled, selected, virtualIndex, - }) as ReactElement + }) as ReactElement // @TODO can we avoid using cloneElement here? const clonedItem = diff --git a/packages/sanity/src/core/components/hookCollection/GetHookCollectionState.tsx b/packages/sanity/src/core/components/hookCollection/GetHookCollectionState.tsx index a310675ae48..9a412df18ac 100644 --- a/packages/sanity/src/core/components/hookCollection/GetHookCollectionState.tsx +++ b/packages/sanity/src/core/components/hookCollection/GetHookCollectionState.tsx @@ -33,4 +33,4 @@ GetHookCollectionStateComponent.displayName = 'Memo(GetHookCollectionState)' /** @internal */ export const GetHookCollectionState = GetHookCollectionStateComponent as ( props: GetHookCollectionStateProps, -) => JSX.Element +) => React.JSX.Element diff --git a/packages/sanity/src/core/components/previews/_common/Media.tsx b/packages/sanity/src/core/components/previews/_common/Media.tsx index b81c46daf97..8acd19e2751 100644 --- a/packages/sanity/src/core/components/previews/_common/Media.tsx +++ b/packages/sanity/src/core/components/previews/_common/Media.tsx @@ -49,13 +49,7 @@ function renderMedia(props: { if (isValidElementType(media)) { const MediaComponent = media - return ( - - ) + return } if (typeof media === 'string') { diff --git a/packages/sanity/src/core/components/previews/helpers.tsx b/packages/sanity/src/core/components/previews/helpers.tsx index b85beb80929..bc46c81f131 100644 --- a/packages/sanity/src/core/components/previews/helpers.tsx +++ b/packages/sanity/src/core/components/previews/helpers.tsx @@ -10,13 +10,7 @@ export function renderPreviewMedia( ): ReactNode { if (isValidElementType(value)) { const Value = value - return ( - - ) + return } if (typeof value === 'string') { @@ -38,12 +32,7 @@ export function renderPreviewNode( if (isValidElementType(value)) { const Value = value - return ( - - ) + return } // @todo: find out why `value` isn't infered as `ReactNode` here diff --git a/packages/sanity/src/core/components/previews/template/TemplatePreview.tsx b/packages/sanity/src/core/components/previews/template/TemplatePreview.tsx index 545bf6fa24c..2e26e30b34e 100644 --- a/packages/sanity/src/core/components/previews/template/TemplatePreview.tsx +++ b/packages/sanity/src/core/components/previews/template/TemplatePreview.tsx @@ -86,20 +86,14 @@ export function TemplatePreview(props: TemplatePreviewProps) { {isValidElementType(Title) && ( - + <Title layout="default" /> </Text> )} {isValidElement(Title) && <Text textOverflow="ellipsis">{Title}</Text>} {isValidElementType(Subtitle) && ( <Text muted size={1} textOverflow="ellipsis"> - <Subtitle - // @ts-expect-error - @todo fix typings - layout="default" - /> + <Subtitle layout="default" /> </Text> )} {isValidElement(Subtitle) && ( diff --git a/packages/sanity/src/core/components/previews/types.ts b/packages/sanity/src/core/components/previews/types.ts index 9c22873ba6d..0c8d9b5f35d 100644 --- a/packages/sanity/src/core/components/previews/types.ts +++ b/packages/sanity/src/core/components/previews/types.ts @@ -65,7 +65,7 @@ export interface PreviewProps<TLayoutKey = PreviewLayoutKey> { withRadius?: boolean withShadow?: boolean schemaType?: SchemaType - renderDefault: (props: PreviewProps) => ReactElement + renderDefault: (props: PreviewProps) => ReactElement<any> } /** diff --git a/packages/sanity/src/core/components/scroll/scrollContainer.tsx b/packages/sanity/src/core/components/scroll/scrollContainer.tsx index f8a39fdb2e3..bf19196dc23 100644 --- a/packages/sanity/src/core/components/scroll/scrollContainer.tsx +++ b/packages/sanity/src/core/components/scroll/scrollContainer.tsx @@ -15,7 +15,7 @@ import {ScrollContext} from 'sanity/_singletons' /** @internal */ export interface ScrollContainerProps<T extends ElementType> extends Omit<HTMLProps<T>, 'as' | 'onScroll'> { - as?: ElementType | keyof JSX.IntrinsicElements + as?: ElementType | keyof React.JSX.IntrinsicElements onScroll?: (event: Event) => () => void } diff --git a/packages/sanity/src/core/components/zOffsets/ZIndexProvider.tsx b/packages/sanity/src/core/components/zOffsets/ZIndexProvider.tsx index 42a9cfd0629..27af0aa6376 100644 --- a/packages/sanity/src/core/components/zOffsets/ZIndexProvider.tsx +++ b/packages/sanity/src/core/components/zOffsets/ZIndexProvider.tsx @@ -6,6 +6,6 @@ import {ZIndexContext, zIndexContextDefaults} from 'sanity/_singletons' * * @internal */ -export function ZIndexProvider({children}: {children?: ReactNode}): ReactElement { +export function ZIndexProvider({children}: {children?: ReactNode}): ReactElement<any> { return <ZIndexContext.Provider value={zIndexContextDefaults}>{children}</ZIndexContext.Provider> } diff --git a/packages/sanity/src/core/config/prepareConfig.tsx b/packages/sanity/src/core/config/prepareConfig.tsx index fcf90db48a5..e04c866605f 100644 --- a/packages/sanity/src/core/config/prepareConfig.tsx +++ b/packages/sanity/src/core/config/prepareConfig.tsx @@ -70,7 +70,7 @@ function normalizeIcon( Icon: ComponentType | ElementType | undefined, title: string, subtitle = '', -): JSX.Element { +): React.JSX.Element { if (isValidElementType(Icon)) return <Icon /> if (isValidElement(Icon)) return Icon return createDefaultIcon(title, subtitle) diff --git a/packages/sanity/src/core/config/studio/types.ts b/packages/sanity/src/core/config/studio/types.ts index a47f7693fe0..c0692ce6e6b 100644 --- a/packages/sanity/src/core/config/studio/types.ts +++ b/packages/sanity/src/core/config/studio/types.ts @@ -7,7 +7,7 @@ import {type Tool} from '../types' * @beta */ // Components export interface LayoutProps { - renderDefault: (props: LayoutProps) => ReactElement + renderDefault: (props: LayoutProps) => ReactElement<any> } /** @@ -15,7 +15,7 @@ export interface LayoutProps { * @beta */ export interface LogoProps { title: string - renderDefault: (props: LogoProps) => ReactElement + renderDefault: (props: LogoProps) => ReactElement<any> } /** @@ -36,7 +36,7 @@ export interface NavbarAction { * @hidden * @beta */ export interface NavbarProps { - renderDefault: (props: NavbarProps) => ReactElement + renderDefault: (props: NavbarProps) => ReactElement<any> /** * @internal @@ -48,7 +48,7 @@ export interface NavbarProps { * @hidden * @beta */ export interface ActiveToolLayoutProps { - renderDefault: (props: ActiveToolLayoutProps) => React.ReactElement + renderDefault: (props: ActiveToolLayoutProps) => React.ReactElement<any> activeTool: Tool } @@ -61,7 +61,7 @@ export interface ToolMenuProps { context: 'sidebar' | 'topbar' isSidebarOpen: boolean tools: Tool[] - renderDefault: (props: ToolMenuProps) => ReactElement + renderDefault: (props: ToolMenuProps) => ReactElement<any> } /** diff --git a/packages/sanity/src/core/config/types.ts b/packages/sanity/src/core/config/types.ts index 17ae21b1c85..dea8439d1a0 100644 --- a/packages/sanity/src/core/config/types.ts +++ b/packages/sanity/src/core/config/types.ts @@ -588,7 +588,7 @@ export interface DocumentLayoutProps { * The type of the document. This is a read-only property and changing it will have no effect. */ documentType: string - renderDefault: (props: DocumentLayoutProps) => React.ReactElement + renderDefault: (props: DocumentLayoutProps) => React.ReactElement<any> } interface DocumentComponents { diff --git a/packages/sanity/src/core/create/context/SanityCreateConfigProvider.tsx b/packages/sanity/src/core/create/context/SanityCreateConfigProvider.tsx index d1ae36a1105..5d58ee1905c 100644 --- a/packages/sanity/src/core/create/context/SanityCreateConfigProvider.tsx +++ b/packages/sanity/src/core/create/context/SanityCreateConfigProvider.tsx @@ -15,7 +15,9 @@ interface SanityCreateConfigProviderProps { /** * @internal */ -export function SanityCreateConfigProvider(props: SanityCreateConfigProviderProps): JSX.Element { +export function SanityCreateConfigProvider( + props: SanityCreateConfigProviderProps, +): React.JSX.Element { const {children} = props const {beta} = useSource() diff --git a/packages/sanity/src/core/field/diff/components/ChangeList.tsx b/packages/sanity/src/core/field/diff/components/ChangeList.tsx index 0abc2113592..ca38068fc88 100644 --- a/packages/sanity/src/core/field/diff/components/ChangeList.tsx +++ b/packages/sanity/src/core/field/diff/components/ChangeList.tsx @@ -26,7 +26,7 @@ export interface ChangeListProps { } /** @internal */ -export function ChangeList({diff, fields, schemaType}: ChangeListProps): ReactElement | null { +export function ChangeList({diff, fields, schemaType}: ChangeListProps): ReactElement<any> | null { const {documentId, isComparingCurrent, value} = useDocumentChange() const docOperations = useDocumentOperation(documentId, schemaType.name) as FieldOperationsAPI const {path} = useContext(DiffContext) diff --git a/packages/sanity/src/core/field/diff/components/DiffCard.tsx b/packages/sanity/src/core/field/diff/components/DiffCard.tsx index e1e104e054f..d5eb775601d 100644 --- a/packages/sanity/src/core/field/diff/components/DiffCard.tsx +++ b/packages/sanity/src/core/field/diff/components/DiffCard.tsx @@ -10,7 +10,7 @@ import {DiffTooltip} from './DiffTooltip' /** @internal */ export interface DiffCardProps { annotation?: Annotation - as?: ElementType | keyof JSX.IntrinsicElements + as?: ElementType | keyof React.JSX.IntrinsicElements diff?: Diff disableHoverEffect?: boolean path?: Path | string diff --git a/packages/sanity/src/core/field/diff/components/DiffInspectWrapper.tsx b/packages/sanity/src/core/field/diff/components/DiffInspectWrapper.tsx index 7499bbe9f6f..87f538a9e53 100644 --- a/packages/sanity/src/core/field/diff/components/DiffInspectWrapper.tsx +++ b/packages/sanity/src/core/field/diff/components/DiffInspectWrapper.tsx @@ -26,7 +26,7 @@ const Meta = styled.div` ` /** @internal */ -export function DiffInspectWrapper(props: DiffInspectWrapperProps & BoxProps): ReactElement { +export function DiffInspectWrapper(props: DiffInspectWrapperProps & BoxProps): ReactElement<any> { const {children, as, change, ...restProps} = props const isHovering = useRef(false) const [isInspecting, setIsInspecting] = useState(false) @@ -62,7 +62,7 @@ const MetaLabel = ({title}: {title: string}) => ( </Box> ) -function DiffInspector({change}: {change: FieldChangeNode}): ReactElement | null { +function DiffInspector({change}: {change: FieldChangeNode}): ReactElement<any> | null { const {t} = useTranslation() return ( <Stack space={3}> diff --git a/packages/sanity/src/core/field/diff/components/DiffString.tsx b/packages/sanity/src/core/field/diff/components/DiffString.tsx index 3cd144e82ba..c207c6a11a4 100644 --- a/packages/sanity/src/core/field/diff/components/DiffString.tsx +++ b/packages/sanity/src/core/field/diff/components/DiffString.tsx @@ -35,7 +35,7 @@ const ChangeSegment = styled(Text)` ` /** @internal */ -export function DiffStringSegment(props: {segment: StringDiffSegment}): ReactElement { +export function DiffStringSegment(props: {segment: StringDiffSegment}): ReactElement<any> { const {segment} = props const {text} = segment const {t} = useTranslation() diff --git a/packages/sanity/src/core/field/diff/components/DiffTooltip.tsx b/packages/sanity/src/core/field/diff/components/DiffTooltip.tsx index 084e5217f97..7e5ac44fc77 100644 --- a/packages/sanity/src/core/field/diff/components/DiffTooltip.tsx +++ b/packages/sanity/src/core/field/diff/components/DiffTooltip.tsx @@ -12,7 +12,7 @@ import {getAnnotationAtPath, useAnnotationColor} from '../annotations' /** @internal */ export interface DiffTooltipProps extends TooltipProps { - children: ReactElement + children: ReactElement<any> description?: ReactNode diff: Diff path?: Path | string @@ -21,7 +21,7 @@ export interface DiffTooltipProps extends TooltipProps { /** @internal */ export interface DiffTooltipWithAnnotationsProps extends TooltipProps { annotations: AnnotationDetails[] - children: ReactElement + children: ReactElement<any> description?: ReactNode } diff --git a/packages/sanity/src/core/field/diff/components/GroupChange.tsx b/packages/sanity/src/core/field/diff/components/GroupChange.tsx index 109c3af4ca5..95f76292c02 100644 --- a/packages/sanity/src/core/field/diff/components/GroupChange.tsx +++ b/packages/sanity/src/core/field/diff/components/GroupChange.tsx @@ -33,7 +33,7 @@ export function GroupChange( readOnly?: boolean hidden?: boolean } & HTMLAttributes<HTMLDivElement>, -): ReactElement | null { +): ReactElement<any> | null { const {change: group, readOnly, hidden, ...restProps} = props const {titlePath, changes, path: groupPath} = group const {path: diffPath} = useContext(DiffContext) diff --git a/packages/sanity/src/core/field/diff/components/RevertChangesButton.tsx b/packages/sanity/src/core/field/diff/components/RevertChangesButton.tsx index c0c718e0f70..e8581a29dfa 100644 --- a/packages/sanity/src/core/field/diff/components/RevertChangesButton.tsx +++ b/packages/sanity/src/core/field/diff/components/RevertChangesButton.tsx @@ -31,7 +31,7 @@ export const RevertChangesButton = forwardRef(function RevertChangesButton( props: Omit<ButtonProps, 'tooltipProps'> & Omit<HTMLProps<HTMLButtonElement>, 'ref'> & {changeCount: number}, ref: ForwardedRef<HTMLButtonElement>, -): ReactElement { +): ReactElement<any> { const {selected, changeCount, ...restProps} = props const {t} = useTranslation() diff --git a/packages/sanity/src/core/field/types/image/diff/ImagePreview.tsx b/packages/sanity/src/core/field/types/image/diff/ImagePreview.tsx index 690a7ca077e..acb68888184 100644 --- a/packages/sanity/src/core/field/types/image/diff/ImagePreview.tsx +++ b/packages/sanity/src/core/field/types/image/diff/ImagePreview.tsx @@ -95,7 +95,7 @@ const HotspotDiff = styled.div` } ` -export function ImagePreview(props: ImagePreviewProps): ReactElement { +export function ImagePreview(props: ImagePreviewProps): ReactElement<any> { const {id, action, diff, hotspot, crop, is} = props const {t} = useTranslation() const client = useClient(DEFAULT_STUDIO_CLIENT_OPTIONS) diff --git a/packages/sanity/src/core/field/types/portableText/diff/components/Block.tsx b/packages/sanity/src/core/field/types/portableText/diff/components/Block.tsx index 56484c1128e..c61b0e31b3d 100644 --- a/packages/sanity/src/core/field/types/portableText/diff/components/Block.tsx +++ b/packages/sanity/src/core/field/types/portableText/diff/components/Block.tsx @@ -16,8 +16,8 @@ const EMPTY_PATH: Path = [] export function Block(props: { diff: PortableTextDiff block: PortableTextTextBlock - children: JSX.Element -}): JSX.Element { + children: React.JSX.Element +}): React.JSX.Element { const {diff, block, children} = props const color = useDiffAnnotationColor(diff, EMPTY_PATH) const {path: fullPath} = useContext(DiffContext) diff --git a/packages/sanity/src/core/field/types/portableText/diff/components/Blockquote.tsx b/packages/sanity/src/core/field/types/portableText/diff/components/Blockquote.tsx index a3becda3f81..81b8a4fa83f 100644 --- a/packages/sanity/src/core/field/types/portableText/diff/components/Blockquote.tsx +++ b/packages/sanity/src/core/field/types/portableText/diff/components/Blockquote.tsx @@ -5,7 +5,7 @@ const Quote = styled.blockquote` margin: 0; ` -export function Blockquote({children}: {children: ReactNode}): JSX.Element { +export function Blockquote({children}: {children: ReactNode}): React.JSX.Element { return ( <div> <Quote>{children}</Quote> diff --git a/packages/sanity/src/core/field/types/portableText/diff/components/Decorator.tsx b/packages/sanity/src/core/field/types/portableText/diff/components/Decorator.tsx index b5aa49f53a3..203308240b4 100644 --- a/packages/sanity/src/core/field/types/portableText/diff/components/Decorator.tsx +++ b/packages/sanity/src/core/field/types/portableText/diff/components/Decorator.tsx @@ -25,6 +25,6 @@ const DecoratorWrapper = styled.span<{decoration: string}>` }} ` -export function Decorator({mark, children}: {mark: string; children: JSX.Element}) { +export function Decorator({mark, children}: {mark: string; children: React.JSX.Element}) { return <DecoratorWrapper decoration={mark}>{children}</DecoratorWrapper> } diff --git a/packages/sanity/src/core/field/types/portableText/diff/components/Header.tsx b/packages/sanity/src/core/field/types/portableText/diff/components/Header.tsx index cfecee3f84a..a4073371b43 100644 --- a/packages/sanity/src/core/field/types/portableText/diff/components/Header.tsx +++ b/packages/sanity/src/core/field/types/portableText/diff/components/Header.tsx @@ -24,6 +24,6 @@ const StyledHeading = styled(Heading)` } ` -export function Header({style, children}: {style: string; children: ReactNode}): JSX.Element { +export function Header({style, children}: {style: string; children: ReactNode}): React.JSX.Element { return <StyledHeading size={headingSizes[style]}>{children}</StyledHeading> } diff --git a/packages/sanity/src/core/field/types/portableText/diff/components/Paragraph.tsx b/packages/sanity/src/core/field/types/portableText/diff/components/Paragraph.tsx index 0fb5b264c91..970e9affef7 100644 --- a/packages/sanity/src/core/field/types/portableText/diff/components/Paragraph.tsx +++ b/packages/sanity/src/core/field/types/portableText/diff/components/Paragraph.tsx @@ -9,6 +9,6 @@ const StyledParagraph = styled.div` margin: 0; ` -export function Paragraph({children}: {children: ReactNode}): JSX.Element { +export function Paragraph({children}: {children: ReactNode}): React.JSX.Element { return <StyledParagraph>{children}</StyledParagraph> } diff --git a/packages/sanity/src/core/field/types/portableText/diff/components/PortableText.tsx b/packages/sanity/src/core/field/types/portableText/diff/components/PortableText.tsx index b26cac60bb1..50e6daf2c98 100644 --- a/packages/sanity/src/core/field/types/portableText/diff/components/PortableText.tsx +++ b/packages/sanity/src/core/field/types/portableText/diff/components/PortableText.tsx @@ -51,7 +51,7 @@ type Props = { schemaType: ObjectSchemaType } -export function PortableText(props: Props): JSX.Element { +export function PortableText(props: Props): React.JSX.Element { const {diff, schemaType} = props const block = (diff.origin.toValue || diff.origin.fromValue) as PortableTextTextBlock const {t} = useTranslation() @@ -196,7 +196,7 @@ export function PortableText(props: Props): JSX.Element { } if (endedAnnotation) { const key = `annotation-${endedAnnotation.object._key}` - const lastChild = returnedChildren[returnedChildren.length - 1] as ReactElement + const lastChild = returnedChildren[returnedChildren.length - 1] as ReactElement<any> if (lastChild && lastChild.key !== key) { const annotationDiff = findAnnotationDiff(diff.origin, endedAnnotation.mark) const objectSchemaType = @@ -258,7 +258,7 @@ function renderTextSegment({ segIndex: number spanSchemaType: SpanSchemaType t: TFunction -}): JSX.Element { +}): React.JSX.Element { // Newlines if (seg.text === '\n') { return <br /> @@ -315,13 +315,13 @@ function renderDecorators({ activeMarks: string[] decoratorTypes: {title: string; value: string}[] diff: PortableTextDiff - children: JSX.Element + children: React.JSX.Element seg: StringDiffSegment segIndex: number spanDiff: ObjectDiff spanSchemaType: SpanSchemaType t: TFunction -}): JSX.Element { +}): React.JSX.Element { let returned = <span key={`text-segment-${segIndex}`}>{children}</span> const fromPtDiffText: string = (diff.origin.fromValue && diff.fromValue && diff.fromValue.children[0].text) || '' // Always one child diff --git a/packages/sanity/src/core/field/types/portableText/diff/components/Text.tsx b/packages/sanity/src/core/field/types/portableText/diff/components/Text.tsx index e5fceb4db39..af67d83bc22 100644 --- a/packages/sanity/src/core/field/types/portableText/diff/components/Text.tsx +++ b/packages/sanity/src/core/field/types/portableText/diff/components/Text.tsx @@ -10,7 +10,7 @@ import {InlineBox} from './styledComponents' interface TextProps { diff?: StringDiff childDiff?: ObjectDiff - children: JSX.Element + children: React.JSX.Element path: Path segment: StringDiffSegment } diff --git a/packages/sanity/src/core/form/components/EditPortal.tsx b/packages/sanity/src/core/form/components/EditPortal.tsx index 2f18993ab3d..e74d6b60ede 100644 --- a/packages/sanity/src/core/form/components/EditPortal.tsx +++ b/packages/sanity/src/core/form/components/EditPortal.tsx @@ -28,7 +28,7 @@ function onDrop(event: DragEvent<HTMLDivElement>) { return event.stopPropagation() } -export function EditPortal(props: Props): ReactElement { +export function EditPortal(props: Props): ReactElement<any> { const { children, header, diff --git a/packages/sanity/src/core/form/form-components-hooks/components.tsx b/packages/sanity/src/core/form/form-components-hooks/components.tsx index a778bf1129d..d37f6a7ceb3 100644 --- a/packages/sanity/src/core/form/form-components-hooks/components.tsx +++ b/packages/sanity/src/core/form/form-components-hooks/components.tsx @@ -58,7 +58,7 @@ function useResolveDefaultComponent<T extends {schemaType?: SchemaType}>(props: /** * @internal */ -export function DefaultInput(props: Omit<InputProps, 'renderDefault'>): ReactElement { +export function DefaultInput(props: Omit<InputProps, 'renderDefault'>): ReactElement<any> { return useResolveDefaultComponent<Omit<InputProps, 'renderDefault'>>({ componentProps: props, componentResolver: defaultResolveInputComponent, @@ -68,7 +68,7 @@ export function DefaultInput(props: Omit<InputProps, 'renderDefault'>): ReactEle /** * @internal */ -export function DefaultField(props: Omit<FieldProps, 'renderDefault'>): ReactElement { +export function DefaultField(props: Omit<FieldProps, 'renderDefault'>): ReactElement<any> { return useResolveDefaultComponent<Omit<FieldProps, 'renderDefault'>>({ componentProps: props, componentResolver: defaultResolveFieldComponent, @@ -78,7 +78,7 @@ export function DefaultField(props: Omit<FieldProps, 'renderDefault'>): ReactEle /** * @internal */ -export function DefaultItem(props: Omit<ItemProps, 'renderDefault'>): ReactElement { +export function DefaultItem(props: Omit<ItemProps, 'renderDefault'>): ReactElement<any> { return useResolveDefaultComponent<Omit<ItemProps, 'renderDefault'>>({ componentProps: props, componentResolver: defaultResolveItemComponent, @@ -88,7 +88,7 @@ export function DefaultItem(props: Omit<ItemProps, 'renderDefault'>): ReactEleme /** * @internal */ -export function DefaultPreview(props: Omit<PreviewProps, 'renderDefault'>): ReactElement { +export function DefaultPreview(props: Omit<PreviewProps, 'renderDefault'>): ReactElement<any> { return useResolveDefaultComponent<PreviewProps>({ componentProps: props, componentResolver: defaultResolvePreviewComponent, @@ -98,7 +98,7 @@ export function DefaultPreview(props: Omit<PreviewProps, 'renderDefault'>): Reac /** * @internal */ -export function DefaultBlock(props: Omit<BlockProps, 'renderDefault'>): ReactElement { +export function DefaultBlock(props: Omit<BlockProps, 'renderDefault'>): ReactElement<any> { return useResolveDefaultComponent<Omit<BlockProps, 'renderDefault'>>({ componentProps: props, componentResolver: defaultResolveBlockComponent, @@ -108,7 +108,7 @@ export function DefaultBlock(props: Omit<BlockProps, 'renderDefault'>): ReactEle /** * @internal */ -export function DefaultInlineBlock(props: Omit<BlockProps, 'renderDefault'>): ReactElement { +export function DefaultInlineBlock(props: Omit<BlockProps, 'renderDefault'>): ReactElement<any> { return useResolveDefaultComponent<Omit<BlockProps, 'renderDefault'>>({ componentProps: props, componentResolver: defaultResolveInlineBlockComponent, @@ -120,7 +120,7 @@ export function DefaultInlineBlock(props: Omit<BlockProps, 'renderDefault'>): Re */ export function DefaultAnnotation( props: Omit<BlockAnnotationProps, 'renderDefault'>, -): ReactElement { +): ReactElement<any> { return useResolveDefaultComponent<Omit<BlockAnnotationProps, 'renderDefault'>>({ componentProps: props, componentResolver: defaultResolveAnnotationComponent, diff --git a/packages/sanity/src/core/form/inputs/CrossDatasetReferenceInput/ReferenceAutocomplete.tsx b/packages/sanity/src/core/form/inputs/CrossDatasetReferenceInput/ReferenceAutocomplete.tsx index c3fb37655d0..817f9f94116 100644 --- a/packages/sanity/src/core/form/inputs/CrossDatasetReferenceInput/ReferenceAutocomplete.tsx +++ b/packages/sanity/src/core/form/inputs/CrossDatasetReferenceInput/ReferenceAutocomplete.tsx @@ -30,7 +30,7 @@ export const ReferenceAutocomplete = forwardRef(function ReferenceAutocomplete( props: ComponentProps<typeof Autocomplete> & { referenceElement: HTMLDivElement | null searchString?: string - portalRef?: RefObject<HTMLDivElement> + portalRef?: RefObject<HTMLDivElement | null> }, ref: ForwardedRef<HTMLInputElement>, ) { @@ -46,7 +46,7 @@ export const ReferenceAutocomplete = forwardRef(function ReferenceAutocomplete( onMouseEnter, onMouseLeave, }: { - content: ReactElement | null + content: ReactElement<any> | null hidden: boolean inputElement: HTMLInputElement | null onMouseEnter: () => void diff --git a/packages/sanity/src/core/form/inputs/ObjectInput/__tests__/test-utils.tsx b/packages/sanity/src/core/form/inputs/ObjectInput/__tests__/test-utils.tsx index 5e92d8292e6..63bc38ff4a6 100644 --- a/packages/sanity/src/core/form/inputs/ObjectInput/__tests__/test-utils.tsx +++ b/packages/sanity/src/core/form/inputs/ObjectInput/__tests__/test-utils.tsx @@ -16,7 +16,7 @@ export * from '@testing-library/react' export type {RenderOptions} const customRender = ( - ui: ReactElement, + ui: ReactElement<any>, options?: Omit<RenderOptions, 'wrapper'>, ): ReturnType<typeof render> => render(ui, {wrapper: Providers, ...options}) diff --git a/packages/sanity/src/core/form/inputs/PortableText/Compositor.tsx b/packages/sanity/src/core/form/inputs/PortableText/Compositor.tsx index f587579ea1b..533bc35e333 100644 --- a/packages/sanity/src/core/form/inputs/PortableText/Compositor.tsx +++ b/packages/sanity/src/core/form/inputs/PortableText/Compositor.tsx @@ -36,7 +36,7 @@ import {AnnotationObjectEditModal} from './object/modals/AnnotationObjectEditMod import {TextBlock} from './text' interface InputProps extends ArrayOfObjectsInputProps<PortableTextBlock> { - elementRef: React.RefObject<HTMLDivElement> + elementRef: React.RefObject<HTMLDivElement | null> hasFocusWithin: boolean hideToolbar?: boolean hotkeys?: HotkeyOptions diff --git a/packages/sanity/src/core/form/inputs/PortableText/Editor.tsx b/packages/sanity/src/core/form/inputs/PortableText/Editor.tsx index 505b1cf9e68..bef3ec457bf 100644 --- a/packages/sanity/src/core/form/inputs/PortableText/Editor.tsx +++ b/packages/sanity/src/core/form/inputs/PortableText/Editor.tsx @@ -47,7 +47,7 @@ const PlaceholderWrapper = styled.span((props) => { }) interface EditorProps { - elementRef: React.RefObject<HTMLDivElement> + elementRef: React.RefObject<HTMLDivElement | null> hideToolbar?: boolean hotkeys: HotkeyOptions initialSelection?: EditorSelection diff --git a/packages/sanity/src/core/form/inputs/PortableText/__workshop__/defaultSchema/Story.tsx b/packages/sanity/src/core/form/inputs/PortableText/__workshop__/defaultSchema/Story.tsx index a85d04cb8b7..5e2940095a8 100644 --- a/packages/sanity/src/core/form/inputs/PortableText/__workshop__/defaultSchema/Story.tsx +++ b/packages/sanity/src/core/form/inputs/PortableText/__workshop__/defaultSchema/Story.tsx @@ -53,7 +53,7 @@ function TestForm() { const patchChannel = useMemo(() => createPatchChannel(), []) const [focusPath, setFocusPath] = useState<Path>([]) const changed = false - const focusRef = useRef() + const focusRef = useRef(undefined) const handleAppendItem = useAction('onItemAppend') const handleBlur = useAction('onBlur') const handleFocus = useAction('onFocus') diff --git a/packages/sanity/src/core/form/inputs/PortableText/object/Annotation.tsx b/packages/sanity/src/core/form/inputs/PortableText/object/Annotation.tsx index c37a92b7bbd..b34c27e80be 100644 --- a/packages/sanity/src/core/form/inputs/PortableText/object/Annotation.tsx +++ b/packages/sanity/src/core/form/inputs/PortableText/object/Annotation.tsx @@ -37,7 +37,7 @@ import {Root, TooltipBox} from './Annotation.styles' import {AnnotationToolbarPopover} from './AnnotationToolbarPopover' interface AnnotationProps { - children: ReactElement + children: ReactElement<any> editorNodeFocused: boolean floatingBoundary: HTMLElement | null focused: boolean diff --git a/packages/sanity/src/core/form/inputs/PortableText/object/BlockObjectActionsMenu.tsx b/packages/sanity/src/core/form/inputs/PortableText/object/BlockObjectActionsMenu.tsx index 14ec96e3e44..d62ecee4650 100644 --- a/packages/sanity/src/core/form/inputs/PortableText/object/BlockObjectActionsMenu.tsx +++ b/packages/sanity/src/core/form/inputs/PortableText/object/BlockObjectActionsMenu.tsx @@ -34,7 +34,7 @@ const POPOVER_PROPS: MenuButtonProps['popover'] = { tone: 'default', } -export function BlockObjectActionsMenu(props: BlockObjectActionsMenuProps): ReactElement { +export function BlockObjectActionsMenu(props: BlockObjectActionsMenuProps): ReactElement<any> { const {children, focused, isOpen, onOpen, onRemove, readOnly, value} = props const {t} = useTranslation() const menuButtonId = useId() diff --git a/packages/sanity/src/core/form/inputs/PortableText/presence-cursors/UserPresenceCursor.tsx b/packages/sanity/src/core/form/inputs/PortableText/presence-cursors/UserPresenceCursor.tsx index ab30643a483..3418e7f4d94 100644 --- a/packages/sanity/src/core/form/inputs/PortableText/presence-cursors/UserPresenceCursor.tsx +++ b/packages/sanity/src/core/form/inputs/PortableText/presence-cursors/UserPresenceCursor.tsx @@ -112,7 +112,7 @@ interface UserPresenceCursorProps { user: User } -export function UserPresenceCursor(props: UserPresenceCursorProps): JSX.Element { +export function UserPresenceCursor(props: UserPresenceCursorProps): React.JSX.Element { const {children, user} = props const {tints} = useUserColor(user.id) const [hovered, setHovered] = useState<boolean>(false) diff --git a/packages/sanity/src/core/form/inputs/PortableText/toolbar/BlockStyleSelect.tsx b/packages/sanity/src/core/form/inputs/PortableText/toolbar/BlockStyleSelect.tsx index 2c0a9a5bc8e..d99b64b3394 100644 --- a/packages/sanity/src/core/form/inputs/PortableText/toolbar/BlockStyleSelect.tsx +++ b/packages/sanity/src/core/form/inputs/PortableText/toolbar/BlockStyleSelect.tsx @@ -70,7 +70,7 @@ const emptyStyle: BlockStyleItem = { export const BlockStyleSelect = memo(function BlockStyleSelect( props: BlockStyleSelectProps, -): JSX.Element { +): React.JSX.Element { const {disabled, items: itemsProp, boundaryElement} = props const editor = usePortableTextEditor() const focusBlock = useFocusBlock() diff --git a/packages/sanity/src/core/form/inputs/ReferenceInput/CreateButton.tsx b/packages/sanity/src/core/form/inputs/ReferenceInput/CreateButton.tsx index 3634c07217b..a707c11af63 100644 --- a/packages/sanity/src/core/form/inputs/ReferenceInput/CreateButton.tsx +++ b/packages/sanity/src/core/form/inputs/ReferenceInput/CreateButton.tsx @@ -18,7 +18,7 @@ interface Props extends Omit<HTMLProps<HTMLButtonElement>, 'as' | 'size' | 'width' | 'type' | 'ref'> { id: string createOptions: CreateReferenceOption[] - menuRef?: RefObject<HTMLDivElement> + menuRef?: RefObject<HTMLDivElement | null> onCreate: (option: CreateReferenceOption) => void readOnly?: boolean } diff --git a/packages/sanity/src/core/form/inputs/ReferenceInput/ReferenceAutocomplete.tsx b/packages/sanity/src/core/form/inputs/ReferenceInput/ReferenceAutocomplete.tsx index 80b4bf6e5e7..f6d46da1dba 100644 --- a/packages/sanity/src/core/form/inputs/ReferenceInput/ReferenceAutocomplete.tsx +++ b/packages/sanity/src/core/form/inputs/ReferenceInput/ReferenceAutocomplete.tsx @@ -30,7 +30,7 @@ export const ReferenceAutocomplete = forwardRef(function ReferenceAutocomplete( props: ComponentProps<typeof Autocomplete> & { referenceElement: HTMLDivElement | null searchString?: string - portalRef?: RefObject<HTMLDivElement> + portalRef?: RefObject<HTMLDivElement | null> }, ref: ForwardedRef<HTMLInputElement>, ) { @@ -46,7 +46,7 @@ export const ReferenceAutocomplete = forwardRef(function ReferenceAutocomplete( onMouseEnter, onMouseLeave, }: { - content: ReactElement | null + content: ReactElement<any> | null hidden: boolean inputElement: HTMLInputElement | null onMouseEnter: () => void diff --git a/packages/sanity/src/core/form/inputs/files/ImageInput/ImageInput.tsx b/packages/sanity/src/core/form/inputs/files/ImageInput/ImageInput.tsx index d9f85e56a36..30371f23f5d 100644 --- a/packages/sanity/src/core/form/inputs/files/ImageInput/ImageInput.tsx +++ b/packages/sanity/src/core/form/inputs/files/ImageInput/ImageInput.tsx @@ -26,7 +26,7 @@ import {type BaseImageInputProps, type BaseImageInputValue, type FileInfo} from export {BaseImageInputProps, BaseImageInputValue} -function BaseImageInputComponent(props: BaseImageInputProps): JSX.Element { +function BaseImageInputComponent(props: BaseImageInputProps): React.JSX.Element { const { assetSources, client, @@ -275,7 +275,7 @@ function BaseImageInputComponent(props: BaseImageInputProps): JSX.Element { menuButtonElement?.focus() }, [menuButtonElement]) - const renderPreview = useCallback<() => JSX.Element>(() => { + const renderPreview = useCallback<() => React.JSX.Element>(() => { if (!value) { return <></> } @@ -517,7 +517,6 @@ function BaseImageInputComponent(props: BaseImageInputProps): JSX.Element { //@ts-expect-error all possible cases should be covered return <>{t('inputs.image.error.unknown-member-kind', {kind: member.kind})}</> })} - {hotspotField && focusPath[0] === 'hotspot' && ( <FormInput {...props} diff --git a/packages/sanity/src/core/form/inputs/files/ImageInput/ImageInputAsset.tsx b/packages/sanity/src/core/form/inputs/files/ImageInput/ImageInputAsset.tsx index c07bbfdf903..1100dd2405f 100644 --- a/packages/sanity/src/core/form/inputs/files/ImageInput/ImageInputAsset.tsx +++ b/packages/sanity/src/core/form/inputs/files/ImageInput/ImageInputAsset.tsx @@ -24,10 +24,10 @@ function ImageInputAssetComponent(props: { inputProps: Omit<InputProps, 'renderDefault'> isStale: boolean readOnly: boolean | undefined - renderAssetMenu(): JSX.Element | null - renderPreview: () => JSX.Element - renderUploadPlaceholder(): JSX.Element - renderUploadState(uploadState: UploadState): JSX.Element + renderAssetMenu(): React.JSX.Element | null + renderPreview: () => React.JSX.Element + renderUploadPlaceholder(): React.JSX.Element + renderUploadState(uploadState: UploadState): React.JSX.Element tone: CardTone value: BaseImageInputValue | undefined }) { diff --git a/packages/sanity/src/core/form/inputs/files/ImageInput/ImageInputUploadPlaceholder.tsx b/packages/sanity/src/core/form/inputs/files/ImageInput/ImageInputUploadPlaceholder.tsx index 440c2bdf4fc..a0b7c414d16 100644 --- a/packages/sanity/src/core/form/inputs/files/ImageInput/ImageInputUploadPlaceholder.tsx +++ b/packages/sanity/src/core/form/inputs/files/ImageInput/ImageInputUploadPlaceholder.tsx @@ -10,7 +10,7 @@ function ImageInputUploadPlaceholderComponent(props: { handleSelectFiles: (files: File[]) => void hoveringFiles: FileInfo[] readOnly: boolean | undefined - renderBrowser(): JSX.Element | null + renderBrowser(): React.JSX.Element | null resolveUploader: BaseImageInputProps['resolveUploader'] schemaType: BaseImageInputProps['schemaType'] }) { diff --git a/packages/sanity/src/core/form/inputs/files/ImageToolInput/imagetool/DragAwareCanvas.tsx b/packages/sanity/src/core/form/inputs/files/ImageToolInput/imagetool/DragAwareCanvas.tsx index 7275c09bcd0..26cedca562d 100644 --- a/packages/sanity/src/core/form/inputs/files/ImageToolInput/imagetool/DragAwareCanvas.tsx +++ b/packages/sanity/src/core/form/inputs/files/ImageToolInput/imagetool/DragAwareCanvas.tsx @@ -23,7 +23,7 @@ export interface DragAwareCanvasProps { } const DragAwareCanvasComponent = forwardRef<HTMLCanvasElement, DragAwareCanvasProps>( - function DragAwareCanvas(props, ref): JSX.Element { + function DragAwareCanvas(props, ref): React.JSX.Element { const {readOnly, onDragStart, onDragEnd, onDrag, ...rest} = props const domNode = useRef<HTMLCanvasElement | null>(null) diff --git a/packages/sanity/src/core/form/inputs/files/ImageToolInput/imagetool/ImageLoader.tsx b/packages/sanity/src/core/form/inputs/files/ImageToolInput/imagetool/ImageLoader.tsx index e43171566c4..1cb39a91be3 100644 --- a/packages/sanity/src/core/form/inputs/files/ImageToolInput/imagetool/ImageLoader.tsx +++ b/packages/sanity/src/core/form/inputs/files/ImageToolInput/imagetool/ImageLoader.tsx @@ -7,7 +7,7 @@ interface ImageLoaderProps { isLoading: boolean image: HTMLImageElement | null error: Error | null - }) => ReactElement | null + }) => ReactElement<any> | null } export function ImageLoader(props: ImageLoaderProps) { diff --git a/packages/sanity/src/core/form/inputs/files/common/FileInputMenuItem/FileInputMenuItem.tsx b/packages/sanity/src/core/form/inputs/files/common/FileInputMenuItem/FileInputMenuItem.tsx index 612662e1b59..b24a08991c8 100644 --- a/packages/sanity/src/core/form/inputs/files/common/FileInputMenuItem/FileInputMenuItem.tsx +++ b/packages/sanity/src/core/form/inputs/files/common/FileInputMenuItem/FileInputMenuItem.tsx @@ -36,7 +36,7 @@ export const FileInputMenuItem = forwardRef(function FileInputMenuItem( ) const renderMenuItem = useCallback( - (item: JSX.Element) => ( + (item: React.JSX.Element) => ( <div> {item} {/* Visibly hidden input */} diff --git a/packages/sanity/src/core/form/members/array/items/ArrayOfObjectsItem.tsx b/packages/sanity/src/core/form/members/array/items/ArrayOfObjectsItem.tsx index 75381e61af7..71e3e147b90 100644 --- a/packages/sanity/src/core/form/members/array/items/ArrayOfObjectsItem.tsx +++ b/packages/sanity/src/core/form/members/array/items/ArrayOfObjectsItem.tsx @@ -53,7 +53,7 @@ export interface MemberItemProps { * @beta */ export function ArrayOfObjectsItem(props: MemberItemProps) { - const focusRef = useRef<{focus: () => void}>() + const focusRef = useRef<{focus: () => void}>(undefined) const { member, renderAnnotation, diff --git a/packages/sanity/src/core/form/members/array/items/ArrayOfPrimitivesItem.tsx b/packages/sanity/src/core/form/members/array/items/ArrayOfPrimitivesItem.tsx index 92621c95e80..cce64b058f6 100644 --- a/packages/sanity/src/core/form/members/array/items/ArrayOfPrimitivesItem.tsx +++ b/packages/sanity/src/core/form/members/array/items/ArrayOfPrimitivesItem.tsx @@ -37,7 +37,7 @@ export interface PrimitiveMemberItemProps { * @beta */ export function ArrayOfPrimitivesItem(props: PrimitiveMemberItemProps) { - const focusRef = useRef<{focus: () => void}>() + const focusRef = useRef<{focus: () => void}>(undefined) const {member, renderItem, renderInput} = props const [localValue, setLocalValue] = useState<undefined | string>() diff --git a/packages/sanity/src/core/form/members/object/fields/ArrayOfObjectsField.tsx b/packages/sanity/src/core/form/members/object/fields/ArrayOfObjectsField.tsx index 6e68f79e074..ac7c2a1184f 100644 --- a/packages/sanity/src/core/form/members/object/fields/ArrayOfObjectsField.tsx +++ b/packages/sanity/src/core/form/members/object/fields/ArrayOfObjectsField.tsx @@ -76,7 +76,7 @@ export function ArrayOfObjectsField(props: { const fieldActions = useDocumentFieldActions() - const focusRef = useRef<Element & {focus: () => void}>() + const focusRef = useRef<Element & {focus: () => void}>(undefined) const uploadSubscriptions = useRef<Record<string, Subscription>>({}) useDidUpdate(member.field.focused, (hadFocus, hasFocus) => { diff --git a/packages/sanity/src/core/form/members/object/fields/ArrayOfPrimitivesField.tsx b/packages/sanity/src/core/form/members/object/fields/ArrayOfPrimitivesField.tsx index 6be94b28a40..454c7ba3a28 100644 --- a/packages/sanity/src/core/form/members/object/fields/ArrayOfPrimitivesField.tsx +++ b/packages/sanity/src/core/form/members/object/fields/ArrayOfPrimitivesField.tsx @@ -159,8 +159,8 @@ export function ArrayOfPrimitivesField(props: { } = props const fieldActions = useDocumentFieldActions() - const focusRef = useRef<Element & {focus: () => void}>() - const uploadSubscriptions = useRef<Subscription>() + const focusRef = useRef<Element & {focus: () => void}>(undefined) + const uploadSubscriptions = useRef<Subscription>(undefined) const client = useClient(DEFAULT_STUDIO_CLIENT_OPTIONS) useDidUpdate(member.field.focused, (hadFocus, hasFocus) => { diff --git a/packages/sanity/src/core/form/members/object/fields/ObjectField.tsx b/packages/sanity/src/core/form/members/object/fields/ObjectField.tsx index 3bebe912c04..13f5a573cff 100644 --- a/packages/sanity/src/core/form/members/object/fields/ObjectField.tsx +++ b/packages/sanity/src/core/form/members/object/fields/ObjectField.tsx @@ -58,7 +58,7 @@ export const ObjectField = function ObjectField(props: { renderPreview, } = props const fieldActions = useDocumentFieldActions() - const focusRef = useRef<{focus: () => void}>() + const focusRef = useRef<{focus: () => void}>(undefined) // Keep a local reference to the most recent value. See comment in `handleChange` below for more details const pendingValue = useRef(member.field.value) diff --git a/packages/sanity/src/core/form/members/object/fields/PrimitiveField.tsx b/packages/sanity/src/core/form/members/object/fields/PrimitiveField.tsx index bfa42f9fa2a..17e325e323b 100644 --- a/packages/sanity/src/core/form/members/object/fields/PrimitiveField.tsx +++ b/packages/sanity/src/core/form/members/object/fields/PrimitiveField.tsx @@ -29,7 +29,7 @@ export function PrimitiveField(props: { const fieldActions = useDocumentFieldActions() - const focusRef = useRef<{focus: () => void}>() + const focusRef = useRef<{focus: () => void}>(undefined) const [localValue, setLocalValue] = useState<string | undefined>() diff --git a/packages/sanity/src/core/form/studio/FormBuilder.tsx b/packages/sanity/src/core/form/studio/FormBuilder.tsx index 58e1f1d04bf..121c5b07659 100644 --- a/packages/sanity/src/core/form/studio/FormBuilder.tsx +++ b/packages/sanity/src/core/form/studio/FormBuilder.tsx @@ -296,7 +296,7 @@ interface RootInputProps { rootInputProps: Omit<ObjectInputProps, 'renderDefault'> onPathOpen: (path: Path) => void openPath: Path - renderInput: (props: Omit<ObjectInputProps, 'renderDefault'>) => JSX.Element + renderInput: (props: Omit<ObjectInputProps, 'renderDefault'>) => React.JSX.Element } function RootInput(props: RootInputProps) { diff --git a/packages/sanity/src/core/form/studio/FormBuilderInputErrorBoundary.tsx b/packages/sanity/src/core/form/studio/FormBuilderInputErrorBoundary.tsx index 17caafefdb0..b8c7d726253 100644 --- a/packages/sanity/src/core/form/studio/FormBuilderInputErrorBoundary.tsx +++ b/packages/sanity/src/core/form/studio/FormBuilderInputErrorBoundary.tsx @@ -22,7 +22,7 @@ interface FormBuilderInputErrorBoundaryProps { */ export function FormBuilderInputErrorBoundary( props: FormBuilderInputErrorBoundaryProps, -): JSX.Element { +): React.JSX.Element { const {children} = props const [{error, info}, setError] = useState<{error: unknown; info: React.ErrorInfo}>({ error: null, diff --git a/packages/sanity/src/core/form/studio/assetSource/file/AssetRow.tsx b/packages/sanity/src/core/form/studio/assetSource/file/AssetRow.tsx index 547b3c3531b..4cb431f9c1c 100644 --- a/packages/sanity/src/core/form/studio/assetSource/file/AssetRow.tsx +++ b/packages/sanity/src/core/form/studio/assetSource/file/AssetRow.tsx @@ -131,7 +131,7 @@ const STYLES_ASSETMENU_WRAPPER = { export const AssetRow = (props: RowProps) => { const versionedClient = useClient(DEFAULT_STUDIO_CLIENT_OPTIONS) const toast = useToast() - const deleteRef$ = useRef<Subscription>() + const deleteRef$ = useRef<Subscription>(undefined) const [showUsageDialog, setShowUsageDialog] = useState(false) const [showDeleteDialog, setShowDeleteDialog] = useState(false) const [isDeleting, setIsDeleting] = useState(false) diff --git a/packages/sanity/src/core/form/studio/assetSource/image/AssetThumb.tsx b/packages/sanity/src/core/form/studio/assetSource/image/AssetThumb.tsx index faa773c407d..bcd7d31e8fc 100644 --- a/packages/sanity/src/core/form/studio/assetSource/image/AssetThumb.tsx +++ b/packages/sanity/src/core/form/studio/assetSource/image/AssetThumb.tsx @@ -88,7 +88,7 @@ const MenuContainer = styled.div` export const AssetThumb = memo(function AssetThumb(props: AssetProps) { const versionedClient = useClient(DEFAULT_STUDIO_CLIENT_OPTIONS) const toast = useToast() - const deleteRef$ = useRef<Subscription>() + const deleteRef$ = useRef<Subscription>(undefined) const {asset, onClick, onKeyPress, onDeleteFinished, isSelected} = props const [showUsageDialog, setShowUsageDialog] = useState(false) const [showDeleteDialog, setShowDeleteDialog] = useState(false) diff --git a/packages/sanity/src/core/form/studio/assetSource/shared/DefaultSource.tsx b/packages/sanity/src/core/form/studio/assetSource/shared/DefaultSource.tsx index bd091673972..d5c2825c36c 100644 --- a/packages/sanity/src/core/form/studio/assetSource/shared/DefaultSource.tsx +++ b/packages/sanity/src/core/form/studio/assetSource/shared/DefaultSource.tsx @@ -108,7 +108,7 @@ const DefaultAssetSource = function DefaultAssetSource( const [_elementId] = useState(() => `default-asset-source-${uniqueId()}`) const currentPageNumber = useRef(0) const {t} = useTranslation() - const fetch$ = useRef<Subscription>() + const fetch$ = useRef<Subscription>(undefined) const [assets, setAssets] = useState<Asset[]>([]) const [isLastPage, setIsLastPage] = useState(false) const [hasResetAutoFocus, setHasResetFocus] = useState(false) diff --git a/packages/sanity/src/core/form/studio/contexts/reviewChanges/ReviewChangesProvider.tsx b/packages/sanity/src/core/form/studio/contexts/reviewChanges/ReviewChangesProvider.tsx index ffe37c799d1..67a75b28685 100644 --- a/packages/sanity/src/core/form/studio/contexts/reviewChanges/ReviewChangesProvider.tsx +++ b/packages/sanity/src/core/form/studio/contexts/reviewChanges/ReviewChangesProvider.tsx @@ -9,7 +9,7 @@ import {type ReviewChangesContextValue} from './types' export function ReviewChangesContextProvider(props: { children?: ReactNode changesOpen: boolean -}): ReactElement { +}): ReactElement<any> { const {children, changesOpen} = props const contextValue: ReviewChangesContextValue = useMemo(() => ({changesOpen}), [changesOpen]) diff --git a/packages/sanity/src/core/form/studio/tree-editing/__workshop__/TreeEditingBreadcrumbsMenuButtonStory.tsx b/packages/sanity/src/core/form/studio/tree-editing/__workshop__/TreeEditingBreadcrumbsMenuButtonStory.tsx index 37ed2e3f8d4..2710687bb8f 100644 --- a/packages/sanity/src/core/form/studio/tree-editing/__workshop__/TreeEditingBreadcrumbsMenuButtonStory.tsx +++ b/packages/sanity/src/core/form/studio/tree-editing/__workshop__/TreeEditingBreadcrumbsMenuButtonStory.tsx @@ -47,7 +47,7 @@ const ITEM: TreeEditingBreadcrumb = { })), } -export default function TreeEditingBreadcrumbsMenuButtonStory(): JSX.Element { +export default function TreeEditingBreadcrumbsMenuButtonStory(): React.JSX.Element { const [selectedPath, setSelectedPath] = useState<Path>(['first-item']) return ( diff --git a/packages/sanity/src/core/form/studio/tree-editing/__workshop__/TreeEditingBreadcrumbsMenuStory.tsx b/packages/sanity/src/core/form/studio/tree-editing/__workshop__/TreeEditingBreadcrumbsMenuStory.tsx index d7da89325b1..cda822b28bc 100644 --- a/packages/sanity/src/core/form/studio/tree-editing/__workshop__/TreeEditingBreadcrumbsMenuStory.tsx +++ b/packages/sanity/src/core/form/studio/tree-editing/__workshop__/TreeEditingBreadcrumbsMenuStory.tsx @@ -55,7 +55,7 @@ const items: TreeEditingBreadcrumb[] = [ }, ] -export default function TreeEditingBreadcrumbsMenuStory(): JSX.Element { +export default function TreeEditingBreadcrumbsMenuStory(): React.JSX.Element { const [selectedPath, setSelectedPath] = useState<Path>(['second-item']) return ( diff --git a/packages/sanity/src/core/form/studio/tree-editing/__workshop__/TreeEditingBreadcrumbsStory.tsx b/packages/sanity/src/core/form/studio/tree-editing/__workshop__/TreeEditingBreadcrumbsStory.tsx index e34412836e5..92d46372e08 100644 --- a/packages/sanity/src/core/form/studio/tree-editing/__workshop__/TreeEditingBreadcrumbsStory.tsx +++ b/packages/sanity/src/core/form/studio/tree-editing/__workshop__/TreeEditingBreadcrumbsStory.tsx @@ -118,7 +118,7 @@ const DOCUMENT_VALUE = { ], } -export default function TreeEditingBreadcrumbsStory(): JSX.Element { +export default function TreeEditingBreadcrumbsStory(): React.JSX.Element { const [selectedPath, setSelectedPath] = useState<Path>(['myArrayOfObjects', {_key: 'item-1'}]) const {menuItems} = useMemo((): TreeEditingState => { diff --git a/packages/sanity/src/core/form/studio/tree-editing/__workshop__/TreeEditingLayoutStory.tsx b/packages/sanity/src/core/form/studio/tree-editing/__workshop__/TreeEditingLayoutStory.tsx index 5435d87cb58..cad13bd9274 100644 --- a/packages/sanity/src/core/form/studio/tree-editing/__workshop__/TreeEditingLayoutStory.tsx +++ b/packages/sanity/src/core/form/studio/tree-editing/__workshop__/TreeEditingLayoutStory.tsx @@ -118,7 +118,7 @@ const DOCUMENT_VALUE = { ], } -export default function TreeEditingLayoutStory(): JSX.Element { +export default function TreeEditingLayoutStory(): React.JSX.Element { const [selectedPath, setSelectedPath] = useState<Path>(['myArrayOfObjects', {_key: 'first-item'}]) const state = useMemo(() => { diff --git a/packages/sanity/src/core/form/studio/tree-editing/__workshop__/TreeEditingMenuStory.tsx b/packages/sanity/src/core/form/studio/tree-editing/__workshop__/TreeEditingMenuStory.tsx index d83534694a2..37113b70152 100644 --- a/packages/sanity/src/core/form/studio/tree-editing/__workshop__/TreeEditingMenuStory.tsx +++ b/packages/sanity/src/core/form/studio/tree-editing/__workshop__/TreeEditingMenuStory.tsx @@ -118,7 +118,7 @@ const DOCUMENT_VALUE = { ], } -export default function TreeEditingMenuStory(): JSX.Element { +export default function TreeEditingMenuStory(): React.JSX.Element { const [selectedPath, setSelectedPath] = useState<Path>(['myArrayOfObjects', {_key: 'first-item'}]) const {menuItems} = useMemo((): TreeEditingState => { diff --git a/packages/sanity/src/core/form/studio/tree-editing/components/TreeEditingDialog.tsx b/packages/sanity/src/core/form/studio/tree-editing/components/TreeEditingDialog.tsx index a88bd29fa95..1edc78d0f66 100644 --- a/packages/sanity/src/core/form/studio/tree-editing/components/TreeEditingDialog.tsx +++ b/packages/sanity/src/core/form/studio/tree-editing/components/TreeEditingDialog.tsx @@ -71,7 +71,7 @@ interface TreeEditingDialogProps { schemaType: ObjectSchemaType } -export function TreeEditingDialog(props: TreeEditingDialogProps): JSX.Element | null { +export function TreeEditingDialog(props: TreeEditingDialogProps): React.JSX.Element | null { const {onPathFocus, onPathOpen, openPath, rootInputProps, schemaType} = props const {value} = rootInputProps const {t} = useTranslation() diff --git a/packages/sanity/src/core/form/studio/tree-editing/components/breadcrumbs/TreeEditingBreadcrumbs.tsx b/packages/sanity/src/core/form/studio/tree-editing/components/breadcrumbs/TreeEditingBreadcrumbs.tsx index df1698cb11a..762223ecbc8 100644 --- a/packages/sanity/src/core/form/studio/tree-editing/components/breadcrumbs/TreeEditingBreadcrumbs.tsx +++ b/packages/sanity/src/core/form/studio/tree-editing/components/breadcrumbs/TreeEditingBreadcrumbs.tsx @@ -119,7 +119,9 @@ interface TreeEditingBreadcrumbsProps { selectedPath: Path } -export function TreeEditingBreadcrumbs(props: TreeEditingBreadcrumbsProps): JSX.Element | null { +export function TreeEditingBreadcrumbs( + props: TreeEditingBreadcrumbsProps, +): React.JSX.Element | null { const {items: itemsProp = EMPTY_ARRAY, onPathSelect, selectedPath} = props const [rootElement, setRootElement] = useState<HTMLDivElement | null>(null) diff --git a/packages/sanity/src/core/form/studio/tree-editing/components/breadcrumbs/TreeEditingBreadcrumbsMenu.tsx b/packages/sanity/src/core/form/studio/tree-editing/components/breadcrumbs/TreeEditingBreadcrumbsMenu.tsx index 37d90a0f212..eec68deebc4 100644 --- a/packages/sanity/src/core/form/studio/tree-editing/components/breadcrumbs/TreeEditingBreadcrumbsMenu.tsx +++ b/packages/sanity/src/core/form/studio/tree-editing/components/breadcrumbs/TreeEditingBreadcrumbsMenu.tsx @@ -26,10 +26,10 @@ interface BreadcrumbsItemProps { selected: boolean isFirst: boolean onPathSelect: (path: Path) => void - renderMenuItemTitle: (value: PreviewValue) => JSX.Element + renderMenuItemTitle: (value: PreviewValue) => React.JSX.Element } -function BreadcrumbsItem(props: BreadcrumbsItemProps): JSX.Element { +function BreadcrumbsItem(props: BreadcrumbsItemProps): React.JSX.Element { const {item, onPathSelect, selected, isFirst, renderMenuItemTitle} = props const {value} = useValuePreviewWithFallback({ @@ -70,7 +70,9 @@ interface TreeEditingBreadcrumbsMenuProps { selectedPath: Path } -export function TreeEditingBreadcrumbsMenu(props: TreeEditingBreadcrumbsMenuProps): JSX.Element { +export function TreeEditingBreadcrumbsMenu( + props: TreeEditingBreadcrumbsMenuProps, +): React.JSX.Element { const {items, onPathSelect, selectedPath, collapsed = false} = props const {t} = useTranslation() diff --git a/packages/sanity/src/core/form/studio/tree-editing/components/breadcrumbs/TreeEditingBreadcrumbsMenuButton.tsx b/packages/sanity/src/core/form/studio/tree-editing/components/breadcrumbs/TreeEditingBreadcrumbsMenuButton.tsx index 3f1d3d86344..659334573e7 100644 --- a/packages/sanity/src/core/form/studio/tree-editing/components/breadcrumbs/TreeEditingBreadcrumbsMenuButton.tsx +++ b/packages/sanity/src/core/form/studio/tree-editing/components/breadcrumbs/TreeEditingBreadcrumbsMenuButton.tsx @@ -57,7 +57,7 @@ const StyledPopover = styled(Popover)(() => { }) interface TreeEditingBreadcrumbsMenuButtonProps { - button: ReactElement + button: ReactElement<any> collapsed?: boolean items: TreeEditingBreadcrumb[] menuTitle?: string @@ -68,7 +68,7 @@ interface TreeEditingBreadcrumbsMenuButtonProps { export function TreeEditingBreadcrumbsMenuButton( props: TreeEditingBreadcrumbsMenuButtonProps, -): JSX.Element { +): React.JSX.Element { const { button, collapsed = false, diff --git a/packages/sanity/src/core/form/studio/tree-editing/components/layout/TreeEditingLayout.tsx b/packages/sanity/src/core/form/studio/tree-editing/components/layout/TreeEditingLayout.tsx index 6eb8ee384db..b477a5c4738 100644 --- a/packages/sanity/src/core/form/studio/tree-editing/components/layout/TreeEditingLayout.tsx +++ b/packages/sanity/src/core/form/studio/tree-editing/components/layout/TreeEditingLayout.tsx @@ -22,7 +22,7 @@ interface TreeEditingLayoutProps { export const TreeEditingLayout = memo(function TreeEditingLayout( props: TreeEditingLayoutProps, -): JSX.Element { +): React.JSX.Element { const { breadcrumbs, children, diff --git a/packages/sanity/src/core/form/studio/tree-editing/components/layout/resizer/Resizable.tsx b/packages/sanity/src/core/form/studio/tree-editing/components/layout/resizer/Resizable.tsx index ef695fc4e1d..7698192d714 100644 --- a/packages/sanity/src/core/form/studio/tree-editing/components/layout/resizer/Resizable.tsx +++ b/packages/sanity/src/core/form/studio/tree-editing/components/layout/resizer/Resizable.tsx @@ -21,7 +21,7 @@ export function Resizable( ) { const {as: forwardedAs, children, minWidth, maxWidth, initialWidth, ...restProps} = props const [element, setElement] = useState<HTMLDivElement | null>(null) - const elementWidthRef = useRef<number>() + const elementWidthRef = useRef<number>(undefined) const [targetWidth, setTargetWidth] = useState<number>(initialWidth) const handleResizeStart = useCallback(() => { diff --git a/packages/sanity/src/core/form/studio/tree-editing/components/search/TreeEditingSearch.tsx b/packages/sanity/src/core/form/studio/tree-editing/components/search/TreeEditingSearch.tsx index 63e7de69825..abf7ec68e91 100644 --- a/packages/sanity/src/core/form/studio/tree-editing/components/search/TreeEditingSearch.tsx +++ b/packages/sanity/src/core/form/studio/tree-editing/components/search/TreeEditingSearch.tsx @@ -56,7 +56,7 @@ interface TreeEditingSearchProps { onPathSelect: (path: Path) => void } -export function TreeEditingSearch(props: TreeEditingSearchProps): JSX.Element { +export function TreeEditingSearch(props: TreeEditingSearchProps): React.JSX.Element { const {items, onPathSelect} = props const [textInputElement, setTextInputElement] = useState<HTMLInputElement | null>(null) diff --git a/packages/sanity/src/core/form/studio/tree-editing/components/search/TreeEditingSearchMenu.tsx b/packages/sanity/src/core/form/studio/tree-editing/components/search/TreeEditingSearchMenu.tsx index 29d0cd902ca..c0367c913f6 100644 --- a/packages/sanity/src/core/form/studio/tree-editing/components/search/TreeEditingSearchMenu.tsx +++ b/packages/sanity/src/core/form/studio/tree-editing/components/search/TreeEditingSearchMenu.tsx @@ -26,7 +26,7 @@ interface ResultItemProps { isFirst: boolean } -function ResultItem(props: ResultItemProps): JSX.Element { +function ResultItem(props: ResultItemProps): React.JSX.Element { const {item, onPathSelect, isFirst} = props const {value} = useValuePreviewWithFallback({ @@ -63,7 +63,7 @@ interface TreeEditingSearchMenuProps { textInputElement: HTMLInputElement | null } -export function TreeEditingSearchMenu(props: TreeEditingSearchMenuProps): JSX.Element { +export function TreeEditingSearchMenu(props: TreeEditingSearchMenuProps): React.JSX.Element { const {items, onPathSelect, textInputElement} = props const {t} = useTranslation() diff --git a/packages/sanity/src/core/form/studio/tree-editing/components/tree-menu/TreeEditingMenu.tsx b/packages/sanity/src/core/form/studio/tree-editing/components/tree-menu/TreeEditingMenu.tsx index 5abd95bd497..f198dca382d 100644 --- a/packages/sanity/src/core/form/studio/tree-editing/components/tree-menu/TreeEditingMenu.tsx +++ b/packages/sanity/src/core/form/studio/tree-editing/components/tree-menu/TreeEditingMenu.tsx @@ -15,7 +15,7 @@ interface TreeEditingMenuProps { export const TreeEditingMenu = memo(function TreeEditingMenu( props: TreeEditingMenuProps, -): JSX.Element { +): React.JSX.Element { const {items, onPathSelect, selectedPath} = props return ( diff --git a/packages/sanity/src/core/form/studio/tree-editing/components/tree-menu/TreeEditingMenuItem.tsx b/packages/sanity/src/core/form/studio/tree-editing/components/tree-menu/TreeEditingMenuItem.tsx index eaf6c09d85d..2ed2785c90a 100644 --- a/packages/sanity/src/core/form/studio/tree-editing/components/tree-menu/TreeEditingMenuItem.tsx +++ b/packages/sanity/src/core/form/studio/tree-editing/components/tree-menu/TreeEditingMenuItem.tsx @@ -114,7 +114,7 @@ interface TreeEditingMenuItemProps { siblingHasChildren?: boolean } -export function TreeEditingMenuItem(props: TreeEditingMenuItemProps): JSX.Element { +export function TreeEditingMenuItem(props: TreeEditingMenuItemProps): React.JSX.Element { const {item, onPathSelect, selectedPath, siblingHasChildren} = props const {children} = item const hasChildren = children && children.length > 0 diff --git a/packages/sanity/src/core/form/studio/tree-editing/context/enabled/TreeEditingEnabledProvider.tsx b/packages/sanity/src/core/form/studio/tree-editing/context/enabled/TreeEditingEnabledProvider.tsx index a2e30c93669..4dd20733199 100644 --- a/packages/sanity/src/core/form/studio/tree-editing/context/enabled/TreeEditingEnabledProvider.tsx +++ b/packages/sanity/src/core/form/studio/tree-editing/context/enabled/TreeEditingEnabledProvider.tsx @@ -8,7 +8,9 @@ interface TreeEditingEnabledProviderProps { legacyEditing?: boolean } -export function TreeEditingEnabledProvider(props: TreeEditingEnabledProviderProps): JSX.Element { +export function TreeEditingEnabledProvider( + props: TreeEditingEnabledProviderProps, +): React.JSX.Element { const {children, legacyEditing: legacyEditingProp} = props const parentContextValue = useTreeEditingEnabled() diff --git a/packages/sanity/src/core/form/types/blockProps.ts b/packages/sanity/src/core/form/types/blockProps.ts index f2074956fe0..23ea79e65a4 100644 --- a/packages/sanity/src/core/form/types/blockProps.ts +++ b/packages/sanity/src/core/form/types/blockProps.ts @@ -34,7 +34,7 @@ export interface BlockDecoratorProps { /** * The span node as rendered without the decorator. */ - children: ReactElement + children: ReactElement<any> /** * If the span node currently is focused by the user. */ @@ -43,7 +43,7 @@ export interface BlockDecoratorProps { * The default render function for this decorator, * some decorators are proved by default and has a default rendering. */ - renderDefault: (props: BlockDecoratorProps) => ReactElement + renderDefault: (props: BlockDecoratorProps) => ReactElement<any> /** * The decorator schema type. Icon can be found here. */ @@ -76,7 +76,7 @@ export interface BlockStyleProps { /** * The block as rendered without this style. */ - children: ReactElement + children: ReactElement<any> /** * If the block currently has focus in the text editor. */ @@ -84,7 +84,7 @@ export interface BlockStyleProps { /** * The default rendering function for this style. */ - renderDefault: (props: BlockStyleProps) => ReactElement + renderDefault: (props: BlockStyleProps) => ReactElement<any> /** * The schema type for this style. */ @@ -116,7 +116,7 @@ export interface BlockListItemProps { /** * The block rendered without the list style. */ - children: ReactElement + children: ReactElement<any> /** * If the block currently is focused by the user. */ @@ -129,7 +129,7 @@ export interface BlockListItemProps { * The default function for rendering this as a list item. Some list types are built in and * will have a default rendering. */ - renderDefault: (props: BlockListItemProps) => ReactElement + renderDefault: (props: BlockListItemProps) => ReactElement<any> /** * The schema type for this list type. Icon can be found here. */ @@ -273,7 +273,7 @@ export interface BlockAnnotationProps { /** * Plugin chain render callback. */ - renderDefault: (props: BlockAnnotationProps) => ReactElement + renderDefault: (props: BlockAnnotationProps) => ReactElement<any> /** * Plugin chain render callback. */ @@ -305,7 +305,7 @@ export interface BlockAnnotationProps { /** * React element of the text that is being annotated. */ - textElement: ReactElement + textElement: ReactElement<any> /** * Form validation for the annotation object. */ @@ -397,7 +397,7 @@ export interface BlockProps { /** * Plugin chain render callback (default rendering function of the block). */ - renderDefault: (props: BlockProps) => ReactElement + renderDefault: (props: BlockProps) => ReactElement<any> /** * Plugin chain render callback. */ diff --git a/packages/sanity/src/core/form/types/fieldProps.ts b/packages/sanity/src/core/form/types/fieldProps.ts index e530df7bc60..63144dbd14e 100644 --- a/packages/sanity/src/core/form/types/fieldProps.ts +++ b/packages/sanity/src/core/form/types/fieldProps.ts @@ -60,7 +60,7 @@ export interface BaseFieldProps { index: number changed: boolean children: ReactNode - renderDefault: (props: FieldProps) => ReactElement + renderDefault: (props: FieldProps) => ReactElement<any> } /** diff --git a/packages/sanity/src/core/form/types/inputProps.ts b/packages/sanity/src/core/form/types/inputProps.ts index 49dbf3eb8ca..af08ddd20db 100644 --- a/packages/sanity/src/core/form/types/inputProps.ts +++ b/packages/sanity/src/core/form/types/inputProps.ts @@ -72,7 +72,7 @@ export interface OnPathFocusPayload { * @hidden * @public */ export interface BaseInputProps { - renderDefault: (props: InputProps) => ReactElement + renderDefault: (props: InputProps) => ReactElement<any> } /** @@ -579,7 +579,7 @@ export interface PortableTextInputProps * @hidden * @beta */ - renderEditable?: (props: RenderPortableTextInputEditableProps) => JSX.Element + renderEditable?: (props: RenderPortableTextInputEditableProps) => React.JSX.Element /** * Array of {@link RangeDecoration} that can be used to decorate the content. */ diff --git a/packages/sanity/src/core/form/types/itemProps.ts b/packages/sanity/src/core/form/types/itemProps.ts index 7496a2d7d4a..bf42e0012f6 100644 --- a/packages/sanity/src/core/form/types/itemProps.ts +++ b/packages/sanity/src/core/form/types/itemProps.ts @@ -87,7 +87,7 @@ export interface BaseItemProps<T> { presence: FormNodePresence[] /** The function to call to render the default item. See {@link ItemProps} */ - renderDefault: (props: ItemProps) => ReactElement + renderDefault: (props: ItemProps) => ReactElement<any> } /** diff --git a/packages/sanity/src/core/hooks/__tests__/useFormattedDuration.test.tsx b/packages/sanity/src/core/hooks/__tests__/useFormattedDuration.test.tsx index 7eec8508648..7d1c822c8e1 100644 --- a/packages/sanity/src/core/hooks/__tests__/useFormattedDuration.test.tsx +++ b/packages/sanity/src/core/hooks/__tests__/useFormattedDuration.test.tsx @@ -16,7 +16,7 @@ describe('useFormattedDuration', () => { i18n: {bundles: [studioDefaultLocaleResources]}, }) - const wrapper = ({children}: {children: ReactElement}) => ( + const wrapper = ({children}: {children: ReactElement<any>}) => ( <ThemeProvider theme={studioTheme}> <LocaleProviderBase locales={[usEnglishLocale]} diff --git a/packages/sanity/src/core/hooks/__tests__/useRelativeTime.test.tsx b/packages/sanity/src/core/hooks/__tests__/useRelativeTime.test.tsx index bf2172ececa..451ccaab952 100644 --- a/packages/sanity/src/core/hooks/__tests__/useRelativeTime.test.tsx +++ b/packages/sanity/src/core/hooks/__tests__/useRelativeTime.test.tsx @@ -17,7 +17,7 @@ describe('useRelativeTime', () => { i18n: {bundles: [studioDefaultLocaleResources]}, }) - const wrapper = ({children}: {children: ReactElement}) => ( + const wrapper = ({children}: {children: ReactElement<any>}) => ( <ThemeProvider theme={studioTheme}> <LocaleProviderBase locales={[usEnglishLocale]} diff --git a/packages/sanity/src/core/hooks/__tests__/useUnitFormatter.test.tsx b/packages/sanity/src/core/hooks/__tests__/useUnitFormatter.test.tsx index e7027869a6a..dad913c72e3 100644 --- a/packages/sanity/src/core/hooks/__tests__/useUnitFormatter.test.tsx +++ b/packages/sanity/src/core/hooks/__tests__/useUnitFormatter.test.tsx @@ -16,7 +16,7 @@ describe('useUnitFormatter', () => { i18n: {bundles: [studioDefaultLocaleResources]}, }) - const wrapper = ({children}: {children: ReactElement}) => ( + const wrapper = ({children}: {children: ReactElement<any>}) => ( <ThemeProvider theme={studioTheme}> <LocaleProviderBase locales={[ diff --git a/packages/sanity/src/core/i18n/Translate.tsx b/packages/sanity/src/core/i18n/Translate.tsx index 218d312f32e..efe5316622e 100644 --- a/packages/sanity/src/core/i18n/Translate.tsx +++ b/packages/sanity/src/core/i18n/Translate.tsx @@ -34,7 +34,7 @@ type FormatterFns = {list: (value: Iterable<string>) => string} */ export type TranslateComponentMap = Record< string, - ComponentType<{children?: ReactNode}> | keyof JSX.IntrinsicElements + ComponentType<{children?: ReactNode}> | keyof React.JSX.IntrinsicElements > /** diff --git a/packages/sanity/src/core/presence/PresenceTooltip.tsx b/packages/sanity/src/core/presence/PresenceTooltip.tsx index 9a5b6ec00e0..2a287cbbe85 100644 --- a/packages/sanity/src/core/presence/PresenceTooltip.tsx +++ b/packages/sanity/src/core/presence/PresenceTooltip.tsx @@ -6,7 +6,7 @@ import {UserAvatar} from '../components/userAvatar' import {type FormNodePresence} from './types' interface PresenceTooltipProps { - children?: ReactElement + children?: ReactElement<any> items: FormNodePresence[] } diff --git a/packages/sanity/src/core/presence/overlay/StickyOverlay.tsx b/packages/sanity/src/core/presence/overlay/StickyOverlay.tsx index fadb413937c..792859a2a05 100644 --- a/packages/sanity/src/core/presence/overlay/StickyOverlay.tsx +++ b/packages/sanity/src/core/presence/overlay/StickyOverlay.tsx @@ -327,7 +327,7 @@ function PresenceInside(props: { ) } -const PassThrough = (props: {children: ReactElement; [prop: string]: any}) => props.children +const PassThrough = (props: {children: ReactElement<any>; [prop: string]: any}) => props.children const DebugValue = DEBUG ? function DebugValue(props: any) { diff --git a/packages/sanity/src/core/preview/components/PreviewLoader.tsx b/packages/sanity/src/core/preview/components/PreviewLoader.tsx index e4689fa83c0..13bc2fe7d1e 100644 --- a/packages/sanity/src/core/preview/components/PreviewLoader.tsx +++ b/packages/sanity/src/core/preview/components/PreviewLoader.tsx @@ -20,7 +20,7 @@ export function PreviewLoader( props: RenderPreviewCallbackProps & { component: ComponentType<Omit<PreviewProps, 'renderDefault'>> }, -): ReactElement { +): ReactElement<any> { const { layout, value, diff --git a/packages/sanity/src/core/preview/components/SanityDefaultPreview.tsx b/packages/sanity/src/core/preview/components/SanityDefaultPreview.tsx index 7d9c3fa3126..d2c8b1ba87e 100644 --- a/packages/sanity/src/core/preview/components/SanityDefaultPreview.tsx +++ b/packages/sanity/src/core/preview/components/SanityDefaultPreview.tsx @@ -39,7 +39,7 @@ export interface SanityDefaultPreviewProps extends Omit<PreviewProps, 'renderDef * */ export const SanityDefaultPreview = memo(function SanityDefaultPreview( props: SanityDefaultPreviewProps, -): ReactElement { +): ReactElement<any> { const {icon: Icon, layout, media: mediaProp, imageUrl, title, tooltip, ...restProps} = props const client = useClient(DEFAULT_STUDIO_CLIENT_OPTIONS) diff --git a/packages/sanity/src/core/scheduledPublishing/components/dialogs/DialogTimeZone.tsx b/packages/sanity/src/core/scheduledPublishing/components/dialogs/DialogTimeZone.tsx index ad975ab5fc6..294336d1d8a 100644 --- a/packages/sanity/src/core/scheduledPublishing/components/dialogs/DialogTimeZone.tsx +++ b/packages/sanity/src/core/scheduledPublishing/components/dialogs/DialogTimeZone.tsx @@ -120,6 +120,7 @@ const DialogTimeZone = (props: DialogTimeZoneProps) => { options={allTimeZones} padding={4} placeholder="Search for a city or time zone" + // @ts-expect-error fix boundaryElement typings later popover={{ boundaryElement: document.querySelector('body'), constrainSize: true, diff --git a/packages/sanity/src/core/scheduledPublishing/components/scheduleItem/PreviewWrapper.tsx b/packages/sanity/src/core/scheduledPublishing/components/scheduleItem/PreviewWrapper.tsx index abba5514f78..d598125076e 100644 --- a/packages/sanity/src/core/scheduledPublishing/components/scheduleItem/PreviewWrapper.tsx +++ b/packages/sanity/src/core/scheduledPublishing/components/scheduleItem/PreviewWrapper.tsx @@ -31,7 +31,7 @@ interface Props { children?: ReactNode contextMenu?: ReactNode // eslint-disable-next-line no-undef - linkComponent?: ElementType | keyof JSX.IntrinsicElements + linkComponent?: ElementType | keyof React.JSX.IntrinsicElements onClick?: () => void previewState?: PaneItemPreviewState publishedDocumentId?: string diff --git a/packages/sanity/src/core/scheduledPublishing/tool/Tool.tsx b/packages/sanity/src/core/scheduledPublishing/tool/Tool.tsx index cc0a5aaab15..1ca4f28e41b 100644 --- a/packages/sanity/src/core/scheduledPublishing/tool/Tool.tsx +++ b/packages/sanity/src/core/scheduledPublishing/tool/Tool.tsx @@ -35,7 +35,7 @@ export default function Tool() { const {error, isInitialLoading, schedules = NO_SCHEDULE} = usePollSchedules() const {enabled} = useScheduledPublishingEnabled() - const lastScheduleState = useRef<ScheduleState | undefined>() + const lastScheduleState = useRef<ScheduleState | undefined>(undefined) const scheduleState: ScheduleState = router.state.state as ScheduleState const selectedDate = router.state.date diff --git a/packages/sanity/src/core/studio/Studio.tsx b/packages/sanity/src/core/studio/Studio.tsx index aeff6e95668..5a6dfb2aa2c 100644 --- a/packages/sanity/src/core/studio/Studio.tsx +++ b/packages/sanity/src/core/studio/Studio.tsx @@ -93,7 +93,7 @@ export interface StudioProps { /** * @hidden * @beta */ -export function Studio(props: StudioProps): ReactElement { +export function Studio(props: StudioProps): ReactElement<any> { const { basePath, config, diff --git a/packages/sanity/src/core/studio/colorScheme.tsx b/packages/sanity/src/core/studio/colorScheme.tsx index c37fd87902d..8a9202ff6be 100644 --- a/packages/sanity/src/core/studio/colorScheme.tsx +++ b/packages/sanity/src/core/studio/colorScheme.tsx @@ -113,7 +113,7 @@ export function ColorSchemeCustomProvider({ scheme, }: Pick<ColorSchemeProviderProps, 'children' | 'onSchemeChange'> & { scheme: StudioThemeColorSchemeKey -}): JSX.Element { +}): React.JSX.Element { return ( <ColorSchemeSetValueContext.Provider value={typeof onSchemeChange === 'function' ? onSchemeChange : false} diff --git a/packages/sanity/src/core/studio/components/navbar/search/components/filters/addFilter/items/FilterTooltip.tsx b/packages/sanity/src/core/studio/components/navbar/search/components/filters/addFilter/items/FilterTooltip.tsx index 556aa711fe7..da73c8b8e1e 100644 --- a/packages/sanity/src/core/studio/components/navbar/search/components/filters/addFilter/items/FilterTooltip.tsx +++ b/packages/sanity/src/core/studio/components/navbar/search/components/filters/addFilter/items/FilterTooltip.tsx @@ -14,7 +14,7 @@ import {getSchemaField} from '../../../../utils/getSchemaField' import {sanitizeFieldValue} from '../../../../utils/sanitizeField' interface FilterTooltipProps { - children: ReactElement + children: ReactElement<any> fieldDefinition?: SearchFieldDefinition filterDefinition: SearchFilterDefinition visible?: boolean diff --git a/packages/sanity/src/core/studio/components/navbar/search/components/filters/filter/inputs/reference/ReferenceAutocomplete.tsx b/packages/sanity/src/core/studio/components/navbar/search/components/filters/filter/inputs/reference/ReferenceAutocomplete.tsx index f01caf53509..d4ae140754b 100644 --- a/packages/sanity/src/core/studio/components/navbar/search/components/filters/filter/inputs/reference/ReferenceAutocomplete.tsx +++ b/packages/sanity/src/core/studio/components/navbar/search/components/filters/filter/inputs/reference/ReferenceAutocomplete.tsx @@ -26,7 +26,7 @@ import {SearchResultItem} from '../../../../searchResults/item/SearchResultItem' type AutocompleteSearchHit = {value: string} & SearchHit interface PopoverContentProps { - content: ReactElement | null + content: ReactElement<any> | null hidden: boolean onMouseEnter: () => void onMouseLeave: () => void diff --git a/packages/sanity/src/core/studio/components/navbar/search/utils/sanitizeField.ts b/packages/sanity/src/core/studio/components/navbar/search/utils/sanitizeField.ts index 32f7185244f..3487f1a36d1 100644 --- a/packages/sanity/src/core/studio/components/navbar/search/utils/sanitizeField.ts +++ b/packages/sanity/src/core/studio/components/navbar/search/utils/sanitizeField.ts @@ -5,7 +5,7 @@ import {renderToString} from 'react-dom/server' * Convert a field value to a string (if it's a React element) and remove HTML tags. * If the field value is a string, pass through as-is. */ -export function sanitizeFieldValue(name: string | ReactElement): string { +export function sanitizeFieldValue(name: string | ReactElement<any>): string { if (isValidElement(name)) { return stripHtmlTags(renderToString(name)) } diff --git a/packages/sanity/src/core/studio/studioAnnouncements/Divider.tsx b/packages/sanity/src/core/studio/studioAnnouncements/Divider.tsx index bf94a2fbd4c..7ae01bc3d1a 100644 --- a/packages/sanity/src/core/studio/studioAnnouncements/Divider.tsx +++ b/packages/sanity/src/core/studio/studioAnnouncements/Divider.tsx @@ -13,7 +13,7 @@ const Hr = styled.hr<{$show: boolean}>` ` interface DividerProps { - parentRef: React.RefObject<HTMLDivElement> + parentRef: React.RefObject<HTMLDivElement | null> } /** @@ -28,7 +28,7 @@ const DIVIDER_FADE_THRESHOLD = '-60px 0px 0px 0px' /** * A divider that fades when reaching the top of the parent. */ -export function Divider({parentRef}: DividerProps): JSX.Element { +export function Divider({parentRef}: DividerProps): React.JSX.Element { const itemRef = useRef<HTMLHRElement | null>(null) const [show, setShow] = useState(true) diff --git a/packages/sanity/src/core/studio/studioAnnouncements/StudioAnnouncementsDialog.tsx b/packages/sanity/src/core/studio/studioAnnouncements/StudioAnnouncementsDialog.tsx index 9ae088476bc..4c1313b7c8a 100644 --- a/packages/sanity/src/core/studio/studioAnnouncements/StudioAnnouncementsDialog.tsx +++ b/packages/sanity/src/core/studio/studioAnnouncements/StudioAnnouncementsDialog.tsx @@ -48,7 +48,7 @@ interface AnnouncementProps { announcement: StudioAnnouncementDocument mode: DialogMode isFirst: boolean - parentRef: React.RefObject<HTMLDivElement> + parentRef: React.RefObject<HTMLDivElement | null> } /** diff --git a/packages/sanity/src/core/studio/workspace.tsx b/packages/sanity/src/core/studio/workspace.tsx index 481c645205f..6f21fd98893 100644 --- a/packages/sanity/src/core/studio/workspace.tsx +++ b/packages/sanity/src/core/studio/workspace.tsx @@ -1,4 +1,4 @@ -import {type ReactChild, useContext} from 'react' +import {type ReactElement, useContext} from 'react' import {WorkspaceContext} from 'sanity/_singletons' import {type Workspace} from '../config' @@ -6,7 +6,7 @@ import {type Workspace} from '../config' /** @internal */ export interface WorkspaceProviderProps { workspace: Workspace - children?: ReactChild + children?: ReactElement<any> | number | string } /** @internal */ diff --git a/packages/sanity/src/core/tasks/components/activity/helpers/index.tsx b/packages/sanity/src/core/tasks/components/activity/helpers/index.tsx index e9438216fe6..3abfc95f75f 100644 --- a/packages/sanity/src/core/tasks/components/activity/helpers/index.tsx +++ b/packages/sanity/src/core/tasks/components/activity/helpers/index.tsx @@ -105,8 +105,8 @@ function TargetContentChange({target}: {target: TaskTarget}) { export function getChangeDetails(activity: FieldChange): { text: string - icon: ReactElement - changeTo?: ReactElement + icon: ReactElement<any> + changeTo?: ReactElement<any> } { switch (activity.field) { case 'status': { diff --git a/packages/sanity/src/core/tasks/components/form/fields/assignee/AssigneeSelectionMenu.tsx b/packages/sanity/src/core/tasks/components/form/fields/assignee/AssigneeSelectionMenu.tsx index 2c3714be450..d0b75d6ac3c 100644 --- a/packages/sanity/src/core/tasks/components/form/fields/assignee/AssigneeSelectionMenu.tsx +++ b/packages/sanity/src/core/tasks/components/form/fields/assignee/AssigneeSelectionMenu.tsx @@ -182,7 +182,7 @@ function MentionsMenu({onSelect, value = ''}: {onSelect: SelectItemHandler; valu export function AssigneeSelectionMenu(props: { onSelect: (userId: string) => void - menuButton: React.ReactElement + menuButton: React.ReactElement<any> value?: string }) { const {onSelect, menuButton, value} = props diff --git a/packages/sanity/src/core/tasks/context/isLastPane/IsLastPaneProvider.tsx b/packages/sanity/src/core/tasks/context/isLastPane/IsLastPaneProvider.tsx index 2bdcc980123..c4cf9901000 100644 --- a/packages/sanity/src/core/tasks/context/isLastPane/IsLastPaneProvider.tsx +++ b/packages/sanity/src/core/tasks/context/isLastPane/IsLastPaneProvider.tsx @@ -9,6 +9,9 @@ interface IsLastPaneProviderProps { * @internal * @hidden */ -export function IsLastPaneProvider({children, isLastPane}: IsLastPaneProviderProps): JSX.Element { +export function IsLastPaneProvider({ + children, + isLastPane, +}: IsLastPaneProviderProps): React.JSX.Element { return <IsLastPaneContext.Provider value={isLastPane}>{children}</IsLastPaneContext.Provider> } diff --git a/packages/sanity/src/core/templates/types.ts b/packages/sanity/src/core/templates/types.ts index 91469f8a52f..699b18aa5ac 100644 --- a/packages/sanity/src/core/templates/types.ts +++ b/packages/sanity/src/core/templates/types.ts @@ -179,7 +179,7 @@ export interface TemplateItem { * React icon for the item, if any. * Defaults to the icon for the associated template. */ - icon?: ElementType | ReactElement + icon?: ElementType | ReactElement<any> /** * Experimental: not fully supported yet diff --git a/packages/sanity/src/core/user-color/provider.tsx b/packages/sanity/src/core/user-color/provider.tsx index f306b1dbe07..70b61425e46 100644 --- a/packages/sanity/src/core/user-color/provider.tsx +++ b/packages/sanity/src/core/user-color/provider.tsx @@ -15,7 +15,7 @@ export interface UserColorManagerProviderProps { export function UserColorManagerProvider({ children, manager: managerFromProps, -}: UserColorManagerProviderProps): ReactElement { +}: UserColorManagerProviderProps): ReactElement<any> { const scheme = useColorSchemeValue() const manager = useMemo(() => { diff --git a/packages/sanity/src/router/RouteScope.tsx b/packages/sanity/src/router/RouteScope.tsx index f9d9bece7d3..5059981bea7 100644 --- a/packages/sanity/src/router/RouteScope.tsx +++ b/packages/sanity/src/router/RouteScope.tsx @@ -63,7 +63,7 @@ export interface RouteScopeProps { * } * ``` */ -export const RouteScope = function RouteScope(props: RouteScopeProps): ReactElement { +export const RouteScope = function RouteScope(props: RouteScopeProps): ReactElement<any> { const {children, scope, __unsafe_disableScopedSearchParams} = props const parentRouter = useRouter() const {resolvePathFromState: parent_resolvePathFromState, navigate: parent_navigate} = diff --git a/packages/sanity/src/router/RouterProvider.tsx b/packages/sanity/src/router/RouterProvider.tsx index d21166e7dfd..211e55c677e 100644 --- a/packages/sanity/src/router/RouterProvider.tsx +++ b/packages/sanity/src/router/RouterProvider.tsx @@ -77,7 +77,7 @@ export interface RouterProviderProps { * * @public */ -export function RouterProvider(props: RouterProviderProps): ReactElement { +export function RouterProvider(props: RouterProviderProps): ReactElement<any> { const {onNavigate, router: routerProp, state} = props const resolveIntentLink = useCallback( diff --git a/packages/sanity/src/router/withRouter.tsx b/packages/sanity/src/router/withRouter.tsx index 628b7c3e1ac..9914b020130 100644 --- a/packages/sanity/src/router/withRouter.tsx +++ b/packages/sanity/src/router/withRouter.tsx @@ -50,7 +50,7 @@ export interface WithRouterProps { /** * A function that renders the wrapped component with the `router` object as a parameter. */ - children: (router: RouterContextValue) => ReactElement + children: (router: RouterContextValue) => ReactElement<any> } /** diff --git a/packages/sanity/src/structure/StructureToolProvider.tsx b/packages/sanity/src/structure/StructureToolProvider.tsx index 43b7667647c..c697f92e667 100644 --- a/packages/sanity/src/structure/StructureToolProvider.tsx +++ b/packages/sanity/src/structure/StructureToolProvider.tsx @@ -21,7 +21,7 @@ export function StructureToolProvider({ defaultDocumentNode, structure: resolveStructure, children, -}: StructureToolProviderProps): ReactElement { +}: StructureToolProviderProps): ReactElement<any> { const [layoutCollapsed, setLayoutCollapsed] = useState(false) const source = useSource() const configContext = useConfigContextFromSource(source) diff --git a/packages/sanity/src/structure/components/Delay.tsx b/packages/sanity/src/structure/components/Delay.tsx index dc06f2f9224..628610a1aeb 100644 --- a/packages/sanity/src/structure/components/Delay.tsx +++ b/packages/sanity/src/structure/components/Delay.tsx @@ -4,9 +4,9 @@ export function Delay({ children, ms = 0, }: { - children?: ReactElement | (() => ReactElement) + children?: ReactElement<any> | (() => ReactElement<any>) ms?: number -}): ReactElement { +}): ReactElement<any> { const [ready, setReady] = useState(ms <= 0) useEffect(() => { diff --git a/packages/sanity/src/structure/components/pane/PaneContent.tsx b/packages/sanity/src/structure/components/pane/PaneContent.tsx index db7a0b2088b..19f262872e6 100644 --- a/packages/sanity/src/structure/components/pane/PaneContent.tsx +++ b/packages/sanity/src/structure/components/pane/PaneContent.tsx @@ -6,7 +6,7 @@ import {usePane} from './usePane' import {usePaneLayout} from './usePaneLayout' interface PaneContentProps { - as?: ElementType | keyof JSX.IntrinsicElements + as?: ElementType | keyof React.JSX.IntrinsicElements overflow?: BoxOverflow padding?: number | number[] } diff --git a/packages/sanity/src/structure/panes/document/documentInspector/DocumentInspectorPanel.tsx b/packages/sanity/src/structure/panes/document/documentInspector/DocumentInspectorPanel.tsx index 8dec4b1cbb7..7e3cbd89575 100644 --- a/packages/sanity/src/structure/panes/document/documentInspector/DocumentInspectorPanel.tsx +++ b/packages/sanity/src/structure/panes/document/documentInspector/DocumentInspectorPanel.tsx @@ -13,7 +13,9 @@ interface DocumentInspectorPanelProps { flex?: number | number[] } -export function DocumentInspectorPanel(props: DocumentInspectorPanelProps): ReactElement | null { +export function DocumentInspectorPanel( + props: DocumentInspectorPanelProps, +): ReactElement<any> | null { const {documentId, documentType, flex} = props const {collapsed} = usePane() const {closeInspector, inspector} = useDocumentPane() diff --git a/packages/sanity/src/structure/panes/document/documentInspector/Resizable.tsx b/packages/sanity/src/structure/panes/document/documentInspector/Resizable.tsx index 07834447396..d6edcd2b3fc 100644 --- a/packages/sanity/src/structure/panes/document/documentInspector/Resizable.tsx +++ b/packages/sanity/src/structure/panes/document/documentInspector/Resizable.tsx @@ -20,7 +20,7 @@ export function Resizable( ) { const {as: forwardedAs, children, minWidth, maxWidth, ...restProps} = props const [element, setElement] = useState<HTMLDivElement | null>(null) - const elementWidthRef = useRef<number>() + const elementWidthRef = useRef<number>(undefined) const [targetWidth, setTargetWidth] = useState<number>() const handleResizeStart = useCallback(() => { diff --git a/packages/sanity/src/structure/panes/document/documentPanel/banners/Banner.tsx b/packages/sanity/src/structure/panes/document/documentPanel/banners/Banner.tsx index f6b8a70f1fe..869696819c8 100644 --- a/packages/sanity/src/structure/panes/document/documentPanel/banners/Banner.tsx +++ b/packages/sanity/src/structure/panes/document/documentPanel/banners/Banner.tsx @@ -1,11 +1,11 @@ import {type ButtonMode, type ButtonTone, Card, type CardTone, Flex, Text} from '@sanity/ui' -import {type ComponentType, type ElementType, type JSX, type ReactNode} from 'react' +import {type ComponentType, type ElementType, type ReactNode} from 'react' import {Button} from '../../../../../ui-components' interface BannerProps { action?: { - as?: ElementType | keyof JSX.IntrinsicElements + as?: ElementType | keyof React.JSX.IntrinsicElements icon?: ComponentType onClick?: () => void text: string diff --git a/packages/sanity/src/structure/panes/document/documentPanel/banners/DraftLiveEditBanner.tsx b/packages/sanity/src/structure/panes/document/documentPanel/banners/DraftLiveEditBanner.tsx index e48bd253e3f..eb2521a34c0 100644 --- a/packages/sanity/src/structure/panes/document/documentPanel/banners/DraftLiveEditBanner.tsx +++ b/packages/sanity/src/structure/panes/document/documentPanel/banners/DraftLiveEditBanner.tsx @@ -26,7 +26,7 @@ export function DraftLiveEditBanner({ displayed, documentId, schemaType, -}: DraftLiveEditBannerProps): JSX.Element | null { +}: DraftLiveEditBannerProps): React.JSX.Element | null { const {t} = useTranslation(structureLocaleNamespace) const [isPublishing, setPublishing] = useState(false) const [isDiscarding, setDiscarding] = useState(false) diff --git a/packages/sanity/src/structure/panes/document/documentPanel/header/DocumentHeaderTitle.tsx b/packages/sanity/src/structure/panes/document/documentPanel/header/DocumentHeaderTitle.tsx index ee6fe289438..9f09500af68 100644 --- a/packages/sanity/src/structure/panes/document/documentPanel/header/DocumentHeaderTitle.tsx +++ b/packages/sanity/src/structure/panes/document/documentPanel/header/DocumentHeaderTitle.tsx @@ -4,7 +4,7 @@ import {unstable_useValuePreview as useValuePreview, useTranslation} from 'sanit import {structureLocaleNamespace} from '../../../../i18n' import {useDocumentPane} from '../../useDocumentPane' -export function DocumentHeaderTitle(): ReactElement { +export function DocumentHeaderTitle(): ReactElement<any> { const {connectionState, schemaType, title, editState} = useDocumentPane() const documentValue = editState?.draft || editState?.published const subscribed = Boolean(documentValue) diff --git a/packages/sanity/src/structure/panes/document/inspectors/changes/ChangesInspector.tsx b/packages/sanity/src/structure/panes/document/inspectors/changes/ChangesInspector.tsx index 8eb38d8c7d6..db4d702d96a 100644 --- a/packages/sanity/src/structure/panes/document/inspectors/changes/ChangesInspector.tsx +++ b/packages/sanity/src/structure/panes/document/inspectors/changes/ChangesInspector.tsx @@ -35,7 +35,7 @@ const Grid = styled(Box)` gap: 0.25em; ` -export function ChangesInspector({showChanges}: {showChanges: boolean}): ReactElement { +export function ChangesInspector({showChanges}: {showChanges: boolean}): ReactElement<any> { const {documentId, schemaType, timelineError, timelineStore, value} = useDocumentPane() const [scrollRef, setScrollRef] = useState<HTMLDivElement | null>(null) diff --git a/packages/sanity/src/structure/panes/document/statusBar/DocumentStatusBar.tsx b/packages/sanity/src/structure/panes/document/statusBar/DocumentStatusBar.tsx index 58325306bce..5ad06730077 100644 --- a/packages/sanity/src/structure/panes/document/statusBar/DocumentStatusBar.tsx +++ b/packages/sanity/src/structure/panes/document/statusBar/DocumentStatusBar.tsx @@ -45,7 +45,7 @@ export function DocumentStatusBar(props: DocumentStatusBarProps) { const shouldRender = editState?.ready && typeof collapsed === 'boolean' - let actions: JSX.Element | null = null + let actions: React.JSX.Element | null = null if (createLinkMetadata && isSanityCreateLinked(createLinkMetadata) && CreateLinkedActions) { actions = ( <CreateLinkedActions diff --git a/packages/sanity/src/structure/panes/document/statusBar/RevisionStatusLine.tsx b/packages/sanity/src/structure/panes/document/statusBar/RevisionStatusLine.tsx index 18a586bbd05..84682b965f6 100644 --- a/packages/sanity/src/structure/panes/document/statusBar/RevisionStatusLine.tsx +++ b/packages/sanity/src/structure/panes/document/statusBar/RevisionStatusLine.tsx @@ -16,7 +16,7 @@ export const StatusText = styled(Text)` } ` -export function RevisionStatusLine(): JSX.Element { +export function RevisionStatusLine(): React.JSX.Element { const {displayed} = useDocumentPane() const {t} = useTranslation() const date = displayed?._updatedAt || displayed?._createdAt diff --git a/packages/sanity/src/structure/panes/documentList/sheetList/SheetListCell.tsx b/packages/sanity/src/structure/panes/documentList/sheetList/SheetListCell.tsx index 6db364f71ad..7c9fd9f4b34 100644 --- a/packages/sanity/src/structure/panes/documentList/sheetList/SheetListCell.tsx +++ b/packages/sanity/src/structure/panes/documentList/sheetList/SheetListCell.tsx @@ -157,7 +157,9 @@ export function SheetListCellInner(props: SheetListCellInnerProps) { 'aria-selected': !!cellState, 'data-testid': cellId, 'id': cellId, - 'ref': (ref: InputRef) => (inputRef.current = ref), + 'ref': (ref: InputRef) => { + inputRef.current = ref + }, } if (fieldType.name === 'boolean') { diff --git a/packages/sanity/src/structure/panes/userComponent/UserComponentPane.tsx b/packages/sanity/src/structure/panes/userComponent/UserComponentPane.tsx index 62cb29aa4bc..35017d8f3a7 100644 --- a/packages/sanity/src/structure/panes/userComponent/UserComponentPane.tsx +++ b/packages/sanity/src/structure/panes/userComponent/UserComponentPane.tsx @@ -20,7 +20,7 @@ export function UserComponentPane(props: UserComponentPaneProps) { component: UserComponent, menuItems, menuItemGroups, - // eslint-disable-next-line @typescript-eslint/no-unused-vars + // eslint-disable-next-line @typescript-eslint/no-unused-vars, unused-imports/no-unused-vars type: _unused, ...restPane } = pane @@ -46,8 +46,7 @@ export function UserComponentPane(props: UserComponentPaneProps) { {...restPane} // NOTE: here we're utilizing the function form of refs so setting // the ref causes a re-render for `UserComponentPaneHeader` - ref={setRef as any} - // @ts-expect-error - @TODO Fix typings + ref={setRef} child={child} paneKey={paneKey} /> diff --git a/packages/sanity/src/ui-components/errorBoundary/ErrorBoundary.tsx b/packages/sanity/src/ui-components/errorBoundary/ErrorBoundary.tsx index 09c0583f66f..ad95f625c3e 100644 --- a/packages/sanity/src/ui-components/errorBoundary/ErrorBoundary.tsx +++ b/packages/sanity/src/ui-components/errorBoundary/ErrorBoundary.tsx @@ -13,7 +13,7 @@ export type ErrorBoundaryProps = UIErrorBoundaryProps * ErrorBoundary component that catches errors and uses onUncaughtError config property * It also calls the onCatch prop if it exists. */ -export function ErrorBoundary({onCatch, ...rest}: ErrorBoundaryProps): JSX.Element { +export function ErrorBoundary({onCatch, ...rest}: ErrorBoundaryProps): React.JSX.Element { // Use context, because source could be undefined and we don't want to throw in that case const source = useContext(SourceContext) diff --git a/packages/sanity/src/ui-components/menuGroup/MenuGroup.tsx b/packages/sanity/src/ui-components/menuGroup/MenuGroup.tsx index b1516f20b93..a9299afe823 100644 --- a/packages/sanity/src/ui-components/menuGroup/MenuGroup.tsx +++ b/packages/sanity/src/ui-components/menuGroup/MenuGroup.tsx @@ -11,7 +11,8 @@ export type MenuGroupProps = Pick<UIMenuGroupProps, 'icon' | 'popover' | 'text' * @internal */ export const MenuGroup = ( - props: MenuGroupProps & Omit<HTMLProps<HTMLDivElement>, 'as' | 'height' | 'ref' | 'tabIndex'>, + props: MenuGroupProps & + Omit<HTMLProps<HTMLDivElement>, 'as' | 'height' | 'ref' | 'tabIndex' | 'popover'>, ) => { return <UIMenuGroup {...props} fontSize={1} padding={3} /> } diff --git a/packages/sanity/src/ui-components/menuItem/MenuItem.tsx b/packages/sanity/src/ui-components/menuItem/MenuItem.tsx index 952ba655302..33e7e2cacfc 100644 --- a/packages/sanity/src/ui-components/menuItem/MenuItem.tsx +++ b/packages/sanity/src/ui-components/menuItem/MenuItem.tsx @@ -12,7 +12,6 @@ import { forwardRef, type HTMLProps, isValidElement, - type JSX, type ReactNode, type Ref, useCallback, @@ -53,7 +52,7 @@ export type MenuItemProps = Pick< /** * Optional render callback which receives menu item content. */ - renderMenuItem?: (menuItemContent: JSX.Element) => ReactNode + renderMenuItem?: (menuItemContent: React.JSX.Element) => ReactNode text?: string tooltipProps?: TooltipProps | null /** diff --git a/perf/efps/package.json b/perf/efps/package.json index 02b34f46c55..59a7d29288d 100644 --- a/perf/efps/package.json +++ b/perf/efps/package.json @@ -18,8 +18,8 @@ "devDependencies": { "@sanity/client": "^6.24.1", "@swc-node/register": "^1.10.9", - "@types/react": "^18.3.12", - "@types/react-dom": "^18.3.1", + "@types/react": "^19.0.2", + "@types/react-dom": "^19.0.2", "@types/serve-handler": "^6.1.4", "@types/yargs": "^17.0.7", "@vitejs/plugin-react": "^4.3.4", @@ -30,9 +30,8 @@ "globby": "^11.1.0", "ora": "^8.0.1", "playwright": "^1.46.1", - "react": "^18.3.1", - "react-compiler-runtime": "19.0.0-beta-55955c9-20241229", - "react-dom": "^18.3.1", + "react": "^19.0.0", + "react-dom": "^19.0.0", "rollup-plugin-sourcemaps": "^0.6.3", "sanity": "workspace:*", "serve-handler": "^6.1.5", diff --git a/perf/efps/runTest.ts b/perf/efps/runTest.ts index 5bc87891834..aa9f11efda0 100644 --- a/perf/efps/runTest.ts +++ b/perf/efps/runTest.ts @@ -57,7 +57,7 @@ export async function runTest({ plugins: [ {...sourcemaps(), enforce: 'pre'}, react({ - babel: {plugins: [['babel-plugin-react-compiler', {target: '18'}]]}, + babel: {plugins: [['babel-plugin-react-compiler', {target: '19'}]]}, }), ], resolve: {alias}, diff --git a/perf/studio/package.json b/perf/studio/package.json index ed0706a9155..0d11e752191 100644 --- a/perf/studio/package.json +++ b/perf/studio/package.json @@ -15,10 +15,9 @@ }, "dependencies": { "babel-plugin-react-compiler": "19.0.0-beta-55955c9-20241229", - "react": "^18.3.1", - "react-compiler-runtime": "19.0.0-beta-55955c9-20241229", - "react-dom": "^18.3.1", + "react": "^19.0.0", + "react-dom": "^19.0.0", "sanity": "workspace:*", - "styled-components": "^6.1.0" + "styled-components": "^6.1.13" } } diff --git a/perf/studio/sanity.cli.ts b/perf/studio/sanity.cli.ts index c0b0c04ed38..8cb813f8d91 100644 --- a/perf/studio/sanity.cli.ts +++ b/perf/studio/sanity.cli.ts @@ -7,5 +7,5 @@ export default defineCliConfig({ projectId: STUDIO_PROJECT_ID, dataset: STUDIO_DATASET, }, - reactCompiler: {target: '18'}, + reactCompiler: {target: '19'}, }) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d7042ec43eb..9d7a098c371 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -59,10 +59,10 @@ importers: version: 0.0.1-alpha.1 '@sanity/tsdoc': specifier: 1.0.157 - version: 1.0.157(@emotion/is-prop-valid@1.3.1)(@types/babel__core@7.20.5)(@types/node@22.10.2)(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react-is@19.0.0-rc.1)(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.37.0)(yaml@2.6.1) + version: 1.0.157(@emotion/is-prop-valid@1.3.1)(@types/babel__core@7.20.5)(@types/node@22.10.2)(babel-plugin-react-compiler@19.0.0-beta-55955c9-20241229)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(terser@5.37.0)(yaml@2.6.1) '@sanity/ui': specifier: ^2.10.14 - version: 2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react-is@19.0.0-rc.1)(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.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) '@sanity/uuid': specifier: ^3.0.2 version: 3.0.2 @@ -76,8 +76,8 @@ importers: specifier: ^22.10.0 version: 22.10.2 '@types/react': - specifier: ^18.3.12 - version: 18.3.18 + specifier: ^19.0.2 + version: 19.0.2 '@types/semver': specifier: ^7.5.6 version: 7.5.8 @@ -235,47 +235,47 @@ importers: dependencies: '@sanity/icons': specifier: ^3.5.6 - version: 3.5.7(react@18.3.1) + version: 3.5.7(react@19.0.0) '@sanity/ui': specifier: ^2.10.14 - version: 2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc.1)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + version: 2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.0.0 react-dom: - specifier: ^18.3.1 - version: 18.3.1(react@18.3.1) + specifier: ^19.0.0 + version: 19.0.0(react@19.0.0) sanity: specifier: workspace:* version: link:../../packages/sanity styled-components: specifier: ^6.1.0 - version: 6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0) dev/embedded-studio: dependencies: '@sanity/ui': specifier: ^2.10.14 - version: 2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc.1)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + version: 2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.0.0 react-dom: - specifier: ^18.3.1 - version: 18.3.1(react@18.3.1) + specifier: ^19.0.0 + version: 19.0.0(react@19.0.0) sanity: specifier: workspace:* version: link:../../packages/sanity styled-components: specifier: ^6.1.0 - version: 6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0) devDependencies: '@types/react': - specifier: ^18.3.18 - version: 18.3.18 + specifier: ^19.0.2 + version: 19.0.2 '@types/react-dom': - specifier: ^18.3.5 - version: 18.3.5(@types/react@18.3.18) + specifier: ^19.0.2 + version: 19.0.2(@types/react@19.0.2) '@vitejs/plugin-react': specifier: ^4.3.4 version: 4.3.4(vite@5.4.11(@types/node@22.10.2)(terser@5.37.0)) @@ -295,41 +295,38 @@ importers: specifier: 19.0.0-beta-55955c9-20241229 version: 19.0.0-beta-55955c9-20241229 react: - specifier: ^18.2.0 - version: 18.3.1 - react-compiler-runtime: - specifier: 19.0.0-beta-55955c9-20241229 - version: 19.0.0-beta-55955c9-20241229(react@18.3.1) + specifier: ^19.0.0 + version: 19.0.0 react-dom: - specifier: ^18.2.0 - version: 18.3.1(react@18.3.1) + specifier: ^19.0.0 + version: 19.0.0(react@19.0.0) react-icons: specifier: ^5.2.1 - version: 5.4.0(react@18.3.1) + version: 5.4.0(react@19.0.0) sanity: specifier: workspace:* version: link:../../packages/sanity styled-components: specifier: ^6.1.8 - version: 6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0) dev/starter-next-studio: dependencies: next: specifier: ^14.0.0 - version: 14.2.21(@babel/core@7.26.0)(@playwright/test@1.49.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 14.2.21(@babel/core@7.26.0)(@playwright/test@1.49.1)(babel-plugin-macros@3.1.0)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.0.0 react-dom: - specifier: ^18.3.1 - version: 18.3.1(react@18.3.1) + specifier: ^19.0.0 + version: 19.0.0(react@19.0.0) sanity: specifier: workspace:* version: link:../../packages/sanity styled-components: specifier: ^6.1.0 - version: 6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0) dev/starter-studio: dependencies: @@ -337,50 +334,47 @@ importers: specifier: 19.0.0-beta-55955c9-20241229 version: 19.0.0-beta-55955c9-20241229 react: - specifier: ^18.3.1 - version: 18.3.1 - react-compiler-runtime: - specifier: 19.0.0-beta-55955c9-20241229 - version: 19.0.0-beta-55955c9-20241229(react@18.3.1) + specifier: ^19.0.0 + version: 19.0.0 react-dom: - specifier: ^18.3.1 - version: 18.3.1(react@18.3.1) + specifier: ^19.0.0 + version: 19.0.0(react@19.0.0) sanity: specifier: workspace:* version: link:../../packages/sanity styled-components: specifier: ^6.1.0 - version: 6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0) dev/strict-studio: dependencies: react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.0.0 react-dom: - specifier: ^18.3.1 - version: 18.3.1(react@18.3.1) + specifier: ^19.0.0 + version: 19.0.0(react@19.0.0) sanity: specifier: workspace:* version: link:../../packages/sanity styled-components: specifier: ^6.1.0 - version: 6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0) dev/studio-e2e-testing: dependencies: '@sanity/color-input': specifier: ^4.0.1 - version: 4.0.3(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc.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: 4.0.3(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) '@sanity/google-maps-input': specifier: ^4.0.0 - version: 4.1.0(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc.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: 4.1.0(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) '@sanity/icons': specifier: ^3.5.6 - version: 3.5.7(react@18.3.1) + version: 3.5.7(react@19.0.0) '@sanity/ui': specifier: ^2.10.14 - version: 2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc.1)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + version: 2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) '@sanity/vision': specifier: 3.68.3 version: link:../../packages/@sanity/vision @@ -388,50 +382,47 @@ importers: specifier: 19.0.0-beta-55955c9-20241229 version: 19.0.0-beta-55955c9-20241229 react: - specifier: ^18.3.1 - version: 18.3.1 - react-compiler-runtime: - specifier: 19.0.0-beta-55955c9-20241229 - version: 19.0.0-beta-55955c9-20241229(react@18.3.1) + specifier: ^19.0.0 + version: 19.0.0 react-dom: - specifier: ^18.3.1 - version: 18.3.1(react@18.3.1) + specifier: ^19.0.0 + version: 19.0.0(react@19.0.0) sanity: specifier: workspace:* version: link:../../packages/sanity sanity-plugin-markdown: specifier: ^5.0.0 - version: 5.0.0(@emotion/is-prop-valid@1.3.1)(easymde@2.18.0)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc.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: 5.0.0(@emotion/is-prop-valid@1.3.1)(easymde@2.18.0)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) sanity-plugin-media: specifier: ^2.3.1 - version: 2.3.2(@sanity/ui@2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc.1)(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.18)(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.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)))(@types/react@19.0.2)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) sanity-plugin-mux-input: specifier: ^2.2.1 - version: 2.4.0(@emotion/is-prop-valid@1.3.1)(@types/react@18.3.18)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc.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.4.0(@emotion/is-prop-valid@1.3.1)(@types/react@19.0.2)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) sanity-test-studio: specifier: workspace:* version: link:../test-studio styled-components: specifier: ^6.1.0 - version: 6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0) dev/test-create-integration-studio: dependencies: '@sanity/code-input': specifier: ^5.0.0 - version: 5.1.2(@babel/runtime@7.26.0)(@codemirror/theme-one-dark@6.1.2)(@emotion/is-prop-valid@1.3.1)(codemirror@6.0.1)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc.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: 5.1.2(@babel/runtime@7.26.0)(@codemirror/theme-one-dark@6.1.2)(@emotion/is-prop-valid@1.3.1)(codemirror@6.0.1)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.0.0 react-dom: - specifier: ^18.3.1 - version: 18.3.1(react@18.3.1) + specifier: ^19.0.0 + version: 19.0.0(react@19.0.0) sanity: specifier: workspace:* version: link:../../packages/sanity styled-components: specifier: ^6.1.0 - version: 6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0) dev/test-next-studio: dependencies: @@ -470,13 +461,13 @@ importers: dependencies: '@portabletext/editor': specifier: ^1.18.7 - version: 1.18.7(@sanity/block-tools@packages+@sanity+block-tools)(@sanity/schema@packages+@sanity+schema)(@sanity/types@packages+@sanity+types)(@types/react@18.3.18)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rxjs@7.8.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + version: 1.18.7(@sanity/block-tools@packages+@sanity+block-tools)(@sanity/schema@packages+@sanity+schema)(@sanity/types@packages+@sanity+types)(@types/react@19.0.2)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(rxjs@7.8.1)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) '@portabletext/react': specifier: ^3.0.0 - version: 3.2.0(react@18.3.1) + version: 3.2.0(react@19.0.0) '@sanity/assist': specifier: ^3.0.2 - version: 3.0.9(@emotion/is-prop-valid@1.3.1)(@sanity/mutator@packages+@sanity+mutator)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc.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: 3.0.9(@emotion/is-prop-valid@1.3.1)(@sanity/mutator@packages+@sanity+mutator)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) '@sanity/block-tools': specifier: 3.68.3 version: link:../../packages/@sanity/block-tools @@ -488,13 +479,13 @@ importers: version: 3.0.6 '@sanity/color-input': specifier: ^4.0.1 - version: 4.0.3(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc.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: 4.0.3(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) '@sanity/google-maps-input': specifier: ^4.0.0 - version: 4.1.0(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc.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: 4.1.0(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) '@sanity/icons': specifier: ^3.5.6 - version: 3.5.7(react@18.3.1) + version: 3.5.7(react@19.0.0) '@sanity/image-url': specifier: ^1.0.2 version: 1.1.0 @@ -515,7 +506,7 @@ importers: version: 1.2.15(sanity@packages+sanity) '@sanity/logos': specifier: ^2.1.2 - version: 2.1.13(@sanity/color@3.0.6)(react@18.3.1) + version: 2.1.13(@sanity/color@3.0.6)(react@19.0.0) '@sanity/migrate': specifier: workspace:* version: link:../../packages/@sanity/migrate @@ -524,19 +515,19 @@ importers: version: 2.0.5(@sanity/client@6.24.1(debug@4.4.0)) '@sanity/react-loader': specifier: ^1.8.3 - version: 1.10.31(react@18.3.1) + version: 1.10.31(react@19.0.0) '@sanity/tsdoc': specifier: 1.0.157 - version: 1.0.157(@emotion/is-prop-valid@1.3.1)(@types/babel__core@7.20.5)(@types/node@22.10.2)(babel-plugin-react-compiler@19.0.0-beta-55955c9-20241229)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc.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.37.0)(yaml@2.6.1) + version: 1.0.157(@emotion/is-prop-valid@1.3.1)(@types/babel__core@7.20.5)(@types/node@22.10.2)(babel-plugin-react-compiler@19.0.0-beta-55955c9-20241229)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(terser@5.37.0)(yaml@2.6.1) '@sanity/types': specifier: workspace:* version: link:../../packages/@sanity/types '@sanity/ui': specifier: ^2.10.14 - version: 2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc.1)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + version: 2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) '@sanity/ui-workshop': - specifier: ^1.0.0 - version: 1.2.11(@sanity/icons@3.5.7(react@18.3.1))(@sanity/ui@2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc.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@22.10.2)(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.37.0) + specifier: ^2.0.20 + version: 2.0.20(@sanity/icons@3.5.7(react@19.0.0))(@sanity/ui@2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)))(@types/node@22.10.2)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(terser@5.37.0)(yaml@2.6.1) '@sanity/util': specifier: workspace:* version: link:../../packages/@sanity/util @@ -548,7 +539,7 @@ importers: version: link:../../packages/@sanity/vision '@sanity/visual-editing': specifier: 2.11.3 - version: 2.11.3(@sanity/client@6.24.1)(next@15.1.2(@babel/core@7.26.0)(@playwright/test@1.49.1)(babel-plugin-macros@3.1.0)(babel-plugin-react-compiler@19.0.0-beta-55955c9-20241229)(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.11.3(@sanity/client@6.24.1)(next@15.1.2(@babel/core@7.26.0)(@playwright/test@1.49.1)(babel-plugin-macros@3.1.0)(babel-plugin-react-compiler@19.0.0-beta-55955c9-20241229)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@turf/helpers': specifier: ^6.0.1 version: 6.5.0 @@ -574,17 +565,14 @@ importers: specifier: ^6.10.2 version: 6.13.1 react: - specifier: ^18.3.1 - version: 18.3.1 - react-compiler-runtime: - specifier: 19.0.0-beta-55955c9-20241229 - version: 19.0.0-beta-55955c9-20241229(react@18.3.1) + specifier: ^19.0.0 + version: 19.0.0 react-dom: - specifier: ^18.3.1 - version: 18.3.1(react@18.3.1) + specifier: ^19.0.0 + version: 19.0.0(react@19.0.0) react-refractor: specifier: ^2.1.6 - version: 2.2.0(react@18.3.1) + version: 2.2.0(react@19.0.0) refractor: specifier: ^3.6.0 version: 3.6.0 @@ -596,19 +584,19 @@ importers: version: link:../../packages/sanity sanity-plugin-hotspot-array: specifier: ^2.0.0 - version: 2.1.2(@emotion/is-prop-valid@1.3.1)(@sanity/ui@2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc.1)(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.2(@emotion/is-prop-valid@1.3.1)(@sanity/ui@2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) sanity-plugin-markdown: specifier: ^5.0.0 - version: 5.0.0(@emotion/is-prop-valid@1.3.1)(easymde@2.18.0)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc.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: 5.0.0(@emotion/is-prop-valid@1.3.1)(easymde@2.18.0)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) sanity-plugin-media: specifier: ^2.3.1 - version: 2.3.2(@sanity/ui@2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc.1)(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.18)(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.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)))(@types/react@19.0.2)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) sanity-plugin-mux-input: specifier: ^2.2.1 - version: 2.4.0(@emotion/is-prop-valid@1.3.1)(@types/react@18.3.18)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc.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.4.0(@emotion/is-prop-valid@1.3.1)(@types/react@19.0.2)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) styled-components: specifier: ^6.1.11 - version: 6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0) devDependencies: '@million/lint': specifier: 1.0.14 @@ -623,32 +611,32 @@ importers: examples/blog-studio: dependencies: react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.0.0 react-dom: - specifier: ^18.3.1 - version: 18.3.1(react@18.3.1) + specifier: ^19.0.0 + version: 19.0.0(react@19.0.0) sanity: specifier: workspace:* version: link:../../packages/sanity styled-components: specifier: ^6.1.0 - version: 6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0) examples/clean-studio: dependencies: react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.0.0 react-dom: - specifier: ^18.3.1 - version: 18.3.1(react@18.3.1) + specifier: ^19.0.0 + version: 19.0.0(react@19.0.0) sanity: specifier: workspace:* version: link:../../packages/sanity styled-components: specifier: ^6.1.0 - version: 6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0) examples/ecommerce-studio: dependencies: @@ -657,40 +645,40 @@ importers: version: link:../../packages/@sanity/cli '@sanity/ui': specifier: ^2.10.14 - version: 2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc.1)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + version: 2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.0.0 react-barcode: specifier: ^1.4.1 - version: 1.5.3(react@18.3.1) + version: 1.5.3(react@19.0.0) react-dom: - specifier: ^18.3.1 - version: 18.3.1(react@18.3.1) + specifier: ^19.0.0 + version: 19.0.0(react@19.0.0) sanity: specifier: workspace:* version: link:../../packages/sanity styled-components: specifier: ^6.1.0 - version: 6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0) examples/movies-studio: dependencies: '@sanity/google-maps-input': specifier: ^4.0.0 - version: 4.1.0(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc.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: 4.1.0(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.0.0 react-dom: - specifier: ^18.3.1 - version: 18.3.1(react@18.3.1) + specifier: ^19.0.0 + version: 19.0.0(react@19.0.0) sanity: specifier: workspace:* version: link:../../packages/sanity styled-components: specifier: ^6.1.0 - version: 6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0) packages/@repo/dev-aliases: {} @@ -760,9 +748,6 @@ importers: '@sanity/types': specifier: 3.68.3 version: link:../types - '@types/react': - specifier: ^18.3.5 - version: 18.3.18 get-random-values-esm: specifier: 1.0.2 version: 1.0.2 @@ -785,11 +770,14 @@ importers: '@types/lodash': specifier: ^4.17.7 version: 4.17.13 + '@types/react': + specifier: ^19.0.2 + version: 19.0.2 '@vercel/stega': specifier: 0.1.2 version: 0.1.2 '@vitest/coverage-v8': - specifier: ^2.1.1 + specifier: ^2.1.8 version: 2.1.8(vitest@2.1.8(@types/node@22.10.2)(jsdom@23.2.0)(terser@5.37.0)) jsdom: specifier: ^23.0.1 @@ -811,7 +799,7 @@ importers: version: link:../codegen '@sanity/telemetry': specifier: ^0.7.7 - version: 0.7.9(react@19.0.0-rc-f994737d14-20240522) + version: 0.7.9(react@19.0.0) '@sanity/template-validator': specifier: ^1.2.1 version: 1.2.1(@types/babel__core@7.20.5)(@types/node@22.10.2)(debug@4.4.0) @@ -1219,7 +1207,7 @@ importers: version: link:../../@repo/test-config '@sanity/icons': specifier: ^3.5.7 - version: 3.5.7(react@19.0.0-rc-f994737d14-20240522) + version: 3.5.7(react@19.0.0) '@types/lodash': specifier: ^4.17.7 version: 4.17.13 @@ -1227,8 +1215,8 @@ importers: specifier: ^1.13.0 version: 1.13.0 '@types/react': - specifier: ^18.3.12 - version: 18.3.18 + specifier: ^19.0.2 + version: 19.0.2 rimraf: specifier: ^5.0.10 version: 5.0.10 @@ -1250,16 +1238,16 @@ importers: version: link:../../@repo/test-config '@sanity/insert-menu': specifier: 1.0.18 - version: 1.0.18(@emotion/is-prop-valid@1.3.1)(@sanity/types@packages+@sanity+types)(react-dom@19.0.0-rc-f994737d14-20240522(react@18.3.1))(react-is@19.0.0-rc.1)(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.18(@emotion/is-prop-valid@1.3.1)(@sanity/types@packages+@sanity+types)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) '@types/react': - specifier: ^18.3.5 - version: 18.3.18 + specifier: ^19.0.2 + version: 19.0.2 '@vitejs/plugin-react': specifier: ^4.3.4 version: 4.3.4(vite@6.0.6(@types/node@22.10.2)(terser@5.37.0)(yaml@2.6.1)) react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.0.0 rimraf: specifier: ^5.0.10 version: 5.0.10 @@ -1329,22 +1317,22 @@ importers: version: 1.2.1 '@rexxars/react-json-inspector': specifier: ^9.0.1 - version: 9.0.1(react@18.3.1) + version: 9.0.1(react@19.0.0) '@rexxars/react-split-pane': specifier: ^1.0.0 - version: 1.0.0(react-dom@19.0.0-rc-f994737d14-20240522(react@18.3.1))(react@18.3.1) + version: 1.0.0(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@sanity/color': specifier: ^3.0.0 version: 3.0.6 '@sanity/icons': specifier: ^3.5.7 - version: 3.5.7(react@18.3.1) + version: 3.5.7(react@19.0.0) '@sanity/ui': specifier: ^2.10.14 - version: 2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0-rc-f994737d14-20240522(react@18.3.1))(react-is@19.0.0-rc.1)(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.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) '@uiw/react-codemirror': specifier: ^4.11.4 - version: 4.23.7(@babel/runtime@7.26.0)(@codemirror/autocomplete@6.18.4)(@codemirror/language@6.10.8)(@codemirror/lint@6.8.4)(@codemirror/search@6.5.8)(@codemirror/state@6.5.0)(@codemirror/theme-one-dark@6.1.2)(@codemirror/view@6.36.1)(codemirror@6.0.1)(react-dom@19.0.0-rc-f994737d14-20240522(react@18.3.1))(react@18.3.1) + version: 4.23.7(@babel/runtime@7.26.0)(@codemirror/autocomplete@6.18.4)(@codemirror/language@6.10.8)(@codemirror/lint@6.8.4)(@codemirror/search@6.5.8)(@codemirror/state@6.5.0)(@codemirror/theme-one-dark@6.1.2)(@codemirror/view@6.36.1)(codemirror@6.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) is-hotkey-esm: specifier: ^1.0.0 version: 1.0.0 @@ -1362,7 +1350,7 @@ importers: version: 5.1.1 react-compiler-runtime: specifier: 19.0.0-beta-55955c9-20241229 - version: 19.0.0-beta-55955c9-20241229(react@18.3.1) + version: 19.0.0-beta-55955c9-20241229(react@19.0.0) devDependencies: '@repo/package.config': specifier: workspace:* @@ -1404,14 +1392,14 @@ importers: specifier: 19.0.0-beta-55955c9-20241229 version: 19.0.0-beta-55955c9-20241229 react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.0.0 sanity: specifier: workspace:* version: link:../../sanity styled-components: specifier: ^6.1.13 - version: 6.1.13(react-dom@19.0.0-rc-f994737d14-20240522(react@18.3.1))(react@18.3.1) + version: 6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0) packages/create-sanity: dependencies: @@ -1432,28 +1420,28 @@ importers: dependencies: '@dnd-kit/core': specifier: ^6.0.5 - version: 6.3.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 6.3.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@dnd-kit/modifiers': specifier: ^6.0.0 - version: 6.0.1(@dnd-kit/core@6.3.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) + version: 6.0.1(@dnd-kit/core@6.3.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react@19.0.0) '@dnd-kit/sortable': specifier: ^7.0.1 - version: 7.0.2(@dnd-kit/core@6.3.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) + version: 7.0.2(@dnd-kit/core@6.3.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react@19.0.0) '@dnd-kit/utilities': specifier: ^3.2.0 - version: 3.2.2(react@18.3.1) + version: 3.2.2(react@19.0.0) '@juggle/resize-observer': specifier: ^3.3.1 version: 3.4.0 '@portabletext/editor': specifier: ^1.18.7 - version: 1.18.7(@sanity/block-tools@packages+@sanity+block-tools)(@sanity/schema@packages+@sanity+schema)(@sanity/types@packages+@sanity+types)(@types/react@18.3.18)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rxjs@7.8.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + version: 1.18.7(@sanity/block-tools@packages+@sanity+block-tools)(@sanity/schema@packages+@sanity+schema)(@sanity/types@packages+@sanity+types)(@types/react@19.0.2)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(rxjs@7.8.1)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) '@portabletext/react': specifier: ^3.0.0 - version: 3.2.0(react@18.3.1) + version: 3.2.0(react@19.0.0) '@rexxars/react-json-inspector': specifier: ^9.0.1 - version: 9.0.1(react@18.3.1) + version: 9.0.1(react@19.0.0) '@sanity/asset-utils': specifier: ^2.0.6 version: 2.2.1 @@ -1486,7 +1474,7 @@ importers: version: 3.42.1 '@sanity/icons': specifier: ^3.5.7 - version: 3.5.7(react@18.3.1) + version: 3.5.7(react@19.0.0) '@sanity/image-url': specifier: ^1.0.2 version: 1.1.0 @@ -1495,10 +1483,10 @@ importers: version: 3.37.9 '@sanity/insert-menu': specifier: 1.0.18 - version: 1.0.18(@emotion/is-prop-valid@1.3.1)(@sanity/types@packages+@sanity+types)(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)) + version: 1.0.18(@emotion/is-prop-valid@1.3.1)(@sanity/types@packages+@sanity+types)(react-dom@19.0.0(react@19.0.0))(react-is@18.3.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) '@sanity/logos': specifier: ^2.1.4 - version: 2.1.13(@sanity/color@3.0.6)(react@18.3.1) + version: 2.1.13(@sanity/color@3.0.6)(react@19.0.0) '@sanity/migrate': specifier: 3.68.3 version: link:../@sanity/migrate @@ -1507,19 +1495,19 @@ importers: version: link:../@sanity/mutator '@sanity/presentation': specifier: 1.19.16 - version: 1.19.16(@emotion/is-prop-valid@1.3.1)(@sanity/color@3.0.6)(debug@4.4.0)(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)) + version: 1.19.16(@emotion/is-prop-valid@1.3.1)(@sanity/color@3.0.6)(debug@4.4.0)(react-dom@19.0.0(react@19.0.0))(react-is@18.3.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) '@sanity/schema': specifier: 3.68.3 version: link:../@sanity/schema '@sanity/telemetry': specifier: ^0.7.7 - version: 0.7.9(react@18.3.1) + version: 0.7.9(react@19.0.0) '@sanity/types': specifier: 3.68.3 version: link:../@sanity/types '@sanity/ui': specifier: ^2.10.14 - version: 2.10.14(@emotion/is-prop-valid@1.3.1)(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)) + version: 2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react-is@18.3.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) '@sanity/util': specifier: 3.68.3 version: link:../@sanity/util @@ -1528,16 +1516,16 @@ importers: version: 3.0.2 '@sentry/react': specifier: ^8.33.0 - version: 8.46.0(react@18.3.1) + version: 8.46.0(react@19.0.0) '@tanstack/react-table': specifier: ^8.16.0 - version: 8.20.6(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 8.20.6(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@tanstack/react-virtual': specifier: ^3.11.2 - version: 3.11.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 3.11.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@types/react-is': - specifier: ^18.3.0 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.0.0 '@types/shallow-equals': specifier: ^1.0.0 version: 1.0.3 @@ -1606,7 +1594,7 @@ importers: version: 4.0.1 framer-motion: specifier: ^11.15.0 - version: 11.15.0(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 11.15.0(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) get-it: specifier: ^8.6.5 version: 8.6.5(debug@4.4.0) @@ -1699,25 +1687,25 @@ importers: version: 3.4.1 react-compiler-runtime: specifier: 19.0.0-beta-55955c9-20241229 - version: 19.0.0-beta-55955c9-20241229(react@18.3.1) + version: 19.0.0-beta-55955c9-20241229(react@19.0.0) react-fast-compare: specifier: ^3.2.0 version: 3.2.2 react-focus-lock: specifier: ^2.13.5 - version: 2.13.5(@types/react@18.3.18)(react@18.3.1) + version: 2.13.5(@types/react@19.0.2)(react@19.0.0) react-i18next: specifier: 14.0.2 - version: 14.0.2(i18next@23.16.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 14.0.2(i18next@23.16.8)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) react-is: specifier: ^18.2.0 version: 18.3.1 react-refractor: specifier: ^2.1.6 - version: 2.2.0(react@18.3.1) + version: 2.2.0(react@19.0.0) react-rx: specifier: ^4.1.11 - version: 4.1.11(react@18.3.1)(rxjs@7.8.1) + version: 4.1.11(react@19.0.0)(rxjs@7.8.1) read-pkg-up: specifier: ^7.0.1 version: 7.0.1 @@ -1762,16 +1750,16 @@ importers: version: 3.1.7 use-device-pixel-ratio: specifier: ^1.1.0 - version: 1.1.2(react@18.3.1) + version: 1.1.2(react@19.0.0) use-effect-event: specifier: ^1.0.2 - version: 1.0.2(react@18.3.1) + version: 1.0.2(react@19.0.0) use-hot-module-reload: specifier: ^2.0.0 - version: 2.0.0(react@18.3.1) + version: 2.0.0(react@19.0.0) use-sync-external-store: - specifier: ^1.2.0 - version: 1.4.0(react@18.3.1) + specifier: ^1.4.0 + version: 1.4.0(react@19.0.0) vite: specifier: ^5.4.11 version: 5.4.11(@types/node@22.10.2)(terser@5.37.0) @@ -1805,19 +1793,19 @@ importers: version: 6.12.3(@types/babel__core@7.20.5)(@types/node@22.10.2)(babel-plugin-react-compiler@19.0.0-beta-55955c9-20241229)(debug@4.4.0)(typescript@5.7.2) '@sanity/tsdoc': specifier: 1.0.157 - version: 1.0.157(@emotion/is-prop-valid@1.3.1)(@types/babel__core@7.20.5)(@types/node@22.10.2)(babel-plugin-react-compiler@19.0.0-beta-55955c9-20241229)(debug@4.4.0)(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.37.0)(yaml@2.6.1) + version: 1.0.157(@emotion/is-prop-valid@1.3.1)(@types/babel__core@7.20.5)(@types/node@22.10.2)(babel-plugin-react-compiler@19.0.0-beta-55955c9-20241229)(debug@4.4.0)(react-dom@19.0.0(react@19.0.0))(react-is@18.3.1)(react@19.0.0)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(terser@5.37.0)(yaml@2.6.1) '@sanity/ui-workshop': - specifier: ^1.2.11 - version: 1.2.11(@sanity/icons@3.5.7(react@18.3.1))(@sanity/ui@2.10.14(@emotion/is-prop-valid@1.3.1)(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@22.10.2)(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.37.0) + specifier: ^2.0.20 + version: 2.0.20(@sanity/icons@3.5.7(react@19.0.0))(@sanity/ui@2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react-is@18.3.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)))(@types/node@22.10.2)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(terser@5.37.0)(yaml@2.6.1) '@sentry/types': specifier: ^8.12.0 version: 8.46.0 '@testing-library/jest-dom': - specifier: ^6.4.8 + specifier: ^6.6.3 version: 6.6.3 '@testing-library/react': specifier: ^16.1.0 - version: 16.1.0(@testing-library/dom@10.4.0)(@types/react-dom@18.3.5(@types/react@18.3.18))(@types/react@18.3.18)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 16.1.0(@testing-library/dom@10.4.0)(@types/react-dom@19.0.2(@types/react@19.0.2))(@types/react@19.0.2)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@testing-library/user-event': specifier: ^13.5.0 version: 13.5.0(@testing-library/dom@10.4.0) @@ -1846,11 +1834,11 @@ importers: specifier: ^3.4.0 version: 3.4.3 '@types/react': - specifier: ^18.3.12 - version: 18.3.18 + specifier: ^19.0.2 + version: 19.0.2 '@types/react-dom': - specifier: ^18.3.1 - version: 18.3.5(@types/react@18.3.18) + specifier: ^19.0.2 + version: 19.0.2(@types/react@19.0.2) '@types/refractor': specifier: ^3.0.0 version: 3.4.1 @@ -1876,23 +1864,23 @@ importers: specifier: 2.0.1 version: 2.0.1(date-fns@2.30.0) react: - specifier: ^18.3.1 - version: 18.3.1 + specifier: ^19.0.0 + version: 19.0.0 react-dom: - specifier: ^18.3.1 - version: 18.3.1(react@18.3.1) + specifier: ^19.0.0 + version: 19.0.0(react@19.0.0) rxjs-etc: specifier: ^10.6.2 version: 10.6.2(rxjs@7.8.1) styled-components: specifier: ^6.1.13 - version: 6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0) swr: specifier: 2.2.5 - version: 2.2.5(react@18.3.1) + version: 2.2.5(react@19.0.0) vitest: - specifier: 2.1.1 - version: 2.1.1(@types/node@22.10.2)(jsdom@23.2.0)(terser@5.37.0) + specifier: 2.1.8 + version: 2.1.8(@types/node@22.10.2)(jsdom@23.2.0)(terser@5.37.0) packages/sanity/fixtures/examples/prj-with-react-18: dependencies: @@ -1909,14 +1897,14 @@ importers: packages/sanity/fixtures/examples/prj-with-react-19: dependencies: react: - specifier: 19.0.0-rc-f994737d14-20240522 - version: 19.0.0-rc-f994737d14-20240522 + specifier: ^19.0.0 + version: 19.0.0 react-dom: - specifier: 19.0.0-rc-f994737d14-20240522 - version: 19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522) + specifier: ^19.0.0 + version: 19.0.0(react@19.0.0) styled-components: specifier: ^6.1.0 - version: 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: 6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0) packages/sanity/fixtures/examples/prj-with-styled-components-5: dependencies: @@ -1939,11 +1927,11 @@ importers: specifier: ^1.10.9 version: 1.10.9(@swc/core@1.10.1(@swc/helpers@0.5.15))(@swc/types@0.1.17)(typescript@5.7.2) '@types/react': - specifier: ^18.3.12 - version: 18.3.18 + specifier: ^19.0.2 + version: 19.0.2 '@types/react-dom': - specifier: ^18.3.1 - version: 18.3.5(@types/react@18.3.18) + specifier: ^19.0.2 + version: 19.0.2(@types/react@19.0.2) '@types/serve-handler': specifier: ^6.1.4 version: 6.1.4 @@ -1975,14 +1963,11 @@ importers: specifier: ^1.46.1 version: 1.49.1 react: - specifier: ^18.3.1 - version: 18.3.1 - react-compiler-runtime: - specifier: 19.0.0-beta-55955c9-20241229 - version: 19.0.0-beta-55955c9-20241229(react@18.3.1) + specifier: ^19.0.0 + version: 19.0.0 react-dom: - specifier: ^18.3.1 - version: 18.3.1(react@18.3.1) + specifier: ^19.0.0 + version: 19.0.0(react@19.0.0) rollup-plugin-sourcemaps: specifier: ^0.6.3 version: 0.6.3(@types/node@22.10.2)(rollup@4.29.1) @@ -2008,20 +1993,17 @@ importers: specifier: 19.0.0-beta-55955c9-20241229 version: 19.0.0-beta-55955c9-20241229 react: - specifier: ^18.3.1 - version: 18.3.1 - react-compiler-runtime: - specifier: 19.0.0-beta-55955c9-20241229 - version: 19.0.0-beta-55955c9-20241229(react@18.3.1) + specifier: ^19.0.0 + version: 19.0.0 react-dom: - specifier: ^18.3.1 - version: 18.3.1(react@18.3.1) + specifier: ^19.0.0 + version: 19.0.0(react@19.0.0) sanity: specifier: workspace:* version: link:../../packages/sanity styled-components: - specifier: ^6.1.0 - version: 6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: ^6.1.13 + version: 6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0) perf/tests: dependencies: @@ -2854,12 +2836,6 @@ packages: '@emotion/weak-memoize@0.4.0': resolution: {integrity: sha512-snKqtPW01tN0ui7yu9rGv69aJXr/a/Ywvl11sUjNtEcRc+ng/mQriFL0wLXMef74iHa/EkftbDzU9F8iFbH+zg==} - '@esbuild/aix-ppc64@0.19.12': - resolution: {integrity: sha512-bmoCYyWdEL3wDQIVbcyzRyeKLgk2WtWLTWz1ZIAZF/EGbNOwSA6ew3PftJ1PqMiOOGu0OyFMzG53L0zqIpPeNA==} - engines: {node: '>=12'} - cpu: [ppc64] - os: [aix] - '@esbuild/aix-ppc64@0.20.2': resolution: {integrity: sha512-D+EBOJHXdNZcLJRBkhENNG8Wji2kgc9AZ9KiPr1JuZjsNtyHzrsfLRrY0tk2H2aoFu6RANO1y1iPPUCDYWkb5g==} engines: {node: '>=12'} @@ -2878,18 +2854,6 @@ packages: cpu: [ppc64] os: [aix] - '@esbuild/android-arm64@0.18.20': - resolution: {integrity: sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==} - engines: {node: '>=12'} - cpu: [arm64] - os: [android] - - '@esbuild/android-arm64@0.19.12': - resolution: {integrity: sha512-P0UVNGIienjZv3f5zq0DP3Nt2IE/3plFzuaS96vihvD0Hd6H/q4WXUGpCxD/E8YrSXfNyRPbpTq+T8ZQioSuPA==} - engines: {node: '>=12'} - cpu: [arm64] - os: [android] - '@esbuild/android-arm64@0.20.2': resolution: {integrity: sha512-mRzjLacRtl/tWU0SvD8lUEwb61yP9cqQo6noDZP/O8VkwafSYwZ4yWy24kan8jE/IMERpYncRt2dw438LP3Xmg==} engines: {node: '>=12'} @@ -2908,18 +2872,6 @@ packages: cpu: [arm64] os: [android] - '@esbuild/android-arm@0.18.20': - resolution: {integrity: sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw==} - engines: {node: '>=12'} - cpu: [arm] - os: [android] - - '@esbuild/android-arm@0.19.12': - resolution: {integrity: sha512-qg/Lj1mu3CdQlDEEiWrlC4eaPZ1KztwGJ9B6J+/6G+/4ewxJg7gqj8eVYWvao1bXrqGiW2rsBZFSX3q2lcW05w==} - engines: {node: '>=12'} - cpu: [arm] - os: [android] - '@esbuild/android-arm@0.20.2': resolution: {integrity: sha512-t98Ra6pw2VaDhqNWO2Oph2LXbz/EJcnLmKLGBJwEwXX/JAN83Fym1rU8l0JUWK6HkIbWONCSSatf4sf2NBRx/w==} engines: {node: '>=12'} @@ -2938,18 +2890,6 @@ packages: cpu: [arm] os: [android] - '@esbuild/android-x64@0.18.20': - resolution: {integrity: sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg==} - engines: {node: '>=12'} - cpu: [x64] - os: [android] - - '@esbuild/android-x64@0.19.12': - resolution: {integrity: sha512-3k7ZoUW6Q6YqhdhIaq/WZ7HwBpnFBlW905Fa4s4qWJyiNOgT1dOqDiVAQFwBH7gBRZr17gLrlFCRzF6jFh7Kew==} - engines: {node: '>=12'} - cpu: [x64] - os: [android] - '@esbuild/android-x64@0.20.2': resolution: {integrity: sha512-btzExgV+/lMGDDa194CcUQm53ncxzeBrWJcncOBxuC6ndBkKxnHdFJn86mCIgTELsooUmwUm9FkhSp5HYu00Rg==} engines: {node: '>=12'} @@ -2968,18 +2908,6 @@ packages: cpu: [x64] os: [android] - '@esbuild/darwin-arm64@0.18.20': - resolution: {integrity: sha512-bxRHW5kHU38zS2lPTPOyuyTm+S+eobPUnTNkdJEfAddYgEcll4xkT8DB9d2008DtTbl7uJag2HuE5NZAZgnNEA==} - engines: {node: '>=12'} - cpu: [arm64] - os: [darwin] - - '@esbuild/darwin-arm64@0.19.12': - resolution: {integrity: sha512-B6IeSgZgtEzGC42jsI+YYu9Z3HKRxp8ZT3cqhvliEHovq8HSX2YX8lNocDn79gCKJXOSaEot9MVYky7AKjCs8g==} - engines: {node: '>=12'} - cpu: [arm64] - os: [darwin] - '@esbuild/darwin-arm64@0.20.2': resolution: {integrity: sha512-4J6IRT+10J3aJH3l1yzEg9y3wkTDgDk7TSDFX+wKFiWjqWp/iCfLIYzGyasx9l0SAFPT1HwSCR+0w/h1ES/MjA==} engines: {node: '>=12'} @@ -2998,18 +2926,6 @@ packages: cpu: [arm64] os: [darwin] - '@esbuild/darwin-x64@0.18.20': - resolution: {integrity: sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ==} - engines: {node: '>=12'} - cpu: [x64] - os: [darwin] - - '@esbuild/darwin-x64@0.19.12': - resolution: {integrity: sha512-hKoVkKzFiToTgn+41qGhsUJXFlIjxI/jSYeZf3ugemDYZldIXIxhvwN6erJGlX4t5h417iFuheZ7l+YVn05N3A==} - engines: {node: '>=12'} - cpu: [x64] - os: [darwin] - '@esbuild/darwin-x64@0.20.2': resolution: {integrity: sha512-tBcXp9KNphnNH0dfhv8KYkZhjc+H3XBkF5DKtswJblV7KlT9EI2+jeA8DgBjp908WEuYll6pF+UStUCfEpdysA==} engines: {node: '>=12'} @@ -3028,18 +2944,6 @@ packages: cpu: [x64] os: [darwin] - '@esbuild/freebsd-arm64@0.18.20': - resolution: {integrity: sha512-yqDQHy4QHevpMAaxhhIwYPMv1NECwOvIpGCZkECn8w2WFHXjEwrBn3CeNIYsibZ/iZEUemj++M26W3cNR5h+Tw==} - engines: {node: '>=12'} - cpu: [arm64] - os: [freebsd] - - '@esbuild/freebsd-arm64@0.19.12': - resolution: {integrity: sha512-4aRvFIXmwAcDBw9AueDQ2YnGmz5L6obe5kmPT8Vd+/+x/JMVKCgdcRwH6APrbpNXsPz+K653Qg8HB/oXvXVukA==} - engines: {node: '>=12'} - cpu: [arm64] - os: [freebsd] - '@esbuild/freebsd-arm64@0.20.2': resolution: {integrity: sha512-d3qI41G4SuLiCGCFGUrKsSeTXyWG6yem1KcGZVS+3FYlYhtNoNgYrWcvkOoaqMhwXSMrZRl69ArHsGJ9mYdbbw==} engines: {node: '>=12'} @@ -3058,18 +2962,6 @@ packages: cpu: [arm64] os: [freebsd] - '@esbuild/freebsd-x64@0.18.20': - resolution: {integrity: sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ==} - engines: {node: '>=12'} - cpu: [x64] - os: [freebsd] - - '@esbuild/freebsd-x64@0.19.12': - resolution: {integrity: sha512-EYoXZ4d8xtBoVN7CEwWY2IN4ho76xjYXqSXMNccFSx2lgqOG/1TBPW0yPx1bJZk94qu3tX0fycJeeQsKovA8gg==} - engines: {node: '>=12'} - cpu: [x64] - os: [freebsd] - '@esbuild/freebsd-x64@0.20.2': resolution: {integrity: sha512-d+DipyvHRuqEeM5zDivKV1KuXn9WeRX6vqSqIDgwIfPQtwMP4jaDsQsDncjTDDsExT4lR/91OLjRo8bmC1e+Cw==} engines: {node: '>=12'} @@ -3088,18 +2980,6 @@ packages: cpu: [x64] os: [freebsd] - '@esbuild/linux-arm64@0.18.20': - resolution: {integrity: sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA==} - engines: {node: '>=12'} - cpu: [arm64] - os: [linux] - - '@esbuild/linux-arm64@0.19.12': - resolution: {integrity: sha512-EoTjyYyLuVPfdPLsGVVVC8a0p1BFFvtpQDB/YLEhaXyf/5bczaGeN15QkR+O4S5LeJ92Tqotve7i1jn35qwvdA==} - engines: {node: '>=12'} - cpu: [arm64] - os: [linux] - '@esbuild/linux-arm64@0.20.2': resolution: {integrity: sha512-9pb6rBjGvTFNira2FLIWqDk/uaf42sSyLE8j1rnUpuzsODBq7FvpwHYZxQ/It/8b+QOS1RYfqgGFNLRI+qlq2A==} engines: {node: '>=12'} @@ -3118,18 +2998,6 @@ packages: cpu: [arm64] os: [linux] - '@esbuild/linux-arm@0.18.20': - resolution: {integrity: sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg==} - engines: {node: '>=12'} - cpu: [arm] - os: [linux] - - '@esbuild/linux-arm@0.19.12': - resolution: {integrity: sha512-J5jPms//KhSNv+LO1S1TX1UWp1ucM6N6XuL6ITdKWElCu8wXP72l9MM0zDTzzeikVyqFE6U8YAV9/tFyj0ti+w==} - engines: {node: '>=12'} - cpu: [arm] - os: [linux] - '@esbuild/linux-arm@0.20.2': resolution: {integrity: sha512-VhLPeR8HTMPccbuWWcEUD1Az68TqaTYyj6nfE4QByZIQEQVWBB8vup8PpR7y1QHL3CpcF6xd5WVBU/+SBEvGTg==} engines: {node: '>=12'} @@ -3148,18 +3016,6 @@ packages: cpu: [arm] os: [linux] - '@esbuild/linux-ia32@0.18.20': - resolution: {integrity: sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA==} - engines: {node: '>=12'} - cpu: [ia32] - os: [linux] - - '@esbuild/linux-ia32@0.19.12': - resolution: {integrity: sha512-Thsa42rrP1+UIGaWz47uydHSBOgTUnwBwNq59khgIwktK6x60Hivfbux9iNR0eHCHzOLjLMLfUMLCypBkZXMHA==} - engines: {node: '>=12'} - cpu: [ia32] - os: [linux] - '@esbuild/linux-ia32@0.20.2': resolution: {integrity: sha512-o10utieEkNPFDZFQm9CoP7Tvb33UutoJqg3qKf1PWVeeJhJw0Q347PxMvBgVVFgouYLGIhFYG0UGdBumROyiig==} engines: {node: '>=12'} @@ -3178,18 +3034,6 @@ packages: cpu: [ia32] os: [linux] - '@esbuild/linux-loong64@0.18.20': - resolution: {integrity: sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg==} - engines: {node: '>=12'} - cpu: [loong64] - os: [linux] - - '@esbuild/linux-loong64@0.19.12': - resolution: {integrity: sha512-LiXdXA0s3IqRRjm6rV6XaWATScKAXjI4R4LoDlvO7+yQqFdlr1Bax62sRwkVvRIrwXxvtYEHHI4dm50jAXkuAA==} - engines: {node: '>=12'} - cpu: [loong64] - os: [linux] - '@esbuild/linux-loong64@0.20.2': resolution: {integrity: sha512-PR7sp6R/UC4CFVomVINKJ80pMFlfDfMQMYynX7t1tNTeivQ6XdX5r2XovMmha/VjR1YN/HgHWsVcTRIMkymrgQ==} engines: {node: '>=12'} @@ -3208,18 +3052,6 @@ packages: cpu: [loong64] os: [linux] - '@esbuild/linux-mips64el@0.18.20': - resolution: {integrity: sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ==} - engines: {node: '>=12'} - cpu: [mips64el] - os: [linux] - - '@esbuild/linux-mips64el@0.19.12': - resolution: {integrity: sha512-fEnAuj5VGTanfJ07ff0gOA6IPsvrVHLVb6Lyd1g2/ed67oU1eFzL0r9WL7ZzscD+/N6i3dWumGE1Un4f7Amf+w==} - engines: {node: '>=12'} - cpu: [mips64el] - os: [linux] - '@esbuild/linux-mips64el@0.20.2': resolution: {integrity: sha512-4BlTqeutE/KnOiTG5Y6Sb/Hw6hsBOZapOVF6njAESHInhlQAghVVZL1ZpIctBOoTFbQyGW+LsVYZ8lSSB3wkjA==} engines: {node: '>=12'} @@ -3238,18 +3070,6 @@ packages: cpu: [mips64el] os: [linux] - '@esbuild/linux-ppc64@0.18.20': - resolution: {integrity: sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA==} - engines: {node: '>=12'} - cpu: [ppc64] - os: [linux] - - '@esbuild/linux-ppc64@0.19.12': - resolution: {integrity: sha512-nYJA2/QPimDQOh1rKWedNOe3Gfc8PabU7HT3iXWtNUbRzXS9+vgB0Fjaqr//XNbd82mCxHzik2qotuI89cfixg==} - engines: {node: '>=12'} - cpu: [ppc64] - os: [linux] - '@esbuild/linux-ppc64@0.20.2': resolution: {integrity: sha512-rD3KsaDprDcfajSKdn25ooz5J5/fWBylaaXkuotBDGnMnDP1Uv5DLAN/45qfnf3JDYyJv/ytGHQaziHUdyzaAg==} engines: {node: '>=12'} @@ -3268,18 +3088,6 @@ packages: cpu: [ppc64] os: [linux] - '@esbuild/linux-riscv64@0.18.20': - resolution: {integrity: sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A==} - engines: {node: '>=12'} - cpu: [riscv64] - os: [linux] - - '@esbuild/linux-riscv64@0.19.12': - resolution: {integrity: sha512-2MueBrlPQCw5dVJJpQdUYgeqIzDQgw3QtiAHUC4RBz9FXPrskyyU3VI1hw7C0BSKB9OduwSJ79FTCqtGMWqJHg==} - engines: {node: '>=12'} - cpu: [riscv64] - os: [linux] - '@esbuild/linux-riscv64@0.20.2': resolution: {integrity: sha512-snwmBKacKmwTMmhLlz/3aH1Q9T8v45bKYGE3j26TsaOVtjIag4wLfWSiZykXzXuE1kbCE+zJRmwp+ZbIHinnVg==} engines: {node: '>=12'} @@ -3298,18 +3106,6 @@ packages: cpu: [riscv64] os: [linux] - '@esbuild/linux-s390x@0.18.20': - resolution: {integrity: sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ==} - engines: {node: '>=12'} - cpu: [s390x] - os: [linux] - - '@esbuild/linux-s390x@0.19.12': - resolution: {integrity: sha512-+Pil1Nv3Umes4m3AZKqA2anfhJiVmNCYkPchwFJNEJN5QxmTs1uzyy4TvmDrCRNT2ApwSari7ZIgrPeUx4UZDg==} - engines: {node: '>=12'} - cpu: [s390x] - os: [linux] - '@esbuild/linux-s390x@0.20.2': resolution: {integrity: sha512-wcWISOobRWNm3cezm5HOZcYz1sKoHLd8VL1dl309DiixxVFoFe/o8HnwuIwn6sXre88Nwj+VwZUvJf4AFxkyrQ==} engines: {node: '>=12'} @@ -3328,18 +3124,6 @@ packages: cpu: [s390x] os: [linux] - '@esbuild/linux-x64@0.18.20': - resolution: {integrity: sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w==} - engines: {node: '>=12'} - cpu: [x64] - os: [linux] - - '@esbuild/linux-x64@0.19.12': - resolution: {integrity: sha512-B71g1QpxfwBvNrfyJdVDexenDIt1CiDN1TIXLbhOw0KhJzE78KIFGX6OJ9MrtC0oOqMWf+0xop4qEU8JrJTwCg==} - engines: {node: '>=12'} - cpu: [x64] - os: [linux] - '@esbuild/linux-x64@0.20.2': resolution: {integrity: sha512-1MdwI6OOTsfQfek8sLwgyjOXAu+wKhLEoaOLTjbijk6E2WONYpH9ZU2mNtR+lZ2B4uwr+usqGuVfFT9tMtGvGw==} engines: {node: '>=12'} @@ -3364,18 +3148,6 @@ packages: cpu: [arm64] os: [netbsd] - '@esbuild/netbsd-x64@0.18.20': - resolution: {integrity: sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A==} - engines: {node: '>=12'} - cpu: [x64] - os: [netbsd] - - '@esbuild/netbsd-x64@0.19.12': - resolution: {integrity: sha512-3ltjQ7n1owJgFbuC61Oj++XhtzmymoCihNFgT84UAmJnxJfm4sYCiSLTXZtE00VWYpPMYc+ZQmB6xbSdVh0JWA==} - engines: {node: '>=12'} - cpu: [x64] - os: [netbsd] - '@esbuild/netbsd-x64@0.20.2': resolution: {integrity: sha512-K8/DhBxcVQkzYc43yJXDSyjlFeHQJBiowJ0uVL6Tor3jGQfSGHNNJcWxNbOI8v5k82prYqzPuwkzHt3J1T1iZQ==} engines: {node: '>=12'} @@ -3400,18 +3172,6 @@ packages: cpu: [arm64] os: [openbsd] - '@esbuild/openbsd-x64@0.18.20': - resolution: {integrity: sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg==} - engines: {node: '>=12'} - cpu: [x64] - os: [openbsd] - - '@esbuild/openbsd-x64@0.19.12': - resolution: {integrity: sha512-RbrfTB9SWsr0kWmb9srfF+L933uMDdu9BIzdA7os2t0TXhCRjrQyCeOt6wVxr79CKD4c+p+YhCj31HBkYcXebw==} - engines: {node: '>=12'} - cpu: [x64] - os: [openbsd] - '@esbuild/openbsd-x64@0.20.2': resolution: {integrity: sha512-eMpKlV0SThJmmJgiVyN9jTPJ2VBPquf6Kt/nAoo6DgHAoN57K15ZghiHaMvqjCye/uU4X5u3YSMgVBI1h3vKrQ==} engines: {node: '>=12'} @@ -3430,18 +3190,6 @@ packages: cpu: [x64] os: [openbsd] - '@esbuild/sunos-x64@0.18.20': - resolution: {integrity: sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ==} - engines: {node: '>=12'} - cpu: [x64] - os: [sunos] - - '@esbuild/sunos-x64@0.19.12': - resolution: {integrity: sha512-HKjJwRrW8uWtCQnQOz9qcU3mUZhTUQvi56Q8DPTLLB+DawoiQdjsYq+j+D3s9I8VFtDr+F9CjgXKKC4ss89IeA==} - engines: {node: '>=12'} - cpu: [x64] - os: [sunos] - '@esbuild/sunos-x64@0.20.2': resolution: {integrity: sha512-2UyFtRC6cXLyejf/YEld4Hajo7UHILetzE1vsRcGL3earZEW77JxrFjH4Ez2qaTiEfMgAXxfAZCm1fvM/G/o8w==} engines: {node: '>=12'} @@ -3460,18 +3208,6 @@ packages: cpu: [x64] os: [sunos] - '@esbuild/win32-arm64@0.18.20': - resolution: {integrity: sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg==} - engines: {node: '>=12'} - cpu: [arm64] - os: [win32] - - '@esbuild/win32-arm64@0.19.12': - resolution: {integrity: sha512-URgtR1dJnmGvX864pn1B2YUYNzjmXkuJOIqG2HdU62MVS4EHpU2946OZoTMnRUHklGtJdJZ33QfzdjGACXhn1A==} - engines: {node: '>=12'} - cpu: [arm64] - os: [win32] - '@esbuild/win32-arm64@0.20.2': resolution: {integrity: sha512-GRibxoawM9ZCnDxnP3usoUDO9vUkpAxIIZ6GQI+IlVmr5kP3zUq+l17xELTHMWTWzjxa2guPNyrpq1GWmPvcGQ==} engines: {node: '>=12'} @@ -3490,18 +3226,6 @@ packages: cpu: [arm64] os: [win32] - '@esbuild/win32-ia32@0.18.20': - resolution: {integrity: sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g==} - engines: {node: '>=12'} - cpu: [ia32] - os: [win32] - - '@esbuild/win32-ia32@0.19.12': - resolution: {integrity: sha512-+ZOE6pUkMOJfmxmBZElNOx72NKpIa/HFOMGzu8fqzQJ5kgf6aTGrcJaFsNiVMH4JKpMipyK+7k0n2UXN7a8YKQ==} - engines: {node: '>=12'} - cpu: [ia32] - os: [win32] - '@esbuild/win32-ia32@0.20.2': resolution: {integrity: sha512-HfLOfn9YWmkSKRQqovpnITazdtquEW8/SoHW7pWpuEeguaZI4QnCRW6b+oZTztdBnZOS2hqJ6im/D5cPzBTTlQ==} engines: {node: '>=12'} @@ -3520,18 +3244,6 @@ packages: cpu: [ia32] os: [win32] - '@esbuild/win32-x64@0.18.20': - resolution: {integrity: sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ==} - engines: {node: '>=12'} - cpu: [x64] - os: [win32] - - '@esbuild/win32-x64@0.19.12': - resolution: {integrity: sha512-T1QyPSDCyMXaO3pzBkF96E8xMkiRYbUEZADd29SyPGabqxMViNoii+NcK7eWJAEoU6RZyEm5lVSIjTmcdoB9HA==} - engines: {node: '>=12'} - cpu: [x64] - os: [win32] - '@esbuild/win32-x64@0.20.2': resolution: {integrity: sha512-N49X4lJX27+l9jbLKSqZ6bKNjzQvHaT8IIFUy+YIqmXQdjYCToGWwOItDrfby14c78aDd5NHQl29xingXfCdLQ==} engines: {node: '>=12'} @@ -4928,14 +4640,14 @@ packages: sanity: ^3 styled-components: ^5.2 || ^6 - '@sanity/ui-workshop@1.2.11': - resolution: {integrity: sha512-vzj7upIF7wq2W1HEA0D5VSkR8axaH4Rt07yNTAaas7CLgjSE9r2d+Gnkrq4FIbIuN1GYhhCD+D3/s60GaZrpQw==} + '@sanity/ui-workshop@2.0.20': + resolution: {integrity: sha512-DJ45ELHU+0P11B9Rqg44iDK+wnE20UypY9JKH/OwMsJVJ9T0tSFLNNWAW1j2pPd46z+p+ZombQ6bBiXIDlwGDw==} hasBin: true peerDependencies: - '@sanity/icons': ^2 - '@sanity/ui': ^1 - react: ^18 - react-dom: ^18 + '@sanity/icons': ^2 || ^3 + '@sanity/ui': ^2.10.14 + react: ^18 || ^19 + react-dom: ^18 || ^19 styled-components: ^5.2 || ^6 '@sanity/ui@2.10.14': @@ -5372,19 +5084,16 @@ packages: '@types/progress-stream@2.0.5': resolution: {integrity: sha512-5YNriuEZkHlFHHepLIaxzq3atGeav1qCTGzB74HKWpo66qjfostF+rHc785YYYHeBytve8ZG3ejg42jEIfXNiQ==} - '@types/prop-types@15.7.14': - resolution: {integrity: sha512-gNMvNH49DJ7OJYv+KAKn0Xp45p8PLl6zo2YnvDIbTd4J6MER2BmWN49TG7n9LvkyihINxeKW8+3bfS2yDC9dzQ==} - '@types/raf@3.4.3': resolution: {integrity: sha512-c4YAvMedbPZ5tEyxzQdMoOhhJ4RD3rngZIdwC2/qDN3d7JpEhB6fiBRKVY1lg5B7Wk+uPBjn5f39j1/2MY1oOw==} - '@types/react-dom@18.3.5': - resolution: {integrity: sha512-P4t6saawp+b/dFrUr2cvkVsfvPguwsxtH6dNIYRllMsefqFzkZk5UIjzyDOv5g1dXIPdG4Sp1yCR4Z6RCUsG/Q==} + '@types/react-dom@19.0.2': + resolution: {integrity: sha512-c1s+7TKFaDRRxr1TxccIX2u7sfCnc3RxkVyBIUA2lCpyqCF+QoAwQ/CBg7bsMdVwP120HEH143VQezKtef5nCg==} peerDependencies: - '@types/react': ^18.0.0 + '@types/react': ^19.0.0 - '@types/react-is@18.3.1': - resolution: {integrity: sha512-zts4lhQn5ia0cF/y2+3V6Riu0MAfez9/LJYavdM8TvcVl+S91A/7VWxyBT8hbRuWspmuCaiGI0F41OJYGrKhRA==} + '@types/react-is@19.0.0': + resolution: {integrity: sha512-71dSZeeJ0t3aoPyY9x6i+JNSvg5m9EF2i2OlSZI5QoJuI8Ocgor610i+4A10TQmURR+0vLwcVCEYFpXdzM1Biw==} '@types/react-redux@7.1.34': resolution: {integrity: sha512-GdFaVjEbYv4Fthm2ZLvj1VSCedV7TqE5y1kNwnjSdBOTXuRSgowux6J8TAct15T3CKBr63UMk+2CO7ilRhyrAQ==} @@ -5394,8 +5103,8 @@ packages: peerDependencies: '@types/react': '*' - '@types/react@18.3.18': - resolution: {integrity: sha512-t4yC+vtgnkYjNSKlFx1jkAhH8LgTo2N/7Qvi83kdEaUtMDiwpbLAktKDaAMlRcJ5eSxZkH74eEGt1ky31d7kfQ==} + '@types/react@19.0.2': + resolution: {integrity: sha512-USU8ZI/xyKJwFTpjSVIrSeHBVAGagkHQKPNbxeWwql/vDmnTIBgx+TJnhFnj1NXgz8XfprU0egV2dROLGpsBEg==} '@types/readdir-glob@1.1.5': resolution: {integrity: sha512-raiuEPUYqXu+nvtY2Pe8s8FEmZ3x5yAH4VkLdihcPdalvsHltomrRC9BzuStrJ9yk06470hS0Crw0f1pXqD+Hg==} @@ -5595,24 +5304,9 @@ packages: '@vitest/browser': optional: true - '@vitest/expect@2.1.1': - resolution: {integrity: sha512-YeueunS0HiHiQxk+KEOnq/QMzlUuOzbU1Go+PgAsHvvv3tUkJPm9xWt+6ITNTlzsMXUjmgm5T+U7KBPK2qQV6w==} - '@vitest/expect@2.1.8': resolution: {integrity: sha512-8ytZ/fFHq2g4PJVAtDX57mayemKgDR6X3Oa2Foro+EygiOJHUXhCqBAAKQYYajZpFoIfvBCF1j6R6IYRSIUFuw==} - '@vitest/mocker@2.1.1': - resolution: {integrity: sha512-LNN5VwOEdJqCmJ/2XJBywB11DLlkbY0ooDJW3uRX5cZyYCrc4PI/ePX0iQhE3BiEGiQmK4GE7Q/PqCkkaiPnrA==} - peerDependencies: - '@vitest/spy': 2.1.1 - msw: ^2.3.5 - vite: ^5.0.0 - peerDependenciesMeta: - msw: - optional: true - vite: - optional: true - '@vitest/mocker@2.1.8': resolution: {integrity: sha512-7guJ/47I6uqfttp33mgo6ga5Gr1VnL58rcqYKyShoRK9ebu8T5Rs6HN3s1NABiBeVTdWNrwUMcHH54uXZBN4zA==} peerDependencies: @@ -5624,33 +5318,18 @@ packages: vite: optional: true - '@vitest/pretty-format@2.1.1': - resolution: {integrity: sha512-SjxPFOtuINDUW8/UkElJYQSFtnWX7tMksSGW0vfjxMneFqxVr8YJ979QpMbDW7g+BIiq88RAGDjf7en6rvLPPQ==} - '@vitest/pretty-format@2.1.8': resolution: {integrity: sha512-9HiSZ9zpqNLKlbIDRWOnAWqgcA7xu+8YxXSekhr0Ykab7PAYFkhkwoqVArPOtJhPmYeE2YHgKZlj3CP36z2AJQ==} - '@vitest/runner@2.1.1': - resolution: {integrity: sha512-uTPuY6PWOYitIkLPidaY5L3t0JJITdGTSwBtwMjKzo5O6RCOEncz9PUN+0pDidX8kTHYjO0EwUIvhlGpnGpxmA==} - '@vitest/runner@2.1.8': resolution: {integrity: sha512-17ub8vQstRnRlIU5k50bG+QOMLHRhYPAna5tw8tYbj+jzjcspnwnwtPtiOlkuKC4+ixDPTuLZiqiWWQ2PSXHVg==} - '@vitest/snapshot@2.1.1': - resolution: {integrity: sha512-BnSku1WFy7r4mm96ha2FzN99AZJgpZOWrAhtQfoxjUU5YMRpq1zmHRq7a5K9/NjqonebO7iVDla+VvZS8BOWMw==} - '@vitest/snapshot@2.1.8': resolution: {integrity: sha512-20T7xRFbmnkfcmgVEz+z3AU/3b0cEzZOt/zmnvZEctg64/QZbSDJEVm9fLnnlSi74KibmRsO9/Qabi+t0vCRPg==} - '@vitest/spy@2.1.1': - resolution: {integrity: sha512-ZM39BnZ9t/xZ/nF4UwRH5il0Sw93QnZXd9NAZGRpIgj0yvVwPpLd702s/Cx955rGaMlyBQkZJ2Ir7qyY48VZ+g==} - '@vitest/spy@2.1.8': resolution: {integrity: sha512-5swjf2q95gXeYPevtW0BLk6H8+bPlMb4Vw/9Em4hFxDcaOxS+e0LOX4yqNxoHzMR2akEB2xfpnWUzkZokmgWDg==} - '@vitest/utils@2.1.1': - resolution: {integrity: sha512-Y6Q9TsI+qJ2CC0ZKj6VBb+T8UPz593N113nnUykqwANqhgf3QkZeHFlusgKLTqrnVHbj/XDKZcDHol+dxVT+rQ==} - '@vitest/utils@2.1.8': resolution: {integrity: sha512-dwSoui6djdwbfFmIgbIjX2ZhIoG7Ex/+xpxyiEgIGzjliY8xGkcpITKTlp6B4MgtGkF2ilvm97cPM96XZaAgcA==} @@ -6954,6 +6633,10 @@ packages: resolution: {integrity: sha512-GLSvRqDZ1TGhloS6ZCZ5chdqqv/3XMqZxAnX9rliJiHn6uyJLguKeu+3M2kcagBkoVCnLWYfbR4rfFe1xSU39A==} engines: {node: '>= 8.0.0'} + dotenv-flow@4.1.0: + resolution: {integrity: sha512-0cwP9jpQBQfyHwvE0cRhraZMkdV45TQedA8AAUZMsFzvmLcQyc1HPv+oX0OOYwLFjIlvgVepQ+WuQHbqDaHJZg==} + engines: {node: '>= 12.0.0'} + dotenv@16.0.3: resolution: {integrity: sha512-7GO6HghkA5fYG9TYnNxi14/7K9f5occMlp3zXAuSxn7CKCxt9xbNWG7yF8hTCSUchlfWSe3uLmlPfigevRItzQ==} engines: {node: '>=12'} @@ -7100,20 +6783,10 @@ packages: resolution: {integrity: sha512-w+5mJ3GuFL+NjVtJlvydShqE1eN3h3PbI7/5LAsYJP/2qtuMXjfL2LpHSRqo4b4eSF5K/DH1JXKUAHSB2UW50g==} engines: {node: '>= 0.4'} - esbuild-register@3.6.0: - resolution: {integrity: sha512-H2/S7Pm8a9CL1uhp9OvjwrBh5Pvx0H8qVOxNu8Wed9Y7qv56MPtq+GGM8RJpq6glYJn9Wspr8uw7l55uyinNeg==} - peerDependencies: - esbuild: '>=0.12 <1' - - esbuild@0.18.20: - resolution: {integrity: sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA==} - engines: {node: '>=12'} - hasBin: true - - esbuild@0.19.12: - resolution: {integrity: sha512-aARqgq8roFBj054KvQr5f1sFu0D65G+miZRCuJyJ0G13Zwx7vRar5Zhn2tkQNzIXcBrNVsv/8stehpj+GAjgbg==} - engines: {node: '>=12'} - hasBin: true + esbuild-register@3.6.0: + resolution: {integrity: sha512-H2/S7Pm8a9CL1uhp9OvjwrBh5Pvx0H8qVOxNu8Wed9Y7qv56MPtq+GGM8RJpq6glYJn9Wspr8uw7l55uyinNeg==} + peerDependencies: + esbuild: '>=0.12 <1' esbuild@0.20.2: resolution: {integrity: sha512-WdOOppmUNU+IbZ0PaDiTst80zjnrOkyJNHoKupIcVyU8Lvla3Ugx94VzkQ32Ijqd7UhHJy75gNWDMUekcrSJ6g==} @@ -10286,10 +9959,10 @@ packages: peerDependencies: react: ^18.3.1 - react-dom@19.0.0-rc-f994737d14-20240522: - resolution: {integrity: sha512-J4CsfTSptPKkhaPbaR6n/KohQiHZTrRZ8GL4H8rbAqN/Qpy69g2MIoLBr5/PUX21ye6JxC1ZRWJFna7Xdg1pdA==} + react-dom@19.0.0: + resolution: {integrity: sha512-4GV5sHFG0e/0AD4X+ySy6UJd3jVl1iNsNHdpad0qhABJ11twS3TTBnseqsKurKcsNqCEFeGL3uLpVChpIO3QfQ==} peerDependencies: - react: 19.0.0-rc-f994737d14-20240522 + react: ^19.0.0 react-dom@19.0.0-rc.1: resolution: {integrity: sha512-k8MfDX+4G+eaa1cXXI9QF4d+pQtYol3nx8vauqRWUEOPqC7NQn2qmEqUsLoSd28rrZUL+R3T2VC+kZ2Hyx1geQ==} @@ -10417,8 +10090,8 @@ packages: resolution: {integrity: sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==} engines: {node: '>=0.10.0'} - react@19.0.0-rc-f994737d14-20240522: - resolution: {integrity: sha512-SeU2v5Xy6FotVhKz0pMS2gvYP7HlkF0qgTskj3JzA1vlxcb3dQjxlm9t0ZlJqcgoyI3VFAw7bomuDMdgy1nBuw==} + react@19.0.0: + resolution: {integrity: sha512-V8AVnmPIICiWpGfm6GLzCR/W5FXLchHop40W4nXBmdlEceh16rCN8O8LNWm5bh5XUX91fh7KpA+W0TgMKmgTpQ==} engines: {node: '>=0.10.0'} react@19.0.0-rc.1: @@ -10720,11 +10393,6 @@ packages: '@types/node': optional: true - rollup@3.29.5: - resolution: {integrity: sha512-GVsDdsbJzzy4S/v3dqWPJ7EfvZJfCHiDqe80IyrF59LYuP+e6U1LJoUqeuqRbwAWoMNoXivMNeNAOf5E22VA1w==} - engines: {node: '>=14.18.0', npm: '>=8.0.0'} - hasBin: true - rollup@4.29.1: resolution: {integrity: sha512-RaJ45M/kmJUzSWDs1Nnd5DdV4eerC98idtUOVr6FfKcgxqvjwHmxc5upLF9qZU9EpsVzzhleFahrT3shLuJzIw==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} @@ -10843,8 +10511,8 @@ packages: scheduler@0.23.2: resolution: {integrity: sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==} - scheduler@0.25.0-rc-f994737d14-20240522: - resolution: {integrity: sha512-qS+xGFF7AljP2APO2iJe8zESNsK20k25MACz+WGOXPybUsRdi1ssvaoF93im2nSX2q/XT3wKkjdz6RQfbmaxdw==} + scheduler@0.25.0: + resolution: {integrity: sha512-xFVuu11jh+xcO7JOAGJNOXld8/TcEHK/4CituBUeUb5hqxJLj9YuemAEuvm9gQ/+pgXYfbQuqAkiYu+u7YEsNA==} scheduler@0.25.0-rc.1: resolution: {integrity: sha512-fVinv2lXqYpKConAMdergOl5owd0rY1O4P/QTe0aWKCqGtu7VsCt1iqQFxSJtqK4Lci/upVSBpGwVC7eWcuS9Q==} @@ -10856,8 +10524,9 @@ packages: resolution: {integrity: sha512-e1QtP3YL5tWww8uKaOCQ18UxIT2laNBXHjV/S2WYCiK4udiv8lkG89KRIoCjUagnAmCBurjF4zEVX2ByBbnCjQ==} hasBin: true - segmented-property@3.0.3: - resolution: {integrity: sha512-xn4hZYOJzRMnLJqQgi/IfEpWnnI/9KyqWGcxQuYzZ4xRATvJ4k8IlvFFlPOCm9evFo+/R6YkjMT3BXkhM7LZhg==} + segmented-property@4.0.0: + resolution: {integrity: sha512-F9+rN3c7NIYhNch/zMiJN3RwUXW+Y29UiFtSCKFBAw+JMMTxACCCnvMsZo6ExLTLjh0XStvWjL6Nyb0c4lLHxg==} + engines: {node: '>=18.0.0'} semver-compare@1.0.0: resolution: {integrity: sha512-YM3/ITh2MJ5MtzaM429anh+x2jiLVjqILF4m4oyQB18W7Ggea7BfqdH/wGMK7dDiMghv/6WG7znWMwUDzJiXow==} @@ -11976,11 +11645,6 @@ packages: resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==} engines: {node: '>= 0.8'} - vite-node@2.1.1: - resolution: {integrity: sha512-N/mGckI1suG/5wQI35XeR9rsMsPqKXzq1CdUndzVstBj/HvyxxGctwnK6WX43NGt5L3Z5tcRf83g4TITKJhPrA==} - engines: {node: ^18.0.0 || >=20.0.0} - hasBin: true - vite-node@2.1.8: resolution: {integrity: sha512-uPAwSr57kYjAUux+8E2j0q0Fxpn8M9VoyfGiRI8Kfktz9NcYMCenwY5RnZxnF1WTu3TGiYipirIzacLL3VVGFg==} engines: {node: ^18.0.0 || >=20.0.0} @@ -11994,34 +11658,6 @@ packages: vite: optional: true - vite@4.5.5: - resolution: {integrity: sha512-ifW3Lb2sMdX+WU91s3R0FyQlAyLxOzCSCP37ujw0+r5POeHPwe6udWVIElKQq8gk3t7b8rkmvqC6IHBpCff4GQ==} - engines: {node: ^14.18.0 || >=16.0.0} - hasBin: true - peerDependencies: - '@types/node': '>= 14' - less: '*' - lightningcss: ^1.21.0 - sass: '*' - stylus: '*' - sugarss: '*' - terser: ^5.4.0 - peerDependenciesMeta: - '@types/node': - optional: true - less: - optional: true - lightningcss: - optional: true - sass: - optional: true - stylus: - optional: true - sugarss: - optional: true - terser: - optional: true - vite@5.4.11: resolution: {integrity: sha512-c7jFQRklXua0mTzneGW9QVyxFjUgwcihC4bXEtujIo2ouWCe1Ajt/amn2PCxYnhYfd5k09JX3SB7OYWFKYqj8Q==} engines: {node: ^18.0.0 || >=20.0.0} @@ -12093,31 +11729,6 @@ packages: yaml: optional: true - vitest@2.1.1: - resolution: {integrity: sha512-97We7/VC0e9X5zBVkvt7SGQMGrRtn3KtySFQG5fpaMlS+l62eeXRQO633AYhSTC3z7IMebnPPNjGXVGNRFlxBA==} - engines: {node: ^18.0.0 || >=20.0.0} - hasBin: true - peerDependencies: - '@edge-runtime/vm': '*' - '@types/node': ^18.0.0 || >=20.0.0 - '@vitest/browser': 2.1.1 - '@vitest/ui': 2.1.1 - happy-dom: '*' - jsdom: '*' - peerDependenciesMeta: - '@edge-runtime/vm': - optional: true - '@types/node': - optional: true - '@vitest/browser': - optional: true - '@vitest/ui': - optional: true - happy-dom: - optional: true - jsdom: - optional: true - vitest@2.1.8: resolution: {integrity: sha512-1vBKTZskHw/aosXqQUlVWWlGUxSJR8YtiyZDJAFeW2kPAeX6S3Sool0mjspO+kXLuxVWlEDDowBAeqeAQefqLQ==} engines: {node: ^18.0.0 || >=20.0.0} @@ -13366,36 +12977,36 @@ snapshots: dependencies: '@jridgewell/trace-mapping': 0.3.9 - '@dnd-kit/accessibility@3.1.1(react@18.3.1)': + '@dnd-kit/accessibility@3.1.1(react@19.0.0)': dependencies: - react: 18.3.1 + react: 19.0.0 tslib: 2.8.1 - '@dnd-kit/core@6.3.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@dnd-kit/core@6.3.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: - '@dnd-kit/accessibility': 3.1.1(react@18.3.1) - '@dnd-kit/utilities': 3.2.2(react@18.3.1) - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + '@dnd-kit/accessibility': 3.1.1(react@19.0.0) + '@dnd-kit/utilities': 3.2.2(react@19.0.0) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) tslib: 2.8.1 - '@dnd-kit/modifiers@6.0.1(@dnd-kit/core@6.3.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)': + '@dnd-kit/modifiers@6.0.1(@dnd-kit/core@6.3.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react@19.0.0)': dependencies: - '@dnd-kit/core': 6.3.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@dnd-kit/utilities': 3.2.2(react@18.3.1) - react: 18.3.1 + '@dnd-kit/core': 6.3.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + '@dnd-kit/utilities': 3.2.2(react@19.0.0) + react: 19.0.0 tslib: 2.8.1 - '@dnd-kit/sortable@7.0.2(@dnd-kit/core@6.3.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)': + '@dnd-kit/sortable@7.0.2(@dnd-kit/core@6.3.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react@19.0.0)': dependencies: - '@dnd-kit/core': 6.3.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@dnd-kit/utilities': 3.2.2(react@18.3.1) - react: 18.3.1 + '@dnd-kit/core': 6.3.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + '@dnd-kit/utilities': 3.2.2(react@19.0.0) + react: 19.0.0 tslib: 2.8.1 - '@dnd-kit/utilities@3.2.2(react@18.3.1)': + '@dnd-kit/utilities@3.2.2(react@19.0.0)': dependencies: - react: 18.3.1 + react: 19.0.0 tslib: 2.8.1 '@emnapi/core@1.3.1': @@ -13449,19 +13060,19 @@ snapshots: '@emotion/memoize@0.9.0': {} - '@emotion/react@11.14.0(@types/react@18.3.18)(react@18.3.1)': + '@emotion/react@11.14.0(@types/react@19.0.2)(react@19.0.0)': dependencies: '@babel/runtime': 7.26.0 '@emotion/babel-plugin': 11.13.5 '@emotion/cache': 11.14.0 '@emotion/serialize': 1.3.3 - '@emotion/use-insertion-effect-with-fallbacks': 1.2.0(react@18.3.1) + '@emotion/use-insertion-effect-with-fallbacks': 1.2.0(react@19.0.0) '@emotion/utils': 1.4.2 '@emotion/weak-memoize': 0.4.0 hoist-non-react-statics: 3.3.2 - react: 18.3.1 + react: 19.0.0 optionalDependencies: - '@types/react': 18.3.18 + '@types/react': 19.0.2 transitivePeerDependencies: - supports-color @@ -13483,17 +13094,14 @@ snapshots: '@emotion/unitless@0.8.1': {} - '@emotion/use-insertion-effect-with-fallbacks@1.2.0(react@18.3.1)': + '@emotion/use-insertion-effect-with-fallbacks@1.2.0(react@19.0.0)': dependencies: - react: 18.3.1 + react: 19.0.0 '@emotion/utils@1.4.2': {} '@emotion/weak-memoize@0.4.0': {} - '@esbuild/aix-ppc64@0.19.12': - optional: true - '@esbuild/aix-ppc64@0.20.2': optional: true @@ -13503,12 +13111,6 @@ snapshots: '@esbuild/aix-ppc64@0.24.2': optional: true - '@esbuild/android-arm64@0.18.20': - optional: true - - '@esbuild/android-arm64@0.19.12': - optional: true - '@esbuild/android-arm64@0.20.2': optional: true @@ -13518,12 +13120,6 @@ snapshots: '@esbuild/android-arm64@0.24.2': optional: true - '@esbuild/android-arm@0.18.20': - optional: true - - '@esbuild/android-arm@0.19.12': - optional: true - '@esbuild/android-arm@0.20.2': optional: true @@ -13533,12 +13129,6 @@ snapshots: '@esbuild/android-arm@0.24.2': optional: true - '@esbuild/android-x64@0.18.20': - optional: true - - '@esbuild/android-x64@0.19.12': - optional: true - '@esbuild/android-x64@0.20.2': optional: true @@ -13548,12 +13138,6 @@ snapshots: '@esbuild/android-x64@0.24.2': optional: true - '@esbuild/darwin-arm64@0.18.20': - optional: true - - '@esbuild/darwin-arm64@0.19.12': - optional: true - '@esbuild/darwin-arm64@0.20.2': optional: true @@ -13563,12 +13147,6 @@ snapshots: '@esbuild/darwin-arm64@0.24.2': optional: true - '@esbuild/darwin-x64@0.18.20': - optional: true - - '@esbuild/darwin-x64@0.19.12': - optional: true - '@esbuild/darwin-x64@0.20.2': optional: true @@ -13578,12 +13156,6 @@ snapshots: '@esbuild/darwin-x64@0.24.2': optional: true - '@esbuild/freebsd-arm64@0.18.20': - optional: true - - '@esbuild/freebsd-arm64@0.19.12': - optional: true - '@esbuild/freebsd-arm64@0.20.2': optional: true @@ -13593,12 +13165,6 @@ snapshots: '@esbuild/freebsd-arm64@0.24.2': optional: true - '@esbuild/freebsd-x64@0.18.20': - optional: true - - '@esbuild/freebsd-x64@0.19.12': - optional: true - '@esbuild/freebsd-x64@0.20.2': optional: true @@ -13608,12 +13174,6 @@ snapshots: '@esbuild/freebsd-x64@0.24.2': optional: true - '@esbuild/linux-arm64@0.18.20': - optional: true - - '@esbuild/linux-arm64@0.19.12': - optional: true - '@esbuild/linux-arm64@0.20.2': optional: true @@ -13623,12 +13183,6 @@ snapshots: '@esbuild/linux-arm64@0.24.2': optional: true - '@esbuild/linux-arm@0.18.20': - optional: true - - '@esbuild/linux-arm@0.19.12': - optional: true - '@esbuild/linux-arm@0.20.2': optional: true @@ -13638,12 +13192,6 @@ snapshots: '@esbuild/linux-arm@0.24.2': optional: true - '@esbuild/linux-ia32@0.18.20': - optional: true - - '@esbuild/linux-ia32@0.19.12': - optional: true - '@esbuild/linux-ia32@0.20.2': optional: true @@ -13653,12 +13201,6 @@ snapshots: '@esbuild/linux-ia32@0.24.2': optional: true - '@esbuild/linux-loong64@0.18.20': - optional: true - - '@esbuild/linux-loong64@0.19.12': - optional: true - '@esbuild/linux-loong64@0.20.2': optional: true @@ -13668,12 +13210,6 @@ snapshots: '@esbuild/linux-loong64@0.24.2': optional: true - '@esbuild/linux-mips64el@0.18.20': - optional: true - - '@esbuild/linux-mips64el@0.19.12': - optional: true - '@esbuild/linux-mips64el@0.20.2': optional: true @@ -13683,12 +13219,6 @@ snapshots: '@esbuild/linux-mips64el@0.24.2': optional: true - '@esbuild/linux-ppc64@0.18.20': - optional: true - - '@esbuild/linux-ppc64@0.19.12': - optional: true - '@esbuild/linux-ppc64@0.20.2': optional: true @@ -13698,12 +13228,6 @@ snapshots: '@esbuild/linux-ppc64@0.24.2': optional: true - '@esbuild/linux-riscv64@0.18.20': - optional: true - - '@esbuild/linux-riscv64@0.19.12': - optional: true - '@esbuild/linux-riscv64@0.20.2': optional: true @@ -13713,12 +13237,6 @@ snapshots: '@esbuild/linux-riscv64@0.24.2': optional: true - '@esbuild/linux-s390x@0.18.20': - optional: true - - '@esbuild/linux-s390x@0.19.12': - optional: true - '@esbuild/linux-s390x@0.20.2': optional: true @@ -13728,12 +13246,6 @@ snapshots: '@esbuild/linux-s390x@0.24.2': optional: true - '@esbuild/linux-x64@0.18.20': - optional: true - - '@esbuild/linux-x64@0.19.12': - optional: true - '@esbuild/linux-x64@0.20.2': optional: true @@ -13746,12 +13258,6 @@ snapshots: '@esbuild/netbsd-arm64@0.24.2': optional: true - '@esbuild/netbsd-x64@0.18.20': - optional: true - - '@esbuild/netbsd-x64@0.19.12': - optional: true - '@esbuild/netbsd-x64@0.20.2': optional: true @@ -13764,12 +13270,6 @@ snapshots: '@esbuild/openbsd-arm64@0.24.2': optional: true - '@esbuild/openbsd-x64@0.18.20': - optional: true - - '@esbuild/openbsd-x64@0.19.12': - optional: true - '@esbuild/openbsd-x64@0.20.2': optional: true @@ -13779,12 +13279,6 @@ snapshots: '@esbuild/openbsd-x64@0.24.2': optional: true - '@esbuild/sunos-x64@0.18.20': - optional: true - - '@esbuild/sunos-x64@0.19.12': - optional: true - '@esbuild/sunos-x64@0.20.2': optional: true @@ -13794,12 +13288,6 @@ snapshots: '@esbuild/sunos-x64@0.24.2': optional: true - '@esbuild/win32-arm64@0.18.20': - optional: true - - '@esbuild/win32-arm64@0.19.12': - optional: true - '@esbuild/win32-arm64@0.20.2': optional: true @@ -13809,12 +13297,6 @@ snapshots: '@esbuild/win32-arm64@0.24.2': optional: true - '@esbuild/win32-ia32@0.18.20': - optional: true - - '@esbuild/win32-ia32@0.19.12': - optional: true - '@esbuild/win32-ia32@0.20.2': optional: true @@ -13824,12 +13306,6 @@ snapshots: '@esbuild/win32-ia32@0.24.2': optional: true - '@esbuild/win32-x64@0.18.20': - optional: true - - '@esbuild/win32-x64@0.19.12': - optional: true - '@esbuild/win32-x64@0.20.2': optional: true @@ -13873,23 +13349,11 @@ snapshots: '@floating-ui/core': 1.6.8 '@floating-ui/utils': 0.2.8 - '@floating-ui/react-dom@2.1.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': - dependencies: - '@floating-ui/dom': 1.6.12 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - - '@floating-ui/react-dom@2.1.2(react-dom@19.0.0-rc-f994737d14-20240522(react@18.3.1))(react@18.3.1)': - dependencies: - '@floating-ui/dom': 1.6.12 - react: 18.3.1 - react-dom: 19.0.0-rc-f994737d14-20240522(react@18.3.1) - - '@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)': + '@floating-ui/react-dom@2.1.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: '@floating-ui/dom': 1.6.12 - 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 + react-dom: 19.0.0(react@19.0.0) '@floating-ui/utils@0.2.8': {} @@ -13927,9 +13391,9 @@ snapshots: dependencies: hono: 4.6.14 - '@hookform/resolvers@3.9.1(react-hook-form@7.54.1(react@18.3.1))': + '@hookform/resolvers@3.9.1(react-hook-form@7.54.1(react@19.0.0))': dependencies: - react-hook-form: 7.54.1(react@18.3.1) + react-hook-form: 7.54.1(react@19.0.0) '@humanwhocodes/config-array@0.13.0': dependencies: @@ -13947,9 +13411,9 @@ snapshots: '@iarna/toml@2.2.3': {} - '@icons/material@0.2.4(react@18.3.1)': + '@icons/material@0.2.4(react@19.0.0)': dependencies: - react: 18.3.1 + react: 19.0.0 '@img/sharp-darwin-arm64@0.33.5': optionalDependencies: @@ -14308,15 +13772,15 @@ snapshots: - supports-color - utf-8-validate - '@mux/mux-player-react@2.9.1(@types/react@18.3.18)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@mux/mux-player-react@2.9.1(@types/react@19.0.2)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: '@mux/mux-player': 2.9.1 '@mux/playback-core': 0.25.2 prop-types: 15.8.1 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) optionalDependencies: - '@types/react': 18.3.18 + '@types/react': 19.0.2 '@mux/mux-player@2.9.1': dependencies: @@ -14906,25 +14370,25 @@ snapshots: '@pnpm/network.ca-file': 1.0.2 config-chain: 1.1.13 - '@portabletext/editor@1.18.7(@sanity/block-tools@packages+@sanity+block-tools)(@sanity/schema@packages+@sanity+schema)(@sanity/types@packages+@sanity+types)(@types/react@18.3.18)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rxjs@7.8.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': + '@portabletext/editor@1.18.7(@sanity/block-tools@packages+@sanity+block-tools)(@sanity/schema@packages+@sanity+schema)(@sanity/types@packages+@sanity+types)(@types/react@19.0.2)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(rxjs@7.8.1)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0))': dependencies: '@portabletext/patches': 1.1.1 '@sanity/block-tools': link:packages/@sanity/block-tools '@sanity/schema': link:packages/@sanity/schema '@sanity/types': link:packages/@sanity/types - '@xstate/react': 5.0.1(@types/react@18.3.18)(react@18.3.1)(xstate@5.19.1) + '@xstate/react': 5.0.1(@types/react@19.0.2)(react@19.0.0)(xstate@5.19.1) debug: 4.4.0(supports-color@9.4.0) get-random-values-esm: 1.0.2 lodash: 4.17.21 lodash.startcase: 4.4.0 - react: 18.3.1 - react-compiler-runtime: 19.0.0-beta-55955c9-20241229(react@18.3.1) + react: 19.0.0 + react-compiler-runtime: 19.0.0-beta-55955c9-20241229(react@19.0.0) rxjs: 7.8.1 slate: 0.112.0 slate-dom: 0.111.0(slate@0.112.0) - slate-react: 0.112.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(slate-dom@0.111.0(slate@0.112.0))(slate@0.112.0) - 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) + slate-react: 0.112.0(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(slate-dom@0.111.0(slate@0.112.0))(slate@0.112.0) + styled-components: 6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + use-effect-event: 1.0.2(react@19.0.0) xstate: 5.19.1 transitivePeerDependencies: - '@types/react' @@ -14936,17 +14400,11 @@ snapshots: '@sanity/diff-match-patch': 3.1.2 lodash: 4.17.21 - '@portabletext/react@3.2.0(react@18.3.1)': - dependencies: - '@portabletext/toolkit': 2.0.16 - '@portabletext/types': 2.0.13 - react: 18.3.1 - - '@portabletext/react@3.2.0(react@19.0.0-rc-f994737d14-20240522)': + '@portabletext/react@3.2.0(react@19.0.0)': dependencies: '@portabletext/toolkit': 2.0.16 '@portabletext/types': 2.0.13 - react: 19.0.0-rc-f994737d14-20240522 + react: 19.0.0 '@portabletext/toolkit@2.0.16': dependencies: @@ -14954,30 +14412,30 @@ snapshots: '@portabletext/types@2.0.13': {} - '@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)': + '@reduxjs/toolkit@1.9.7(react-redux@7.2.9(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react@19.0.0)': dependencies: immer: 9.0.21 redux: 4.2.1 redux-thunk: 2.4.2(redux@4.2.1) reselect: 4.1.8 optionalDependencies: - react: 18.3.1 - react-redux: 7.2.9(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + react: 19.0.0 + react-redux: 7.2.9(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@rexxars/gitconfiglocal@3.0.1': dependencies: ini: 1.3.8 - '@rexxars/react-json-inspector@9.0.1(react@18.3.1)': + '@rexxars/react-json-inspector@9.0.1(react@19.0.0)': dependencies: debounce: 1.2.1 md5-o-matic: 0.1.1 - react: 18.3.1 + react: 19.0.0 - '@rexxars/react-split-pane@1.0.0(react-dom@19.0.0-rc-f994737d14-20240522(react@18.3.1))(react@18.3.1)': + '@rexxars/react-split-pane@1.0.0(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: - react: 18.3.1 - react-dom: 19.0.0-rc-f994737d14-20240522(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) '@rollup/plugin-alias@5.1.1(rollup@4.29.1)': optionalDependencies: @@ -15163,21 +14621,21 @@ snapshots: '@sanity/asset-utils@2.2.1': {} - '@sanity/assist@3.0.9(@emotion/is-prop-valid@1.3.1)(@sanity/mutator@packages+@sanity+mutator)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc.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/assist@3.0.9(@emotion/is-prop-valid@1.3.1)(@sanity/mutator@packages+@sanity+mutator)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0))': dependencies: - '@sanity/icons': 3.5.7(react@18.3.1) - '@sanity/incompatible-plugin': 1.0.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@sanity/icons': 3.5.7(react@19.0.0) + '@sanity/incompatible-plugin': 1.0.5(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@sanity/mutator': link:packages/@sanity/mutator - '@sanity/ui': 2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc.1)(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.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) date-fns: 3.6.0 lodash: 4.17.21 lodash-es: 4.17.21 - react: 18.3.1 + react: 19.0.0 react-fast-compare: 3.2.2 rxjs: 7.8.1 rxjs-exhaustmap-with-trailing: 2.1.1(rxjs@7.8.1) sanity: link:packages/sanity - styled-components: 6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + styled-components: 6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0) transitivePeerDependencies: - '@emotion/is-prop-valid' - react-dom @@ -15198,7 +14656,7 @@ snapshots: transitivePeerDependencies: - debug - '@sanity/code-input@5.1.2(@babel/runtime@7.26.0)(@codemirror/theme-one-dark@6.1.2)(@emotion/is-prop-valid@1.3.1)(codemirror@6.0.1)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc.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/code-input@5.1.2(@babel/runtime@7.26.0)(@codemirror/theme-one-dark@6.1.2)(@emotion/is-prop-valid@1.3.1)(codemirror@6.0.1)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0))': dependencies: '@codemirror/autocomplete': 6.18.4 '@codemirror/commands': 6.7.1 @@ -15216,15 +14674,15 @@ snapshots: '@codemirror/view': 6.36.1 '@juggle/resize-observer': 3.4.0 '@lezer/highlight': 1.2.1 - '@sanity/icons': 3.5.7(react@18.3.1) - '@sanity/incompatible-plugin': 1.0.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@sanity/ui': 2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc.1)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@sanity/icons': 3.5.7(react@19.0.0) + '@sanity/incompatible-plugin': 1.0.5(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + '@sanity/ui': 2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) '@uiw/codemirror-themes': 4.23.7(@codemirror/language@6.10.8)(@codemirror/state@6.5.0)(@codemirror/view@6.36.1) - '@uiw/react-codemirror': 4.23.7(@babel/runtime@7.26.0)(@codemirror/autocomplete@6.18.4)(@codemirror/language@6.10.8)(@codemirror/search@6.5.8)(@codemirror/state@6.5.0)(@codemirror/theme-one-dark@6.1.2)(@codemirror/view@6.36.1)(codemirror@6.0.1)(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) + '@uiw/react-codemirror': 4.23.7(@babel/runtime@7.26.0)(@codemirror/autocomplete@6.18.4)(@codemirror/language@6.10.8)(@codemirror/lint@6.8.4)(@codemirror/search@6.5.8)(@codemirror/state@6.5.0)(@codemirror/theme-one-dark@6.1.2)(@codemirror/view@6.36.1)(codemirror@6.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) sanity: link:packages/sanity - styled-components: 6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + styled-components: 6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0) transitivePeerDependencies: - '@babel/runtime' - '@codemirror/lint' @@ -15233,16 +14691,16 @@ snapshots: - codemirror - react-is - '@sanity/color-input@4.0.3(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc.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/color-input@4.0.3(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0))': dependencies: - '@sanity/icons': 3.5.7(react@18.3.1) - '@sanity/incompatible-plugin': 1.0.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@sanity/ui': 2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc.1)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) - react: 18.3.1 - react-color: 2.19.3(react@18.3.1) + '@sanity/icons': 3.5.7(react@19.0.0) + '@sanity/incompatible-plugin': 1.0.5(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + '@sanity/ui': 2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) + react: 19.0.0 + react-color: 2.19.3(react@19.0.0) sanity: link:packages/sanity - 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) + styled-components: 6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + use-effect-event: 1.0.2(react@19.0.0) transitivePeerDependencies: - '@emotion/is-prop-valid' - react-dom @@ -15323,26 +14781,22 @@ snapshots: '@sanity/generate-help-url@3.0.0': {} - '@sanity/google-maps-input@4.1.0(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc.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/google-maps-input@4.1.0(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0))': dependencies: - '@sanity/icons': 3.5.7(react@18.3.1) - '@sanity/incompatible-plugin': 1.0.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@sanity/ui': 2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc.1)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) - react: 18.3.1 + '@sanity/icons': 3.5.7(react@19.0.0) + '@sanity/incompatible-plugin': 1.0.5(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + '@sanity/ui': 2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) + react: 19.0.0 sanity: link:packages/sanity - styled-components: 6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + styled-components: 6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0) transitivePeerDependencies: - '@emotion/is-prop-valid' - react-dom - react-is - '@sanity/icons@3.5.7(react@18.3.1)': + '@sanity/icons@3.5.7(react@19.0.0)': dependencies: - react: 18.3.1 - - '@sanity/icons@3.5.7(react@19.0.0-rc-f994737d14-20240522)': - dependencies: - react: 19.0.0-rc-f994737d14-20240522 + react: 19.0.0 '@sanity/image-url@1.1.0': {} @@ -15372,32 +14826,32 @@ snapshots: transitivePeerDependencies: - supports-color - '@sanity/incompatible-plugin@1.0.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@sanity/incompatible-plugin@1.0.5(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) - '@sanity/insert-menu@1.0.18(@emotion/is-prop-valid@1.3.1)(@sanity/types@packages+@sanity+types)(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))': + '@sanity/insert-menu@1.0.18(@emotion/is-prop-valid@1.3.1)(@sanity/types@packages+@sanity+types)(react-dom@19.0.0(react@19.0.0))(react-is@18.3.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0))': dependencies: - '@sanity/icons': 3.5.7(react@18.3.1) + '@sanity/icons': 3.5.7(react@19.0.0) '@sanity/types': link:packages/@sanity/types - '@sanity/ui': 2.10.14(@emotion/is-prop-valid@1.3.1)(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)) + '@sanity/ui': 2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react-is@18.3.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) lodash: 4.17.21 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) react-is: 18.3.1 transitivePeerDependencies: - '@emotion/is-prop-valid' - styled-components - '@sanity/insert-menu@1.0.18(@emotion/is-prop-valid@1.3.1)(@sanity/types@packages+@sanity+types)(react-dom@19.0.0-rc-f994737d14-20240522(react@18.3.1))(react-is@19.0.0-rc.1)(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.18(@emotion/is-prop-valid@1.3.1)(@sanity/types@packages+@sanity+types)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0))': dependencies: - '@sanity/icons': 3.5.7(react@18.3.1) + '@sanity/icons': 3.5.7(react@19.0.0) '@sanity/types': link:packages/@sanity/types - '@sanity/ui': 2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0-rc-f994737d14-20240522(react@18.3.1))(react-is@19.0.0-rc.1)(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.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) lodash: 4.17.21 - react: 18.3.1 - react-dom: 19.0.0-rc-f994737d14-20240522(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) react-is: 19.0.0-rc.1 transitivePeerDependencies: - '@emotion/is-prop-valid' @@ -15423,10 +14877,10 @@ snapshots: dependencies: sanity: link:packages/sanity - '@sanity/logos@2.1.13(@sanity/color@3.0.6)(react@18.3.1)': + '@sanity/logos@2.1.13(@sanity/color@3.0.6)(react@19.0.0)': dependencies: '@sanity/color': 3.0.6 - react: 18.3.1 + react: 19.0.0 '@sanity/mutate@0.11.0-canary.4(xstate@5.19.1)': dependencies: @@ -15558,25 +15012,25 @@ snapshots: - debug - supports-color - '@sanity/presentation@1.19.16(@emotion/is-prop-valid@1.3.1)(@sanity/color@3.0.6)(debug@4.4.0)(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))': + '@sanity/presentation@1.19.16(@emotion/is-prop-valid@1.3.1)(@sanity/color@3.0.6)(debug@4.4.0)(react-dom@19.0.0(react@19.0.0))(react-is@18.3.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0))': dependencies: '@sanity/client': 6.24.1(debug@4.4.0) '@sanity/comlink': 2.0.3 - '@sanity/icons': 3.5.7(react@18.3.1) - '@sanity/logos': 2.1.13(@sanity/color@3.0.6)(react@18.3.1) + '@sanity/icons': 3.5.7(react@19.0.0) + '@sanity/logos': 2.1.13(@sanity/color@3.0.6)(react@19.0.0) '@sanity/preview-url-secret': 2.0.5(@sanity/client@6.24.1(debug@4.4.0)) - '@sanity/ui': 2.10.14(@emotion/is-prop-valid@1.3.1)(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)) + '@sanity/ui': 2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react-is@18.3.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) '@sanity/uuid': 3.0.2 fast-deep-equal: 3.1.3 - framer-motion: 11.15.0(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + framer-motion: 11.15.0(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) lodash: 4.17.21 mendoza: 3.0.8 mnemonist: 0.39.8 path-to-regexp: 6.3.0 - react-compiler-runtime: 19.0.0-beta-201e55d-20241215(react@18.3.1) + react-compiler-runtime: 19.0.0-beta-201e55d-20241215(react@19.0.0) rxjs: 7.8.1 - suspend-react: 0.1.3(react@18.3.1) - use-effect-event: 1.0.2(react@18.3.1) + suspend-react: 0.1.3(react@19.0.0) + use-effect-event: 1.0.2(react@19.0.0) transitivePeerDependencies: - '@emotion/is-prop-valid' - '@sanity/color' @@ -15596,25 +15050,18 @@ snapshots: '@sanity/client': 6.24.1(debug@4.4.0) '@sanity/uuid': 3.0.2 - '@sanity/react-loader@1.10.31(react@18.3.1)': + '@sanity/react-loader@1.10.31(react@19.0.0)': dependencies: '@sanity/client': 6.24.1(debug@4.4.0) '@sanity/core-loader': 1.7.22 - react: 18.3.1 + react: 19.0.0 transitivePeerDependencies: - debug - '@sanity/telemetry@0.7.9(react@18.3.1)': - dependencies: - lodash: 4.17.21 - react: 18.3.1 - rxjs: 7.8.1 - typeid-js: 0.3.0 - - '@sanity/telemetry@0.7.9(react@19.0.0-rc-f994737d14-20240522)': + '@sanity/telemetry@0.7.9(react@19.0.0)': dependencies: lodash: 4.17.21 - react: 19.0.0-rc-f994737d14-20240522 + react: 19.0.0 rxjs: 7.8.1 typeid-js: 0.3.0 @@ -15641,19 +15088,19 @@ snapshots: transitivePeerDependencies: - debug - '@sanity/tsdoc@1.0.157(@emotion/is-prop-valid@1.3.1)(@types/babel__core@7.20.5)(@types/node@22.10.2)(babel-plugin-react-compiler@19.0.0-beta-55955c9-20241229)(debug@4.4.0)(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.37.0)(yaml@2.6.1)': + '@sanity/tsdoc@1.0.157(@emotion/is-prop-valid@1.3.1)(@types/babel__core@7.20.5)(@types/node@22.10.2)(babel-plugin-react-compiler@19.0.0-beta-55955c9-20241229)(debug@4.4.0)(react-dom@19.0.0(react@19.0.0))(react-is@18.3.1)(react@19.0.0)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(terser@5.37.0)(yaml@2.6.1)': dependencies: '@microsoft/api-extractor': 7.48.1(@types/node@22.10.2) '@microsoft/api-extractor-model': 7.30.1(@types/node@22.10.2) '@microsoft/tsdoc': 0.15.1 '@microsoft/tsdoc-config': 0.17.1 - '@portabletext/react': 3.2.0(react@18.3.1) + '@portabletext/react': 3.2.0(react@19.0.0) '@portabletext/toolkit': 2.0.16 '@sanity/client': 6.24.1(debug@4.4.0) '@sanity/color': 3.0.6 - '@sanity/icons': 3.5.7(react@18.3.1) + '@sanity/icons': 3.5.7(react@19.0.0) '@sanity/pkg-utils': 6.12.3(@types/babel__core@7.20.5)(@types/node@22.10.2)(babel-plugin-react-compiler@19.0.0-beta-55955c9-20241229)(debug@4.4.0)(typescript@5.7.2) - '@sanity/ui': 2.10.14(@emotion/is-prop-valid@1.3.1)(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)) + '@sanity/ui': 2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react-is@18.3.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) '@types/cpx': 1.5.5 '@vitejs/plugin-react': 4.3.4(vite@6.0.6(@types/node@22.10.2)(terser@5.37.0)(yaml@2.6.1)) cac: 6.7.14 @@ -15671,12 +15118,12 @@ snapshots: jsonc-parser: 3.3.1 mkdirp: 1.0.4 pkg-up: 3.1.0 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - react-refractor: 2.2.0(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) + react-refractor: 2.2.0(react@19.0.0) sanity: link:packages/sanity slugify: 1.6.6 - styled-components: 6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + styled-components: 6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0) tmp: 0.2.3 typescript: 5.7.2 vite: 6.0.6(@types/node@22.10.2)(terser@5.37.0)(yaml@2.6.1) @@ -15699,19 +15146,19 @@ snapshots: - tsx - yaml - '@sanity/tsdoc@1.0.157(@emotion/is-prop-valid@1.3.1)(@types/babel__core@7.20.5)(@types/node@22.10.2)(babel-plugin-react-compiler@19.0.0-beta-55955c9-20241229)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc.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.37.0)(yaml@2.6.1)': + '@sanity/tsdoc@1.0.157(@emotion/is-prop-valid@1.3.1)(@types/babel__core@7.20.5)(@types/node@22.10.2)(babel-plugin-react-compiler@19.0.0-beta-55955c9-20241229)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(terser@5.37.0)(yaml@2.6.1)': dependencies: '@microsoft/api-extractor': 7.48.1(@types/node@22.10.2) '@microsoft/api-extractor-model': 7.30.1(@types/node@22.10.2) '@microsoft/tsdoc': 0.15.1 '@microsoft/tsdoc-config': 0.17.1 - '@portabletext/react': 3.2.0(react@18.3.1) + '@portabletext/react': 3.2.0(react@19.0.0) '@portabletext/toolkit': 2.0.16 '@sanity/client': 6.24.1(debug@4.4.0) '@sanity/color': 3.0.6 - '@sanity/icons': 3.5.7(react@18.3.1) + '@sanity/icons': 3.5.7(react@19.0.0) '@sanity/pkg-utils': 6.12.3(@types/babel__core@7.20.5)(@types/node@22.10.2)(babel-plugin-react-compiler@19.0.0-beta-55955c9-20241229)(typescript@5.7.2) - '@sanity/ui': 2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc.1)(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.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) '@types/cpx': 1.5.5 '@vitejs/plugin-react': 4.3.4(vite@6.0.6(@types/node@22.10.2)(terser@5.37.0)(yaml@2.6.1)) cac: 6.7.14 @@ -15729,12 +15176,12 @@ snapshots: jsonc-parser: 3.3.1 mkdirp: 1.0.4 pkg-up: 3.1.0 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - react-refractor: 2.2.0(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) + react-refractor: 2.2.0(react@19.0.0) sanity: link:packages/sanity slugify: 1.6.6 - styled-components: 6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + styled-components: 6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0) tmp: 0.2.3 typescript: 5.7.2 vite: 6.0.6(@types/node@22.10.2)(terser@5.37.0)(yaml@2.6.1) @@ -15757,191 +15204,113 @@ snapshots: - tsx - yaml - '@sanity/tsdoc@1.0.157(@emotion/is-prop-valid@1.3.1)(@types/babel__core@7.20.5)(@types/node@22.10.2)(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react-is@19.0.0-rc.1)(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.37.0)(yaml@2.6.1)': + '@sanity/ui-workshop@2.0.20(@sanity/icons@3.5.7(react@19.0.0))(@sanity/ui@2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react-is@18.3.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)))(@types/node@22.10.2)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(terser@5.37.0)(yaml@2.6.1)': dependencies: - '@microsoft/api-extractor': 7.48.1(@types/node@22.10.2) - '@microsoft/api-extractor-model': 7.30.1(@types/node@22.10.2) - '@microsoft/tsdoc': 0.15.1 - '@microsoft/tsdoc-config': 0.17.1 - '@portabletext/react': 3.2.0(react@19.0.0-rc-f994737d14-20240522) - '@portabletext/toolkit': 2.0.16 - '@sanity/client': 6.24.1(debug@4.4.0) - '@sanity/color': 3.0.6 - '@sanity/icons': 3.5.7(react@19.0.0-rc-f994737d14-20240522) - '@sanity/pkg-utils': 6.12.3(@types/babel__core@7.20.5)(@types/node@22.10.2)(babel-plugin-react-compiler@19.0.0-beta-55955c9-20241229)(typescript@5.7.2) - '@sanity/ui': 2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react-is@19.0.0-rc.1)(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 + '@sanity/icons': 3.5.7(react@19.0.0) + '@sanity/ui': 2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react-is@18.3.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) '@vitejs/plugin-react': 4.3.4(vite@6.0.6(@types/node@22.10.2)(terser@5.37.0)(yaml@2.6.1)) - cac: 6.7.14 - chalk: 4.1.2 - chokidar: 4.0.3 - cors: 2.8.5 - dotenv-flow: 3.3.0 - esbuild: 0.24.2 - esbuild-register: 3.6.0(esbuild@0.24.2) - express: 4.21.2 - globby: 11.1.0 - groq: link:packages/groq - groq-js: 1.14.2 - history: 5.3.0 - jsonc-parser: 3.3.1 - mkdirp: 1.0.4 - pkg-up: 3.1.0 - react: 19.0.0-rc-f994737d14-20240522 - react-dom: 19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522) - react-refractor: 2.2.0(react@19.0.0-rc-f994737d14-20240522) - sanity: link:packages/sanity - slugify: 1.6.6 - 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) - tmp: 0.2.3 - typescript: 5.7.2 - vite: 6.0.6(@types/node@22.10.2)(terser@5.37.0)(yaml@2.6.1) - transitivePeerDependencies: - - '@emotion/is-prop-valid' - - '@types/babel__core' - - '@types/node' - - babel-plugin-react-compiler - - debug - - jiti - - less - - lightningcss - - react-is - - sass - - sass-embedded - - stylus - - sugarss - - supports-color - - terser - - tsx - - yaml - - '@sanity/ui-workshop@1.2.11(@sanity/icons@3.5.7(react@18.3.1))(@sanity/ui@2.10.14(@emotion/is-prop-valid@1.3.1)(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@22.10.2)(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.37.0)': - dependencies: - '@sanity/icons': 3.5.7(react@18.3.1) - '@sanity/ui': 2.10.14(@emotion/is-prop-valid@1.3.1)(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)) - '@vitejs/plugin-react': 4.3.4(vite@4.5.5(@types/node@22.10.2)(terser@5.37.0)) axe-core: 4.10.2 cac: 6.7.14 chokidar: 3.6.0 - dotenv-flow: 3.3.0 - esbuild: 0.19.12 - esbuild-register: 3.6.0(esbuild@0.19.12) + cpx: 1.5.0 + dotenv-flow: 4.1.0 + esbuild: 0.24.2 + esbuild-register: 3.6.0(esbuild@0.24.2) express: 4.21.2 globby: 11.1.0 lodash: 4.17.21 mkdirp: 2.1.6 pako: 2.1.0 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - segmented-property: 3.0.3 - styled-components: 6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - vite: 4.5.5(@types/node@22.10.2)(terser@5.37.0) + react: 19.0.0 + react-compiler-runtime: 19.0.0-beta-201e55d-20241215(react@19.0.0) + react-dom: 19.0.0(react@19.0.0) + rimraf: 4.4.1 + segmented-property: 4.0.0 + styled-components: 6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + vite: 6.0.6(@types/node@22.10.2)(terser@5.37.0)(yaml@2.6.1) transitivePeerDependencies: - '@types/node' + - jiti - less - lightningcss - sass + - sass-embedded - stylus - sugarss - supports-color - terser + - tsx + - yaml - '@sanity/ui-workshop@1.2.11(@sanity/icons@3.5.7(react@18.3.1))(@sanity/ui@2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc.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@22.10.2)(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.37.0)': + '@sanity/ui-workshop@2.0.20(@sanity/icons@3.5.7(react@19.0.0))(@sanity/ui@2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)))(@types/node@22.10.2)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(terser@5.37.0)(yaml@2.6.1)': dependencies: - '@sanity/icons': 3.5.7(react@18.3.1) - '@sanity/ui': 2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc.1)(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.4(vite@4.5.5(@types/node@22.10.2)(terser@5.37.0)) + '@sanity/icons': 3.5.7(react@19.0.0) + '@sanity/ui': 2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) + '@vitejs/plugin-react': 4.3.4(vite@6.0.6(@types/node@22.10.2)(terser@5.37.0)(yaml@2.6.1)) axe-core: 4.10.2 cac: 6.7.14 chokidar: 3.6.0 - dotenv-flow: 3.3.0 - esbuild: 0.19.12 - esbuild-register: 3.6.0(esbuild@0.19.12) + cpx: 1.5.0 + dotenv-flow: 4.1.0 + esbuild: 0.24.2 + esbuild-register: 3.6.0(esbuild@0.24.2) express: 4.21.2 globby: 11.1.0 lodash: 4.17.21 mkdirp: 2.1.6 pako: 2.1.0 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - segmented-property: 3.0.3 - styled-components: 6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - vite: 4.5.5(@types/node@22.10.2)(terser@5.37.0) + react: 19.0.0 + react-compiler-runtime: 19.0.0-beta-201e55d-20241215(react@19.0.0) + react-dom: 19.0.0(react@19.0.0) + rimraf: 4.4.1 + segmented-property: 4.0.0 + styled-components: 6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + vite: 6.0.6(@types/node@22.10.2)(terser@5.37.0)(yaml@2.6.1) transitivePeerDependencies: - '@types/node' + - jiti - less - lightningcss - sass + - sass-embedded - stylus - sugarss - supports-color - terser + - tsx + - yaml - '@sanity/ui@2.10.14(@emotion/is-prop-valid@1.3.1)(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))': + '@sanity/ui@2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react-is@18.3.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0))': dependencies: - '@floating-ui/react-dom': 2.1.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@floating-ui/react-dom': 2.1.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@sanity/color': 3.0.6 - '@sanity/icons': 3.5.7(react@18.3.1) + '@sanity/icons': 3.5.7(react@19.0.0) csstype: 3.1.3 - framer-motion: 11.15.0(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - react: 18.3.1 - react-compiler-runtime: 19.0.0-beta-55955c9-20241229(react@18.3.1) - react-dom: 18.3.1(react@18.3.1) + framer-motion: 11.15.0(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + react: 19.0.0 + react-compiler-runtime: 19.0.0-beta-55955c9-20241229(react@19.0.0) + react-dom: 19.0.0(react@19.0.0) react-is: 18.3.1 - 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) - transitivePeerDependencies: - - '@emotion/is-prop-valid' - - '@sanity/ui@2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc.1)(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 - '@sanity/icons': 3.5.7(react@18.3.1) - csstype: 3.1.3 - framer-motion: 11.15.0(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - react: 18.3.1 - react-compiler-runtime: 19.0.0-beta-55955c9-20241229(react@18.3.1) - react-dom: 18.3.1(react@18.3.1) - react-is: 19.0.0-rc.1 - 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) - transitivePeerDependencies: - - '@emotion/is-prop-valid' - - '@sanity/ui@2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0-rc-f994737d14-20240522(react@18.3.1))(react-is@19.0.0-rc.1)(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 - '@sanity/icons': 3.5.7(react@18.3.1) - csstype: 3.1.3 - framer-motion: 11.15.0(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0-rc-f994737d14-20240522(react@18.3.1))(react@18.3.1) - react: 18.3.1 - react-compiler-runtime: 19.0.0-beta-55955c9-20241229(react@18.3.1) - react-dom: 19.0.0-rc-f994737d14-20240522(react@18.3.1) - react-is: 19.0.0-rc.1 - 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) + react-refractor: 2.2.0(react@19.0.0) + styled-components: 6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + use-effect-event: 1.0.2(react@19.0.0) transitivePeerDependencies: - '@emotion/is-prop-valid' - '@sanity/ui@2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react-is@19.0.0-rc.1)(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.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0))': 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) + '@floating-ui/react-dom': 2.1.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@sanity/color': 3.0.6 - '@sanity/icons': 3.5.7(react@19.0.0-rc-f994737d14-20240522) + '@sanity/icons': 3.5.7(react@19.0.0) csstype: 3.1.3 - framer-motion: 11.15.0(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react@19.0.0-rc-f994737d14-20240522) - react: 19.0.0-rc-f994737d14-20240522 - react-compiler-runtime: 19.0.0-beta-55955c9-20241229(react@19.0.0-rc-f994737d14-20240522) - react-dom: 19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522) + framer-motion: 11.15.0(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + react: 19.0.0 + react-compiler-runtime: 19.0.0-beta-55955c9-20241229(react@19.0.0) + react-dom: 19.0.0(react@19.0.0) react-is: 19.0.0-rc.1 - 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) + react-refractor: 2.2.0(react@19.0.0) + styled-components: 6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + use-effect-event: 1.0.2(react@19.0.0) transitivePeerDependencies: - '@emotion/is-prop-valid' @@ -15950,24 +15319,24 @@ snapshots: '@types/uuid': 8.3.4 uuid: 8.3.2 - '@sanity/visual-editing@2.11.3(@sanity/client@6.24.1)(next@15.1.2(@babel/core@7.26.0)(@playwright/test@1.49.1)(babel-plugin-macros@3.1.0)(babel-plugin-react-compiler@19.0.0-beta-55955c9-20241229)(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.11.3(@sanity/client@6.24.1)(next@15.1.2(@babel/core@7.26.0)(@playwright/test@1.49.1)(babel-plugin-macros@3.1.0)(babel-plugin-react-compiler@19.0.0-beta-55955c9-20241229)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: '@sanity/comlink': 2.0.3 '@sanity/mutate': 0.11.0-canary.4(xstate@5.19.1) '@sanity/preview-url-secret': 2.0.5(@sanity/client@6.24.1(debug@4.4.0)) '@vercel/stega': 0.1.2 get-random-values-esm: 1.0.2 - react: 18.3.1 - react-compiler-runtime: 19.0.0-beta-201e55d-20241215(react@18.3.1) - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-compiler-runtime: 19.0.0-beta-201e55d-20241215(react@19.0.0) + react-dom: 19.0.0(react@19.0.0) rxjs: 7.8.1 scroll-into-view-if-needed: 3.1.0 - use-effect-event: 1.0.2(react@18.3.1) + use-effect-event: 1.0.2(react@19.0.0) valibot: 0.31.1 xstate: 5.19.1 optionalDependencies: '@sanity/client': 6.24.1(debug@4.4.0) - next: 15.1.2(@babel/core@7.26.0)(@playwright/test@1.49.1)(babel-plugin-macros@3.1.0)(babel-plugin-react-compiler@19.0.0-beta-55955c9-20241229)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + next: 15.1.2(@babel/core@7.26.0)(@playwright/test@1.49.1)(babel-plugin-macros@3.1.0)(babel-plugin-react-compiler@19.0.0-beta-55955c9-20241229)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) transitivePeerDependencies: - debug @@ -15999,12 +15368,12 @@ snapshots: '@sentry/core@8.46.0': {} - '@sentry/react@8.46.0(react@18.3.1)': + '@sentry/react@8.46.0(react@19.0.0)': dependencies: '@sentry/browser': 8.46.0 '@sentry/core': 8.46.0 hoist-non-react-statics: 3.3.2 - react: 18.3.1 + react: 19.0.0 '@sentry/types@8.46.0': dependencies: @@ -16133,24 +15502,24 @@ snapshots: dependencies: '@swc/counter': 0.1.3 - '@tanem/react-nprogress@5.0.53(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@tanem/react-nprogress@5.0.53(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: '@babel/runtime': 7.26.0 hoist-non-react-statics: 3.3.2 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) - '@tanstack/react-table@8.20.6(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@tanstack/react-table@8.20.6(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: '@tanstack/table-core': 8.20.5 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) - '@tanstack/react-virtual@3.11.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@tanstack/react-virtual@3.11.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: '@tanstack/virtual-core': 3.11.2 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) '@tanstack/table-core@8.20.5': {} @@ -16177,15 +15546,15 @@ snapshots: lodash: 4.17.21 redent: 3.0.0 - '@testing-library/react@16.1.0(@testing-library/dom@10.4.0)(@types/react-dom@18.3.5(@types/react@18.3.18))(@types/react@18.3.18)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@testing-library/react@16.1.0(@testing-library/dom@10.4.0)(@types/react-dom@19.0.2(@types/react@19.0.2))(@types/react@19.0.2)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: '@babel/runtime': 7.26.0 '@testing-library/dom': 10.4.0 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) optionalDependencies: - '@types/react': 18.3.18 - '@types/react-dom': 18.3.5(@types/react@18.3.18) + '@types/react': 19.0.2 + '@types/react-dom': 19.0.2(@types/react@19.0.2) '@testing-library/user-event@13.5.0(@testing-library/dom@10.4.0)': dependencies: @@ -16322,7 +15691,7 @@ snapshots: '@types/hoist-non-react-statics@3.3.6': dependencies: - '@types/react': 18.3.18 + '@types/react': 19.0.2 hoist-non-react-statics: 3.3.2 '@types/inquirer@6.5.0': @@ -16378,32 +15747,29 @@ snapshots: dependencies: '@types/node': 22.10.2 - '@types/prop-types@15.7.14': {} - '@types/raf@3.4.3': {} - '@types/react-dom@18.3.5(@types/react@18.3.18)': + '@types/react-dom@19.0.2(@types/react@19.0.2)': dependencies: - '@types/react': 18.3.18 + '@types/react': 19.0.2 - '@types/react-is@18.3.1': + '@types/react-is@19.0.0': dependencies: - '@types/react': 18.3.18 + '@types/react': 19.0.2 '@types/react-redux@7.1.34': dependencies: '@types/hoist-non-react-statics': 3.3.6 - '@types/react': 18.3.18 + '@types/react': 19.0.2 hoist-non-react-statics: 3.3.2 redux: 4.2.1 - '@types/react-transition-group@4.4.12(@types/react@18.3.18)': + '@types/react-transition-group@4.4.12(@types/react@19.0.2)': dependencies: - '@types/react': 18.3.18 + '@types/react': 19.0.2 - '@types/react@18.3.18': + '@types/react@19.0.2': dependencies: - '@types/prop-types': 15.7.14 csstype: 3.1.3 '@types/readdir-glob@1.1.5': @@ -16581,24 +15947,7 @@ snapshots: '@codemirror/state': 6.5.0 '@codemirror/view': 6.36.1 - '@uiw/react-codemirror@4.23.7(@babel/runtime@7.26.0)(@codemirror/autocomplete@6.18.4)(@codemirror/language@6.10.8)(@codemirror/lint@6.8.4)(@codemirror/search@6.5.8)(@codemirror/state@6.5.0)(@codemirror/theme-one-dark@6.1.2)(@codemirror/view@6.36.1)(codemirror@6.0.1)(react-dom@19.0.0-rc-f994737d14-20240522(react@18.3.1))(react@18.3.1)': - dependencies: - '@babel/runtime': 7.26.0 - '@codemirror/commands': 6.7.1 - '@codemirror/state': 6.5.0 - '@codemirror/theme-one-dark': 6.1.2 - '@codemirror/view': 6.36.1 - '@uiw/codemirror-extensions-basic-setup': 4.23.7(@codemirror/autocomplete@6.18.4)(@codemirror/commands@6.7.1)(@codemirror/language@6.10.8)(@codemirror/lint@6.8.4)(@codemirror/search@6.5.8)(@codemirror/state@6.5.0)(@codemirror/view@6.36.1) - codemirror: 6.0.1 - react: 18.3.1 - react-dom: 19.0.0-rc-f994737d14-20240522(react@18.3.1) - transitivePeerDependencies: - - '@codemirror/autocomplete' - - '@codemirror/language' - - '@codemirror/lint' - - '@codemirror/search' - - '@uiw/react-codemirror@4.23.7(@babel/runtime@7.26.0)(@codemirror/autocomplete@6.18.4)(@codemirror/language@6.10.8)(@codemirror/search@6.5.8)(@codemirror/state@6.5.0)(@codemirror/theme-one-dark@6.1.2)(@codemirror/view@6.36.1)(codemirror@6.0.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@uiw/react-codemirror@4.23.7(@babel/runtime@7.26.0)(@codemirror/autocomplete@6.18.4)(@codemirror/language@6.10.8)(@codemirror/lint@6.8.4)(@codemirror/search@6.5.8)(@codemirror/state@6.5.0)(@codemirror/theme-one-dark@6.1.2)(@codemirror/view@6.36.1)(codemirror@6.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)': dependencies: '@babel/runtime': 7.26.0 '@codemirror/commands': 6.7.1 @@ -16607,8 +15956,8 @@ snapshots: '@codemirror/view': 6.36.1 '@uiw/codemirror-extensions-basic-setup': 4.23.7(@codemirror/autocomplete@6.18.4)(@codemirror/commands@6.7.1)(@codemirror/language@6.10.8)(@codemirror/lint@6.8.4)(@codemirror/search@6.5.8)(@codemirror/state@6.5.0)(@codemirror/view@6.36.1) codemirror: 6.0.1 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) transitivePeerDependencies: - '@codemirror/autocomplete' - '@codemirror/language' @@ -16643,17 +15992,6 @@ snapshots: '@vercel/stega@0.1.2': {} - '@vitejs/plugin-react@4.3.4(vite@4.5.5(@types/node@22.10.2)(terser@5.37.0))': - dependencies: - '@babel/core': 7.26.0 - '@babel/plugin-transform-react-jsx-self': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-react-jsx-source': 7.25.9(@babel/core@7.26.0) - '@types/babel__core': 7.20.5 - react-refresh: 0.14.2 - vite: 4.5.5(@types/node@22.10.2)(terser@5.37.0) - transitivePeerDependencies: - - supports-color - '@vitejs/plugin-react@4.3.4(vite@5.4.11(@types/node@22.10.2)(terser@5.37.0))': dependencies: '@babel/core': 7.26.0 @@ -16694,13 +16032,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@vitest/expect@2.1.1': - dependencies: - '@vitest/spy': 2.1.1 - '@vitest/utils': 2.1.1 - chai: 5.1.2 - tinyrainbow: 1.2.0 - '@vitest/expect@2.1.8': dependencies: '@vitest/spy': 2.1.8 @@ -16708,14 +16039,6 @@ snapshots: chai: 5.1.2 tinyrainbow: 1.2.0 - '@vitest/mocker@2.1.1(@vitest/spy@2.1.1)(vite@5.4.11(@types/node@22.10.2)(terser@5.37.0))': - dependencies: - '@vitest/spy': 2.1.1 - estree-walker: 3.0.3 - magic-string: 0.30.17 - optionalDependencies: - vite: 5.4.11(@types/node@22.10.2)(terser@5.37.0) - '@vitest/mocker@2.1.8(vite@5.4.11(@types/node@22.10.2)(terser@5.37.0))': dependencies: '@vitest/spy': 2.1.8 @@ -16724,50 +16047,25 @@ snapshots: optionalDependencies: vite: 5.4.11(@types/node@22.10.2)(terser@5.37.0) - '@vitest/pretty-format@2.1.1': - dependencies: - tinyrainbow: 1.2.0 - '@vitest/pretty-format@2.1.8': dependencies: tinyrainbow: 1.2.0 - '@vitest/runner@2.1.1': - dependencies: - '@vitest/utils': 2.1.1 - pathe: 1.1.2 - '@vitest/runner@2.1.8': dependencies: '@vitest/utils': 2.1.8 pathe: 1.1.2 - '@vitest/snapshot@2.1.1': - dependencies: - '@vitest/pretty-format': 2.1.1 - magic-string: 0.30.17 - pathe: 1.1.2 - '@vitest/snapshot@2.1.8': dependencies: '@vitest/pretty-format': 2.1.8 magic-string: 0.30.17 pathe: 1.1.2 - '@vitest/spy@2.1.1': - dependencies: - tinyspy: 3.0.2 - '@vitest/spy@2.1.8': dependencies: tinyspy: 3.0.2 - '@vitest/utils@2.1.1': - dependencies: - '@vitest/pretty-format': 2.1.1 - loupe: 3.1.2 - tinyrainbow: 1.2.0 - '@vitest/utils@2.1.8': dependencies: '@vitest/pretty-format': 2.1.8 @@ -16810,11 +16108,11 @@ snapshots: '@xstate/fsm@1.6.5': {} - '@xstate/react@5.0.1(@types/react@18.3.18)(react@18.3.1)(xstate@5.19.1)': + '@xstate/react@5.0.1(@types/react@19.0.2)(react@19.0.0)(xstate@5.19.1)': dependencies: - react: 18.3.1 - use-isomorphic-layout-effect: 1.2.0(@types/react@18.3.18)(react@18.3.1) - use-sync-external-store: 1.4.0(react@18.3.1) + react: 19.0.0 + use-isomorphic-layout-effect: 1.2.0(@types/react@19.0.2)(react@19.0.0) + use-sync-external-store: 1.4.0(react@19.0.0) optionalDependencies: xstate: 5.19.1 transitivePeerDependencies: @@ -18200,6 +17498,10 @@ snapshots: dependencies: dotenv: 8.6.0 + dotenv-flow@4.1.0: + dependencies: + dotenv: 16.4.7 + dotenv@16.0.3: {} dotenv@16.4.7: {} @@ -18424,13 +17726,6 @@ snapshots: is-date-object: 1.1.0 is-symbol: 1.1.1 - esbuild-register@3.6.0(esbuild@0.19.12): - dependencies: - debug: 4.4.0(supports-color@9.4.0) - esbuild: 0.19.12 - transitivePeerDependencies: - - supports-color - esbuild-register@3.6.0(esbuild@0.21.5): dependencies: debug: 4.4.0(supports-color@9.4.0) @@ -18445,57 +17740,6 @@ snapshots: transitivePeerDependencies: - supports-color - esbuild@0.18.20: - optionalDependencies: - '@esbuild/android-arm': 0.18.20 - '@esbuild/android-arm64': 0.18.20 - '@esbuild/android-x64': 0.18.20 - '@esbuild/darwin-arm64': 0.18.20 - '@esbuild/darwin-x64': 0.18.20 - '@esbuild/freebsd-arm64': 0.18.20 - '@esbuild/freebsd-x64': 0.18.20 - '@esbuild/linux-arm': 0.18.20 - '@esbuild/linux-arm64': 0.18.20 - '@esbuild/linux-ia32': 0.18.20 - '@esbuild/linux-loong64': 0.18.20 - '@esbuild/linux-mips64el': 0.18.20 - '@esbuild/linux-ppc64': 0.18.20 - '@esbuild/linux-riscv64': 0.18.20 - '@esbuild/linux-s390x': 0.18.20 - '@esbuild/linux-x64': 0.18.20 - '@esbuild/netbsd-x64': 0.18.20 - '@esbuild/openbsd-x64': 0.18.20 - '@esbuild/sunos-x64': 0.18.20 - '@esbuild/win32-arm64': 0.18.20 - '@esbuild/win32-ia32': 0.18.20 - '@esbuild/win32-x64': 0.18.20 - - esbuild@0.19.12: - optionalDependencies: - '@esbuild/aix-ppc64': 0.19.12 - '@esbuild/android-arm': 0.19.12 - '@esbuild/android-arm64': 0.19.12 - '@esbuild/android-x64': 0.19.12 - '@esbuild/darwin-arm64': 0.19.12 - '@esbuild/darwin-x64': 0.19.12 - '@esbuild/freebsd-arm64': 0.19.12 - '@esbuild/freebsd-x64': 0.19.12 - '@esbuild/linux-arm': 0.19.12 - '@esbuild/linux-arm64': 0.19.12 - '@esbuild/linux-ia32': 0.19.12 - '@esbuild/linux-loong64': 0.19.12 - '@esbuild/linux-mips64el': 0.19.12 - '@esbuild/linux-ppc64': 0.19.12 - '@esbuild/linux-riscv64': 0.19.12 - '@esbuild/linux-s390x': 0.19.12 - '@esbuild/linux-x64': 0.19.12 - '@esbuild/netbsd-x64': 0.19.12 - '@esbuild/openbsd-x64': 0.19.12 - '@esbuild/sunos-x64': 0.19.12 - '@esbuild/win32-arm64': 0.19.12 - '@esbuild/win32-ia32': 0.19.12 - '@esbuild/win32-x64': 0.19.12 - esbuild@0.20.2: optionalDependencies: '@esbuild/aix-ppc64': 0.20.2 @@ -19263,35 +18507,15 @@ snapshots: dependencies: map-cache: 0.2.2 - framer-motion@11.15.0(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): - dependencies: - motion-dom: 11.14.3 - motion-utils: 11.14.3 - tslib: 2.8.1 - optionalDependencies: - '@emotion/is-prop-valid': 1.3.1 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - - framer-motion@11.15.0(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0-rc-f994737d14-20240522(react@18.3.1))(react@18.3.1): - dependencies: - motion-dom: 11.14.3 - motion-utils: 11.14.3 - tslib: 2.8.1 - optionalDependencies: - '@emotion/is-prop-valid': 1.3.1 - react: 18.3.1 - react-dom: 19.0.0-rc-f994737d14-20240522(react@18.3.1) - - framer-motion@11.15.0(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522))(react@19.0.0-rc-f994737d14-20240522): + framer-motion@11.15.0(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: motion-dom: 11.14.3 motion-utils: 11.14.3 tslib: 2.8.1 optionalDependencies: '@emotion/is-prop-valid': 1.3.1 - 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 + react-dom: 19.0.0(react@19.0.0) fresh@0.5.2: {} @@ -21165,7 +20389,7 @@ snapshots: neo-async@2.6.2: {} - next@14.2.21(@babel/core@7.26.0)(@playwright/test@1.49.1)(babel-plugin-macros@3.1.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + next@14.2.21(@babel/core@7.26.0)(@playwright/test@1.49.1)(babel-plugin-macros@3.1.0)(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: '@next/env': 14.2.21 '@swc/helpers': 0.5.5 @@ -21173,9 +20397,9 @@ snapshots: caniuse-lite: 1.0.30001690 graceful-fs: 4.2.11 postcss: 8.4.31 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - styled-jsx: 5.1.1(@babel/core@7.26.0)(babel-plugin-macros@3.1.0)(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) + styled-jsx: 5.1.1(@babel/core@7.26.0)(babel-plugin-macros@3.1.0)(react@19.0.0) optionalDependencies: '@next/swc-darwin-arm64': 14.2.21 '@next/swc-darwin-x64': 14.2.21 @@ -21191,7 +20415,7 @@ snapshots: - '@babel/core' - babel-plugin-macros - next@15.1.2(@babel/core@7.26.0)(@playwright/test@1.49.1)(babel-plugin-macros@3.1.0)(babel-plugin-react-compiler@19.0.0-beta-55955c9-20241229)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + next@15.1.2(@babel/core@7.26.0)(@playwright/test@1.49.1)(babel-plugin-macros@3.1.0)(babel-plugin-react-compiler@19.0.0-beta-55955c9-20241229)(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: '@next/env': 15.1.2 '@swc/counter': 0.1.3 @@ -21199,9 +20423,9 @@ snapshots: busboy: 1.6.0 caniuse-lite: 1.0.30001690 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 + react-dom: 19.0.0(react@19.0.0) + styled-jsx: 5.1.6(@babel/core@7.26.0)(babel-plugin-macros@3.1.0)(react@19.0.0) optionalDependencies: '@next/swc-darwin-arm64': 15.1.2 '@next/swc-darwin-x64': 15.1.2 @@ -22145,39 +21369,35 @@ snapshots: minimist: 1.2.8 strip-json-comments: 2.0.1 - react-barcode@1.5.3(react@18.3.1): + react-barcode@1.5.3(react@19.0.0): dependencies: jsbarcode: 3.11.6 prop-types: 15.8.1 - react: 18.3.1 + react: 19.0.0 - react-clientside-effect@1.2.7(react@18.3.1): + react-clientside-effect@1.2.7(react@19.0.0): dependencies: '@babel/runtime': 7.26.0 - react: 18.3.1 + react: 19.0.0 - react-color@2.19.3(react@18.3.1): + react-color@2.19.3(react@19.0.0): dependencies: - '@icons/material': 0.2.4(react@18.3.1) + '@icons/material': 0.2.4(react@19.0.0) lodash: 4.17.21 lodash-es: 4.17.21 material-colors: 1.2.6 prop-types: 15.8.1 - react: 18.3.1 - reactcss: 1.2.3(react@18.3.1) + react: 19.0.0 + reactcss: 1.2.3(react@19.0.0) tinycolor2: 1.6.0 - react-compiler-runtime@19.0.0-beta-201e55d-20241215(react@18.3.1): + react-compiler-runtime@19.0.0-beta-201e55d-20241215(react@19.0.0): dependencies: - react: 18.3.1 - - react-compiler-runtime@19.0.0-beta-55955c9-20241229(react@18.3.1): - dependencies: - react: 18.3.1 + react: 19.0.0 - react-compiler-runtime@19.0.0-beta-55955c9-20241229(react@19.0.0-rc-f994737d14-20240522): + react-compiler-runtime@19.0.0-beta-55955c9-20241229(react@19.0.0): dependencies: - react: 19.0.0-rc-f994737d14-20240522 + react: 19.0.0 react-dom@18.3.1(react@18.3.1): dependencies: @@ -22185,65 +21405,60 @@ snapshots: react: 18.3.1 scheduler: 0.23.2 - react-dom@19.0.0-rc-f994737d14-20240522(react@18.3.1): + react-dom@19.0.0(react@19.0.0): dependencies: - react: 18.3.1 - scheduler: 0.25.0-rc-f994737d14-20240522 - - react-dom@19.0.0-rc-f994737d14-20240522(react@19.0.0-rc-f994737d14-20240522): - dependencies: - react: 19.0.0-rc-f994737d14-20240522 - scheduler: 0.25.0-rc-f994737d14-20240522 + react: 19.0.0 + scheduler: 0.25.0 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): + react-dropzone@11.7.1(react@19.0.0): dependencies: attr-accept: 2.2.5 file-selector: 0.4.0 prop-types: 15.8.1 - react: 18.3.1 + react: 19.0.0 react-fast-compare@3.2.2: {} - react-file-icon@1.5.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + react-file-icon@1.5.0(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: colord: 2.9.3 prop-types: 15.8.1 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) - react-focus-lock@2.13.5(@types/react@18.3.18)(react@18.3.1): + react-focus-lock@2.13.5(@types/react@19.0.2)(react@19.0.0): dependencies: '@babel/runtime': 7.26.0 focus-lock: 1.3.5 prop-types: 15.8.1 - react: 18.3.1 - react-clientside-effect: 1.2.7(react@18.3.1) - use-callback-ref: 1.3.3(@types/react@18.3.18)(react@18.3.1) - use-sidecar: 1.1.3(@types/react@18.3.18)(react@18.3.1) + react: 19.0.0 + react-clientside-effect: 1.2.7(react@19.0.0) + use-callback-ref: 1.3.3(@types/react@19.0.2)(react@19.0.0) + use-sidecar: 1.1.3(@types/react@19.0.2)(react@19.0.0) optionalDependencies: - '@types/react': 18.3.18 + '@types/react': 19.0.2 - react-hook-form@7.54.1(react@18.3.1): + react-hook-form@7.54.1(react@19.0.0): dependencies: - react: 18.3.1 + react: 19.0.0 - react-i18next@14.0.2(i18next@23.16.8)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + react-i18next@14.0.2(i18next@23.16.8)(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: '@babel/runtime': 7.26.0 html-parse-stringify: 3.0.1 i18next: 23.16.8 - react: 18.3.1 + react: 19.0.0 optionalDependencies: - react-dom: 18.3.1(react@18.3.1) + react-dom: 19.0.0(react@19.0.0) - react-icons@5.4.0(react@18.3.1): + react-icons@5.4.0(react@19.0.0): dependencies: - react: 18.3.1 + react: 19.0.0 react-is@16.13.1: {} @@ -22253,41 +21468,34 @@ snapshots: react-is@19.0.0-rc.1: {} - react-redux@7.2.9(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + react-redux@7.2.9(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: '@babel/runtime': 7.26.0 '@types/react-redux': 7.1.34 hoist-non-react-statics: 3.3.2 loose-envify: 1.4.0 prop-types: 15.8.1 - react: 18.3.1 + react: 19.0.0 react-is: 17.0.2 optionalDependencies: - react-dom: 18.3.1(react@18.3.1) - - react-refractor@2.2.0(react@18.3.1): - dependencies: - react: 18.3.1 - refractor: 3.6.0 - unist-util-filter: 2.0.3 - unist-util-visit-parents: 3.1.1 + react-dom: 19.0.0(react@19.0.0) - react-refractor@2.2.0(react@19.0.0-rc-f994737d14-20240522): + react-refractor@2.2.0(react@19.0.0): dependencies: - react: 19.0.0-rc-f994737d14-20240522 + react: 19.0.0 refractor: 3.6.0 unist-util-filter: 2.0.3 unist-util-visit-parents: 3.1.1 react-refresh@0.14.2: {} - react-rx@4.1.11(react@18.3.1)(rxjs@7.8.1): + react-rx@4.1.11(react@19.0.0)(rxjs@7.8.1): dependencies: observable-callback: 1.0.3(rxjs@7.8.1) - react: 18.3.1 - react-compiler-runtime: 19.0.0-beta-55955c9-20241229(react@18.3.1) + react: 19.0.0 + react-compiler-runtime: 19.0.0-beta-55955c9-20241229(react@19.0.0) rxjs: 7.8.1 - use-effect-event: 1.0.2(react@18.3.1) + use-effect-event: 1.0.2(react@19.0.0) react-scan@0.0.31: dependencies: @@ -22297,56 +21505,56 @@ snapshots: mri: 1.2.0 playwright: 1.49.1 - react-select@5.9.0(@types/react@18.3.18)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + react-select@5.9.0(@types/react@19.0.2)(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: '@babel/runtime': 7.26.0 '@emotion/cache': 11.14.0 - '@emotion/react': 11.14.0(@types/react@18.3.18)(react@18.3.1) + '@emotion/react': 11.14.0(@types/react@19.0.2)(react@19.0.0) '@floating-ui/dom': 1.6.12 - '@types/react-transition-group': 4.4.12(@types/react@18.3.18) + '@types/react-transition-group': 4.4.12(@types/react@19.0.2) memoize-one: 6.0.0 prop-types: 15.8.1 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - react-transition-group: 4.4.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - use-isomorphic-layout-effect: 1.2.0(@types/react@18.3.18)(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) + react-transition-group: 4.4.5(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + use-isomorphic-layout-effect: 1.2.0(@types/react@19.0.2)(react@19.0.0) transitivePeerDependencies: - '@types/react' - supports-color - react-simplemde-editor@5.2.0(easymde@2.18.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + react-simplemde-editor@5.2.0(easymde@2.18.0)(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: '@types/codemirror': 5.60.15 easymde: 2.18.0 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) - react-transition-group@4.4.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + react-transition-group@4.4.5(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: '@babel/runtime': 7.26.0 dom-helpers: 5.2.1 loose-envify: 1.4.0 prop-types: 15.8.1 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) - react-virtuoso@4.12.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + react-virtuoso@4.12.3(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) react@18.3.1: dependencies: loose-envify: 1.4.0 - react@19.0.0-rc-f994737d14-20240522: {} + react@19.0.0: {} react@19.0.0-rc.1: {} - reactcss@1.2.3(react@18.3.1): + reactcss@1.2.3(react@19.0.0): dependencies: lodash: 4.17.21 - react: 18.3.1 + react: 19.0.0 read-cmd-shim@4.0.0: {} @@ -22672,10 +21880,6 @@ snapshots: optionalDependencies: '@types/node': 22.10.2 - rollup@3.29.5: - optionalDependencies: - fsevents: 2.3.3 - rollup@4.29.1: dependencies: '@types/estree': 1.0.6 @@ -22782,45 +21986,45 @@ snapshots: dependencies: '@sanity/diff-match-patch': 3.1.2 - sanity-plugin-hotspot-array@2.1.2(@emotion/is-prop-valid@1.3.1)(@sanity/ui@2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc.1)(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.2(@emotion/is-prop-valid@1.3.1)(@sanity/ui@2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)): dependencies: '@sanity/asset-utils': 2.2.1 '@sanity/image-url': 1.1.0 - '@sanity/incompatible-plugin': 1.0.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@sanity/ui': 2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc.1)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@sanity/incompatible-plugin': 1.0.5(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + '@sanity/ui': 2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) '@sanity/util': link:packages/@sanity/util '@types/lodash-es': 4.17.12 - framer-motion: 11.15.0(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + framer-motion: 11.15.0(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) lodash-es: 4.17.21 - react: 18.3.1 + react: 19.0.0 sanity: link:packages/sanity - styled-components: 6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + styled-components: 6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0) transitivePeerDependencies: - '@emotion/is-prop-valid' - react-dom - sanity-plugin-markdown@5.0.0(@emotion/is-prop-valid@1.3.1)(easymde@2.18.0)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc.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-markdown@5.0.0(@emotion/is-prop-valid@1.3.1)(easymde@2.18.0)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)): dependencies: - '@sanity/incompatible-plugin': 1.0.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@sanity/ui': 2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc.1)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@sanity/incompatible-plugin': 1.0.5(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + '@sanity/ui': 2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) easymde: 2.18.0 - react: 18.3.1 - react-simplemde-editor: 5.2.0(easymde@2.18.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + react: 19.0.0 + react-simplemde-editor: 5.2.0(easymde@2.18.0)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) sanity: link:packages/sanity - styled-components: 6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + styled-components: 6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0) transitivePeerDependencies: - '@emotion/is-prop-valid' - react-dom - react-is - sanity-plugin-media@2.3.2(@sanity/ui@2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc.1)(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.18)(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.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)))(@types/react@19.0.2)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)): dependencies: - '@hookform/resolvers': 3.9.1(react-hook-form@7.54.1(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.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@sanity/ui': 2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc.1)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@hookform/resolvers': 3.9.1(react-hook-form@7.54.1(react@19.0.0)) + '@reduxjs/toolkit': 1.9.7(react-redux@7.2.9(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react@19.0.0) + '@sanity/incompatible-plugin': 1.0.5(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + '@sanity/ui': 2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) '@sanity/uuid': 3.0.2 - '@tanem/react-nprogress': 5.0.53(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@tanem/react-nprogress': 5.0.53(react-dom@19.0.0(react@19.0.0))(react@19.0.0) copy-to-clipboard: 3.3.3 date-fns: 2.30.0 filesize: 9.0.11 @@ -22829,47 +22033,47 @@ snapshots: nanoid: 3.3.8 npm-run-all: 4.1.5 pluralize: 8.0.0 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - react-dropzone: 11.7.1(react@18.3.1) - react-file-icon: 1.5.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - react-hook-form: 7.54.1(react@18.3.1) - react-redux: 7.2.9(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - react-select: 5.9.0(@types/react@18.3.18)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - react-virtuoso: 4.12.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) + react-dropzone: 11.7.1(react@19.0.0) + react-file-icon: 1.5.0(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + react-hook-form: 7.54.1(react@19.0.0) + react-redux: 7.2.9(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + react-select: 5.9.0(@types/react@19.0.2)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + react-virtuoso: 4.12.3(react-dom@19.0.0(react@19.0.0))(react@19.0.0) redux: 4.2.1 redux-observable: 2.0.0(redux@4.2.1) rxjs: 7.8.1 sanity: link:packages/sanity - styled-components: 6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + styled-components: 6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0) zod: 3.24.1 transitivePeerDependencies: - '@types/react' - react-native - supports-color - sanity-plugin-mux-input@2.4.0(@emotion/is-prop-valid@1.3.1)(@types/react@18.3.18)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc.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@2.4.0(@emotion/is-prop-valid@1.3.1)(@types/react@19.0.2)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(sanity@packages+sanity)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)): dependencies: - '@mux/mux-player-react': 2.9.1(@types/react@18.3.18)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@mux/mux-player-react': 2.9.1(@types/react@19.0.2)(react-dom@19.0.0(react@19.0.0))(react@19.0.0) '@mux/upchunk': 3.4.0 - '@sanity/icons': 3.5.7(react@18.3.1) - '@sanity/incompatible-plugin': 1.0.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@sanity/ui': 2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@18.3.1(react@18.3.1))(react-is@19.0.0-rc.1)(react@18.3.1)(styled-components@6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@sanity/icons': 3.5.7(react@19.0.0) + '@sanity/incompatible-plugin': 1.0.5(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + '@sanity/ui': 2.10.14(@emotion/is-prop-valid@1.3.1)(react-dom@19.0.0(react@19.0.0))(react-is@19.0.0-rc.1)(react@19.0.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) '@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: 19.0.0 react-is: 19.0.0-rc.1 - react-rx: 4.1.11(react@18.3.1)(rxjs@7.8.1) + react-rx: 4.1.11(react@19.0.0)(rxjs@7.8.1) rxjs: 7.8.1 sanity: link:packages/sanity scroll-into-view-if-needed: 3.1.0 - styled-components: 6.1.13(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - suspend-react: 0.1.3(react@18.3.1) - swr: 2.2.5(react@18.3.1) + styled-components: 6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0) + suspend-react: 0.1.3(react@19.0.0) + swr: 2.2.5(react@19.0.0) type-fest: 4.30.2 - use-error-boundary: 2.0.6(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + use-error-boundary: 2.0.6(react-dom@19.0.0(react@19.0.0))(react@19.0.0) transitivePeerDependencies: - '@emotion/is-prop-valid' - '@types/react' @@ -22884,7 +22088,7 @@ snapshots: dependencies: loose-envify: 1.4.0 - scheduler@0.25.0-rc-f994737d14-20240522: {} + scheduler@0.25.0: {} scheduler@0.25.0-rc.1: {} @@ -22896,7 +22100,7 @@ snapshots: dependencies: commander: 2.20.3 - segmented-property@3.0.3: {} + segmented-property@4.0.0: {} semver-compare@1.0.0: {} @@ -23103,15 +22307,15 @@ snapshots: slate: 0.112.0 tiny-invariant: 1.3.1 - slate-react@0.112.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(slate-dom@0.111.0(slate@0.112.0))(slate@0.112.0): + slate-react@0.112.0(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(slate-dom@0.111.0(slate@0.112.0))(slate@0.112.0): dependencies: '@juggle/resize-observer': 3.4.0 direction: 1.0.4 is-hotkey: 0.2.0 is-plain-object: 5.0.0 lodash: 4.17.21 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) + react: 19.0.0 + react-dom: 19.0.0(react@19.0.0) scroll-into-view-if-needed: 3.1.0 slate: 0.112.0 slate-dom: 0.111.0(slate@0.112.0) @@ -23521,21 +22725,7 @@ snapshots: 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): - dependencies: - '@emotion/is-prop-valid': 1.2.2 - '@emotion/unitless': 0.8.1 - '@types/stylis': 4.2.5 - 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) - 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(react@19.0.0))(react@19.0.0): dependencies: '@emotion/is-prop-valid': 1.2.2 '@emotion/unitless': 0.8.1 @@ -23543,8 +22733,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 + react-dom: 19.0.0(react@19.0.0) shallowequal: 1.1.0 stylis: 4.3.2 tslib: 2.6.2 @@ -23563,18 +22753,18 @@ snapshots: stylis: 4.3.2 tslib: 2.6.2 - styled-jsx@5.1.1(@babel/core@7.26.0)(babel-plugin-macros@3.1.0)(react@18.3.1): + styled-jsx@5.1.1(@babel/core@7.26.0)(babel-plugin-macros@3.1.0)(react@19.0.0): dependencies: client-only: 0.0.1 - react: 18.3.1 + react: 19.0.0 optionalDependencies: '@babel/core': 7.26.0 babel-plugin-macros: 3.1.0 - styled-jsx@5.1.6(@babel/core@7.26.0)(babel-plugin-macros@3.1.0)(react@18.3.1): + styled-jsx@5.1.6(@babel/core@7.26.0)(babel-plugin-macros@3.1.0)(react@19.0.0): dependencies: client-only: 0.0.1 - react: 18.3.1 + react: 19.0.0 optionalDependencies: '@babel/core': 7.26.0 babel-plugin-macros: 3.1.0 @@ -23614,15 +22804,15 @@ snapshots: supports-preserve-symlinks-flag@1.0.0: {} - suspend-react@0.1.3(react@18.3.1): + suspend-react@0.1.3(react@19.0.0): dependencies: - react: 18.3.1 + react: 19.0.0 - swr@2.2.5(react@18.3.1): + swr@2.2.5(react@19.0.0): dependencies: client-only: 0.0.1 - react: 18.3.1 - use-sync-external-store: 1.4.0(react@18.3.1) + react: 19.0.0 + use-sync-external-store: 1.4.0(react@19.0.0) symbol-tree@3.2.4: {} @@ -24102,52 +23292,48 @@ snapshots: querystringify: 2.2.0 requires-port: 1.0.0 - use-callback-ref@1.3.3(@types/react@18.3.18)(react@18.3.1): + use-callback-ref@1.3.3(@types/react@19.0.2)(react@19.0.0): dependencies: - react: 18.3.1 + react: 19.0.0 tslib: 2.8.1 optionalDependencies: - '@types/react': 18.3.18 + '@types/react': 19.0.2 - use-device-pixel-ratio@1.1.2(react@18.3.1): + use-device-pixel-ratio@1.1.2(react@19.0.0): dependencies: - react: 18.3.1 - - use-effect-event@1.0.2(react@18.3.1): - dependencies: - react: 18.3.1 + react: 19.0.0 - use-effect-event@1.0.2(react@19.0.0-rc-f994737d14-20240522): + use-effect-event@1.0.2(react@19.0.0): dependencies: - react: 19.0.0-rc-f994737d14-20240522 + react: 19.0.0 - use-error-boundary@2.0.6(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + use-error-boundary@2.0.6(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: - react: 18.3.1 + react: 19.0.0 optionalDependencies: - react-dom: 18.3.1(react@18.3.1) + react-dom: 19.0.0(react@19.0.0) - use-hot-module-reload@2.0.0(react@18.3.1): + use-hot-module-reload@2.0.0(react@19.0.0): dependencies: - react: 18.3.1 + react: 19.0.0 - use-isomorphic-layout-effect@1.2.0(@types/react@18.3.18)(react@18.3.1): + use-isomorphic-layout-effect@1.2.0(@types/react@19.0.2)(react@19.0.0): dependencies: - react: 18.3.1 + react: 19.0.0 optionalDependencies: - '@types/react': 18.3.18 + '@types/react': 19.0.2 - use-sidecar@1.1.3(@types/react@18.3.18)(react@18.3.1): + use-sidecar@1.1.3(@types/react@19.0.2)(react@19.0.0): dependencies: detect-node-es: 1.1.0 - react: 18.3.1 + react: 19.0.0 tslib: 2.8.1 optionalDependencies: - '@types/react': 18.3.18 + '@types/react': 19.0.2 - use-sync-external-store@1.4.0(react@18.3.1): + use-sync-external-store@1.4.0(react@19.0.0): dependencies: - react: 18.3.1 + react: 19.0.0 use@3.1.1: {} @@ -24186,23 +23372,6 @@ snapshots: vary@1.1.2: {} - vite-node@2.1.1(@types/node@22.10.2)(terser@5.37.0): - dependencies: - cac: 6.7.14 - debug: 4.4.0(supports-color@9.4.0) - pathe: 1.1.2 - vite: 5.4.11(@types/node@22.10.2)(terser@5.37.0) - transitivePeerDependencies: - - '@types/node' - - less - - lightningcss - - sass - - sass-embedded - - stylus - - sugarss - - supports-color - - terser - vite-node@2.1.8(@types/node@18.19.68)(terser@5.37.0): dependencies: cac: 6.7.14 @@ -24250,16 +23419,6 @@ snapshots: - supports-color - typescript - vite@4.5.5(@types/node@22.10.2)(terser@5.37.0): - dependencies: - esbuild: 0.18.20 - postcss: 8.4.49 - rollup: 3.29.5 - optionalDependencies: - '@types/node': 22.10.2 - fsevents: 2.3.3 - terser: 5.37.0 - vite@5.4.11(@types/node@18.19.68)(terser@5.37.0): dependencies: esbuild: 0.21.5 @@ -24291,41 +23450,6 @@ snapshots: terser: 5.37.0 yaml: 2.6.1 - vitest@2.1.1(@types/node@22.10.2)(jsdom@23.2.0)(terser@5.37.0): - dependencies: - '@vitest/expect': 2.1.1 - '@vitest/mocker': 2.1.1(@vitest/spy@2.1.1)(vite@5.4.11(@types/node@22.10.2)(terser@5.37.0)) - '@vitest/pretty-format': 2.1.8 - '@vitest/runner': 2.1.1 - '@vitest/snapshot': 2.1.1 - '@vitest/spy': 2.1.1 - '@vitest/utils': 2.1.1 - chai: 5.1.2 - debug: 4.4.0(supports-color@9.4.0) - magic-string: 0.30.17 - pathe: 1.1.2 - std-env: 3.8.0 - tinybench: 2.9.0 - tinyexec: 0.3.1 - tinypool: 1.0.2 - tinyrainbow: 1.2.0 - vite: 5.4.11(@types/node@22.10.2)(terser@5.37.0) - vite-node: 2.1.1(@types/node@22.10.2)(terser@5.37.0) - why-is-node-running: 2.3.0 - optionalDependencies: - '@types/node': 22.10.2 - jsdom: 23.2.0 - transitivePeerDependencies: - - less - - lightningcss - - msw - - sass - - sass-embedded - - stylus - - sugarss - - supports-color - - terser - vitest@2.1.8(@types/node@18.19.68)(jsdom@25.0.1)(terser@5.37.0): dependencies: '@vitest/expect': 2.1.8