@envive-ai/react-toolkit-v3 0.3.28 → 0.3.29
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/AnimatedText/AnimatedText.d.ts +3 -3
- package/dist/CSSVariablesEditor/CssVariablesEditorComponent.d.cts +2 -2
- package/dist/CSSVariablesEditor/CssVariablesEditorComponent.d.ts +2 -2
- package/dist/Carousel/Carousel.d.ts +2 -2
- package/dist/ChatFooter/ChatFooter.d.ts +2 -2
- package/dist/ChatFooter/components/index.d.ts +5 -5
- package/dist/ChatHeader/ChatHeader.d.cts +2 -2
- package/dist/ChatHeader/ChatHeader.d.ts +2 -2
- package/dist/ChatPreview/ChatPreview.d.cts +2 -2
- package/dist/ChatPreview/ChatPreview.d.ts +2 -2
- package/dist/ChatPreviewComparison/ChatPreviewComparison.d.ts +2 -2
- package/dist/ChatPreviewLoading/ChatPreviewLoading.d.cts +2 -2
- package/dist/ChatPreviewLoading/ChatPreviewLoading.d.ts +2 -2
- package/dist/Container/Container.d.cts +8 -8
- package/dist/Container/Container.d.ts +8 -8
- package/dist/DesignTokens/DesignTokensComponent.d.cts +2 -2
- package/dist/DesignTokens/DesignTokensComponent.d.ts +2 -2
- package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.cts +2 -2
- package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.ts +2 -2
- package/dist/FloatingButton/FloatingButton.d.cts +2 -2
- package/dist/FloatingButton/FloatingButton.d.ts +2 -2
- package/dist/FloatingChat/FloatingChat.d.cts +2 -2
- package/dist/FloatingChat/FloatingChat.d.ts +2 -2
- package/dist/FullPageSalesAgent/FullPageSalesAgent.cjs +1 -2
- package/dist/FullPageSalesAgent/FullPageSalesAgent.d.cts +2 -2
- package/dist/FullPageSalesAgent/FullPageSalesAgent.d.ts +2 -2
- package/dist/FullPageSalesAgent/FullPageSalesAgent.js +1 -2
- package/dist/FullPageSalesAgent/components/Layout.cjs +24 -27
- package/dist/FullPageSalesAgent/components/Layout.js +24 -27
- package/dist/FullPageSalesAgent/components/WelcomeOverlay.cjs +27 -17
- package/dist/FullPageSalesAgent/components/WelcomeOverlay.js +27 -17
- package/dist/Image/Image.d.cts +2 -2
- package/dist/Image/Image.d.ts +2 -2
- package/dist/ImageGallery/ImageGallery.d.cts +2 -2
- package/dist/ImageGallery/ImageGallery.d.ts +2 -2
- package/dist/MarkdownProcessor/MarkdownProcessor.d.cts +2 -2
- package/dist/MarkdownProcessor/MarkdownProcessor.d.ts +2 -2
- package/dist/ProductCard/ProductCard.d.cts +2 -2
- package/dist/ProductCard/ProductCard.d.ts +2 -2
- package/dist/PromptButton/PromptButton.d.cts +2 -2
- package/dist/PromptButton/PromptButton.d.ts +2 -2
- package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.cts +2 -2
- package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.ts +2 -2
- package/dist/PromptCarousel/PromptCarousel.d.cts +2 -2
- package/dist/PromptCarousel/PromptCarousel.d.ts +2 -2
- package/dist/ReviewCard/ReviewCard.d.cts +2 -2
- package/dist/ReviewCard/ReviewCard.d.ts +2 -2
- package/dist/ReviewCard/components/index.d.cts +6 -6
- package/dist/ReviewCard/components/index.d.ts +4 -4
- package/dist/SalesAgentProductCard/SalesAgentProductCard.d.cts +2 -2
- package/dist/SalesAgentProductCard/SalesAgentProductCard.d.ts +2 -2
- package/dist/SalesAgentProductCard/components/index.d.cts +6 -6
- package/dist/SalesAgentProductCard/components/index.d.ts +8 -8
- package/dist/SocialProof/SocialProof.d.cts +2 -2
- package/dist/SocialProof/SocialProof.d.ts +2 -2
- package/dist/SparkleAnimation/SparkleAnimation.d.cts +2 -2
- package/dist/SparkleAnimation/SparkleAnimation.d.ts +2 -2
- package/dist/Stack/Stack.d.cts +2 -2
- package/dist/TitledPromptCarousel/TitledPromptCarousel.d.cts +2 -2
- package/dist/TitledPromptCarousel/TitledPromptCarousel.d.ts +2 -2
- package/dist/TypingAnimation/TypingAnimation.d.cts +2 -2
- package/dist/TypingAnimation/TypingAnimation.d.ts +2 -2
- package/dist/Typography/Typography.d.cts +4 -4
- package/dist/Typography/Typography.d.ts +4 -4
- package/dist/WidgetTextField/WidgetTextField.d.cts +2 -2
- package/dist/WidgetTextField/WidgetTextField.d.ts +2 -2
- package/dist/WidgetWrapper/WidgetWrapper.d.cts +2 -2
- package/dist/WidgetWrapper/WidgetWrapper.d.ts +2 -2
- package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.cts +2 -2
- package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.ts +2 -2
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/src/components/FullPageSalesAgent/FullPageSalesAgent.tsx +1 -2
- package/src/components/FullPageSalesAgent/components/Layout.tsx +4 -1
- package/src/components/FullPageSalesAgent/components/WelcomeOverlay.tsx +30 -17
|
@@ -56,23 +56,15 @@ export const WelcomeOverlay = ({
|
|
|
56
56
|
const showProductCarousel = !isLoading && products.length > 0 && !!productCarouselTitle;
|
|
57
57
|
|
|
58
58
|
const welcomeOverlayClassNames = classNames([
|
|
59
|
+
'envive-overlay',
|
|
59
60
|
'envive-tw-inset-0',
|
|
60
61
|
'envive-tw-absolute',
|
|
61
62
|
'envive-tw-z-20',
|
|
62
63
|
'envive-tw-flex',
|
|
63
64
|
'envive-tw-w-full',
|
|
64
|
-
'envive-tw-h-full',
|
|
65
|
-
'envive-tw-max-w-[768px]',
|
|
66
65
|
'envive-tw-flex-col',
|
|
67
66
|
]);
|
|
68
67
|
|
|
69
|
-
const titleClassNames = classNames([
|
|
70
|
-
'envive-tw-flex',
|
|
71
|
-
'envive-tw-flex-row',
|
|
72
|
-
'envive-tw-gap-2',
|
|
73
|
-
'envive-tw-items-center',
|
|
74
|
-
]);
|
|
75
|
-
|
|
76
68
|
const titleBoxClassNames = classNames([
|
|
77
69
|
'envive-tw-flex',
|
|
78
70
|
'envive-tw-py-4',
|
|
@@ -85,6 +77,22 @@ export const WelcomeOverlay = ({
|
|
|
85
77
|
'envive-tw-border',
|
|
86
78
|
'envive-tw-rounded-global-custom',
|
|
87
79
|
]);
|
|
80
|
+
const overlayContentClassNames = classNames([
|
|
81
|
+
'envive-tw-inset-0',
|
|
82
|
+
'envive-tw-mx-auto',
|
|
83
|
+
'envive-tw-flex',
|
|
84
|
+
'envive-tw-w-full',
|
|
85
|
+
'envive-tw-max-w-[768px]',
|
|
86
|
+
'envive-tw-flex-1',
|
|
87
|
+
'envive-tw-flex-col',
|
|
88
|
+
'envive-tw-gap-6',
|
|
89
|
+
'envive-tw-overflow-y-auto',
|
|
90
|
+
'envive-tw-overflow-x-hidden',
|
|
91
|
+
'envive-tw-px-4',
|
|
92
|
+
'envive-tw-pb-4',
|
|
93
|
+
'envive-tw-pt-6',
|
|
94
|
+
'lg:envive-tw-gap-10',
|
|
95
|
+
]);
|
|
88
96
|
return (
|
|
89
97
|
<AnimatePresence>
|
|
90
98
|
{show && (
|
|
@@ -95,15 +103,20 @@ export const WelcomeOverlay = ({
|
|
|
95
103
|
initial={{ opacity: 1 }}
|
|
96
104
|
exit={{ opacity: 0, transition: { duration: 0.5, ease: 'easeIn' } }}
|
|
97
105
|
>
|
|
98
|
-
<div className=
|
|
106
|
+
<div className={overlayContentClassNames}>
|
|
99
107
|
<div className={titleBoxClassNames}>
|
|
100
|
-
<
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
108
|
+
<Typography
|
|
109
|
+
variant={TypographyVariant.T3_MD}
|
|
110
|
+
as="span"
|
|
111
|
+
>
|
|
112
|
+
{title}
|
|
113
|
+
<span className="envive-tw-ml-1 envive-tw-inline-block envive-tw-align-top">
|
|
114
|
+
<SparkleAnimation
|
|
115
|
+
color={sparkleColor}
|
|
116
|
+
animate={false}
|
|
117
|
+
/>
|
|
118
|
+
</span>
|
|
119
|
+
</Typography>
|
|
107
120
|
{chatFooter}
|
|
108
121
|
{promptSuggestions.length > 0 && (
|
|
109
122
|
<PromptCarousel
|