`gds-activity` — Activity
Acest conținut nu este încă disponibil în limba selectată.
Documentație online (fără download) — citește aici pe Wiki.
Pachete npm: Package Registry · contracte în@gstack/gds-core.
BlockKind: activity
Secțiune paletă: BLOCKS · Class: GdsActivityComponent · Pachet: @gstack/gds-angular
Data contract: ActivityData din @gstack/gds-core
Ce reprezintă
Section titled “Ce reprezintă”Listă/feed de evenimente recente (text + timp).
Inputs
Section titled “Inputs”| Nume | Tip | Default | Descriere |
|---|---|---|---|
data | ActivityData | required | items: { text, time }[] |
Outputs
Section titled “Outputs”Niciunul.
Cum se folosește
Section titled “Cum se folosește”<gds-activity [data]="{ items: [ { text: 'Plată confirmată', time: '09:12' }, { text: 'Document încărcat', time: 'ieri' }, ]}" />Note pentru agenți (Cursor)
Section titled “Note pentru agenți (Cursor)”- —
- Nu inventa props în afara tipului
ActivityData. - Stiluri: doar tokens GDS /
--gds-accent; fără hex hardcodat.
projects/gds-angular/src/lib/components/gds-activity.component.tsprojects/gds-core/src/lib/blocks.ts