@cplieger/web-terminal-ui 3.3.0 → 3.3.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.
Files changed (2) hide show
  1. package/css/02-app.css +15 -2
  2. package/package.json +2 -2
package/css/02-app.css CHANGED
@@ -247,13 +247,26 @@
247
247
  }
248
248
  }
249
249
 
250
- /* Clickable URLs */
250
+ /* Clickable URLs. OSC 8 hyperlinks (base .term-link) underline on HOVER only:
251
+ an application can attach one OSC 8 link to a whole padded/bordered region —
252
+ e.g. a markdown link whose URL wraps inside a table cell, where the terminal
253
+ keeps the link open across the cell padding, the borders and the empty
254
+ adjacent column — so a persistent underline would bleed across the whole cell
255
+ and, on wrap, the full row. Hover-only matches iTerm2 / VTE / kitty. The app's
256
+ own text colour (which the engine renders) keeps the link discoverable at rest.
257
+ Auto-detected bare URLs (.term-autolink) are tightly scoped to the URL text and
258
+ never bleed, so they keep a subtle persistent underline. (The engine also only
259
+ anchors runs with real link text, so the underline hugs the text either way.) */
251
260
  .term-link {
252
261
  color: inherit;
253
- text-decoration: underline dotted;
262
+ text-decoration: none;
254
263
  cursor: pointer;
255
264
  }
256
265
 
266
+ .term-autolink {
267
+ text-decoration: underline dotted;
268
+ }
269
+
257
270
  .term-link:hover {
258
271
  text-decoration: underline solid;
259
272
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cplieger/web-terminal-ui",
3
- "version": "3.3.0",
3
+ "version": "3.3.1",
4
4
  "type": "module",
5
5
  "description": "Reference touch-first browser UI for @cplieger/web-terminal-engine: a composable kernel + feature modules (tabs, activity monitor, mobile toolbar, context menu, IME, predictive echo, viewport handling) and CSS. One createTerminal() call.",
6
6
  "license": "GPL-3.0-or-later",
@@ -35,7 +35,7 @@
35
35
  "fast-check": "4.8.0",
36
36
  "happy-dom": "20.10.6",
37
37
  "html-validate": "11.5.5",
38
- "knip": "6.23.0",
38
+ "knip": "6.24.0",
39
39
  "prettier": "3.9.4",
40
40
  "stylelint": "17.14.0",
41
41
  "stylelint-config-standard": "40.0.0",