Wiederherstellungspunkt
Marke im Verlauf, zu der zurückgesprungen werden kann: Linie mit Label, Zeitangabe und Zurücksetzen-Knopf 1.2: feste Texte mehrsprachig (invisible_i18n).
Nutzt: ui.icon
Beispiele
Eigenschaften
| Prop | Typ | Default | Builder-Label |
|---|---|---|---|
| label * | string | — | Beschriftung |
| time | string | "" | Zeitangabe |
| icon | string | "rotate-ccw" | Symbol |
| restore | boolean | true | Zuruecksetzen-Knopf |
| restoreLabel | string | "Hierher zurück" | Knopf-Text |
| 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) |
* Pflicht-Prop
Events & Slots
Events:
⚡ restore — 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 |
|---|---|
--checkpoint-action-primary | var(--color-action-primary) |
--checkpoint-action-primary-hover | var(--color-action-primary-hover) |
--checkpoint-border-default | var(--color-border-default) |
--checkpoint-radius-full | var(--radius-full) |
--checkpoint-surface-sunken | var(--color-surface-sunken) |
--checkpoint-text-default | var(--color-text-default) |
--checkpoint-text-muted | var(--color-text-muted) |
Genutzte Design-Tokens
LLM-Notizen
component.checkpoint
Marke im Verlauf, zu der zurückgesprungen werden kann: Linie mit Label, Zeit und Zurücksetzen-Knopf.
Wann nutzen
- Als Wiederherstellungspunkt in einem Verlauf/Chat, von dem aus zurückgesetzt wird.
- Für die reine Schrittdarstellung ohne Rücksprung eher
component.chain-of-thought.
Wichtige Props
label* = Beschriftung der Marke.time= Zeitangabe.restoreLabel= Text des Zurück-Knopfs (DefaultHierher zurück).
Beispiel-Node
{ "definition": "component.checkpoint", "props": { "label": "Vor der Umstrukturierung", "time": "14:32", "restoreLabel": "Hierher zurück" } }
Hinweise
- Emittiert
restorebeim Klick auf den Zurücksetzen-Knopf.