@opentui/solid 0.2.12 → 0.2.13

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.
Files changed (2) hide show
  1. package/index.js +6 -0
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -702,6 +702,12 @@ var {
702
702
  log("No parent found for node:", logId(node));
703
703
  return;
704
704
  }
705
+ if (node instanceof SlotRenderable) {
706
+ const layoutSlotNode = node.getSlotChildForRemoval(parent);
707
+ if (layoutSlotNode) {
708
+ node = layoutSlotNode;
709
+ }
710
+ }
705
711
  const siblings = getNodeChildren(parent);
706
712
  const index = siblings.indexOf(node);
707
713
  if (index === -1 || index === siblings.length - 1) {
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.2.12",
7
+ "version": "0.2.13",
8
8
  "description": "SolidJS renderer for OpenTUI",
9
9
  "license": "MIT",
10
10
  "repository": {
@@ -39,7 +39,7 @@
39
39
  "dependencies": {
40
40
  "@babel/core": "7.28.0",
41
41
  "@babel/preset-typescript": "7.27.1",
42
- "@opentui/core": "0.2.12",
42
+ "@opentui/core": "0.2.13",
43
43
  "babel-plugin-module-resolver": "5.0.2",
44
44
  "babel-preset-solid": "1.9.12",
45
45
  "entities": "7.0.1",