@opentui/core 0.8.3 → 0.8.4
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/NativeScene.d.ts +3 -0
- package/{chunk-bun-psdzwx7h.js → chunk-bun-83k2gdpc.js} +14 -7
- package/{chunk-bun-psdzwx7h.js.map → chunk-bun-83k2gdpc.js.map} +4 -4
- package/{chunk-bun-12ttbayv.js → chunk-bun-dsfc571f.js} +10 -2
- package/{chunk-bun-12ttbayv.js.map → chunk-bun-dsfc571f.js.map} +4 -4
- package/{chunk-node-drh8dgw6.js → chunk-node-3ssb37vb.js} +14 -7
- package/{chunk-node-drh8dgw6.js.map → chunk-node-3ssb37vb.js.map} +4 -4
- package/{chunk-node-88t8pbzy.js → chunk-node-5nvhjp1a.js} +10 -2
- package/{chunk-node-88t8pbzy.js.map → chunk-node-5nvhjp1a.js.map} +4 -4
- package/index.bun.js +2 -2
- package/index.node.js +2 -2
- package/native-abi.generated.d.ts +4 -0
- package/package.json +9 -9
- package/testing.bun.js +2 -2
- package/testing.js +2 -2
- package/yoga.bun.js +1 -1
- package/yoga.js +1 -1
- package/zig.d.ts +1 -0
package/index.bun.js
CHANGED
|
@@ -120,7 +120,7 @@ import {
|
|
|
120
120
|
Gutter2,
|
|
121
121
|
MeasureMode2,
|
|
122
122
|
exports_yoga
|
|
123
|
-
} from "./chunk-bun-
|
|
123
|
+
} from "./chunk-bun-dsfc571f.js";
|
|
124
124
|
import {
|
|
125
125
|
isValidBorderStyle2,
|
|
126
126
|
parseBorderStyle2,
|
|
@@ -254,7 +254,7 @@ import {
|
|
|
254
254
|
CliRenderEvents2,
|
|
255
255
|
RendererControlState2,
|
|
256
256
|
CliRenderer2
|
|
257
|
-
} from "./chunk-bun-
|
|
257
|
+
} from "./chunk-bun-83k2gdpc.js";
|
|
258
258
|
// src/syntax-style.ts
|
|
259
259
|
function cloneStyle(style) {
|
|
260
260
|
return {
|
package/index.node.js
CHANGED
|
@@ -119,7 +119,7 @@ import {
|
|
|
119
119
|
Gutter2,
|
|
120
120
|
MeasureMode2,
|
|
121
121
|
exports_yoga
|
|
122
|
-
} from "./chunk-node-
|
|
122
|
+
} from "./chunk-node-5nvhjp1a.js";
|
|
123
123
|
import {
|
|
124
124
|
isValidBorderStyle2,
|
|
125
125
|
parseBorderStyle2,
|
|
@@ -253,7 +253,7 @@ import {
|
|
|
253
253
|
CliRenderEvents2,
|
|
254
254
|
RendererControlState2,
|
|
255
255
|
CliRenderer2
|
|
256
|
-
} from "./chunk-node-
|
|
256
|
+
} from "./chunk-node-3ssb37vb.js";
|
|
257
257
|
// src/syntax-style.ts
|
|
258
258
|
function cloneStyle(style) {
|
|
259
259
|
return {
|
|
@@ -35,6 +35,10 @@ export declare const nativeSymbols: {
|
|
|
35
35
|
readonly args: readonly ["ptr", "buffer", "buffer"];
|
|
36
36
|
readonly returns: "i32";
|
|
37
37
|
};
|
|
38
|
+
readonly ot_scene_reaches_hooks: {
|
|
39
|
+
readonly args: readonly ["ptr", "buffer", "buffer"];
|
|
40
|
+
readonly returns: "i32";
|
|
41
|
+
};
|
|
38
42
|
readonly ot_scene_mark_dirty: {
|
|
39
43
|
readonly args: readonly ["ptr", "buffer"];
|
|
40
44
|
readonly returns: "i32";
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"main": "index.node.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"type": "module",
|
|
7
|
-
"version": "0.8.
|
|
7
|
+
"version": "0.8.4",
|
|
8
8
|
"description": "OpenTUI is a TypeScript library on a native Zig core for building terminal user interfaces (TUIs)",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"repository": {
|
|
@@ -78,13 +78,13 @@
|
|
|
78
78
|
"web-tree-sitter": "0.25.10"
|
|
79
79
|
},
|
|
80
80
|
"optionalDependencies": {
|
|
81
|
-
"@opentui/core-darwin-x64": "0.8.
|
|
82
|
-
"@opentui/core-darwin-arm64": "0.8.
|
|
83
|
-
"@opentui/core-linux-x64": "0.8.
|
|
84
|
-
"@opentui/core-linux-arm64": "0.8.
|
|
85
|
-
"@opentui/core-win32-x64": "0.8.
|
|
86
|
-
"@opentui/core-win32-arm64": "0.8.
|
|
87
|
-
"@opentui/core-linux-x64-musl": "0.8.
|
|
88
|
-
"@opentui/core-linux-arm64-musl": "0.8.
|
|
81
|
+
"@opentui/core-darwin-x64": "0.8.4",
|
|
82
|
+
"@opentui/core-darwin-arm64": "0.8.4",
|
|
83
|
+
"@opentui/core-linux-x64": "0.8.4",
|
|
84
|
+
"@opentui/core-linux-arm64": "0.8.4",
|
|
85
|
+
"@opentui/core-win32-x64": "0.8.4",
|
|
86
|
+
"@opentui/core-win32-arm64": "0.8.4",
|
|
87
|
+
"@opentui/core-linux-x64-musl": "0.8.4",
|
|
88
|
+
"@opentui/core-linux-arm64-musl": "0.8.4"
|
|
89
89
|
}
|
|
90
90
|
}
|
package/testing.bun.js
CHANGED
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
TreeSitterClient2,
|
|
5
5
|
ANSI,
|
|
6
6
|
CliRenderer2
|
|
7
|
-
} from "./chunk-bun-
|
|
7
|
+
} from "./chunk-bun-83k2gdpc.js";
|
|
8
8
|
import {
|
|
9
9
|
nativeConstants
|
|
10
|
-
} from "./chunk-bun-
|
|
10
|
+
} from "./chunk-bun-dsfc571f.js";
|
|
11
11
|
|
|
12
12
|
// src/testing/mock-keys.ts
|
|
13
13
|
import { Buffer as Buffer2 } from "buffer";
|
package/testing.js
CHANGED
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
TreeSitterClient2,
|
|
4
4
|
ANSI,
|
|
5
5
|
CliRenderer2
|
|
6
|
-
} from "./chunk-node-
|
|
6
|
+
} from "./chunk-node-3ssb37vb.js";
|
|
7
7
|
import {
|
|
8
8
|
nativeConstants
|
|
9
|
-
} from "./chunk-node-
|
|
9
|
+
} from "./chunk-node-5nvhjp1a.js";
|
|
10
10
|
|
|
11
11
|
// src/testing/mock-keys.ts
|
|
12
12
|
import { Buffer as Buffer2 } from "node:buffer";
|
package/yoga.bun.js
CHANGED
package/yoga.js
CHANGED
package/zig.d.ts
CHANGED
|
@@ -1302,6 +1302,7 @@ export declare class FFIRenderLib {
|
|
|
1302
1302
|
sceneDestroyNode(context: NativeContextHandle, node: SceneNodeHandle): void;
|
|
1303
1303
|
sceneSetMeasure(context: NativeContextHandle, node: SceneNodeHandle, measure: MeasureFunction | null): void;
|
|
1304
1304
|
sceneHasMeasure(context: NativeContextHandle, node: SceneNodeHandle): boolean;
|
|
1305
|
+
sceneReachesHooks(context: NativeContextHandle, node: SceneNodeHandle): boolean;
|
|
1305
1306
|
sceneMarkDirty(context: NativeContextHandle, node: SceneNodeHandle): void;
|
|
1306
1307
|
sceneMoveNode(context: NativeContextHandle, node: SceneNodeHandle, parent: SceneNodeHandle | null, index: number): void;
|
|
1307
1308
|
sceneSetViewport(context: NativeContextHandle, node: SceneNodeHandle, viewport: SceneNodeHandle | null): void;
|