@opentui/core 0.0.0-20250915-f5db043a → 0.0.0-20250915-7be4d9eb
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/3d.js +1 -1
- package/{index-6esrcarp.js → index-dgjbzqw3.js} +2 -14
- package/{index-6esrcarp.js.map → index-dgjbzqw3.js.map} +3 -3
- package/index.js +5 -13
- package/index.js.map +4 -4
- package/package.json +7 -7
- package/testing.js +1 -1
package/3d.js
CHANGED
|
@@ -1805,12 +1805,6 @@ class TrackedNode extends EventEmitter {
|
|
|
1805
1805
|
const index = this.children.length;
|
|
1806
1806
|
this.children.push(childNode);
|
|
1807
1807
|
this.yogaNode.insertChild(childNode.yogaNode, index);
|
|
1808
|
-
try {
|
|
1809
|
-
childNode.yogaNode.setWidth(childNode.parseWidth(childNode._width));
|
|
1810
|
-
childNode.yogaNode.setHeight(childNode.parseHeight(childNode._height));
|
|
1811
|
-
} catch (e) {
|
|
1812
|
-
console.error("Error setting width and height", e);
|
|
1813
|
-
}
|
|
1814
1808
|
return index;
|
|
1815
1809
|
}
|
|
1816
1810
|
getChildIndex(childNode) {
|
|
@@ -1859,12 +1853,6 @@ class TrackedNode extends EventEmitter {
|
|
|
1859
1853
|
const boundedIndex = Math.max(0, Math.min(index, this.children.length));
|
|
1860
1854
|
this.children.splice(boundedIndex, 0, childNode);
|
|
1861
1855
|
this.yogaNode.insertChild(childNode.yogaNode, boundedIndex);
|
|
1862
|
-
try {
|
|
1863
|
-
childNode.yogaNode.setWidth(childNode.parseWidth(childNode._width));
|
|
1864
|
-
childNode.yogaNode.setHeight(childNode.parseHeight(childNode._height));
|
|
1865
|
-
} catch (e) {
|
|
1866
|
-
console.error("Error setting width and height", e);
|
|
1867
|
-
}
|
|
1868
1856
|
return boundedIndex;
|
|
1869
1857
|
}
|
|
1870
1858
|
getChildCount() {
|
|
@@ -9419,5 +9407,5 @@ Error details:
|
|
|
9419
9407
|
|
|
9420
9408
|
export { __toESM, __commonJS, __export, __require, Edge, Gutter, MeasureMode, BorderChars, getBorderFromSides, getBorderSides, borderCharsToArray, BorderCharArrays, TrackedNode, createTrackedNode, nonAlphanumericKeys, parseKeypress, KeyHandler, getKeyHandler, RGBA, hexToRgb, rgbToHex, hsvToRgb, parseColor, fonts, measureText, getCharacterPositions, coordinateToCharacterIndex, renderFontToFrameBuffer, TextAttributes, DebugOverlayCorner, createTextAttributes, visualizeRenderableTree, isStyledText, StyledText, stringToStyledText, black, red, green, yellow, blue, magenta, cyan, white, brightBlack, brightRed, brightGreen, brightYellow, brightBlue, brightMagenta, brightCyan, brightWhite, bgBlack, bgRed, bgGreen, bgYellow, bgBlue, bgMagenta, bgCyan, bgWhite, bold, italic, underline, strikethrough, dim, reverse, blink, fg, bg, t, SyntaxStyle, hastToStyledText, parseAlign, parseBoxSizing, parseDimension, parseDirection, parseDisplay, parseEdge, parseFlexDirection, parseGutter, parseJustify, parseLogLevel, parseMeasureMode, parseOverflow, parsePositionType, parseUnit, parseWrap, MouseParser, Selection, convertGlobalToLocalSelection, ASCIIFontSelectionHelper, TextBuffer, LogLevel2 as LogLevel, setRenderLibPath, resolveRenderLib, OptimizedBuffer, h, isVNode, maybeMakeRenderable, wrapWithDelegates, instantiate, delegate, LayoutEvents, RenderableEvents, isValidPercentage, isMarginType, isPaddingType, isPositionType, isPositionTypeType, isOverflowType, isDimensionType, isFlexBasisType, isSizeType, isRenderable, BaseRenderable, Renderable, RootRenderable, capture, ConsolePosition, TerminalConsole, getObjectsInViewport, MouseEvent, MouseButton, createCliRenderer, CliRenderEvents, CliRenderer };
|
|
9421
9409
|
|
|
9422
|
-
//# debugId=
|
|
9423
|
-
//# sourceMappingURL=index-
|
|
9410
|
+
//# debugId=912FF4522FC22ACA64756E2164756E21
|
|
9411
|
+
//# sourceMappingURL=index-dgjbzqw3.js.map
|