@envive-ai/react-toolkit-v3 0.3.10 → 0.3.12
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/CSSVariablesEditor/hooks/useGetCssVariablesOptions.cjs +1 -1
- package/dist/CSSVariablesEditor/hooks/useGetCssVariablesOptions.js +1 -1
- package/dist/CSSVariablesEditor/hooks/useGetCurrentMerchantColors.cjs +1 -1
- package/dist/CSSVariablesEditor/hooks/useGetCurrentMerchantColors.js +1 -1
- package/dist/CSSVariablesEditor/hooks/useGetDefaultCssVariables.cjs +1 -1
- package/dist/CSSVariablesEditor/hooks/useGetDefaultCssVariables.js +1 -1
- package/dist/CSSVariablesEditor/hooks/useHandleUpdateCssVars.cjs +1 -1
- package/dist/CSSVariablesEditor/hooks/useHandleUpdateCssVars.js +1 -1
- package/dist/Carousel/Carousel.d.cts +2 -2
- package/dist/Carousel/Carousel.d.ts +2 -2
- package/dist/Carousel/components/Badge.cjs +1 -1
- package/dist/Carousel/components/Badge.js +1 -1
- package/dist/Carousel/components/Container.cjs +11 -3
- package/dist/Carousel/components/Container.js +12 -4
- package/dist/ChatFooter/ChatFooter.cjs +1 -1
- package/dist/ChatFooter/ChatFooter.d.cts +2 -2
- package/dist/ChatFooter/ChatFooter.d.ts +2 -2
- package/dist/ChatFooter/ChatFooter.js +1 -1
- package/dist/ChatFooter/components/Layout.cjs +3 -9
- package/dist/ChatFooter/components/Layout.js +3 -9
- package/dist/ChatFooter/components/index.d.cts +3 -3
- 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/ChatHeader/hooks/useGetCloseButtonProperties.cjs +1 -1
- package/dist/ChatHeader/hooks/useGetCloseButtonProperties.js +1 -1
- package/dist/ChatHeader/hooks/useGetLayoutProperties.cjs +1 -1
- package/dist/ChatHeader/hooks/useGetLayoutProperties.js +1 -1
- package/dist/ChatPreview/ChatPreview.d.cts +2 -2
- package/dist/ChatPreview/ChatPreview.d.ts +2 -2
- package/dist/ChatPreviewComparison/ChatPreviewComparison.d.cts +2 -2
- package/dist/ChatPreviewComparison/ChatPreviewComparison.d.ts +2 -2
- package/dist/ChatPreviewComparison/components/Layout.cjs +2 -2
- package/dist/ChatPreviewComparison/components/Layout.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 +5 -5
- package/dist/Container/Container.d.ts +5 -5
- package/dist/DesignTokens/DesignTokensComponent.d.ts +2 -2
- package/dist/DesignTokens/components/FontFamily.cjs +1 -1
- package/dist/DesignTokens/components/FontFamily.js +1 -1
- package/dist/DesignTokens/components/FontSize.cjs +1 -1
- package/dist/DesignTokens/components/FontSize.js +1 -1
- package/dist/DesignTokens/components/FontWeight.cjs +1 -1
- package/dist/DesignTokens/components/FontWeight.js +1 -1
- package/dist/DesignTokens/components/LetterSpacing.cjs +1 -1
- package/dist/DesignTokens/components/LetterSpacing.js +1 -1
- package/dist/DesignTokens/components/LineHeight.cjs +1 -1
- package/dist/DesignTokens/components/LineHeight.js +1 -1
- package/dist/DesignTokens/components/Typography.cjs +1 -1
- package/dist/DesignTokens/components/Typography.js +1 -1
- package/dist/Disclaimer/components/Container.cjs +1 -1
- package/dist/Disclaimer/components/Container.js +1 -1
- package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.cts +2 -2
- package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.ts +2 -2
- package/dist/DocumentRetrievalCard/components/Image.cjs +1 -1
- package/dist/DocumentRetrievalCard/components/Image.js +1 -1
- package/dist/DocumentRetrievalCard/components/Layout.cjs +1 -1
- package/dist/DocumentRetrievalCard/components/Layout.js +1 -1
- 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/components/Label.cjs +1 -1
- package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Label.js +1 -1
- package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Layout.cjs +1 -1
- package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Layout.js +1 -1
- package/dist/FloatingButton/FloatingButton.d.cts +2 -2
- package/dist/FloatingButton/FloatingButton.d.ts +2 -2
- package/dist/FloatingButton/components/Button.cjs +1 -1
- package/dist/FloatingButton/components/Button.js +1 -1
- package/dist/FloatingButton/components/Container.cjs +1 -1
- package/dist/FloatingButton/components/Container.js +1 -1
- package/dist/FloatingButton/components/Wrapper.cjs +1 -1
- package/dist/FloatingButton/components/Wrapper.js +1 -1
- package/dist/FloatingChat/FloatingChat.cjs +6 -4
- package/dist/FloatingChat/FloatingChat.d.cts +3 -2
- package/dist/FloatingChat/FloatingChat.d.ts +3 -2
- package/dist/FloatingChat/FloatingChat.js +6 -4
- package/dist/FloatingChat/components/ChatMessages.cjs +1 -1
- package/dist/FloatingChat/components/ChatMessages.js +1 -1
- package/dist/FloatingChat/components/Layout.cjs +6 -2
- package/dist/FloatingChat/components/Layout.js +6 -2
- package/dist/FloatingChat/components/SalesAgentProductCardsCarousel.cjs +1 -0
- package/dist/FloatingChat/components/SalesAgentProductCardsCarousel.js +1 -0
- package/dist/FloatingChat/types/types.d.cts +4 -0
- package/dist/FloatingChat/types/types.d.ts +4 -0
- package/dist/Form/Form.cjs +1 -1
- package/dist/Form/Form.js +1 -1
- package/dist/Form/components/Layout.cjs +1 -1
- package/dist/Form/components/Layout.js +1 -1
- package/dist/Form/components/SubmitButtonItem.cjs +1 -1
- package/dist/Form/components/SubmitButtonItem.js +1 -1
- package/dist/Form/components/TextFieldItem.cjs +1 -1
- package/dist/Form/components/TextFieldItem.js +1 -1
- package/dist/FullPageSalesAgent/FullPageSalesAgent.cjs +132 -0
- package/dist/FullPageSalesAgent/FullPageSalesAgent.d.cts +24 -0
- package/dist/FullPageSalesAgent/FullPageSalesAgent.d.ts +24 -0
- package/dist/FullPageSalesAgent/FullPageSalesAgent.js +131 -0
- package/dist/FullPageSalesAgent/components/Layout.cjs +53 -0
- package/dist/FullPageSalesAgent/components/Layout.js +51 -0
- package/dist/FullPageSalesAgent/components/index.cjs +7 -0
- package/dist/FullPageSalesAgent/components/index.js +7 -0
- package/dist/FullPageSalesAgent/hooks/useContainerResizerObserver.cjs +23 -0
- package/dist/FullPageSalesAgent/hooks/useContainerResizerObserver.js +22 -0
- package/dist/FullPageSalesAgent/hooks/useGetContainerStyles.cjs +16 -0
- package/dist/FullPageSalesAgent/hooks/useGetContainerStyles.js +16 -0
- package/dist/FullPageSalesAgent/hooks/useGetFooterStyles.cjs +16 -0
- package/dist/FullPageSalesAgent/hooks/useGetFooterStyles.js +16 -0
- package/dist/FullPageSalesAgent/hooks/useGetScrollContentStyles.cjs +19 -0
- package/dist/FullPageSalesAgent/hooks/useGetScrollContentStyles.js +17 -0
- package/dist/FullPageSalesAgent/hooks/useIsMobile.cjs +7 -0
- package/dist/FullPageSalesAgent/hooks/useIsMobile.js +7 -0
- package/dist/FullPageSalesAgent/index.cjs +3 -0
- package/dist/FullPageSalesAgent/index.d.cts +2 -0
- package/dist/FullPageSalesAgent/index.d.ts +2 -0
- package/dist/FullPageSalesAgent/index.js +3 -0
- package/dist/Image/Image.cjs +6 -1
- package/dist/Image/Image.d.cts +2 -2
- package/dist/Image/Image.d.ts +2 -2
- package/dist/Image/Image.js +6 -1
- 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/ImageGallery/utils/functions.cjs +1 -1
- package/dist/ImageGallery/utils/functions.js +1 -1
- package/dist/MarkdownProcessor/MarkdownProcessor.d.cts +2 -2
- package/dist/MarkdownProcessor/MarkdownProcessor.d.ts +2 -2
- package/dist/Message/components/Layout.cjs +1 -1
- package/dist/Message/components/Layout.js +1 -1
- package/dist/Message/hooks/useVariantStyleProperties.cjs +1 -1
- package/dist/Message/hooks/useVariantStyleProperties.js +1 -1
- package/dist/OrderLookupCard/OrderLookupCard.cjs +1 -1
- package/dist/OrderLookupCard/OrderLookupCard.js +1 -1
- package/dist/OrderLookupCard/components/Layout.cjs +1 -1
- package/dist/OrderLookupCard/components/Layout.js +1 -1
- package/dist/OrderLookupCard/components/MoreProductsOverlay.cjs +1 -1
- package/dist/OrderLookupCard/components/MoreProductsOverlay.js +1 -1
- package/dist/OrderLookupCard/components/ProductImageGridItem.cjs +1 -1
- package/dist/OrderLookupCard/components/ProductImageGridItem.js +1 -1
- package/dist/OrderLookupCard/components/ProductImageItem.cjs +1 -1
- package/dist/OrderLookupCard/components/ProductImageItem.js +1 -1
- package/dist/OrderLookupCard/components/ProductImagesGrid.cjs +1 -1
- package/dist/OrderLookupCard/components/ProductImagesGrid.js +1 -1
- package/dist/OrderLookupCard/components/StatusLabel.cjs +1 -1
- package/dist/OrderLookupCard/components/StatusLabel.js +1 -1
- package/dist/OrderLookupCard/components/TrackOrderLink.cjs +1 -1
- package/dist/OrderLookupCard/components/TrackOrderLink.js +1 -1
- package/dist/ProductCard/ProductCard.cjs +1 -1
- package/dist/ProductCard/ProductCard.d.cts +2 -2
- package/dist/ProductCard/ProductCard.d.ts +2 -2
- package/dist/ProductCard/ProductCard.js +1 -1
- package/dist/PromptButton/PromptButton.cjs +1 -1
- package/dist/PromptButton/PromptButton.d.cts +2 -2
- package/dist/PromptButton/PromptButton.d.ts +2 -2
- package/dist/PromptButton/PromptButton.js +1 -1
- package/dist/PromptButton/components/Layout.cjs +1 -1
- package/dist/PromptButton/components/Layout.js +1 -1
- package/dist/PromptButton/components/Loading.cjs +1 -1
- package/dist/PromptButton/components/Loading.js +1 -1
- package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.cts +2 -2
- package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.ts +2 -2
- package/dist/PromptButtonCarouselWithImage/components/Layout.cjs +1 -1
- package/dist/PromptButtonCarouselWithImage/components/Layout.js +1 -1
- package/dist/PromptButtonCarouselWithImage/components/Skeleton.cjs +1 -1
- package/dist/PromptButtonCarouselWithImage/components/Skeleton.js +1 -1
- package/dist/PromptCarousel/PromptCarousel.cjs +20 -29
- package/dist/PromptCarousel/PromptCarousel.d.cts +2 -2
- package/dist/PromptCarousel/PromptCarousel.d.ts +2 -2
- package/dist/PromptCarousel/PromptCarousel.js +20 -29
- package/dist/ReviewCard/ReviewCard.d.cts +2 -2
- package/dist/ReviewCard/ReviewCard.d.ts +2 -2
- package/dist/ReviewCard/components/Container.cjs +1 -1
- package/dist/ReviewCard/components/Container.js +1 -1
- package/dist/ReviewCard/components/Rating.cjs +1 -1
- package/dist/ReviewCard/components/Rating.js +1 -1
- 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.cjs +2 -1
- package/dist/SalesAgentProductCard/SalesAgentProductCard.d.cts +3 -2
- package/dist/SalesAgentProductCard/SalesAgentProductCard.d.ts +3 -2
- package/dist/SalesAgentProductCard/SalesAgentProductCard.js +2 -1
- package/dist/SalesAgentProductCard/components/Container.cjs +8 -6
- package/dist/SalesAgentProductCard/components/Container.d.cts +2 -1
- package/dist/SalesAgentProductCard/components/Container.d.ts +2 -1
- package/dist/SalesAgentProductCard/components/Container.js +8 -6
- package/dist/SalesAgentProductCard/components/ProductImage.cjs +1 -1
- package/dist/SalesAgentProductCard/components/ProductImage.js +1 -1
- package/dist/SalesAgentProductCard/components/ProductName.cjs +1 -1
- package/dist/SalesAgentProductCard/components/ProductName.js +1 -1
- package/dist/SalesAgentProductCard/components/index.d.cts +9 -8
- package/dist/SalesAgentProductCard/components/index.d.ts +9 -8
- package/dist/SalesAgentProductCard/types/types.d.cts +4 -0
- package/dist/SalesAgentProductCard/types/types.d.ts +4 -0
- package/dist/SocialProof/SocialProof.d.cts +2 -2
- package/dist/SocialProof/SocialProof.d.ts +2 -2
- package/dist/SocialProof/components/Headline.cjs +1 -1
- package/dist/SocialProof/components/Headline.js +1 -1
- package/dist/SocialProof/components/LayoutFourHorizontal.cjs +1 -1
- package/dist/SocialProof/components/LayoutFourHorizontal.js +1 -1
- package/dist/TextField/TextField.cjs +1 -1
- package/dist/TextField/TextField.js +1 -1
- package/dist/TextField/components/Input.cjs +1 -1
- package/dist/TextField/components/Input.js +1 -1
- package/dist/TextField/components/Layout.cjs +1 -1
- package/dist/TextField/components/Layout.js +1 -1
- package/dist/TextField/components/SendIcon.cjs +1 -1
- package/dist/TextField/components/SendIcon.js +1 -1
- package/dist/Title/Title.cjs +1 -1
- package/dist/Title/Title.js +1 -1
- package/dist/Title/components/Layout.cjs +1 -1
- package/dist/Title/components/Layout.js +1 -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 +2 -2
- package/dist/Tokens/index.js +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/WelcomeMessage/components/Container.cjs +1 -1
- package/dist/WelcomeMessage/components/Container.js +1 -1
- package/dist/WidgetTextField/WidgetTextField.d.cts +2 -2
- package/dist/WidgetTextField/components/Container.cjs +1 -1
- package/dist/WidgetTextField/components/Container.js +1 -1
- package/dist/WidgetTextField/components/Skeleton.cjs +1 -1
- package/dist/WidgetTextField/components/Skeleton.js +1 -1
- package/dist/WidgetWrapper/WidgetWrapper.cjs +1 -1
- package/dist/WidgetWrapper/WidgetWrapper.d.cts +2 -2
- package/dist/WidgetWrapper/WidgetWrapper.d.ts +2 -2
- package/dist/WidgetWrapper/WidgetWrapper.js +1 -1
- package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.cts +2 -2
- package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.ts +2 -2
- package/dist/styles.css +1 -1
- package/dist/utils/resolveTheme.cjs +1 -1
- package/dist/utils/resolveTheme.js +1 -1
- package/package.json +5 -1
- package/src/components/Carousel/components/Container.tsx +15 -3
- package/src/components/ChatFooter/components/Layout.tsx +2 -14
- package/src/components/ChatHeader/hooks/useGetCloseButtonProperties.ts +1 -1
- package/src/components/FloatingChat/FloatingChat.tsx +8 -2
- package/src/components/FloatingChat/components/Layout.tsx +3 -0
- package/src/components/FloatingChat/components/SalesAgentProductCardsCarousel.tsx +4 -3
- package/src/components/FloatingChat/types/types.ts +4 -0
- package/src/components/FullPageSalesAgent/FullPageSalesAgent.tsx +203 -0
- package/src/components/FullPageSalesAgent/components/Layout.tsx +81 -0
- package/src/components/FullPageSalesAgent/components/index.ts +5 -0
- package/src/components/FullPageSalesAgent/hooks/useContainerResizerObserver.ts +34 -0
- package/src/components/FullPageSalesAgent/hooks/useGetContainerStyles.ts +24 -0
- package/src/components/FullPageSalesAgent/hooks/useGetFooterStyles.ts +17 -0
- package/src/components/FullPageSalesAgent/hooks/useGetScrollContentStyles.ts +17 -0
- package/src/components/FullPageSalesAgent/hooks/useIsMobile.ts +3 -0
- package/src/components/FullPageSalesAgent/index.ts +1 -0
- package/src/components/Image/Image.tsx +2 -0
- package/src/components/Message/hooks/useVariantStyleProperties.ts +1 -1
- package/src/components/PromptCarousel/PromptCarousel.tsx +29 -31
- package/src/components/SalesAgentProductCard/SalesAgentProductCard.tsx +2 -0
- package/src/components/SalesAgentProductCard/components/Container.tsx +16 -9
- package/src/components/SalesAgentProductCard/types/types.ts +4 -0
- package/dist/ChatFooter/hooks/useGetButtonScrollProperties.cjs +0 -18
- package/dist/ChatFooter/hooks/useGetButtonScrollProperties.js +0 -17
|
@@ -2,8 +2,8 @@ import { Theme } from "../../packages/components-v3/tokens/theme/theme.js";
|
|
|
2
2
|
import { ContainerProps } from "./Container.js";
|
|
3
3
|
import { RatingProps } from "./Rating.js";
|
|
4
4
|
import { ReadMoreButtonProps } from "./ReadMoreButton.js";
|
|
5
|
-
import * as
|
|
6
|
-
import * as
|
|
5
|
+
import * as react0 from "react";
|
|
6
|
+
import * as react_jsx_runtime1 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_runtime1.JSX.Element;
|
|
35
35
|
Rating: ({
|
|
36
36
|
rating,
|
|
37
37
|
theme,
|
|
38
38
|
style
|
|
39
|
-
}: RatingProps) =>
|
|
39
|
+
}: RatingProps) => react_jsx_runtime1.JSX.Element;
|
|
40
40
|
StarIcon: ({
|
|
41
41
|
theme,
|
|
42
42
|
style,
|
|
@@ -45,7 +45,7 @@ declare const ReviewCardComponents: {
|
|
|
45
45
|
theme: Theme;
|
|
46
46
|
style?: React.CSSProperties;
|
|
47
47
|
className?: string;
|
|
48
|
-
}) =>
|
|
48
|
+
}) => react0.ReactElement<react0.SVGProps<SVGSVGElement>, string | react0.JSXElementConstructor<any>>;
|
|
49
49
|
ReviewText: ({
|
|
50
50
|
reviewText,
|
|
51
51
|
isExpanded,
|
|
@@ -56,7 +56,7 @@ declare const ReviewCardComponents: {
|
|
|
56
56
|
isExpanded: boolean;
|
|
57
57
|
className?: string;
|
|
58
58
|
style?: React.CSSProperties;
|
|
59
|
-
}) =>
|
|
59
|
+
}) => react_jsx_runtime1.JSX.Element;
|
|
60
60
|
ReadMoreButton: ({
|
|
61
61
|
isExpanded,
|
|
62
62
|
onToggle,
|
|
@@ -15,7 +15,7 @@ let react_jsx_runtime = require("react/jsx-runtime");
|
|
|
15
15
|
* and supports different variants and themes.
|
|
16
16
|
* @public
|
|
17
17
|
*/
|
|
18
|
-
const SalesAgentProductCard = ({ id, testId, className, style, theme = require_theme.Theme.GLOBAL_CUSTOM, variant = require_types.SalesAgentProductCardVariant.LARGE, imageAspectRatio = require_index.ImageAspectRatio.GLOBAL_CUSTOM, numberOfReviews, productName, previousPrice, currentPrice, pricePrefix = "$", forceShowCurrentPriceSpace = false, rate, image, url, onClick }) => {
|
|
18
|
+
const SalesAgentProductCard = ({ id, testId, className, style, theme = require_theme.Theme.GLOBAL_CUSTOM, variant = require_types.SalesAgentProductCardVariant.LARGE, imageAspectRatio = require_index.ImageAspectRatio.GLOBAL_CUSTOM, numberOfReviews, productName, previousPrice, currentPrice, pricePrefix = "$", forceShowCurrentPriceSpace = false, rate, image, url, target, onClick }) => {
|
|
19
19
|
const finalTheme = require_resolveTheme.resolveTheme(theme);
|
|
20
20
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_index$1.SalesAgentProductCardComponents.Container, {
|
|
21
21
|
id,
|
|
@@ -25,6 +25,7 @@ const SalesAgentProductCard = ({ id, testId, className, style, theme = require_t
|
|
|
25
25
|
theme: finalTheme,
|
|
26
26
|
variant,
|
|
27
27
|
url,
|
|
28
|
+
target,
|
|
28
29
|
onClick,
|
|
29
30
|
productName: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_index$1.SalesAgentProductCardComponents.ProductName, {
|
|
30
31
|
label: productName,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SalesAgentProductCardProps } from "./types/types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime15 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/SalesAgentProductCard/SalesAgentProductCard.d.ts
|
|
5
5
|
|
|
@@ -28,7 +28,8 @@ declare const SalesAgentProductCard: ({
|
|
|
28
28
|
rate,
|
|
29
29
|
image,
|
|
30
30
|
url,
|
|
31
|
+
target,
|
|
31
32
|
onClick
|
|
32
|
-
}: SalesAgentProductCardProps) =>
|
|
33
|
+
}: SalesAgentProductCardProps) => react_jsx_runtime15.JSX.Element;
|
|
33
34
|
//#endregion
|
|
34
35
|
export { SalesAgentProductCard };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SalesAgentProductCardProps } from "./types/types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime18 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/SalesAgentProductCard/SalesAgentProductCard.d.ts
|
|
5
5
|
|
|
@@ -28,7 +28,8 @@ declare const SalesAgentProductCard: ({
|
|
|
28
28
|
rate,
|
|
29
29
|
image,
|
|
30
30
|
url,
|
|
31
|
+
target,
|
|
31
32
|
onClick
|
|
32
|
-
}: SalesAgentProductCardProps) =>
|
|
33
|
+
}: SalesAgentProductCardProps) => react_jsx_runtime18.JSX.Element;
|
|
33
34
|
//#endregion
|
|
34
35
|
export { SalesAgentProductCard };
|
|
@@ -14,7 +14,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
14
14
|
* and supports different variants and themes.
|
|
15
15
|
* @public
|
|
16
16
|
*/
|
|
17
|
-
const SalesAgentProductCard = ({ id, testId, className, style, theme = Theme.GLOBAL_CUSTOM, variant = SalesAgentProductCardVariant.LARGE, imageAspectRatio = ImageAspectRatio.GLOBAL_CUSTOM, numberOfReviews, productName, previousPrice, currentPrice, pricePrefix = "$", forceShowCurrentPriceSpace = false, rate, image, url, onClick }) => {
|
|
17
|
+
const SalesAgentProductCard = ({ id, testId, className, style, theme = Theme.GLOBAL_CUSTOM, variant = SalesAgentProductCardVariant.LARGE, imageAspectRatio = ImageAspectRatio.GLOBAL_CUSTOM, numberOfReviews, productName, previousPrice, currentPrice, pricePrefix = "$", forceShowCurrentPriceSpace = false, rate, image, url, target, onClick }) => {
|
|
18
18
|
const finalTheme = resolveTheme(theme);
|
|
19
19
|
return /* @__PURE__ */ jsx(SalesAgentProductCardComponents.Container, {
|
|
20
20
|
id,
|
|
@@ -24,6 +24,7 @@ const SalesAgentProductCard = ({ id, testId, className, style, theme = Theme.GLO
|
|
|
24
24
|
theme: finalTheme,
|
|
25
25
|
variant,
|
|
26
26
|
url,
|
|
27
|
+
target,
|
|
27
28
|
onClick,
|
|
28
29
|
productName: /* @__PURE__ */ jsx(SalesAgentProductCardComponents.ProductName, {
|
|
29
30
|
label: productName,
|
|
@@ -7,12 +7,12 @@ require('../../Container/index.cjs');
|
|
|
7
7
|
const require_types = require('../types/types.cjs');
|
|
8
8
|
const require_useGetContainerProperties = require('../hooks/useGetContainerProperties.cjs');
|
|
9
9
|
const require_useGetProductDescriptionProperties = require('../hooks/useGetProductDescriptionProperties.cjs');
|
|
10
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
11
10
|
let classnames = require("classnames");
|
|
12
11
|
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
12
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
13
13
|
|
|
14
14
|
//#region src/components/SalesAgentProductCard/components/Container.tsx
|
|
15
|
-
const Container$1 = ({ id, testId, className, style, variant = require_types.SalesAgentProductCardVariant.SMALL, theme = require_theme.Theme.GLOBAL_CUSTOM, productName, price, rate, image, url, onClick }) => {
|
|
15
|
+
const Container$1 = ({ id, testId, className, style, variant = require_types.SalesAgentProductCardVariant.SMALL, theme = require_theme.Theme.GLOBAL_CUSTOM, productName, price, rate, image, url, target = "_self", onClick }) => {
|
|
16
16
|
const { baseClassName, themeContainerClassNames, containerDirection, containerWidthClassName } = require_useGetContainerProperties.useGetContainerProperties({
|
|
17
17
|
theme,
|
|
18
18
|
variant
|
|
@@ -27,10 +27,12 @@ const Container$1 = ({ id, testId, className, style, variant = require_types.Sal
|
|
|
27
27
|
component: "a",
|
|
28
28
|
style,
|
|
29
29
|
className,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
...target !== "none" ? {
|
|
31
|
+
href: url,
|
|
32
|
+
onClick,
|
|
33
|
+
target,
|
|
34
|
+
draggable: false
|
|
35
|
+
} : { onClick },
|
|
34
36
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_Stack.Stack, {
|
|
35
37
|
direction: containerDirection,
|
|
36
38
|
gap: "0",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Theme } from "../../tokens/theme/theme.cjs";
|
|
2
|
-
import { SalesAgentProductCardVariant } from "../types/types.cjs";
|
|
2
|
+
import { SalesAgentProductCardProps, SalesAgentProductCardVariant } from "../types/types.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/components/SalesAgentProductCard/components/Container.d.ts
|
|
5
5
|
type ContainerProps = {
|
|
@@ -14,6 +14,7 @@ type ContainerProps = {
|
|
|
14
14
|
rate: React.ReactNode;
|
|
15
15
|
image: React.ReactNode;
|
|
16
16
|
url: string;
|
|
17
|
+
target?: SalesAgentProductCardProps['target'];
|
|
17
18
|
onClick?: () => void | Promise<void>;
|
|
18
19
|
};
|
|
19
20
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Theme } from "../../packages/components-v3/tokens/theme/theme.js";
|
|
2
|
-
import { SalesAgentProductCardVariant } from "../types/types.js";
|
|
2
|
+
import { SalesAgentProductCardProps, SalesAgentProductCardVariant } from "../types/types.js";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/SalesAgentProductCard/components/Container.d.ts
|
|
@@ -15,6 +15,7 @@ type ContainerProps = {
|
|
|
15
15
|
rate: React.ReactNode;
|
|
16
16
|
image: React.ReactNode;
|
|
17
17
|
url: string;
|
|
18
|
+
target?: SalesAgentProductCardProps['target'];
|
|
18
19
|
onClick?: () => void | Promise<void>;
|
|
19
20
|
};
|
|
20
21
|
//#endregion
|
|
@@ -6,11 +6,11 @@ import "../../Container/index.js";
|
|
|
6
6
|
import { SalesAgentProductCardVariant } from "../types/types.js";
|
|
7
7
|
import { useGetContainerProperties } from "../hooks/useGetContainerProperties.js";
|
|
8
8
|
import { useGetProductDescriptionProperties } from "../hooks/useGetProductDescriptionProperties.js";
|
|
9
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
9
|
import classNames from "classnames";
|
|
10
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
|
|
12
12
|
//#region src/components/SalesAgentProductCard/components/Container.tsx
|
|
13
|
-
const Container$1 = ({ id, testId, className, style, variant = SalesAgentProductCardVariant.SMALL, theme = Theme.GLOBAL_CUSTOM, productName, price, rate, image, url, onClick }) => {
|
|
13
|
+
const Container$1 = ({ id, testId, className, style, variant = SalesAgentProductCardVariant.SMALL, theme = Theme.GLOBAL_CUSTOM, productName, price, rate, image, url, target = "_self", onClick }) => {
|
|
14
14
|
const { baseClassName, themeContainerClassNames, containerDirection, containerWidthClassName } = useGetContainerProperties({
|
|
15
15
|
theme,
|
|
16
16
|
variant
|
|
@@ -25,10 +25,12 @@ const Container$1 = ({ id, testId, className, style, variant = SalesAgentProduct
|
|
|
25
25
|
component: "a",
|
|
26
26
|
style,
|
|
27
27
|
className,
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
28
|
+
...target !== "none" ? {
|
|
29
|
+
href: url,
|
|
30
|
+
onClick,
|
|
31
|
+
target,
|
|
32
|
+
draggable: false
|
|
33
|
+
} : { onClick },
|
|
32
34
|
children: /* @__PURE__ */ jsxs(Stack, {
|
|
33
35
|
direction: containerDirection,
|
|
34
36
|
gap: "0",
|
|
@@ -2,9 +2,9 @@ const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
|
2
2
|
const require_Image = require('../../Image/Image.cjs');
|
|
3
3
|
require('../../Image/index.cjs');
|
|
4
4
|
const require_useGetImageProperties = require('../hooks/useGetImageProperties.cjs');
|
|
5
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
5
|
let classnames = require("classnames");
|
|
7
6
|
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
7
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
8
|
|
|
9
9
|
//#region src/components/SalesAgentProductCard/components/ProductImage.tsx
|
|
10
10
|
const ProductImage = ({ src, alt, variant, aspectRatio, className, ...props }) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Image } from "../../Image/Image.js";
|
|
2
2
|
import "../../Image/index.js";
|
|
3
3
|
import { useGetImageProperties } from "../hooks/useGetImageProperties.js";
|
|
4
|
-
import { jsx } from "react/jsx-runtime";
|
|
5
4
|
import classNames from "classnames";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region src/components/SalesAgentProductCard/components/ProductImage.tsx
|
|
8
8
|
const ProductImage = ({ src, alt, variant, aspectRatio, className, ...props }) => {
|
|
@@ -4,9 +4,9 @@ const require_index = require('../../Typography/types/index.cjs');
|
|
|
4
4
|
const require_Typography = require('../../Typography/Typography.cjs');
|
|
5
5
|
require('../../Typography/index.cjs');
|
|
6
6
|
const require_useGetProductNameProperties = require('../hooks/useGetProductNameProperties.cjs');
|
|
7
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
7
|
let classnames = require("classnames");
|
|
9
8
|
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
9
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
10
10
|
|
|
11
11
|
//#region src/components/SalesAgentProductCard/components/ProductName.tsx
|
|
12
12
|
const ProductName = ({ label, theme = require_theme.Theme.GLOBAL_CUSTOM, style, className }) => {
|
|
@@ -3,8 +3,8 @@ import { TypographyColor, TypographyVariant } from "../../Typography/types/index
|
|
|
3
3
|
import { Typography } from "../../Typography/Typography.js";
|
|
4
4
|
import "../../Typography/index.js";
|
|
5
5
|
import { useGetProductNameProperties } from "../hooks/useGetProductNameProperties.js";
|
|
6
|
-
import { jsx } from "react/jsx-runtime";
|
|
7
6
|
import classNames from "classnames";
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
8
|
|
|
9
9
|
//#region src/components/SalesAgentProductCard/components/ProductName.tsx
|
|
10
10
|
const ProductName = ({ label, theme = Theme.GLOBAL_CUSTOM, style, className }) => {
|
|
@@ -4,8 +4,8 @@ import { ProductNameProps } from "./ProductName.cjs";
|
|
|
4
4
|
import { PriceProps } from "./Price.cjs";
|
|
5
5
|
import { RateProps } from "./Rate.cjs";
|
|
6
6
|
import { ProductImageProps } from "./ProductImage.cjs";
|
|
7
|
-
import * as
|
|
8
|
-
import * as
|
|
7
|
+
import * as react7 from "react";
|
|
8
|
+
import * as react_jsx_runtime10 from "react/jsx-runtime";
|
|
9
9
|
|
|
10
10
|
//#region src/components/SalesAgentProductCard/components/index.d.ts
|
|
11
11
|
declare const SalesAgentProductCardComponents: {
|
|
@@ -21,25 +21,26 @@ declare const SalesAgentProductCardComponents: {
|
|
|
21
21
|
rate,
|
|
22
22
|
image,
|
|
23
23
|
url,
|
|
24
|
+
target,
|
|
24
25
|
onClick
|
|
25
|
-
}: ContainerProps) =>
|
|
26
|
+
}: ContainerProps) => react_jsx_runtime10.JSX.Element;
|
|
26
27
|
ProductName: ({
|
|
27
28
|
label,
|
|
28
29
|
theme,
|
|
29
30
|
style,
|
|
30
31
|
className
|
|
31
|
-
}: ProductNameProps) =>
|
|
32
|
+
}: ProductNameProps) => react_jsx_runtime10.JSX.Element;
|
|
32
33
|
Price: ({
|
|
33
34
|
previousPrice,
|
|
34
35
|
currentPrice,
|
|
35
36
|
pricePrefix,
|
|
36
37
|
forceShowCurrentPriceSpace
|
|
37
|
-
}: PriceProps) =>
|
|
38
|
+
}: PriceProps) => react_jsx_runtime10.JSX.Element;
|
|
38
39
|
Rate: ({
|
|
39
40
|
rate,
|
|
40
41
|
numberOfReviews,
|
|
41
42
|
theme
|
|
42
|
-
}: RateProps) =>
|
|
43
|
+
}: RateProps) => react_jsx_runtime10.JSX.Element;
|
|
43
44
|
ProductImage: ({
|
|
44
45
|
src,
|
|
45
46
|
alt,
|
|
@@ -47,14 +48,14 @@ declare const SalesAgentProductCardComponents: {
|
|
|
47
48
|
aspectRatio,
|
|
48
49
|
className,
|
|
49
50
|
...props
|
|
50
|
-
}: ProductImageProps) =>
|
|
51
|
+
}: ProductImageProps) => react_jsx_runtime10.JSX.Element;
|
|
51
52
|
StarIcon: ({
|
|
52
53
|
theme,
|
|
53
54
|
style
|
|
54
55
|
}: {
|
|
55
56
|
theme: Theme;
|
|
56
57
|
style?: React.CSSProperties;
|
|
57
|
-
}) =>
|
|
58
|
+
}) => react7.ReactElement<react7.SVGProps<SVGSVGElement>, string | react7.JSXElementConstructor<any>>;
|
|
58
59
|
};
|
|
59
60
|
//#endregion
|
|
60
61
|
export { SalesAgentProductCardComponents };
|
|
@@ -4,8 +4,8 @@ import { ProductNameProps } from "./ProductName.js";
|
|
|
4
4
|
import { PriceProps } from "./Price.js";
|
|
5
5
|
import { RateProps } from "./Rate.js";
|
|
6
6
|
import { ProductImageProps } from "./ProductImage.js";
|
|
7
|
-
import * as
|
|
8
|
-
import * as
|
|
7
|
+
import * as react7 from "react";
|
|
8
|
+
import * as react_jsx_runtime13 from "react/jsx-runtime";
|
|
9
9
|
|
|
10
10
|
//#region src/components/SalesAgentProductCard/components/index.d.ts
|
|
11
11
|
declare const SalesAgentProductCardComponents: {
|
|
@@ -21,25 +21,26 @@ declare const SalesAgentProductCardComponents: {
|
|
|
21
21
|
rate,
|
|
22
22
|
image,
|
|
23
23
|
url,
|
|
24
|
+
target,
|
|
24
25
|
onClick
|
|
25
|
-
}: ContainerProps) =>
|
|
26
|
+
}: ContainerProps) => react_jsx_runtime13.JSX.Element;
|
|
26
27
|
ProductName: ({
|
|
27
28
|
label,
|
|
28
29
|
theme,
|
|
29
30
|
style,
|
|
30
31
|
className
|
|
31
|
-
}: ProductNameProps) =>
|
|
32
|
+
}: ProductNameProps) => react_jsx_runtime13.JSX.Element;
|
|
32
33
|
Price: ({
|
|
33
34
|
previousPrice,
|
|
34
35
|
currentPrice,
|
|
35
36
|
pricePrefix,
|
|
36
37
|
forceShowCurrentPriceSpace
|
|
37
|
-
}: PriceProps) =>
|
|
38
|
+
}: PriceProps) => react_jsx_runtime13.JSX.Element;
|
|
38
39
|
Rate: ({
|
|
39
40
|
rate,
|
|
40
41
|
numberOfReviews,
|
|
41
42
|
theme
|
|
42
|
-
}: RateProps) =>
|
|
43
|
+
}: RateProps) => react_jsx_runtime13.JSX.Element;
|
|
43
44
|
ProductImage: ({
|
|
44
45
|
src,
|
|
45
46
|
alt,
|
|
@@ -47,14 +48,14 @@ declare const SalesAgentProductCardComponents: {
|
|
|
47
48
|
aspectRatio,
|
|
48
49
|
className,
|
|
49
50
|
...props
|
|
50
|
-
}: ProductImageProps) =>
|
|
51
|
+
}: ProductImageProps) => react_jsx_runtime13.JSX.Element;
|
|
51
52
|
StarIcon: ({
|
|
52
53
|
theme,
|
|
53
54
|
style
|
|
54
55
|
}: {
|
|
55
56
|
theme: Theme;
|
|
56
57
|
style?: React.CSSProperties;
|
|
57
|
-
}) =>
|
|
58
|
+
}) => react7.ReactElement<react7.SVGProps<SVGSVGElement>, string | react7.JSXElementConstructor<any>>;
|
|
58
59
|
};
|
|
59
60
|
//#endregion
|
|
60
61
|
export { SalesAgentProductCardComponents };
|
|
@@ -72,6 +72,10 @@ type SalesAgentProductCardProps = {
|
|
|
72
72
|
* The URL to navigate to when the card is clicked.
|
|
73
73
|
*/
|
|
74
74
|
url?: string;
|
|
75
|
+
/**
|
|
76
|
+
* The URL target to be applied.
|
|
77
|
+
*/
|
|
78
|
+
target?: React.AnchorHTMLAttributes<HTMLAnchorElement>['target'] | 'none';
|
|
75
79
|
/**
|
|
76
80
|
* Callback function called when the card is clicked.
|
|
77
81
|
*/
|
|
@@ -72,6 +72,10 @@ type SalesAgentProductCardProps = {
|
|
|
72
72
|
* The URL to navigate to when the card is clicked.
|
|
73
73
|
*/
|
|
74
74
|
url?: string;
|
|
75
|
+
/**
|
|
76
|
+
* The URL target to be applied.
|
|
77
|
+
*/
|
|
78
|
+
target?: React.AnchorHTMLAttributes<HTMLAnchorElement>['target'] | 'none';
|
|
75
79
|
/**
|
|
76
80
|
* Callback function called when the card is clicked.
|
|
77
81
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SocialProofProps } from "./types/types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime16 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/SocialProof/SocialProof.d.ts
|
|
5
5
|
declare const SocialProof: ({
|
|
@@ -7,6 +7,6 @@ declare const SocialProof: ({
|
|
|
7
7
|
widgetContentProps,
|
|
8
8
|
widgetStyleProps,
|
|
9
9
|
widgetEventProps
|
|
10
|
-
}: SocialProofProps) =>
|
|
10
|
+
}: SocialProofProps) => react_jsx_runtime16.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { SocialProof };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SocialProofProps } from "./types/types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime20 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/SocialProof/SocialProof.d.ts
|
|
5
5
|
declare const SocialProof: ({
|
|
@@ -7,6 +7,6 @@ declare const SocialProof: ({
|
|
|
7
7
|
widgetContentProps,
|
|
8
8
|
widgetStyleProps,
|
|
9
9
|
widgetEventProps
|
|
10
|
-
}: SocialProofProps) =>
|
|
10
|
+
}: SocialProofProps) => react_jsx_runtime20.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { SocialProof };
|
|
@@ -12,9 +12,9 @@ const require_PromptButton_types_index = require('../../PromptButton/types/index
|
|
|
12
12
|
const require_PromptButton = require('../../PromptButton/PromptButton.cjs');
|
|
13
13
|
require('../../PromptButton/index.cjs');
|
|
14
14
|
let react = require("react");
|
|
15
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
16
15
|
let classnames = require("classnames");
|
|
17
16
|
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
17
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
18
18
|
|
|
19
19
|
//#region src/components/SocialProof/components/Headline.tsx
|
|
20
20
|
const Headline = (0, react.forwardRef)(({ theme = require_theme.Theme.GLOBAL_CUSTOM, className, isLoading, socialProofCounter, socialProofHeadline, primaryPromptButtonText, primaryPromptButtonVariant = require_PromptButton_types_index.PromptButtonVariant.DARK, handleButtonClick }, ref) => {
|
|
@@ -11,8 +11,8 @@ import { PromptButtonVariant } from "../../PromptButton/types/index.js";
|
|
|
11
11
|
import { PromptButton } from "../../PromptButton/PromptButton.js";
|
|
12
12
|
import "../../PromptButton/index.js";
|
|
13
13
|
import { forwardRef } from "react";
|
|
14
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
15
14
|
import classNames from "classnames";
|
|
15
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
16
16
|
|
|
17
17
|
//#region src/components/SocialProof/components/Headline.tsx
|
|
18
18
|
const Headline = forwardRef(({ theme = Theme.GLOBAL_CUSTOM, className, isLoading, socialProofCounter, socialProofHeadline, primaryPromptButtonText, primaryPromptButtonVariant = PromptButtonVariant.DARK, handleButtonClick }, ref) => {
|
|
@@ -8,9 +8,9 @@ const require_useGetContentSize = require('../../utils/useGetContentSize.cjs');
|
|
|
8
8
|
const require_functions = require('../utils/functions.cjs');
|
|
9
9
|
const require_types = require('../../ImageGallery/types/types.cjs');
|
|
10
10
|
const require_ImageGallery = require('./ImageGallery.cjs');
|
|
11
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
12
11
|
let classnames = require("classnames");
|
|
13
12
|
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
13
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
14
14
|
|
|
15
15
|
//#region src/components/SocialProof/components/LayoutFourHorizontal.tsx
|
|
16
16
|
const LayoutFourHorizontal = ({ hideImage, images, headline, subheadline, textfield }) => {
|
|
@@ -7,8 +7,8 @@ import { useGetContentSize } from "../../utils/useGetContentSize.js";
|
|
|
7
7
|
import { calculateWidthImageGallery } from "../utils/functions.js";
|
|
8
8
|
import { ImageGalleryLayout } from "../../ImageGallery/types/types.js";
|
|
9
9
|
import { ImageGallery } from "./ImageGallery.js";
|
|
10
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
10
|
import classNames from "classnames";
|
|
11
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
|
|
13
13
|
//#region src/components/SocialProof/components/LayoutFourHorizontal.tsx
|
|
14
14
|
const LayoutFourHorizontal = ({ hideImage, images, headline, subheadline, textfield }) => {
|
|
@@ -6,9 +6,9 @@ const require_useGetSkeletonProperties = require('./hooks/useGetSkeletonProperti
|
|
|
6
6
|
const require_useTextFieldValue = require('./hooks/useTextFieldValue.cjs');
|
|
7
7
|
const require_useTextFieldFocus = require('./hooks/useTextFieldFocus.cjs');
|
|
8
8
|
const require_useTextFieldSubmit = require('./hooks/useTextFieldSubmit.cjs');
|
|
9
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
10
9
|
let classnames = require("classnames");
|
|
11
10
|
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
11
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
12
12
|
|
|
13
13
|
//#region src/components/TextField/TextField.tsx
|
|
14
14
|
/**
|
|
@@ -5,8 +5,8 @@ import { useGetSkeletonProperties } from "./hooks/useGetSkeletonProperties.js";
|
|
|
5
5
|
import { useTextFieldValue } from "./hooks/useTextFieldValue.js";
|
|
6
6
|
import { useTextFieldFocus } from "./hooks/useTextFieldFocus.js";
|
|
7
7
|
import { useTextFieldSubmit } from "./hooks/useTextFieldSubmit.js";
|
|
8
|
-
import { jsx } from "react/jsx-runtime";
|
|
9
8
|
import classNames from "classnames";
|
|
9
|
+
import { jsx } from "react/jsx-runtime";
|
|
10
10
|
|
|
11
11
|
//#region src/components/TextField/TextField.tsx
|
|
12
12
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
2
|
const require_getInputClasses = require('../utils/getInputClasses.cjs');
|
|
3
3
|
const require_createInputChangeHandler = require('../utils/createInputChangeHandler.cjs');
|
|
4
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
4
|
let classnames = require("classnames");
|
|
6
5
|
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
6
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
7
|
|
|
8
8
|
//#region src/components/TextField/components/Input.tsx
|
|
9
9
|
const Input = ({ theme, placeholder, value, onChange, onKeyDown, onFocus, onBlur, disabled = false, id, testId, className, style, ariaLabel }) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getInputClasses } from "../utils/getInputClasses.js";
|
|
2
2
|
import { createInputChangeHandler } from "../utils/createInputChangeHandler.js";
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
3
|
import classNames from "classnames";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/TextField/components/Input.tsx
|
|
7
7
|
const Input = ({ theme, placeholder, value, onChange, onKeyDown, onFocus, onBlur, disabled = false, id, testId, className, style, ariaLabel }) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
2
|
const require_useGetContainerProperties = require('../hooks/useGetContainerProperties.cjs');
|
|
3
3
|
const require_getLayoutStateProperties = require('../utils/getLayoutStateProperties.cjs');
|
|
4
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
4
|
let classnames = require("classnames");
|
|
6
5
|
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
6
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
7
|
|
|
8
8
|
//#region src/components/TextField/components/Layout.tsx
|
|
9
9
|
const Layout = ({ theme, input, sendIcon, isFocused, hasValue, disabled = false, id, testId, className, style }) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useGetContainerProperties } from "../hooks/useGetContainerProperties.js";
|
|
2
2
|
import { getLayoutStateProperties } from "../utils/getLayoutStateProperties.js";
|
|
3
|
-
import { jsxs } from "react/jsx-runtime";
|
|
4
3
|
import classNames from "classnames";
|
|
4
|
+
import { jsxs } from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/TextField/components/Layout.tsx
|
|
7
7
|
const Layout = ({ theme, input, sendIcon, isFocused, hasValue, disabled = false, id, testId, className, style }) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
2
|
const require_getSendIconElement = require('../utils/getSendIconElement.cjs');
|
|
3
3
|
const require_useSendIconHandlers = require('../hooks/useSendIconHandlers.cjs');
|
|
4
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
4
|
let classnames = require("classnames");
|
|
6
5
|
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
6
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
7
|
|
|
8
8
|
//#region src/components/TextField/components/SendIcon.tsx
|
|
9
9
|
const SendIcon = ({ theme, hasValue, disabled = false, onClick, className, style, ariaLabel }) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getSendIconElement } from "../utils/getSendIconElement.js";
|
|
2
2
|
import { useSendIconHandlers } from "../hooks/useSendIconHandlers.js";
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
3
|
import classNames from "classnames";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/TextField/components/SendIcon.tsx
|
|
7
7
|
const SendIcon = ({ theme, hasValue, disabled = false, onClick, className, style, ariaLabel }) => {
|
package/dist/Title/Title.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
2
|
const require_index = require('./components/index.cjs');
|
|
3
3
|
const require_useGetSkeletonProperties = require('../Image/hooks/useGetSkeletonProperties.cjs');
|
|
4
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
4
|
let classnames = require("classnames");
|
|
6
5
|
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
6
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
7
|
|
|
8
8
|
//#region src/components/Title/Title.tsx
|
|
9
9
|
/**
|
package/dist/Title/Title.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TitleComponents } from "./components/index.js";
|
|
2
2
|
import { useGetSkeletonProperties } from "../Image/hooks/useGetSkeletonProperties.js";
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
3
|
import classNames from "classnames";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/Title/Title.tsx
|
|
7
7
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
2
|
const require_Stack = require('../../Stack/Stack.cjs');
|
|
3
3
|
require('../../Stack/index.cjs');
|
|
4
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
4
|
let classnames = require("classnames");
|
|
6
5
|
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
6
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
7
|
|
|
8
8
|
//#region src/components/Title/components/Layout.tsx
|
|
9
9
|
const Layout = ({ logo, label, id, testId, className, style, ariaLabel }) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Stack } from "../../Stack/Stack.js";
|
|
2
2
|
import "../../Stack/index.js";
|
|
3
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
3
|
import classNames from "classnames";
|
|
4
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/Title/components/Layout.tsx
|
|
7
7
|
const Layout = ({ logo, label, id, testId, className, style, ariaLabel }) => {
|
|
@@ -12,9 +12,9 @@ const require_PromptCarousel_types_types = require('../PromptCarousel/types/type
|
|
|
12
12
|
const require_PromptCarousel = require('../PromptCarousel/PromptCarousel.cjs');
|
|
13
13
|
require('../PromptCarousel/index.cjs');
|
|
14
14
|
const require_useGetSkeletonProperties = require('../Image/hooks/useGetSkeletonProperties.cjs');
|
|
15
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
16
15
|
let classnames = require("classnames");
|
|
17
16
|
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
17
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
18
18
|
|
|
19
19
|
//#region src/components/TitledPromptCarousel/TitledPromptCarousel.tsx
|
|
20
20
|
const TitledPromptCarousel = ({ id, titleLabel, titleAriaLabel, theme = require_theme.Theme.GLOBAL_CUSTOM, isLoading = false, boldFirstButton = false, promptButtonType = require_PromptButton_types_index.PromptButtonVariant.LIGHT, promptCarouselRows = require_PromptCarousel_types_types.PromptCarouselRows.ALWAYS_ONE, animationSpeed = require_PromptCarousel_types_types.AnimationSpeed.NONE, handleButtonClick, promptButtonTexts, promptCarouselAriaLabel }) => {
|