@opentui/core 0.5.14 → 0.5.16
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/{chunk-bun-j2z63cdy.js → chunk-bun-3qwevekk.js} +5 -5
- package/{chunk-bun-j2z63cdy.js.map → chunk-bun-3qwevekk.js.map} +3 -3
- package/{chunk-bun-sjw2d9bq.js → chunk-bun-6rvkxs1v.js} +16 -10
- package/{chunk-bun-sjw2d9bq.js.map → chunk-bun-6rvkxs1v.js.map} +4 -4
- package/{chunk-node-wp7ct2m6.js → chunk-node-f3yste6w.js} +5 -5
- package/{chunk-node-wp7ct2m6.js.map → chunk-node-f3yste6w.js.map} +3 -3
- package/{chunk-node-80p7e6t6.js → chunk-node-tfvyz31s.js} +16 -10
- package/{chunk-node-80p7e6t6.js.map → chunk-node-tfvyz31s.js.map} +4 -4
- package/index.bun.js +31 -26
- package/index.bun.js.map +4 -4
- package/index.node.js +31 -26
- package/index.node.js.map +4 -4
- package/package.json +9 -9
- package/renderables/Diff.d.ts +3 -1
- package/renderables/LineNumberRenderable.d.ts +1 -1
- package/runtime-plugin-support-configure.d.ts +1 -1
- package/runtime-plugin-support-configure.js +11 -0
- package/runtime-plugin-support-configure.js.map +1 -1
- package/runtime-plugin-support.d.ts +1 -1
- package/runtime-plugin-support.js.map +1 -1
- package/runtime-plugin.d.ts +2 -0
- package/runtime-plugin.js +18 -3
- package/runtime-plugin.js.map +1 -1
- package/testing.bun.js +2 -2
- package/testing.js +2 -2
- package/yoga.bun.js +1 -1
- package/yoga.js +1 -1
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
NativeMeasureTargetKind2,
|
|
42
42
|
resolveRenderLib2,
|
|
43
43
|
yoga_default
|
|
44
|
-
} from "./chunk-node-
|
|
44
|
+
} from "./chunk-node-tfvyz31s.js";
|
|
45
45
|
|
|
46
46
|
// src/syntax-style.ts
|
|
47
47
|
function convertThemeToStyles2(theme) {
|
|
@@ -7700,14 +7700,14 @@ Captured external output:
|
|
|
7700
7700
|
this.capturedRenderable = renderable;
|
|
7701
7701
|
}
|
|
7702
7702
|
addToHitGrid(x, y, width, height, id) {
|
|
7703
|
-
if (!this._useMouse)
|
|
7703
|
+
if (!this._useMouse || width <= 0 || height <= 0)
|
|
7704
7704
|
return;
|
|
7705
7705
|
if (id !== this.capturedRenderable?.num) {
|
|
7706
7706
|
this.lib.addToHitGrid(this.rendererPtr, x, y, width, height, id);
|
|
7707
7707
|
}
|
|
7708
7708
|
}
|
|
7709
7709
|
pushHitGridScissorRect(x, y, width, height) {
|
|
7710
|
-
this.lib.hitGridPushScissorRect(this.rendererPtr, x, y, width, height);
|
|
7710
|
+
this.lib.hitGridPushScissorRect(this.rendererPtr, x, y, Math.max(0, width), Math.max(0, height));
|
|
7711
7711
|
}
|
|
7712
7712
|
popHitGridScissorRect() {
|
|
7713
7713
|
this.lib.hitGridPopScissorRect(this.rendererPtr);
|
|
@@ -10526,5 +10526,5 @@ Captured external output:
|
|
|
10526
10526
|
|
|
10527
10527
|
export { convertThemeToStyles2, SyntaxStyle2, h2, isVNode2, maybeMakeRenderable2, wrapWithDelegates2, instantiate2, delegate2, LayoutEvents2, RenderableEvents2, isRenderable2, BaseRenderable2, Renderable2, RootRenderable2, TextBufferView2, EditBuffer2, EditorView2, ANSI, BoxRenderable2, TextBufferRenderable2, CodeRenderable2, isTextNodeRenderable2, TextNodeRenderable2, RootTextNodeRenderable2, TextRenderable2, NativeSpanFeed2, defaultKeyAliases, mergeKeyAliases, mergeKeyBindings, getKeyBindingAction, buildKeyBindingsMap, capture2, ConsolePosition2, TerminalConsole2, getObjectsInViewport, EditBufferRenderableEvents2, isEditBufferRenderable2, EditBufferRenderable2, buildKittyKeyboardFlags2, MouseEvent2, MouseButton2, createCliRenderer2, CliRenderEvents2, RendererControlState2, CliRenderer2 };
|
|
10528
10528
|
|
|
10529
|
-
//# debugId=
|
|
10530
|
-
//# sourceMappingURL=chunk-node-
|
|
10529
|
+
//# debugId=25E7741C866268EA64756E2164756E21
|
|
10530
|
+
//# sourceMappingURL=chunk-node-f3yste6w.js.map
|