@ttoss/forms 0.22.0 → 0.22.2

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/dist/index.d.mts CHANGED
@@ -15,7 +15,7 @@ declare const Form: <TFieldValues extends FieldValues = FieldValues>({ children,
15
15
  sx?: BoxProps['sx'];
16
16
  } & {
17
17
  children: React.ReactNode | React.ReactNode[];
18
- } & react_hook_form.UseFormReturn<TFieldValues, any, undefined>) => react_jsx_runtime.JSX.Element;
18
+ } & react_hook_form.UseFormReturn<TFieldValues, any, TFieldValues>) => react_jsx_runtime.JSX.Element;
19
19
 
20
20
  type FormFieldProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = {
21
21
  label?: string;
package/dist/index.d.ts CHANGED
@@ -15,7 +15,7 @@ declare const Form: <TFieldValues extends FieldValues = FieldValues>({ children,
15
15
  sx?: BoxProps['sx'];
16
16
  } & {
17
17
  children: React.ReactNode | React.ReactNode[];
18
- } & react_hook_form.UseFormReturn<TFieldValues, any, undefined>) => react_jsx_runtime.JSX.Element;
18
+ } & react_hook_form.UseFormReturn<TFieldValues, any, TFieldValues>) => react_jsx_runtime.JSX.Element;
19
19
 
20
20
  type FormFieldProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = {
21
21
  label?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttoss/forms",
3
- "version": "0.22.0",
3
+ "version": "0.22.2",
4
4
  "author": "ttoss",
5
5
  "contributors": [
6
6
  "Pedro Arantes <pedro@arantespp.com> (https://arantespp.com/contact)"
@@ -21,14 +21,14 @@
21
21
  "dependencies": {
22
22
  "@hookform/error-message": "^2.0.1",
23
23
  "@hookform/resolvers": "^3.3.4",
24
- "react-hook-form": "^7.49.3",
24
+ "react-hook-form": "^7.50.0",
25
25
  "react-number-format": "^5.3.1",
26
26
  "yup": "^1.3.3"
27
27
  },
28
28
  "peerDependencies": {
29
29
  "react": ">=16.8.0",
30
30
  "@ttoss/react-i18n": "^1.26.0",
31
- "@ttoss/ui": "^4.1.0"
31
+ "@ttoss/ui": "^4.1.1"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@types/jest": "^29.5.11",
@@ -36,15 +36,15 @@
36
36
  "jest": "^29.7.0",
37
37
  "react": "^18.2.0",
38
38
  "react-error-boundary": "^4.0.12",
39
- "react-hook-form": "^7.49.3",
39
+ "react-hook-form": "^7.50.0",
40
40
  "theme-ui": "^0.16.1",
41
41
  "tsup": "^8.0.1",
42
42
  "yup": "^1.3.3",
43
43
  "@ttoss/config": "^1.31.4",
44
- "@ttoss/i18n-cli": "^0.7.5",
45
44
  "@ttoss/react-i18n": "^1.26.0",
46
- "@ttoss/test-utils": "^2.1.0",
47
- "@ttoss/ui": "^4.1.0"
45
+ "@ttoss/i18n-cli": "^0.7.5",
46
+ "@ttoss/ui": "^4.1.1",
47
+ "@ttoss/test-utils": "^2.1.0"
48
48
  },
49
49
  "publishConfig": {
50
50
  "access": "public",