@duro-app/cli 5.28.0 → 5.30.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/package.json +5 -5
- package/registry.json +9 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@duro-app/cli",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.30.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Machine-queryable docs for the Duro design system: components, props, recipes, tokens and rules as CLI output, JSON, or an MCP server.",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"@modelcontextprotocol/sdk": ">=1.0.0",
|
|
49
|
-
"@duro-app/ui": "^5.
|
|
49
|
+
"@duro-app/ui": "^5.30.0"
|
|
50
50
|
},
|
|
51
51
|
"peerDependenciesMeta": {
|
|
52
52
|
"@duro-app/ui": {
|
|
@@ -61,9 +61,9 @@
|
|
|
61
61
|
"@types/node": "^24.0.0",
|
|
62
62
|
"ts-morph": "^26.0.0",
|
|
63
63
|
"typescript": "^5.7.0",
|
|
64
|
-
"@duro-app/eslint-plugin": "^5.
|
|
65
|
-
"@duro-app/
|
|
66
|
-
"@duro-app/
|
|
64
|
+
"@duro-app/eslint-plugin": "^5.30.0",
|
|
65
|
+
"@duro-app/ui": "^5.30.0",
|
|
66
|
+
"@duro-app/tokens": "^5.30.0"
|
|
67
67
|
},
|
|
68
68
|
"scripts": {
|
|
69
69
|
"registry": "node scripts/build-registry.mjs",
|
package/registry.json
CHANGED
|
@@ -4036,7 +4036,7 @@
|
|
|
4036
4036
|
"Text"
|
|
4037
4037
|
]
|
|
4038
4038
|
},
|
|
4039
|
-
"description": "Vertical list of interactive items. Ideal for narrow spaces (detail panels, sidebars) where Table would truncate. Supports selection, descriptions, and action slots.",
|
|
4039
|
+
"description": "Vertical list of interactive items. Ideal for narrow spaces (detail panels, sidebars) where Table would truncate. Supports selection, descriptions, and action slots. An Item with onClick is pressable anywhere on its row, and its Content becomes a button: focusable, pressed with Enter or Space, announced with its text, disabled with the Item; the Actions stay beside it, so a Button there never nests in it.",
|
|
4040
4040
|
"example": "<List.Root selectionMode=\"multiple\" aria-label=\"Certificates\">\n <List.Item selected onClick={toggle}>\n <Checkbox checked />\n <List.Content>\n <List.Text>web-server-prod-2024.pem</List.Text>\n <List.Description>Issued: Jan 15, 2024 · Expires: Jan 15, 2025</List.Description>\n </List.Content>\n <List.Actions>\n <Badge variant=\"success\">Active</Badge>\n <Button variant=\"danger\" size=\"small\">Revoke</Button>\n </List.Actions>\n </List.Item>\n <List.Empty>No certificates found.</List.Empty>\n</List.Root>",
|
|
4041
4041
|
"relatedTo": [
|
|
4042
4042
|
{
|
|
@@ -4457,7 +4457,7 @@
|
|
|
4457
4457
|
"Item"
|
|
4458
4458
|
]
|
|
4459
4459
|
},
|
|
4460
|
-
"description": "Dropdown action menu. Triggers actions (not value selection). Compound component — Root is required (throws without it). Menu.Trigger renders the button itself: give it the label (text, an Icon), never a Button; an icon-only trigger takes aria-label, and variant=\"ghost\" suits toolbars; size=\"small\" matches small Toggles and Buttons (a small ghost trigger is iconButtonSm). The popup is portalled and placed against the trigger (never clipped by a sticky or overflow ancestor), capped at sizes.listMaxH with scrolling, and takes focus on open (WAI-ARIA menu button); Escape closes only the menu, not an enclosing Popover or Dialog. On React Native the popup is placed against the trigger in a modal overlay; a press outside or the Android back button closes it, and an item runs its onClick after the menu has gone (so an item can open a Dialog). Menu.LinkItem takes onNavigate(href, event) on both platforms (ADR-0002); on native, without it or without preventDefault, the link opens with the system. Native has no arrow keys: each item is its own screen-reader stop.",
|
|
4460
|
+
"description": "Dropdown action menu. Triggers actions (not value selection). Compound component — Root is required (throws without it). Menu.Trigger renders the button itself: give it the label (text, an Icon), never a Button; an icon-only trigger takes aria-label, and variant=\"ghost\" suits toolbars; size=\"small\" matches small Toggles and Buttons (a small ghost trigger is iconButtonSm). The popup is portalled and placed against the trigger (never clipped by a sticky or overflow ancestor), capped at sizes.listMaxH with scrolling, and takes focus on open (WAI-ARIA menu button); Escape closes only the menu, not an enclosing Popover or Dialog. On React Native the popup is placed against the trigger in a modal overlay; a press outside or the Android back button closes it, and an item runs its onClick after the menu has gone (so an item can open a Dialog). Menu.LinkItem takes onNavigate(href, event) on both platforms (ADR-0002); on native, without it or without preventDefault, the link opens with the system. Native has no arrow keys: each item is its own screen-reader stop. A Menu.Item can be disabled: it stays listed and is announced as disabled, but the highlight and the arrow keys skip it and a press or Enter does nothing.",
|
|
4461
4461
|
"example": "<Menu.Root>\n <Menu.Trigger>Actions</Menu.Trigger>\n <Menu.Popup>\n <Menu.Item onClick={() => console.log('edit')}>Edit</Menu.Item>\n <Menu.Item onClick={() => console.log('duplicate')}>Duplicate</Menu.Item>\n <Menu.Separator />\n <Menu.LinkItem href=\"/settings\">Settings</Menu.LinkItem>\n </Menu.Popup>\n</Menu.Root>",
|
|
4462
4462
|
"relatedTo": [
|
|
4463
4463
|
{
|
|
@@ -4494,6 +4494,13 @@
|
|
|
4494
4494
|
"required": false,
|
|
4495
4495
|
"type": "() => void"
|
|
4496
4496
|
},
|
|
4497
|
+
{
|
|
4498
|
+
"default": "false",
|
|
4499
|
+
"description": "Shown but not available: skipped by the arrow keys, inert to a press, announced as disabled.",
|
|
4500
|
+
"name": "disabled",
|
|
4501
|
+
"required": false,
|
|
4502
|
+
"type": "boolean"
|
|
4503
|
+
},
|
|
4497
4504
|
{
|
|
4498
4505
|
"name": "children",
|
|
4499
4506
|
"required": true,
|