@duro-app/cli 5.31.0 → 5.33.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 +13 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@duro-app/cli",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.33.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.33.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.
|
|
65
|
-
"@duro-app/
|
|
66
|
-
"@duro-app/
|
|
64
|
+
"@duro-app/tokens": "^5.33.0",
|
|
65
|
+
"@duro-app/ui": "^5.33.0",
|
|
66
|
+
"@duro-app/eslint-plugin": "^5.33.0"
|
|
67
67
|
},
|
|
68
68
|
"scripts": {
|
|
69
69
|
"registry": "node scripts/build-registry.mjs",
|
package/registry.json
CHANGED
|
@@ -8613,7 +8613,7 @@
|
|
|
8613
8613
|
"optional": [],
|
|
8614
8614
|
"required": []
|
|
8615
8615
|
},
|
|
8616
|
-
"description": "A windowed list on @tanstack/react-virtual: only the rows in view (plus overscan) are mounted, and rows are measured so they may differ in height. role=\"list\" with listitem rows carrying aria-setsize and aria-posinset. anchor=\"end\" opens at the last item and stays pinned to the bottom while new items arrive and the reader is at the bottom (a transcript, a log). It fills its parent, or stops at maxHeight. onStartReached fires once each time the reader scrolls to the start (load older history), and prepending items keeps the first visible row in place. On native it is a FlatList with the same props (role list; rows carry no listitem role, which React Native lacks) (maintainVisibleContentPosition for prepend). The scroll region is a tab stop with a focus ring, so the keyboard can scroll rows that hold no control. onEndReached mirrors onStartReached at the end (load newer items in a window opened on an older point); scrollToKey centres one item each time it changes to a key in the list (a link to one message), and anchor=\"end\" stops following the end while it applies.",
|
|
8616
|
+
"description": "A windowed list on @tanstack/react-virtual: only the rows in view (plus overscan) are mounted, and rows are measured so they may differ in height. role=\"list\" with listitem rows carrying aria-setsize and aria-posinset. anchor=\"end\" opens at the last item and stays pinned to the bottom while new items arrive and the reader is at the bottom (a transcript, a log). It fills its parent, or stops at maxHeight. onStartReached fires once each time the reader scrolls to the start (load older history), and prepending items keeps the first visible row in place. On native it is a FlatList with the same props (role list; rows carry no listitem role, which React Native lacks) (maintainVisibleContentPosition for prepend). The scroll region is a tab stop with a focus ring, so the keyboard can scroll rows that hold no control. onEndReached mirrors onStartReached at the end (load newer items in a window opened on an older point); scrollToKey centres one item each time it changes to a key in the list (a link to one message), and anchor=\"end\" stops following the end while it applies. onAtEndChange(atEnd) is called once each time the reader comes within 44px of the end or leaves it, so a host can record whether the reader follows the live tail; scrollToEndKey scrolls to the end and resumes anchor=\"end\" following each time it changes to a new non-null value (the host's own send), even when the reader had scrolled up.",
|
|
8617
8617
|
"example": "<VirtualList\n aria-label=\"Transcript\"\n items={messages}\n getKey={(m) => m.id}\n estimateSize=\"controlLg\"\n anchor=\"end\"\n renderItem={(m) => <Text>{m.text}</Text>}\n/>",
|
|
8618
8618
|
"relatedTo": [
|
|
8619
8619
|
{
|
|
@@ -8689,6 +8689,18 @@
|
|
|
8689
8689
|
"required": false,
|
|
8690
8690
|
"type": "() => void"
|
|
8691
8691
|
},
|
|
8692
|
+
{
|
|
8693
|
+
"description": "Called once each time the reader comes within 44px (touchTarget) of the end or leaves it, with `true` at the end and `false` away from it, so a host can record whether the reader follows the live tail. It never repeats a value.",
|
|
8694
|
+
"name": "onAtEndChange",
|
|
8695
|
+
"required": false,
|
|
8696
|
+
"type": "(atEnd: boolean) => void"
|
|
8697
|
+
},
|
|
8698
|
+
{
|
|
8699
|
+
"description": "Scroll to the end, and resume `anchor=\"end\"` following, each time the key changes to a new non-null value (a host's own send), even when the reader had scrolled up. The key present at the first render does nothing; `null` does nothing.",
|
|
8700
|
+
"name": "scrollToEndKey",
|
|
8701
|
+
"required": false,
|
|
8702
|
+
"type": "string | number | null"
|
|
8703
|
+
},
|
|
8692
8704
|
{
|
|
8693
8705
|
"description": "Bring this item into view, centred, each time the key changes to an item in the list (a link to one message). A key not in the list yet waits for the items that hold it; `null` or `undefined` does nothing. While it applies, `anchor=\"end\"` stops following the end.",
|
|
8694
8706
|
"name": "scrollToKey",
|