@envive-ai/react-toolkit 0.2.8 → 0.2.10
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.d.cts +2 -2
- package/dist/Accordion/index.d.ts +2 -2
- package/dist/AnimatedChevron/index.d.cts +2 -2
- package/dist/AnimatedChevron/index.d.ts +2 -2
- package/dist/AppliedFiltersScrollbar/index.d.cts +2 -2
- package/dist/AppliedFiltersScrollbar/index.d.ts +2 -2
- package/dist/ButtonBase/index.d.cts +2 -2
- package/dist/ButtonBase/index.d.ts +2 -2
- package/dist/DynamicFiltersScrollbar/index.d.cts +2 -2
- package/dist/FilterScrollbar/index.cjs +1 -1
- package/dist/FilterScrollbar/index.d.cts +3 -3
- package/dist/FilterScrollbar/index.d.ts +3 -3
- package/dist/FilterScrollbar/index.js +1 -1
- package/dist/ImageWithFallback/index.cjs +1 -1
- package/dist/ImageWithFallback/index.d.cts +2 -2
- package/dist/ImageWithFallback/index.d.ts +2 -2
- package/dist/ImageWithFallback/index.js +1 -1
- package/dist/ModalSheet/index.d.cts +2 -2
- package/dist/ModalSheet/index.d.ts +2 -2
- package/dist/ProductCard/index.cjs +2 -2
- package/dist/ProductCard/index.d.cts +1 -1
- package/dist/ProductCard/index.d.ts +1 -1
- package/dist/ProductCard/index.js +2 -2
- package/dist/{ProductCard-DksbHI3v.cjs → ProductCard-C-8ie9Lf.cjs} +1 -1
- package/dist/{ProductCard-DRczevG8.js → ProductCard-n-PAth5m.js} +1 -1
- package/dist/ProductGrid/index.cjs +3 -3
- package/dist/ProductGrid/index.d.cts +6 -4
- package/dist/ProductGrid/index.d.ts +6 -4
- package/dist/ProductGrid/index.js +3 -3
- package/dist/{ProductGrid-DxbFvnNs.cjs → ProductGrid-Ba2tUgmC.cjs} +5 -4
- package/dist/{ProductGrid-CGHDHthe.js → ProductGrid-xXkWzvR2.js} +5 -4
- package/dist/RadioButton/index.cjs +2 -1
- package/dist/RadioButton/index.d.cts +2 -2
- package/dist/RadioButton/index.d.ts +2 -2
- package/dist/RadioButton/index.js +2 -1
- package/dist/{RadioButton-BzZTrq-i.cjs → RadioButton-BBc1b5vX.cjs} +37 -33
- package/dist/{RadioButton-DRdlp-HC.js → RadioButton-gnFz0TWN.js} +38 -34
- package/dist/RadioButtonGroup/index.cjs +3 -2
- package/dist/RadioButtonGroup/index.d.cts +2 -2
- package/dist/RadioButtonGroup/index.d.ts +2 -2
- package/dist/RadioButtonGroup/index.js +3 -2
- package/dist/{RadioButtonGroup-BHfAwrH7.js → RadioButtonGroup-DLLleeDX.js} +1 -1
- package/dist/{RadioButtonGroup-DU4_ZMJ2.cjs → RadioButtonGroup-DxOtcIdO.cjs} +1 -1
- package/dist/SearchAutocomplete/index.d.cts +2 -2
- package/dist/SearchAutocomplete/index.d.ts +2 -2
- package/dist/SearchFilter/index.cjs +3 -3
- package/dist/SearchFilter/index.d.cts +5 -5
- package/dist/SearchFilter/index.d.ts +5 -5
- package/dist/SearchFilter/index.js +3 -3
- package/dist/{SearchFilter-wjDCnNiW.js → SearchFilter-Bi0zqO3-.js} +1 -1
- package/dist/{SearchFilter-y4vrVBUC.cjs → SearchFilter-ylBowO7T.cjs} +1 -1
- package/dist/SearchInputForm/index.d.cts +2 -2
- package/dist/SearchResultsContent/index.cjs +5 -5
- package/dist/SearchResultsContent/index.d.cts +4 -4
- package/dist/SearchResultsContent/index.d.ts +4 -4
- package/dist/SearchResultsContent/index.js +5 -5
- package/dist/SearchResultsFilterSidebar/index.cjs +3 -3
- package/dist/SearchResultsFilterSidebar/index.d.cts +1 -1
- package/dist/SearchResultsFilterSidebar/index.d.ts +1 -1
- package/dist/SearchResultsFilterSidebar/index.js +3 -3
- package/dist/SearchResultsStates/index.cjs +5 -5
- package/dist/SearchResultsStates/index.d.cts +6 -6
- package/dist/SearchResultsStates/index.d.ts +6 -6
- package/dist/SearchResultsStates/index.js +5 -5
- package/dist/{SearchResultsStates-CP3HKZao.cjs → SearchResultsStates-BjFB9Qo9.cjs} +3 -3
- package/dist/{SearchResultsStates-DUSTcTQK.js → SearchResultsStates-D8Uz39yp.js} +3 -3
- package/dist/SparkleAnimation/index.d.cts +2 -2
- package/dist/SparkleAnimation/index.d.ts +2 -2
- package/dist/Spinner/index.d.cts +2 -2
- package/dist/Spinner/index.d.ts +2 -2
- package/dist/SuggestionButton/index.d.cts +2 -2
- package/dist/SuggestionButton/index.d.ts +2 -2
- package/dist/ToggleButton/index.d.cts +2 -2
- package/dist/{index-CY3-7i6i.d.cts → index-BB4Qbpmg.d.ts} +5 -5
- package/dist/{index-DELwJODl.d.ts → index-BqARXvZ6.d.cts} +5 -5
- package/dist/{index-OpwPXBH6.d.ts → index-Dfe_lkL2.d.cts} +2 -2
- package/dist/{index-4KapT-qa.d.cts → index-DmvaMYbj.d.ts} +2 -2
- package/package.json +1 -1
- package/src/components/ProductGrid/ProductGrid.tsx +4 -1
- package/src/components/RadioButton/RadioButton.tsx +10 -11
- /package/dist/{DynamicFiltersScrollbar-AhyHehrB.js → DynamicFiltersScrollbar-CJG4K0PH.js} +0 -0
- /package/dist/{DynamicFiltersScrollbar-50i_InZz.cjs → DynamicFiltersScrollbar-DgS9gpdg.cjs} +0 -0
- /package/dist/{ImageWithFallback-1LqhQK1q.cjs → ImageWithFallback-Bx17VPmQ.cjs} +0 -0
- /package/dist/{ImageWithFallback-Ckwsmd8P.js → ImageWithFallback-c-DTsBH-.js} +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { Typography } from "./Typography-D3vDkBMS.js";
|
|
1
2
|
import { useState } from "react";
|
|
2
3
|
import classNames from "classnames";
|
|
3
|
-
import {
|
|
4
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
5
|
|
|
5
6
|
//#region src/components/RadioButton/RadioButton.tsx
|
|
6
7
|
const RadioButton = ({ isDisabled = false, label, name, value, textButtonGap = "medium", fillColor, hoverColor, uncheckedBorderColor, checked = false, onChange, id }) => {
|
|
@@ -23,44 +24,47 @@ const RadioButton = ({ isDisabled = false, label, name, value, textButtonGap = "
|
|
|
23
24
|
const handleChange = () => {
|
|
24
25
|
if (!isDisabled) onChange(value);
|
|
25
26
|
};
|
|
26
|
-
return /* @__PURE__ */ jsxs(
|
|
27
|
-
className: "spiffy-tw-relative",
|
|
28
|
-
children: [/* @__PURE__ */ jsx("input", {
|
|
29
|
-
type: "radio",
|
|
30
|
-
id,
|
|
31
|
-
name,
|
|
32
|
-
value,
|
|
33
|
-
checked,
|
|
34
|
-
disabled: isDisabled,
|
|
35
|
-
onChange: handleChange,
|
|
36
|
-
className: "spiffy-tw-sr-only"
|
|
37
|
-
}), /* @__PURE__ */ jsxs("svg", {
|
|
38
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
39
|
-
width: "24",
|
|
40
|
-
height: "24",
|
|
41
|
-
viewBox: "0 0 24 24",
|
|
42
|
-
fill: "none",
|
|
43
|
-
children: [/* @__PURE__ */ jsx("circle", {
|
|
44
|
-
cx: "12",
|
|
45
|
-
cy: "12",
|
|
46
|
-
r: "11.5",
|
|
47
|
-
fill: "white",
|
|
48
|
-
stroke: getFillColor()
|
|
49
|
-
}), checked && /* @__PURE__ */ jsx("circle", {
|
|
50
|
-
cx: "12",
|
|
51
|
-
cy: "12",
|
|
52
|
-
r: "9",
|
|
53
|
-
fill: getFillColor()
|
|
54
|
-
})]
|
|
55
|
-
})]
|
|
56
|
-
}), /* @__PURE__ */ jsx("label", {
|
|
27
|
+
return /* @__PURE__ */ jsxs("label", {
|
|
57
28
|
className: containerClassName,
|
|
58
29
|
onMouseEnter: () => !isDisabled && setIsHovered(true),
|
|
59
30
|
onMouseLeave: () => setIsHovered(false),
|
|
60
31
|
"aria-label": label,
|
|
61
32
|
htmlFor: id,
|
|
62
|
-
children:
|
|
63
|
-
|
|
33
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
34
|
+
className: "spiffy-tw-relative",
|
|
35
|
+
children: [/* @__PURE__ */ jsx("input", {
|
|
36
|
+
type: "radio",
|
|
37
|
+
id,
|
|
38
|
+
name,
|
|
39
|
+
value,
|
|
40
|
+
checked,
|
|
41
|
+
disabled: isDisabled,
|
|
42
|
+
onChange: handleChange,
|
|
43
|
+
className: "spiffy-tw-sr-only"
|
|
44
|
+
}), /* @__PURE__ */ jsxs("svg", {
|
|
45
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
46
|
+
width: "24",
|
|
47
|
+
height: "24",
|
|
48
|
+
viewBox: "0 0 24 24",
|
|
49
|
+
fill: "none",
|
|
50
|
+
children: [/* @__PURE__ */ jsx("circle", {
|
|
51
|
+
cx: "12",
|
|
52
|
+
cy: "12",
|
|
53
|
+
r: "11.5",
|
|
54
|
+
fill: "white",
|
|
55
|
+
stroke: getFillColor()
|
|
56
|
+
}), checked && /* @__PURE__ */ jsx("circle", {
|
|
57
|
+
cx: "12",
|
|
58
|
+
cy: "12",
|
|
59
|
+
r: "9",
|
|
60
|
+
fill: getFillColor()
|
|
61
|
+
})]
|
|
62
|
+
})]
|
|
63
|
+
}), /* @__PURE__ */ jsx(Typography, {
|
|
64
|
+
variant: "body3",
|
|
65
|
+
children: label
|
|
66
|
+
})]
|
|
67
|
+
});
|
|
64
68
|
};
|
|
65
69
|
|
|
66
70
|
//#endregion
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
require('../
|
|
2
|
-
|
|
1
|
+
require('../Typography-CFNWgbM5.cjs');
|
|
2
|
+
require('../RadioButton-BBc1b5vX.cjs');
|
|
3
|
+
const require_RadioButtonGroup = require('../RadioButtonGroup-DxOtcIdO.cjs');
|
|
3
4
|
|
|
4
5
|
exports.RadioButtonGroup = require_RadioButtonGroup.RadioButtonGroup;
|
|
5
6
|
exports.SPIFFY_RADIO_BUTTON_GROUP_CLASS = require_RadioButtonGroup.SPIFFY_RADIO_BUTTON_GROUP_CLASS;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime0 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_runtime0.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_runtime16 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_runtime16.JSX.Element;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { RadioButtonGroup, SPIFFY_RADIO_BUTTON_GROUP_CLASS };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import "../
|
|
2
|
-
import
|
|
1
|
+
import "../Typography-D3vDkBMS.js";
|
|
2
|
+
import "../RadioButton-gnFz0TWN.js";
|
|
3
|
+
import { RadioButtonGroup, SPIFFY_RADIO_BUTTON_GROUP_CLASS } from "../RadioButtonGroup-DLLleeDX.js";
|
|
3
4
|
|
|
4
5
|
export { RadioButtonGroup, SPIFFY_RADIO_BUTTON_GROUP_CLASS };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
|
-
const require_RadioButton = require('./RadioButton-
|
|
2
|
+
const require_RadioButton = require('./RadioButton-BBc1b5vX.cjs');
|
|
3
3
|
let classnames = require("classnames");
|
|
4
4
|
classnames = require_chunk.__toESM(classnames);
|
|
5
5
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime2 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_runtime2.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { SearchAutocomplete };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime10 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_runtime10.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { SearchAutocomplete };
|
|
@@ -4,9 +4,9 @@ require('../AnimatedChevron-Q96FneFy.cjs');
|
|
|
4
4
|
require('../ButtonBase-AU23oGQr.cjs');
|
|
5
5
|
require('../ButtonBase-DbWQ25n-.cjs');
|
|
6
6
|
require('../ModalSheet-CcthFeMD.cjs');
|
|
7
|
-
require('../RadioButton-
|
|
8
|
-
require('../RadioButtonGroup-
|
|
9
|
-
const require_SearchFilter = require('../SearchFilter-
|
|
7
|
+
require('../RadioButton-BBc1b5vX.cjs');
|
|
8
|
+
require('../RadioButtonGroup-DxOtcIdO.cjs');
|
|
9
|
+
const require_SearchFilter = require('../SearchFilter-ylBowO7T.cjs');
|
|
10
10
|
require('../ToggleButton-CJ74eu-N.cjs');
|
|
11
11
|
|
|
12
12
|
exports.SearchFilter = require_SearchFilter.SearchFilter;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
2
2
|
import { CloseIconVariant, FilterFooterProps, SearchFilterDatum, SearchFilterItemDatum, SelectFilterItem } from "@envive-ai/react-hooks/types";
|
|
3
3
|
|
|
4
4
|
//#region src/components/SearchFilter/types.d.ts
|
|
@@ -55,7 +55,7 @@ declare const SearchFilter: ({
|
|
|
55
55
|
radioButtonHoverColor,
|
|
56
56
|
radioButtonUncheckedBorderColor,
|
|
57
57
|
filterCloseIconVariant
|
|
58
|
-
}: SearchFilterProps) =>
|
|
58
|
+
}: SearchFilterProps) => react_jsx_runtime4.JSX.Element;
|
|
59
59
|
//#endregion
|
|
60
60
|
//#region src/components/SearchFilter/SearchFilterHeader.d.ts
|
|
61
61
|
declare const SearchFilterHeader: ({
|
|
@@ -63,7 +63,7 @@ declare const SearchFilterHeader: ({
|
|
|
63
63
|
productCount,
|
|
64
64
|
headerClassName,
|
|
65
65
|
filterCloseIconVariant
|
|
66
|
-
}: SearchFilterHeaderProps) =>
|
|
66
|
+
}: SearchFilterHeaderProps) => react_jsx_runtime4.JSX.Element;
|
|
67
67
|
//#endregion
|
|
68
68
|
//#region src/components/SearchFilter/SearchFilterFooter.d.ts
|
|
69
69
|
declare const SearchFilterFooter: ({
|
|
@@ -73,7 +73,7 @@ declare const SearchFilterFooter: ({
|
|
|
73
73
|
applyFiltersUnchangedClasses,
|
|
74
74
|
applyFiltersChangedClasses,
|
|
75
75
|
hasFiltersChanged
|
|
76
|
-
}: FilterFooterProps) =>
|
|
76
|
+
}: FilterFooterProps) => react_jsx_runtime4.JSX.Element;
|
|
77
77
|
//#endregion
|
|
78
78
|
//#region src/components/SearchFilter/SearchFilterItem.d.ts
|
|
79
79
|
declare const SearchFilterItem: ({
|
|
@@ -82,7 +82,7 @@ declare const SearchFilterItem: ({
|
|
|
82
82
|
radioButtonFillColor,
|
|
83
83
|
radioButtonHoverColor,
|
|
84
84
|
radioButtonUncheckedBorderColor
|
|
85
|
-
}: SearchFilterItemProps) =>
|
|
85
|
+
}: SearchFilterItemProps) => react_jsx_runtime4.JSX.Element;
|
|
86
86
|
//#endregion
|
|
87
87
|
//#region src/components/SearchFilter/utils.d.ts
|
|
88
88
|
declare const getSelectedFilterItemsCount: (filter: SearchFilterDatum) => number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
2
2
|
import { CloseIconVariant, FilterFooterProps, SearchFilterDatum, SearchFilterItemDatum, SelectFilterItem } from "@envive-ai/react-hooks/types";
|
|
3
3
|
|
|
4
4
|
//#region src/components/SearchFilter/types.d.ts
|
|
@@ -55,7 +55,7 @@ declare const SearchFilter: ({
|
|
|
55
55
|
radioButtonHoverColor,
|
|
56
56
|
radioButtonUncheckedBorderColor,
|
|
57
57
|
filterCloseIconVariant
|
|
58
|
-
}: SearchFilterProps) =>
|
|
58
|
+
}: SearchFilterProps) => react_jsx_runtime4.JSX.Element;
|
|
59
59
|
//#endregion
|
|
60
60
|
//#region src/components/SearchFilter/SearchFilterHeader.d.ts
|
|
61
61
|
declare const SearchFilterHeader: ({
|
|
@@ -63,7 +63,7 @@ declare const SearchFilterHeader: ({
|
|
|
63
63
|
productCount,
|
|
64
64
|
headerClassName,
|
|
65
65
|
filterCloseIconVariant
|
|
66
|
-
}: SearchFilterHeaderProps) =>
|
|
66
|
+
}: SearchFilterHeaderProps) => react_jsx_runtime4.JSX.Element;
|
|
67
67
|
//#endregion
|
|
68
68
|
//#region src/components/SearchFilter/SearchFilterFooter.d.ts
|
|
69
69
|
declare const SearchFilterFooter: ({
|
|
@@ -73,7 +73,7 @@ declare const SearchFilterFooter: ({
|
|
|
73
73
|
applyFiltersUnchangedClasses,
|
|
74
74
|
applyFiltersChangedClasses,
|
|
75
75
|
hasFiltersChanged
|
|
76
|
-
}: FilterFooterProps) =>
|
|
76
|
+
}: FilterFooterProps) => react_jsx_runtime4.JSX.Element;
|
|
77
77
|
//#endregion
|
|
78
78
|
//#region src/components/SearchFilter/SearchFilterItem.d.ts
|
|
79
79
|
declare const SearchFilterItem: ({
|
|
@@ -82,7 +82,7 @@ declare const SearchFilterItem: ({
|
|
|
82
82
|
radioButtonFillColor,
|
|
83
83
|
radioButtonHoverColor,
|
|
84
84
|
radioButtonUncheckedBorderColor
|
|
85
|
-
}: SearchFilterItemProps) =>
|
|
85
|
+
}: SearchFilterItemProps) => react_jsx_runtime4.JSX.Element;
|
|
86
86
|
//#endregion
|
|
87
87
|
//#region src/components/SearchFilter/utils.d.ts
|
|
88
88
|
declare const getSelectedFilterItemsCount: (filter: SearchFilterDatum) => number;
|
|
@@ -4,9 +4,9 @@ import "../AnimatedChevron-Bik7GMSe.js";
|
|
|
4
4
|
import "../ButtonBase-6wjsZ1tU.js";
|
|
5
5
|
import "../ButtonBase-C_uKnl48.js";
|
|
6
6
|
import "../ModalSheet-BSj_g9JF.js";
|
|
7
|
-
import "../RadioButton-
|
|
8
|
-
import "../RadioButtonGroup-
|
|
9
|
-
import { SearchFilter, SearchFilterFooter, SearchFilterHeader, SearchFilterItem, getSelectedFilterItemsCount, getTotalSelectedFilterItemsCount } from "../SearchFilter-
|
|
7
|
+
import "../RadioButton-gnFz0TWN.js";
|
|
8
|
+
import "../RadioButtonGroup-DLLleeDX.js";
|
|
9
|
+
import { SearchFilter, SearchFilterFooter, SearchFilterHeader, SearchFilterItem, getSelectedFilterItemsCount, getTotalSelectedFilterItemsCount } from "../SearchFilter-Bi0zqO3-.js";
|
|
10
10
|
import "../ToggleButton-Br6MgjiG.js";
|
|
11
11
|
|
|
12
12
|
export { SearchFilter, SearchFilterFooter, SearchFilterHeader, SearchFilterItem, getSelectedFilterItemsCount, getTotalSelectedFilterItemsCount };
|
|
@@ -2,7 +2,7 @@ import { Typography } from "./Typography-D3vDkBMS.js";
|
|
|
2
2
|
import { Accordion } from "./Accordion-DxtXK__u.js";
|
|
3
3
|
import { ButtonBase } from "./ButtonBase-6wjsZ1tU.js";
|
|
4
4
|
import { ModalSheet } from "./ModalSheet-BSj_g9JF.js";
|
|
5
|
-
import { RadioButtonGroup } from "./RadioButtonGroup-
|
|
5
|
+
import { RadioButtonGroup } from "./RadioButtonGroup-DLLleeDX.js";
|
|
6
6
|
import { ToggleButton } from "./ToggleButton-Br6MgjiG.js";
|
|
7
7
|
import { useCallback, useEffect, useMemo, useState } from "react";
|
|
8
8
|
import classNames from "classnames";
|
|
@@ -3,7 +3,7 @@ const require_Typography = require('./Typography-CFNWgbM5.cjs');
|
|
|
3
3
|
const require_Accordion = require('./Accordion-RpyCFs2a.cjs');
|
|
4
4
|
const require_ButtonBase = require('./ButtonBase-AU23oGQr.cjs');
|
|
5
5
|
const require_ModalSheet = require('./ModalSheet-CcthFeMD.cjs');
|
|
6
|
-
const require_RadioButtonGroup = require('./RadioButtonGroup-
|
|
6
|
+
const require_RadioButtonGroup = require('./RadioButtonGroup-DxOtcIdO.cjs');
|
|
7
7
|
const require_ToggleButton = require('./ToggleButton-CJ74eu-N.cjs');
|
|
8
8
|
let react = require("react");
|
|
9
9
|
react = require_chunk.__toESM(react);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SearchInputVariant } from "../types-BhGjnuWx.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime16 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/SearchInputForm/SearchInputForm.d.ts
|
|
5
5
|
interface SearchInputFormProps {
|
|
@@ -31,6 +31,6 @@ declare const SearchInputForm: ({
|
|
|
31
31
|
onSearchSubmit,
|
|
32
32
|
onSearchInputFocus,
|
|
33
33
|
onSearchInputBlur
|
|
34
|
-
}: SearchInputFormProps) =>
|
|
34
|
+
}: SearchInputFormProps) => react_jsx_runtime16.JSX.Element;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { SearchInputForm };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
const require_chunk = require('../chunk-CUT6urMc.cjs');
|
|
2
2
|
require('../Typography-CFNWgbM5.cjs');
|
|
3
|
-
require('../
|
|
4
|
-
require('../
|
|
5
|
-
require('../ProductCard-
|
|
3
|
+
require('../ImageWithFallback-Bx17VPmQ.cjs');
|
|
4
|
+
require('../DynamicFiltersScrollbar-DgS9gpdg.cjs');
|
|
5
|
+
require('../ProductCard-C-8ie9Lf.cjs');
|
|
6
6
|
require('../Spinner-DjK8ts9E.cjs');
|
|
7
|
-
require('../ProductGrid-
|
|
7
|
+
require('../ProductGrid-Ba2tUgmC.cjs');
|
|
8
8
|
require('../colorsConfig-B3-SMUSx.cjs');
|
|
9
|
-
const require_SearchResultsStates = require('../SearchResultsStates-
|
|
9
|
+
const require_SearchResultsStates = require('../SearchResultsStates-BjFB9Qo9.cjs');
|
|
10
10
|
require('../searchFilterSidebarVariants-DzCf_sfh.cjs');
|
|
11
11
|
require('../SparkleAnimation-CvGlWUqv.cjs');
|
|
12
12
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ProductCardConfig, ProductGridVariant, SearchResponseProductAttributes } from "../index-
|
|
2
|
-
import { SearchFilterSidebarVariant } from "../index-
|
|
3
|
-
import * as
|
|
1
|
+
import { ProductCardConfig, ProductGridVariant, SearchResponseProductAttributes } from "../index-BqARXvZ6.cjs";
|
|
2
|
+
import { SearchFilterSidebarVariant } from "../index-Dfe_lkL2.cjs";
|
|
3
|
+
import * as react_jsx_runtime15 from "react/jsx-runtime";
|
|
4
4
|
import { SelectedFilterOption } from "@envive-ai/react-hooks/atoms/search";
|
|
5
5
|
import { SearchResultsState } from "@envive-ai/react-hooks/hooks/utils";
|
|
6
6
|
|
|
@@ -43,6 +43,6 @@ declare const SearchResultsContent: ({
|
|
|
43
43
|
onRemoveFilter,
|
|
44
44
|
onToggleDynamicFilter,
|
|
45
45
|
noResultsFoundText
|
|
46
|
-
}: SearchResultsContentProps) =>
|
|
46
|
+
}: SearchResultsContentProps) => react_jsx_runtime15.JSX.Element;
|
|
47
47
|
//#endregion
|
|
48
48
|
export { SearchResultsContent };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ProductCardConfig, ProductGridVariant, SearchResponseProductAttributes } from "../index-
|
|
2
|
-
import { SearchFilterSidebarVariant } from "../index-
|
|
3
|
-
import * as
|
|
1
|
+
import { ProductCardConfig, ProductGridVariant, SearchResponseProductAttributes } from "../index-BB4Qbpmg.js";
|
|
2
|
+
import { SearchFilterSidebarVariant } from "../index-DmvaMYbj.js";
|
|
3
|
+
import * as react_jsx_runtime11 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
|
|
|
@@ -43,6 +43,6 @@ declare const SearchResultsContent: ({
|
|
|
43
43
|
onRemoveFilter,
|
|
44
44
|
onToggleDynamicFilter,
|
|
45
45
|
noResultsFoundText
|
|
46
|
-
}: SearchResultsContentProps) =>
|
|
46
|
+
}: SearchResultsContentProps) => react_jsx_runtime11.JSX.Element;
|
|
47
47
|
//#endregion
|
|
48
48
|
export { SearchResultsContent };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "../Typography-D3vDkBMS.js";
|
|
2
|
-
import "../
|
|
3
|
-
import "../
|
|
4
|
-
import "../ProductCard-
|
|
2
|
+
import "../ImageWithFallback-c-DTsBH-.js";
|
|
3
|
+
import "../DynamicFiltersScrollbar-CJG4K0PH.js";
|
|
4
|
+
import "../ProductCard-n-PAth5m.js";
|
|
5
5
|
import "../Spinner-BqTt55uu.js";
|
|
6
|
-
import "../ProductGrid-
|
|
6
|
+
import "../ProductGrid-xXkWzvR2.js";
|
|
7
7
|
import "../colorsConfig-DZ-GSPWy.js";
|
|
8
|
-
import { NoSearchResultsFound, SearchResultsGrid, SearchResultsLoadingGrid } from "../SearchResultsStates-
|
|
8
|
+
import { NoSearchResultsFound, SearchResultsGrid, SearchResultsLoadingGrid } from "../SearchResultsStates-D8Uz39yp.js";
|
|
9
9
|
import "../searchFilterSidebarVariants-f9PS9fl6.js";
|
|
10
10
|
import "../SparkleAnimation-paLhSu5E.js";
|
|
11
11
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -5,9 +5,9 @@ require('../AnimatedChevron-Q96FneFy.cjs');
|
|
|
5
5
|
const require_ButtonBase = require('../ButtonBase-AU23oGQr.cjs');
|
|
6
6
|
require('../ButtonBase-DbWQ25n-.cjs');
|
|
7
7
|
require('../ModalSheet-CcthFeMD.cjs');
|
|
8
|
-
require('../RadioButton-
|
|
9
|
-
require('../RadioButtonGroup-
|
|
10
|
-
const require_SearchFilter = require('../SearchFilter-
|
|
8
|
+
require('../RadioButton-BBc1b5vX.cjs');
|
|
9
|
+
require('../RadioButtonGroup-DxOtcIdO.cjs');
|
|
10
|
+
const require_SearchFilter = require('../SearchFilter-ylBowO7T.cjs');
|
|
11
11
|
require('../ToggleButton-CJ74eu-N.cjs');
|
|
12
12
|
require('../colorsConfig-B3-SMUSx.cjs');
|
|
13
13
|
const require_searchFilterSidebarVariants = require('../searchFilterSidebarVariants-DzCf_sfh.cjs');
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { CloseIconVariant, SearchFilterSidebarVariant, SearchResultsFilter, SearchResultsFilterProps, searchFilterSidebarVariantClasses } from "../index-
|
|
1
|
+
import { CloseIconVariant, SearchFilterSidebarVariant, SearchResultsFilter, SearchResultsFilterProps, searchFilterSidebarVariantClasses } from "../index-Dfe_lkL2.cjs";
|
|
2
2
|
export { CloseIconVariant, SearchFilterSidebarVariant, SearchResultsFilter, SearchResultsFilterProps, searchFilterSidebarVariantClasses };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { CloseIconVariant, SearchFilterSidebarVariant, SearchResultsFilter, SearchResultsFilterProps, searchFilterSidebarVariantClasses } from "../index-
|
|
1
|
+
import { CloseIconVariant, SearchFilterSidebarVariant, SearchResultsFilter, SearchResultsFilterProps, searchFilterSidebarVariantClasses } from "../index-DmvaMYbj.js";
|
|
2
2
|
export { CloseIconVariant, SearchFilterSidebarVariant, SearchResultsFilter, SearchResultsFilterProps, searchFilterSidebarVariantClasses };
|
|
@@ -4,9 +4,9 @@ import "../AnimatedChevron-Bik7GMSe.js";
|
|
|
4
4
|
import { ButtonBase } from "../ButtonBase-6wjsZ1tU.js";
|
|
5
5
|
import "../ButtonBase-C_uKnl48.js";
|
|
6
6
|
import "../ModalSheet-BSj_g9JF.js";
|
|
7
|
-
import "../RadioButton-
|
|
8
|
-
import "../RadioButtonGroup-
|
|
9
|
-
import { SearchFilter, SearchFilterHeader } from "../SearchFilter-
|
|
7
|
+
import "../RadioButton-gnFz0TWN.js";
|
|
8
|
+
import "../RadioButtonGroup-DLLleeDX.js";
|
|
9
|
+
import { SearchFilter, SearchFilterHeader } from "../SearchFilter-Bi0zqO3-.js";
|
|
10
10
|
import "../ToggleButton-Br6MgjiG.js";
|
|
11
11
|
import "../colorsConfig-DZ-GSPWy.js";
|
|
12
12
|
import { searchFilterSidebarVariantClasses } from "../searchFilterSidebarVariants-f9PS9fl6.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
require('../Typography-CFNWgbM5.cjs');
|
|
2
|
-
require('../
|
|
3
|
-
require('../
|
|
4
|
-
require('../ProductCard-
|
|
2
|
+
require('../ImageWithFallback-Bx17VPmQ.cjs');
|
|
3
|
+
require('../DynamicFiltersScrollbar-DgS9gpdg.cjs');
|
|
4
|
+
require('../ProductCard-C-8ie9Lf.cjs');
|
|
5
5
|
require('../Spinner-DjK8ts9E.cjs');
|
|
6
|
-
require('../ProductGrid-
|
|
6
|
+
require('../ProductGrid-Ba2tUgmC.cjs');
|
|
7
7
|
require('../colorsConfig-B3-SMUSx.cjs');
|
|
8
|
-
const require_SearchResultsStates = require('../SearchResultsStates-
|
|
8
|
+
const require_SearchResultsStates = require('../SearchResultsStates-BjFB9Qo9.cjs');
|
|
9
9
|
require('../searchFilterSidebarVariants-DzCf_sfh.cjs');
|
|
10
10
|
require('../SparkleAnimation-CvGlWUqv.cjs');
|
|
11
11
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ProductCardConfig, ProductGridVariant } from "../index-
|
|
2
|
-
import { SearchFilterSidebarVariant } from "../index-
|
|
3
|
-
import * as
|
|
1
|
+
import { ProductCardConfig, ProductGridVariant } from "../index-BqARXvZ6.cjs";
|
|
2
|
+
import { SearchFilterSidebarVariant } from "../index-Dfe_lkL2.cjs";
|
|
3
|
+
import * as react_jsx_runtime26 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
|
|
|
@@ -16,7 +16,7 @@ declare const NoSearchResultsFound: ({
|
|
|
16
16
|
includeBottomMargin,
|
|
17
17
|
noResultsFoundText,
|
|
18
18
|
sparkleIconColor
|
|
19
|
-
}: NoSearchResultsFoundProps) =>
|
|
19
|
+
}: NoSearchResultsFoundProps) => react_jsx_runtime26.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
//#region src/components/SearchResultsStates/SearchResultsGrid.d.ts
|
|
22
22
|
interface SearchResultsGridProps {
|
|
@@ -53,7 +53,7 @@ declare const SearchResultsGrid: ({
|
|
|
53
53
|
productGridClasses,
|
|
54
54
|
onRemoveFilter,
|
|
55
55
|
onToggleDynamicFilter
|
|
56
|
-
}: SearchResultsGridProps) =>
|
|
56
|
+
}: SearchResultsGridProps) => react_jsx_runtime26.JSX.Element;
|
|
57
57
|
//#endregion
|
|
58
58
|
//#region src/components/SearchResultsStates/SearchResultsLoadingGrid.d.ts
|
|
59
59
|
declare const SearchResultsLoadingGrid: ({
|
|
@@ -64,6 +64,6 @@ declare const SearchResultsLoadingGrid: ({
|
|
|
64
64
|
productGridVariant: ProductGridVariant;
|
|
65
65
|
productGridClasses: string;
|
|
66
66
|
sparkleIconColor?: string;
|
|
67
|
-
}) =>
|
|
67
|
+
}) => react_jsx_runtime26.JSX.Element;
|
|
68
68
|
//#endregion
|
|
69
69
|
export { NoSearchResultsFound, SearchResultsGrid, SearchResultsLoadingGrid };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ProductCardConfig, ProductGridVariant } from "../index-
|
|
2
|
-
import { SearchFilterSidebarVariant } from "../index-
|
|
3
|
-
import * as
|
|
1
|
+
import { ProductCardConfig, ProductGridVariant } from "../index-BB4Qbpmg.js";
|
|
2
|
+
import { SearchFilterSidebarVariant } from "../index-DmvaMYbj.js";
|
|
3
|
+
import * as react_jsx_runtime14 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
|
|
|
@@ -16,7 +16,7 @@ declare const NoSearchResultsFound: ({
|
|
|
16
16
|
includeBottomMargin,
|
|
17
17
|
noResultsFoundText,
|
|
18
18
|
sparkleIconColor
|
|
19
|
-
}: NoSearchResultsFoundProps) =>
|
|
19
|
+
}: NoSearchResultsFoundProps) => react_jsx_runtime14.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
//#region src/components/SearchResultsStates/SearchResultsGrid.d.ts
|
|
22
22
|
interface SearchResultsGridProps {
|
|
@@ -53,7 +53,7 @@ declare const SearchResultsGrid: ({
|
|
|
53
53
|
productGridClasses,
|
|
54
54
|
onRemoveFilter,
|
|
55
55
|
onToggleDynamicFilter
|
|
56
|
-
}: SearchResultsGridProps) =>
|
|
56
|
+
}: SearchResultsGridProps) => react_jsx_runtime14.JSX.Element;
|
|
57
57
|
//#endregion
|
|
58
58
|
//#region src/components/SearchResultsStates/SearchResultsLoadingGrid.d.ts
|
|
59
59
|
declare const SearchResultsLoadingGrid: ({
|
|
@@ -64,6 +64,6 @@ declare const SearchResultsLoadingGrid: ({
|
|
|
64
64
|
productGridVariant: ProductGridVariant;
|
|
65
65
|
productGridClasses: string;
|
|
66
66
|
sparkleIconColor?: string;
|
|
67
|
-
}) =>
|
|
67
|
+
}) => react_jsx_runtime14.JSX.Element;
|
|
68
68
|
//#endregion
|
|
69
69
|
export { NoSearchResultsFound, SearchResultsGrid, SearchResultsLoadingGrid };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "../Typography-D3vDkBMS.js";
|
|
2
|
-
import "../
|
|
3
|
-
import "../
|
|
4
|
-
import "../ProductCard-
|
|
2
|
+
import "../ImageWithFallback-c-DTsBH-.js";
|
|
3
|
+
import "../DynamicFiltersScrollbar-CJG4K0PH.js";
|
|
4
|
+
import "../ProductCard-n-PAth5m.js";
|
|
5
5
|
import "../Spinner-BqTt55uu.js";
|
|
6
|
-
import "../ProductGrid-
|
|
6
|
+
import "../ProductGrid-xXkWzvR2.js";
|
|
7
7
|
import "../colorsConfig-DZ-GSPWy.js";
|
|
8
|
-
import { NoSearchResultsFound, SearchResultsGrid, SearchResultsLoadingGrid } from "../SearchResultsStates-
|
|
8
|
+
import { NoSearchResultsFound, SearchResultsGrid, SearchResultsLoadingGrid } from "../SearchResultsStates-D8Uz39yp.js";
|
|
9
9
|
import "../searchFilterSidebarVariants-f9PS9fl6.js";
|
|
10
10
|
import "../SparkleAnimation-paLhSu5E.js";
|
|
11
11
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
2
|
const require_Typography = require('./Typography-CFNWgbM5.cjs');
|
|
3
|
-
const require_DynamicFiltersScrollbar = require('./DynamicFiltersScrollbar-
|
|
4
|
-
const require_ProductCard = require('./ProductCard-
|
|
5
|
-
const require_ProductGrid = require('./ProductGrid-
|
|
3
|
+
const require_DynamicFiltersScrollbar = require('./DynamicFiltersScrollbar-DgS9gpdg.cjs');
|
|
4
|
+
const require_ProductCard = require('./ProductCard-C-8ie9Lf.cjs');
|
|
5
|
+
const require_ProductGrid = require('./ProductGrid-Ba2tUgmC.cjs');
|
|
6
6
|
const require_searchFilterSidebarVariants = require('./searchFilterSidebarVariants-DzCf_sfh.cjs');
|
|
7
7
|
const require_SparkleAnimation = require('./SparkleAnimation-CvGlWUqv.cjs');
|
|
8
8
|
let framer_motion = require("framer-motion");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Typography } from "./Typography-D3vDkBMS.js";
|
|
2
|
-
import { AppliedFiltersScrollbar, DynamicFiltersScrollbar } from "./DynamicFiltersScrollbar-
|
|
3
|
-
import { ProductCardSkeleton } from "./ProductCard-
|
|
4
|
-
import { ProductGrid, productGridVariantClasses } from "./ProductGrid-
|
|
2
|
+
import { AppliedFiltersScrollbar, DynamicFiltersScrollbar } from "./DynamicFiltersScrollbar-CJG4K0PH.js";
|
|
3
|
+
import { ProductCardSkeleton } from "./ProductCard-n-PAth5m.js";
|
|
4
|
+
import { ProductGrid, productGridVariantClasses } from "./ProductGrid-xXkWzvR2.js";
|
|
5
5
|
import { searchFilterSidebarVariantClasses } from "./searchFilterSidebarVariants-f9PS9fl6.js";
|
|
6
6
|
import { SparkleAnimation } from "./SparkleAnimation-paLhSu5E.js";
|
|
7
7
|
import { motion } from "framer-motion";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime25 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_runtime25.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_runtime2 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_runtime2.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
//#region src/components/SparkleAnimation/types.d.ts
|
|
16
16
|
declare enum SparkleAnimationOverride {
|
package/dist/Spinner/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime3 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_runtime3.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Spinner };
|