@cedarjs/forms 2.3.1-next.0 → 2.3.1-next.79

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/Form.d.ts CHANGED
@@ -32,7 +32,7 @@ export interface FormProps<TFieldValues extends FieldValues> extends Omit<React.
32
32
  * <Form config={{ mode: 'onBlur' }}>
33
33
  * ```
34
34
  *
35
- * @see {@link https://react-hook-form.com/api/useform}
35
+ * @see {@link https://react-hook-form.com/docs/useform}
36
36
  */
37
37
  config?: UseFormProps<TFieldValues>;
38
38
  onSubmit?: (value: TFieldValues, event?: React.BaseSyntheticEvent) => void;
@@ -4,7 +4,7 @@ import type { RegisterOptions } from 'react-hook-form';
4
4
  * `react-hook-form` provides the prop `setValueAs` for all-purpose coercion
5
5
  * (i.e. anything that isn't `valueAsDate` or `valueAsNumber`, which are standard HTML).
6
6
  *
7
- * @see {@link https://react-hook-form.com/api/useform/register}
7
+ * @see {@link https://react-hook-form.com/docs/useform/register}
8
8
  */
9
9
  export type RedwoodRegisterOptions = RegisterOptions & {
10
10
  valueAsBoolean?: boolean;
@@ -12,7 +12,7 @@ export type UseRegisterProps<Element extends HTMLTextAreaElement | HTMLSelectEle
12
12
  * A field's `validation` prop is `react-hook-form`'s `RegisterOptions`
13
13
  * (with Redwood's extended `valueAs` props).
14
14
  *
15
- * @see {@link https://react-hook-form.com/api/useform/register}
15
+ * @see {@link https://react-hook-form.com/docs/useform/register}
16
16
  */
17
17
  export declare const useRegister: <T, Element extends HTMLTextAreaElement | HTMLSelectElement | HTMLInputElement = HTMLInputElement>(props: UseRegisterProps<Element> & {
18
18
  element?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/forms",
3
- "version": "2.3.1-next.0+80eac9db2",
3
+ "version": "2.3.1-next.79+a599dc0f9",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/cedarjs/cedar.git",
@@ -35,10 +35,10 @@
35
35
  "dependencies": {
36
36
  "graphql": "16.12.0",
37
37
  "pascalcase": "1.0.0",
38
- "react-hook-form": "7.69.0"
38
+ "react-hook-form": "7.70.0"
39
39
  },
40
40
  "devDependencies": {
41
- "@cedarjs/framework-tools": "2.3.1-next.1",
41
+ "@cedarjs/framework-tools": "2.3.1-next.79",
42
42
  "@testing-library/dom": "9.3.4",
43
43
  "@testing-library/jest-dom": "6.9.1",
44
44
  "@testing-library/react": "14.3.1",
@@ -61,5 +61,5 @@
61
61
  "publishConfig": {
62
62
  "access": "public"
63
63
  },
64
- "gitHead": "80eac9db2c45052c873391b4bc6e3fc416c20e81"
64
+ "gitHead": "a599dc0f911b124b122d1862cabf32635e53540a"
65
65
  }