odaptos_design_system 1.4.201 → 1.4.203

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.
@@ -15,6 +15,7 @@ export interface TaskProps extends HTMLAttributes<HTMLDivElement> {
15
15
  className?: string;
16
16
  taskNumber: string;
17
17
  taskTitle: string;
18
+ taskTitleTooltip: string;
18
19
  url?: string;
19
20
  notes?: string;
20
21
  state: 'idle' | 'active' | 'disabled';
@@ -31,5 +32,5 @@ export interface TaskProps extends HTMLAttributes<HTMLDivElement> {
31
32
  mainAction?: () => void;
32
33
  isInterviewer?: boolean;
33
34
  }
34
- export declare const Task: ({ taskNumber, taskTitle, notes, url, className, task, sendTask, state, isDone, iconAction1, iconAction2, iconAction3, action1, action2, action3, mainActionText, mainAction, isInterviewer, ...props }: TaskProps) => React.JSX.Element;
35
+ export declare const Task: ({ taskNumber, taskTitle, taskTitleTooltip, notes, url, className, task, sendTask, state, isDone, iconAction1, iconAction2, iconAction3, action1, action2, action3, mainActionText, mainAction, isInterviewer, ...props }: TaskProps) => React.JSX.Element;
35
36
  export {};
@@ -9612,6 +9612,7 @@ const Chat = ({
9612
9612
  key: realTask._id,
9613
9613
  taskNumber: `${realTask.type === 'task' ? 'Task' : realTask.type === 'question' ? 'Question' : 'Scenario'} #${realTask.index}`,
9614
9614
  taskTitle: realTask.type === 'scenario' ? idsTasksAlreadySent.includes(realTask._id) && realCurrentTask._id !== realTask._id || disabledTask ? realTask.name ?? realTask.description : realCurrentTask && realCurrentTask._id === realTask._id ? realTask.description : realTask.name ?? realTask.description : realTask.description,
9615
+ taskTitleTooltip: realTask.description,
9615
9616
  url: realTask.url,
9616
9617
  notes: realTask.notes,
9617
9618
  state: idsTasksAlreadySent.includes(realTask._id) && realCurrentTask._id !== realTask._id || disabledTask ? 'disabled' : realCurrentTask && realCurrentTask._id === realTask._id ? 'active' : 'idle',
@@ -9624,6 +9625,7 @@ const Chat = ({
9624
9625
  });
9625
9626
  } else if (task.type === 'scenario' && !isInterviewer) {
9626
9627
  const scenario = isInterviewer ? task : JSON.parse(task.body);
9628
+ console.log('scenario', scenario);
9627
9629
  return /*#__PURE__*/React__default.createElement(Scenario, {
9628
9630
  title: `Scenario #${scenario.index}`,
9629
9631
  description: scenario.description,
@@ -9991,6 +9993,7 @@ const StyledTooltip$1 = /*#__PURE__*/styles$V.styled(material.Tooltip)({
9991
9993
  const Task = ({
9992
9994
  taskNumber,
9993
9995
  taskTitle,
9996
+ taskTitleTooltip,
9994
9997
  notes,
9995
9998
  url,
9996
9999
  className,
@@ -10028,7 +10031,7 @@ const Task = ({
10028
10031
  title: /*#__PURE__*/React__default.createElement("div", {
10029
10032
  className: styles$l.taskPopover
10030
10033
  }, /*#__PURE__*/React__default.createElement(Text, {
10031
- text: taskTitle,
10034
+ text: taskTitleTooltip,
10032
10035
  size: "sm",
10033
10036
  weight: "bold"
10034
10037
  }), url && /*#__PURE__*/React__default.createElement("div", {