interview-widget 3.1.4 → 3.1.5

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.
@@ -0,0 +1,3 @@
1
+ export declare const ChevronDownIcon: ({ className }: {
2
+ className?: string;
3
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -3,6 +3,7 @@ export * from './bolt-icon';
3
3
  export * from './bot-icon';
4
4
  export * from './camera-off-icon';
5
5
  export * from './check-icon';
6
+ export * from './cheverondown-icon';
6
7
  export * from './clock-fading-icon';
7
8
  export * from './clock-icon';
8
9
  export * from './cross-icon';
@@ -22,3 +23,4 @@ export * from './target-icon';
22
23
  export * from './users-icon';
23
24
  export * from './video-icon';
24
25
  export * from './video-off-icon';
26
+ export * from './volumn-icon';
@@ -0,0 +1 @@
1
+ export declare const VolumnIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ interface AudioVisualizerProps {
3
+ stream: MediaStream | null;
4
+ className?: string;
5
+ barCount?: number;
6
+ }
7
+ declare const AudioVisualizer: React.FC<AudioVisualizerProps>;
8
+ export default AudioVisualizer;
@@ -14,6 +14,8 @@ interface VideoFeedProps {
14
14
  onProctoringStatusChange?: (status: GazeWarningTypeValue) => void;
15
15
  showStatusOverlay?: boolean;
16
16
  cheatingWarningVisible?: boolean;
17
+ isDeviceLoading?: boolean;
18
+ videoAllowed?: boolean;
17
19
  }
18
20
  declare const VideoFeed: import('react').ForwardRefExoticComponent<VideoFeedProps & import('react').RefAttributes<VideoFeedHandle>>;
19
21
  export default VideoFeed;
@@ -2,8 +2,6 @@ import { default as React } from 'react';
2
2
  interface OnboardingMediaControlsProps {
3
3
  micEnabled?: boolean;
4
4
  videoEnabled?: boolean;
5
- onMicToggle?: () => void;
6
- onVideoToggle?: () => void;
7
5
  buttonText: string;
8
6
  onButtonClick: () => void;
9
7
  isAgreed: boolean;
@@ -11,6 +9,14 @@ interface OnboardingMediaControlsProps {
11
9
  showCheckbox?: boolean;
12
10
  showMediaIcons?: boolean;
13
11
  disabled?: boolean;
12
+ audioDevices?: MediaDeviceInfo[];
13
+ videoDevices?: MediaDeviceInfo[];
14
+ selectedAudioId?: string;
15
+ selectedVideoId?: string;
16
+ onAudioChange?: (deviceId: string) => void;
17
+ onVideoChange?: (deviceId: string) => void;
18
+ audioStream?: MediaStream | null;
19
+ isDeviceLoading?: boolean;
14
20
  }
15
21
  declare const OnboardingMediaControls: React.FC<OnboardingMediaControlsProps>;
16
22
  export declare const buttonHoverContent: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,12 @@
1
+ interface DeviceSelectorProps {
2
+ icon: any;
3
+ devices: MediaDeviceInfo[];
4
+ selectedId?: string;
5
+ onChange?: (val: string) => void;
6
+ label: string;
7
+ showVisualizer?: boolean;
8
+ stream?: MediaStream | null;
9
+ hasPermission?: boolean;
10
+ }
11
+ export declare const DeviceSelector: ({ icon: Icon, devices, selectedId, onChange, label, showVisualizer, stream, hasPermission }: DeviceSelectorProps) => import("react/jsx-runtime").JSX.Element;
12
+ export {};
@@ -0,0 +1,14 @@
1
+ export declare const useMediaDevices: (isOpen: boolean) => {
2
+ videoRef: import('react').RefObject<HTMLVideoElement | null>;
3
+ audioAllowed: boolean;
4
+ videoAllowed: boolean;
5
+ audioDevices: MediaDeviceInfo[];
6
+ videoDevices: MediaDeviceInfo[];
7
+ selectedAudioDeviceId: string;
8
+ selectedVideoDeviceId: string;
9
+ isDeviceLoading: boolean;
10
+ currentStream: MediaStream | null;
11
+ handleAudioChange: (deviceId: string) => Promise<void>;
12
+ handleVideoChange: (deviceId: string) => Promise<void>;
13
+ stopStream: () => void;
14
+ };