@opentui/solid 0.0.0-20250922-2a20774e → 0.0.0-20250922-ce4434a8
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 +2 -0
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -428,6 +428,7 @@ var getNodeChildren = (node) => {
|
|
|
428
428
|
function _insertNode(parent, node, anchor) {
|
|
429
429
|
log("Inserting node:", logId(node), "into parent:", logId(parent), "with anchor:", logId(anchor), node instanceof TextNode);
|
|
430
430
|
if (node instanceof SlotRenderable) {
|
|
431
|
+
node.parent = parent;
|
|
431
432
|
node = node.getSlotChild(parent);
|
|
432
433
|
}
|
|
433
434
|
if (anchor && anchor instanceof SlotRenderable) {
|
|
@@ -456,6 +457,7 @@ function _insertNode(parent, node, anchor) {
|
|
|
456
457
|
function _removeNode(parent, node) {
|
|
457
458
|
log("Removing node:", logId(node), "from parent:", logId(parent));
|
|
458
459
|
if (node instanceof SlotRenderable) {
|
|
460
|
+
node.parent = null;
|
|
459
461
|
node = node.getSlotChild(parent);
|
|
460
462
|
}
|
|
461
463
|
if (isTextNodeRenderable(parent)) {
|
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-20250922-
|
|
7
|
+
"version": "0.0.0-20250922-ce4434a8",
|
|
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-20250922-
|
|
30
|
+
"@opentui/core": "0.0.0-20250922-ce4434a8",
|
|
31
31
|
"babel-plugin-module-resolver": "5.0.2",
|
|
32
32
|
"babel-preset-solid": "1.9.9",
|
|
33
33
|
"s-js": "^0.4.9"
|