@cssints/tui 0.5.0 → 0.5.1

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 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
- > [cssints-native](https://github.com/alexeiaccio/cssints-native): `cssints/clay` styles, laid out by
4
+ > [`native/`](../../native/README.md) in this repository ([native/terminal](../../native/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 (cssints-native `terminal/`) |
10
+ | Here | There (`native/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. `docs/map.md` step 6 is the full account.
21
+ wide glyphs and emoji, floating overlays, sub-cell borders and radii. [native/docs/map.md](../../native/docs/map.md) step 6 is the full account.
22
22
 
23
23
  ```sh
24
- cd ../cssints-native
24
+ cd ../../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: cssints-native's terminal/ target replaces it (cssints/clay styles, Clay layout, cells on termbox2). See packages/tui/README.md");
6
+ console.warn("@cssints/tui is deprecated: the terminal target in the cssints repository (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,7 +1,7 @@
1
1
  {
2
2
  "name": "@cssints/tui",
3
- "version": "0.5.0",
4
- "description": "Deprecated: the terminal target of cssints-native replaces this. Kept for existing apps: the runtime of cssints/tui styles (states, cursors, themes) and its OpenTUI and @bomb.sh/tty adapters",
3
+ "version": "0.5.1",
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": {
7
7
  "type": "git",