projects/common/stepper/status-label.ts
Resolve the status-pill label for a step node against the resolved i18n bundle. Used by skins that surface a per-step status pill (e.g. stripe-status-rich). Pure factory - no injection context, no signal graph involvement.
stripe-status-rich
Resolution order:
success
statusLabels.done
error
statusLabels.errored
aria-current="step"
statusLabels.inProgress
statusLabels.upNext
Group nodes (non-step) return an empty string.
resolveStepperStatusLabel(node: CngxStepNode, i18n: CngxStepperI18n, isActive: boolean)
CngxStepNode
CngxStepperI18n
boolean
string