@duro-app/cli 5.27.0 → 5.28.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.
Files changed (2) hide show
  1. package/package.json +5 -5
  2. package/registry.json +14 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duro-app/cli",
3
- "version": "5.27.0",
3
+ "version": "5.28.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.27.0"
49
+ "@duro-app/ui": "^5.28.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/tokens": "^5.27.0",
65
- "@duro-app/ui": "^5.27.0",
66
- "@duro-app/eslint-plugin": "^5.27.0"
64
+ "@duro-app/eslint-plugin": "^5.28.0",
65
+ "@duro-app/tokens": "^5.28.0",
66
+ "@duro-app/ui": "^5.28.0"
67
67
  },
68
68
  "scripts": {
69
69
  "registry": "node scripts/build-registry.mjs",
package/registry.json CHANGED
@@ -5589,7 +5589,7 @@
5589
5589
  "Item"
5590
5590
  ]
5591
5591
  },
5592
- "description": "Dropdown select for choosing one value from a list. Compound component — Root is required (throws without it). Select.Trigger takes size=\"small\" to match small Toggles and Buttons in a toolbar. Select.Popup takes label (the list's accessible name) and empty (shown in place of the list when it has no items). On the web the list opens below the trigger, or above it when it would overflow the viewport below and fits above. On React Native the trigger opens a bottom sheet (a Drawer at the medium and large detents) titled by label, with a Cancel text button (cancelLabel); the chosen option is filled with a trailing check, and a press picks an option and closes the sheet. Native has no arrow keys: each option is its own screen-reader stop.",
5592
+ "description": "Dropdown select for choosing one value from a list. Compound component — Root is required (throws without it). Select.Trigger takes size=\"small\" to match small Toggles and Buttons in a toolbar. Select.Popup takes label (the list's accessible name) and empty (shown in place of the list when it has no items). On the web the list opens below the trigger, or above it when it would overflow the viewport below and fits above. On React Native the trigger opens a bottom sheet (a Drawer at the medium and large detents) titled by label, with a Cancel text button (cancelLabel); the chosen option is filled with a trailing check, and a press picks an option and closes the sheet. Native has no arrow keys: each option is its own screen-reader stop. An Item can be disabled (shown, skipped by the keys, inert to a press, announced as disabled), and onOpenChange on Root reports the list opening and closing, so work such as checking which options are available starts only once someone is choosing.",
5593
5593
  "example": "<Select.Root name=\"role\" defaultValue=\"viewer\">\n <Select.Trigger>\n <Select.Value placeholder=\"Select role\" />\n <Select.Icon />\n </Select.Trigger>\n <Select.Popup>\n <Select.Item value=\"admin\">Admin</Select.Item>\n <Select.Item value=\"editor\">Editor</Select.Item>\n <Select.Item value=\"viewer\">Viewer</Select.Item>\n </Select.Popup>\n</Select.Root>",
5594
5594
  "relatedTo": [
5595
5595
  {
@@ -5640,6 +5640,13 @@
5640
5640
  "required": true,
5641
5641
  "type": "string"
5642
5642
  },
5643
+ {
5644
+ "default": "false",
5645
+ "description": "Shown but not choosable: skipped by the arrow keys, inert to a press, announced as disabled.",
5646
+ "name": "disabled",
5647
+ "required": false,
5648
+ "type": "boolean"
5649
+ },
5643
5650
  {
5644
5651
  "name": "children",
5645
5652
  "required": true,
@@ -5716,6 +5723,12 @@
5716
5723
  "required": false,
5717
5724
  "type": "Record<string, string>"
5718
5725
  },
5726
+ {
5727
+ "description": "Called when the list opens or closes (to start work only once someone is choosing).",
5728
+ "name": "onOpenChange",
5729
+ "required": false,
5730
+ "type": "(open: boolean) => void"
5731
+ },
5719
5732
  {
5720
5733
  "name": "children",
5721
5734
  "required": true,