@datatechsolutions/ui 2.11.4 → 2.11.5

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.
@@ -187,7 +187,7 @@ type GroupNodeData = {
187
187
  onRemoveFromCanvas?: (nodeId: string) => void;
188
188
  };
189
189
 
190
- type AgentDrawerRenderProps = {
190
+ type AgentModalRenderProps = {
191
191
  agent: AgentWithPrompts | null;
192
192
  models: AgentModel[];
193
193
  open: boolean;
@@ -222,8 +222,8 @@ type WorkflowCanvasProps = {
222
222
  isCreatingAgent?: boolean;
223
223
  /** Custom node type components — merged with built-in edge types */
224
224
  nodeTypes?: NodeTypes;
225
- /** Optional: render the AgentDrawer externally (frontend provides the component) */
226
- renderAgentDrawer?: (props: AgentDrawerRenderProps) => React.ReactNode;
225
+ /** Optional: render the AgentModal externally (frontend provides the component) */
226
+ renderAgentModal?: (props: AgentModalRenderProps) => React.ReactNode;
227
227
  /** Optional: render a custom LogicNodeModal; defaults to internal modal */
228
228
  renderLogicNodeModal?: (props: LogicNodeModalRenderProps) => React.ReactNode;
229
229
  };
@@ -187,7 +187,7 @@ type GroupNodeData = {
187
187
  onRemoveFromCanvas?: (nodeId: string) => void;
188
188
  };
189
189
 
190
- type AgentDrawerRenderProps = {
190
+ type AgentModalRenderProps = {
191
191
  agent: AgentWithPrompts | null;
192
192
  models: AgentModel[];
193
193
  open: boolean;
@@ -222,8 +222,8 @@ type WorkflowCanvasProps = {
222
222
  isCreatingAgent?: boolean;
223
223
  /** Custom node type components — merged with built-in edge types */
224
224
  nodeTypes?: NodeTypes;
225
- /** Optional: render the AgentDrawer externally (frontend provides the component) */
226
- renderAgentDrawer?: (props: AgentDrawerRenderProps) => React.ReactNode;
225
+ /** Optional: render the AgentModal externally (frontend provides the component) */
226
+ renderAgentModal?: (props: AgentModalRenderProps) => React.ReactNode;
227
227
  /** Optional: render a custom LogicNodeModal; defaults to internal modal */
228
228
  renderLogicNodeModal?: (props: LogicNodeModalRenderProps) => React.ReactNode;
229
229
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datatechsolutions/ui",
3
- "version": "2.11.4",
3
+ "version": "2.11.5",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",