@opentui/core 0.1.17 → 0.1.18
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/Renderable.d.ts +2 -0
- package/{index-vg0fxf54.js → index-grak7z0n.js} +55 -28
- package/{index-vg0fxf54.js.map → index-grak7z0n.js.map} +5 -5
- package/index.js +4 -7
- package/index.js.map +3 -3
- package/package.json +7 -7
- package/renderables/Input.d.ts +0 -1
- package/renderables/composition/vnode.d.ts +3 -2
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.18",
|
|
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.18",
|
|
42
|
+
"@opentui/core-darwin-arm64": "0.1.18",
|
|
43
|
+
"@opentui/core-linux-x64": "0.1.18",
|
|
44
|
+
"@opentui/core-linux-arm64": "0.1.18",
|
|
45
|
+
"@opentui/core-win32-x64": "0.1.18",
|
|
46
|
+
"@opentui/core-win32-arm64": "0.1.18"
|
|
47
47
|
}
|
|
48
48
|
}
|
package/renderables/Input.d.ts
CHANGED
|
@@ -6,8 +6,9 @@ export interface PendingCall {
|
|
|
6
6
|
args: any[];
|
|
7
7
|
isProperty?: boolean;
|
|
8
8
|
}
|
|
9
|
+
declare const BrandedVNode: unique symbol;
|
|
9
10
|
export interface VNode<P = any, C = VChild[]> {
|
|
10
|
-
|
|
11
|
+
[BrandedVNode]: true;
|
|
11
12
|
type: Construct<P>;
|
|
12
13
|
props?: P;
|
|
13
14
|
children?: C;
|
|
@@ -26,7 +27,7 @@ export declare function h<TCtor extends RenderableConstructor<any>>(type: TCtor,
|
|
|
26
27
|
export declare function h<P>(type: FunctionalConstruct<P>, props?: P, ...children: VChild[]): VNode<P>;
|
|
27
28
|
export declare function h<P>(type: Construct<P>, props?: P, ...children: VChild[]): VNode<P> | ProxiedVNode<any>;
|
|
28
29
|
export declare function isVNode(node: any): node is VNode;
|
|
29
|
-
export declare function
|
|
30
|
+
export declare function maybeMakeRenderable(ctx: RenderContext, node: Renderable | VNode<any, any[]>): Renderable | null;
|
|
30
31
|
export declare function wrapWithDelegates<T extends InstanceType<RenderableConstructor>>(instance: T, delegateMap: Record<string, string> | undefined): T;
|
|
31
32
|
export type InstantiateFn<NodeType extends VNode | Renderable> = Renderable & {
|
|
32
33
|
__node?: NodeType;
|