odaptos_design_system 2.0.36 → 2.0.37

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.
@@ -18,6 +18,9 @@ interface Texts {
18
18
  SusExplanationTitle: string;
19
19
  SusExplanationDescription: string;
20
20
  whyStopRecordingIsDisabled: string;
21
+ task: string;
22
+ question: string;
23
+ scenario: string;
21
24
  }
22
25
  export interface SelfProtocolManagerProps extends HTMLAttributes<HTMLDivElement> {
23
26
  texts: Texts;
@@ -11867,11 +11867,11 @@ const SelfProtocolManager = ({
11867
11867
  const getTaskTitle = task => {
11868
11868
  let taskType = '';
11869
11869
  if (task.type === 'task') {
11870
- taskType = 'Task';
11870
+ taskType = texts.task;
11871
11871
  } else if (task.type === 'question') {
11872
- taskType = 'Question';
11872
+ taskType = texts.question;
11873
11873
  } else {
11874
- taskType = 'Scenario';
11874
+ taskType = texts.scenario;
11875
11875
  }
11876
11876
  return `${taskType} #${task.index}`; //Task #1, Question #2, Scenario #3
11877
11877
  };
@@ -12211,6 +12211,8 @@ const EndRecording = ({
12211
12211
  whyStopRecordingIsDisabled,
12212
12212
  stopRecording
12213
12213
  }) => {
12214
+ console.log('disabledStopRecording', disabledStopRecording);
12215
+ console.log('whyStopRecordingIsDisabled', whyStopRecordingIsDisabled);
12214
12216
  return /*#__PURE__*/React__default.createElement("div", {
12215
12217
  className: styles$l.stop_rec_container
12216
12218
  }, /*#__PURE__*/React__default.createElement(Title, {