@envive-ai/react-toolkit-v3 0.3.40 → 0.3.42
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.d.ts +2 -2
- package/dist/ChatFooter/ChatFooter.d.ts +2 -2
- package/dist/ChatFooter/components/index.d.cts +2 -2
- package/dist/ChatFooter/components/index.d.ts +5 -5
- package/dist/ChatHeader/ChatHeader.d.cts +2 -2
- package/dist/ChatHeader/ChatHeader.d.ts +2 -2
- package/dist/ChatPreview/ChatPreview.d.cts +2 -2
- package/dist/ChatPreview/ChatPreview.d.ts +2 -2
- package/dist/ChatPreviewComparison/ChatPreviewComparison.d.cts +2 -2
- package/dist/ChatPreviewComparison/ChatPreviewComparison.d.ts +2 -2
- package/dist/ChatPreviewLoading/ChatPreviewLoading.d.cts +2 -2
- package/dist/ChatPreviewLoading/ChatPreviewLoading.d.ts +2 -2
- package/dist/Container/Container.d.cts +174 -174
- package/dist/Container/Container.d.ts +174 -174
- package/dist/DesignTokens/DesignTokensComponent.d.cts +2 -2
- package/dist/DesignTokens/DesignTokensComponent.d.ts +2 -2
- package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.ts +2 -2
- package/dist/FloatingButton/FloatingButton.d.cts +2 -2
- package/dist/FloatingButton/FloatingButton.d.ts +2 -2
- package/dist/FloatingChat/FloatingChat.d.cts +2 -2
- package/dist/FloatingChat/FloatingChat.d.ts +2 -2
- package/dist/FullPageSalesAgent/FullPageSalesAgent.cjs +1 -1
- package/dist/FullPageSalesAgent/FullPageSalesAgent.d.cts +2 -2
- package/dist/FullPageSalesAgent/FullPageSalesAgent.d.ts +2 -2
- package/dist/FullPageSalesAgent/FullPageSalesAgent.js +1 -1
- package/dist/Image/Image.d.cts +2 -2
- package/dist/Image/Image.d.ts +2 -2
- package/dist/ImageGallery/ImageGallery.d.cts +2 -2
- package/dist/ImageGallery/ImageGallery.d.ts +2 -2
- package/dist/MarkdownProcessor/MarkdownProcessor.d.cts +2 -2
- package/dist/ProductCard/ProductCard.d.cts +2 -2
- package/dist/ProductCard/ProductCard.d.ts +2 -2
- package/dist/PromptButton/PromptButton.d.cts +2 -2
- package/dist/PromptButton/PromptButton.d.ts +2 -2
- package/dist/PromptButton/hooks/useGetBorderColorsProperties.cjs +1 -1
- package/dist/PromptButton/hooks/useGetBorderColorsProperties.js +1 -1
- package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.cjs +2 -0
- package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.cts +2 -2
- package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.js +2 -0
- package/dist/PromptButtonCarouselWithImage/components/Layout.cjs +9 -4
- package/dist/PromptButtonCarouselWithImage/components/Layout.js +11 -6
- package/dist/PromptButtonCarouselWithImage/components/PromptButtonsCarousel.cjs +1 -1
- package/dist/PromptButtonCarouselWithImage/components/PromptButtonsCarousel.js +1 -1
- package/dist/PromptCarousel/PromptCarousel.d.cts +2 -2
- package/dist/PromptCarousel/PromptCarousel.d.ts +2 -2
- package/dist/ReviewCard/ReviewCard.d.cts +2 -2
- package/dist/ReviewCard/ReviewCard.d.ts +2 -2
- package/dist/ReviewCard/components/Name.cjs +1 -1
- package/dist/ReviewCard/components/Name.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/index.d.cts +8 -8
- package/dist/SalesAgentProductCard/components/index.d.ts +8 -8
- package/dist/SocialProof/SocialProof.cjs +40 -53
- package/dist/SocialProof/SocialProof.d.cts +2 -2
- package/dist/SocialProof/SocialProof.d.ts +2 -2
- package/dist/SocialProof/SocialProof.js +40 -53
- package/dist/SocialProof/components/LayoutFourHorizontal.cjs +3 -4
- package/dist/SocialProof/components/LayoutFourHorizontal.js +3 -4
- package/dist/SocialProof/components/LayoutSingle.cjs +5 -4
- package/dist/SocialProof/components/LayoutSingle.js +5 -4
- 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/TitledPromptCarousel/TitledPromptCarousel.d.cts +2 -2
- package/dist/TitledPromptCarousel/TitledPromptCarousel.d.ts +2 -2
- package/dist/TypingAnimation/TypingAnimation.d.cts +2 -2
- package/dist/TypingAnimation/TypingAnimation.d.ts +2 -2
- package/dist/Typography/Typography.d.cts +4 -4
- package/dist/Typography/Typography.d.ts +4 -4
- package/dist/WidgetTextField/WidgetTextField.d.cts +2 -2
- package/dist/WidgetTextField/WidgetTextField.d.ts +2 -2
- package/dist/WidgetWrapper/WidgetWrapper.d.cts +2 -2
- package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.cts +2 -2
- package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.ts +2 -2
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/src/components/FullPageSalesAgent/FullPageSalesAgent.tsx +1 -1
- package/src/components/PromptButton/hooks/useGetBorderColorsProperties.ts +1 -1
- package/src/components/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.tsx +2 -0
- package/src/components/PromptButtonCarouselWithImage/components/Layout.tsx +17 -10
- package/src/components/PromptButtonCarouselWithImage/components/PromptButtonsCarousel.tsx +1 -1
- package/src/components/ReviewCard/components/Name.tsx +1 -1
- package/src/components/SocialProof/SocialProof.tsx +41 -48
- package/src/components/SocialProof/components/LayoutFourHorizontal.tsx +5 -3
- package/src/components/SocialProof/components/LayoutSingle.tsx +6 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ProductCardProps } from "./types/index.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime25 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_runtime25.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_runtime13 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_runtime13.JSX.Element;
|
|
32
32
|
//#endregion
|
|
33
33
|
export { ProductCard };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PromptButtonProps } from "./types/index.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime28 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_runtime28.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_runtime27 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_runtime27.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { PromptButton };
|
|
@@ -4,7 +4,7 @@ const require_PromptButton_types_index = require('../types/index.cjs');
|
|
|
4
4
|
const useGetBorderColorsProperties = (variant) => {
|
|
5
5
|
return {
|
|
6
6
|
borderColorClass: {
|
|
7
|
-
[require_PromptButton_types_index.PromptButtonVariant.LIGHT]: "envive-tw-border-[color-mix(in_srgb,var(--envive-colors-button-light-background-color)_90%,#000000)] envive-tw-border-[1px] envive-tw-border-solid",
|
|
7
|
+
[require_PromptButton_types_index.PromptButtonVariant.LIGHT]: "envive-tw-border-[var(--envive-colors-button-light-border-color,color-mix(in_srgb,var(--envive-colors-button-light-background-color)_90%,#000000))] envive-tw-border-[1px] envive-tw-border-solid",
|
|
8
8
|
[require_PromptButton_types_index.PromptButtonVariant.DARK]: "envive-tw-border-button-dark-background-color envive-tw-border-[1px] envive-tw-border-solid",
|
|
9
9
|
[require_PromptButton_types_index.PromptButtonVariant.GHOST]: "envive-tw-border-background-light envive-tw-border-[1px] envive-tw-border-solid",
|
|
10
10
|
[require_PromptButton_types_index.PromptButtonVariant.SUGGESTED_RESPONSE]: "envive-tw-border-border-dark envive-tw-border-[1px] envive-tw-border-solid"
|
|
@@ -4,7 +4,7 @@ import { PromptButtonVariant } from "../types/index.js";
|
|
|
4
4
|
const useGetBorderColorsProperties = (variant) => {
|
|
5
5
|
return {
|
|
6
6
|
borderColorClass: {
|
|
7
|
-
[PromptButtonVariant.LIGHT]: "envive-tw-border-[color-mix(in_srgb,var(--envive-colors-button-light-background-color)_90%,#000000)] envive-tw-border-[1px] envive-tw-border-solid",
|
|
7
|
+
[PromptButtonVariant.LIGHT]: "envive-tw-border-[var(--envive-colors-button-light-border-color,color-mix(in_srgb,var(--envive-colors-button-light-background-color)_90%,#000000))] envive-tw-border-[1px] envive-tw-border-solid",
|
|
8
8
|
[PromptButtonVariant.DARK]: "envive-tw-border-button-dark-background-color envive-tw-border-[1px] envive-tw-border-solid",
|
|
9
9
|
[PromptButtonVariant.GHOST]: "envive-tw-border-background-light envive-tw-border-[1px] envive-tw-border-solid",
|
|
10
10
|
[PromptButtonVariant.SUGGESTED_RESPONSE]: "envive-tw-border-border-dark envive-tw-border-[1px] envive-tw-border-solid"
|
|
@@ -18,6 +18,8 @@ const PromptButtonCarouselWithImage = ({ id, testId, className, style, theme = r
|
|
|
18
18
|
textField: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_index.PromptButtonCarouselWithImageComponents.TextField, {
|
|
19
19
|
isLoading,
|
|
20
20
|
placeholder: textFieldPlaceholder,
|
|
21
|
+
minimalFrame: finalTheme === require_theme.Theme.MINIMAL ? "bottom-only" : "full",
|
|
22
|
+
minimalBorderVariant: "primary",
|
|
21
23
|
className: finalTheme === require_theme.Theme.MINIMAL ? "!envive-tw-border-border-medium" : void 0,
|
|
22
24
|
onClick: () => handleTextFieldClick(textFieldPlaceholder),
|
|
23
25
|
theme: finalTheme,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PromptButtonCarouselWithImageProps } from "./types/types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime9 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_runtime9.JSX.Element;
|
|
31
31
|
//#endregion
|
|
32
32
|
export { PromptButtonCarouselWithImage };
|
|
@@ -17,6 +17,8 @@ const PromptButtonCarouselWithImage = ({ id, testId, className, style, theme = T
|
|
|
17
17
|
textField: /* @__PURE__ */ jsx(PromptButtonCarouselWithImageComponents.TextField, {
|
|
18
18
|
isLoading,
|
|
19
19
|
placeholder: textFieldPlaceholder,
|
|
20
|
+
minimalFrame: finalTheme === Theme.MINIMAL ? "bottom-only" : "full",
|
|
21
|
+
minimalBorderVariant: "primary",
|
|
20
22
|
className: finalTheme === Theme.MINIMAL ? "!envive-tw-border-border-medium" : void 0,
|
|
21
23
|
onClick: () => handleTextFieldClick(textFieldPlaceholder),
|
|
22
24
|
theme: finalTheme,
|
|
@@ -26,6 +26,11 @@ const Layout = ({ id, testId, className, style, title, promptButtons, image, tex
|
|
|
26
26
|
wheelScrollRef.current = node;
|
|
27
27
|
};
|
|
28
28
|
const imageWidth = require_functions.calculateWidthImageGallery(height, 1, 1);
|
|
29
|
+
const textFieldElement = (0, react.useMemo)(() => !hideTextField && (0, react.isValidElement)(textField) && (0, react.cloneElement)(textField, { className: (0, classnames.default)(isMobile ? "envive-tw-w-full" : "envive-tw-min-w-[276px]", textField.props.className) }), [
|
|
30
|
+
textField,
|
|
31
|
+
hideTextField,
|
|
32
|
+
isMobile
|
|
33
|
+
]);
|
|
29
34
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_Stack.Stack, {
|
|
30
35
|
id,
|
|
31
36
|
testId,
|
|
@@ -39,18 +44,18 @@ const Layout = ({ id, testId, className, style, title, promptButtons, image, tex
|
|
|
39
44
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_Stack.Stack, {
|
|
40
45
|
direction: "row",
|
|
41
46
|
gap: "4",
|
|
42
|
-
children: [isMobile && (0, react.cloneElement)(image, { imageWidth }), /* @__PURE__ */ (0, react_jsx_runtime.
|
|
47
|
+
children: [isMobile && (0, react.cloneElement)(image, { imageWidth }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_Stack.Stack, {
|
|
43
48
|
ref: combinedRef,
|
|
44
49
|
direction: isMobile ? "column" : "row",
|
|
45
50
|
style: {
|
|
46
51
|
msOverflowStyle: "none",
|
|
47
52
|
scrollbarWidth: "none"
|
|
48
53
|
},
|
|
49
|
-
gap: 4,
|
|
54
|
+
gap: isMobile ? 2 : 4,
|
|
50
55
|
className: (0, classnames.default)("[&::-webkit-scrollbar]:hidden envive-tw-h-fit", isMobile ? "envive-tw-w-full envive-tw-overflow-y-auto" : "envive-tw-overflow-x-auto", isMobile || hideTextField ? "envive-tw-w-full" : "envive-tw-max-w-[300px] md:envive-tw-max-w-[450px] lg:envive-tw-max-w-[900px]"),
|
|
51
|
-
children: promptButtons
|
|
56
|
+
children: [promptButtons, isMobile ? textFieldElement : null]
|
|
52
57
|
})]
|
|
53
|
-
}),
|
|
58
|
+
}), isMobile ? null : textFieldElement]
|
|
54
59
|
})]
|
|
55
60
|
});
|
|
56
61
|
};
|
|
@@ -5,8 +5,8 @@ import { useGetContentSize } from "../../utils/useGetContentSize.js";
|
|
|
5
5
|
import { calculateWidthImageGallery } from "../../SocialProof/utils/functions.js";
|
|
6
6
|
import { useDragToScroll } from "../../utils/useDragToScroll.js";
|
|
7
7
|
import { useHorizontalWheelScroll } from "../../utils/useHorizontalWheelScroll.js";
|
|
8
|
-
import { cloneElement, isValidElement } from "react";
|
|
9
|
-
import {
|
|
8
|
+
import { cloneElement, isValidElement, useMemo } from "react";
|
|
9
|
+
import { jsxs } from "react/jsx-runtime";
|
|
10
10
|
import classNames from "classnames";
|
|
11
11
|
|
|
12
12
|
//#region src/components/PromptButtonCarouselWithImage/components/Layout.tsx
|
|
@@ -24,6 +24,11 @@ const Layout = ({ id, testId, className, style, title, promptButtons, image, tex
|
|
|
24
24
|
wheelScrollRef.current = node;
|
|
25
25
|
};
|
|
26
26
|
const imageWidth = calculateWidthImageGallery(height, 1, 1);
|
|
27
|
+
const textFieldElement = useMemo(() => !hideTextField && isValidElement(textField) && cloneElement(textField, { className: classNames(isMobile ? "envive-tw-w-full" : "envive-tw-min-w-[276px]", textField.props.className) }), [
|
|
28
|
+
textField,
|
|
29
|
+
hideTextField,
|
|
30
|
+
isMobile
|
|
31
|
+
]);
|
|
27
32
|
return /* @__PURE__ */ jsxs(Stack, {
|
|
28
33
|
id,
|
|
29
34
|
testId,
|
|
@@ -37,18 +42,18 @@ const Layout = ({ id, testId, className, style, title, promptButtons, image, tex
|
|
|
37
42
|
children: [/* @__PURE__ */ jsxs(Stack, {
|
|
38
43
|
direction: "row",
|
|
39
44
|
gap: "4",
|
|
40
|
-
children: [isMobile && cloneElement(image, { imageWidth }), /* @__PURE__ */
|
|
45
|
+
children: [isMobile && cloneElement(image, { imageWidth }), /* @__PURE__ */ jsxs(Stack, {
|
|
41
46
|
ref: combinedRef,
|
|
42
47
|
direction: isMobile ? "column" : "row",
|
|
43
48
|
style: {
|
|
44
49
|
msOverflowStyle: "none",
|
|
45
50
|
scrollbarWidth: "none"
|
|
46
51
|
},
|
|
47
|
-
gap: 4,
|
|
52
|
+
gap: isMobile ? 2 : 4,
|
|
48
53
|
className: classNames("[&::-webkit-scrollbar]:hidden envive-tw-h-fit", isMobile ? "envive-tw-w-full envive-tw-overflow-y-auto" : "envive-tw-overflow-x-auto", isMobile || hideTextField ? "envive-tw-w-full" : "envive-tw-max-w-[300px] md:envive-tw-max-w-[450px] lg:envive-tw-max-w-[900px]"),
|
|
49
|
-
children: promptButtons
|
|
54
|
+
children: [promptButtons, isMobile ? textFieldElement : null]
|
|
50
55
|
})]
|
|
51
|
-
}),
|
|
56
|
+
}), isMobile ? null : textFieldElement]
|
|
52
57
|
})]
|
|
53
58
|
});
|
|
54
59
|
};
|
|
@@ -62,7 +62,7 @@ const PromptButtonsCarousel = ({ theme, isLoading, promptButtonsTexts, promptBut
|
|
|
62
62
|
const indexedTexts = Array.from(promptButtonsTextsFinal.entries());
|
|
63
63
|
if (isMobile) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Stack.Stack, {
|
|
64
64
|
direction: "column",
|
|
65
|
-
gap: "
|
|
65
|
+
gap: "2",
|
|
66
66
|
className: "envive-tw-w-full",
|
|
67
67
|
children: distributeInThreeRows(indexedTexts).filter((row) => row.length > 0).map((row, rowIndex) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Stack.Stack, {
|
|
68
68
|
direction: "row",
|
|
@@ -61,7 +61,7 @@ const PromptButtonsCarousel = ({ theme, isLoading, promptButtonsTexts, promptBut
|
|
|
61
61
|
const indexedTexts = Array.from(promptButtonsTextsFinal.entries());
|
|
62
62
|
if (isMobile) return /* @__PURE__ */ jsx(Stack, {
|
|
63
63
|
direction: "column",
|
|
64
|
-
gap: "
|
|
64
|
+
gap: "2",
|
|
65
65
|
className: "envive-tw-w-full",
|
|
66
66
|
children: distributeInThreeRows(indexedTexts).filter((row) => row.length > 0).map((row, rowIndex) => /* @__PURE__ */ jsx(Stack, {
|
|
67
67
|
direction: "row",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PromptCarouselProps } from "./types/types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime16 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_runtime16.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_runtime19 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_runtime19.JSX.Element;
|
|
30
30
|
//#endregion
|
|
31
31
|
export { PromptCarousel };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReviewCardProps } from "./types/types.cjs";
|
|
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,5 +1,5 @@
|
|
|
1
1
|
import { ReviewCardProps } from "./types/types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime14 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_runtime14.JSX.Element;
|
|
31
31
|
//#endregion
|
|
32
32
|
export { ReviewCard };
|
|
@@ -22,7 +22,7 @@ const Name = ({ name, showVerifiedBuyer, verifiedBuyerLabel, className, style })
|
|
|
22
22
|
className,
|
|
23
23
|
style,
|
|
24
24
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Typography.Typography, {
|
|
25
|
-
variant: require_index.TypographyVariant.
|
|
25
|
+
variant: require_index.TypographyVariant.H3_MD,
|
|
26
26
|
color: require_index.TypographyColor.TEXT_PRIMARY,
|
|
27
27
|
className,
|
|
28
28
|
style: nameStyle,
|
|
@@ -21,7 +21,7 @@ const Name = ({ name, showVerifiedBuyer, verifiedBuyerLabel, className, style })
|
|
|
21
21
|
className,
|
|
22
22
|
style,
|
|
23
23
|
children: [/* @__PURE__ */ jsx(Typography, {
|
|
24
|
-
variant: TypographyVariant.
|
|
24
|
+
variant: TypographyVariant.H3_MD,
|
|
25
25
|
color: TypographyColor.TEXT_PRIMARY,
|
|
26
26
|
className,
|
|
27
27
|
style: nameStyle,
|
|
@@ -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 react0 from "react";
|
|
6
|
-
import * as
|
|
6
|
+
import * as react_jsx_runtime0 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_runtime0.JSX.Element;
|
|
35
35
|
Rating: ({
|
|
36
36
|
rating,
|
|
37
37
|
theme,
|
|
38
38
|
style
|
|
39
|
-
}: RatingProps) =>
|
|
39
|
+
}: RatingProps) => react_jsx_runtime0.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_runtime0.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 react7 from "react";
|
|
6
|
+
import * as react_jsx_runtime15 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_runtime15.JSX.Element;
|
|
35
35
|
Rating: ({
|
|
36
36
|
rating,
|
|
37
37
|
theme,
|
|
38
38
|
style
|
|
39
|
-
}: RatingProps) =>
|
|
39
|
+
}: RatingProps) => react_jsx_runtime15.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
|
+
}) => react7.ReactElement<react7.SVGProps<SVGSVGElement>, string | react7.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_runtime15.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_runtime15 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_runtime15.JSX.Element;
|
|
34
34
|
//#endregion
|
|
35
35
|
export { SalesAgentProductCard };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SalesAgentProductCardProps } from "./types/types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime4 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_runtime4.JSX.Element;
|
|
34
34
|
//#endregion
|
|
35
35
|
export { SalesAgentProductCard };
|
|
@@ -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 react5 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: {
|
|
@@ -23,24 +23,24 @@ declare const SalesAgentProductCardComponents: {
|
|
|
23
23
|
url,
|
|
24
24
|
target,
|
|
25
25
|
onClick
|
|
26
|
-
}: ContainerProps) =>
|
|
26
|
+
}: ContainerProps) => react_jsx_runtime10.JSX.Element;
|
|
27
27
|
ProductName: ({
|
|
28
28
|
label,
|
|
29
29
|
theme,
|
|
30
30
|
style,
|
|
31
31
|
className
|
|
32
|
-
}: ProductNameProps) =>
|
|
32
|
+
}: ProductNameProps) => react_jsx_runtime10.JSX.Element;
|
|
33
33
|
Price: ({
|
|
34
34
|
previousPrice,
|
|
35
35
|
currentPrice,
|
|
36
36
|
pricePrefix,
|
|
37
37
|
forceShowCurrentPriceSpace
|
|
38
|
-
}: PriceProps) =>
|
|
38
|
+
}: PriceProps) => react_jsx_runtime10.JSX.Element;
|
|
39
39
|
Rate: ({
|
|
40
40
|
rate,
|
|
41
41
|
numberOfReviews,
|
|
42
42
|
theme
|
|
43
|
-
}: RateProps) =>
|
|
43
|
+
}: RateProps) => react_jsx_runtime10.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_runtime10.JSX.Element;
|
|
52
52
|
StarIcon: ({
|
|
53
53
|
theme,
|
|
54
54
|
style
|
|
55
55
|
}: {
|
|
56
56
|
theme: Theme;
|
|
57
57
|
style?: React.CSSProperties;
|
|
58
|
-
}) =>
|
|
58
|
+
}) => react5.ReactElement<react5.SVGProps<SVGSVGElement>, string | react5.JSXElementConstructor<any>>;
|
|
59
59
|
};
|
|
60
60
|
//#endregion
|
|
61
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 react1 from "react";
|
|
8
|
+
import * as react_jsx_runtime5 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_runtime5.JSX.Element;
|
|
27
27
|
ProductName: ({
|
|
28
28
|
label,
|
|
29
29
|
theme,
|
|
30
30
|
style,
|
|
31
31
|
className
|
|
32
|
-
}: ProductNameProps) =>
|
|
32
|
+
}: ProductNameProps) => react_jsx_runtime5.JSX.Element;
|
|
33
33
|
Price: ({
|
|
34
34
|
previousPrice,
|
|
35
35
|
currentPrice,
|
|
36
36
|
pricePrefix,
|
|
37
37
|
forceShowCurrentPriceSpace
|
|
38
|
-
}: PriceProps) =>
|
|
38
|
+
}: PriceProps) => react_jsx_runtime5.JSX.Element;
|
|
39
39
|
Rate: ({
|
|
40
40
|
rate,
|
|
41
41
|
numberOfReviews,
|
|
42
42
|
theme
|
|
43
|
-
}: RateProps) =>
|
|
43
|
+
}: RateProps) => react_jsx_runtime5.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_runtime5.JSX.Element;
|
|
52
52
|
StarIcon: ({
|
|
53
53
|
theme,
|
|
54
54
|
style
|
|
55
55
|
}: {
|
|
56
56
|
theme: Theme;
|
|
57
57
|
style?: React.CSSProperties;
|
|
58
|
-
}) =>
|
|
58
|
+
}) => react1.ReactElement<react1.SVGProps<SVGSVGElement>, string | react1.JSXElementConstructor<any>>;
|
|
59
59
|
};
|
|
60
60
|
//#endregion
|
|
61
61
|
export { SalesAgentProductCardComponents };
|