interview-widget 3.1.16 → 3.1.18

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.
@@ -24,3 +24,4 @@ export * from './users-icon';
24
24
  export * from './video-icon';
25
25
  export * from './video-off-icon';
26
26
  export * from './volumn-icon';
27
+ export * from './speech-icon';
@@ -0,0 +1 @@
1
+ export declare const SpeechIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -21,7 +21,6 @@ interface InterviewContentProps {
21
21
  answerText?: string | undefined;
22
22
  onAnswerChange?: ((e: React.ChangeEvent<HTMLTextAreaElement>) => void) | undefined;
23
23
  editingTime?: number | undefined;
24
- answeringTime?: number | undefined;
25
24
  disableSubmitButton?: boolean;
26
25
  }
27
26
  export declare const InterviewContent: React.FC<InterviewContentProps>;
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
- import { TimerPhase, TimerState } from '../../services/timer';
2
+ import { TimerPhase } from '../../services/timer';
3
3
  import { InterviewQuestionData } from '../../types';
4
4
  interface QuestionDisplayProps {
5
5
  question: InterviewQuestionData | null;
@@ -8,8 +8,6 @@ interface QuestionDisplayProps {
8
8
  phase?: TimerPhase;
9
9
  brandName?: string | undefined;
10
10
  brandLogo?: React.ReactNode | undefined;
11
- timerState?: TimerState | undefined;
12
- answeringTime?: number | undefined;
13
11
  }
14
12
  declare const QuestionDisplay: React.FC<QuestionDisplayProps>;
15
13
  export default QuestionDisplay;
@@ -3,6 +3,7 @@ interface SubmitResponseButtonProps {
3
3
  onClick: () => void;
4
4
  text?: string;
5
5
  disabled?: boolean;
6
+ isFirstQuestion?: boolean;
6
7
  }
7
8
  export declare const SubmitResponseButton: React.FC<SubmitResponseButtonProps>;
8
9
  export {};
@@ -1,8 +1,9 @@
1
1
  import { default as React } from 'react';
2
- import { TimerPhase } from '../../../services/timer';
2
+ import { TimerPhase, TimerState } from '../../../services/timer';
3
3
  interface TranscriptPhaseIndicatorProps {
4
4
  phase?: TimerPhase | undefined;
5
5
  questionNumber: number;
6
+ timerState?: TimerState | undefined;
6
7
  }
7
8
  export declare const TranscriptPhaseIndicator: React.FC<TranscriptPhaseIndicatorProps>;
8
9
  export {};
@@ -1,9 +1,10 @@
1
1
  import { default as React } from 'react';
2
+ import { AudioStatus } from '../modals/mic-hint-card';
2
3
  interface AudioVisualizerProps {
3
4
  stream: MediaStream | null;
4
5
  className?: string;
5
6
  barCount?: number;
6
- onAudioLevel?: ((status: 'good' | 'acceptable' | 'problem', db: number) => void) | undefined;
7
+ onAudioLevel?: ((status: AudioStatus, db: number) => void) | undefined;
7
8
  }
8
9
  declare const AudioVisualizer: React.FC<AudioVisualizerProps>;
9
10
  export default AudioVisualizer;
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
- export type AudioStatus = "good" | "acceptable" | "problem";
2
+ export type AudioStatus = "good" | "acceptable" | "poor" | "problem";
3
3
  interface MicHintCardProps {
4
4
  micEnabled: boolean;
5
5
  micTested: boolean;
@@ -0,0 +1 @@
1
+ export declare const SpeakingAudioVisualizer: () => import("react/jsx-runtime").JSX.Element;
@@ -44,6 +44,7 @@ declare class STTService {
44
44
  private pendingStopPromise;
45
45
  private isStarting;
46
46
  private recordingStartTime;
47
+ static activeStream: MediaStream | null;
47
48
  constructor(config?: STTConfig);
48
49
  /**
49
50
  * Update STT configuration