@envive-ai/react-toolkit 0.3.56 → 0.3.57
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/components/Accordion/Accordion.d.cts +2 -2
- package/dist/components/Accordion/Accordion.d.ts +2 -2
- package/dist/components/AnimatedChevron/AnimatedChevron.d.cts +2 -2
- package/dist/components/AnimatedChevron/AnimatedChevron.d.ts +2 -2
- package/dist/components/AppliedFiltersScrollbar/AppliedFiltersScrollbar.d.cts +2 -2
- package/dist/components/AppliedFiltersScrollbar/AppliedFiltersScrollbar.d.ts +2 -2
- package/dist/components/ButtonBase/ButtonBase.d.cts +2 -2
- package/dist/components/ButtonBase/ButtonBase.d.ts +2 -2
- package/dist/components/DynamicFiltersScrollbar/DynamicFiltersScrollbar.d.cts +2 -2
- package/dist/components/DynamicFiltersScrollbar/DynamicFiltersScrollbar.d.ts +2 -2
- package/dist/components/FilterScrollbar/AppliedFiltersScrollbar.d.cts +2 -2
- package/dist/components/FilterScrollbar/AppliedFiltersScrollbar.d.ts +2 -2
- package/dist/components/FilterScrollbar/DynamicFiltersScrollbar.d.cts +2 -2
- package/dist/components/FilterScrollbar/DynamicFiltersScrollbar.d.ts +2 -2
- package/dist/components/ImageWithFallback/ImageWithFallback.d.cts +2 -2
- package/dist/components/ImageWithFallback/ImageWithFallback.d.ts +2 -2
- package/dist/components/ModalSheet/ModalSheet.d.cts +2 -2
- package/dist/components/ModalSheet/ModalSheet.d.ts +2 -2
- package/dist/components/ProductCard/ProductCard.cjs +3 -2
- package/dist/components/ProductCard/ProductCard.d.cts +4 -4
- package/dist/components/ProductCard/ProductCard.d.ts +4 -4
- package/dist/components/ProductCard/ProductCard.js +2 -2
- package/dist/components/ProductGrid/ProductGrid.d.cts +2 -2
- package/dist/components/ProductGrid/ProductGrid.d.ts +2 -2
- package/dist/components/RadioButton/RadioButton.d.cts +2 -2
- package/dist/components/RadioButton/RadioButton.d.ts +2 -2
- package/dist/components/RadioButtonGroup/RadioButtonGroup.d.cts +2 -2
- package/dist/components/RadioButtonGroup/RadioButtonGroup.d.ts +2 -2
- package/dist/components/SearchAutocomplete/SearchAutocomplete.d.ts +2 -2
- package/dist/components/SearchFilter/SearchFilter.d.cts +2 -2
- package/dist/components/SearchFilter/SearchFilter.d.ts +2 -2
- package/dist/components/SearchFilter/SearchFilterFooter.d.cts +2 -2
- package/dist/components/SearchFilter/SearchFilterFooter.d.ts +2 -2
- package/dist/components/SearchFilter/SearchFilterHeader.d.cts +2 -2
- package/dist/components/SearchFilter/SearchFilterHeader.d.ts +2 -2
- package/dist/components/SearchFilter/SearchFilterItem.d.cts +2 -2
- package/dist/components/SearchFilter/SearchFilterItem.d.ts +2 -2
- package/dist/components/SearchInputForm/SearchInputForm.d.cts +2 -2
- package/dist/components/SearchInputForm/SearchInputForm.d.ts +2 -2
- package/dist/components/SearchResultsContent/SearchResultsContent.d.cts +2 -2
- package/dist/components/SearchResultsContent/SearchResultsContent.d.ts +2 -2
- package/dist/components/SearchResultsFilterButton/SearchResultsFilterButton.d.cts +2 -2
- package/dist/components/SearchResultsFilterButton/SearchResultsFilterButton.d.ts +2 -2
- package/dist/components/SearchResultsFilterModal/SearchResultsFilterModal.d.cts +2 -2
- package/dist/components/SearchResultsFilterModal/SearchResultsFilterModal.d.ts +2 -2
- package/dist/components/SearchResultsFilterSidebar/SearchResultsFilter.d.cts +2 -2
- package/dist/components/SearchResultsFilterSidebar/SearchResultsFilter.d.ts +2 -2
- package/dist/components/SearchResultsStates/NoSearchResultsFound.d.cts +2 -2
- package/dist/components/SearchResultsStates/NoSearchResultsFound.d.ts +2 -2
- package/dist/components/SearchResultsStates/SearchResultsGrid.d.cts +2 -2
- package/dist/components/SearchResultsStates/SearchResultsGrid.d.ts +2 -2
- package/dist/components/SearchResultsStates/SearchResultsLoadingGrid.d.cts +2 -2
- package/dist/components/SearchResultsStates/SearchResultsLoadingGrid.d.ts +2 -2
- package/dist/components/SearchResultsToolbar/SearchResultsToolbar.d.cts +2 -2
- package/dist/components/SearchResultsToolbar/SearchResultsToolbar.d.ts +2 -2
- package/dist/components/SparkleAnimation/SparkleAnimation.d.cts +2 -2
- package/dist/components/SparkleAnimation/SparkleAnimation.d.ts +2 -2
- package/dist/components/Spinner/Spinner.d.ts +2 -2
- package/dist/components/SuggestionButton/SuggestionButton.d.cts +2 -2
- package/dist/components/SuggestionButton/SuggestionButton.d.ts +2 -2
- package/dist/components/ToggleButton/ToggleButton.d.cts +2 -2
- package/dist/components/ToggleButton/ToggleButton.d.ts +2 -2
- package/dist/logging/logger.cjs +3 -26
- package/dist/logging/logger.js +2 -24
- package/package.json +1 -1
- package/src/logging/logger.ts +13 -46
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime21 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/Accordion/Accordion.d.ts
|
|
4
4
|
interface AccordionProps {
|
|
@@ -8,6 +8,6 @@ interface AccordionProps {
|
|
|
8
8
|
declare const Accordion: ({
|
|
9
9
|
title,
|
|
10
10
|
content
|
|
11
|
-
}: AccordionProps) =>
|
|
11
|
+
}: AccordionProps) => react_jsx_runtime21.JSX.Element;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { Accordion };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime27 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/Accordion/Accordion.d.ts
|
|
4
4
|
interface AccordionProps {
|
|
@@ -8,6 +8,6 @@ interface AccordionProps {
|
|
|
8
8
|
declare const Accordion: ({
|
|
9
9
|
title,
|
|
10
10
|
content
|
|
11
|
-
}: AccordionProps) =>
|
|
11
|
+
}: AccordionProps) => react_jsx_runtime27.JSX.Element;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { Accordion };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime18 from "react/jsx-runtime";
|
|
2
2
|
import { MotionValue } from "framer-motion";
|
|
3
3
|
|
|
4
4
|
//#region src/components/AnimatedChevron/AnimatedChevron.d.ts
|
|
@@ -9,6 +9,6 @@ interface AnimatedChevronProps {
|
|
|
9
9
|
declare const AnimatedChevron: ({
|
|
10
10
|
animationKey,
|
|
11
11
|
chevronColor
|
|
12
|
-
}: AnimatedChevronProps) =>
|
|
12
|
+
}: AnimatedChevronProps) => react_jsx_runtime18.JSX.Element;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { AnimatedChevron };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MotionValue } from "framer-motion";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime17 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/AnimatedChevron/AnimatedChevron.d.ts
|
|
5
5
|
interface AnimatedChevronProps {
|
|
@@ -9,6 +9,6 @@ interface AnimatedChevronProps {
|
|
|
9
9
|
declare const AnimatedChevron: ({
|
|
10
10
|
animationKey,
|
|
11
11
|
chevronColor
|
|
12
|
-
}: AnimatedChevronProps) =>
|
|
12
|
+
}: AnimatedChevronProps) => react_jsx_runtime17.JSX.Element;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { AnimatedChevron };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime16 from "react/jsx-runtime";
|
|
2
2
|
import { SelectedFilterOption } from "@envive-ai/react-hooks/atoms/search";
|
|
3
3
|
|
|
4
4
|
//#region src/components/AppliedFiltersScrollbar/AppliedFiltersScrollbar.d.ts
|
|
@@ -17,6 +17,6 @@ declare const AppliedFiltersScrollbar: ({
|
|
|
17
17
|
filterHoverClasses,
|
|
18
18
|
appliedFilterBackgroundClasses,
|
|
19
19
|
onRemoveFilter
|
|
20
|
-
}: AppliedFiltersScrollbarProps) =>
|
|
20
|
+
}: AppliedFiltersScrollbarProps) => react_jsx_runtime16.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { AppliedFiltersScrollbar };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime26 from "react/jsx-runtime";
|
|
2
2
|
import { SelectedFilterOption } from "@envive-ai/react-hooks/atoms/search";
|
|
3
3
|
|
|
4
4
|
//#region src/components/AppliedFiltersScrollbar/AppliedFiltersScrollbar.d.ts
|
|
@@ -17,6 +17,6 @@ declare const AppliedFiltersScrollbar: ({
|
|
|
17
17
|
filterHoverClasses,
|
|
18
18
|
appliedFilterBackgroundClasses,
|
|
19
19
|
onRemoveFilter
|
|
20
|
-
}: AppliedFiltersScrollbarProps) =>
|
|
20
|
+
}: AppliedFiltersScrollbarProps) => react_jsx_runtime26.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { AppliedFiltersScrollbar };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ButtonBaseProps } from "./types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime7 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ButtonBase/ButtonBase.d.ts
|
|
5
5
|
declare const ButtonBase: ({
|
|
@@ -13,6 +13,6 @@ declare const ButtonBase: ({
|
|
|
13
13
|
dataTestId,
|
|
14
14
|
onClick,
|
|
15
15
|
disablePadding
|
|
16
|
-
}: ButtonBaseProps) =>
|
|
16
|
+
}: ButtonBaseProps) => react_jsx_runtime7.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { ButtonBase };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ButtonBaseProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime23 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ButtonBase/ButtonBase.d.ts
|
|
5
5
|
declare const ButtonBase: ({
|
|
@@ -13,6 +13,6 @@ declare const ButtonBase: ({
|
|
|
13
13
|
dataTestId,
|
|
14
14
|
onClick,
|
|
15
15
|
disablePadding
|
|
16
|
-
}: ButtonBaseProps) =>
|
|
16
|
+
}: ButtonBaseProps) => react_jsx_runtime23.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { ButtonBase };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime19 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/DynamicFiltersScrollbar/DynamicFiltersScrollbar.d.ts
|
|
4
4
|
interface DynamicFiltersScrollbarProps {
|
|
@@ -23,6 +23,6 @@ declare const DynamicFiltersScrollbar: ({
|
|
|
23
23
|
filterDefaultClasses,
|
|
24
24
|
filterHoverClasses,
|
|
25
25
|
onToggleDynamicFilter
|
|
26
|
-
}: DynamicFiltersScrollbarProps) =>
|
|
26
|
+
}: DynamicFiltersScrollbarProps) => react_jsx_runtime19.JSX.Element;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { DynamicFiltersScrollbar };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime11 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/DynamicFiltersScrollbar/DynamicFiltersScrollbar.d.ts
|
|
4
4
|
interface DynamicFiltersScrollbarProps {
|
|
@@ -23,6 +23,6 @@ declare const DynamicFiltersScrollbar: ({
|
|
|
23
23
|
filterDefaultClasses,
|
|
24
24
|
filterHoverClasses,
|
|
25
25
|
onToggleDynamicFilter
|
|
26
|
-
}: DynamicFiltersScrollbarProps) =>
|
|
26
|
+
}: DynamicFiltersScrollbarProps) => react_jsx_runtime11.JSX.Element;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { DynamicFiltersScrollbar };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime11 from "react/jsx-runtime";
|
|
2
2
|
import { SelectedFilterOption } from "@envive-ai/react-hooks/atoms/search";
|
|
3
3
|
|
|
4
4
|
//#region src/components/FilterScrollbar/AppliedFiltersScrollbar.d.ts
|
|
@@ -17,6 +17,6 @@ declare const AppliedFiltersScrollbar: ({
|
|
|
17
17
|
filterHoverClasses,
|
|
18
18
|
appliedFilterBackgroundClasses,
|
|
19
19
|
onRemoveFilter
|
|
20
|
-
}: AppliedFiltersScrollbarProps) =>
|
|
20
|
+
}: AppliedFiltersScrollbarProps) => react_jsx_runtime11.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { AppliedFiltersScrollbar };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime13 from "react/jsx-runtime";
|
|
2
2
|
import { SelectedFilterOption } from "@envive-ai/react-hooks/atoms/search";
|
|
3
3
|
|
|
4
4
|
//#region src/components/FilterScrollbar/AppliedFiltersScrollbar.d.ts
|
|
@@ -17,6 +17,6 @@ declare const AppliedFiltersScrollbar: ({
|
|
|
17
17
|
filterHoverClasses,
|
|
18
18
|
appliedFilterBackgroundClasses,
|
|
19
19
|
onRemoveFilter
|
|
20
|
-
}: AppliedFiltersScrollbarProps) =>
|
|
20
|
+
}: AppliedFiltersScrollbarProps) => react_jsx_runtime13.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { AppliedFiltersScrollbar };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime10 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/FilterScrollbar/DynamicFiltersScrollbar.d.ts
|
|
4
4
|
interface DynamicFiltersScrollbarProps {
|
|
@@ -23,6 +23,6 @@ declare const DynamicFiltersScrollbar: ({
|
|
|
23
23
|
filterDefaultClasses,
|
|
24
24
|
filterHoverClasses,
|
|
25
25
|
onToggleDynamicFilter
|
|
26
|
-
}: DynamicFiltersScrollbarProps) =>
|
|
26
|
+
}: DynamicFiltersScrollbarProps) => react_jsx_runtime10.JSX.Element;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { DynamicFiltersScrollbar };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime12 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/FilterScrollbar/DynamicFiltersScrollbar.d.ts
|
|
4
4
|
interface DynamicFiltersScrollbarProps {
|
|
@@ -23,6 +23,6 @@ declare const DynamicFiltersScrollbar: ({
|
|
|
23
23
|
filterDefaultClasses,
|
|
24
24
|
filterHoverClasses,
|
|
25
25
|
onToggleDynamicFilter
|
|
26
|
-
}: DynamicFiltersScrollbarProps) =>
|
|
26
|
+
}: DynamicFiltersScrollbarProps) => react_jsx_runtime12.JSX.Element;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { DynamicFiltersScrollbar };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime20 from "react/jsx-runtime";
|
|
2
2
|
import React from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ImageWithFallback/ImageWithFallback.d.ts
|
|
@@ -21,6 +21,6 @@ declare const ImageWithFallback: ({
|
|
|
21
21
|
imageClassnames,
|
|
22
22
|
onLoad,
|
|
23
23
|
onError
|
|
24
|
-
}: ImageWithFallbackProps) =>
|
|
24
|
+
}: ImageWithFallbackProps) => react_jsx_runtime20.JSX.Element;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { ImageWithFallback, ImageWithFallbackProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime25 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ImageWithFallback/ImageWithFallback.d.ts
|
|
5
5
|
interface ImageWithFallbackProps {
|
|
@@ -21,6 +21,6 @@ declare const ImageWithFallback: ({
|
|
|
21
21
|
imageClassnames,
|
|
22
22
|
onLoad,
|
|
23
23
|
onError
|
|
24
|
-
}: ImageWithFallbackProps) =>
|
|
24
|
+
}: ImageWithFallbackProps) => react_jsx_runtime25.JSX.Element;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { ImageWithFallback, ImageWithFallbackProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ModalSheetProps } from "./types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime17 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ModalSheet/ModalSheet.d.ts
|
|
5
5
|
declare const ModalSheet: ({
|
|
@@ -10,6 +10,6 @@ declare const ModalSheet: ({
|
|
|
10
10
|
desktopWidth,
|
|
11
11
|
headerProps,
|
|
12
12
|
footerProps
|
|
13
|
-
}: ModalSheetProps) =>
|
|
13
|
+
}: ModalSheetProps) => react_jsx_runtime17.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { ModalSheet };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ModalSheetProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime14 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ModalSheet/ModalSheet.d.ts
|
|
5
5
|
declare const ModalSheet: ({
|
|
@@ -10,6 +10,6 @@ declare const ModalSheet: ({
|
|
|
10
10
|
desktopWidth,
|
|
11
11
|
headerProps,
|
|
12
12
|
footerProps
|
|
13
|
-
}: ModalSheetProps) =>
|
|
13
|
+
}: ModalSheetProps) => react_jsx_runtime14.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { ModalSheet };
|
|
@@ -4,7 +4,7 @@ const require_Typography = require('../Typography/Typography.cjs');
|
|
|
4
4
|
require('../Typography/index.cjs');
|
|
5
5
|
const require_ImageWithFallback = require('../ImageWithFallback/ImageWithFallback.cjs');
|
|
6
6
|
require('../ImageWithFallback/index.cjs');
|
|
7
|
-
|
|
7
|
+
require('../../logging/logger.cjs');
|
|
8
8
|
const require_productCardVariants = require('./productCardVariants.cjs');
|
|
9
9
|
const require_Spinner = require('../Spinner/Spinner.cjs');
|
|
10
10
|
require('../Spinner/index.cjs');
|
|
@@ -14,9 +14,10 @@ let react_jsx_runtime = require("react/jsx-runtime");
|
|
|
14
14
|
let react_icons_md = require("react-icons/md");
|
|
15
15
|
let __envive_ai_react_hooks_hooks_ImageResolver = require("@envive-ai/react-hooks/hooks/ImageResolver");
|
|
16
16
|
let __envive_ai_react_hooks_config = require("@envive-ai/react-hooks/config");
|
|
17
|
+
let __envive_ai_react_hooks_application_logging = require("@envive-ai/react-hooks/application/logging");
|
|
17
18
|
|
|
18
19
|
//#region src/components/ProductCard/ProductCard.tsx
|
|
19
|
-
const logger = new
|
|
20
|
+
const logger = new __envive_ai_react_hooks_application_logging.default("ProductCard");
|
|
20
21
|
const formatReviews = (stars) => String(Number(stars).toLocaleString("en-US", {
|
|
21
22
|
minimumFractionDigits: 1,
|
|
22
23
|
maximumFractionDigits: 1
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ProductCardConfig, ProductCardHoverVariant, ProductCardLayoutVariant, ProductCardVariant } from "./types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime13 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ProductCard/ProductCard.d.ts
|
|
5
5
|
interface RatingSummaryProps {
|
|
@@ -11,7 +11,7 @@ declare const RatingSummary: ({
|
|
|
11
11
|
stars,
|
|
12
12
|
reviewCount,
|
|
13
13
|
className
|
|
14
|
-
}: RatingSummaryProps) =>
|
|
14
|
+
}: RatingSummaryProps) => react_jsx_runtime13.JSX.Element;
|
|
15
15
|
interface PriceSectionProps {
|
|
16
16
|
originalPrice?: string;
|
|
17
17
|
salePrice?: string;
|
|
@@ -21,7 +21,7 @@ declare const PriceSection: ({
|
|
|
21
21
|
originalPrice,
|
|
22
22
|
salePrice,
|
|
23
23
|
pricePrefix
|
|
24
|
-
}: PriceSectionProps) =>
|
|
24
|
+
}: PriceSectionProps) => react_jsx_runtime13.JSX.Element;
|
|
25
25
|
interface ProductCardProps {
|
|
26
26
|
productCardConfig?: ProductCardConfig;
|
|
27
27
|
merchantShortName: string;
|
|
@@ -59,6 +59,6 @@ declare const ProductCard: ({
|
|
|
59
59
|
aspectRatio,
|
|
60
60
|
growWithContainer,
|
|
61
61
|
onClick
|
|
62
|
-
}: ProductCardProps) =>
|
|
62
|
+
}: ProductCardProps) => react_jsx_runtime13.JSX.Element;
|
|
63
63
|
//#endregion
|
|
64
64
|
export { PriceSection, ProductCard, RatingSummary, RatingSummaryProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ProductCardConfig, ProductCardHoverVariant, ProductCardLayoutVariant, ProductCardVariant } from "./types.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
|
interface RatingSummaryProps {
|
|
@@ -11,7 +11,7 @@ declare const RatingSummary: ({
|
|
|
11
11
|
stars,
|
|
12
12
|
reviewCount,
|
|
13
13
|
className
|
|
14
|
-
}: RatingSummaryProps) =>
|
|
14
|
+
}: RatingSummaryProps) => react_jsx_runtime19.JSX.Element;
|
|
15
15
|
interface PriceSectionProps {
|
|
16
16
|
originalPrice?: string;
|
|
17
17
|
salePrice?: string;
|
|
@@ -21,7 +21,7 @@ declare const PriceSection: ({
|
|
|
21
21
|
originalPrice,
|
|
22
22
|
salePrice,
|
|
23
23
|
pricePrefix
|
|
24
|
-
}: PriceSectionProps) =>
|
|
24
|
+
}: PriceSectionProps) => react_jsx_runtime19.JSX.Element;
|
|
25
25
|
interface ProductCardProps {
|
|
26
26
|
productCardConfig?: ProductCardConfig;
|
|
27
27
|
merchantShortName: string;
|
|
@@ -59,6 +59,6 @@ declare const ProductCard: ({
|
|
|
59
59
|
aspectRatio,
|
|
60
60
|
growWithContainer,
|
|
61
61
|
onClick
|
|
62
|
-
}: ProductCardProps) =>
|
|
62
|
+
}: ProductCardProps) => react_jsx_runtime19.JSX.Element;
|
|
63
63
|
//#endregion
|
|
64
64
|
export { PriceSection, ProductCard, RatingSummary, RatingSummaryProps };
|
|
@@ -3,7 +3,7 @@ import { Typography } from "../Typography/Typography.js";
|
|
|
3
3
|
import "../Typography/index.js";
|
|
4
4
|
import { ImageWithFallback } from "../ImageWithFallback/ImageWithFallback.js";
|
|
5
5
|
import "../ImageWithFallback/index.js";
|
|
6
|
-
import
|
|
6
|
+
import { logging_default } from "../../logging/logger.js";
|
|
7
7
|
import { productCardLayoutVariantClasses, variantClassMap, variantHoverClassMap, variantTitleColorMap } from "./productCardVariants.js";
|
|
8
8
|
import { Spinner } from "../Spinner/Spinner.js";
|
|
9
9
|
import "../Spinner/index.js";
|
|
@@ -14,7 +14,7 @@ import { useImageResolver } from "@envive-ai/react-hooks/hooks/ImageResolver";
|
|
|
14
14
|
import { PRODUCT_CARD_TESTID } from "@envive-ai/react-hooks/config";
|
|
15
15
|
|
|
16
16
|
//#region src/components/ProductCard/ProductCard.tsx
|
|
17
|
-
const logger = new
|
|
17
|
+
const logger = new logging_default("ProductCard");
|
|
18
18
|
const formatReviews = (stars) => String(Number(stars).toLocaleString("en-US", {
|
|
19
19
|
minimumFractionDigits: 1,
|
|
20
20
|
maximumFractionDigits: 1
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ProductCardConfig, ProductGridVariant } from "../ProductCard/types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime9 from "react/jsx-runtime";
|
|
3
3
|
import { SearchResponseProductAttributes } from "@envive-ai/react-hooks/application/models";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ProductGrid/ProductGrid.d.ts
|
|
@@ -20,6 +20,6 @@ declare const ProductGrid: ({
|
|
|
20
20
|
merchantShortName,
|
|
21
21
|
cardsGrowWithContainer,
|
|
22
22
|
onProductClick
|
|
23
|
-
}: ProductGridProps) =>
|
|
23
|
+
}: ProductGridProps) => react_jsx_runtime9.JSX.Element;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { ProductGrid };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ProductCardConfig, ProductGridVariant } from "../ProductCard/types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime22 from "react/jsx-runtime";
|
|
3
3
|
import { SearchResponseProductAttributes } from "@envive-ai/react-hooks/application/models";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ProductGrid/ProductGrid.d.ts
|
|
@@ -20,6 +20,6 @@ declare const ProductGrid: ({
|
|
|
20
20
|
merchantShortName,
|
|
21
21
|
cardsGrowWithContainer,
|
|
22
22
|
onProductClick
|
|
23
|
-
}: ProductGridProps) =>
|
|
23
|
+
}: ProductGridProps) => react_jsx_runtime22.JSX.Element;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { ProductGrid };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
2
2
|
import { TestProps } from "@envive-ai/react-hooks/types";
|
|
3
3
|
|
|
4
4
|
//#region src/components/RadioButton/RadioButton.d.ts
|
|
@@ -27,6 +27,6 @@ declare const RadioButton: ({
|
|
|
27
27
|
checked,
|
|
28
28
|
onChange,
|
|
29
29
|
id
|
|
30
|
-
}: RadioButtonProps) =>
|
|
30
|
+
}: RadioButtonProps) => react_jsx_runtime1.JSX.Element;
|
|
31
31
|
//#endregion
|
|
32
32
|
export { RadioButton };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime18 from "react/jsx-runtime";
|
|
2
2
|
import { TestProps } from "@envive-ai/react-hooks/types";
|
|
3
3
|
|
|
4
4
|
//#region src/components/RadioButton/RadioButton.d.ts
|
|
@@ -27,6 +27,6 @@ declare const RadioButton: ({
|
|
|
27
27
|
checked,
|
|
28
28
|
onChange,
|
|
29
29
|
id
|
|
30
|
-
}: RadioButtonProps) =>
|
|
30
|
+
}: RadioButtonProps) => react_jsx_runtime18.JSX.Element;
|
|
31
31
|
//#endregion
|
|
32
32
|
export { RadioButton };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime12 from "react/jsx-runtime";
|
|
2
2
|
import { TestProps } from "@envive-ai/react-hooks/types";
|
|
3
3
|
|
|
4
4
|
//#region src/components/RadioButtonGroup/RadioButtonGroup.d.ts
|
|
@@ -31,6 +31,6 @@ declare const RadioButtonGroup: ({
|
|
|
31
31
|
gap,
|
|
32
32
|
textButtonGap,
|
|
33
33
|
onChange
|
|
34
|
-
}: RadioButtonGroupProps) =>
|
|
34
|
+
}: RadioButtonGroupProps) => react_jsx_runtime12.JSX.Element;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { RadioButtonGroup, SPIFFY_RADIO_BUTTON_GROUP_CLASS };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime24 from "react/jsx-runtime";
|
|
2
2
|
import { TestProps } from "@envive-ai/react-hooks/types";
|
|
3
3
|
|
|
4
4
|
//#region src/components/RadioButtonGroup/RadioButtonGroup.d.ts
|
|
@@ -31,6 +31,6 @@ declare const RadioButtonGroup: ({
|
|
|
31
31
|
gap,
|
|
32
32
|
textButtonGap,
|
|
33
33
|
onChange
|
|
34
|
-
}: RadioButtonGroupProps) =>
|
|
34
|
+
}: RadioButtonGroupProps) => react_jsx_runtime24.JSX.Element;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { RadioButtonGroup, SPIFFY_RADIO_BUTTON_GROUP_CLASS };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime6 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/SearchAutocomplete/SearchAutocomplete.d.ts
|
|
4
4
|
interface GlobalSearchAutocompleteProps {
|
|
@@ -16,6 +16,6 @@ declare const SearchAutocomplete: ({
|
|
|
16
16
|
searchText,
|
|
17
17
|
onSuggestionSelect,
|
|
18
18
|
iconColor
|
|
19
|
-
}: GlobalSearchAutocompleteProps) =>
|
|
19
|
+
}: GlobalSearchAutocompleteProps) => react_jsx_runtime6.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { SearchAutocomplete };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SearchFilterProps } from "./types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime26 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/SearchFilter/SearchFilter.d.ts
|
|
5
5
|
declare const SearchFilter: ({
|
|
@@ -18,6 +18,6 @@ declare const SearchFilter: ({
|
|
|
18
18
|
radioButtonHoverColor,
|
|
19
19
|
radioButtonUncheckedBorderColor,
|
|
20
20
|
filterCloseIconVariant
|
|
21
|
-
}: SearchFilterProps) =>
|
|
21
|
+
}: SearchFilterProps) => react_jsx_runtime26.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { SearchFilter };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SearchFilterProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/SearchFilter/SearchFilter.d.ts
|
|
5
5
|
declare const SearchFilter: ({
|
|
@@ -18,6 +18,6 @@ declare const SearchFilter: ({
|
|
|
18
18
|
radioButtonHoverColor,
|
|
19
19
|
radioButtonUncheckedBorderColor,
|
|
20
20
|
filterCloseIconVariant
|
|
21
|
-
}: SearchFilterProps) =>
|
|
21
|
+
}: SearchFilterProps) => react_jsx_runtime1.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { SearchFilter };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime22 from "react/jsx-runtime";
|
|
2
2
|
import { FilterFooterProps } from "@envive-ai/react-hooks/types";
|
|
3
3
|
|
|
4
4
|
//#region src/components/SearchFilter/SearchFilterFooter.d.ts
|
|
@@ -9,6 +9,6 @@ declare const SearchFilterFooter: ({
|
|
|
9
9
|
applyFiltersUnchangedClasses,
|
|
10
10
|
applyFiltersChangedClasses,
|
|
11
11
|
hasFiltersChanged
|
|
12
|
-
}: FilterFooterProps) =>
|
|
12
|
+
}: FilterFooterProps) => react_jsx_runtime22.JSX.Element;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { SearchFilterFooter };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
2
2
|
import { FilterFooterProps } from "@envive-ai/react-hooks/types";
|
|
3
3
|
|
|
4
4
|
//#region src/components/SearchFilter/SearchFilterFooter.d.ts
|
|
@@ -9,6 +9,6 @@ declare const SearchFilterFooter: ({
|
|
|
9
9
|
applyFiltersUnchangedClasses,
|
|
10
10
|
applyFiltersChangedClasses,
|
|
11
11
|
hasFiltersChanged
|
|
12
|
-
}: FilterFooterProps) =>
|
|
12
|
+
}: FilterFooterProps) => react_jsx_runtime3.JSX.Element;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { SearchFilterFooter };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SearchFilterHeaderProps } from "./types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime23 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/SearchFilter/SearchFilterHeader.d.ts
|
|
5
5
|
declare const SearchFilterHeader: ({
|
|
@@ -7,6 +7,6 @@ declare const SearchFilterHeader: ({
|
|
|
7
7
|
productCount,
|
|
8
8
|
headerClassName,
|
|
9
9
|
filterCloseIconVariant
|
|
10
|
-
}: SearchFilterHeaderProps) =>
|
|
10
|
+
}: SearchFilterHeaderProps) => react_jsx_runtime23.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { SearchFilterHeader };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SearchFilterHeaderProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/SearchFilter/SearchFilterHeader.d.ts
|
|
5
5
|
declare const SearchFilterHeader: ({
|
|
@@ -7,6 +7,6 @@ declare const SearchFilterHeader: ({
|
|
|
7
7
|
productCount,
|
|
8
8
|
headerClassName,
|
|
9
9
|
filterCloseIconVariant
|
|
10
|
-
}: SearchFilterHeaderProps) =>
|
|
10
|
+
}: SearchFilterHeaderProps) => react_jsx_runtime0.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { SearchFilterHeader };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SearchFilterItemProps } from "./types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime24 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/SearchFilter/SearchFilterItem.d.ts
|
|
5
5
|
declare const SearchFilterItem: ({
|
|
@@ -8,6 +8,6 @@ declare const SearchFilterItem: ({
|
|
|
8
8
|
radioButtonFillColor,
|
|
9
9
|
radioButtonHoverColor,
|
|
10
10
|
radioButtonUncheckedBorderColor
|
|
11
|
-
}: SearchFilterItemProps) =>
|
|
11
|
+
}: SearchFilterItemProps) => react_jsx_runtime24.JSX.Element;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { SearchFilterItem };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SearchFilterItemProps } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/SearchFilter/SearchFilterItem.d.ts
|
|
5
5
|
declare const SearchFilterItem: ({
|
|
@@ -8,6 +8,6 @@ declare const SearchFilterItem: ({
|
|
|
8
8
|
radioButtonFillColor,
|
|
9
9
|
radioButtonHoverColor,
|
|
10
10
|
radioButtonUncheckedBorderColor
|
|
11
|
-
}: SearchFilterItemProps) =>
|
|
11
|
+
}: SearchFilterItemProps) => react_jsx_runtime2.JSX.Element;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { SearchFilterItem };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SearchInputVariant } from "../../atoms/search/types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime5 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/SearchInputForm/SearchInputForm.d.ts
|
|
5
5
|
interface SearchInputFormProps {
|
|
@@ -33,6 +33,6 @@ declare const SearchInputForm: ({
|
|
|
33
33
|
onSearchInputFocus,
|
|
34
34
|
onSearchInputBlur,
|
|
35
35
|
searchInputRef
|
|
36
|
-
}: SearchInputFormProps) =>
|
|
36
|
+
}: SearchInputFormProps) => react_jsx_runtime5.JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { SearchInputForm };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SearchInputVariant } from "../../atoms/search/types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime15 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/SearchInputForm/SearchInputForm.d.ts
|
|
5
5
|
interface SearchInputFormProps {
|
|
@@ -33,6 +33,6 @@ declare const SearchInputForm: ({
|
|
|
33
33
|
onSearchInputFocus,
|
|
34
34
|
onSearchInputBlur,
|
|
35
35
|
searchInputRef
|
|
36
|
-
}: SearchInputFormProps) =>
|
|
36
|
+
}: SearchInputFormProps) => react_jsx_runtime15.JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { SearchInputForm };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ProductCardConfig, ProductGridVariant, SearchResponseProductAttributes } from "../ProductCard/types.cjs";
|
|
2
2
|
import { SearchFilterSidebarVariant } from "../SearchResultsFilterSidebar/types.cjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime6 from "react/jsx-runtime";
|
|
4
4
|
import { SelectedFilterOption } from "@envive-ai/react-hooks/atoms/search";
|
|
5
5
|
import { SearchResponseProduct } from "@spiffy-ai/commerce-api-client";
|
|
6
6
|
import { SearchResultsState } from "@envive-ai/react-hooks/hooks/utils";
|
|
@@ -52,6 +52,6 @@ declare const SearchResultsContent: ({
|
|
|
52
52
|
searchResultsRef,
|
|
53
53
|
toolbarHeight,
|
|
54
54
|
query
|
|
55
|
-
}: SearchResultsContentProps) =>
|
|
55
|
+
}: SearchResultsContentProps) => react_jsx_runtime6.JSX.Element;
|
|
56
56
|
//#endregion
|
|
57
57
|
export { SearchResultsContent };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ProductCardConfig, ProductGridVariant, SearchResponseProductAttributes } from "../ProductCard/types.js";
|
|
2
2
|
import { SearchFilterSidebarVariant } from "../SearchResultsFilterSidebar/types.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime16 from "react/jsx-runtime";
|
|
4
4
|
import { SearchResultsState } from "@envive-ai/react-hooks/hooks/utils";
|
|
5
5
|
import { SelectedFilterOption } from "@envive-ai/react-hooks/atoms/search";
|
|
6
6
|
import { SearchResponseProduct } from "@spiffy-ai/commerce-api-client";
|
|
@@ -52,6 +52,6 @@ declare const SearchResultsContent: ({
|
|
|
52
52
|
searchResultsRef,
|
|
53
53
|
toolbarHeight,
|
|
54
54
|
query
|
|
55
|
-
}: SearchResultsContentProps) =>
|
|
55
|
+
}: SearchResultsContentProps) => react_jsx_runtime16.JSX.Element;
|
|
56
56
|
//#endregion
|
|
57
57
|
export { SearchResultsContent };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime8 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/SearchResultsFilterButton/SearchResultsFilterButton.d.ts
|
|
4
4
|
type SearchResultsFilterButtonProps = {
|
|
@@ -8,6 +8,6 @@ type SearchResultsFilterButtonProps = {
|
|
|
8
8
|
declare const SearchResultsFilterButton: ({
|
|
9
9
|
setIsOpen,
|
|
10
10
|
filterButtonText
|
|
11
|
-
}: SearchResultsFilterButtonProps) =>
|
|
11
|
+
}: SearchResultsFilterButtonProps) => react_jsx_runtime8.JSX.Element;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { SearchResultsFilterButton, SearchResultsFilterButtonProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime8 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/SearchResultsFilterButton/SearchResultsFilterButton.d.ts
|
|
4
4
|
type SearchResultsFilterButtonProps = {
|
|
@@ -8,6 +8,6 @@ type SearchResultsFilterButtonProps = {
|
|
|
8
8
|
declare const SearchResultsFilterButton: ({
|
|
9
9
|
setIsOpen,
|
|
10
10
|
filterButtonText
|
|
11
|
-
}: SearchResultsFilterButtonProps) =>
|
|
11
|
+
}: SearchResultsFilterButtonProps) => react_jsx_runtime8.JSX.Element;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { SearchResultsFilterButton, SearchResultsFilterButtonProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SearchFilterSidebarVariant } from "../SearchResultsFilterSidebar/types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime29 from "react/jsx-runtime";
|
|
3
3
|
import { SearchFilterDatum, SelectFilterItem } from "@envive-ai/react-hooks/types";
|
|
4
4
|
|
|
5
5
|
//#region src/components/SearchResultsFilterModal/SearchResultsFilterModal.d.ts
|
|
@@ -22,6 +22,6 @@ declare const SearchResultsFilterModal: ({
|
|
|
22
22
|
onSelectFilterItem,
|
|
23
23
|
onClearAllFilters,
|
|
24
24
|
filterButtonText
|
|
25
|
-
}: SearchResultsFilterModalProps) =>
|
|
25
|
+
}: SearchResultsFilterModalProps) => react_jsx_runtime29.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { SearchResultsFilterModal, SearchResultsFilterModalProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SearchFilterSidebarVariant } from "../SearchResultsFilterSidebar/types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime5 from "react/jsx-runtime";
|
|
3
3
|
import { SearchFilterDatum, SelectFilterItem } from "@envive-ai/react-hooks/types";
|
|
4
4
|
|
|
5
5
|
//#region src/components/SearchResultsFilterModal/SearchResultsFilterModal.d.ts
|
|
@@ -22,6 +22,6 @@ declare const SearchResultsFilterModal: ({
|
|
|
22
22
|
onSelectFilterItem,
|
|
23
23
|
onClearAllFilters,
|
|
24
24
|
filterButtonText
|
|
25
|
-
}: SearchResultsFilterModalProps) =>
|
|
25
|
+
}: SearchResultsFilterModalProps) => react_jsx_runtime5.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { SearchResultsFilterModal, SearchResultsFilterModalProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SearchFilterSidebarVariant } from "./types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime31 from "react/jsx-runtime";
|
|
3
3
|
import { SearchFilterDatum, SelectFilterItem } from "@envive-ai/react-hooks/types";
|
|
4
4
|
|
|
5
5
|
//#region src/components/SearchResultsFilterSidebar/SearchResultsFilter.d.ts
|
|
@@ -22,6 +22,6 @@ declare const SearchResultsFilter: ({
|
|
|
22
22
|
onSelectFilterItem,
|
|
23
23
|
onClearAllFilters,
|
|
24
24
|
filterButtonText
|
|
25
|
-
}: SearchResultsFilterProps) =>
|
|
25
|
+
}: SearchResultsFilterProps) => react_jsx_runtime31.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { SearchResultsFilter, SearchResultsFilterProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SearchFilterSidebarVariant } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime10 from "react/jsx-runtime";
|
|
3
3
|
import { SearchFilterDatum, SelectFilterItem } from "@envive-ai/react-hooks/types";
|
|
4
4
|
|
|
5
5
|
//#region src/components/SearchResultsFilterSidebar/SearchResultsFilter.d.ts
|
|
@@ -22,6 +22,6 @@ declare const SearchResultsFilter: ({
|
|
|
22
22
|
onSelectFilterItem,
|
|
23
23
|
onClearAllFilters,
|
|
24
24
|
filterButtonText
|
|
25
|
-
}: SearchResultsFilterProps) =>
|
|
25
|
+
}: SearchResultsFilterProps) => react_jsx_runtime10.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { SearchResultsFilter, SearchResultsFilterProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ProductGridVariant } from "../ProductCard/types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime25 from "react/jsx-runtime";
|
|
3
3
|
import { SearchResponseProductAttributes } from "@envive-ai/react-hooks/application/models";
|
|
4
4
|
|
|
5
5
|
//#region src/components/SearchResultsStates/NoSearchResultsFound.d.ts
|
|
@@ -20,6 +20,6 @@ declare const NoSearchResultsFound: ({
|
|
|
20
20
|
searchText,
|
|
21
21
|
merchantShortName,
|
|
22
22
|
productGridVariant
|
|
23
|
-
}: NoSearchResultsFoundProps) =>
|
|
23
|
+
}: NoSearchResultsFoundProps) => react_jsx_runtime25.JSX.Element;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { NoSearchResultsFound };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ProductGridVariant } from "../ProductCard/types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime29 from "react/jsx-runtime";
|
|
3
3
|
import { SearchResponseProductAttributes } from "@envive-ai/react-hooks/application/models";
|
|
4
4
|
|
|
5
5
|
//#region src/components/SearchResultsStates/NoSearchResultsFound.d.ts
|
|
@@ -20,6 +20,6 @@ declare const NoSearchResultsFound: ({
|
|
|
20
20
|
searchText,
|
|
21
21
|
merchantShortName,
|
|
22
22
|
productGridVariant
|
|
23
|
-
}: NoSearchResultsFoundProps) =>
|
|
23
|
+
}: NoSearchResultsFoundProps) => react_jsx_runtime29.JSX.Element;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { NoSearchResultsFound };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ProductCardConfig, ProductGridVariant } from "../ProductCard/types.cjs";
|
|
2
2
|
import { SearchFilterSidebarVariant } from "../SearchResultsFilterSidebar/types.cjs";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime27 from "react/jsx-runtime";
|
|
4
4
|
import { SelectedFilterOption } from "@envive-ai/react-hooks/atoms/search";
|
|
5
5
|
import { SearchResponseProduct } from "@spiffy-ai/commerce-api-client";
|
|
6
6
|
|
|
@@ -41,6 +41,6 @@ declare const SearchResultsGrid: ({
|
|
|
41
41
|
onRemoveFilter,
|
|
42
42
|
onToggleDynamicFilter,
|
|
43
43
|
onProductClick
|
|
44
|
-
}: SearchResultsGridProps) =>
|
|
44
|
+
}: SearchResultsGridProps) => react_jsx_runtime27.JSX.Element;
|
|
45
45
|
//#endregion
|
|
46
46
|
export { SearchResultsGrid };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ProductCardConfig, ProductGridVariant } from "../ProductCard/types.js";
|
|
2
2
|
import { SearchFilterSidebarVariant } from "../SearchResultsFilterSidebar/types.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime30 from "react/jsx-runtime";
|
|
4
4
|
import { SelectedFilterOption } from "@envive-ai/react-hooks/atoms/search";
|
|
5
5
|
import { SearchResponseProduct } from "@spiffy-ai/commerce-api-client";
|
|
6
6
|
|
|
@@ -41,6 +41,6 @@ declare const SearchResultsGrid: ({
|
|
|
41
41
|
onRemoveFilter,
|
|
42
42
|
onToggleDynamicFilter,
|
|
43
43
|
onProductClick
|
|
44
|
-
}: SearchResultsGridProps) =>
|
|
44
|
+
}: SearchResultsGridProps) => react_jsx_runtime30.JSX.Element;
|
|
45
45
|
//#endregion
|
|
46
46
|
export { SearchResultsGrid };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ProductGridVariant } from "../ProductCard/types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime28 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/SearchResultsStates/SearchResultsLoadingGrid.d.ts
|
|
5
5
|
declare const SearchResultsLoadingGrid: ({
|
|
@@ -10,6 +10,6 @@ declare const SearchResultsLoadingGrid: ({
|
|
|
10
10
|
productGridVariant: ProductGridVariant;
|
|
11
11
|
productGridClasses: string;
|
|
12
12
|
sparkleIconColor?: string;
|
|
13
|
-
}) =>
|
|
13
|
+
}) => react_jsx_runtime28.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { SearchResultsLoadingGrid };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ProductGridVariant } from "../ProductCard/types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime28 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/SearchResultsStates/SearchResultsLoadingGrid.d.ts
|
|
5
5
|
declare const SearchResultsLoadingGrid: ({
|
|
@@ -10,6 +10,6 @@ declare const SearchResultsLoadingGrid: ({
|
|
|
10
10
|
productGridVariant: ProductGridVariant;
|
|
11
11
|
productGridClasses: string;
|
|
12
12
|
sparkleIconColor?: string;
|
|
13
|
-
}) =>
|
|
13
|
+
}) => react_jsx_runtime28.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { SearchResultsLoadingGrid };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { SearchInputVariant } from "@envive-ai/react-hooks/contexts/types";
|
|
4
4
|
|
|
@@ -44,6 +44,6 @@ declare const SearchResultsToolbar: ({
|
|
|
44
44
|
toolbarRef,
|
|
45
45
|
isVisible,
|
|
46
46
|
className
|
|
47
|
-
}: SearchResultsToolbarProps) =>
|
|
47
|
+
}: SearchResultsToolbarProps) => react_jsx_runtime2.JSX.Element;
|
|
48
48
|
//#endregion
|
|
49
49
|
export { SearchResultsToolbar };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime7 from "react/jsx-runtime";
|
|
3
3
|
import { SearchInputVariant } from "@envive-ai/react-hooks/contexts/types";
|
|
4
4
|
|
|
5
5
|
//#region src/components/SearchResultsToolbar/SearchResultsToolbar.d.ts
|
|
@@ -44,6 +44,6 @@ declare const SearchResultsToolbar: ({
|
|
|
44
44
|
toolbarRef,
|
|
45
45
|
isVisible,
|
|
46
46
|
className
|
|
47
|
-
}: SearchResultsToolbarProps) =>
|
|
47
|
+
}: SearchResultsToolbarProps) => react_jsx_runtime7.JSX.Element;
|
|
48
48
|
//#endregion
|
|
49
49
|
export { SearchResultsToolbar };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/SparkleAnimation/SparkleAnimation.d.ts
|
|
4
4
|
interface SparkleAnimationProps {
|
|
@@ -10,6 +10,6 @@ declare const SparkleAnimation: ({
|
|
|
10
10
|
color,
|
|
11
11
|
className,
|
|
12
12
|
animate
|
|
13
|
-
}: SparkleAnimationProps) =>
|
|
13
|
+
}: SparkleAnimationProps) => react_jsx_runtime4.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { SparkleAnimation };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime31 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/SparkleAnimation/SparkleAnimation.d.ts
|
|
4
4
|
interface SparkleAnimationProps {
|
|
@@ -10,6 +10,6 @@ declare const SparkleAnimation: ({
|
|
|
10
10
|
color,
|
|
11
11
|
className,
|
|
12
12
|
animate
|
|
13
|
-
}: SparkleAnimationProps) =>
|
|
13
|
+
}: SparkleAnimationProps) => react_jsx_runtime31.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { SparkleAnimation };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime9 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_runtime9.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Spinner };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SuggestionButtonVariant } from "./types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime30 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/SuggestionButton/SuggestionButton.d.ts
|
|
5
5
|
declare const SPIFFY_SUGGESTION_BUTTON_QUESTION_CLASS = "spiffy-suggestion-button-question-class";
|
|
@@ -28,6 +28,6 @@ declare const SuggestionButton: ({
|
|
|
28
28
|
dataAttributes,
|
|
29
29
|
dataTestId,
|
|
30
30
|
onClick
|
|
31
|
-
}: SuggestionButtonProps) =>
|
|
31
|
+
}: SuggestionButtonProps) => react_jsx_runtime30.JSX.Element;
|
|
32
32
|
//#endregion
|
|
33
33
|
export { SPIFFY_SUGGESTION_BUTTON_ANSWER_CLASS, SPIFFY_SUGGESTION_BUTTON_QUESTION_CLASS, SPIFFY_SUGGESTION_BUTTON_TEXT_CLASS, SuggestionButton };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SuggestionButtonVariant } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/SuggestionButton/SuggestionButton.d.ts
|
|
5
5
|
declare const SPIFFY_SUGGESTION_BUTTON_QUESTION_CLASS = "spiffy-suggestion-button-question-class";
|
|
@@ -28,6 +28,6 @@ declare const SuggestionButton: ({
|
|
|
28
28
|
dataAttributes,
|
|
29
29
|
dataTestId,
|
|
30
30
|
onClick
|
|
31
|
-
}: SuggestionButtonProps) =>
|
|
31
|
+
}: SuggestionButtonProps) => react_jsx_runtime0.JSX.Element;
|
|
32
32
|
//#endregion
|
|
33
33
|
export { SPIFFY_SUGGESTION_BUTTON_ANSWER_CLASS, SPIFFY_SUGGESTION_BUTTON_QUESTION_CLASS, SPIFFY_SUGGESTION_BUTTON_TEXT_CLASS, SuggestionButton };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/ToggleButton/ToggleButton.d.ts
|
|
4
4
|
type ToggleButtonProps = {
|
|
@@ -25,6 +25,6 @@ declare const ToggleButton: ({
|
|
|
25
25
|
icon,
|
|
26
26
|
iconClassName,
|
|
27
27
|
variant
|
|
28
|
-
}: ToggleButtonProps) =>
|
|
28
|
+
}: ToggleButtonProps) => react_jsx_runtime0.JSX.Element;
|
|
29
29
|
//#endregion
|
|
30
30
|
export { ToggleButton, ToggleButtonProps, ToggleButtonVariant };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/ToggleButton/ToggleButton.d.ts
|
|
4
4
|
type ToggleButtonProps = {
|
|
@@ -25,6 +25,6 @@ declare const ToggleButton: ({
|
|
|
25
25
|
icon,
|
|
26
26
|
iconClassName,
|
|
27
27
|
variant
|
|
28
|
-
}: ToggleButtonProps) =>
|
|
28
|
+
}: ToggleButtonProps) => react_jsx_runtime4.JSX.Element;
|
|
29
29
|
//#endregion
|
|
30
30
|
export { ToggleButton, ToggleButtonProps, ToggleButtonVariant };
|
package/dist/logging/logger.cjs
CHANGED
|
@@ -1,26 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
constructor(caller) {
|
|
5
|
-
this.caller = caller;
|
|
6
|
-
}
|
|
7
|
-
static getTimestamp() {
|
|
8
|
-
return (/* @__PURE__ */ new Date()).toISOString();
|
|
9
|
-
}
|
|
10
|
-
logInfo(message, ...args) {
|
|
11
|
-
console.info(`INFO: [envive-ai] ${Logger.getTimestamp()} - ${this.caller} - ${message}`, ...args);
|
|
12
|
-
}
|
|
13
|
-
logDebug(message, ...args) {
|
|
14
|
-
console.debug(`DEBUG: [envive-ai] ${Logger.getTimestamp()} - ${this.caller} - ${message}`, ...args);
|
|
15
|
-
}
|
|
16
|
-
logError(message, error, ...args) {
|
|
17
|
-
console.error(`ERROR: [envive-ai] ${Logger.getTimestamp()} - ${this.caller} - ${message} error=${error}`, args);
|
|
18
|
-
}
|
|
19
|
-
logWarn(message, error, ...args) {
|
|
20
|
-
console.warn(`WARN: [envive-ai] ${Logger.getTimestamp()} - ${this.caller} - ${message} error=${error}`, args);
|
|
21
|
-
}
|
|
22
|
-
};
|
|
23
|
-
var logger_default = Logger;
|
|
24
|
-
|
|
25
|
-
//#endregion
|
|
26
|
-
exports.default = logger_default;
|
|
1
|
+
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
let __envive_ai_react_hooks_application_logging = require("@envive-ai/react-hooks/application/logging");
|
|
3
|
+
__envive_ai_react_hooks_application_logging = require_rolldown_runtime.__toESM(__envive_ai_react_hooks_application_logging);
|
package/dist/logging/logger.js
CHANGED
|
@@ -1,25 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
var Logger = class Logger {
|
|
3
|
-
constructor(caller) {
|
|
4
|
-
this.caller = caller;
|
|
5
|
-
}
|
|
6
|
-
static getTimestamp() {
|
|
7
|
-
return (/* @__PURE__ */ new Date()).toISOString();
|
|
8
|
-
}
|
|
9
|
-
logInfo(message, ...args) {
|
|
10
|
-
console.info(`INFO: [envive-ai] ${Logger.getTimestamp()} - ${this.caller} - ${message}`, ...args);
|
|
11
|
-
}
|
|
12
|
-
logDebug(message, ...args) {
|
|
13
|
-
console.debug(`DEBUG: [envive-ai] ${Logger.getTimestamp()} - ${this.caller} - ${message}`, ...args);
|
|
14
|
-
}
|
|
15
|
-
logError(message, error, ...args) {
|
|
16
|
-
console.error(`ERROR: [envive-ai] ${Logger.getTimestamp()} - ${this.caller} - ${message} error=${error}`, args);
|
|
17
|
-
}
|
|
18
|
-
logWarn(message, error, ...args) {
|
|
19
|
-
console.warn(`WARN: [envive-ai] ${Logger.getTimestamp()} - ${this.caller} - ${message} error=${error}`, args);
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
|
-
var logger_default = Logger;
|
|
1
|
+
import logging_default from "@envive-ai/react-hooks/application/logging";
|
|
23
2
|
|
|
24
|
-
|
|
25
|
-
export { logger_default as default };
|
|
3
|
+
export { logging_default };
|
package/package.json
CHANGED
package/src/logging/logger.ts
CHANGED
|
@@ -1,46 +1,13 @@
|
|
|
1
|
-
/*
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
return new Date().toISOString();
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
logInfo(message: string, ...args: unknown[]): void {
|
|
18
|
-
console.info(
|
|
19
|
-
`INFO: [envive-ai] ${Logger.getTimestamp()} - ${this.caller} - ${message}`,
|
|
20
|
-
...args,
|
|
21
|
-
);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
logDebug(message: string, ...args: unknown[]): void {
|
|
25
|
-
console.debug(
|
|
26
|
-
`DEBUG: [envive-ai] ${Logger.getTimestamp()} - ${this.caller} - ${message}`,
|
|
27
|
-
...args,
|
|
28
|
-
);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
logError(message: string, error: unknown | undefined, ...args: unknown[]): void {
|
|
32
|
-
console.error(
|
|
33
|
-
`ERROR: [envive-ai] ${Logger.getTimestamp()} - ${this.caller} - ${message} error=${error}`,
|
|
34
|
-
args,
|
|
35
|
-
);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
logWarn(message: string, error: unknown | undefined, ...args: unknown[]): void {
|
|
39
|
-
console.warn(
|
|
40
|
-
`WARN: [envive-ai] ${Logger.getTimestamp()} - ${this.caller} - ${message} error=${error}`,
|
|
41
|
-
args,
|
|
42
|
-
);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export default Logger;
|
|
1
|
+
/* Re-exported so every package shares one Logger, and therefore one log-level
|
|
2
|
+
* gate.
|
|
3
|
+
*
|
|
4
|
+
* Debug and info are muted by default. To turn them back on, in priority order:
|
|
5
|
+
* ?envive_log_level=debug (support lever; persists across navigation)
|
|
6
|
+
* setLogLevel('debug') (programmatic)
|
|
7
|
+
* window._envive.logLevel (flip live from the browser console)
|
|
8
|
+
* localStorage['envive-log-level']
|
|
9
|
+
*
|
|
10
|
+
* Levels: silent < error < warn (default) < info < debug.
|
|
11
|
+
* See @envive-ai/react-hooks/application/logging for the full contract. */
|
|
12
|
+
export { default } from '@envive-ai/react-hooks/application/logging';
|
|
13
|
+
export type { LogLevel } from '@envive-ai/react-hooks/application/logging';
|