@aslaluroba/help-center-react 3.2.6 → 3.2.7
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/index.css +1 -1
- package/dist/index.esm.js +9 -9
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/ui/chatbot-popup/chat-window-screen/footer.tsx +2 -2
- package/src/ui/chatbot-popup/error-screen/index.tsx +2 -2
- package/src/ui/chatbot-popup/loading-screen/index.tsx +1 -1
- package/src/ui/help-popup.tsx +10 -10
package/dist/index.js
CHANGED
|
@@ -38552,7 +38552,7 @@ var ChatWindowFooter = props => {
|
|
|
38552
38552
|
}
|
|
38553
38553
|
}, [isSendDisabled, handleSendMessageWithAttachments]);
|
|
38554
38554
|
return jsxRuntime.jsxs("footer", {
|
|
38555
|
-
className: 'babylai:flex babylai:flex-col babylai:gap-2 babylai:mx-4 babylai:
|
|
38555
|
+
className: 'babylai:flex babylai:flex-col babylai:gap-2 babylai:mx-4 babylai:mb-2',
|
|
38556
38556
|
children: [selectedFiles.length > 0 && jsxRuntime.jsx("div", {
|
|
38557
38557
|
className: 'babylai:flex babylai:gap-2 babylai:flex-wrap babylai:p-2 babylai:bg-card babylai:rounded-lg',
|
|
38558
38558
|
children: selectedFiles.map(file => jsxRuntime.jsxs("div", {
|
|
@@ -38586,7 +38586,7 @@ var ChatWindowFooter = props => {
|
|
|
38586
38586
|
})]
|
|
38587
38587
|
}, file.previewUrl))
|
|
38588
38588
|
}), jsxRuntime.jsxs("div", {
|
|
38589
|
-
className: 'babylai:flex babylai:items-center babylai:gap-2 babylai:relative babylai:rounded-full babylai:bg-card babylai:py-
|
|
38589
|
+
className: 'babylai:flex babylai:items-center babylai:gap-2 babylai:relative babylai:rounded-full babylai:bg-card babylai:py-3 babylai:px-4',
|
|
38590
38590
|
children: [jsxRuntime.jsx("input", {
|
|
38591
38591
|
type: 'file',
|
|
38592
38592
|
ref: fileInputRef,
|
|
@@ -39411,11 +39411,11 @@ var ChatBotErrorScreen = props => {
|
|
|
39411
39411
|
return jsxRuntime.jsx("div", {
|
|
39412
39412
|
className: "babylai:w-full babylai:h-full babylai:bg-secondary babylai:rounded-3xl babylai:shadow-lg babylai:z-50 babylai:flex babylai:flex-col",
|
|
39413
39413
|
children: jsxRuntime.jsxs("div", {
|
|
39414
|
-
className: "babylai:h-full babylai:rounded-3xl babylai:flex babylai:flex-col babylai:gap-
|
|
39414
|
+
className: "babylai:h-full babylai:rounded-3xl babylai:flex babylai:flex-col babylai:gap-8",
|
|
39415
39415
|
children: [jsxRuntime.jsx(OptionsListHeader, {
|
|
39416
39416
|
onMinimize: props.onClose
|
|
39417
39417
|
}), jsxRuntime.jsx("div", {
|
|
39418
|
-
className: "babylai:flex babylai:flex-col babylai:items-center babylai:justify-center babylai:w-full babylai:h-full babylai:px-6 babylai:py-
|
|
39418
|
+
className: "babylai:flex babylai:flex-col babylai:items-center babylai:justify-center babylai:w-full babylai:h-full babylai:px-6 babylai:py-28",
|
|
39419
39419
|
children: jsxRuntime.jsxs("div", {
|
|
39420
39420
|
className: "babylai:text-secondary-foreground babylai:text-lg",
|
|
39421
39421
|
children: ["Error: ", props.error]
|
|
@@ -39433,7 +39433,7 @@ var ChatBotLoadingScreen = props => {
|
|
|
39433
39433
|
children: [jsxRuntime.jsx(OptionsListHeader, {
|
|
39434
39434
|
onMinimize: props.onClose
|
|
39435
39435
|
}), jsxRuntime.jsx("div", {
|
|
39436
|
-
className: "babylai:flex babylai:flex-col babylai:items-center babylai:justify-center babylai:w-full babylai:h-full babylai:py-
|
|
39436
|
+
className: "babylai:flex babylai:flex-col babylai:items-center babylai:justify-center babylai:w-full babylai:h-full babylai:py-28",
|
|
39437
39437
|
children: jsxRuntime.jsx("img", {
|
|
39438
39438
|
src: img,
|
|
39439
39439
|
alt: "Animated Logo",
|
|
@@ -40024,7 +40024,7 @@ var HelpPopup = _ref => {
|
|
|
40024
40024
|
// Early returns for performance - moved after all hooks
|
|
40025
40025
|
if (status === 'loading' && !helpScreen) {
|
|
40026
40026
|
return jsxRuntime.jsx("div", {
|
|
40027
|
-
className: 'babylai:fixed babylai:inset-
|
|
40027
|
+
className: 'babylai:fixed babylai:inset-auto babylai:max-w-sm babylai:h-[calc(100vh-220px)] babylai:max-h-[800px]\n babylai:overflow-auto babylai:w-full babylai:bg-secondary babylai:mb-4\nbabylai:bottom-24 babylai:right-4 babylai:rounded-3xl babylai:shadow-lg babylai:z-50 babylai:flex babylai:flex-col',
|
|
40028
40028
|
children: jsxRuntime.jsx(ChatBotLoadingScreen, {
|
|
40029
40029
|
onClose: onClose
|
|
40030
40030
|
})
|
|
@@ -40032,7 +40032,7 @@ var HelpPopup = _ref => {
|
|
|
40032
40032
|
}
|
|
40033
40033
|
if (error) {
|
|
40034
40034
|
return jsxRuntime.jsx("div", {
|
|
40035
|
-
className: 'babylai:fixed babylai:inset-
|
|
40035
|
+
className: 'babylai:fixed babylai:inset-auto babylai:max-w-sm babylai:h-[calc(100vh-220px)] babylai:max-h-[800px]\n babylai:overflow-auto babylai:w-full babylai:bg-secondary babylai:mb-4\nbabylai:bottom-24 babylai:right-4 babylai:rounded-3xl babylai:shadow-lg babylai:z-50 babylai:flex babylai:flex-col',
|
|
40036
40036
|
children: jsxRuntime.jsx(ChatBotErrorScreen, {
|
|
40037
40037
|
onClose: onClose,
|
|
40038
40038
|
error: error || ''
|
|
@@ -40040,9 +40040,9 @@ var HelpPopup = _ref => {
|
|
|
40040
40040
|
});
|
|
40041
40041
|
}
|
|
40042
40042
|
return jsxRuntime.jsx("div", {
|
|
40043
|
-
className: 'babylai:fixed babylai:inset-
|
|
40043
|
+
className: 'babylai:fixed babylai:inset-auto babylai:max-w-sm babylai:h-[calc(100vh-220px)] babylai:max-h-[800px]\n babylai:overflow-auto babylai:w-full babylai:bg-secondary babylai:mb-4\nbabylai:bottom-24 babylai:right-4 babylai:rounded-3xl babylai:shadow-lg babylai:z-50 babylai:flex babylai:flex-col',
|
|
40044
40044
|
children: jsxRuntime.jsxs("div", {
|
|
40045
|
-
className: 'babylai:h-full babylai:rounded-
|
|
40045
|
+
className: 'babylai:h-full babylai:rounded-3xl babylai:flex babylai:flex-col babylai:relative',
|
|
40046
40046
|
children: [activeChatButton, renderContent(), confirmationModal, startNewChatConfirmation && jsxRuntime.jsx(ConfirmationModal, {
|
|
40047
40047
|
title: t('homeSdk.ConfirmationModal.endAndStartNewChatTitle'),
|
|
40048
40048
|
message: t('homeSdk.ConfirmationModal.endAndStartNewChatMessage'),
|