@envive-ai/react-toolkit-v3 0.3.27 → 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.cts +3 -3
- 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.cjs +1 -1
- package/dist/Carousel/Carousel.d.cts +2 -2
- package/dist/Carousel/Carousel.d.ts +2 -2
- package/dist/Carousel/Carousel.js +1 -1
- package/dist/Carousel/components/Container.cjs +2 -2
- package/dist/Carousel/components/Container.js +2 -2
- package/dist/ChatFooter/ChatFooter.cjs +2 -1
- package/dist/ChatFooter/ChatFooter.d.cts +2 -2
- package/dist/ChatFooter/ChatFooter.d.ts +2 -2
- package/dist/ChatFooter/ChatFooter.js +2 -1
- package/dist/ChatFooter/components/Layout.cjs +2 -2
- package/dist/ChatFooter/components/Layout.js +2 -2
- package/dist/ChatFooter/components/index.d.cts +6 -5
- package/dist/ChatFooter/components/index.d.ts +6 -5
- package/dist/ChatFooter/types/types.d.cts +3 -2
- package/dist/ChatFooter/types/types.d.ts +3 -2
- package/dist/ChatHeader/ChatHeader.d.cts +2 -2
- package/dist/ChatHeader/ChatHeader.d.ts +2 -2
- package/dist/ChatHeader/components/Handle.cjs +2 -2
- package/dist/ChatHeader/components/Handle.js +2 -2
- package/dist/ChatHeader/components/Toggle.cjs +3 -3
- package/dist/ChatHeader/components/Toggle.js +3 -3
- package/dist/ChatPreview/ChatPreview.cjs +1 -1
- package/dist/ChatPreview/ChatPreview.d.cts +2 -2
- package/dist/ChatPreview/ChatPreview.d.ts +2 -2
- package/dist/ChatPreview/ChatPreview.js +1 -1
- package/dist/ChatPreviewComparison/ChatPreviewComparison.cjs +1 -1
- package/dist/ChatPreviewComparison/ChatPreviewComparison.d.cts +2 -2
- package/dist/ChatPreviewComparison/ChatPreviewComparison.d.ts +2 -2
- package/dist/ChatPreviewComparison/ChatPreviewComparison.js +1 -1
- package/dist/ChatPreviewComparison/components/Headline.cjs +2 -2
- package/dist/ChatPreviewComparison/components/Headline.js +2 -2
- package/dist/ChatPreviewComparison/components/Layout.cjs +4 -4
- package/dist/ChatPreviewComparison/components/Layout.js +4 -4
- package/dist/ChatPreviewComparison/components/Message.cjs +2 -2
- package/dist/ChatPreviewComparison/components/Message.js +2 -2
- package/dist/ChatPreviewLoading/ChatPreviewLoading.d.cts +2 -2
- package/dist/Container/Container.d.cts +218 -218
- package/dist/Container/Container.d.ts +51 -51
- package/dist/DesignTokens/DesignTokensComponent.d.cts +2 -2
- package/dist/DesignTokens/DesignTokensComponent.d.ts +2 -2
- package/dist/Disclaimer/components/Container.cjs +2 -2
- package/dist/Disclaimer/components/Container.js +2 -2
- package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.cts +2 -2
- package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.ts +2 -2
- package/dist/DocumentRetrievalCard/components/Layout.cjs +2 -2
- package/dist/DocumentRetrievalCard/components/Layout.js +2 -2
- package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Icon.cjs +1 -1
- package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Icon.js +1 -1
- package/dist/DocumentRetrievalCard/components/ViewArticleButton.cjs +1 -1
- package/dist/DocumentRetrievalCard/components/ViewArticleButton.js +1 -1
- 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/FloatingChat/components/ChatMessages.cjs +1 -1
- package/dist/FloatingChat/components/ChatMessages.js +1 -1
- package/dist/FloatingChat/components/Layout.cjs +3 -3
- package/dist/FloatingChat/components/Layout.js +3 -3
- package/dist/FloatingChat/components/ResultsGridView.cjs +1 -1
- package/dist/FloatingChat/components/ResultsGridView.js +1 -1
- package/dist/FloatingChat/components/SalesAgentBadgeContent.cjs +1 -1
- package/dist/FloatingChat/components/SalesAgentBadgeContent.js +1 -1
- package/dist/FullPageSalesAgent/FullPageSalesAgent.cjs +44 -10
- package/dist/FullPageSalesAgent/FullPageSalesAgent.d.cts +2 -2
- package/dist/FullPageSalesAgent/FullPageSalesAgent.d.ts +2 -2
- package/dist/FullPageSalesAgent/FullPageSalesAgent.js +44 -10
- package/dist/FullPageSalesAgent/components/Layout.cjs +24 -27
- package/dist/FullPageSalesAgent/components/Layout.js +24 -27
- package/dist/FullPageSalesAgent/components/WelcomeOverlay.cjs +37 -20
- package/dist/FullPageSalesAgent/components/WelcomeOverlay.js +37 -20
- package/dist/FullPageSalesAgent/hooks/useWelcomeOverlayProducts.cjs +1 -0
- package/dist/FullPageSalesAgent/hooks/useWelcomeOverlayProducts.js +1 -0
- 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/ImageGallery/components/Layout.cjs +1 -1
- package/dist/ImageGallery/components/Layout.js +1 -1
- package/dist/MarkdownProcessor/MarkdownProcessor.d.cts +2 -2
- package/dist/MarkdownProcessor/MarkdownProcessor.d.ts +2 -2
- package/dist/Message/components/LinkButton.cjs +2 -2
- package/dist/Message/components/LinkButton.js +2 -2
- package/dist/OrderLookupCard/OrderLookupCard.cjs +1 -1
- package/dist/OrderLookupCard/OrderLookupCard.js +1 -1
- package/dist/ProductCard/ProductCard.cjs +2 -2
- package/dist/ProductCard/ProductCard.d.cts +2 -2
- package/dist/ProductCard/ProductCard.d.ts +2 -2
- package/dist/ProductCard/ProductCard.js +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/PromptButtonCarouselWithImage/components/PromptButtonsCarousel.cjs +1 -1
- package/dist/PromptButtonCarouselWithImage/components/PromptButtonsCarousel.js +1 -1
- package/dist/PromptCarousel/PromptCarousel.cjs +3 -3
- package/dist/PromptCarousel/PromptCarousel.d.cts +2 -2
- package/dist/PromptCarousel/PromptCarousel.d.ts +2 -2
- package/dist/PromptCarousel/PromptCarousel.js +3 -3
- package/dist/ReviewCard/ReviewCard.d.cts +2 -2
- package/dist/ReviewCard/ReviewCard.d.ts +2 -2
- package/dist/ReviewCard/components/Container.cjs +2 -2
- package/dist/ReviewCard/components/Container.js +2 -2
- package/dist/ReviewCard/components/ReadMoreButton.cjs +1 -1
- package/dist/ReviewCard/components/ReadMoreButton.js +1 -1
- package/dist/ReviewCard/components/index.d.cts +6 -6
- package/dist/ReviewCard/components/index.d.ts +6 -6
- package/dist/SalesAgentProductCard/SalesAgentProductCard.d.cts +2 -2
- package/dist/SalesAgentProductCard/SalesAgentProductCard.d.ts +2 -2
- package/dist/SalesAgentProductCard/components/Container.cjs +2 -2
- package/dist/SalesAgentProductCard/components/Container.js +2 -2
- package/dist/SalesAgentProductCard/components/index.d.cts +6 -6
- package/dist/SalesAgentProductCard/components/index.d.ts +8 -8
- package/dist/SocialProof/SocialProof.cjs +1 -1
- package/dist/SocialProof/SocialProof.d.cts +2 -2
- package/dist/SocialProof/SocialProof.d.ts +2 -2
- package/dist/SocialProof/SocialProof.js +1 -1
- package/dist/SocialProof/components/Headline.cjs +3 -3
- package/dist/SocialProof/components/Headline.js +3 -3
- package/dist/SocialProof/components/LayoutFourHorizontal.cjs +1 -1
- package/dist/SocialProof/components/LayoutFourHorizontal.js +1 -1
- package/dist/SocialProof/components/Subheadline.cjs +1 -1
- package/dist/SocialProof/components/Subheadline.js +1 -1
- 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/Stack/Stack.d.ts +2 -2
- package/dist/TextField/TextField.cjs +7 -3
- package/dist/TextField/TextField.d.cts +1 -0
- package/dist/TextField/TextField.d.ts +1 -0
- package/dist/TextField/TextField.js +7 -3
- package/dist/TextField/components/Input.cjs +31 -2
- package/dist/TextField/components/Input.js +31 -2
- package/dist/TextField/components/Layout.cjs +7 -2
- package/dist/TextField/components/Layout.js +7 -2
- package/dist/TextField/hooks/useAutoResize.cjs +17 -0
- package/dist/TextField/hooks/useAutoResize.js +16 -0
- package/dist/TextField/hooks/usePlaceholderAnimation.cjs +58 -0
- package/dist/TextField/hooks/usePlaceholderAnimation.js +57 -0
- package/dist/TextField/types/index.d.cts +7 -1
- package/dist/TextField/types/index.d.ts +7 -1
- package/dist/TitledPromptCarousel/TitledPromptCarousel.cjs +1 -1
- package/dist/TitledPromptCarousel/TitledPromptCarousel.d.cts +2 -2
- package/dist/TitledPromptCarousel/TitledPromptCarousel.js +1 -1
- package/dist/Tokens/index.cjs +1 -1
- package/dist/Tokens/index.js +1 -1
- package/dist/TypingAnimation/TypingAnimation.cjs +1 -1
- package/dist/TypingAnimation/TypingAnimation.d.cts +2 -2
- package/dist/TypingAnimation/TypingAnimation.d.ts +2 -2
- package/dist/TypingAnimation/TypingAnimation.js +1 -1
- package/dist/TypingAnimation/hooks/useGetTypographyVariant.cjs +1 -1
- package/dist/TypingAnimation/hooks/useGetTypographyVariant.js +1 -1
- package/dist/Typography/Typography.d.cts +4 -4
- package/dist/Typography/Typography.d.ts +4 -4
- package/dist/WelcomeMessage/components/Container.cjs +2 -2
- package/dist/WelcomeMessage/components/Container.js +2 -2
- package/dist/WidgetTextField/WidgetTextField.cjs +4 -4
- package/dist/WidgetTextField/WidgetTextField.d.cts +2 -2
- package/dist/WidgetTextField/WidgetTextField.d.ts +2 -2
- package/dist/WidgetTextField/WidgetTextField.js +1 -1
- package/dist/WidgetTextField/components/Container.cjs +2 -2
- package/dist/WidgetTextField/components/Container.js +2 -2
- package/dist/WidgetTextField/components/Icon.cjs +1 -1
- package/dist/WidgetTextField/components/Icon.js +1 -1
- 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/ChatFooter/ChatFooter.tsx +1 -0
- package/src/components/ChatFooter/components/TextField.tsx +4 -1
- package/src/components/ChatFooter/types/types.ts +3 -2
- package/src/components/FullPageSalesAgent/FullPageSalesAgent.tsx +76 -9
- package/src/components/FullPageSalesAgent/components/Layout.tsx +4 -1
- package/src/components/FullPageSalesAgent/components/WelcomeOverlay.tsx +52 -17
- package/src/components/FullPageSalesAgent/hooks/useWelcomeOverlayProducts.ts +1 -0
- package/src/components/TextField/TextField.tsx +7 -1
- package/src/components/TextField/components/Input.tsx +43 -9
- package/src/components/TextField/components/Layout.tsx +7 -1
- package/src/components/TextField/hooks/useAutoResize.ts +14 -0
- package/src/components/TextField/hooks/usePlaceholderAnimation.ts +67 -0
- package/src/components/TextField/hooks/useTextFieldSubmit.ts +1 -1
- package/src/components/TextField/types/index.ts +7 -1
|
@@ -22,39 +22,36 @@ const Layout = ({ theme, welcomeMessage, footer, chatMessages, answerSuggestions
|
|
|
22
22
|
headerContainer,
|
|
23
23
|
autoHeight
|
|
24
24
|
});
|
|
25
|
+
if (overlay) return overlay;
|
|
25
26
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
26
27
|
className: (0, classnames.default)(containerClasses, "envive-tw-relative"),
|
|
27
28
|
style: {
|
|
28
29
|
...containerStyles,
|
|
29
30
|
...backgroundStyle
|
|
30
31
|
},
|
|
31
|
-
children: [
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
/* @__PURE__ */ (0, react_jsx_runtime.
|
|
47
|
-
className:
|
|
48
|
-
children:
|
|
49
|
-
className: "envive-tw-
|
|
50
|
-
children:
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}), footer]
|
|
55
|
-
}),
|
|
56
|
-
overlay
|
|
57
|
-
]
|
|
32
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
33
|
+
ref: scrollContainerRef,
|
|
34
|
+
className: contentClasses,
|
|
35
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_Stack.Stack, {
|
|
36
|
+
direction: "column",
|
|
37
|
+
justify: "between",
|
|
38
|
+
children: [welcomeMessage, disclaimer]
|
|
39
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_Stack.Stack, {
|
|
40
|
+
direction: "column",
|
|
41
|
+
gap: "0",
|
|
42
|
+
className: (0, classnames.default)((!hasWelcomeMessage || hasWelcomeMessage && theme === require_theme.Theme.STANDARD) && !hasAnswerSuggestions && "envive-tw-pb-4", isMobile ? "envive-tw-pt-4" : "envive-tw-pt-6"),
|
|
43
|
+
children: [chatMessages, answerSuggestions]
|
|
44
|
+
})]
|
|
45
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
46
|
+
className: footerContainerClasses,
|
|
47
|
+
children: [scrollToBottomButton && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
48
|
+
className: "envive-tw-h-[0px]",
|
|
49
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
50
|
+
className: "envive-tw-ml-auto envive-tw-table envive-tw-translate-x-[-30px] envive-tw-translate-y-[-50px]",
|
|
51
|
+
children: scrollToBottomButton
|
|
52
|
+
})
|
|
53
|
+
}), footer]
|
|
54
|
+
})]
|
|
58
55
|
});
|
|
59
56
|
};
|
|
60
57
|
|
|
@@ -20,39 +20,36 @@ const Layout = ({ theme, welcomeMessage, footer, chatMessages, answerSuggestions
|
|
|
20
20
|
headerContainer,
|
|
21
21
|
autoHeight
|
|
22
22
|
});
|
|
23
|
+
if (overlay) return overlay;
|
|
23
24
|
return /* @__PURE__ */ jsxs("div", {
|
|
24
25
|
className: classNames(containerClasses, "envive-tw-relative"),
|
|
25
26
|
style: {
|
|
26
27
|
...containerStyles,
|
|
27
28
|
...backgroundStyle
|
|
28
29
|
},
|
|
29
|
-
children: [
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
/* @__PURE__ */
|
|
45
|
-
className:
|
|
46
|
-
children:
|
|
47
|
-
className: "envive-tw-
|
|
48
|
-
children:
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}), footer]
|
|
53
|
-
}),
|
|
54
|
-
overlay
|
|
55
|
-
]
|
|
30
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
31
|
+
ref: scrollContainerRef,
|
|
32
|
+
className: contentClasses,
|
|
33
|
+
children: [/* @__PURE__ */ jsxs(Stack, {
|
|
34
|
+
direction: "column",
|
|
35
|
+
justify: "between",
|
|
36
|
+
children: [welcomeMessage, disclaimer]
|
|
37
|
+
}), /* @__PURE__ */ jsxs(Stack, {
|
|
38
|
+
direction: "column",
|
|
39
|
+
gap: "0",
|
|
40
|
+
className: classNames((!hasWelcomeMessage || hasWelcomeMessage && theme === Theme.STANDARD) && !hasAnswerSuggestions && "envive-tw-pb-4", isMobile ? "envive-tw-pt-4" : "envive-tw-pt-6"),
|
|
41
|
+
children: [chatMessages, answerSuggestions]
|
|
42
|
+
})]
|
|
43
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
44
|
+
className: footerContainerClasses,
|
|
45
|
+
children: [scrollToBottomButton && /* @__PURE__ */ jsx("div", {
|
|
46
|
+
className: "envive-tw-h-[0px]",
|
|
47
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
48
|
+
className: "envive-tw-ml-auto envive-tw-table envive-tw-translate-x-[-30px] envive-tw-translate-y-[-50px]",
|
|
49
|
+
children: scrollToBottomButton
|
|
50
|
+
})
|
|
51
|
+
}), footer]
|
|
52
|
+
})]
|
|
56
53
|
});
|
|
57
54
|
};
|
|
58
55
|
|
|
@@ -15,25 +15,18 @@ classnames = require_rolldown_runtime.__toESM(classnames);
|
|
|
15
15
|
let framer_motion = require("framer-motion");
|
|
16
16
|
|
|
17
17
|
//#region src/components/FullPageSalesAgent/components/WelcomeOverlay.tsx
|
|
18
|
-
const WelcomeOverlay = ({ show, theme, title, promptSuggestions, productCarouselTitle, productIds, chatFooter, suggestionButtonType, sparkleColor, backgroundStyle = { backgroundColor: "white" }, onSuggestionClick }) => {
|
|
18
|
+
const WelcomeOverlay = ({ show, theme, title, promptSuggestions, productCarouselTitle, productIds, chatFooter, suggestionButtonType, sparkleColor, backgroundStyle = { backgroundColor: "white" }, onSuggestionClick, onSuggestionHover, onSuggestionDrag, onSuggestionMouseDown, onSuggestionMouseUp, onSuggestionTouchStart, onSuggestionTouchEnd, onProductCardClick }) => {
|
|
19
19
|
const { products, isLoading } = require_useWelcomeOverlayProducts.useWelcomeOverlayProducts(productIds);
|
|
20
20
|
const showProductCarousel = !isLoading && products.length > 0 && !!productCarouselTitle;
|
|
21
21
|
const welcomeOverlayClassNames = (0, classnames.default)([
|
|
22
|
+
"envive-overlay",
|
|
22
23
|
"envive-tw-inset-0",
|
|
23
24
|
"envive-tw-absolute",
|
|
24
25
|
"envive-tw-z-20",
|
|
25
26
|
"envive-tw-flex",
|
|
26
27
|
"envive-tw-w-full",
|
|
27
|
-
"envive-tw-h-full",
|
|
28
|
-
"envive-tw-max-w-[768px]",
|
|
29
28
|
"envive-tw-flex-col"
|
|
30
29
|
]);
|
|
31
|
-
const titleClassNames = (0, classnames.default)([
|
|
32
|
-
"envive-tw-flex",
|
|
33
|
-
"envive-tw-flex-row",
|
|
34
|
-
"envive-tw-gap-2",
|
|
35
|
-
"envive-tw-items-center"
|
|
36
|
-
]);
|
|
37
30
|
const titleBoxClassNames = (0, classnames.default)([
|
|
38
31
|
"envive-tw-flex",
|
|
39
32
|
"envive-tw-py-4",
|
|
@@ -46,6 +39,22 @@ const WelcomeOverlay = ({ show, theme, title, promptSuggestions, productCarousel
|
|
|
46
39
|
"envive-tw-border",
|
|
47
40
|
"envive-tw-rounded-global-custom"
|
|
48
41
|
]);
|
|
42
|
+
const overlayContentClassNames = (0, classnames.default)([
|
|
43
|
+
"envive-tw-inset-0",
|
|
44
|
+
"envive-tw-mx-auto",
|
|
45
|
+
"envive-tw-flex",
|
|
46
|
+
"envive-tw-w-full",
|
|
47
|
+
"envive-tw-max-w-[768px]",
|
|
48
|
+
"envive-tw-flex-1",
|
|
49
|
+
"envive-tw-flex-col",
|
|
50
|
+
"envive-tw-gap-6",
|
|
51
|
+
"envive-tw-overflow-y-auto",
|
|
52
|
+
"envive-tw-overflow-x-hidden",
|
|
53
|
+
"envive-tw-px-4",
|
|
54
|
+
"envive-tw-pb-4",
|
|
55
|
+
"envive-tw-pt-6",
|
|
56
|
+
"lg:envive-tw-gap-10"
|
|
57
|
+
]);
|
|
49
58
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(framer_motion.AnimatePresence, { children: show && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(framer_motion.motion.div, {
|
|
50
59
|
className: welcomeOverlayClassNames,
|
|
51
60
|
style: backgroundStyle,
|
|
@@ -58,18 +67,19 @@ const WelcomeOverlay = ({ show, theme, title, promptSuggestions, productCarousel
|
|
|
58
67
|
}
|
|
59
68
|
},
|
|
60
69
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
61
|
-
className:
|
|
70
|
+
className: overlayContentClassNames,
|
|
62
71
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
63
72
|
className: titleBoxClassNames,
|
|
64
73
|
children: [
|
|
65
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
74
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_Typography.Typography, {
|
|
75
|
+
variant: require_index.TypographyVariant.T3_MD,
|
|
76
|
+
as: "span",
|
|
77
|
+
children: [title, /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
78
|
+
className: "envive-tw-ml-1 envive-tw-inline-block envive-tw-align-top",
|
|
79
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_SparkleAnimation.SparkleAnimation, {
|
|
80
|
+
color: sparkleColor,
|
|
81
|
+
animate: false
|
|
82
|
+
})
|
|
73
83
|
})]
|
|
74
84
|
}),
|
|
75
85
|
chatFooter,
|
|
@@ -79,7 +89,13 @@ const WelcomeOverlay = ({ show, theme, title, promptSuggestions, productCarousel
|
|
|
79
89
|
promptButtonType: suggestionButtonType,
|
|
80
90
|
promptCarouselRows: require_PromptCarousel_types_types.PromptCarouselRows.ALWAYS_TWO,
|
|
81
91
|
animationSpeed: require_PromptCarousel_types_types.AnimationSpeed.NONE,
|
|
82
|
-
handleButtonClick: onSuggestionClick
|
|
92
|
+
handleButtonClick: onSuggestionClick,
|
|
93
|
+
handleButtonHover: onSuggestionHover,
|
|
94
|
+
handleButtonDrag: onSuggestionDrag,
|
|
95
|
+
handleButtonMouseDown: onSuggestionMouseDown,
|
|
96
|
+
handleButtonMouseUp: onSuggestionMouseUp,
|
|
97
|
+
handleButtonTouchStart: onSuggestionTouchStart,
|
|
98
|
+
handleButtonTouchEnd: onSuggestionTouchEnd
|
|
83
99
|
})
|
|
84
100
|
]
|
|
85
101
|
}), showProductCarousel && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
@@ -91,7 +107,8 @@ const WelcomeOverlay = ({ show, theme, title, promptSuggestions, productCarousel
|
|
|
91
107
|
theme,
|
|
92
108
|
hideBadgeCount: true,
|
|
93
109
|
products,
|
|
94
|
-
hideNavigation: false
|
|
110
|
+
hideNavigation: false,
|
|
111
|
+
onProductCardClick
|
|
95
112
|
})]
|
|
96
113
|
})]
|
|
97
114
|
})
|
|
@@ -13,25 +13,18 @@ import classNames from "classnames";
|
|
|
13
13
|
import { AnimatePresence, motion } from "framer-motion";
|
|
14
14
|
|
|
15
15
|
//#region src/components/FullPageSalesAgent/components/WelcomeOverlay.tsx
|
|
16
|
-
const WelcomeOverlay = ({ show, theme, title, promptSuggestions, productCarouselTitle, productIds, chatFooter, suggestionButtonType, sparkleColor, backgroundStyle = { backgroundColor: "white" }, onSuggestionClick }) => {
|
|
16
|
+
const WelcomeOverlay = ({ show, theme, title, promptSuggestions, productCarouselTitle, productIds, chatFooter, suggestionButtonType, sparkleColor, backgroundStyle = { backgroundColor: "white" }, onSuggestionClick, onSuggestionHover, onSuggestionDrag, onSuggestionMouseDown, onSuggestionMouseUp, onSuggestionTouchStart, onSuggestionTouchEnd, onProductCardClick }) => {
|
|
17
17
|
const { products, isLoading } = useWelcomeOverlayProducts(productIds);
|
|
18
18
|
const showProductCarousel = !isLoading && products.length > 0 && !!productCarouselTitle;
|
|
19
19
|
const welcomeOverlayClassNames = classNames([
|
|
20
|
+
"envive-overlay",
|
|
20
21
|
"envive-tw-inset-0",
|
|
21
22
|
"envive-tw-absolute",
|
|
22
23
|
"envive-tw-z-20",
|
|
23
24
|
"envive-tw-flex",
|
|
24
25
|
"envive-tw-w-full",
|
|
25
|
-
"envive-tw-h-full",
|
|
26
|
-
"envive-tw-max-w-[768px]",
|
|
27
26
|
"envive-tw-flex-col"
|
|
28
27
|
]);
|
|
29
|
-
const titleClassNames = classNames([
|
|
30
|
-
"envive-tw-flex",
|
|
31
|
-
"envive-tw-flex-row",
|
|
32
|
-
"envive-tw-gap-2",
|
|
33
|
-
"envive-tw-items-center"
|
|
34
|
-
]);
|
|
35
28
|
const titleBoxClassNames = classNames([
|
|
36
29
|
"envive-tw-flex",
|
|
37
30
|
"envive-tw-py-4",
|
|
@@ -44,6 +37,22 @@ const WelcomeOverlay = ({ show, theme, title, promptSuggestions, productCarousel
|
|
|
44
37
|
"envive-tw-border",
|
|
45
38
|
"envive-tw-rounded-global-custom"
|
|
46
39
|
]);
|
|
40
|
+
const overlayContentClassNames = classNames([
|
|
41
|
+
"envive-tw-inset-0",
|
|
42
|
+
"envive-tw-mx-auto",
|
|
43
|
+
"envive-tw-flex",
|
|
44
|
+
"envive-tw-w-full",
|
|
45
|
+
"envive-tw-max-w-[768px]",
|
|
46
|
+
"envive-tw-flex-1",
|
|
47
|
+
"envive-tw-flex-col",
|
|
48
|
+
"envive-tw-gap-6",
|
|
49
|
+
"envive-tw-overflow-y-auto",
|
|
50
|
+
"envive-tw-overflow-x-hidden",
|
|
51
|
+
"envive-tw-px-4",
|
|
52
|
+
"envive-tw-pb-4",
|
|
53
|
+
"envive-tw-pt-6",
|
|
54
|
+
"lg:envive-tw-gap-10"
|
|
55
|
+
]);
|
|
47
56
|
return /* @__PURE__ */ jsx(AnimatePresence, { children: show && /* @__PURE__ */ jsx(motion.div, {
|
|
48
57
|
className: welcomeOverlayClassNames,
|
|
49
58
|
style: backgroundStyle,
|
|
@@ -56,18 +65,19 @@ const WelcomeOverlay = ({ show, theme, title, promptSuggestions, productCarousel
|
|
|
56
65
|
}
|
|
57
66
|
},
|
|
58
67
|
children: /* @__PURE__ */ jsxs("div", {
|
|
59
|
-
className:
|
|
68
|
+
className: overlayContentClassNames,
|
|
60
69
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
61
70
|
className: titleBoxClassNames,
|
|
62
71
|
children: [
|
|
63
|
-
/* @__PURE__ */ jsxs(
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
72
|
+
/* @__PURE__ */ jsxs(Typography, {
|
|
73
|
+
variant: TypographyVariant.T3_MD,
|
|
74
|
+
as: "span",
|
|
75
|
+
children: [title, /* @__PURE__ */ jsx("span", {
|
|
76
|
+
className: "envive-tw-ml-1 envive-tw-inline-block envive-tw-align-top",
|
|
77
|
+
children: /* @__PURE__ */ jsx(SparkleAnimation, {
|
|
78
|
+
color: sparkleColor,
|
|
79
|
+
animate: false
|
|
80
|
+
})
|
|
71
81
|
})]
|
|
72
82
|
}),
|
|
73
83
|
chatFooter,
|
|
@@ -77,7 +87,13 @@ const WelcomeOverlay = ({ show, theme, title, promptSuggestions, productCarousel
|
|
|
77
87
|
promptButtonType: suggestionButtonType,
|
|
78
88
|
promptCarouselRows: PromptCarouselRows.ALWAYS_TWO,
|
|
79
89
|
animationSpeed: AnimationSpeed.NONE,
|
|
80
|
-
handleButtonClick: onSuggestionClick
|
|
90
|
+
handleButtonClick: onSuggestionClick,
|
|
91
|
+
handleButtonHover: onSuggestionHover,
|
|
92
|
+
handleButtonDrag: onSuggestionDrag,
|
|
93
|
+
handleButtonMouseDown: onSuggestionMouseDown,
|
|
94
|
+
handleButtonMouseUp: onSuggestionMouseUp,
|
|
95
|
+
handleButtonTouchStart: onSuggestionTouchStart,
|
|
96
|
+
handleButtonTouchEnd: onSuggestionTouchEnd
|
|
81
97
|
})
|
|
82
98
|
]
|
|
83
99
|
}), showProductCarousel && /* @__PURE__ */ jsxs("div", {
|
|
@@ -89,7 +105,8 @@ const WelcomeOverlay = ({ show, theme, title, promptSuggestions, productCarousel
|
|
|
89
105
|
theme,
|
|
90
106
|
hideBadgeCount: true,
|
|
91
107
|
products,
|
|
92
|
-
hideNavigation: false
|
|
108
|
+
hideNavigation: false,
|
|
109
|
+
onProductCardClick
|
|
93
110
|
})]
|
|
94
111
|
})]
|
|
95
112
|
})
|
|
@@ -5,6 +5,7 @@ __envive_ai_react_hooks_application_commerce_api = require_rolldown_runtime.__to
|
|
|
5
5
|
|
|
6
6
|
//#region src/components/FullPageSalesAgent/hooks/useWelcomeOverlayProducts.ts
|
|
7
7
|
const mapToCardProps = (p) => ({
|
|
8
|
+
id: p.id,
|
|
8
9
|
productName: p.title ?? "",
|
|
9
10
|
currentPrice: p.salePrice ?? 0,
|
|
10
11
|
previousPrice: p.originalPrice === p.salePrice ? void 0 : p.originalPrice,
|
|
@@ -3,6 +3,7 @@ import CommerceApiClient from "@envive-ai/react-hooks/application/commerce-api";
|
|
|
3
3
|
|
|
4
4
|
//#region src/components/FullPageSalesAgent/hooks/useWelcomeOverlayProducts.ts
|
|
5
5
|
const mapToCardProps = (p) => ({
|
|
6
|
+
id: p.id,
|
|
6
7
|
productName: p.title ?? "",
|
|
7
8
|
currentPrice: p.salePrice ?? 0,
|
|
8
9
|
previousPrice: p.originalPrice === p.salePrice ? void 0 : p.originalPrice,
|
package/dist/Image/Image.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ImageProps } from "./types/index.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime20 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Image/Image.d.ts
|
|
5
5
|
|
|
@@ -25,6 +25,6 @@ declare const Image: ({
|
|
|
25
25
|
role,
|
|
26
26
|
"aria-hidden": ariaHidden,
|
|
27
27
|
...rest
|
|
28
|
-
}: ImageProps) =>
|
|
28
|
+
}: ImageProps) => react_jsx_runtime20.JSX.Element;
|
|
29
29
|
//#endregion
|
|
30
30
|
export { Image };
|
package/dist/Image/Image.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ImageProps } from "./types/index.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime12 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Image/Image.d.ts
|
|
5
5
|
|
|
@@ -25,6 +25,6 @@ declare const Image: ({
|
|
|
25
25
|
role,
|
|
26
26
|
"aria-hidden": ariaHidden,
|
|
27
27
|
...rest
|
|
28
|
-
}: ImageProps) =>
|
|
28
|
+
}: ImageProps) => react_jsx_runtime12.JSX.Element;
|
|
29
29
|
//#endregion
|
|
30
30
|
export { Image };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ImageGalleryProps } from "./types/types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime23 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ImageGallery/ImageGallery.d.ts
|
|
5
5
|
|
|
@@ -40,6 +40,6 @@ declare const ImageGallery: ({
|
|
|
40
40
|
"aria-describedby": ariaDescribedBy,
|
|
41
41
|
role,
|
|
42
42
|
"aria-hidden": ariaHidden
|
|
43
|
-
}: ImageGalleryProps) =>
|
|
43
|
+
}: ImageGalleryProps) => react_jsx_runtime23.JSX.Element;
|
|
44
44
|
//#endregion
|
|
45
45
|
export { ImageGallery };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ImageGalleryProps } from "./types/types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime19 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ImageGallery/ImageGallery.d.ts
|
|
5
5
|
|
|
@@ -40,6 +40,6 @@ declare const ImageGallery: ({
|
|
|
40
40
|
"aria-describedby": ariaDescribedBy,
|
|
41
41
|
role,
|
|
42
42
|
"aria-hidden": ariaHidden
|
|
43
|
-
}: ImageGalleryProps) =>
|
|
43
|
+
}: ImageGalleryProps) => react_jsx_runtime19.JSX.Element;
|
|
44
44
|
//#endregion
|
|
45
45
|
export { ImageGallery };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
2
|
const require_theme = require('../../packages/components-v3/tokens/theme/theme.cjs');
|
|
3
|
-
const require_useResponsiveValue = require('../../utils/useResponsiveValue.cjs');
|
|
4
3
|
const require_Container = require('../../Container/Container.cjs');
|
|
4
|
+
const require_useResponsiveValue = require('../../utils/useResponsiveValue.cjs');
|
|
5
5
|
const require_utils_useCheckIsMobile = require('../../utils/useCheckIsMobile.cjs');
|
|
6
6
|
const require_types = require('../types/types.cjs');
|
|
7
7
|
const require_useGetContainerProperties = require('../hooks/useGetContainerProperties.cjs');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Theme } from "../../packages/components-v3/tokens/theme/theme.js";
|
|
2
|
-
import { useResponsiveValue } from "../../utils/useResponsiveValue.js";
|
|
3
2
|
import { Container } from "../../Container/Container.js";
|
|
3
|
+
import { useResponsiveValue } from "../../utils/useResponsiveValue.js";
|
|
4
4
|
import { useCheckIsMobile } from "../../utils/useCheckIsMobile.js";
|
|
5
5
|
import { ImageGalleryLayout } from "../types/types.js";
|
|
6
6
|
import { useGetContainerProperties } from "../hooks/useGetContainerProperties.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MarkdownProcessorProps } from "./types/types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime24 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/MarkdownProcessor/MarkdownProcessor.d.ts
|
|
5
5
|
declare const MarkdownProcessor: ({
|
|
@@ -8,6 +8,6 @@ declare const MarkdownProcessor: ({
|
|
|
8
8
|
textColor,
|
|
9
9
|
textVariant,
|
|
10
10
|
onLinkClick
|
|
11
|
-
}: MarkdownProcessorProps) =>
|
|
11
|
+
}: MarkdownProcessorProps) => react_jsx_runtime24.JSX.Element;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { MarkdownProcessor };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MarkdownProcessorProps } from "./types/types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime13 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/MarkdownProcessor/MarkdownProcessor.d.ts
|
|
5
5
|
declare const MarkdownProcessor: ({
|
|
@@ -8,6 +8,6 @@ declare const MarkdownProcessor: ({
|
|
|
8
8
|
textColor,
|
|
9
9
|
textVariant,
|
|
10
10
|
onLinkClick
|
|
11
|
-
}: MarkdownProcessorProps) =>
|
|
11
|
+
}: MarkdownProcessorProps) => react_jsx_runtime13.JSX.Element;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { MarkdownProcessor };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
const require_CustomIcon = require('../../utils/CustomIcon.cjs');
|
|
2
3
|
const require_index = require('../../Typography/types/index.cjs');
|
|
3
4
|
const require_Typography = require('../../Typography/Typography.cjs');
|
|
4
5
|
require('../../Typography/index.cjs');
|
|
5
|
-
const require_CustomIcon = require('../../utils/CustomIcon.cjs');
|
|
6
|
-
const require_openUrlInNewTab = require('../utils/openUrlInNewTab.cjs');
|
|
7
6
|
const require_useGetLinkButtonIconProperties = require('../hooks/useGetLinkButtonIconProperties.cjs');
|
|
8
7
|
const require_useGetLinkButtonProperties = require('../hooks/useGetLinkButtonProperties.cjs');
|
|
8
|
+
const require_openUrlInNewTab = require('../utils/openUrlInNewTab.cjs');
|
|
9
9
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
10
10
|
let __envive_ai_react_icons_VectorUpRight = require("@envive-ai/react-icons/VectorUpRight");
|
|
11
11
|
__envive_ai_react_icons_VectorUpRight = require_rolldown_runtime.__toESM(__envive_ai_react_icons_VectorUpRight);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { CustomIcon } from "../../utils/CustomIcon.js";
|
|
1
2
|
import { TypographyColor, TypographyVariant } from "../../Typography/types/index.js";
|
|
2
3
|
import { Typography } from "../../Typography/Typography.js";
|
|
3
4
|
import "../../Typography/index.js";
|
|
4
|
-
import { CustomIcon } from "../../utils/CustomIcon.js";
|
|
5
|
-
import { openUrlInNewTab } from "../utils/openUrlInNewTab.js";
|
|
6
5
|
import { useGetLinkButtonIconProperties } from "../hooks/useGetLinkButtonIconProperties.js";
|
|
7
6
|
import { useGetLinkButtonProperties } from "../hooks/useGetLinkButtonProperties.js";
|
|
7
|
+
import { openUrlInNewTab } from "../utils/openUrlInNewTab.js";
|
|
8
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
import VectorUpRight from "@envive-ai/react-icons/VectorUpRight";
|
|
10
10
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
2
|
const require_theme = require('../packages/components-v3/tokens/theme/theme.cjs');
|
|
3
|
+
const require_resolveTheme = require('../utils/resolveTheme.cjs');
|
|
3
4
|
const require_Stack = require('../Stack/Stack.cjs');
|
|
4
5
|
require('../Stack/index.cjs');
|
|
5
|
-
const require_resolveTheme = require('../utils/resolveTheme.cjs');
|
|
6
6
|
const require_useGetImageBorderRadiusProperties = require('./hooks/useGetImageBorderRadiusProperties.cjs');
|
|
7
7
|
const require_index = require('./components/index.cjs');
|
|
8
8
|
const require_useGetContainerProperties = require('./hooks/useGetContainerProperties.cjs');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Theme } from "../packages/components-v3/tokens/theme/theme.js";
|
|
2
|
+
import { resolveTheme } from "../utils/resolveTheme.js";
|
|
2
3
|
import { Stack } from "../Stack/Stack.js";
|
|
3
4
|
import "../Stack/index.js";
|
|
4
|
-
import { resolveTheme } from "../utils/resolveTheme.js";
|
|
5
5
|
import { useGetImageBorderRadiusProperties } from "./hooks/useGetImageBorderRadiusProperties.js";
|
|
6
6
|
import { OrderLookupCardComponents } from "./components/index.js";
|
|
7
7
|
import { useGetContainerProperties } from "./hooks/useGetContainerProperties.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
2
|
const require_theme = require('../packages/components-v3/tokens/theme/theme.cjs');
|
|
3
|
-
const require_index = require('../Typography/types/index.cjs');
|
|
4
|
-
const require_resolveTheme = require('../utils/resolveTheme.cjs');
|
|
5
3
|
require('../Tokens/index.cjs');
|
|
4
|
+
const require_resolveTheme = require('../utils/resolveTheme.cjs');
|
|
5
|
+
const require_index = require('../Typography/types/index.cjs');
|
|
6
6
|
const require_WidgetTextField = require('../WidgetTextField/WidgetTextField.cjs');
|
|
7
7
|
require('../WidgetTextField/index.cjs');
|
|
8
8
|
const require_index$1 = require('./components/index.cjs');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ProductCardProps } from "./types/index.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime16 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ProductCard/ProductCard.d.ts
|
|
5
5
|
declare const ProductCard: ({
|
|
@@ -27,6 +27,6 @@ declare const ProductCard: ({
|
|
|
27
27
|
onInputClick,
|
|
28
28
|
onTranscriptionStarted,
|
|
29
29
|
onTranscriptionCompleted
|
|
30
|
-
}: ProductCardProps) =>
|
|
30
|
+
}: ProductCardProps) => react_jsx_runtime16.JSX.Element;
|
|
31
31
|
//#endregion
|
|
32
32
|
export { ProductCard };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ProductCardProps } from "./types/index.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime10 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ProductCard/ProductCard.d.ts
|
|
5
5
|
declare const ProductCard: ({
|
|
@@ -27,6 +27,6 @@ declare const ProductCard: ({
|
|
|
27
27
|
onInputClick,
|
|
28
28
|
onTranscriptionStarted,
|
|
29
29
|
onTranscriptionCompleted
|
|
30
|
-
}: ProductCardProps) =>
|
|
30
|
+
}: ProductCardProps) => react_jsx_runtime10.JSX.Element;
|
|
31
31
|
//#endregion
|
|
32
32
|
export { ProductCard };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Theme } from "../packages/components-v3/tokens/theme/theme.js";
|
|
2
|
-
import { TypographyColor } from "../Typography/types/index.js";
|
|
3
|
-
import { resolveTheme } from "../utils/resolveTheme.js";
|
|
4
2
|
import "../Tokens/index.js";
|
|
3
|
+
import { resolveTheme } from "../utils/resolveTheme.js";
|
|
4
|
+
import { TypographyColor } from "../Typography/types/index.js";
|
|
5
5
|
import { WidgetTextField } from "../WidgetTextField/WidgetTextField.js";
|
|
6
6
|
import "../WidgetTextField/index.js";
|
|
7
7
|
import { ProductCardWidgetComponents } from "./components/index.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PromptButtonProps } from "./types/index.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime18 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/PromptButton/PromptButton.d.ts
|
|
5
5
|
declare const PromptButton: ({
|
|
@@ -22,6 +22,6 @@ declare const PromptButton: ({
|
|
|
22
22
|
onTouchEnd,
|
|
23
23
|
ariaLabel,
|
|
24
24
|
ariaDescribedBy
|
|
25
|
-
}: PromptButtonProps) =>
|
|
25
|
+
}: PromptButtonProps) => react_jsx_runtime18.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { PromptButton };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PromptButtonProps } from "./types/index.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime20 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/PromptButton/PromptButton.d.ts
|
|
5
5
|
declare const PromptButton: ({
|
|
@@ -22,6 +22,6 @@ declare const PromptButton: ({
|
|
|
22
22
|
onTouchEnd,
|
|
23
23
|
ariaLabel,
|
|
24
24
|
ariaDescribedBy
|
|
25
|
-
}: PromptButtonProps) =>
|
|
25
|
+
}: PromptButtonProps) => react_jsx_runtime20.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { PromptButton };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PromptButtonCarouselWithImageProps } from "./types/types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime19 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.ts
|
|
5
5
|
declare const PromptButtonCarouselWithImage: ({
|
|
@@ -27,6 +27,6 @@ declare const PromptButtonCarouselWithImage: ({
|
|
|
27
27
|
handleTextFieldClick,
|
|
28
28
|
onTranscriptionStarted,
|
|
29
29
|
onTranscriptionCompleted
|
|
30
|
-
}: PromptButtonCarouselWithImageProps) =>
|
|
30
|
+
}: PromptButtonCarouselWithImageProps) => react_jsx_runtime19.JSX.Element;
|
|
31
31
|
//#endregion
|
|
32
32
|
export { PromptButtonCarouselWithImage };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PromptButtonCarouselWithImageProps } from "./types/types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime16 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.ts
|
|
5
5
|
declare const PromptButtonCarouselWithImage: ({
|
|
@@ -27,6 +27,6 @@ declare const PromptButtonCarouselWithImage: ({
|
|
|
27
27
|
handleTextFieldClick,
|
|
28
28
|
onTranscriptionStarted,
|
|
29
29
|
onTranscriptionCompleted
|
|
30
|
-
}: PromptButtonCarouselWithImageProps) =>
|
|
30
|
+
}: PromptButtonCarouselWithImageProps) => react_jsx_runtime16.JSX.Element;
|
|
31
31
|
//#endregion
|
|
32
32
|
export { PromptButtonCarouselWithImage };
|