@behivetech/atoms.select 0.4.2 → 0.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/package.json +2 -2
- package/docs.json +0 -78
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@behivetech/atoms.select",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"tsup": "^8.5.1",
|
|
39
39
|
"typescript": "^6.0.3",
|
|
40
40
|
"vitest": "^4.1.10",
|
|
41
|
-
"@behivetech/forms.form-field": "0.3.
|
|
41
|
+
"@behivetech/forms.form-field": "0.3.3",
|
|
42
42
|
"@bht-component-registry/class-names": "0.0.6",
|
|
43
43
|
"@bht-component-registry/env": "0.1.0"
|
|
44
44
|
},
|
package/docs.json
DELETED
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://github.com/behivetech/bht-component-registry/docs.schema.json",
|
|
3
|
-
"version": 2,
|
|
4
|
-
"generatedAt": "2026-10-20T05:49:58.892Z",
|
|
5
|
-
"docs": [
|
|
6
|
-
{
|
|
7
|
-
"displayName": "Select",
|
|
8
|
-
"description": "Bare select control — the Radix select trigger button is this component's\nown root element, no built-in label/hint/error. Wrap it in `FormField` for\nthat chrome: `<FormField label=\"...\" htmlFor=\"x\"><Select id=\"x\" .../></FormField>`.",
|
|
9
|
-
"extendsNative": true,
|
|
10
|
-
"props": [
|
|
11
|
-
{
|
|
12
|
-
"name": "options",
|
|
13
|
-
"type": "SelectOption[]",
|
|
14
|
-
"required": true,
|
|
15
|
-
"defaultValue": null,
|
|
16
|
-
"description": "Options rendered in the dropdown"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"name": "asChild",
|
|
20
|
-
"type": "boolean",
|
|
21
|
-
"required": false,
|
|
22
|
-
"defaultValue": null,
|
|
23
|
-
"description": ""
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"name": "className",
|
|
27
|
-
"type": "string",
|
|
28
|
-
"required": false,
|
|
29
|
-
"defaultValue": null,
|
|
30
|
-
"description": "Additional class names to merge with the component root element"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"name": "defaultValue",
|
|
34
|
-
"type": "string",
|
|
35
|
-
"required": false,
|
|
36
|
-
"defaultValue": null,
|
|
37
|
-
"description": "Initial selected value for uncontrolled usage"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"name": "name",
|
|
41
|
-
"type": "string",
|
|
42
|
-
"required": false,
|
|
43
|
-
"defaultValue": null,
|
|
44
|
-
"description": "Form field name submitted with the value"
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
"name": "onValueChange",
|
|
48
|
-
"type": "((value: string) => void)",
|
|
49
|
-
"required": false,
|
|
50
|
-
"defaultValue": null,
|
|
51
|
-
"description": "Called with the new value when the selection changes"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"name": "placeholder",
|
|
55
|
-
"type": "string",
|
|
56
|
-
"required": false,
|
|
57
|
-
"defaultValue": null,
|
|
58
|
-
"description": "Text shown when no value is selected"
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"name": "required",
|
|
62
|
-
"type": "boolean",
|
|
63
|
-
"required": false,
|
|
64
|
-
"defaultValue": null,
|
|
65
|
-
"description": "Marks the field as required for form validation"
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"name": "value",
|
|
69
|
-
"type": "string",
|
|
70
|
-
"required": false,
|
|
71
|
-
"defaultValue": null,
|
|
72
|
-
"description": "Controlled selected value"
|
|
73
|
-
}
|
|
74
|
-
]
|
|
75
|
-
}
|
|
76
|
-
],
|
|
77
|
-
"functions": []
|
|
78
|
-
}
|