@envive-ai/react-toolkit 0.1.7 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Accordion/index.cjs +6 -5
- package/dist/Accordion/index.d.cts +2 -2
- package/dist/Accordion/index.d.ts +2 -2
- package/dist/Accordion/index.js +4 -2
- package/dist/AppliedFiltersScrollbar/index.cjs +4 -3
- package/dist/AppliedFiltersScrollbar/index.d.cts +3 -3
- package/dist/AppliedFiltersScrollbar/index.d.ts +3 -3
- package/dist/AppliedFiltersScrollbar/index.js +3 -1
- package/dist/ButtonBase/index.cjs +4 -4
- package/dist/ButtonBase/index.d.cts +3 -3
- package/dist/ButtonBase/index.d.ts +3 -3
- package/dist/ButtonBase/index.js +4 -4
- package/dist/{ButtonBase-BIAu5fIG.js → ButtonBase-DGbSm0SJ.js} +1 -1
- package/dist/{ButtonBase-DcyxOe2v.cjs → ButtonBase-DGpQBeLR.cjs} +1 -1
- package/dist/DynamicFiltersScrollbar/index.cjs +4 -3
- package/dist/DynamicFiltersScrollbar/index.d.cts +2 -2
- package/dist/DynamicFiltersScrollbar/index.d.ts +2 -2
- package/dist/DynamicFiltersScrollbar/index.js +3 -1
- package/dist/{DynamicFiltersScrollbar-BmPTqym5.js → DynamicFiltersScrollbar-CCwh0QW4.js} +1 -1
- package/dist/{DynamicFiltersScrollbar-BTopFhyl.cjs → DynamicFiltersScrollbar-U9-CmTKd.cjs} +1 -1
- package/dist/FilterScrollbar/index.cjs +3 -3
- package/dist/FilterScrollbar/index.d.cts +4 -4
- package/dist/FilterScrollbar/index.d.ts +4 -4
- package/dist/FilterScrollbar/index.js +3 -3
- package/dist/Headline/index.cjs +2 -2
- package/dist/Headline/index.d.cts +2 -2
- package/dist/Headline/index.js +2 -2
- package/dist/{Headline-XpaAeTSR.js → Headline-BkOW1lQj.js} +1 -1
- package/dist/{Headline-iP_MckEO.cjs → Headline-QpruZlcg.cjs} +1 -1
- package/dist/ImageWithFallback/index.d.cts +2 -2
- package/dist/ImageWithFallback/index.d.ts +2 -2
- package/dist/ProductCard/index.cjs +4 -4
- package/dist/ProductCard/index.d.cts +2 -3
- package/dist/ProductCard/index.d.ts +2 -3
- package/dist/ProductCard/index.js +4 -4
- package/dist/{ProductCard-DZZKutY-.cjs → ProductCard-BYjPKgX3.cjs} +2 -2
- package/dist/{ProductCard-SF8-lXlT.js → ProductCard-DCFMFwCH.js} +2 -2
- package/dist/ProductGrid/index.cjs +5 -5
- package/dist/ProductGrid/index.d.cts +6 -5
- package/dist/ProductGrid/index.d.ts +6 -5
- package/dist/ProductGrid/index.js +5 -5
- package/dist/{ProductGrid-DTUhH219.js → ProductGrid-BoJzUK_H.js} +3 -28
- package/dist/{ProductGrid-BSSmPr7K.cjs → ProductGrid-CJmmGxBQ.cjs} +3 -28
- package/dist/SearchFilter/index.cjs +4 -4
- package/dist/SearchFilter/index.d.cts +71 -2
- package/dist/SearchFilter/index.d.ts +71 -2
- package/dist/SearchFilter/index.js +4 -4
- package/dist/{SearchFilter-B15tybnV.cjs → SearchFilter-B8jliRly.cjs} +8 -5
- package/dist/{SearchFilter-D427M2UE.js → SearchFilter-Da6SL9mU.js} +8 -5
- package/dist/SearchInput/index.cjs +3 -3
- package/dist/SearchInput/index.d.cts +2 -2
- package/dist/SearchInput/index.d.ts +2 -2
- package/dist/SearchInput/index.js +3 -3
- package/dist/{SearchInput-D6UW79wT.cjs → SearchInput-BFlu_3iT.cjs} +1 -1
- package/dist/{SearchInput-C0wB4hSV.js → SearchInput-DxDC1mcq.js} +1 -1
- package/dist/SearchInputForm/index.cjs +3 -3
- package/dist/SearchInputForm/index.d.cts +1 -1
- package/dist/SearchInputForm/index.d.ts +1 -1
- package/dist/SearchInputForm/index.js +3 -3
- package/dist/SearchResultsContent/index.cjs +10 -10
- package/dist/SearchResultsContent/index.d.cts +5 -7
- package/dist/SearchResultsContent/index.d.ts +5 -7
- package/dist/SearchResultsContent/index.js +10 -10
- package/dist/SearchResultsFilterSidebar/index.cjs +6 -7
- package/dist/SearchResultsFilterSidebar/index.d.cts +2 -3
- package/dist/SearchResultsFilterSidebar/index.d.ts +2 -3
- package/dist/SearchResultsFilterSidebar/index.js +6 -7
- package/dist/SearchResultsStates/index.cjs +10 -10
- package/dist/SearchResultsStates/index.d.cts +7 -9
- package/dist/SearchResultsStates/index.d.ts +7 -9
- package/dist/SearchResultsStates/index.js +10 -10
- package/dist/{SearchResultsStates-CNp6YCqF.js → SearchResultsStates-CEi_RHna.js} +9 -9
- package/dist/{SearchResultsStates-Du7HXBi8.cjs → SearchResultsStates-CJYgUA66.cjs} +9 -10
- package/dist/SparkleAnimation/index.cjs +1 -1
- package/dist/SparkleAnimation/index.d.cts +2 -2
- package/dist/SparkleAnimation/index.d.ts +2 -2
- package/dist/SparkleAnimation/index.js +1 -1
- package/dist/{SparkleAnimation-D1QpGZIg.cjs → SparkleAnimation-BY5iw7s0.cjs} +5 -5
- package/dist/{SparkleAnimation-B0u6JtO3.js → SparkleAnimation-fQHP7b-R.js} +1 -1
- package/dist/Spinner/index.d.cts +2 -2
- package/dist/SuggestionButton/index.cjs +9 -9
- package/dist/SuggestionButton/index.d.cts +3 -3
- package/dist/SuggestionButton/index.d.ts +1 -1
- package/dist/SuggestionButton/index.js +5 -5
- package/dist/Text/index.cjs +3 -3
- package/dist/Text/index.d.cts +3 -3
- package/dist/Text/index.d.ts +3 -3
- package/dist/Text/index.js +3 -3
- package/dist/{Text-BMg3d10t.js → Text-Bod4OMPk.js} +1 -1
- package/dist/{Text-CgOYTs8D.cjs → Text-MQjxqgZZ.cjs} +1 -1
- package/dist/TextInput/index.cjs +2 -2
- package/dist/TextInput/index.d.cts +1 -1
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/TextInput/index.js +2 -2
- package/dist/{TextInput-CRMqBW3X.js → TextInput-BFPXhSAY.js} +1 -1
- package/dist/{TextInput-C6fF9cSB.cjs → TextInput-DLSgpP6b.cjs} +1 -1
- package/dist/{index-ByucvlTy.d.ts → index-BCqBaFxm.d.cts} +9 -37
- package/dist/{index-B8bifyF-.d.ts → index-B_tehqNH.d.ts} +2 -2
- package/dist/{index-C2iKBk7w.d.cts → index-D4n-kZvz.d.cts} +2 -2
- package/dist/{index-14eDYe9f.d.ts → index-D8gHW7ox.d.ts} +5 -16
- package/dist/{index-B3iEVxkL.d.cts → index-DO4ksBrm.d.ts} +9 -37
- package/dist/{index-BFdFh46m.d.cts → index-DV2K-9lE.d.cts} +3 -14
- package/package.json +3 -2
- package/src/components/Accordion/Accordion.tsx +1 -1
- package/src/components/AppliedFiltersScrollbar/AppliedFiltersScrollbar.tsx +2 -2
- package/src/components/ButtonBase/types.ts +1 -1
- package/src/components/DynamicFiltersScrollbar/DynamicFiltersScrollbar.tsx +1 -1
- package/src/components/FilterScrollbar/AppliedFiltersScrollbar.tsx +1 -1
- package/src/components/ProductCard/ProductCard.tsx +3 -4
- package/src/components/ProductCard/ProductCardSkeleton.tsx +1 -7
- package/src/components/ProductCard/types.ts +1 -1
- package/src/components/ProductGrid/ProductGrid.tsx +3 -2
- package/src/components/SearchFilter/SearchFilter.tsx +4 -4
- package/src/components/SearchFilter/index.ts +0 -1
- package/src/components/SearchFilter/types.ts +22 -26
- package/src/components/SearchResultsContent/SearchResultsContent.tsx +1 -1
- package/src/components/SearchResultsFilterSidebar/SearchResultsFilter.tsx +5 -4
- package/src/components/SearchResultsFilterSidebar/types.ts +0 -13
- package/src/components/SearchResultsStates/SearchResultsGrid.tsx +2 -1
- package/src/components/SearchResultsStates/SearchResultsLoadingGrid.tsx +1 -1
- package/src/components/SparkleAnimation/SparkleAnimation.tsx +1 -1
- package/src/components/SuggestionButton/SuggestionButton.tsx +3 -3
- package/dist/index-DLbdcczl.d.ts +0 -78
- package/dist/index-DlvTcfAg.d.cts +0 -78
- package/dist/types-Bm-qQyO3.d.ts +0 -8
- package/dist/types-C0UWKVvw.d.ts +0 -6
- package/dist/types-CZHc-1wI.d.cts +0 -8
- package/dist/types-D2xCS4y9.d.cts +0 -6
- /package/dist/{ButtonBase-BRfuPPzN.js → ButtonBase-C_uKnl48.js} +0 -0
- /package/dist/{ButtonBase-BleAVeo-.cjs → ButtonBase-DbWQ25n-.cjs} +0 -0
- /package/dist/{Text-DkwDPbHy.js → Text-BMsncrpY.js} +0 -0
- /package/dist/{Text-Ji61nRRE.cjs → Text-C8t_iEj6.cjs} +0 -0
- /package/dist/{searchFilterSidebarVariants-CZT1frB-.js → searchFilterSidebarVariants-BWQyiKwS.js} +0 -0
- /package/dist/{searchFilterSidebarVariants-xyhy0PmQ.cjs → searchFilterSidebarVariants-D08jyA7U.cjs} +0 -0
- /package/dist/{textVariantClasses-C8OCWZAw.d.ts → textVariantClasses-B0gNjzl4.d.cts} +0 -0
- /package/dist/{textVariantClasses-CnjwO2Fv.js → textVariantClasses-D77TGEy1.js} +0 -0
- /package/dist/{textVariantClasses-BnV4wXaw.cjs → textVariantClasses-Dgz7Zaql.cjs} +0 -0
- /package/dist/{textVariantClasses-DwnnFNBf.d.cts → textVariantClasses-ypYGLq0h.d.ts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime9 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/SearchInputForm/types.d.ts
|
|
4
4
|
type SearchInputVariant = 'standard';
|
|
@@ -31,6 +31,6 @@ declare const SearchInputForm: ({
|
|
|
31
31
|
onSearchInputChange,
|
|
32
32
|
onSearchSubmit,
|
|
33
33
|
searchInputDataTestId
|
|
34
|
-
}: SearchInputFormProps) =>
|
|
34
|
+
}: SearchInputFormProps) => react_jsx_runtime9.JSX.Element;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { SearchInputForm, SearchInputVariant };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime13 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/SearchInputForm/types.d.ts
|
|
4
4
|
type SearchInputVariant = 'standard';
|
|
@@ -31,6 +31,6 @@ declare const SearchInputForm: ({
|
|
|
31
31
|
onSearchInputChange,
|
|
32
32
|
onSearchSubmit,
|
|
33
33
|
searchInputDataTestId
|
|
34
|
-
}: SearchInputFormProps) =>
|
|
34
|
+
}: SearchInputFormProps) => react_jsx_runtime13.JSX.Element;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { SearchInputForm, SearchInputVariant };
|
|
@@ -1,20 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import * as react_jsx_runtime15 from "react/jsx-runtime";
|
|
2
|
+
import { SearchFilterDatum, SelectFilterItem } from "@envive-ai/react-hooks/types";
|
|
3
3
|
|
|
4
4
|
//#region src/components/SearchResultsFilterSidebar/types.d.ts
|
|
5
5
|
type SearchFilterSidebarVariant = 'darkButton' | 'lightButton';
|
|
6
6
|
type CloseIconVariant = 'light' | 'tertiary' | 'dark';
|
|
7
|
-
type SearchFilter = {
|
|
8
|
-
id: string;
|
|
9
|
-
displayName: string;
|
|
10
|
-
items: SearchFilterItem[];
|
|
11
|
-
};
|
|
12
|
-
type SearchFilterItem = {
|
|
13
|
-
id: string;
|
|
14
|
-
displayName: string;
|
|
15
|
-
value: string;
|
|
16
|
-
isSelected: boolean;
|
|
17
|
-
};
|
|
18
7
|
//#endregion
|
|
19
8
|
//#region src/components/SearchResultsFilterSidebar/searchFilterSidebarVariants.d.ts
|
|
20
9
|
interface SearchFilterSidebarVariantClasses {
|
|
@@ -37,7 +26,7 @@ type SearchResultsFilterProps = {
|
|
|
37
26
|
productCount: number;
|
|
38
27
|
isOpen: boolean;
|
|
39
28
|
setIsOpen: (isOpen: boolean) => void;
|
|
40
|
-
searchFilters:
|
|
29
|
+
searchFilters: SearchFilterDatum[];
|
|
41
30
|
searchFilterSidebarVariant: SearchFilterSidebarVariant;
|
|
42
31
|
searchText: string;
|
|
43
32
|
onSelectFilterItem: SelectFilterItem;
|
|
@@ -53,6 +42,6 @@ declare const SearchResultsFilter: ({
|
|
|
53
42
|
onSelectFilterItem,
|
|
54
43
|
onClearAllFilters,
|
|
55
44
|
filterButtonText
|
|
56
|
-
}: SearchResultsFilterProps) =>
|
|
45
|
+
}: SearchResultsFilterProps) => react_jsx_runtime15.JSX.Element;
|
|
57
46
|
//#endregion
|
|
58
|
-
export { CloseIconVariant,
|
|
47
|
+
export { CloseIconVariant, SearchFilterSidebarVariant, SearchResultsFilter, SearchResultsFilterProps, searchFilterSidebarVariantClasses };
|
|
@@ -1,31 +1,8 @@
|
|
|
1
|
-
import { TestProps } from "./types-D2xCS4y9.cjs";
|
|
2
|
-
import * as react_jsx_runtime19 from "react/jsx-runtime";
|
|
3
1
|
import { FC } from "react";
|
|
2
|
+
import * as react_jsx_runtime16 from "react/jsx-runtime";
|
|
3
|
+
import { TestProps } from "@envive-ai/react-hooks/types";
|
|
4
4
|
import { ResponseCategory, SearchResponseProduct } from "@spiffy-ai/commerce-api-client";
|
|
5
5
|
|
|
6
|
-
//#region src/config/chatElementDisplayLocation.d.ts
|
|
7
|
-
declare enum ChatElementDisplayLocation {
|
|
8
|
-
IN_CHAT = "in_chat",
|
|
9
|
-
CHAT_PREVIEW = "chat_preview",
|
|
10
|
-
FLOATING_BUTTON = "floating_button",
|
|
11
|
-
HELP_ME_CHOOSE = "help_me_choose",
|
|
12
|
-
PLP_IMAGE_BANNER = "plp_image_banner",
|
|
13
|
-
TOP_REVIEWS_SNIPPET = "top_reviews_snippet",
|
|
14
|
-
BOTTOM_REVIEWS_SNIPPET = "bottom_reviews_snippet",
|
|
15
|
-
BLOCK_BACK_BUTTON = "block_back_button",
|
|
16
|
-
SWITCH_TO_AGENT = "switch_to_agent",
|
|
17
|
-
CONVERSATIONAL_SEARCH = "conversational_search",
|
|
18
|
-
GLOBAL_SEARCH_ENTRYPOINT = "global_search_entrypoint",
|
|
19
|
-
SEARCH_NAV_ENTRYPOINT = "search_nav_entrypoint",
|
|
20
|
-
SEARCH_PROMPT = "search_prompt",
|
|
21
|
-
SEARCH_PROMPT_BUTTON = "search_prompt_button",
|
|
22
|
-
PRODUCT_GRID = "product_grid",
|
|
23
|
-
UNSPECIFIED = "unspecified",
|
|
24
|
-
FILTER_MODAL = "filter_modal",
|
|
25
|
-
PROMPT_CARD = "prompt_card",
|
|
26
|
-
WINDOW_API_CALL = "window_api_call",
|
|
27
|
-
}
|
|
28
|
-
//#endregion
|
|
29
6
|
//#region src/util/trim.d.ts
|
|
30
7
|
/**
|
|
31
8
|
* Remove spaces from the left side.
|
|
@@ -248,7 +225,7 @@ type ProductGridVariant = 'standard' | 'square';
|
|
|
248
225
|
type ProductCardVariant = 'filled' | 'bordered' | 'minimal' | 'transparentBordered';
|
|
249
226
|
type ProductCardHoverVariant = 'backgroundDark' | 'none';
|
|
250
227
|
type ProductCardLayoutVariant = 'normal' | 'tall' | 'square';
|
|
251
|
-
type ProductCardImageAspectRatio = '
|
|
228
|
+
type ProductCardImageAspectRatio = '3:4' | 'square' | 'none';
|
|
252
229
|
interface ProductCardConfig {
|
|
253
230
|
variant: ProductCardVariant;
|
|
254
231
|
hoverVariant: ProductCardHoverVariant;
|
|
@@ -259,7 +236,7 @@ interface SearchResponseProductAttributes {
|
|
|
259
236
|
category: ResponseCategory.Product;
|
|
260
237
|
attributes: CamelCasedPropertiesDeep<SearchResponseProduct>;
|
|
261
238
|
}
|
|
262
|
-
interface ProductCardSkeletonProps
|
|
239
|
+
interface ProductCardSkeletonProps {
|
|
263
240
|
layoutVariant: ProductCardLayoutVariant;
|
|
264
241
|
aspectRatio: ProductCardImageAspectRatio;
|
|
265
242
|
growWithContainer?: boolean;
|
|
@@ -284,7 +261,7 @@ declare const RatingSummary: ({
|
|
|
284
261
|
stars,
|
|
285
262
|
reviewCount,
|
|
286
263
|
className
|
|
287
|
-
}: RatingSummaryProps) =>
|
|
264
|
+
}: RatingSummaryProps) => react_jsx_runtime16.JSX.Element;
|
|
288
265
|
interface PriceSectionProps {
|
|
289
266
|
originalPrice?: string;
|
|
290
267
|
salePrice?: string;
|
|
@@ -294,7 +271,7 @@ declare const PriceSection: ({
|
|
|
294
271
|
originalPrice,
|
|
295
272
|
salePrice,
|
|
296
273
|
pricePrefix
|
|
297
|
-
}: PriceSectionProps) =>
|
|
274
|
+
}: PriceSectionProps) => react_jsx_runtime16.JSX.Element;
|
|
298
275
|
interface ProductCardProps extends TestProps {
|
|
299
276
|
productCardConfig?: ProductCardConfig;
|
|
300
277
|
merchantShortName: string;
|
|
@@ -302,7 +279,7 @@ interface ProductCardProps extends TestProps {
|
|
|
302
279
|
url: string;
|
|
303
280
|
searchResponseId?: string;
|
|
304
281
|
productResponseId?: string;
|
|
305
|
-
cardDisplayLocation:
|
|
282
|
+
cardDisplayLocation: string;
|
|
306
283
|
imageUrl?: string;
|
|
307
284
|
originalPrice?: number;
|
|
308
285
|
averageRating?: number;
|
|
@@ -335,14 +312,9 @@ declare const ProductCard: ({
|
|
|
335
312
|
aspectRatio,
|
|
336
313
|
growWithContainer,
|
|
337
314
|
handleClick
|
|
338
|
-
}: ProductCardProps) =>
|
|
315
|
+
}: ProductCardProps) => react_jsx_runtime16.JSX.Element;
|
|
339
316
|
//#endregion
|
|
340
317
|
//#region src/components/ProductCard/ProductCardSkeleton.d.ts
|
|
341
|
-
interface ProductCardSkeletonProps {
|
|
342
|
-
layoutVariant: ProductCardLayoutVariant;
|
|
343
|
-
aspectRatio?: '3:4' | 'square' | 'none';
|
|
344
|
-
growWithContainer?: boolean;
|
|
345
|
-
}
|
|
346
318
|
declare const ProductCardSkeleton: FC<ProductCardSkeletonProps>;
|
|
347
319
|
//#endregion
|
|
348
320
|
//#region src/components/ProductCard/productCardVariants.d.ts
|
|
@@ -354,4 +326,4 @@ declare const variantHoverClassMap: Map<ProductCardHoverVariant, string[]>;
|
|
|
354
326
|
declare const variantTitleColorMap: Map<ProductCardVariant, string>;
|
|
355
327
|
declare const productCardLayoutVariantClasses: Record<ProductCardLayoutVariant, Record<string, string[]>>;
|
|
356
328
|
//#endregion
|
|
357
|
-
export { AnimatedProductCardOverrides, PriceSection, ProductCard, ProductCardConfig, ProductCardHoverVariant, ProductCardImageAspectRatio, ProductCardLayoutVariant, ProductCardSkeleton, ProductCardSkeletonOverrides, ProductCardSkeletonProps
|
|
329
|
+
export { AnimatedProductCardOverrides, PriceSection, ProductCard, ProductCardConfig, ProductCardHoverVariant, ProductCardImageAspectRatio, ProductCardLayoutVariant, ProductCardSkeleton, ProductCardSkeletonOverrides, ProductCardSkeletonProps, ProductCardVariant, ProductGridProps, ProductGridVariant, RatingSummary, RatingSummaryProps, SearchResponseProductAttributes, productCardLayoutVariantClasses, variantClassMap, variantHoverClassMap, variantTitleColorMap };
|
|
@@ -1,20 +1,9 @@
|
|
|
1
|
-
import { SelectFilterItem } from "./index-DlvTcfAg.cjs";
|
|
2
1
|
import * as react_jsx_runtime23 from "react/jsx-runtime";
|
|
2
|
+
import { SearchFilterDatum, SelectFilterItem } from "@envive-ai/react-hooks/types";
|
|
3
3
|
|
|
4
4
|
//#region src/components/SearchResultsFilterSidebar/types.d.ts
|
|
5
5
|
type SearchFilterSidebarVariant = 'darkButton' | 'lightButton';
|
|
6
6
|
type CloseIconVariant = 'light' | 'tertiary' | 'dark';
|
|
7
|
-
type SearchFilter = {
|
|
8
|
-
id: string;
|
|
9
|
-
displayName: string;
|
|
10
|
-
items: SearchFilterItem[];
|
|
11
|
-
};
|
|
12
|
-
type SearchFilterItem = {
|
|
13
|
-
id: string;
|
|
14
|
-
displayName: string;
|
|
15
|
-
value: string;
|
|
16
|
-
isSelected: boolean;
|
|
17
|
-
};
|
|
18
7
|
//#endregion
|
|
19
8
|
//#region src/components/SearchResultsFilterSidebar/searchFilterSidebarVariants.d.ts
|
|
20
9
|
interface SearchFilterSidebarVariantClasses {
|
|
@@ -37,7 +26,7 @@ type SearchResultsFilterProps = {
|
|
|
37
26
|
productCount: number;
|
|
38
27
|
isOpen: boolean;
|
|
39
28
|
setIsOpen: (isOpen: boolean) => void;
|
|
40
|
-
searchFilters:
|
|
29
|
+
searchFilters: SearchFilterDatum[];
|
|
41
30
|
searchFilterSidebarVariant: SearchFilterSidebarVariant;
|
|
42
31
|
searchText: string;
|
|
43
32
|
onSelectFilterItem: SelectFilterItem;
|
|
@@ -55,4 +44,4 @@ declare const SearchResultsFilter: ({
|
|
|
55
44
|
filterButtonText
|
|
56
45
|
}: SearchResultsFilterProps) => react_jsx_runtime23.JSX.Element;
|
|
57
46
|
//#endregion
|
|
58
|
-
export { CloseIconVariant,
|
|
47
|
+
export { CloseIconVariant, SearchFilterSidebarVariant, SearchResultsFilter, SearchResultsFilterProps, searchFilterSidebarVariantClasses };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@envive-ai/react-toolkit",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "React component library for Envive services.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"prepublish": "npm run build"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@envive-ai/react-hooks": "^0.1.
|
|
27
|
+
"@envive-ai/react-hooks": "^0.1.3",
|
|
28
28
|
"@envive-ai/react-icons": "0.1.1",
|
|
29
29
|
"classnames": "^2.5.1",
|
|
30
30
|
"framer-motion": "^12.23.12",
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
"react-dom": "^18.3.1"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
+
"@types/react": "^19.1.12",
|
|
39
40
|
"tsdown": "^0.14.2",
|
|
40
41
|
"typescript": "~5.8.3"
|
|
41
42
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { motion } from 'framer-motion';
|
|
2
2
|
import { useRef, useState } from 'react';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
|
-
import { Text } from '
|
|
4
|
+
import { Text } from 'src/components/Text';
|
|
5
5
|
import ChevronDown from '@envive-ai/react-icons/ChevronDown';
|
|
6
6
|
|
|
7
7
|
interface AccordionProps {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import classNames from 'classnames';
|
|
2
2
|
import ScrollContainer from 'react-indiana-drag-scroll';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { Text } from 'src/components/Text';
|
|
4
|
+
import { SelectedFilterOption } from '@envive-ai/react-hooks/atoms/search';
|
|
5
5
|
|
|
6
6
|
interface AppliedFiltersScrollbarProps {
|
|
7
7
|
selectedFilterOptions: SelectedFilterOption[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import classNames from 'classnames';
|
|
2
2
|
import ScrollContainer from 'react-indiana-drag-scroll';
|
|
3
|
-
import { Text } from '
|
|
3
|
+
import { Text } from 'src/components/Text';
|
|
4
4
|
|
|
5
5
|
interface DynamicFiltersScrollbarProps {
|
|
6
6
|
availableDynamicFilters: { name: string; displayName: string }[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { SelectedFilterOption } from '@envive-ai/react-hooks/atoms/search';
|
|
1
2
|
import classNames from 'classnames';
|
|
2
3
|
import ScrollContainer from 'react-indiana-drag-scroll';
|
|
3
4
|
import { Text } from 'src/components/Text/Text';
|
|
4
|
-
import type { SelectedFilterOption } from 'src/atoms/search/types';
|
|
5
5
|
|
|
6
6
|
interface AppliedFiltersScrollbarProps {
|
|
7
7
|
selectedFilterOptions: SelectedFilterOption[];
|
|
@@ -6,9 +6,7 @@ import {
|
|
|
6
6
|
productCardLayoutVariantClasses,
|
|
7
7
|
variantTitleColorMap,
|
|
8
8
|
} from './productCardVariants';
|
|
9
|
-
import { ChatElementDisplayLocation } from 'src/config/chatElementDisplayLocation';
|
|
10
9
|
import Logger from 'src/logging/logger';
|
|
11
|
-
import { TestProps } from 'src/test/types';
|
|
12
10
|
import { Headline } from '../Headline';
|
|
13
11
|
import { ImageWithFallback } from '../ImageWithFallback';
|
|
14
12
|
import { Spinner } from '../Spinner';
|
|
@@ -21,13 +19,14 @@ import {
|
|
|
21
19
|
import { Text } from 'src/components/Text/Text';
|
|
22
20
|
import { formatPrice } from 'src/util/formatPrice';
|
|
23
21
|
import { useImageResolver } from '@envive-ai/react-hooks/hooks';
|
|
22
|
+
import { TestProps } from '@envive-ai/react-hooks/types';
|
|
24
23
|
|
|
25
24
|
const formatReviews = (stars: number) =>
|
|
26
25
|
String(
|
|
27
26
|
Number(stars).toLocaleString('en-US', { minimumFractionDigits: 1, maximumFractionDigits: 1 }),
|
|
28
27
|
);
|
|
29
28
|
|
|
30
|
-
interface RatingSummaryProps {
|
|
29
|
+
export interface RatingSummaryProps {
|
|
31
30
|
stars: number;
|
|
32
31
|
reviewCount: number;
|
|
33
32
|
className?: string;
|
|
@@ -118,7 +117,7 @@ interface ProductCardProps extends TestProps {
|
|
|
118
117
|
url: string;
|
|
119
118
|
searchResponseId?: string;
|
|
120
119
|
productResponseId?: string;
|
|
121
|
-
cardDisplayLocation:
|
|
120
|
+
cardDisplayLocation: string;
|
|
122
121
|
imageUrl?: string;
|
|
123
122
|
originalPrice?: number;
|
|
124
123
|
averageRating?: number;
|
|
@@ -1,14 +1,8 @@
|
|
|
1
1
|
import type { FC } from 'react';
|
|
2
2
|
import classNames from 'classnames';
|
|
3
|
-
import { ProductCardSkeletonOverrides,
|
|
3
|
+
import { ProductCardSkeletonOverrides, ProductCardSkeletonProps } from './types';
|
|
4
4
|
import { productCardLayoutVariantClasses } from './productCardVariants';
|
|
5
5
|
|
|
6
|
-
interface ProductCardSkeletonProps {
|
|
7
|
-
layoutVariant: ProductCardLayoutVariant;
|
|
8
|
-
aspectRatio?: '3:4' | 'square' | 'none';
|
|
9
|
-
growWithContainer?: boolean;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
6
|
export const ProductCardSkeleton: FC<ProductCardSkeletonProps> = ({
|
|
13
7
|
layoutVariant,
|
|
14
8
|
aspectRatio,
|
|
@@ -18,7 +18,7 @@ export type ProductCardVariant = 'filled' | 'bordered' | 'minimal' | 'transparen
|
|
|
18
18
|
export type ProductCardHoverVariant = 'backgroundDark' | 'none';
|
|
19
19
|
|
|
20
20
|
export type ProductCardLayoutVariant = 'normal' | 'tall' | 'square';
|
|
21
|
-
export type ProductCardImageAspectRatio = '
|
|
21
|
+
export type ProductCardImageAspectRatio = '3:4' | 'square' | 'none';
|
|
22
22
|
|
|
23
23
|
export interface ProductCardConfig {
|
|
24
24
|
variant: ProductCardVariant;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ChatElementDisplayLocation } from 'src/config/chatElementDisplayLocation';
|
|
2
1
|
import { ProductGridVariant, ProductCardConfig, ProductCard } from '../ProductCard';
|
|
3
2
|
import { productGridVariantClasses } from './productGridVariants';
|
|
4
3
|
import classNames from 'classnames';
|
|
@@ -13,6 +12,7 @@ interface ProductGridProps {
|
|
|
13
12
|
merchantShortName: string;
|
|
14
13
|
searchResponseId: string;
|
|
15
14
|
cardsGrowWithContainer?: boolean;
|
|
15
|
+
cardDisplayLocation: string;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
export const ProductGrid = ({
|
|
@@ -23,6 +23,7 @@ export const ProductGrid = ({
|
|
|
23
23
|
merchantShortName,
|
|
24
24
|
searchResponseId,
|
|
25
25
|
cardsGrowWithContainer = true,
|
|
26
|
+
cardDisplayLocation,
|
|
26
27
|
}: ProductGridProps) => {
|
|
27
28
|
const {
|
|
28
29
|
productCardVariant,
|
|
@@ -56,7 +57,7 @@ export const ProductGrid = ({
|
|
|
56
57
|
salePrice={camelCasedProduct.salePrice}
|
|
57
58
|
averageRating={camelCasedProduct.averageRating}
|
|
58
59
|
numberReviews={camelCasedProduct.numberReviews}
|
|
59
|
-
cardDisplayLocation={
|
|
60
|
+
cardDisplayLocation={cardDisplayLocation}
|
|
60
61
|
layoutVariant={productCardLayoutVariant}
|
|
61
62
|
variant={productCardVariant}
|
|
62
63
|
hoverVariant={productCardHoverVariant}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import classNames from 'classnames';
|
|
2
2
|
import { SearchFilterItem } from './SearchFilterItem';
|
|
3
|
-
import type { SearchFilterProps } from './types';
|
|
4
3
|
import { Text } from 'src/components/Text/Text';
|
|
5
4
|
import { ButtonBase } from 'src/components/ButtonBase/ButtonBase';
|
|
5
|
+
import { SearchFilterProps } from './types';
|
|
6
6
|
|
|
7
7
|
export const SearchFilter = ({
|
|
8
8
|
isOpen,
|
|
@@ -47,15 +47,15 @@ export const SearchFilter = ({
|
|
|
47
47
|
{headerContent}
|
|
48
48
|
<div className="spiffy-tw-flex-1 spiffy-tw-px-4 spiffy-tw-py-6">
|
|
49
49
|
{filters.map((filter) => (
|
|
50
|
-
<div key={filter.
|
|
50
|
+
<div key={filter.filterId} className="spiffy-tw-mb-6">
|
|
51
51
|
<Text variant="body2" className="spiffy-tw-font-medium spiffy-tw-mb-3">
|
|
52
52
|
{filter.displayName}
|
|
53
53
|
</Text>
|
|
54
54
|
<ul>
|
|
55
55
|
{filter.items.map((item) => (
|
|
56
56
|
<SearchFilterItem
|
|
57
|
-
key={item.
|
|
58
|
-
filterItem={item}
|
|
57
|
+
key={item.filterItemId}
|
|
58
|
+
filterItem={{ ...item, filterId: filter.filterId }}
|
|
59
59
|
onSelectFilterItem={selectFilterItem}
|
|
60
60
|
radioButtonFillColor={radioButtonFillColor}
|
|
61
61
|
radioButtonHoverColor={radioButtonHoverColor}
|
|
@@ -1,19 +1,13 @@
|
|
|
1
|
-
import
|
|
1
|
+
import {
|
|
2
|
+
SearchFilterDatum,
|
|
3
|
+
SearchFilterItemDatum,
|
|
4
|
+
SelectFilterItem,
|
|
5
|
+
} from '@envive-ai/react-hooks/types';
|
|
2
6
|
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
isSelected: boolean;
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
export type SearchFilter = {
|
|
11
|
-
id: string;
|
|
12
|
-
displayName: string;
|
|
13
|
-
items: SearchFilterItem[];
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
export type SelectFilterItem = (filterItem: SearchFilterItem) => void;
|
|
7
|
+
export interface SearchFilterItem extends SearchFilterItemDatum {
|
|
8
|
+
filterId: string;
|
|
9
|
+
filterItemId: string;
|
|
10
|
+
}
|
|
17
11
|
|
|
18
12
|
export interface SearchFilterItemProps {
|
|
19
13
|
filterItem: SearchFilterItem;
|
|
@@ -30,19 +24,21 @@ export interface SearchFilterHeaderProps {
|
|
|
30
24
|
filterCloseIconVariant: 'dark' | 'light' | 'tertiary';
|
|
31
25
|
}
|
|
32
26
|
|
|
33
|
-
export
|
|
34
|
-
|
|
35
|
-
setIsOpen: (isOpen: boolean) => void;
|
|
36
|
-
filters: SearchFilter[];
|
|
37
|
-
productCount: number;
|
|
27
|
+
export type SearchFilterProps = {
|
|
28
|
+
filters: SearchFilterDatum[];
|
|
38
29
|
selectFilterItem: SelectFilterItem;
|
|
39
30
|
clearAllFilters: () => void;
|
|
31
|
+
productCount: number;
|
|
32
|
+
isOpen: boolean;
|
|
33
|
+
setIsOpen: (isOpen: boolean) => void;
|
|
40
34
|
applyFiltersUnchangedClasses: string;
|
|
41
35
|
applyFiltersChangedClasses: string;
|
|
42
|
-
|
|
36
|
+
headerContent?: React.ReactNode;
|
|
37
|
+
footerContent?: React.ReactNode;
|
|
38
|
+
filterButtonText?: string; // New prop for custom button text
|
|
39
|
+
headerClassName?: string;
|
|
43
40
|
radioButtonFillColor: string;
|
|
44
|
-
radioButtonHoverColor
|
|
45
|
-
radioButtonUncheckedBorderColor
|
|
46
|
-
filterCloseIconVariant:
|
|
47
|
-
|
|
48
|
-
}
|
|
41
|
+
radioButtonHoverColor?: string;
|
|
42
|
+
radioButtonUncheckedBorderColor?: string;
|
|
43
|
+
// filterCloseIconVariant: CloseIconVariant;
|
|
44
|
+
};
|
|
@@ -3,14 +3,15 @@ import { useCallback } from 'react';
|
|
|
3
3
|
import { searchFilterSidebarVariantClasses } from './searchFilterSidebarVariants';
|
|
4
4
|
import SettingsVariant from '@envive-ai/react-icons/SettingsVariant';
|
|
5
5
|
import { ButtonBase } from '../ButtonBase';
|
|
6
|
-
import {
|
|
7
|
-
import { SearchFilterSidebarVariant
|
|
6
|
+
import { SearchFilter, SearchFilterHeader } from '../SearchFilter';
|
|
7
|
+
import { SearchFilterSidebarVariant } from './types';
|
|
8
|
+
import { SearchFilterDatum, SelectFilterItem } from '@envive-ai/react-hooks/types';
|
|
8
9
|
|
|
9
10
|
export type SearchResultsFilterProps = {
|
|
10
11
|
productCount: number;
|
|
11
12
|
isOpen: boolean;
|
|
12
13
|
setIsOpen: (isOpen: boolean) => void;
|
|
13
|
-
searchFilters:
|
|
14
|
+
searchFilters: SearchFilterDatum[];
|
|
14
15
|
searchFilterSidebarVariant: SearchFilterSidebarVariant;
|
|
15
16
|
searchText: string;
|
|
16
17
|
onSelectFilterItem: SelectFilterItem;
|
|
@@ -57,7 +58,7 @@ export const SearchResultsFilter = ({
|
|
|
57
58
|
radioButtonFillColor={radioButtonFillColor}
|
|
58
59
|
radioButtonHoverColor={radioButtonHoverColor}
|
|
59
60
|
radioButtonUncheckedBorderColor={radioButtonUncheckedBorderColor}
|
|
60
|
-
filterCloseIconVariant={filterCloseIconVariant}
|
|
61
|
+
// filterCloseIconVariant={filterCloseIconVariant}
|
|
61
62
|
headerContent={
|
|
62
63
|
<SearchFilterHeader
|
|
63
64
|
closeModal={() => setIsOpen(false)}
|
|
@@ -1,15 +1,2 @@
|
|
|
1
1
|
export type SearchFilterSidebarVariant = 'darkButton' | 'lightButton';
|
|
2
2
|
export type CloseIconVariant = 'light' | 'tertiary' | 'dark';
|
|
3
|
-
|
|
4
|
-
export type SearchFilter = {
|
|
5
|
-
id: string;
|
|
6
|
-
displayName: string;
|
|
7
|
-
items: SearchFilterItem[];
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
export type SearchFilterItem = {
|
|
11
|
-
id: string;
|
|
12
|
-
displayName: string;
|
|
13
|
-
value: string;
|
|
14
|
-
isSelected: boolean;
|
|
15
|
-
};
|
|
@@ -5,10 +5,10 @@ import { motion } from 'framer-motion';
|
|
|
5
5
|
import { searchFilterSidebarVariantClasses } from '../SearchResultsFilterSidebar/searchFilterSidebarVariants';
|
|
6
6
|
import classNames from 'classnames';
|
|
7
7
|
import { SearchResponseProduct } from '@spiffy-ai/commerce-api-client';
|
|
8
|
-
import { SelectedFilterOption } from 'src/atoms/search/types';
|
|
9
8
|
import { ProductCardConfig, ProductGridVariant } from '../ProductCard';
|
|
10
9
|
import { ProductGrid } from '../ProductGrid';
|
|
11
10
|
import { SearchFilterSidebarVariant } from '../SearchResultsFilterSidebar';
|
|
11
|
+
import { SelectedFilterOption } from '@envive-ai/react-hooks/atoms/search';
|
|
12
12
|
|
|
13
13
|
interface SearchResultsGridProps {
|
|
14
14
|
productList: SearchResponseProduct[];
|
|
@@ -101,6 +101,7 @@ export const SearchResultsGrid = ({
|
|
|
101
101
|
productCardConfig={productCardConfig}
|
|
102
102
|
merchantShortName={merchantShortName}
|
|
103
103
|
searchResponseId={searchResponseId}
|
|
104
|
+
cardDisplayLocation=""
|
|
104
105
|
/>
|
|
105
106
|
</motion.div>
|
|
106
107
|
);
|
|
@@ -2,7 +2,7 @@ import { motion } from 'framer-motion';
|
|
|
2
2
|
import { ProductGridVariant, ProductCardSkeleton } from '../ProductCard';
|
|
3
3
|
import { productGridVariantClasses } from '../ProductGrid';
|
|
4
4
|
import { SparkleAnimation } from '../SparkleAnimation';
|
|
5
|
-
import { Text } from '
|
|
5
|
+
import { Text } from 'src/components/Text';
|
|
6
6
|
|
|
7
7
|
export const SearchResultsLoadingGrid = ({
|
|
8
8
|
productGridVariant,
|
|
@@ -2,7 +2,7 @@ import { useEffect, useState } from 'react';
|
|
|
2
2
|
import { type Transition, motion } from 'framer-motion';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
|
|
5
|
-
import FourPointStar from '@envive-ai/react-icons/
|
|
5
|
+
import FourPointStar from '@envive-ai/react-icons/FourPointStar';
|
|
6
6
|
import { SparkleAnimationOverride } from './types';
|
|
7
7
|
|
|
8
8
|
// Animation timing constants
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import classNames from 'classnames';
|
|
2
|
-
import OutlinedStar from '@envive-ai/react-icons/
|
|
3
|
-
import FourPointStar from '@envive-ai/react-icons/
|
|
2
|
+
import OutlinedStar from '@envive-ai/react-icons/OutlinedStar';
|
|
3
|
+
import FourPointStar from '@envive-ai/react-icons/FourPointStar';
|
|
4
4
|
import type { SuggestionButtonVariant } from './types';
|
|
5
5
|
import { ButtonBase } from '../ButtonBase/ButtonBase';
|
|
6
|
-
import { TestProps } from '
|
|
6
|
+
import { TestProps } from '@envive-ai/react-hooks/types';
|
|
7
7
|
|
|
8
8
|
export const SPIFFY_SUGGESTION_BUTTON_QUESTION_CLASS = 'spiffy-suggestion-button-question-class';
|
|
9
9
|
export const SPIFFY_SUGGESTION_BUTTON_ANSWER_CLASS = 'spiffy-suggestion-button-answer-class';
|
package/dist/index-DLbdcczl.d.ts
DELETED
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
2
|
-
import * as react_jsx_runtime9 from "react/jsx-runtime";
|
|
3
|
-
|
|
4
|
-
//#region src/components/SearchFilter/types.d.ts
|
|
5
|
-
type SearchFilterItem$1 = {
|
|
6
|
-
id: string;
|
|
7
|
-
displayName: string;
|
|
8
|
-
value: string;
|
|
9
|
-
isSelected: boolean;
|
|
10
|
-
};
|
|
11
|
-
type SearchFilter$1 = {
|
|
12
|
-
id: string;
|
|
13
|
-
displayName: string;
|
|
14
|
-
items: SearchFilterItem$1[];
|
|
15
|
-
};
|
|
16
|
-
type SelectFilterItem = (filterItem: SearchFilterItem$1) => void;
|
|
17
|
-
interface SearchFilterItemProps {
|
|
18
|
-
filterItem: SearchFilterItem$1;
|
|
19
|
-
onSelectFilterItem: SelectFilterItem;
|
|
20
|
-
radioButtonFillColor: string;
|
|
21
|
-
radioButtonHoverColor: string;
|
|
22
|
-
radioButtonUncheckedBorderColor: string;
|
|
23
|
-
}
|
|
24
|
-
interface SearchFilterHeaderProps {
|
|
25
|
-
closeModal: () => void;
|
|
26
|
-
productCount: number;
|
|
27
|
-
headerClassName: string;
|
|
28
|
-
filterCloseIconVariant: 'dark' | 'light' | 'tertiary';
|
|
29
|
-
}
|
|
30
|
-
interface SearchFilterProps {
|
|
31
|
-
isOpen: boolean;
|
|
32
|
-
setIsOpen: (isOpen: boolean) => void;
|
|
33
|
-
filters: SearchFilter$1[];
|
|
34
|
-
productCount: number;
|
|
35
|
-
selectFilterItem: SelectFilterItem;
|
|
36
|
-
clearAllFilters: () => void;
|
|
37
|
-
applyFiltersUnchangedClasses: string;
|
|
38
|
-
applyFiltersChangedClasses: string;
|
|
39
|
-
filterButtonText: string;
|
|
40
|
-
radioButtonFillColor: string;
|
|
41
|
-
radioButtonHoverColor: string;
|
|
42
|
-
radioButtonUncheckedBorderColor: string;
|
|
43
|
-
filterCloseIconVariant: 'dark' | 'light' | 'tertiary';
|
|
44
|
-
headerContent: ReactNode;
|
|
45
|
-
}
|
|
46
|
-
//#endregion
|
|
47
|
-
//#region src/components/SearchFilter/SearchFilter.d.ts
|
|
48
|
-
declare const SearchFilter: ({
|
|
49
|
-
isOpen,
|
|
50
|
-
setIsOpen,
|
|
51
|
-
filters,
|
|
52
|
-
selectFilterItem,
|
|
53
|
-
clearAllFilters,
|
|
54
|
-
filterButtonText,
|
|
55
|
-
radioButtonFillColor,
|
|
56
|
-
radioButtonHoverColor,
|
|
57
|
-
radioButtonUncheckedBorderColor,
|
|
58
|
-
headerContent
|
|
59
|
-
}: SearchFilterProps) => react_jsx_runtime9.JSX.Element;
|
|
60
|
-
//#endregion
|
|
61
|
-
//#region src/components/SearchFilter/SearchFilterHeader.d.ts
|
|
62
|
-
declare const SearchFilterHeader: ({
|
|
63
|
-
closeModal,
|
|
64
|
-
productCount,
|
|
65
|
-
headerClassName,
|
|
66
|
-
filterCloseIconVariant
|
|
67
|
-
}: SearchFilterHeaderProps) => react_jsx_runtime9.JSX.Element;
|
|
68
|
-
//#endregion
|
|
69
|
-
//#region src/components/SearchFilter/SearchFilterItem.d.ts
|
|
70
|
-
declare const SearchFilterItem: ({
|
|
71
|
-
filterItem,
|
|
72
|
-
onSelectFilterItem,
|
|
73
|
-
radioButtonFillColor,
|
|
74
|
-
radioButtonHoverColor,
|
|
75
|
-
radioButtonUncheckedBorderColor
|
|
76
|
-
}: SearchFilterItemProps) => react_jsx_runtime9.JSX.Element;
|
|
77
|
-
//#endregion
|
|
78
|
-
export { SearchFilter, SearchFilterHeader, SearchFilterHeaderProps, SearchFilterItem, SearchFilterItemProps, SearchFilterProps, SelectFilterItem };
|