@envive-ai/react-toolkit 0.2.10 → 0.2.12
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-RpyCFs2a.cjs → Accordion-B0TzPN3m.cjs} +2 -5
- package/dist/{Accordion-DxtXK__u.js → Accordion-D8Vm8J1y.js} +3 -3
- package/dist/{AnimatedChevron-Q96FneFy.cjs → AnimatedChevron-9xf90bpP.cjs} +0 -2
- package/dist/{AnimatedChevron-Bik7GMSe.js → AnimatedChevron-DghLnmlM.js} +1 -1
- package/dist/{ButtonBase-AU23oGQr.cjs → ButtonBase-BMEAmPnS.cjs} +1 -3
- package/dist/{ButtonBase-6wjsZ1tU.js → ButtonBase-CT397aT3.js} +2 -2
- package/dist/{DynamicFiltersScrollbar-CJG4K0PH.js → DynamicFiltersScrollbar-CibstqNd.js} +4 -6
- package/dist/{DynamicFiltersScrollbar-DgS9gpdg.cjs → DynamicFiltersScrollbar-DqIydLJu.cjs} +3 -6
- package/dist/{ImageWithFallback-Bx17VPmQ.cjs → ImageWithFallback-CuPe6XF6.cjs} +0 -1
- package/dist/{ImageWithFallback-c-DTsBH-.js → ImageWithFallback-_QZT0EKI.js} +1 -1
- package/dist/{ModalSheet-CcthFeMD.cjs → ModalSheet-Be7-bkXK.cjs} +10 -15
- package/dist/{ModalSheet-BSj_g9JF.js → ModalSheet-DVrY7Mw0.js} +11 -12
- package/dist/{ProductCard-C-8ie9Lf.cjs → ProductCard-BeY85PBf.cjs} +8 -25
- package/dist/{ProductCard-n-PAth5m.js → ProductCard-BoyYu6mI.js} +7 -20
- package/dist/{ProductGrid-Ba2tUgmC.cjs → ProductGrid-CxKK7w_X.cjs} +1 -2
- package/dist/{ProductGrid-xXkWzvR2.js → ProductGrid-DmtSXfyE.js} +2 -2
- package/dist/{RadioButton-gnFz0TWN.js → RadioButton-Bm0qK3bX.js} +2 -2
- package/dist/{RadioButton-BBc1b5vX.cjs → RadioButton-Dcdj8pNp.cjs} +1 -3
- package/dist/{RadioButtonGroup-DxOtcIdO.cjs → RadioButtonGroup-BnnMx8sE.cjs} +1 -2
- package/dist/{RadioButtonGroup-DLLleeDX.js → RadioButtonGroup-hme7gSiQ.js} +2 -2
- package/dist/RecommendedProducts-C2eNVrLo.cjs +56 -0
- package/dist/RecommendedProducts-LalI8aVC.js +49 -0
- package/dist/{SearchAutocomplete-DAEDHeqr.cjs → SearchAutocomplete-A3HXkHwK.cjs} +3 -6
- package/dist/{SearchAutocomplete-B690CIZB.js → SearchAutocomplete-Rza3A-gs.js} +4 -5
- package/dist/{SearchFilter-Bi0zqO3-.js → SearchFilter-CYY5sNXV.js} +39 -43
- package/dist/{SearchFilter-ylBowO7T.cjs → SearchFilter-DxrQOLx0.cjs} +38 -44
- package/dist/{SearchInput-Yy6NIiSk.cjs → SearchInput-3ppsm2Ke.cjs} +2 -3
- package/dist/{SearchInput-Q3knp7tj.js → SearchInput-DE9Iz7A8.js} +3 -3
- package/dist/{SearchInputForm/index.cjs → SearchInputForm-CZz62rOX.cjs} +9 -9
- package/dist/{SearchInputForm/index.js → SearchInputForm-DrI4WHDt.js} +3 -6
- package/dist/SearchResultsFilterButton-BedTofz5.cjs +29 -0
- package/dist/SearchResultsFilterButton-CV11UTGi.js +22 -0
- package/dist/{SearchResultsFilterSidebar/index.js → SearchResultsFilterSidebar-Bvpk7Uoo.js} +4 -13
- package/dist/{SearchResultsFilterSidebar/index.cjs → SearchResultsFilterSidebar-Dgz98oyD.cjs} +10 -17
- package/dist/{SearchResultsStates-BjFB9Qo9.cjs → SearchResultsStates-D37wFr9h.cjs} +42 -16
- package/dist/{SearchResultsStates-D8Uz39yp.js → SearchResultsStates-DrGtw0pM.js} +43 -15
- package/dist/{SparkleAnimation-CvGlWUqv.cjs → SparkleAnimation-B5A_NCuy.cjs} +1 -4
- package/dist/{SparkleAnimation-paLhSu5E.js → SparkleAnimation-BSI_34HX.js} +2 -2
- package/dist/{Spinner-BqTt55uu.js → Spinner-CDDFWySo.js} +1 -1
- package/dist/{Spinner-DjK8ts9E.cjs → Spinner-FQpy5bGu.cjs} +0 -1
- package/dist/{TextInput-B70n36-J.cjs → TextInput-Do5-j1V_.cjs} +3 -5
- package/dist/{TextInput-y6nNxaTI.js → TextInput-PtrUXoZo.js} +4 -5
- package/dist/{ToggleButton-Br6MgjiG.js → ToggleButton-BTz_zIdc.js} +2 -2
- package/dist/{ToggleButton-CJ74eu-N.cjs → ToggleButton-CmxTz-ou.cjs} +1 -2
- package/dist/{Typography-D3vDkBMS.js → Typography-xehJH05l.js} +1 -1
- package/dist/{colorsConfig-DZ-GSPWy.js → colorsConfig-BjdoRtRK.js} +1 -1
- package/dist/{Accordion/index.d.ts → components/Accordion/index-BPofgdcd.d.cts} +2 -2
- package/dist/{Accordion/index.d.cts → components/Accordion/index-DBEaF9x5.d.ts} +2 -2
- package/dist/components/Accordion/index.cjs +4 -0
- package/dist/components/Accordion/index.js +4 -0
- package/dist/{AnimatedChevron/index.d.cts → components/AnimatedChevron/index-Bvff3AGS.d.ts} +2 -2
- package/dist/{AnimatedChevron/index.d.ts → components/AnimatedChevron/index-BwQ6tJL8.d.cts} +2 -2
- package/dist/components/AnimatedChevron/index.cjs +3 -0
- package/dist/components/AnimatedChevron/index.js +3 -0
- package/dist/{AppliedFiltersScrollbar/index.d.ts → components/AppliedFiltersScrollbar/index-BKNoroAl.d.ts} +2 -2
- package/dist/{AppliedFiltersScrollbar/index.d.cts → components/AppliedFiltersScrollbar/index-DADY550R.d.cts} +2 -2
- package/dist/{AppliedFiltersScrollbar → components/AppliedFiltersScrollbar}/index.cjs +3 -5
- package/dist/{AppliedFiltersScrollbar → components/AppliedFiltersScrollbar}/index.js +2 -3
- package/dist/{ButtonBase/index.d.ts → components/ButtonBase/index-BCw2WQ-2.d.ts} +2 -2
- package/dist/{ButtonBase/index.d.cts → components/ButtonBase/index-pBSmWoqg.d.cts} +2 -2
- package/dist/components/ButtonBase/index.cjs +6 -0
- package/dist/components/ButtonBase/index.js +5 -0
- package/dist/{DynamicFiltersScrollbar/index.d.ts → components/DynamicFiltersScrollbar/index-BvAT64cX.d.ts} +2 -2
- package/dist/{DynamicFiltersScrollbar/index.d.cts → components/DynamicFiltersScrollbar/index-X--ALCSa.d.cts} +2 -2
- package/dist/{DynamicFiltersScrollbar → components/DynamicFiltersScrollbar}/index.cjs +3 -5
- package/dist/{DynamicFiltersScrollbar → components/DynamicFiltersScrollbar}/index.js +2 -3
- package/dist/{FilterScrollbar/index.d.ts → components/FilterScrollbar/index-DgxXE1ff.d.cts} +3 -3
- package/dist/{FilterScrollbar/index.d.cts → components/FilterScrollbar/index-xlg1Q06Q.d.ts} +3 -3
- package/dist/components/FilterScrollbar/index.cjs +5 -0
- package/dist/components/FilterScrollbar/index.js +4 -0
- package/dist/{ImageWithFallback/index.d.cts → components/ImageWithFallback/index-C8Fqb7AQ.d.cts} +2 -2
- package/dist/{ImageWithFallback/index.d.ts → components/ImageWithFallback/index-yxDWrUCQ.d.ts} +2 -2
- package/dist/components/ImageWithFallback/index.cjs +3 -0
- package/dist/components/ImageWithFallback/index.js +3 -0
- package/dist/{ModalSheet/index.d.cts → components/ModalSheet/index-Cp_h5dbe.d.ts} +2 -2
- package/dist/{ModalSheet/index.d.ts → components/ModalSheet/index-Dnt-aUte.d.cts} +2 -2
- package/dist/components/ModalSheet/index.cjs +4 -0
- package/dist/components/ModalSheet/index.js +4 -0
- package/dist/components/ProductCard/index-BF8pv46P.d.ts +2 -0
- package/dist/components/ProductCard/index-C6TLdXjC.d.cts +2 -0
- package/dist/{ProductCard → components/ProductCard}/index.cjs +5 -4
- package/dist/components/ProductCard/index.js +7 -0
- package/dist/{ProductGrid/index.d.cts → components/ProductGrid/index-B1eVXjB4.d.cts} +3 -3
- package/dist/{ProductGrid/index.d.ts → components/ProductGrid/index-CyDy1V6o.d.ts} +3 -3
- package/dist/components/ProductGrid/index.cjs +9 -0
- package/dist/components/ProductGrid/index.js +8 -0
- package/dist/{RadioButton/index.d.cts → components/RadioButton/index-BHl3dM6k.d.cts} +2 -2
- package/dist/{RadioButton/index.d.ts → components/RadioButton/index-BZrcz8-J.d.ts} +2 -2
- package/dist/components/RadioButton/index.cjs +4 -0
- package/dist/components/RadioButton/index.js +4 -0
- package/dist/{RadioButtonGroup/index.d.cts → components/RadioButtonGroup/index-DdyMuFCX.d.ts} +2 -2
- package/dist/{RadioButtonGroup/index.d.ts → components/RadioButtonGroup/index-DtdjcXo-.d.cts} +2 -2
- package/dist/components/RadioButtonGroup/index.cjs +6 -0
- package/dist/components/RadioButtonGroup/index.js +5 -0
- package/dist/components/RecommendedProducts/index-BFM83Qu3.d.cts +15 -0
- package/dist/components/RecommendedProducts/index-DlbCfGof.d.ts +15 -0
- package/dist/components/RecommendedProducts/index.cjs +12 -0
- package/dist/components/RecommendedProducts/index.js +12 -0
- package/dist/{SearchAutocomplete/index.d.ts → components/SearchAutocomplete/index-Br_POGOz.d.ts} +2 -2
- package/dist/{SearchAutocomplete/index.d.cts → components/SearchAutocomplete/index-Ce9gkkbU.d.cts} +2 -2
- package/dist/components/SearchAutocomplete/index.cjs +4 -0
- package/dist/components/SearchAutocomplete/index.js +4 -0
- package/dist/{SearchFilter/index.d.cts → components/SearchFilter/index-DAR4UKSA.d.cts} +5 -5
- package/dist/{SearchFilter/index.d.ts → components/SearchFilter/index-VygXUBM9.d.ts} +5 -5
- package/dist/components/SearchFilter/index.cjs +17 -0
- package/dist/components/SearchFilter/index.js +12 -0
- package/dist/{SearchInput/index.d.ts → components/SearchInput/index-UY0W77Y0.d.ts} +2 -2
- package/dist/{SearchInput/index.d.cts → components/SearchInput/index-rFDdhvqg.d.cts} +2 -2
- package/dist/components/SearchInput/index.cjs +7 -0
- package/dist/components/SearchInput/index.js +6 -0
- package/dist/{SearchInputForm/index.d.cts → components/SearchInputForm/index-_sR_KugL.d.ts} +3 -3
- package/dist/{SearchInputForm/index.d.ts → components/SearchInputForm/index-dlLBivQA.d.cts} +1 -1
- package/dist/components/SearchInputForm/index.cjs +8 -0
- package/dist/components/SearchInputForm/index.js +8 -0
- package/dist/{SearchResultsContent/index.d.cts → components/SearchResultsContent/index-B_6-7-t-.d.ts} +18 -9
- package/dist/{SearchResultsContent/index.d.ts → components/SearchResultsContent/index-CayvNVCK.d.cts} +18 -9
- package/dist/components/SearchResultsContent/index.cjs +60 -0
- package/dist/components/SearchResultsContent/index.js +58 -0
- package/dist/components/SearchResultsFilterButton/index-D_u8PzTc.d.cts +13 -0
- package/dist/components/SearchResultsFilterButton/index-DuTGqa7-.d.ts +13 -0
- package/dist/components/SearchResultsFilterButton/index.cjs +9 -0
- package/dist/components/SearchResultsFilterButton/index.js +9 -0
- package/dist/components/SearchResultsFilterModal/index-BNZEJiXR.d.cts +27 -0
- package/dist/components/SearchResultsFilterModal/index-CXBAA2-F.d.ts +27 -0
- package/dist/components/SearchResultsFilterModal/index.cjs +47 -0
- package/dist/components/SearchResultsFilterModal/index.js +46 -0
- package/dist/components/SearchResultsFilterSidebar/index-BDcl27l4.d.ts +2 -0
- package/dist/components/SearchResultsFilterSidebar/index-DgPB1knO.d.cts +2 -0
- package/dist/components/SearchResultsFilterSidebar/index.cjs +16 -0
- package/dist/components/SearchResultsFilterSidebar/index.js +15 -0
- package/dist/{SearchResultsStates/index.d.ts → components/SearchResultsStates/index-CjYl1v-v.d.cts} +19 -10
- package/dist/{SearchResultsStates/index.d.cts → components/SearchResultsStates/index-DJaUfKjE.d.ts} +19 -10
- package/dist/components/SearchResultsStates/index.cjs +16 -0
- package/dist/components/SearchResultsStates/index.js +14 -0
- package/dist/components/SearchResultsToolbar/index-CVstdvRQ.d.cts +49 -0
- package/dist/components/SearchResultsToolbar/index-tAB6lEUm.d.ts +49 -0
- package/dist/components/SearchResultsToolbar/index.cjs +66 -0
- package/dist/components/SearchResultsToolbar/index.js +63 -0
- package/dist/{SparkleAnimation/index.d.ts → components/SparkleAnimation/index-BQOC3G_6.d.cts} +2 -2
- package/dist/{SparkleAnimation/index.d.cts → components/SparkleAnimation/index-DjRK3Dys.d.ts} +2 -2
- package/dist/{SparkleAnimation → components/SparkleAnimation}/index.cjs +1 -1
- package/dist/components/SparkleAnimation/index.js +3 -0
- package/dist/{Spinner/index.d.cts → components/Spinner/index-C0pGovHC.d.cts} +2 -2
- package/dist/{Spinner/index.d.ts → components/Spinner/index-CIr1izou.d.ts} +2 -2
- package/dist/components/Spinner/index.cjs +3 -0
- package/dist/components/Spinner/index.js +3 -0
- package/dist/{SuggestionButton/index.d.cts → components/SuggestionButton/index-B4J70IPS.d.cts} +2 -2
- package/dist/{SuggestionButton/index.d.ts → components/SuggestionButton/index-D6_y1hTj.d.ts} +2 -2
- package/dist/{SuggestionButton → components/SuggestionButton}/index.cjs +5 -7
- package/dist/{SuggestionButton → components/SuggestionButton}/index.js +4 -5
- package/dist/{TextInput/index.d.cts → components/TextInput/index-CRJMRe-b.d.cts} +2 -2
- package/dist/{TextInput/index.d.ts → components/TextInput/index-CkQtHiR9.d.ts} +2 -2
- package/dist/components/TextInput/index.cjs +4 -0
- package/dist/components/TextInput/index.js +4 -0
- package/dist/{ToggleButton/index.d.cts → components/ToggleButton/index-Dc-cs_tK.d.ts} +2 -2
- package/dist/components/ToggleButton/index.cjs +4 -0
- package/dist/components/ToggleButton/index.js +4 -0
- package/dist/components/Typography/index-DE1Nhjra.d.ts +3 -0
- package/dist/components/Typography/index-DzSBreyM.d.cts +3 -0
- package/dist/{Typography → components/Typography}/index.cjs +1 -1
- package/dist/components/Typography/index.js +3 -0
- package/dist/formatPrice-CyfkjZ3R.cjs +19 -0
- package/dist/formatPrice-DexQu2aZ.js +13 -0
- package/dist/{index-DmvaMYbj.d.ts → index-8cIrhPDk.d.ts} +3 -3
- package/dist/{index-Dfe_lkL2.d.cts → index-BKYA7uMB.d.cts} +1 -1
- package/dist/{index-Qtr26aUO.d.ts → index-Bw6lDfEp.d.cts} +2 -2
- package/dist/{index-BqARXvZ6.d.cts → index-CqfgJHj8.d.cts} +5 -5
- package/dist/{index-BMHF0IWd.d.cts → index-Cr8VXccr.d.ts} +2 -2
- package/dist/{index-BB4Qbpmg.d.ts → index-Cz6qxTZG.d.ts} +5 -5
- package/dist/{searchFilterSidebarVariants-DzCf_sfh.cjs → searchFilterSidebarVariants-C61Byr1S.cjs} +1 -1
- package/dist/{searchFilterSidebarVariants-f9PS9fl6.js → searchFilterSidebarVariants-DcwlBfvY.js} +2 -2
- package/dist/{types-BhGjnuWx.d.cts → types--eyQnaEA.d.cts} +1 -1
- package/dist/{types-DlqhqT_S.d.ts → types-CQpdBL3M.d.ts} +1 -1
- package/dist/{typographyVariantClasses-B6wiawat.d.ts → typographyVariantClasses-CoRhazCU.d.cts} +1 -1
- package/dist/{typographyVariantClasses-DTSltxPN.d.cts → typographyVariantClasses-CrT5OfVw.d.ts} +1 -1
- package/dist/util/index-C2ueYGXh.d.ts +21 -0
- package/dist/util/index-DUzbpjPa.d.cts +21 -0
- package/dist/util/index.cjs +80 -0
- package/dist/util/index.js +76 -0
- package/package.json +79 -52
- package/src/components/RecommendedProducts/RecommendedProducts.tsx +97 -0
- package/src/components/RecommendedProducts/index.ts +3 -0
- package/src/components/SearchResultsContent/SearchResultsContent.tsx +68 -35
- package/src/components/SearchResultsFilterButton/SearchResultsFilterButton.tsx +30 -0
- package/src/components/SearchResultsFilterButton/index.ts +3 -0
- package/src/components/SearchResultsFilterModal/SearchResultsFilterModal.tsx +61 -0
- package/src/components/SearchResultsFilterModal/index.ts +3 -0
- package/src/components/SearchResultsStates/NoSearchResultsFound.tsx +43 -11
- package/src/components/SearchResultsStates/SearchResultsGrid.tsx +5 -1
- package/src/components/SearchResultsToolbar/SearchResultsToolbar.tsx +111 -0
- package/src/components/SearchResultsToolbar/index.ts +3 -0
- package/src/stories/AppliedFiltersScrollbar.stories.tsx +42 -0
- package/src/stories/ButtonBase.stories.tsx +54 -0
- package/src/stories/DynamicFiltersScrollbar.stories.tsx +42 -0
- package/src/stories/NoSearchResultsFound.stories.tsx +30 -0
- package/src/stories/ProductCard.stories.tsx +78 -0
- package/src/stories/ProductCardSkeleton.stories.tsx +48 -0
- package/src/stories/ProductGrid.stories.tsx +82 -0
- package/src/stories/SearchInputForm.stories.tsx +39 -0
- package/src/stories/SearchResultsFilter.stories.tsx +56 -0
- package/src/stories/SearchResultsGrid.stories.tsx +98 -0
- package/src/stories/SearchResultsLoadingGrid.stories.tsx +30 -0
- package/src/stories/SparkleAnimation.stories.tsx +47 -0
- package/src/stories/Typography.stories.tsx +140 -0
- package/src/util/colorVar.ts +3 -0
- package/src/util/index.ts +4 -0
- package/src/util/useScrollDirection.ts +60 -0
- package/src/util/useStickyVisibility.ts +37 -0
- package/dist/Accordion/index.cjs +0 -4
- package/dist/Accordion/index.js +0 -4
- package/dist/AnimatedChevron/index.cjs +0 -3
- package/dist/AnimatedChevron/index.js +0 -3
- package/dist/ButtonBase/index.cjs +0 -6
- package/dist/ButtonBase/index.js +0 -5
- package/dist/FilterScrollbar/index.cjs +0 -5
- package/dist/FilterScrollbar/index.js +0 -4
- package/dist/ImageWithFallback/index.cjs +0 -3
- package/dist/ImageWithFallback/index.js +0 -3
- package/dist/ModalSheet/index.cjs +0 -4
- package/dist/ModalSheet/index.js +0 -4
- package/dist/ProductCard/index.d.cts +0 -2
- package/dist/ProductCard/index.d.ts +0 -2
- package/dist/ProductCard/index.js +0 -6
- package/dist/ProductGrid/index.cjs +0 -8
- package/dist/ProductGrid/index.js +0 -7
- package/dist/RadioButton/index.cjs +0 -4
- package/dist/RadioButton/index.js +0 -4
- package/dist/RadioButtonGroup/index.cjs +0 -6
- package/dist/RadioButtonGroup/index.js +0 -5
- package/dist/SearchAutocomplete/index.cjs +0 -4
- package/dist/SearchAutocomplete/index.js +0 -4
- package/dist/SearchFilter/index.cjs +0 -17
- package/dist/SearchFilter/index.js +0 -12
- package/dist/SearchInput/index.cjs +0 -7
- package/dist/SearchInput/index.js +0 -6
- package/dist/SearchResultsContent/index.cjs +0 -44
- package/dist/SearchResultsContent/index.js +0 -41
- package/dist/SearchResultsFilterSidebar/index.d.cts +0 -2
- package/dist/SearchResultsFilterSidebar/index.d.ts +0 -2
- package/dist/SearchResultsStates/index.cjs +0 -14
- package/dist/SearchResultsStates/index.js +0 -12
- package/dist/SparkleAnimation/index.js +0 -3
- package/dist/Spinner/index.cjs +0 -3
- package/dist/Spinner/index.js +0 -3
- package/dist/TextInput/index.cjs +0 -4
- package/dist/TextInput/index.js +0 -4
- package/dist/ToggleButton/index.cjs +0 -4
- package/dist/ToggleButton/index.js +0 -4
- package/dist/Typography/index.d.cts +0 -3
- package/dist/Typography/index.d.ts +0 -3
- package/dist/Typography/index.js +0 -3
- /package/dist/{ButtonBase-DbWQ25n-.cjs → ButtonBase-BIXx56hq.cjs} +0 -0
- /package/dist/{ButtonBase-C_uKnl48.js → ButtonBase-C9fn-c5h.js} +0 -0
- /package/dist/{Typography-CFNWgbM5.cjs → Typography-Ds4gfOJz.cjs} +0 -0
- /package/dist/{colorsConfig-B3-SMUSx.cjs → colorsConfig-D-MZuBvt.cjs} +0 -0
- /package/dist/{ToggleButton/index.d.ts → components/ToggleButton/index-B2rBwaVX.d.cts} +0 -0
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { SelectedFilterOption } from '@envive-ai/react-hooks/atoms/search';
|
|
2
|
+
import { productGridVariantClasses } from '@envive-ai/react-toolkit/ProductGrid';
|
|
3
|
+
import { SearchResultsGrid } from '@envive-ai/react-toolkit/SearchResultsStates';
|
|
4
|
+
import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
5
|
+
|
|
6
|
+
const mockProductList = [
|
|
7
|
+
{
|
|
8
|
+
id: '1',
|
|
9
|
+
responseId: 'prod1',
|
|
10
|
+
imageUrl: 'https://dummyimage.com/250x250/cccccc/aeaeae.jpg',
|
|
11
|
+
title: 'Product 1',
|
|
12
|
+
url: '#',
|
|
13
|
+
originalPrice: 25.0,
|
|
14
|
+
salePrice: 20.0,
|
|
15
|
+
averageRating: 4.5,
|
|
16
|
+
numberReviews: 120,
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
id: '2',
|
|
20
|
+
responseId: 'prod2',
|
|
21
|
+
imageUrl: 'https://dummyimage.com/250x250/cccccc/aeaeae.jpg',
|
|
22
|
+
title: 'Product 2',
|
|
23
|
+
url: '#',
|
|
24
|
+
originalPrice: 30.0,
|
|
25
|
+
salePrice: 28.0,
|
|
26
|
+
averageRating: 3.9,
|
|
27
|
+
numberReviews: 85,
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
id: '3',
|
|
31
|
+
responseId: 'prod3',
|
|
32
|
+
imageUrl: 'https://dummyimage.com/250x250/cccccc/aeaeae.jpg',
|
|
33
|
+
title: 'Product 3',
|
|
34
|
+
url: '#',
|
|
35
|
+
originalPrice: 15.0,
|
|
36
|
+
salePrice: 12.5,
|
|
37
|
+
averageRating: 4.8,
|
|
38
|
+
numberReviews: 200,
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
id: '4',
|
|
42
|
+
responseId: 'prod4',
|
|
43
|
+
imageUrl: 'https://dummyimage.com/250x250/cccccc/aeaeae.jpg',
|
|
44
|
+
title: 'Product 4',
|
|
45
|
+
url: '#',
|
|
46
|
+
originalPrice: 50.0,
|
|
47
|
+
salePrice: 45.0,
|
|
48
|
+
averageRating: 4.2,
|
|
49
|
+
numberReviews: 50,
|
|
50
|
+
},
|
|
51
|
+
];
|
|
52
|
+
|
|
53
|
+
const mockAvailableDynamicFilters = [
|
|
54
|
+
{ name: 'color', displayName: 'Color' },
|
|
55
|
+
{ name: 'size', displayName: 'Size' },
|
|
56
|
+
{ name: 'material', displayName: 'Material' },
|
|
57
|
+
];
|
|
58
|
+
|
|
59
|
+
const mockSelectedFilterOptions: SelectedFilterOption[] = [
|
|
60
|
+
{ id: 'cat2', displayName: 'Category 2', filterId: 'cat2', filterItemId: 'cat2' },
|
|
61
|
+
];
|
|
62
|
+
|
|
63
|
+
const meta: Meta<typeof SearchResultsGrid> = {
|
|
64
|
+
title: 'Search/SearchResultsGrid',
|
|
65
|
+
component: SearchResultsGrid,
|
|
66
|
+
parameters: {
|
|
67
|
+
layout: 'fullscreen',
|
|
68
|
+
},
|
|
69
|
+
tags: ['autodocs'],
|
|
70
|
+
argTypes: {
|
|
71
|
+
productGridVariant: {
|
|
72
|
+
control: 'select',
|
|
73
|
+
options: Object.values(productGridVariantClasses),
|
|
74
|
+
},
|
|
75
|
+
searchFilterSidebarVariant: {
|
|
76
|
+
control: 'select',
|
|
77
|
+
options: ['darkButton', 'lightButton'],
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
export default meta;
|
|
83
|
+
type Story = StoryObj<typeof SearchResultsGrid>;
|
|
84
|
+
|
|
85
|
+
export const Default: Story = {
|
|
86
|
+
args: {
|
|
87
|
+
productList: mockProductList,
|
|
88
|
+
availableDynamicFilters: mockAvailableDynamicFilters,
|
|
89
|
+
searchFilterSidebarVariant: 'darkButton',
|
|
90
|
+
productGridVariant: 'standard',
|
|
91
|
+
selectedFilterOptions: mockSelectedFilterOptions,
|
|
92
|
+
containerXPaddingClasses: 'spiffy-tw-px-[16px] sm:spiffy-tw-px-[46px]',
|
|
93
|
+
productGridClasses:
|
|
94
|
+
'spiffy-tw-grid spiffy-tw-justify-items-stretch spiffy-tw-grid-cols-2 md:spiffy-tw-grid-cols-3 lg:spiffy-tw-grid-cols-4 spiffy-tw-gap-x-[4px] spiffy-tw-gap-y-[24px] spiffy-tw-h-full spiffy-tw-w-full spiffy-tw-items-stretch',
|
|
95
|
+
onRemoveFilter: () => {},
|
|
96
|
+
onToggleDynamicFilter: () => {},
|
|
97
|
+
},
|
|
98
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { SearchResultsLoadingGrid } from '@envive-ai/react-toolkit/SearchResultsStates';
|
|
3
|
+
import { productGridVariantClasses } from '@envive-ai/react-toolkit/ProductGrid';
|
|
4
|
+
|
|
5
|
+
const meta: Meta<typeof SearchResultsLoadingGrid> = {
|
|
6
|
+
title: 'Search/SearchResultsLoadingGrid',
|
|
7
|
+
component: SearchResultsLoadingGrid,
|
|
8
|
+
parameters: {
|
|
9
|
+
layout: 'fullscreen',
|
|
10
|
+
},
|
|
11
|
+
tags: ['autodocs'],
|
|
12
|
+
argTypes: {
|
|
13
|
+
productGridVariant: {
|
|
14
|
+
control: 'select',
|
|
15
|
+
options: Object.values(productGridVariantClasses),
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export default meta;
|
|
21
|
+
type Story = StoryObj<typeof SearchResultsLoadingGrid>;
|
|
22
|
+
|
|
23
|
+
export const Default: Story = {
|
|
24
|
+
args: {
|
|
25
|
+
productGridVariant: 'standard',
|
|
26
|
+
productGridClasses:
|
|
27
|
+
'spiffy-tw-grid spiffy-tw-justify-items-stretch spiffy-tw-grid-cols-2 md:spiffy-tw-grid-cols-3 lg:spiffy-tw-grid-cols-4 spiffy-tw-gap-x-[4px] spiffy-tw-gap-y-[24px] spiffy-tw-h-full spiffy-tw-w-full spiffy-tw-items-stretch',
|
|
28
|
+
sparkleIconColor: 'var(--spiffy-colors-accent-primary)',
|
|
29
|
+
},
|
|
30
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { type Meta, type StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { SparkleAnimation } from '@envive-ai/react-toolkit/SparkleAnimation';
|
|
3
|
+
import classNames from 'classnames';
|
|
4
|
+
|
|
5
|
+
const meta: Meta<typeof SparkleAnimation> = {
|
|
6
|
+
title: 'Common/SparkleAnimation',
|
|
7
|
+
component: SparkleAnimation,
|
|
8
|
+
parameters: {
|
|
9
|
+
layout: 'centered',
|
|
10
|
+
},
|
|
11
|
+
tags: ['autodocs'],
|
|
12
|
+
argTypes: {
|
|
13
|
+
color: { control: 'color' },
|
|
14
|
+
animate: { control: 'boolean' },
|
|
15
|
+
},
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export default meta;
|
|
19
|
+
type Story = StoryObj<typeof SparkleAnimation>;
|
|
20
|
+
|
|
21
|
+
export const Default: Story = {
|
|
22
|
+
args: {
|
|
23
|
+
color: 'var(--spiffy-colors-accent-primary)',
|
|
24
|
+
animate: true,
|
|
25
|
+
},
|
|
26
|
+
render: (args) => {
|
|
27
|
+
const classes = classNames(
|
|
28
|
+
'spiffy-tw-flex',
|
|
29
|
+
'spiffy-tw-flex-row',
|
|
30
|
+
'spiffy-tw-items-center', // Center items vertically
|
|
31
|
+
'spiffy-tw-gap-[4px]',
|
|
32
|
+
'spiffy-tw-h-[24px]',
|
|
33
|
+
);
|
|
34
|
+
return (
|
|
35
|
+
<div>
|
|
36
|
+
<SparkleAnimation {...args} className={classes} />
|
|
37
|
+
</div>
|
|
38
|
+
);
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
export const NotAnimating: Story = {
|
|
43
|
+
args: {
|
|
44
|
+
...Default.args,
|
|
45
|
+
animate: false,
|
|
46
|
+
},
|
|
47
|
+
};
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { Typography } from '@envive-ai/react-toolkit/Typography';
|
|
3
|
+
|
|
4
|
+
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
|
|
5
|
+
const meta = {
|
|
6
|
+
title: 'Common/Typography',
|
|
7
|
+
component: Typography,
|
|
8
|
+
parameters: {
|
|
9
|
+
// Optional parameter to center the component in the Canvas. More info: https://storybook.js.org/docs/react/configure/story-layout
|
|
10
|
+
layout: 'centered',
|
|
11
|
+
},
|
|
12
|
+
// This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/react/writing-docs/autodocs
|
|
13
|
+
tags: ['autodocs'],
|
|
14
|
+
args: {
|
|
15
|
+
className: undefined,
|
|
16
|
+
style: undefined,
|
|
17
|
+
noOfLines: undefined,
|
|
18
|
+
testId: undefined,
|
|
19
|
+
},
|
|
20
|
+
// More on argTypes: https://storybook.js.org/docs/react/api/argtypes
|
|
21
|
+
argTypes: {
|
|
22
|
+
variant: {
|
|
23
|
+
control: {
|
|
24
|
+
type: 'select',
|
|
25
|
+
options: [
|
|
26
|
+
't1',
|
|
27
|
+
't2',
|
|
28
|
+
't3',
|
|
29
|
+
'h1',
|
|
30
|
+
'h2',
|
|
31
|
+
'h3',
|
|
32
|
+
'h4',
|
|
33
|
+
'body1',
|
|
34
|
+
'body2',
|
|
35
|
+
'body3',
|
|
36
|
+
'body4',
|
|
37
|
+
'body5',
|
|
38
|
+
],
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
elementType: {
|
|
42
|
+
control: {
|
|
43
|
+
type: 'select',
|
|
44
|
+
options: ['span', 'p', 'sub', 'h1', 'h2', 'h3', 'h4'],
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
className: { control: 'text' },
|
|
48
|
+
style: { control: 'object' },
|
|
49
|
+
noOfLines: { control: 'number' },
|
|
50
|
+
testId: { control: 'text' },
|
|
51
|
+
},
|
|
52
|
+
} satisfies Meta<typeof Typography>;
|
|
53
|
+
|
|
54
|
+
export default meta;
|
|
55
|
+
type Story = StoryObj<typeof meta>;
|
|
56
|
+
|
|
57
|
+
// More on writing stories with args: https://storybook.js.org/docs/react/writing-stories/args
|
|
58
|
+
export const Body1: Story = {
|
|
59
|
+
args: {
|
|
60
|
+
variant: 'body1',
|
|
61
|
+
children: 'This is a body1 text',
|
|
62
|
+
},
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
export const Body2: Story = {
|
|
66
|
+
args: {
|
|
67
|
+
variant: 'body2',
|
|
68
|
+
children: 'This is a body2 text',
|
|
69
|
+
},
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
export const Body3: Story = {
|
|
73
|
+
args: {
|
|
74
|
+
variant: 'body3',
|
|
75
|
+
children: 'This is a body3 text',
|
|
76
|
+
},
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
export const Body4: Story = {
|
|
80
|
+
args: {
|
|
81
|
+
variant: 'body4',
|
|
82
|
+
children: 'This is a body4 text',
|
|
83
|
+
},
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
export const Body5: Story = {
|
|
87
|
+
args: {
|
|
88
|
+
variant: 'body5',
|
|
89
|
+
children: 'This is a body5 text',
|
|
90
|
+
},
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
export const T1: Story = {
|
|
94
|
+
args: {
|
|
95
|
+
variant: 't1',
|
|
96
|
+
children: 'This is a t1 text',
|
|
97
|
+
},
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
export const T2: Story = {
|
|
101
|
+
args: {
|
|
102
|
+
variant: 't2',
|
|
103
|
+
children: 'This is a t2 text',
|
|
104
|
+
},
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
export const T3: Story = {
|
|
108
|
+
args: {
|
|
109
|
+
variant: 't3',
|
|
110
|
+
children: 'This is a t3 text',
|
|
111
|
+
},
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
export const H1: Story = {
|
|
115
|
+
args: {
|
|
116
|
+
variant: 'h1',
|
|
117
|
+
children: 'This is a h1 text',
|
|
118
|
+
},
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
export const H2: Story = {
|
|
122
|
+
args: {
|
|
123
|
+
variant: 'h2',
|
|
124
|
+
children: 'This is a h2 text',
|
|
125
|
+
},
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
export const H3: Story = {
|
|
129
|
+
args: {
|
|
130
|
+
variant: 'h3',
|
|
131
|
+
children: 'This is a h3 text',
|
|
132
|
+
},
|
|
133
|
+
};
|
|
134
|
+
|
|
135
|
+
export const H4: Story = {
|
|
136
|
+
args: {
|
|
137
|
+
variant: 'h4',
|
|
138
|
+
children: 'This is a h4 text',
|
|
139
|
+
},
|
|
140
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { useState, useEffect, useRef } from 'react';
|
|
2
|
+
|
|
3
|
+
export type ScrollDirection = 'up' | 'down';
|
|
4
|
+
|
|
5
|
+
export const useScrollDirection = (scrollContainerRef?: React.RefObject<HTMLElement>) => {
|
|
6
|
+
const [scrollDirection, setScrollDirection] = useState<ScrollDirection | null>(null);
|
|
7
|
+
const touchStartY = useRef(0);
|
|
8
|
+
|
|
9
|
+
useEffect(() => {
|
|
10
|
+
const container = scrollContainerRef?.current || window;
|
|
11
|
+
const touchTarget = scrollContainerRef?.current || document;
|
|
12
|
+
|
|
13
|
+
const handleWheel = (e: Event) => {
|
|
14
|
+
const event = e as WheelEvent;
|
|
15
|
+
if (event.deltaY > 0) {
|
|
16
|
+
setScrollDirection('down');
|
|
17
|
+
} else {
|
|
18
|
+
setScrollDirection('up');
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
const handleTouchStart = (e: Event) => {
|
|
23
|
+
const event = e as TouchEvent;
|
|
24
|
+
touchStartY.current = event.touches[0].clientY;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
const handleTouchMove = (e: Event) => {
|
|
28
|
+
const event = e as TouchEvent;
|
|
29
|
+
const currentTouchY = event.touches[0].clientY;
|
|
30
|
+
const deltaY = touchStartY.current - currentTouchY;
|
|
31
|
+
|
|
32
|
+
const TOUCH_THRESHOLD = 10; // pixels
|
|
33
|
+
|
|
34
|
+
if (Math.abs(deltaY) < TOUCH_THRESHOLD) {
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
if (deltaY > 0) {
|
|
39
|
+
setScrollDirection('down');
|
|
40
|
+
} else {
|
|
41
|
+
setScrollDirection('up');
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
// Reset the starting point to prevent continuous firing
|
|
45
|
+
touchStartY.current = currentTouchY;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
container.addEventListener('wheel', handleWheel, { passive: true });
|
|
49
|
+
touchTarget.addEventListener('touchstart', handleTouchStart, { passive: true });
|
|
50
|
+
touchTarget.addEventListener('touchmove', handleTouchMove, { passive: true });
|
|
51
|
+
|
|
52
|
+
return () => {
|
|
53
|
+
container.removeEventListener('wheel', handleWheel);
|
|
54
|
+
touchTarget.removeEventListener('touchstart', handleTouchStart);
|
|
55
|
+
touchTarget.removeEventListener('touchmove', handleTouchMove);
|
|
56
|
+
};
|
|
57
|
+
}, [scrollContainerRef]);
|
|
58
|
+
|
|
59
|
+
return scrollDirection;
|
|
60
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { useState, useEffect, useRef } from 'react';
|
|
2
|
+
import { useScrollDirection } from './useScrollDirection';
|
|
3
|
+
|
|
4
|
+
export const useStickyVisibility = () => {
|
|
5
|
+
const [isVisible, setIsVisible] = useState(true);
|
|
6
|
+
const toolbarRef = useRef<HTMLDivElement>(null);
|
|
7
|
+
const [toolbarHeight, setToolbarHeight] = useState(0);
|
|
8
|
+
const [scrollY, setScrollY] = useState(0);
|
|
9
|
+
|
|
10
|
+
const scrollDirection = useScrollDirection();
|
|
11
|
+
|
|
12
|
+
// listen for scroll events
|
|
13
|
+
useEffect(() => {
|
|
14
|
+
const handleScroll = () => {
|
|
15
|
+
setScrollY(window.scrollY);
|
|
16
|
+
};
|
|
17
|
+
window.addEventListener('scroll', handleScroll, { passive: true });
|
|
18
|
+
return () => window.removeEventListener('scroll', handleScroll);
|
|
19
|
+
}, []);
|
|
20
|
+
|
|
21
|
+
// measure the toolbars height
|
|
22
|
+
useEffect(() => {
|
|
23
|
+
if (toolbarRef.current) {
|
|
24
|
+
setToolbarHeight(toolbarRef.current.offsetHeight);
|
|
25
|
+
}
|
|
26
|
+
}, []);
|
|
27
|
+
|
|
28
|
+
useEffect(() => {
|
|
29
|
+
if (scrollDirection === 'down' && scrollY > toolbarHeight && toolbarHeight > 0) {
|
|
30
|
+
setIsVisible(false);
|
|
31
|
+
} else {
|
|
32
|
+
setIsVisible(true);
|
|
33
|
+
}
|
|
34
|
+
}, [scrollDirection, toolbarHeight, scrollY]);
|
|
35
|
+
|
|
36
|
+
return { toolbarRef, isVisible, toolbarHeight };
|
|
37
|
+
};
|
package/dist/Accordion/index.cjs
DELETED
package/dist/Accordion/index.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
require('../Typography-CFNWgbM5.cjs');
|
|
2
|
-
const require_ButtonBase = require('../ButtonBase-AU23oGQr.cjs');
|
|
3
|
-
require('../ButtonBase-DbWQ25n-.cjs');
|
|
4
|
-
|
|
5
|
-
exports.ButtonBase = require_ButtonBase.ButtonBase;
|
|
6
|
-
exports.ButtonBaseOverrides = require_ButtonBase.ButtonBaseOverrides;
|
package/dist/ButtonBase/index.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
require('../Typography-CFNWgbM5.cjs');
|
|
2
|
-
const require_DynamicFiltersScrollbar = require('../DynamicFiltersScrollbar-DgS9gpdg.cjs');
|
|
3
|
-
|
|
4
|
-
exports.AppliedFiltersScrollbar = require_DynamicFiltersScrollbar.AppliedFiltersScrollbar;
|
|
5
|
-
exports.DynamicFiltersScrollbar = require_DynamicFiltersScrollbar.DynamicFiltersScrollbar;
|
package/dist/ModalSheet/index.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { AnimatedProductCardOverrides, PriceSection, ProductCard, ProductCardConfig, ProductCardHoverVariant, ProductCardImageAspectRatio, ProductCardLayoutVariant, ProductCardSkeleton, ProductCardSkeletonOverrides, ProductCardSkeletonProps, ProductCardVariant, ProductGridProps, ProductGridVariant, RatingSummary, RatingSummaryProps, SearchResponseProductAttributes, productCardLayoutVariantClasses, variantClassMap, variantHoverClassMap, variantTitleColorMap } from "../index-BqARXvZ6.cjs";
|
|
2
|
-
export { AnimatedProductCardOverrides, PriceSection, ProductCard, ProductCardConfig, ProductCardHoverVariant, ProductCardImageAspectRatio, ProductCardLayoutVariant, ProductCardSkeleton, ProductCardSkeletonOverrides, ProductCardSkeletonProps, ProductCardVariant, ProductGridProps, ProductGridVariant, RatingSummary, RatingSummaryProps, SearchResponseProductAttributes, productCardLayoutVariantClasses, variantClassMap, variantHoverClassMap, variantTitleColorMap };
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { AnimatedProductCardOverrides, PriceSection, ProductCard, ProductCardConfig, ProductCardHoverVariant, ProductCardImageAspectRatio, ProductCardLayoutVariant, ProductCardSkeleton, ProductCardSkeletonOverrides, ProductCardSkeletonProps, ProductCardVariant, ProductGridProps, ProductGridVariant, RatingSummary, RatingSummaryProps, SearchResponseProductAttributes, productCardLayoutVariantClasses, variantClassMap, variantHoverClassMap, variantTitleColorMap } from "../index-BB4Qbpmg.js";
|
|
2
|
-
export { AnimatedProductCardOverrides, PriceSection, ProductCard, ProductCardConfig, ProductCardHoverVariant, ProductCardImageAspectRatio, ProductCardLayoutVariant, ProductCardSkeleton, ProductCardSkeletonOverrides, ProductCardSkeletonProps, ProductCardVariant, ProductGridProps, ProductGridVariant, RatingSummary, RatingSummaryProps, SearchResponseProductAttributes, productCardLayoutVariantClasses, variantClassMap, variantHoverClassMap, variantTitleColorMap };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import "../Typography-D3vDkBMS.js";
|
|
2
|
-
import "../ImageWithFallback-c-DTsBH-.js";
|
|
3
|
-
import { AnimatedProductCardOverrides, PriceSection, ProductCard, ProductCardSkeleton, ProductCardSkeletonOverrides, RatingSummary, productCardLayoutVariantClasses, variantClassMap, variantHoverClassMap, variantTitleColorMap } from "../ProductCard-n-PAth5m.js";
|
|
4
|
-
import "../Spinner-BqTt55uu.js";
|
|
5
|
-
|
|
6
|
-
export { AnimatedProductCardOverrides, PriceSection, ProductCard, ProductCardSkeleton, ProductCardSkeletonOverrides, RatingSummary, productCardLayoutVariantClasses, variantClassMap, variantHoverClassMap, variantTitleColorMap };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
require('../Typography-CFNWgbM5.cjs');
|
|
2
|
-
require('../ImageWithFallback-Bx17VPmQ.cjs');
|
|
3
|
-
require('../ProductCard-C-8ie9Lf.cjs');
|
|
4
|
-
require('../Spinner-DjK8ts9E.cjs');
|
|
5
|
-
const require_ProductGrid = require('../ProductGrid-Ba2tUgmC.cjs');
|
|
6
|
-
|
|
7
|
-
exports.ProductGrid = require_ProductGrid.ProductGrid;
|
|
8
|
-
exports.productGridVariantClasses = require_ProductGrid.productGridVariantClasses;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import "../Typography-D3vDkBMS.js";
|
|
2
|
-
import "../ImageWithFallback-c-DTsBH-.js";
|
|
3
|
-
import "../ProductCard-n-PAth5m.js";
|
|
4
|
-
import "../Spinner-BqTt55uu.js";
|
|
5
|
-
import { ProductGrid, productGridVariantClasses } from "../ProductGrid-xXkWzvR2.js";
|
|
6
|
-
|
|
7
|
-
export { ProductGrid, productGridVariantClasses };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
require('../Typography-CFNWgbM5.cjs');
|
|
2
|
-
require('../RadioButton-BBc1b5vX.cjs');
|
|
3
|
-
const require_RadioButtonGroup = require('../RadioButtonGroup-DxOtcIdO.cjs');
|
|
4
|
-
|
|
5
|
-
exports.RadioButtonGroup = require_RadioButtonGroup.RadioButtonGroup;
|
|
6
|
-
exports.SPIFFY_RADIO_BUTTON_GROUP_CLASS = require_RadioButtonGroup.SPIFFY_RADIO_BUTTON_GROUP_CLASS;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
require('../Typography-CFNWgbM5.cjs');
|
|
2
|
-
require('../Accordion-RpyCFs2a.cjs');
|
|
3
|
-
require('../AnimatedChevron-Q96FneFy.cjs');
|
|
4
|
-
require('../ButtonBase-AU23oGQr.cjs');
|
|
5
|
-
require('../ButtonBase-DbWQ25n-.cjs');
|
|
6
|
-
require('../ModalSheet-CcthFeMD.cjs');
|
|
7
|
-
require('../RadioButton-BBc1b5vX.cjs');
|
|
8
|
-
require('../RadioButtonGroup-DxOtcIdO.cjs');
|
|
9
|
-
const require_SearchFilter = require('../SearchFilter-ylBowO7T.cjs');
|
|
10
|
-
require('../ToggleButton-CJ74eu-N.cjs');
|
|
11
|
-
|
|
12
|
-
exports.SearchFilter = require_SearchFilter.SearchFilter;
|
|
13
|
-
exports.SearchFilterFooter = require_SearchFilter.SearchFilterFooter;
|
|
14
|
-
exports.SearchFilterHeader = require_SearchFilter.SearchFilterHeader;
|
|
15
|
-
exports.SearchFilterItem = require_SearchFilter.SearchFilterItem;
|
|
16
|
-
exports.getSelectedFilterItemsCount = require_SearchFilter.getSelectedFilterItemsCount;
|
|
17
|
-
exports.getTotalSelectedFilterItemsCount = require_SearchFilter.getTotalSelectedFilterItemsCount;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import "../Typography-D3vDkBMS.js";
|
|
2
|
-
import "../Accordion-DxtXK__u.js";
|
|
3
|
-
import "../AnimatedChevron-Bik7GMSe.js";
|
|
4
|
-
import "../ButtonBase-6wjsZ1tU.js";
|
|
5
|
-
import "../ButtonBase-C_uKnl48.js";
|
|
6
|
-
import "../ModalSheet-BSj_g9JF.js";
|
|
7
|
-
import "../RadioButton-gnFz0TWN.js";
|
|
8
|
-
import "../RadioButtonGroup-DLLleeDX.js";
|
|
9
|
-
import { SearchFilter, SearchFilterFooter, SearchFilterHeader, SearchFilterItem, getSelectedFilterItemsCount, getTotalSelectedFilterItemsCount } from "../SearchFilter-Bi0zqO3-.js";
|
|
10
|
-
import "../ToggleButton-Br6MgjiG.js";
|
|
11
|
-
|
|
12
|
-
export { SearchFilter, SearchFilterFooter, SearchFilterHeader, SearchFilterItem, getSelectedFilterItemsCount, getTotalSelectedFilterItemsCount };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
require('../Typography-CFNWgbM5.cjs');
|
|
2
|
-
require('../TextInput-B70n36-J.cjs');
|
|
3
|
-
require('../colorsConfig-B3-SMUSx.cjs');
|
|
4
|
-
const require_SearchInput = require('../SearchInput-Yy6NIiSk.cjs');
|
|
5
|
-
|
|
6
|
-
exports.SearchInput = require_SearchInput.SearchInput;
|
|
7
|
-
exports.searchInputVariantClasses = require_SearchInput.searchInputVariantClasses;
|