@aslaluroba/help-center-react 3.0.15 → 3.0.17
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 +39 -36
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +39 -36
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/shared/Button/button.tsx +4 -4
- package/src/globals.css +21 -7
- package/src/ui/chatbot-popup/chat-window-screen/footer.tsx +1 -1
- package/src/ui/chatbot-popup/chat-window-screen/header.tsx +2 -2
- package/src/ui/chatbot-popup/chat-window-screen/index.tsx +1 -1
- package/src/ui/chatbot-popup/error-screen/index.tsx +1 -1
- package/src/ui/chatbot-popup/home-screen/card.tsx +2 -2
- package/src/ui/chatbot-popup/home-screen/chat-now-card.tsx +2 -2
- package/src/ui/chatbot-popup/home-screen/index.tsx +1 -1
- package/src/ui/chatbot-popup/loading-screen/index.tsx +1 -1
- package/src/ui/chatbot-popup/options-list-screen/expanded-option.tsx +1 -1
- package/src/ui/chatbot-popup/options-list-screen/header.tsx +1 -1
- package/src/ui/chatbot-popup/options-list-screen/index.tsx +1 -1
- package/src/ui/chatbot-popup/options-list-screen/option-card.tsx +2 -2
- package/src/ui/confirmation-modal/index.tsx +2 -2
- package/src/ui/help-popup.tsx +2 -2
- package/src/ui/powered-by.tsx +1 -1
- package/src/ui/review-dialog/index.tsx +9 -7
package/dist/index.js
CHANGED
|
@@ -5939,13 +5939,13 @@ var _excluded$e = ["children", "className", "variant", "size"];
|
|
|
5939
5939
|
var buttonVariants = cva('babylai-inline-flex babylai-items-center babylai-justify-center babylai-gap-2 babylai-whitespace-nowrap babylai-rounded-full babylai-text-sm babylai-font-medium babylai-transition-colors focus-visible:babylai-outline-none focus-visible:babylai-ring-1 focus-visible:babylai-ring-ring disabled:babylai-pointer-events-none disabled:babylai-opacity-50 [&_svg]:babylai-pointer-events-none [&_svg]:babylai-size-3 [&_svg]:babylai-shrink-0', {
|
|
5940
5940
|
variants: {
|
|
5941
5941
|
variant: {
|
|
5942
|
-
default: 'babylai-bg-primary-500 babylai-p-2 babylai-text-white babylai-text-xs babylai-font-semibold hover:babylai-bg-primary-600',
|
|
5942
|
+
default: 'babylai-bg-primary-500 babylai-p-2 babylai-text-white babylai-text-xs babylai-font-semibold hover:babylai-bg-primary-600 babylai-border-none',
|
|
5943
5943
|
destructive: 'babylai-bg-destructive babylai-p-2 babylai-text-destructive-foreground babylai-shadow-sm hover:babylai-bg-destructive/90',
|
|
5944
|
-
outline: 'babylai-border babylai-border-primary-500 babylai-bg-background-transparent hover:babylai-border-primary-600 hover:babylai-text-primary-600 babylai-text-primary-500 babylai-font-bold',
|
|
5944
|
+
outline: 'babylai-bg-transparent babylai-border babylai-border-primary-500 babylai-bg-background-transparent hover:babylai-border-primary-600 hover:babylai-text-primary-600 babylai-text-primary-500 babylai-font-bold',
|
|
5945
5945
|
secondary: 'babylai-bg-secondary babylai-p-2 babylai-text-secondary-foreground babylai-shadow-sm babylai-hover:babylai-bg-secondary/80',
|
|
5946
5946
|
ghost: 'babylai-bg-transparent babylai-p-2 babylai-text-secondary-foreground babylai-shadow-sm hover:babylai-bg-secondary/80',
|
|
5947
|
-
link: 'babylai-text-primary babylai-underline-offset-4 hover:babylai-underline',
|
|
5948
|
-
'rounded-icon': '!babylai-p-2'
|
|
5947
|
+
link: 'babylai-bg-transparent babylai-text-primary babylai-underline-offset-4 hover:babylai-underline babylai-border-none',
|
|
5948
|
+
'rounded-icon': '!babylai-p-2 babylai-border-none babylai-bg-transparent'
|
|
5949
5949
|
},
|
|
5950
5950
|
size: {
|
|
5951
5951
|
default: 'babylai-h-9 babylai-px-4 babylai-py-2',
|
|
@@ -6103,9 +6103,9 @@ var ReviewDialog = props => {
|
|
|
6103
6103
|
return jsxRuntime.jsxs("section", {
|
|
6104
6104
|
className: "babylai-p-6 babylai-gap-6 babylai-max-w-sm babylai-max-h-[calc(100vh-90px)] babylai-overflow-auto babylai-w-full babylai-bg-black-white-50 dark:babylai-bg-storm-dust-950 babylai-fixed babylai-bottom-20 babylai-right-0 md:babylai-right-4 babylai-rounded-3xl babylai-shadow-lg babylai-z-50 babylai-flex babylai-flex-col",
|
|
6105
6105
|
children: [jsxRuntime.jsxs("header", {
|
|
6106
|
-
className: 'babylai-border-b babylai-pb-4 babylai-flex babylai-items-center babylai-justify-between babylai-gap-4',
|
|
6106
|
+
className: 'babylai-border-t-0 babylai-border-x-0 babylai-border-b babylai-border-solid babylai-border-gray-400 babylai-pb-4 babylai-flex babylai-items-center babylai-justify-between babylai-gap-4',
|
|
6107
6107
|
children: [jsxRuntime.jsx("h2", {
|
|
6108
|
-
className: "babylai-text-lg babylai-font-semibold dark:babylai-text-white",
|
|
6108
|
+
className: "babylai-text-lg babylai-font-semibold dark:babylai-text-white babylai-m-0",
|
|
6109
6109
|
children: t('homeSdk.ReviewDialog.title')
|
|
6110
6110
|
}), jsxRuntime.jsx(CloseCircle$1, {
|
|
6111
6111
|
className: "babylai-w-6 babylai-h-6 babylai-cursor-pointer babylai-text-primary-500 dark:babylai-text-white",
|
|
@@ -6114,16 +6114,19 @@ var ReviewDialog = props => {
|
|
|
6114
6114
|
}), jsxRuntime.jsxs("div", {
|
|
6115
6115
|
className: "babylai-flex babylai-flex-col babylai-gap-2",
|
|
6116
6116
|
children: [jsxRuntime.jsx("p", {
|
|
6117
|
-
className: "babylai-text-sm babylai-
|
|
6117
|
+
className: "babylai-text-sm babylai-mb-3 babylai-mt-0 babylai-text-gray-600 dark:babylai-text-white",
|
|
6118
6118
|
children: t('homeSdk.ReviewDialog.description')
|
|
6119
6119
|
}), jsxRuntime.jsxs("div", {
|
|
6120
|
-
className: "babylai-flex babylai-
|
|
6121
|
-
children: [jsxRuntime.
|
|
6122
|
-
className: "babylai-
|
|
6123
|
-
children:
|
|
6124
|
-
|
|
6125
|
-
|
|
6126
|
-
|
|
6120
|
+
className: "babylai-flex babylai-flex-col babylai-gap-2",
|
|
6121
|
+
children: [jsxRuntime.jsxs("div", {
|
|
6122
|
+
className: "babylai-flex babylai-items-center babylai-gap-2",
|
|
6123
|
+
children: [jsxRuntime.jsx("span", {
|
|
6124
|
+
className: "babylai-text-base babylai-font-medium dark:babylai-text-white",
|
|
6125
|
+
children: t('homeSdk.ReviewDialog.rating_label')
|
|
6126
|
+
}), jsxRuntime.jsx(Rating, {
|
|
6127
|
+
value: rating,
|
|
6128
|
+
onChange: handleRatingChange
|
|
6129
|
+
})]
|
|
6127
6130
|
}), jsxRuntime.jsx("span", {
|
|
6128
6131
|
className: "babylai-text-sm babylai-text-red-500 babylai-transition-opacity babylai-duration-300 ".concat(error.rating ? 'babylai-opacity-100' : 'babylai-opacity-0'),
|
|
6129
6132
|
children: error.rating
|
|
@@ -6136,7 +6139,7 @@ var ReviewDialog = props => {
|
|
|
6136
6139
|
children: t('homeSdk.ReviewDialog.comment_label')
|
|
6137
6140
|
}), jsxRuntime.jsx("textarea", {
|
|
6138
6141
|
id: 'comment',
|
|
6139
|
-
className: "babylai-bg-black-white-100 babylai-p-6 babylai-rounded-xl babylai-resize-none dark:babylai-bg-storm-dust-900 dark:babylai-text-white",
|
|
6142
|
+
className: "babylai-bg-black-white-100 babylai-p-6 babylai-rounded-xl babylai-resize-none babylai-border-none dark:babylai-bg-storm-dust-900 dark:babylai-text-white",
|
|
6140
6143
|
rows: 4,
|
|
6141
6144
|
placeholder: t('homeSdk.ReviewDialog.comment_placeholder'),
|
|
6142
6145
|
value: comment,
|
|
@@ -34018,7 +34021,7 @@ var ChatWindowFooter = props => {
|
|
|
34018
34021
|
onChange: e => props.setInputMessage(e.target.value),
|
|
34019
34022
|
onKeyDown: props.handleKeyDown,
|
|
34020
34023
|
placeholder: t('homeSdk.placeholder'),
|
|
34021
|
-
className: 'babylai-flex-1 babylai-py-2 babylai-px-4 babylai-bg-transparent babylai-outline-none babylai-text-sm dark:babylai-text-white'
|
|
34024
|
+
className: 'babylai-flex-1 babylai-py-2 babylai-px-4 babylai-bg-transparent babylai-outline-none babylai-text-sm dark:babylai-text-white babylai-border-none'
|
|
34022
34025
|
}), jsxRuntime.jsx(Button, {
|
|
34023
34026
|
variant: 'default',
|
|
34024
34027
|
size: 'icon',
|
|
@@ -34156,7 +34159,7 @@ var TypingIndicator = /*#__PURE__*/React__default["default"].memo(_ref2 => {
|
|
|
34156
34159
|
}), jsxRuntime.jsx("div", {
|
|
34157
34160
|
className: 'babylai-max-w-[80%] babylai-rounded-2xl babylai-p-4 babylai-bg-white dark:!babylai-bg-storm-dust-900',
|
|
34158
34161
|
children: jsxRuntime.jsx("p", {
|
|
34159
|
-
className: 'babylai-text-sm babylai-opacity-70 dark:babylai-text-white',
|
|
34162
|
+
className: 'babylai-text-sm babylai-opacity-70 dark:babylai-text-white babylai-m-0',
|
|
34160
34163
|
children: "..."
|
|
34161
34164
|
})
|
|
34162
34165
|
})]
|
|
@@ -34368,7 +34371,7 @@ var ChatWindowHeader = props => {
|
|
|
34368
34371
|
children: [jsxRuntime.jsx(Button, {
|
|
34369
34372
|
variant: "rounded-icon",
|
|
34370
34373
|
size: "icon",
|
|
34371
|
-
className: "babylai-bg-primary-100 dark
|
|
34374
|
+
className: "!babylai-bg-primary-100 dark:!babylai-bg-storm-dust-950",
|
|
34372
34375
|
onClick: props.handleBack,
|
|
34373
34376
|
children: jsxRuntime.jsx(ArrowRight, {
|
|
34374
34377
|
className: "babylai-w-3 babylai-h-3 ".concat(isRTL ? "" : "babylai-rotate-180", " babylai-text-primary-500 dark:babylai-text-white")
|
|
@@ -34378,7 +34381,7 @@ var ChatWindowHeader = props => {
|
|
|
34378
34381
|
children: [jsxRuntime.jsx(Button, {
|
|
34379
34382
|
variant: "rounded-icon",
|
|
34380
34383
|
size: "icon",
|
|
34381
|
-
className: "babylai-bg-primary-100 dark
|
|
34384
|
+
className: "!babylai-bg-primary-100 dark:!babylai-bg-storm-dust-950",
|
|
34382
34385
|
onClick: () => setShowMenu(!showMenu),
|
|
34383
34386
|
children: jsxRuntime.jsx(ThreeDots, {
|
|
34384
34387
|
className: "babylai-w-3.5 babylai-h-1 babylai-text-primary-500 dark:babylai-text-white"
|
|
@@ -34438,7 +34441,7 @@ var ChatBotErrorScreen = props => {
|
|
|
34438
34441
|
return jsxRuntime.jsx("div", {
|
|
34439
34442
|
className: "babylai-w-full babylai-h-full babylai-bg-black-white-50 babylai-rounded-3xl babylai-shadow-lg babylai-z-50 babylai-flex babylai-flex-col",
|
|
34440
34443
|
children: jsxRuntime.jsxs("div", {
|
|
34441
|
-
className: "babylai-h-full babylai-rounded-3xl babylai-flex babylai-flex-col babylai-
|
|
34444
|
+
className: "babylai-h-full babylai-rounded-3xl babylai-flex babylai-flex-col babylai-py-6 md:babylai-py-8 babylai-px-6 babylai-gap-4 md:babylai-gap-8 babylai-bg-linear-to-b",
|
|
34442
34445
|
children: [jsxRuntime.jsx(Header$1, {
|
|
34443
34446
|
onClose: props.onClose,
|
|
34444
34447
|
logoUrl: props.logoUrl
|
|
@@ -34462,12 +34465,12 @@ var Card = props => {
|
|
|
34462
34465
|
return jsxRuntime.jsxs("div", {
|
|
34463
34466
|
className: "babylai-flex babylai-items-center babylai-justify-between babylai-gap-4 babylai-bg-black-white-50 babylai-rounded-3xl babylai-p-6 dark:babylai-bg-storm-dust-900",
|
|
34464
34467
|
children: [jsxRuntime.jsx("p", {
|
|
34465
|
-
className: "babylai-text-base md:babylai-text-lg babylai-font-medium babylai-text-black-white-800 dark:babylai-text-white",
|
|
34468
|
+
className: "babylai-text-base md:babylai-text-lg babylai-font-medium babylai-text-black-white-800 dark:babylai-text-white babylai-m-0",
|
|
34466
34469
|
children: props.text
|
|
34467
34470
|
}), jsxRuntime.jsx(Button, {
|
|
34468
34471
|
variant: "rounded-icon",
|
|
34469
34472
|
size: "icon",
|
|
34470
|
-
className: "babylai-bg-primary-500 babylai-text-black-white-50 hover
|
|
34473
|
+
className: "!babylai-bg-primary-500 babylai-text-black-white-50 hover:!babylai-bg-primary-600 md:!babylai-w-10 md:!babylai-h-10",
|
|
34471
34474
|
onClick: () => props.handleClick(),
|
|
34472
34475
|
children: jsxRuntime.jsx(ArrowRight, {
|
|
34473
34476
|
className: "babylai-w-4 babylai-h-4 ".concat(!isRTL ? "" : "babylai-rotate-180")
|
|
@@ -34493,10 +34496,10 @@ var ChatNowCard = props => {
|
|
|
34493
34496
|
}), jsxRuntime.jsxs("div", {
|
|
34494
34497
|
className: "babylai-flex babylai-flex-col babylai-gap-0 babylai-text-base",
|
|
34495
34498
|
children: [jsxRuntime.jsx("p", {
|
|
34496
|
-
className: "babylai-font-semibold babylai-text-black-white-500 dark:babylai-text-white",
|
|
34499
|
+
className: "babylai-font-semibold babylai-text-black-white-500 dark:babylai-text-white babylai-m-0",
|
|
34497
34500
|
children: "BabylAI"
|
|
34498
34501
|
}), jsxRuntime.jsx("p", {
|
|
34499
|
-
className: "babylai-font-semibold babylai-text-black-white-800 dark:babylai-text-white",
|
|
34502
|
+
className: "babylai-font-semibold babylai-text-black-white-800 dark:babylai-text-white babylai-m-0",
|
|
34500
34503
|
children: t('homeSdk.welcomeMessage')
|
|
34501
34504
|
})]
|
|
34502
34505
|
})]
|
|
@@ -34527,7 +34530,7 @@ var HomeScreen = props => {
|
|
|
34527
34530
|
onClose: props.onClose,
|
|
34528
34531
|
logoUrl: props.logoUrl
|
|
34529
34532
|
}), jsxRuntime.jsxs("h1", {
|
|
34530
|
-
className: "babylai-text-2xl md:babylai-text-4xl babylai-font-bold babylai-text-white",
|
|
34533
|
+
className: "babylai-text-2xl md:babylai-text-4xl babylai-font-bold babylai-text-white babylai-m-0",
|
|
34531
34534
|
children: [t('homeSdk.chatTitle'), jsxRuntime.jsx("br", {}), "BabylAI \uD83D\uDE80"]
|
|
34532
34535
|
}), jsxRuntime.jsxs("div", {
|
|
34533
34536
|
className: "babylai-flex babylai-flex-col babylai-gap-3",
|
|
@@ -34550,7 +34553,7 @@ var ChatBotLoadingScreen = props => {
|
|
|
34550
34553
|
className: "babylai-w-full babylai-h-full babylai-bg-black-white-50 dark:babylai-bg-storm-dust-950 babylai-rounded-3xl babylai-shadow-lg babylai-flex babylai-flex-col",
|
|
34551
34554
|
children: jsxRuntime.jsxs("div", {
|
|
34552
34555
|
className: cn('babylai-rounded-3xl babylai-h-full babylai-flex babylai-flex-col babylai-py-6 md:babylai-py-8 babylai-px-6 babylai-gap-4 md:babylai-gap-8', {
|
|
34553
|
-
'babylai-bg-
|
|
34556
|
+
'babylai-bg-linear-to-b': !props.isShowList,
|
|
34554
34557
|
'babylai-bg-black-white-100 dark:babylai-bg-storm-dust-950': props.isShowList
|
|
34555
34558
|
}),
|
|
34556
34559
|
children: [jsxRuntime.jsx(Header$1, {
|
|
@@ -34581,7 +34584,7 @@ var ExpandedOption = _ref => {
|
|
|
34581
34584
|
children: [jsxRuntime.jsx(CardContent, {
|
|
34582
34585
|
className: "babylai-transition-all babylai-duration-300 babylai-ease-in-out babylai-flex babylai-flex-col babylai-gap-1",
|
|
34583
34586
|
children: option.paragraphs.map((paragraph, index) => jsxRuntime.jsx("p", {
|
|
34584
|
-
className: "babylai-font-semibold babylai-text-base babylai-text-black-white-800 dark:babylai-text-white",
|
|
34587
|
+
className: "babylai-font-semibold babylai-text-base babylai-text-black-white-800 dark:babylai-text-white babylai-m-0",
|
|
34585
34588
|
children: paragraph
|
|
34586
34589
|
}, index))
|
|
34587
34590
|
}), (option === null || option === void 0 ? void 0 : option.chatWithUs) && jsxRuntime.jsx(CardFooter, {
|
|
@@ -34665,7 +34668,7 @@ var OptionsListHeader = _ref => {
|
|
|
34665
34668
|
children: [jsxRuntime.jsx(Button, {
|
|
34666
34669
|
variant: "rounded-icon",
|
|
34667
34670
|
size: "icon",
|
|
34668
|
-
className: "!babylai-w-12 !babylai-h-12
|
|
34671
|
+
className: "!babylai-w-12 !babylai-h-12 !babylai-bg-black-white-50 dark:!babylai-bg-storm-dust-900 babylai-relative babylai-z-10",
|
|
34669
34672
|
onClick: handleBack,
|
|
34670
34673
|
children: showHelpScreen ? jsxRuntime.jsx(ArrowRight, {
|
|
34671
34674
|
className: "".concat(!isRTL ? "" : "babylai-rotate-180", " babylai-text-primary-500 babylai-w-full babylai-h-full")
|
|
@@ -34687,12 +34690,12 @@ var OptionCard = props => {
|
|
|
34687
34690
|
return jsxRuntime.jsxs("div", {
|
|
34688
34691
|
className: "babylai-flex babylai-items-center babylai-justify-between babylai-p-2",
|
|
34689
34692
|
children: [jsxRuntime.jsx("p", {
|
|
34690
|
-
className: "babylai-text-sm babylai-font-medium babylai-text-black-white-800 dark:babylai-text-white",
|
|
34693
|
+
className: "babylai-text-sm babylai-font-medium babylai-text-black-white-800 dark:babylai-text-white babylai-m-0",
|
|
34691
34694
|
children: props.title
|
|
34692
34695
|
}), jsxRuntime.jsx(Button, {
|
|
34693
34696
|
variant: "rounded-icon",
|
|
34694
34697
|
size: "icon",
|
|
34695
|
-
className: "babylai-text-primary-500 hover
|
|
34698
|
+
className: "babylai-text-primary-500 hover:!babylai-bg-primary-100",
|
|
34696
34699
|
children: jsxRuntime.jsx(ArrowRight, {
|
|
34697
34700
|
className: "babylai-w-3 babylai-h-3 ".concat(!isRTL ? "" : "babylai-rotate-180", " babylai-text-primary-500 dark:babylai-text-white")
|
|
34698
34701
|
})
|
|
@@ -34724,7 +34727,7 @@ var OptionsListScreen = _ref => {
|
|
|
34724
34727
|
handleBack: handleBack,
|
|
34725
34728
|
showHelpScreen: showHelpScreen
|
|
34726
34729
|
}), jsxRuntime.jsx("h1", {
|
|
34727
|
-
className: 'babylai-text-4xl babylai-font-bold babylai-mb-4 babylai-text-black-white-800 dark:babylai-text-white',
|
|
34730
|
+
className: 'babylai-text-4xl babylai-font-bold babylai-mb-4 babylai-text-black-white-800 dark:babylai-text-white babylai-mt-0',
|
|
34728
34731
|
children: helpScreen === null || helpScreen === void 0 ? void 0 : helpScreen.title
|
|
34729
34732
|
}), helpScreen && jsxRuntime.jsx("div", {
|
|
34730
34733
|
className: 'babylai-flex babylai-flex-col babylai-gap-3 babylai-mt-3 babylai-mb-3',
|
|
@@ -34796,10 +34799,10 @@ var ConfirmationModal = _ref => {
|
|
|
34796
34799
|
}), jsxRuntime.jsxs("div", {
|
|
34797
34800
|
className: 'babylai-bg-black-white-100 dark:babylai-bg-storm-dust-900 babylai-rounded-3xl babylai-p-4 babylai-w-[220px] babylai-z-50 babylai-shadow-lg',
|
|
34798
34801
|
children: [jsxRuntime.jsx("h3", {
|
|
34799
|
-
className: 'babylai-text-black-white-900 babylai-font-bold babylai-mb-2 babylai-text-center dark:babylai-text-white',
|
|
34802
|
+
className: 'babylai-text-black-white-900 babylai-font-bold babylai-text-sm babylai-mb-2 babylai-text-center babylai-mt-0 dark:babylai-text-white',
|
|
34800
34803
|
children: title
|
|
34801
34804
|
}), jsxRuntime.jsx("p", {
|
|
34802
|
-
className: 'babylai-text-black-white-700 babylai-text-xs babylai-mb-4 dark:babylai-text-white',
|
|
34805
|
+
className: 'babylai-text-black-white-700 babylai-text-xs babylai-mb-4 dark:babylai-text-white babylai-mt-0',
|
|
34803
34806
|
children: message
|
|
34804
34807
|
}), jsxRuntime.jsxs("div", {
|
|
34805
34808
|
className: 'babylai-flex babylai-justify-end babylai-gap-2 babylai-w-full',
|
|
@@ -34832,7 +34835,7 @@ var PoweredBy = () => {
|
|
|
34832
34835
|
href: "https://www.babylai.net/",
|
|
34833
34836
|
target: "_blank",
|
|
34834
34837
|
rel: "noopener noreferrer",
|
|
34835
|
-
className: "babylai-text-xs babylai-opacity-60 hover:babylai-opacity-100",
|
|
34838
|
+
className: "babylai-text-xs babylai-opacity-60 hover:babylai-opacity-100 babylai-transition-all",
|
|
34836
34839
|
children: [t('homeSdk.poweredBy'), " BabylAI \u00A9 2025"]
|
|
34837
34840
|
})
|
|
34838
34841
|
});
|
|
@@ -35000,7 +35003,7 @@ var HelpPopup = _ref => {
|
|
|
35000
35003
|
return jsxRuntime.jsx(Button, {
|
|
35001
35004
|
variant: 'rounded-icon',
|
|
35002
35005
|
size: 'icon',
|
|
35003
|
-
className: 'babylai-bg-primary-500 babylai-absolute babylai-bottom-4 babylai-right-3 babylai-z-20 !babylai-w-10 !babylai-h-10 babylai-p-2',
|
|
35006
|
+
className: '!babylai-bg-primary-500 babylai-absolute babylai-bottom-4 babylai-right-3 babylai-z-20 !babylai-w-10 !babylai-h-10 babylai-p-2',
|
|
35004
35007
|
onClick: handleShowActiveChat,
|
|
35005
35008
|
children: jsxRuntime.jsx(ChatIcon, {
|
|
35006
35009
|
className: 'babylai-w-5 babylai-h-5 babylai-text-black-white-50'
|
|
@@ -35040,7 +35043,7 @@ var HelpPopup = _ref => {
|
|
|
35040
35043
|
className: 'babylai-fixed babylai-inset-0 md:babylai-inset-auto md:babylai-max-w-sm md:babylai-h-[calc(100vh-220px)] babylai-max-h-[800px]\n babylai-overflow-auto babylai-w-full babylai-bg-black-white-50 md:babylai-mb-4\nmd:babylai-bottom-[6rem] md:babylai-right-4 babylai-rounded-none md:babylai-rounded-3xl babylai-shadow-lg babylai-z-50 babylai-flex babylai-flex-col',
|
|
35041
35044
|
children: jsxRuntime.jsxs("div", {
|
|
35042
35045
|
className: cn('babylai-h-full babylai-rounded-none md:babylai-rounded-3xl babylai-flex babylai-flex-col babylai-relative', {
|
|
35043
|
-
'babylai-bg-
|
|
35046
|
+
'babylai-bg-linear-to-b': !isShowList,
|
|
35044
35047
|
'babylai-bg-black-white-100 dark:babylai-bg-storm-dust-950': isShowList
|
|
35045
35048
|
}),
|
|
35046
35049
|
children: [activeChatButton, renderContent(), jsxRuntime.jsx(PoweredBy$1, {}), confirmationModal, startNewChatConfirmation && jsxRuntime.jsx(ConfirmationModal$1, {
|