@jobber/components 3.4.2 → 3.4.3

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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.4.3](https://github.com/GetJobber/atlantis/compare/@jobber/components@3.4.2...@jobber/components@3.4.3) (2023-03-03)
7
+
8
+ **Note:** Version bump only for package @jobber/components
9
+
10
+
11
+
12
+
13
+
6
14
  ## [3.4.2](https://github.com/GetJobber/atlantis/compare/@jobber/components@3.4.1...@jobber/components@3.4.2) (2023-03-03)
7
15
 
8
16
  **Note:** Version bump only for package @jobber/components
@@ -1,5 +1,5 @@
1
1
  import { ChangeEvent, ReactNode, RefObject } from "react";
2
- import { ValidationRules } from "react-hook-form";
2
+ import { RegisterOptions } from "react-hook-form";
3
3
  import { XOR } from "ts-xor";
4
4
  import { IconNames } from "../Icon";
5
5
  export declare type FormFieldTypes = "text" | "password" | "number" | "time" | "textarea" | "select" | "email";
@@ -155,6 +155,6 @@ export interface FormFieldProps extends CommonFormFieldProps {
155
155
  * Show an error message above the field. This also
156
156
  * highlights the the field red if an error message shows up.
157
157
  */
158
- readonly validations?: ValidationRules;
158
+ readonly validations?: RegisterOptions;
159
159
  }
160
160
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jobber/components",
3
- "version": "3.4.2",
3
+ "version": "3.4.3",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -40,7 +40,7 @@
40
40
  "react-countdown": "^2.3.2",
41
41
  "react-datepicker": "^4.10.0",
42
42
  "react-dropzone": "^11.0.2",
43
- "react-hook-form": "^6.7.2",
43
+ "react-hook-form": "^6.15.8",
44
44
  "react-image-lightbox": "^5.1.1",
45
45
  "react-markdown": "^8.0.3",
46
46
  "react-popper": "^2.2.5",
@@ -85,5 +85,5 @@
85
85
  "> 1%",
86
86
  "IE 10"
87
87
  ],
88
- "gitHead": "3a6109ee3ef0e6b1d21108184eb9dfa41b4ad95b"
88
+ "gitHead": "c189d9cc67d1d9aa9e243ef44719823ec65cbf5f"
89
89
  }