xonecas.io
70160
Ce

cel-tui / commit d111105

chore: prepare 0.5.0 release

xonecas2026-04-08 d1111059d935dd1ff238fa615b4d56bf3c5056e0 parent ad6095c

6 files changed

README.md+1−0
@@ -64,6 +64,7 @@ cel.viewport(() =>
6464 - **Layers** — return an array for multi-layer compositing (modals, overlays).
6565 - **Uncontrolled by default** — focus and scroll just work. Opt into controlled mode when needed.
6666 - **Adaptive wheel scrolling** — scrollables and TextInput use an adaptive mouse-wheel step by default; override it with `scrollStep` when needed.
67+- **Content measurement helper** — `measureContentHeight(node, { width })` lets apps preserve scroll anchors when prepending intrinsically sized content.
6768 - **Style inheritance** — containers propagate styles to descendants. `bgColor` fills the rect.
6869 - **16-color palette** — numbered slots (`"color00"`–`"color15"`) mapped to ANSI 16 by default. Custom themes can remap to different ANSI indices or 24-bit true color.
6970 - **Cell buffer rendering** — styled cells, differential updates, synchronized output.
bun.lock+3−3
@@ -17,7 +17,7 @@
1717 },
1818 "packages/components": {
1919 "name": "@cel-tui/components",
20- "version": "0.4.1",
20+ "version": "0.5.0",
2121 "dependencies": {
2222 "@cel-tui/core": "workspace:*",
2323 "@cel-tui/types": "workspace:*",
@@ -29,7 +29,7 @@
2929 },
3030 "packages/core": {
3131 "name": "@cel-tui/core",
32- "version": "0.4.1",
32+ "version": "0.5.0",
3333 "dependencies": {
3434 "@cel-tui/types": "workspace:*",
3535 "get-east-asian-width": "^1.5.0",
@@ -40,7 +40,7 @@
4040 },
4141 "packages/types": {
4242 "name": "@cel-tui/types",
43- "version": "0.4.1",
43+ "version": "0.5.0",
4444 "peerDependencies": {
4545 "typescript": ">=5.0.0",
4646 },
docs/skill/cel-tui/SKILL.md+1−1
@@ -5,7 +5,7 @@ license: MIT
55 compatibility: Requires Bun runtime. Best experience on Kitty-compatible terminals and in tmux with `set -s extended-keys on`; uses SGR mouse mode and accepts recoverable legacy key encodings when hosts do not preserve a pure Kitty stream.
66 metadata:
77 author: sacenox
8- version: "0.4.1"
8+ version: "0.5.0"
99 ---
1010
1111 # Building TUIs with cel-tui
packages/components/package.json+1−1
@@ -1,6 +1,6 @@
11 {
22 "name": "@cel-tui/components",
3- "version": "0.4.1",
3+ "version": "0.5.0",
44 "description": "Pre-made components for cel-tui — Button, Spacer, Divider, VDivider, Select, Markdown",
55 "type": "module",
66 "module": "src/index.ts",
packages/core/package.json+1−1
@@ -1,6 +1,6 @@
11 {
22 "name": "@cel-tui/core",
3- "version": "0.4.1",
3+ "version": "0.5.0",
44 "description": "Core framework engine for cel-tui — primitives, layout, rendering, input",
55 "type": "module",
66 "module": "src/index.ts",
packages/types/package.json+1−1
@@ -1,6 +1,6 @@
11 {
22 "name": "@cel-tui/types",
3- "version": "0.4.1",
3+ "version": "0.5.0",
44 "description": "Type definitions for cel-tui, a TypeScript TUI framework",
55 "type": "module",
66 "module": "src/index.ts",