@riosst100/pwa-marketplace 2.0.8 → 2.0.9
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/.github/workflows/dependabot.yml +28 -28
- package/i18n/en_US.json +508 -509
- package/i18n/id_ID.json +508 -509
- package/package.json +18 -22
- package/src/componentOverrideMapping.js +1 -50
- package/src/components/BecomeSeller/becomeSeller.js +178 -304
- package/src/components/BecomeSeller/becomeSeller.module.css +4 -4
- package/src/components/BecomeSellerLink/becomeSellerLink.js +1 -1
- package/src/components/BecomeSellerLink/becomeSellerLink.module.css +4 -0
- package/src/components/BecomeSellerPage/becomeSellerPage.js +1 -2
- package/src/components/BecomeSellerPage/becomeSellerPage.module.css +10 -2
- package/src/components/Filter/index.js +2 -2
- package/src/components/Header/becomeSellerLink.module.css +4 -0
- package/src/components/Header/websiteSwitcher.js +1 -0
- package/src/components/Header/websiteSwitcher.module.css +111 -107
- package/src/components/Header/websiteSwitcher.shimmer.js +6 -6
- package/src/components/Header/websiteSwitcherItem.js +47 -47
- package/src/components/Header/websiteSwitcherItem.module.css +20 -20
- package/src/components/OperatingHours/operatingHours.js +9 -7
- package/src/components/Pagination/index.js +33 -31
- package/src/components/PhoneTextInput/index.js +1 -1
- package/src/components/PhoneTextInput/phoneTextInput.js +62 -62
- package/src/components/ProductItem/index.js +1 -1
- package/src/components/SellerCountry/index.js +1 -1
- package/src/components/SellerCountry/sellerCountry.js +71 -71
- package/src/components/SellerCountry/sellerCountry.module.css +3 -3
- package/src/components/SellerDetail/sellerDetail.js +27 -47
- package/src/components/SellerInformation/sellerInformation.js +10 -11
- package/src/components/SellerLocation/sellerLocation.js +2 -2
- package/src/components/SellerLocation/sellerLocationItem.js +3 -3
- package/src/components/SellerProducts/sellerProducts.js +2 -2
- package/src/components/SellerReview/sellerReview.js +26 -34
- package/src/components/SellerReviewItem/sellerReviewItem.js +25 -110
- package/src/components/SellerVerification/sellerVerification.module.css +1 -1
- package/src/components/SortBy/index.js +2 -2
- package/src/components/WebsiteSwitcher/websiteSwitcher.js +6 -18
- package/src/components/WebsiteSwitcher/websiteSwitcher.module.css +111 -107
- package/src/components/WebsiteSwitcher/websiteSwitcher.shimmer.js +6 -6
- package/src/components/WebsiteSwitcher/websiteSwitcherItem.js +47 -47
- package/src/components/WebsiteSwitcher/websiteSwitcherItem.module.css +20 -20
- package/src/components/commons/Tabs/index.js +2 -2
- package/src/intercept.js +27 -87
- package/src/overwrites/venia-ui/lib/components/Adapter/adapter.js +0 -3
- package/src/overwrites/venia-ui/lib/components/Header/header.js +13 -51
- package/src/overwrites/venia-ui/lib/components/Header/storeSwitcher.js +8 -22
- package/src/overwrites/venia-ui/lib/components/MegaMenu/megaMenu.js +1 -2
- package/src/overwrites/venia-ui/lib/components/MegaMenu/megaMenuItem.js +5 -11
- package/src/overwrites/venia-ui/lib/components/MegaMenu/submenu.js +23 -82
- package/src/overwrites/venia-ui/lib/components/MegaMenu/submenu.module.css +11 -17
- package/src/overwrites/venia-ui/lib/components/MegaMenu/submenuColumn.js +12 -65
- package/src/overwrites/venia-ui/lib/components/MegaMenu/submenuColumn.module.css +6 -11
- package/src/overwrites/venia-ui/lib/components/SearchBar/autocomplete.js +1 -5
- package/src/overwrites/venia-ui/lib/components/SearchBar/autocomplete.module.css +7 -6
- package/src/overwrites/venia-ui/lib/components/SearchBar/searchBar.js +1 -26
- package/src/overwrites/venia-ui/lib/components/SearchBar/searchBar.module.css +3 -1
- package/src/overwrites/venia-ui/lib/components/SearchBar/searchField.js +3 -14
- package/src/overwrites/venia-ui/lib/components/SearchBar/suggestions.module.css +1 -1
- package/src/talons/Header/websiteSwitcher.gql.js +45 -45
- package/src/talons/Seller/seller.gql.js +36 -0
- package/src/talons/WebsiteSwitcher/websiteSwitcher.gql.js +45 -45
- package/src/theme/vars.js +0 -16
- package/src/components/AccountLayout/accountlayout.module.css +0 -13
- package/src/components/AccountLayout/index.js +0 -194
- package/src/components/AlphaFilter/alphaFilter.js +0 -103
- package/src/components/AlphaFilter/alphaFilter.module.css +0 -38
- package/src/components/AlphaFilter/alphaFilter.shimmer.js +0 -50
- package/src/components/AlphaFilter/index.js +0 -2
- package/src/components/ArraySearchInput/arraySearchInput.js +0 -100
- package/src/components/ArraySearchInput/arraySearchInput.module.css +0 -48
- package/src/components/ArraySearchInput/index.js +0 -1
- package/src/components/AttributesBlock/attributesBlock.js +0 -54
- package/src/components/AttributesBlock/attributesBlock.module.css +0 -28
- package/src/components/BrandLandingPage/brandInfo.js +0 -93
- package/src/components/BrandLandingPage/brandLanding.js +0 -255
- package/src/components/BrandLandingPage/index.js +0 -94
- package/src/components/BrandLandingPage/menu.js +0 -20
- package/src/components/BrandListPage/banner_brands.png +0 -0
- package/src/components/BrandListPage/brandList.js +0 -88
- package/src/components/BrandListPage/index.js +0 -57
- package/src/components/BrandSlider/brandSlider.js +0 -91
- package/src/components/BrandSlider/index.js +0 -1
- package/src/components/BrandSlider/item.js +0 -61
- package/src/components/CollectibleGameSets/collectibleGameSets.js +0 -252
- package/src/components/CollectibleGameSets/collectibleGameSets.module.css +0 -69
- package/src/components/CollectibleGameSets/collectibleGameSets.shimmer.js +0 -50
- package/src/components/CollectibleGameSets/index.js +0 -2
- package/src/components/CollectibleGameSetsPage/collectibleGameSetsPage.js +0 -10
- package/src/components/CollectibleGameSetsPage/index.js +0 -1
- package/src/components/CrossSeller/crossSellerBuy.js +0 -19
- package/src/components/CrossSeller/index.js +0 -15
- package/src/components/CrossSeller/item.js +0 -79
- package/src/components/CrossSeller/logo_seller.png +0 -0
- package/src/components/CrossSeller/starIcon.js +0 -11
- package/src/components/CrossSeller/verifyIcon.js +0 -12
- package/src/components/CurrencySwitcher/currencySwitcher.himmer.js +0 -6
- package/src/components/CurrencySwitcher/currencySwitcher.module.css +0 -102
- package/src/components/CurrencySwitcher/index.js +0 -107
- package/src/components/CurrencySwitcher/switcherItem.js +0 -47
- package/src/components/CurrencySwitcher/switcherItem.module.css +0 -20
- package/src/components/CustomSortBy/customSortBy.js +0 -196
- package/src/components/CustomSortBy/customSortBy.module.css +0 -68
- package/src/components/CustomSortBy/customSortItem.js +0 -57
- package/src/components/CustomSortBy/customSortItem.module.css +0 -23
- package/src/components/CustomSortBy/index.js +0 -1
- package/src/components/CustomSortBy/productSort.module.css +0 -65
- package/src/components/CustomSortBy/productSort.shimmer.js +0 -28
- package/src/components/CustomSortBy/productSort.shimmer.module.css +0 -10
- package/src/components/CustomSubCategory/subCategory.js +0 -36
- package/src/components/CustomSubCategory/subCategory.module.css +0 -22
- package/src/components/CustomSubCategoryPage/subCategoryPage.js +0 -136
- package/src/components/CustomSubCategoryPage/subCategoryPage.module.css +0 -46
- package/src/components/Divider/index.js +0 -11
- package/src/components/Dropdown/dropdown.js +0 -80
- package/src/components/Dropdown/index.js +0 -10
- package/src/components/FavoriteSeller/favoriteSeller.js +0 -32
- package/src/components/FavoriteSeller/index.js +0 -14
- package/src/components/FavoriteSeller/item.js +0 -140
- package/src/components/FilterOption/FilterOptionModal.module.css +0 -90
- package/src/components/FilterOption/filterOptionModal.js +0 -48
- package/src/components/FilterOptionModal/filterOptionModal.js +0 -66
- package/src/components/FilterTop/CurrentTopFilters/currentTopFilter.js +0 -47
- package/src/components/FilterTop/CurrentTopFilters/currentTopFilter.module.css +0 -22
- package/src/components/FilterTop/CurrentTopFilters/currentTopFilters.js +0 -50
- package/src/components/FilterTop/CurrentTopFilters/currentTopFilters.module.css +0 -21
- package/src/components/FilterTop/CurrentTopFilters/index.js +0 -1
- package/src/components/FilterTop/CustomFilters/customFilter.js +0 -83
- package/src/components/FilterTop/CustomFilters/customFilter.module.css +0 -22
- package/src/components/FilterTop/CustomFilters/customFilters.js +0 -132
- package/src/components/FilterTop/CustomFilters/customFilters.module.css +0 -23
- package/src/components/FilterTop/CustomFilters/index.js +0 -1
- package/src/components/FilterTop/FilterBlockList/filterBlockList.js +0 -56
- package/src/components/FilterTop/FilterBlockList/filterBlockList.module.css +0 -8
- package/src/components/FilterTop/FilterBlockList/filterTopItem.js +0 -79
- package/src/components/FilterTop/FilterBlockList/filterTopItem.module.css +0 -14
- package/src/components/FilterTop/FilterBlockList/filterTopItemGroup.js +0 -95
- package/src/components/FilterTop/FilterBlockList/filterTopItemGroup.module.css +0 -23
- package/src/components/FilterTop/FilterBlockList/index.js +0 -1
- package/src/components/FilterTop/filterTop.js +0 -176
- package/src/components/FilterTop/filterTop.module.css +0 -23
- package/src/components/FilterTop/filterTop.shimmer.js +0 -24
- package/src/components/FilterTop/filterTopBlock.js +0 -60
- package/src/components/FilterTop/index.js +0 -2
- package/src/components/FilterTopBackup/CustomFilters/customFilter.js +0 -83
- package/src/components/FilterTopBackup/CustomFilters/customFilter.module.css +0 -22
- package/src/components/FilterTopBackup/CustomFilters/customFilters.js +0 -133
- package/src/components/FilterTopBackup/CustomFilters/customFilters.module.css +0 -23
- package/src/components/FilterTopBackup/CustomFilters/index.js +0 -1
- package/src/components/FilterTopBackup/filterTop.js +0 -14
- package/src/components/FilterTopBackup/filterTop.module.css +0 -23
- package/src/components/FilterTopBackup/filterTop.shimmer.js +0 -24
- package/src/components/FilterTopBackup/index.js +0 -2
- package/src/components/LegoSets/index.js +0 -2
- package/src/components/LegoSets/legoSets.js +0 -327
- package/src/components/LegoSets/legoSets.module.css +0 -76
- package/src/components/LegoSets/legoSets.shimmer.js +0 -50
- package/src/components/LiveChat/chatContent.js +0 -39
- package/src/components/LiveChat/index.js +0 -52
- package/src/components/LiveChat/liveChat.js +0 -160
- package/src/components/MegaMenu/customMenuItems.js +0 -138
- package/src/components/MegaMenu/customMenuItems.module.css +0 -31
- package/src/components/MiniatureGameSets/index.js +0 -2
- package/src/components/MiniatureGameSets/miniatureGameSets.js +0 -297
- package/src/components/MiniatureGameSets/miniatureGameSets.module.css +0 -76
- package/src/components/MiniatureGameSets/miniatureGameSets.shimmer.js +0 -50
- package/src/components/Modal/index.js +0 -10
- package/src/components/Modal/modal.js +0 -48
- package/src/components/MtgSinglesPage/index.js +0 -62
- package/src/components/MtgSinglesPage/mtgSingles.js +0 -90
- package/src/components/MtgSinglesPage/singles.module.css +0 -15
- package/src/components/NonSportCardsSets/index.js +0 -2
- package/src/components/NonSportCardsSets/nonSportCardsSets.js +0 -270
- package/src/components/NonSportCardsSets/nonSportCardsSets.module.css +0 -76
- package/src/components/NonSportCardsSets/nonSportCardsSets.shimmer.js +0 -50
- package/src/components/ProductLabel/index.js +0 -47
- package/src/components/ProductLineSlider/index.js +0 -1
- package/src/components/ProductLineSlider/item.js +0 -38
- package/src/components/ProductLineSlider/logo_nendoroid.png +0 -0
- package/src/components/ProductLineSlider/nendroid-image.png +0 -0
- package/src/components/ProductLineSlider/productLineSlider.js +0 -91
- package/src/components/ProductListTab/index.js +0 -4
- package/src/components/ProductListTab/productListTab.js +0 -100
- package/src/components/ProductListTab/productListTab.module.css +0 -64
- package/src/components/ProductListTab/productListTab.shimmer.js +0 -24
- package/src/components/RFQ/index.js +0 -39
- package/src/components/RFQ/modalRfq.js +0 -249
- package/src/components/RFQPage/index.js +0 -14
- package/src/components/RFQPage/orderRow.js +0 -318
- package/src/components/RFQPage/quoteDetail.js +0 -342
- package/src/components/RFQPage/quoteDetailPage.js +0 -14
- package/src/components/RFQPage/quoteList.js +0 -227
- package/src/components/RelatedProduct/index.js +0 -16
- package/src/components/RelatedProduct/relatedProduct.js +0 -112
- package/src/components/RelatedProduct/sample.json +0 -154
- package/src/components/ShopBy/index.js +0 -2
- package/src/components/ShopBy/shopBy copy.js +0 -172
- package/src/components/ShopBy/shopBy.js +0 -435
- package/src/components/ShopBy/shopBy.module.css +0 -76
- package/src/components/ShopBy/shopBy.shimmer.js +0 -50
- package/src/components/ShopByBrands/index.js +0 -2
- package/src/components/ShopByBrands/legoSets.shimmer.js +0 -50
- package/src/components/ShopByBrands/shopByBrands.js +0 -327
- package/src/components/ShopByBrands/shopByBrands.module.css +0 -76
- package/src/components/ShopByBrands/shopByBrands.shimmer.js +0 -50
- package/src/components/ShopByCard/index.js +0 -2
- package/src/components/ShopByCard/shopByCard.js +0 -277
- package/src/components/ShopByCard/shopByCard.module.css +0 -76
- package/src/components/ShopByCard/shopByCard.shimmer.js +0 -50
- package/src/components/ShopByCategory/index.js +0 -2
- package/src/components/ShopByCategory/shopByCategory.js +0 -69
- package/src/components/ShopByCategory/shopByCategory.module.css +0 -58
- package/src/components/ShopByCategory/shopByCategory.shimmer.js +0 -24
- package/src/components/ShopByFilters/index.js +0 -1
- package/src/components/ShopByFilters/shopByFilters.js +0 -74
- package/src/components/ShopByFilters/shopByFilters.module.css +0 -21
- package/src/components/ShopByPage/index.js +0 -1
- package/src/components/ShopByPage/shopByPage.js +0 -12
- package/src/components/ShopBySets/index.js +0 -2
- package/src/components/ShopBySets/shopBySets.js +0 -288
- package/src/components/ShopBySets/shopBySets.module.css +0 -76
- package/src/components/ShopBySets/shopBySets.shimmer.js +0 -50
- package/src/components/ShopByVehicles/index.js +0 -2
- package/src/components/ShopByVehicles/shopByVehicles.js +0 -327
- package/src/components/ShopByVehicles/shopByVehicles.module.css +0 -76
- package/src/components/ShopByVehicles/shopByVehicles.shimmer.js +0 -50
- package/src/components/SocialLogin/img/facebook.svg +0 -3
- package/src/components/SocialLogin/img/google.svg +0 -6
- package/src/components/SocialLogin/img/instagram.svg +0 -27
- package/src/components/SocialLogin/img/wechat.svg +0 -15
- package/src/components/SocialLogin/img/weibo.svg +0 -7
- package/src/components/SocialLogin/index.js +0 -10
- package/src/components/SocialLogin/socialLogin.js +0 -70
- package/src/components/SocialMediaShare/index.js +0 -51
- package/src/components/SocialMediaShare/share.js +0 -94
- package/src/components/SportCardsSets/index.js +0 -2
- package/src/components/SportCardsSets/sportCardsSets.js +0 -363
- package/src/components/SportCardsSets/sportCardsSets.module.css +0 -76
- package/src/components/SportCardsSets/sportCardsSets.shimmer.js +0 -50
- package/src/components/SubCategory/customSubCategory.js +0 -45
- package/src/components/SubCategory/customSubCategory.module.css +0 -22
- package/src/components/SubCategory/subCategory.js +0 -49
- package/src/components/SubCategory/subCategory.module.css +0 -22
- package/src/components/TrainsSets/index.js +0 -2
- package/src/components/TrainsSets/trainsSets.js +0 -331
- package/src/components/TrainsSets/trainsSets.module.css +0 -76
- package/src/components/TrainsSets/trainsSets.shimmer.js +0 -49
- package/src/hooks/useCustomSort.js +0 -21
- package/src/overwrites/pagebuilder/lib/ContentTypes/Products/Carousel/__fixtures__/apolloMocks.js +0 -33
- package/src/overwrites/pagebuilder/lib/ContentTypes/Products/Carousel/carousel.gql.ce.js +0 -16
- package/src/overwrites/pagebuilder/lib/ContentTypes/Products/Carousel/carousel.gql.ee.js +0 -17
- package/src/overwrites/pagebuilder/lib/ContentTypes/Products/Carousel/carousel.js +0 -38
- package/src/overwrites/pagebuilder/lib/ContentTypes/Products/Carousel/index.js +0 -1
- package/src/overwrites/pagebuilder/lib/ContentTypes/Products/Carousel/useCarousel.js +0 -25
- package/src/overwrites/pagebuilder/lib/ContentTypes/Products/configAggregator.js +0 -26
- package/src/overwrites/pagebuilder/lib/ContentTypes/Products/index.js +0 -1
- package/src/overwrites/pagebuilder/lib/ContentTypes/Products/products.js +0 -369
- package/src/overwrites/pagebuilder/lib/ContentTypes/Products/products.module.css +0 -0
- package/src/overwrites/pagebuilder/lib/ContentTypes/Slider/banner.module.css +0 -103
- package/src/overwrites/pagebuilder/lib/ContentTypes/Slider/configAggregator.js +0 -17
- package/src/overwrites/pagebuilder/lib/ContentTypes/Slider/index.js +0 -2
- package/src/overwrites/pagebuilder/lib/ContentTypes/Slider/slider.js +0 -221
- package/src/overwrites/pagebuilder/lib/ContentTypes/Slider/slider.module.css +0 -231
- package/src/overwrites/pagebuilder/lib/ContentTypes/Slider/slider.shimmer.js +0 -126
- package/src/overwrites/pagebuilder/lib/ContentTypes/Slider/slider.shimmer.module.css +0 -5
- package/src/overwrites/pagebuilder/lib/utils.js +0 -224
- package/src/overwrites/peregrine/lib/talons/Breadcrumbs/useBreadcrumbs.js +0 -100
- package/src/overwrites/peregrine/lib/talons/FilterModal/useFilterList.js +0 -62
- package/src/overwrites/peregrine/lib/talons/FilterSidebar/useFilterSidebar.js +0 -312
- package/src/overwrites/peregrine/lib/talons/MegaMenu/megaMenu.gql.js +0 -96
- package/src/overwrites/peregrine/lib/talons/MegaMenu/useMegaMenu.js +0 -199
- package/src/overwrites/peregrine/lib/talons/MegaMenu/useMegaMenuItem.js +0 -66
- package/src/overwrites/peregrine/lib/talons/MegaMenu/useSubMenu.js +0 -20
- package/src/overwrites/peregrine/lib/talons/ProductFullDetail/useProductFullDetail.js +0 -642
- package/src/overwrites/peregrine/lib/talons/RootComponents/Category/category.gql.js +0 -49
- package/src/overwrites/peregrine/lib/talons/RootComponents/Category/categoryContent.gql.js +0 -98
- package/src/overwrites/peregrine/lib/talons/RootComponents/Category/categoryFragments.gql.js +0 -90
- package/src/overwrites/peregrine/lib/talons/RootComponents/Category/useCategory.js +0 -234
- package/src/overwrites/peregrine/lib/talons/RootComponents/Category/useCategoryContent.js +0 -192
- package/src/overwrites/peregrine/lib/talons/RootComponents/Product/product.gql.js +0 -31
- package/src/overwrites/peregrine/lib/talons/RootComponents/Product/productDetailFragment.gql.js +0 -235
- package/src/overwrites/venia-ui/lib/RootComponents/CMS/cms.js +0 -73
- package/src/overwrites/venia-ui/lib/RootComponents/CMS/cms.module.css +0 -25
- package/src/overwrites/venia-ui/lib/RootComponents/CMS/cms.shimmer.js +0 -18
- package/src/overwrites/venia-ui/lib/RootComponents/CMS/index.js +0 -7
- package/src/overwrites/venia-ui/lib/RootComponents/Category/NoProductsFound/index.js +0 -1
- package/src/overwrites/venia-ui/lib/RootComponents/Category/NoProductsFound/noProductsFound.js +0 -64
- package/src/overwrites/venia-ui/lib/RootComponents/Category/NoProductsFound/noProductsFound.module.css +0 -39
- package/src/overwrites/venia-ui/lib/RootComponents/Category/NoProductsFound/noProductsFound.png +0 -0
- package/src/overwrites/venia-ui/lib/RootComponents/Category/category.gql.js +0 -17
- package/src/overwrites/venia-ui/lib/RootComponents/Category/category.js +0 -142
- package/src/overwrites/venia-ui/lib/RootComponents/Category/category.module.css +0 -78
- package/src/overwrites/venia-ui/lib/RootComponents/Category/categoryContent.js +0 -383
- package/src/overwrites/venia-ui/lib/RootComponents/Category/categoryContent.shimmer.js +0 -74
- package/src/overwrites/venia-ui/lib/RootComponents/Category/images/001.jpg +0 -0
- package/src/overwrites/venia-ui/lib/RootComponents/Category/images/002.jpg +0 -0
- package/src/overwrites/venia-ui/lib/RootComponents/Category/images/003.jpg +0 -0
- package/src/overwrites/venia-ui/lib/RootComponents/Category/images/004.jpg +0 -0
- package/src/overwrites/venia-ui/lib/RootComponents/Category/images/005.jpg +0 -0
- package/src/overwrites/venia-ui/lib/RootComponents/Category/images/006.jpg +0 -0
- package/src/overwrites/venia-ui/lib/RootComponents/Category/images/007.jpg +0 -0
- package/src/overwrites/venia-ui/lib/RootComponents/Category/images/008.jpg +0 -0
- package/src/overwrites/venia-ui/lib/RootComponents/Category/images/009.jpg +0 -0
- package/src/overwrites/venia-ui/lib/RootComponents/Category/images/010.jpg +0 -0
- package/src/overwrites/venia-ui/lib/RootComponents/Category/images/011.jpg +0 -0
- package/src/overwrites/venia-ui/lib/RootComponents/Category/images/012.jpg +0 -0
- package/src/overwrites/venia-ui/lib/RootComponents/Category/images/index.js +0 -12
- package/src/overwrites/venia-ui/lib/RootComponents/Category/index.js +0 -6
- package/src/overwrites/venia-ui/lib/components/AccountInformationPage/accountInformationPage.gql.js +0 -48
- package/src/overwrites/venia-ui/lib/components/AccountInformationPage/accountInformationPage.js +0 -147
- package/src/overwrites/venia-ui/lib/components/AccountInformationPage/accountInformationPage.module.css +0 -52
- package/src/overwrites/venia-ui/lib/components/AccountInformationPage/accountInformationPageFragment.gql.js +0 -10
- package/src/overwrites/venia-ui/lib/components/AccountInformationPage/editForm.js +0 -206
- package/src/overwrites/venia-ui/lib/components/AccountInformationPage/editForm.module.css +0 -40
- package/src/overwrites/venia-ui/lib/components/AccountInformationPage/editModal.js +0 -107
- package/src/overwrites/venia-ui/lib/components/AccountInformationPage/editModal.module.css +0 -3
- package/src/overwrites/venia-ui/lib/components/AccountInformationPage/index.js +0 -14
- package/src/overwrites/venia-ui/lib/components/AccountMenu/accountMenu.js +0 -107
- package/src/overwrites/venia-ui/lib/components/AccountMenu/accountMenu.module.css +0 -73
- package/src/overwrites/venia-ui/lib/components/AccountMenu/accountMenuItems.js +0 -58
- package/src/overwrites/venia-ui/lib/components/AccountMenu/accountMenuItems.module.css +0 -31
- package/src/overwrites/venia-ui/lib/components/AccountMenu/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/App/app.js +0 -131
- package/src/overwrites/venia-ui/lib/components/Breadcrumbs/breadcrumbs.js +0 -189
- package/src/overwrites/venia-ui/lib/components/Breadcrumbs/breadcrumbs.module.css +0 -33
- package/src/overwrites/venia-ui/lib/components/Breadcrumbs/breadcrumbs.shimmer.js +0 -24
- package/src/overwrites/venia-ui/lib/components/Breadcrumbs/index.js +0 -2
- package/src/overwrites/venia-ui/lib/components/Button/button.js +0 -100
- package/src/overwrites/venia-ui/lib/components/Button/button.module.css +0 -132
- package/src/overwrites/venia-ui/lib/components/Button/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/CartPage/GiftCards/giftCard.js +0 -50
- package/src/overwrites/venia-ui/lib/components/CartPage/GiftCards/giftCard.module.css +0 -11
- package/src/overwrites/venia-ui/lib/components/CartPage/GiftCards/giftCards.js +0 -238
- package/src/overwrites/venia-ui/lib/components/CartPage/GiftCards/giftCards.module.css +0 -98
- package/src/overwrites/venia-ui/lib/components/CartPage/GiftCards/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/CouponCode/couponCode.js +0 -178
- package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/CouponCode/couponCode.module.css +0 -52
- package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/CouponCode/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/GiftOptions/giftOptions.js +0 -321
- package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/GiftOptions/giftOptions.module.css +0 -61
- package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/GiftOptions/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/ShippingMethods/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/ShippingMethods/shippingForm.js +0 -103
- package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/ShippingMethods/shippingForm.module.css +0 -36
- package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/ShippingMethods/shippingMethods.js +0 -103
- package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/ShippingMethods/shippingMethods.module.css +0 -33
- package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/ShippingMethods/shippingRadio.js +0 -37
- package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/ShippingMethods/shippingRadio.module.css +0 -3
- package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/ShippingMethods/shippingRadios.js +0 -106
- package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/ShippingMethods/shippingRadios.module.css +0 -10
- package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/giftCardSection.ce.js +0 -7
- package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/giftCardSection.ee.js +0 -28
- package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/giftOptionsSection.ce.js +0 -7
- package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/giftOptionsSection.ee.js +0 -38
- package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/priceAdjustments.js +0 -95
- package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/priceAdjustments.module.css +0 -2
- package/src/overwrites/venia-ui/lib/components/CartPage/PriceSummary/discountSummary.js +0 -123
- package/src/overwrites/venia-ui/lib/components/CartPage/PriceSummary/discountSummary.module.css +0 -40
- package/src/overwrites/venia-ui/lib/components/CartPage/PriceSummary/giftCardSummary.ce.js +0 -1
- package/src/overwrites/venia-ui/lib/components/CartPage/PriceSummary/giftCardSummary.ee.js +0 -60
- package/src/overwrites/venia-ui/lib/components/CartPage/PriceSummary/giftOptionsSummary.ce.js +0 -5
- package/src/overwrites/venia-ui/lib/components/CartPage/PriceSummary/giftOptionsSummary.ee.js +0 -40
- package/src/overwrites/venia-ui/lib/components/CartPage/PriceSummary/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/CartPage/PriceSummary/priceSummary.js +0 -210
- package/src/overwrites/venia-ui/lib/components/CartPage/PriceSummary/priceSummary.module.css +0 -51
- package/src/overwrites/venia-ui/lib/components/CartPage/PriceSummary/shippingSummary.js +0 -58
- package/src/overwrites/venia-ui/lib/components/CartPage/PriceSummary/taxSummary.js +0 -57
- package/src/overwrites/venia-ui/lib/components/CartPage/ProductListing/EditModal/editModal.js +0 -41
- package/src/overwrites/venia-ui/lib/components/CartPage/ProductListing/EditModal/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/CartPage/ProductListing/EditModal/productDetail.js +0 -80
- package/src/overwrites/venia-ui/lib/components/CartPage/ProductListing/EditModal/productDetail.module.css +0 -33
- package/src/overwrites/venia-ui/lib/components/CartPage/ProductListing/EditModal/productForm.js +0 -153
- package/src/overwrites/venia-ui/lib/components/CartPage/ProductListing/EditModal/productForm.module.css +0 -52
- package/src/overwrites/venia-ui/lib/components/CartPage/ProductListing/errorMessage.js +0 -31
- package/src/overwrites/venia-ui/lib/components/CartPage/ProductListing/errorMessage.module.css +0 -13
- package/src/overwrites/venia-ui/lib/components/CartPage/ProductListing/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/CartPage/ProductListing/product.js +0 -271
- package/src/overwrites/venia-ui/lib/components/CartPage/ProductListing/product.module.css +0 -156
- package/src/overwrites/venia-ui/lib/components/CartPage/ProductListing/productListing.js +0 -94
- package/src/overwrites/venia-ui/lib/components/CartPage/ProductListing/productListing.module.css +0 -11
- package/src/overwrites/venia-ui/lib/components/CartPage/ProductListing/quantity.js +0 -40
- package/src/overwrites/venia-ui/lib/components/CartPage/cartPage.js +0 -126
- package/src/overwrites/venia-ui/lib/components/CartPage/cartPage.module.css +0 -64
- package/src/overwrites/venia-ui/lib/components/CartPage/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/Checkbox/checkbox.js +0 -78
- package/src/overwrites/venia-ui/lib/components/Checkbox/checkbox.module.css +0 -73
- package/src/overwrites/venia-ui/lib/components/Checkbox/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/AddressBook/addressBook.js +0 -190
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/AddressBook/addressBook.module.css +0 -78
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/AddressBook/addressCard.js +0 -125
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/AddressBook/addressCard.module.css +0 -94
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/AddressBook/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/BillingAddress/billingAddress.js +0 -213
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/BillingAddress/billingAddress.module.css +0 -36
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/BillingAddress/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/GuestSignIn/guestSignIn.js +0 -93
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/GuestSignIn/guestSignIn.module.css +0 -55
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/GuestSignIn/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/ItemsReview/__fixtures__/cartItems.js +0 -102
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/ItemsReview/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/ItemsReview/item.js +0 -54
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/ItemsReview/item.module.css +0 -60
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/ItemsReview/itemsReview.js +0 -84
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/ItemsReview/itemsReview.module.css +0 -20
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/ItemsReview/showAllButton.js +0 -38
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/ItemsReview/showAllButton.module.css +0 -28
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/OrderConfirmationPage/createAccount.js +0 -213
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/OrderConfirmationPage/createAccount.module.css +0 -24
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/OrderConfirmationPage/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/OrderConfirmationPage/orderConfirmationPage.js +0 -162
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/OrderConfirmationPage/orderConfirmationPage.module.css +0 -70
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/OrderSummary/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/OrderSummary/orderSummary.js +0 -34
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/OrderSummary/orderSummary.module.css +0 -17
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/brainTreeDropIn.js +0 -196
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/braintreeDropin.module.css +0 -26
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/braintreeSummary.js +0 -160
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/braintreeSummary.module.css +0 -62
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/creditCard.js +0 -348
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/creditCard.module.css +0 -58
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/editCard.js +0 -44
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/editCard.module.css +0 -5
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/editModal.js +0 -88
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/editablePaymentCollection.js +0 -23
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/paymentInformation.js +0 -99
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/paymentInformation.module.css +0 -23
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/paymentMethodCollection.js +0 -23
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/paymentMethods.js +0 -121
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/paymentMethods.module.css +0 -34
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/summary.js +0 -71
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/summary.module.css +0 -23
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/summaryPaymentCollection.js +0 -23
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/PriceAdjustments/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/PriceAdjustments/priceAdjustments.js +0 -63
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/PriceAdjustments/priceAdjustments.module.css +0 -2
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingInformation/AddressForm/addressForm.js +0 -18
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingInformation/AddressForm/customerForm.js +0 -401
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingInformation/AddressForm/customerForm.module.css +0 -58
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingInformation/AddressForm/guestForm.js +0 -455
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingInformation/AddressForm/guestForm.module.css +0 -52
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingInformation/AddressForm/index.js +0 -3
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingInformation/card.js +0 -66
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingInformation/card.module.css +0 -12
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingInformation/editModal.js +0 -65
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingInformation/editModal.module.css +0 -90
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingInformation/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingInformation/shippingInformation.js +0 -149
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingInformation/shippingInformation.module.css +0 -88
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingMethod/completedView.js +0 -114
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingMethod/completedView.module.css +0 -48
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingMethod/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingMethod/shippingMethod.js +0 -154
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingMethod/shippingMethod.module.css +0 -27
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingMethod/shippingRadios.js +0 -80
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingMethod/shippingRadios.module.css +0 -22
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingMethod/updateModal.js +0 -85
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingMethod/updateModal.module.css +0 -3
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/checkoutPage.js +0 -472
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/checkoutPage.module.css +0 -186
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/CreateAccount/createAccount.js +0 -323
- package/src/overwrites/venia-ui/lib/components/CreateAccount/createAccount.module.css +0 -52
- package/src/overwrites/venia-ui/lib/components/CreateAccount/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/CreateAccountPage/createAccountPage.js +0 -48
- package/src/overwrites/venia-ui/lib/components/CreateAccountPage/createAccountPage.module.css +0 -21
- package/src/overwrites/venia-ui/lib/components/CreateAccountPage/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/Dialog/dialog.js +0 -198
- package/src/overwrites/venia-ui/lib/components/Dialog/dialog.module.css +0 -189
- package/src/overwrites/venia-ui/lib/components/Dialog/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/FilterModal/CurrentFilters/currentFilter.js +0 -60
- package/src/overwrites/venia-ui/lib/components/FilterModal/CurrentFilters/currentFilter.module.css +0 -22
- package/src/overwrites/venia-ui/lib/components/FilterModal/CurrentFilters/currentFilters.js +0 -69
- package/src/overwrites/venia-ui/lib/components/FilterModal/CurrentFilters/currentFilters.module.css +0 -21
- package/src/overwrites/venia-ui/lib/components/FilterModal/CurrentFilters/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/FilterModal/FilterList/filterDefault.js +0 -84
- package/src/overwrites/venia-ui/lib/components/FilterModal/FilterList/filterDefault.module.css +0 -0
- package/src/overwrites/venia-ui/lib/components/FilterModal/FilterList/filterItem.js +0 -80
- package/src/overwrites/venia-ui/lib/components/FilterModal/FilterList/filterItemRadio.js +0 -79
- package/src/overwrites/venia-ui/lib/components/FilterModal/FilterList/filterItemRadio.module.css +0 -0
- package/src/overwrites/venia-ui/lib/components/FilterModal/FilterList/filterItemRadioGroup.js +0 -87
- package/src/overwrites/venia-ui/lib/components/FilterModal/FilterList/filterList.js +0 -265
- package/src/overwrites/venia-ui/lib/components/FilterModal/FilterList/filterList.module.css +0 -28
- package/src/overwrites/venia-ui/lib/components/FilterModal/FilterList/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/FilterModal/filterBlock.js +0 -135
- package/src/overwrites/venia-ui/lib/components/FilterModal/filterBlock.module.css +0 -25
- package/src/overwrites/venia-ui/lib/components/FilterModal/filterFooter.js +0 -49
- package/src/overwrites/venia-ui/lib/components/FilterModal/filterFooter.module.css +0 -10
- package/src/overwrites/venia-ui/lib/components/FilterModal/filterModal.js +0 -166
- package/src/overwrites/venia-ui/lib/components/FilterModal/filterModal.module.css +0 -88
- package/src/overwrites/venia-ui/lib/components/FilterModal/filterSearch.module.css +0 -3
- package/src/overwrites/venia-ui/lib/components/FilterModal/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/FilterSidebar/__tests__/filterSidebar.spec.js +0 -246
- package/src/overwrites/venia-ui/lib/components/FilterSidebar/filterSidebar.js +0 -197
- package/src/overwrites/venia-ui/lib/components/FilterSidebar/filterSidebar.module.css +0 -59
- package/src/overwrites/venia-ui/lib/components/FilterSidebar/filterSidebar.shimmer.js +0 -24
- package/src/overwrites/venia-ui/lib/components/FilterSidebar/index.js +0 -2
- package/src/overwrites/venia-ui/lib/components/Footer/footer.js +0 -147
- package/src/overwrites/venia-ui/lib/components/Footer/footer.module.css +0 -70
- package/src/overwrites/venia-ui/lib/components/Footer/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/Footer/sampleData.js +0 -48
- package/src/overwrites/venia-ui/lib/components/Gallery/addToCartButton.js +0 -116
- package/src/overwrites/venia-ui/lib/components/Gallery/addToCartButton.module.css +0 -38
- package/src/overwrites/venia-ui/lib/components/Gallery/gallery.js +0 -57
- package/src/overwrites/venia-ui/lib/components/Gallery/gallery.module.css +0 -28
- package/src/overwrites/venia-ui/lib/components/Gallery/gallery.shimmer.js +0 -39
- package/src/overwrites/venia-ui/lib/components/Gallery/index.js +0 -3
- package/src/overwrites/venia-ui/lib/components/Gallery/item.js +0 -224
- package/src/overwrites/venia-ui/lib/components/Gallery/item.module.css +0 -109
- package/src/overwrites/venia-ui/lib/components/Gallery/item.shimmer.js +0 -38
- package/src/overwrites/venia-ui/lib/components/Gallery/star.js +0 -12
- package/src/overwrites/venia-ui/lib/components/Header/accountTrigger.js +0 -98
- package/src/overwrites/venia-ui/lib/components/Header/cartTrigger.js +0 -116
- package/src/overwrites/venia-ui/lib/components/Header/cartTrigger.module.css +0 -47
- package/src/overwrites/venia-ui/lib/components/Header/storeSwitcher.module.css +0 -107
- package/src/overwrites/venia-ui/lib/components/Header/wishlistTrigger.js +0 -23
- package/src/overwrites/venia-ui/lib/components/Main/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/Main/main.js +0 -39
- package/src/overwrites/venia-ui/lib/components/Main/main.module.css +0 -41
- package/src/overwrites/venia-ui/lib/components/MegaMenu/customSubmenuColumn.js +0 -75
- package/src/overwrites/venia-ui/lib/components/MegaMenu/customSubmenuColumn.module.css +0 -29
- package/src/overwrites/venia-ui/lib/components/MegaMenu/shopByColumn.js +0 -121
- package/src/overwrites/venia-ui/lib/components/MegaMenu/shopByColumn.module.css +0 -26
- package/src/overwrites/venia-ui/lib/components/MyAccount/ResetPassword/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/MyAccount/ResetPassword/resetPassword.gql.js +0 -22
- package/src/overwrites/venia-ui/lib/components/MyAccount/ResetPassword/resetPassword.js +0 -143
- package/src/overwrites/venia-ui/lib/components/MyAccount/ResetPassword/resetPassword.module.css +0 -53
- package/src/overwrites/venia-ui/lib/components/MyAccount/accountLink.js +0 -42
- package/src/overwrites/venia-ui/lib/components/MyAccount/accountLink.module.css +0 -33
- package/src/overwrites/venia-ui/lib/components/MyAccount/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/MyAccount/myAccount.js +0 -38
- package/src/overwrites/venia-ui/lib/components/MyAccount/myAccount.module.css +0 -5
- package/src/overwrites/venia-ui/lib/components/Newsletter/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/Newsletter/newsletter.js +0 -156
- package/src/overwrites/venia-ui/lib/components/Newsletter/newsletter.module.css +0 -90
- package/src/overwrites/venia-ui/lib/components/Newsletter/newsletter.shimmer.js +0 -46
- package/src/overwrites/venia-ui/lib/components/Newsletter/newsletter.shimmer.module.css +0 -21
- package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/OrderDetails/billingInformation.js +0 -71
- package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/OrderDetails/billingInformation.module.css +0 -9
- package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/OrderDetails/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/OrderDetails/item.js +0 -121
- package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/OrderDetails/item.module.css +0 -35
- package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/OrderDetails/items.js +0 -70
- package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/OrderDetails/items.module.css +0 -16
- package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/OrderDetails/orderDetails.js +0 -207
- package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/OrderDetails/orderDetails.module.css +0 -102
- package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/OrderDetails/orderTotal.js +0 -159
- package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/OrderDetails/orderTotal.module.css +0 -50
- package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/OrderDetails/paymentMethod.js +0 -45
- package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/OrderDetails/paymentMethod.module.css +0 -14
- package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/OrderDetails/shippingInformation.js +0 -90
- package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/OrderDetails/shippingInformation.module.css +0 -9
- package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/OrderDetails/shippingMethod.js +0 -86
- package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/OrderDetails/shippingMethod.module.css +0 -19
- package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/collapsedImageGallery.js +0 -63
- package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/collapsedImageGallery.module.css +0 -16
- package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/index.js +0 -15
- package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/orderHistoryPage.js +0 -227
- package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/orderHistoryPage.module.css +0 -70
- package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/orderProgressBar.js +0 -70
- package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/orderProgressBar.module.css +0 -14
- package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/orderRow.js +0 -324
- package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/orderRow.module.css +0 -146
- package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/resetButton.js +0 -41
- package/src/overwrites/venia-ui/lib/components/Pagination/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/Pagination/navButton.js +0 -65
- package/src/overwrites/venia-ui/lib/components/Pagination/pagination.js +0 -107
- package/src/overwrites/venia-ui/lib/components/Pagination/tile.js +0 -41
- package/src/overwrites/venia-ui/lib/components/Password/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/Password/password.js +0 -102
- package/src/overwrites/venia-ui/lib/components/Password/password.module.css +0 -26
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Boolean/boolean.js +0 -74
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Boolean/boolean.module.css +0 -9
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Boolean/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Date/date.js +0 -82
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Date/date.module.css +0 -9
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Date/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/DateTime/dateTime.js +0 -85
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/DateTime/dateTime.module.css +0 -9
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/DateTime/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Multiselect/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Multiselect/multiselect.js +0 -104
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Multiselect/multiselect.module.css +0 -22
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Price/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Price/price.js +0 -74
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Price/price.module.css +0 -9
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Select/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Select/select.js +0 -99
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Select/select.module.css +0 -13
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Text/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Text/text.js +0 -88
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Text/text.module.css +0 -13
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Textarea/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Textarea/textarea.js +0 -94
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Textarea/textarea.module.css +0 -13
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/attributeType.js +0 -67
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/customAttributes.js +0 -65
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/customAttributes.module.css +0 -8
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/components/auctionDetail.js +0 -210
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/components/bidList.js +0 -67
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/components/modalFormReview.js +0 -164
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/components/preOrderDetail.js +0 -61
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/components/productReview.js +0 -63
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/components/starInput.js +0 -33
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/productFullDetail.gql.js +0 -7
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/productFullDetail.js +0 -734
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/productFullDetail.module.css +0 -199
- package/src/overwrites/venia-ui/lib/components/ProductImageCarousel/carousel.js +0 -180
- package/src/overwrites/venia-ui/lib/components/ProductImageCarousel/carousel.module.css +0 -102
- package/src/overwrites/venia-ui/lib/components/ProductImageCarousel/carousel.shimmer.js +0 -51
- package/src/overwrites/venia-ui/lib/components/ProductImageCarousel/carousel.shimmer.module.css +0 -7
- package/src/overwrites/venia-ui/lib/components/ProductImageCarousel/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/ProductImageCarousel/thumbnail.js +0 -108
- package/src/overwrites/venia-ui/lib/components/ProductImageCarousel/thumbnail.module.css +0 -47
- package/src/overwrites/venia-ui/lib/components/ProductSort/index.js +0 -2
- package/src/overwrites/venia-ui/lib/components/ProductSort/productSort.js +0 -233
- package/src/overwrites/venia-ui/lib/components/ProductSort/productSort.module.css +0 -65
- package/src/overwrites/venia-ui/lib/components/ProductSort/productSort.shimmer.js +0 -28
- package/src/overwrites/venia-ui/lib/components/ProductSort/productSort.shimmer.module.css +0 -10
- package/src/overwrites/venia-ui/lib/components/ProductSort/sortItem.js +0 -57
- package/src/overwrites/venia-ui/lib/components/ProductSort/sortItem.module.css +0 -23
- package/src/overwrites/venia-ui/lib/components/QuantityStepper/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/QuantityStepper/quantityStepper.js +0 -113
- package/src/overwrites/venia-ui/lib/components/QuantityStepper/quantityStepper.module.css +0 -74
- package/src/overwrites/venia-ui/lib/components/RadioGroup/radio.js +0 -60
- package/src/overwrites/venia-ui/lib/components/RadioGroup/radio.module.css +0 -70
- package/src/overwrites/venia-ui/lib/components/RichContent/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/RichContent/plainHtmlRenderer.js +0 -17
- package/src/overwrites/venia-ui/lib/components/RichContent/richContent.js +0 -59
- package/src/overwrites/venia-ui/lib/components/RichContent/richContent.module.css +0 -146
- package/src/overwrites/venia-ui/lib/components/RichContent/richContentRenderers.js +0 -7
- package/src/overwrites/venia-ui/lib/components/RichText/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/RichText/richText.js +0 -21
- package/src/overwrites/venia-ui/lib/components/RichText/richText.module.css +0 -19
- package/src/overwrites/venia-ui/lib/components/Select/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/Select/option.js +0 -28
- package/src/overwrites/venia-ui/lib/components/Select/select.js +0 -74
- package/src/overwrites/venia-ui/lib/components/Select/select.module.css +0 -25
- package/src/overwrites/venia-ui/lib/components/SignIn/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/SignIn/signIn.gql.js +0 -50
- package/src/overwrites/venia-ui/lib/components/SignIn/signIn.js +0 -224
- package/src/overwrites/venia-ui/lib/components/SignIn/signIn.module.css +0 -65
- package/src/overwrites/venia-ui/lib/components/SignInPage/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/SignInPage/signInPage.js +0 -50
- package/src/overwrites/venia-ui/lib/components/SignInPage/signInPage.module.css +0 -17
- package/src/overwrites/venia-ui/lib/components/TextArea/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/TextArea/textArea.js +0 -44
- package/src/overwrites/venia-ui/lib/components/TextArea/textArea.module.css +0 -27
- package/src/overwrites/venia-ui/lib/components/TextInput/field.module.css +0 -51
- package/src/overwrites/venia-ui/lib/components/TextInput/index.js +0 -1
- package/src/overwrites/venia-ui/lib/components/TextInput/textInput.js +0 -64
- package/src/overwrites/venia-ui/lib/components/TextInput/textInput.module.css +0 -21
- package/src/overwrites/venia-ui/lib/index.module.css +0 -137
- package/src/overwrites/venia-ui/lib/tokens.module.css +0 -167
- package/src/overwrites/venia-ui/venia-static/favicon.ico +0 -0
- package/src/overwrites/venia-ui/venia-static/manifest.json +0 -32
- package/src/static-files/favicon.ico +0 -0
- package/src/static-files/icons/apple-touch-icon.png +0 -0
- package/src/static-files/icons/venia_circle_144.png +0 -0
- package/src/static-files/icons/venia_circle_192.png +0 -0
- package/src/static-files/icons/venia_circle_512.png +0 -0
- package/src/static-files/icons/venia_maskable_512.png +0 -0
- package/src/static-files/icons/venia_square_144.png +0 -0
- package/src/static-files/icons/venia_square_192.png +0 -0
- package/src/static-files/icons/venia_square_512.png +0 -0
- package/src/static-files/icons/venia_square_57.png +0 -0
- package/src/static-files/manifest.json +0 -32
- package/src/static-files/robots.txt +0 -2
- package/src/static-files/veniaClosed.png +0 -0
- package/src/talons/ArraySearchInput/useArraySearchInput.js +0 -58
- package/src/talons/AttributesBlock/attributesBlock.gql.js +0 -15
- package/src/talons/AttributesBlock/useAttributesBlock.js +0 -37
- package/src/talons/CollectibleGameSets/collectibleGameSets.gql.js +0 -47
- package/src/talons/CollectibleGameSets/useCollectibleGameSets.js +0 -134
- package/src/talons/CustomFilters/customFilters.gql.js +0 -45
- package/src/talons/CustomFilters/useCustomFilters.js +0 -258
- package/src/talons/FilterOption/useFilterOptionModal.js +0 -11
- package/src/talons/FilterOptionModal/useFilterOptionModal.js +0 -11
- package/src/talons/FilterTop/customFilters.gql.js +0 -45
- package/src/talons/FilterTop/filterTop.gql.js +0 -45
- package/src/talons/FilterTop/index.js +0 -1
- package/src/talons/FilterTop/useFilterTop.js +0 -312
- package/src/talons/Header/logo.gql.js +0 -19
- package/src/talons/Header/useLogo.js +0 -19
- package/src/talons/LegoSets/legoSets.gql.js +0 -59
- package/src/talons/LegoSets/useLegoSets.js +0 -222
- package/src/talons/MegaMenu/megaMenu.gql.js +0 -70
- package/src/talons/MiniatureGameSets/miniatureGameSets.gql.js +0 -59
- package/src/talons/MiniatureGameSets/useMiniatureGameSets.js +0 -220
- package/src/talons/NonSportCardsSets/nonSportCardsSets.gql.js +0 -59
- package/src/talons/NonSportCardsSets/useNonSportCardsSets.js +0 -238
- package/src/talons/SellerReview/sellerReview.gql.js +0 -53
- package/src/talons/SellerReview/useSellerReview.js +0 -49
- package/src/talons/ShopBy/shopBy.gql.js +0 -61
- package/src/talons/ShopBy/useShopBy.js +0 -264
- package/src/talons/ShopByBrands/shopByBrands.gql.js +0 -59
- package/src/talons/ShopByBrands/shopByBrands.js +0 -59
- package/src/talons/ShopByBrands/useShopByBrands.js +0 -218
- package/src/talons/ShopByCard/shopByCard.gql.js +0 -47
- package/src/talons/ShopByCard/useShopByCard.js +0 -134
- package/src/talons/ShopByCategory/index.js +0 -1
- package/src/talons/ShopByCategory/shopByCategory.gql.js +0 -38
- package/src/talons/ShopByCategory/useShopByCategory.js +0 -69
- package/src/talons/ShopByVehicles/shopByVehicles.gql.js +0 -60
- package/src/talons/ShopByVehicles/useShopByVehicles.js +0 -222
- package/src/talons/SportCardsSets/sportCardsSets.gql.js +0 -61
- package/src/talons/SportCardsSets/useSportCardsSets.js +0 -266
- package/src/talons/SubCategory/subCategory.gql.js +0 -15
- package/src/talons/SubCategory/useCustomSubCategory.js +0 -49
- package/src/talons/SubCategory/useSubCategory.js +0 -52
- package/src/talons/SubCategoryPage/subCategoryPage.gql.js +0 -40
- package/src/talons/SubCategoryPage/useSubCategoryPage.js +0 -108
- package/src/talons/TrainsSets/trainsSets.gql.js +0 -60
- package/src/talons/TrainsSets/useTrainsSets.js +0 -223
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { gql } from '@apollo/client';
|
|
2
|
-
|
|
3
|
-
export const GET_PRODUCT_FILTERS_BY_CATEGORY = gql`
|
|
4
|
-
query getProductFiltersByCategory(
|
|
5
|
-
$categoryIdFilter: FilterEqualTypeInput!
|
|
6
|
-
) {
|
|
7
|
-
products(filter: { category_uid: $categoryIdFilter }) {
|
|
8
|
-
aggregations {
|
|
9
|
-
label
|
|
10
|
-
count
|
|
11
|
-
attribute_code
|
|
12
|
-
options {
|
|
13
|
-
label
|
|
14
|
-
value
|
|
15
|
-
}
|
|
16
|
-
position
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
`;
|
|
21
|
-
|
|
22
|
-
export const GET_CATEGORY_CONTENT = gql`
|
|
23
|
-
query getCategoryData($id: String!) {
|
|
24
|
-
categories(filters: { category_uid: { in: [$id] } }) {
|
|
25
|
-
# eslint-disable-next-line @graphql-eslint/require-id-when-available
|
|
26
|
-
items {
|
|
27
|
-
uid
|
|
28
|
-
name
|
|
29
|
-
description
|
|
30
|
-
url_key
|
|
31
|
-
url_path
|
|
32
|
-
hide_filters
|
|
33
|
-
allowed_filters {
|
|
34
|
-
code
|
|
35
|
-
}
|
|
36
|
-
custom_subcategory {
|
|
37
|
-
name
|
|
38
|
-
path
|
|
39
|
-
}
|
|
40
|
-
attributes_block {
|
|
41
|
-
label
|
|
42
|
-
code
|
|
43
|
-
items {
|
|
44
|
-
label
|
|
45
|
-
value
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
parent {
|
|
49
|
-
uid
|
|
50
|
-
name
|
|
51
|
-
position
|
|
52
|
-
url_path
|
|
53
|
-
# eslint-disable-next-line @graphql-eslint/require-id-when-available
|
|
54
|
-
}
|
|
55
|
-
children {
|
|
56
|
-
uid
|
|
57
|
-
name
|
|
58
|
-
position
|
|
59
|
-
url_path
|
|
60
|
-
# eslint-disable-next-line @graphql-eslint/require-id-when-available
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
`;
|
|
66
|
-
|
|
67
|
-
export const GET_CATEGORY_AVAILABLE_SORT_METHODS = gql`
|
|
68
|
-
query getCategoryAvailableSortMethods(
|
|
69
|
-
$categoryIdFilter: FilterEqualTypeInput!
|
|
70
|
-
) {
|
|
71
|
-
products(filter: { category_uid: $categoryIdFilter }) {
|
|
72
|
-
sort_fields {
|
|
73
|
-
options {
|
|
74
|
-
label
|
|
75
|
-
value
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
`;
|
|
81
|
-
|
|
82
|
-
export const GET_STORE_CONFIG_DATA = gql`
|
|
83
|
-
query GetStoreConfigForBreadcrumbs {
|
|
84
|
-
# eslint-disable-next-line @graphql-eslint/require-id-when-available
|
|
85
|
-
storeConfig {
|
|
86
|
-
store_code
|
|
87
|
-
custommarketplace_plp_filters_virtualcategory
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
`;
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
export default {
|
|
94
|
-
getCategoryContentQuery: GET_CATEGORY_CONTENT,
|
|
95
|
-
getProductFiltersByCategoryQuery: GET_PRODUCT_FILTERS_BY_CATEGORY,
|
|
96
|
-
getCategoryAvailableSortMethodsQuery: GET_CATEGORY_AVAILABLE_SORT_METHODS,
|
|
97
|
-
getStoreConfigQuery: GET_STORE_CONFIG_DATA
|
|
98
|
-
};
|
package/src/overwrites/peregrine/lib/talons/RootComponents/Category/categoryFragments.gql.js
DELETED
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import { gql } from '@apollo/client';
|
|
2
|
-
|
|
3
|
-
export const CategoryFragment = gql`
|
|
4
|
-
# eslint-disable-next-line @graphql-eslint/require-id-when-available
|
|
5
|
-
fragment CategoryFragment on CategoryTree {
|
|
6
|
-
uid
|
|
7
|
-
meta_title
|
|
8
|
-
meta_keywords
|
|
9
|
-
meta_description
|
|
10
|
-
}
|
|
11
|
-
`;
|
|
12
|
-
|
|
13
|
-
export const ProductsFragment = gql`
|
|
14
|
-
fragment ProductsFragment on Products {
|
|
15
|
-
items {
|
|
16
|
-
id
|
|
17
|
-
uid
|
|
18
|
-
name
|
|
19
|
-
preorder {
|
|
20
|
-
is_preorder
|
|
21
|
-
preorder_notes
|
|
22
|
-
preorder_availability
|
|
23
|
-
}
|
|
24
|
-
auction_data {
|
|
25
|
-
is_auction
|
|
26
|
-
}
|
|
27
|
-
seller {
|
|
28
|
-
name
|
|
29
|
-
}
|
|
30
|
-
custom_attributes {
|
|
31
|
-
selected_attribute_options {
|
|
32
|
-
attribute_option {
|
|
33
|
-
uid
|
|
34
|
-
label
|
|
35
|
-
is_default
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
entered_attribute_value {
|
|
39
|
-
value
|
|
40
|
-
}
|
|
41
|
-
attribute_metadata {
|
|
42
|
-
uid
|
|
43
|
-
code
|
|
44
|
-
label
|
|
45
|
-
attribute_labels {
|
|
46
|
-
store_code
|
|
47
|
-
label
|
|
48
|
-
}
|
|
49
|
-
data_type
|
|
50
|
-
is_system
|
|
51
|
-
entity_type
|
|
52
|
-
ui_input {
|
|
53
|
-
ui_input_type
|
|
54
|
-
is_html_allowed
|
|
55
|
-
}
|
|
56
|
-
... on ProductAttributeMetadata {
|
|
57
|
-
used_in_components
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
price_range {
|
|
62
|
-
maximum_price {
|
|
63
|
-
final_price {
|
|
64
|
-
currency
|
|
65
|
-
value
|
|
66
|
-
}
|
|
67
|
-
regular_price {
|
|
68
|
-
currency
|
|
69
|
-
value
|
|
70
|
-
}
|
|
71
|
-
discount {
|
|
72
|
-
amount_off
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
sku
|
|
77
|
-
small_image {
|
|
78
|
-
url
|
|
79
|
-
}
|
|
80
|
-
stock_status
|
|
81
|
-
rating_summary
|
|
82
|
-
__typename
|
|
83
|
-
url_key
|
|
84
|
-
}
|
|
85
|
-
page_info {
|
|
86
|
-
total_pages
|
|
87
|
-
}
|
|
88
|
-
total_count
|
|
89
|
-
}
|
|
90
|
-
`;
|
|
@@ -1,234 +0,0 @@
|
|
|
1
|
-
import { useEffect, useMemo, useRef } from 'react';
|
|
2
|
-
import { useLocation } from 'react-router-dom';
|
|
3
|
-
import { useLazyQuery, useQuery } from '@apollo/client';
|
|
4
|
-
|
|
5
|
-
import mergeOperations from '@magento/peregrine/lib/util/shallowMerge';
|
|
6
|
-
import { useAppContext } from '@magento/peregrine/lib/context/app';
|
|
7
|
-
import { usePagination } from '@magento/peregrine/lib/hooks/usePagination';
|
|
8
|
-
import { useScrollTopOnChange } from '@magento/peregrine/lib/hooks/useScrollTopOnChange';
|
|
9
|
-
import { useSort } from '@magento/peregrine/lib/hooks/useSort';
|
|
10
|
-
import {
|
|
11
|
-
getFiltersFromSearch,
|
|
12
|
-
getFilterInput
|
|
13
|
-
} from '@magento/peregrine/lib/talons/FilterModal/helpers';
|
|
14
|
-
|
|
15
|
-
import DEFAULT_OPERATIONS from './category.gql';
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* A [React Hook]{@link https://reactjs.org/docs/hooks-intro.html} that
|
|
19
|
-
* controls the logic for the Category Root Component.
|
|
20
|
-
*
|
|
21
|
-
* @kind function
|
|
22
|
-
*
|
|
23
|
-
* @param {object} props
|
|
24
|
-
* @param {String} props.id - Category uid.
|
|
25
|
-
* @param {GraphQLAST} props.operations.getCategoryQuery - Fetches category using a server query
|
|
26
|
-
* @param {GraphQLAST} props.operations.getFilterInputsQuery - Fetches "allowed" filters using a server query
|
|
27
|
-
* @param {GraphQLAST} props.queries.getStoreConfig - Fetches store configuration using a server query
|
|
28
|
-
*
|
|
29
|
-
* @returns {object} result
|
|
30
|
-
* @returns {object} result.error - Indicates a network error occurred.
|
|
31
|
-
* @returns {object} result.categoryData - Category data.
|
|
32
|
-
* @returns {bool} result.isLoading - Category data loading.
|
|
33
|
-
* @returns {string} result.metaDescription - Category meta description.
|
|
34
|
-
* @returns {object} result.pageControl - Category pagination state.
|
|
35
|
-
* @returns {array} result.sortProps - Category sorting parameters.
|
|
36
|
-
* @returns {number} result.pageSize - Category total pages.
|
|
37
|
-
*/
|
|
38
|
-
export const useCategory = props => {
|
|
39
|
-
const {
|
|
40
|
-
id,
|
|
41
|
-
queries: { getPageSize }
|
|
42
|
-
} = props;
|
|
43
|
-
|
|
44
|
-
const operations = mergeOperations(DEFAULT_OPERATIONS, props.operations);
|
|
45
|
-
const { getCategoryQuery, getFilterInputsQuery } = operations;
|
|
46
|
-
|
|
47
|
-
const { data: pageSizeData } = useQuery(getPageSize, {
|
|
48
|
-
fetchPolicy: 'cache-and-network',
|
|
49
|
-
nextFetchPolicy: 'cache-first'
|
|
50
|
-
});
|
|
51
|
-
const pageSize = pageSizeData && pageSizeData.storeConfig.grid_per_page;
|
|
52
|
-
|
|
53
|
-
const [paginationValues, paginationApi] = usePagination();
|
|
54
|
-
const { currentPage, totalPages } = paginationValues;
|
|
55
|
-
const { setCurrentPage, setTotalPages } = paginationApi;
|
|
56
|
-
|
|
57
|
-
const sortProps = useSort({ sortFromSearch: false });
|
|
58
|
-
const [currentSort] = sortProps;
|
|
59
|
-
|
|
60
|
-
const { pathname } = useLocation();
|
|
61
|
-
|
|
62
|
-
const pathnameArr = pathname.split('/');
|
|
63
|
-
const categoryUrlKey = pathnameArr[pathnameArr.length - 1].replace('.html','');
|
|
64
|
-
|
|
65
|
-
// Keep track of the sort criteria so we can tell when they change.
|
|
66
|
-
const previousSort = useRef(currentSort);
|
|
67
|
-
|
|
68
|
-
const pageControl = {
|
|
69
|
-
currentPage,
|
|
70
|
-
setPage: setCurrentPage,
|
|
71
|
-
totalPages
|
|
72
|
-
};
|
|
73
|
-
|
|
74
|
-
const [
|
|
75
|
-
,
|
|
76
|
-
{
|
|
77
|
-
actions: { setPageLoading }
|
|
78
|
-
}
|
|
79
|
-
] = useAppContext();
|
|
80
|
-
|
|
81
|
-
const [runQuery, queryResponse] = useLazyQuery(getCategoryQuery, {
|
|
82
|
-
fetchPolicy: 'cache-and-network',
|
|
83
|
-
nextFetchPolicy: 'cache-first'
|
|
84
|
-
});
|
|
85
|
-
const {
|
|
86
|
-
called: categoryCalled,
|
|
87
|
-
loading: categoryLoading,
|
|
88
|
-
error,
|
|
89
|
-
data
|
|
90
|
-
} = queryResponse;
|
|
91
|
-
const { search } = useLocation();
|
|
92
|
-
|
|
93
|
-
const isBackgroundLoading = !!data && categoryLoading;
|
|
94
|
-
|
|
95
|
-
// Update the page indicator if the GraphQL query is in flight.
|
|
96
|
-
useEffect(() => {
|
|
97
|
-
setPageLoading(isBackgroundLoading);
|
|
98
|
-
}, [isBackgroundLoading, setPageLoading]);
|
|
99
|
-
|
|
100
|
-
// Keep track of the search terms so we can tell when they change.
|
|
101
|
-
const previousSearch = useRef(search);
|
|
102
|
-
|
|
103
|
-
// Get "allowed" filters by intersection of schema and aggregations
|
|
104
|
-
const {
|
|
105
|
-
called: introspectionCalled,
|
|
106
|
-
data: introspectionData,
|
|
107
|
-
loading: introspectionLoading
|
|
108
|
-
} = useQuery(getFilterInputsQuery);
|
|
109
|
-
|
|
110
|
-
// Create a type map we can reference later to ensure we pass valid args
|
|
111
|
-
// to the graphql query.
|
|
112
|
-
// For example: { category_id: 'FilterEqualTypeInput', price: 'FilterRangeTypeInput' }
|
|
113
|
-
const filterTypeMap = useMemo(() => {
|
|
114
|
-
const typeMap = new Map();
|
|
115
|
-
if (introspectionData) {
|
|
116
|
-
introspectionData.__type.inputFields.forEach(({ name, type }) => {
|
|
117
|
-
typeMap.set(name, type.name);
|
|
118
|
-
});
|
|
119
|
-
}
|
|
120
|
-
return typeMap;
|
|
121
|
-
}, [introspectionData]);
|
|
122
|
-
|
|
123
|
-
// Run the category query immediately and whenever its variable values change.
|
|
124
|
-
useEffect(() => {
|
|
125
|
-
// Wait until we have the type map to fetch product data.
|
|
126
|
-
if (!filterTypeMap.size || !pageSize) {
|
|
127
|
-
return;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
const filters = getFiltersFromSearch(search);
|
|
131
|
-
|
|
132
|
-
// Construct the filter arg object.
|
|
133
|
-
const newFilters = {};
|
|
134
|
-
filters.forEach((values, key) => {
|
|
135
|
-
newFilters[key] = getFilterInput(values, filterTypeMap.get(key));
|
|
136
|
-
});
|
|
137
|
-
|
|
138
|
-
// Use the category uid for the current category page regardless of the
|
|
139
|
-
// applied filters. Follow-up in PWA-404.
|
|
140
|
-
if (categoryUrlKey != "brands" && categoryUrlKey != "franchise") {
|
|
141
|
-
newFilters['category_uid'] = { eq: id };
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
runQuery({
|
|
145
|
-
variables: {
|
|
146
|
-
currentPage: Number(currentPage),
|
|
147
|
-
id: id,
|
|
148
|
-
filters: newFilters,
|
|
149
|
-
pageSize: Number(pageSize),
|
|
150
|
-
sort: { [currentSort.sortAttribute]: currentSort.sortDirection }
|
|
151
|
-
}
|
|
152
|
-
});
|
|
153
|
-
}, [
|
|
154
|
-
currentPage,
|
|
155
|
-
currentSort,
|
|
156
|
-
filterTypeMap,
|
|
157
|
-
id,
|
|
158
|
-
pageSize,
|
|
159
|
-
runQuery,
|
|
160
|
-
search
|
|
161
|
-
]);
|
|
162
|
-
|
|
163
|
-
const totalPagesFromData = data
|
|
164
|
-
? data.products.page_info.total_pages
|
|
165
|
-
: null;
|
|
166
|
-
|
|
167
|
-
useEffect(() => {
|
|
168
|
-
setTotalPages(totalPagesFromData);
|
|
169
|
-
return () => {
|
|
170
|
-
setTotalPages(null);
|
|
171
|
-
};
|
|
172
|
-
}, [setTotalPages, totalPagesFromData]);
|
|
173
|
-
|
|
174
|
-
// If we get an error after loading we should try to reset to page 1.
|
|
175
|
-
// If we continue to have errors after that, render an error message.
|
|
176
|
-
useEffect(() => {
|
|
177
|
-
if (error && !categoryLoading && !data && currentPage !== 1) {
|
|
178
|
-
setCurrentPage(1);
|
|
179
|
-
}
|
|
180
|
-
}, [currentPage, error, categoryLoading, setCurrentPage, data]);
|
|
181
|
-
|
|
182
|
-
// Reset the current page back to one (1) when the search string, filters
|
|
183
|
-
// or sort criteria change.
|
|
184
|
-
useEffect(() => {
|
|
185
|
-
// We don't want to compare page value.
|
|
186
|
-
const prevSearch = new URLSearchParams(previousSearch.current);
|
|
187
|
-
const nextSearch = new URLSearchParams(search);
|
|
188
|
-
prevSearch.delete('page');
|
|
189
|
-
nextSearch.delete('page');
|
|
190
|
-
|
|
191
|
-
if (
|
|
192
|
-
prevSearch.toString() !== nextSearch.toString() ||
|
|
193
|
-
previousSort.current.sortAttribute.toString() !==
|
|
194
|
-
currentSort.sortAttribute.toString() ||
|
|
195
|
-
previousSort.current.sortDirection.toString() !==
|
|
196
|
-
currentSort.sortDirection.toString()
|
|
197
|
-
) {
|
|
198
|
-
// The search term changed.
|
|
199
|
-
setCurrentPage(1, true);
|
|
200
|
-
// And update the ref.
|
|
201
|
-
previousSearch.current = search;
|
|
202
|
-
previousSort.current = currentSort;
|
|
203
|
-
}
|
|
204
|
-
}, [currentSort, previousSearch, search, setCurrentPage]);
|
|
205
|
-
|
|
206
|
-
const categoryData = categoryLoading && !data ? null : data;
|
|
207
|
-
const categoryNotFound =
|
|
208
|
-
!categoryLoading && data && data.categories.items.length === 0;
|
|
209
|
-
const metaDescription =
|
|
210
|
-
data &&
|
|
211
|
-
data.categories.items[0] &&
|
|
212
|
-
data.categories.items[0].meta_description
|
|
213
|
-
? data.categories.items[0].meta_description
|
|
214
|
-
: '';
|
|
215
|
-
|
|
216
|
-
// When only categoryLoading is involved, noProductsFound component flashes for a moment
|
|
217
|
-
const loading =
|
|
218
|
-
(introspectionCalled && !categoryCalled) ||
|
|
219
|
-
(categoryLoading && !data) ||
|
|
220
|
-
introspectionLoading;
|
|
221
|
-
|
|
222
|
-
useScrollTopOnChange(currentPage);
|
|
223
|
-
|
|
224
|
-
return {
|
|
225
|
-
error,
|
|
226
|
-
categoryData,
|
|
227
|
-
loading,
|
|
228
|
-
metaDescription,
|
|
229
|
-
pageControl,
|
|
230
|
-
sortProps,
|
|
231
|
-
pageSize,
|
|
232
|
-
categoryNotFound
|
|
233
|
-
};
|
|
234
|
-
};
|
|
@@ -1,192 +0,0 @@
|
|
|
1
|
-
import { useEffect, useMemo } from 'react';
|
|
2
|
-
import { useLazyQuery, useQuery } from '@apollo/client';
|
|
3
|
-
|
|
4
|
-
import mergeOperations from '@magento/peregrine/lib/util/shallowMerge';
|
|
5
|
-
import { useEventingContext } from '@magento/peregrine/lib/context/eventing';
|
|
6
|
-
|
|
7
|
-
import DEFAULT_OPERATIONS from './categoryContent.gql';
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Returns props necessary to render the categoryContent component.
|
|
11
|
-
*
|
|
12
|
-
* @param {object} props.data - The results of a getCategory GraphQL query.
|
|
13
|
-
*
|
|
14
|
-
* @returns {object} result
|
|
15
|
-
* @returns {string} result.categoryDescription - This category's description.
|
|
16
|
-
* @returns {string} result.categoryName - This category's name.
|
|
17
|
-
* @returns {object} result.filters - The filters object.
|
|
18
|
-
* @returns {object} result.items - The items in this category.
|
|
19
|
-
* @returns {number} result.totalPagesFromData - The total amount of pages for the query.
|
|
20
|
-
*/
|
|
21
|
-
export const useCategoryContent = props => {
|
|
22
|
-
const { categoryId, data, pageSize = 6 } = props;
|
|
23
|
-
|
|
24
|
-
const operations = mergeOperations(DEFAULT_OPERATIONS, props.operations);
|
|
25
|
-
|
|
26
|
-
const {
|
|
27
|
-
getCategoryContentQuery,
|
|
28
|
-
getProductFiltersByCategoryQuery,
|
|
29
|
-
getCategoryAvailableSortMethodsQuery,
|
|
30
|
-
getStoreConfigQuery
|
|
31
|
-
} = operations;
|
|
32
|
-
|
|
33
|
-
const placeholderItems = Array.from({ length: pageSize }).fill(null);
|
|
34
|
-
|
|
35
|
-
const { data: storeConfigData } = useQuery(getStoreConfigQuery, {
|
|
36
|
-
fetchPolicy: 'cache-and-network'
|
|
37
|
-
});
|
|
38
|
-
|
|
39
|
-
const virtualCategoryFilters = useMemo(() => {
|
|
40
|
-
if (storeConfigData) {
|
|
41
|
-
const data = storeConfigData.storeConfig.custommarketplace_plp_filters_virtualcategory;
|
|
42
|
-
return data ? data.split(',') : [];
|
|
43
|
-
}
|
|
44
|
-
}, [storeConfigData]);
|
|
45
|
-
|
|
46
|
-
const [getFilters, { data: filterData }] = useLazyQuery(
|
|
47
|
-
getProductFiltersByCategoryQuery,
|
|
48
|
-
{
|
|
49
|
-
fetchPolicy: 'cache-and-network',
|
|
50
|
-
nextFetchPolicy: 'cache-first'
|
|
51
|
-
}
|
|
52
|
-
);
|
|
53
|
-
|
|
54
|
-
const [getSortMethods, { data: sortData }] = useLazyQuery(
|
|
55
|
-
getCategoryAvailableSortMethodsQuery,
|
|
56
|
-
{
|
|
57
|
-
fetchPolicy: 'cache-and-network',
|
|
58
|
-
nextFetchPolicy: 'cache-first'
|
|
59
|
-
}
|
|
60
|
-
);
|
|
61
|
-
|
|
62
|
-
const { data: categoryData, loading: categoryLoading } = useQuery(
|
|
63
|
-
getCategoryContentQuery,
|
|
64
|
-
{
|
|
65
|
-
fetchPolicy: 'cache-and-network',
|
|
66
|
-
nextFetchPolicy: 'cache-first',
|
|
67
|
-
skip: !categoryId,
|
|
68
|
-
variables: {
|
|
69
|
-
id: categoryId
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
);
|
|
73
|
-
|
|
74
|
-
const [, { dispatch }] = useEventingContext();
|
|
75
|
-
|
|
76
|
-
useEffect(() => {
|
|
77
|
-
if (categoryId) {
|
|
78
|
-
getFilters({
|
|
79
|
-
variables: {
|
|
80
|
-
categoryIdFilter: {
|
|
81
|
-
eq: categoryId
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
});
|
|
85
|
-
}
|
|
86
|
-
}, [categoryId, getFilters]);
|
|
87
|
-
|
|
88
|
-
useEffect(() => {
|
|
89
|
-
if (categoryId) {
|
|
90
|
-
getSortMethods({
|
|
91
|
-
variables: {
|
|
92
|
-
categoryIdFilter: {
|
|
93
|
-
in: categoryId
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
});
|
|
97
|
-
}
|
|
98
|
-
}, [categoryId, getSortMethods]);
|
|
99
|
-
|
|
100
|
-
const rawFilters = filterData ? filterData.products.aggregations : null;
|
|
101
|
-
const items = data ? data.products.items : placeholderItems;
|
|
102
|
-
const category =
|
|
103
|
-
categoryData && categoryData.categories.items.length
|
|
104
|
-
? categoryData.categories.items[0]
|
|
105
|
-
: null;
|
|
106
|
-
const children =
|
|
107
|
-
categoryData && categoryData.categories.items.length
|
|
108
|
-
? categoryData.categories.items[0].children
|
|
109
|
-
: null;
|
|
110
|
-
|
|
111
|
-
const filters = [];
|
|
112
|
-
|
|
113
|
-
rawFilters && rawFilters.map((filter, index) => {
|
|
114
|
-
|
|
115
|
-
const filterOptions = [];
|
|
116
|
-
let label = filter.label;
|
|
117
|
-
if (filter.attribute_code == "category_uid") {
|
|
118
|
-
children && children.map((category, index) => {
|
|
119
|
-
filterOptions.push({
|
|
120
|
-
'label': category.name,
|
|
121
|
-
'value': category.uid,
|
|
122
|
-
'path': category.url_path
|
|
123
|
-
});
|
|
124
|
-
});
|
|
125
|
-
|
|
126
|
-
label = category ? category.name : label;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
const newFilter = {
|
|
130
|
-
attribute_code: filter.attribute_code,
|
|
131
|
-
count: filter.count,
|
|
132
|
-
label: label,
|
|
133
|
-
position: filter.position,
|
|
134
|
-
options: filterOptions.length ? filterOptions : filter.options
|
|
135
|
-
};
|
|
136
|
-
|
|
137
|
-
filters.push(newFilter);
|
|
138
|
-
});
|
|
139
|
-
|
|
140
|
-
const attributesBlock = categoryData && categoryData.categories.items.length
|
|
141
|
-
? categoryData.categories.items[0].attributes_block
|
|
142
|
-
: null;
|
|
143
|
-
const parent =
|
|
144
|
-
categoryData && categoryData.categories.items.length
|
|
145
|
-
? categoryData.categories.items[0].parent
|
|
146
|
-
: null;
|
|
147
|
-
const totalPagesFromData = data
|
|
148
|
-
? data.products.page_info.total_pages
|
|
149
|
-
: null;
|
|
150
|
-
const totalCount = data ? data.products.total_count : null;
|
|
151
|
-
|
|
152
|
-
const categoryName =
|
|
153
|
-
categoryData && categoryData.categories.items.length
|
|
154
|
-
? categoryData.categories.items[0].name
|
|
155
|
-
: null;
|
|
156
|
-
const categoryDescription =
|
|
157
|
-
categoryData && categoryData.categories.items.length
|
|
158
|
-
? categoryData.categories.items[0].description
|
|
159
|
-
: null;
|
|
160
|
-
const availableSortMethods = sortData
|
|
161
|
-
? sortData.products.sort_fields.options
|
|
162
|
-
: null;
|
|
163
|
-
|
|
164
|
-
useEffect(() => {
|
|
165
|
-
if (!categoryLoading && categoryData.categories.items.length > 0) {
|
|
166
|
-
dispatch({
|
|
167
|
-
type: 'CATEGORY_PAGE_VIEW',
|
|
168
|
-
payload: {
|
|
169
|
-
id: categoryData.categories.items[0].uid,
|
|
170
|
-
name: categoryData.categories.items[0].name,
|
|
171
|
-
url_key: categoryData.categories.items[0].url_key,
|
|
172
|
-
url_path: categoryData.categories.items[0].url_path
|
|
173
|
-
}
|
|
174
|
-
});
|
|
175
|
-
}
|
|
176
|
-
}, [categoryData, dispatch, categoryLoading]);
|
|
177
|
-
|
|
178
|
-
return {
|
|
179
|
-
availableSortMethods,
|
|
180
|
-
categoryName,
|
|
181
|
-
categoryDescription,
|
|
182
|
-
filters,
|
|
183
|
-
items,
|
|
184
|
-
totalCount,
|
|
185
|
-
totalPagesFromData,
|
|
186
|
-
children,
|
|
187
|
-
parent,
|
|
188
|
-
attributesBlock,
|
|
189
|
-
category,
|
|
190
|
-
virtualCategoryFilters
|
|
191
|
-
};
|
|
192
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { gql } from '@apollo/client';
|
|
2
|
-
|
|
3
|
-
import { ProductDetailsFragment } from './productDetailFragment.gql';
|
|
4
|
-
|
|
5
|
-
export const GET_STORE_CONFIG_DATA = gql`
|
|
6
|
-
query getStoreConfigData {
|
|
7
|
-
# eslint-disable-next-line @graphql-eslint/require-id-when-available
|
|
8
|
-
storeConfig {
|
|
9
|
-
store_code
|
|
10
|
-
product_url_suffix
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
`;
|
|
14
|
-
|
|
15
|
-
export const GET_PRODUCT_DETAIL_QUERY = gql`
|
|
16
|
-
query getProductDetailForProductPage($urlKey: String!) {
|
|
17
|
-
products(filter: { url_key: { eq: $urlKey } }) {
|
|
18
|
-
items {
|
|
19
|
-
id
|
|
20
|
-
uid
|
|
21
|
-
...ProductDetailsFragment
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
${ProductDetailsFragment}
|
|
26
|
-
`;
|
|
27
|
-
|
|
28
|
-
export default {
|
|
29
|
-
getStoreConfigData: GET_STORE_CONFIG_DATA,
|
|
30
|
-
getProductDetailQuery: GET_PRODUCT_DETAIL_QUERY
|
|
31
|
-
};
|