odaptos_design_system 2.0.226 → 2.0.230

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.
Files changed (24) hide show
  1. package/dist/DesignTokens/Animations/MediaControl/HappyRobotAnimation.d.ts +9 -0
  2. package/dist/DesignTokens/Animations/MediaControl/RecordingWhiteAnimation.d.ts +9 -0
  3. package/dist/DesignTokens/Animations/index.d.ts +2 -0
  4. package/dist/DesignTokens/Icons/index.d.ts +1 -0
  5. package/dist/Molecules/Interviews/Chat.d.ts +3 -1
  6. package/dist/Molecules/Notifications/Banner.d.ts +2 -1
  7. package/dist/odaptos_design_system.cjs.development.js +39955 -20133
  8. package/dist/odaptos_design_system.cjs.development.js.map +1 -1
  9. package/dist/odaptos_design_system.cjs.production.min.js +1 -1
  10. package/dist/odaptos_design_system.cjs.production.min.js.map +1 -1
  11. package/dist/odaptos_design_system.esm.js +39954 -20134
  12. package/dist/odaptos_design_system.esm.js.map +1 -1
  13. package/package.json +1 -1
  14. package/src/DesignTokens/Animations/MediaControl/HappyRobotAnimation.tsx +24 -0
  15. package/src/DesignTokens/Animations/MediaControl/RecordingWhiteAnimation.tsx +24 -0
  16. package/src/DesignTokens/Animations/index.ts +2 -0
  17. package/src/DesignTokens/Animations/lotties/happy_robot.json +7329 -0
  18. package/src/DesignTokens/Animations/lotties/recording-white-animation.json +1 -0
  19. package/src/DesignTokens/Icons/Illustrations/AI_UserTest.tsx +166 -165
  20. package/src/DesignTokens/Icons/Illustrations/ConfusedInterviewee.tsx +4 -4
  21. package/src/DesignTokens/Icons/index.ts +1 -0
  22. package/src/Molecules/Interviews/Chat.tsx +29 -0
  23. package/src/Molecules/Interviews/Task.tsx +8 -1
  24. package/src/Molecules/Notifications/Banner.tsx +5 -0
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ declare type HappyRobotAnimationProps = {
3
+ autoplay?: boolean;
4
+ loop?: boolean;
5
+ showControls?: boolean;
6
+ style?: React.CSSProperties;
7
+ };
8
+ export default function HappyRobotAnimation({ autoplay, loop, showControls, style, }: HappyRobotAnimationProps): React.JSX.Element;
9
+ export {};
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ declare type RecordingWhiteAnimationProps = {
3
+ autoplay?: boolean;
4
+ loop?: boolean;
5
+ showControls?: boolean;
6
+ style?: React.CSSProperties;
7
+ };
8
+ export default function RecordingWhiteAnimation({ autoplay, loop, showControls, style, }: RecordingWhiteAnimationProps): React.JSX.Element;
9
+ export {};
@@ -1,4 +1,5 @@
1
1
  export { default as RecordingAnimation } from './MediaControl/RecordingAnimation';
2
+ export { default as RecordingWhiteAnimation } from './MediaControl/RecordingWhiteAnimation';
2
3
  export { default as SoundInputAnimation } from './MediaControl/SoundInputAnimation';
3
4
  export { default as BigEmojisAnimation } from './MediaControl/BigEmojisAnimation';
4
5
  export { default as FlyingDudeAnimation } from './MediaControl/FlyingDudeAnimation';
@@ -6,3 +7,4 @@ export { default as RobotAnimation } from './MediaControl/RobotAnimation';
6
7
  export { default as NewLoaderAnimation } from './MediaControl/NewLoaderAnimation';
7
8
  export { default as TestimonialAnimation } from './MediaControl/TestimonialAnimation';
8
9
  export { default as RessourcesAnimation } from './MediaControl/Ressources';
10
+ export { default as HappyRobotAnimation } from './MediaControl/HappyRobotAnimation';
@@ -215,4 +215,5 @@ export { default as RespondentLogo } from './Partners/Respondent';
215
215
  export { default as LinkedInIcon } from './Other/LinkedInIcon';
216
216
  export { default as WarningIcon } from './Other/WarningIcon';
217
217
  export { default as RecordingAnimation } from '../Animations/MediaControl/RecordingAnimation';
218
+ export { default as RecordingWhiteAnimation } from '../Animations/MediaControl/RecordingWhiteAnimation';
218
219
  export { default as SoundInputAnimation } from '../Animations/MediaControl/SoundInputAnimation';
@@ -47,5 +47,7 @@ export interface ChatProps extends HTMLAttributes<HTMLDivElement> {
47
47
  descriptionMaxInterviewDuration: string;
48
48
  titleSlowDownModerated: string;
49
49
  descriptionSlowDownModerated: string;
50
+ sendQuestionsReminderTitle?: string;
51
+ sendQuestionsReminderDescription?: string;
50
52
  }
51
- export declare const Chat: ({ chatTitle, welcomeTitle, welcomeDescription, startInterviewTitle, startInterviewBtnTitle, scenarioText, taskText, questionText, noteText, actionText, startInterviewIcon, startInterview, tasks, sendTask, currentTask, chatInputPlaceholder, chatInputValue, chatInputonChange, sendMessage, className, isTaskMode, isInterviewer, messages, idsTasksAlreadySent, customScrollingClassname, customContentClassname, disabledTask, disabledScenario, areAllTasksSend, isRecordingFinished, stopRecTitle, stopRecDescription, stopRecCTA, SusExplanationTitle, SusExplanationDescription, isSus, intervieweeName, stopRecording, isObserver, contentFunc, is5minsLeft, taskIsTooFast, titleMaxInterviewDuration, descriptionMaxInterviewDuration, titleSlowDownModerated, descriptionSlowDownModerated, ...props }: ChatProps) => React.JSX.Element;
53
+ export declare const Chat: ({ chatTitle, welcomeTitle, welcomeDescription, startInterviewTitle, startInterviewBtnTitle, scenarioText, taskText, questionText, noteText, actionText, startInterviewIcon, startInterview, tasks, sendTask, currentTask, chatInputPlaceholder, chatInputValue, chatInputonChange, sendMessage, className, isTaskMode, isInterviewer, messages, idsTasksAlreadySent, customScrollingClassname, customContentClassname, disabledTask, disabledScenario, areAllTasksSend, isRecordingFinished, stopRecTitle, stopRecDescription, stopRecCTA, SusExplanationTitle, SusExplanationDescription, isSus, intervieweeName, stopRecording, isObserver, contentFunc, is5minsLeft, taskIsTooFast, titleMaxInterviewDuration, descriptionMaxInterviewDuration, titleSlowDownModerated, descriptionSlowDownModerated, sendQuestionsReminderTitle, sendQuestionsReminderDescription, ...props }: ChatProps) => React.JSX.Element;
@@ -9,9 +9,10 @@ interface BannerProps extends HTMLAttributes<HTMLDivElement> {
9
9
  onClose?: () => void;
10
10
  type: 'error' | 'warning' | 'success' | 'info';
11
11
  isIconDisplayed?: boolean;
12
+ customIcon?: React.ReactNode;
12
13
  }
13
14
  /**
14
15
  * Figma link : https://www.figma.com/file/fjnhhbL12HvKccPmJchVnr/Atomic-Library?type=design&node-id=2527-33150&mode=dev
15
16
  */
16
- export declare const Banner: ({ id, title, content, textLink, link, className, type, onClose, isIconDisplayed, ...props }: BannerProps) => React.JSX.Element;
17
+ export declare const Banner: ({ id, title, content, textLink, link, className, type, onClose, isIconDisplayed, customIcon, ...props }: BannerProps) => React.JSX.Element;
17
18
  export {};