@envive-ai/react-toolkit-v3 0.3.43 → 0.3.44
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 +3 -3
- package/dist/Carousel/components/Container.js +3 -3
- package/dist/Carousel/components/Item.cjs +4 -1
- package/dist/Carousel/components/Item.js +4 -1
- package/dist/ChatFooter/ChatFooter.cjs +1 -1
- package/dist/ChatFooter/ChatFooter.d.cts +2 -2
- package/dist/ChatFooter/ChatFooter.js +1 -1
- package/dist/ChatFooter/components/Layout.cjs +2 -2
- package/dist/ChatFooter/components/Layout.js +2 -2
- package/dist/ChatFooter/components/index.d.cts +5 -5
- 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 +223 -223
- 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/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/FloatingChat/components/SalesAgentProductCardsCarousel.cjs +1 -1
- package/dist/FloatingChat/components/SalesAgentProductCardsCarousel.js +1 -1
- package/dist/FullPageSalesAgent/FullPageSalesAgent.cjs +22 -5
- package/dist/FullPageSalesAgent/FullPageSalesAgent.d.cts +5 -3
- package/dist/FullPageSalesAgent/FullPageSalesAgent.d.ts +5 -3
- package/dist/FullPageSalesAgent/FullPageSalesAgent.js +23 -6
- package/dist/FullPageSalesAgent/components/Layout.cjs +15 -7
- package/dist/FullPageSalesAgent/components/Layout.js +15 -7
- 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/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/components/Container.cjs +16 -12
- package/dist/SalesAgentProductCard/components/Container.js +16 -12
- package/dist/SalesAgentProductCard/components/index.d.cts +8 -8
- package/dist/SalesAgentProductCard/hooks/useGetContainerProperties.cjs +3 -0
- package/dist/SalesAgentProductCard/hooks/useGetContainerProperties.js +3 -0
- package/dist/SalesAgentProductCard/hooks/useGetProductDescriptionProperties.cjs +3 -3
- package/dist/SalesAgentProductCard/hooks/useGetProductDescriptionProperties.js +3 -3
- 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/LayoutSingle.cjs +1 -1
- package/dist/SocialProof/components/LayoutSingle.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/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/package.json +1 -1
- package/src/components/Carousel/components/Container.tsx +1 -1
- package/src/components/Carousel/components/Item.tsx +1 -1
- package/src/components/FullPageSalesAgent/FullPageSalesAgent.tsx +38 -4
- package/src/components/FullPageSalesAgent/components/Layout.tsx +7 -0
- package/src/components/SalesAgentProductCard/components/Container.tsx +15 -5
- package/src/components/SalesAgentProductCard/hooks/useGetContainerProperties.ts +11 -1
- package/src/components/SalesAgentProductCard/hooks/useGetProductDescriptionProperties.ts +8 -4
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
const require_CustomIcon = require('../../utils/CustomIcon.cjs');
|
|
3
2
|
const require_index = require('../../Typography/types/index.cjs');
|
|
4
3
|
const require_Typography = require('../../Typography/Typography.cjs');
|
|
5
4
|
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";
|
|
2
1
|
import { TypographyColor, TypographyVariant } from "../../Typography/types/index.js";
|
|
3
2
|
import { Typography } from "../../Typography/Typography.js";
|
|
4
3
|
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');
|
|
4
3
|
const require_Stack = require('../Stack/Stack.cjs');
|
|
5
4
|
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";
|
|
3
2
|
import { Stack } from "../Stack/Stack.js";
|
|
4
3
|
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
|
-
require('../Tokens/index.cjs');
|
|
4
|
-
const require_resolveTheme = require('../utils/resolveTheme.cjs');
|
|
5
3
|
const require_index = require('../Typography/types/index.cjs');
|
|
4
|
+
const require_resolveTheme = require('../utils/resolveTheme.cjs');
|
|
5
|
+
require('../Tokens/index.cjs');
|
|
6
6
|
const require_WidgetTextField = require('../WidgetTextField/WidgetTextField.cjs');
|
|
7
7
|
require('../WidgetTextField/index.cjs');
|
|
8
8
|
const require_index$1 = require('./types/index.cjs');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ProductCardProps } from "./types/index.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime15 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ProductCard/ProductCard.d.ts
|
|
5
5
|
declare const ProductCard: ({
|
|
@@ -28,6 +28,6 @@ declare const ProductCard: ({
|
|
|
28
28
|
onInputClick,
|
|
29
29
|
onTranscriptionStarted,
|
|
30
30
|
onTranscriptionCompleted
|
|
31
|
-
}: ProductCardProps) =>
|
|
31
|
+
}: ProductCardProps) => react_jsx_runtime15.JSX.Element;
|
|
32
32
|
//#endregion
|
|
33
33
|
export { ProductCard };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ProductCardProps } from "./types/index.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime20 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ProductCard/ProductCard.d.ts
|
|
5
5
|
declare const ProductCard: ({
|
|
@@ -28,6 +28,6 @@ declare const ProductCard: ({
|
|
|
28
28
|
onInputClick,
|
|
29
29
|
onTranscriptionStarted,
|
|
30
30
|
onTranscriptionCompleted
|
|
31
|
-
}: ProductCardProps) =>
|
|
31
|
+
}: ProductCardProps) => react_jsx_runtime20.JSX.Element;
|
|
32
32
|
//#endregion
|
|
33
33
|
export { ProductCard };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Theme } from "../packages/components-v3/tokens/theme/theme.js";
|
|
2
|
-
import "../Tokens/index.js";
|
|
3
|
-
import { resolveTheme } from "../utils/resolveTheme.js";
|
|
4
2
|
import { TypographyColor } from "../Typography/types/index.js";
|
|
3
|
+
import { resolveTheme } from "../utils/resolveTheme.js";
|
|
4
|
+
import "../Tokens/index.js";
|
|
5
5
|
import { WidgetTextField } from "../WidgetTextField/WidgetTextField.js";
|
|
6
6
|
import "../WidgetTextField/index.js";
|
|
7
7
|
import { ProductCardVariant } from "./types/index.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PromptButtonProps } from "./types/index.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime32 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_runtime32.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_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 { PromptButtonCarouselWithImageProps } from "./types/types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime21 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_runtime21.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_runtime17 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_runtime17.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');
|
|
3
2
|
const require_Stack = require('../../Stack/Stack.cjs');
|
|
4
3
|
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";
|
|
2
1
|
import { Stack } from "../../Stack/Stack.js";
|
|
3
2
|
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 require_resolveTheme = require('../utils/resolveTheme.cjs');
|
|
4
|
-
const require_Container = require('../Container/Container.cjs');
|
|
5
|
-
require('../Container/index.cjs');
|
|
6
3
|
const require_Stack = require('../Stack/Stack.cjs');
|
|
7
4
|
require('../Stack/index.cjs');
|
|
5
|
+
const require_Container = require('../Container/Container.cjs');
|
|
6
|
+
require('../Container/index.cjs');
|
|
7
|
+
const require_resolveTheme = require('../utils/resolveTheme.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_runtime20 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_runtime20.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_runtime2 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_runtime2.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 { resolveTheme } from "../utils/resolveTheme.js";
|
|
3
|
-
import { Container } from "../Container/Container.js";
|
|
4
|
-
import "../Container/index.js";
|
|
5
2
|
import { Stack } from "../Stack/Stack.js";
|
|
6
3
|
import "../Stack/index.js";
|
|
4
|
+
import { Container } from "../Container/Container.js";
|
|
5
|
+
import "../Container/index.js";
|
|
6
|
+
import { resolveTheme } from "../utils/resolveTheme.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.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime16 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_runtime16.JSX.Element;
|
|
31
31
|
//#endregion
|
|
32
32
|
export { ReviewCard };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReviewCardProps } from "./types/types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime4 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_runtime4.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_Container = require('../../Container/Container.cjs');
|
|
3
|
-
require('../../Container/index.cjs');
|
|
4
2
|
const require_Stack = require('../../Stack/Stack.cjs');
|
|
5
3
|
require('../../Stack/index.cjs');
|
|
4
|
+
const require_Container = require('../../Container/Container.cjs');
|
|
5
|
+
require('../../Container/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 { Container } from "../../Container/Container.js";
|
|
2
|
-
import "../../Container/index.js";
|
|
3
1
|
import { Stack } from "../../Stack/Stack.js";
|
|
4
2
|
import "../../Stack/index.js";
|
|
3
|
+
import { Container } from "../../Container/Container.js";
|
|
4
|
+
import "../../Container/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');
|
|
4
3
|
const require_index = require('../../Typography/types/index.cjs');
|
|
5
4
|
const require_Typography = require('../../Typography/Typography.cjs');
|
|
6
5
|
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";
|
|
3
2
|
import { TypographyColor } from "../../Typography/types/index.js";
|
|
4
3
|
import { Typography } from "../../Typography/Typography.js";
|
|
5
4
|
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";
|
|
@@ -2,8 +2,8 @@ import { Theme } from "../../tokens/theme/theme.cjs";
|
|
|
2
2
|
import { ContainerProps } from "./Container.cjs";
|
|
3
3
|
import { RatingProps } from "./Rating.cjs";
|
|
4
4
|
import { ReadMoreButtonProps } from "./ReadMoreButton.cjs";
|
|
5
|
-
import * as
|
|
6
|
-
import * as
|
|
5
|
+
import * as react5 from "react";
|
|
6
|
+
import * as react_jsx_runtime17 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_runtime17.JSX.Element;
|
|
35
35
|
Rating: ({
|
|
36
36
|
rating,
|
|
37
37
|
theme,
|
|
38
38
|
style
|
|
39
|
-
}: RatingProps) =>
|
|
39
|
+
}: RatingProps) => react_jsx_runtime17.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
|
+
}) => react5.ReactElement<react5.SVGProps<SVGSVGElement>, string | react5.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_runtime17.JSX.Element;
|
|
60
60
|
ReadMoreButton: ({
|
|
61
61
|
isExpanded,
|
|
62
62
|
onToggle,
|
|
@@ -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 react4 from "react";
|
|
6
|
+
import * as react_jsx_runtime5 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_runtime5.JSX.Element;
|
|
35
35
|
Rating: ({
|
|
36
36
|
rating,
|
|
37
37
|
theme,
|
|
38
38
|
style
|
|
39
|
-
}: RatingProps) =>
|
|
39
|
+
}: RatingProps) => react_jsx_runtime5.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
|
+
}) => react4.ReactElement<react4.SVGProps<SVGSVGElement>, string | react4.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_runtime5.JSX.Element;
|
|
60
60
|
ReadMoreButton: ({
|
|
61
61
|
isExpanded,
|
|
62
62
|
onToggle,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SalesAgentProductCardProps } from "./types/types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime7 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/SalesAgentProductCard/SalesAgentProductCard.d.ts
|
|
5
5
|
|
|
@@ -30,6 +30,6 @@ declare const SalesAgentProductCard: ({
|
|
|
30
30
|
url,
|
|
31
31
|
target,
|
|
32
32
|
onClick
|
|
33
|
-
}: SalesAgentProductCardProps) =>
|
|
33
|
+
}: SalesAgentProductCardProps) => react_jsx_runtime7.JSX.Element;
|
|
34
34
|
//#endregion
|
|
35
35
|
export { SalesAgentProductCard };
|
|
@@ -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_Container = require('../../Container/Container.cjs');
|
|
4
|
-
require('../../Container/index.cjs');
|
|
5
3
|
const require_Stack = require('../../Stack/Stack.cjs');
|
|
6
4
|
require('../../Stack/index.cjs');
|
|
5
|
+
const require_Container = require('../../Container/Container.cjs');
|
|
6
|
+
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');
|
|
@@ -13,7 +13,7 @@ classnames = require_rolldown_runtime.__toESM(classnames);
|
|
|
13
13
|
|
|
14
14
|
//#region src/components/SalesAgentProductCard/components/Container.tsx
|
|
15
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
|
-
const { baseClassName, themeContainerClassNames, containerDirection, containerWidthClassName } = require_useGetContainerProperties.useGetContainerProperties({
|
|
16
|
+
const { baseClassName, themeContainerClassNames, containerDirection, containerWidthClassName, containerHeightClassName } = require_useGetContainerProperties.useGetContainerProperties({
|
|
17
17
|
theme,
|
|
18
18
|
variant
|
|
19
19
|
});
|
|
@@ -21,28 +21,32 @@ const Container$1 = ({ id, testId, className, style, variant = require_types.Sal
|
|
|
21
21
|
theme,
|
|
22
22
|
variant
|
|
23
23
|
});
|
|
24
|
+
const anchorProps = target !== "none" ? {
|
|
25
|
+
href: url,
|
|
26
|
+
onClick,
|
|
27
|
+
target,
|
|
28
|
+
draggable: false
|
|
29
|
+
} : { onClick };
|
|
24
30
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Container.Container, {
|
|
25
31
|
id,
|
|
26
32
|
testId,
|
|
27
33
|
component: "a",
|
|
28
34
|
style,
|
|
29
|
-
className,
|
|
30
|
-
...
|
|
31
|
-
href: url,
|
|
32
|
-
onClick,
|
|
33
|
-
target,
|
|
34
|
-
draggable: false
|
|
35
|
-
} : { onClick },
|
|
35
|
+
className: (0, classnames.default)(className, containerHeightClassName),
|
|
36
|
+
...anchorProps,
|
|
36
37
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_Stack.Stack, {
|
|
37
38
|
direction: containerDirection,
|
|
38
39
|
gap: "0",
|
|
39
|
-
className: (0, classnames.default)(baseClassName, themeContainerClassNames, containerWidthClassName),
|
|
40
|
+
className: (0, classnames.default)(baseClassName, themeContainerClassNames, containerWidthClassName, containerHeightClassName),
|
|
40
41
|
children: [image, /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_Stack.Stack, {
|
|
41
42
|
direction: "column",
|
|
42
43
|
gap: productDescriptionGap,
|
|
43
44
|
className: (0, classnames.default)(themeProductDescriptionClassNames, smallVariantClassName),
|
|
44
45
|
justify: productDescriptionJustify,
|
|
45
|
-
children: [
|
|
46
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
47
|
+
className: "envive-tw-flex-1",
|
|
48
|
+
children: productName
|
|
49
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_Stack.Stack, {
|
|
46
50
|
direction: "row",
|
|
47
51
|
justify: "between",
|
|
48
52
|
align: "end",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Theme } from "../../packages/components-v3/tokens/theme/theme.js";
|
|
2
|
-
import { Container } from "../../Container/Container.js";
|
|
3
|
-
import "../../Container/index.js";
|
|
4
2
|
import { Stack } from "../../Stack/Stack.js";
|
|
5
3
|
import "../../Stack/index.js";
|
|
4
|
+
import { Container } from "../../Container/Container.js";
|
|
5
|
+
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";
|
|
@@ -11,7 +11,7 @@ import classNames from "classnames";
|
|
|
11
11
|
|
|
12
12
|
//#region src/components/SalesAgentProductCard/components/Container.tsx
|
|
13
13
|
const Container$1 = ({ id, testId, className, style, variant = SalesAgentProductCardVariant.SMALL, theme = Theme.GLOBAL_CUSTOM, productName, price, rate, image, url, target = "_self", onClick }) => {
|
|
14
|
-
const { baseClassName, themeContainerClassNames, containerDirection, containerWidthClassName } = useGetContainerProperties({
|
|
14
|
+
const { baseClassName, themeContainerClassNames, containerDirection, containerWidthClassName, containerHeightClassName } = useGetContainerProperties({
|
|
15
15
|
theme,
|
|
16
16
|
variant
|
|
17
17
|
});
|
|
@@ -19,28 +19,32 @@ const Container$1 = ({ id, testId, className, style, variant = SalesAgentProduct
|
|
|
19
19
|
theme,
|
|
20
20
|
variant
|
|
21
21
|
});
|
|
22
|
+
const anchorProps = target !== "none" ? {
|
|
23
|
+
href: url,
|
|
24
|
+
onClick,
|
|
25
|
+
target,
|
|
26
|
+
draggable: false
|
|
27
|
+
} : { onClick };
|
|
22
28
|
return /* @__PURE__ */ jsx(Container, {
|
|
23
29
|
id,
|
|
24
30
|
testId,
|
|
25
31
|
component: "a",
|
|
26
32
|
style,
|
|
27
|
-
className,
|
|
28
|
-
...
|
|
29
|
-
href: url,
|
|
30
|
-
onClick,
|
|
31
|
-
target,
|
|
32
|
-
draggable: false
|
|
33
|
-
} : { onClick },
|
|
33
|
+
className: classNames(className, containerHeightClassName),
|
|
34
|
+
...anchorProps,
|
|
34
35
|
children: /* @__PURE__ */ jsxs(Stack, {
|
|
35
36
|
direction: containerDirection,
|
|
36
37
|
gap: "0",
|
|
37
|
-
className: classNames(baseClassName, themeContainerClassNames, containerWidthClassName),
|
|
38
|
+
className: classNames(baseClassName, themeContainerClassNames, containerWidthClassName, containerHeightClassName),
|
|
38
39
|
children: [image, /* @__PURE__ */ jsxs(Stack, {
|
|
39
40
|
direction: "column",
|
|
40
41
|
gap: productDescriptionGap,
|
|
41
42
|
className: classNames(themeProductDescriptionClassNames, smallVariantClassName),
|
|
42
43
|
justify: productDescriptionJustify,
|
|
43
|
-
children: [
|
|
44
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
45
|
+
className: "envive-tw-flex-1",
|
|
46
|
+
children: productName
|
|
47
|
+
}), /* @__PURE__ */ jsxs(Stack, {
|
|
44
48
|
direction: "row",
|
|
45
49
|
justify: "between",
|
|
46
50
|
align: "end",
|
|
@@ -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 react0 from "react";
|
|
8
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
9
9
|
|
|
10
10
|
//#region src/components/SalesAgentProductCard/components/index.d.ts
|
|
11
11
|
declare const SalesAgentProductCardComponents: {
|
|
@@ -23,24 +23,24 @@ declare const SalesAgentProductCardComponents: {
|
|
|
23
23
|
url,
|
|
24
24
|
target,
|
|
25
25
|
onClick
|
|
26
|
-
}: ContainerProps) =>
|
|
26
|
+
}: ContainerProps) => react_jsx_runtime2.JSX.Element;
|
|
27
27
|
ProductName: ({
|
|
28
28
|
label,
|
|
29
29
|
theme,
|
|
30
30
|
style,
|
|
31
31
|
className
|
|
32
|
-
}: ProductNameProps) =>
|
|
32
|
+
}: ProductNameProps) => react_jsx_runtime2.JSX.Element;
|
|
33
33
|
Price: ({
|
|
34
34
|
previousPrice,
|
|
35
35
|
currentPrice,
|
|
36
36
|
pricePrefix,
|
|
37
37
|
forceShowCurrentPriceSpace
|
|
38
|
-
}: PriceProps) =>
|
|
38
|
+
}: PriceProps) => react_jsx_runtime2.JSX.Element;
|
|
39
39
|
Rate: ({
|
|
40
40
|
rate,
|
|
41
41
|
numberOfReviews,
|
|
42
42
|
theme
|
|
43
|
-
}: RateProps) =>
|
|
43
|
+
}: RateProps) => react_jsx_runtime2.JSX.Element;
|
|
44
44
|
ProductImage: ({
|
|
45
45
|
src,
|
|
46
46
|
alt,
|
|
@@ -48,14 +48,14 @@ declare const SalesAgentProductCardComponents: {
|
|
|
48
48
|
aspectRatio,
|
|
49
49
|
className,
|
|
50
50
|
...props
|
|
51
|
-
}: ProductImageProps) =>
|
|
51
|
+
}: ProductImageProps) => react_jsx_runtime2.JSX.Element;
|
|
52
52
|
StarIcon: ({
|
|
53
53
|
theme,
|
|
54
54
|
style
|
|
55
55
|
}: {
|
|
56
56
|
theme: Theme;
|
|
57
57
|
style?: React.CSSProperties;
|
|
58
|
-
}) =>
|
|
58
|
+
}) => react0.ReactElement<react0.SVGProps<SVGSVGElement>, string | react0.JSXElementConstructor<any>>;
|
|
59
59
|
};
|
|
60
60
|
//#endregion
|
|
61
61
|
export { SalesAgentProductCardComponents };
|
|
@@ -22,6 +22,9 @@ const useGetContainerProperties = ({ theme, variant }) => {
|
|
|
22
22
|
[require_types.SalesAgentProductCardVariant.SMALL]: "envive-tw-w-[320px]",
|
|
23
23
|
[require_types.SalesAgentProductCardVariant.LARGE]: "envive-tw-w-[208px]"
|
|
24
24
|
}[variant] ?? "";
|
|
25
|
+
}, [variant]),
|
|
26
|
+
containerHeightClassName: (0, react.useMemo)(() => {
|
|
27
|
+
return variant === require_types.SalesAgentProductCardVariant.LARGE ? "envive-tw-h-full" : "";
|
|
25
28
|
}, [variant])
|
|
26
29
|
};
|
|
27
30
|
};
|
|
@@ -21,6 +21,9 @@ const useGetContainerProperties = ({ theme, variant }) => {
|
|
|
21
21
|
[SalesAgentProductCardVariant.SMALL]: "envive-tw-w-[320px]",
|
|
22
22
|
[SalesAgentProductCardVariant.LARGE]: "envive-tw-w-[208px]"
|
|
23
23
|
}[variant] ?? "";
|
|
24
|
+
}, [variant]),
|
|
25
|
+
containerHeightClassName: useMemo(() => {
|
|
26
|
+
return variant === SalesAgentProductCardVariant.LARGE ? "envive-tw-h-full" : "";
|
|
24
27
|
}, [variant])
|
|
25
28
|
};
|
|
26
29
|
};
|