@kud/gh-ink 0.29.0 → 0.29.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/dist/index.js +7 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1060,8 +1060,13 @@ var treeUrls = (items, i) => {
|
|
|
1060
1060
|
while (root > 0 && isChildRow(items[root])) root -= 1;
|
|
1061
1061
|
const urls = [];
|
|
1062
1062
|
for (let j = root; j < items.length; j += 1) {
|
|
1063
|
-
|
|
1064
|
-
|
|
1063
|
+
const item = items[j];
|
|
1064
|
+
if (j > root && !isChildRow(item)) break;
|
|
1065
|
+
if (item.kind === "show-more") {
|
|
1066
|
+
for (const child of item.hidden) if (child.url) urls.push(child.url);
|
|
1067
|
+
continue;
|
|
1068
|
+
}
|
|
1069
|
+
const url = item.url;
|
|
1065
1070
|
if (url) urls.push(url);
|
|
1066
1071
|
}
|
|
1067
1072
|
return urls;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kud/gh-ink",
|
|
3
|
-
"version": "0.29.
|
|
3
|
+
"version": "0.29.1",
|
|
4
4
|
"description": "Ink components for rendering GitHub PR review comments and health — controlled, presentation-only, built on @kud/ink-ui and fed by @kud/gh.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|