@opentui/core 0.1.12 → 0.1.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.
- package/3d.js +1 -1
- package/{index-bpwzbxgn.js → index-4gez9k7q.js} +13 -2
- package/{index-bpwzbxgn.js.map → index-4gez9k7q.js.map} +4 -4
- package/index.js +5 -13
- package/index.js.map +5 -6
- package/package.json +7 -7
- package/renderables/composition/constructs.d.ts +1 -3
- package/renderables/index.d.ts +0 -1
- package/renderer.d.ts +1 -0
- package/zig.d.ts +1 -0
- package/renderables/Group.d.ts +0 -5
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.1.
|
|
7
|
+
"version": "0.1.13",
|
|
8
8
|
"description": "OpenTUI is a TypeScript library for building terminal user interfaces (TUIs)",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"repository": {
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
"bun-webgpu": "0.1.3",
|
|
39
39
|
"planck": "^1.4.2",
|
|
40
40
|
"three": "0.177.0",
|
|
41
|
-
"@opentui/core-darwin-x64": "0.1.
|
|
42
|
-
"@opentui/core-darwin-arm64": "0.1.
|
|
43
|
-
"@opentui/core-linux-x64": "0.1.
|
|
44
|
-
"@opentui/core-linux-arm64": "0.1.
|
|
45
|
-
"@opentui/core-win32-x64": "0.1.
|
|
46
|
-
"@opentui/core-win32-arm64": "0.1.
|
|
41
|
+
"@opentui/core-darwin-x64": "0.1.13",
|
|
42
|
+
"@opentui/core-darwin-arm64": "0.1.13",
|
|
43
|
+
"@opentui/core-linux-x64": "0.1.13",
|
|
44
|
+
"@opentui/core-linux-arm64": "0.1.13",
|
|
45
|
+
"@opentui/core-win32-x64": "0.1.13",
|
|
46
|
+
"@opentui/core-win32-arm64": "0.1.13"
|
|
47
47
|
}
|
|
48
48
|
}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { ASCIIFontRenderable, BoxRenderable,
|
|
2
|
-
import type { RenderableOptions } from "../../Renderable";
|
|
1
|
+
import { ASCIIFontRenderable, BoxRenderable, InputRenderable, SelectRenderable, TabSelectRenderable, TextRenderable, VRenderable, type ASCIIFontOptions, type BoxOptions, type TextOptions, type VRenderableOptions, type InputRenderableOptions, type SelectRenderableOptions, type TabSelectRenderableOptions, FrameBufferRenderable, type FrameBufferOptions } from "../";
|
|
3
2
|
import { type VChild, type ProxiedVNode } from "./vnode";
|
|
4
3
|
export declare function Generic(props?: VRenderableOptions, ...children: VChild[]): ProxiedVNode<typeof VRenderable>;
|
|
5
|
-
export declare function Group(props?: RenderableOptions<any>, ...children: VChild[]): ProxiedVNode<typeof GroupRenderable>;
|
|
6
4
|
export declare function Box(props?: BoxOptions, ...children: VChild[]): ProxiedVNode<typeof BoxRenderable>;
|
|
7
5
|
export declare function Text(props?: TextOptions & {
|
|
8
6
|
content?: any;
|
package/renderables/index.d.ts
CHANGED
package/renderer.d.ts
CHANGED
|
@@ -172,6 +172,7 @@ export declare class CliRenderer extends EventEmitter implements RenderContext {
|
|
|
172
172
|
corner?: DebugOverlayCorner;
|
|
173
173
|
}): void;
|
|
174
174
|
clearTerminal(): void;
|
|
175
|
+
setTerminalTitle(title: string): void;
|
|
175
176
|
dumpHitGrid(): void;
|
|
176
177
|
dumpBuffers(timestamp?: number): void;
|
|
177
178
|
dumpStdoutBuffer(timestamp?: number): void;
|
package/zig.d.ts
CHANGED
|
@@ -44,6 +44,7 @@ export interface RenderLib {
|
|
|
44
44
|
setCursorColor: (renderer: Pointer, color: RGBA) => void;
|
|
45
45
|
setDebugOverlay: (renderer: Pointer, enabled: boolean, corner: DebugOverlayCorner) => void;
|
|
46
46
|
clearTerminal: (renderer: Pointer) => void;
|
|
47
|
+
setTerminalTitle: (renderer: Pointer, title: string) => void;
|
|
47
48
|
addToHitGrid: (renderer: Pointer, x: number, y: number, width: number, height: number, id: number) => void;
|
|
48
49
|
checkHit: (renderer: Pointer, x: number, y: number) => number;
|
|
49
50
|
dumpHitGrid: (renderer: Pointer) => void;
|
package/renderables/Group.d.ts
DELETED