@visulima/tui 1.0.0-alpha.5 → 1.0.0-alpha.6
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,21 @@
|
|
|
1
|
+
## @visulima/tui [1.0.0-alpha.6](https://github.com/visulima/visulima/compare/@visulima/tui@1.0.0-alpha.5...@visulima/tui@1.0.0-alpha.6) (2026-05-04)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* declare libc on linux binding subpackages ([078b31f](https://github.com/visulima/visulima/commit/078b31f1a9029487c86651e75ecdad70f02b37e8)), closes [npm/cli#4828](https://github.com/npm/cli/issues/4828)
|
|
6
|
+
|
|
7
|
+
### Documentation
|
|
8
|
+
|
|
9
|
+
* **tui:** cover 51 components, 4 hooks, ink PR ports ([0138e99](https://github.com/visulima/visulima/commit/0138e99694d82c0789bae32977480ee9dc61aa79)), closes [123/#125](https://github.com/123/visulima/issues/125)
|
|
10
|
+
|
|
11
|
+
### Miscellaneous Chores
|
|
12
|
+
|
|
13
|
+
* **deps:** bump rust crates to current majors ([3a1d9bb](https://github.com/visulima/visulima/commit/3a1d9bb7f6e2c6b2d3862e212ae62707d60815cc))
|
|
14
|
+
|
|
15
|
+
### Tests
|
|
16
|
+
|
|
17
|
+
* **tui:** replace fragile delay() waits with vi.waitFor ([1e90e64](https://github.com/visulima/visulima/commit/1e90e64a454c8ed3ed058f1c4ee286357192904f))
|
|
18
|
+
|
|
1
19
|
## @visulima/tui [1.0.0-alpha.5](https://github.com/visulima/visulima/compare/@visulima/tui@1.0.0-alpha.4...@visulima/tui@1.0.0-alpha.5) (2026-04-28)
|
|
2
20
|
|
|
3
21
|
### Bug Fixes
|
package/dist/ink/index.d.ts
CHANGED
|
@@ -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-
|
|
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-
|
|
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";
|
|
7
7
|
import 'yoga-layout';
|
|
8
8
|
import { multilineGradient } from '@visulima/colorize/gradient';
|
|
9
9
|
import { EventEmitter } from 'node:events';
|
package/dist/testing/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
|
-
import { R as RenderOptions } from "../packem_shared/render.d-
|
|
2
|
+
import { R as RenderOptions } from "../packem_shared/render.d-BR3gA-N8.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.
|
|
3
|
+
"version": "1.0.0-alpha.6",
|
|
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",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"cfonts": "3.3.1",
|
|
79
79
|
"diff": "^9.0.0",
|
|
80
80
|
"eventemitter3": "^5.0.4",
|
|
81
|
-
"marked": "18.0.
|
|
81
|
+
"marked": "18.0.3",
|
|
82
82
|
"patch-console": "^2.0.0",
|
|
83
83
|
"scheduler": "^0.27.0",
|
|
84
84
|
"shiki": "4.0.2",
|
|
@@ -100,14 +100,14 @@
|
|
|
100
100
|
}
|
|
101
101
|
},
|
|
102
102
|
"optionalDependencies": {
|
|
103
|
-
"@visulima/tui-binding-darwin-arm64": "1.0.0-alpha.
|
|
104
|
-
"@visulima/tui-binding-linux-arm64-
|
|
105
|
-
"@visulima/tui-binding-
|
|
106
|
-
"@visulima/tui-binding-
|
|
107
|
-
"@visulima/tui-binding-linux-
|
|
108
|
-
"@visulima/tui-binding-linux-x64-musl": "1.0.0-alpha.
|
|
109
|
-
"@visulima/tui-binding-win32-arm64-msvc": "1.0.0-alpha.
|
|
110
|
-
"@visulima/tui-binding-win32-x64-msvc": "1.0.0-alpha.
|
|
103
|
+
"@visulima/tui-binding-darwin-arm64": "1.0.0-alpha.6",
|
|
104
|
+
"@visulima/tui-binding-linux-arm64-musl": "1.0.0-alpha.6",
|
|
105
|
+
"@visulima/tui-binding-linux-arm64-gnu": "1.0.0-alpha.6",
|
|
106
|
+
"@visulima/tui-binding-darwin-x64": "1.0.0-alpha.6",
|
|
107
|
+
"@visulima/tui-binding-linux-x64-gnu": "1.0.0-alpha.6",
|
|
108
|
+
"@visulima/tui-binding-linux-x64-musl": "1.0.0-alpha.6",
|
|
109
|
+
"@visulima/tui-binding-win32-arm64-msvc": "1.0.0-alpha.6",
|
|
110
|
+
"@visulima/tui-binding-win32-x64-msvc": "1.0.0-alpha.6"
|
|
111
111
|
},
|
|
112
112
|
"engines": {
|
|
113
113
|
"node": "^22.14.0 || >=24.10.0"
|
|
@@ -857,6 +857,10 @@ 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
|
+
};
|
|
860
864
|
declare const kittyFlags: {
|
|
861
865
|
readonly disambiguateEscapeCodes: 1;
|
|
862
866
|
readonly reportAllKeysAsEscapeCodes: 8;
|
|
@@ -879,10 +883,6 @@ type KittyKeyboardOptions = {
|
|
|
879
883
|
flags?: KittyFlagName[];
|
|
880
884
|
mode?: "auto" | "enabled" | "disabled";
|
|
881
885
|
};
|
|
882
|
-
type CursorPosition = {
|
|
883
|
-
x: number;
|
|
884
|
-
y: number;
|
|
885
|
-
};
|
|
886
886
|
/**
|
|
887
887
|
* Performance metrics for a render operation.
|
|
888
888
|
*/
|