@opentui/solid 0.0.0-20250919-6683564e → 0.0.0-20250922-2a20774e
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/index.js +6 -2
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -297,7 +297,7 @@ function createRenderer({
|
|
|
297
297
|
while (removed = getFirstChild(parent))
|
|
298
298
|
removeNode(parent, removed);
|
|
299
299
|
replacement && insertNode(parent, replacement);
|
|
300
|
-
return
|
|
300
|
+
return replacement;
|
|
301
301
|
}
|
|
302
302
|
const node = replacement || createSlotNode();
|
|
303
303
|
if (current.length) {
|
|
@@ -553,6 +553,10 @@ var {
|
|
|
553
553
|
return;
|
|
554
554
|
}
|
|
555
555
|
switch (name) {
|
|
556
|
+
case "id":
|
|
557
|
+
log("Id mapped", node.id, "=", value);
|
|
558
|
+
node[name] = value;
|
|
559
|
+
break;
|
|
556
560
|
case "focused":
|
|
557
561
|
if (!(node instanceof Renderable))
|
|
558
562
|
return;
|
|
@@ -656,7 +660,7 @@ var {
|
|
|
656
660
|
log("No parent found for node:", logId(node));
|
|
657
661
|
return;
|
|
658
662
|
}
|
|
659
|
-
const siblings = getNodeChildren(
|
|
663
|
+
const siblings = getNodeChildren(parent);
|
|
660
664
|
const index = siblings.indexOf(node);
|
|
661
665
|
if (index === -1 || index === siblings.length - 1) {
|
|
662
666
|
log("No next sibling found for node:", logId(node));
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"type": "module",
|
|
7
|
-
"version": "0.0.0-
|
|
7
|
+
"version": "0.0.0-20250922-2a20774e",
|
|
8
8
|
"description": "SolidJS renderer for OpenTUI",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"repository": {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@babel/core": "7.28.0",
|
|
29
29
|
"@babel/preset-typescript": "7.27.1",
|
|
30
|
-
"@opentui/core": "0.0.0-
|
|
30
|
+
"@opentui/core": "0.0.0-20250922-2a20774e",
|
|
31
31
|
"babel-plugin-module-resolver": "5.0.2",
|
|
32
32
|
"babel-preset-solid": "1.9.9",
|
|
33
33
|
"s-js": "^0.4.9"
|