@envive-ai/react-toolkit 0.1.13 → 0.2.1
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/package.json +13 -12
- package/src/atoms/search/types.ts +1 -5
- package/src/components/Accordion/Accordion.tsx +3 -3
- package/src/components/AnimatedChevron/index.ts +1 -0
- package/src/components/AppliedFiltersScrollbar/AppliedFiltersScrollbar.tsx +2 -2
- package/src/components/ButtonBase/ButtonBase.tsx +2 -2
- package/src/components/DynamicFiltersScrollbar/DynamicFiltersScrollbar.tsx +2 -2
- package/src/components/FilterScrollbar/AppliedFiltersScrollbar.tsx +2 -2
- package/src/components/FilterScrollbar/DynamicFiltersScrollbar.tsx +2 -2
- package/src/components/ProductCard/ProductCard.tsx +10 -9
- package/src/components/RadioButton/RadioButton.tsx +2 -2
- package/src/components/SearchFilter/SearchFilterHeader.tsx +3 -3
- package/src/components/SearchFilter/SearchFilterItem.tsx +2 -2
- package/src/components/SearchFilter/index.ts +4 -2
- package/src/components/SearchInput/SearchInput.tsx +1 -1
- package/src/components/SearchInput/searchInputVariants.ts +3 -3
- package/src/components/SearchInputForm/SearchInputForm.tsx +1 -1
- package/src/components/SearchInputForm/index.ts +1 -1
- package/src/components/SearchResultsStates/NoSearchResultsFound.tsx +3 -3
- package/src/components/SearchResultsStates/SearchResultsLoadingGrid.tsx +2 -2
- package/src/components/TextInput/TextInput.tsx +4 -3
- package/src/components/ToggleButton/ToggleButton.tsx +5 -5
- package/src/components/Typography/Typography.spec.tsx +22 -0
- package/src/components/Typography/Typography.tsx +73 -0
- package/src/components/Typography/index.ts +2 -0
- package/src/components/{Text/textVariantClasses.ts → Typography/typographyVariantClasses.ts} +36 -38
- package/src/components/Typography/util.ts +19 -0
- package/dist/Accordion/index.cjs +0 -6
- package/dist/Accordion/index.d.cts +0 -13
- package/dist/Accordion/index.d.ts +0 -13
- package/dist/Accordion/index.js +0 -6
- package/dist/Accordion-D9gO9_y3.cjs +0 -88
- package/dist/Accordion-ZEdp99Ph.js +0 -77
- package/dist/AppliedFiltersScrollbar/index.cjs +0 -48
- package/dist/AppliedFiltersScrollbar/index.d.cts +0 -22
- package/dist/AppliedFiltersScrollbar/index.d.ts +0 -22
- package/dist/AppliedFiltersScrollbar/index.js +0 -44
- package/dist/ButtonBase/index.cjs +0 -7
- package/dist/ButtonBase/index.d.cts +0 -42
- package/dist/ButtonBase/index.d.ts +0 -42
- package/dist/ButtonBase/index.js +0 -6
- package/dist/ButtonBase-0NN6wmX-.js +0 -1
- package/dist/ButtonBase-BIXx56hq.cjs +0 -0
- package/dist/ButtonBase-DgRupM53.js +0 -60
- package/dist/ButtonBase-DrIwVGTR.cjs +0 -75
- package/dist/DynamicFiltersScrollbar/index.cjs +0 -36
- package/dist/DynamicFiltersScrollbar/index.d.cts +0 -28
- package/dist/DynamicFiltersScrollbar/index.d.ts +0 -28
- package/dist/DynamicFiltersScrollbar/index.js +0 -32
- package/dist/DynamicFiltersScrollbar-B1j53y2q.cjs +0 -81
- package/dist/DynamicFiltersScrollbar-D7WYp6x9.js +0 -66
- package/dist/FilterScrollbar/index.cjs +0 -6
- package/dist/FilterScrollbar/index.d.cts +0 -47
- package/dist/FilterScrollbar/index.d.ts +0 -47
- package/dist/FilterScrollbar/index.js +0 -5
- package/dist/Headline/index.cjs +0 -4
- package/dist/Headline/index.d.cts +0 -21
- package/dist/Headline/index.d.ts +0 -21
- package/dist/Headline/index.js +0 -4
- package/dist/Headline-COv0Jbn8.js +0 -64
- package/dist/Headline-Cp79THVF.cjs +0 -72
- package/dist/ImageWithFallback/index.cjs +0 -3
- package/dist/ImageWithFallback/index.d.cts +0 -26
- package/dist/ImageWithFallback/index.d.ts +0 -26
- package/dist/ImageWithFallback/index.js +0 -3
- package/dist/ImageWithFallback-Cx-KNi-D.cjs +0 -51
- package/dist/ImageWithFallback-DqxjwO3i.js +0 -42
- package/dist/ModalSheet/index.cjs +0 -3
- package/dist/ModalSheet/index.d.cts +0 -38
- package/dist/ModalSheet/index.d.ts +0 -38
- package/dist/ModalSheet/index.js +0 -3
- package/dist/ModalSheet-01pxpy_K.js +0 -326
- package/dist/ModalSheet-Csz8HIxs.cjs +0 -337
- package/dist/ProductCard/index.cjs +0 -17
- package/dist/ProductCard/index.d.cts +0 -2
- package/dist/ProductCard/index.d.ts +0 -2
- package/dist/ProductCard/index.js +0 -8
- package/dist/ProductCard-CNwmHggx.js +0 -255
- package/dist/ProductCard-EmdDy2af.cjs +0 -319
- package/dist/ProductGrid/index.cjs +0 -10
- package/dist/ProductGrid/index.d.cts +0 -33
- package/dist/ProductGrid/index.d.ts +0 -33
- package/dist/ProductGrid/index.js +0 -9
- package/dist/ProductGrid-CMoomZLc.cjs +0 -74
- package/dist/ProductGrid-nmWSp0qX.js +0 -60
- package/dist/RadioButton/index.cjs +0 -6
- package/dist/RadioButton/index.d.cts +0 -32
- package/dist/RadioButton/index.d.ts +0 -32
- package/dist/RadioButton/index.js +0 -6
- package/dist/RadioButton-BdKJRzLM.cjs +0 -84
- package/dist/RadioButton-S5dALI2f.js +0 -75
- package/dist/RadioButtonGroup/index.cjs +0 -8
- package/dist/RadioButtonGroup/index.d.cts +0 -36
- package/dist/RadioButtonGroup/index.d.ts +0 -36
- package/dist/RadioButtonGroup/index.js +0 -7
- package/dist/RadioButtonGroup-BipNsoHL.js +0 -38
- package/dist/RadioButtonGroup-TAJMA1j_.cjs +0 -52
- package/dist/SearchAutocomplete/index.cjs +0 -57
- package/dist/SearchAutocomplete/index.d.cts +0 -13
- package/dist/SearchAutocomplete/index.d.ts +0 -13
- package/dist/SearchAutocomplete/index.js +0 -51
- package/dist/SearchFilter/index.cjs +0 -15
- package/dist/SearchFilter/index.d.cts +0 -77
- package/dist/SearchFilter/index.d.ts +0 -77
- package/dist/SearchFilter/index.js +0 -13
- package/dist/SearchFilter-BcLc0TMq.cjs +0 -289
- package/dist/SearchFilter-w-0s2YVu.js +0 -268
- package/dist/SearchInput/index.cjs +0 -97
- package/dist/SearchInput/index.d.cts +0 -33
- package/dist/SearchInput/index.d.ts +0 -33
- package/dist/SearchInput/index.js +0 -90
- package/dist/SearchInputForm/index.cjs +0 -0
- package/dist/SearchInputForm/index.d.cts +0 -2
- package/dist/SearchInputForm/index.d.ts +0 -2
- package/dist/SearchInputForm/index.js +0 -1
- package/dist/SearchResultsContent/index.cjs +0 -47
- package/dist/SearchResultsContent/index.d.cts +0 -48
- package/dist/SearchResultsContent/index.d.ts +0 -48
- package/dist/SearchResultsContent/index.js +0 -44
- package/dist/SearchResultsFilterSidebar/index.cjs +0 -61
- package/dist/SearchResultsFilterSidebar/index.d.cts +0 -2
- package/dist/SearchResultsFilterSidebar/index.d.ts +0 -2
- package/dist/SearchResultsFilterSidebar/index.js +0 -56
- package/dist/SearchResultsStates/index.cjs +0 -17
- package/dist/SearchResultsStates/index.d.cts +0 -69
- package/dist/SearchResultsStates/index.d.ts +0 -69
- package/dist/SearchResultsStates/index.js +0 -15
- package/dist/SearchResultsStates-DlZz14yy.js +0 -110
- package/dist/SearchResultsStates-DwcPrsdd.cjs +0 -132
- package/dist/SparkleAnimation/index.cjs +0 -4
- package/dist/SparkleAnimation/index.d.cts +0 -23
- package/dist/SparkleAnimation/index.d.ts +0 -23
- package/dist/SparkleAnimation/index.js +0 -3
- package/dist/SparkleAnimation-CvGlWUqv.cjs +0 -101
- package/dist/SparkleAnimation-paLhSu5E.js +0 -84
- package/dist/Spinner/index.cjs +0 -3
- package/dist/Spinner/index.d.cts +0 -11
- package/dist/Spinner/index.d.ts +0 -11
- package/dist/Spinner/index.js +0 -3
- package/dist/Spinner-CjGLIRgs.js +0 -38
- package/dist/Spinner-DFor2Szi.cjs +0 -46
- package/dist/SuggestionButton/index.cjs +0 -188
- package/dist/SuggestionButton/index.d.cts +0 -35
- package/dist/SuggestionButton/index.d.ts +0 -35
- package/dist/SuggestionButton/index.js +0 -180
- package/dist/Text/index.cjs +0 -10
- package/dist/Text/index.d.cts +0 -42
- package/dist/Text/index.d.ts +0 -42
- package/dist/Text/index.js +0 -5
- package/dist/Text-BLzNhX4H.js +0 -42
- package/dist/Text-BMsncrpY.js +0 -10
- package/dist/Text-C8t_iEj6.cjs +0 -16
- package/dist/Text-DllCE9_D.cjs +0 -50
- package/dist/TextInput/index.cjs +0 -4
- package/dist/TextInput/index.d.cts +0 -12
- package/dist/TextInput/index.d.ts +0 -12
- package/dist/TextInput/index.js +0 -4
- package/dist/TextInput-DmsOxxPN.js +0 -31
- package/dist/TextInput-HMW0hxLI.cjs +0 -40
- package/dist/ToggleButton/index.cjs +0 -6
- package/dist/ToggleButton/index.d.cts +0 -30
- package/dist/ToggleButton/index.d.ts +0 -30
- package/dist/ToggleButton/index.js +0 -6
- package/dist/ToggleButton-DblAj4Cd.cjs +0 -68
- package/dist/ToggleButton-r7Y7Kzzo.js +0 -60
- package/dist/chunk-CUT6urMc.cjs +0 -30
- package/dist/colorsConfig-B3-SMUSx.cjs +0 -38
- package/dist/colorsConfig-DZ-GSPWy.js +0 -26
- package/dist/index-BKvXn5sj.d.ts +0 -4
- package/dist/index-Br1B7Jta.d.cts +0 -46
- package/dist/index-DADHwW6M.d.ts +0 -325
- package/dist/index-DDp-fLgm.d.cts +0 -325
- package/dist/index-Dh8rcWev.d.ts +0 -46
- package/dist/index-W1wCDiw_.d.cts +0 -4
- package/dist/searchFilterSidebarVariants-J0FJ8pck.js +0 -34
- package/dist/searchFilterSidebarVariants-kkTjYEIF.cjs +0 -39
- package/dist/textVariantClasses-B0gNjzl4.d.cts +0 -174
- package/dist/textVariantClasses-C8OCWZAw.d.ts +0 -174
- package/dist/textVariantClasses-CBre7vXv.cjs +0 -123
- package/dist/textVariantClasses-CRrTb43V.js +0 -99
- package/src/components/Headline/Headline.tsx +0 -81
- package/src/components/Headline/index.ts +0 -1
- package/src/components/SearchInputForm/types.ts +0 -1
- package/src/components/Text/Text.tsx +0 -58
- package/src/components/Text/index.ts +0 -3
- package/src/components/Text/types.ts +0 -23
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
|
-
const require_Text = require('./Text-DllCE9_D.cjs');
|
|
3
|
-
let react = require("react");
|
|
4
|
-
react = require_chunk.__toESM(react);
|
|
5
|
-
let classnames = require("classnames");
|
|
6
|
-
classnames = require_chunk.__toESM(classnames);
|
|
7
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
|
-
react_jsx_runtime = require_chunk.__toESM(react_jsx_runtime);
|
|
9
|
-
|
|
10
|
-
//#region src/components/RadioButton/RadioButton.tsx
|
|
11
|
-
const RadioButton = ({ isDisabled = false, label, name, value, textButtonGap = "medium", fillColor, hoverColor, uncheckedBorderColor, checked = false, onChange, id }) => {
|
|
12
|
-
const [isHovered, setIsHovered] = (0, react.useState)(false);
|
|
13
|
-
const containerClassName = (0, classnames.default)({
|
|
14
|
-
"spiffy-tw-flex": true,
|
|
15
|
-
"spiffy-tw-items-center": true,
|
|
16
|
-
"spiffy-tw-group": true,
|
|
17
|
-
"spiffy-tw-gap-1": textButtonGap === "small",
|
|
18
|
-
"spiffy-tw-gap-2": textButtonGap === "medium",
|
|
19
|
-
"spiffy-tw-gap-4": textButtonGap === "large",
|
|
20
|
-
"spiffy-tw-cursor-pointer": !isDisabled,
|
|
21
|
-
"spiffy-tw-opacity-40": isDisabled
|
|
22
|
-
});
|
|
23
|
-
const getFillColor = () => {
|
|
24
|
-
if (isHovered && hoverColor) return hoverColor;
|
|
25
|
-
if (checked) return fillColor;
|
|
26
|
-
return uncheckedBorderColor;
|
|
27
|
-
};
|
|
28
|
-
const handleChange = () => {
|
|
29
|
-
if (!isDisabled) onChange(value);
|
|
30
|
-
};
|
|
31
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
32
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("label", {
|
|
33
|
-
className: containerClassName,
|
|
34
|
-
onMouseEnter: () => !isDisabled && setIsHovered(true),
|
|
35
|
-
onMouseLeave: () => setIsHovered(false),
|
|
36
|
-
"aria-label": label,
|
|
37
|
-
htmlFor: id,
|
|
38
|
-
children: label
|
|
39
|
-
}),
|
|
40
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
41
|
-
className: "spiffy-tw-relative",
|
|
42
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
43
|
-
type: "radio",
|
|
44
|
-
id,
|
|
45
|
-
name,
|
|
46
|
-
value,
|
|
47
|
-
checked,
|
|
48
|
-
disabled: isDisabled,
|
|
49
|
-
onChange: handleChange,
|
|
50
|
-
className: "spiffy-tw-sr-only"
|
|
51
|
-
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
52
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
53
|
-
width: "24",
|
|
54
|
-
height: "24",
|
|
55
|
-
viewBox: "0 0 24 24",
|
|
56
|
-
fill: "none",
|
|
57
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("circle", {
|
|
58
|
-
cx: "12",
|
|
59
|
-
cy: "12",
|
|
60
|
-
r: "11.5",
|
|
61
|
-
fill: "white",
|
|
62
|
-
stroke: getFillColor()
|
|
63
|
-
}), checked && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("circle", {
|
|
64
|
-
cx: "12",
|
|
65
|
-
cy: "12",
|
|
66
|
-
r: "9",
|
|
67
|
-
fill: getFillColor()
|
|
68
|
-
})]
|
|
69
|
-
})]
|
|
70
|
-
}),
|
|
71
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Text.Text, {
|
|
72
|
-
variant: "body3",
|
|
73
|
-
children: label
|
|
74
|
-
})
|
|
75
|
-
] });
|
|
76
|
-
};
|
|
77
|
-
|
|
78
|
-
//#endregion
|
|
79
|
-
Object.defineProperty(exports, 'RadioButton', {
|
|
80
|
-
enumerable: true,
|
|
81
|
-
get: function () {
|
|
82
|
-
return RadioButton;
|
|
83
|
-
}
|
|
84
|
-
});
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { Text } from "./Text-BLzNhX4H.js";
|
|
2
|
-
import { useState } from "react";
|
|
3
|
-
import classNames from "classnames";
|
|
4
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
-
|
|
6
|
-
//#region src/components/RadioButton/RadioButton.tsx
|
|
7
|
-
const RadioButton = ({ isDisabled = false, label, name, value, textButtonGap = "medium", fillColor, hoverColor, uncheckedBorderColor, checked = false, onChange, id }) => {
|
|
8
|
-
const [isHovered, setIsHovered] = useState(false);
|
|
9
|
-
const containerClassName = classNames({
|
|
10
|
-
"spiffy-tw-flex": true,
|
|
11
|
-
"spiffy-tw-items-center": true,
|
|
12
|
-
"spiffy-tw-group": true,
|
|
13
|
-
"spiffy-tw-gap-1": textButtonGap === "small",
|
|
14
|
-
"spiffy-tw-gap-2": textButtonGap === "medium",
|
|
15
|
-
"spiffy-tw-gap-4": textButtonGap === "large",
|
|
16
|
-
"spiffy-tw-cursor-pointer": !isDisabled,
|
|
17
|
-
"spiffy-tw-opacity-40": isDisabled
|
|
18
|
-
});
|
|
19
|
-
const getFillColor = () => {
|
|
20
|
-
if (isHovered && hoverColor) return hoverColor;
|
|
21
|
-
if (checked) return fillColor;
|
|
22
|
-
return uncheckedBorderColor;
|
|
23
|
-
};
|
|
24
|
-
const handleChange = () => {
|
|
25
|
-
if (!isDisabled) onChange(value);
|
|
26
|
-
};
|
|
27
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
28
|
-
/* @__PURE__ */ jsx("label", {
|
|
29
|
-
className: containerClassName,
|
|
30
|
-
onMouseEnter: () => !isDisabled && setIsHovered(true),
|
|
31
|
-
onMouseLeave: () => setIsHovered(false),
|
|
32
|
-
"aria-label": label,
|
|
33
|
-
htmlFor: id,
|
|
34
|
-
children: label
|
|
35
|
-
}),
|
|
36
|
-
/* @__PURE__ */ jsxs("div", {
|
|
37
|
-
className: "spiffy-tw-relative",
|
|
38
|
-
children: [/* @__PURE__ */ jsx("input", {
|
|
39
|
-
type: "radio",
|
|
40
|
-
id,
|
|
41
|
-
name,
|
|
42
|
-
value,
|
|
43
|
-
checked,
|
|
44
|
-
disabled: isDisabled,
|
|
45
|
-
onChange: handleChange,
|
|
46
|
-
className: "spiffy-tw-sr-only"
|
|
47
|
-
}), /* @__PURE__ */ jsxs("svg", {
|
|
48
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
49
|
-
width: "24",
|
|
50
|
-
height: "24",
|
|
51
|
-
viewBox: "0 0 24 24",
|
|
52
|
-
fill: "none",
|
|
53
|
-
children: [/* @__PURE__ */ jsx("circle", {
|
|
54
|
-
cx: "12",
|
|
55
|
-
cy: "12",
|
|
56
|
-
r: "11.5",
|
|
57
|
-
fill: "white",
|
|
58
|
-
stroke: getFillColor()
|
|
59
|
-
}), checked && /* @__PURE__ */ jsx("circle", {
|
|
60
|
-
cx: "12",
|
|
61
|
-
cy: "12",
|
|
62
|
-
r: "9",
|
|
63
|
-
fill: getFillColor()
|
|
64
|
-
})]
|
|
65
|
-
})]
|
|
66
|
-
}),
|
|
67
|
-
/* @__PURE__ */ jsx(Text, {
|
|
68
|
-
variant: "body3",
|
|
69
|
-
children: label
|
|
70
|
-
})
|
|
71
|
-
] });
|
|
72
|
-
};
|
|
73
|
-
|
|
74
|
-
//#endregion
|
|
75
|
-
export { RadioButton };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
require('../textVariantClasses-CBre7vXv.cjs');
|
|
2
|
-
require('../Text-DllCE9_D.cjs');
|
|
3
|
-
require('../Text-C8t_iEj6.cjs');
|
|
4
|
-
require('../RadioButton-BdKJRzLM.cjs');
|
|
5
|
-
const require_RadioButtonGroup = require('../RadioButtonGroup-TAJMA1j_.cjs');
|
|
6
|
-
|
|
7
|
-
exports.RadioButtonGroup = require_RadioButtonGroup.RadioButtonGroup;
|
|
8
|
-
exports.SPIFFY_RADIO_BUTTON_GROUP_CLASS = require_RadioButtonGroup.SPIFFY_RADIO_BUTTON_GROUP_CLASS;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime10 from "react/jsx-runtime";
|
|
2
|
-
import { TestProps } from "@envive-ai/react-hooks/types";
|
|
3
|
-
|
|
4
|
-
//#region src/components/RadioButtonGroup/RadioButtonGroup.d.ts
|
|
5
|
-
declare const SPIFFY_RADIO_BUTTON_GROUP_CLASS = "spiffy-radio-button-group-class";
|
|
6
|
-
interface RadioButtonOption {
|
|
7
|
-
label: string;
|
|
8
|
-
value: string;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
}
|
|
11
|
-
interface RadioButtonGroupProps extends TestProps {
|
|
12
|
-
name: string;
|
|
13
|
-
options: RadioButtonOption[];
|
|
14
|
-
fillColor?: string;
|
|
15
|
-
hoverColor?: string;
|
|
16
|
-
value?: string;
|
|
17
|
-
isDisabled?: boolean;
|
|
18
|
-
gap?: 'small' | 'medium' | 'large';
|
|
19
|
-
textButtonGap?: 'small' | 'medium' | 'large';
|
|
20
|
-
onChange: (value: string) => void;
|
|
21
|
-
uncheckedBorderColor?: string;
|
|
22
|
-
}
|
|
23
|
-
declare const RadioButtonGroup: ({
|
|
24
|
-
name,
|
|
25
|
-
options,
|
|
26
|
-
fillColor,
|
|
27
|
-
hoverColor,
|
|
28
|
-
uncheckedBorderColor,
|
|
29
|
-
value,
|
|
30
|
-
isDisabled,
|
|
31
|
-
gap,
|
|
32
|
-
textButtonGap,
|
|
33
|
-
onChange
|
|
34
|
-
}: RadioButtonGroupProps) => react_jsx_runtime10.JSX.Element;
|
|
35
|
-
//#endregion
|
|
36
|
-
export { RadioButtonGroup, SPIFFY_RADIO_BUTTON_GROUP_CLASS };
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
-
import { TestProps } from "@envive-ai/react-hooks/types";
|
|
3
|
-
|
|
4
|
-
//#region src/components/RadioButtonGroup/RadioButtonGroup.d.ts
|
|
5
|
-
declare const SPIFFY_RADIO_BUTTON_GROUP_CLASS = "spiffy-radio-button-group-class";
|
|
6
|
-
interface RadioButtonOption {
|
|
7
|
-
label: string;
|
|
8
|
-
value: string;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
}
|
|
11
|
-
interface RadioButtonGroupProps extends TestProps {
|
|
12
|
-
name: string;
|
|
13
|
-
options: RadioButtonOption[];
|
|
14
|
-
fillColor?: string;
|
|
15
|
-
hoverColor?: string;
|
|
16
|
-
value?: string;
|
|
17
|
-
isDisabled?: boolean;
|
|
18
|
-
gap?: 'small' | 'medium' | 'large';
|
|
19
|
-
textButtonGap?: 'small' | 'medium' | 'large';
|
|
20
|
-
onChange: (value: string) => void;
|
|
21
|
-
uncheckedBorderColor?: string;
|
|
22
|
-
}
|
|
23
|
-
declare const RadioButtonGroup: ({
|
|
24
|
-
name,
|
|
25
|
-
options,
|
|
26
|
-
fillColor,
|
|
27
|
-
hoverColor,
|
|
28
|
-
uncheckedBorderColor,
|
|
29
|
-
value,
|
|
30
|
-
isDisabled,
|
|
31
|
-
gap,
|
|
32
|
-
textButtonGap,
|
|
33
|
-
onChange
|
|
34
|
-
}: RadioButtonGroupProps) => react_jsx_runtime0.JSX.Element;
|
|
35
|
-
//#endregion
|
|
36
|
-
export { RadioButtonGroup, SPIFFY_RADIO_BUTTON_GROUP_CLASS };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import "../textVariantClasses-CRrTb43V.js";
|
|
2
|
-
import "../Text-BLzNhX4H.js";
|
|
3
|
-
import "../Text-BMsncrpY.js";
|
|
4
|
-
import "../RadioButton-S5dALI2f.js";
|
|
5
|
-
import { RadioButtonGroup, SPIFFY_RADIO_BUTTON_GROUP_CLASS } from "../RadioButtonGroup-BipNsoHL.js";
|
|
6
|
-
|
|
7
|
-
export { RadioButtonGroup, SPIFFY_RADIO_BUTTON_GROUP_CLASS };
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { RadioButton } from "./RadioButton-S5dALI2f.js";
|
|
2
|
-
import classNames from "classnames";
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
|
|
5
|
-
//#region src/components/RadioButtonGroup/RadioButtonGroup.tsx
|
|
6
|
-
const SPIFFY_RADIO_BUTTON_GROUP_CLASS = "spiffy-radio-button-group-class";
|
|
7
|
-
const RadioButtonGroup = ({ name, options, fillColor, hoverColor, uncheckedBorderColor, value, isDisabled = false, gap = "medium", textButtonGap = "medium", onChange }) => {
|
|
8
|
-
const groupClassName = classNames({
|
|
9
|
-
[SPIFFY_RADIO_BUTTON_GROUP_CLASS]: true,
|
|
10
|
-
"spiffy-tw-flex": true,
|
|
11
|
-
"spiffy-tw-flex-col": true,
|
|
12
|
-
"spiffy-tw-gap-1": gap === "small",
|
|
13
|
-
"spiffy-tw-gap-2": gap === "medium",
|
|
14
|
-
"spiffy-tw-gap-4": gap === "large"
|
|
15
|
-
});
|
|
16
|
-
const handleChange = (selectedValue) => {
|
|
17
|
-
if (!isDisabled) onChange(selectedValue);
|
|
18
|
-
};
|
|
19
|
-
return /* @__PURE__ */ jsx("div", {
|
|
20
|
-
className: groupClassName,
|
|
21
|
-
children: options.map((option) => /* @__PURE__ */ jsx(RadioButton, {
|
|
22
|
-
id: option.value,
|
|
23
|
-
name,
|
|
24
|
-
value: option.value,
|
|
25
|
-
fillColor,
|
|
26
|
-
hoverColor,
|
|
27
|
-
uncheckedBorderColor,
|
|
28
|
-
label: option.label,
|
|
29
|
-
checked: value === option.value,
|
|
30
|
-
isDisabled: isDisabled || option.disabled,
|
|
31
|
-
onChange: handleChange,
|
|
32
|
-
textButtonGap
|
|
33
|
-
}, option.value))
|
|
34
|
-
});
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
//#endregion
|
|
38
|
-
export { RadioButtonGroup, SPIFFY_RADIO_BUTTON_GROUP_CLASS };
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
|
-
const require_RadioButton = require('./RadioButton-BdKJRzLM.cjs');
|
|
3
|
-
let classnames = require("classnames");
|
|
4
|
-
classnames = require_chunk.__toESM(classnames);
|
|
5
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
|
-
react_jsx_runtime = require_chunk.__toESM(react_jsx_runtime);
|
|
7
|
-
|
|
8
|
-
//#region src/components/RadioButtonGroup/RadioButtonGroup.tsx
|
|
9
|
-
const SPIFFY_RADIO_BUTTON_GROUP_CLASS = "spiffy-radio-button-group-class";
|
|
10
|
-
const RadioButtonGroup = ({ name, options, fillColor, hoverColor, uncheckedBorderColor, value, isDisabled = false, gap = "medium", textButtonGap = "medium", onChange }) => {
|
|
11
|
-
const groupClassName = (0, classnames.default)({
|
|
12
|
-
[SPIFFY_RADIO_BUTTON_GROUP_CLASS]: true,
|
|
13
|
-
"spiffy-tw-flex": true,
|
|
14
|
-
"spiffy-tw-flex-col": true,
|
|
15
|
-
"spiffy-tw-gap-1": gap === "small",
|
|
16
|
-
"spiffy-tw-gap-2": gap === "medium",
|
|
17
|
-
"spiffy-tw-gap-4": gap === "large"
|
|
18
|
-
});
|
|
19
|
-
const handleChange = (selectedValue) => {
|
|
20
|
-
if (!isDisabled) onChange(selectedValue);
|
|
21
|
-
};
|
|
22
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
23
|
-
className: groupClassName,
|
|
24
|
-
children: options.map((option) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_RadioButton.RadioButton, {
|
|
25
|
-
id: option.value,
|
|
26
|
-
name,
|
|
27
|
-
value: option.value,
|
|
28
|
-
fillColor,
|
|
29
|
-
hoverColor,
|
|
30
|
-
uncheckedBorderColor,
|
|
31
|
-
label: option.label,
|
|
32
|
-
checked: value === option.value,
|
|
33
|
-
isDisabled: isDisabled || option.disabled,
|
|
34
|
-
onChange: handleChange,
|
|
35
|
-
textButtonGap
|
|
36
|
-
}, option.value))
|
|
37
|
-
});
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
//#endregion
|
|
41
|
-
Object.defineProperty(exports, 'RadioButtonGroup', {
|
|
42
|
-
enumerable: true,
|
|
43
|
-
get: function () {
|
|
44
|
-
return RadioButtonGroup;
|
|
45
|
-
}
|
|
46
|
-
});
|
|
47
|
-
Object.defineProperty(exports, 'SPIFFY_RADIO_BUTTON_GROUP_CLASS', {
|
|
48
|
-
enumerable: true,
|
|
49
|
-
get: function () {
|
|
50
|
-
return SPIFFY_RADIO_BUTTON_GROUP_CLASS;
|
|
51
|
-
}
|
|
52
|
-
});
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
const require_chunk = require('../chunk-CUT6urMc.cjs');
|
|
2
|
-
let framer_motion = require("framer-motion");
|
|
3
|
-
framer_motion = require_chunk.__toESM(framer_motion);
|
|
4
|
-
let react = require("react");
|
|
5
|
-
react = require_chunk.__toESM(react);
|
|
6
|
-
let classnames = require("classnames");
|
|
7
|
-
classnames = require_chunk.__toESM(classnames);
|
|
8
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
9
|
-
react_jsx_runtime = require_chunk.__toESM(react_jsx_runtime);
|
|
10
|
-
let __envive_ai_react_icons_OutlinedStar = require("@envive-ai/react-icons/OutlinedStar");
|
|
11
|
-
__envive_ai_react_icons_OutlinedStar = require_chunk.__toESM(__envive_ai_react_icons_OutlinedStar);
|
|
12
|
-
|
|
13
|
-
//#region src/components/SearchAutocomplete/SearchAutocomplete.tsx
|
|
14
|
-
const SearchAutocomplete = ({ id, results, focusedIndex, onSuggestionSelect, iconColor }) => {
|
|
15
|
-
if (results.length === 0) return null;
|
|
16
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(framer_motion.motion.div, {
|
|
17
|
-
className: "spiffy-tw-h-full",
|
|
18
|
-
initial: {
|
|
19
|
-
opacity: 0,
|
|
20
|
-
y: -10
|
|
21
|
-
},
|
|
22
|
-
animate: {
|
|
23
|
-
opacity: 1,
|
|
24
|
-
y: 0
|
|
25
|
-
},
|
|
26
|
-
exit: {
|
|
27
|
-
opacity: 0,
|
|
28
|
-
y: -10
|
|
29
|
-
},
|
|
30
|
-
transition: { duration: .2 },
|
|
31
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("ul", {
|
|
32
|
-
id,
|
|
33
|
-
role: "listbox",
|
|
34
|
-
className: "spiffy-tw-mt-4 spiffy-tw-space-y-2",
|
|
35
|
-
children: results.map((result, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("li", {
|
|
36
|
-
id: `option-${index}`,
|
|
37
|
-
role: "option",
|
|
38
|
-
"aria-selected": index === focusedIndex,
|
|
39
|
-
className: (0, classnames.default)("spiffy-tw-flex spiffy-tw-items-center spiffy-tw-cursor-pointer spiffy-tw-py-1", { "spiffy-tw-bg-neutral-200": index === focusedIndex }, "hover:spiffy-tw-bg-neutral-100"),
|
|
40
|
-
onClick: () => onSuggestionSelect(result, index),
|
|
41
|
-
onKeyDown: (event) => {
|
|
42
|
-
if (event.key === "Enter" || event.keyCode === 13) onSuggestionSelect(result, index);
|
|
43
|
-
},
|
|
44
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(__envive_ai_react_icons_OutlinedStar.default, {
|
|
45
|
-
className: "spiffy-tw-w-[16px] spiffy-tw-h-[16px] spiffy-tw-mr-2",
|
|
46
|
-
fill: iconColor
|
|
47
|
-
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
48
|
-
className: "spiffy-tw-font-bold",
|
|
49
|
-
children: result
|
|
50
|
-
})]
|
|
51
|
-
}, index))
|
|
52
|
-
})
|
|
53
|
-
});
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
//#endregion
|
|
57
|
-
exports.SearchAutocomplete = SearchAutocomplete;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
|
|
3
|
-
//#region src/components/SearchAutocomplete/SearchAutocomplete.d.ts
|
|
4
|
-
interface GlobalSearchAutocompleteProps {
|
|
5
|
-
id: string;
|
|
6
|
-
results: string[];
|
|
7
|
-
focusedIndex: number;
|
|
8
|
-
onSuggestionSelect: (suggestion: string, rankPosition: number) => void;
|
|
9
|
-
iconColor?: string;
|
|
10
|
-
}
|
|
11
|
-
declare const SearchAutocomplete: React.FC<GlobalSearchAutocompleteProps>;
|
|
12
|
-
//#endregion
|
|
13
|
-
export { SearchAutocomplete };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
|
|
3
|
-
//#region src/components/SearchAutocomplete/SearchAutocomplete.d.ts
|
|
4
|
-
interface GlobalSearchAutocompleteProps {
|
|
5
|
-
id: string;
|
|
6
|
-
results: string[];
|
|
7
|
-
focusedIndex: number;
|
|
8
|
-
onSuggestionSelect: (suggestion: string, rankPosition: number) => void;
|
|
9
|
-
iconColor?: string;
|
|
10
|
-
}
|
|
11
|
-
declare const SearchAutocomplete: React.FC<GlobalSearchAutocompleteProps>;
|
|
12
|
-
//#endregion
|
|
13
|
-
export { SearchAutocomplete };
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { motion } from "framer-motion";
|
|
2
|
-
import React from "react";
|
|
3
|
-
import classNames from "classnames";
|
|
4
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
-
import OutlinedStar from "@envive-ai/react-icons/OutlinedStar";
|
|
6
|
-
|
|
7
|
-
//#region src/components/SearchAutocomplete/SearchAutocomplete.tsx
|
|
8
|
-
const SearchAutocomplete = ({ id, results, focusedIndex, onSuggestionSelect, iconColor }) => {
|
|
9
|
-
if (results.length === 0) return null;
|
|
10
|
-
return /* @__PURE__ */ jsx(motion.div, {
|
|
11
|
-
className: "spiffy-tw-h-full",
|
|
12
|
-
initial: {
|
|
13
|
-
opacity: 0,
|
|
14
|
-
y: -10
|
|
15
|
-
},
|
|
16
|
-
animate: {
|
|
17
|
-
opacity: 1,
|
|
18
|
-
y: 0
|
|
19
|
-
},
|
|
20
|
-
exit: {
|
|
21
|
-
opacity: 0,
|
|
22
|
-
y: -10
|
|
23
|
-
},
|
|
24
|
-
transition: { duration: .2 },
|
|
25
|
-
children: /* @__PURE__ */ jsx("ul", {
|
|
26
|
-
id,
|
|
27
|
-
role: "listbox",
|
|
28
|
-
className: "spiffy-tw-mt-4 spiffy-tw-space-y-2",
|
|
29
|
-
children: results.map((result, index) => /* @__PURE__ */ jsxs("li", {
|
|
30
|
-
id: `option-${index}`,
|
|
31
|
-
role: "option",
|
|
32
|
-
"aria-selected": index === focusedIndex,
|
|
33
|
-
className: classNames("spiffy-tw-flex spiffy-tw-items-center spiffy-tw-cursor-pointer spiffy-tw-py-1", { "spiffy-tw-bg-neutral-200": index === focusedIndex }, "hover:spiffy-tw-bg-neutral-100"),
|
|
34
|
-
onClick: () => onSuggestionSelect(result, index),
|
|
35
|
-
onKeyDown: (event) => {
|
|
36
|
-
if (event.key === "Enter" || event.keyCode === 13) onSuggestionSelect(result, index);
|
|
37
|
-
},
|
|
38
|
-
children: [/* @__PURE__ */ jsx(OutlinedStar, {
|
|
39
|
-
className: "spiffy-tw-w-[16px] spiffy-tw-h-[16px] spiffy-tw-mr-2",
|
|
40
|
-
fill: iconColor
|
|
41
|
-
}), /* @__PURE__ */ jsx("span", {
|
|
42
|
-
className: "spiffy-tw-font-bold",
|
|
43
|
-
children: result
|
|
44
|
-
})]
|
|
45
|
-
}, index))
|
|
46
|
-
})
|
|
47
|
-
});
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
//#endregion
|
|
51
|
-
export { SearchAutocomplete };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
require('../textVariantClasses-CBre7vXv.cjs');
|
|
2
|
-
require('../Text-DllCE9_D.cjs');
|
|
3
|
-
require('../Text-C8t_iEj6.cjs');
|
|
4
|
-
require('../Accordion-D9gO9_y3.cjs');
|
|
5
|
-
require('../ButtonBase-DrIwVGTR.cjs');
|
|
6
|
-
require('../ButtonBase-BIXx56hq.cjs');
|
|
7
|
-
require('../ModalSheet-Csz8HIxs.cjs');
|
|
8
|
-
require('../RadioButton-BdKJRzLM.cjs');
|
|
9
|
-
require('../RadioButtonGroup-TAJMA1j_.cjs');
|
|
10
|
-
const require_SearchFilter = require('../SearchFilter-BcLc0TMq.cjs');
|
|
11
|
-
require('../ToggleButton-DblAj4Cd.cjs');
|
|
12
|
-
|
|
13
|
-
exports.SearchFilter = require_SearchFilter.SearchFilter;
|
|
14
|
-
exports.SearchFilterHeader = require_SearchFilter.SearchFilterHeader;
|
|
15
|
-
exports.SearchFilterItem = require_SearchFilter.SearchFilterItem;
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime6 from "react/jsx-runtime";
|
|
2
|
-
import { CloseIconVariant, SearchFilterDatum, SearchFilterItemDatum, SelectFilterItem } from "@envive-ai/react-hooks/types";
|
|
3
|
-
|
|
4
|
-
//#region src/components/SearchFilter/types.d.ts
|
|
5
|
-
interface SearchFilterItem$1 extends SearchFilterItemDatum {
|
|
6
|
-
filterId: string;
|
|
7
|
-
filterItemId: string;
|
|
8
|
-
}
|
|
9
|
-
interface SearchFilterItemProps {
|
|
10
|
-
filterItem: SearchFilterItem$1;
|
|
11
|
-
onSelectFilterItem: SelectFilterItem;
|
|
12
|
-
radioButtonFillColor: string;
|
|
13
|
-
radioButtonHoverColor: string;
|
|
14
|
-
radioButtonUncheckedBorderColor: string;
|
|
15
|
-
}
|
|
16
|
-
interface SearchFilterHeaderProps {
|
|
17
|
-
closeModal: () => void;
|
|
18
|
-
productCount: number;
|
|
19
|
-
headerClassName: string;
|
|
20
|
-
filterCloseIconVariant: 'dark' | 'light' | 'tertiary';
|
|
21
|
-
}
|
|
22
|
-
type SearchFilterProps = {
|
|
23
|
-
filters: SearchFilterDatum[];
|
|
24
|
-
selectFilterItem: SelectFilterItem;
|
|
25
|
-
clearAllFilters: () => void;
|
|
26
|
-
productCount: number;
|
|
27
|
-
isOpen: boolean;
|
|
28
|
-
setIsOpen: (isOpen: boolean) => void;
|
|
29
|
-
applyFiltersUnchangedClasses: string;
|
|
30
|
-
applyFiltersChangedClasses: string;
|
|
31
|
-
headerContent?: React.ReactNode;
|
|
32
|
-
footerContent?: React.ReactNode;
|
|
33
|
-
filterButtonText?: string;
|
|
34
|
-
headerClassName?: string;
|
|
35
|
-
radioButtonFillColor: string;
|
|
36
|
-
radioButtonHoverColor?: string;
|
|
37
|
-
radioButtonUncheckedBorderColor?: string;
|
|
38
|
-
filterCloseIconVariant: CloseIconVariant;
|
|
39
|
-
};
|
|
40
|
-
//#endregion
|
|
41
|
-
//#region src/components/SearchFilter/SearchFilter.d.ts
|
|
42
|
-
declare const SearchFilter: ({
|
|
43
|
-
filters,
|
|
44
|
-
productCount,
|
|
45
|
-
selectFilterItem,
|
|
46
|
-
clearAllFilters,
|
|
47
|
-
isOpen,
|
|
48
|
-
setIsOpen,
|
|
49
|
-
applyFiltersUnchangedClasses,
|
|
50
|
-
applyFiltersChangedClasses,
|
|
51
|
-
headerContent,
|
|
52
|
-
footerContent,
|
|
53
|
-
headerClassName,
|
|
54
|
-
radioButtonFillColor,
|
|
55
|
-
radioButtonHoverColor,
|
|
56
|
-
radioButtonUncheckedBorderColor,
|
|
57
|
-
filterCloseIconVariant
|
|
58
|
-
}: SearchFilterProps) => react_jsx_runtime6.JSX.Element;
|
|
59
|
-
//#endregion
|
|
60
|
-
//#region src/components/SearchFilter/SearchFilterHeader.d.ts
|
|
61
|
-
declare const SearchFilterHeader: ({
|
|
62
|
-
closeModal,
|
|
63
|
-
productCount,
|
|
64
|
-
headerClassName,
|
|
65
|
-
filterCloseIconVariant
|
|
66
|
-
}: SearchFilterHeaderProps) => react_jsx_runtime6.JSX.Element;
|
|
67
|
-
//#endregion
|
|
68
|
-
//#region src/components/SearchFilter/SearchFilterItem.d.ts
|
|
69
|
-
declare const SearchFilterItem: ({
|
|
70
|
-
filterItem,
|
|
71
|
-
onSelectFilterItem,
|
|
72
|
-
radioButtonFillColor,
|
|
73
|
-
radioButtonHoverColor,
|
|
74
|
-
radioButtonUncheckedBorderColor
|
|
75
|
-
}: SearchFilterItemProps) => react_jsx_runtime6.JSX.Element;
|
|
76
|
-
//#endregion
|
|
77
|
-
export { SearchFilter, SearchFilterHeader, SearchFilterItem };
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime18 from "react/jsx-runtime";
|
|
2
|
-
import { CloseIconVariant, SearchFilterDatum, SearchFilterItemDatum, SelectFilterItem } from "@envive-ai/react-hooks/types";
|
|
3
|
-
|
|
4
|
-
//#region src/components/SearchFilter/types.d.ts
|
|
5
|
-
interface SearchFilterItem$1 extends SearchFilterItemDatum {
|
|
6
|
-
filterId: string;
|
|
7
|
-
filterItemId: string;
|
|
8
|
-
}
|
|
9
|
-
interface SearchFilterItemProps {
|
|
10
|
-
filterItem: SearchFilterItem$1;
|
|
11
|
-
onSelectFilterItem: SelectFilterItem;
|
|
12
|
-
radioButtonFillColor: string;
|
|
13
|
-
radioButtonHoverColor: string;
|
|
14
|
-
radioButtonUncheckedBorderColor: string;
|
|
15
|
-
}
|
|
16
|
-
interface SearchFilterHeaderProps {
|
|
17
|
-
closeModal: () => void;
|
|
18
|
-
productCount: number;
|
|
19
|
-
headerClassName: string;
|
|
20
|
-
filterCloseIconVariant: 'dark' | 'light' | 'tertiary';
|
|
21
|
-
}
|
|
22
|
-
type SearchFilterProps = {
|
|
23
|
-
filters: SearchFilterDatum[];
|
|
24
|
-
selectFilterItem: SelectFilterItem;
|
|
25
|
-
clearAllFilters: () => void;
|
|
26
|
-
productCount: number;
|
|
27
|
-
isOpen: boolean;
|
|
28
|
-
setIsOpen: (isOpen: boolean) => void;
|
|
29
|
-
applyFiltersUnchangedClasses: string;
|
|
30
|
-
applyFiltersChangedClasses: string;
|
|
31
|
-
headerContent?: React.ReactNode;
|
|
32
|
-
footerContent?: React.ReactNode;
|
|
33
|
-
filterButtonText?: string;
|
|
34
|
-
headerClassName?: string;
|
|
35
|
-
radioButtonFillColor: string;
|
|
36
|
-
radioButtonHoverColor?: string;
|
|
37
|
-
radioButtonUncheckedBorderColor?: string;
|
|
38
|
-
filterCloseIconVariant: CloseIconVariant;
|
|
39
|
-
};
|
|
40
|
-
//#endregion
|
|
41
|
-
//#region src/components/SearchFilter/SearchFilter.d.ts
|
|
42
|
-
declare const SearchFilter: ({
|
|
43
|
-
filters,
|
|
44
|
-
productCount,
|
|
45
|
-
selectFilterItem,
|
|
46
|
-
clearAllFilters,
|
|
47
|
-
isOpen,
|
|
48
|
-
setIsOpen,
|
|
49
|
-
applyFiltersUnchangedClasses,
|
|
50
|
-
applyFiltersChangedClasses,
|
|
51
|
-
headerContent,
|
|
52
|
-
footerContent,
|
|
53
|
-
headerClassName,
|
|
54
|
-
radioButtonFillColor,
|
|
55
|
-
radioButtonHoverColor,
|
|
56
|
-
radioButtonUncheckedBorderColor,
|
|
57
|
-
filterCloseIconVariant
|
|
58
|
-
}: SearchFilterProps) => react_jsx_runtime18.JSX.Element;
|
|
59
|
-
//#endregion
|
|
60
|
-
//#region src/components/SearchFilter/SearchFilterHeader.d.ts
|
|
61
|
-
declare const SearchFilterHeader: ({
|
|
62
|
-
closeModal,
|
|
63
|
-
productCount,
|
|
64
|
-
headerClassName,
|
|
65
|
-
filterCloseIconVariant
|
|
66
|
-
}: SearchFilterHeaderProps) => react_jsx_runtime18.JSX.Element;
|
|
67
|
-
//#endregion
|
|
68
|
-
//#region src/components/SearchFilter/SearchFilterItem.d.ts
|
|
69
|
-
declare const SearchFilterItem: ({
|
|
70
|
-
filterItem,
|
|
71
|
-
onSelectFilterItem,
|
|
72
|
-
radioButtonFillColor,
|
|
73
|
-
radioButtonHoverColor,
|
|
74
|
-
radioButtonUncheckedBorderColor
|
|
75
|
-
}: SearchFilterItemProps) => react_jsx_runtime18.JSX.Element;
|
|
76
|
-
//#endregion
|
|
77
|
-
export { SearchFilter, SearchFilterHeader, SearchFilterItem };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import "../textVariantClasses-CRrTb43V.js";
|
|
2
|
-
import "../Text-BLzNhX4H.js";
|
|
3
|
-
import "../Text-BMsncrpY.js";
|
|
4
|
-
import "../Accordion-ZEdp99Ph.js";
|
|
5
|
-
import "../ButtonBase-DgRupM53.js";
|
|
6
|
-
import "../ButtonBase-0NN6wmX-.js";
|
|
7
|
-
import "../ModalSheet-01pxpy_K.js";
|
|
8
|
-
import "../RadioButton-S5dALI2f.js";
|
|
9
|
-
import "../RadioButtonGroup-BipNsoHL.js";
|
|
10
|
-
import { SearchFilter, SearchFilterHeader, SearchFilterItem } from "../SearchFilter-w-0s2YVu.js";
|
|
11
|
-
import "../ToggleButton-r7Y7Kzzo.js";
|
|
12
|
-
|
|
13
|
-
export { SearchFilter, SearchFilterHeader, SearchFilterItem };
|