@envive-ai/react-toolkit-v3 0.3.26 → 0.3.28
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/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 +3 -1
- package/dist/ChatFooter/ChatFooter.d.cts +2 -2
- package/dist/ChatFooter/ChatFooter.d.ts +2 -2
- package/dist/ChatFooter/ChatFooter.js +3 -1
- package/dist/ChatFooter/components/Layout.cjs +4 -4
- package/dist/ChatFooter/components/Layout.d.cts +1 -0
- package/dist/ChatFooter/components/Layout.d.ts +1 -0
- package/dist/ChatFooter/components/Layout.js +4 -4
- package/dist/ChatFooter/components/index.d.cts +5 -3
- package/dist/ChatFooter/components/index.d.ts +7 -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/ChatPreviewLoading/ChatPreviewLoading.d.ts +2 -2
- package/dist/Container/Container.d.cts +56 -56
- package/dist/Container/Container.d.ts +220 -220
- 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/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 +6 -2
- package/dist/FloatingChat/components/SalesAgentBadgeContent.js +6 -2
- package/dist/FloatingChat/components/SalesAgentProductCardsCarousel.cjs +2 -1
- package/dist/FloatingChat/components/SalesAgentProductCardsCarousel.js +2 -1
- package/dist/FullPageSalesAgent/FullPageSalesAgent.cjs +126 -27
- package/dist/FullPageSalesAgent/FullPageSalesAgent.d.cts +5 -7
- package/dist/FullPageSalesAgent/FullPageSalesAgent.d.ts +5 -7
- package/dist/FullPageSalesAgent/FullPageSalesAgent.js +127 -28
- package/dist/FullPageSalesAgent/components/Layout.cjs +34 -27
- package/dist/FullPageSalesAgent/components/Layout.js +34 -27
- package/dist/FullPageSalesAgent/components/WelcomeOverlay.cjs +109 -0
- package/dist/FullPageSalesAgent/components/WelcomeOverlay.js +107 -0
- package/dist/FullPageSalesAgent/components/index.cjs +1 -0
- package/dist/FullPageSalesAgent/components/index.js +1 -0
- package/dist/FullPageSalesAgent/hooks/useGetFooterStyles.cjs +16 -6
- package/dist/FullPageSalesAgent/hooks/useGetFooterStyles.js +16 -6
- package/dist/FullPageSalesAgent/hooks/useWelcomeOverlayProducts.cjs +44 -0
- package/dist/FullPageSalesAgent/hooks/useWelcomeOverlayProducts.js +42 -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 +1 -1
- package/dist/Message/components/LinkButton.js +1 -1
- 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/PromptButton/hooks/useGetLayoutBaseProperties.cjs +1 -1
- package/dist/PromptButton/hooks/useGetLayoutBaseProperties.js +1 -1
- 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.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 +4 -4
- 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/Price.cjs +2 -2
- package/dist/SalesAgentProductCard/components/Price.js +2 -2
- package/dist/SalesAgentProductCard/components/Rate.cjs +1 -1
- package/dist/SalesAgentProductCard/components/Rate.js +1 -1
- package/dist/SalesAgentProductCard/components/index.d.cts +8 -8
- package/dist/SalesAgentProductCard/components/index.d.ts +8 -8
- package/dist/SocialProof/SocialProof.cjs +5 -4
- package/dist/SocialProof/SocialProof.d.cts +2 -2
- package/dist/SocialProof/SocialProof.d.ts +2 -2
- package/dist/SocialProof/SocialProof.js +5 -4
- package/dist/SocialProof/components/Headline.cjs +4 -4
- package/dist/SocialProof/components/Headline.js +4 -4
- package/dist/SocialProof/components/LayoutFourHorizontal.cjs +1 -1
- package/dist/SocialProof/components/LayoutFourHorizontal.js +1 -1
- package/dist/SocialProof/components/LayoutSingle.cjs +3 -4
- package/dist/SocialProof/components/LayoutSingle.js +3 -4
- package/dist/SocialProof/components/Subheadline.cjs +1 -1
- package/dist/SocialProof/components/Subheadline.js +1 -1
- package/dist/SocialProof/hooks/useSocialProofCount.cjs +3 -2
- package/dist/SocialProof/hooks/useSocialProofCount.d.cts +2 -0
- package/dist/SocialProof/hooks/useSocialProofCount.d.ts +2 -0
- package/dist/SocialProof/hooks/useSocialProofCount.js +3 -2
- package/dist/SocialProof/types/types.d.cts +5 -0
- package/dist/SocialProof/types/types.d.ts +5 -0
- 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 +10 -3
- package/dist/TextField/TextField.d.cts +1 -0
- package/dist/TextField/TextField.d.ts +1 -0
- package/dist/TextField/TextField.js +10 -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/hooks/useVoiceInput.cjs +9 -1
- package/dist/TextField/hooks/useVoiceInput.js +9 -1
- package/dist/TextField/types/index.d.cts +19 -1
- package/dist/TextField/types/index.d.ts +19 -1
- package/dist/TitledPromptCarousel/TitledPromptCarousel.cjs +1 -1
- package/dist/TitledPromptCarousel/TitledPromptCarousel.d.cts +2 -2
- package/dist/TitledPromptCarousel/TitledPromptCarousel.d.ts +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 +2 -0
- package/src/components/ChatFooter/components/Layout.tsx +3 -1
- package/src/components/ChatFooter/components/TextField.tsx +4 -1
- package/src/components/ChatFooter/types/types.ts +3 -2
- package/src/components/FloatingChat/components/SalesAgentBadgeContent.tsx +8 -0
- package/src/components/FloatingChat/components/SalesAgentProductCardsCarousel.tsx +3 -0
- package/src/components/FullPageSalesAgent/FullPageSalesAgent.tsx +207 -49
- package/src/components/FullPageSalesAgent/components/Layout.tsx +10 -3
- package/src/components/FullPageSalesAgent/components/WelcomeOverlay.tsx +143 -0
- package/src/components/FullPageSalesAgent/components/index.ts +2 -0
- package/src/components/FullPageSalesAgent/hooks/useGetFooterStyles.ts +15 -5
- package/src/components/FullPageSalesAgent/hooks/useWelcomeOverlayProducts.ts +52 -0
- package/src/components/PromptButton/hooks/useGetLayoutBaseProperties.ts +3 -1
- package/src/components/SalesAgentProductCard/components/Price.tsx +2 -2
- package/src/components/SalesAgentProductCard/components/Rate.tsx +1 -1
- package/src/components/SocialProof/SocialProof.tsx +4 -2
- package/src/components/SocialProof/components/Headline.tsx +1 -1
- package/src/components/SocialProof/components/LayoutSingle.tsx +6 -5
- package/src/components/SocialProof/hooks/useSocialProofCount.ts +8 -1
- package/src/components/SocialProof/types/types.ts +6 -0
- package/src/components/TextField/TextField.tsx +17 -3
- package/src/components/TextField/__tests__/VoiceInputButton.test.tsx +22 -58
- 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/hooks/useVoiceInput.ts +8 -0
- package/src/components/TextField/types/index.ts +19 -1
|
@@ -1,15 +1,25 @@
|
|
|
1
1
|
import { useIsMobile } from "./useIsMobile.js";
|
|
2
2
|
|
|
3
3
|
//#region src/components/FullPageSalesAgent/hooks/useGetFooterStyles.ts
|
|
4
|
-
const
|
|
4
|
+
const getStyles = ({ isMobile, showOverlay }) => {
|
|
5
|
+
if (showOverlay) return {
|
|
6
|
+
padding: 0,
|
|
7
|
+
borderTopWidth: "0px"
|
|
8
|
+
};
|
|
9
|
+
return isMobile ? void 0 : {
|
|
10
|
+
boxShadow: "0px 2px 10px 0px rgba(0, 0, 0, 0.2)",
|
|
11
|
+
borderWidth: "1px"
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
const useGetFooterStyles = ({ showOverlay }) => {
|
|
5
15
|
const { isMobile } = useIsMobile();
|
|
6
16
|
return {
|
|
7
|
-
footerStyles:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
17
|
+
footerStyles: getStyles({
|
|
18
|
+
isMobile,
|
|
19
|
+
showOverlay
|
|
20
|
+
}),
|
|
11
21
|
footerClasses: isMobile ? "envive-tw-rounded-t-[var(--envive-global-custom-border-radius)]" : "envive-tw-rounded-[var(--envive-global-custom-border-radius)]",
|
|
12
|
-
footerContainerClasses: isMobile ? "envive-tw-z-10 envive-tw-absolute envive-tw-bottom-[0] envive-tw-left-[0] envive-tw-right-[0]" : "envive-tw-z-10 envive-tw-absolute envive-tw-bottom-5 envive-tw-
|
|
22
|
+
footerContainerClasses: isMobile ? "envive-tw-z-10 envive-tw-absolute envive-tw-bottom-[0] envive-tw-left-[0] envive-tw-right-[0]" : "envive-tw-z-10 envive-tw-absolute envive-tw-bottom-5 envive-tw-w-full envive-tw-left-0 envive-tw-right-0"
|
|
13
23
|
};
|
|
14
24
|
};
|
|
15
25
|
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
let react = require("react");
|
|
3
|
+
let __envive_ai_react_hooks_application_commerce_api = require("@envive-ai/react-hooks/application/commerce-api");
|
|
4
|
+
__envive_ai_react_hooks_application_commerce_api = require_rolldown_runtime.__toESM(__envive_ai_react_hooks_application_commerce_api);
|
|
5
|
+
|
|
6
|
+
//#region src/components/FullPageSalesAgent/hooks/useWelcomeOverlayProducts.ts
|
|
7
|
+
const mapToCardProps = (p) => ({
|
|
8
|
+
id: p.id,
|
|
9
|
+
productName: p.title ?? "",
|
|
10
|
+
currentPrice: p.salePrice ?? 0,
|
|
11
|
+
previousPrice: p.originalPrice === p.salePrice ? void 0 : p.originalPrice,
|
|
12
|
+
pricePrefix: "$",
|
|
13
|
+
rate: p.averageRating ?? 0,
|
|
14
|
+
numberOfReviews: p.numberReviews ?? 0,
|
|
15
|
+
image: {
|
|
16
|
+
src: p.imageUrl ?? "",
|
|
17
|
+
alt: `${p.title ?? ""} image`
|
|
18
|
+
},
|
|
19
|
+
url: p.url
|
|
20
|
+
});
|
|
21
|
+
const useWelcomeOverlayProducts = (productIds) => {
|
|
22
|
+
const [products, setProducts] = (0, react.useState)([]);
|
|
23
|
+
const [isLoading, setIsLoading] = (0, react.useState)(productIds.length > 0);
|
|
24
|
+
(0, react.useEffect)(() => {
|
|
25
|
+
let cancelled = false;
|
|
26
|
+
if (productIds.length === 0) return () => {};
|
|
27
|
+
setIsLoading(true);
|
|
28
|
+
__envive_ai_react_hooks_application_commerce_api.default.retrieveProducts(productIds).then((result) => {
|
|
29
|
+
if (!cancelled) setProducts(result.products.map(mapToCardProps));
|
|
30
|
+
}).catch(() => {}).finally(() => {
|
|
31
|
+
if (!cancelled) setIsLoading(false);
|
|
32
|
+
});
|
|
33
|
+
return () => {
|
|
34
|
+
cancelled = true;
|
|
35
|
+
};
|
|
36
|
+
}, []);
|
|
37
|
+
return {
|
|
38
|
+
products,
|
|
39
|
+
isLoading
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
//#endregion
|
|
44
|
+
exports.useWelcomeOverlayProducts = useWelcomeOverlayProducts;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { useEffect, useState } from "react";
|
|
2
|
+
import CommerceApiClient from "@envive-ai/react-hooks/application/commerce-api";
|
|
3
|
+
|
|
4
|
+
//#region src/components/FullPageSalesAgent/hooks/useWelcomeOverlayProducts.ts
|
|
5
|
+
const mapToCardProps = (p) => ({
|
|
6
|
+
id: p.id,
|
|
7
|
+
productName: p.title ?? "",
|
|
8
|
+
currentPrice: p.salePrice ?? 0,
|
|
9
|
+
previousPrice: p.originalPrice === p.salePrice ? void 0 : p.originalPrice,
|
|
10
|
+
pricePrefix: "$",
|
|
11
|
+
rate: p.averageRating ?? 0,
|
|
12
|
+
numberOfReviews: p.numberReviews ?? 0,
|
|
13
|
+
image: {
|
|
14
|
+
src: p.imageUrl ?? "",
|
|
15
|
+
alt: `${p.title ?? ""} image`
|
|
16
|
+
},
|
|
17
|
+
url: p.url
|
|
18
|
+
});
|
|
19
|
+
const useWelcomeOverlayProducts = (productIds) => {
|
|
20
|
+
const [products, setProducts] = useState([]);
|
|
21
|
+
const [isLoading, setIsLoading] = useState(productIds.length > 0);
|
|
22
|
+
useEffect(() => {
|
|
23
|
+
let cancelled = false;
|
|
24
|
+
if (productIds.length === 0) return () => {};
|
|
25
|
+
setIsLoading(true);
|
|
26
|
+
CommerceApiClient.retrieveProducts(productIds).then((result) => {
|
|
27
|
+
if (!cancelled) setProducts(result.products.map(mapToCardProps));
|
|
28
|
+
}).catch(() => {}).finally(() => {
|
|
29
|
+
if (!cancelled) setIsLoading(false);
|
|
30
|
+
});
|
|
31
|
+
return () => {
|
|
32
|
+
cancelled = true;
|
|
33
|
+
};
|
|
34
|
+
}, []);
|
|
35
|
+
return {
|
|
36
|
+
products,
|
|
37
|
+
isLoading
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
//#endregion
|
|
42
|
+
export { useWelcomeOverlayProducts };
|
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_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 };
|
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_runtime19 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_runtime19.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_runtime10 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_runtime10.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_runtime21 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_runtime21.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_runtime14 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_runtime14.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_runtime27 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_runtime27.JSX.Element;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { MarkdownProcessor };
|
|
@@ -1,8 +1,8 @@
|
|
|
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
6
|
const require_useGetLinkButtonIconProperties = require('../hooks/useGetLinkButtonIconProperties.cjs');
|
|
7
7
|
const require_useGetLinkButtonProperties = require('../hooks/useGetLinkButtonProperties.cjs');
|
|
8
8
|
const require_openUrlInNewTab = require('../utils/openUrlInNewTab.cjs');
|
|
@@ -1,7 +1,7 @@
|
|
|
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
5
|
import { useGetLinkButtonIconProperties } from "../hooks/useGetLinkButtonIconProperties.js";
|
|
6
6
|
import { useGetLinkButtonProperties } from "../hooks/useGetLinkButtonProperties.js";
|
|
7
7
|
import { openUrlInNewTab } from "../utils/openUrlInNewTab.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_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_runtime36 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_runtime36.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_runtime13 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_runtime13.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_runtime9 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_runtime9.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_runtime0 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_runtime0.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { PromptButton };
|
|
@@ -5,7 +5,7 @@ classnames = require_rolldown_runtime.__toESM(classnames);
|
|
|
5
5
|
//#region src/components/PromptButton/hooks/useGetLayoutBaseProperties.ts
|
|
6
6
|
const useGetLayoutBaseProperties = ({ isDisabled, isLoading }) => {
|
|
7
7
|
return {
|
|
8
|
-
baseClasses: (0, classnames.default)("envive-tw-h-fit
|
|
8
|
+
baseClasses: (0, classnames.default)("envive-tw-h-fit", "envive-tw-rounded-global-custom", "envive-tw-px-4 envive-tw-py-2", "envive-tw-group", "envive-tw-w-[stretch]", "envive-tw-max-w-min"),
|
|
9
9
|
isLoadingClasses: (0, classnames.default)(isLoading && "envive-tw-pointer-events-none envive-tw-cursor-not-allowed"),
|
|
10
10
|
isDisabledClasses: (0, classnames.default)(isDisabled && "envive-tw-opacity-50 envive-tw-cursor-not-allowed")
|
|
11
11
|
};
|
|
@@ -3,7 +3,7 @@ import classNames from "classnames";
|
|
|
3
3
|
//#region src/components/PromptButton/hooks/useGetLayoutBaseProperties.ts
|
|
4
4
|
const useGetLayoutBaseProperties = ({ isDisabled, isLoading }) => {
|
|
5
5
|
return {
|
|
6
|
-
baseClasses: classNames("envive-tw-h-fit
|
|
6
|
+
baseClasses: classNames("envive-tw-h-fit", "envive-tw-rounded-global-custom", "envive-tw-px-4 envive-tw-py-2", "envive-tw-group", "envive-tw-w-[stretch]", "envive-tw-max-w-min"),
|
|
7
7
|
isLoadingClasses: classNames(isLoading && "envive-tw-pointer-events-none envive-tw-cursor-not-allowed"),
|
|
8
8
|
isDisabledClasses: classNames(isDisabled && "envive-tw-opacity-50 envive-tw-cursor-not-allowed")
|
|
9
9
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PromptButtonCarouselWithImageProps } from "./types/types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime20 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_runtime20.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_runtime4 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_runtime4.JSX.Element;
|
|
31
31
|
//#endregion
|
|
32
32
|
export { PromptButtonCarouselWithImage };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
const require_resolveTheme = require('../../utils/resolveTheme.cjs');
|
|
2
3
|
const require_Stack = require('../../Stack/Stack.cjs');
|
|
3
4
|
require('../../Stack/index.cjs');
|
|
4
|
-
const require_resolveTheme = require('../../utils/resolveTheme.cjs');
|
|
5
5
|
const require_PromptButton = require('../../PromptButton/PromptButton.cjs');
|
|
6
6
|
require('../../PromptButton/index.cjs');
|
|
7
7
|
const require_utils_useCheckIsMobile = require('../../utils/useCheckIsMobile.cjs');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { resolveTheme } from "../../utils/resolveTheme.js";
|
|
1
2
|
import { Stack } from "../../Stack/Stack.js";
|
|
2
3
|
import "../../Stack/index.js";
|
|
3
|
-
import { resolveTheme } from "../../utils/resolveTheme.js";
|
|
4
4
|
import { PromptButton } from "../../PromptButton/PromptButton.js";
|
|
5
5
|
import "../../PromptButton/index.js";
|
|
6
6
|
import { useCheckIsMobile } from "../../utils/useCheckIsMobile.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
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
|
|
4
|
-
require('../Stack/index.cjs');
|
|
3
|
+
const require_resolveTheme = require('../utils/resolveTheme.cjs');
|
|
5
4
|
const require_Container = require('../Container/Container.cjs');
|
|
6
5
|
require('../Container/index.cjs');
|
|
7
|
-
const
|
|
6
|
+
const require_Stack = require('../Stack/Stack.cjs');
|
|
7
|
+
require('../Stack/index.cjs');
|
|
8
8
|
const require_PromptButton_types_index = require('../PromptButton/types/index.cjs');
|
|
9
9
|
const require_PromptButton = require('../PromptButton/PromptButton.cjs');
|
|
10
10
|
require('../PromptButton/index.cjs');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PromptCarouselProps } from "./types/types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime23 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/PromptCarousel/PromptCarousel.d.ts
|
|
5
5
|
declare const PromptCarousel: ({
|
|
@@ -26,6 +26,6 @@ declare const PromptCarousel: ({
|
|
|
26
26
|
"aria-labelledby": ariaLabelledBy,
|
|
27
27
|
"aria-describedby": ariaDescribedBy,
|
|
28
28
|
role
|
|
29
|
-
}: PromptCarouselProps) =>
|
|
29
|
+
}: PromptCarouselProps) => react_jsx_runtime23.JSX.Element;
|
|
30
30
|
//#endregion
|
|
31
31
|
export { PromptCarousel };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PromptCarouselProps } from "./types/types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime36 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/PromptCarousel/PromptCarousel.d.ts
|
|
5
5
|
declare const PromptCarousel: ({
|
|
@@ -26,6 +26,6 @@ declare const PromptCarousel: ({
|
|
|
26
26
|
"aria-labelledby": ariaLabelledBy,
|
|
27
27
|
"aria-describedby": ariaDescribedBy,
|
|
28
28
|
role
|
|
29
|
-
}: PromptCarouselProps) =>
|
|
29
|
+
}: PromptCarouselProps) => react_jsx_runtime36.JSX.Element;
|
|
30
30
|
//#endregion
|
|
31
31
|
export { PromptCarousel };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Theme } from "../packages/components-v3/tokens/theme/theme.js";
|
|
2
|
-
import {
|
|
3
|
-
import "../Stack/index.js";
|
|
2
|
+
import { resolveTheme } from "../utils/resolveTheme.js";
|
|
4
3
|
import { Container } from "../Container/Container.js";
|
|
5
4
|
import "../Container/index.js";
|
|
6
|
-
import {
|
|
5
|
+
import { Stack } from "../Stack/Stack.js";
|
|
6
|
+
import "../Stack/index.js";
|
|
7
7
|
import { PromptButtonVariant } from "../PromptButton/types/index.js";
|
|
8
8
|
import { PromptButton } from "../PromptButton/PromptButton.js";
|
|
9
9
|
import "../PromptButton/index.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReviewCardProps } from "./types/types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ReviewCard/ReviewCard.d.ts
|
|
5
5
|
|
|
@@ -27,6 +27,6 @@ declare const ReviewCard: ({
|
|
|
27
27
|
verifiedBuyerLabel,
|
|
28
28
|
onExpand,
|
|
29
29
|
onCollapse
|
|
30
|
-
}: ReviewCardProps) =>
|
|
30
|
+
}: ReviewCardProps) => react_jsx_runtime0.JSX.Element;
|
|
31
31
|
//#endregion
|
|
32
32
|
export { ReviewCard };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
const require_Stack = require('../../Stack/Stack.cjs');
|
|
3
|
-
require('../../Stack/index.cjs');
|
|
4
2
|
const require_Container = require('../../Container/Container.cjs');
|
|
5
3
|
require('../../Container/index.cjs');
|
|
4
|
+
const require_Stack = require('../../Stack/Stack.cjs');
|
|
5
|
+
require('../../Stack/index.cjs');
|
|
6
6
|
const require_useGetThemeProperties = require('../hooks/useGetThemeProperties.cjs');
|
|
7
7
|
const require_useGetPaddingProperties = require('../hooks/useGetPaddingProperties.cjs');
|
|
8
8
|
const require_useGetCardWidthProperties = require('../hooks/useGetCardWidthProperties.cjs');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Stack } from "../../Stack/Stack.js";
|
|
2
|
-
import "../../Stack/index.js";
|
|
3
1
|
import { Container } from "../../Container/Container.js";
|
|
4
2
|
import "../../Container/index.js";
|
|
3
|
+
import { Stack } from "../../Stack/Stack.js";
|
|
4
|
+
import "../../Stack/index.js";
|
|
5
5
|
import { useGetThemeProperties } from "../hooks/useGetThemeProperties.js";
|
|
6
6
|
import { useGetPaddingProperties } from "../hooks/useGetPaddingProperties.js";
|
|
7
7
|
import { useGetCardWidthProperties } from "../hooks/useGetCardWidthProperties.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
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_CustomIcon = require('../../utils/CustomIcon.cjs');
|
|
3
4
|
const require_index = require('../../Typography/types/index.cjs');
|
|
4
5
|
const require_Typography = require('../../Typography/Typography.cjs');
|
|
5
6
|
require('../../Typography/index.cjs');
|
|
6
|
-
const require_CustomIcon = require('../../utils/CustomIcon.cjs');
|
|
7
7
|
const require_useGetReadMoreTypographyProperties = require('../hooks/useGetReadMoreTypographyProperties.cjs');
|
|
8
8
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
9
9
|
let classnames = require("classnames");
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Theme } from "../../packages/components-v3/tokens/theme/theme.js";
|
|
2
|
+
import { CustomIcon } from "../../utils/CustomIcon.js";
|
|
2
3
|
import { TypographyColor } from "../../Typography/types/index.js";
|
|
3
4
|
import { Typography } from "../../Typography/Typography.js";
|
|
4
5
|
import "../../Typography/index.js";
|
|
5
|
-
import { CustomIcon } from "../../utils/CustomIcon.js";
|
|
6
6
|
import { useGetReadMoreTypographyProperties } from "../hooks/useGetReadMoreTypographyProperties.js";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
import classNames from "classnames";
|
|
@@ -3,7 +3,7 @@ import { ContainerProps } from "./Container.cjs";
|
|
|
3
3
|
import { RatingProps } from "./Rating.cjs";
|
|
4
4
|
import { ReadMoreButtonProps } from "./ReadMoreButton.cjs";
|
|
5
5
|
import * as react7 from "react";
|
|
6
|
-
import * as
|
|
6
|
+
import * as react_jsx_runtime16 from "react/jsx-runtime";
|
|
7
7
|
|
|
8
8
|
//#region src/components/ReviewCard/components/index.d.ts
|
|
9
9
|
declare const ReviewCardComponents: {
|
|
@@ -31,12 +31,12 @@ declare const ReviewCardComponents: {
|
|
|
31
31
|
verifiedBuyerLabel?: string;
|
|
32
32
|
className?: string;
|
|
33
33
|
style?: React.CSSProperties;
|
|
34
|
-
}) =>
|
|
34
|
+
}) => react_jsx_runtime16.JSX.Element;
|
|
35
35
|
Rating: ({
|
|
36
36
|
rating,
|
|
37
37
|
theme,
|
|
38
38
|
style
|
|
39
|
-
}: RatingProps) =>
|
|
39
|
+
}: RatingProps) => react_jsx_runtime16.JSX.Element;
|
|
40
40
|
StarIcon: ({
|
|
41
41
|
theme,
|
|
42
42
|
style,
|
|
@@ -56,7 +56,7 @@ declare const ReviewCardComponents: {
|
|
|
56
56
|
isExpanded: boolean;
|
|
57
57
|
className?: string;
|
|
58
58
|
style?: React.CSSProperties;
|
|
59
|
-
}) =>
|
|
59
|
+
}) => react_jsx_runtime16.JSX.Element;
|
|
60
60
|
ReadMoreButton: ({
|
|
61
61
|
isExpanded,
|
|
62
62
|
onToggle,
|