@envive-ai/react-toolkit-v3 0.3.29 → 0.3.30
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/Carousel/Carousel.cjs +1 -1
- package/dist/Carousel/Carousel.d.ts +2 -2
- package/dist/Carousel/Carousel.js +1 -1
- package/dist/Carousel/components/Container.cjs +2 -2
- package/dist/Carousel/components/Container.js +2 -2
- package/dist/ChatFooter/ChatFooter.cjs +1 -1
- package/dist/ChatFooter/ChatFooter.d.ts +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.ts +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 +53 -53
- package/dist/Container/Container.d.ts +220 -220
- 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/AgentMessage.cjs +1 -0
- package/dist/FloatingChat/components/AgentMessage.js +1 -0
- package/dist/FloatingChat/components/ChatMessages.cjs +1 -1
- package/dist/FloatingChat/components/ChatMessages.js +1 -1
- package/dist/FloatingChat/components/Layout.cjs +3 -3
- package/dist/FloatingChat/components/Layout.js +3 -3
- package/dist/FloatingChat/components/ResultsGridView.cjs +1 -1
- package/dist/FloatingChat/components/ResultsGridView.js +1 -1
- package/dist/FloatingChat/components/SalesAgentBadgeContent.cjs +1 -1
- package/dist/FloatingChat/components/SalesAgentBadgeContent.js +1 -1
- package/dist/FullPageSalesAgent/FullPageSalesAgent.cjs +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/ImageGallery/components/Layout.cjs +1 -1
- package/dist/ImageGallery/components/Layout.js +1 -1
- package/dist/MarkdownProcessor/MarkdownProcessor.cjs +7 -3
- package/dist/MarkdownProcessor/MarkdownProcessor.d.cts +4 -3
- package/dist/MarkdownProcessor/MarkdownProcessor.d.ts +4 -3
- package/dist/MarkdownProcessor/MarkdownProcessor.js +7 -3
- package/dist/MarkdownProcessor/components/MarkdownLink.cjs +3 -2
- package/dist/MarkdownProcessor/components/MarkdownLink.js +3 -2
- package/dist/MarkdownProcessor/types/types.d.cts +5 -0
- package/dist/MarkdownProcessor/types/types.d.ts +5 -0
- package/dist/MarkdownProcessor/utils/functions.cjs +2 -1
- package/dist/MarkdownProcessor/utils/functions.js +2 -1
- package/dist/Message/Message.cjs +5 -4
- package/dist/Message/Message.d.cts +2 -1
- package/dist/Message/Message.d.ts +2 -1
- package/dist/Message/Message.js +5 -4
- package/dist/Message/components/AgentContent.cjs +3 -2
- package/dist/Message/components/AgentContent.js +3 -2
- package/dist/Message/components/LinkButton.cjs +3 -3
- package/dist/Message/components/LinkButton.d.cts +4 -1
- package/dist/Message/components/LinkButton.d.ts +4 -1
- package/dist/Message/components/LinkButton.js +3 -3
- package/dist/Message/hooks/useGetLinkButtonIconProperties.cjs +4 -3
- package/dist/Message/hooks/useGetLinkButtonIconProperties.js +4 -3
- package/dist/Message/types/index.d.cts +4 -0
- package/dist/Message/types/index.d.ts +4 -0
- 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/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.cts +2 -2
- package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.ts +2 -2
- package/dist/PromptButtonCarouselWithImage/components/PromptButtonsCarousel.cjs +1 -1
- package/dist/PromptButtonCarouselWithImage/components/PromptButtonsCarousel.js +1 -1
- package/dist/PromptCarousel/PromptCarousel.cjs +3 -3
- package/dist/PromptCarousel/PromptCarousel.d.cts +2 -2
- package/dist/PromptCarousel/PromptCarousel.d.ts +2 -2
- package/dist/PromptCarousel/PromptCarousel.js +3 -3
- package/dist/ReviewCard/ReviewCard.d.cts +2 -2
- package/dist/ReviewCard/ReviewCard.d.ts +2 -2
- package/dist/ReviewCard/components/Container.cjs +2 -2
- package/dist/ReviewCard/components/Container.js +2 -2
- package/dist/ReviewCard/components/ReadMoreButton.cjs +1 -1
- package/dist/ReviewCard/components/ReadMoreButton.js +1 -1
- package/dist/ReviewCard/components/index.d.cts +6 -6
- package/dist/ReviewCard/components/index.d.ts +6 -6
- package/dist/SalesAgentProductCard/SalesAgentProductCard.d.cts +2 -2
- package/dist/SalesAgentProductCard/SalesAgentProductCard.d.ts +2 -2
- package/dist/SalesAgentProductCard/components/Container.cjs +2 -2
- package/dist/SalesAgentProductCard/components/Container.js +2 -2
- package/dist/SalesAgentProductCard/components/index.d.cts +8 -8
- package/dist/SalesAgentProductCard/components/index.d.ts +8 -8
- package/dist/SocialProof/SocialProof.cjs +1 -1
- package/dist/SocialProof/SocialProof.d.cts +2 -2
- package/dist/SocialProof/SocialProof.d.ts +2 -2
- package/dist/SocialProof/SocialProof.js +1 -1
- package/dist/SocialProof/components/Headline.cjs +3 -3
- package/dist/SocialProof/components/Headline.js +3 -3
- package/dist/SocialProof/components/LayoutFourHorizontal.cjs +1 -1
- package/dist/SocialProof/components/LayoutFourHorizontal.js +1 -1
- package/dist/SocialProof/components/Subheadline.cjs +1 -1
- package/dist/SocialProof/components/Subheadline.js +1 -1
- package/dist/SparkleAnimation/SparkleAnimation.d.cts +2 -2
- package/dist/SparkleAnimation/SparkleAnimation.d.ts +2 -2
- package/dist/Stack/Stack.d.cts +2 -2
- package/dist/Stack/Stack.d.ts +2 -2
- package/dist/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.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/WidgetTextField/hooks/useGetContainerProperties.cjs +3 -2
- package/dist/WidgetTextField/hooks/useGetContainerProperties.js +3 -2
- package/dist/WidgetWrapper/WidgetWrapper.cjs +8 -1
- package/dist/WidgetWrapper/WidgetWrapper.d.cts +2 -2
- package/dist/WidgetWrapper/WidgetWrapper.d.ts +2 -2
- package/dist/WidgetWrapper/WidgetWrapper.js +8 -1
- package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.cjs +1 -1
- package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.cts +2 -2
- package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.ts +2 -2
- package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.js +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/src/components/FloatingChat/components/AgentMessage.tsx +1 -0
- package/src/components/MarkdownProcessor/MarkdownProcessor.tsx +3 -2
- package/src/components/MarkdownProcessor/components/MarkdownLink.tsx +4 -1
- package/src/components/MarkdownProcessor/types/types.ts +5 -0
- package/src/components/MarkdownProcessor/utils/functions.tsx +4 -0
- package/src/components/Message/Message.tsx +4 -2
- package/src/components/Message/components/AgentContent.tsx +4 -0
- package/src/components/Message/components/LinkButton.tsx +4 -1
- package/src/components/Message/hooks/useGetLinkButtonIconProperties.ts +7 -3
- package/src/components/Message/types/index.ts +3 -0
- package/src/components/WidgetTextField/hooks/useGetContainerProperties.ts +2 -1
- package/src/components/WidgetWrapper/WidgetWrapper.tsx +10 -2
- package/src/components/WidgetWrapperWithTitle/WidgetWrapperWithTitle.tsx +5 -5
- package/src/components/utils/resolveTheme.ts +2 -2
package/dist/Message/Message.cjs
CHANGED
|
@@ -8,7 +8,7 @@ let react_jsx_runtime = require("react/jsx-runtime");
|
|
|
8
8
|
/**
|
|
9
9
|
* Message component that renders a chat message with two variants: agent and user.
|
|
10
10
|
*/
|
|
11
|
-
const Message = ({ variant = require_index.MessageVariant.AGENT, agentName, content, isLoading = false, showSparkle = false, id, testId, className, style, ariaLabel, onLinkClick }) => {
|
|
11
|
+
const Message = ({ variant = require_index.MessageVariant.AGENT, agentName, content, isLoading = false, showSparkle = false, id, testId, className, style, ariaLabel, onLinkClick, theme }) => {
|
|
12
12
|
const validationResult = require_validateMessageProps.validateMessageProps({
|
|
13
13
|
variant,
|
|
14
14
|
agentName,
|
|
@@ -32,11 +32,12 @@ const Message = ({ variant = require_index.MessageVariant.AGENT, agentName, cont
|
|
|
32
32
|
showSparkle
|
|
33
33
|
}),
|
|
34
34
|
isAgent && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_index$1.MessageComponents.AgentContent, {
|
|
35
|
-
content,
|
|
35
|
+
content: content ?? "",
|
|
36
36
|
isLoading,
|
|
37
|
-
onLinkClick
|
|
37
|
+
onLinkClick,
|
|
38
|
+
theme
|
|
38
39
|
}),
|
|
39
|
-
isUser && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_index$1.MessageComponents.UserContent, { content })
|
|
40
|
+
isUser && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_index$1.MessageComponents.UserContent, { content: content ?? "" })
|
|
40
41
|
]
|
|
41
42
|
});
|
|
42
43
|
};
|
package/dist/Message/Message.js
CHANGED
|
@@ -7,7 +7,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
7
7
|
/**
|
|
8
8
|
* Message component that renders a chat message with two variants: agent and user.
|
|
9
9
|
*/
|
|
10
|
-
const Message = ({ variant = MessageVariant.AGENT, agentName, content, isLoading = false, showSparkle = false, id, testId, className, style, ariaLabel, onLinkClick }) => {
|
|
10
|
+
const Message = ({ variant = MessageVariant.AGENT, agentName, content, isLoading = false, showSparkle = false, id, testId, className, style, ariaLabel, onLinkClick, theme }) => {
|
|
11
11
|
const validationResult = validateMessageProps({
|
|
12
12
|
variant,
|
|
13
13
|
agentName,
|
|
@@ -31,11 +31,12 @@ const Message = ({ variant = MessageVariant.AGENT, agentName, content, isLoading
|
|
|
31
31
|
showSparkle
|
|
32
32
|
}),
|
|
33
33
|
isAgent && /* @__PURE__ */ jsx(MessageComponents.AgentContent, {
|
|
34
|
-
content,
|
|
34
|
+
content: content ?? "",
|
|
35
35
|
isLoading,
|
|
36
|
-
onLinkClick
|
|
36
|
+
onLinkClick,
|
|
37
|
+
theme
|
|
37
38
|
}),
|
|
38
|
-
isUser && /* @__PURE__ */ jsx(MessageComponents.UserContent, { content })
|
|
39
|
+
isUser && /* @__PURE__ */ jsx(MessageComponents.UserContent, { content: content ?? "" })
|
|
39
40
|
]
|
|
40
41
|
});
|
|
41
42
|
};
|
|
@@ -8,13 +8,14 @@ const MarkdownProcessor = (0, react.lazy)(async () => ({ default: (await Promise
|
|
|
8
8
|
/**
|
|
9
9
|
* Component that renders the message content for the agent.
|
|
10
10
|
*/
|
|
11
|
-
const AgentContent = ({ content, isLoading = false, onLinkClick }) => {
|
|
11
|
+
const AgentContent = ({ content, isLoading = false, onLinkClick, theme }) => {
|
|
12
12
|
if (isLoading) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_LoadingSkeleton.LoadingSkeleton, {});
|
|
13
13
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react.Suspense, {
|
|
14
14
|
fallback: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_LoadingSkeleton.LoadingSkeleton, {}),
|
|
15
15
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(MarkdownProcessor, {
|
|
16
16
|
content,
|
|
17
|
-
onLinkClick
|
|
17
|
+
onLinkClick,
|
|
18
|
+
theme
|
|
18
19
|
})
|
|
19
20
|
});
|
|
20
21
|
};
|
|
@@ -7,13 +7,14 @@ const MarkdownProcessor = lazy(async () => ({ default: (await import("../../Mark
|
|
|
7
7
|
/**
|
|
8
8
|
* Component that renders the message content for the agent.
|
|
9
9
|
*/
|
|
10
|
-
const AgentContent = ({ content, isLoading = false, onLinkClick }) => {
|
|
10
|
+
const AgentContent = ({ content, isLoading = false, onLinkClick, theme }) => {
|
|
11
11
|
if (isLoading) return /* @__PURE__ */ jsx(LoadingSkeleton, {});
|
|
12
12
|
return /* @__PURE__ */ jsx(Suspense, {
|
|
13
13
|
fallback: /* @__PURE__ */ jsx(LoadingSkeleton, {}),
|
|
14
14
|
children: /* @__PURE__ */ jsx(MarkdownProcessor, {
|
|
15
15
|
content,
|
|
16
|
-
onLinkClick
|
|
16
|
+
onLinkClick,
|
|
17
|
+
theme
|
|
17
18
|
})
|
|
18
19
|
});
|
|
19
20
|
};
|
|
@@ -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');
|
|
@@ -15,9 +15,9 @@ __envive_ai_react_icons_VectorUpRight = require_rolldown_runtime.__toESM(__enviv
|
|
|
15
15
|
* Component that renders an external link with an icon.
|
|
16
16
|
* Uses an inline span with button role for better accessibility and inline text flow.
|
|
17
17
|
*/
|
|
18
|
-
const LinkButton = ({ url, text, typographyColor, onClick }) => {
|
|
18
|
+
const LinkButton = ({ url, text, typographyColor, onClick, theme }) => {
|
|
19
19
|
const { containerClasses } = require_useGetLinkButtonProperties.useGetLinkButtonProperties();
|
|
20
|
-
const { iconContainerClasses } = require_useGetLinkButtonIconProperties.useGetLinkButtonIconProperties();
|
|
20
|
+
const { iconContainerClasses } = require_useGetLinkButtonIconProperties.useGetLinkButtonIconProperties(theme);
|
|
21
21
|
const handleClick = () => {
|
|
22
22
|
require_openUrlInNewTab.openUrlInNewTab(url);
|
|
23
23
|
onClick?.(url);
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Theme } from "../../tokens/theme/theme.cjs";
|
|
1
2
|
import { TypographyColor } from "../../Typography/types/index.cjs";
|
|
2
3
|
|
|
3
4
|
//#region src/components/Message/components/LinkButton.d.ts
|
|
@@ -6,6 +7,7 @@ type LinkButtonProps = {
|
|
|
6
7
|
text: string;
|
|
7
8
|
typographyColor?: TypographyColor;
|
|
8
9
|
onClick?: (url: string) => void;
|
|
10
|
+
theme?: Theme;
|
|
9
11
|
};
|
|
10
12
|
/**
|
|
11
13
|
* Component that renders an external link with an icon.
|
|
@@ -15,7 +17,8 @@ declare const LinkButton: ({
|
|
|
15
17
|
url,
|
|
16
18
|
text,
|
|
17
19
|
typographyColor,
|
|
18
|
-
onClick
|
|
20
|
+
onClick,
|
|
21
|
+
theme
|
|
19
22
|
}: LinkButtonProps) => React.ReactNode;
|
|
20
23
|
//#endregion
|
|
21
24
|
export { LinkButton };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Theme } from "../../packages/components-v3/tokens/theme/theme.js";
|
|
1
2
|
import { TypographyColor } from "../../Typography/types/index.js";
|
|
2
3
|
|
|
3
4
|
//#region src/components/Message/components/LinkButton.d.ts
|
|
@@ -6,6 +7,7 @@ type LinkButtonProps = {
|
|
|
6
7
|
text: string;
|
|
7
8
|
typographyColor?: TypographyColor;
|
|
8
9
|
onClick?: (url: string) => void;
|
|
10
|
+
theme?: Theme;
|
|
9
11
|
};
|
|
10
12
|
/**
|
|
11
13
|
* Component that renders an external link with an icon.
|
|
@@ -15,7 +17,8 @@ declare const LinkButton: ({
|
|
|
15
17
|
url,
|
|
16
18
|
text,
|
|
17
19
|
typographyColor,
|
|
18
|
-
onClick
|
|
20
|
+
onClick,
|
|
21
|
+
theme
|
|
19
22
|
}: LinkButtonProps) => React.ReactNode;
|
|
20
23
|
//#endregion
|
|
21
24
|
export { LinkButton };
|
|
@@ -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";
|
|
@@ -13,9 +13,9 @@ import VectorUpRight from "@envive-ai/react-icons/VectorUpRight";
|
|
|
13
13
|
* Component that renders an external link with an icon.
|
|
14
14
|
* Uses an inline span with button role for better accessibility and inline text flow.
|
|
15
15
|
*/
|
|
16
|
-
const LinkButton = ({ url, text, typographyColor, onClick }) => {
|
|
16
|
+
const LinkButton = ({ url, text, typographyColor, onClick, theme }) => {
|
|
17
17
|
const { containerClasses } = useGetLinkButtonProperties();
|
|
18
|
-
const { iconContainerClasses } = useGetLinkButtonIconProperties();
|
|
18
|
+
const { iconContainerClasses } = useGetLinkButtonIconProperties(theme);
|
|
19
19
|
const handleClick = () => {
|
|
20
20
|
openUrlInNewTab(url);
|
|
21
21
|
onClick?.(url);
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
const require_theme = require('../../packages/components-v3/tokens/theme/theme.cjs');
|
|
2
3
|
let react = require("react");
|
|
3
4
|
|
|
4
5
|
//#region src/components/Message/hooks/useGetLinkButtonIconProperties.ts
|
|
5
6
|
/**
|
|
6
7
|
* Hook that returns CSS classes for the LinkButton icon container element.
|
|
7
8
|
*/
|
|
8
|
-
const useGetLinkButtonIconProperties = () => {
|
|
9
|
+
const useGetLinkButtonIconProperties = (theme) => {
|
|
9
10
|
return { iconContainerClasses: (0, react.useMemo)(() => {
|
|
10
|
-
return `envive-tw-inline-flex envive-tw-h-4 envive-tw-w-4 envive-tw-items-center envive-tw-justify-center envive-tw-align-middle envive-tw-rounded-
|
|
11
|
-
}, []) };
|
|
11
|
+
return `envive-tw-inline-flex envive-tw-h-4 envive-tw-w-4 envive-tw-items-center envive-tw-justify-center envive-tw-align-middle ${`${theme === require_theme.Theme.STANDARD || theme === require_theme.Theme.MODERN ? "envive-tw-rounded-2" : ""} envive-tw-bg-background-secondary`} envive-tw-transition-colors envive-tw-duration-200 group-hover:envive-tw-bg-[color-mix(in_srgb,var(--envive-colors-background-secondary)_90%,#000000_10%)]`;
|
|
12
|
+
}, [theme]) };
|
|
12
13
|
};
|
|
13
14
|
|
|
14
15
|
//#endregion
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
+
import { Theme } from "../../packages/components-v3/tokens/theme/theme.js";
|
|
1
2
|
import { useMemo } from "react";
|
|
2
3
|
|
|
3
4
|
//#region src/components/Message/hooks/useGetLinkButtonIconProperties.ts
|
|
4
5
|
/**
|
|
5
6
|
* Hook that returns CSS classes for the LinkButton icon container element.
|
|
6
7
|
*/
|
|
7
|
-
const useGetLinkButtonIconProperties = () => {
|
|
8
|
+
const useGetLinkButtonIconProperties = (theme) => {
|
|
8
9
|
return { iconContainerClasses: useMemo(() => {
|
|
9
|
-
return `envive-tw-inline-flex envive-tw-h-4 envive-tw-w-4 envive-tw-items-center envive-tw-justify-center envive-tw-align-middle envive-tw-rounded-
|
|
10
|
-
}, []) };
|
|
10
|
+
return `envive-tw-inline-flex envive-tw-h-4 envive-tw-w-4 envive-tw-items-center envive-tw-justify-center envive-tw-align-middle ${`${theme === Theme.STANDARD || theme === Theme.MODERN ? "envive-tw-rounded-2" : ""} envive-tw-bg-background-secondary`} envive-tw-transition-colors envive-tw-duration-200 group-hover:envive-tw-bg-[color-mix(in_srgb,var(--envive-colors-background-secondary)_90%,#000000_10%)]`;
|
|
11
|
+
}, [theme]) };
|
|
11
12
|
};
|
|
12
13
|
|
|
13
14
|
//#endregion
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
import { Theme } from "../../tokens/theme/theme.cjs";
|
|
2
|
+
|
|
1
3
|
//#region src/components/Message/types/index.d.ts
|
|
4
|
+
|
|
2
5
|
/**
|
|
3
6
|
* Visual variant of the message component.
|
|
4
7
|
*/
|
|
@@ -56,6 +59,7 @@ interface MessageProps {
|
|
|
56
59
|
*/
|
|
57
60
|
style?: React.CSSProperties;
|
|
58
61
|
onLinkClick?: (url: string) => void;
|
|
62
|
+
theme?: Theme;
|
|
59
63
|
}
|
|
60
64
|
//#endregion
|
|
61
65
|
export { MessageProps, MessageVariant };
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
import { Theme } from "../../packages/components-v3/tokens/theme/theme.js";
|
|
2
|
+
|
|
1
3
|
//#region src/components/Message/types/index.d.ts
|
|
4
|
+
|
|
2
5
|
/**
|
|
3
6
|
* Visual variant of the message component.
|
|
4
7
|
*/
|
|
@@ -56,6 +59,7 @@ interface MessageProps {
|
|
|
56
59
|
*/
|
|
57
60
|
style?: React.CSSProperties;
|
|
58
61
|
onLinkClick?: (url: string) => void;
|
|
62
|
+
theme?: Theme;
|
|
59
63
|
}
|
|
60
64
|
//#endregion
|
|
61
65
|
export { MessageProps, MessageVariant };
|
|
@@ -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('./components/index.cjs');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ProductCardProps } from "./types/index.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ProductCard/ProductCard.d.ts
|
|
5
5
|
declare const ProductCard: ({
|
|
@@ -27,6 +27,6 @@ declare const ProductCard: ({
|
|
|
27
27
|
onInputClick,
|
|
28
28
|
onTranscriptionStarted,
|
|
29
29
|
onTranscriptionCompleted
|
|
30
|
-
}: ProductCardProps) =>
|
|
30
|
+
}: ProductCardProps) => react_jsx_runtime2.JSX.Element;
|
|
31
31
|
//#endregion
|
|
32
32
|
export { ProductCard };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ProductCardProps } from "./types/index.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime19 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ProductCard/ProductCard.d.ts
|
|
5
5
|
declare const ProductCard: ({
|
|
@@ -27,6 +27,6 @@ declare const ProductCard: ({
|
|
|
27
27
|
onInputClick,
|
|
28
28
|
onTranscriptionStarted,
|
|
29
29
|
onTranscriptionCompleted
|
|
30
|
-
}: ProductCardProps) =>
|
|
30
|
+
}: ProductCardProps) => react_jsx_runtime19.JSX.Element;
|
|
31
31
|
//#endregion
|
|
32
32
|
export { ProductCard };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Theme } from "../packages/components-v3/tokens/theme/theme.js";
|
|
2
|
-
import "../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 { ProductCardWidgetComponents } from "./components/index.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PromptButtonProps } from "./types/index.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime1 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_runtime1.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_runtime25 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_runtime25.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_runtime11 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_runtime11.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_runtime8 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_runtime8.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_runtime18 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_runtime18.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_runtime21 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_runtime21.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 };
|
|
@@ -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 react7 from "react";
|
|
6
|
+
import * as react_jsx_runtime18 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_runtime18.JSX.Element;
|
|
35
35
|
Rating: ({
|
|
36
36
|
rating,
|
|
37
37
|
theme,
|
|
38
38
|
style
|
|
39
|
-
}: RatingProps) =>
|
|
39
|
+
}: RatingProps) => react_jsx_runtime18.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_runtime18.JSX.Element;
|
|
60
60
|
ReadMoreButton: ({
|
|
61
61
|
isExpanded,
|
|
62
62
|
onToggle,
|