@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,10 +1,29 @@
|
|
|
1
|
-
import { Typography } from "./Typography-
|
|
2
|
-
import {
|
|
3
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
1
|
+
import { t as Typography } from "./Typography-xehJH05l.js";
|
|
2
|
+
import { t as require_jsx_runtime } from "./jsx-runtime-Dg2m6dxZ-CU_SzTu4.js";
|
|
4
3
|
import { useRef, useState } from "react";
|
|
4
|
+
import { motion } from "framer-motion";
|
|
5
5
|
import classNames from "classnames";
|
|
6
|
-
import
|
|
6
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
+
|
|
8
|
+
//#region ../icons/dist/ChevronDown.js
|
|
9
|
+
var import_jsx_runtime = require_jsx_runtime();
|
|
10
|
+
const SvgChevronDown = (props) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", {
|
|
11
|
+
width: 24,
|
|
12
|
+
height: 24,
|
|
13
|
+
viewBox: "0 0 24 24",
|
|
14
|
+
fill: "none",
|
|
15
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
16
|
+
...props,
|
|
17
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
18
|
+
fillRule: "evenodd",
|
|
19
|
+
clipRule: "evenodd",
|
|
20
|
+
d: "M5.46783 10.4697C5.76072 10.1768 6.2356 10.1768 6.52849 10.4697L11.655 15.5962L16.7815 10.4697C17.0744 10.1768 17.5493 10.1768 17.8422 10.4697C18.1351 10.7626 18.1351 11.2374 17.8422 11.5303L11.655 17.7175L5.46783 11.5303C5.17494 11.2374 5.17494 10.7626 5.46783 10.4697Z",
|
|
21
|
+
fill: "#222222"
|
|
22
|
+
})
|
|
23
|
+
});
|
|
24
|
+
var ChevronDown_default = SvgChevronDown;
|
|
7
25
|
|
|
26
|
+
//#endregion
|
|
8
27
|
//#region src/components/Accordion/Accordion.tsx
|
|
9
28
|
const ANIMATION_DURATION = .3;
|
|
10
29
|
const Accordion = ({ title, content }) => {
|
|
@@ -46,7 +65,7 @@ const Accordion = ({ title, content }) => {
|
|
|
46
65
|
duration: ANIMATION_DURATION,
|
|
47
66
|
ease: "easeOut"
|
|
48
67
|
},
|
|
49
|
-
children: /* @__PURE__ */ jsx(
|
|
68
|
+
children: /* @__PURE__ */ jsx(ChevronDown_default, {})
|
|
50
69
|
})]
|
|
51
70
|
}), /* @__PURE__ */ jsx(motion.div, {
|
|
52
71
|
variants: {
|
|
@@ -74,4 +93,4 @@ const Accordion = ({ title, content }) => {
|
|
|
74
93
|
};
|
|
75
94
|
|
|
76
95
|
//#endregion
|
|
77
|
-
export { Accordion };
|
|
96
|
+
export { Accordion as t };
|
|
@@ -1,16 +1,31 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
2
|
const require_Typography = require('./Typography-Ds4gfOJz.cjs');
|
|
3
|
-
|
|
4
|
-
framer_motion = require_chunk.__toESM(framer_motion);
|
|
5
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
|
-
react_jsx_runtime = require_chunk.__toESM(react_jsx_runtime);
|
|
3
|
+
const require_jsx_runtime_Dg2m6dxZ = require('./jsx-runtime-Dg2m6dxZ-B-pkyyHT.cjs');
|
|
7
4
|
let react = require("react");
|
|
8
|
-
|
|
5
|
+
let framer_motion = require("framer-motion");
|
|
9
6
|
let classnames = require("classnames");
|
|
10
7
|
classnames = require_chunk.__toESM(classnames);
|
|
11
|
-
let
|
|
12
|
-
|
|
8
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
9
|
+
|
|
10
|
+
//#region ../icons/dist/ChevronDown.js
|
|
11
|
+
var import_jsx_runtime = require_jsx_runtime_Dg2m6dxZ.require_jsx_runtime();
|
|
12
|
+
const SvgChevronDown = (props) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", {
|
|
13
|
+
width: 24,
|
|
14
|
+
height: 24,
|
|
15
|
+
viewBox: "0 0 24 24",
|
|
16
|
+
fill: "none",
|
|
17
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
18
|
+
...props,
|
|
19
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
20
|
+
fillRule: "evenodd",
|
|
21
|
+
clipRule: "evenodd",
|
|
22
|
+
d: "M5.46783 10.4697C5.76072 10.1768 6.2356 10.1768 6.52849 10.4697L11.655 15.5962L16.7815 10.4697C17.0744 10.1768 17.5493 10.1768 17.8422 10.4697C18.1351 10.7626 18.1351 11.2374 17.8422 11.5303L11.655 17.7175L5.46783 11.5303C5.17494 11.2374 5.17494 10.7626 5.46783 10.4697Z",
|
|
23
|
+
fill: "#222222"
|
|
24
|
+
})
|
|
25
|
+
});
|
|
26
|
+
var ChevronDown_default = SvgChevronDown;
|
|
13
27
|
|
|
28
|
+
//#endregion
|
|
14
29
|
//#region src/components/Accordion/Accordion.tsx
|
|
15
30
|
const ANIMATION_DURATION = .3;
|
|
16
31
|
const Accordion = ({ title, content }) => {
|
|
@@ -52,7 +67,7 @@ const Accordion = ({ title, content }) => {
|
|
|
52
67
|
duration: ANIMATION_DURATION,
|
|
53
68
|
ease: "easeOut"
|
|
54
69
|
},
|
|
55
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(
|
|
70
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ChevronDown_default, {})
|
|
56
71
|
})]
|
|
57
72
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(framer_motion.motion.div, {
|
|
58
73
|
variants: {
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
2
|
let framer_motion = require("framer-motion");
|
|
3
|
-
framer_motion = require_chunk.__toESM(framer_motion);
|
|
4
3
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
|
-
react_jsx_runtime = require_chunk.__toESM(react_jsx_runtime);
|
|
6
4
|
|
|
7
5
|
//#region src/components/AnimatedChevron/AnimatedChevron.tsx
|
|
8
6
|
const AnimatedChevron = ({ animationKey, chevronColor }) => {
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
2
|
const require_Typography = require('./Typography-Ds4gfOJz.cjs');
|
|
3
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
4
|
-
react_jsx_runtime = require_chunk.__toESM(react_jsx_runtime);
|
|
5
3
|
let react = require("react");
|
|
6
|
-
react = require_chunk.__toESM(react);
|
|
7
4
|
let classnames = require("classnames");
|
|
8
5
|
classnames = require_chunk.__toESM(classnames);
|
|
6
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
9
7
|
|
|
10
8
|
//#region src/components/ButtonBase/types.ts
|
|
11
9
|
let ButtonBaseOverrides = /* @__PURE__ */ function(ButtonBaseOverrides$1) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Typography } from "./Typography-
|
|
2
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
1
|
+
import { t as Typography } from "./Typography-xehJH05l.js";
|
|
3
2
|
import { createElement, useEffect, useRef } from "react";
|
|
4
3
|
import classNames from "classnames";
|
|
4
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/ButtonBase/types.ts
|
|
7
7
|
let ButtonBaseOverrides = /* @__PURE__ */ function(ButtonBaseOverrides$1) {
|
|
@@ -57,4 +57,4 @@ const ButtonBase = ({ isDisabled = false, dataAttributes, buttonClass, text, tex
|
|
|
57
57
|
};
|
|
58
58
|
|
|
59
59
|
//#endregion
|
|
60
|
-
export {
|
|
60
|
+
export { ButtonBaseOverrides as n, ButtonBase as t };
|
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
2
|
const require_Typography = require('./Typography-Ds4gfOJz.cjs');
|
|
3
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
4
|
-
react_jsx_runtime = require_chunk.__toESM(react_jsx_runtime);
|
|
5
3
|
let classnames = require("classnames");
|
|
6
4
|
classnames = require_chunk.__toESM(classnames);
|
|
5
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
6
|
let react_indiana_drag_scroll = require("react-indiana-drag-scroll");
|
|
8
7
|
react_indiana_drag_scroll = require_chunk.__toESM(react_indiana_drag_scroll);
|
|
9
8
|
|
|
10
9
|
//#region src/components/FilterScrollbar/AppliedFiltersScrollbar.tsx
|
|
11
10
|
const AppliedFiltersScrollbar = ({ selectedFilterOptions, filterBarClassNames, filterDefaultClasses, filterHoverClasses, appliedFilterBackgroundClasses, onRemoveFilter }) => {
|
|
12
11
|
if (selectedFilterOptions.length === 0) return null;
|
|
13
|
-
const
|
|
14
|
-
const buttonClasses = (0, classnames.default)(" spiffy-tw-flex spiffy-tw-items-center spiffy-tw-rounded-full spiffy-tw-px-[8px] spiffy-tw-py-[4px] spiffy-tw-whitespace-nowrap", filterHoverClasses, filterDefaultWithoutBg, appliedFilterBackgroundClasses);
|
|
12
|
+
const buttonClasses = (0, classnames.default)(" spiffy-tw-flex spiffy-tw-items-center spiffy-tw-rounded-full spiffy-tw-px-[8px] spiffy-tw-py-[4px] spiffy-tw-whitespace-nowrap", filterHoverClasses, filterDefaultClasses.replace(/spiffy-tw-bg-\[--spiffy-colors-[^\]]+\]/g, "").trim(), appliedFilterBackgroundClasses);
|
|
15
13
|
const iconColor = "currentColor";
|
|
16
14
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_indiana_drag_scroll.default, {
|
|
17
15
|
className: filterBarClassNames,
|
|
@@ -48,10 +46,9 @@ const DynamicFiltersScrollbar = ({ availableDynamicFilters, filterBarClassNames,
|
|
|
48
46
|
className: filterBarClassNames,
|
|
49
47
|
hideScrollbars: true,
|
|
50
48
|
children: availableDynamicFilters.map(({ name, displayName }) => {
|
|
51
|
-
const buttonClasses = (0, classnames.default)("spiffy-tw-px-[12px] spiffy-tw-py-2 spiffy-tw-rounded-full spiffy-tw-border spiffy-tw-whitespace-nowrap ", filterHoverClasses, filterDefaultClasses);
|
|
52
49
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
53
50
|
type: "button",
|
|
54
|
-
className:
|
|
51
|
+
className: (0, classnames.default)("spiffy-tw-px-[12px] spiffy-tw-py-2 spiffy-tw-rounded-full spiffy-tw-border spiffy-tw-whitespace-nowrap ", filterHoverClasses, filterDefaultClasses),
|
|
55
52
|
onClick: () => {
|
|
56
53
|
onToggleDynamicFilter({
|
|
57
54
|
filter: name,
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { Typography } from "./Typography-
|
|
2
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
1
|
+
import { t as Typography } from "./Typography-xehJH05l.js";
|
|
3
2
|
import classNames from "classnames";
|
|
3
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
import ScrollContainer from "react-indiana-drag-scroll";
|
|
5
5
|
|
|
6
6
|
//#region src/components/FilterScrollbar/AppliedFiltersScrollbar.tsx
|
|
7
7
|
const AppliedFiltersScrollbar = ({ selectedFilterOptions, filterBarClassNames, filterDefaultClasses, filterHoverClasses, appliedFilterBackgroundClasses, onRemoveFilter }) => {
|
|
8
8
|
if (selectedFilterOptions.length === 0) return null;
|
|
9
|
-
const
|
|
10
|
-
const buttonClasses = classNames(" spiffy-tw-flex spiffy-tw-items-center spiffy-tw-rounded-full spiffy-tw-px-[8px] spiffy-tw-py-[4px] spiffy-tw-whitespace-nowrap", filterHoverClasses, filterDefaultWithoutBg, appliedFilterBackgroundClasses);
|
|
9
|
+
const buttonClasses = classNames(" spiffy-tw-flex spiffy-tw-items-center spiffy-tw-rounded-full spiffy-tw-px-[8px] spiffy-tw-py-[4px] spiffy-tw-whitespace-nowrap", filterHoverClasses, filterDefaultClasses.replace(/spiffy-tw-bg-\[--spiffy-colors-[^\]]+\]/g, "").trim(), appliedFilterBackgroundClasses);
|
|
11
10
|
const iconColor = "currentColor";
|
|
12
11
|
return /* @__PURE__ */ jsx(ScrollContainer, {
|
|
13
12
|
className: filterBarClassNames,
|
|
@@ -44,10 +43,9 @@ const DynamicFiltersScrollbar = ({ availableDynamicFilters, filterBarClassNames,
|
|
|
44
43
|
className: filterBarClassNames,
|
|
45
44
|
hideScrollbars: true,
|
|
46
45
|
children: availableDynamicFilters.map(({ name, displayName }) => {
|
|
47
|
-
const buttonClasses = classNames("spiffy-tw-px-[12px] spiffy-tw-py-2 spiffy-tw-rounded-full spiffy-tw-border spiffy-tw-whitespace-nowrap ", filterHoverClasses, filterDefaultClasses);
|
|
48
46
|
return /* @__PURE__ */ jsx("button", {
|
|
49
47
|
type: "button",
|
|
50
|
-
className:
|
|
48
|
+
className: classNames("spiffy-tw-px-[12px] spiffy-tw-py-2 spiffy-tw-rounded-full spiffy-tw-border spiffy-tw-whitespace-nowrap ", filterHoverClasses, filterDefaultClasses),
|
|
51
49
|
onClick: () => {
|
|
52
50
|
onToggleDynamicFilter({
|
|
53
51
|
filter: name,
|
|
@@ -63,4 +61,4 @@ const DynamicFiltersScrollbar = ({ availableDynamicFilters, filterBarClassNames,
|
|
|
63
61
|
});
|
|
64
62
|
|
|
65
63
|
//#endregion
|
|
66
|
-
export { AppliedFiltersScrollbar, DynamicFiltersScrollbar };
|
|
64
|
+
export { AppliedFiltersScrollbar as n, DynamicFiltersScrollbar as t };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { t as require_jsx_runtime } from "./jsx-runtime-Dg2m6dxZ-CU_SzTu4.js";
|
|
2
|
+
|
|
3
|
+
//#region ../icons/dist/FourPointStar.js
|
|
4
|
+
var import_jsx_runtime = require_jsx_runtime();
|
|
5
|
+
const SvgFourPointStar = (props) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", {
|
|
6
|
+
width: 13,
|
|
7
|
+
height: 12,
|
|
8
|
+
viewBox: "0 0 13 12",
|
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
+
...props,
|
|
11
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
12
|
+
d: "M6.45324 0.546875L7.50401 3.27887C7.67488 3.72314 7.76032 3.94528 7.89318 4.13213C8.01094 4.29774 8.15563 4.44242 8.32123 4.56018C8.50808 4.69304 8.73023 4.77848 9.1745 4.94935L11.9065 6.00012L9.1745 7.05089C8.73023 7.22176 8.50808 7.3072 8.32123 7.44006C8.15563 7.55782 8.01094 7.7025 7.89318 7.86811C7.76032 8.05496 7.67488 8.2771 7.50401 8.72138L6.45324 11.4534L5.40248 8.72138C5.2316 8.2771 5.14616 8.05496 5.0133 7.86811C4.89555 7.7025 4.75086 7.55782 4.58526 7.44006C4.3984 7.3072 4.17627 7.22176 3.73199 7.05089L1 6.00012L3.73199 4.94935C4.17627 4.77848 4.3984 4.69304 4.58526 4.56018C4.75086 4.44242 4.89555 4.29774 5.0133 4.13213C5.14616 3.94528 5.2316 3.72314 5.40248 3.27887L6.45324 0.546875Z",
|
|
13
|
+
strokeWidth: .908874,
|
|
14
|
+
strokeLinecap: "round",
|
|
15
|
+
strokeLinejoin: "round"
|
|
16
|
+
})
|
|
17
|
+
});
|
|
18
|
+
var FourPointStar_default = SvgFourPointStar;
|
|
19
|
+
|
|
20
|
+
//#endregion
|
|
21
|
+
export { FourPointStar_default as t };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
const require_jsx_runtime_Dg2m6dxZ = require('./jsx-runtime-Dg2m6dxZ-B-pkyyHT.cjs');
|
|
2
|
+
|
|
3
|
+
//#region ../icons/dist/FourPointStar.js
|
|
4
|
+
var import_jsx_runtime = require_jsx_runtime_Dg2m6dxZ.require_jsx_runtime();
|
|
5
|
+
const SvgFourPointStar = (props) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", {
|
|
6
|
+
width: 13,
|
|
7
|
+
height: 12,
|
|
8
|
+
viewBox: "0 0 13 12",
|
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
+
...props,
|
|
11
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
12
|
+
d: "M6.45324 0.546875L7.50401 3.27887C7.67488 3.72314 7.76032 3.94528 7.89318 4.13213C8.01094 4.29774 8.15563 4.44242 8.32123 4.56018C8.50808 4.69304 8.73023 4.77848 9.1745 4.94935L11.9065 6.00012L9.1745 7.05089C8.73023 7.22176 8.50808 7.3072 8.32123 7.44006C8.15563 7.55782 8.01094 7.7025 7.89318 7.86811C7.76032 8.05496 7.67488 8.2771 7.50401 8.72138L6.45324 11.4534L5.40248 8.72138C5.2316 8.2771 5.14616 8.05496 5.0133 7.86811C4.89555 7.7025 4.75086 7.55782 4.58526 7.44006C4.3984 7.3072 4.17627 7.22176 3.73199 7.05089L1 6.00012L3.73199 4.94935C4.17627 4.77848 4.3984 4.69304 4.58526 4.56018C4.75086 4.44242 4.89555 4.29774 5.0133 4.13213C5.14616 3.94528 5.2316 3.72314 5.40248 3.27887L6.45324 0.546875Z",
|
|
13
|
+
strokeWidth: .908874,
|
|
14
|
+
strokeLinecap: "round",
|
|
15
|
+
strokeLinejoin: "round"
|
|
16
|
+
})
|
|
17
|
+
});
|
|
18
|
+
var FourPointStar_default = SvgFourPointStar;
|
|
19
|
+
|
|
20
|
+
//#endregion
|
|
21
|
+
Object.defineProperty(exports, 'FourPointStar_default', {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function () {
|
|
24
|
+
return FourPointStar_default;
|
|
25
|
+
}
|
|
26
|
+
});
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
3
|
-
react_jsx_runtime = require_chunk.__toESM(react_jsx_runtime);
|
|
4
2
|
let react = require("react");
|
|
5
3
|
react = require_chunk.__toESM(react);
|
|
6
4
|
let classnames = require("classnames");
|
|
7
5
|
classnames = require_chunk.__toESM(classnames);
|
|
6
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
7
|
|
|
9
8
|
//#region src/components/ImageWithFallback/ImageWithFallback.tsx
|
|
10
9
|
const ImageWithFallback = ({ src, alt, dataTestId, fallbackClassnames, fallback, imageClassnames, onLoad, onError }) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
2
1
|
import React, { useState } from "react";
|
|
3
2
|
import classNames from "classnames";
|
|
3
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ImageWithFallback/ImageWithFallback.tsx
|
|
6
6
|
const ImageWithFallback = ({ src, alt, dataTestId, fallbackClassnames, fallback, imageClassnames, onLoad, onError }) => {
|
|
@@ -39,4 +39,4 @@ const ImageWithFallback = ({ src, alt, dataTestId, fallbackClassnames, fallback,
|
|
|
39
39
|
};
|
|
40
40
|
|
|
41
41
|
//#endregion
|
|
42
|
-
export { ImageWithFallback };
|
|
42
|
+
export { ImageWithFallback as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { AnimatedChevron } from "./AnimatedChevron-
|
|
2
|
-
import { motion, useMotionValue } from "framer-motion";
|
|
3
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
1
|
+
import { t as AnimatedChevron } from "./AnimatedChevron-DO_jcnJg.js";
|
|
4
2
|
import { useEffect, useState } from "react";
|
|
3
|
+
import { motion, useMotionValue } from "framer-motion";
|
|
5
4
|
import classNames from "classnames";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import { useIsSmallScreen } from "@envive-ai/react-hooks/hooks/IsSmallScreen";
|
|
7
7
|
|
|
8
8
|
//#region src/components/ModalSheet/mobile/mobileHeader.tsx
|
|
@@ -148,16 +148,15 @@ const modalSheetVariants = { primary: {
|
|
|
148
148
|
"spiffy-tw-text-[--spiffy-colors-text-light]": true
|
|
149
149
|
} };
|
|
150
150
|
const ModalSheetDesktopHeader = ({ headerVariant = "primary", headerContent }) => {
|
|
151
|
-
const headerStyles = classNames({
|
|
152
|
-
"spiffy-modal-sheet-header": true,
|
|
153
|
-
"spiffy-tw-flex": true,
|
|
154
|
-
"spiffy-tw-items-center": true,
|
|
155
|
-
"spiffy-tw-justify-between": true,
|
|
156
|
-
"spiffy-tw-w-full": true,
|
|
157
|
-
...modalSheetVariants[headerVariant]
|
|
158
|
-
});
|
|
159
151
|
return /* @__PURE__ */ jsx("div", {
|
|
160
|
-
className:
|
|
152
|
+
className: classNames({
|
|
153
|
+
"spiffy-modal-sheet-header": true,
|
|
154
|
+
"spiffy-tw-flex": true,
|
|
155
|
+
"spiffy-tw-items-center": true,
|
|
156
|
+
"spiffy-tw-justify-between": true,
|
|
157
|
+
"spiffy-tw-w-full": true,
|
|
158
|
+
...modalSheetVariants[headerVariant]
|
|
159
|
+
}),
|
|
161
160
|
children: headerContent
|
|
162
161
|
});
|
|
163
162
|
};
|
|
@@ -299,4 +298,4 @@ const ModalSheet = ({ children, isOpen, closeModal, animationDuration = ANIMATIO
|
|
|
299
298
|
};
|
|
300
299
|
|
|
301
300
|
//#endregion
|
|
302
|
-
export { ModalSheet };
|
|
301
|
+
export { ModalSheet as t };
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
|
-
const require_AnimatedChevron = require('./AnimatedChevron-
|
|
3
|
-
let framer_motion = require("framer-motion");
|
|
4
|
-
framer_motion = require_chunk.__toESM(framer_motion);
|
|
5
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
|
-
react_jsx_runtime = require_chunk.__toESM(react_jsx_runtime);
|
|
2
|
+
const require_AnimatedChevron = require('./AnimatedChevron-CPW5KPLr.cjs');
|
|
7
3
|
let react = require("react");
|
|
8
|
-
|
|
4
|
+
let framer_motion = require("framer-motion");
|
|
9
5
|
let classnames = require("classnames");
|
|
10
6
|
classnames = require_chunk.__toESM(classnames);
|
|
7
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
11
8
|
let __envive_ai_react_hooks_hooks_IsSmallScreen = require("@envive-ai/react-hooks/hooks/IsSmallScreen");
|
|
12
|
-
__envive_ai_react_hooks_hooks_IsSmallScreen = require_chunk.__toESM(__envive_ai_react_hooks_hooks_IsSmallScreen);
|
|
13
9
|
|
|
14
10
|
//#region src/components/ModalSheet/mobile/mobileHeader.tsx
|
|
15
11
|
const modalSheetVariants$1 = { primary: {
|
|
@@ -154,16 +150,15 @@ const modalSheetVariants = { primary: {
|
|
|
154
150
|
"spiffy-tw-text-[--spiffy-colors-text-light]": true
|
|
155
151
|
} };
|
|
156
152
|
const ModalSheetDesktopHeader = ({ headerVariant = "primary", headerContent }) => {
|
|
157
|
-
const headerStyles = (0, classnames.default)({
|
|
158
|
-
"spiffy-modal-sheet-header": true,
|
|
159
|
-
"spiffy-tw-flex": true,
|
|
160
|
-
"spiffy-tw-items-center": true,
|
|
161
|
-
"spiffy-tw-justify-between": true,
|
|
162
|
-
"spiffy-tw-w-full": true,
|
|
163
|
-
...modalSheetVariants[headerVariant]
|
|
164
|
-
});
|
|
165
153
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
166
|
-
className:
|
|
154
|
+
className: (0, classnames.default)({
|
|
155
|
+
"spiffy-modal-sheet-header": true,
|
|
156
|
+
"spiffy-tw-flex": true,
|
|
157
|
+
"spiffy-tw-items-center": true,
|
|
158
|
+
"spiffy-tw-justify-between": true,
|
|
159
|
+
"spiffy-tw-w-full": true,
|
|
160
|
+
...modalSheetVariants[headerVariant]
|
|
161
|
+
}),
|
|
167
162
|
children: headerContent
|
|
168
163
|
});
|
|
169
164
|
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
const require_jsx_runtime_Dg2m6dxZ = require('./jsx-runtime-Dg2m6dxZ-B-pkyyHT.cjs');
|
|
2
|
+
|
|
3
|
+
//#region ../icons/dist/OutlinedStar.js
|
|
4
|
+
var import_jsx_runtime = require_jsx_runtime_Dg2m6dxZ.require_jsx_runtime();
|
|
5
|
+
const SvgOutlinedStar = (props) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", {
|
|
6
|
+
width: 10,
|
|
7
|
+
height: 10,
|
|
8
|
+
viewBox: "0 0 10 10",
|
|
9
|
+
fill: "none",
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
...props,
|
|
12
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
13
|
+
d: "M5 1L5.30785 2.36664C5.56897 3.52576 6.4742 4.43104 7.63336 4.69216L9 5L7.63336 5.30784C6.4742 5.56896 5.56897 6.47416 5.30785 7.63336L5 9L4.69215 7.63336C4.43103 6.47416 3.5258 5.56896 2.36662 5.30784L1 5L2.36662 4.69216C3.5258 4.43104 4.43103 3.52584 4.69215 2.36664L5 1Z",
|
|
14
|
+
strokeWidth: .75,
|
|
15
|
+
strokeLinejoin: "round"
|
|
16
|
+
})
|
|
17
|
+
});
|
|
18
|
+
var OutlinedStar_default = SvgOutlinedStar;
|
|
19
|
+
|
|
20
|
+
//#endregion
|
|
21
|
+
Object.defineProperty(exports, 'OutlinedStar_default', {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function () {
|
|
24
|
+
return OutlinedStar_default;
|
|
25
|
+
}
|
|
26
|
+
});
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { t as require_jsx_runtime } from "./jsx-runtime-Dg2m6dxZ-CU_SzTu4.js";
|
|
2
|
+
|
|
3
|
+
//#region ../icons/dist/OutlinedStar.js
|
|
4
|
+
var import_jsx_runtime = require_jsx_runtime();
|
|
5
|
+
const SvgOutlinedStar = (props) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", {
|
|
6
|
+
width: 10,
|
|
7
|
+
height: 10,
|
|
8
|
+
viewBox: "0 0 10 10",
|
|
9
|
+
fill: "none",
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
+
...props,
|
|
12
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
13
|
+
d: "M5 1L5.30785 2.36664C5.56897 3.52576 6.4742 4.43104 7.63336 4.69216L9 5L7.63336 5.30784C6.4742 5.56896 5.56897 6.47416 5.30785 7.63336L5 9L4.69215 7.63336C4.43103 6.47416 3.5258 5.56896 2.36662 5.30784L1 5L2.36662 4.69216C3.5258 4.43104 4.43103 3.52584 4.69215 2.36664L5 1Z",
|
|
14
|
+
strokeWidth: .75,
|
|
15
|
+
strokeLinejoin: "round"
|
|
16
|
+
})
|
|
17
|
+
});
|
|
18
|
+
var OutlinedStar_default = SvgOutlinedStar;
|
|
19
|
+
|
|
20
|
+
//#endregion
|
|
21
|
+
export { OutlinedStar_default as t };
|
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
|
+
const require_formatPrice = require('./formatPrice-CyfkjZ3R.cjs');
|
|
2
3
|
const require_Typography = require('./Typography-Ds4gfOJz.cjs');
|
|
3
|
-
const require_ImageWithFallback = require('./ImageWithFallback-
|
|
4
|
-
const require_Spinner = require('./Spinner-
|
|
5
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
|
-
react_jsx_runtime = require_chunk.__toESM(react_jsx_runtime);
|
|
4
|
+
const require_ImageWithFallback = require('./ImageWithFallback-C-ZQn7tR.cjs');
|
|
5
|
+
const require_Spinner = require('./Spinner-7HblFCja.cjs');
|
|
7
6
|
let classnames = require("classnames");
|
|
8
7
|
classnames = require_chunk.__toESM(classnames);
|
|
8
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
9
9
|
let react_icons_md = require("react-icons/md");
|
|
10
|
-
react_icons_md = require_chunk.__toESM(react_icons_md);
|
|
11
10
|
let __envive_ai_react_hooks_hooks_ImageResolver = require("@envive-ai/react-hooks/hooks/ImageResolver");
|
|
12
|
-
__envive_ai_react_hooks_hooks_ImageResolver = require_chunk.__toESM(__envive_ai_react_hooks_hooks_ImageResolver);
|
|
13
11
|
let __envive_ai_react_hooks_config = require("@envive-ai/react-hooks/config");
|
|
14
|
-
__envive_ai_react_hooks_config = require_chunk.__toESM(__envive_ai_react_hooks_config);
|
|
15
12
|
|
|
16
13
|
//#region src/logging/logger.ts
|
|
17
14
|
var Logger = class {
|
|
@@ -30,18 +27,6 @@ var Logger = class {
|
|
|
30
27
|
};
|
|
31
28
|
var logger_default = Logger;
|
|
32
29
|
|
|
33
|
-
//#endregion
|
|
34
|
-
//#region src/util/formatPrice.ts
|
|
35
|
-
const formatPrice = (price, currency = "$") => {
|
|
36
|
-
if (price == null) return "";
|
|
37
|
-
const options = {};
|
|
38
|
-
if (!Number.isInteger(price)) {
|
|
39
|
-
options.minimumFractionDigits = 2;
|
|
40
|
-
options.maximumFractionDigits = 2;
|
|
41
|
-
}
|
|
42
|
-
return `${currency}${price.toLocaleString("en-US", options)}`;
|
|
43
|
-
};
|
|
44
|
-
|
|
45
30
|
//#endregion
|
|
46
31
|
//#region src/components/ProductCard/productCardVariants.ts
|
|
47
32
|
/**
|
|
@@ -93,14 +78,12 @@ const formatReviews = (stars) => String(Number(stars).toLocaleString("en-US", {
|
|
|
93
78
|
maximumFractionDigits: 1
|
|
94
79
|
}));
|
|
95
80
|
const RatingSummary = ({ stars, reviewCount, className }) => {
|
|
96
|
-
const group = (0, classnames.default)("spiffy-product-card-rating", "spiffy-product-card-text-color", "spiffy-tw-flex", "spiffy-tw-flex-row", "spiffy-tw-items-center", "spiffy-tw-gap-1", "spiffy-tw-text-[--spiffy-colors-text-primary]", "spiffy-tw-tracking-[0.8px]");
|
|
97
|
-
const starClassnames = (0, classnames.default)("spiffy-product-card-rating-star-color", "spiffy-tw-fill-[--spiffy-colors-accent-primary]", "spiffy-tw-w-[14px]", "spiffy-tw-h-[14px]");
|
|
98
81
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
99
82
|
className,
|
|
100
83
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
101
|
-
className:
|
|
84
|
+
className: (0, classnames.default)("spiffy-product-card-rating", "spiffy-product-card-text-color", "spiffy-tw-flex", "spiffy-tw-flex-row", "spiffy-tw-items-center", "spiffy-tw-gap-1", "spiffy-tw-text-[--spiffy-colors-text-primary]", "spiffy-tw-tracking-[0.8px]"),
|
|
102
85
|
children: [
|
|
103
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_icons_md.MdStar, { className:
|
|
86
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_icons_md.MdStar, { className: (0, classnames.default)("spiffy-product-card-rating-star-color", "spiffy-tw-fill-[--spiffy-colors-accent-primary]", "spiffy-tw-w-[14px]", "spiffy-tw-h-[14px]") }),
|
|
104
87
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Typography.Typography, {
|
|
105
88
|
variant: "body3",
|
|
106
89
|
children: formatReviews(stars)
|
|
@@ -207,8 +190,8 @@ const ProductCard = ({ productCardConfig, merchantShortName, imageUrl, title, ur
|
|
|
207
190
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
208
191
|
className: priceAndRatingContainerClassnames,
|
|
209
192
|
children: [(originalPrice || salePrice) && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(PriceSection, {
|
|
210
|
-
originalPrice: formatPrice(originalPrice),
|
|
211
|
-
salePrice: formatPrice(salePrice),
|
|
193
|
+
originalPrice: require_formatPrice.formatPrice(originalPrice),
|
|
194
|
+
salePrice: require_formatPrice.formatPrice(salePrice),
|
|
212
195
|
pricePrefix
|
|
213
196
|
}), averageRating && numberReviews && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(RatingSummary, {
|
|
214
197
|
stars: averageRating,
|
|
@@ -222,12 +205,20 @@ const ProductCard = ({ productCardConfig, merchantShortName, imageUrl, title, ur
|
|
|
222
205
|
};
|
|
223
206
|
|
|
224
207
|
//#endregion
|
|
225
|
-
//#region src/components/ProductCard/
|
|
226
|
-
|
|
208
|
+
//#region src/components/ProductCard/types.ts
|
|
209
|
+
let ProductCardSkeletonOverrides = /* @__PURE__ */ function(ProductCardSkeletonOverrides$1) {
|
|
227
210
|
ProductCardSkeletonOverrides$1["PRODUCT_CARD_SKELETON_CONTAINER"] = "spiffy-product-card-skeleton-container";
|
|
228
211
|
ProductCardSkeletonOverrides$1["PRODUCT_CARD_SKELETON"] = "spiffy-product-card-skeleton";
|
|
229
212
|
return ProductCardSkeletonOverrides$1;
|
|
230
|
-
}(
|
|
213
|
+
}({});
|
|
214
|
+
let AnimatedProductCardOverrides = /* @__PURE__ */ function(AnimatedProductCardOverrides$1) {
|
|
215
|
+
AnimatedProductCardOverrides$1["PRODUCT_CARD_ANIMATED_CONTAINER"] = "spiffy-product-card-animated-container";
|
|
216
|
+
AnimatedProductCardOverrides$1["PRODUCT_CARD_ANIMATED_IMAGE_CONTAINER"] = "spiffy-product-card-animated";
|
|
217
|
+
return AnimatedProductCardOverrides$1;
|
|
218
|
+
}({});
|
|
219
|
+
|
|
220
|
+
//#endregion
|
|
221
|
+
//#region src/components/ProductCard/ProductCardSkeleton.tsx
|
|
231
222
|
const ProductCardSkeleton = ({ layoutVariant, aspectRatio, growWithContainer = false }) => {
|
|
232
223
|
const layoutClasses = productCardLayoutVariantClasses[layoutVariant || "normal"];
|
|
233
224
|
const containerClasses = (0, classnames.default)(ProductCardSkeletonOverrides.PRODUCT_CARD_SKELETON_CONTAINER, "spiffy-tw-flex", "spiffy-tw-flex-col", "spiffy-tw-gap-inherit", "spiffy-tw-bg-transparent", !growWithContainer ? layoutClasses.container : "");
|
|
@@ -252,6 +243,12 @@ const ProductCardSkeleton = ({ layoutVariant, aspectRatio, growWithContainer = f
|
|
|
252
243
|
};
|
|
253
244
|
|
|
254
245
|
//#endregion
|
|
246
|
+
Object.defineProperty(exports, 'AnimatedProductCardOverrides', {
|
|
247
|
+
enumerable: true,
|
|
248
|
+
get: function () {
|
|
249
|
+
return AnimatedProductCardOverrides;
|
|
250
|
+
}
|
|
251
|
+
});
|
|
255
252
|
Object.defineProperty(exports, 'PriceSection', {
|
|
256
253
|
enumerable: true,
|
|
257
254
|
get: function () {
|
|
@@ -270,6 +267,12 @@ Object.defineProperty(exports, 'ProductCardSkeleton', {
|
|
|
270
267
|
return ProductCardSkeleton;
|
|
271
268
|
}
|
|
272
269
|
});
|
|
270
|
+
Object.defineProperty(exports, 'ProductCardSkeletonOverrides', {
|
|
271
|
+
enumerable: true,
|
|
272
|
+
get: function () {
|
|
273
|
+
return ProductCardSkeletonOverrides;
|
|
274
|
+
}
|
|
275
|
+
});
|
|
273
276
|
Object.defineProperty(exports, 'RatingSummary', {
|
|
274
277
|
enumerable: true,
|
|
275
278
|
get: function () {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { t as formatPrice } from "./formatPrice-DexQu2aZ.js";
|
|
2
|
+
import { t as Typography } from "./Typography-xehJH05l.js";
|
|
3
|
+
import { t as ImageWithFallback } from "./ImageWithFallback-DjDNefaG.js";
|
|
4
|
+
import { t as Spinner } from "./Spinner-OFbXMms8.js";
|
|
5
5
|
import classNames from "classnames";
|
|
6
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
7
|
import { MdStar } from "react-icons/md";
|
|
7
8
|
import { useImageResolver } from "@envive-ai/react-hooks/hooks/ImageResolver";
|
|
8
9
|
import { PRODUCT_CARD_TESTID } from "@envive-ai/react-hooks/config";
|
|
@@ -24,18 +25,6 @@ var Logger = class {
|
|
|
24
25
|
};
|
|
25
26
|
var logger_default = Logger;
|
|
26
27
|
|
|
27
|
-
//#endregion
|
|
28
|
-
//#region src/util/formatPrice.ts
|
|
29
|
-
const formatPrice = (price, currency = "$") => {
|
|
30
|
-
if (price == null) return "";
|
|
31
|
-
const options = {};
|
|
32
|
-
if (!Number.isInteger(price)) {
|
|
33
|
-
options.minimumFractionDigits = 2;
|
|
34
|
-
options.maximumFractionDigits = 2;
|
|
35
|
-
}
|
|
36
|
-
return `${currency}${price.toLocaleString("en-US", options)}`;
|
|
37
|
-
};
|
|
38
|
-
|
|
39
28
|
//#endregion
|
|
40
29
|
//#region src/components/ProductCard/productCardVariants.ts
|
|
41
30
|
/**
|
|
@@ -87,14 +76,12 @@ const formatReviews = (stars) => String(Number(stars).toLocaleString("en-US", {
|
|
|
87
76
|
maximumFractionDigits: 1
|
|
88
77
|
}));
|
|
89
78
|
const RatingSummary = ({ stars, reviewCount, className }) => {
|
|
90
|
-
const group = classNames("spiffy-product-card-rating", "spiffy-product-card-text-color", "spiffy-tw-flex", "spiffy-tw-flex-row", "spiffy-tw-items-center", "spiffy-tw-gap-1", "spiffy-tw-text-[--spiffy-colors-text-primary]", "spiffy-tw-tracking-[0.8px]");
|
|
91
|
-
const starClassnames = classNames("spiffy-product-card-rating-star-color", "spiffy-tw-fill-[--spiffy-colors-accent-primary]", "spiffy-tw-w-[14px]", "spiffy-tw-h-[14px]");
|
|
92
79
|
return /* @__PURE__ */ jsx("div", {
|
|
93
80
|
className,
|
|
94
81
|
children: /* @__PURE__ */ jsxs("div", {
|
|
95
|
-
className:
|
|
82
|
+
className: classNames("spiffy-product-card-rating", "spiffy-product-card-text-color", "spiffy-tw-flex", "spiffy-tw-flex-row", "spiffy-tw-items-center", "spiffy-tw-gap-1", "spiffy-tw-text-[--spiffy-colors-text-primary]", "spiffy-tw-tracking-[0.8px]"),
|
|
96
83
|
children: [
|
|
97
|
-
/* @__PURE__ */ jsx(MdStar, { className:
|
|
84
|
+
/* @__PURE__ */ jsx(MdStar, { className: classNames("spiffy-product-card-rating-star-color", "spiffy-tw-fill-[--spiffy-colors-accent-primary]", "spiffy-tw-w-[14px]", "spiffy-tw-h-[14px]") }),
|
|
98
85
|
/* @__PURE__ */ jsx(Typography, {
|
|
99
86
|
variant: "body3",
|
|
100
87
|
children: formatReviews(stars)
|
|
@@ -216,12 +203,20 @@ const ProductCard = ({ productCardConfig, merchantShortName, imageUrl, title, ur
|
|
|
216
203
|
};
|
|
217
204
|
|
|
218
205
|
//#endregion
|
|
219
|
-
//#region src/components/ProductCard/
|
|
220
|
-
|
|
206
|
+
//#region src/components/ProductCard/types.ts
|
|
207
|
+
let ProductCardSkeletonOverrides = /* @__PURE__ */ function(ProductCardSkeletonOverrides$1) {
|
|
221
208
|
ProductCardSkeletonOverrides$1["PRODUCT_CARD_SKELETON_CONTAINER"] = "spiffy-product-card-skeleton-container";
|
|
222
209
|
ProductCardSkeletonOverrides$1["PRODUCT_CARD_SKELETON"] = "spiffy-product-card-skeleton";
|
|
223
210
|
return ProductCardSkeletonOverrides$1;
|
|
224
|
-
}(
|
|
211
|
+
}({});
|
|
212
|
+
let AnimatedProductCardOverrides = /* @__PURE__ */ function(AnimatedProductCardOverrides$1) {
|
|
213
|
+
AnimatedProductCardOverrides$1["PRODUCT_CARD_ANIMATED_CONTAINER"] = "spiffy-product-card-animated-container";
|
|
214
|
+
AnimatedProductCardOverrides$1["PRODUCT_CARD_ANIMATED_IMAGE_CONTAINER"] = "spiffy-product-card-animated";
|
|
215
|
+
return AnimatedProductCardOverrides$1;
|
|
216
|
+
}({});
|
|
217
|
+
|
|
218
|
+
//#endregion
|
|
219
|
+
//#region src/components/ProductCard/ProductCardSkeleton.tsx
|
|
225
220
|
const ProductCardSkeleton = ({ layoutVariant, aspectRatio, growWithContainer = false }) => {
|
|
226
221
|
const layoutClasses = productCardLayoutVariantClasses[layoutVariant || "normal"];
|
|
227
222
|
const containerClasses = classNames(ProductCardSkeletonOverrides.PRODUCT_CARD_SKELETON_CONTAINER, "spiffy-tw-flex", "spiffy-tw-flex-col", "spiffy-tw-gap-inherit", "spiffy-tw-bg-transparent", !growWithContainer ? layoutClasses.container : "");
|
|
@@ -246,4 +241,4 @@ const ProductCardSkeleton = ({ layoutVariant, aspectRatio, growWithContainer = f
|
|
|
246
241
|
};
|
|
247
242
|
|
|
248
243
|
//#endregion
|
|
249
|
-
export { PriceSection,
|
|
244
|
+
export { ProductCard as a, variantClassMap as c, PriceSection as i, variantHoverClassMap as l, AnimatedProductCardOverrides as n, RatingSummary as o, ProductCardSkeletonOverrides as r, productCardLayoutVariantClasses as s, ProductCardSkeleton as t, variantTitleColorMap as u };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
|
-
const require_ProductCard = require('./ProductCard-
|
|
3
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
4
|
-
react_jsx_runtime = require_chunk.__toESM(react_jsx_runtime);
|
|
2
|
+
const require_ProductCard = require('./ProductCard-C7rZyWpj.cjs');
|
|
5
3
|
let classnames = require("classnames");
|
|
6
4
|
classnames = require_chunk.__toESM(classnames);
|
|
5
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
6
|
|
|
8
7
|
//#region src/components/ProductGrid/productGridVariants.ts
|
|
9
8
|
const productGridVariantClasses = {
|