odaptos_design_system 2.0.222 → 2.0.224
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.
- package/dist/DesignTokens/Animations/MediaControl/Ressources.d.ts +9 -0
- package/dist/DesignTokens/Animations/index.d.ts +1 -0
- package/dist/Molecules/Interviews/Chat.d.ts +7 -1
- package/dist/Molecules/Notifications/Banner.d.ts +2 -1
- package/dist/odaptos_design_system.cjs.development.js +22078 -5
- package/dist/odaptos_design_system.cjs.development.js.map +1 -1
- package/dist/odaptos_design_system.cjs.production.min.js +1 -1
- package/dist/odaptos_design_system.cjs.production.min.js.map +1 -1
- package/dist/odaptos_design_system.esm.js +22078 -6
- package/dist/odaptos_design_system.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/DesignTokens/Animations/MediaControl/Ressources.tsx +24 -0
- package/src/DesignTokens/Animations/index.ts +1 -0
- package/src/DesignTokens/Animations/lotties/ressources.json +1 -0
- package/src/Molecules/Interviews/Chat.tsx +29 -1
- package/src/Molecules/Notifications/Banner.tsx +3 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare type RessourcesAnimationProps = {
|
|
3
|
+
autoplay?: boolean;
|
|
4
|
+
loop?: boolean;
|
|
5
|
+
showControls?: boolean;
|
|
6
|
+
style?: React.CSSProperties;
|
|
7
|
+
};
|
|
8
|
+
export default function RessourcesAnimation({ autoplay, loop, showControls, style, }: RessourcesAnimationProps): React.JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -5,3 +5,4 @@ export { default as FlyingDudeAnimation } from './MediaControl/FlyingDudeAnimati
|
|
|
5
5
|
export { default as RobotAnimation } from './MediaControl/RobotAnimation';
|
|
6
6
|
export { default as NewLoaderAnimation } from './MediaControl/NewLoaderAnimation';
|
|
7
7
|
export { default as TestimonialAnimation } from './MediaControl/TestimonialAnimation';
|
|
8
|
+
export { default as RessourcesAnimation } from './MediaControl/Ressources';
|
|
@@ -41,5 +41,11 @@ export interface ChatProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
41
41
|
stopRecording: () => void;
|
|
42
42
|
isObserver?: boolean;
|
|
43
43
|
contentFunc: (key: string) => string;
|
|
44
|
+
is5minsLeft: boolean;
|
|
45
|
+
taskIsTooFast: boolean;
|
|
46
|
+
titleMaxInterviewDuration: string;
|
|
47
|
+
descriptionMaxInterviewDuration: string;
|
|
48
|
+
titleSlowDownModerated: string;
|
|
49
|
+
descriptionSlowDownModerated: string;
|
|
44
50
|
}
|
|
45
|
-
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, ...props }: ChatProps) => React.JSX.Element;
|
|
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;
|
|
@@ -8,9 +8,10 @@ interface BannerProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
8
8
|
className?: string;
|
|
9
9
|
onClose?: () => void;
|
|
10
10
|
type: 'error' | 'warning' | 'success' | 'info';
|
|
11
|
+
isIconDisplayed?: boolean;
|
|
11
12
|
}
|
|
12
13
|
/**
|
|
13
14
|
* Figma link : https://www.figma.com/file/fjnhhbL12HvKccPmJchVnr/Atomic-Library?type=design&node-id=2527-33150&mode=dev
|
|
14
15
|
*/
|
|
15
|
-
export declare const Banner: ({ id, title, content, textLink, link, className, type, onClose, ...props }: BannerProps) => React.JSX.Element;
|
|
16
|
+
export declare const Banner: ({ id, title, content, textLink, link, className, type, onClose, isIconDisplayed, ...props }: BannerProps) => React.JSX.Element;
|
|
16
17
|
export {};
|