odaptos_design_system 2.0.98 → 2.0.99
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/ControlsBar.d.ts +1 -3
- package/dist/odaptos_design_system.cjs.development.js +1 -13
- 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 +1 -13
- package/dist/odaptos_design_system.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/Molecules/Interviews/ControlsBar.tsx +0 -13
|
@@ -37,7 +37,5 @@ export interface ControlsBarProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
37
37
|
exitInterview?: () => void;
|
|
38
38
|
exitInterviewText?: string;
|
|
39
39
|
disabledExitInterview?: boolean;
|
|
40
|
-
observerCount?: boolean;
|
|
41
|
-
observersText?: string;
|
|
42
40
|
}
|
|
43
|
-
export declare const ControlsBar: ({ className, identity, endInterview, enableScreenSharing, enableMicrophone, muteMicrophone, enableCamera, muteCamera, displayChat, displayTasks, startRecording, isChatOpen, areTasksOpen, isNewTask, isNewMessage, isMicrophoneActive, isCameraActive, isRecording, screenShareText, disabledRecording, disabledEndInterview, myTasksText, protocolText, isModerated, endInterviewText, stopRecPopoverTitle, stopRecPopoverDescription, stopRecPopoverBtnOneText, stopRecPopoverBtnTwoText, isRecordingBtnDisplay, stopRecPopoverBtnOneOnClick, stopRecPopoverBtnTwoOnClick, stopRecText, startRecText, exitInterview, exitInterviewText, disabledExitInterview,
|
|
41
|
+
export declare const ControlsBar: ({ className, identity, endInterview, enableScreenSharing, enableMicrophone, muteMicrophone, enableCamera, muteCamera, displayChat, displayTasks, startRecording, isChatOpen, areTasksOpen, isNewTask, isNewMessage, isMicrophoneActive, isCameraActive, isRecording, screenShareText, disabledRecording, disabledEndInterview, myTasksText, protocolText, isModerated, endInterviewText, stopRecPopoverTitle, stopRecPopoverDescription, stopRecPopoverBtnOneText, stopRecPopoverBtnTwoText, isRecordingBtnDisplay, stopRecPopoverBtnOneOnClick, stopRecPopoverBtnTwoOnClick, stopRecText, startRecText, exitInterview, exitInterviewText, disabledExitInterview, ...props }: ControlsBarProps) => React.JSX.Element;
|
|
@@ -12780,8 +12780,6 @@ const ControlsBar = ({
|
|
|
12780
12780
|
exitInterview,
|
|
12781
12781
|
exitInterviewText,
|
|
12782
12782
|
disabledExitInterview,
|
|
12783
|
-
observerCount,
|
|
12784
|
-
observersText,
|
|
12785
12783
|
...props
|
|
12786
12784
|
}) => {
|
|
12787
12785
|
const [isStopRecPopoverOpen, setIsStopRecPopoverOpen] = React.useState(false);
|
|
@@ -12789,17 +12787,7 @@ const ControlsBar = ({
|
|
|
12789
12787
|
if (identity === 'observer') {
|
|
12790
12788
|
return /*#__PURE__*/React__default.createElement("div", Object.assign({
|
|
12791
12789
|
className: `${styles$p.control_bar} ${className ?? ''}`
|
|
12792
|
-
}, props),
|
|
12793
|
-
className: styles$p.observer_count
|
|
12794
|
-
}, /*#__PURE__*/React__default.createElement(ViewIcon, {
|
|
12795
|
-
fill: colors.white,
|
|
12796
|
-
stroke: colors.white
|
|
12797
|
-
}), /*#__PURE__*/React__default.createElement(Text, {
|
|
12798
|
-
text: `${observerCount} ${observersText}`,
|
|
12799
|
-
color: "white"
|
|
12800
|
-
})), ' ', /*#__PURE__*/React__default.createElement("div", {
|
|
12801
|
-
className: styles$p.separator
|
|
12802
|
-
}), exitInterview && exitInterviewText && /*#__PURE__*/React__default.createElement(InterviewButton, {
|
|
12790
|
+
}, props), exitInterview && exitInterviewText && /*#__PURE__*/React__default.createElement(InterviewButton, {
|
|
12803
12791
|
text: exitInterviewText,
|
|
12804
12792
|
variant: "end-interview",
|
|
12805
12793
|
disabled: disabledExitInterview,
|