@envive-ai/react-toolkit 0.2.11 → 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-FyCFBOen.cjs → Accordion-B0TzPN3m.cjs} +2 -5
- package/dist/{Accordion-B8aUlf0q.js → Accordion-D8Vm8J1y.js} +4 -4
- package/dist/{AnimatedChevron-wpcAHp6d.cjs → AnimatedChevron-9xf90bpP.cjs} +0 -2
- package/dist/{AnimatedChevron-Dee6Pe81.js → AnimatedChevron-DghLnmlM.js} +1 -1
- package/dist/{ButtonBase-B6vDKbGQ.cjs → ButtonBase-BMEAmPnS.cjs} +1 -3
- package/dist/{ButtonBase-Bpc7nOpz.js → ButtonBase-CT397aT3.js} +3 -3
- package/dist/{DynamicFiltersScrollbar-D8OqC4DA.js → DynamicFiltersScrollbar-CibstqNd.js} +5 -7
- package/dist/{DynamicFiltersScrollbar-DIwHWq6v.cjs → DynamicFiltersScrollbar-DqIydLJu.cjs} +3 -6
- package/dist/{ImageWithFallback-DvaVpR6v.cjs → ImageWithFallback-CuPe6XF6.cjs} +1 -2
- package/dist/{ImageWithFallback-BW57cQw-.js → ImageWithFallback-_QZT0EKI.js} +2 -2
- package/dist/{ModalSheet-BvM2PJbH.cjs → ModalSheet-Be7-bkXK.cjs} +11 -16
- package/dist/{ModalSheet-DFva7krP.js → ModalSheet-DVrY7Mw0.js} +12 -13
- package/dist/{ProductCard-C2KvH4MN.cjs → ProductCard-BeY85PBf.cjs} +31 -28
- package/dist/{ProductCard-BiWAcPO4.js → ProductCard-BoyYu6mI.js} +19 -24
- package/dist/{ProductGrid-DkOyRAEg.cjs → ProductGrid-CxKK7w_X.cjs} +2 -3
- package/dist/{ProductGrid-B1RtE58G.js → ProductGrid-DmtSXfyE.js} +3 -3
- package/dist/{RadioButton-CQ6qOvBl.js → RadioButton-Bm0qK3bX.js} +3 -3
- package/dist/{RadioButton-DP-qs5cy.cjs → RadioButton-Dcdj8pNp.cjs} +1 -3
- package/dist/{RadioButtonGroup-CJPWfAaA.cjs → RadioButtonGroup-BnnMx8sE.cjs} +2 -3
- package/dist/{RadioButtonGroup-Ce8cKqYw.js → RadioButtonGroup-hme7gSiQ.js} +3 -3
- package/dist/RecommendedProducts-C2eNVrLo.cjs +56 -0
- package/dist/RecommendedProducts-LalI8aVC.js +49 -0
- package/dist/{SearchAutocomplete-bbMvWWjI.cjs → SearchAutocomplete-A3HXkHwK.cjs} +3 -6
- package/dist/{SearchAutocomplete-CjjL2_lm.js → SearchAutocomplete-Rza3A-gs.js} +5 -6
- package/dist/{SearchFilter-wHwOym_n.js → SearchFilter-CYY5sNXV.js} +40 -44
- package/dist/{SearchFilter-BLi6E9Wx.cjs → SearchFilter-DxrQOLx0.cjs} +38 -44
- package/dist/{SearchInput-BA6bepV_.cjs → SearchInput-3ppsm2Ke.cjs} +4 -7
- package/dist/{SearchInput-C3nNkmBm.js → SearchInput-DE9Iz7A8.js} +4 -5
- package/dist/{SearchInputForm/index.cjs → SearchInputForm-CZz62rOX.cjs} +10 -10
- package/dist/{SearchInputForm/index.js → SearchInputForm-DrI4WHDt.js} +4 -7
- package/dist/SearchResultsFilterButton-BedTofz5.cjs +29 -0
- package/dist/SearchResultsFilterButton-CV11UTGi.js +22 -0
- package/dist/{SearchResultsFilterSidebar/index.js → SearchResultsFilterSidebar-Bvpk7Uoo.js} +5 -14
- package/dist/{SearchResultsFilterSidebar/index.cjs → SearchResultsFilterSidebar-Dgz98oyD.cjs} +11 -18
- package/dist/{SearchResultsStates-C-8fh8B9.cjs → SearchResultsStates-D37wFr9h.cjs} +42 -16
- package/dist/{SearchResultsStates-D62WbDTD.js → SearchResultsStates-DrGtw0pM.js} +44 -16
- package/dist/{SparkleAnimation-BFAj73CF.cjs → SparkleAnimation-B5A_NCuy.cjs} +16 -10
- package/dist/{SparkleAnimation-BYDUEqWX.js → SparkleAnimation-BSI_34HX.js} +11 -8
- package/dist/{Spinner-D2HbRsuw.js → Spinner-CDDFWySo.js} +2 -2
- package/dist/{Spinner-Ccy6VFEp.cjs → Spinner-FQpy5bGu.cjs} +1 -2
- package/dist/{TextInput-CYTko3-n.cjs → TextInput-Do5-j1V_.cjs} +3 -5
- package/dist/{TextInput-CmxnphaT.js → TextInput-PtrUXoZo.js} +5 -6
- package/dist/{ToggleButton-V9Qsaks7.js → ToggleButton-BTz_zIdc.js} +3 -3
- package/dist/{ToggleButton-CvxNLMe_.cjs → ToggleButton-CmxTz-ou.cjs} +1 -2
- package/dist/{Typography-C3QmJzFK.js → Typography-xehJH05l.js} +1 -1
- package/dist/colorsConfig-BjdoRtRK.js +26 -0
- package/dist/colorsConfig-D-MZuBvt.cjs +38 -0
- package/dist/{Accordion/index.d.ts → components/Accordion/index-BPofgdcd.d.cts} +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} +3 -3
- package/dist/{AppliedFiltersScrollbar/index.d.cts → components/AppliedFiltersScrollbar/index-DADY550R.d.cts} +3 -3
- package/dist/{AppliedFiltersScrollbar → components/AppliedFiltersScrollbar}/index.cjs +4 -6
- package/dist/{AppliedFiltersScrollbar → components/AppliedFiltersScrollbar}/index.js +3 -4
- package/dist/{ButtonBase/index.d.ts → components/ButtonBase/index-BCw2WQ-2.d.ts} +3 -3
- package/dist/{ButtonBase/index.d.cts → components/ButtonBase/index-pBSmWoqg.d.cts} +3 -3
- package/dist/components/ButtonBase/index.cjs +6 -0
- package/dist/components/ButtonBase/index.js +5 -0
- package/dist/{DynamicFiltersScrollbar/index.d.cts → components/DynamicFiltersScrollbar/index-BvAT64cX.d.ts} +2 -2
- package/dist/{DynamicFiltersScrollbar/index.d.ts → components/DynamicFiltersScrollbar/index-X--ALCSa.d.cts} +2 -2
- package/dist/{DynamicFiltersScrollbar → components/DynamicFiltersScrollbar}/index.cjs +4 -6
- package/dist/{DynamicFiltersScrollbar → components/DynamicFiltersScrollbar}/index.js +3 -4
- package/dist/{FilterScrollbar/index.d.cts → components/FilterScrollbar/index-DgxXE1ff.d.cts} +4 -4
- package/dist/{FilterScrollbar/index.d.ts → components/FilterScrollbar/index-xlg1Q06Q.d.ts} +4 -4
- 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 +7 -4
- package/dist/components/ProductCard/index.js +7 -0
- package/dist/{ProductGrid/index.d.ts → components/ProductGrid/index-B1eVXjB4.d.cts} +4 -3
- package/dist/{ProductGrid/index.d.cts → components/ProductGrid/index-CyDy1V6o.d.ts} +4 -3
- package/dist/components/ProductGrid/index.cjs +9 -0
- package/dist/components/ProductGrid/index.js +8 -0
- package/dist/{RadioButton/index.d.ts → components/RadioButton/index-BHl3dM6k.d.cts} +3 -3
- package/dist/{RadioButton/index.d.cts → components/RadioButton/index-BZrcz8-J.d.ts} +3 -3
- package/dist/components/RadioButton/index.cjs +4 -0
- package/dist/components/RadioButton/index.js +4 -0
- package/dist/{RadioButtonGroup/index.d.ts → components/RadioButtonGroup/index-DdyMuFCX.d.ts} +3 -3
- package/dist/{RadioButtonGroup/index.d.cts → components/RadioButtonGroup/index-DtdjcXo-.d.cts} +3 -3
- 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.cts → components/SearchAutocomplete/index-Br_POGOz.d.ts} +2 -2
- package/dist/{SearchAutocomplete/index.d.ts → 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/components/SearchFilter/index-DAR4UKSA.d.cts +91 -0
- package/dist/components/SearchFilter/index-VygXUBM9.d.ts +91 -0
- package/dist/components/SearchFilter/index.cjs +17 -0
- package/dist/components/SearchFilter/index.js +12 -0
- package/dist/{SearchInput/index.d.cts → components/SearchInput/index-UY0W77Y0.d.ts} +4 -3
- package/dist/{SearchInput/index.d.ts → components/SearchInput/index-rFDdhvqg.d.cts} +4 -3
- package/dist/components/SearchInput/index.cjs +7 -0
- package/dist/components/SearchInput/index.js +6 -0
- package/dist/{SearchInputForm/index.d.ts → components/SearchInputForm/index-_sR_KugL.d.ts} +3 -3
- package/dist/{SearchInputForm/index.d.cts → components/SearchInputForm/index-dlLBivQA.d.cts} +3 -3
- 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} +19 -7
- package/dist/{SearchResultsContent/index.d.ts → components/SearchResultsContent/index-CayvNVCK.d.cts} +19 -7
- 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.cts → components/SearchResultsStates/index-CjYl1v-v.d.cts} +16 -5
- package/dist/{SearchResultsStates/index.d.ts → components/SearchResultsStates/index-DJaUfKjE.d.ts} +20 -9
- 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/components/SparkleAnimation/index-BQOC3G_6.d.cts +23 -0
- package/dist/components/SparkleAnimation/index-DjRK3Dys.d.ts +23 -0
- package/dist/components/SparkleAnimation/index.cjs +4 -0
- 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.ts → components/SuggestionButton/index-B4J70IPS.d.cts} +3 -3
- package/dist/{SuggestionButton/index.d.cts → components/SuggestionButton/index-D6_y1hTj.d.ts} +3 -3
- package/dist/{SuggestionButton → components/SuggestionButton}/index.cjs +6 -8
- package/dist/{SuggestionButton → components/SuggestionButton}/index.js +5 -6
- 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.ts → components/ToggleButton/index-B2rBwaVX.d.cts} +2 -2
- 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/{SearchResultsFilterSidebar/index.d.ts → index-8cIrhPDk.d.ts} +9 -5
- package/dist/{SearchResultsFilterSidebar/index.d.cts → index-BKYA7uMB.d.cts} +9 -5
- package/dist/{index-DoTNu3mL.d.cts → index-Bw6lDfEp.d.cts} +2 -2
- package/dist/index-CqfgJHj8.d.cts +325 -0
- package/dist/{index-C5iOTsRG.d.ts → index-Cr8VXccr.d.ts} +2 -2
- package/dist/index-Cz6qxTZG.d.ts +325 -0
- package/dist/{searchFilterSidebarVariants-BQ7OC862.cjs → searchFilterSidebarVariants-C61Byr1S.cjs} +7 -10
- package/dist/{searchFilterSidebarVariants-C_rWIcxf.js → searchFilterSidebarVariants-DcwlBfvY.js} +2 -3
- package/dist/types--eyQnaEA.d.cts +4 -0
- package/dist/types-CQpdBL3M.d.ts +4 -0
- package/dist/{typographyVariantClasses-BFRoEloZ.d.cts → typographyVariantClasses-CoRhazCU.d.cts} +1 -1
- package/dist/{typographyVariantClasses-D7h3ACAj.d.ts → 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 -53
- package/src/atoms/search/types.ts +1 -0
- package/src/components/AppliedFiltersScrollbar/AppliedFiltersScrollbar.tsx +1 -1
- package/src/components/ButtonBase/types.ts +1 -1
- package/src/components/FilterScrollbar/AppliedFiltersScrollbar.tsx +1 -1
- package/src/components/ProductCard/ProductCard.tsx +12 -12
- package/src/components/ProductCard/ProductCardSkeleton.tsx +1 -13
- package/src/components/ProductCard/index.ts +1 -0
- package/src/components/ProductCard/productCardVariants.ts +1 -1
- package/src/components/ProductCard/types.ts +49 -0
- package/src/components/ProductGrid/ProductGrid.tsx +2 -6
- package/src/components/ProductGrid/productGridVariants.ts +1 -1
- package/src/components/RadioButton/RadioButton.tsx +1 -1
- package/src/components/RadioButtonGroup/RadioButtonGroup.tsx +1 -1
- package/src/components/RecommendedProducts/RecommendedProducts.tsx +97 -0
- package/src/components/RecommendedProducts/index.ts +3 -0
- package/src/components/SearchFilter/SearchFilter.tsx +2 -1
- package/src/components/SearchFilter/SearchFilterFooter.tsx +1 -1
- package/src/components/SearchFilter/SearchFilterHeader.tsx +1 -1
- package/src/components/SearchFilter/SearchFilterItem.tsx +1 -1
- package/src/components/SearchFilter/types.ts +45 -0
- package/src/components/SearchFilter/useHasFilterStateChanged.tsx +1 -1
- package/src/components/SearchFilter/utils.ts +1 -1
- package/src/components/SearchInput/SearchInput.tsx +1 -1
- package/src/components/SearchInput/searchInputVariants.ts +2 -2
- package/src/components/SearchInputForm/SearchInputForm.tsx +7 -4
- package/src/components/SearchResultsContent/SearchResultsContent.tsx +72 -39
- 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/SearchResultsFilterSidebar/SearchResultsFilter.tsx +2 -1
- package/src/components/SearchResultsFilterSidebar/index.ts +1 -0
- package/src/components/SearchResultsFilterSidebar/searchFilterSidebarVariants.ts +2 -2
- package/src/components/SearchResultsFilterSidebar/types.ts +2 -0
- package/src/components/SearchResultsStates/NoSearchResultsFound.tsx +43 -11
- package/src/components/SearchResultsStates/SearchResultsGrid.tsx +8 -7
- package/src/components/SearchResultsStates/SearchResultsLoadingGrid.tsx +1 -2
- package/src/components/SearchResultsToolbar/SearchResultsToolbar.tsx +111 -0
- package/src/components/SearchResultsToolbar/index.ts +3 -0
- package/src/components/SparkleAnimation/SparkleAnimation.tsx +1 -7
- package/src/components/SparkleAnimation/index.ts +1 -0
- package/src/components/SparkleAnimation/types.ts +6 -0
- package/src/components/SuggestionButton/SuggestionButton.tsx +1 -1
- package/src/config/chatElementDisplayLocation.ts +23 -0
- package/src/models/colorsConfig.ts +28 -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/camelCase.ts +87 -0
- package/src/util/camelCasedPropertiesDeep.ts +81 -0
- package/src/util/colorVar.ts +1 -1
- package/src/util/index.ts +4 -0
- package/src/util/internal.ts +97 -0
- package/src/util/primitive.ts +8 -0
- package/src/util/splitWords.ts +76 -0
- package/src/util/trim.ts +28 -0
- package/src/util/unknownArray.ts +25 -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 -82
- package/dist/ProductCard/index.d.ts +0 -82
- 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.d.cts +0 -54
- package/dist/SearchFilter/index.d.ts +0 -54
- 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/SearchResultsStates/index.cjs +0 -14
- package/dist/SearchResultsStates/index.js +0 -12
- package/dist/SparkleAnimation/index.cjs +0 -3
- package/dist/SparkleAnimation/index.d.cts +0 -15
- package/dist/SparkleAnimation/index.d.ts +0 -15
- 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/colorVar-B5CLhSof.cjs +0 -11
- package/dist/colorVar-BJve0Z4_.js +0 -5
- /package/dist/{ButtonBase-DbWQ25n-.cjs → ButtonBase-BIXx56hq.cjs} +0 -0
- /package/dist/{ButtonBase-C_uKnl48.js → ButtonBase-C9fn-c5h.js} +0 -0
- /package/dist/{Accordion/index.d.cts → components/Accordion/index-DBEaF9x5.d.ts} +0 -0
package/dist/{FilterScrollbar/index.d.cts → components/FilterScrollbar/index-DgxXE1ff.d.cts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { SelectedFilterOption } from "@envive-ai/
|
|
1
|
+
import * as react_jsx_runtime23 from "react/jsx-runtime";
|
|
2
|
+
import { SelectedFilterOption } from "@envive-ai/react-hooks/atoms/search";
|
|
3
3
|
|
|
4
4
|
//#region src/components/FilterScrollbar/AppliedFiltersScrollbar.d.ts
|
|
5
5
|
interface AppliedFiltersScrollbarProps {
|
|
@@ -17,7 +17,7 @@ declare const AppliedFiltersScrollbar: ({
|
|
|
17
17
|
filterHoverClasses,
|
|
18
18
|
appliedFilterBackgroundClasses,
|
|
19
19
|
onRemoveFilter
|
|
20
|
-
}: AppliedFiltersScrollbarProps) =>
|
|
20
|
+
}: AppliedFiltersScrollbarProps) => react_jsx_runtime23.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
//#region src/components/FilterScrollbar/DynamicFiltersScrollbar.d.ts
|
|
23
23
|
interface DynamicFiltersScrollbarProps {
|
|
@@ -42,6 +42,6 @@ declare const DynamicFiltersScrollbar: ({
|
|
|
42
42
|
filterDefaultClasses,
|
|
43
43
|
filterHoverClasses,
|
|
44
44
|
onToggleDynamicFilter
|
|
45
|
-
}: DynamicFiltersScrollbarProps) =>
|
|
45
|
+
}: DynamicFiltersScrollbarProps) => react_jsx_runtime23.JSX.Element;
|
|
46
46
|
//#endregion
|
|
47
47
|
export { AppliedFiltersScrollbar, DynamicFiltersScrollbar };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { SelectedFilterOption } from "@envive-ai/
|
|
1
|
+
import * as react_jsx_runtime24 from "react/jsx-runtime";
|
|
2
|
+
import { SelectedFilterOption } from "@envive-ai/react-hooks/atoms/search";
|
|
3
3
|
|
|
4
4
|
//#region src/components/FilterScrollbar/AppliedFiltersScrollbar.d.ts
|
|
5
5
|
interface AppliedFiltersScrollbarProps {
|
|
@@ -17,7 +17,7 @@ declare const AppliedFiltersScrollbar: ({
|
|
|
17
17
|
filterHoverClasses,
|
|
18
18
|
appliedFilterBackgroundClasses,
|
|
19
19
|
onRemoveFilter
|
|
20
|
-
}: AppliedFiltersScrollbarProps) =>
|
|
20
|
+
}: AppliedFiltersScrollbarProps) => react_jsx_runtime24.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
//#region src/components/FilterScrollbar/DynamicFiltersScrollbar.d.ts
|
|
23
23
|
interface DynamicFiltersScrollbarProps {
|
|
@@ -42,6 +42,6 @@ declare const DynamicFiltersScrollbar: ({
|
|
|
42
42
|
filterDefaultClasses,
|
|
43
43
|
filterHoverClasses,
|
|
44
44
|
onToggleDynamicFilter
|
|
45
|
-
}: DynamicFiltersScrollbarProps) =>
|
|
45
|
+
}: DynamicFiltersScrollbarProps) => react_jsx_runtime24.JSX.Element;
|
|
46
46
|
//#endregion
|
|
47
47
|
export { AppliedFiltersScrollbar, DynamicFiltersScrollbar };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
require('../../Typography-Ds4gfOJz.cjs');
|
|
2
|
+
const require_DynamicFiltersScrollbar = require('../../DynamicFiltersScrollbar-DqIydLJu.cjs');
|
|
3
|
+
|
|
4
|
+
exports.AppliedFiltersScrollbar = require_DynamicFiltersScrollbar.AppliedFiltersScrollbar;
|
|
5
|
+
exports.DynamicFiltersScrollbar = require_DynamicFiltersScrollbar.DynamicFiltersScrollbar;
|
package/dist/{ImageWithFallback/index.d.cts → components/ImageWithFallback/index-C8Fqb7AQ.d.cts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime25 from "react/jsx-runtime";
|
|
2
2
|
import React from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ImageWithFallback/ImageWithFallback.d.ts
|
|
@@ -21,6 +21,6 @@ declare const ImageWithFallback: ({
|
|
|
21
21
|
imageClassnames,
|
|
22
22
|
onLoad,
|
|
23
23
|
onError
|
|
24
|
-
}: ImageWithFallbackProps) =>
|
|
24
|
+
}: ImageWithFallbackProps) => react_jsx_runtime25.JSX.Element;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { ImageWithFallback, ImageWithFallbackProps };
|
package/dist/{ImageWithFallback/index.d.ts → components/ImageWithFallback/index-yxDWrUCQ.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as react_jsx_runtime14 from "react/jsx-runtime";
|
|
2
1
|
import React from "react";
|
|
2
|
+
import * as react_jsx_runtime20 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ImageWithFallback/ImageWithFallback.d.ts
|
|
5
5
|
interface ImageWithFallbackProps {
|
|
@@ -21,6 +21,6 @@ declare const ImageWithFallback: ({
|
|
|
21
21
|
imageClassnames,
|
|
22
22
|
onLoad,
|
|
23
23
|
onError
|
|
24
|
-
}: ImageWithFallbackProps) =>
|
|
24
|
+
}: ImageWithFallbackProps) => react_jsx_runtime20.JSX.Element;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { ImageWithFallback, ImageWithFallbackProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime29 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/ModalSheet/types.d.ts
|
|
4
4
|
type ModalSheetProps = {
|
|
@@ -33,6 +33,6 @@ declare const ModalSheet: ({
|
|
|
33
33
|
desktopWidth,
|
|
34
34
|
headerProps,
|
|
35
35
|
footerProps
|
|
36
|
-
}: ModalSheetProps) =>
|
|
36
|
+
}: ModalSheetProps) => react_jsx_runtime29.JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { ModalSheet };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime20 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/ModalSheet/types.d.ts
|
|
4
4
|
type ModalSheetProps = {
|
|
@@ -33,6 +33,6 @@ declare const ModalSheet: ({
|
|
|
33
33
|
desktopWidth,
|
|
34
34
|
headerProps,
|
|
35
35
|
footerProps
|
|
36
|
-
}: ModalSheetProps) =>
|
|
36
|
+
}: ModalSheetProps) => react_jsx_runtime20.JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { ModalSheet };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { _ as ProductCardVariant, a as ProductCardSkeleton, b as SearchResponseProductAttributes, c as RatingSummary, d as ProductCardConfig, f as ProductCardHoverVariant, g as ProductCardSkeletonProps, h as ProductCardSkeletonOverrides, i as variantTitleColorMap, l as RatingSummaryProps, m as ProductCardLayoutVariant, n as variantClassMap, o as PriceSection, p as ProductCardImageAspectRatio, r as variantHoverClassMap, s as ProductCard, t as productCardLayoutVariantClasses, u as AnimatedProductCardOverrides, v as ProductGridProps, y as ProductGridVariant } from "../../index-Cz6qxTZG.js";
|
|
2
|
+
export { AnimatedProductCardOverrides, PriceSection, ProductCard, ProductCardConfig, ProductCardHoverVariant, ProductCardImageAspectRatio, ProductCardLayoutVariant, ProductCardSkeleton, ProductCardSkeletonOverrides, ProductCardSkeletonProps, ProductCardVariant, ProductGridProps, ProductGridVariant, RatingSummary, RatingSummaryProps, SearchResponseProductAttributes, productCardLayoutVariantClasses, variantClassMap, variantHoverClassMap, variantTitleColorMap };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { _ as ProductCardVariant, a as ProductCardSkeleton, b as SearchResponseProductAttributes, c as RatingSummary, d as ProductCardConfig, f as ProductCardHoverVariant, g as ProductCardSkeletonProps, h as ProductCardSkeletonOverrides, i as variantTitleColorMap, l as RatingSummaryProps, m as ProductCardLayoutVariant, n as variantClassMap, o as PriceSection, p as ProductCardImageAspectRatio, r as variantHoverClassMap, s as ProductCard, t as productCardLayoutVariantClasses, u as AnimatedProductCardOverrides, v as ProductGridProps, y as ProductGridVariant } from "../../index-CqfgJHj8.cjs";
|
|
2
|
+
export { AnimatedProductCardOverrides, PriceSection, ProductCard, ProductCardConfig, ProductCardHoverVariant, ProductCardImageAspectRatio, ProductCardLayoutVariant, ProductCardSkeleton, ProductCardSkeletonOverrides, ProductCardSkeletonProps, ProductCardVariant, ProductGridProps, ProductGridVariant, RatingSummary, RatingSummaryProps, SearchResponseProductAttributes, productCardLayoutVariantClasses, variantClassMap, variantHoverClassMap, variantTitleColorMap };
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
require('
|
|
2
|
-
require('
|
|
3
|
-
|
|
4
|
-
require('
|
|
1
|
+
require('../../formatPrice-CyfkjZ3R.cjs');
|
|
2
|
+
require('../../Typography-Ds4gfOJz.cjs');
|
|
3
|
+
require('../../ImageWithFallback-CuPe6XF6.cjs');
|
|
4
|
+
const require_ProductCard = require('../../ProductCard-BeY85PBf.cjs');
|
|
5
|
+
require('../../Spinner-FQpy5bGu.cjs');
|
|
5
6
|
|
|
7
|
+
exports.AnimatedProductCardOverrides = require_ProductCard.AnimatedProductCardOverrides;
|
|
6
8
|
exports.PriceSection = require_ProductCard.PriceSection;
|
|
7
9
|
exports.ProductCard = require_ProductCard.ProductCard;
|
|
8
10
|
exports.ProductCardSkeleton = require_ProductCard.ProductCardSkeleton;
|
|
11
|
+
exports.ProductCardSkeletonOverrides = require_ProductCard.ProductCardSkeletonOverrides;
|
|
9
12
|
exports.RatingSummary = require_ProductCard.RatingSummary;
|
|
10
13
|
exports.productCardLayoutVariantClasses = require_ProductCard.productCardLayoutVariantClasses;
|
|
11
14
|
exports.variantClassMap = require_ProductCard.variantClassMap;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import "../../formatPrice-DexQu2aZ.js";
|
|
2
|
+
import "../../Typography-xehJH05l.js";
|
|
3
|
+
import "../../ImageWithFallback-_QZT0EKI.js";
|
|
4
|
+
import { a as ProductCard, c as variantClassMap, i as PriceSection, l as variantHoverClassMap, n as AnimatedProductCardOverrides, o as RatingSummary, r as ProductCardSkeletonOverrides, s as productCardLayoutVariantClasses, t as ProductCardSkeleton, u as variantTitleColorMap } from "../../ProductCard-BoyYu6mI.js";
|
|
5
|
+
import "../../Spinner-CDDFWySo.js";
|
|
6
|
+
|
|
7
|
+
export { AnimatedProductCardOverrides, PriceSection, ProductCard, ProductCardSkeleton, ProductCardSkeletonOverrides, RatingSummary, productCardLayoutVariantClasses, variantClassMap, variantHoverClassMap, variantTitleColorMap };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { _ as ProductCardVariant, d as ProductCardConfig, f as ProductCardHoverVariant, m as ProductCardLayoutVariant, y as ProductGridVariant } from "../../index-CqfgJHj8.cjs";
|
|
2
|
+
import * as react_jsx_runtime19 from "react/jsx-runtime";
|
|
3
|
+
import { SearchResponseProductAttributes } from "@envive-ai/react-hooks/application/models";
|
|
3
4
|
|
|
4
5
|
//#region src/components/ProductGrid/ProductGrid.d.ts
|
|
5
6
|
interface ProductGridProps {
|
|
@@ -19,7 +20,7 @@ declare const ProductGrid: ({
|
|
|
19
20
|
merchantShortName,
|
|
20
21
|
cardsGrowWithContainer,
|
|
21
22
|
onProductClick
|
|
22
|
-
}: ProductGridProps) =>
|
|
23
|
+
}: ProductGridProps) => react_jsx_runtime19.JSX.Element;
|
|
23
24
|
//#endregion
|
|
24
25
|
//#region src/components/ProductGrid/productGridVariants.d.ts
|
|
25
26
|
interface ProductGridVariantClasses {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { _ as ProductCardVariant, d as ProductCardConfig, f as ProductCardHoverVariant, m as ProductCardLayoutVariant, y as ProductGridVariant } from "../../index-Cz6qxTZG.js";
|
|
2
|
+
import * as react_jsx_runtime19 from "react/jsx-runtime";
|
|
3
|
+
import { SearchResponseProductAttributes } from "@envive-ai/react-hooks/application/models";
|
|
3
4
|
|
|
4
5
|
//#region src/components/ProductGrid/ProductGrid.d.ts
|
|
5
6
|
interface ProductGridProps {
|
|
@@ -19,7 +20,7 @@ declare const ProductGrid: ({
|
|
|
19
20
|
merchantShortName,
|
|
20
21
|
cardsGrowWithContainer,
|
|
21
22
|
onProductClick
|
|
22
|
-
}: ProductGridProps) =>
|
|
23
|
+
}: ProductGridProps) => react_jsx_runtime19.JSX.Element;
|
|
23
24
|
//#endregion
|
|
24
25
|
//#region src/components/ProductGrid/productGridVariants.d.ts
|
|
25
26
|
interface ProductGridVariantClasses {
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
require('../../formatPrice-CyfkjZ3R.cjs');
|
|
2
|
+
require('../../Typography-Ds4gfOJz.cjs');
|
|
3
|
+
require('../../ImageWithFallback-CuPe6XF6.cjs');
|
|
4
|
+
require('../../ProductCard-BeY85PBf.cjs');
|
|
5
|
+
require('../../Spinner-FQpy5bGu.cjs');
|
|
6
|
+
const require_ProductGrid = require('../../ProductGrid-CxKK7w_X.cjs');
|
|
7
|
+
|
|
8
|
+
exports.ProductGrid = require_ProductGrid.ProductGrid;
|
|
9
|
+
exports.productGridVariantClasses = require_ProductGrid.productGridVariantClasses;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import "../../formatPrice-DexQu2aZ.js";
|
|
2
|
+
import "../../Typography-xehJH05l.js";
|
|
3
|
+
import "../../ImageWithFallback-_QZT0EKI.js";
|
|
4
|
+
import "../../ProductCard-BoyYu6mI.js";
|
|
5
|
+
import "../../Spinner-CDDFWySo.js";
|
|
6
|
+
import { n as productGridVariantClasses, t as ProductGrid } from "../../ProductGrid-DmtSXfyE.js";
|
|
7
|
+
|
|
8
|
+
export { ProductGrid, productGridVariantClasses };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { TestProps } from "@envive-ai/types";
|
|
1
|
+
import * as react_jsx_runtime18 from "react/jsx-runtime";
|
|
2
|
+
import { TestProps } from "@envive-ai/react-hooks/types";
|
|
3
3
|
|
|
4
4
|
//#region src/components/RadioButton/RadioButton.d.ts
|
|
5
5
|
interface RadioButtonProps extends TestProps {
|
|
@@ -27,6 +27,6 @@ declare const RadioButton: ({
|
|
|
27
27
|
checked,
|
|
28
28
|
onChange,
|
|
29
29
|
id
|
|
30
|
-
}: RadioButtonProps) =>
|
|
30
|
+
}: RadioButtonProps) => react_jsx_runtime18.JSX.Element;
|
|
31
31
|
//#endregion
|
|
32
32
|
export { RadioButton };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { TestProps } from "@envive-ai/types";
|
|
1
|
+
import * as react_jsx_runtime12 from "react/jsx-runtime";
|
|
2
|
+
import { TestProps } from "@envive-ai/react-hooks/types";
|
|
3
3
|
|
|
4
4
|
//#region src/components/RadioButton/RadioButton.d.ts
|
|
5
5
|
interface RadioButtonProps extends TestProps {
|
|
@@ -27,6 +27,6 @@ declare const RadioButton: ({
|
|
|
27
27
|
checked,
|
|
28
28
|
onChange,
|
|
29
29
|
id
|
|
30
|
-
}: RadioButtonProps) =>
|
|
30
|
+
}: RadioButtonProps) => react_jsx_runtime12.JSX.Element;
|
|
31
31
|
//#endregion
|
|
32
32
|
export { RadioButton };
|
package/dist/{RadioButtonGroup/index.d.ts → components/RadioButtonGroup/index-DdyMuFCX.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { TestProps } from "@envive-ai/types";
|
|
1
|
+
import * as react_jsx_runtime21 from "react/jsx-runtime";
|
|
2
|
+
import { TestProps } from "@envive-ai/react-hooks/types";
|
|
3
3
|
|
|
4
4
|
//#region src/components/RadioButtonGroup/RadioButtonGroup.d.ts
|
|
5
5
|
declare const SPIFFY_RADIO_BUTTON_GROUP_CLASS = "spiffy-radio-button-group-class";
|
|
@@ -31,6 +31,6 @@ declare const RadioButtonGroup: ({
|
|
|
31
31
|
gap,
|
|
32
32
|
textButtonGap,
|
|
33
33
|
onChange
|
|
34
|
-
}: RadioButtonGroupProps) =>
|
|
34
|
+
}: RadioButtonGroupProps) => react_jsx_runtime21.JSX.Element;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { RadioButtonGroup, SPIFFY_RADIO_BUTTON_GROUP_CLASS };
|
package/dist/{RadioButtonGroup/index.d.cts → components/RadioButtonGroup/index-DtdjcXo-.d.cts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { TestProps } from "@envive-ai/types";
|
|
1
|
+
import * as react_jsx_runtime21 from "react/jsx-runtime";
|
|
2
|
+
import { TestProps } from "@envive-ai/react-hooks/types";
|
|
3
3
|
|
|
4
4
|
//#region src/components/RadioButtonGroup/RadioButtonGroup.d.ts
|
|
5
5
|
declare const SPIFFY_RADIO_BUTTON_GROUP_CLASS = "spiffy-radio-button-group-class";
|
|
@@ -31,6 +31,6 @@ declare const RadioButtonGroup: ({
|
|
|
31
31
|
gap,
|
|
32
32
|
textButtonGap,
|
|
33
33
|
onChange
|
|
34
|
-
}: RadioButtonGroupProps) =>
|
|
34
|
+
}: RadioButtonGroupProps) => react_jsx_runtime21.JSX.Element;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { RadioButtonGroup, SPIFFY_RADIO_BUTTON_GROUP_CLASS };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
require('../../Typography-Ds4gfOJz.cjs');
|
|
2
|
+
require('../../RadioButton-Dcdj8pNp.cjs');
|
|
3
|
+
const require_RadioButtonGroup = require('../../RadioButtonGroup-BnnMx8sE.cjs');
|
|
4
|
+
|
|
5
|
+
exports.RadioButtonGroup = require_RadioButtonGroup.RadioButtonGroup;
|
|
6
|
+
exports.SPIFFY_RADIO_BUTTON_GROUP_CLASS = require_RadioButtonGroup.SPIFFY_RADIO_BUTTON_GROUP_CLASS;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { SearchResponseProductAttributes } from "@envive-ai/react-hooks/application/models";
|
|
2
|
+
import { ProductCardConfig, ProductGridVariant } from "@envive-ai/react-hooks/contexts/types";
|
|
3
|
+
|
|
4
|
+
//#region src/components/RecommendedProducts/RecommendedProducts.d.ts
|
|
5
|
+
interface RecommendedProductsProps {
|
|
6
|
+
retrievedProducts: SearchResponseProductAttributes['attributes'][];
|
|
7
|
+
merchantShortName: string;
|
|
8
|
+
productCardConfig?: ProductCardConfig;
|
|
9
|
+
productGridVariant?: ProductGridVariant;
|
|
10
|
+
heading?: string;
|
|
11
|
+
onProductClick?: (product: SearchResponseProductAttributes['attributes'], index: number) => void;
|
|
12
|
+
}
|
|
13
|
+
declare const RecommendedProducts: React.FC<RecommendedProductsProps>;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { RecommendedProducts };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { SearchResponseProductAttributes } from "@envive-ai/react-hooks/application/models";
|
|
2
|
+
import { ProductCardConfig, ProductGridVariant } from "@envive-ai/react-hooks/contexts/types";
|
|
3
|
+
|
|
4
|
+
//#region src/components/RecommendedProducts/RecommendedProducts.d.ts
|
|
5
|
+
interface RecommendedProductsProps {
|
|
6
|
+
retrievedProducts: SearchResponseProductAttributes['attributes'][];
|
|
7
|
+
merchantShortName: string;
|
|
8
|
+
productCardConfig?: ProductCardConfig;
|
|
9
|
+
productGridVariant?: ProductGridVariant;
|
|
10
|
+
heading?: string;
|
|
11
|
+
onProductClick?: (product: SearchResponseProductAttributes['attributes'], index: number) => void;
|
|
12
|
+
}
|
|
13
|
+
declare const RecommendedProducts: React.FC<RecommendedProductsProps>;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { RecommendedProducts };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
require('../../formatPrice-CyfkjZ3R.cjs');
|
|
5
|
+
require('../../Typography-Ds4gfOJz.cjs');
|
|
6
|
+
require('../../ImageWithFallback-CuPe6XF6.cjs');
|
|
7
|
+
require('../../ProductCard-BeY85PBf.cjs');
|
|
8
|
+
require('../../Spinner-FQpy5bGu.cjs');
|
|
9
|
+
require('../../ProductGrid-CxKK7w_X.cjs');
|
|
10
|
+
const require_RecommendedProducts = require('../../RecommendedProducts-C2eNVrLo.cjs');
|
|
11
|
+
|
|
12
|
+
exports.RecommendedProducts = require_RecommendedProducts.RecommendedProducts;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
import "../../formatPrice-DexQu2aZ.js";
|
|
5
|
+
import "../../Typography-xehJH05l.js";
|
|
6
|
+
import "../../ImageWithFallback-_QZT0EKI.js";
|
|
7
|
+
import "../../ProductCard-BoyYu6mI.js";
|
|
8
|
+
import "../../Spinner-CDDFWySo.js";
|
|
9
|
+
import "../../ProductGrid-DmtSXfyE.js";
|
|
10
|
+
import { t as RecommendedProducts } from "../../RecommendedProducts-LalI8aVC.js";
|
|
11
|
+
|
|
12
|
+
export { RecommendedProducts };
|
package/dist/{SearchAutocomplete/index.d.cts → components/SearchAutocomplete/index-Br_POGOz.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime17 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/SearchAutocomplete/SearchAutocomplete.d.ts
|
|
4
4
|
interface GlobalSearchAutocompleteProps {
|
|
@@ -16,6 +16,6 @@ declare const SearchAutocomplete: ({
|
|
|
16
16
|
searchText,
|
|
17
17
|
onSuggestionSelect,
|
|
18
18
|
iconColor
|
|
19
|
-
}: GlobalSearchAutocompleteProps) =>
|
|
19
|
+
}: GlobalSearchAutocompleteProps) => react_jsx_runtime17.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { SearchAutocomplete };
|
package/dist/{SearchAutocomplete/index.d.ts → components/SearchAutocomplete/index-Ce9gkkbU.d.cts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime30 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/SearchAutocomplete/SearchAutocomplete.d.ts
|
|
4
4
|
interface GlobalSearchAutocompleteProps {
|
|
@@ -16,6 +16,6 @@ declare const SearchAutocomplete: ({
|
|
|
16
16
|
searchText,
|
|
17
17
|
onSuggestionSelect,
|
|
18
18
|
iconColor
|
|
19
|
-
}: GlobalSearchAutocompleteProps) =>
|
|
19
|
+
}: GlobalSearchAutocompleteProps) => react_jsx_runtime30.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { SearchAutocomplete };
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import * as react_jsx_runtime8 from "react/jsx-runtime";
|
|
2
|
+
import { CloseIconVariant, FilterFooterProps, SearchFilterDatum, SearchFilterItemDatum, SelectFilterItem } from "@envive-ai/react-hooks/types";
|
|
3
|
+
|
|
4
|
+
//#region src/components/SearchFilter/types.d.ts
|
|
5
|
+
interface SearchFilterItem$1 extends SearchFilterItemDatum {
|
|
6
|
+
filterId: string;
|
|
7
|
+
filterItemId: string;
|
|
8
|
+
}
|
|
9
|
+
interface SearchFilterItemProps {
|
|
10
|
+
filterItem: SearchFilterItem$1;
|
|
11
|
+
onSelectFilterItem: SelectFilterItem;
|
|
12
|
+
radioButtonFillColor: string;
|
|
13
|
+
radioButtonHoverColor: string;
|
|
14
|
+
radioButtonUncheckedBorderColor: string;
|
|
15
|
+
}
|
|
16
|
+
interface SearchFilterHeaderProps {
|
|
17
|
+
closeModal: () => void;
|
|
18
|
+
productCount: number;
|
|
19
|
+
headerClassName: string;
|
|
20
|
+
filterCloseIconVariant: 'dark' | 'light' | 'tertiary';
|
|
21
|
+
}
|
|
22
|
+
type SearchFilterProps = {
|
|
23
|
+
filters: SearchFilterDatum[];
|
|
24
|
+
selectFilterItem: SelectFilterItem;
|
|
25
|
+
clearAllFilters: () => void;
|
|
26
|
+
productCount: number;
|
|
27
|
+
isOpen: boolean;
|
|
28
|
+
setIsOpen: (isOpen: boolean) => void;
|
|
29
|
+
applyFiltersUnchangedClasses: string;
|
|
30
|
+
applyFiltersChangedClasses: string;
|
|
31
|
+
headerContent?: React.ReactNode;
|
|
32
|
+
footerContent?: React.ReactNode;
|
|
33
|
+
filterButtonText?: string;
|
|
34
|
+
headerClassName?: string;
|
|
35
|
+
radioButtonFillColor: string;
|
|
36
|
+
radioButtonHoverColor?: string;
|
|
37
|
+
radioButtonUncheckedBorderColor?: string;
|
|
38
|
+
filterCloseIconVariant: CloseIconVariant;
|
|
39
|
+
};
|
|
40
|
+
//#endregion
|
|
41
|
+
//#region src/components/SearchFilter/SearchFilter.d.ts
|
|
42
|
+
declare const SearchFilter: ({
|
|
43
|
+
filters,
|
|
44
|
+
productCount,
|
|
45
|
+
selectFilterItem,
|
|
46
|
+
clearAllFilters,
|
|
47
|
+
isOpen,
|
|
48
|
+
setIsOpen,
|
|
49
|
+
applyFiltersUnchangedClasses,
|
|
50
|
+
applyFiltersChangedClasses,
|
|
51
|
+
headerContent,
|
|
52
|
+
footerContent,
|
|
53
|
+
headerClassName,
|
|
54
|
+
radioButtonFillColor,
|
|
55
|
+
radioButtonHoverColor,
|
|
56
|
+
radioButtonUncheckedBorderColor,
|
|
57
|
+
filterCloseIconVariant
|
|
58
|
+
}: SearchFilterProps) => react_jsx_runtime8.JSX.Element;
|
|
59
|
+
//#endregion
|
|
60
|
+
//#region src/components/SearchFilter/SearchFilterHeader.d.ts
|
|
61
|
+
declare const SearchFilterHeader: ({
|
|
62
|
+
closeModal,
|
|
63
|
+
productCount,
|
|
64
|
+
headerClassName,
|
|
65
|
+
filterCloseIconVariant
|
|
66
|
+
}: SearchFilterHeaderProps) => react_jsx_runtime8.JSX.Element;
|
|
67
|
+
//#endregion
|
|
68
|
+
//#region src/components/SearchFilter/SearchFilterFooter.d.ts
|
|
69
|
+
declare const SearchFilterFooter: ({
|
|
70
|
+
closeModal,
|
|
71
|
+
clearAllFilters,
|
|
72
|
+
filterCount,
|
|
73
|
+
applyFiltersUnchangedClasses,
|
|
74
|
+
applyFiltersChangedClasses,
|
|
75
|
+
hasFiltersChanged
|
|
76
|
+
}: FilterFooterProps) => react_jsx_runtime8.JSX.Element;
|
|
77
|
+
//#endregion
|
|
78
|
+
//#region src/components/SearchFilter/SearchFilterItem.d.ts
|
|
79
|
+
declare const SearchFilterItem: ({
|
|
80
|
+
filterItem,
|
|
81
|
+
onSelectFilterItem,
|
|
82
|
+
radioButtonFillColor,
|
|
83
|
+
radioButtonHoverColor,
|
|
84
|
+
radioButtonUncheckedBorderColor
|
|
85
|
+
}: SearchFilterItemProps) => react_jsx_runtime8.JSX.Element;
|
|
86
|
+
//#endregion
|
|
87
|
+
//#region src/components/SearchFilter/utils.d.ts
|
|
88
|
+
declare const getSelectedFilterItemsCount: (filter: SearchFilterDatum) => number;
|
|
89
|
+
declare const getTotalSelectedFilterItemsCount: (filters: SearchFilterDatum[]) => number;
|
|
90
|
+
//#endregion
|
|
91
|
+
export { SearchFilter, SearchFilterFooter, SearchFilterHeader, SearchFilterItem, getSelectedFilterItemsCount, getTotalSelectedFilterItemsCount };
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import * as react_jsx_runtime8 from "react/jsx-runtime";
|
|
2
|
+
import { CloseIconVariant, FilterFooterProps, SearchFilterDatum, SearchFilterItemDatum, SelectFilterItem } from "@envive-ai/react-hooks/types";
|
|
3
|
+
|
|
4
|
+
//#region src/components/SearchFilter/types.d.ts
|
|
5
|
+
interface SearchFilterItem$1 extends SearchFilterItemDatum {
|
|
6
|
+
filterId: string;
|
|
7
|
+
filterItemId: string;
|
|
8
|
+
}
|
|
9
|
+
interface SearchFilterItemProps {
|
|
10
|
+
filterItem: SearchFilterItem$1;
|
|
11
|
+
onSelectFilterItem: SelectFilterItem;
|
|
12
|
+
radioButtonFillColor: string;
|
|
13
|
+
radioButtonHoverColor: string;
|
|
14
|
+
radioButtonUncheckedBorderColor: string;
|
|
15
|
+
}
|
|
16
|
+
interface SearchFilterHeaderProps {
|
|
17
|
+
closeModal: () => void;
|
|
18
|
+
productCount: number;
|
|
19
|
+
headerClassName: string;
|
|
20
|
+
filterCloseIconVariant: 'dark' | 'light' | 'tertiary';
|
|
21
|
+
}
|
|
22
|
+
type SearchFilterProps = {
|
|
23
|
+
filters: SearchFilterDatum[];
|
|
24
|
+
selectFilterItem: SelectFilterItem;
|
|
25
|
+
clearAllFilters: () => void;
|
|
26
|
+
productCount: number;
|
|
27
|
+
isOpen: boolean;
|
|
28
|
+
setIsOpen: (isOpen: boolean) => void;
|
|
29
|
+
applyFiltersUnchangedClasses: string;
|
|
30
|
+
applyFiltersChangedClasses: string;
|
|
31
|
+
headerContent?: React.ReactNode;
|
|
32
|
+
footerContent?: React.ReactNode;
|
|
33
|
+
filterButtonText?: string;
|
|
34
|
+
headerClassName?: string;
|
|
35
|
+
radioButtonFillColor: string;
|
|
36
|
+
radioButtonHoverColor?: string;
|
|
37
|
+
radioButtonUncheckedBorderColor?: string;
|
|
38
|
+
filterCloseIconVariant: CloseIconVariant;
|
|
39
|
+
};
|
|
40
|
+
//#endregion
|
|
41
|
+
//#region src/components/SearchFilter/SearchFilter.d.ts
|
|
42
|
+
declare const SearchFilter: ({
|
|
43
|
+
filters,
|
|
44
|
+
productCount,
|
|
45
|
+
selectFilterItem,
|
|
46
|
+
clearAllFilters,
|
|
47
|
+
isOpen,
|
|
48
|
+
setIsOpen,
|
|
49
|
+
applyFiltersUnchangedClasses,
|
|
50
|
+
applyFiltersChangedClasses,
|
|
51
|
+
headerContent,
|
|
52
|
+
footerContent,
|
|
53
|
+
headerClassName,
|
|
54
|
+
radioButtonFillColor,
|
|
55
|
+
radioButtonHoverColor,
|
|
56
|
+
radioButtonUncheckedBorderColor,
|
|
57
|
+
filterCloseIconVariant
|
|
58
|
+
}: SearchFilterProps) => react_jsx_runtime8.JSX.Element;
|
|
59
|
+
//#endregion
|
|
60
|
+
//#region src/components/SearchFilter/SearchFilterHeader.d.ts
|
|
61
|
+
declare const SearchFilterHeader: ({
|
|
62
|
+
closeModal,
|
|
63
|
+
productCount,
|
|
64
|
+
headerClassName,
|
|
65
|
+
filterCloseIconVariant
|
|
66
|
+
}: SearchFilterHeaderProps) => react_jsx_runtime8.JSX.Element;
|
|
67
|
+
//#endregion
|
|
68
|
+
//#region src/components/SearchFilter/SearchFilterFooter.d.ts
|
|
69
|
+
declare const SearchFilterFooter: ({
|
|
70
|
+
closeModal,
|
|
71
|
+
clearAllFilters,
|
|
72
|
+
filterCount,
|
|
73
|
+
applyFiltersUnchangedClasses,
|
|
74
|
+
applyFiltersChangedClasses,
|
|
75
|
+
hasFiltersChanged
|
|
76
|
+
}: FilterFooterProps) => react_jsx_runtime8.JSX.Element;
|
|
77
|
+
//#endregion
|
|
78
|
+
//#region src/components/SearchFilter/SearchFilterItem.d.ts
|
|
79
|
+
declare const SearchFilterItem: ({
|
|
80
|
+
filterItem,
|
|
81
|
+
onSelectFilterItem,
|
|
82
|
+
radioButtonFillColor,
|
|
83
|
+
radioButtonHoverColor,
|
|
84
|
+
radioButtonUncheckedBorderColor
|
|
85
|
+
}: SearchFilterItemProps) => react_jsx_runtime8.JSX.Element;
|
|
86
|
+
//#endregion
|
|
87
|
+
//#region src/components/SearchFilter/utils.d.ts
|
|
88
|
+
declare const getSelectedFilterItemsCount: (filter: SearchFilterDatum) => number;
|
|
89
|
+
declare const getTotalSelectedFilterItemsCount: (filters: SearchFilterDatum[]) => number;
|
|
90
|
+
//#endregion
|
|
91
|
+
export { SearchFilter, SearchFilterFooter, SearchFilterHeader, SearchFilterItem, getSelectedFilterItemsCount, getTotalSelectedFilterItemsCount };
|