@aslaluroba/help-center-react 3.2.7 → 3.2.8
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 +14 -14
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +14 -14
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/shared/Button/button.tsx +1 -1
- package/src/globals.css +110 -116
- package/src/ui/chatbot-popup/chat-window-screen/action-button.tsx +1 -1
- package/src/ui/chatbot-popup/chat-window-screen/footer.tsx +3 -3
- package/src/ui/chatbot-popup/chat-window-screen/header.tsx +1 -1
- package/src/ui/chatbot-popup/options-list-screen/company-card.tsx +9 -7
- package/src/ui/chatbot-popup/options-list-screen/helpscreen-intro.tsx +1 -1
- package/src/ui/chatbot-popup/options-list-screen/helpscreen-option.tsx +2 -2
- package/src/ui/confirmation-modal/index.tsx +2 -2
- package/src/ui/review-dialog/index.tsx +2 -2
package/dist/index.js
CHANGED
|
@@ -34341,7 +34341,7 @@ var buttonVariants = cva('babylai:border babylai:disabled:bg-black-white-300 bab
|
|
|
34341
34341
|
variants: {
|
|
34342
34342
|
variant: {
|
|
34343
34343
|
default: 'babylai:bg-primary babylai:border-primary babylai:text-white babylai:hover:bg-primary-600 babylai:hover:border-primary-600',
|
|
34344
|
-
secondary: 'babylai:text-primary babylai:hover:bg-primary-100 babylai:hover:border-primary-200',
|
|
34344
|
+
secondary: 'babylai:bg-transparent babylai:border-primary babylai:text-primary babylai:hover:bg-primary-100 babylai:hover:border-primary-200',
|
|
34345
34345
|
ghost: 'babylai:bg-transparent babylai:p-2 babylai:text-secondary-foreground babylai:shadow-sm babylai:hover:bg-secondary/80'
|
|
34346
34346
|
},
|
|
34347
34347
|
size: {
|
|
@@ -38577,7 +38577,7 @@ var ChatWindowFooter = props => {
|
|
|
38577
38577
|
})
|
|
38578
38578
|
}), jsxRuntime.jsx("button", {
|
|
38579
38579
|
onClick: () => handleRemoveFile(file.previewUrl),
|
|
38580
|
-
className: 'babylai:absolute babylai:-top-2 babylai:-right-2 babylai:bg-destructive babylai:text-white babylai:rounded-full babylai:w-5 babylai:h-5 babylai:flex babylai:items-center babylai:justify-center babylai:cursor-pointer',
|
|
38580
|
+
className: 'babylai:border-0 babylai:p-0 babylai:absolute babylai:-top-2 babylai:-right-2 babylai:bg-destructive babylai:text-white babylai:rounded-full babylai:w-5 babylai:h-5 babylai:flex babylai:items-center babylai:justify-center babylai:cursor-pointer',
|
|
38581
38581
|
type: 'button',
|
|
38582
38582
|
"aria-label": 'Remove image',
|
|
38583
38583
|
children: jsxRuntime.jsx(ForwardRef$a, {
|
|
@@ -38599,7 +38599,7 @@ var ChatWindowFooter = props => {
|
|
|
38599
38599
|
children: jsxRuntime.jsx("button", {
|
|
38600
38600
|
onClick: handleAttachClick,
|
|
38601
38601
|
disabled: props.isLoading || props.isChatClosed,
|
|
38602
|
-
className: 'babylai:flex babylai:items-center babylai:justify-center babylai:rounded-full babylai:w-8 babylai:h-8 babylai:cursor-pointer babylai:bg-secondary babylai:text-muted-foreground babylai:hover:text-primary-500 babylai:transition-colors babylai:disabled:opacity-50 babylai:disabled:cursor-not-allowed',
|
|
38602
|
+
className: 'babylai:flex babylai:items-center babylai:justify-center babylai:border-0 babylai:rounded-full babylai:w-8 babylai:h-8 babylai:cursor-pointer babylai:bg-secondary babylai:text-muted-foreground babylai:hover:text-primary-500 babylai:transition-colors babylai:disabled:opacity-50 babylai:disabled:cursor-not-allowed',
|
|
38603
38603
|
type: 'button',
|
|
38604
38604
|
"aria-label": 'Attach image',
|
|
38605
38605
|
children: jsxRuntime.jsx(ForwardRef$6, {
|
|
@@ -38617,7 +38617,7 @@ var ChatWindowFooter = props => {
|
|
|
38617
38617
|
}), jsxRuntime.jsx("button", {
|
|
38618
38618
|
onClick: handleSendMessageWithAttachments,
|
|
38619
38619
|
disabled: isSendDisabled || props.isChatClosed,
|
|
38620
|
-
className: 'babylai:rounded-full babylai:bg-primary-500 babylai:hover:bg-primary-600 babylai:w-8 babylai:h-8 babylai:p-0 babylai:flex babylai:items-center babylai:justify-center babylai:disabled:opacity-50 babylai:text-white babylai:cursor-pointer babylai:disabled:cursor-not-allowed',
|
|
38620
|
+
className: 'babylai:border-0 babylai:rounded-full babylai:bg-primary-500 babylai:hover:bg-primary-600 babylai:w-8 babylai:h-8 babylai:p-0 babylai:flex babylai:items-center babylai:justify-center babylai:disabled:opacity-50 babylai:text-white babylai:cursor-pointer babylai:disabled:cursor-not-allowed',
|
|
38621
38621
|
type: 'button',
|
|
38622
38622
|
children: showLoading ? jsxRuntime.jsx("div", {
|
|
38623
38623
|
className: 'babylai:inline-block babylai:animate-spin babylai:rounded-full babylai:h-4 babylai:w-4 babylai:aspect-square babylai:border-2 babylai:border-white babylai:border-t-transparent babylai:box-border'
|
|
@@ -39300,7 +39300,7 @@ var ActionButton = _ref => {
|
|
|
39300
39300
|
} = _ref;
|
|
39301
39301
|
return jsxRuntime.jsxs("button", {
|
|
39302
39302
|
onClick: onClick,
|
|
39303
|
-
className: cn('babylai:bg-card babylai:text-card-foreground babylai:h-6 babylai:w-8 babylai:rounded-full babylai:flex babylai:items-center babylai:justify-center babylai:font-bold babylai:text-base babylai:
|
|
39303
|
+
className: cn('babylai:bg-card babylai:text-card-foreground babylai:h-6 babylai:w-8 babylai:rounded-full babylai:flex babylai:items-center babylai:justify-center babylai:font-bold babylai:text-base babylai:cursor-pointer babylai:border-0', className),
|
|
39304
39304
|
"aria-label": ariaLabel,
|
|
39305
39305
|
type: "button",
|
|
39306
39306
|
children: [icon, children]
|
|
@@ -39383,7 +39383,7 @@ var ChatWindowHeader = _ref => {
|
|
|
39383
39383
|
ariaLabel: "End Chat"
|
|
39384
39384
|
})]
|
|
39385
39385
|
}), jsxRuntime.jsx("h2", {
|
|
39386
|
-
className: "babylai:text-lg babylai:font-semibold babylai:
|
|
39386
|
+
className: "babylai:text-lg babylai:font-semibold babylai:text-card-foreground",
|
|
39387
39387
|
children: optionTitle
|
|
39388
39388
|
}), jsxRuntime.jsx(ActionButton, {
|
|
39389
39389
|
onClick: handleMinimize,
|
|
@@ -39455,7 +39455,7 @@ var CompanyCard = _ref => {
|
|
|
39455
39455
|
className: 'babylai:border-b babylai:border-black-white-200',
|
|
39456
39456
|
children: jsxRuntime.jsxs("div", {
|
|
39457
39457
|
className: "babylai:flex babylai:items-center babylai:gap-3 babylai:p-6 babylai:mb-6 babylai:rounded-3xl babylai:border babylai:border-black-white-200 babylai:bg-card",
|
|
39458
|
-
children: [jsxRuntime.jsx("div", {
|
|
39458
|
+
children: [logoUrl && jsxRuntime.jsx("div", {
|
|
39459
39459
|
className: "babylai:shrink-0 babylai:w-12 babylai:h-12 babylai:rounded-md babylai:overflow-hidden",
|
|
39460
39460
|
children: jsxRuntime.jsx("img", {
|
|
39461
39461
|
src: logoUrl,
|
|
@@ -39498,7 +39498,7 @@ var HelpscreenIntro = _ref => {
|
|
|
39498
39498
|
fill: "currentColor"
|
|
39499
39499
|
})
|
|
39500
39500
|
}), jsxRuntime.jsx("h1", {
|
|
39501
|
-
className: "babylai:text-2xl babylai:font-semibold babylai:text-card-foreground",
|
|
39501
|
+
className: "babylai:text-2xl! babylai:font-semibold! babylai:text-card-foreground",
|
|
39502
39502
|
children: title
|
|
39503
39503
|
})]
|
|
39504
39504
|
});
|
|
@@ -39512,10 +39512,10 @@ var HelpscreenOption = _ref => {
|
|
|
39512
39512
|
onClick
|
|
39513
39513
|
} = _ref;
|
|
39514
39514
|
return jsxRuntime.jsxs("div", {
|
|
39515
|
-
className: cn('babylai:flex babylai:flex-col babylai:p-6 babylai:rounded-3xl babylai:text-start babylai:border babylai:border-black-white-200 babylai:bg-card babylai:cursor-pointer', isSelected && 'babylai:ring babylai:ring-primary-500 babylai:shadow-md'),
|
|
39515
|
+
className: cn('babylai:flex babylai:flex-col babylai:gap-2 babylai:p-6 babylai:rounded-3xl babylai:text-start babylai:border babylai:border-black-white-200 babylai:bg-card babylai:cursor-pointer', isSelected && 'babylai:ring babylai:ring-primary-500 babylai:shadow-md'),
|
|
39516
39516
|
onClick: onClick,
|
|
39517
39517
|
children: [jsxRuntime.jsx("h2", {
|
|
39518
|
-
className: "babylai:text-base babylai:font-semibold babylai:
|
|
39518
|
+
className: "babylai:text-base! babylai:font-semibold! babylai:text-card-foreground",
|
|
39519
39519
|
dir: "auto",
|
|
39520
39520
|
children: option.title
|
|
39521
39521
|
}), option.paragraphs.map((paragraph, index) => jsxRuntime.jsx("p", {
|
|
@@ -39713,7 +39713,7 @@ var ConfirmationModal = _ref => {
|
|
|
39713
39713
|
}), jsxRuntime.jsxs("div", {
|
|
39714
39714
|
className: 'babylai:flex babylai:flex-col babylai:bg-card babylai:rounded-2xl babylai:p-6 babylai:pb-5 babylai:w-full babylai:z-50 babylai:shadow-lg',
|
|
39715
39715
|
children: [jsxRuntime.jsx("button", {
|
|
39716
|
-
className: "babylai:cursor-pointer babylai:mb-6 babylai:ms-auto babylai:text-card-foreground",
|
|
39716
|
+
className: "babylai:border-0 babylai:p-0 babylai:flex babylai:bg-transparent babylai:cursor-pointer babylai:mb-6 babylai:ms-auto babylai:text-card-foreground",
|
|
39717
39717
|
type: 'button',
|
|
39718
39718
|
onClick: onCancel,
|
|
39719
39719
|
children: jsxRuntime.jsx(ForwardRef, {
|
|
@@ -39728,7 +39728,7 @@ var ConfirmationModal = _ref => {
|
|
|
39728
39728
|
})
|
|
39729
39729
|
})
|
|
39730
39730
|
}), jsxRuntime.jsx("h3", {
|
|
39731
|
-
className: 'babylai:text-2xl babylai:text-center babylai:font-bold babylai:mb-2 babylai:text-card-foreground',
|
|
39731
|
+
className: 'babylai:text-2xl! babylai:text-center babylai:font-bold! babylai:mb-2! babylai:text-card-foreground',
|
|
39732
39732
|
children: title
|
|
39733
39733
|
}), jsxRuntime.jsx("p", {
|
|
39734
39734
|
className: 'babylai:text-sm babylai:text-center babylai:text-muted-foreground',
|
|
@@ -39788,7 +39788,7 @@ var ReviewDialog = props => {
|
|
|
39788
39788
|
}), jsxRuntime.jsxs("div", {
|
|
39789
39789
|
className: 'babylai:flex babylai:flex-col babylai:bg-card babylai:rounded-2xl babylai:p-6 babylai:pb-5 babylai:w-full babylai:z-50 babylai:shadow-lg',
|
|
39790
39790
|
children: [jsxRuntime.jsx("button", {
|
|
39791
|
-
className: "babylai:cursor-pointer babylai:mb-6 babylai:ms-auto babylai:text-card-foreground",
|
|
39791
|
+
className: "babylai:border-0 babylai:p-0 babylai:flex babylai:bg-transparent babylai:cursor-pointer babylai:mb-6 babylai:ms-auto babylai:text-card-foreground",
|
|
39792
39792
|
type: 'button',
|
|
39793
39793
|
onClick: props.onClose,
|
|
39794
39794
|
children: jsxRuntime.jsx(ForwardRef, {
|
|
@@ -39802,7 +39802,7 @@ var ReviewDialog = props => {
|
|
|
39802
39802
|
size: 'lg'
|
|
39803
39803
|
})
|
|
39804
39804
|
}), jsxRuntime.jsx("h2", {
|
|
39805
|
-
className: "babylai:text-2xl babylai:text-center babylai:font-bold babylai:mb-2 babylai:text-card-foreground",
|
|
39805
|
+
className: "babylai:text-2xl babylai:text-center babylai:font-bold babylai:mb-2! babylai:text-card-foreground",
|
|
39806
39806
|
children: t('homeSdk.ReviewDialog.title')
|
|
39807
39807
|
}), jsxRuntime.jsx("p", {
|
|
39808
39808
|
className: "babylai:text-sm babylai:text-center babylai:text-muted-foreground babylai:mb-4",
|