Skip to content

Commit

Permalink
Merge pull request #223 from goveo/development
Browse files Browse the repository at this point in the history
Add React 19 support
  • Loading branch information
goveo authored Dec 16, 2024
2 parents 20bfdde + e65340b commit d927b63
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 21 deletions.
8 changes: 4 additions & 4 deletions examples/nextjs-server-side-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@
"start": "next start"
},
"dependencies": {
"react": "^18",
"react-dom": "^18",
"react": "^19",
"react-dom": "^19",
"react-international-phone": "workspace:*",
"next": "13.5.4"
},
"devDependencies": {
"typescript": "^5",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"@types/react": "^19",
"@types/react-dom": "^19",
"autoprefixer": "^10",
"postcss": "^8",
"tailwindcss": "^3"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"url": "git+https://github.com/goveo/react-international-phone.git"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
},
"devDependencies": {
"@chakra-ui/react": "^1.8.9",
Expand Down
61 changes: 46 additions & 15 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/data/countryData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ export const defaultCountries: CountryData[] = [
['Papua New Guinea', 'pg', '675'],
['Paraguay', 'py', '595'],
['Peru', 'pe', '51'],
['Philippines', 'ph', '63', '.... .......'],
['Philippines', 'ph', '63', '... ... ....'],
['Poland', 'pl', '48', '...-...-...'],
['Portugal', 'pt', '351'],
['Puerto Rico', 'pr', '1', '(...) ...-....', 3, ['787', '939']],
Expand Down

0 comments on commit d927b63

Please sign in to comment.