@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/index.bun.js CHANGED
@@ -120,7 +120,7 @@ import {
120
120
  Gutter2,
121
121
  MeasureMode2,
122
122
  exports_yoga
123
- } from "./chunk-bun-12ttbayv.js";
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-psdzwx7h.js";
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-88t8pbzy.js";
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-drh8dgw6.js";
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.3",
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.3",
82
- "@opentui/core-darwin-arm64": "0.8.3",
83
- "@opentui/core-linux-x64": "0.8.3",
84
- "@opentui/core-linux-arm64": "0.8.3",
85
- "@opentui/core-win32-x64": "0.8.3",
86
- "@opentui/core-win32-arm64": "0.8.3",
87
- "@opentui/core-linux-x64-musl": "0.8.3",
88
- "@opentui/core-linux-arm64-musl": "0.8.3"
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-psdzwx7h.js";
7
+ } from "./chunk-bun-83k2gdpc.js";
8
8
  import {
9
9
  nativeConstants
10
- } from "./chunk-bun-12ttbayv.js";
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-drh8dgw6.js";
6
+ } from "./chunk-node-3ssb37vb.js";
7
7
  import {
8
8
  nativeConstants
9
- } from "./chunk-node-88t8pbzy.js";
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
@@ -95,7 +95,7 @@ import {
95
95
  Config2,
96
96
  Node2,
97
97
  yoga_default
98
- } from "./chunk-bun-12ttbayv.js";
98
+ } from "./chunk-bun-dsfc571f.js";
99
99
  export {
100
100
  ALIGN_AUTO2 as ALIGN_AUTO,
101
101
  ALIGN_BASELINE2 as ALIGN_BASELINE,
package/yoga.js CHANGED
@@ -94,7 +94,7 @@ import {
94
94
  Config2,
95
95
  Node2,
96
96
  yoga_default
97
- } from "./chunk-node-88t8pbzy.js";
97
+ } from "./chunk-node-5nvhjp1a.js";
98
98
  export {
99
99
  ALIGN_AUTO2 as ALIGN_AUTO,
100
100
  ALIGN_BASELINE2 as ALIGN_BASELINE,
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;