kerfjs 5.0.0-beta.84 → 5.0.0-beta.86
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/CHANGELOG.md +2 -0
- package/ai/manifest.json +1 -1
- package/dist/{chunk-TLL3KXT6.js → chunk-T33U7SRR.js} +13 -6
- package/dist/chunk-T33U7SRR.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/list.js +32 -23
- package/dist/list.js.map +1 -1
- package/dist/overlay.js +1 -1
- package/dist/remount.js +1 -1
- package/dist/scope.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-TLL3KXT6.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -54,6 +54,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
|
54
54
|
|
|
55
55
|
### Fixed
|
|
56
56
|
|
|
57
|
+
- Catalog Pane's documented `--kui-pane-scrollbar-gutter` token so downstream doctor and ESLint checks accept the supported setting (`KF-W5VXQF`).
|
|
58
|
+
|
|
57
59
|
- The actionable ToolbarText catalog example uses the standard TokenSearchField toolbar presentation for its search control, and an empty TokenSearchField shows its placeholder.
|
|
58
60
|
|
|
59
61
|
- Preserve toolbar visibility and measurement state across app renders to prevent geometry-driven render loops and repeated observer/layout work (`KF-58HBRR`).
|
package/ai/manifest.json
CHANGED
|
@@ -111,11 +111,18 @@ function _hasGranularIndexShift(previousBindingCount, patches) {
|
|
|
111
111
|
const rendered = [];
|
|
112
112
|
for (let i = 0; i < previousBindingCount; i++) rendered.push(i);
|
|
113
113
|
for (const patch of patches) {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
114
|
+
switch (patch.type) {
|
|
115
|
+
case "insert":
|
|
116
|
+
rendered.splice(patch.index, 0, patch.index);
|
|
117
|
+
break;
|
|
118
|
+
case "remove":
|
|
119
|
+
rendered.splice(patch.index, 1);
|
|
120
|
+
break;
|
|
121
|
+
case "move": {
|
|
122
|
+
const [moved] = rendered.splice(patch.from, 1);
|
|
123
|
+
rendered.splice(patch.to, 0, moved);
|
|
124
|
+
break;
|
|
125
|
+
}
|
|
119
126
|
}
|
|
120
127
|
}
|
|
121
128
|
return rendered.some((renderedAt, index) => renderedAt !== index);
|
|
@@ -1514,4 +1521,4 @@ function resultToSegment(result) {
|
|
|
1514
1521
|
|
|
1515
1522
|
export { captureFocus, each, morph, mount, moveNode, restoreFocus };
|
|
1516
1523
|
|
|
1517
|
-
//# sourceMappingURL=chunk-
|
|
1524
|
+
//# sourceMappingURL=chunk-T33U7SRR.js.map
|