@opentui/react 0.2.14 → 0.2.16
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/README.md +2 -0
- package/{chunk-g2eys34y.js → chunk-97r617tj.js} +1 -1
- package/index.js +1 -1
- package/package.json +2 -2
- package/src/test-utils.d.ts +1 -9
- package/test-utils.js +1 -1
package/README.md
CHANGED
|
@@ -102,6 +102,8 @@ OpenTUI React provides several built-in components that map to OpenTUI core rend
|
|
|
102
102
|
- **`<scrollbox>`** - A scrollable box
|
|
103
103
|
- **`<ascii-font>`** - Display ASCII art text with different font styles
|
|
104
104
|
|
|
105
|
+
QR code support is available from `@opentui/qrcode/react` and must be registered explicitly with `registerQRCode()`.
|
|
106
|
+
|
|
105
107
|
**Input Components:**
|
|
106
108
|
|
|
107
109
|
- **`<input>`** - Text input field
|
|
@@ -166,7 +166,7 @@ import { TextNodeRenderable as TextNodeRenderable2 } from "@opentui/core";
|
|
|
166
166
|
// package.json
|
|
167
167
|
var package_default = {
|
|
168
168
|
name: "@opentui/react",
|
|
169
|
-
version: "0.2.
|
|
169
|
+
version: "0.2.16",
|
|
170
170
|
description: "React renderer for building terminal user interfaces using OpenTUI core",
|
|
171
171
|
license: "MIT",
|
|
172
172
|
repository: {
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "src/index.d.ts",
|
|
6
6
|
"type": "module",
|
|
7
|
-
"version": "0.2.
|
|
7
|
+
"version": "0.2.16",
|
|
8
8
|
"description": "React renderer for building terminal user interfaces using OpenTUI core",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"repository": {
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@opentui/core": "0.2.
|
|
51
|
+
"@opentui/core": "0.2.16",
|
|
52
52
|
"react-reconciler": "^0.33.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
package/src/test-utils.d.ts
CHANGED
|
@@ -1,11 +1,3 @@
|
|
|
1
1
|
import { type TestRendererOptions } from "@opentui/core/testing";
|
|
2
2
|
import { type ReactNode } from "react";
|
|
3
|
-
export declare function testRender(node: ReactNode, testRendererOptions: TestRendererOptions): Promise<
|
|
4
|
-
renderer: import("@opentui/core/testing").TestRenderer;
|
|
5
|
-
mockInput: import("@opentui/core/testing").MockInput;
|
|
6
|
-
mockMouse: import("@opentui/core/testing").MockMouse;
|
|
7
|
-
renderOnce: () => Promise<void>;
|
|
8
|
-
captureCharFrame: () => string;
|
|
9
|
-
captureSpans: () => import("@opentui/core").CapturedFrame;
|
|
10
|
-
resize: (width: number, height: number) => void;
|
|
11
|
-
}>;
|
|
3
|
+
export declare function testRender(node: ReactNode, testRendererOptions: TestRendererOptions): Promise<import("@opentui/core/testing").TestRendererSetup>;
|