feat: add react-hook-form dependency and update FormInput component to use its types

This commit is contained in:
Danny Avila 2025-07-16 00:46:05 -04:00 committed by Marco Beretta
parent 63d0c301a0
commit 55f67212d5
No known key found for this signature in database
GPG key ID: D918033D8E74CC11
3 changed files with 25 additions and 2 deletions

18
package-lock.json generated
View file

@ -49825,6 +49825,7 @@
"@rollup/plugin-terser": "^0.4.4",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"react-hook-form": "^7.60.0",
"rimraf": "^5.0.1",
"rollup": "^4.0.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
@ -49939,6 +49940,23 @@
"url": "https://github.com/sponsors/isaacs"
}
},
"packages/client/node_modules/react-hook-form": {
"version": "7.60.0",
"resolved": "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.60.0.tgz",
"integrity": "sha512-SBrYOvMbDB7cV8ZfNpaiLcgjH/a1c7aK0lK+aNigpf4xWLO8q+o4tcvVurv3c4EOyzn/3dCsYt4GKD42VvJ/+A==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">=18.0.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/react-hook-form"
},
"peerDependencies": {
"react": "^16.8.0 || ^17 || ^18 || ^19"
}
},
"packages/client/node_modules/rimraf": {
"version": "5.0.10",
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.10.tgz",