@envive-ai/react-toolkit 0.1.7 → 0.1.8
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/Accordion/index.cjs +6 -5
- package/dist/Accordion/index.d.cts +2 -2
- package/dist/Accordion/index.d.ts +2 -2
- package/dist/Accordion/index.js +4 -2
- package/dist/AppliedFiltersScrollbar/index.cjs +4 -3
- package/dist/AppliedFiltersScrollbar/index.d.cts +3 -3
- package/dist/AppliedFiltersScrollbar/index.d.ts +3 -3
- package/dist/AppliedFiltersScrollbar/index.js +3 -1
- package/dist/ButtonBase/index.cjs +4 -4
- package/dist/ButtonBase/index.d.cts +3 -3
- package/dist/ButtonBase/index.d.ts +3 -3
- package/dist/ButtonBase/index.js +4 -4
- package/dist/{ButtonBase-BIAu5fIG.js → ButtonBase-DGbSm0SJ.js} +1 -1
- package/dist/{ButtonBase-DcyxOe2v.cjs → ButtonBase-DGpQBeLR.cjs} +1 -1
- package/dist/DynamicFiltersScrollbar/index.cjs +4 -3
- package/dist/DynamicFiltersScrollbar/index.d.cts +2 -2
- package/dist/DynamicFiltersScrollbar/index.d.ts +2 -2
- package/dist/DynamicFiltersScrollbar/index.js +3 -1
- package/dist/{DynamicFiltersScrollbar-BmPTqym5.js → DynamicFiltersScrollbar-CCwh0QW4.js} +1 -1
- package/dist/{DynamicFiltersScrollbar-BTopFhyl.cjs → DynamicFiltersScrollbar-U9-CmTKd.cjs} +1 -1
- package/dist/FilterScrollbar/index.cjs +3 -3
- package/dist/FilterScrollbar/index.d.cts +4 -4
- package/dist/FilterScrollbar/index.d.ts +4 -4
- package/dist/FilterScrollbar/index.js +3 -3
- package/dist/Headline/index.cjs +2 -2
- package/dist/Headline/index.d.cts +2 -2
- package/dist/Headline/index.js +2 -2
- package/dist/{Headline-XpaAeTSR.js → Headline-BkOW1lQj.js} +1 -1
- package/dist/{Headline-iP_MckEO.cjs → Headline-QpruZlcg.cjs} +1 -1
- package/dist/ImageWithFallback/index.d.cts +2 -2
- package/dist/ImageWithFallback/index.d.ts +2 -2
- package/dist/ProductCard/index.cjs +4 -4
- package/dist/ProductCard/index.d.cts +2 -3
- package/dist/ProductCard/index.d.ts +2 -3
- package/dist/ProductCard/index.js +4 -4
- package/dist/{ProductCard-DZZKutY-.cjs → ProductCard-BYjPKgX3.cjs} +2 -2
- package/dist/{ProductCard-SF8-lXlT.js → ProductCard-DCFMFwCH.js} +2 -2
- package/dist/ProductGrid/index.cjs +5 -5
- package/dist/ProductGrid/index.d.cts +6 -5
- package/dist/ProductGrid/index.d.ts +6 -5
- package/dist/ProductGrid/index.js +5 -5
- package/dist/{ProductGrid-DTUhH219.js → ProductGrid-BoJzUK_H.js} +3 -28
- package/dist/{ProductGrid-BSSmPr7K.cjs → ProductGrid-CJmmGxBQ.cjs} +3 -28
- package/dist/SearchFilter/index.cjs +4 -4
- package/dist/SearchFilter/index.d.cts +71 -2
- package/dist/SearchFilter/index.d.ts +71 -2
- package/dist/SearchFilter/index.js +4 -4
- package/dist/{SearchFilter-B15tybnV.cjs → SearchFilter-B8jliRly.cjs} +8 -5
- package/dist/{SearchFilter-D427M2UE.js → SearchFilter-Da6SL9mU.js} +8 -5
- package/dist/SearchInput/index.cjs +3 -3
- package/dist/SearchInput/index.d.cts +2 -2
- package/dist/SearchInput/index.d.ts +2 -2
- package/dist/SearchInput/index.js +3 -3
- package/dist/{SearchInput-D6UW79wT.cjs → SearchInput-BFlu_3iT.cjs} +1 -1
- package/dist/{SearchInput-C0wB4hSV.js → SearchInput-DxDC1mcq.js} +1 -1
- package/dist/SearchInputForm/index.cjs +3 -3
- package/dist/SearchInputForm/index.d.cts +1 -1
- package/dist/SearchInputForm/index.d.ts +1 -1
- package/dist/SearchInputForm/index.js +3 -3
- package/dist/SearchResultsContent/index.cjs +10 -10
- package/dist/SearchResultsContent/index.d.cts +5 -7
- package/dist/SearchResultsContent/index.d.ts +5 -7
- package/dist/SearchResultsContent/index.js +10 -10
- package/dist/SearchResultsFilterSidebar/index.cjs +6 -7
- package/dist/SearchResultsFilterSidebar/index.d.cts +2 -3
- package/dist/SearchResultsFilterSidebar/index.d.ts +2 -3
- package/dist/SearchResultsFilterSidebar/index.js +6 -7
- package/dist/SearchResultsStates/index.cjs +10 -10
- package/dist/SearchResultsStates/index.d.cts +7 -9
- package/dist/SearchResultsStates/index.d.ts +7 -9
- package/dist/SearchResultsStates/index.js +10 -10
- package/dist/{SearchResultsStates-CNp6YCqF.js → SearchResultsStates-CEi_RHna.js} +9 -9
- package/dist/{SearchResultsStates-Du7HXBi8.cjs → SearchResultsStates-CJYgUA66.cjs} +9 -10
- package/dist/SparkleAnimation/index.cjs +1 -1
- package/dist/SparkleAnimation/index.d.cts +2 -2
- package/dist/SparkleAnimation/index.d.ts +2 -2
- package/dist/SparkleAnimation/index.js +1 -1
- package/dist/{SparkleAnimation-D1QpGZIg.cjs → SparkleAnimation-BY5iw7s0.cjs} +5 -5
- package/dist/{SparkleAnimation-B0u6JtO3.js → SparkleAnimation-fQHP7b-R.js} +1 -1
- package/dist/Spinner/index.d.cts +2 -2
- package/dist/SuggestionButton/index.cjs +9 -9
- package/dist/SuggestionButton/index.d.cts +3 -3
- package/dist/SuggestionButton/index.d.ts +1 -1
- package/dist/SuggestionButton/index.js +5 -5
- package/dist/Text/index.cjs +3 -3
- package/dist/Text/index.d.cts +3 -3
- package/dist/Text/index.d.ts +3 -3
- package/dist/Text/index.js +3 -3
- package/dist/{Text-BMg3d10t.js → Text-Bod4OMPk.js} +1 -1
- package/dist/{Text-CgOYTs8D.cjs → Text-MQjxqgZZ.cjs} +1 -1
- package/dist/TextInput/index.cjs +2 -2
- package/dist/TextInput/index.d.cts +1 -1
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +2 -2
- package/dist/{TextInput-CRMqBW3X.js → TextInput-BFPXhSAY.js} +1 -1
- package/dist/{TextInput-C6fF9cSB.cjs → TextInput-DLSgpP6b.cjs} +1 -1
- package/dist/{index-ByucvlTy.d.ts → index-BCqBaFxm.d.cts} +9 -37
- package/dist/{index-B8bifyF-.d.ts → index-B_tehqNH.d.ts} +2 -2
- package/dist/{index-C2iKBk7w.d.cts → index-D4n-kZvz.d.cts} +2 -2
- package/dist/{index-14eDYe9f.d.ts → index-D8gHW7ox.d.ts} +5 -16
- package/dist/{index-B3iEVxkL.d.cts → index-DO4ksBrm.d.ts} +9 -37
- package/dist/{index-BFdFh46m.d.cts → index-DV2K-9lE.d.cts} +3 -14
- package/package.json +3 -2
- package/src/components/Accordion/Accordion.tsx +1 -1
- package/src/components/AppliedFiltersScrollbar/AppliedFiltersScrollbar.tsx +2 -2
- package/src/components/ButtonBase/types.ts +1 -1
- package/src/components/DynamicFiltersScrollbar/DynamicFiltersScrollbar.tsx +1 -1
- package/src/components/FilterScrollbar/AppliedFiltersScrollbar.tsx +1 -1
- package/src/components/ProductCard/ProductCard.tsx +3 -4
- package/src/components/ProductCard/ProductCardSkeleton.tsx +1 -7
- package/src/components/ProductCard/types.ts +1 -1
- package/src/components/ProductGrid/ProductGrid.tsx +3 -2
- package/src/components/SearchFilter/SearchFilter.tsx +4 -4
- package/src/components/SearchFilter/index.ts +0 -1
- package/src/components/SearchFilter/types.ts +22 -26
- package/src/components/SearchResultsContent/SearchResultsContent.tsx +1 -1
- package/src/components/SearchResultsFilterSidebar/SearchResultsFilter.tsx +5 -4
- package/src/components/SearchResultsFilterSidebar/types.ts +0 -13
- package/src/components/SearchResultsStates/SearchResultsGrid.tsx +2 -1
- package/src/components/SearchResultsStates/SearchResultsLoadingGrid.tsx +1 -1
- package/src/components/SparkleAnimation/SparkleAnimation.tsx +1 -1
- package/src/components/SuggestionButton/SuggestionButton.tsx +3 -3
- package/dist/index-DLbdcczl.d.ts +0 -78
- package/dist/index-DlvTcfAg.d.cts +0 -78
- package/dist/types-Bm-qQyO3.d.ts +0 -8
- package/dist/types-C0UWKVvw.d.ts +0 -6
- package/dist/types-CZHc-1wI.d.cts +0 -8
- package/dist/types-D2xCS4y9.d.cts +0 -6
- /package/dist/{ButtonBase-BRfuPPzN.js → ButtonBase-C_uKnl48.js} +0 -0
- /package/dist/{ButtonBase-BleAVeo-.cjs → ButtonBase-DbWQ25n-.cjs} +0 -0
- /package/dist/{Text-DkwDPbHy.js → Text-BMsncrpY.js} +0 -0
- /package/dist/{Text-Ji61nRRE.cjs → Text-C8t_iEj6.cjs} +0 -0
- /package/dist/{searchFilterSidebarVariants-CZT1frB-.js → searchFilterSidebarVariants-BWQyiKwS.js} +0 -0
- /package/dist/{searchFilterSidebarVariants-xyhy0PmQ.cjs → searchFilterSidebarVariants-D08jyA7U.cjs} +0 -0
- /package/dist/{textVariantClasses-C8OCWZAw.d.ts → textVariantClasses-B0gNjzl4.d.cts} +0 -0
- /package/dist/{textVariantClasses-CnjwO2Fv.js → textVariantClasses-D77TGEy1.js} +0 -0
- /package/dist/{textVariantClasses-BnV4wXaw.cjs → textVariantClasses-Dgz7Zaql.cjs} +0 -0
- /package/dist/{textVariantClasses-DwnnFNBf.d.cts → textVariantClasses-ypYGLq0h.d.ts} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
require('../textVariantClasses-
|
|
2
|
-
require('../Text-
|
|
3
|
-
require('../
|
|
4
|
-
require('../Headline-
|
|
1
|
+
require('../textVariantClasses-Dgz7Zaql.cjs');
|
|
2
|
+
require('../Text-MQjxqgZZ.cjs');
|
|
3
|
+
require('../Text-C8t_iEj6.cjs');
|
|
4
|
+
require('../Headline-QpruZlcg.cjs');
|
|
5
5
|
require('../ImageWithFallback-1LqhQK1q.cjs');
|
|
6
|
-
require('../ProductCard-
|
|
6
|
+
require('../ProductCard-BYjPKgX3.cjs');
|
|
7
7
|
require('../Spinner-DzdIkS6t.cjs');
|
|
8
|
-
require('../ProductGrid-
|
|
8
|
+
require('../ProductGrid-CJmmGxBQ.cjs');
|
|
9
9
|
require('../colorsConfig-DCvy_dV4.cjs');
|
|
10
|
-
require('../
|
|
11
|
-
|
|
12
|
-
require('../
|
|
13
|
-
require('../SparkleAnimation-
|
|
10
|
+
require('../searchFilterSidebarVariants-D08jyA7U.cjs');
|
|
11
|
+
require('../DynamicFiltersScrollbar-U9-CmTKd.cjs');
|
|
12
|
+
const require_SearchResultsStates = require('../SearchResultsStates-CJYgUA66.cjs');
|
|
13
|
+
require('../SparkleAnimation-BY5iw7s0.cjs');
|
|
14
14
|
|
|
15
15
|
exports.NoSearchResultsFound = require_SearchResultsStates.NoSearchResultsFound;
|
|
16
16
|
exports.SearchResultsGrid = require_SearchResultsStates.SearchResultsGrid;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "../
|
|
3
|
-
import
|
|
4
|
-
import "
|
|
5
|
-
import { SearchFilterSidebarVariant } from "../index-BFdFh46m.cjs";
|
|
6
|
-
import * as react_jsx_runtime7 from "react/jsx-runtime";
|
|
1
|
+
import { ProductCardConfig, ProductGridVariant } from "../index-BCqBaFxm.cjs";
|
|
2
|
+
import { SearchFilterSidebarVariant } from "../index-DV2K-9lE.cjs";
|
|
3
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
+
import { SelectedFilterOption } from "@envive-ai/react-hooks/atoms/search";
|
|
7
5
|
import { SearchResponseProduct } from "@spiffy-ai/commerce-api-client";
|
|
8
6
|
|
|
9
7
|
//#region src/components/SearchResultsStates/NoSearchResultsFound.d.ts
|
|
@@ -18,7 +16,7 @@ declare const NoSearchResultsFound: ({
|
|
|
18
16
|
includeBottomMargin,
|
|
19
17
|
noResultsFoundText,
|
|
20
18
|
sparkleIconColor
|
|
21
|
-
}: NoSearchResultsFoundProps) =>
|
|
19
|
+
}: NoSearchResultsFoundProps) => react_jsx_runtime0.JSX.Element;
|
|
22
20
|
//#endregion
|
|
23
21
|
//#region src/components/SearchResultsStates/SearchResultsGrid.d.ts
|
|
24
22
|
interface SearchResultsGridProps {
|
|
@@ -57,7 +55,7 @@ declare const SearchResultsGrid: ({
|
|
|
57
55
|
productGridClasses,
|
|
58
56
|
onRemoveFilter,
|
|
59
57
|
onToggleDynamicFilter
|
|
60
|
-
}: SearchResultsGridProps) =>
|
|
58
|
+
}: SearchResultsGridProps) => react_jsx_runtime0.JSX.Element;
|
|
61
59
|
//#endregion
|
|
62
60
|
//#region src/components/SearchResultsStates/SearchResultsLoadingGrid.d.ts
|
|
63
61
|
declare const SearchResultsLoadingGrid: ({
|
|
@@ -68,6 +66,6 @@ declare const SearchResultsLoadingGrid: ({
|
|
|
68
66
|
productGridVariant: ProductGridVariant;
|
|
69
67
|
productGridClasses: string;
|
|
70
68
|
sparkleIconColor?: string;
|
|
71
|
-
}) =>
|
|
69
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
72
70
|
//#endregion
|
|
73
71
|
export { NoSearchResultsFound, SearchResultsGrid, SearchResultsLoadingGrid };
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "../
|
|
3
|
-
import
|
|
4
|
-
import "
|
|
5
|
-
import { SearchFilterSidebarVariant } from "../index-14eDYe9f.js";
|
|
6
|
-
import * as react_jsx_runtime12 from "react/jsx-runtime";
|
|
1
|
+
import { ProductCardConfig, ProductGridVariant } from "../index-DO4ksBrm.js";
|
|
2
|
+
import { SearchFilterSidebarVariant } from "../index-D8gHW7ox.js";
|
|
3
|
+
import * as react_jsx_runtime6 from "react/jsx-runtime";
|
|
4
|
+
import { SelectedFilterOption } from "@envive-ai/react-hooks/atoms/search";
|
|
7
5
|
import { SearchResponseProduct } from "@spiffy-ai/commerce-api-client";
|
|
8
6
|
|
|
9
7
|
//#region src/components/SearchResultsStates/NoSearchResultsFound.d.ts
|
|
@@ -18,7 +16,7 @@ declare const NoSearchResultsFound: ({
|
|
|
18
16
|
includeBottomMargin,
|
|
19
17
|
noResultsFoundText,
|
|
20
18
|
sparkleIconColor
|
|
21
|
-
}: NoSearchResultsFoundProps) =>
|
|
19
|
+
}: NoSearchResultsFoundProps) => react_jsx_runtime6.JSX.Element;
|
|
22
20
|
//#endregion
|
|
23
21
|
//#region src/components/SearchResultsStates/SearchResultsGrid.d.ts
|
|
24
22
|
interface SearchResultsGridProps {
|
|
@@ -57,7 +55,7 @@ declare const SearchResultsGrid: ({
|
|
|
57
55
|
productGridClasses,
|
|
58
56
|
onRemoveFilter,
|
|
59
57
|
onToggleDynamicFilter
|
|
60
|
-
}: SearchResultsGridProps) =>
|
|
58
|
+
}: SearchResultsGridProps) => react_jsx_runtime6.JSX.Element;
|
|
61
59
|
//#endregion
|
|
62
60
|
//#region src/components/SearchResultsStates/SearchResultsLoadingGrid.d.ts
|
|
63
61
|
declare const SearchResultsLoadingGrid: ({
|
|
@@ -68,6 +66,6 @@ declare const SearchResultsLoadingGrid: ({
|
|
|
68
66
|
productGridVariant: ProductGridVariant;
|
|
69
67
|
productGridClasses: string;
|
|
70
68
|
sparkleIconColor?: string;
|
|
71
|
-
}) =>
|
|
69
|
+
}) => react_jsx_runtime6.JSX.Element;
|
|
72
70
|
//#endregion
|
|
73
71
|
export { NoSearchResultsFound, SearchResultsGrid, SearchResultsLoadingGrid };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import "../textVariantClasses-
|
|
2
|
-
import "../Text-
|
|
3
|
-
import "../
|
|
4
|
-
import "../Headline-
|
|
1
|
+
import "../textVariantClasses-D77TGEy1.js";
|
|
2
|
+
import "../Text-Bod4OMPk.js";
|
|
3
|
+
import "../Text-BMsncrpY.js";
|
|
4
|
+
import "../Headline-BkOW1lQj.js";
|
|
5
5
|
import "../ImageWithFallback-Ckwsmd8P.js";
|
|
6
|
-
import "../ProductCard-
|
|
6
|
+
import "../ProductCard-DCFMFwCH.js";
|
|
7
7
|
import "../Spinner-BgGihEfJ.js";
|
|
8
|
-
import "../ProductGrid-
|
|
8
|
+
import "../ProductGrid-BoJzUK_H.js";
|
|
9
9
|
import "../colorsConfig-BQlaCfxi.js";
|
|
10
|
-
import "../
|
|
11
|
-
import
|
|
12
|
-
import "../
|
|
13
|
-
import "../SparkleAnimation-
|
|
10
|
+
import "../searchFilterSidebarVariants-BWQyiKwS.js";
|
|
11
|
+
import "../DynamicFiltersScrollbar-CCwh0QW4.js";
|
|
12
|
+
import { NoSearchResultsFound, SearchResultsGrid, SearchResultsLoadingGrid } from "../SearchResultsStates-CEi_RHna.js";
|
|
13
|
+
import "../SparkleAnimation-fQHP7b-R.js";
|
|
14
14
|
|
|
15
15
|
export { NoSearchResultsFound, SearchResultsGrid, SearchResultsLoadingGrid };
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { Text
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { SparkleAnimation } from "./SparkleAnimation-
|
|
1
|
+
import { Text } from "./Text-Bod4OMPk.js";
|
|
2
|
+
import { ProductCardSkeleton } from "./ProductCard-DCFMFwCH.js";
|
|
3
|
+
import { ProductGrid, productGridVariantClasses } from "./ProductGrid-BoJzUK_H.js";
|
|
4
|
+
import { searchFilterSidebarVariantClasses } from "./searchFilterSidebarVariants-BWQyiKwS.js";
|
|
5
|
+
import { AppliedFiltersScrollbar, DynamicFiltersScrollbar } from "./DynamicFiltersScrollbar-CCwh0QW4.js";
|
|
6
|
+
import { SparkleAnimation } from "./SparkleAnimation-fQHP7b-R.js";
|
|
7
7
|
import { motion } from "framer-motion";
|
|
8
8
|
import classNames from "classnames";
|
|
9
|
-
import { Text } from "@envive-ai/react-toolkit/Text";
|
|
10
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
10
|
import Sparkles from "@envive-ai/react-icons/Sparkles";
|
|
12
11
|
|
|
@@ -20,7 +19,7 @@ const NoSearchResultsFound = ({ containerPaddingClasses, includeBottomMargin = f
|
|
|
20
19
|
children: [/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(Sparkles, {
|
|
21
20
|
className: "spiffy-tw-w-[24px] spiffy-tw-h-[24px]",
|
|
22
21
|
style: { color: sparkleIconColor }
|
|
23
|
-
}) }), /* @__PURE__ */ jsx(Text
|
|
22
|
+
}) }), /* @__PURE__ */ jsx(Text, {
|
|
24
23
|
variant: "body2",
|
|
25
24
|
children: noResultsFoundText || "I’m sorry, I wasn’t able to find an exact match. Try changing your filters or adjusting your search query."
|
|
26
25
|
})]
|
|
@@ -63,7 +62,8 @@ const SearchResultsGrid = ({ productList, productCardConfig, merchantShortName,
|
|
|
63
62
|
productGridClasses,
|
|
64
63
|
productCardConfig,
|
|
65
64
|
merchantShortName,
|
|
66
|
-
searchResponseId
|
|
65
|
+
searchResponseId,
|
|
66
|
+
cardDisplayLocation: ""
|
|
67
67
|
})
|
|
68
68
|
]
|
|
69
69
|
});
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
|
-
const require_Text = require('./Text-
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const require_SparkleAnimation = require('./SparkleAnimation-
|
|
2
|
+
const require_Text = require('./Text-MQjxqgZZ.cjs');
|
|
3
|
+
const require_ProductCard = require('./ProductCard-BYjPKgX3.cjs');
|
|
4
|
+
const require_ProductGrid = require('./ProductGrid-CJmmGxBQ.cjs');
|
|
5
|
+
const require_searchFilterSidebarVariants = require('./searchFilterSidebarVariants-D08jyA7U.cjs');
|
|
6
|
+
const require_DynamicFiltersScrollbar = require('./DynamicFiltersScrollbar-U9-CmTKd.cjs');
|
|
7
|
+
const require_SparkleAnimation = require('./SparkleAnimation-BY5iw7s0.cjs');
|
|
8
8
|
let framer_motion = require("framer-motion");
|
|
9
9
|
framer_motion = require_chunk.__toESM(framer_motion);
|
|
10
10
|
let classnames = require("classnames");
|
|
11
11
|
classnames = require_chunk.__toESM(classnames);
|
|
12
|
-
let __envive_ai_react_toolkit_Text = require("@envive-ai/react-toolkit/Text");
|
|
13
|
-
__envive_ai_react_toolkit_Text = require_chunk.__toESM(__envive_ai_react_toolkit_Text);
|
|
14
12
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
15
13
|
react_jsx_runtime = require_chunk.__toESM(react_jsx_runtime);
|
|
16
14
|
let __envive_ai_react_icons_Sparkles = require("@envive-ai/react-icons/Sparkles");
|
|
@@ -69,7 +67,8 @@ const SearchResultsGrid = ({ productList, productCardConfig, merchantShortName,
|
|
|
69
67
|
productGridClasses,
|
|
70
68
|
productCardConfig,
|
|
71
69
|
merchantShortName,
|
|
72
|
-
searchResponseId
|
|
70
|
+
searchResponseId,
|
|
71
|
+
cardDisplayLocation: ""
|
|
73
72
|
})
|
|
74
73
|
]
|
|
75
74
|
});
|
|
@@ -97,7 +96,7 @@ const SearchResultsLoadingGrid = ({ productGridVariant, productGridClasses, spar
|
|
|
97
96
|
color: sparkleIconColor,
|
|
98
97
|
animate: true
|
|
99
98
|
})
|
|
100
|
-
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(
|
|
99
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Text.Text, {
|
|
101
100
|
variant: "body2",
|
|
102
101
|
children: "Finding the best options for you..."
|
|
103
102
|
})]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_SparkleAnimation = require('../SparkleAnimation-
|
|
1
|
+
const require_SparkleAnimation = require('../SparkleAnimation-BY5iw7s0.cjs');
|
|
2
2
|
|
|
3
3
|
exports.SparkleAnimation = require_SparkleAnimation.SparkleAnimation;
|
|
4
4
|
exports.SparkleAnimationOverride = require_SparkleAnimation.SparkleAnimationOverride;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime11 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/SparkleAnimation/SparkleAnimation.d.ts
|
|
4
4
|
interface SparkleAnimationProps {
|
|
@@ -10,7 +10,7 @@ declare const SparkleAnimation: ({
|
|
|
10
10
|
color,
|
|
11
11
|
className,
|
|
12
12
|
animate
|
|
13
|
-
}: SparkleAnimationProps) =>
|
|
13
|
+
}: SparkleAnimationProps) => react_jsx_runtime11.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
//#region src/components/SparkleAnimation/types.d.ts
|
|
16
16
|
declare enum SparkleAnimationOverride {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime14 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/SparkleAnimation/SparkleAnimation.d.ts
|
|
4
4
|
interface SparkleAnimationProps {
|
|
@@ -10,7 +10,7 @@ declare const SparkleAnimation: ({
|
|
|
10
10
|
color,
|
|
11
11
|
className,
|
|
12
12
|
animate
|
|
13
|
-
}: SparkleAnimationProps) =>
|
|
13
|
+
}: SparkleAnimationProps) => react_jsx_runtime14.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
//#region src/components/SparkleAnimation/types.d.ts
|
|
16
16
|
declare enum SparkleAnimationOverride {
|
|
@@ -7,8 +7,8 @@ let classnames = require("classnames");
|
|
|
7
7
|
classnames = require_chunk.__toESM(classnames);
|
|
8
8
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
9
9
|
react_jsx_runtime = require_chunk.__toESM(react_jsx_runtime);
|
|
10
|
-
let
|
|
11
|
-
|
|
10
|
+
let __envive_ai_react_icons_FourPointStar = require("@envive-ai/react-icons/FourPointStar");
|
|
11
|
+
__envive_ai_react_icons_FourPointStar = require_chunk.__toESM(__envive_ai_react_icons_FourPointStar);
|
|
12
12
|
|
|
13
13
|
//#region src/components/SparkleAnimation/types.ts
|
|
14
14
|
let SparkleAnimationOverride = /* @__PURE__ */ function(SparkleAnimationOverride$1) {
|
|
@@ -55,7 +55,7 @@ const SparkleAnimation = ({ color, className, animate = true }) => {
|
|
|
55
55
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(framer_motion.motion.div, {
|
|
56
56
|
animate: { scale: mainStarScale },
|
|
57
57
|
transition: starTransition,
|
|
58
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(
|
|
58
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__envive_ai_react_icons_FourPointStar.default, {
|
|
59
59
|
fill: color,
|
|
60
60
|
className: "spiffy-tw-w-4 spiffy-tw-h-4 spiffy-tw-inline-block"
|
|
61
61
|
})
|
|
@@ -66,7 +66,7 @@ const SparkleAnimation = ({ color, className, animate = true }) => {
|
|
|
66
66
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(framer_motion.motion.div, {
|
|
67
67
|
animate: { scale: smallStar1Scale },
|
|
68
68
|
transition: starTransition,
|
|
69
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(
|
|
69
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__envive_ai_react_icons_FourPointStar.default, {
|
|
70
70
|
fill: color,
|
|
71
71
|
className: "spiffy-tw-w-2 spiffy-tw-h-2 spiffy-tw-inline-block"
|
|
72
72
|
})
|
|
@@ -77,7 +77,7 @@ const SparkleAnimation = ({ color, className, animate = true }) => {
|
|
|
77
77
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(framer_motion.motion.div, {
|
|
78
78
|
animate: { scale: smallStar2Scale },
|
|
79
79
|
transition: starTransition,
|
|
80
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(
|
|
80
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__envive_ai_react_icons_FourPointStar.default, {
|
|
81
81
|
fill: color,
|
|
82
82
|
className: "spiffy-tw-w-2 spiffy-tw-h-2 spiffy-tw-inline-block"
|
|
83
83
|
})
|
|
@@ -2,7 +2,7 @@ import { motion } from "framer-motion";
|
|
|
2
2
|
import { useEffect, useState } from "react";
|
|
3
3
|
import classNames from "classnames";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
-
import FourPointStar from "@envive-ai/react-icons/
|
|
5
|
+
import FourPointStar from "@envive-ai/react-icons/FourPointStar";
|
|
6
6
|
|
|
7
7
|
//#region src/components/SparkleAnimation/types.ts
|
|
8
8
|
let SparkleAnimationOverride = /* @__PURE__ */ function(SparkleAnimationOverride$1) {
|
package/dist/Spinner/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime7 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/Spinner/Spinner.d.ts
|
|
4
4
|
type SpinnerProps = {
|
|
@@ -6,6 +6,6 @@ type SpinnerProps = {
|
|
|
6
6
|
};
|
|
7
7
|
declare const Spinner: ({
|
|
8
8
|
className
|
|
9
|
-
}: SpinnerProps) =>
|
|
9
|
+
}: SpinnerProps) => react_jsx_runtime7.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Spinner };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
const require_chunk = require('../chunk-CUT6urMc.cjs');
|
|
2
|
-
|
|
3
|
-
require('../
|
|
4
|
-
require('../
|
|
2
|
+
require('../textVariantClasses-Dgz7Zaql.cjs');
|
|
3
|
+
require('../Text-MQjxqgZZ.cjs');
|
|
4
|
+
const require_ButtonBase = require('../ButtonBase-DGpQBeLR.cjs');
|
|
5
5
|
let classnames = require("classnames");
|
|
6
6
|
classnames = require_chunk.__toESM(classnames);
|
|
7
7
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
8
|
react_jsx_runtime = require_chunk.__toESM(react_jsx_runtime);
|
|
9
|
-
let
|
|
10
|
-
|
|
11
|
-
let
|
|
12
|
-
|
|
9
|
+
let __envive_ai_react_icons_OutlinedStar = require("@envive-ai/react-icons/OutlinedStar");
|
|
10
|
+
__envive_ai_react_icons_OutlinedStar = require_chunk.__toESM(__envive_ai_react_icons_OutlinedStar);
|
|
11
|
+
let __envive_ai_react_icons_FourPointStar = require("@envive-ai/react-icons/FourPointStar");
|
|
12
|
+
__envive_ai_react_icons_FourPointStar = require_chunk.__toESM(__envive_ai_react_icons_FourPointStar);
|
|
13
13
|
|
|
14
14
|
//#region src/components/SuggestionButton/SuggestionButton.tsx
|
|
15
15
|
const SPIFFY_SUGGESTION_BUTTON_QUESTION_CLASS = "spiffy-suggestion-button-question-class";
|
|
@@ -165,8 +165,8 @@ const SuggestionButton = ({ variant, hoverVariant, isDisabled, content, boldText
|
|
|
165
165
|
const buttonClass = `${buttonClassName} ${variantClasses.join(" ")}`;
|
|
166
166
|
const getIcon = () => {
|
|
167
167
|
if (isAnswer) return void 0;
|
|
168
|
-
if (variant === "transparentDark") return
|
|
169
|
-
return
|
|
168
|
+
if (variant === "transparentDark") return __envive_ai_react_icons_OutlinedStar.default;
|
|
169
|
+
return __envive_ai_react_icons_FourPointStar.default;
|
|
170
170
|
};
|
|
171
171
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ButtonBase.ButtonBase, {
|
|
172
172
|
text: content,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import * as react_jsx_runtime19 from "react/jsx-runtime";
|
|
2
|
+
import { TestProps } from "@envive-ai/react-hooks/types";
|
|
3
3
|
|
|
4
4
|
//#region src/components/SuggestionButton/types.d.ts
|
|
5
5
|
type SuggestionButtonVariant = 'outlined' | 'outlinedLight' | 'primary' | 'secondary' | 'tertiary' | 'dark' | 'darkAccent' | 'darkPrimary' | 'secondaryDark' | 'secondaryAccent' | 'transparent' | 'transparentDark' | 'lightDark';
|
|
@@ -30,6 +30,6 @@ declare const SuggestionButton: ({
|
|
|
30
30
|
dataAttributes,
|
|
31
31
|
dataTestId,
|
|
32
32
|
onClick
|
|
33
|
-
}: SuggestionButtonProps) =>
|
|
33
|
+
}: SuggestionButtonProps) => react_jsx_runtime19.JSX.Element;
|
|
34
34
|
//#endregion
|
|
35
35
|
export { SPIFFY_SUGGESTION_BUTTON_ANSWER_CLASS, SPIFFY_SUGGESTION_BUTTON_QUESTION_CLASS, SPIFFY_SUGGESTION_BUTTON_TEXT_CLASS, SuggestionButton, SuggestionButtonVariant };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TestProps } from "../types-C0UWKVvw.js";
|
|
2
1
|
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
2
|
+
import { TestProps } from "@envive-ai/react-hooks/types";
|
|
3
3
|
|
|
4
4
|
//#region src/components/SuggestionButton/types.d.ts
|
|
5
5
|
type SuggestionButtonVariant = 'outlined' | 'outlinedLight' | 'primary' | 'secondary' | 'tertiary' | 'dark' | 'darkAccent' | 'darkPrimary' | 'secondaryDark' | 'secondaryAccent' | 'transparent' | 'transparentDark' | 'lightDark';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import "../
|
|
3
|
-
import "../
|
|
1
|
+
import "../textVariantClasses-D77TGEy1.js";
|
|
2
|
+
import "../Text-Bod4OMPk.js";
|
|
3
|
+
import { ButtonBase } from "../ButtonBase-DGbSm0SJ.js";
|
|
4
4
|
import classNames from "classnames";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
6
|
+
import OutlinedStar from "@envive-ai/react-icons/OutlinedStar";
|
|
7
|
+
import FourPointStar from "@envive-ai/react-icons/FourPointStar";
|
|
8
8
|
|
|
9
9
|
//#region src/components/SuggestionButton/SuggestionButton.tsx
|
|
10
10
|
const SPIFFY_SUGGESTION_BUTTON_QUESTION_CLASS = "spiffy-suggestion-button-question-class";
|
package/dist/Text/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const require_textVariantClasses = require('../textVariantClasses-
|
|
2
|
-
const require_Text = require('../Text-
|
|
3
|
-
const require_Text$1 = require('../Text-
|
|
1
|
+
const require_textVariantClasses = require('../textVariantClasses-Dgz7Zaql.cjs');
|
|
2
|
+
const require_Text = require('../Text-MQjxqgZZ.cjs');
|
|
3
|
+
const require_Text$1 = require('../Text-C8t_iEj6.cjs');
|
|
4
4
|
|
|
5
5
|
exports.ExpandableTextOverrides = require_Text$1.ExpandableTextOverrides;
|
|
6
6
|
exports.HeadlineVariantMap = require_textVariantClasses.HeadlineVariantMap;
|
package/dist/Text/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HeadlineVariantMap, TextStyleVariantMap, TextVariantMap, getVariantPlaceholderClassNames } from "../textVariantClasses-
|
|
2
|
-
import * as
|
|
1
|
+
import { HeadlineVariantMap, TextStyleVariantMap, TextVariantMap, getVariantPlaceholderClassNames } from "../textVariantClasses-B0gNjzl4.cjs";
|
|
2
|
+
import * as react_jsx_runtime14 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Text/types.d.ts
|
|
5
5
|
declare enum ExpandableTextOverrides {
|
|
@@ -37,6 +37,6 @@ declare const Text: ({
|
|
|
37
37
|
testId,
|
|
38
38
|
type,
|
|
39
39
|
variant
|
|
40
|
-
}: TextProps) =>
|
|
40
|
+
}: TextProps) => react_jsx_runtime14.JSX.Element;
|
|
41
41
|
//#endregion
|
|
42
42
|
export { ExpandableTextOverrides, HeadlineProps, HeadlineVariant, HeadlineVariantMap, Text, TextStyleVariantMap, TextType, TextVariant, TextVariantMap, getVariantPlaceholderClassNames };
|
package/dist/Text/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HeadlineVariantMap, TextStyleVariantMap, TextVariantMap, getVariantPlaceholderClassNames } from "../textVariantClasses-
|
|
2
|
-
import * as
|
|
1
|
+
import { HeadlineVariantMap, TextStyleVariantMap, TextVariantMap, getVariantPlaceholderClassNames } from "../textVariantClasses-ypYGLq0h.js";
|
|
2
|
+
import * as react_jsx_runtime23 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Text/types.d.ts
|
|
5
5
|
declare enum ExpandableTextOverrides {
|
|
@@ -37,6 +37,6 @@ declare const Text: ({
|
|
|
37
37
|
testId,
|
|
38
38
|
type,
|
|
39
39
|
variant
|
|
40
|
-
}: TextProps) =>
|
|
40
|
+
}: TextProps) => react_jsx_runtime23.JSX.Element;
|
|
41
41
|
//#endregion
|
|
42
42
|
export { ExpandableTextOverrides, HeadlineProps, HeadlineVariant, HeadlineVariantMap, Text, TextStyleVariantMap, TextType, TextVariant, TextVariantMap, getVariantPlaceholderClassNames };
|
package/dist/Text/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HeadlineVariantMap, TextStyleVariantMap, TextVariantMap, getVariantPlaceholderClassNames } from "../textVariantClasses-
|
|
2
|
-
import { Text } from "../Text-
|
|
3
|
-
import { ExpandableTextOverrides } from "../Text-
|
|
1
|
+
import { HeadlineVariantMap, TextStyleVariantMap, TextVariantMap, getVariantPlaceholderClassNames } from "../textVariantClasses-D77TGEy1.js";
|
|
2
|
+
import { Text } from "../Text-Bod4OMPk.js";
|
|
3
|
+
import { ExpandableTextOverrides } from "../Text-BMsncrpY.js";
|
|
4
4
|
|
|
5
5
|
export { ExpandableTextOverrides, HeadlineVariantMap, Text, TextStyleVariantMap, TextVariantMap, getVariantPlaceholderClassNames };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
|
-
const require_textVariantClasses = require('./textVariantClasses-
|
|
2
|
+
const require_textVariantClasses = require('./textVariantClasses-Dgz7Zaql.cjs');
|
|
3
3
|
let classnames = require("classnames");
|
|
4
4
|
classnames = require_chunk.__toESM(classnames);
|
|
5
5
|
let react_jsx_runtime = require("react/jsx-runtime");
|
package/dist/TextInput/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
require('../textVariantClasses-
|
|
2
|
-
const require_TextInput = require('../TextInput-
|
|
1
|
+
require('../textVariantClasses-Dgz7Zaql.cjs');
|
|
2
|
+
const require_TextInput = require('../TextInput-DLSgpP6b.cjs');
|
|
3
3
|
|
|
4
4
|
exports.TextInput = require_TextInput.TextInput;
|
package/dist/TextInput/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TextStyleVariantMap, getVariantPlaceholderClassNames } from "./textVariantClasses-
|
|
1
|
+
import { TextStyleVariantMap, getVariantPlaceholderClassNames } from "./textVariantClasses-D77TGEy1.js";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import classNames from "classnames";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
|
-
const require_textVariantClasses = require('./textVariantClasses-
|
|
2
|
+
const require_textVariantClasses = require('./textVariantClasses-Dgz7Zaql.cjs');
|
|
3
3
|
let react = require("react");
|
|
4
4
|
react = require_chunk.__toESM(react);
|
|
5
5
|
let classnames = require("classnames");
|
|
@@ -1,31 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as react_jsx_runtime15 from "react/jsx-runtime";
|
|
2
|
+
import { TestProps } from "@envive-ai/react-hooks/types";
|
|
2
3
|
import { FC } from "react";
|
|
3
|
-
import * as react_jsx_runtime20 from "react/jsx-runtime";
|
|
4
4
|
import { ResponseCategory, SearchResponseProduct } from "@spiffy-ai/commerce-api-client";
|
|
5
5
|
|
|
6
|
-
//#region src/config/chatElementDisplayLocation.d.ts
|
|
7
|
-
declare enum ChatElementDisplayLocation {
|
|
8
|
-
IN_CHAT = "in_chat",
|
|
9
|
-
CHAT_PREVIEW = "chat_preview",
|
|
10
|
-
FLOATING_BUTTON = "floating_button",
|
|
11
|
-
HELP_ME_CHOOSE = "help_me_choose",
|
|
12
|
-
PLP_IMAGE_BANNER = "plp_image_banner",
|
|
13
|
-
TOP_REVIEWS_SNIPPET = "top_reviews_snippet",
|
|
14
|
-
BOTTOM_REVIEWS_SNIPPET = "bottom_reviews_snippet",
|
|
15
|
-
BLOCK_BACK_BUTTON = "block_back_button",
|
|
16
|
-
SWITCH_TO_AGENT = "switch_to_agent",
|
|
17
|
-
CONVERSATIONAL_SEARCH = "conversational_search",
|
|
18
|
-
GLOBAL_SEARCH_ENTRYPOINT = "global_search_entrypoint",
|
|
19
|
-
SEARCH_NAV_ENTRYPOINT = "search_nav_entrypoint",
|
|
20
|
-
SEARCH_PROMPT = "search_prompt",
|
|
21
|
-
SEARCH_PROMPT_BUTTON = "search_prompt_button",
|
|
22
|
-
PRODUCT_GRID = "product_grid",
|
|
23
|
-
UNSPECIFIED = "unspecified",
|
|
24
|
-
FILTER_MODAL = "filter_modal",
|
|
25
|
-
PROMPT_CARD = "prompt_card",
|
|
26
|
-
WINDOW_API_CALL = "window_api_call",
|
|
27
|
-
}
|
|
28
|
-
//#endregion
|
|
29
6
|
//#region src/util/trim.d.ts
|
|
30
7
|
/**
|
|
31
8
|
* Remove spaces from the left side.
|
|
@@ -248,7 +225,7 @@ type ProductGridVariant = 'standard' | 'square';
|
|
|
248
225
|
type ProductCardVariant = 'filled' | 'bordered' | 'minimal' | 'transparentBordered';
|
|
249
226
|
type ProductCardHoverVariant = 'backgroundDark' | 'none';
|
|
250
227
|
type ProductCardLayoutVariant = 'normal' | 'tall' | 'square';
|
|
251
|
-
type ProductCardImageAspectRatio = '
|
|
228
|
+
type ProductCardImageAspectRatio = '3:4' | 'square' | 'none';
|
|
252
229
|
interface ProductCardConfig {
|
|
253
230
|
variant: ProductCardVariant;
|
|
254
231
|
hoverVariant: ProductCardHoverVariant;
|
|
@@ -259,7 +236,7 @@ interface SearchResponseProductAttributes {
|
|
|
259
236
|
category: ResponseCategory.Product;
|
|
260
237
|
attributes: CamelCasedPropertiesDeep<SearchResponseProduct>;
|
|
261
238
|
}
|
|
262
|
-
interface ProductCardSkeletonProps
|
|
239
|
+
interface ProductCardSkeletonProps {
|
|
263
240
|
layoutVariant: ProductCardLayoutVariant;
|
|
264
241
|
aspectRatio: ProductCardImageAspectRatio;
|
|
265
242
|
growWithContainer?: boolean;
|
|
@@ -284,7 +261,7 @@ declare const RatingSummary: ({
|
|
|
284
261
|
stars,
|
|
285
262
|
reviewCount,
|
|
286
263
|
className
|
|
287
|
-
}: RatingSummaryProps) =>
|
|
264
|
+
}: RatingSummaryProps) => react_jsx_runtime15.JSX.Element;
|
|
288
265
|
interface PriceSectionProps {
|
|
289
266
|
originalPrice?: string;
|
|
290
267
|
salePrice?: string;
|
|
@@ -294,7 +271,7 @@ declare const PriceSection: ({
|
|
|
294
271
|
originalPrice,
|
|
295
272
|
salePrice,
|
|
296
273
|
pricePrefix
|
|
297
|
-
}: PriceSectionProps) =>
|
|
274
|
+
}: PriceSectionProps) => react_jsx_runtime15.JSX.Element;
|
|
298
275
|
interface ProductCardProps extends TestProps {
|
|
299
276
|
productCardConfig?: ProductCardConfig;
|
|
300
277
|
merchantShortName: string;
|
|
@@ -302,7 +279,7 @@ interface ProductCardProps extends TestProps {
|
|
|
302
279
|
url: string;
|
|
303
280
|
searchResponseId?: string;
|
|
304
281
|
productResponseId?: string;
|
|
305
|
-
cardDisplayLocation:
|
|
282
|
+
cardDisplayLocation: string;
|
|
306
283
|
imageUrl?: string;
|
|
307
284
|
originalPrice?: number;
|
|
308
285
|
averageRating?: number;
|
|
@@ -335,14 +312,9 @@ declare const ProductCard: ({
|
|
|
335
312
|
aspectRatio,
|
|
336
313
|
growWithContainer,
|
|
337
314
|
handleClick
|
|
338
|
-
}: ProductCardProps) =>
|
|
315
|
+
}: ProductCardProps) => react_jsx_runtime15.JSX.Element;
|
|
339
316
|
//#endregion
|
|
340
317
|
//#region src/components/ProductCard/ProductCardSkeleton.d.ts
|
|
341
|
-
interface ProductCardSkeletonProps {
|
|
342
|
-
layoutVariant: ProductCardLayoutVariant;
|
|
343
|
-
aspectRatio?: '3:4' | 'square' | 'none';
|
|
344
|
-
growWithContainer?: boolean;
|
|
345
|
-
}
|
|
346
318
|
declare const ProductCardSkeleton: FC<ProductCardSkeletonProps>;
|
|
347
319
|
//#endregion
|
|
348
320
|
//#region src/components/ProductCard/productCardVariants.d.ts
|
|
@@ -354,4 +326,4 @@ declare const variantHoverClassMap: Map<ProductCardHoverVariant, string[]>;
|
|
|
354
326
|
declare const variantTitleColorMap: Map<ProductCardVariant, string>;
|
|
355
327
|
declare const productCardLayoutVariantClasses: Record<ProductCardLayoutVariant, Record<string, string[]>>;
|
|
356
328
|
//#endregion
|
|
357
|
-
export { AnimatedProductCardOverrides, PriceSection, ProductCard, ProductCardConfig, ProductCardHoverVariant, ProductCardImageAspectRatio, ProductCardLayoutVariant, ProductCardSkeleton, ProductCardSkeletonOverrides, ProductCardSkeletonProps
|
|
329
|
+
export { AnimatedProductCardOverrides, PriceSection, ProductCard, ProductCardConfig, ProductCardHoverVariant, ProductCardImageAspectRatio, ProductCardLayoutVariant, ProductCardSkeleton, ProductCardSkeletonOverrides, ProductCardSkeletonProps, ProductCardVariant, ProductGridProps, ProductGridVariant, RatingSummary, RatingSummaryProps, SearchResponseProductAttributes, productCardLayoutVariantClasses, variantClassMap, variantHoverClassMap, variantTitleColorMap };
|