odaptos_design_system 1.4.141 → 1.4.142
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/Interviews/Chat.d.ts +3 -2
- package/dist/odaptos_design_system.cjs.development.js +2 -1
- 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 +2 -1
- package/dist/odaptos_design_system.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/Interviews/Chat.tsx +6 -2
|
@@ -22,6 +22,7 @@ export interface ChatProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
22
22
|
isInterviewer?: boolean;
|
|
23
23
|
messages: any[];
|
|
24
24
|
idsTasksAlreadySent: string[];
|
|
25
|
-
customScrollingClassname
|
|
25
|
+
customScrollingClassname?: string;
|
|
26
|
+
customContentClassname?: string;
|
|
26
27
|
}
|
|
27
|
-
export declare const Chat: ({ goBackText, goBack, chatTitle, welcomeTitle, welcomeDescription, startInterviewTitle, startInterviewBtnTitle, startInterviewIcon, startInterview, tasks, sendTask, currentTask, chatInputPlaceholder, chatInputValue, chatInputonChange, sendMessage, className, isTaskMode, isInterviewer, messages, idsTasksAlreadySent, customScrollingClassname, ...props }: ChatProps) => React.JSX.Element;
|
|
28
|
+
export declare const Chat: ({ goBackText, goBack, chatTitle, welcomeTitle, welcomeDescription, startInterviewTitle, startInterviewBtnTitle, startInterviewIcon, startInterview, tasks, sendTask, currentTask, chatInputPlaceholder, chatInputValue, chatInputonChange, sendMessage, className, isTaskMode, isInterviewer, messages, idsTasksAlreadySent, customScrollingClassname, customContentClassname, ...props }: ChatProps) => React.JSX.Element;
|
|
@@ -9182,6 +9182,7 @@ const Chat = ({
|
|
|
9182
9182
|
messages,
|
|
9183
9183
|
idsTasksAlreadySent,
|
|
9184
9184
|
customScrollingClassname,
|
|
9185
|
+
customContentClassname,
|
|
9185
9186
|
...props
|
|
9186
9187
|
}) => {
|
|
9187
9188
|
const replaceURLs = message => {
|
|
@@ -9205,7 +9206,7 @@ const Chat = ({
|
|
|
9205
9206
|
text: goBackText,
|
|
9206
9207
|
onClick: goBack
|
|
9207
9208
|
}), /*#__PURE__*/React__default.createElement("div", {
|
|
9208
|
-
className: `${styles$d.scrolling_content} ${styles$d.no_scrollbar}`
|
|
9209
|
+
className: `${styles$d.scrolling_content} ${styles$d.no_scrollbar} ${customContentClassname}`
|
|
9209
9210
|
}, chatTitle && /*#__PURE__*/React__default.createElement(Text, {
|
|
9210
9211
|
text: chatTitle,
|
|
9211
9212
|
weight: "bold",
|