@cutting/react-hook-form-components 0.1.1 → 0.3.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.
@@ -4,8 +4,8 @@ import type { UseFormRegister, UseFormReturn } from 'react-hook-form';
4
4
  declare module 'react' {
5
5
  function forwardRef<T, P = Record<string, unknown>>(render: (props: P, ref: React.Ref<T>) => React.ReactElement | null): (props: P & React.RefAttributes<T>) => React.ReactElement | null;
6
6
  }
7
- declare type Controls = typeof FormInput | typeof FormTextArea;
8
- export declare type FormProps<C extends Controls, E> = ComponentProps<C> & {
7
+ type Controls = typeof FormInput | typeof FormTextArea;
8
+ export type FormProps<C extends Controls, E> = ComponentProps<C> & {
9
9
  required?: boolean;
10
10
  className?: string;
11
11
  errors?: E;
@@ -1 +1 @@
1
- {"version":3,"file":"FormComponents.d.ts","sourceRoot":"","sources":["../../../../src/components/FormComponents/FormComponents.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAO,MAAM,OAAO,CAAC;AAEjD,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEtE,OAAO,QAAQ,OAAO,CAAC;IACrB,SAAS,UAAU,CAAC,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAChD,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,KAAK,CAAC,YAAY,GAAG,IAAI,GACjE,CAAC,KAAK,EAAE,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC;CACrE;AAED,aAAK,QAAQ,GAAG,OAAO,SAAS,GAAG,OAAO,YAAY,CAAC;AAEvD,oBAAY,SAAS,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AS,CAAC,CAAC,SAAS,QAAQ,EAAE,CAAC,IAAI,cAAc,CAAC,CAAC,CAAC,GAAG;IACjE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,CAAC,CAAC;CAGZ,GAAG,UAAU,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC,GAElC,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC;AAGhD,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,QAAQ,gMAmBtD;AAED,eAAO,MAAM,KAAK,iGArC0B,kBAAkB,GAAG,IAqCd,CAAC;AACpD,eAAO,MAAM,QAAQ,iGAtCuB,kBAAkB,GAAG,IAsCR,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cutting/react-hook-form-components",
3
3
  "description": "components for react-hook-form.",
4
- "version": "0.1.1",
4
+ "version": "0.3.0",
5
5
  "type": "module",
6
6
  "module": "dist/esm/index.js",
7
7
  "types": "dist/esm/index.d.ts",
@@ -15,23 +15,23 @@
15
15
  ],
16
16
  "license": "MIT",
17
17
  "dependencies": {
18
- "@cutting/component-library": "5.32.0",
19
- "@cutting/util": "4.55.1",
20
18
  "assert-ts": "^0.3.4",
21
- "react-hook-form": "7.39.1"
19
+ "react-hook-form": "7.41.1",
20
+ "@cutting/component-library": "5.34.0",
21
+ "@cutting/util": "4.57.0"
22
22
  },
23
23
  "devDependencies": {
24
- "@cutting/devtools": "4.60.0",
25
- "@cutting/eslint-config": "4.42.0",
26
- "@cutting/tsconfig": "4.38.0",
27
- "@cutting/useful-types": "4.38.0",
28
- "@types/react": "18.0.21",
29
- "@vanilla-extract/css": "^1.9.1",
30
- "eslint": "8.24.0",
24
+ "@types/react": "18.0.26",
25
+ "@vanilla-extract/css": "^1.9.2",
26
+ "eslint": "8.30.0",
31
27
  "react": "18.2.0",
32
28
  "react-dom": "18.2.0",
33
29
  "react-syntax-highlighter": "15.5.0",
34
- "typescript": "4.8.4"
30
+ "typescript": "4.9.4",
31
+ "@cutting/devtools": "4.62.0",
32
+ "@cutting/eslint-config": "4.43.0",
33
+ "@cutting/tsconfig": "4.39.0",
34
+ "@cutting/useful-types": "4.39.0"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "react": ">= 18.x.x",