@cssints/tui 0.35.0 → 0.36.0
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 +4 -4
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# @cssints/tui
|
|
2
2
|
|
|
3
3
|
> **Deprecated (2026-10-21).** The replacement is the `terminal/` target of
|
|
4
|
-
> [`native
|
|
4
|
+
> [`cssints-native`](https://github.com/alexeiaccio/cssints-native) ([terminal/](https://github.com/alexeiaccio/cssints-native/tree/main/terminal)): `cssints/clay` styles, laid out by
|
|
5
5
|
> [Clay](https://github.com/nicbarker/clay) and drawn into character cells on
|
|
6
6
|
> [termbox2](https://github.com/termbox/termbox2), with the keyboard focus layer in C. The package still works and is
|
|
7
7
|
> still published; importing it prints one warning ("`@cssints/tui` is deprecated: …"). The registry marks the version
|
|
8
8
|
> deprecated when the release runs `npm deprecate` (see [RELEASING.md](../../RELEASING.md)).
|
|
9
9
|
|
|
10
|
-
| Here | There (`native
|
|
10
|
+
| Here | There (`cssints-native`'s `terminal/`) |
|
|
11
11
|
| ----------------------------------------------- | --------------------------------------------------------------------------------------------- |
|
|
12
12
|
| `cssints/tui` styles, the Vite plugin | `cssints/clay` styles, `generator/clay-header.ts` → a C header (`styles.h`) |
|
|
13
13
|
| the layout of an adapter (`resolve`, a flexbox) | Clay lays out; `terminal/measure.c` measures text as a monospace grid |
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
What carries over: styles as data (a `styles.ts` module, no sheet and no cascade), tokens and named themes (the static
|
|
19
19
|
dark and light ones), and the state names (`:hover`, `:active`, `:focus`) as overlays. What does not: OpenTUI and
|
|
20
20
|
bomb.sh, the run-time `setTheme` and the system theme, hover (termbox2 reports no motion), images, a body that wraps,
|
|
21
|
-
wide glyphs and emoji, floating overlays, sub-cell borders and radii. [
|
|
21
|
+
wide glyphs and emoji, floating overlays, sub-cell borders and radii. [that repository's `docs/map.md`](https://github.com/alexeiaccio/cssints-native/blob/main/docs/map.md) step 6 is the full account.
|
|
22
22
|
|
|
23
23
|
```sh
|
|
24
|
-
cd
|
|
24
|
+
git clone https://github.com/alexeiaccio/cssints-native && cd cssints-native
|
|
25
25
|
sh terminal/build.sh # styles.ts -> generator/clay-header.ts -> styles.h, then cc -> terminal/demo
|
|
26
26
|
./terminal/demo # the Sensors page in cells: Tab, Up/Down, Space, t, q
|
|
27
27
|
./terminal/demo --page sky # apps/csssky-tui's feed; enter opens the thread
|
package/dist/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@ const WARNED = Symbol.for("cssints.tui.deprecated");
|
|
|
3
3
|
const flags = globalThis;
|
|
4
4
|
if (!flags[WARNED]) {
|
|
5
5
|
flags[WARNED] = true;
|
|
6
|
-
console.warn("@cssints/tui is deprecated: the terminal target
|
|
6
|
+
console.warn("@cssints/tui is deprecated: the terminal target of cssints-native (terminal/) replaces it (cssints/clay styles, Clay layout, cells on termbox2). See packages/tui/README.md");
|
|
7
7
|
}
|
|
8
8
|
const STATES = [
|
|
9
9
|
":hover",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cssints/tui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.36.0",
|
|
4
4
|
"description": "Deprecated: the terminal target in the cssints repository's native/ replaces this. Kept for existing apps: the runtime of cssints/tui styles (states, cursors, themes) and its OpenTUI and @bomb.sh/tty adapters",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"@bomb.sh/tty": ">=0.9.0",
|
|
40
40
|
"@opentui/core": ">=0.5.17",
|
|
41
|
-
"cssints": "^0.
|
|
41
|
+
"cssints": "^0.36.0"
|
|
42
42
|
},
|
|
43
43
|
"peerDependenciesMeta": {
|
|
44
44
|
"@bomb.sh/tty": {
|