odaptos_design_system 1.4.101 → 1.4.104

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.
@@ -27,6 +27,8 @@ export interface ChatProps extends HTMLAttributes<HTMLDivElement> {
27
27
  chatInputonChange?: (message: string) => void;
28
28
  sendMessage: () => void;
29
29
  className?: string;
30
+ isTaskMode?: boolean;
31
+ isChatDisplay?: boolean;
30
32
  }
31
- export declare const Chat: ({ goBackText, goBack, chatTitle, welcomeTitle, welcomeDescription, startInterviewTitle, startInterviewBtnTitle, startInterviewIcon, startInterview, tasks, sendTask, validateTask, currentTask, chatInputPlaceholder, chatInputValue, chatInputonChange, sendMessage, className, ...props }: ChatProps) => React.JSX.Element;
33
+ export declare const Chat: ({ goBackText, goBack, chatTitle, welcomeTitle, welcomeDescription, startInterviewTitle, startInterviewBtnTitle, startInterviewIcon, startInterview, tasks, sendTask, validateTask, currentTask, chatInputPlaceholder, chatInputValue, chatInputonChange, sendMessage, className, isTaskMode, isChatDisplay, ...props }: ChatProps) => React.JSX.Element;
32
34
  export {};
@@ -21,5 +21,6 @@ export interface ControlsBarProps extends HTMLAttributes<HTMLDivElement> {
21
21
  isCameraActive?: boolean;
22
22
  isRecording?: boolean;
23
23
  disabledRecording?: boolean;
24
+ disabledEndInterview?: boolean;
24
25
  }
25
- export declare const ControlsBar: ({ className, isInterviewer, isScreenShare, endInterview, enableScreenSharing, enableMicrophone, muteMicrophone, enableCamera, muteCamera, displayChat, displayTasks, startRecording, stopRecording, isChatOpen, areTasksOpen, isNewTask, isNewMessage, isMicrophoneActive, isCameraActive, isRecording, disabledRecording, ...props }: ControlsBarProps) => React.JSX.Element;
26
+ export declare const ControlsBar: ({ className, isInterviewer, isScreenShare, endInterview, enableScreenSharing, enableMicrophone, muteMicrophone, enableCamera, muteCamera, displayChat, displayTasks, startRecording, stopRecording, isChatOpen, areTasksOpen, isNewTask, isNewMessage, isMicrophoneActive, isCameraActive, isRecording, disabledRecording, disabledEndInterview, ...props }: ControlsBarProps) => React.JSX.Element;
@@ -3,8 +3,9 @@ export interface InterviewButtonProps extends HTMLAttributes<HTMLButtonElement>
3
3
  icon: JSX.Element;
4
4
  variant: 'screenshare' | 'end-interview' | 'protocol';
5
5
  text: string;
6
+ disabled?: boolean;
6
7
  isNotif?: boolean;
7
8
  isActive?: boolean;
8
9
  className?: string;
9
10
  }
10
- export declare const InterviewButton: ({ icon, className, variant, text, isNotif, isActive, ...props }: InterviewButtonProps) => React.JSX.Element;
11
+ export declare const InterviewButton: ({ icon, className, variant, text, disabled, isNotif, isActive, ...props }: InterviewButtonProps) => React.JSX.Element;
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ export interface NumbersCodeProps {
3
+ number?: number;
4
+ code: string;
5
+ isValid: boolean[];
6
+ setIsValid: (isValid: boolean[]) => void;
7
+ className?: string;
8
+ }
9
+ export interface InputElementProps {
10
+ inputNumber: number;
11
+ inputCode: string;
12
+ isValid: boolean[];
13
+ setIsValid: (isValid: boolean[]) => void;
14
+ maxElement: number;
15
+ className?: string;
16
+ }
17
+ /** Figma link : https://www.figma.com/file/fjnhhbL12HvKccPmJchVnr/Atomic-Library?type=design&node-id=131-253&mode=dev */
18
+ export declare const NumbersCode: ({ className, code, isValid, setIsValid, number }: NumbersCodeProps) => React.JSX.Element;
package/dist/index.d.ts CHANGED
@@ -21,6 +21,7 @@ export * from './Interviews/WelcomeMessage';
21
21
  export * from './LateralMenu/LateralMenu';
22
22
  export * from './Modal/Modal';
23
23
  export * from './MultiSelect/MultiSelect';
24
+ export * from './NumbersCode/NumbersCode';
24
25
  export * from './Notifications/Banner';
25
26
  export * from './Notifications/NotificationIcon';
26
27
  export * from './Notifications/Toast';