English
<alta-run-progress>
A run going, then how it ended: a progress line, the last activity in words, stop, the log folded, the failure lines.
States
The closed list data-state takes on the element.
idlestartingrunningwaitingstoppingprovingdonefailedcancelledlostundoingundone
Other attributes
On the element, or on a part (part: attribute). A list of values is closed.
| Attribute | On | Values |
|---|---|---|
data-progress | the element | known, unknown |
data-job | the element | present or absent |
data-mark | log-line | ok, warn, fail, todo, note |
Events
Dispatched on the element, bubbling. Listen with addEventListener.
alta-run-statealta-run-donealta-run-failedalta-cancelalta-undoalta-retryalta-show-dialog
Parts
Every node you can style, as [data-part="…"].
head · mark · line · percent · bar · bar-fill · live · device · code · copy · link · waiting · show · fail · fail-title · fail-line · needs · note · bottom · foot · stop · undo · retry · log-toggle · log · log-line
Style it
css
[data-aui="run-progress"][data-state="undone"] [data-part="head"] { /* … */ }Words it reads
Keys of the string tables (override them on <alta-provider>).
run.
Files
packages/ui/src/elements/run-progress.ts · packages/ui/styles/components/step.css