Taskleisten-Eintrag
Eintrag im Desktop-Dock: App-Kürzel oder laufendes Fenster — Icon + Titel, Zustände running/active/minimized, optionales Badge. Emittiert das semantische Event activate; WAS beim Aktivieren passiert (starten, fokussieren, minimieren) entscheidet die Desktop-Runtime — v1.2: tile-Variante (Icon oben,
Nutzt: ui.icon
Beispiele
Eigenschaften
| Prop | Typ | Default | Builder-Label |
|---|---|---|---|
| label * | string | — | Titel (Tooltip/ARIA) |
| icon | string | "app-window" | Icon (Lucide-Name) |
| running | boolean | false | Läuft (Punkt-Indikator) |
| active | boolean | false | Aktiv (fokussiertes Fenster) |
| minimized | boolean | false | Minimiert (gedimmt) |
| badge | string | "" | Badge (z.B. Zähler, leer = keins) |
| variant | string: icon | tile | "icon" | — |
| emphasis | string: none | primary | logo | "none" | — |
| padding | string: standard | none | sm | md | lg | xl | "standard" | Innenabstand (standard = Baustein-Wert) |
| margin | string: standard | none | sm | md | lg | xl | "standard" | Aussenabstand |
| border | string: standard | none | hairline | strong | "standard" | Rahmen |
| radius | string: standard | none | control | surface | pill | "standard" | Ecken-Rundung |
| textColor | string | "" | Textfarbe (Token; leer = Standard) |
| backgroundColor | string | "" | Hintergrundfarbe (Token; leer = Standard) |
| shadow | string: standard | none | sm | md | lg | "standard" | Schatten |
| width | string: standard | full | "standard" | Breite |
| alignSelf | string: standard | start | center | end | "standard" | Ausrichtung im Elternteil |
| anchor | string | "" | Anker-ID (Sprungziel, z. B. fuer Nav-Links) |
| iconUrl | string | "" | — |
| iconColor | string: mask | original | "mask" | — |
| people | array | [] | Gerade in der App (Personen) |
* Pflicht-Prop
Events & Slots
Events:
⚡ activate — im Surface per on: {<event>: {action, params}} verdrahtbar.
Stellschrauben (Komponenten-Tokens)
Ebene 3 — aus dem CSS generiert (Registry). Umverdrahtbar per Hüllen-Komposition, ohne Markup-Eingriff; künftige Regler-Quelle des Component Builders.
| Token | Default |
|---|---|
--taskbar-item-size | var(--control-height) |
--taskbar-item-radius | var(--shape-pill) |
--taskbar-item-active | var(--color-accent) |
--taskbar-icon-material | linear-gradient(145deg, var(--color-chrome-icon-light) 0%, var(--color-chrome-icon-dark) 62%, var(--color-chrome-icon-dark) 100%) |
Genutzte Design-Tokens
LLM-Notizen
component.taskbar-item
Dock-Eintrag des Desktops (App-Kürzel oder laufendes Fenster): Icon-Knopf mit Zuständen running (Punkt), active (Farbe + aria-current), minimized (gedimmt), optionalem Badge. Emittiert semantisch activate — das Verhalten (starten/fokussieren/minimieren) besitzt die Desktop-Runtime. Lebt typischerweise in component.dock innerhalb section.dock-bar.
Beispiel-Node
{ "definition": "component.taskbar-item", "props": { "label": "Agenten", "icon": "message-circle", "running": true, "active": true } }
App-Bild in Farbe (1.6.0, nex)
iconColor: 'original' (nur mit iconUrl) zeigt das App-Bild immer in Farbe - ohne Maske und ohne Graustufe im Dock. Standard
mask bleibt die ruhige, einfarbige Darstellung (Farbe erst aktiv). Genutzt von der NEXOS-Taskleiste (App-Logos).
emphasis: 'logo'(1.7.0, nex): Start-/Logo-Knopf - Eintrag eine Stufe groesser, das App-Bild (iconUrl,iconColor: 'original') fuellt ihn fast (NEXOS-Taskleiste: nex-Logo als Start).