@datatechsolutions/ui 2.11.70 → 2.11.72

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.
package/dist/index.d.mts CHANGED
@@ -3463,8 +3463,10 @@ interface DepartmentWorkflowDemoProps {
3463
3463
  onComplete?: () => void;
3464
3464
  /** Visual theme overrides. */
3465
3465
  theme?: DepartmentWorkflowTheme;
3466
+ /** Per-node avatar override — keyed by node.id. When set, replaces the node type icon with a rounded avatar image. */
3467
+ nodeAvatars?: Record<string, string>;
3466
3468
  }
3467
- declare function DepartmentWorkflowDemo({ workflow, stepDurationMs, autoPlay, className, hideHeader, onComplete, theme, }: DepartmentWorkflowDemoProps): react_jsx_runtime.JSX.Element;
3469
+ declare function DepartmentWorkflowDemo({ workflow, stepDurationMs, autoPlay, className, hideHeader, onComplete, theme, nodeAvatars, }: DepartmentWorkflowDemoProps): react_jsx_runtime.JSX.Element;
3468
3470
 
3469
3471
  declare const financialWorkflow: DepartmentWorkflow;
3470
3472
  declare const salesWorkflow: DepartmentWorkflow;
@@ -3504,6 +3506,14 @@ interface DepartmentAssistantFlow {
3504
3506
  accent: string;
3505
3507
  prompt: string;
3506
3508
  agents: string[];
3509
+ /** Optional dicebear (or any image) avatar URLs keyed by agent name — shown in the chat bubble. */
3510
+ agentAvatars?: Record<string, string>;
3511
+ /** Optional avatar URLs keyed by workflow node id — shown on agent nodes in the canvas. */
3512
+ nodeAvatars?: Record<string, string>;
3513
+ /** Avatar of the persona doing the talking in the chat bubble (e.g. Beatriz for vendas). Falls back to a gradient sparkles icon. */
3514
+ assistantAvatar?: string;
3515
+ /** Display name of the persona — shown in the conversation header. Falls back to the department name. */
3516
+ assistantName?: string;
3507
3517
  workflow: DepartmentWorkflow;
3508
3518
  dashboard: React.ReactNode;
3509
3519
  }
package/dist/index.d.ts CHANGED
@@ -3463,8 +3463,10 @@ interface DepartmentWorkflowDemoProps {
3463
3463
  onComplete?: () => void;
3464
3464
  /** Visual theme overrides. */
3465
3465
  theme?: DepartmentWorkflowTheme;
3466
+ /** Per-node avatar override — keyed by node.id. When set, replaces the node type icon with a rounded avatar image. */
3467
+ nodeAvatars?: Record<string, string>;
3466
3468
  }
3467
- declare function DepartmentWorkflowDemo({ workflow, stepDurationMs, autoPlay, className, hideHeader, onComplete, theme, }: DepartmentWorkflowDemoProps): react_jsx_runtime.JSX.Element;
3469
+ declare function DepartmentWorkflowDemo({ workflow, stepDurationMs, autoPlay, className, hideHeader, onComplete, theme, nodeAvatars, }: DepartmentWorkflowDemoProps): react_jsx_runtime.JSX.Element;
3468
3470
 
3469
3471
  declare const financialWorkflow: DepartmentWorkflow;
3470
3472
  declare const salesWorkflow: DepartmentWorkflow;
@@ -3504,6 +3506,14 @@ interface DepartmentAssistantFlow {
3504
3506
  accent: string;
3505
3507
  prompt: string;
3506
3508
  agents: string[];
3509
+ /** Optional dicebear (or any image) avatar URLs keyed by agent name — shown in the chat bubble. */
3510
+ agentAvatars?: Record<string, string>;
3511
+ /** Optional avatar URLs keyed by workflow node id — shown on agent nodes in the canvas. */
3512
+ nodeAvatars?: Record<string, string>;
3513
+ /** Avatar of the persona doing the talking in the chat bubble (e.g. Beatriz for vendas). Falls back to a gradient sparkles icon. */
3514
+ assistantAvatar?: string;
3515
+ /** Display name of the persona — shown in the conversation header. Falls back to the department name. */
3516
+ assistantName?: string;
3507
3517
  workflow: DepartmentWorkflow;
3508
3518
  dashboard: React.ReactNode;
3509
3519
  }