@masterteam/workflow 0.0.47 → 0.0.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2007,6 +2007,7 @@ class WorkflowBuilder {
|
|
|
2007
2007
|
color: 'color',
|
|
2008
2008
|
subtitle: 'subtitle',
|
|
2009
2009
|
badge: 'badge',
|
|
2010
|
+
badgeTone: 'badgeTone',
|
|
2010
2011
|
status: 'status',
|
|
2011
2012
|
style: 'style',
|
|
2012
2013
|
}, ...(ngDevMode ? [{ debugName: "nodeFields" }] : /* istanbul ignore next */ []));
|
|
@@ -2295,6 +2296,9 @@ class WorkflowBuilder {
|
|
|
2295
2296
|
: step.isInitial
|
|
2296
2297
|
? this.transloco.translate('workflow.builder.initial')
|
|
2297
2298
|
: null,
|
|
2299
|
+
// Semantic color for the badge — every step state renders with the
|
|
2300
|
+
// same pill and is told apart by color alone.
|
|
2301
|
+
badgeTone: step.isInitial ? 'initial' : 'accent',
|
|
2298
2302
|
style: isAppAction || isApprovalCommit ? 'icon' : 'detail',
|
|
2299
2303
|
};
|
|
2300
2304
|
}), ...(ngDevMode ? [{ debugName: "steps" }] : /* istanbul ignore next */ []));
|