@behivetech/forms.form-field-managed 0.1.10 → 1.0.1
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/LICENSE +21 -0
- package/dist/index.cjs +1 -0
- package/dist/index.js +2 -0
- package/docs.json +9 -2
- package/package.json +11 -11
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 BEhive Tech
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/dist/index.cjs
CHANGED
package/dist/index.js
CHANGED
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-11-
|
|
4
|
+
"generatedAt": "2026-11-26T05:48:56.127Z",
|
|
5
5
|
"docs": [
|
|
6
6
|
{
|
|
7
7
|
"displayName": "FormFieldManaged",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"type": "ReactNode",
|
|
42
42
|
"required": false,
|
|
43
43
|
"defaultValue": null,
|
|
44
|
-
"description": "Supporting hint text; hidden while `error` is present"
|
|
44
|
+
"description": "Supporting hint text; hidden while `error` is present. With `htmlFor` set it has the id `<htmlFor>-hint`: give the control `aria-describedby` of that id so a screen reader reads it with the control"
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
47
|
"name": "label",
|
|
@@ -63,6 +63,13 @@
|
|
|
63
63
|
"required": false,
|
|
64
64
|
"defaultValue": null,
|
|
65
65
|
"description": "Validation rules passed through to react-hook-form"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "styles",
|
|
69
|
+
"type": "StylesFor<Block<\"BHT__FormField\", { readonly display: \"flex\"; readonly flexDirection: \"column\"; readonly gap: Token<\"length\">; readonly children: { readonly label: { readonly flexShrink: 1; readonly fontFamily: Token<\"font\">; ... 8 more ...; readonly web: { ...; }; }; readonly labelRow: { ...; }; readonly required: ...",
|
|
70
|
+
"required": false,
|
|
71
|
+
"defaultValue": null,
|
|
72
|
+
"description": "An override block made with `defineBlock`, typed to this component's children and variants; it wins over the block's own styles."
|
|
66
73
|
}
|
|
67
74
|
]
|
|
68
75
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@behivetech/forms.form-field-managed",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "`FormField` with its react-hook-form wiring already done — the control's value/onChange/onBlur/ref, the label association, and the error message.",
|
|
6
6
|
"type": "module",
|
|
@@ -29,20 +29,20 @@
|
|
|
29
29
|
"tags": []
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@behivetech/forms.form-field": "
|
|
33
|
-
"@behivetech/forms.form-provider": "0.1
|
|
32
|
+
"@behivetech/forms.form-field": "1.1.0",
|
|
33
|
+
"@behivetech/forms.form-provider": "1.0.1"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"react": "^19.2.7",
|
|
37
37
|
"react-dom": "^19.2.7"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@behivetech/atoms.checkbox": "
|
|
41
|
-
"@behivetech/atoms.select": "
|
|
42
|
-
"@behivetech/atoms.text-field": "
|
|
43
|
-
"@behivetech/atoms.textarea": "
|
|
44
|
-
"@behivetech/atoms.toggle": "
|
|
45
|
-
"@bht-component-registry/env": "0.
|
|
40
|
+
"@behivetech/atoms.checkbox": "1.1.0",
|
|
41
|
+
"@behivetech/atoms.select": "1.1.0",
|
|
42
|
+
"@behivetech/atoms.text-field": "1.1.0",
|
|
43
|
+
"@behivetech/atoms.textarea": "1.1.0",
|
|
44
|
+
"@behivetech/atoms.toggle": "1.1.0",
|
|
45
|
+
"@bht-component-registry/env": "0.3.0",
|
|
46
46
|
"@types/react": "19.2.17",
|
|
47
47
|
"@types/react-dom": "19.2.3",
|
|
48
48
|
"eslint": "^9.39.5",
|
|
@@ -53,11 +53,11 @@
|
|
|
53
53
|
"repository": {
|
|
54
54
|
"type": "git",
|
|
55
55
|
"url": "https://github.com/behivetech/bht-galaxy.git",
|
|
56
|
-
"directory": "
|
|
56
|
+
"directory": "packages/forms/form-field-managed"
|
|
57
57
|
},
|
|
58
58
|
"homepage": "https://platform.behivetech.com/behivetech/forms/form-field-managed",
|
|
59
59
|
"publishConfig": {
|
|
60
|
-
"registry": "https://
|
|
60
|
+
"registry": "https://registry.npmjs.org",
|
|
61
61
|
"access": "public"
|
|
62
62
|
},
|
|
63
63
|
"scripts": {
|