@claritylabs/cl-pipelines/ui. All components are headless — they render semantic HTML with data-* attributes and accept className props, but ship with no built-in styles.
StatusBanner
StatusBanner is a compound component. Use StatusBanner (or StatusBanner.Root) as the wrapper, then compose the sub-components inside it. The wrapper renders null when status is "idle", "complete", or undefined.
StatusBanner.Root (StatusBanner)
The container element. Renders a<div data-status="..."> when visible.
Controls visibility and the
data-status attribute. Renders null for "idle", "complete", and undefined. Visible for "running", "paused", and "error".StatusBanner.Indicator
An inline element that marks the status visually. Renders a<span data-indicator="..."> by default. Override with render to show a spinner or icon.
Custom render function. Return any React node — spinner, icon, badge — based on the current status.
StatusBanner.Title
The title line. Renders a<div data-role="title"> with a default text string based on status:
StatusBanner.Description
A secondary text line. Renders a<div data-role="description"> showing the error string from the parent Root by default.
StatusBanner.Actions
A layout slot for action buttons. Renders a<div data-role="actions">.
ProgressLog
Renders a list ofLogEntry items. Renders null when entries is undefined or empty.
Default list item markup:
Custom render function for each list item. Return your own
<li> or any element.RetryButtons
Renders two buttons: a resume button ("resume" mode) and a restart button ("full" mode). Default labels are “Retry” and “Restart”.
Called with
"resume" when the Retry button is clicked, and "full" when the Restart button is clicked.Override the default button labels. Defaults to
{ resume: "Retry", full: "Restart" }.Custom render function for each button. Return any React node. Called once for
"resume" and once for "full".