@envive-ai/react-toolkit 0.2.11 → 0.2.13-arthur-1
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-B8aUlf0q.js → Accordion-8zFBEEaN.js} +25 -6
- package/dist/{Accordion-FyCFBOen.cjs → Accordion-DPUaEXiE.cjs} +23 -8
- package/dist/{AnimatedChevron-wpcAHp6d.cjs → AnimatedChevron-CPW5KPLr.cjs} +0 -2
- package/dist/{AnimatedChevron-Dee6Pe81.js → AnimatedChevron-DO_jcnJg.js} +1 -1
- package/dist/{ButtonBase-B6vDKbGQ.cjs → ButtonBase-C44g6llb.cjs} +1 -3
- package/dist/{ButtonBase-Bpc7nOpz.js → ButtonBase-Cjo-fBg2.js} +3 -3
- package/dist/{DynamicFiltersScrollbar-DIwHWq6v.cjs → DynamicFiltersScrollbar-IO886VXD.cjs} +3 -6
- package/dist/{DynamicFiltersScrollbar-D8OqC4DA.js → DynamicFiltersScrollbar-s5yfmMau.js} +5 -7
- package/dist/FourPointStar-3DqnYmfN.js +21 -0
- package/dist/FourPointStar-AQ9OSu0S.cjs +26 -0
- package/dist/{ImageWithFallback-DvaVpR6v.cjs → ImageWithFallback-C-ZQn7tR.cjs} +1 -2
- package/dist/{ImageWithFallback-BW57cQw-.js → ImageWithFallback-DjDNefaG.js} +2 -2
- package/dist/{ModalSheet-DFva7krP.js → ModalSheet-C5f5abw1.js} +12 -13
- package/dist/{ModalSheet-BvM2PJbH.cjs → ModalSheet-JZerJZ1T.cjs} +11 -16
- package/dist/OutlinedStar-CC0V_jAK.cjs +26 -0
- package/dist/OutlinedStar-WWs3gRwt.js +21 -0
- package/dist/{ProductCard-C2KvH4MN.cjs → ProductCard-C7rZyWpj.cjs} +31 -28
- package/dist/{ProductCard-BiWAcPO4.js → ProductCard-GxpFxjh0.js} +19 -24
- package/dist/{ProductGrid-DkOyRAEg.cjs → ProductGrid-0A8vml2y.cjs} +2 -3
- package/dist/{ProductGrid-B1RtE58G.js → ProductGrid-DAwc9dKV.js} +3 -3
- package/dist/{RadioButton-CQ6qOvBl.js → RadioButton-DOc8g47U.js} +3 -3
- package/dist/{RadioButton-DP-qs5cy.cjs → RadioButton-DpF1wymL.cjs} +1 -3
- package/dist/{RadioButtonGroup-CJPWfAaA.cjs → RadioButtonGroup-ByzTXNAb.cjs} +2 -3
- package/dist/{RadioButtonGroup-Ce8cKqYw.js → RadioButtonGroup-YQIxmR7j.js} +3 -3
- package/dist/RecommendedProducts-C6dLpLPP.js +49 -0
- package/dist/RecommendedProducts-qkPxXVJn.cjs +56 -0
- package/dist/{SearchAutocomplete-bbMvWWjI.cjs → SearchAutocomplete-BdTWETDB.cjs} +5 -9
- package/dist/{SearchAutocomplete-CjjL2_lm.js → SearchAutocomplete-DNe193EV.js} +7 -8
- package/dist/{SearchFilter-BLi6E9Wx.cjs → SearchFilter-BRtCSuAn.cjs} +38 -44
- package/dist/{SearchFilter-wHwOym_n.js → SearchFilter-DvJx0b0W.js} +40 -44
- package/dist/{SearchInput-BA6bepV_.cjs → SearchInput-CImlqrau.cjs} +64 -13
- package/dist/{SearchInput-C3nNkmBm.js → SearchInput-kLhxkpgq.js} +64 -9
- package/dist/{SearchInputForm/index.js → SearchInputForm-CFm_hUvX.js} +7 -9
- package/dist/{SearchInputForm/index.cjs → SearchInputForm-ZgNNEX6E.cjs} +13 -12
- package/dist/SearchResultsFilterButton-D929tRt9.cjs +96 -0
- package/dist/SearchResultsFilterButton-Dk7u7rgn.js +90 -0
- package/dist/{SearchResultsFilterSidebar/index.cjs → SearchResultsFilterSidebar-BRFONIEq.cjs} +11 -18
- package/dist/{SearchResultsFilterSidebar/index.js → SearchResultsFilterSidebar-DLzQoFGD.js} +5 -14
- package/dist/SearchResultsStates-CQR5Il4l.cjs +196 -0
- package/dist/SearchResultsStates-D7HfsLeZ.js +177 -0
- package/dist/{SparkleAnimation-BFAj73CF.cjs → SparkleAnimation-BikAiAmb.cjs} +20 -15
- package/dist/{SparkleAnimation-BYDUEqWX.js → SparkleAnimation-szzXiTam.js} +15 -12
- package/dist/{Spinner-Ccy6VFEp.cjs → Spinner-7HblFCja.cjs} +1 -2
- package/dist/{Spinner-D2HbRsuw.js → Spinner-OFbXMms8.js} +2 -2
- package/dist/{TextInput-CYTko3-n.cjs → TextInput-CaynCoDf.cjs} +3 -5
- package/dist/{TextInput-CmxnphaT.js → TextInput-CsdOvLBQ.js} +5 -6
- package/dist/{ToggleButton-V9Qsaks7.js → ToggleButton-D8--AKKK.js} +3 -3
- package/dist/{ToggleButton-CvxNLMe_.cjs → ToggleButton-Dxk3U1hR.cjs} +1 -2
- package/dist/{Typography-C3QmJzFK.js → Typography-xehJH05l.js} +1 -1
- package/dist/colorsConfig-CFI1KN8R.js +26 -0
- package/dist/colorsConfig-Dp7w5LPb.cjs +38 -0
- package/dist/{Accordion/index.d.ts → components/Accordion/index-D_7-KJa0.d.cts} +2 -2
- package/dist/{Accordion/index.d.cts → components/Accordion/index-Dd_9XeqA.d.ts} +2 -2
- package/dist/components/Accordion/index.cjs +5 -0
- package/dist/components/Accordion/index.js +5 -0
- package/dist/{AnimatedChevron/index.d.cts → components/AnimatedChevron/index-BwQ6tJL8.d.cts} +2 -2
- package/dist/{AnimatedChevron/index.d.ts → components/AnimatedChevron/index-DZdGWikh.d.ts} +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-Dcyc-5Bv.d.ts} +3 -3
- package/dist/{AppliedFiltersScrollbar/index.d.cts → components/AppliedFiltersScrollbar/index-VbXAIfym.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-Bxdhf_O8.d.cts} +3 -3
- package/dist/{ButtonBase/index.d.cts → components/ButtonBase/index-VoanK6Pr.d.ts} +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-CHzxQmaW.d.cts} +2 -2
- package/dist/{DynamicFiltersScrollbar/index.d.ts → components/DynamicFiltersScrollbar/index-vVNOOaOF.d.ts} +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-DXcZLcQi.d.cts} +4 -4
- package/dist/{FilterScrollbar/index.d.ts → components/FilterScrollbar/index-DwLyxqQl.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-BLbkDyG8.d.cts} +2 -2
- package/dist/{ImageWithFallback/index.d.ts → components/ImageWithFallback/index-NJZsMOXc.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-B5q4MHdq.d.cts} +2 -2
- package/dist/{ModalSheet/index.d.ts → components/ModalSheet/index-BN20-QS0.d.ts} +2 -2
- package/dist/components/ModalSheet/index.cjs +4 -0
- package/dist/components/ModalSheet/index.js +4 -0
- package/dist/components/ProductCard/index-CglXQ3wh.d.ts +2 -0
- package/dist/components/ProductCard/index-XVlN6iMl.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-BPBgwFsa.d.cts} +4 -3
- package/dist/{ProductGrid/index.d.cts → components/ProductGrid/index-D_YpwJCd.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.cts → components/RadioButton/index-BeOT_AlW.d.cts} +3 -3
- package/dist/{RadioButton/index.d.ts → components/RadioButton/index-CxluCaJw.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.cts → components/RadioButtonGroup/index-BOhV-rG3.d.cts} +3 -3
- package/dist/{RadioButtonGroup/index.d.ts → components/RadioButtonGroup/index-KeOIiYNW.d.ts} +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-BcnHcv7Q.d.cts} +2 -2
- package/dist/{SearchAutocomplete/index.d.ts → components/SearchAutocomplete/index-Br_POGOz.d.ts} +2 -2
- package/dist/components/SearchAutocomplete/index.cjs +6 -0
- package/dist/components/SearchAutocomplete/index.js +6 -0
- package/dist/components/SearchFilter/index-BbIqmoO8.d.ts +91 -0
- package/dist/components/SearchFilter/index-DAL3Wl6U.d.cts +91 -0
- package/dist/components/SearchFilter/index.cjs +18 -0
- package/dist/components/SearchFilter/index.js +13 -0
- package/dist/{SearchInput/index.d.cts → components/SearchInput/index-C0H51Flv.d.ts} +4 -3
- package/dist/{SearchInput/index.d.ts → components/SearchInput/index-rFDdhvqg.d.cts} +4 -3
- package/dist/components/SearchInput/index.cjs +8 -0
- package/dist/components/SearchInput/index.js +7 -0
- package/dist/{SearchInputForm/index.d.cts → components/SearchInputForm/index-Cleto06d.d.cts} +4 -2
- package/dist/{SearchInputForm/index.d.ts → components/SearchInputForm/index-DjjoY7MQ.d.ts} +6 -4
- package/dist/components/SearchInputForm/index.cjs +10 -0
- package/dist/components/SearchInputForm/index.js +10 -0
- package/dist/{SearchResultsContent/index.d.ts → components/SearchResultsContent/index-C4qsTFUd.d.cts} +19 -7
- package/dist/{SearchResultsContent/index.d.cts → components/SearchResultsContent/index-KdFf9yzs.d.ts} +17 -5
- package/dist/components/SearchResultsContent/index.cjs +62 -0
- package/dist/components/SearchResultsContent/index.js +60 -0
- package/dist/components/SearchResultsFilterButton/index-BvntKdyC.d.ts +13 -0
- package/dist/components/SearchResultsFilterButton/index-zgQsT6vz.d.cts +13 -0
- package/dist/components/SearchResultsFilterButton/index.cjs +10 -0
- package/dist/components/SearchResultsFilterButton/index.js +10 -0
- package/dist/components/SearchResultsFilterModal/index-CNBQ1ikL.d.ts +27 -0
- package/dist/components/SearchResultsFilterModal/index-mRcnKysU.d.cts +27 -0
- package/dist/components/SearchResultsFilterModal/index.cjs +48 -0
- package/dist/components/SearchResultsFilterModal/index.js +47 -0
- package/dist/components/SearchResultsFilterSidebar/index-C7PE9z5a.d.ts +2 -0
- package/dist/components/SearchResultsFilterSidebar/index-DKzEKFV3.d.cts +2 -0
- package/dist/components/SearchResultsFilterSidebar/index.cjs +17 -0
- package/dist/components/SearchResultsFilterSidebar/index.js +16 -0
- package/dist/{SearchResultsStates/index.d.ts → components/SearchResultsStates/index-Dugoegtn.d.ts} +20 -9
- package/dist/{SearchResultsStates/index.d.cts → components/SearchResultsStates/index-RVgPTFiH.d.cts} +16 -5
- package/dist/components/SearchResultsStates/index.cjs +18 -0
- package/dist/components/SearchResultsStates/index.js +16 -0
- package/dist/components/SearchResultsToolbar/index-CIvuccni.d.ts +49 -0
- package/dist/components/SearchResultsToolbar/index-PYr086HM.d.cts +49 -0
- package/dist/components/SearchResultsToolbar/index.cjs +68 -0
- package/dist/components/SearchResultsToolbar/index.js +65 -0
- package/dist/components/SparkleAnimation/index-BFqUibyY.d.ts +23 -0
- package/dist/components/SparkleAnimation/index-CSBR76H5.d.cts +23 -0
- package/dist/components/SparkleAnimation/index.cjs +6 -0
- package/dist/components/SparkleAnimation/index.js +5 -0
- package/dist/{Spinner/index.d.cts → components/Spinner/index-DrYhRG9D.d.cts} +2 -2
- package/dist/{Spinner/index.d.ts → components/Spinner/index-TKsPifGM.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-BioM3QHW.d.ts} +3 -3
- package/dist/{SuggestionButton/index.d.ts → components/SuggestionButton/index-CjV6Ar4Y.d.cts} +3 -3
- package/dist/{SuggestionButton → components/SuggestionButton}/index.cjs +11 -14
- package/dist/{SuggestionButton → components/SuggestionButton}/index.js +10 -10
- package/dist/{TextInput/index.d.cts → components/TextInput/index-CRJMRe-b.d.cts} +2 -2
- package/dist/{TextInput/index.d.ts → components/TextInput/index-DAhxej1K.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-eLDrp4ic.d.cts} +2 -2
- package/dist/{ToggleButton/index.d.ts → components/ToggleButton/index-pFQuGdoj.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-DzSBreyM.d.cts +3 -0
- package/dist/components/Typography/index-ymH7f3jB.d.ts +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-BCBtAzCc.d.ts +325 -0
- package/dist/{SearchResultsFilterSidebar/index.d.ts → index-BiKhzraQ.d.cts} +9 -5
- package/dist/{index-DoTNu3mL.d.cts → index-Bw6lDfEp.d.cts} +2 -2
- package/dist/index-CzbumwVZ.d.cts +325 -0
- package/dist/{SearchResultsFilterSidebar/index.d.cts → index-DK0xpfMg.d.ts} +9 -5
- package/dist/{index-C5iOTsRG.d.ts → index-DXGw5Z56.d.ts} +2 -2
- package/dist/jsx-runtime-Dg2m6dxZ-B-pkyyHT.cjs +2586 -0
- package/dist/jsx-runtime-Dg2m6dxZ-CU_SzTu4.js +2580 -0
- package/dist/{searchFilterSidebarVariants-BQ7OC862.cjs → searchFilterSidebarVariants-CjyRGKK_.cjs} +7 -10
- package/dist/{searchFilterSidebarVariants-C_rWIcxf.js → searchFilterSidebarVariants-gkgkflXx.js} +2 -3
- package/dist/types--eyQnaEA.d.cts +4 -0
- package/dist/types-D6fl4HOx.d.ts +4 -0
- package/dist/{typographyVariantClasses-BFRoEloZ.d.cts → typographyVariantClasses-CoRhazCU.d.cts} +1 -1
- package/dist/{typographyVariantClasses-D7h3ACAj.d.ts → typographyVariantClasses-_oNpv-aN.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 +10 -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/SearchResultsStates-C-8fh8B9.cjs +0 -132
- package/dist/SearchResultsStates-D62WbDTD.js +0 -110
- 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-Cb6Iec6f.cjs} +0 -0
- /package/dist/{ButtonBase-C_uKnl48.js → ButtonBase-D2eXuapk.js} +0 -0
|
@@ -1,12 +1,67 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { t as require_jsx_runtime } from "./jsx-runtime-Dg2m6dxZ-CU_SzTu4.js";
|
|
2
|
+
import { t as TextInput } from "./TextInput-CsdOvLBQ.js";
|
|
3
|
+
import { n as colorVar, t as ColorNames } from "./colorsConfig-CFI1KN8R.js";
|
|
4
4
|
import React, { useImperativeHandle, useRef } from "react";
|
|
5
5
|
import classNames from "classnames";
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
+
|
|
8
|
+
//#region ../icons/dist/MagnifyingGlassStarVariant.js
|
|
9
|
+
var import_jsx_runtime$1 = require_jsx_runtime();
|
|
10
|
+
const SvgMagnifyingGlassStarVariant = (props) => /* @__PURE__ */ (0, import_jsx_runtime$1.jsxs)("svg", {
|
|
11
|
+
width: 23,
|
|
12
|
+
height: 21,
|
|
13
|
+
viewBox: "0 0 23 21",
|
|
14
|
+
fill: "none",
|
|
15
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
16
|
+
...props,
|
|
17
|
+
children: [
|
|
18
|
+
/* @__PURE__ */ (0, import_jsx_runtime$1.jsx)("path", {
|
|
19
|
+
d: "M16.9017 1.07275L17.6915 3.12627C17.82 3.46022 17.8842 3.62719 17.984 3.76764C18.0726 3.89211 18.1813 4.00087 18.3058 4.08938C18.4462 4.18925 18.6132 4.25347 18.9472 4.38191L21.0007 5.17172L18.9472 5.96154C18.6132 6.08998 18.4462 6.1542 18.3058 6.25406C18.1813 6.34257 18.0726 6.45133 17.984 6.57581C17.8842 6.71625 17.82 6.88323 17.6915 7.21717L16.9017 9.27069L16.1119 7.21717C15.9834 6.88323 15.9192 6.71625 15.8194 6.57581C15.7308 6.45133 15.6221 6.34257 15.4976 6.25406C15.3572 6.1542 15.1902 6.08998 14.8563 5.96154L12.8027 5.17172L14.8563 4.38191C15.1902 4.25347 15.3572 4.18925 15.4976 4.08938C15.6221 4.00087 15.7308 3.89211 15.8194 3.76764C15.9192 3.62719 15.9834 3.46022 16.1119 3.12627L16.9017 1.07275Z",
|
|
20
|
+
fill: "#595959",
|
|
21
|
+
stroke: "#595959",
|
|
22
|
+
strokeWidth: .910882,
|
|
23
|
+
strokeLinecap: "round",
|
|
24
|
+
strokeLinejoin: "round"
|
|
25
|
+
}),
|
|
26
|
+
/* @__PURE__ */ (0, import_jsx_runtime$1.jsx)("path", {
|
|
27
|
+
d: "M11.5954 2.64387C10.5786 1.97247 9.36711 1.56895 8.05921 1.53651C4.34389 1.44434 1.25732 4.38149 1.16515 8.09681C1.07299 11.8121 4.01013 14.8987 7.72546 14.9909C10.9196 15.0701 13.6491 12.9102 14.4105 9.94181",
|
|
28
|
+
stroke: "#595959",
|
|
29
|
+
strokeWidth: 1.5,
|
|
30
|
+
strokeLinecap: "round"
|
|
31
|
+
}),
|
|
32
|
+
/* @__PURE__ */ (0, import_jsx_runtime$1.jsx)("path", {
|
|
33
|
+
d: "M13.75 15.7759L16.9274 19.2557",
|
|
34
|
+
stroke: "#595959",
|
|
35
|
+
strokeWidth: 1.5,
|
|
36
|
+
strokeLinecap: "round"
|
|
37
|
+
})
|
|
38
|
+
]
|
|
39
|
+
});
|
|
40
|
+
var MagnifyingGlassStarVariant_default = SvgMagnifyingGlassStarVariant;
|
|
9
41
|
|
|
42
|
+
//#endregion
|
|
43
|
+
//#region ../icons/dist/IconClose.js
|
|
44
|
+
var import_jsx_runtime = require_jsx_runtime();
|
|
45
|
+
const SvgIconClose = (props) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", {
|
|
46
|
+
width: 24,
|
|
47
|
+
height: 24,
|
|
48
|
+
viewBox: "0 0 24 24",
|
|
49
|
+
fill: "none",
|
|
50
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
51
|
+
...props,
|
|
52
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", {
|
|
53
|
+
cx: 12,
|
|
54
|
+
cy: 12,
|
|
55
|
+
r: 12,
|
|
56
|
+
fill: "#FCFCF9"
|
|
57
|
+
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
58
|
+
d: "M16.167 6L11.5 10.667L6.833 6L5 7.833L9.667 12.5L5 17.167L6.833 19L11.5 14.333L16.167 19L18 17.167L13.333 12.5L18 7.833L16.167 6Z",
|
|
59
|
+
fill: "currentColor"
|
|
60
|
+
})]
|
|
61
|
+
});
|
|
62
|
+
var IconClose_default = SvgIconClose;
|
|
63
|
+
|
|
64
|
+
//#endregion
|
|
10
65
|
//#region src/components/SearchInput/searchInputVariants.ts
|
|
11
66
|
const searchInputVariantClasses = { standard: {
|
|
12
67
|
searchInputIconColor: "transparent",
|
|
@@ -48,7 +103,7 @@ const SearchInput = React.forwardRef(({ searchInputVariant = "standard", value,
|
|
|
48
103
|
children: [
|
|
49
104
|
/* @__PURE__ */ jsx("div", {
|
|
50
105
|
className: "spiffy-tw-absolute spiffy-tw-left-3 spiffy-tw-top-1/2 spiffy-tw--translate-y-1/2",
|
|
51
|
-
children: /* @__PURE__ */ jsx(
|
|
106
|
+
children: /* @__PURE__ */ jsx(MagnifyingGlassStarVariant_default, {
|
|
52
107
|
className: value.length > 0 ? magnifyingGlassClassesActive : magnifyingGlassClassesInactive,
|
|
53
108
|
stroke: iconColor,
|
|
54
109
|
strokeWidth: "1px"
|
|
@@ -80,11 +135,11 @@ const SearchInput = React.forwardRef(({ searchInputVariant = "standard", value,
|
|
|
80
135
|
className: "spiffy-tw-absolute spiffy-tw-right-5 spiffy-tw-top-1/2 spiffy-tw--translate-y-1/2 spiffy-tw-text-neutral-500 hover:spiffy-tw-text-neutral-700",
|
|
81
136
|
"aria-label": "Clear search input",
|
|
82
137
|
type: "button",
|
|
83
|
-
children: /* @__PURE__ */ jsx(
|
|
138
|
+
children: /* @__PURE__ */ jsx(IconClose_default, { className: closeButtonIconClassName })
|
|
84
139
|
})
|
|
85
140
|
]
|
|
86
141
|
});
|
|
87
142
|
});
|
|
88
143
|
|
|
89
144
|
//#endregion
|
|
90
|
-
export {
|
|
145
|
+
export { searchInputVariantClasses as n, SearchInput as t };
|
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import {
|
|
3
|
-
import "../TextInput-CmxnphaT.js";
|
|
4
|
-
import "../colorVar-BJve0Z4_.js";
|
|
5
|
-
import { SearchInput, searchInputVariantClasses } from "../SearchInput-C3nNkmBm.js";
|
|
6
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
1
|
+
import { t as SearchAutocomplete } from "./SearchAutocomplete-DNe193EV.js";
|
|
2
|
+
import { n as searchInputVariantClasses, t as SearchInput } from "./SearchInput-kLhxkpgq.js";
|
|
7
3
|
import classNames from "classnames";
|
|
4
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
5
|
import { SEARCH_INPUT_TESTID } from "@envive-ai/react-hooks/config/locators/components/search";
|
|
9
6
|
|
|
10
7
|
//#region src/components/SearchInputForm/SearchInputForm.tsx
|
|
11
|
-
const SearchInputForm = ({ searchInputVariant, searchText, autocompleteResults, searchBoxPlaceholder, focusedOptionId, shouldShowAutocomplete, focusedIndex, onKeyDown, onAutocompleteSelect, onSearchInputChange, onSearchSubmit, onSearchInputFocus, onSearchInputBlur }) => {
|
|
8
|
+
const SearchInputForm = ({ searchInputVariant, searchText, autocompleteResults, searchBoxPlaceholder, focusedOptionId, shouldShowAutocomplete, focusedIndex, onKeyDown, onAutocompleteSelect, onSearchInputChange, onSearchSubmit, onSearchInputFocus, onSearchInputBlur, searchInputRef }) => {
|
|
12
9
|
const { autocompleteIconColor } = searchInputVariantClasses[searchInputVariant];
|
|
13
10
|
const containerClasses = classNames("spiffy-tw-relative", "spiffy-tw-w-full");
|
|
14
11
|
const formClasses = classNames({
|
|
@@ -35,7 +32,8 @@ const SearchInputForm = ({ searchInputVariant, searchText, autocompleteResults,
|
|
|
35
32
|
onKeyDown,
|
|
36
33
|
onChange: onSearchInputChange,
|
|
37
34
|
onFocus: onSearchInputFocus,
|
|
38
|
-
onBlur: onSearchInputBlur
|
|
35
|
+
onBlur: onSearchInputBlur,
|
|
36
|
+
ref: searchInputRef
|
|
39
37
|
})
|
|
40
38
|
}), shouldShowAutocomplete && /* @__PURE__ */ jsx("div", {
|
|
41
39
|
className: autocompleteContainerClasses,
|
|
@@ -52,4 +50,4 @@ const SearchInputForm = ({ searchInputVariant, searchText, autocompleteResults,
|
|
|
52
50
|
};
|
|
53
51
|
|
|
54
52
|
//#endregion
|
|
55
|
-
export { SearchInputForm };
|
|
53
|
+
export { SearchInputForm as t };
|
|
@@ -1,18 +1,13 @@
|
|
|
1
|
-
const require_chunk = require('
|
|
2
|
-
require('
|
|
3
|
-
const
|
|
4
|
-
require('../TextInput-CYTko3-n.cjs');
|
|
5
|
-
require('../colorVar-B5CLhSof.cjs');
|
|
6
|
-
const require_SearchInput = require('../SearchInput-BA6bepV_.cjs');
|
|
7
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
|
-
react_jsx_runtime = require_chunk.__toESM(react_jsx_runtime);
|
|
1
|
+
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
|
+
const require_SearchAutocomplete = require('./SearchAutocomplete-BdTWETDB.cjs');
|
|
3
|
+
const require_SearchInput = require('./SearchInput-CImlqrau.cjs');
|
|
9
4
|
let classnames = require("classnames");
|
|
10
5
|
classnames = require_chunk.__toESM(classnames);
|
|
6
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
11
7
|
let __envive_ai_react_hooks_config_locators_components_search = require("@envive-ai/react-hooks/config/locators/components/search");
|
|
12
|
-
__envive_ai_react_hooks_config_locators_components_search = require_chunk.__toESM(__envive_ai_react_hooks_config_locators_components_search);
|
|
13
8
|
|
|
14
9
|
//#region src/components/SearchInputForm/SearchInputForm.tsx
|
|
15
|
-
const SearchInputForm = ({ searchInputVariant, searchText, autocompleteResults, searchBoxPlaceholder, focusedOptionId, shouldShowAutocomplete, focusedIndex, onKeyDown, onAutocompleteSelect, onSearchInputChange, onSearchSubmit, onSearchInputFocus, onSearchInputBlur }) => {
|
|
10
|
+
const SearchInputForm = ({ searchInputVariant, searchText, autocompleteResults, searchBoxPlaceholder, focusedOptionId, shouldShowAutocomplete, focusedIndex, onKeyDown, onAutocompleteSelect, onSearchInputChange, onSearchSubmit, onSearchInputFocus, onSearchInputBlur, searchInputRef }) => {
|
|
16
11
|
const { autocompleteIconColor } = require_SearchInput.searchInputVariantClasses[searchInputVariant];
|
|
17
12
|
const containerClasses = (0, classnames.default)("spiffy-tw-relative", "spiffy-tw-w-full");
|
|
18
13
|
const formClasses = (0, classnames.default)({
|
|
@@ -39,7 +34,8 @@ const SearchInputForm = ({ searchInputVariant, searchText, autocompleteResults,
|
|
|
39
34
|
onKeyDown,
|
|
40
35
|
onChange: onSearchInputChange,
|
|
41
36
|
onFocus: onSearchInputFocus,
|
|
42
|
-
onBlur: onSearchInputBlur
|
|
37
|
+
onBlur: onSearchInputBlur,
|
|
38
|
+
ref: searchInputRef
|
|
43
39
|
})
|
|
44
40
|
}), shouldShowAutocomplete && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
45
41
|
className: autocompleteContainerClasses,
|
|
@@ -56,4 +52,9 @@ const SearchInputForm = ({ searchInputVariant, searchText, autocompleteResults,
|
|
|
56
52
|
};
|
|
57
53
|
|
|
58
54
|
//#endregion
|
|
59
|
-
exports
|
|
55
|
+
Object.defineProperty(exports, 'SearchInputForm', {
|
|
56
|
+
enumerable: true,
|
|
57
|
+
get: function () {
|
|
58
|
+
return SearchInputForm;
|
|
59
|
+
}
|
|
60
|
+
});
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
|
+
const require_jsx_runtime_Dg2m6dxZ = require('./jsx-runtime-Dg2m6dxZ-B-pkyyHT.cjs');
|
|
3
|
+
const require_ButtonBase = require('./ButtonBase-C44g6llb.cjs');
|
|
4
|
+
let react = require("react");
|
|
5
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
|
+
|
|
7
|
+
//#region ../icons/dist/SettingsVariant.js
|
|
8
|
+
var import_jsx_runtime = require_jsx_runtime_Dg2m6dxZ.require_jsx_runtime();
|
|
9
|
+
const SvgSettingsVariant = (props) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", {
|
|
10
|
+
width: 28,
|
|
11
|
+
height: 28,
|
|
12
|
+
viewBox: "0 0 28 28",
|
|
13
|
+
fill: "none",
|
|
14
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
15
|
+
...props,
|
|
16
|
+
children: [
|
|
17
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", {
|
|
18
|
+
cx: 3.5,
|
|
19
|
+
cy: 3.5,
|
|
20
|
+
r: 3.03346,
|
|
21
|
+
transform: "matrix(-1 0 0 1 22.4004 0)",
|
|
22
|
+
stroke: "#767676",
|
|
23
|
+
strokeWidth: .933083
|
|
24
|
+
}),
|
|
25
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
26
|
+
d: "M14 3.5L0 3.5",
|
|
27
|
+
stroke: "#767676",
|
|
28
|
+
strokeWidth: .933083
|
|
29
|
+
}),
|
|
30
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
31
|
+
d: "M28 3.5L23.5 3.5",
|
|
32
|
+
stroke: "#767676",
|
|
33
|
+
strokeWidth: .933083
|
|
34
|
+
}),
|
|
35
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", {
|
|
36
|
+
cx: 9.09961,
|
|
37
|
+
cy: 13.5,
|
|
38
|
+
r: 3.03346,
|
|
39
|
+
stroke: "#767676",
|
|
40
|
+
strokeWidth: .933083
|
|
41
|
+
}),
|
|
42
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
43
|
+
d: "M14 13.5L28 13.5",
|
|
44
|
+
stroke: "#767676",
|
|
45
|
+
strokeWidth: .933083
|
|
46
|
+
}),
|
|
47
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
48
|
+
d: "M0 13.5L4.5 13.5",
|
|
49
|
+
stroke: "#767676",
|
|
50
|
+
strokeWidth: .933083
|
|
51
|
+
}),
|
|
52
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", {
|
|
53
|
+
cx: 3.5,
|
|
54
|
+
cy: 3.5,
|
|
55
|
+
r: 3.03346,
|
|
56
|
+
transform: "matrix(-1 0 0 1 22.4004 20)",
|
|
57
|
+
stroke: "#767676",
|
|
58
|
+
strokeWidth: .933083
|
|
59
|
+
}),
|
|
60
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
61
|
+
d: "M14 23.5H0",
|
|
62
|
+
stroke: "#767676",
|
|
63
|
+
strokeWidth: .933083
|
|
64
|
+
}),
|
|
65
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
66
|
+
d: "M28 23.5L23.5 23.5",
|
|
67
|
+
stroke: "#767676",
|
|
68
|
+
strokeWidth: .933083
|
|
69
|
+
})
|
|
70
|
+
]
|
|
71
|
+
});
|
|
72
|
+
var SettingsVariant_default = SvgSettingsVariant;
|
|
73
|
+
|
|
74
|
+
//#endregion
|
|
75
|
+
//#region src/components/SearchResultsFilterButton/SearchResultsFilterButton.tsx
|
|
76
|
+
const SearchResultsFilterButton = ({ setIsOpen, filterButtonText }) => {
|
|
77
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ButtonBase.ButtonBase, {
|
|
78
|
+
onClick: (0, react.useCallback)(() => {
|
|
79
|
+
setIsOpen(true);
|
|
80
|
+
}, [setIsOpen]),
|
|
81
|
+
icon: SettingsVariant_default,
|
|
82
|
+
iconClass: "spiffy-tw-w-[28px] spiffy-tw-h-[28px] spiffy-tw-object-center",
|
|
83
|
+
text: filterButtonText,
|
|
84
|
+
textClass: "spiffy-tw-uppercase spiffy-tw-text-[--spiffy-colors-text-primary] spiffy-tw-hidden md:spiffy-tw-block",
|
|
85
|
+
buttonClass: "spiffy-tw-flex-row spiffy-tw-pl-[16px] sm:spiffy-tw-pl-0 sm:spiffy-tw-px-4 sm:spiffy-tw-gap-[8px]",
|
|
86
|
+
disablePadding: true
|
|
87
|
+
});
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
//#endregion
|
|
91
|
+
Object.defineProperty(exports, 'SearchResultsFilterButton', {
|
|
92
|
+
enumerable: true,
|
|
93
|
+
get: function () {
|
|
94
|
+
return SearchResultsFilterButton;
|
|
95
|
+
}
|
|
96
|
+
});
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { t as require_jsx_runtime } from "./jsx-runtime-Dg2m6dxZ-CU_SzTu4.js";
|
|
2
|
+
import { t as ButtonBase } from "./ButtonBase-Cjo-fBg2.js";
|
|
3
|
+
import { useCallback } from "react";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region ../icons/dist/SettingsVariant.js
|
|
7
|
+
var import_jsx_runtime = require_jsx_runtime();
|
|
8
|
+
const SvgSettingsVariant = (props) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", {
|
|
9
|
+
width: 28,
|
|
10
|
+
height: 28,
|
|
11
|
+
viewBox: "0 0 28 28",
|
|
12
|
+
fill: "none",
|
|
13
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
14
|
+
...props,
|
|
15
|
+
children: [
|
|
16
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", {
|
|
17
|
+
cx: 3.5,
|
|
18
|
+
cy: 3.5,
|
|
19
|
+
r: 3.03346,
|
|
20
|
+
transform: "matrix(-1 0 0 1 22.4004 0)",
|
|
21
|
+
stroke: "#767676",
|
|
22
|
+
strokeWidth: .933083
|
|
23
|
+
}),
|
|
24
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
25
|
+
d: "M14 3.5L0 3.5",
|
|
26
|
+
stroke: "#767676",
|
|
27
|
+
strokeWidth: .933083
|
|
28
|
+
}),
|
|
29
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
30
|
+
d: "M28 3.5L23.5 3.5",
|
|
31
|
+
stroke: "#767676",
|
|
32
|
+
strokeWidth: .933083
|
|
33
|
+
}),
|
|
34
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", {
|
|
35
|
+
cx: 9.09961,
|
|
36
|
+
cy: 13.5,
|
|
37
|
+
r: 3.03346,
|
|
38
|
+
stroke: "#767676",
|
|
39
|
+
strokeWidth: .933083
|
|
40
|
+
}),
|
|
41
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
42
|
+
d: "M14 13.5L28 13.5",
|
|
43
|
+
stroke: "#767676",
|
|
44
|
+
strokeWidth: .933083
|
|
45
|
+
}),
|
|
46
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
47
|
+
d: "M0 13.5L4.5 13.5",
|
|
48
|
+
stroke: "#767676",
|
|
49
|
+
strokeWidth: .933083
|
|
50
|
+
}),
|
|
51
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", {
|
|
52
|
+
cx: 3.5,
|
|
53
|
+
cy: 3.5,
|
|
54
|
+
r: 3.03346,
|
|
55
|
+
transform: "matrix(-1 0 0 1 22.4004 20)",
|
|
56
|
+
stroke: "#767676",
|
|
57
|
+
strokeWidth: .933083
|
|
58
|
+
}),
|
|
59
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
60
|
+
d: "M14 23.5H0",
|
|
61
|
+
stroke: "#767676",
|
|
62
|
+
strokeWidth: .933083
|
|
63
|
+
}),
|
|
64
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
65
|
+
d: "M28 23.5L23.5 23.5",
|
|
66
|
+
stroke: "#767676",
|
|
67
|
+
strokeWidth: .933083
|
|
68
|
+
})
|
|
69
|
+
]
|
|
70
|
+
});
|
|
71
|
+
var SettingsVariant_default = SvgSettingsVariant;
|
|
72
|
+
|
|
73
|
+
//#endregion
|
|
74
|
+
//#region src/components/SearchResultsFilterButton/SearchResultsFilterButton.tsx
|
|
75
|
+
const SearchResultsFilterButton = ({ setIsOpen, filterButtonText }) => {
|
|
76
|
+
return /* @__PURE__ */ jsx(ButtonBase, {
|
|
77
|
+
onClick: useCallback(() => {
|
|
78
|
+
setIsOpen(true);
|
|
79
|
+
}, [setIsOpen]),
|
|
80
|
+
icon: SettingsVariant_default,
|
|
81
|
+
iconClass: "spiffy-tw-w-[28px] spiffy-tw-h-[28px] spiffy-tw-object-center",
|
|
82
|
+
text: filterButtonText,
|
|
83
|
+
textClass: "spiffy-tw-uppercase spiffy-tw-text-[--spiffy-colors-text-primary] spiffy-tw-hidden md:spiffy-tw-block",
|
|
84
|
+
buttonClass: "spiffy-tw-flex-row spiffy-tw-pl-[16px] sm:spiffy-tw-pl-0 sm:spiffy-tw-px-4 sm:spiffy-tw-gap-[8px]",
|
|
85
|
+
disablePadding: true
|
|
86
|
+
});
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
//#endregion
|
|
90
|
+
export { SearchResultsFilterButton as t };
|
package/dist/{SearchResultsFilterSidebar/index.cjs → SearchResultsFilterSidebar-BRFONIEq.cjs}
RENAMED
|
@@ -1,20 +1,9 @@
|
|
|
1
|
-
const require_chunk = require('
|
|
2
|
-
require('
|
|
3
|
-
require('
|
|
4
|
-
require('
|
|
5
|
-
const require_ButtonBase = require('../ButtonBase-B6vDKbGQ.cjs');
|
|
6
|
-
require('../ButtonBase-DbWQ25n-.cjs');
|
|
7
|
-
require('../ModalSheet-BvM2PJbH.cjs');
|
|
8
|
-
require('../RadioButton-DP-qs5cy.cjs');
|
|
9
|
-
require('../RadioButtonGroup-CJPWfAaA.cjs');
|
|
10
|
-
const require_SearchFilter = require('../SearchFilter-BLi6E9Wx.cjs');
|
|
11
|
-
require('../ToggleButton-CvxNLMe_.cjs');
|
|
12
|
-
require('../colorVar-B5CLhSof.cjs');
|
|
13
|
-
const require_searchFilterSidebarVariants = require('../searchFilterSidebarVariants-BQ7OC862.cjs');
|
|
14
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
15
|
-
react_jsx_runtime = require_chunk.__toESM(react_jsx_runtime);
|
|
1
|
+
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
|
+
const require_ButtonBase = require('./ButtonBase-C44g6llb.cjs');
|
|
3
|
+
const require_SearchFilter = require('./SearchFilter-BRtCSuAn.cjs');
|
|
4
|
+
const require_searchFilterSidebarVariants = require('./searchFilterSidebarVariants-CjyRGKK_.cjs');
|
|
16
5
|
let react = require("react");
|
|
17
|
-
|
|
6
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
18
7
|
|
|
19
8
|
//#region ../icons/src/SettingsVariant.tsx
|
|
20
9
|
const SvgSettingsVariant = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
@@ -121,5 +110,9 @@ const SearchResultsFilter = ({ productCount, isOpen, setIsOpen, searchFilters, s
|
|
|
121
110
|
};
|
|
122
111
|
|
|
123
112
|
//#endregion
|
|
124
|
-
exports
|
|
125
|
-
|
|
113
|
+
Object.defineProperty(exports, 'SearchResultsFilter', {
|
|
114
|
+
enumerable: true,
|
|
115
|
+
get: function () {
|
|
116
|
+
return SearchResultsFilter;
|
|
117
|
+
}
|
|
118
|
+
});
|
|
@@ -1,17 +1,8 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
3
|
-
import "
|
|
4
|
-
import { ButtonBase } from "../ButtonBase-Bpc7nOpz.js";
|
|
5
|
-
import "../ButtonBase-C_uKnl48.js";
|
|
6
|
-
import "../ModalSheet-DFva7krP.js";
|
|
7
|
-
import "../RadioButton-CQ6qOvBl.js";
|
|
8
|
-
import "../RadioButtonGroup-Ce8cKqYw.js";
|
|
9
|
-
import { SearchFilter, SearchFilterHeader } from "../SearchFilter-wHwOym_n.js";
|
|
10
|
-
import "../ToggleButton-V9Qsaks7.js";
|
|
11
|
-
import "../colorVar-BJve0Z4_.js";
|
|
12
|
-
import { searchFilterSidebarVariantClasses } from "../searchFilterSidebarVariants-C_rWIcxf.js";
|
|
13
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
1
|
+
import { t as ButtonBase } from "./ButtonBase-Cjo-fBg2.js";
|
|
2
|
+
import { n as SearchFilter, o as SearchFilterHeader } from "./SearchFilter-DvJx0b0W.js";
|
|
3
|
+
import { t as searchFilterSidebarVariantClasses } from "./searchFilterSidebarVariants-gkgkflXx.js";
|
|
14
4
|
import { useCallback } from "react";
|
|
5
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
15
6
|
|
|
16
7
|
//#region ../icons/src/SettingsVariant.tsx
|
|
17
8
|
const SvgSettingsVariant = (props) => /* @__PURE__ */ jsxs("svg", {
|
|
@@ -118,4 +109,4 @@ const SearchResultsFilter = ({ productCount, isOpen, setIsOpen, searchFilters, s
|
|
|
118
109
|
};
|
|
119
110
|
|
|
120
111
|
//#endregion
|
|
121
|
-
export { SearchResultsFilter
|
|
112
|
+
export { SearchResultsFilter as t };
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
|
+
const require_Typography = require('./Typography-Ds4gfOJz.cjs');
|
|
3
|
+
const require_jsx_runtime_Dg2m6dxZ = require('./jsx-runtime-Dg2m6dxZ-B-pkyyHT.cjs');
|
|
4
|
+
const require_DynamicFiltersScrollbar = require('./DynamicFiltersScrollbar-IO886VXD.cjs');
|
|
5
|
+
const require_ProductCard = require('./ProductCard-C7rZyWpj.cjs');
|
|
6
|
+
const require_ProductGrid = require('./ProductGrid-0A8vml2y.cjs');
|
|
7
|
+
const require_RecommendedProducts = require('./RecommendedProducts-qkPxXVJn.cjs');
|
|
8
|
+
const require_searchFilterSidebarVariants = require('./searchFilterSidebarVariants-CjyRGKK_.cjs');
|
|
9
|
+
const require_SparkleAnimation = require('./SparkleAnimation-BikAiAmb.cjs');
|
|
10
|
+
let framer_motion = require("framer-motion");
|
|
11
|
+
let classnames = require("classnames");
|
|
12
|
+
classnames = require_chunk.__toESM(classnames);
|
|
13
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
14
|
+
|
|
15
|
+
//#region ../icons/dist/Sparkles.js
|
|
16
|
+
var import_jsx_runtime = require_jsx_runtime_Dg2m6dxZ.require_jsx_runtime();
|
|
17
|
+
const SvgSparkles = (props) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", {
|
|
18
|
+
width: 24,
|
|
19
|
+
height: 24,
|
|
20
|
+
viewBox: "0 0 24 24",
|
|
21
|
+
fill: "currentColor",
|
|
22
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
23
|
+
...props,
|
|
24
|
+
children: [
|
|
25
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
26
|
+
d: "M8.18658 5.99609L9.47499 9.34597C9.68451 9.89072 9.78927 10.1631 9.95218 10.3922C10.0966 10.5953 10.274 10.7727 10.477 10.9171C10.7061 11.08 10.9785 11.1847 11.5233 11.3943L14.8732 12.6827L11.5233 13.9711C10.9785 14.1806 10.7061 14.2854 10.477 14.4483C10.274 14.5927 10.0966 14.7701 9.95218 14.9731C9.78927 15.2022 9.68451 15.4746 9.47499 16.0194L8.18658 19.3693L6.89816 16.0194C6.68864 15.4746 6.58388 15.2022 6.42097 14.9731C6.27659 14.7701 6.09917 14.5927 5.89612 14.4483C5.66701 14.2854 5.39463 14.1806 4.84988 13.9711L1.5 12.6827L4.84987 11.3943C5.39463 11.1847 5.66701 11.08 5.89612 10.9171C6.09917 10.7727 6.27659 10.5953 6.42097 10.3922C6.58388 10.1631 6.68864 9.89072 6.89816 9.34597L8.18658 5.99609Z",
|
|
27
|
+
fill: "currentColor",
|
|
28
|
+
stroke: "currentColor",
|
|
29
|
+
strokeWidth: 1.11443,
|
|
30
|
+
strokeLinecap: "round",
|
|
31
|
+
strokeLinejoin: "round"
|
|
32
|
+
}),
|
|
33
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
34
|
+
d: "M19.6402 14.3135L20.2844 15.9884C20.3891 16.2608 20.4415 16.397 20.523 16.5115C20.5952 16.6131 20.6839 16.7018 20.7854 16.774C20.8999 16.8554 21.0361 16.9078 21.3085 17.0126L22.9835 17.6568L21.3085 18.301C21.0361 18.4057 20.8999 18.4581 20.7854 18.5396C20.6839 18.6118 20.5952 18.7005 20.523 18.802C20.4415 18.9166 20.3891 19.0527 20.2844 19.3251L19.6402 21.0001L18.996 19.3251C18.8912 19.0527 18.8388 18.9166 18.7574 18.802C18.6852 18.7005 18.5965 18.6118 18.4949 18.5396C18.3804 18.4581 18.2442 18.4057 17.9718 18.301L16.2969 17.6568L17.9718 17.0126C18.2442 16.9078 18.3804 16.8554 18.4949 16.774C18.5965 16.7018 18.6852 16.6131 18.7574 16.5115C18.8388 16.397 18.8912 16.2608 18.996 15.9884L19.6402 14.3135Z",
|
|
35
|
+
fill: "currentColor",
|
|
36
|
+
stroke: "currentColor",
|
|
37
|
+
strokeWidth: 1.11443,
|
|
38
|
+
strokeLinecap: "round",
|
|
39
|
+
strokeLinejoin: "round"
|
|
40
|
+
}),
|
|
41
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
42
|
+
d: "M17.0913 3L17.7355 4.67494C17.8403 4.94732 17.8927 5.0835 17.9741 5.19806C18.0463 5.29959 18.135 5.38829 18.2366 5.46049C18.3511 5.54194 18.4873 5.59432 18.7597 5.69908L20.4346 6.34329L18.7597 6.9875C18.4873 7.09226 18.3511 7.14464 18.2366 7.22609C18.135 7.29829 18.0463 7.38699 17.9741 7.48852C17.8927 7.60308 17.8403 7.73927 17.7355 8.01165L17.0913 9.68658L16.4471 8.01165C16.3424 7.73927 16.29 7.60308 16.2085 7.48852C16.1363 7.38699 16.0476 7.29829 15.9461 7.22609C15.8315 7.14464 15.6954 7.09226 15.423 6.9875L13.748 6.34329L15.423 5.69908C15.6954 5.59432 15.8315 5.54194 15.9461 5.46049C16.0476 5.38829 16.1363 5.29959 16.2085 5.19806C16.29 5.0835 16.3424 4.94731 16.4471 4.67494L17.0913 3Z",
|
|
43
|
+
fill: "currentColor",
|
|
44
|
+
stroke: "currentColor",
|
|
45
|
+
strokeWidth: 1.11443,
|
|
46
|
+
strokeLinecap: "round",
|
|
47
|
+
strokeLinejoin: "round"
|
|
48
|
+
})
|
|
49
|
+
]
|
|
50
|
+
});
|
|
51
|
+
var Sparkles_default = SvgSparkles;
|
|
52
|
+
|
|
53
|
+
//#endregion
|
|
54
|
+
//#region src/components/SearchResultsStates/NoSearchResultsFound.tsx
|
|
55
|
+
const NoSearchResultsFound = ({ containerPaddingClasses, noResultsFoundText, sparkleIconColor = "var(--spiffy-colors-accent-primary)", recommendedProducts, searchText, merchantShortName, productGridVariant }) => {
|
|
56
|
+
const containerClasses = (0, classnames.default)(containerPaddingClasses, "spiffy-tw-mt-6", { "spiffy-tw-mb-[100vh]": recommendedProducts.length === 0 });
|
|
57
|
+
let textPrompt;
|
|
58
|
+
if (recommendedProducts.length > 0) textPrompt = noResultsFoundText ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: noResultsFoundText }) : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", { children: [
|
|
59
|
+
"I’m sorry, I wasn’t able to find an exact match for",
|
|
60
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("strong", {
|
|
61
|
+
className: "spiffy-tw-font-semibold",
|
|
62
|
+
children: [" ", `"${searchText}".`]
|
|
63
|
+
}),
|
|
64
|
+
" Try changing your filters or adjusting your search query. In the meantime, explore some of our top-selling products below."
|
|
65
|
+
] });
|
|
66
|
+
else textPrompt = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", { children: [
|
|
67
|
+
"I’m sorry, I wasn’t able to find an exact match for",
|
|
68
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("strong", {
|
|
69
|
+
className: "spiffy-tw-font-semibold",
|
|
70
|
+
children: [" ", `"${searchText}."`]
|
|
71
|
+
}),
|
|
72
|
+
" Try changing your filters or adjusting your search query."
|
|
73
|
+
] });
|
|
74
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
75
|
+
className: containerClasses,
|
|
76
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
77
|
+
className: "spiffy-tw-flex spiffy-tw-items-start spiffy-tw-gap-2",
|
|
78
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Sparkles_default, {
|
|
79
|
+
className: "spiffy-tw-w-[24px] spiffy-tw-h-[24px]",
|
|
80
|
+
style: { color: sparkleIconColor }
|
|
81
|
+
}) }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Typography.Typography, {
|
|
82
|
+
variant: "body2",
|
|
83
|
+
children: textPrompt
|
|
84
|
+
})]
|
|
85
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_RecommendedProducts.RecommendedProducts, {
|
|
86
|
+
retrievedProducts: recommendedProducts,
|
|
87
|
+
merchantShortName,
|
|
88
|
+
productCardConfig: {
|
|
89
|
+
variant: "minimal",
|
|
90
|
+
hoverVariant: "none",
|
|
91
|
+
layoutVariant: "square"
|
|
92
|
+
},
|
|
93
|
+
productGridVariant
|
|
94
|
+
})]
|
|
95
|
+
});
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
//#endregion
|
|
99
|
+
//#region src/components/SearchResultsStates/SearchResultsGrid.tsx
|
|
100
|
+
const SearchResultsGrid = ({ productList, productCardConfig, merchantShortName, availableDynamicFilters, searchFilterSidebarVariant, productGridVariant, selectedFilterOptions, containerXPaddingClasses, productGridClasses, onRemoveFilter, onToggleDynamicFilter, onProductClick }) => {
|
|
101
|
+
const sharedFilterBarClasses = (0, classnames.default)("spiffy-suggestion-bar", "spiffy-tw-no-scrollbar", "spiffy-tw-flex", "spiffy-tw-flex-row", "spiffy-tw-gap-2", "spiffy-tw-mb-[16px]", "spiffy-tw-overflow-x-scroll", containerXPaddingClasses);
|
|
102
|
+
const filterBarClasses = (0, classnames.default)(sharedFilterBarClasses, "spiffy-tw-mt-[24px]");
|
|
103
|
+
const appliedFilterBarClasses = (0, classnames.default)(sharedFilterBarClasses, "spiffy-tw-mb-[32px]", "spiffy-tw-mt-[8px]");
|
|
104
|
+
const { filterDefaultClasses, filterHoverClasses, appliedFilterBackgroundClasses } = require_searchFilterSidebarVariants.searchFilterSidebarVariantClasses[searchFilterSidebarVariant];
|
|
105
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(framer_motion.motion.div, {
|
|
106
|
+
className: "spiffy-tw-justify-center spiffy-tw-w-full spiffy-tw-overflow-hidden",
|
|
107
|
+
initial: { opacity: 0 },
|
|
108
|
+
animate: { opacity: 1 },
|
|
109
|
+
exit: { opacity: 0 },
|
|
110
|
+
transition: { duration: .2 },
|
|
111
|
+
children: [
|
|
112
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_DynamicFiltersScrollbar.AppliedFiltersScrollbar, {
|
|
113
|
+
selectedFilterOptions,
|
|
114
|
+
filterBarClassNames: appliedFilterBarClasses,
|
|
115
|
+
filterDefaultClasses,
|
|
116
|
+
filterHoverClasses,
|
|
117
|
+
appliedFilterBackgroundClasses,
|
|
118
|
+
onRemoveFilter
|
|
119
|
+
}),
|
|
120
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_DynamicFiltersScrollbar.DynamicFiltersScrollbar, {
|
|
121
|
+
availableDynamicFilters,
|
|
122
|
+
filterBarClassNames: filterBarClasses,
|
|
123
|
+
filterDefaultClasses,
|
|
124
|
+
filterHoverClasses,
|
|
125
|
+
onToggleDynamicFilter
|
|
126
|
+
}),
|
|
127
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ProductGrid.ProductGrid, {
|
|
128
|
+
productList,
|
|
129
|
+
productGridVariant,
|
|
130
|
+
productGridClasses,
|
|
131
|
+
productCardConfig,
|
|
132
|
+
merchantShortName,
|
|
133
|
+
onProductClick
|
|
134
|
+
})
|
|
135
|
+
]
|
|
136
|
+
});
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
//#endregion
|
|
140
|
+
//#region src/components/SearchResultsStates/SearchResultsLoadingGrid.tsx
|
|
141
|
+
const SearchResultsLoadingGrid = ({ productGridVariant, productGridClasses, sparkleIconColor = "var(--spiffy-colors-accent-primary)" }) => {
|
|
142
|
+
const { productCardLayoutVariant, productCardImageAspectRatio } = require_ProductGrid.productGridVariantClasses[productGridVariant];
|
|
143
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(framer_motion.motion.div, {
|
|
144
|
+
className: "spiffy-tw-justify-center spiffy-tw-w-full spiffy-tw-overflow-hidden",
|
|
145
|
+
initial: { opacity: 0 },
|
|
146
|
+
animate: { opacity: 1 },
|
|
147
|
+
exit: { opacity: 0 },
|
|
148
|
+
transition: { duration: .2 },
|
|
149
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
150
|
+
className: "spiffy-tw-mt-6 spiffy-tw-w-full",
|
|
151
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
152
|
+
className: "spiffy-tw-flex spiffy-tw-items-center spiffy-tw-justify-between spiffy-tw-mb-4",
|
|
153
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
154
|
+
className: "spiffy-tw-flex spiffy-tw-items-center spiffy-tw-gap-2 spiffy-tw-ml-[16px] md:spiffy-tw-ml-[80px]",
|
|
155
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
156
|
+
className: "spiffy-tw-width-[24px]",
|
|
157
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_SparkleAnimation.SparkleAnimation, {
|
|
158
|
+
color: sparkleIconColor,
|
|
159
|
+
animate: true
|
|
160
|
+
})
|
|
161
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Typography.Typography, {
|
|
162
|
+
variant: "body2",
|
|
163
|
+
children: "Finding the best options for you..."
|
|
164
|
+
})]
|
|
165
|
+
})
|
|
166
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
167
|
+
className: productGridClasses,
|
|
168
|
+
children: Array.from({ length: 8 }).map((_, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_ProductCard.ProductCardSkeleton, {
|
|
169
|
+
layoutVariant: productCardLayoutVariant,
|
|
170
|
+
aspectRatio: productCardImageAspectRatio,
|
|
171
|
+
growWithContainer: true
|
|
172
|
+
}, index))
|
|
173
|
+
})]
|
|
174
|
+
})
|
|
175
|
+
});
|
|
176
|
+
};
|
|
177
|
+
|
|
178
|
+
//#endregion
|
|
179
|
+
Object.defineProperty(exports, 'NoSearchResultsFound', {
|
|
180
|
+
enumerable: true,
|
|
181
|
+
get: function () {
|
|
182
|
+
return NoSearchResultsFound;
|
|
183
|
+
}
|
|
184
|
+
});
|
|
185
|
+
Object.defineProperty(exports, 'SearchResultsGrid', {
|
|
186
|
+
enumerable: true,
|
|
187
|
+
get: function () {
|
|
188
|
+
return SearchResultsGrid;
|
|
189
|
+
}
|
|
190
|
+
});
|
|
191
|
+
Object.defineProperty(exports, 'SearchResultsLoadingGrid', {
|
|
192
|
+
enumerable: true,
|
|
193
|
+
get: function () {
|
|
194
|
+
return SearchResultsLoadingGrid;
|
|
195
|
+
}
|
|
196
|
+
});
|