interview-widget 3.2.12 → 3.2.14

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.
@@ -3,6 +3,7 @@ interface AudioVisualizerProps {
3
3
  stream: MediaStream | null;
4
4
  className?: string;
5
5
  barCount?: number;
6
+ onAudioLevel?: ((status: 'good' | 'acceptable' | 'problem', db: number) => void) | undefined;
6
7
  }
7
8
  declare const AudioVisualizer: React.FC<AudioVisualizerProps>;
8
9
  export default AudioVisualizer;
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ export type AudioStatus = "good" | "acceptable" | "problem";
3
+ interface MicHintCardProps {
4
+ micEnabled: boolean;
5
+ micTested: boolean;
6
+ audioStatus: AudioStatus;
7
+ }
8
+ export declare const MicHintCard: React.FC<MicHintCardProps>;
9
+ export {};
@@ -19,5 +19,4 @@ interface OnboardingMediaControlsProps {
19
19
  isDeviceLoading?: boolean;
20
20
  }
21
21
  declare const OnboardingMediaControls: React.FC<OnboardingMediaControlsProps>;
22
- export declare const buttonHoverContent: () => import("react/jsx-runtime").JSX.Element;
23
22
  export default OnboardingMediaControls;
@@ -0,0 +1,7 @@
1
+ export interface ButtonHoverContentProps {
2
+ baseColor?: string | undefined;
3
+ contentClassName?: string;
4
+ title?: string;
5
+ description?: string;
6
+ }
7
+ export declare const ButtonHoverContent: ({ baseColor, contentClassName, title, description, }: ButtonHoverContentProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,4 @@
1
+ import { AudioStatus } from '../modals/mic-hint-card';
1
2
  interface DeviceSelectorProps {
2
3
  icon: any;
3
4
  devices: MediaDeviceInfo[];
@@ -5,8 +6,12 @@ interface DeviceSelectorProps {
5
6
  onChange?: (val: string) => void;
6
7
  label: string;
7
8
  showVisualizer?: boolean;
9
+ showMicHint?: boolean;
10
+ micTested?: boolean;
11
+ audioStatus?: AudioStatus;
8
12
  stream?: MediaStream | null;
9
13
  hasPermission?: boolean;
14
+ onAudioLevel?: ((status: AudioStatus, db: number) => void) | undefined;
10
15
  }
11
- export declare const DeviceSelector: ({ icon: Icon, devices, selectedId, onChange, label, showVisualizer, stream, hasPermission }: DeviceSelectorProps) => import("react/jsx-runtime").JSX.Element;
16
+ export declare const DeviceSelector: ({ icon: Icon, devices, selectedId, onChange, label, showVisualizer, showMicHint, micTested, audioStatus, stream, hasPermission, onAudioLevel, }: DeviceSelectorProps) => import("react/jsx-runtime").JSX.Element;
12
17
  export {};