diff --git a/app/package.json b/app/package.json index 8e93bfb..7a9977d 100644 --- a/app/package.json +++ b/app/package.json @@ -20,7 +20,7 @@ "expo-screen-orientation": "~8.0.1", "expo-splash-screen": "~0.29.16", "expo-status-bar": "~2.0.0", - "react": "18.3.1", + "react": "19.0.0", "react-native": "0.76.3", "react-native-safe-area-context": "4.12.0", "react-native-svg": "15.8.0", diff --git a/docs/package.json b/docs/package.json index a350118..c7285c0 100644 --- a/docs/package.json +++ b/docs/package.json @@ -17,11 +17,11 @@ "@react-universal/next": "workspace:*", "@shikijs/rehype": "^1.24.0", "@types/node": "^22.10.1", - "@types/react": "~18.3.14", - "@types/react-dom": "~18.3.2", + "@types/react": "~19.0.0", + "@types/react-dom": "~19.0.0", "next": "^15.0.4", - "react": "18.3.1", - "react-dom": "18.3.1", + "react": "19.0.0", + "react-dom": "19.0.0", "react-icons": "^5.4.0", "react-native": "0.76.3", "rehype-slug": "^6.0.0", diff --git a/package.json b/package.json index ef96c8b..575499a 100644 --- a/package.json +++ b/package.json @@ -25,16 +25,16 @@ "@testing-library/dom": "^10.4.0", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.1.0", - "@types/react": "~18.3.14", + "@types/react": "~19.0.0", "@vitest/browser": "^2.1.8", "jsdom": "^25.0.1", "lefthook": "^1.8.5", "playwright": "^1.49.0", - "react": "18.3.1", - "react-dom": "18.3.1", + "react": "19.0.0", + "react-dom": "19.0.0", "react-native": "0.76.3", "react-native-unistyles": "^2.20.0", - "react-test-renderer": "18.3.1", + "react-test-renderer": "19.0.0", "rimraf": "^6.0.1", "storybook": "^8.4.7", "tsup": "^8.3.5", diff --git a/packages/components/package.json b/packages/components/package.json index acceda0..de632d7 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -43,13 +43,13 @@ "@tamagui/compose-refs": "^1.119.0" }, "devDependencies": { - "@types/react": "~18.3.14", - "react": "18.3.1", + "@types/react": "~19.0.0", + "react": "19.0.0", "react-native": "0.76.3" }, "peerDependencies": { - "@types/react": "^18.2.0", - "react": "^18.2.0", + "@types/react": "^18.2.0 || ^19.0.0", + "react": "^18.2.0 || ^19.0.0", "react-native": ">=0.76.0" }, "peerDependenciesMeta": { diff --git a/packages/core/package.json b/packages/core/package.json index 33e3b9d..8acb7c1 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -36,14 +36,14 @@ "@tamagui/react-native-use-responder-events": "^1.119.0" }, "devDependencies": { - "@types/react": "~18.3.14", - "react": "18.3.1", + "@types/react": "~19.0.0", + "react": "19.0.0", "react-native": "0.76.3", "react-native-unistyles": "^2.20.0" }, "peerDependencies": { - "@types/react": "^18.2.0", - "react": "^18.2.0", + "@types/react": "^18.2.0 || ^19.0.0", + "react": "^18.2.0 || ^19.0.0", "react-native": ">=0.76.0", "react-native-unistyles": "^2.20.0" }, diff --git a/packages/elements/package.json b/packages/elements/package.json index 2c483d8..eedd591 100644 --- a/packages/elements/package.json +++ b/packages/elements/package.json @@ -29,13 +29,13 @@ "@react-universal/core": "workspace:*" }, "devDependencies": { - "@types/react": "~18.3.14", - "react": "18.3.1", + "@types/react": "~19.0.0", + "react": "19.0.0", "react-native": "0.76.3" }, "peerDependencies": { - "@types/react": "^18.2.0", - "react": "^18.2.0", + "@types/react": "^18.2.0 || ^19.0.0", + "react": "^18.2.0 || ^19.0.0", "react-native": ">=0.76.0" }, "peerDependenciesMeta": { diff --git a/packages/next/package.json b/packages/next/package.json index 167d735..3c55480 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -41,12 +41,12 @@ }, "devDependencies": { "next": "^15.0.4", - "react": "18.3.1", - "react-dom": "18.3.1" + "react": "19.0.0", + "react-dom": "19.0.0" }, "peerDependencies": { "next": "^14.0.0 || ^15.0.0", - "react": "^18.2.0", - "react-dom": "^18.2.0" + "react": "^18.2.0 || ^19.0.0", + "react-dom": "^18.2.0 || ^19.0.0" } } diff --git a/packages/svg/package.json b/packages/svg/package.json index 1306e46..a398c82 100644 --- a/packages/svg/package.json +++ b/packages/svg/package.json @@ -29,14 +29,14 @@ "@react-universal/utils": "workspace:*" }, "devDependencies": { - "@types/react": "~18.3.14", - "react": "18.3.1", + "@types/react": "~19.0.0", + "react": "19.0.0", "react-native": "0.76.3", "react-native-svg": "15.8.0" }, "peerDependencies": { - "@types/react": "^18.2.0", - "react": "^18.2.0", + "@types/react": "^18.2.0 || ^19.0.0", + "react": "^18.2.0 || ^19.0.0", "react-native": ">=0.76.0", "react-native-svg": "^15.0.0" }, diff --git a/packages/vite-plugin/package.json b/packages/vite-plugin/package.json index 15f737f..d8ad07e 100644 --- a/packages/vite-plugin/package.json +++ b/packages/vite-plugin/package.json @@ -39,11 +39,11 @@ "@react-universal/core": "workspace:*" }, "devDependencies": { - "react": "18.3.1", + "react": "19.0.0", "vite": "^5.4.11" }, "peerDependencies": { - "react": "^18.2.0", + "react": "^18.2.0 || ^19.0.0", "vite": "^5.0.0" } } diff --git a/sandbox/next-app/package.json b/sandbox/next-app/package.json index 2196cb7..ae59070 100644 --- a/sandbox/next-app/package.json +++ b/sandbox/next-app/package.json @@ -14,11 +14,11 @@ "@react-universal/elements": "workspace:*", "@react-universal/next": "workspace:*", "@types/node": "^22.10.1", - "@types/react": "~18.3.14", - "@types/react-dom": "~18.3.2", + "@types/react": "~19.0.0", + "@types/react-dom": "~19.0.0", "next": "^15.0.4", - "react": "18.3.1", - "react-dom": "18.3.1", + "react": "19.0.0", + "react-dom": "19.0.0", "react-native": "0.76.3", "typescript": "~5.7.2" } diff --git a/yarn.lock b/yarn.lock index b5867a2..fd89dca 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3721,7 +3721,7 @@ __metadata: expo-screen-orientation: "npm:~8.0.1" expo-splash-screen: "npm:~0.29.16" expo-status-bar: "npm:~2.0.0" - react: "npm:18.3.1" + react: "npm:19.0.0" react-native: "npm:0.76.3" react-native-safe-area-context: "npm:4.12.0" react-native-svg: "npm:15.8.0" @@ -3738,12 +3738,12 @@ __metadata: "@floating-ui/react-native": "npm:^0.10.7" "@react-universal/core": "workspace:*" "@tamagui/compose-refs": "npm:^1.119.0" - "@types/react": "npm:~18.3.14" - react: "npm:18.3.1" + "@types/react": "npm:~19.0.0" + react: "npm:19.0.0" react-native: "npm:0.76.3" peerDependencies: - "@types/react": ^18.2.0 - react: ^18.2.0 + "@types/react": ^18.2.0 || ^19.0.0 + react: ^18.2.0 || ^19.0.0 react-native: ">=0.76.0" peerDependenciesMeta: "@types/react": @@ -3764,13 +3764,13 @@ __metadata: "@react-universal/utils": "workspace:*" "@tamagui/constants": "npm:^1.119.0" "@tamagui/react-native-use-responder-events": "npm:^1.119.0" - "@types/react": "npm:~18.3.14" - react: "npm:18.3.1" + "@types/react": "npm:~19.0.0" + react: "npm:19.0.0" react-native: "npm:0.76.3" react-native-unistyles: "npm:^2.20.0" peerDependencies: - "@types/react": ^18.2.0 - react: ^18.2.0 + "@types/react": ^18.2.0 || ^19.0.0 + react: ^18.2.0 || ^19.0.0 react-native: ">=0.76.0" react-native-unistyles: ^2.20.0 peerDependenciesMeta: @@ -3791,11 +3791,11 @@ __metadata: "@react-universal/next": "workspace:*" "@shikijs/rehype": "npm:^1.24.0" "@types/node": "npm:^22.10.1" - "@types/react": "npm:~18.3.14" - "@types/react-dom": "npm:~18.3.2" + "@types/react": "npm:~19.0.0" + "@types/react-dom": "npm:~19.0.0" next: "npm:^15.0.4" - react: "npm:18.3.1" - react-dom: "npm:18.3.1" + react: "npm:19.0.0" + react-dom: "npm:19.0.0" react-icons: "npm:^5.4.0" react-native: "npm:0.76.3" rehype-slug: "npm:^6.0.0" @@ -3814,12 +3814,12 @@ __metadata: dependencies: "@react-universal/components": "workspace:*" "@react-universal/core": "workspace:*" - "@types/react": "npm:~18.3.14" - react: "npm:18.3.1" + "@types/react": "npm:~19.0.0" + react: "npm:19.0.0" react-native: "npm:0.76.3" peerDependencies: - "@types/react": ^18.2.0 - react: ^18.2.0 + "@types/react": ^18.2.0 || ^19.0.0 + react: ^18.2.0 || ^19.0.0 react-native: ">=0.76.0" peerDependenciesMeta: "@types/react": @@ -3836,12 +3836,12 @@ __metadata: "@react-universal/core": "workspace:*" "@react-universal/utils": "workspace:*" next: "npm:^15.0.4" - react: "npm:18.3.1" - react-dom: "npm:18.3.1" + react: "npm:19.0.0" + react-dom: "npm:19.0.0" peerDependencies: next: ^14.0.0 || ^15.0.0 - react: ^18.2.0 - react-dom: ^18.2.0 + react: ^18.2.0 || ^19.0.0 + react-dom: ^18.2.0 || ^19.0.0 languageName: unknown linkType: soft @@ -3851,13 +3851,13 @@ __metadata: dependencies: "@react-universal/core": "workspace:*" "@react-universal/utils": "workspace:*" - "@types/react": "npm:~18.3.14" - react: "npm:18.3.1" + "@types/react": "npm:~19.0.0" + react: "npm:19.0.0" react-native: "npm:0.76.3" react-native-svg: "npm:15.8.0" peerDependencies: - "@types/react": ^18.2.0 - react: ^18.2.0 + "@types/react": ^18.2.0 || ^19.0.0 + react: ^18.2.0 || ^19.0.0 react-native: ">=0.76.0" react-native-svg: ^15.0.0 peerDependenciesMeta: @@ -3881,10 +3881,10 @@ __metadata: "@pigment-css/react": "npm:^0.0.28" "@pigment-css/vite-plugin": "npm:^0.0.28" "@react-universal/core": "workspace:*" - react: "npm:18.3.1" + react: "npm:19.0.0" vite: "npm:^5.4.11" peerDependencies: - react: ^18.2.0 + react: ^18.2.0 || ^19.0.0 vite: ^5.0.0 languageName: unknown linkType: soft @@ -4756,29 +4756,28 @@ __metadata: languageName: node linkType: hard -"@types/prop-types@npm:*, @types/prop-types@npm:^15.7.13": +"@types/prop-types@npm:^15.7.13": version: 15.7.13 resolution: "@types/prop-types@npm:15.7.13" checksum: 10c0/1b20fc67281902c6743379960247bc161f3f0406ffc0df8e7058745a85ea1538612109db0406290512947f9632fe9e10e7337bf0ce6338a91d6c948df16a7c61 languageName: node linkType: hard -"@types/react-dom@npm:~18.3.2": - version: 18.3.2 - resolution: "@types/react-dom@npm:18.3.2" +"@types/react-dom@npm:~19.0.0": + version: 19.0.0 + resolution: "@types/react-dom@npm:19.0.0" dependencies: - "@types/react": "npm:^18" - checksum: 10c0/22510231af67044a9542633b5b52ec16a8d71fa1da177f82428b8120d36619fd874c3b975b2eda6895baa53667f9fe8cba3acea1232a0244dffe8b11f6b32284 + "@types/react": "npm:*" + checksum: 10c0/bd480fc4a9c801fc6bbc7d26b37bb815fc382e76b5428511b1bdb2e8048f3dbd2ff9973bafc86b448e0593f9da4c02f7b39d47409e427daeed5a54f045de4596 languageName: node linkType: hard -"@types/react@npm:^18, @types/react@npm:~18.3.14": - version: 18.3.14 - resolution: "@types/react@npm:18.3.14" +"@types/react@npm:*, @types/react@npm:~19.0.0": + version: 19.0.0 + resolution: "@types/react@npm:19.0.0" dependencies: - "@types/prop-types": "npm:*" csstype: "npm:^3.0.2" - checksum: 10c0/d925fbfcf084238b93d1a0b5406d4cf9aeb37c4a1191559aa4ee107c2e55cc15327989140f03eddda4d471f5b935d4673fd74a86f451860edea18eae48ca44f8 + checksum: 10c0/d7753ec27c5fa48f3aab97d7d4e9e33ad62bbff761a421bfc56c7b403fab9e3ed266d47793e44311ca2f0034e8ae428cea4aecbe1c542b418cfe72a520eab931 languageName: node linkType: hard @@ -11011,11 +11010,11 @@ __metadata: "@react-universal/elements": "workspace:*" "@react-universal/next": "workspace:*" "@types/node": "npm:^22.10.1" - "@types/react": "npm:~18.3.14" - "@types/react-dom": "npm:~18.3.2" + "@types/react": "npm:~19.0.0" + "@types/react-dom": "npm:~19.0.0" next: "npm:^15.0.4" - react: "npm:18.3.1" - react-dom: "npm:18.3.1" + react: "npm:19.0.0" + react-dom: "npm:19.0.0" react-native: "npm:0.76.3" typescript: "npm:~5.7.2" languageName: unknown @@ -12062,7 +12061,18 @@ __metadata: languageName: node linkType: hard -"react-dom@npm:18.3.1, react-dom@npm:^16.8.0 || ^17.0.0 || ^18.0.0": +"react-dom@npm:19.0.0": + version: 19.0.0 + resolution: "react-dom@npm:19.0.0" + dependencies: + scheduler: "npm:^0.25.0" + peerDependencies: + react: ^19.0.0 + checksum: 10c0/a36ce7ab507b237ae2759c984cdaad4af4096d8199fb65b3815c16825e5cfeb7293da790a3fc2184b52bfba7ba3ff31c058c01947aff6fd1a3701632aabaa6a9 + languageName: node + linkType: hard + +"react-dom@npm:^16.8.0 || ^17.0.0 || ^18.0.0": version: 18.3.1 resolution: "react-dom@npm:18.3.1" dependencies: @@ -12083,13 +12093,6 @@ __metadata: languageName: node linkType: hard -"react-is@npm:^16.12.0 || ^17.0.0 || ^18.0.0, react-is@npm:^18.0.0, react-is@npm:^18.3.1": - version: 18.3.1 - resolution: "react-is@npm:18.3.1" - checksum: 10c0/f2f1e60010c683479e74c63f96b09fb41603527cd131a9959e2aee1e5a8b0caf270b365e5ca77d4a6b18aae659b60a86150bb3979073528877029b35aecd2072 - languageName: node - linkType: hard - "react-is@npm:^16.13.1, react-is@npm:^16.7.0": version: 16.13.1 resolution: "react-is@npm:16.13.1" @@ -12104,6 +12107,20 @@ __metadata: languageName: node linkType: hard +"react-is@npm:^18.0.0, react-is@npm:^18.3.1": + version: 18.3.1 + resolution: "react-is@npm:18.3.1" + checksum: 10c0/f2f1e60010c683479e74c63f96b09fb41603527cd131a9959e2aee1e5a8b0caf270b365e5ca77d4a6b18aae659b60a86150bb3979073528877029b35aecd2072 + languageName: node + linkType: hard + +"react-is@npm:^19.0.0": + version: 19.0.0 + resolution: "react-is@npm:19.0.0" + checksum: 10c0/d1be8e8500cf04f76df71942a21ef3a71266397a383d7ec8885f35190df818d35c65efd35aed7be47a89ad99aaff2c52e0c4e39e8930844a6b997622e50625a8 + languageName: node + linkType: hard + "react-native-safe-area-context@npm:4.12.0": version: 4.12.0 resolution: "react-native-safe-area-context@npm:4.12.0" @@ -12210,28 +12227,15 @@ __metadata: languageName: node linkType: hard -"react-shallow-renderer@npm:^16.15.0": - version: 16.15.0 - resolution: "react-shallow-renderer@npm:16.15.0" +"react-test-renderer@npm:19.0.0": + version: 19.0.0 + resolution: "react-test-renderer@npm:19.0.0" dependencies: - object-assign: "npm:^4.1.1" - react-is: "npm:^16.12.0 || ^17.0.0 || ^18.0.0" + react-is: "npm:^19.0.0" + scheduler: "npm:^0.25.0" peerDependencies: - react: ^16.0.0 || ^17.0.0 || ^18.0.0 - checksum: 10c0/c194d741792e86043a4ae272f7353c1cb9412bc649945c4220c6a101a6ea5410cceb3d65d5a4d750f11a24f7426e8eec7977e8a4e3ad5d3ee235ca2b18166fa8 - languageName: node - linkType: hard - -"react-test-renderer@npm:18.3.1": - version: 18.3.1 - resolution: "react-test-renderer@npm:18.3.1" - dependencies: - react-is: "npm:^18.3.1" - react-shallow-renderer: "npm:^16.15.0" - scheduler: "npm:^0.23.2" - peerDependencies: - react: ^18.3.1 - checksum: 10c0/c633558ef9af33bc68f0c4dbb5163a004c4fb9eade7bd0a7cfc0355fb367f36bd9d96533c90b7e85a146be6c525113a15f58683d269e0177ad77e2b04d4fe51c + react: ^19.0.0 + checksum: 10c0/67c34dae4d3a60b9306d2b5cb6db436376ef20c651aaf092644298e3ffb92cd3c7b0da2017e7f1395bf2de8b42429874a5a63e8cc3c21febbab31b0309e41862 languageName: node linkType: hard @@ -12248,16 +12252,16 @@ __metadata: "@testing-library/dom": "npm:^10.4.0" "@testing-library/jest-dom": "npm:^6.6.3" "@testing-library/react": "npm:^16.1.0" - "@types/react": "npm:~18.3.14" + "@types/react": "npm:~19.0.0" "@vitest/browser": "npm:^2.1.8" jsdom: "npm:^25.0.1" lefthook: "npm:^1.8.5" playwright: "npm:^1.49.0" - react: "npm:18.3.1" - react-dom: "npm:18.3.1" + react: "npm:19.0.0" + react-dom: "npm:19.0.0" react-native: "npm:0.76.3" react-native-unistyles: "npm:^2.20.0" - react-test-renderer: "npm:18.3.1" + react-test-renderer: "npm:19.0.0" rimraf: "npm:^6.0.1" storybook: "npm:^8.4.7" tsup: "npm:^8.3.5" @@ -12267,7 +12271,14 @@ __metadata: languageName: unknown linkType: soft -"react@npm:18.3.1, react@npm:^16.8.0 || ^17.0.0 || ^18.0.0": +"react@npm:19.0.0": + version: 19.0.0 + resolution: "react@npm:19.0.0" + checksum: 10c0/9cad8f103e8e3a16d15cb18a0d8115d8bd9f9e1ce3420310aea381eb42aa0a4f812cf047bb5441349257a05fba8a291515691e3cb51267279b2d2c3253f38471 + languageName: node + linkType: hard + +"react@npm:^16.8.0 || ^17.0.0 || ^18.0.0": version: 18.3.1 resolution: "react@npm:18.3.1" dependencies: @@ -12941,6 +12952,13 @@ __metadata: languageName: node linkType: hard +"scheduler@npm:^0.25.0": + version: 0.25.0 + resolution: "scheduler@npm:0.25.0" + checksum: 10c0/a4bb1da406b613ce72c1299db43759526058fdcc413999c3c3e0db8956df7633acf395cb20eb2303b6a65d658d66b6585d344460abaee8080b4aa931f10eaafe + languageName: node + linkType: hard + "scule@npm:^1.3.0": version: 1.3.0 resolution: "scule@npm:1.3.0"