@envive-ai/react-toolkit 0.1.4 → 0.1.5
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/ButtonBase/index.cjs +6 -0
- package/dist/ButtonBase/index.d.cts +43 -0
- package/dist/{common/ButtonBase/ButtonBase.d.ts → ButtonBase/index.d.ts} +14 -6
- package/dist/ButtonBase/index.js +5 -0
- package/dist/{ButtonBase-C1rsL9gO.js → ButtonBase-CpmFsiUf.js} +4 -4
- package/dist/{ButtonBase-a8uj6c2f.cjs → ButtonBase-Dlh3bpR3.cjs} +9 -3
- package/dist/{AppliedFiltersScrollbar-BlcyhZkZ.cjs → DynamicFiltersScrollbar-D8Lms7Ox.cjs} +34 -2
- package/dist/{AppliedFiltersScrollbar-DFGzRemu.js → DynamicFiltersScrollbar-t_JASmYC.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.ts → Headline/index.d.cts} +3 -3
- package/dist/{common/Headline/Headline.d.cts → Headline/index.d.ts} +1 -1
- package/dist/Headline/index.js +4 -0
- package/dist/{Headline-8on6ZB9e.js → Headline-COAnonc2.js} +2 -2
- package/dist/{Headline-CcWn0w-a.cjs → Headline-CdddUGwy.cjs} +2 -2
- package/dist/ImageWithFallback/index.cjs +3 -0
- package/dist/{common/ImageWithFallback/ImageWithFallback.d.cts → ImageWithFallback/index.d.cts} +1 -1
- package/dist/{common/ImageWithFallback/ImageWithFallback.d.ts → ImageWithFallback/index.d.ts} +3 -3
- package/dist/ImageWithFallback/index.js +3 -0
- package/dist/{ImageWithFallback-ioeMFrTf.cjs → ImageWithFallback-By6QdlCR.cjs} +1 -1
- package/dist/{ImageWithFallback-gN5HDS9L.js → ImageWithFallback-DtUrq_bk.js} +1 -1
- package/dist/ProductCard/index.cjs +18 -0
- package/dist/{common/ProductCard/ProductCard.d.ts → ProductCard/index.d.cts} +26 -8
- package/dist/{common/ProductCard/ProductCard.d.cts → ProductCard/index.d.ts} +22 -4
- package/dist/ProductCard/index.js +9 -0
- package/dist/{ProductCard-C7WUShhN.cjs → ProductCard-CvTRvhm7.cjs} +77 -10
- package/dist/{ProductCard-B5wnOeR9.js → ProductCard-aJbQz6Q7.js} +50 -7
- package/dist/{ProductCardSkeleton-BPfp6IOp.js → ProductCardSkeleton-B6YetUCT.js} +9 -4
- package/dist/{ProductCardSkeleton-BgvDlaty.cjs → ProductCardSkeleton-BzBK36m-.cjs} +21 -4
- 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-CSIH2_G9.cjs} +28 -4
- package/dist/{ProductGrid-wnSc9bXT.js → ProductGrid-NOCayW9O.js} +22 -4
- package/dist/{SearchAutocomplete-BrF2SMoZ.cjs → SearchAutocomplete-CQxxe5Op.cjs} +1 -1
- package/dist/{SearchAutocomplete-B8mO03Rr.js → SearchAutocomplete-DCu9-Yfk.js} +1 -1
- package/dist/SearchFilter/index.cjs +8 -0
- package/dist/SearchFilter/index.d.cts +35 -0
- package/dist/SearchFilter/index.d.ts +35 -0
- package/dist/SearchFilter/index.js +6 -0
- package/dist/SearchFilterHeader-BDEcDc_4.js +114 -0
- package/dist/SearchFilterHeader-qkRVfAB5.cjs +134 -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-mLPisqFO.cjs → SearchInput-Cdpwswyv.cjs} +4 -4
- package/dist/{SearchInput-CzVUsUSb.js → SearchInput-DxGvYGZO.js} +4 -4
- package/dist/SearchInputAutocomplete/index.cjs +3 -0
- package/dist/{search/SearchInputAutocomplete/SearchAutocomplete.d.cts → SearchInputAutocomplete/index.d.cts} +1 -1
- package/dist/{search/SearchInputAutocomplete/SearchAutocomplete.d.ts → SearchInputAutocomplete/index.d.ts} +1 -1
- package/dist/SearchInputAutocomplete/index.js +3 -0
- package/dist/{search/SearchInputForm/SearchInputForm.cjs → SearchInputForm/index.cjs} +7 -7
- package/dist/{search/SearchInputForm/SearchInputForm.d.ts → SearchInputForm/index.d.cts} +5 -5
- package/dist/{search/SearchInputForm/SearchInputForm.d.cts → SearchInputForm/index.d.ts} +5 -5
- package/dist/{search/SearchInputForm/SearchInputForm.js → SearchInputForm/index.js} +6 -6
- package/dist/{search/SearchResultsFilterSidebar/SearchResultsFilter.cjs → SearchResultsFilterSidebar/index.cjs} +11 -12
- package/dist/SearchResultsFilterSidebar/index.d.cts +44 -0
- package/dist/SearchResultsFilterSidebar/index.d.ts +44 -0
- package/dist/{search/SearchResultsFilterSidebar/SearchResultsFilter.js → SearchResultsFilterSidebar/index.js} +8 -10
- package/dist/SearchResultsStates/index.cjs +127 -0
- package/dist/SearchResultsStates/index.d.cts +66 -0
- package/dist/SearchResultsStates/index.d.ts +66 -0
- package/dist/SearchResultsStates/index.js +120 -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-DfMCtvAQ.js} +3 -3
- package/dist/{SparkleAnimation-Ba5G4MIQ.cjs → SparkleAnimation-j-mAMEZZ.cjs} +8 -2
- 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-D9kkaM9d.js} +1 -1
- package/dist/{Spinner-CfQ85Ajl.cjs → Spinner-DX35Epv3.cjs} +1 -1
- package/dist/{common/SuggestionButton/SuggestionButton.cjs → SuggestionButton/index.cjs} +7 -7
- 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} +5 -5
- package/dist/Text/index.cjs +18 -0
- package/dist/Text/index.d.cts +42 -0
- package/dist/Text/index.d.ts +42 -0
- package/dist/Text/index.js +13 -0
- package/dist/{Text-Bdv7F5-u.js → Text-BMg3d10t.js} +2 -2
- package/dist/{Text-C04c4Z93.cjs → Text-CgOYTs8D.cjs} +2 -2
- 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-CObd_Wcw.cjs} +2 -2
- package/dist/{TextInput-CEGWfdPC.js → TextInput-ChPhL54o.js} +2 -2
- package/dist/{colorsConfig-BKBZfFq1.js → colorsConfig-CKiMYHO_.js} +1 -1
- package/dist/{colorsConfig-vunsVTFC.cjs → colorsConfig-DulwYRIk.cjs} +1 -1
- package/dist/{searchFilterSidebarVariants-eoyfoWA8.js → searchFilterSidebarVariants-C_UTEIpZ.js} +2 -2
- package/dist/{searchFilterSidebarVariants-L1rn5Ift.cjs → searchFilterSidebarVariants-DcQLi_TT.cjs} +2 -2
- package/dist/{textVariantClasses-Bhf4VY5z.cjs → textVariantClasses-BnV4wXaw.cjs} +1 -1
- package/dist/{textVariantClasses-5t3OricK.js → textVariantClasses-CnjwO2Fv.js} +1 -1
- package/dist/textVariantClasses-DwnnFNBf.d.cts +174 -0
- package/dist/textVariantClasses-sT9E8Uty.d.ts +174 -0
- package/dist/types-5luH4G-3.d.cts +5 -0
- package/dist/types-B7hf-Lif.d.ts +272 -0
- package/dist/{types-BQNqA5xL.d.ts → types-BCAU5OQD.d.cts} +1 -1
- package/dist/types-BIPqyTOJ.d.ts +5 -0
- package/dist/types-BQYpWDJ4.d.cts +6 -0
- package/dist/{types-CImLkcNh.d.cts → types-BwPquD10.d.ts} +1 -1
- package/dist/types-CosVh8Hj.d.cts +4 -0
- package/dist/types-DpfHwTzY.d.ts +6 -0
- package/dist/types-Dvgr3ZeV.d.cts +272 -0
- package/dist/types-nR3jHgIO.d.ts +4 -0
- package/package.json +58 -85
- package/src/components/ButtonBase/index.ts +2 -0
- package/src/components/{common/ButtonBase → ButtonBase}/types.ts +1 -1
- package/src/components/{search/FilterScrollbar → FilterScrollbar}/AppliedFiltersScrollbar.tsx +1 -1
- package/src/components/{search/FilterScrollbar → FilterScrollbar}/DynamicFiltersScrollbar.tsx +1 -1
- 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 +3 -3
- package/src/components/ProductCard/index.ts +4 -0
- package/src/components/ProductGrid/index.ts +2 -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 +1 -1
- package/src/components/SearchInput/index.ts +2 -0
- package/src/components/{search/SearchInput → SearchInput}/searchInputVariants.ts +2 -2
- package/src/components/SearchInputAutocomplete/index.ts +1 -0
- package/src/components/SearchInputForm/index.ts +2 -0
- package/src/components/{search/SearchResultsFilterSidebar → SearchResultsFilterSidebar}/SearchResultsFilter.tsx +1 -1
- package/src/components/SearchResultsFilterSidebar/index.ts +3 -0
- package/src/components/SearchResultsFilterSidebar/searchFilterSidebarVariants.ts +58 -0
- package/src/components/{search/SearchResultsStates → SearchResultsStates}/NoSearchResultsFound.tsx +1 -1
- package/src/components/{search/SearchResultsStates → SearchResultsStates}/SearchResultsGrid.tsx +2 -2
- package/src/components/{search/SearchResultsStates → SearchResultsStates}/SearchResultsLoadingGrid.tsx +5 -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/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.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.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-BRLWwGMI.d.ts +0 -4
- 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/search/SearchResultsFilterSidebar/searchFilterSidebarVariants.ts +0 -45
- package/src/components/search/types.ts +0 -5
- /package/dist/{types-DFetqNL2.d.ts → types-B19i3fxM.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/ProductCard → ProductCard}/types.ts +0 -0
- /package/src/components/{common/ProductGrid → ProductGrid}/ProductGrid.tsx +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/SearchInputAutocomplete → SearchInputAutocomplete}/SearchAutocomplete.tsx +0 -0
- /package/src/components/{search/SearchInputForm → SearchInputForm}/SearchInputForm.tsx +0 -0
- /package/src/components/{search/SearchInputForm → SearchInputForm}/types.ts +0 -0
- /package/src/components/{search/SearchResultsFilterSidebar → SearchResultsFilterSidebar}/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,70 +0,0 @@
|
|
|
1
|
-
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
|
-
const require_ButtonBase = require('./ButtonBase-a8uj6c2f.cjs');
|
|
3
|
-
const require_Text = require('./Text-C04c4Z93.cjs');
|
|
4
|
-
const require_SearchFilterItem = require('./SearchFilterItem-DmMkiqNC.cjs');
|
|
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/search/SearchFilter/SearchFilter.tsx
|
|
11
|
-
const SearchFilter = ({ isOpen, setIsOpen, filters, selectFilterItem, clearAllFilters, filterButtonText, radioButtonFillColor, radioButtonHoverColor, radioButtonUncheckedBorderColor, headerContent }) => {
|
|
12
|
-
const modalClasses = (0, classnames.default)("spiffy-tw-fixed spiffy-tw-inset-0 spiffy-tw-z-50 spiffy-tw-flex spiffy-tw-transform spiffy-tw-transition-all", {
|
|
13
|
-
"spiffy-tw-translate-x-full": !isOpen,
|
|
14
|
-
"spiffy-tw-translate-x-0": isOpen
|
|
15
|
-
});
|
|
16
|
-
const overlayClasses = (0, classnames.default)("spiffy-tw-absolute spiffy-tw-inset-0 spiffy-tw-bg-black spiffy-tw-bg-opacity-50", {
|
|
17
|
-
"spiffy-tw-opacity-0": !isOpen,
|
|
18
|
-
"spiffy-tw-opacity-100": isOpen
|
|
19
|
-
});
|
|
20
|
-
const sidebarClasses = (0, classnames.default)("spiffy-tw-relative spiffy-tw-ml-auto spiffy-tw-flex spiffy-tw-h-full spiffy-tw-w-full spiffy-tw-max-w-xs spiffy-tw-flex-col spiffy-tw-overflow-y-auto spiffy-tw-bg-[--spiffy-colors-background-light] spiffy-tw-py-4 spiffy-tw-shadow-xl");
|
|
21
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
22
|
-
className: modalClasses,
|
|
23
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
24
|
-
className: overlayClasses,
|
|
25
|
-
onClick: () => setIsOpen(false)
|
|
26
|
-
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
27
|
-
className: sidebarClasses,
|
|
28
|
-
children: [
|
|
29
|
-
headerContent,
|
|
30
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
31
|
-
className: "spiffy-tw-flex-1 spiffy-tw-px-4 spiffy-tw-py-6",
|
|
32
|
-
children: filters.map((filter) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
33
|
-
className: "spiffy-tw-mb-6",
|
|
34
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Text.Text, {
|
|
35
|
-
variant: "body2",
|
|
36
|
-
className: "spiffy-tw-font-medium spiffy-tw-mb-3",
|
|
37
|
-
children: filter.displayName
|
|
38
|
-
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("ul", { children: filter.items.map((item) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_SearchFilterItem.SearchFilterItem, {
|
|
39
|
-
filterItem: item,
|
|
40
|
-
onSelectFilterItem: selectFilterItem,
|
|
41
|
-
radioButtonFillColor,
|
|
42
|
-
radioButtonHoverColor,
|
|
43
|
-
radioButtonUncheckedBorderColor
|
|
44
|
-
}, item.id)) })]
|
|
45
|
-
}, filter.id))
|
|
46
|
-
}),
|
|
47
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
48
|
-
className: "spiffy-tw-border-t spiffy-tw-border-[--spiffy-colors-border-light] spiffy-tw-px-4 spiffy-tw-py-3",
|
|
49
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ButtonBase.ButtonBase, {
|
|
50
|
-
onClick: clearAllFilters,
|
|
51
|
-
text: "Clear All",
|
|
52
|
-
buttonClass: "spiffy-tw-w-full spiffy-tw-mb-2"
|
|
53
|
-
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ButtonBase.ButtonBase, {
|
|
54
|
-
onClick: () => setIsOpen(false),
|
|
55
|
-
text: filterButtonText,
|
|
56
|
-
buttonClass: "spiffy-tw-w-full"
|
|
57
|
-
})]
|
|
58
|
-
})
|
|
59
|
-
]
|
|
60
|
-
})]
|
|
61
|
-
});
|
|
62
|
-
};
|
|
63
|
-
|
|
64
|
-
//#endregion
|
|
65
|
-
Object.defineProperty(exports, 'SearchFilter', {
|
|
66
|
-
enumerable: true,
|
|
67
|
-
get: function () {
|
|
68
|
-
return SearchFilter;
|
|
69
|
-
}
|
|
70
|
-
});
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { Text } from "./Text-Bdv7F5-u.js";
|
|
2
|
-
import classNames from "classnames";
|
|
3
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
|
|
5
|
-
//#region src/components/search/SearchFilter/SearchFilterHeader.tsx
|
|
6
|
-
const SearchFilterHeader = ({ closeModal, productCount, headerClassName, filterCloseIconVariant }) => {
|
|
7
|
-
const closeIconColor = filterCloseIconVariant === "dark" ? "var(--spiffy-colors-text-primary)" : "var(--spiffy-colors-text-light)";
|
|
8
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
9
|
-
className: classNames("spiffy-tw-flex spiffy-tw-items-center spiffy-tw-justify-between spiffy-tw-px-4 spiffy-tw-py-3", headerClassName),
|
|
10
|
-
children: [/* @__PURE__ */ jsxs(Text, {
|
|
11
|
-
variant: "body2",
|
|
12
|
-
className: "spiffy-tw-font-medium",
|
|
13
|
-
children: [
|
|
14
|
-
"Filters (",
|
|
15
|
-
productCount,
|
|
16
|
-
")"
|
|
17
|
-
]
|
|
18
|
-
}), /* @__PURE__ */ jsx("button", {
|
|
19
|
-
onClick: closeModal,
|
|
20
|
-
className: "spiffy-tw-p-2",
|
|
21
|
-
children: /* @__PURE__ */ jsx("svg", {
|
|
22
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
23
|
-
width: "14",
|
|
24
|
-
height: "14",
|
|
25
|
-
viewBox: "0 0 14 14",
|
|
26
|
-
fill: "none",
|
|
27
|
-
children: /* @__PURE__ */ jsx("path", {
|
|
28
|
-
d: "M13.7071 1.70711C14.0976 1.31658 14.0976 0.683417 13.7071 0.292893C13.3166 -0.0976311 12.6834 -0.0976311 12.2929 0.292893L7 5.58579L1.70711 0.292893C1.31658 -0.0976311 0.683417 -0.0976311 0.292893 0.292893C-0.0976311 0.683417 -0.0976311 1.31658 0.292893 1.70711L5.58579 7L0.292893 12.2929C-0.0976311 12.6834 -0.0976311 13.3166 0.292893 13.7071C0.683417 14.0976 1.31658 14.0976 1.70711 13.7071L7 8.41421L12.2929 13.7071C12.6834 14.0976 13.3166 14.0976 13.7071 13.7071C14.0976 13.3166 14.0976 12.6834 13.7071 12.2929L8.41421 7L13.7071 1.70711Z",
|
|
29
|
-
fill: closeIconColor
|
|
30
|
-
})
|
|
31
|
-
})
|
|
32
|
-
})]
|
|
33
|
-
});
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
//#endregion
|
|
37
|
-
export { SearchFilterHeader };
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
|
-
const require_Text = require('./Text-C04c4Z93.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/search/SearchFilter/SearchFilterHeader.tsx
|
|
9
|
-
const SearchFilterHeader = ({ closeModal, productCount, headerClassName, filterCloseIconVariant }) => {
|
|
10
|
-
const closeIconColor = filterCloseIconVariant === "dark" ? "var(--spiffy-colors-text-primary)" : "var(--spiffy-colors-text-light)";
|
|
11
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
12
|
-
className: (0, classnames.default)("spiffy-tw-flex spiffy-tw-items-center spiffy-tw-justify-between spiffy-tw-px-4 spiffy-tw-py-3", headerClassName),
|
|
13
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_Text.Text, {
|
|
14
|
-
variant: "body2",
|
|
15
|
-
className: "spiffy-tw-font-medium",
|
|
16
|
-
children: [
|
|
17
|
-
"Filters (",
|
|
18
|
-
productCount,
|
|
19
|
-
")"
|
|
20
|
-
]
|
|
21
|
-
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
22
|
-
onClick: closeModal,
|
|
23
|
-
className: "spiffy-tw-p-2",
|
|
24
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
|
|
25
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
26
|
-
width: "14",
|
|
27
|
-
height: "14",
|
|
28
|
-
viewBox: "0 0 14 14",
|
|
29
|
-
fill: "none",
|
|
30
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
|
|
31
|
-
d: "M13.7071 1.70711C14.0976 1.31658 14.0976 0.683417 13.7071 0.292893C13.3166 -0.0976311 12.6834 -0.0976311 12.2929 0.292893L7 5.58579L1.70711 0.292893C1.31658 -0.0976311 0.683417 -0.0976311 0.292893 0.292893C-0.0976311 0.683417 -0.0976311 1.31658 0.292893 1.70711L5.58579 7L0.292893 12.2929C-0.0976311 12.6834 -0.0976311 13.3166 0.292893 13.7071C0.683417 14.0976 1.31658 14.0976 1.70711 13.7071L7 8.41421L12.2929 13.7071C12.6834 14.0976 13.3166 14.0976 13.7071 13.7071C14.0976 13.3166 14.0976 12.6834 13.7071 12.2929L8.41421 7L13.7071 1.70711Z",
|
|
32
|
-
fill: closeIconColor
|
|
33
|
-
})
|
|
34
|
-
})
|
|
35
|
-
})]
|
|
36
|
-
});
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
//#endregion
|
|
40
|
-
Object.defineProperty(exports, 'SearchFilterHeader', {
|
|
41
|
-
enumerable: true,
|
|
42
|
-
get: function () {
|
|
43
|
-
return SearchFilterHeader;
|
|
44
|
-
}
|
|
45
|
-
});
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Text } from "./Text-Bdv7F5-u.js";
|
|
2
|
-
import classNames from "classnames";
|
|
3
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
|
|
5
|
-
//#region src/components/search/SearchFilter/SearchFilterItem.tsx
|
|
6
|
-
const SearchFilterItem = ({ filterItem, onSelectFilterItem, radioButtonFillColor, radioButtonHoverColor, radioButtonUncheckedBorderColor }) => {
|
|
7
|
-
const { displayName, isSelected } = filterItem;
|
|
8
|
-
const radioClasses = classNames("spiffy-tw-w-4 spiffy-tw-h-4 spiffy-tw-rounded-full spiffy-tw-border-2", "spiffy-tw-flex spiffy-tw-items-center spiffy-tw-justify-center", radioButtonUncheckedBorderColor, radioButtonHoverColor, { [radioButtonFillColor]: isSelected });
|
|
9
|
-
return /* @__PURE__ */ jsxs("li", {
|
|
10
|
-
className: "spiffy-tw-flex spiffy-tw-items-center spiffy-tw-justify-between spiffy-tw-py-2 spiffy-tw-cursor-pointer",
|
|
11
|
-
onClick: () => onSelectFilterItem(filterItem),
|
|
12
|
-
children: [/* @__PURE__ */ jsx(Text, {
|
|
13
|
-
variant: "body3",
|
|
14
|
-
children: displayName
|
|
15
|
-
}), /* @__PURE__ */ jsx("div", {
|
|
16
|
-
className: radioClasses,
|
|
17
|
-
children: isSelected && /* @__PURE__ */ jsx("div", { className: classNames("spiffy-tw-w-2 spiffy-tw-h-2 spiffy-tw-rounded-full", {
|
|
18
|
-
"spiffy-tw-bg-white": radioButtonFillColor.includes("spiffy-tw-bg-"),
|
|
19
|
-
"spiffy-tw-bg-black": radioButtonFillColor.includes("spiffy-tw-bg-white")
|
|
20
|
-
}) })
|
|
21
|
-
})]
|
|
22
|
-
});
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
//#endregion
|
|
26
|
-
export { SearchFilterItem };
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
|
-
const require_Text = require('./Text-C04c4Z93.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/search/SearchFilter/SearchFilterItem.tsx
|
|
9
|
-
const SearchFilterItem = ({ filterItem, onSelectFilterItem, radioButtonFillColor, radioButtonHoverColor, radioButtonUncheckedBorderColor }) => {
|
|
10
|
-
const { displayName, isSelected } = filterItem;
|
|
11
|
-
const radioClasses = (0, classnames.default)("spiffy-tw-w-4 spiffy-tw-h-4 spiffy-tw-rounded-full spiffy-tw-border-2", "spiffy-tw-flex spiffy-tw-items-center spiffy-tw-justify-center", radioButtonUncheckedBorderColor, radioButtonHoverColor, { [radioButtonFillColor]: isSelected });
|
|
12
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("li", {
|
|
13
|
-
className: "spiffy-tw-flex spiffy-tw-items-center spiffy-tw-justify-between spiffy-tw-py-2 spiffy-tw-cursor-pointer",
|
|
14
|
-
onClick: () => onSelectFilterItem(filterItem),
|
|
15
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Text.Text, {
|
|
16
|
-
variant: "body3",
|
|
17
|
-
children: displayName
|
|
18
|
-
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
19
|
-
className: radioClasses,
|
|
20
|
-
children: isSelected && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { className: (0, classnames.default)("spiffy-tw-w-2 spiffy-tw-h-2 spiffy-tw-rounded-full", {
|
|
21
|
-
"spiffy-tw-bg-white": radioButtonFillColor.includes("spiffy-tw-bg-"),
|
|
22
|
-
"spiffy-tw-bg-black": radioButtonFillColor.includes("spiffy-tw-bg-white")
|
|
23
|
-
}) })
|
|
24
|
-
})]
|
|
25
|
-
});
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
//#endregion
|
|
29
|
-
Object.defineProperty(exports, 'SearchFilterItem', {
|
|
30
|
-
enumerable: true,
|
|
31
|
-
get: function () {
|
|
32
|
-
return SearchFilterItem;
|
|
33
|
-
}
|
|
34
|
-
});
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { TestProps } from "../../types-TYhhwWZw.cjs";
|
|
2
|
-
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
3
|
-
import { ButtonHTMLAttributes } from "react";
|
|
4
|
-
|
|
5
|
-
//#region src/components/common/ButtonBase/types.d.ts
|
|
6
|
-
|
|
7
|
-
interface ButtonBaseProps extends TestProps {
|
|
8
|
-
type?: ButtonHTMLAttributes<HTMLButtonElement>['type'];
|
|
9
|
-
isDisabled?: boolean;
|
|
10
|
-
dataAttributes?: Record<string, string>;
|
|
11
|
-
buttonClass?: string;
|
|
12
|
-
text: string;
|
|
13
|
-
textClass?: string;
|
|
14
|
-
icon?: React.FunctionComponent<React.SVGProps<SVGSVGElement>>;
|
|
15
|
-
iconClass?: string;
|
|
16
|
-
onClick?: () => void;
|
|
17
|
-
disablePadding?: boolean;
|
|
18
|
-
}
|
|
19
|
-
//#endregion
|
|
20
|
-
//#region src/components/common/ButtonBase/ButtonBase.d.ts
|
|
21
|
-
declare const ButtonBase: ({
|
|
22
|
-
type,
|
|
23
|
-
isDisabled,
|
|
24
|
-
dataAttributes,
|
|
25
|
-
buttonClass,
|
|
26
|
-
text,
|
|
27
|
-
textClass,
|
|
28
|
-
icon,
|
|
29
|
-
iconClass,
|
|
30
|
-
dataTestId,
|
|
31
|
-
onClick,
|
|
32
|
-
disablePadding
|
|
33
|
-
}: ButtonBaseProps) => react_jsx_runtime3.JSX.Element;
|
|
34
|
-
//#endregion
|
|
35
|
-
export { ButtonBase };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
require('../../textVariantClasses-Bhf4VY5z.cjs');
|
|
2
|
-
require('../../Text-C04c4Z93.cjs');
|
|
3
|
-
require('../../ImageWithFallback-ioeMFrTf.cjs');
|
|
4
|
-
require('../../Headline-CcWn0w-a.cjs');
|
|
5
|
-
require('../../productCardVariants-Dd-wrJKP.cjs');
|
|
6
|
-
const require_ProductCard = require('../../ProductCard-C7WUShhN.cjs');
|
|
7
|
-
require('../../Spinner-CfQ85Ajl.cjs');
|
|
8
|
-
|
|
9
|
-
exports.PriceSection = require_ProductCard.PriceSection;
|
|
10
|
-
exports.ProductCard = require_ProductCard.ProductCard;
|
|
11
|
-
exports.RatingSummary = require_ProductCard.RatingSummary;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import "../../textVariantClasses-5t3OricK.js";
|
|
2
|
-
import "../../Text-Bdv7F5-u.js";
|
|
3
|
-
import "../../ImageWithFallback-gN5HDS9L.js";
|
|
4
|
-
import "../../Headline-8on6ZB9e.js";
|
|
5
|
-
import "../../productCardVariants-C_QIZ-KF.js";
|
|
6
|
-
import { PriceSection, ProductCard, RatingSummary } from "../../ProductCard-B5wnOeR9.js";
|
|
7
|
-
import "../../Spinner-BZ-kTOpm.js";
|
|
8
|
-
|
|
9
|
-
export { PriceSection, ProductCard, RatingSummary };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ProductCardLayoutVariant } from "../../types-aa4flfRE.cjs";
|
|
2
|
-
import { FC } from "react";
|
|
3
|
-
|
|
4
|
-
//#region src/components/common/ProductCard/ProductCardSkeleton.d.ts
|
|
5
|
-
interface ProductCardSkeletonProps {
|
|
6
|
-
layoutVariant: ProductCardLayoutVariant;
|
|
7
|
-
aspectRatio?: '3:4' | 'square' | 'none';
|
|
8
|
-
growWithContainer?: boolean;
|
|
9
|
-
}
|
|
10
|
-
declare const ProductCardSkeleton: FC<ProductCardSkeletonProps>;
|
|
11
|
-
//#endregion
|
|
12
|
-
export { ProductCardSkeleton };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ProductCardLayoutVariant } from "../../types-53zIialA.js";
|
|
2
|
-
import { FC } from "react";
|
|
3
|
-
|
|
4
|
-
//#region src/components/common/ProductCard/ProductCardSkeleton.d.ts
|
|
5
|
-
interface ProductCardSkeletonProps {
|
|
6
|
-
layoutVariant: ProductCardLayoutVariant;
|
|
7
|
-
aspectRatio?: '3:4' | 'square' | 'none';
|
|
8
|
-
growWithContainer?: boolean;
|
|
9
|
-
}
|
|
10
|
-
declare const ProductCardSkeleton: FC<ProductCardSkeletonProps>;
|
|
11
|
-
//#endregion
|
|
12
|
-
export { ProductCardSkeleton };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
require('../../textVariantClasses-Bhf4VY5z.cjs');
|
|
2
|
-
require('../../Text-C04c4Z93.cjs');
|
|
3
|
-
require('../../ImageWithFallback-ioeMFrTf.cjs');
|
|
4
|
-
require('../../Headline-CcWn0w-a.cjs');
|
|
5
|
-
require('../../productCardVariants-Dd-wrJKP.cjs');
|
|
6
|
-
require('../../ProductCard-C7WUShhN.cjs');
|
|
7
|
-
require('../../Spinner-CfQ85Ajl.cjs');
|
|
8
|
-
require('../../productGridVariants-CsNV0ACt.cjs');
|
|
9
|
-
const require_ProductGrid = require('../../ProductGrid-DZgwGPSQ.cjs');
|
|
10
|
-
|
|
11
|
-
exports.ProductGrid = require_ProductGrid.ProductGrid;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { ProductCardConfig, ProductGridVariant, SearchResponseProduct } from "../../types-aa4flfRE.cjs";
|
|
2
|
-
import * as react_jsx_runtime13 from "react/jsx-runtime";
|
|
3
|
-
|
|
4
|
-
//#region src/components/common/ProductGrid/ProductGrid.d.ts
|
|
5
|
-
interface ProductGridProps {
|
|
6
|
-
productList: SearchResponseProduct[];
|
|
7
|
-
productGridVariant: ProductGridVariant;
|
|
8
|
-
productGridClasses: string;
|
|
9
|
-
productCardConfig?: ProductCardConfig;
|
|
10
|
-
merchantShortName: string;
|
|
11
|
-
searchResponseId: string;
|
|
12
|
-
cardsGrowWithContainer?: boolean;
|
|
13
|
-
handleClick: (clickedUrl: string) => void;
|
|
14
|
-
}
|
|
15
|
-
declare const ProductGrid: ({
|
|
16
|
-
productList,
|
|
17
|
-
productGridVariant,
|
|
18
|
-
productGridClasses,
|
|
19
|
-
productCardConfig,
|
|
20
|
-
merchantShortName,
|
|
21
|
-
searchResponseId,
|
|
22
|
-
cardsGrowWithContainer,
|
|
23
|
-
handleClick
|
|
24
|
-
}: ProductGridProps) => react_jsx_runtime13.JSX.Element;
|
|
25
|
-
//#endregion
|
|
26
|
-
export { ProductGrid };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { ProductCardConfig, ProductGridVariant, SearchResponseProduct } from "../../types-53zIialA.js";
|
|
2
|
-
import * as react_jsx_runtime18 from "react/jsx-runtime";
|
|
3
|
-
|
|
4
|
-
//#region src/components/common/ProductGrid/ProductGrid.d.ts
|
|
5
|
-
interface ProductGridProps {
|
|
6
|
-
productList: SearchResponseProduct[];
|
|
7
|
-
productGridVariant: ProductGridVariant;
|
|
8
|
-
productGridClasses: string;
|
|
9
|
-
productCardConfig?: ProductCardConfig;
|
|
10
|
-
merchantShortName: string;
|
|
11
|
-
searchResponseId: string;
|
|
12
|
-
cardsGrowWithContainer?: boolean;
|
|
13
|
-
handleClick: (clickedUrl: string) => void;
|
|
14
|
-
}
|
|
15
|
-
declare const ProductGrid: ({
|
|
16
|
-
productList,
|
|
17
|
-
productGridVariant,
|
|
18
|
-
productGridClasses,
|
|
19
|
-
productCardConfig,
|
|
20
|
-
merchantShortName,
|
|
21
|
-
searchResponseId,
|
|
22
|
-
cardsGrowWithContainer,
|
|
23
|
-
handleClick
|
|
24
|
-
}: ProductGridProps) => react_jsx_runtime18.JSX.Element;
|
|
25
|
-
//#endregion
|
|
26
|
-
export { ProductGrid };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import "../../textVariantClasses-5t3OricK.js";
|
|
2
|
-
import "../../Text-Bdv7F5-u.js";
|
|
3
|
-
import "../../ImageWithFallback-gN5HDS9L.js";
|
|
4
|
-
import "../../Headline-8on6ZB9e.js";
|
|
5
|
-
import "../../productCardVariants-C_QIZ-KF.js";
|
|
6
|
-
import "../../ProductCard-B5wnOeR9.js";
|
|
7
|
-
import "../../Spinner-BZ-kTOpm.js";
|
|
8
|
-
import "../../productGridVariants-BNX4YlRK.js";
|
|
9
|
-
import { ProductGrid } from "../../ProductGrid-wnSc9bXT.js";
|
|
10
|
-
|
|
11
|
-
export { ProductGrid };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime12 from "react/jsx-runtime";
|
|
2
|
-
|
|
3
|
-
//#region src/components/common/SparkleAnimation/SparkleAnimation.d.ts
|
|
4
|
-
interface SparkleAnimationProps {
|
|
5
|
-
color: string;
|
|
6
|
-
className?: string;
|
|
7
|
-
animate?: boolean;
|
|
8
|
-
}
|
|
9
|
-
declare const SparkleAnimation: ({
|
|
10
|
-
color,
|
|
11
|
-
className,
|
|
12
|
-
animate
|
|
13
|
-
}: SparkleAnimationProps) => react_jsx_runtime12.JSX.Element;
|
|
14
|
-
//#endregion
|
|
15
|
-
export { SparkleAnimation };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
2
|
-
|
|
3
|
-
//#region src/components/common/SparkleAnimation/SparkleAnimation.d.ts
|
|
4
|
-
interface SparkleAnimationProps {
|
|
5
|
-
color: string;
|
|
6
|
-
className?: string;
|
|
7
|
-
animate?: boolean;
|
|
8
|
-
}
|
|
9
|
-
declare const SparkleAnimation: ({
|
|
10
|
-
color,
|
|
11
|
-
className,
|
|
12
|
-
animate
|
|
13
|
-
}: SparkleAnimationProps) => react_jsx_runtime1.JSX.Element;
|
|
14
|
-
//#endregion
|
|
15
|
-
export { SparkleAnimation };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime6 from "react/jsx-runtime";
|
|
2
|
-
|
|
3
|
-
//#region src/components/common/Spinner/Spinner.d.ts
|
|
4
|
-
type SpinnerProps = {
|
|
5
|
-
className?: string;
|
|
6
|
-
};
|
|
7
|
-
declare const Spinner: ({
|
|
8
|
-
className
|
|
9
|
-
}: SpinnerProps) => react_jsx_runtime6.JSX.Element;
|
|
10
|
-
//#endregion
|
|
11
|
-
export { Spinner };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime11 from "react/jsx-runtime";
|
|
2
|
-
|
|
3
|
-
//#region src/components/common/Spinner/Spinner.d.ts
|
|
4
|
-
type SpinnerProps = {
|
|
5
|
-
className?: string;
|
|
6
|
-
};
|
|
7
|
-
declare const Spinner: ({
|
|
8
|
-
className
|
|
9
|
-
}: SpinnerProps) => react_jsx_runtime11.JSX.Element;
|
|
10
|
-
//#endregion
|
|
11
|
-
export { Spinner };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
-
|
|
3
|
-
//#region src/components/common/Text/types.d.ts
|
|
4
|
-
|
|
5
|
-
type TextVariant = 'body1' | 'body2' | 'body3' | 'body4' | 'body5';
|
|
6
|
-
type TextType = 'p' | 'span' | 'sub';
|
|
7
|
-
//#endregion
|
|
8
|
-
//#region src/components/common/Text/Text.d.ts
|
|
9
|
-
type TextProps = {
|
|
10
|
-
children: React.ReactNode;
|
|
11
|
-
noOfLines?: number;
|
|
12
|
-
className?: string;
|
|
13
|
-
style?: React.CSSProperties;
|
|
14
|
-
variant?: TextVariant;
|
|
15
|
-
type?: TextType;
|
|
16
|
-
testId?: string;
|
|
17
|
-
};
|
|
18
|
-
declare const Text: ({
|
|
19
|
-
children,
|
|
20
|
-
className,
|
|
21
|
-
style,
|
|
22
|
-
noOfLines,
|
|
23
|
-
testId,
|
|
24
|
-
type,
|
|
25
|
-
variant
|
|
26
|
-
}: TextProps) => react_jsx_runtime0.JSX.Element;
|
|
27
|
-
//#endregion
|
|
28
|
-
export { Text };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime8 from "react/jsx-runtime";
|
|
2
|
-
|
|
3
|
-
//#region src/components/common/Text/types.d.ts
|
|
4
|
-
|
|
5
|
-
type TextVariant = 'body1' | 'body2' | 'body3' | 'body4' | 'body5';
|
|
6
|
-
type TextType = 'p' | 'span' | 'sub';
|
|
7
|
-
//#endregion
|
|
8
|
-
//#region src/components/common/Text/Text.d.ts
|
|
9
|
-
type TextProps = {
|
|
10
|
-
children: React.ReactNode;
|
|
11
|
-
noOfLines?: number;
|
|
12
|
-
className?: string;
|
|
13
|
-
style?: React.CSSProperties;
|
|
14
|
-
variant?: TextVariant;
|
|
15
|
-
type?: TextType;
|
|
16
|
-
testId?: string;
|
|
17
|
-
};
|
|
18
|
-
declare const Text: ({
|
|
19
|
-
children,
|
|
20
|
-
className,
|
|
21
|
-
style,
|
|
22
|
-
noOfLines,
|
|
23
|
-
testId,
|
|
24
|
-
type,
|
|
25
|
-
variant
|
|
26
|
-
}: TextProps) => react_jsx_runtime8.JSX.Element;
|
|
27
|
-
//#endregion
|
|
28
|
-
export { Text };
|
package/dist/common/Text/Text.js
DELETED