@envive-ai/react-toolkit-v3 0.3.12 → 0.3.13
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/CSSVariablesEditor/CssVariablesEditorComponent.d.cts +2 -2
- package/dist/CSSVariablesEditor/CssVariablesEditorComponent.d.ts +2 -2
- package/dist/CSSVariablesEditor/hooks/useGetCssVariablesOptions.cjs +1 -1
- package/dist/CSSVariablesEditor/hooks/useGetCssVariablesOptions.js +1 -1
- package/dist/CSSVariablesEditor/hooks/useGetCurrentMerchantColors.cjs +1 -1
- package/dist/CSSVariablesEditor/hooks/useGetCurrentMerchantColors.js +1 -1
- package/dist/CSSVariablesEditor/hooks/useGetDefaultCssVariables.cjs +1 -1
- package/dist/CSSVariablesEditor/hooks/useGetDefaultCssVariables.js +1 -1
- package/dist/CSSVariablesEditor/hooks/useHandleUpdateCssVars.cjs +1 -1
- package/dist/CSSVariablesEditor/hooks/useHandleUpdateCssVars.js +1 -1
- package/dist/Carousel/Carousel.d.cts +2 -2
- package/dist/Carousel/Carousel.d.ts +2 -2
- package/dist/Carousel/components/Badge.cjs +1 -1
- package/dist/Carousel/components/Badge.js +1 -1
- package/dist/Carousel/components/Container.cjs +1 -1
- package/dist/Carousel/components/Container.js +1 -1
- 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 +1 -1
- package/dist/ChatFooter/components/Layout.js +1 -1
- package/dist/ChatFooter/components/index.d.cts +5 -5
- package/dist/ChatFooter/components/index.d.ts +3 -3
- package/dist/ChatHeader/ChatHeader.d.cts +2 -2
- package/dist/ChatHeader/ChatHeader.d.ts +2 -2
- package/dist/ChatHeader/hooks/useGetLayoutProperties.cjs +1 -1
- package/dist/ChatHeader/hooks/useGetLayoutProperties.js +1 -1
- package/dist/ChatPreview/ChatPreview.d.cts +2 -2
- package/dist/ChatPreview/ChatPreview.d.ts +2 -2
- package/dist/ChatPreviewComparison/ChatPreviewComparison.d.cts +2 -2
- package/dist/ChatPreviewComparison/ChatPreviewComparison.d.ts +2 -2
- package/dist/ChatPreviewComparison/components/Layout.cjs +6 -5
- package/dist/ChatPreviewComparison/components/Layout.js +6 -5
- package/dist/ChatPreviewLoading/ChatPreviewLoading.d.cts +2 -2
- package/dist/ChatPreviewLoading/ChatPreviewLoading.d.ts +2 -2
- package/dist/DesignTokens/DesignTokensComponent.d.cts +2 -2
- package/dist/DesignTokens/DesignTokensComponent.d.ts +2 -2
- package/dist/DesignTokens/components/FontFamily.cjs +1 -1
- package/dist/DesignTokens/components/FontFamily.js +1 -1
- package/dist/DesignTokens/components/FontSize.cjs +1 -1
- package/dist/DesignTokens/components/FontSize.js +1 -1
- package/dist/DesignTokens/components/FontWeight.cjs +1 -1
- package/dist/DesignTokens/components/FontWeight.js +1 -1
- package/dist/DesignTokens/components/LetterSpacing.cjs +1 -1
- package/dist/DesignTokens/components/LetterSpacing.js +1 -1
- package/dist/DesignTokens/components/LineHeight.cjs +1 -1
- package/dist/DesignTokens/components/LineHeight.js +1 -1
- package/dist/DesignTokens/components/Typography.cjs +1 -1
- package/dist/DesignTokens/components/Typography.js +1 -1
- package/dist/Disclaimer/components/Container.cjs +1 -1
- package/dist/Disclaimer/components/Container.js +1 -1
- package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.cts +2 -2
- package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.ts +2 -2
- package/dist/DocumentRetrievalCard/components/Image.cjs +1 -1
- package/dist/DocumentRetrievalCard/components/Image.js +1 -1
- package/dist/DocumentRetrievalCard/components/Layout.cjs +1 -1
- package/dist/DocumentRetrievalCard/components/Layout.js +1 -1
- package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Icon.cjs +1 -1
- package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Icon.js +1 -1
- package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Label.cjs +1 -1
- package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Label.js +1 -1
- package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Layout.cjs +1 -1
- package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Layout.js +1 -1
- package/dist/FloatingButton/FloatingButton.d.cts +2 -2
- package/dist/FloatingButton/FloatingButton.d.ts +2 -2
- package/dist/FloatingButton/components/Button.cjs +1 -1
- package/dist/FloatingButton/components/Button.js +1 -1
- package/dist/FloatingButton/components/Container.cjs +1 -1
- package/dist/FloatingButton/components/Container.js +1 -1
- package/dist/FloatingButton/components/Wrapper.cjs +1 -1
- package/dist/FloatingButton/components/Wrapper.js +1 -1
- package/dist/FloatingChat/FloatingChat.cjs +5 -2
- package/dist/FloatingChat/FloatingChat.d.cts +2 -2
- package/dist/FloatingChat/FloatingChat.d.ts +2 -2
- package/dist/FloatingChat/FloatingChat.js +5 -2
- package/dist/FloatingChat/components/ChatMessages.cjs +1 -1
- package/dist/FloatingChat/components/ChatMessages.js +1 -1
- package/dist/FloatingChat/components/Layout.cjs +1 -1
- package/dist/FloatingChat/components/Layout.js +1 -1
- package/dist/FloatingChat/hooks/useSnapSetup.cjs +10 -7
- package/dist/FloatingChat/hooks/useSnapSetup.js +10 -7
- package/dist/Form/Form.cjs +1 -1
- package/dist/Form/Form.js +1 -1
- package/dist/Form/components/Layout.cjs +1 -1
- package/dist/Form/components/Layout.js +1 -1
- package/dist/Form/components/SubmitButtonItem.cjs +1 -1
- package/dist/Form/components/SubmitButtonItem.js +1 -1
- package/dist/Form/components/TextFieldItem.cjs +1 -1
- package/dist/Form/components/TextFieldItem.js +1 -1
- package/dist/FullPageSalesAgent/FullPageSalesAgent.d.cts +2 -2
- package/dist/FullPageSalesAgent/FullPageSalesAgent.d.ts +2 -2
- package/dist/FullPageSalesAgent/components/Layout.cjs +1 -1
- package/dist/FullPageSalesAgent/components/Layout.js +1 -1
- package/dist/Image/Image.cjs +1 -1
- package/dist/Image/Image.d.cts +2 -2
- package/dist/Image/Image.d.ts +2 -2
- package/dist/Image/Image.js +1 -1
- package/dist/ImageGallery/ImageGallery.d.ts +2 -2
- package/dist/ImageGallery/components/Layout.cjs +1 -1
- package/dist/ImageGallery/components/Layout.js +1 -1
- package/dist/ImageGallery/utils/functions.cjs +1 -1
- package/dist/ImageGallery/utils/functions.js +1 -1
- package/dist/MarkdownProcessor/MarkdownProcessor.cjs +14 -27
- package/dist/MarkdownProcessor/MarkdownProcessor.d.cts +3 -5
- package/dist/MarkdownProcessor/MarkdownProcessor.d.ts +3 -5
- package/dist/MarkdownProcessor/MarkdownProcessor.js +15 -26
- package/dist/MarkdownProcessor/components/index.cjs +1 -3
- package/dist/MarkdownProcessor/components/index.js +1 -3
- package/dist/MarkdownProcessor/utils/functions.cjs +1 -11
- package/dist/MarkdownProcessor/utils/functions.js +1 -10
- package/dist/Message/components/Layout.cjs +1 -1
- package/dist/Message/components/Layout.js +1 -1
- package/dist/OrderLookupCard/OrderLookupCard.cjs +1 -1
- package/dist/OrderLookupCard/OrderLookupCard.js +1 -1
- package/dist/OrderLookupCard/components/Layout.cjs +1 -1
- package/dist/OrderLookupCard/components/Layout.js +1 -1
- package/dist/OrderLookupCard/components/MoreProductsOverlay.cjs +1 -1
- package/dist/OrderLookupCard/components/MoreProductsOverlay.js +1 -1
- package/dist/OrderLookupCard/components/ProductImageGridItem.cjs +1 -1
- package/dist/OrderLookupCard/components/ProductImageGridItem.js +1 -1
- package/dist/OrderLookupCard/components/ProductImageItem.cjs +1 -1
- package/dist/OrderLookupCard/components/ProductImageItem.js +1 -1
- package/dist/OrderLookupCard/components/ProductImagesGrid.cjs +1 -1
- package/dist/OrderLookupCard/components/ProductImagesGrid.js +1 -1
- package/dist/OrderLookupCard/components/StatusLabel.cjs +1 -1
- package/dist/OrderLookupCard/components/StatusLabel.js +1 -1
- package/dist/OrderLookupCard/components/TrackOrderLink.cjs +1 -1
- package/dist/OrderLookupCard/components/TrackOrderLink.js +1 -1
- package/dist/ProductCard/ProductCard.cjs +1 -1
- package/dist/ProductCard/ProductCard.d.cts +2 -2
- package/dist/ProductCard/ProductCard.d.ts +2 -2
- package/dist/ProductCard/ProductCard.js +1 -1
- package/dist/ProductCard/components/Header.cjs +33 -7
- package/dist/ProductCard/components/Header.js +34 -8
- package/dist/PromptButton/PromptButton.cjs +1 -1
- package/dist/PromptButton/PromptButton.d.cts +2 -2
- package/dist/PromptButton/PromptButton.d.ts +2 -2
- package/dist/PromptButton/PromptButton.js +1 -1
- package/dist/PromptButton/components/Layout.cjs +1 -1
- package/dist/PromptButton/components/Layout.js +1 -1
- package/dist/PromptButton/components/Loading.cjs +1 -1
- package/dist/PromptButton/components/Loading.js +1 -1
- package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.cts +2 -2
- package/dist/PromptButtonCarouselWithImage/components/Layout.cjs +1 -1
- package/dist/PromptButtonCarouselWithImage/components/Layout.js +1 -1
- package/dist/PromptButtonCarouselWithImage/components/Skeleton.cjs +1 -1
- package/dist/PromptButtonCarouselWithImage/components/Skeleton.js +1 -1
- package/dist/PromptCarousel/PromptCarousel.cjs +1 -1
- package/dist/PromptCarousel/PromptCarousel.d.cts +2 -2
- package/dist/PromptCarousel/PromptCarousel.d.ts +2 -2
- package/dist/PromptCarousel/PromptCarousel.js +1 -1
- package/dist/ReviewCard/ReviewCard.d.cts +2 -2
- package/dist/ReviewCard/ReviewCard.d.ts +2 -2
- package/dist/ReviewCard/components/Container.cjs +1 -1
- package/dist/ReviewCard/components/Container.js +1 -1
- package/dist/ReviewCard/components/Rating.cjs +1 -1
- package/dist/ReviewCard/components/Rating.js +1 -1
- package/dist/ReviewCard/components/ReadMoreButton.cjs +1 -1
- package/dist/ReviewCard/components/ReadMoreButton.js +1 -1
- package/dist/ReviewCard/components/index.d.cts +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 +1 -1
- package/dist/SalesAgentProductCard/components/Container.js +1 -1
- package/dist/SalesAgentProductCard/components/ProductImage.cjs +1 -1
- package/dist/SalesAgentProductCard/components/ProductImage.js +1 -1
- package/dist/SalesAgentProductCard/components/ProductName.cjs +1 -1
- package/dist/SalesAgentProductCard/components/ProductName.js +1 -1
- package/dist/SalesAgentProductCard/components/index.d.cts +8 -8
- package/dist/SalesAgentProductCard/components/index.d.ts +8 -8
- package/dist/SocialProof/SocialProof.d.cts +2 -2
- package/dist/SocialProof/SocialProof.d.ts +2 -2
- package/dist/SocialProof/components/Headline.cjs +1 -1
- package/dist/SocialProof/components/Headline.js +1 -1
- package/dist/SocialProof/components/LayoutFourHorizontal.cjs +1 -1
- package/dist/SocialProof/components/LayoutFourHorizontal.js +1 -1
- package/dist/Stack/Stack.d.ts +2 -2
- package/dist/TextField/TextField.cjs +1 -1
- package/dist/TextField/TextField.js +1 -1
- package/dist/TextField/components/Input.cjs +1 -1
- package/dist/TextField/components/Input.js +1 -1
- package/dist/TextField/components/Layout.cjs +1 -1
- package/dist/TextField/components/Layout.js +1 -1
- package/dist/TextField/components/SendIcon.cjs +1 -1
- package/dist/TextField/components/SendIcon.js +1 -1
- package/dist/Title/Title.cjs +1 -1
- package/dist/Title/Title.js +1 -1
- package/dist/Title/components/Layout.cjs +1 -1
- package/dist/Title/components/Layout.js +1 -1
- package/dist/TitledPromptCarousel/TitledPromptCarousel.cjs +1 -1
- package/dist/TitledPromptCarousel/TitledPromptCarousel.d.cts +2 -2
- package/dist/TitledPromptCarousel/TitledPromptCarousel.d.ts +2 -2
- package/dist/TitledPromptCarousel/TitledPromptCarousel.js +1 -1
- package/dist/Tokens/index.cjs +2 -2
- package/dist/Tokens/index.js +2 -2
- package/dist/TypingAnimation/TypingAnimation.cjs +58 -18
- package/dist/TypingAnimation/TypingAnimation.d.cts +2 -2
- package/dist/TypingAnimation/TypingAnimation.d.ts +2 -2
- package/dist/TypingAnimation/TypingAnimation.js +59 -19
- package/dist/Typography/Typography.d.ts +4 -4
- package/dist/WelcomeMessage/components/Container.cjs +1 -1
- package/dist/WelcomeMessage/components/Container.js +1 -1
- package/dist/WidgetTextField/WidgetTextField.d.cts +2 -2
- package/dist/WidgetTextField/WidgetTextField.d.ts +2 -2
- package/dist/WidgetTextField/components/Container.cjs +1 -1
- package/dist/WidgetTextField/components/Container.js +1 -1
- package/dist/WidgetTextField/components/Skeleton.cjs +1 -1
- package/dist/WidgetTextField/components/Skeleton.js +1 -1
- package/dist/WidgetWrapper/WidgetWrapper.cjs +1 -1
- package/dist/WidgetWrapper/WidgetWrapper.d.cts +2 -2
- package/dist/WidgetWrapper/WidgetWrapper.js +1 -1
- package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.cts +2 -2
- package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.ts +2 -2
- package/dist/styles.css +1 -1
- package/dist/utils/resolveTheme.cjs +1 -1
- package/dist/utils/resolveTheme.js +1 -1
- package/dist/utils/useAnimatedTextMinHeight.cjs +28 -0
- package/dist/utils/useAnimatedTextMinHeight.js +27 -0
- package/package.json +1 -3
- package/src/components/ChatPreviewComparison/components/Layout.tsx +2 -2
- package/src/components/FloatingChat/FloatingChat.tsx +4 -1
- package/src/components/FloatingChat/hooks/useSnapSetup.ts +11 -4
- package/src/components/MarkdownProcessor/MarkdownProcessor.tsx +3 -19
- package/src/components/MarkdownProcessor/__tests__/MarkdownProcessor.test.tsx +1 -39
- package/src/components/MarkdownProcessor/components/index.ts +0 -2
- package/src/components/MarkdownProcessor/utils/functions.tsx +0 -19
- package/src/components/ProductCard/components/Header.tsx +39 -9
- package/src/components/TypingAnimation/TypingAnimation.tsx +68 -22
- package/src/components/utils/useAnimatedTextMinHeight.ts +29 -0
- package/dist/MarkdownProcessor/components/MarkdownSubscript.cjs +0 -15
- package/dist/MarkdownProcessor/components/MarkdownSubscript.js +0 -14
- package/src/components/MarkdownProcessor/components/MarkdownSubscript.tsx +0 -22
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
2
|
const require_useGetTextFieldProperties = require('../hooks/useGetTextFieldProperties.cjs');
|
|
3
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
3
4
|
let classnames = require("classnames");
|
|
4
5
|
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
5
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
6
|
|
|
7
7
|
//#region src/components/Form/components/TextFieldItem.tsx
|
|
8
8
|
const TextFieldItem = ({ label, value, onChange, type, error, ariaLabel, id, testId, className, style }) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useGetTextFieldProperties } from "../hooks/useGetTextFieldProperties.js";
|
|
2
|
-
import classNames from "classnames";
|
|
3
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import classNames from "classnames";
|
|
4
4
|
|
|
5
5
|
//#region src/components/Form/components/TextFieldItem.tsx
|
|
6
6
|
const TextFieldItem = ({ label, value, onChange, type, error, ariaLabel, id, testId, className, style }) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Theme } from "../tokens/theme/theme.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime22 from "react/jsx-runtime";
|
|
3
3
|
import { FloatingChatConfig, LookAndFeelConfig } from "@envive-ai/react-hooks/contexts/typesV3";
|
|
4
4
|
import { HardcopyResponse } from "@envive-ai/react-hooks/contexts/hardcopyContext";
|
|
5
5
|
|
|
@@ -19,6 +19,6 @@ declare const FullPageSalesAgent: ({
|
|
|
19
19
|
hardcopyContent,
|
|
20
20
|
headerContainer,
|
|
21
21
|
autoHeight
|
|
22
|
-
}: FullPageSalesAgentProps) =>
|
|
22
|
+
}: FullPageSalesAgentProps) => react_jsx_runtime22.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { FullPageSalesAgent };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Theme } from "../packages/components-v3/tokens/theme/theme.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime23 from "react/jsx-runtime";
|
|
3
3
|
import { FloatingChatConfig, LookAndFeelConfig } from "@envive-ai/react-hooks/contexts/typesV3";
|
|
4
4
|
import { HardcopyResponse } from "@envive-ai/react-hooks/contexts/hardcopyContext";
|
|
5
5
|
|
|
@@ -19,6 +19,6 @@ declare const FullPageSalesAgent: ({
|
|
|
19
19
|
hardcopyContent,
|
|
20
20
|
headerContainer,
|
|
21
21
|
autoHeight
|
|
22
|
-
}: FullPageSalesAgentProps) =>
|
|
22
|
+
}: FullPageSalesAgentProps) => react_jsx_runtime23.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { FullPageSalesAgent };
|
|
@@ -6,9 +6,9 @@ const require_useGetContainerStyles = require('../hooks/useGetContainerStyles.cj
|
|
|
6
6
|
const require_useGetFooterStyles = require('../hooks/useGetFooterStyles.cjs');
|
|
7
7
|
const require_useGetScrollContentStyles = require('../hooks/useGetScrollContentStyles.cjs');
|
|
8
8
|
let react = require("react");
|
|
9
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
9
10
|
let classnames = require("classnames");
|
|
10
11
|
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
11
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
12
12
|
|
|
13
13
|
//#region src/components/FullPageSalesAgent/components/Layout.tsx
|
|
14
14
|
const Layout = ({ theme, welcomeMessage, footer, chatMessages, answerSuggestions, scrollToBottomButton, disclaimer, headerContainer, autoHeight }) => {
|
|
@@ -5,8 +5,8 @@ import { useGetContainerStyles } from "../hooks/useGetContainerStyles.js";
|
|
|
5
5
|
import { useGetFooterStyles } from "../hooks/useGetFooterStyles.js";
|
|
6
6
|
import { useGetScrollContentStyles } from "../hooks/useGetScrollContentStyles.js";
|
|
7
7
|
import { isValidElement } from "react";
|
|
8
|
-
import classNames from "classnames";
|
|
9
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
+
import classNames from "classnames";
|
|
10
10
|
|
|
11
11
|
//#region src/components/FullPageSalesAgent/components/Layout.tsx
|
|
12
12
|
const Layout = ({ theme, welcomeMessage, footer, chatMessages, answerSuggestions, scrollToBottomButton, disclaimer, headerContainer, autoHeight }) => {
|
package/dist/Image/Image.cjs
CHANGED
|
@@ -7,9 +7,9 @@ const require_useGetRoundedProperties = require('./hooks/useGetRoundedProperties
|
|
|
7
7
|
const require_useGetAccessibilityProperties = require('./hooks/useGetAccessibilityProperties.cjs');
|
|
8
8
|
const require_useGetWidthProperties = require('./hooks/useGetWidthProperties.cjs');
|
|
9
9
|
const require_useHandleImageLoading = require('./hooks/useHandleImageLoading.cjs');
|
|
10
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
10
11
|
let classnames = require("classnames");
|
|
11
12
|
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
12
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
13
13
|
|
|
14
14
|
//#region src/components/Image/Image.tsx
|
|
15
15
|
/**
|
package/dist/Image/Image.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ImageProps } from "./types/index.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime25 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Image/Image.d.ts
|
|
5
5
|
|
|
@@ -25,6 +25,6 @@ declare const Image: ({
|
|
|
25
25
|
role,
|
|
26
26
|
"aria-hidden": ariaHidden,
|
|
27
27
|
...rest
|
|
28
|
-
}: ImageProps) =>
|
|
28
|
+
}: ImageProps) => react_jsx_runtime25.JSX.Element;
|
|
29
29
|
//#endregion
|
|
30
30
|
export { Image };
|
package/dist/Image/Image.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ImageProps } from "./types/index.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime20 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Image/Image.d.ts
|
|
5
5
|
|
|
@@ -25,6 +25,6 @@ declare const Image: ({
|
|
|
25
25
|
role,
|
|
26
26
|
"aria-hidden": ariaHidden,
|
|
27
27
|
...rest
|
|
28
|
-
}: ImageProps) =>
|
|
28
|
+
}: ImageProps) => react_jsx_runtime20.JSX.Element;
|
|
29
29
|
//#endregion
|
|
30
30
|
export { Image };
|
package/dist/Image/Image.js
CHANGED
|
@@ -6,8 +6,8 @@ import { useGetRoundedProperties } from "./hooks/useGetRoundedProperties.js";
|
|
|
6
6
|
import { useGetAccessibilityProperties } from "./hooks/useGetAccessibilityProperties.js";
|
|
7
7
|
import { useGetWidthProperties } from "./hooks/useGetWidthProperties.js";
|
|
8
8
|
import { useHandleImageLoading } from "./hooks/useHandleImageLoading.js";
|
|
9
|
-
import classNames from "classnames";
|
|
10
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
+
import classNames from "classnames";
|
|
11
11
|
|
|
12
12
|
//#region src/components/Image/Image.tsx
|
|
13
13
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ImageGalleryProps } from "./types/types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime21 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ImageGallery/ImageGallery.d.ts
|
|
5
5
|
|
|
@@ -40,6 +40,6 @@ declare const ImageGallery: ({
|
|
|
40
40
|
"aria-describedby": ariaDescribedBy,
|
|
41
41
|
role,
|
|
42
42
|
"aria-hidden": ariaHidden
|
|
43
|
-
}: ImageGalleryProps) =>
|
|
43
|
+
}: ImageGalleryProps) => react_jsx_runtime21.JSX.Element;
|
|
44
44
|
//#endregion
|
|
45
45
|
export { ImageGallery };
|
|
@@ -9,9 +9,9 @@ const require_useValidateImages = require('../hooks/useValidateImages.cjs');
|
|
|
9
9
|
const require_functions = require('../utils/functions.cjs');
|
|
10
10
|
const require_OverlappedLayout = require('./OverlappedLayout.cjs');
|
|
11
11
|
const require_NormalLayout = require('./NormalLayout.cjs');
|
|
12
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
12
13
|
let classnames = require("classnames");
|
|
13
14
|
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
14
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
15
15
|
|
|
16
16
|
//#region src/components/ImageGallery/components/Layout.tsx
|
|
17
17
|
const Layout = ({ id, testId, className, style, images, layout, theme = require_theme.Theme.GLOBAL_CUSTOM, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, "aria-describedby": ariaDescribedBy, role, "aria-hidden": ariaHidden }) => {
|
|
@@ -8,8 +8,8 @@ import { useValidateImages } from "../hooks/useValidateImages.js";
|
|
|
8
8
|
import { getIsTwoSideStandardOnMobile } from "../utils/functions.js";
|
|
9
9
|
import { OverlappedLayout } from "./OverlappedLayout.js";
|
|
10
10
|
import { NormalLayout } from "./NormalLayout.js";
|
|
11
|
-
import classNames from "classnames";
|
|
12
11
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
|
+
import classNames from "classnames";
|
|
13
13
|
|
|
14
14
|
//#region src/components/ImageGallery/components/Layout.tsx
|
|
15
15
|
const Layout = ({ id, testId, className, style, images, layout, theme = Theme.GLOBAL_CUSTOM, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, "aria-describedby": ariaDescribedBy, role, "aria-hidden": ariaHidden }) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const require_theme = require('../../packages/components-v3/tokens/theme/theme.cjs');
|
|
2
1
|
const require_utils = require('../../DesignTokens/components/utils.cjs');
|
|
2
|
+
const require_theme = require('../../packages/components-v3/tokens/theme/theme.cjs');
|
|
3
3
|
const require_types = require('../types/types.cjs');
|
|
4
4
|
|
|
5
5
|
//#region src/components/ImageGallery/utils/functions.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Theme, ThemeCSSVar } from "../../packages/components-v3/tokens/theme/theme.js";
|
|
2
1
|
import { getComputedCSSVariable } from "../../DesignTokens/components/utils.js";
|
|
2
|
+
import { Theme, ThemeCSSVar } from "../../packages/components-v3/tokens/theme/theme.js";
|
|
3
3
|
import { ImageGalleryLayout } from "../types/types.js";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ImageGallery/utils/functions.ts
|
|
@@ -5,39 +5,26 @@ let react = require("react");
|
|
|
5
5
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
6
|
let react_markdown = require("react-markdown");
|
|
7
7
|
react_markdown = require_rolldown_runtime.__toESM(react_markdown);
|
|
8
|
-
let remark_gfm = require("remark-gfm");
|
|
9
|
-
remark_gfm = require_rolldown_runtime.__toESM(remark_gfm);
|
|
10
|
-
let rehype_raw = require("rehype-raw");
|
|
11
|
-
rehype_raw = require_rolldown_runtime.__toESM(rehype_raw);
|
|
12
8
|
|
|
13
9
|
//#region src/components/MarkdownProcessor/MarkdownProcessor.tsx
|
|
14
|
-
const MarkdownProcessor = ({ content, clampParagraphs = void 0, textColor, textVariant
|
|
10
|
+
const MarkdownProcessor = ({ content, clampParagraphs = void 0, textColor, textVariant }) => {
|
|
15
11
|
const processedContent = content.replace(/<br\s*[\\/]?>/gi, "\n\n");
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
12
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_markdown.default, {
|
|
13
|
+
components: (0, react.useMemo)(() => ({
|
|
14
|
+
li: require_index.MarkdownProcessorComponents.MarkdownListItem,
|
|
15
|
+
ul: require_index.MarkdownProcessorComponents.MarkdownUnorderedList,
|
|
16
|
+
ol: require_index.MarkdownProcessorComponents.MarkdownOrderedList,
|
|
17
|
+
a: require_index.MarkdownProcessorComponents.MarkdownLink,
|
|
18
|
+
p: require_functions.createMarkdownParagraphComponent({
|
|
19
|
+
clampParagraphs,
|
|
20
|
+
textColor,
|
|
21
|
+
textVariant
|
|
22
|
+
})
|
|
23
|
+
}), [
|
|
22
24
|
clampParagraphs,
|
|
23
25
|
textColor,
|
|
24
26
|
textVariant
|
|
25
|
-
|
|
26
|
-
sub: require_functions.createMarkdownSubscriptComponent({
|
|
27
|
-
subTextVariant,
|
|
28
|
-
subTextColor
|
|
29
|
-
})
|
|
30
|
-
}), [
|
|
31
|
-
clampParagraphs,
|
|
32
|
-
textColor,
|
|
33
|
-
textVariant,
|
|
34
|
-
subTextVariant,
|
|
35
|
-
subTextColor
|
|
36
|
-
]);
|
|
37
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_markdown.default, {
|
|
38
|
-
remarkPlugins: [remark_gfm.default],
|
|
39
|
-
rehypePlugins: [rehype_raw.default],
|
|
40
|
-
components,
|
|
27
|
+
]),
|
|
41
28
|
children: processedContent
|
|
42
29
|
});
|
|
43
30
|
};
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { MarkdownProcessorProps } from "./types/types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime17 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/MarkdownProcessor/MarkdownProcessor.d.ts
|
|
5
5
|
declare const MarkdownProcessor: ({
|
|
6
6
|
content,
|
|
7
7
|
clampParagraphs,
|
|
8
8
|
textColor,
|
|
9
|
-
textVariant
|
|
10
|
-
|
|
11
|
-
subTextColor
|
|
12
|
-
}: MarkdownProcessorProps) => react_jsx_runtime22.JSX.Element;
|
|
9
|
+
textVariant
|
|
10
|
+
}: MarkdownProcessorProps) => react_jsx_runtime17.JSX.Element;
|
|
13
11
|
//#endregion
|
|
14
12
|
export { MarkdownProcessor };
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { MarkdownProcessorProps } from "./types/types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime18 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/MarkdownProcessor/MarkdownProcessor.d.ts
|
|
5
5
|
declare const MarkdownProcessor: ({
|
|
6
6
|
content,
|
|
7
7
|
clampParagraphs,
|
|
8
8
|
textColor,
|
|
9
|
-
textVariant
|
|
10
|
-
|
|
11
|
-
subTextColor
|
|
12
|
-
}: MarkdownProcessorProps) => react_jsx_runtime12.JSX.Element;
|
|
9
|
+
textVariant
|
|
10
|
+
}: MarkdownProcessorProps) => react_jsx_runtime18.JSX.Element;
|
|
13
11
|
//#endregion
|
|
14
12
|
export { MarkdownProcessor };
|
|
@@ -1,39 +1,28 @@
|
|
|
1
1
|
import { MarkdownProcessorComponents } from "./components/index.js";
|
|
2
|
-
import { createMarkdownParagraphComponent
|
|
2
|
+
import { createMarkdownParagraphComponent } from "./utils/functions.js";
|
|
3
3
|
import { useMemo } from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import ReactMarkdown from "react-markdown";
|
|
6
|
-
import remarkGfm from "remark-gfm";
|
|
7
|
-
import rehypeRaw from "rehype-raw";
|
|
8
6
|
|
|
9
7
|
//#region src/components/MarkdownProcessor/MarkdownProcessor.tsx
|
|
10
|
-
const MarkdownProcessor = ({ content, clampParagraphs = void 0, textColor, textVariant
|
|
8
|
+
const MarkdownProcessor = ({ content, clampParagraphs = void 0, textColor, textVariant }) => {
|
|
11
9
|
const processedContent = content.replace(/<br\s*[\\/]?>/gi, "\n\n");
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
10
|
+
return /* @__PURE__ */ jsx(ReactMarkdown, {
|
|
11
|
+
components: useMemo(() => ({
|
|
12
|
+
li: MarkdownProcessorComponents.MarkdownListItem,
|
|
13
|
+
ul: MarkdownProcessorComponents.MarkdownUnorderedList,
|
|
14
|
+
ol: MarkdownProcessorComponents.MarkdownOrderedList,
|
|
15
|
+
a: MarkdownProcessorComponents.MarkdownLink,
|
|
16
|
+
p: createMarkdownParagraphComponent({
|
|
17
|
+
clampParagraphs,
|
|
18
|
+
textColor,
|
|
19
|
+
textVariant
|
|
20
|
+
})
|
|
21
|
+
}), [
|
|
18
22
|
clampParagraphs,
|
|
19
23
|
textColor,
|
|
20
24
|
textVariant
|
|
21
|
-
|
|
22
|
-
sub: createMarkdownSubscriptComponent({
|
|
23
|
-
subTextVariant,
|
|
24
|
-
subTextColor
|
|
25
|
-
})
|
|
26
|
-
}), [
|
|
27
|
-
clampParagraphs,
|
|
28
|
-
textColor,
|
|
29
|
-
textVariant,
|
|
30
|
-
subTextVariant,
|
|
31
|
-
subTextColor
|
|
32
|
-
]);
|
|
33
|
-
return /* @__PURE__ */ jsx(ReactMarkdown, {
|
|
34
|
-
remarkPlugins: [remarkGfm],
|
|
35
|
-
rehypePlugins: [rehypeRaw],
|
|
36
|
-
components,
|
|
25
|
+
]),
|
|
37
26
|
children: processedContent
|
|
38
27
|
});
|
|
39
28
|
};
|
|
@@ -3,7 +3,6 @@ const require_MarkdownLink = require('./MarkdownLink.cjs');
|
|
|
3
3
|
const require_MarkdownOrderedList = require('./MarkdownOrderedList.cjs');
|
|
4
4
|
const require_MarkdownUnorderedList = require('./MarkdownUnorderedList.cjs');
|
|
5
5
|
const require_MarkdownParagraph = require('./MarkdownParagraph.cjs');
|
|
6
|
-
const require_MarkdownSubscript = require('./MarkdownSubscript.cjs');
|
|
7
6
|
|
|
8
7
|
//#region src/components/MarkdownProcessor/components/index.ts
|
|
9
8
|
const MarkdownProcessorComponents = {
|
|
@@ -11,8 +10,7 @@ const MarkdownProcessorComponents = {
|
|
|
11
10
|
MarkdownLink: require_MarkdownLink.MarkdownLink,
|
|
12
11
|
MarkdownOrderedList: require_MarkdownOrderedList.MarkdownOrderedList,
|
|
13
12
|
MarkdownUnorderedList: require_MarkdownUnorderedList.MarkdownUnorderedList,
|
|
14
|
-
MarkdownParagraph: require_MarkdownParagraph.MarkdownParagraph
|
|
15
|
-
MarkdownSubscript: require_MarkdownSubscript.MarkdownSubscript
|
|
13
|
+
MarkdownParagraph: require_MarkdownParagraph.MarkdownParagraph
|
|
16
14
|
};
|
|
17
15
|
|
|
18
16
|
//#endregion
|
|
@@ -3,7 +3,6 @@ import { MarkdownLink } from "./MarkdownLink.js";
|
|
|
3
3
|
import { MarkdownOrderedList } from "./MarkdownOrderedList.js";
|
|
4
4
|
import { MarkdownUnorderedList } from "./MarkdownUnorderedList.js";
|
|
5
5
|
import { MarkdownParagraph } from "./MarkdownParagraph.js";
|
|
6
|
-
import { MarkdownSubscript } from "./MarkdownSubscript.js";
|
|
7
6
|
|
|
8
7
|
//#region src/components/MarkdownProcessor/components/index.ts
|
|
9
8
|
const MarkdownProcessorComponents = {
|
|
@@ -11,8 +10,7 @@ const MarkdownProcessorComponents = {
|
|
|
11
10
|
MarkdownLink,
|
|
12
11
|
MarkdownOrderedList,
|
|
13
12
|
MarkdownUnorderedList,
|
|
14
|
-
MarkdownParagraph
|
|
15
|
-
MarkdownSubscript
|
|
13
|
+
MarkdownParagraph
|
|
16
14
|
};
|
|
17
15
|
|
|
18
16
|
//#endregion
|
|
@@ -13,16 +13,6 @@ const createMarkdownParagraphComponent = ({ clampParagraphs, textColor, textVari
|
|
|
13
13
|
Component.displayName = "MarkdownParagraphComponent";
|
|
14
14
|
return Component;
|
|
15
15
|
};
|
|
16
|
-
const createMarkdownSubscriptComponent = ({ subTextVariant, subTextColor }) => {
|
|
17
|
-
const Component = ({ children }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_index.MarkdownProcessorComponents.MarkdownSubscript, {
|
|
18
|
-
subTextVariant,
|
|
19
|
-
subTextColor,
|
|
20
|
-
children
|
|
21
|
-
});
|
|
22
|
-
Component.displayName = "MarkdownSubscriptComponent";
|
|
23
|
-
return Component;
|
|
24
|
-
};
|
|
25
16
|
|
|
26
17
|
//#endregion
|
|
27
|
-
exports.createMarkdownParagraphComponent = createMarkdownParagraphComponent;
|
|
28
|
-
exports.createMarkdownSubscriptComponent = createMarkdownSubscriptComponent;
|
|
18
|
+
exports.createMarkdownParagraphComponent = createMarkdownParagraphComponent;
|
|
@@ -12,15 +12,6 @@ const createMarkdownParagraphComponent = ({ clampParagraphs, textColor, textVari
|
|
|
12
12
|
Component.displayName = "MarkdownParagraphComponent";
|
|
13
13
|
return Component;
|
|
14
14
|
};
|
|
15
|
-
const createMarkdownSubscriptComponent = ({ subTextVariant, subTextColor }) => {
|
|
16
|
-
const Component = ({ children }) => /* @__PURE__ */ jsx(MarkdownProcessorComponents.MarkdownSubscript, {
|
|
17
|
-
subTextVariant,
|
|
18
|
-
subTextColor,
|
|
19
|
-
children
|
|
20
|
-
});
|
|
21
|
-
Component.displayName = "MarkdownSubscriptComponent";
|
|
22
|
-
return Component;
|
|
23
|
-
};
|
|
24
15
|
|
|
25
16
|
//#endregion
|
|
26
|
-
export { createMarkdownParagraphComponent
|
|
17
|
+
export { createMarkdownParagraphComponent };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
2
|
const require_useVariantStyleProperties = require('../hooks/useVariantStyleProperties.cjs');
|
|
3
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
3
4
|
let classnames = require("classnames");
|
|
4
5
|
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
5
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
6
|
|
|
7
7
|
//#region src/components/Message/components/Layout.tsx
|
|
8
8
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useVariantStyleProperties } from "../hooks/useVariantStyleProperties.js";
|
|
2
|
-
import classNames from "classnames";
|
|
3
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import classNames from "classnames";
|
|
4
4
|
|
|
5
5
|
//#region src/components/Message/components/Layout.tsx
|
|
6
6
|
/**
|
|
@@ -10,9 +10,9 @@ const require_getProductImagesToDisplay = require('./utils/getProductImagesToDis
|
|
|
10
10
|
const require_calculateMoreProductsCount = require('./utils/calculateMoreProductsCount.cjs');
|
|
11
11
|
const require_formatOrderNumber = require('./utils/formatOrderNumber.cjs');
|
|
12
12
|
const require_formatOrderDate = require('./utils/formatOrderDate.cjs');
|
|
13
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
13
14
|
let classnames = require("classnames");
|
|
14
15
|
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
15
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
16
16
|
|
|
17
17
|
//#region src/components/OrderLookupCard/OrderLookupCard.tsx
|
|
18
18
|
/**
|
|
@@ -9,8 +9,8 @@ import { getProductImagesToDisplay } from "./utils/getProductImagesToDisplay.js"
|
|
|
9
9
|
import { calculateMoreProductsCount } from "./utils/calculateMoreProductsCount.js";
|
|
10
10
|
import { formatOrderNumber } from "./utils/formatOrderNumber.js";
|
|
11
11
|
import { formatOrderDate } from "./utils/formatOrderDate.js";
|
|
12
|
-
import classNames from "classnames";
|
|
13
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
|
+
import classNames from "classnames";
|
|
14
14
|
|
|
15
15
|
//#region src/components/OrderLookupCard/OrderLookupCard.tsx
|
|
16
16
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
2
|
const require_Stack = require('../../Stack/Stack.cjs');
|
|
3
3
|
require('../../Stack/index.cjs');
|
|
4
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
4
5
|
let classnames = require("classnames");
|
|
5
6
|
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
6
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
7
|
|
|
8
8
|
//#region src/components/OrderLookupCard/components/Layout.tsx
|
|
9
9
|
const Layout = ({ productImagesGrid, content, id, testId, className, style, ariaLabel }) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Stack } from "../../Stack/Stack.js";
|
|
2
2
|
import "../../Stack/index.js";
|
|
3
|
-
import classNames from "classnames";
|
|
4
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
import classNames from "classnames";
|
|
5
5
|
|
|
6
6
|
//#region src/components/OrderLookupCard/components/Layout.tsx
|
|
7
7
|
const Layout = ({ productImagesGrid, content, id, testId, className, style, ariaLabel }) => {
|
|
@@ -5,9 +5,9 @@ const require_index = require('../../Typography/types/index.cjs');
|
|
|
5
5
|
const require_Typography = require('../../Typography/Typography.cjs');
|
|
6
6
|
require('../../Typography/index.cjs');
|
|
7
7
|
const require_useGetImageBorderRadiusProperties = require('../hooks/useGetImageBorderRadiusProperties.cjs');
|
|
8
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
9
|
let classnames = require("classnames");
|
|
9
10
|
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
10
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
11
11
|
|
|
12
12
|
//#region src/components/OrderLookupCard/components/MoreProductsOverlay.tsx
|
|
13
13
|
const MoreProductsOverlay = ({ count, theme, label, className, style, id, testId, ariaLabel }) => {
|
|
@@ -4,8 +4,8 @@ import { TypographyColor, TypographyVariant } from "../../Typography/types/index
|
|
|
4
4
|
import { Typography } from "../../Typography/Typography.js";
|
|
5
5
|
import "../../Typography/index.js";
|
|
6
6
|
import { useGetImageBorderRadiusProperties } from "../hooks/useGetImageBorderRadiusProperties.js";
|
|
7
|
-
import classNames from "classnames";
|
|
8
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
import classNames from "classnames";
|
|
9
9
|
|
|
10
10
|
//#region src/components/OrderLookupCard/components/MoreProductsOverlay.tsx
|
|
11
11
|
const MoreProductsOverlay = ({ count, theme, label, className, style, id, testId, ariaLabel }) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
2
|
const require_ProductImageItem = require('./ProductImageItem.cjs');
|
|
3
3
|
const require_useGetImageGridPositionProperties = require('../hooks/useGetImageGridPositionProperties.cjs');
|
|
4
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
4
5
|
let classnames = require("classnames");
|
|
5
6
|
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
6
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
7
|
|
|
8
8
|
//#region src/components/OrderLookupCard/components/ProductImageGridItem.tsx
|
|
9
9
|
const ProductImageGridItem = ({ imageUrl, index, totalImages, moreProductsCount, theme, imageBorderRadiusClass, moreProductsOverlayAriaLabel, moreProductsLabel }) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ProductImageItem } from "./ProductImageItem.js";
|
|
2
2
|
import { useGetImageGridPositionProperties } from "../hooks/useGetImageGridPositionProperties.js";
|
|
3
|
-
import classNames from "classnames";
|
|
4
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
import classNames from "classnames";
|
|
5
5
|
|
|
6
6
|
//#region src/components/OrderLookupCard/components/ProductImageGridItem.tsx
|
|
7
7
|
const ProductImageGridItem = ({ imageUrl, index, totalImages, moreProductsCount, theme, imageBorderRadiusClass, moreProductsOverlayAriaLabel, moreProductsLabel }) => {
|
|
@@ -3,9 +3,9 @@ const require_index = require('../../Image/types/index.cjs');
|
|
|
3
3
|
const require_Image = require('../../Image/Image.cjs');
|
|
4
4
|
require('../../Image/index.cjs');
|
|
5
5
|
const require_MoreProductsOverlay = require('./MoreProductsOverlay.cjs');
|
|
6
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
7
|
let classnames = require("classnames");
|
|
7
8
|
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
8
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
9
9
|
|
|
10
10
|
//#region src/components/OrderLookupCard/components/ProductImageItem.tsx
|
|
11
11
|
const ProductImageItem = ({ src, alt, className, style, id, testId, borderRadiusClass, showOverlay = false, moreProductsCount, theme, moreProductsOverlayAriaLabel, moreProductsLabel }) => {
|
|
@@ -2,8 +2,8 @@ import { ImageAspectRatio, ImageObjectFit } from "../../Image/types/index.js";
|
|
|
2
2
|
import { Image } from "../../Image/Image.js";
|
|
3
3
|
import "../../Image/index.js";
|
|
4
4
|
import { MoreProductsOverlay } from "./MoreProductsOverlay.js";
|
|
5
|
-
import classNames from "classnames";
|
|
6
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
import classNames from "classnames";
|
|
7
7
|
|
|
8
8
|
//#region src/components/OrderLookupCard/components/ProductImageItem.tsx
|
|
9
9
|
const ProductImageItem = ({ src, alt, className, style, id, testId, borderRadiusClass, showOverlay = false, moreProductsCount, theme, moreProductsOverlayAriaLabel, moreProductsLabel }) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
2
|
const require_ProductImageGridItem = require('./ProductImageGridItem.cjs');
|
|
3
3
|
const require_useGetProductImagesGridProperties = require('../hooks/useGetProductImagesGridProperties.cjs');
|
|
4
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
4
5
|
let classnames = require("classnames");
|
|
5
6
|
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
6
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
7
|
|
|
8
8
|
//#region src/components/OrderLookupCard/components/ProductImagesGrid.tsx
|
|
9
9
|
const ProductImagesGrid = ({ images, moreProductsCount, theme, className, style, id, testId, imageBorderRadiusClass, ariaLabel, moreProductsOverlayAriaLabel, moreProductsLabel }) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ProductImageGridItem } from "./ProductImageGridItem.js";
|
|
2
2
|
import { useGetProductImagesGridProperties } from "../hooks/useGetProductImagesGridProperties.js";
|
|
3
|
-
import classNames from "classnames";
|
|
4
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
import classNames from "classnames";
|
|
5
5
|
|
|
6
6
|
//#region src/components/OrderLookupCard/components/ProductImagesGrid.tsx
|
|
7
7
|
const ProductImagesGrid = ({ images, moreProductsCount, theme, className, style, id, testId, imageBorderRadiusClass, ariaLabel, moreProductsOverlayAriaLabel, moreProductsLabel }) => {
|
|
@@ -3,9 +3,9 @@ const require_index = require('../../Typography/types/index.cjs');
|
|
|
3
3
|
const require_Typography = require('../../Typography/Typography.cjs');
|
|
4
4
|
require('../../Typography/index.cjs');
|
|
5
5
|
const require_useGetStatusLabelProperties = require('../hooks/useGetStatusLabelProperties.cjs');
|
|
6
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
7
|
let classnames = require("classnames");
|
|
7
8
|
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
8
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
9
9
|
|
|
10
10
|
//#region src/components/OrderLookupCard/components/StatusLabel.tsx
|
|
11
11
|
const StatusLabel = ({ text, theme, className, style, id, testId, ariaLabel }) => {
|
|
@@ -2,8 +2,8 @@ import { TypographyColor, TypographyVariant } from "../../Typography/types/index
|
|
|
2
2
|
import { Typography } from "../../Typography/Typography.js";
|
|
3
3
|
import "../../Typography/index.js";
|
|
4
4
|
import { useGetStatusLabelProperties } from "../hooks/useGetStatusLabelProperties.js";
|
|
5
|
-
import classNames from "classnames";
|
|
6
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
import classNames from "classnames";
|
|
7
7
|
|
|
8
8
|
//#region src/components/OrderLookupCard/components/StatusLabel.tsx
|
|
9
9
|
const StatusLabel = ({ text, theme, className, style, id, testId, ariaLabel }) => {
|
|
@@ -4,9 +4,9 @@ const require_Typography = require('../../Typography/Typography.cjs');
|
|
|
4
4
|
require('../../Typography/index.cjs');
|
|
5
5
|
const require_useGetTrackOrderLinkProperties = require('../hooks/useGetTrackOrderLinkProperties.cjs');
|
|
6
6
|
const require_handleTrackOrderNavigation = require('../utils/handleTrackOrderNavigation.cjs');
|
|
7
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
8
|
let classnames = require("classnames");
|
|
8
9
|
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
9
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
10
10
|
|
|
11
11
|
//#region src/components/OrderLookupCard/components/TrackOrderLink.tsx
|
|
12
12
|
const TrackOrderLink = ({ orderNumber, theme, trackOrderUrl, onTrackOrderClick, className, style, id, testId, ariaLabel, trackOrderLabel = "Track Order" }) => {
|
|
@@ -3,8 +3,8 @@ import { Typography } from "../../Typography/Typography.js";
|
|
|
3
3
|
import "../../Typography/index.js";
|
|
4
4
|
import { useGetTrackOrderLinkProperties } from "../hooks/useGetTrackOrderLinkProperties.js";
|
|
5
5
|
import { handleTrackOrderNavigation } from "../utils/handleTrackOrderNavigation.js";
|
|
6
|
-
import classNames from "classnames";
|
|
7
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
import classNames from "classnames";
|
|
8
8
|
|
|
9
9
|
//#region src/components/OrderLookupCard/components/TrackOrderLink.tsx
|
|
10
10
|
const TrackOrderLink = ({ orderNumber, theme, trackOrderUrl, onTrackOrderClick, className, style, id, testId, ariaLabel, trackOrderLabel = "Track Order" }) => {
|
|
@@ -6,9 +6,9 @@ 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');
|
|
9
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
9
10
|
let classnames = require("classnames");
|
|
10
11
|
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
11
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
12
12
|
|
|
13
13
|
//#region src/components/ProductCard/ProductCard.tsx
|
|
14
14
|
const ProductCard = ({ theme = require_theme.Theme.GLOBAL_CUSTOM, imageSrc, headline, italicizeHeadline, animatedText, prompts, promptButtonType, carouselId, fallbackColor, placeholder, textTypingDuration, textTransition, loop, onSelect, onInputClick }) => {
|