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.
- package/dist/Molecules/Interviews/SelfProtocolManager.d.ts +3 -0
- package/dist/odaptos_design_system.cjs.development.js +5 -3
- package/dist/odaptos_design_system.cjs.development.js.map +1 -1
- package/dist/odaptos_design_system.cjs.production.min.js +1 -1
- package/dist/odaptos_design_system.cjs.production.min.js.map +1 -1
- package/dist/odaptos_design_system.esm.js +5 -3
- package/dist/odaptos_design_system.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/Molecules/Interviews/EndRecording.tsx +2 -0
- package/src/Molecules/Interviews/SelfProtocolManager.tsx +6 -3
|
@@ -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 =
|
|
11870
|
+
taskType = texts.task;
|
|
11871
11871
|
} else if (task.type === 'question') {
|
|
11872
|
-
taskType =
|
|
11872
|
+
taskType = texts.question;
|
|
11873
11873
|
} else {
|
|
11874
|
-
taskType =
|
|
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, {
|