@envive-ai/react-toolkit 0.1.4 → 0.1.6
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 +84 -0
- package/dist/Accordion/index.d.cts +13 -0
- package/dist/Accordion/index.d.ts +13 -0
- package/dist/Accordion/index.js +77 -0
- package/dist/ButtonBase/index.cjs +7 -0
- package/dist/ButtonBase/index.d.cts +43 -0
- package/dist/ButtonBase/index.d.ts +43 -0
- package/dist/ButtonBase/index.js +6 -0
- package/dist/{ButtonBase-C1rsL9gO.js → ButtonBase-BIAu5fIG.js} +5 -5
- package/dist/ButtonBase-BRfuPPzN.js +1 -0
- package/dist/ButtonBase-BleAVeo-.cjs +0 -0
- package/dist/{ButtonBase-a8uj6c2f.cjs → ButtonBase-DcyxOe2v.cjs} +11 -5
- package/dist/{AppliedFiltersScrollbar-BlcyhZkZ.cjs → DynamicFiltersScrollbar-BTopFhyl.cjs} +34 -2
- package/dist/{AppliedFiltersScrollbar-DFGzRemu.js → DynamicFiltersScrollbar-BmPTqym5.js} +29 -3
- package/dist/FilterScrollbar/index.cjs +6 -0
- package/dist/FilterScrollbar/index.d.cts +47 -0
- package/dist/FilterScrollbar/index.d.ts +47 -0
- package/dist/FilterScrollbar/index.js +5 -0
- package/dist/Headline/index.cjs +4 -0
- package/dist/{common/Headline/Headline.d.cts → Headline/index.d.cts} +3 -3
- package/dist/{common/Headline/Headline.d.ts → Headline/index.d.ts} +3 -3
- package/dist/Headline/index.js +4 -0
- package/dist/{Headline-8on6ZB9e.js → Headline-XpaAeTSR.js} +2 -2
- package/dist/{Headline-CcWn0w-a.cjs → Headline-iP_MckEO.cjs} +2 -2
- package/dist/ImageWithFallback/index.cjs +3 -0
- package/dist/{common/ImageWithFallback/ImageWithFallback.d.ts → ImageWithFallback/index.d.cts} +3 -3
- package/dist/{common/ImageWithFallback/ImageWithFallback.d.cts → ImageWithFallback/index.d.ts} +2 -2
- package/dist/ImageWithFallback/index.js +3 -0
- package/dist/{ImageWithFallback-ioeMFrTf.cjs → ImageWithFallback-1LqhQK1q.cjs} +3 -3
- package/dist/{ImageWithFallback-gN5HDS9L.js → ImageWithFallback-Ckwsmd8P.js} +2 -2
- package/dist/ProductCard/index.cjs +17 -0
- package/dist/ProductCard/index.d.cts +3 -0
- package/dist/ProductCard/index.d.ts +3 -0
- package/dist/ProductCard/index.js +8 -0
- package/dist/{ProductCard-C7WUShhN.cjs → ProductCard-DZZKutY-.cjs} +138 -12
- package/dist/{ProductCard-B5wnOeR9.js → ProductCard-SF8-lXlT.js} +92 -9
- package/dist/ProductGrid/index.cjs +10 -0
- package/dist/ProductGrid/index.d.cts +36 -0
- package/dist/ProductGrid/index.d.ts +36 -0
- package/dist/ProductGrid/index.js +9 -0
- package/dist/{ProductGrid-DZgwGPSQ.cjs → ProductGrid-BSSmPr7K.cjs} +56 -30
- package/dist/{ProductGrid-wnSc9bXT.js → ProductGrid-DTUhH219.js} +50 -30
- package/dist/SearchAutocomplete/index.cjs +3 -0
- package/dist/{search/SearchInputAutocomplete/SearchAutocomplete.d.cts → SearchAutocomplete/index.d.cts} +1 -1
- package/dist/{search/SearchInputAutocomplete/SearchAutocomplete.d.ts → SearchAutocomplete/index.d.ts} +1 -1
- package/dist/SearchAutocomplete/index.js +3 -0
- package/dist/{SearchAutocomplete-B8mO03Rr.js → SearchAutocomplete-BPjlo6qq.js} +4 -4
- package/dist/{SearchAutocomplete-BrF2SMoZ.cjs → SearchAutocomplete-BzaEXmRQ.cjs} +8 -8
- package/dist/SearchFilter/index.cjs +8 -0
- package/dist/SearchFilter/index.d.cts +2 -0
- package/dist/SearchFilter/index.d.ts +2 -0
- package/dist/SearchFilter/index.js +6 -0
- package/dist/SearchFilter-B15tybnV.cjs +134 -0
- package/dist/SearchFilter-D427M2UE.js +114 -0
- package/dist/SearchInput/index.cjs +7 -0
- package/dist/SearchInput/index.d.cts +33 -0
- package/dist/SearchInput/index.d.ts +33 -0
- package/dist/SearchInput/index.js +6 -0
- package/dist/{SearchInput-CzVUsUSb.js → SearchInput-C0wB4hSV.js} +8 -8
- package/dist/{SearchInput-mLPisqFO.cjs → SearchInput-D6UW79wT.cjs} +12 -12
- package/dist/{search/SearchInputForm/SearchInputForm.cjs → SearchInputForm/index.cjs} +9 -8
- package/dist/SearchInputForm/index.d.cts +2 -0
- package/dist/SearchInputForm/index.d.ts +2 -0
- package/dist/{search/SearchInputForm/SearchInputForm.js → SearchInputForm/index.js} +8 -7
- package/dist/{search/SearchResultsFilterSidebar/SearchResultsFilter.cjs → SearchResultsFilterSidebar/index.cjs} +15 -12
- package/dist/SearchResultsFilterSidebar/index.d.cts +3 -0
- package/dist/SearchResultsFilterSidebar/index.d.ts +3 -0
- package/dist/{search/SearchResultsFilterSidebar/SearchResultsFilter.js → SearchResultsFilterSidebar/index.js} +11 -10
- package/dist/SearchResultsStates/index.cjs +126 -0
- package/dist/SearchResultsStates/index.d.cts +73 -0
- package/dist/SearchResultsStates/index.d.ts +73 -0
- package/dist/SearchResultsStates/index.js +118 -0
- package/dist/SparkleAnimation/index.cjs +4 -0
- package/dist/SparkleAnimation/index.d.cts +23 -0
- package/dist/SparkleAnimation/index.d.ts +23 -0
- package/dist/SparkleAnimation/index.js +3 -0
- package/dist/{SparkleAnimation-Qs17S1rn.js → SparkleAnimation-BdOjC8l-.js} +5 -5
- package/dist/{SparkleAnimation-Ba5G4MIQ.cjs → SparkleAnimation-BhyeL26m.cjs} +12 -6
- package/dist/Spinner/index.cjs +3 -0
- package/dist/Spinner/index.d.cts +11 -0
- package/dist/Spinner/index.d.ts +11 -0
- package/dist/Spinner/index.js +3 -0
- package/dist/{Spinner-BZ-kTOpm.js → Spinner-BgGihEfJ.js} +1 -1
- package/dist/{Spinner-CfQ85Ajl.cjs → Spinner-DzdIkS6t.cjs} +1 -1
- package/dist/{common/SuggestionButton/SuggestionButton.cjs → SuggestionButton/index.cjs} +5 -5
- package/dist/{common/SuggestionButton/SuggestionButton.d.cts → SuggestionButton/index.d.cts} +6 -6
- package/dist/{common/SuggestionButton/SuggestionButton.d.ts → SuggestionButton/index.d.ts} +6 -6
- package/dist/{common/SuggestionButton/SuggestionButton.js → SuggestionButton/index.js} +4 -4
- package/dist/Text/index.cjs +10 -0
- package/dist/Text/index.d.cts +42 -0
- package/dist/Text/index.d.ts +42 -0
- package/dist/Text/index.js +5 -0
- package/dist/{Text-Bdv7F5-u.js → Text-BMg3d10t.js} +2 -2
- package/dist/Text-CV9pv8ds.js +10 -0
- package/dist/{Text-C04c4Z93.cjs → Text-CgOYTs8D.cjs} +2 -2
- package/dist/Text-DDT3sqY1.cjs +16 -0
- package/dist/TextInput/index.cjs +4 -0
- package/dist/TextInput/index.d.cts +12 -0
- package/dist/TextInput/index.d.ts +12 -0
- package/dist/TextInput/index.js +4 -0
- package/dist/{TextInput-BO80ixsV.cjs → TextInput-C6fF9cSB.cjs} +4 -4
- package/dist/{TextInput-CEGWfdPC.js → TextInput-CRMqBW3X.js} +3 -3
- package/dist/{colorsConfig-BKBZfFq1.js → colorsConfig-BQlaCfxi.js} +1 -1
- package/dist/{colorsConfig-vunsVTFC.cjs → colorsConfig-DCvy_dV4.cjs} +1 -1
- package/dist/index-B0oln9VD.d.ts +58 -0
- package/dist/index-B125udRj.d.cts +78 -0
- package/dist/{search/SearchInputForm/SearchInputForm.d.cts → index-BHNzU-Pc.d.ts} +10 -6
- package/dist/{search/SearchInputForm/SearchInputForm.d.ts → index-BNCrvswP.d.cts} +10 -6
- package/dist/index-CQlBDGTL.d.cts +58 -0
- package/dist/index-CcnuEYQN.d.ts +379 -0
- package/dist/index-DMXTg_9L.d.ts +78 -0
- package/dist/index-wYn2mEDm.d.cts +379 -0
- package/dist/{searchFilterSidebarVariants-eoyfoWA8.js → searchFilterSidebarVariants-BWQyiKwS.js} +2 -2
- package/dist/{searchFilterSidebarVariants-L1rn5Ift.cjs → searchFilterSidebarVariants-D08jyA7U.cjs} +2 -2
- package/dist/{textVariantClasses-Bhf4VY5z.cjs → textVariantClasses-BnV4wXaw.cjs} +1 -1
- package/dist/textVariantClasses-C8OCWZAw.d.ts +174 -0
- package/dist/textVariantClasses-Cdg-UUHi.d.cts +174 -0
- package/dist/{textVariantClasses-5t3OricK.js → textVariantClasses-CnjwO2Fv.js} +1 -1
- package/dist/types-BQYpWDJ4.d.cts +6 -0
- package/dist/types-BruEHw-X.d.ts +6 -0
- package/package.json +62 -84
- package/src/components/Accordion/Accordion.tsx +90 -0
- package/src/components/Accordion/index.ts +1 -0
- package/src/components/AppliedFiltersScrollbar/AppliedFiltersScrollbar.tsx +70 -0
- package/src/components/ButtonBase/index.ts +2 -0
- package/src/components/{common/ButtonBase → ButtonBase}/types.ts +1 -1
- package/src/components/{search/FilterScrollbar → DynamicFiltersScrollbar}/DynamicFiltersScrollbar.tsx +1 -1
- package/src/components/{search/FilterScrollbar → FilterScrollbar}/AppliedFiltersScrollbar.tsx +1 -1
- package/src/components/FilterScrollbar/DynamicFiltersScrollbar.tsx +52 -0
- package/src/components/FilterScrollbar/index.ts +2 -0
- package/src/components/Headline/index.ts +1 -0
- package/src/components/ImageWithFallback/index.ts +1 -0
- package/src/components/{common/ProductCard → ProductCard}/ProductCard.tsx +34 -17
- package/src/components/ProductCard/index.ts +4 -0
- package/src/components/{common/ProductCard → ProductCard}/types.ts +1 -1
- package/src/components/ProductGrid/ProductGrid.tsx +73 -0
- package/src/components/ProductGrid/index.ts +2 -0
- package/src/components/{search/SearchInputAutocomplete → SearchAutocomplete}/SearchAutocomplete.tsx +1 -1
- package/src/components/SearchAutocomplete/index.ts +1 -0
- package/src/components/{search/SearchFilter → SearchFilter}/SearchFilter.tsx +2 -2
- package/src/components/{search/SearchFilter → SearchFilter}/SearchFilterHeader.tsx +1 -1
- package/src/components/{search/SearchFilter → SearchFilter}/SearchFilterItem.tsx +1 -1
- package/src/components/SearchFilter/index.ts +4 -0
- package/src/components/{search/SearchInput → SearchInput}/SearchInput.tsx +6 -6
- package/src/components/SearchInput/index.ts +2 -0
- package/src/components/{search/SearchInput → SearchInput}/searchInputVariants.ts +5 -5
- package/src/components/{search/SearchInputForm → SearchInputForm}/SearchInputForm.tsx +6 -4
- package/src/components/SearchInputForm/index.ts +2 -0
- package/src/components/SearchResultsContent/SearchResultsContent.tsx +87 -0
- package/src/components/SearchResultsContent/utils.ts +28 -0
- package/src/components/{search/SearchResultsFilterSidebar → SearchResultsFilterSidebar}/SearchResultsFilter.tsx +5 -6
- package/src/components/SearchResultsFilterSidebar/index.ts +3 -0
- package/src/components/SearchResultsFilterSidebar/searchFilterSidebarVariants.ts +58 -0
- package/src/components/SearchResultsFilterSidebar/types.ts +15 -0
- package/src/components/{search/SearchResultsStates → SearchResultsStates}/NoSearchResultsFound.tsx +2 -2
- package/src/components/{search/SearchResultsStates → SearchResultsStates}/SearchResultsGrid.tsx +14 -12
- package/src/components/{search/SearchResultsStates → SearchResultsStates}/SearchResultsLoadingGrid.tsx +4 -5
- package/src/components/SearchResultsStates/index.ts +3 -0
- package/src/components/SparkleAnimation/index.ts +2 -0
- package/src/components/Spinner/index.ts +1 -0
- package/src/components/SuggestionButton/index.ts +2 -0
- package/src/components/Text/index.ts +3 -0
- package/src/components/TextInput/index.ts +1 -0
- package/dist/DynamicFiltersScrollbar-B2Rr1KnJ.cjs +0 -41
- package/dist/DynamicFiltersScrollbar-Dys6geP0.js +0 -32
- package/dist/ProductCardSkeleton-BPfp6IOp.js +0 -38
- package/dist/ProductCardSkeleton-BgvDlaty.cjs +0 -46
- package/dist/SearchFilter-D-2IdBKS.js +0 -62
- package/dist/SearchFilter-D0IzBlG5.cjs +0 -70
- package/dist/SearchFilterHeader-BQT0-ssS.js +0 -37
- package/dist/SearchFilterHeader-C3EklfoO.cjs +0 -45
- package/dist/SearchFilterItem-BodtWLoP.js +0 -26
- package/dist/SearchFilterItem-DmMkiqNC.cjs +0 -34
- package/dist/common/ButtonBase/ButtonBase.cjs +0 -5
- package/dist/common/ButtonBase/ButtonBase.d.cts +0 -35
- package/dist/common/ButtonBase/ButtonBase.d.ts +0 -35
- package/dist/common/ButtonBase/ButtonBase.js +0 -5
- package/dist/common/Headline/Headline.cjs +0 -4
- package/dist/common/Headline/Headline.js +0 -4
- package/dist/common/ImageWithFallback/ImageWithFallback.cjs +0 -3
- package/dist/common/ImageWithFallback/ImageWithFallback.js +0 -3
- package/dist/common/ProductCard/ProductCard.cjs +0 -11
- package/dist/common/ProductCard/ProductCard.d.cts +0 -91
- package/dist/common/ProductCard/ProductCard.d.ts +0 -91
- package/dist/common/ProductCard/ProductCard.js +0 -9
- package/dist/common/ProductCard/ProductCardSkeleton.cjs +0 -4
- package/dist/common/ProductCard/ProductCardSkeleton.d.cts +0 -12
- package/dist/common/ProductCard/ProductCardSkeleton.d.ts +0 -12
- package/dist/common/ProductCard/ProductCardSkeleton.js +0 -4
- package/dist/common/ProductGrid/ProductGrid.cjs +0 -11
- package/dist/common/ProductGrid/ProductGrid.d.cts +0 -26
- package/dist/common/ProductGrid/ProductGrid.d.ts +0 -26
- package/dist/common/ProductGrid/ProductGrid.js +0 -11
- package/dist/common/SparkleAnimation/SparkleAnimation.cjs +0 -3
- package/dist/common/SparkleAnimation/SparkleAnimation.d.cts +0 -15
- package/dist/common/SparkleAnimation/SparkleAnimation.d.ts +0 -15
- package/dist/common/SparkleAnimation/SparkleAnimation.js +0 -3
- package/dist/common/Spinner/Spinner.cjs +0 -3
- package/dist/common/Spinner/Spinner.d.cts +0 -11
- package/dist/common/Spinner/Spinner.d.ts +0 -11
- package/dist/common/Spinner/Spinner.js +0 -3
- package/dist/common/Text/Text.cjs +0 -4
- package/dist/common/Text/Text.d.cts +0 -28
- package/dist/common/Text/Text.d.ts +0 -28
- package/dist/common/Text/Text.js +0 -4
- package/dist/common/TextInput/TextInput.cjs +0 -4
- package/dist/common/TextInput/TextInput.d.cts +0 -98
- package/dist/common/TextInput/TextInput.d.ts +0 -98
- package/dist/common/TextInput/TextInput.js +0 -4
- package/dist/productCardVariants-C_QIZ-KF.js +0 -45
- package/dist/productCardVariants-Dd-wrJKP.cjs +0 -69
- package/dist/productGridVariants-BNX4YlRK.js +0 -20
- package/dist/productGridVariants-CsNV0ACt.cjs +0 -26
- package/dist/search/FilterScrollbar/AppliedFiltersScrollbar.cjs +0 -5
- package/dist/search/FilterScrollbar/AppliedFiltersScrollbar.d.cts +0 -22
- package/dist/search/FilterScrollbar/AppliedFiltersScrollbar.d.ts +0 -22
- package/dist/search/FilterScrollbar/AppliedFiltersScrollbar.js +0 -5
- package/dist/search/FilterScrollbar/DynamicFiltersScrollbar.cjs +0 -5
- package/dist/search/FilterScrollbar/DynamicFiltersScrollbar.d.cts +0 -28
- package/dist/search/FilterScrollbar/DynamicFiltersScrollbar.d.ts +0 -28
- package/dist/search/FilterScrollbar/DynamicFiltersScrollbar.js +0 -5
- package/dist/search/SearchFilter/SearchFilter.cjs +0 -7
- package/dist/search/SearchFilter/SearchFilter.d.cts +0 -18
- package/dist/search/SearchFilter/SearchFilter.d.ts +0 -18
- package/dist/search/SearchFilter/SearchFilter.js +0 -7
- package/dist/search/SearchFilter/SearchFilterHeader.cjs +0 -5
- package/dist/search/SearchFilter/SearchFilterHeader.d.cts +0 -12
- package/dist/search/SearchFilter/SearchFilterHeader.d.ts +0 -12
- package/dist/search/SearchFilter/SearchFilterHeader.js +0 -5
- package/dist/search/SearchFilter/SearchFilterItem.cjs +0 -5
- package/dist/search/SearchFilter/SearchFilterItem.d.cts +0 -13
- package/dist/search/SearchFilter/SearchFilterItem.d.ts +0 -13
- package/dist/search/SearchFilter/SearchFilterItem.js +0 -5
- package/dist/search/SearchInput/SearchInput.cjs +0 -6
- package/dist/search/SearchInput/SearchInput.d.cts +0 -20
- package/dist/search/SearchInput/SearchInput.d.ts +0 -20
- package/dist/search/SearchInput/SearchInput.js +0 -6
- package/dist/search/SearchInputAutocomplete/SearchAutocomplete.cjs +0 -3
- package/dist/search/SearchInputAutocomplete/SearchAutocomplete.js +0 -3
- package/dist/search/SearchResultsFilterSidebar/SearchResultsFilter.d.cts +0 -28
- package/dist/search/SearchResultsFilterSidebar/SearchResultsFilter.d.ts +0 -28
- package/dist/search/SearchResultsStates/NoSearchResultsFound.cjs +0 -30
- package/dist/search/SearchResultsStates/NoSearchResultsFound.d.cts +0 -17
- package/dist/search/SearchResultsStates/NoSearchResultsFound.d.ts +0 -17
- package/dist/search/SearchResultsStates/NoSearchResultsFound.js +0 -26
- package/dist/search/SearchResultsStates/SearchResultsGrid.cjs +0 -66
- package/dist/search/SearchResultsStates/SearchResultsGrid.d.cts +0 -41
- package/dist/search/SearchResultsStates/SearchResultsGrid.d.ts +0 -41
- package/dist/search/SearchResultsStates/SearchResultsGrid.js +0 -62
- package/dist/search/SearchResultsStates/SearchResultsLoadingGrid.cjs +0 -52
- package/dist/search/SearchResultsStates/SearchResultsLoadingGrid.d.cts +0 -15
- package/dist/search/SearchResultsStates/SearchResultsLoadingGrid.d.ts +0 -15
- package/dist/search/SearchResultsStates/SearchResultsLoadingGrid.js +0 -49
- package/dist/types-53zIialA.d.ts +0 -35
- package/dist/types-B4BGZSlV.d.cts +0 -4
- package/dist/types-BQNqA5xL.d.ts +0 -46
- package/dist/types-BRLWwGMI.d.ts +0 -4
- package/dist/types-CImLkcNh.d.cts +0 -46
- package/dist/types-Cph97xkm.d.ts +0 -6
- package/dist/types-CpiJO5UH.d.ts +0 -4
- package/dist/types-Dy4_w6Cf.d.cts +0 -4
- package/dist/types-TYhhwWZw.d.cts +0 -6
- package/dist/types-aa4flfRE.d.cts +0 -35
- package/src/components/common/ProductGrid/ProductGrid.tsx +0 -73
- package/src/components/search/SearchResultsFilterSidebar/searchFilterSidebarVariants.ts +0 -45
- package/src/components/search/SearchResultsFilterSidebar/types.ts +0 -2
- package/src/components/search/types.ts +0 -5
- package/src/types/external.ts +0 -24
- /package/dist/{types-DFetqNL2.d.ts → types-Bm-qQyO3.d.ts} +0 -0
- /package/dist/{types-DaSkJnT_.d.cts → types-C-Jrlw5Z.d.cts} +0 -0
- /package/src/components/{common/ButtonBase → ButtonBase}/ButtonBase.tsx +0 -0
- /package/src/components/{common/Headline → Headline}/Headline.tsx +0 -0
- /package/src/components/{common/ImageWithFallback → ImageWithFallback}/ImageWithFallback.tsx +0 -0
- /package/src/components/{common/ProductCard → ProductCard}/ProductCardSkeleton.tsx +0 -0
- /package/src/components/{common/ProductCard → ProductCard}/productCardVariants.ts +0 -0
- /package/src/components/{common/ProductGrid → ProductGrid}/productGridVariants.ts +0 -0
- /package/src/components/{search/SearchFilter → SearchFilter}/types.ts +0 -0
- /package/src/components/{search/SearchInputForm → SearchInputForm}/types.ts +0 -0
- /package/src/components/{common/SparkleAnimation → SparkleAnimation}/SparkleAnimation.tsx +0 -0
- /package/src/components/{common/SparkleAnimation → SparkleAnimation}/types.ts +0 -0
- /package/src/components/{common/Spinner → Spinner}/Spinner.tsx +0 -0
- /package/src/components/{common/SuggestionButton → SuggestionButton}/SuggestionButton.tsx +0 -0
- /package/src/components/{common/SuggestionButton → SuggestionButton}/types.ts +0 -0
- /package/src/components/{common/Text → Text}/Text.tsx +0 -0
- /package/src/components/{common/Text → Text}/textVariantClasses.ts +0 -0
- /package/src/components/{common/Text → Text}/types.ts +0 -0
- /package/src/components/{common/TextInput → TextInput}/TextInput.tsx +0 -0
- /package/src/{components/models → models}/colorsConfig.ts +0 -0
- /package/src/{components/test → test}/types.ts +0 -0
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
//#region src/components/common/ProductCard/productCardVariants.ts
|
|
2
|
-
/**
|
|
3
|
-
* Shared variant mapping configurations for ProductCard components
|
|
4
|
-
*/
|
|
5
|
-
const variantClassMap = new Map([
|
|
6
|
-
["filled", ["spiffy-tw-bg-[--spiffy-colors-background-secondary]", "spiffy-tw-shadow-md"]],
|
|
7
|
-
["bordered", [
|
|
8
|
-
"spiffy-tw-bg-[--spiffy-colors-background-secondary]",
|
|
9
|
-
"spiffy-tw-border",
|
|
10
|
-
"spiffy-tw-border-[--spiffy-colors-border-light]"
|
|
11
|
-
]],
|
|
12
|
-
["minimal", ["spiffy-tw-bg-transparent"]],
|
|
13
|
-
["transparentBordered", [
|
|
14
|
-
"spiffy-tw-bg-transparent",
|
|
15
|
-
"spiffy-tw-border",
|
|
16
|
-
"spiffy-tw-border-[--spiffy-colors-border-light]"
|
|
17
|
-
]]
|
|
18
|
-
]);
|
|
19
|
-
const variantHoverClassMap = new Map([["backgroundDark", ["hover:spiffy-tw-bg-[--spiffy-colors-background-secondary-dark]"]], ["none", []]]);
|
|
20
|
-
const variantTitleColorMap = new Map([
|
|
21
|
-
["filled", "spiffy-tw-text-[--spiffy-colors-text-link]"],
|
|
22
|
-
["bordered", "spiffy-tw-text-[--spiffy-colors-text-primary]"],
|
|
23
|
-
["minimal", "spiffy-tw-text-[--spiffy-colors-text-primary]"],
|
|
24
|
-
["transparentBordered", "spiffy-tw-text-[--spiffy-colors-text-primary]"]
|
|
25
|
-
]);
|
|
26
|
-
const productCardLayoutVariantClasses = {
|
|
27
|
-
normal: {
|
|
28
|
-
productTitle: ["spiffy-product-card-title"],
|
|
29
|
-
container: ["spiffy-tw-w-[208px]"],
|
|
30
|
-
verticalContainer: ["spiffy-tw-rounded-[8px]", "spiffy-tw-h-[268px]"]
|
|
31
|
-
},
|
|
32
|
-
tall: {
|
|
33
|
-
productTitle: ["spiffy-product-card-title-tall", "spiffy-tw-pt-[8px]"],
|
|
34
|
-
container: ["spiffy-tw-w-[160px] lg:spiffy-tw-w-[300px]"],
|
|
35
|
-
verticalContainer: ["lg:spiffy-tw-h-[496px]"]
|
|
36
|
-
},
|
|
37
|
-
square: {
|
|
38
|
-
productTitle: ["spiffy-product-card-title-tall", "spiffy-tw-pt-[8px]"],
|
|
39
|
-
container: ["spiffy-tw-w-[160px] lg:spiffy-tw-w-[280px]"],
|
|
40
|
-
verticalContainer: ["lg:spiffy-tw-h-[400px]"]
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
//#endregion
|
|
45
|
-
export { productCardLayoutVariantClasses, variantClassMap, variantHoverClassMap, variantTitleColorMap };
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
//#region src/components/common/ProductCard/productCardVariants.ts
|
|
3
|
-
/**
|
|
4
|
-
* Shared variant mapping configurations for ProductCard components
|
|
5
|
-
*/
|
|
6
|
-
const variantClassMap = new Map([
|
|
7
|
-
["filled", ["spiffy-tw-bg-[--spiffy-colors-background-secondary]", "spiffy-tw-shadow-md"]],
|
|
8
|
-
["bordered", [
|
|
9
|
-
"spiffy-tw-bg-[--spiffy-colors-background-secondary]",
|
|
10
|
-
"spiffy-tw-border",
|
|
11
|
-
"spiffy-tw-border-[--spiffy-colors-border-light]"
|
|
12
|
-
]],
|
|
13
|
-
["minimal", ["spiffy-tw-bg-transparent"]],
|
|
14
|
-
["transparentBordered", [
|
|
15
|
-
"spiffy-tw-bg-transparent",
|
|
16
|
-
"spiffy-tw-border",
|
|
17
|
-
"spiffy-tw-border-[--spiffy-colors-border-light]"
|
|
18
|
-
]]
|
|
19
|
-
]);
|
|
20
|
-
const variantHoverClassMap = new Map([["backgroundDark", ["hover:spiffy-tw-bg-[--spiffy-colors-background-secondary-dark]"]], ["none", []]]);
|
|
21
|
-
const variantTitleColorMap = new Map([
|
|
22
|
-
["filled", "spiffy-tw-text-[--spiffy-colors-text-link]"],
|
|
23
|
-
["bordered", "spiffy-tw-text-[--spiffy-colors-text-primary]"],
|
|
24
|
-
["minimal", "spiffy-tw-text-[--spiffy-colors-text-primary]"],
|
|
25
|
-
["transparentBordered", "spiffy-tw-text-[--spiffy-colors-text-primary]"]
|
|
26
|
-
]);
|
|
27
|
-
const productCardLayoutVariantClasses = {
|
|
28
|
-
normal: {
|
|
29
|
-
productTitle: ["spiffy-product-card-title"],
|
|
30
|
-
container: ["spiffy-tw-w-[208px]"],
|
|
31
|
-
verticalContainer: ["spiffy-tw-rounded-[8px]", "spiffy-tw-h-[268px]"]
|
|
32
|
-
},
|
|
33
|
-
tall: {
|
|
34
|
-
productTitle: ["spiffy-product-card-title-tall", "spiffy-tw-pt-[8px]"],
|
|
35
|
-
container: ["spiffy-tw-w-[160px] lg:spiffy-tw-w-[300px]"],
|
|
36
|
-
verticalContainer: ["lg:spiffy-tw-h-[496px]"]
|
|
37
|
-
},
|
|
38
|
-
square: {
|
|
39
|
-
productTitle: ["spiffy-product-card-title-tall", "spiffy-tw-pt-[8px]"],
|
|
40
|
-
container: ["spiffy-tw-w-[160px] lg:spiffy-tw-w-[280px]"],
|
|
41
|
-
verticalContainer: ["lg:spiffy-tw-h-[400px]"]
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
//#endregion
|
|
46
|
-
Object.defineProperty(exports, 'productCardLayoutVariantClasses', {
|
|
47
|
-
enumerable: true,
|
|
48
|
-
get: function () {
|
|
49
|
-
return productCardLayoutVariantClasses;
|
|
50
|
-
}
|
|
51
|
-
});
|
|
52
|
-
Object.defineProperty(exports, 'variantClassMap', {
|
|
53
|
-
enumerable: true,
|
|
54
|
-
get: function () {
|
|
55
|
-
return variantClassMap;
|
|
56
|
-
}
|
|
57
|
-
});
|
|
58
|
-
Object.defineProperty(exports, 'variantHoverClassMap', {
|
|
59
|
-
enumerable: true,
|
|
60
|
-
get: function () {
|
|
61
|
-
return variantHoverClassMap;
|
|
62
|
-
}
|
|
63
|
-
});
|
|
64
|
-
Object.defineProperty(exports, 'variantTitleColorMap', {
|
|
65
|
-
enumerable: true,
|
|
66
|
-
get: function () {
|
|
67
|
-
return variantTitleColorMap;
|
|
68
|
-
}
|
|
69
|
-
});
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
//#region src/components/common/ProductGrid/productGridVariants.ts
|
|
2
|
-
const productGridVariantClasses = {
|
|
3
|
-
standard: {
|
|
4
|
-
productCardVariant: "minimal",
|
|
5
|
-
productCardHoverVariant: "backgroundDark",
|
|
6
|
-
productCardLayoutVariant: "tall",
|
|
7
|
-
productCardImageAspectRatio: "3:4",
|
|
8
|
-
zoomOnHover: true
|
|
9
|
-
},
|
|
10
|
-
square: {
|
|
11
|
-
productCardVariant: "minimal",
|
|
12
|
-
productCardHoverVariant: "backgroundDark",
|
|
13
|
-
productCardLayoutVariant: "square",
|
|
14
|
-
productCardImageAspectRatio: "square",
|
|
15
|
-
zoomOnHover: true
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
//#endregion
|
|
20
|
-
export { productGridVariantClasses };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
//#region src/components/common/ProductGrid/productGridVariants.ts
|
|
3
|
-
const productGridVariantClasses = {
|
|
4
|
-
standard: {
|
|
5
|
-
productCardVariant: "minimal",
|
|
6
|
-
productCardHoverVariant: "backgroundDark",
|
|
7
|
-
productCardLayoutVariant: "tall",
|
|
8
|
-
productCardImageAspectRatio: "3:4",
|
|
9
|
-
zoomOnHover: true
|
|
10
|
-
},
|
|
11
|
-
square: {
|
|
12
|
-
productCardVariant: "minimal",
|
|
13
|
-
productCardHoverVariant: "backgroundDark",
|
|
14
|
-
productCardLayoutVariant: "square",
|
|
15
|
-
productCardImageAspectRatio: "square",
|
|
16
|
-
zoomOnHover: true
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
//#endregion
|
|
21
|
-
Object.defineProperty(exports, 'productGridVariantClasses', {
|
|
22
|
-
enumerable: true,
|
|
23
|
-
get: function () {
|
|
24
|
-
return productGridVariantClasses;
|
|
25
|
-
}
|
|
26
|
-
});
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
require('../../textVariantClasses-Bhf4VY5z.cjs');
|
|
2
|
-
require('../../Text-C04c4Z93.cjs');
|
|
3
|
-
const require_AppliedFiltersScrollbar = require('../../AppliedFiltersScrollbar-BlcyhZkZ.cjs');
|
|
4
|
-
|
|
5
|
-
exports.AppliedFiltersScrollbar = require_AppliedFiltersScrollbar.AppliedFiltersScrollbar;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { SelectedFilterOption } from "../../types-DaSkJnT_.cjs";
|
|
2
|
-
import * as react_jsx_runtime9 from "react/jsx-runtime";
|
|
3
|
-
|
|
4
|
-
//#region src/components/search/FilterScrollbar/AppliedFiltersScrollbar.d.ts
|
|
5
|
-
interface AppliedFiltersScrollbarProps {
|
|
6
|
-
selectedFilterOptions: SelectedFilterOption[];
|
|
7
|
-
filterBarClassNames: string;
|
|
8
|
-
filterDefaultClasses: string;
|
|
9
|
-
filterHoverClasses: string;
|
|
10
|
-
appliedFilterBackgroundClasses: string;
|
|
11
|
-
onRemoveFilter: (filter: SelectedFilterOption) => void;
|
|
12
|
-
}
|
|
13
|
-
declare const AppliedFiltersScrollbar: ({
|
|
14
|
-
selectedFilterOptions,
|
|
15
|
-
filterBarClassNames,
|
|
16
|
-
filterDefaultClasses,
|
|
17
|
-
filterHoverClasses,
|
|
18
|
-
appliedFilterBackgroundClasses,
|
|
19
|
-
onRemoveFilter
|
|
20
|
-
}: AppliedFiltersScrollbarProps) => react_jsx_runtime9.JSX.Element;
|
|
21
|
-
//#endregion
|
|
22
|
-
export { AppliedFiltersScrollbar };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { SelectedFilterOption } from "../../types-DFetqNL2.js";
|
|
2
|
-
import * as react_jsx_runtime6 from "react/jsx-runtime";
|
|
3
|
-
|
|
4
|
-
//#region src/components/search/FilterScrollbar/AppliedFiltersScrollbar.d.ts
|
|
5
|
-
interface AppliedFiltersScrollbarProps {
|
|
6
|
-
selectedFilterOptions: SelectedFilterOption[];
|
|
7
|
-
filterBarClassNames: string;
|
|
8
|
-
filterDefaultClasses: string;
|
|
9
|
-
filterHoverClasses: string;
|
|
10
|
-
appliedFilterBackgroundClasses: string;
|
|
11
|
-
onRemoveFilter: (filter: SelectedFilterOption) => void;
|
|
12
|
-
}
|
|
13
|
-
declare const AppliedFiltersScrollbar: ({
|
|
14
|
-
selectedFilterOptions,
|
|
15
|
-
filterBarClassNames,
|
|
16
|
-
filterDefaultClasses,
|
|
17
|
-
filterHoverClasses,
|
|
18
|
-
appliedFilterBackgroundClasses,
|
|
19
|
-
onRemoveFilter
|
|
20
|
-
}: AppliedFiltersScrollbarProps) => react_jsx_runtime6.JSX.Element;
|
|
21
|
-
//#endregion
|
|
22
|
-
export { AppliedFiltersScrollbar };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
require('../../textVariantClasses-Bhf4VY5z.cjs');
|
|
2
|
-
require('../../Text-C04c4Z93.cjs');
|
|
3
|
-
const require_DynamicFiltersScrollbar = require('../../DynamicFiltersScrollbar-B2Rr1KnJ.cjs');
|
|
4
|
-
|
|
5
|
-
exports.DynamicFiltersScrollbar = require_DynamicFiltersScrollbar.DynamicFiltersScrollbar;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
2
|
-
|
|
3
|
-
//#region src/components/search/FilterScrollbar/DynamicFiltersScrollbar.d.ts
|
|
4
|
-
interface DynamicFiltersScrollbarProps {
|
|
5
|
-
availableDynamicFilters: {
|
|
6
|
-
name: string;
|
|
7
|
-
displayName: string;
|
|
8
|
-
}[];
|
|
9
|
-
filterBarClassNames: string;
|
|
10
|
-
filterDefaultClasses: string;
|
|
11
|
-
filterHoverClasses: string;
|
|
12
|
-
onToggleDynamicFilter: ({
|
|
13
|
-
filter,
|
|
14
|
-
dynamicFilterDisplayName
|
|
15
|
-
}: {
|
|
16
|
-
filter: string;
|
|
17
|
-
dynamicFilterDisplayName: string;
|
|
18
|
-
}) => void;
|
|
19
|
-
}
|
|
20
|
-
declare const DynamicFiltersScrollbar: ({
|
|
21
|
-
availableDynamicFilters,
|
|
22
|
-
filterBarClassNames,
|
|
23
|
-
filterDefaultClasses,
|
|
24
|
-
filterHoverClasses,
|
|
25
|
-
onToggleDynamicFilter
|
|
26
|
-
}: DynamicFiltersScrollbarProps) => react_jsx_runtime4.JSX.Element;
|
|
27
|
-
//#endregion
|
|
28
|
-
export { DynamicFiltersScrollbar };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
2
|
-
|
|
3
|
-
//#region src/components/search/FilterScrollbar/DynamicFiltersScrollbar.d.ts
|
|
4
|
-
interface DynamicFiltersScrollbarProps {
|
|
5
|
-
availableDynamicFilters: {
|
|
6
|
-
name: string;
|
|
7
|
-
displayName: string;
|
|
8
|
-
}[];
|
|
9
|
-
filterBarClassNames: string;
|
|
10
|
-
filterDefaultClasses: string;
|
|
11
|
-
filterHoverClasses: string;
|
|
12
|
-
onToggleDynamicFilter: ({
|
|
13
|
-
filter,
|
|
14
|
-
dynamicFilterDisplayName
|
|
15
|
-
}: {
|
|
16
|
-
filter: string;
|
|
17
|
-
dynamicFilterDisplayName: string;
|
|
18
|
-
}) => void;
|
|
19
|
-
}
|
|
20
|
-
declare const DynamicFiltersScrollbar: ({
|
|
21
|
-
availableDynamicFilters,
|
|
22
|
-
filterBarClassNames,
|
|
23
|
-
filterDefaultClasses,
|
|
24
|
-
filterHoverClasses,
|
|
25
|
-
onToggleDynamicFilter
|
|
26
|
-
}: DynamicFiltersScrollbarProps) => react_jsx_runtime4.JSX.Element;
|
|
27
|
-
//#endregion
|
|
28
|
-
export { DynamicFiltersScrollbar };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
require('../../ButtonBase-a8uj6c2f.cjs');
|
|
2
|
-
require('../../textVariantClasses-Bhf4VY5z.cjs');
|
|
3
|
-
require('../../Text-C04c4Z93.cjs');
|
|
4
|
-
require('../../SearchFilterItem-DmMkiqNC.cjs');
|
|
5
|
-
const require_SearchFilter = require('../../SearchFilter-D0IzBlG5.cjs');
|
|
6
|
-
|
|
7
|
-
exports.SearchFilter = require_SearchFilter.SearchFilter;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { SearchFilterProps } from "../../types-CImLkcNh.cjs";
|
|
2
|
-
import * as react_jsx_runtime8 from "react/jsx-runtime";
|
|
3
|
-
|
|
4
|
-
//#region src/components/search/SearchFilter/SearchFilter.d.ts
|
|
5
|
-
declare const SearchFilter: ({
|
|
6
|
-
isOpen,
|
|
7
|
-
setIsOpen,
|
|
8
|
-
filters,
|
|
9
|
-
selectFilterItem,
|
|
10
|
-
clearAllFilters,
|
|
11
|
-
filterButtonText,
|
|
12
|
-
radioButtonFillColor,
|
|
13
|
-
radioButtonHoverColor,
|
|
14
|
-
radioButtonUncheckedBorderColor,
|
|
15
|
-
headerContent
|
|
16
|
-
}: SearchFilterProps) => react_jsx_runtime8.JSX.Element;
|
|
17
|
-
//#endregion
|
|
18
|
-
export { SearchFilter };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { SearchFilterProps } from "../../types-BQNqA5xL.js";
|
|
2
|
-
import * as react_jsx_runtime5 from "react/jsx-runtime";
|
|
3
|
-
|
|
4
|
-
//#region src/components/search/SearchFilter/SearchFilter.d.ts
|
|
5
|
-
declare const SearchFilter: ({
|
|
6
|
-
isOpen,
|
|
7
|
-
setIsOpen,
|
|
8
|
-
filters,
|
|
9
|
-
selectFilterItem,
|
|
10
|
-
clearAllFilters,
|
|
11
|
-
filterButtonText,
|
|
12
|
-
radioButtonFillColor,
|
|
13
|
-
radioButtonHoverColor,
|
|
14
|
-
radioButtonUncheckedBorderColor,
|
|
15
|
-
headerContent
|
|
16
|
-
}: SearchFilterProps) => react_jsx_runtime5.JSX.Element;
|
|
17
|
-
//#endregion
|
|
18
|
-
export { SearchFilter };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { SearchFilterHeaderProps } from "../../types-CImLkcNh.cjs";
|
|
2
|
-
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
3
|
-
|
|
4
|
-
//#region src/components/search/SearchFilter/SearchFilterHeader.d.ts
|
|
5
|
-
declare const SearchFilterHeader: ({
|
|
6
|
-
closeModal,
|
|
7
|
-
productCount,
|
|
8
|
-
headerClassName,
|
|
9
|
-
filterCloseIconVariant
|
|
10
|
-
}: SearchFilterHeaderProps) => react_jsx_runtime1.JSX.Element;
|
|
11
|
-
//#endregion
|
|
12
|
-
export { SearchFilterHeader };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { SearchFilterHeaderProps } from "../../types-BQNqA5xL.js";
|
|
2
|
-
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
3
|
-
|
|
4
|
-
//#region src/components/search/SearchFilter/SearchFilterHeader.d.ts
|
|
5
|
-
declare const SearchFilterHeader: ({
|
|
6
|
-
closeModal,
|
|
7
|
-
productCount,
|
|
8
|
-
headerClassName,
|
|
9
|
-
filterCloseIconVariant
|
|
10
|
-
}: SearchFilterHeaderProps) => react_jsx_runtime2.JSX.Element;
|
|
11
|
-
//#endregion
|
|
12
|
-
export { SearchFilterHeader };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { SearchFilterItemProps } from "../../types-CImLkcNh.cjs";
|
|
2
|
-
import * as react_jsx_runtime7 from "react/jsx-runtime";
|
|
3
|
-
|
|
4
|
-
//#region src/components/search/SearchFilter/SearchFilterItem.d.ts
|
|
5
|
-
declare const SearchFilterItem: ({
|
|
6
|
-
filterItem,
|
|
7
|
-
onSelectFilterItem,
|
|
8
|
-
radioButtonFillColor,
|
|
9
|
-
radioButtonHoverColor,
|
|
10
|
-
radioButtonUncheckedBorderColor
|
|
11
|
-
}: SearchFilterItemProps) => react_jsx_runtime7.JSX.Element;
|
|
12
|
-
//#endregion
|
|
13
|
-
export { SearchFilterItem };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { SearchFilterItemProps } from "../../types-BQNqA5xL.js";
|
|
2
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
-
|
|
4
|
-
//#region src/components/search/SearchFilter/SearchFilterItem.d.ts
|
|
5
|
-
declare const SearchFilterItem: ({
|
|
6
|
-
filterItem,
|
|
7
|
-
onSelectFilterItem,
|
|
8
|
-
radioButtonFillColor,
|
|
9
|
-
radioButtonHoverColor,
|
|
10
|
-
radioButtonUncheckedBorderColor
|
|
11
|
-
}: SearchFilterItemProps) => react_jsx_runtime0.JSX.Element;
|
|
12
|
-
//#endregion
|
|
13
|
-
export { SearchFilterItem };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
require('../../textVariantClasses-Bhf4VY5z.cjs');
|
|
2
|
-
require('../../TextInput-BO80ixsV.cjs');
|
|
3
|
-
require('../../colorsConfig-vunsVTFC.cjs');
|
|
4
|
-
const require_SearchInput = require('../../SearchInput-mLPisqFO.cjs');
|
|
5
|
-
|
|
6
|
-
exports.SearchInput = require_SearchInput.SearchInput;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { SearchInputVariant } from "../../types-Dy4_w6Cf.cjs";
|
|
2
|
-
import React from "react";
|
|
3
|
-
|
|
4
|
-
//#region src/components/search/SearchInput/SearchInput.d.ts
|
|
5
|
-
interface SearchInputProps {
|
|
6
|
-
searchInputVariant?: SearchInputVariant;
|
|
7
|
-
value: string;
|
|
8
|
-
placeholder?: string;
|
|
9
|
-
suggestions?: string[];
|
|
10
|
-
className?: string;
|
|
11
|
-
dataTestId?: string;
|
|
12
|
-
ariaActivedescendant?: string;
|
|
13
|
-
onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
14
|
-
onChange: (newValue: string) => void;
|
|
15
|
-
onFocus?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
16
|
-
onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
17
|
-
}
|
|
18
|
-
declare const SearchInput: React.ForwardRefExoticComponent<SearchInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
19
|
-
//#endregion
|
|
20
|
-
export { SearchInput, SearchInputProps };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { SearchInputVariant } from "../../types-BRLWwGMI.js";
|
|
2
|
-
import React from "react";
|
|
3
|
-
|
|
4
|
-
//#region src/components/search/SearchInput/SearchInput.d.ts
|
|
5
|
-
interface SearchInputProps {
|
|
6
|
-
searchInputVariant?: SearchInputVariant;
|
|
7
|
-
value: string;
|
|
8
|
-
placeholder?: string;
|
|
9
|
-
suggestions?: string[];
|
|
10
|
-
className?: string;
|
|
11
|
-
dataTestId?: string;
|
|
12
|
-
ariaActivedescendant?: string;
|
|
13
|
-
onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
14
|
-
onChange: (newValue: string) => void;
|
|
15
|
-
onFocus?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
16
|
-
onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
17
|
-
}
|
|
18
|
-
declare const SearchInput: React.ForwardRefExoticComponent<SearchInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
19
|
-
//#endregion
|
|
20
|
-
export { SearchInput, SearchInputProps };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { SearchFilter, SelectFilterItem } from "../../types-CImLkcNh.cjs";
|
|
2
|
-
import { SearchFilterSidebarVariant } from "../../types-B4BGZSlV.cjs";
|
|
3
|
-
import * as react_jsx_runtime10 from "react/jsx-runtime";
|
|
4
|
-
|
|
5
|
-
//#region src/components/search/SearchResultsFilterSidebar/SearchResultsFilter.d.ts
|
|
6
|
-
type SearchResultsFilterProps = {
|
|
7
|
-
productCount: number;
|
|
8
|
-
isOpen: boolean;
|
|
9
|
-
setIsOpen: (isOpen: boolean) => void;
|
|
10
|
-
searchFilters: SearchFilter[];
|
|
11
|
-
searchFilterSidebarVariant: SearchFilterSidebarVariant;
|
|
12
|
-
searchText: string;
|
|
13
|
-
onSelectFilterItem: SelectFilterItem;
|
|
14
|
-
onClearAllFilters: () => void;
|
|
15
|
-
filterButtonText: string;
|
|
16
|
-
};
|
|
17
|
-
declare const SearchResultsFilter: ({
|
|
18
|
-
productCount,
|
|
19
|
-
isOpen,
|
|
20
|
-
setIsOpen,
|
|
21
|
-
searchFilters,
|
|
22
|
-
searchFilterSidebarVariant,
|
|
23
|
-
onSelectFilterItem,
|
|
24
|
-
onClearAllFilters,
|
|
25
|
-
filterButtonText
|
|
26
|
-
}: SearchResultsFilterProps) => react_jsx_runtime10.JSX.Element;
|
|
27
|
-
//#endregion
|
|
28
|
-
export { SearchResultsFilter, SearchResultsFilterProps };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { SearchFilter, SelectFilterItem } from "../../types-BQNqA5xL.js";
|
|
2
|
-
import { SearchFilterSidebarVariant } from "../../types-CpiJO5UH.js";
|
|
3
|
-
import * as react_jsx_runtime14 from "react/jsx-runtime";
|
|
4
|
-
|
|
5
|
-
//#region src/components/search/SearchResultsFilterSidebar/SearchResultsFilter.d.ts
|
|
6
|
-
type SearchResultsFilterProps = {
|
|
7
|
-
productCount: number;
|
|
8
|
-
isOpen: boolean;
|
|
9
|
-
setIsOpen: (isOpen: boolean) => void;
|
|
10
|
-
searchFilters: SearchFilter[];
|
|
11
|
-
searchFilterSidebarVariant: SearchFilterSidebarVariant;
|
|
12
|
-
searchText: string;
|
|
13
|
-
onSelectFilterItem: SelectFilterItem;
|
|
14
|
-
onClearAllFilters: () => void;
|
|
15
|
-
filterButtonText: string;
|
|
16
|
-
};
|
|
17
|
-
declare const SearchResultsFilter: ({
|
|
18
|
-
productCount,
|
|
19
|
-
isOpen,
|
|
20
|
-
setIsOpen,
|
|
21
|
-
searchFilters,
|
|
22
|
-
searchFilterSidebarVariant,
|
|
23
|
-
onSelectFilterItem,
|
|
24
|
-
onClearAllFilters,
|
|
25
|
-
filterButtonText
|
|
26
|
-
}: SearchResultsFilterProps) => react_jsx_runtime14.JSX.Element;
|
|
27
|
-
//#endregion
|
|
28
|
-
export { SearchResultsFilter, SearchResultsFilterProps };
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
const require_chunk = require('../../chunk-CUT6urMc.cjs');
|
|
2
|
-
require('../../textVariantClasses-Bhf4VY5z.cjs');
|
|
3
|
-
const require_Text = require('../../Text-C04c4Z93.cjs');
|
|
4
|
-
let classnames = require("classnames");
|
|
5
|
-
classnames = require_chunk.__toESM(classnames);
|
|
6
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
|
-
react_jsx_runtime = require_chunk.__toESM(react_jsx_runtime);
|
|
8
|
-
let __envive_ai_react_icons_src_Sparkles = require("@envive-ai/react-icons/src/Sparkles");
|
|
9
|
-
__envive_ai_react_icons_src_Sparkles = require_chunk.__toESM(__envive_ai_react_icons_src_Sparkles);
|
|
10
|
-
|
|
11
|
-
//#region src/components/search/SearchResultsStates/NoSearchResultsFound.tsx
|
|
12
|
-
const NoSearchResultsFound = ({ containerPaddingClasses, includeBottomMargin = false, noResultsFoundText, sparkleIconColor = "var(--spiffy-colors-accent-primary)" }) => {
|
|
13
|
-
const containerClasses = (0, classnames.default)(containerPaddingClasses, includeBottomMargin ? "spiffy-tw-mb-[100vh]" : "", "spiffy-tw-mt-6");
|
|
14
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
15
|
-
className: containerClasses,
|
|
16
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
17
|
-
className: "spiffy-tw-flex spiffy-tw-items-start spiffy-tw-gap-2",
|
|
18
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(__envive_ai_react_icons_src_Sparkles.default, {
|
|
19
|
-
className: "spiffy-tw-w-[24px] spiffy-tw-h-[24px]",
|
|
20
|
-
style: { color: sparkleIconColor }
|
|
21
|
-
}) }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Text.Text, {
|
|
22
|
-
variant: "body2",
|
|
23
|
-
children: noResultsFoundText || "I’m sorry, I wasn’t able to find an exact match. Try changing your filters or adjusting your search query."
|
|
24
|
-
})]
|
|
25
|
-
})
|
|
26
|
-
});
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
//#endregion
|
|
30
|
-
exports.NoSearchResultsFound = NoSearchResultsFound;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime11 from "react/jsx-runtime";
|
|
2
|
-
|
|
3
|
-
//#region src/components/search/SearchResultsStates/NoSearchResultsFound.d.ts
|
|
4
|
-
interface NoSearchResultsFoundProps {
|
|
5
|
-
containerPaddingClasses: string;
|
|
6
|
-
includeBottomMargin?: boolean;
|
|
7
|
-
noResultsFoundText?: string;
|
|
8
|
-
sparkleIconColor?: string;
|
|
9
|
-
}
|
|
10
|
-
declare const NoSearchResultsFound: ({
|
|
11
|
-
containerPaddingClasses,
|
|
12
|
-
includeBottomMargin,
|
|
13
|
-
noResultsFoundText,
|
|
14
|
-
sparkleIconColor
|
|
15
|
-
}: NoSearchResultsFoundProps) => react_jsx_runtime11.JSX.Element;
|
|
16
|
-
//#endregion
|
|
17
|
-
export { NoSearchResultsFound };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime13 from "react/jsx-runtime";
|
|
2
|
-
|
|
3
|
-
//#region src/components/search/SearchResultsStates/NoSearchResultsFound.d.ts
|
|
4
|
-
interface NoSearchResultsFoundProps {
|
|
5
|
-
containerPaddingClasses: string;
|
|
6
|
-
includeBottomMargin?: boolean;
|
|
7
|
-
noResultsFoundText?: string;
|
|
8
|
-
sparkleIconColor?: string;
|
|
9
|
-
}
|
|
10
|
-
declare const NoSearchResultsFound: ({
|
|
11
|
-
containerPaddingClasses,
|
|
12
|
-
includeBottomMargin,
|
|
13
|
-
noResultsFoundText,
|
|
14
|
-
sparkleIconColor
|
|
15
|
-
}: NoSearchResultsFoundProps) => react_jsx_runtime13.JSX.Element;
|
|
16
|
-
//#endregion
|
|
17
|
-
export { NoSearchResultsFound };
|