@visulima/tui 1.0.0-alpha.8 → 1.0.0-alpha.9

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/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## @visulima/tui [1.0.0-alpha.9](https://github.com/visulima/visulima/compare/@visulima/tui@1.0.0-alpha.8...@visulima/tui@1.0.0-alpha.9) (2026-05-07)
2
+
3
+ ### Miscellaneous Chores
4
+
5
+ * **tui:** bump react peer to >=19.2.6 and bench ink to v7 ([4c97b71](https://github.com/visulima/visulima/commit/4c97b71fa229bf4d03e585fbdbb962795a3e4adc))
6
+
1
7
  ## @visulima/tui [1.0.0-alpha.8](https://github.com/visulima/visulima/compare/@visulima/tui@1.0.0-alpha.7...@visulima/tui@1.0.0-alpha.8) (2026-05-06)
2
8
 
3
9
  ## @visulima/tui [1.0.0-alpha.7](https://github.com/visulima/visulima/compare/@visulima/tui@1.0.0-alpha.6...@visulima/tui@1.0.0-alpha.7) (2026-05-06)
@@ -2,8 +2,8 @@ import { Writable } from 'node:stream';
2
2
  import { AnsiColors } from '@visulima/colorize';
3
3
  import React$1, { ReactNode, ReactElement, PropsWithChildren, RefAttributes, ForwardRefExoticComponent, RefObject, Ref, FC, DependencyList } from 'react';
4
4
  import { LiteralUnion, Except } from 'type-fest';
5
- import { S as Styles, D as DOMElement, C as CursorPosition$1, a as DOMNode, b as StyledLine } from "../packem_shared/render.d-BR3gA-N8.js";
6
- export { type I as Instance, type K as KittyFlagName, type c as KittyKeyboardOptions, type R as RenderOptions, d as ResizeObserver, type e as ResizeObserverCallback, f as ResizeObserverEntry, type g as ScrollState, type h as StickyHeader, i as calculateScroll, j as getPathToRoot, k as getScrollHeight, l as getScrollLeft, m as getScrollTop, n as getScrollWidth, o as isNodeSelectable, p as kittyFlags, q as kittyModifiers, r as render } from "../packem_shared/render.d-BR3gA-N8.js";
5
+ import { S as Styles, D as DOMElement, C as CursorPosition$1, a as DOMNode, b as StyledLine } from "../packem_shared/render.d-CNIzVQTh.js";
6
+ export { type I as Instance, type K as KittyFlagName, type c as KittyKeyboardOptions, type R as RenderOptions, d as ResizeObserver, type e as ResizeObserverCallback, f as ResizeObserverEntry, type g as ScrollState, type h as StickyHeader, i as calculateScroll, j as getPathToRoot, k as getScrollHeight, l as getScrollLeft, m as getScrollTop, n as getScrollWidth, o as isNodeSelectable, p as kittyFlags, q as kittyModifiers, r as render } from "../packem_shared/render.d-CNIzVQTh.js";
7
7
  import 'yoga-layout';
8
8
  import { multilineGradient } from '@visulima/colorize/gradient';
9
9
  import { EventEmitter } from 'node:events';
@@ -1,5 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
- import { R as RenderOptions } from "../packem_shared/render.d-BR3gA-N8.js";
2
+ import { R as RenderOptions } from "../packem_shared/render.d-CNIzVQTh.js";
3
3
  import 'yoga-layout';
4
4
  import '@visulima/colorize';
5
5
  import 'type-fest';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visulima/tui",
3
- "version": "1.0.0-alpha.8",
3
+ "version": "1.0.0-alpha.9",
4
4
  "description": "React-based TUI library powered by a native Rust diff engine, drop-in Ink-compatible API",
5
5
  "keywords": [
6
6
  "cli",
@@ -87,27 +87,24 @@
87
87
  "yoga-layout-prebuilt": "^1.10.0"
88
88
  },
89
89
  "peerDependencies": {
90
- "react": ">=19.2.0",
91
- "react-devtools-core": ">=6.1.2",
90
+ "react": ">=19.2.6",
91
+ "react-devtools-core": ">=7.0.1",
92
92
  "react-reconciler": ">=0.33.0"
93
93
  },
94
94
  "peerDependenciesMeta": {
95
95
  "react-devtools-core": {
96
96
  "optional": true
97
- },
98
- "react-reconciler": {
99
- "optional": true
100
97
  }
101
98
  },
102
99
  "optionalDependencies": {
103
- "@visulima/tui-binding-darwin-arm64": "1.0.0-alpha.8",
104
- "@visulima/tui-binding-darwin-x64": "1.0.0-alpha.8",
105
- "@visulima/tui-binding-linux-arm64-musl": "1.0.0-alpha.8",
106
- "@visulima/tui-binding-linux-x64-musl": "1.0.0-alpha.8",
107
- "@visulima/tui-binding-linux-arm64-gnu": "1.0.0-alpha.8",
108
- "@visulima/tui-binding-win32-arm64-msvc": "1.0.0-alpha.8",
109
- "@visulima/tui-binding-linux-x64-gnu": "1.0.0-alpha.8",
110
- "@visulima/tui-binding-win32-x64-msvc": "1.0.0-alpha.8"
100
+ "@visulima/tui-binding-linux-arm64-gnu": "1.0.0-alpha.9",
101
+ "@visulima/tui-binding-linux-arm64-musl": "1.0.0-alpha.9",
102
+ "@visulima/tui-binding-linux-x64-gnu": "1.0.0-alpha.9",
103
+ "@visulima/tui-binding-linux-x64-musl": "1.0.0-alpha.9",
104
+ "@visulima/tui-binding-darwin-x64": "1.0.0-alpha.9",
105
+ "@visulima/tui-binding-darwin-arm64": "1.0.0-alpha.9",
106
+ "@visulima/tui-binding-win32-arm64-msvc": "1.0.0-alpha.9",
107
+ "@visulima/tui-binding-win32-x64-msvc": "1.0.0-alpha.9"
111
108
  },
112
109
  "engines": {
113
110
  "node": "^22.14.0 || >=24.10.0"
@@ -857,10 +857,6 @@ declare const getPathToRoot: (node: DOMNode) => DOMNode[];
857
857
  * Ported from jacob314/ink fork (Google LLC, Apache-2.0).
858
858
  */
859
859
  declare const isNodeSelectable: (node: DOMElement) => boolean;
860
- type CursorPosition = {
861
- x: number;
862
- y: number;
863
- };
864
860
  declare const kittyFlags: {
865
861
  readonly disambiguateEscapeCodes: 1;
866
862
  readonly reportAllKeysAsEscapeCodes: 8;
@@ -883,6 +879,10 @@ type KittyKeyboardOptions = {
883
879
  flags?: KittyFlagName[];
884
880
  mode?: "auto" | "enabled" | "disabled";
885
881
  };
882
+ type CursorPosition = {
883
+ x: number;
884
+ y: number;
885
+ };
886
886
  /**
887
887
  * Performance metrics for a render operation.
888
888
  */