@opentui/react 0.1.10 → 0.1.11
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 +3 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -148,7 +148,9 @@ function MyComponent() {
|
|
|
148
148
|
|
|
149
149
|
return (
|
|
150
150
|
<group>
|
|
151
|
-
<text>
|
|
151
|
+
<text>
|
|
152
|
+
Terminal dimensions: {width}x{height}
|
|
153
|
+
</text>
|
|
152
154
|
<box style={{ width: Math.floor(width / 2), height: Math.floor(height / 3) }}>
|
|
153
155
|
<text>Half-width, third-height box</text>
|
|
154
156
|
</box>
|
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.1.
|
|
7
|
+
"version": "0.1.11",
|
|
8
8
|
"description": "React renderer for building terminal user interfaces using OpenTUI core",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"repository": {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@opentui/core": "0.1.
|
|
38
|
+
"@opentui/core": "0.1.11",
|
|
39
39
|
"react-reconciler": "^0.32.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|