@behivetech/forms.form-provider 0.1.4 → 0.1.6

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.
Files changed (3) hide show
  1. package/README.md +2 -0
  2. package/docs.json +1 -1
  3. package/package.json +6 -4
package/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  The single place `react-hook-form` is imported directly in this repo. Everything else should import form state/control from here instead of `react-hook-form` — that keeps the underlying library swappable from one spot later.
4
4
 
5
+ Docs: https://bht-galaxy.vercel.app/behivetech/forms/form-provider
6
+
5
7
  Re-exports: `FormProvider` (thin wrapper around RHF's own `FormProvider`), `Form` (convenience `<form>` wired to `handleSubmit`, with `FormProvider` already applied), `useForm`, `useFormContext`, `useController`, `useFormState`, `useWatch`, `Controller`, plus the common RHF types (`UseFormReturn`, `FieldValues`, `SubmitHandler`, `Control`, `FieldErrors`, ...).
6
8
 
7
9
  ## Usage
package/docs.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://github.com/behivetech/bht-component-registry/docs.schema.json",
3
3
  "version": 2,
4
- "generatedAt": "2026-10-20T05:50:04.618Z",
4
+ "generatedAt": "2026-10-23T19:01:30.268Z",
5
5
  "docs": [
6
6
  {
7
7
  "displayName": "Form",
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@behivetech/forms.form-provider",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "license": "MIT",
5
+ "description": "The single place `react-hook-form` is imported directly in this repo. Everything else should import form state/control from here instead of `react-hook-form` — that keeps the underlying library swappable from one spot later.",
5
6
  "type": "module",
6
7
  "private": false,
7
8
  "exports": {
@@ -39,16 +40,17 @@
39
40
  "tsup": "^8.5.1",
40
41
  "typescript": "^6.0.3",
41
42
  "vitest": "^4.1.10",
42
- "@behivetech/forms.form-field": "0.3.2",
43
+ "@behivetech/atoms.text-field": "0.3.4",
44
+ "@behivetech/forms.form-field": "0.3.4",
43
45
  "@bht-component-registry/env": "0.1.0",
44
- "@behivetech/atoms.text-field": "0.3.2",
45
- "@behivetech/atoms.button": "0.4.2"
46
+ "@behivetech/atoms.button": "0.4.4"
46
47
  },
47
48
  "repository": {
48
49
  "type": "git",
49
50
  "url": "https://github.com/behivetech/bht-galaxy.git",
50
51
  "directory": "registry/behivetech/forms/form-provider"
51
52
  },
53
+ "homepage": "https://bht-galaxy.vercel.app/behivetech/forms/form-provider",
52
54
  "publishConfig": {
53
55
  "registry": "https://registry.npmjs.org",
54
56
  "access": "public",