odaptos_design_system 1.4.116 → 1.4.117
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/Interviews/ControlsBar.d.ts +2 -2
- package/dist/odaptos_design_system.cjs.development.js +3 -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 +3 -3
- package/dist/odaptos_design_system.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/Interviews/ControlsBar.tsx +4 -4
|
@@ -2,7 +2,6 @@ import React, { HTMLAttributes } from 'react';
|
|
|
2
2
|
export interface ControlsBarProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
3
|
className?: string;
|
|
4
4
|
isInterviewer?: boolean;
|
|
5
|
-
isScreenShare?: boolean;
|
|
6
5
|
endInterview?: () => void;
|
|
7
6
|
enableScreenSharing?: () => void;
|
|
8
7
|
enableMicrophone?: () => void;
|
|
@@ -18,9 +17,10 @@ export interface ControlsBarProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
18
17
|
isNewTask?: boolean;
|
|
19
18
|
isNewMessage?: boolean;
|
|
20
19
|
isMicrophoneActive?: boolean;
|
|
20
|
+
screenShareText?: string;
|
|
21
21
|
isCameraActive?: boolean;
|
|
22
22
|
isRecording?: boolean;
|
|
23
23
|
disabledRecording?: boolean;
|
|
24
24
|
disabledEndInterview?: boolean;
|
|
25
25
|
}
|
|
26
|
-
export declare const ControlsBar: ({ className, isInterviewer,
|
|
26
|
+
export declare const ControlsBar: ({ className, isInterviewer, endInterview, enableScreenSharing, enableMicrophone, muteMicrophone, enableCamera, muteCamera, displayChat, displayTasks, startRecording, stopRecording, isChatOpen, areTasksOpen, isNewTask, isNewMessage, isMicrophoneActive, isCameraActive, isRecording, screenShareText, disabledRecording, disabledEndInterview, ...props }: ControlsBarProps) => React.JSX.Element;
|
|
@@ -7859,7 +7859,6 @@ styleInject(css_248z$a);
|
|
|
7859
7859
|
const ControlsBar = ({
|
|
7860
7860
|
className,
|
|
7861
7861
|
isInterviewer,
|
|
7862
|
-
isScreenShare,
|
|
7863
7862
|
endInterview,
|
|
7864
7863
|
enableScreenSharing,
|
|
7865
7864
|
enableMicrophone,
|
|
@@ -7877,6 +7876,7 @@ const ControlsBar = ({
|
|
|
7877
7876
|
isMicrophoneActive,
|
|
7878
7877
|
isCameraActive,
|
|
7879
7878
|
isRecording,
|
|
7879
|
+
screenShareText,
|
|
7880
7880
|
disabledRecording,
|
|
7881
7881
|
disabledEndInterview,
|
|
7882
7882
|
...props
|
|
@@ -7913,8 +7913,8 @@ const ControlsBar = ({
|
|
|
7913
7913
|
disabled: disabledEndInterview,
|
|
7914
7914
|
onClick: () => endInterview(),
|
|
7915
7915
|
icon: /*#__PURE__*/React__default.createElement(HangUpIcon, null)
|
|
7916
|
-
}), !isInterviewer &&
|
|
7917
|
-
text:
|
|
7916
|
+
}), !isInterviewer && screenShareText && enableScreenSharing && /*#__PURE__*/React__default.createElement(InterviewButton, {
|
|
7917
|
+
text: screenShareText,
|
|
7918
7918
|
variant: "screenshare",
|
|
7919
7919
|
icon: /*#__PURE__*/React__default.createElement(TvFlatScreenIcon, null),
|
|
7920
7920
|
onClick: () => enableScreenSharing()
|