@greenharness/greenrack-cli 7.2.1 → 7.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.
- package/greenharness.toml +1 -1
- package/package.json +5 -5
- package/registry.json +2 -2
package/greenharness.toml
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@greenharness/greenrack-cli",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.3.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Machine-queryable docs for the greenrack design system: components, props, recipes, tokens and rules as CLI output, JSON, or an MCP server.",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@greenharness/greenrack-tokens": "^7.
|
|
50
|
+
"@greenharness/greenrack-tokens": "^7.3.0"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"@modelcontextprotocol/sdk": ">=1.0.0",
|
|
54
|
-
"@greenharness/greenrack-ui": "^7.
|
|
54
|
+
"@greenharness/greenrack-ui": "^7.3.0"
|
|
55
55
|
},
|
|
56
56
|
"peerDependenciesMeta": {
|
|
57
57
|
"@greenharness/greenrack-ui": {
|
|
@@ -66,8 +66,8 @@
|
|
|
66
66
|
"@types/node": "^24.0.0",
|
|
67
67
|
"ts-morph": "^26.0.0",
|
|
68
68
|
"typescript": "^5.7.0",
|
|
69
|
-
"@greenharness/greenrack-
|
|
70
|
-
"@greenharness/greenrack-
|
|
69
|
+
"@greenharness/greenrack-ui": "^7.3.0",
|
|
70
|
+
"@greenharness/greenrack-eslint-plugin": "^7.3.0"
|
|
71
71
|
},
|
|
72
72
|
"scripts": {
|
|
73
73
|
"registry": "node scripts/build-registry.mjs",
|
package/registry.json
CHANGED
|
@@ -3073,7 +3073,7 @@
|
|
|
3073
3073
|
"Root"
|
|
3074
3074
|
]
|
|
3075
3075
|
},
|
|
3076
|
-
"description": "Compound form field with label, description, and error display. Inside Form, auto-binds to react-hook-form via name prop. Works standalone with manual invalid prop.",
|
|
3076
|
+
"description": "Compound form field with label, description, and error display. Inside Form, auto-binds to react-hook-form via name prop. Works standalone with manual invalid prop. A native validation message from an Input or Textarea (required, type, pattern) is shown by Field.Error; explicit Error children and form errors take precedence.",
|
|
3077
3077
|
"example": "// Inside Form (auto-binds validation)\n<Field.Root name=\"email\">\n <Field.Label>Email</Field.Label>\n <Input type=\"email\" placeholder=\"you@example.com\" />\n <Field.Description>We'll never share your email.</Field.Description>\n <Field.Error />\n</Field.Root>\n\n// A group of controls — the label names the group (aria-labelledby).\n// A direct ToggleGroup / CheckboxGroup / RadioGroup child is detected;\n// pass `group` when the group is nested (e.g. inside a Stack).\n<Field.Root>\n <Field.Label>Type</Field.Label>\n <ToggleGroup value={[type]} onValueChange={setType}>\n <Toggle value=\"app\">Application</Toggle>\n <Toggle value=\"platform\">Platform</Toggle>\n </ToggleGroup>\n</Field.Root>\n\n// Standalone (manual error)\n<Field.Root invalid>\n <Field.Label>Email</Field.Label>\n <Input variant=\"error\" />\n <Field.Error>This email is already taken.</Field.Error>\n</Field.Root>",
|
|
3078
3078
|
"relatedTo": [
|
|
3079
3079
|
{
|
|
@@ -4022,7 +4022,7 @@
|
|
|
4022
4022
|
"importPath": "@greenharness/greenrack-ui",
|
|
4023
4023
|
"kind": "component",
|
|
4024
4024
|
"meta": {
|
|
4025
|
-
"description": "Text input with automatic Field/Form integration. Variant auto-switches to error when inside an invalid Field. variant=\"ghost\" reads as text until hovered (hairline border) or focused (accent border and ring): only for inline edit where a visible Field.Label names it; it shows the error state when the Field is invalid.",
|
|
4025
|
+
"description": "Text input with automatic Field/Form integration. Variant auto-switches to error when inside an invalid Field. variant=\"ghost\" reads as text until hovered (hairline border) or focused (accent border and ring): only for inline edit where a visible Field.Label names it; it shows the error state when the Field is invalid. Inside a Field, the native browser validation message (required, type=url, pattern) is shown by Field.Error after a failed submit.",
|
|
4026
4026
|
"example": "<Field.Root name=\"email\">\n <Field.Label>Email</Field.Label>\n <Input type=\"email\" placeholder=\"you@example.com\" autoComplete=\"email\" />\n <Field.Error />\n</Field.Root>",
|
|
4027
4027
|
"relatedTo": [
|
|
4028
4028
|
{
|