@greenharness/greenrack-cli 7.1.2 → 7.2.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/greenharness.toml +1 -1
- package/package.json +5 -5
- package/registry.json +13 -1
package/greenharness.toml
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@greenharness/greenrack-cli",
|
|
3
|
-
"version": "7.1
|
|
3
|
+
"version": "7.2.1",
|
|
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.1
|
|
50
|
+
"@greenharness/greenrack-tokens": "^7.2.1"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"@modelcontextprotocol/sdk": ">=1.0.0",
|
|
54
|
-
"@greenharness/greenrack-ui": "^7.1
|
|
54
|
+
"@greenharness/greenrack-ui": "^7.2.1"
|
|
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-eslint-plugin": "^7.1
|
|
70
|
-
"@greenharness/greenrack-ui": "^7.1
|
|
69
|
+
"@greenharness/greenrack-eslint-plugin": "^7.2.1",
|
|
70
|
+
"@greenharness/greenrack-ui": "^7.2.1"
|
|
71
71
|
},
|
|
72
72
|
"scripts": {
|
|
73
73
|
"registry": "node scripts/build-registry.mjs",
|
package/registry.json
CHANGED
|
@@ -1739,7 +1739,7 @@
|
|
|
1739
1739
|
"Item"
|
|
1740
1740
|
]
|
|
1741
1741
|
},
|
|
1742
|
-
"description": "Searchable dropdown for selecting a value from a filterable list. Combines a text input with a popup listbox. Compound component — Root is required. Combobox.Popup takes label (the list's accessible name). On React Native the field opens a bottom sheet at its large detent, above the keyboard, titled by label with a Cancel text button (cancelLabel): a search field is pinned under the header and focused, the list below filters as you type, Combobox.Empty shows when nothing matches, and a press picks an option and closes the sheet. The sheet's search text starts empty each time; Combobox.Trigger renders nothing on native. An Item takes description (a muted second line) and leading (an icon or small preview, decorative), laid out as Select.Item's are: the option's accessible name, its filtering and the text committed to the field stay its label, and the description is its accessible description.",
|
|
1742
|
+
"description": "Searchable dropdown for selecting a value from a filterable list. Combines a text input with a popup listbox. Compound component — Root is required. Combobox.Popup takes label (the list's accessible name). On React Native the field opens a bottom sheet at its large detent, above the keyboard, titled by label with a Cancel text button (cancelLabel): a search field is pinned under the header and focused, the list below filters as you type, Combobox.Empty shows when nothing matches, and a press picks an option and closes the sheet. The sheet's search text starts empty each time; Combobox.Trigger renders nothing on native. An Item takes description (a muted second line) and leading (an icon or small preview, decorative), laid out as Select.Item's are: the option's accessible name, its filtering and the text committed to the field stay its label, and the description is its accessible description. Root takes onOpenChange, called once each time the list (web) or sheet (native) opens or closes; there is no controlled open, as on Select, and it is not called when the Root unmounts while open. On the web the list opens with every option while the field shows its chosen option's label, and filters only once the text is edited; opening by focus selects the text. Combobox.Input is named by aria-label, or inside Field.Root by Field.Label. On native the field's accessibility label is aria-label, else the shown value, else the placeholder, and the shown value is its accessibility value when aria-label is given; native does not read Field.Label, so a native field inside Field.Root needs aria-label.",
|
|
1743
1743
|
"example": "<Combobox.Root name=\"country\" defaultValue=\"us\" initialLabels={{us: 'United States'}}>\n <Combobox.Input placeholder=\"Search countries…\" />\n <Combobox.Popup>\n <Combobox.Item value=\"us\">United States</Combobox.Item>\n <Combobox.Item value=\"gb\">United Kingdom</Combobox.Item>\n <Combobox.Item value=\"fr\">France</Combobox.Item>\n <Combobox.Item value=\"de\">Germany</Combobox.Item>\n <Combobox.Empty>No countries found</Combobox.Empty>\n </Combobox.Popup>\n</Combobox.Root>",
|
|
1744
1744
|
"relatedTo": [
|
|
1745
1745
|
{
|
|
@@ -1796,6 +1796,12 @@
|
|
|
1796
1796
|
"required": false,
|
|
1797
1797
|
"type": "string"
|
|
1798
1798
|
},
|
|
1799
|
+
{
|
|
1800
|
+
"description": "The input's accessible name; inside a Field.Root the Field.Label names it.",
|
|
1801
|
+
"name": "aria-label",
|
|
1802
|
+
"required": false,
|
|
1803
|
+
"type": "string"
|
|
1804
|
+
},
|
|
1799
1805
|
{
|
|
1800
1806
|
"name": "children",
|
|
1801
1807
|
"required": false,
|
|
@@ -1899,6 +1905,12 @@
|
|
|
1899
1905
|
"required": false,
|
|
1900
1906
|
"type": "(value: string) => void"
|
|
1901
1907
|
},
|
|
1908
|
+
{
|
|
1909
|
+
"description": "Called once each time the list opens or closes. There is no controlled `open`, as on Select.",
|
|
1910
|
+
"name": "onOpenChange",
|
|
1911
|
+
"required": false,
|
|
1912
|
+
"type": "(open: boolean) => void"
|
|
1913
|
+
},
|
|
1902
1914
|
{
|
|
1903
1915
|
"name": "initialLabels",
|
|
1904
1916
|
"required": false,
|