react-hook-form-cloudscape 1.4.4 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -7,22 +7,15 @@ A React library that simplifies the integration of [`react-hook-form`](https://g
|
|
|
7
7
|
[](https://github.com/abudayah/react-hook-form-cloudscape/actions/workflows/dependabot/dependabot-updates)
|
|
8
8
|
[](https://github.com/abudayah/react-hook-form-cloudscape)
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## Installation
|
|
11
13
|
|
|
12
14
|
```
|
|
13
15
|
npm install react-hook-form @cloudscape-design/components @cloudscape-design/global-styles react-hook-form-cloudscape
|
|
14
16
|
```
|
|
15
17
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
Required dependencies:
|
|
19
|
-
|
|
20
|
-
- React >= 16.8 || >= 17 || >= 18
|
|
21
|
-
- react-dom >= 16.8 || >= 17 || >= 18
|
|
22
|
-
- react-hook-form >= 7
|
|
23
|
-
- @cloudscape-design/components
|
|
24
|
-
|
|
25
|
-
### How to use it
|
|
18
|
+
## How to use it
|
|
26
19
|
|
|
27
20
|
```
|
|
28
21
|
import { Form, FormField } from '@cloudscape-design/components';
|
|
@@ -40,11 +33,7 @@ function App {
|
|
|
40
33
|
|
|
41
34
|
```
|
|
42
35
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
## Demo
|
|
46
|
-
|
|
47
|
-

|
|
36
|
+
✨ Demos and usage: https://abudayah.github.io/react-hook-form-cloudscape
|
|
48
37
|
|
|
49
38
|
## Getting help
|
|
50
39
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-hook-form-cloudscape",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"description": "A React Hook Form wrapper designed for effortless integration of validations into Cloudscape forms and inputs",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -40,8 +40,7 @@
|
|
|
40
40
|
],
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"@cloudscape-design/components": ">=3.0.0",
|
|
43
|
-
"react": "
|
|
44
|
-
"react-dom": "^16.8 || ^17 || ^18",
|
|
43
|
+
"react": ">=16.8.0",
|
|
45
44
|
"react-hook-form": ">=7.0.0"
|
|
46
45
|
},
|
|
47
46
|
"devDependencies": {
|
|
@@ -55,7 +54,7 @@
|
|
|
55
54
|
"@typescript-eslint/eslint-plugin": "^6.15.0",
|
|
56
55
|
"@typescript-eslint/parser": "^6.15.0",
|
|
57
56
|
"@vitejs/plugin-react": "^4.2.1",
|
|
58
|
-
"@vitest/coverage-v8": "^
|
|
57
|
+
"@vitest/coverage-v8": "^3.1.1",
|
|
59
58
|
"eslint": "^8.56.0",
|
|
60
59
|
"eslint-config-prettier": "^9.1.0",
|
|
61
60
|
"eslint-plugin-prettier": "^5.1.1",
|
|
@@ -70,7 +69,7 @@
|
|
|
70
69
|
"typescript": "^5.3.3",
|
|
71
70
|
"vite": "^6.0.6",
|
|
72
71
|
"vite-plugin-dts": "^4.4.0",
|
|
73
|
-
"vitest": "^
|
|
72
|
+
"vitest": "^3.1.1"
|
|
74
73
|
},
|
|
75
74
|
"optionalDependencies": {
|
|
76
75
|
"@rollup/rollup-linux-x64-gnu": "*"
|