feat: add form primitives and rhf integration

This commit is contained in:
2026-03-19 17:50:34 +08:00
parent cb15b46b0c
commit b7d17383bf
7 changed files with 627 additions and 2 deletions
+16
View File
@@ -98,6 +98,9 @@ importers:
react-dom:
specifier: ^18.3.1
version: 18.3.1(react@18.3.1)
react-hook-form:
specifier: ^7.71.2
version: 7.71.2(react@18.3.1)
packages/tokens: {}
@@ -157,6 +160,9 @@ importers:
motion:
specifier: ^12.38.0
version: 12.38.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
react-hook-form:
specifier: ^7.71.2
version: 7.71.2(react@18.3.1)
tailwind-merge:
specifier: ^3.5.0
version: 3.5.0
@@ -2802,6 +2808,12 @@ packages:
peerDependencies:
react: ^19.2.4
react-hook-form@7.71.2:
resolution: {integrity: sha512-1CHvcDYzuRUNOflt4MOq3ZM46AronNJtQ1S7tnX6YN4y72qhgiUItpacZUAQ0TyWYci3yz1X+rXaSxiuEm86PA==}
engines: {node: '>=18.0.0'}
peerDependencies:
react: ^16.8.0 || ^17 || ^18 || ^19
react-is@17.0.2:
resolution: {integrity: sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==}
@@ -5850,6 +5862,10 @@ snapshots:
react: 19.2.4
scheduler: 0.27.0
react-hook-form@7.71.2(react@18.3.1):
dependencies:
react: 18.3.1
react-is@17.0.2: {}
react-remove-scroll-bar@2.3.8(@types/react@18.3.28)(react@18.3.1):