Invisible Docs
GalerieTokens

Terminal (Ausgabe) — component.terminal

Terminal-Fenster mit Fenster-Punkten und Zeilen-Typen (Befehl, Ausgabe, Erfolg, Fehler, Hinweis); Zeilen erscheinen nacheinander (abschaltbar, respektiert prefers-reduced-motion). 1.1.0 (opt-in url): interaktive Live-Sitzung auf xterm.js (MIT, gebuendelt in vendor/terminal-engine.js, erst beim Mount

Componentv1.1.1Inhaltweb.documentweb.applicationdesktop.shellbuilder.preview

Beispiele

Installations-Ablauf (Zeilen erscheinen nacheinander)

invisible — build
$ npm run buildtokens: 179 Referenz-, 76 semantische Tokens, 10 Themesregistry: 128 Definitionenassets: 98 CSS-, 34 JS-ArtefakteBuild erfolgreichHinweis: 2 Definitionen ohne llm.md

Live-Sitzung (1.1.0, url): interaktives Terminal auf xterm.js - hier ohne Dienst, daher ohne Autostart

DSE KI DGX-01dsenterprise@192.168.50.169Nicht verbunden

Die Sitzung wird protokolliert (wer, wann, wie lange - ohne Inhalte).

Fehlerfall, ohne Animation

$ npm test235 bestanden, 1 fehlgeschlagen

Eigenschaften

PropTypDefault
titlestring""
lines *array—
promptstring"$"
animatebooleantrue
cursorbooleantrue
urlstring""
subtitlestring""
notestring""
autoConnectbooleantrue
heightstring: md | lg | fill"lg"
paddingstring: standard | none | sm | md | lg | xl"standard"
marginstring: standard | none | sm | md | lg | xl"standard"
borderstring: standard | none | hairline | strong"standard"
radiusstring: standard | none | control | surface | pill"standard"
textColorstring""
backgroundColorstring""
shadowstring: standard | none | sm | md | lg"standard"
widthstring: standard | full"standard"
alignSelfstring: standard | start | center | end"standard"
anchorstring""

Events & Slots

Events: done, state, connect, disconnect, error

Stellschrauben (Komponenten-Tokens)

TokenDefault
--terminal-delay0s
--terminal-bgvar(--color-band-dark)
--terminal-fgvar(--color-band-dark-text)
--terminal-mutedvar(--color-band-dark-muted)
--terminal-cursorvar(--color-status-success)
--terminal-redvar(--color-status-danger)
--terminal-greenvar(--color-status-success)
--terminal-yellowvar(--color-status-warning)
--terminal-bluevar(--color-status-info)
--terminal-magentavar(--color-code-keyword, var(--color-accent))
--terminal-cyanvar(--color-code-property, var(--color-status-info))

Genutzte Design-Tokens

border.hairline color.accent color.band.dark color.band.dark-muted color.band.dark-text color.border.strong color.code.keyword color.code.property color.status.danger color.status.info color.status.success color.status.warning duration.base duration.slow easing.out focus.ring-color focus.ring-width font.family.default font.family.mono leading.loose radius.full radius.surface size.1 size.1-5 size.10 size.2 size.3 size.4 text.sm text.xs