odaptos_design_system 1.4.188 → 1.4.189

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.
@@ -25,5 +25,6 @@ export interface ChatProps extends HTMLAttributes<HTMLDivElement> {
25
25
  customScrollingClassname?: string;
26
26
  customContentClassname?: string;
27
27
  disabledTask?: boolean;
28
+ disabledScenario?: boolean;
28
29
  }
29
- export declare const Chat: ({ goBackText, goBack, chatTitle, welcomeTitle, welcomeDescription, startInterviewTitle, startInterviewBtnTitle, startInterviewIcon, startInterview, tasks, sendTask, currentTask, chatInputPlaceholder, chatInputValue, chatInputonChange, sendMessage, className, isTaskMode, isInterviewer, messages, idsTasksAlreadySent, customScrollingClassname, customContentClassname, disabledTask, ...props }: ChatProps) => React.JSX.Element;
30
+ export declare const Chat: ({ goBackText, goBack, chatTitle, welcomeTitle, welcomeDescription, startInterviewTitle, startInterviewBtnTitle, startInterviewIcon, startInterview, tasks, sendTask, currentTask, chatInputPlaceholder, chatInputValue, chatInputonChange, sendMessage, className, isTaskMode, isInterviewer, messages, idsTasksAlreadySent, customScrollingClassname, customContentClassname, disabledTask, disabledScenario, ...props }: ChatProps) => React.JSX.Element;
@@ -9561,6 +9561,7 @@ const Chat = ({
9561
9561
  customScrollingClassname,
9562
9562
  customContentClassname,
9563
9563
  disabledTask,
9564
+ disabledScenario,
9564
9565
  ...props
9565
9566
  }) => {
9566
9567
  const replaceURLs = message => {
@@ -9631,7 +9632,7 @@ const Chat = ({
9631
9632
  buttonText: scenario.url ? startInterviewBtnTitle : undefined,
9632
9633
  buttonIcon: scenario.url ? startInterviewIcon : undefined,
9633
9634
  url: replaceURLs(scenario.url) ?? '',
9634
- disabled: disabledTask
9635
+ disabled: disabledScenario
9635
9636
  });
9636
9637
  } else return /*#__PURE__*/React__default.createElement(React__default.Fragment, null);
9637
9638
  })) : messages && messages.map(message => {