@jetshop/template-trend 6.2.3 → 6.2.5

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.
Files changed (560) hide show
  1. package/.linaria-cache/packages/template-trend/src/components/Auth/LogInPage.linaria.css +4 -0
  2. package/.linaria-cache/packages/template-trend/src/components/Auth/Signup/Address.linaria.css +1 -0
  3. package/.linaria-cache/packages/template-trend/src/components/Auth/Signup/CustomerType.linaria.css +1 -0
  4. package/.linaria-cache/packages/template-trend/src/components/Auth/Signup/LoginFields.linaria.css +1 -0
  5. package/.linaria-cache/packages/template-trend/src/components/Auth/Signup/SignUpPage.linaria.css +2 -0
  6. package/.linaria-cache/packages/template-trend/src/components/Auth/UI/Form.linaria.css +2 -0
  7. package/.linaria-cache/packages/template-trend/src/components/Cart/CartButton.linaria.css +2 -0
  8. package/.linaria-cache/packages/template-trend/src/components/Cart/CartFlyout.linaria.css +7 -0
  9. package/.linaria-cache/packages/template-trend/src/components/Cart/CartItem.linaria.css +8 -0
  10. package/.linaria-cache/packages/template-trend/src/components/Cart/FreeShipping.linaria.css +2 -0
  11. package/.linaria-cache/packages/template-trend/src/components/CategoryPage/CategoryHeader.linaria.css +8 -0
  12. package/.linaria-cache/packages/template-trend/src/components/CategoryPage/Filters/ActiveFilters.linaria.css +6 -0
  13. package/.linaria-cache/packages/template-trend/src/components/CategoryPage/Filters/Filter.linaria.css +4 -0
  14. package/.linaria-cache/packages/template-trend/src/components/CategoryPage/Filters/FilterDrawer.linaria.css +4 -0
  15. package/.linaria-cache/packages/template-trend/src/components/CategoryPage/Filters/FilterDropdownMenu.linaria.css +1 -0
  16. package/.linaria-cache/packages/template-trend/src/components/CategoryPage/Filters/Mobile/ActiveCarot.linaria.css +1 -0
  17. package/.linaria-cache/packages/template-trend/src/components/CategoryPage/Filters/Mobile/FilterButton.linaria.css +5 -0
  18. package/.linaria-cache/packages/template-trend/src/components/CategoryPage/Filters/Mobile/ListAccordion.linaria.css +1 -0
  19. package/.linaria-cache/packages/template-trend/src/components/CategoryPage/Filters/Mobile/shared/styles.linaria.css +1 -0
  20. package/.linaria-cache/packages/template-trend/src/components/CategoryPage/Filters/RangeFilters.linaria.css +2 -0
  21. package/.linaria-cache/packages/template-trend/src/components/CategoryPage/ProductCard.linaria.css +1 -0
  22. package/.linaria-cache/packages/template-trend/src/components/CategoryPage/ProductGrid.linaria.css +2 -0
  23. package/.linaria-cache/packages/template-trend/src/components/CategoryPage/ProductGridWindow.linaria.css +2 -0
  24. package/.linaria-cache/packages/template-trend/src/components/CategoryPage/StandardCategoryPage.linaria.css +3 -0
  25. package/.linaria-cache/packages/template-trend/src/components/CategoryPage/WindowedCategoryPage.linaria.css +4 -0
  26. package/.linaria-cache/packages/template-trend/src/components/ContentPage/ContentPage.linaria.css +5 -0
  27. package/.linaria-cache/packages/template-trend/src/components/ContentPage/SubPageNavigation.linaria.css +4 -0
  28. package/.linaria-cache/packages/template-trend/src/components/CookieConsent.linaria.css +1 -0
  29. package/.linaria-cache/packages/template-trend/src/components/Forms/GlobalError.linaria.css +1 -0
  30. package/.linaria-cache/packages/template-trend/src/components/Forms/Input.linaria.css +4 -0
  31. package/.linaria-cache/packages/template-trend/src/components/Forms/InputStatus.linaria.css +3 -0
  32. package/.linaria-cache/packages/template-trend/src/components/Forms/Success.linaria.css +1 -0
  33. package/.linaria-cache/packages/template-trend/src/components/Layout/Container.linaria.css +1 -0
  34. package/.linaria-cache/packages/template-trend/src/components/Layout/Content/index.linaria.css +1 -0
  35. package/.linaria-cache/packages/template-trend/src/components/Layout/Footer/Footer.linaria.css +4 -0
  36. package/.linaria-cache/packages/template-trend/src/components/Layout/Footer/SocialLinks.linaria.css +2 -0
  37. package/.linaria-cache/packages/template-trend/src/components/Layout/Header/Categories/MobileCategories.linaria.css +6 -0
  38. package/.linaria-cache/packages/template-trend/src/components/Layout/Header/CategoryMenu/CategoryMenu.linaria.css +1 -0
  39. package/.linaria-cache/packages/template-trend/src/components/Layout/Header/CategoryMenu/CategoryMenuContainer.linaria.css +2 -0
  40. package/.linaria-cache/packages/template-trend/src/components/Layout/Header/CategoryMenu/SubMenuSection.linaria.css +2 -0
  41. package/.linaria-cache/packages/template-trend/src/components/Layout/Header/CategoryMenu/SubMenuWrapper.linaria.css +5 -0
  42. package/.linaria-cache/packages/template-trend/src/components/Layout/Header/ChannelSelector/ChannelSelector.linaria.css +2 -0
  43. package/.linaria-cache/packages/template-trend/src/components/Layout/Header/ChannelSelector/ChannelSelectorModal.linaria.css +2 -0
  44. package/.linaria-cache/packages/template-trend/src/components/Layout/Header/ChannelSelector/Selector.linaria.css +5 -0
  45. package/.linaria-cache/packages/template-trend/src/components/Layout/Header/Header.linaria.css +7 -0
  46. package/.linaria-cache/packages/template-trend/src/components/Layout/Header/Logo.linaria.css +1 -0
  47. package/.linaria-cache/packages/template-trend/src/components/Layout/Header/LogoSearchBar.linaria.css +1 -0
  48. package/.linaria-cache/packages/template-trend/src/components/Layout/Header/MobileMenu.linaria.css +6 -0
  49. package/.linaria-cache/packages/template-trend/src/components/Layout/Header/RecommendedChannel/ChannelBanner.linaria.css +5 -0
  50. package/.linaria-cache/packages/template-trend/src/components/Layout/Header/RecommendedChannel/RecommendedChannelSelector.linaria.css +9 -0
  51. package/.linaria-cache/packages/template-trend/src/components/Layout/Header/SearchBar.linaria.css +3 -0
  52. package/.linaria-cache/packages/template-trend/src/components/Layout/Header/SearchButton.linaria.css +1 -0
  53. package/.linaria-cache/packages/template-trend/src/components/Layout/Header/TopNav.linaria.css +1 -0
  54. package/.linaria-cache/packages/template-trend/src/components/Layout/MaxWidth.linaria.css +1 -0
  55. package/.linaria-cache/packages/template-trend/src/components/Layout/Notifications.linaria.css +1 -0
  56. package/.linaria-cache/packages/template-trend/src/components/LoadingPage.linaria.css +1 -0
  57. package/.linaria-cache/packages/template-trend/src/components/MyPages/CustomerNameHeader.linaria.css +1 -0
  58. package/.linaria-cache/packages/template-trend/src/components/MyPages/DeleteAccount.linaria.css +1 -0
  59. package/.linaria-cache/packages/template-trend/src/components/MyPages/MyPages.linaria.css +1 -0
  60. package/.linaria-cache/packages/template-trend/src/components/MyPages/MyPagesSidebar.linaria.css +1 -0
  61. package/.linaria-cache/packages/template-trend/src/components/MyPages/MyPagesStartPage.linaria.css +2 -0
  62. package/.linaria-cache/packages/template-trend/src/components/MyPages/Orders/ListOrder.linaria.css +1 -0
  63. package/.linaria-cache/packages/template-trend/src/components/MyPages/Orders/OrderDetail/ListDetail.linaria.css +4 -0
  64. package/.linaria-cache/packages/template-trend/src/components/MyPages/Orders/OrderDetail/OrderTotals.linaria.css +1 -0
  65. package/.linaria-cache/packages/template-trend/src/components/MyPages/Orders/OrderDetail/ShippingPayment.linaria.css +1 -0
  66. package/.linaria-cache/packages/template-trend/src/components/MyPages/Orders/OrderListPage.linaria.css +1 -0
  67. package/.linaria-cache/packages/template-trend/src/components/MyPages/ProfileDeliveryAddresses.linaria.css +1 -0
  68. package/.linaria-cache/packages/template-trend/src/components/MyPages/ProfilePage.linaria.css +4 -0
  69. package/.linaria-cache/packages/template-trend/src/components/NavigationTree/NavTree.linaria.css +2 -0
  70. package/.linaria-cache/packages/template-trend/src/components/Newsletter/NewsletterField.linaria.css +3 -0
  71. package/.linaria-cache/packages/template-trend/src/components/NotFoundPage.linaria.css +1 -0
  72. package/.linaria-cache/packages/template-trend/src/components/Pagination/Pagination.linaria.css +1 -0
  73. package/.linaria-cache/packages/template-trend/src/components/ProductList/AddToCart.linaria.css +1 -0
  74. package/.linaria-cache/packages/template-trend/src/components/ProductList/Favourite.linaria.css +1 -0
  75. package/.linaria-cache/packages/template-trend/src/components/ProductList/Favourites.linaria.css +2 -0
  76. package/.linaria-cache/packages/template-trend/src/components/ProductList/Product.linaria.css +2 -0
  77. package/.linaria-cache/packages/template-trend/src/components/ProductPage/AddToCart/AddToCartForm.linaria.css +3 -0
  78. package/.linaria-cache/packages/template-trend/src/components/ProductPage/AddToCart/ProductToast.linaria.css +9 -0
  79. package/.linaria-cache/packages/template-trend/src/components/ProductPage/Campaigns.linaria.css +2 -0
  80. package/.linaria-cache/packages/template-trend/src/components/ProductPage/ConfigurationSelector.linaria.css +1 -0
  81. package/.linaria-cache/packages/template-trend/src/components/ProductPage/Images/ImageContainer.linaria.css +1 -0
  82. package/.linaria-cache/packages/template-trend/src/components/ProductPage/PackageProduct/IncludedInPackages.linaria.css +1 -0
  83. package/.linaria-cache/packages/template-trend/src/components/ProductPage/PackageProduct/PackageProduct.linaria.css +2 -0
  84. package/.linaria-cache/packages/template-trend/src/components/ProductPage/PackageProduct/PackageProductItem.linaria.css +1 -0
  85. package/.linaria-cache/packages/template-trend/src/components/ProductPage/PriceHistory.linaria.css +1 -0
  86. package/.linaria-cache/packages/template-trend/src/components/ProductPage/ProductInfo.linaria.css +3 -0
  87. package/.linaria-cache/packages/template-trend/src/components/ProductPage/ProductInfoAccordion.linaria.css +3 -0
  88. package/.linaria-cache/packages/template-trend/src/components/ProductPage/ProductPage.linaria.css +1 -0
  89. package/.linaria-cache/packages/template-trend/src/components/ProductPage/ProductPageLoadingState.linaria.css +3 -0
  90. package/.linaria-cache/packages/template-trend/src/components/ProductPage/RelatedProducts.linaria.css +1 -0
  91. package/.linaria-cache/packages/template-trend/src/components/ProductPage/StockStatus/NotifyWhenBack.linaria.css +5 -0
  92. package/.linaria-cache/packages/template-trend/src/components/ProductPage/StockStatus/StockOrb.linaria.css +1 -0
  93. package/.linaria-cache/packages/template-trend/src/components/ProductPage/StockStatus/StockStatusIndicator.linaria.css +1 -0
  94. package/.linaria-cache/packages/template-trend/src/components/ProductPage/StockStatus/WarehouseStock.linaria.css +2 -0
  95. package/.linaria-cache/packages/template-trend/src/components/ProductPage/VariantSelector.linaria.css +3 -0
  96. package/.linaria-cache/packages/template-trend/src/components/ProductPage/styledComponents.linaria.css +1 -0
  97. package/.linaria-cache/packages/template-trend/src/components/SearchPage/CategoryList.linaria.css +7 -0
  98. package/.linaria-cache/packages/template-trend/src/components/SearchPage/SearchMeta.linaria.css +1 -0
  99. package/.linaria-cache/packages/template-trend/src/components/SearchPage/SearchPage.linaria.css +3 -0
  100. package/.linaria-cache/packages/template-trend/src/components/SearchPage/SearchResults.linaria.css +4 -0
  101. package/.linaria-cache/packages/template-trend/src/components/SearchPage/SearchTerm.linaria.css +1 -0
  102. package/.linaria-cache/packages/template-trend/src/components/SearchPage/WindowedSearchResults.linaria.css +5 -0
  103. package/.linaria-cache/packages/template-trend/src/components/StartPage/Content/Row.linaria.css +3 -0
  104. package/.linaria-cache/packages/template-trend/src/components/StartPage/Content/StartPageCampaign.linaria.css +7 -0
  105. package/.linaria-cache/packages/template-trend/src/components/StartPage/Content/StartPageCategories.linaria.css +3 -0
  106. package/.linaria-cache/packages/template-trend/src/components/StartPage/Content/StartPageHTMLContent.linaria.css +1 -0
  107. package/.linaria-cache/packages/template-trend/src/components/StartPage/Content/StartPageHero.linaria.css +6 -0
  108. package/.linaria-cache/packages/template-trend/src/components/StartPage/Content/StartPageProductGrid.linaria.css +2 -0
  109. package/.linaria-cache/packages/template-trend/src/components/StartPage/StartPage.linaria.css +1 -0
  110. package/.linaria-cache/packages/template-trend/src/components/Store/Store.linaria.css +1 -0
  111. package/.linaria-cache/packages/template-trend/src/components/StoreLocator/StoreList.linaria.css +5 -0
  112. package/.linaria-cache/packages/template-trend/src/components/StoreLocator/StoreLocator.linaria.css +5 -0
  113. package/.linaria-cache/packages/template-trend/src/components/StoreLocator/StoreMap.linaria.css +1 -0
  114. package/.linaria-cache/packages/template-trend/src/components/StoreLocator/StoreMarker.linaria.css +1 -0
  115. package/.linaria-cache/packages/template-trend/src/components/StoreLocator/StoreSearch.linaria.css +1 -0
  116. package/.linaria-cache/packages/template-trend/src/components/StoreLocator/UserLocation.linaria.css +1 -0
  117. package/.linaria-cache/packages/template-trend/src/components/ui/Badge.linaria.css +1 -0
  118. package/.linaria-cache/packages/template-trend/src/components/ui/Button.linaria.css +4 -0
  119. package/.linaria-cache/packages/template-trend/src/components/ui/CloseButton.linaria.css +1 -0
  120. package/.linaria-cache/packages/template-trend/src/components/ui/Headings.linaria.css +2 -0
  121. package/.linaria-cache/packages/template-trend/src/components/ui/Spinner.linaria.css +1 -0
  122. package/.linaria-cache/packages/template-trend/src/fonts/loadFontCss.linaria.css +1 -0
  123. package/.linaria-cache/packages/template-trend/src/globalStyles.linaria.css +1 -0
  124. package/.linaria-cache/packages/ui/Breadcrumbs/Breadcrumbs.linaria.css +2 -0
  125. package/.linaria-cache/packages/ui/Button/Button.linaria.css +2 -0
  126. package/.linaria-cache/packages/ui/Button/SecondaryButton.linaria.css +1 -0
  127. package/.linaria-cache/packages/ui/Button/TrendButton.linaria.css +1 -0
  128. package/.linaria-cache/packages/ui/ChannelSelector/ChannelSelector.linaria.css +3 -0
  129. package/.linaria-cache/packages/ui/ChannelSelector/ChannelSelectorButtons.linaria.css +2 -0
  130. package/.linaria-cache/packages/ui/ChannelSelector/LargeSelector.linaria.css +1 -0
  131. package/.linaria-cache/packages/ui/ChannelSelector/MiniSelector.linaria.css +1 -0
  132. package/.linaria-cache/packages/ui/Checkbox/Checkbox.linaria.css +4 -0
  133. package/.linaria-cache/packages/ui/Checkbox/CheckboxGroup.linaria.css +3 -0
  134. package/.linaria-cache/packages/ui/DropdownMenu/DropdownMenu.linaria.css +2 -0
  135. package/.linaria-cache/packages/ui/ErrorBoundary/Generic.linaria.css +1 -0
  136. package/.linaria-cache/packages/ui/Gallery/Gallery.linaria.css +2 -0
  137. package/.linaria-cache/packages/ui/JetshopText.linaria.css +1 -0
  138. package/.linaria-cache/packages/ui/Loading/LoadingBar.linaria.css +2 -0
  139. package/.linaria-cache/packages/ui/Modal/Drawer/Drawer.linaria.css +1 -0
  140. package/.linaria-cache/packages/ui/Modal/ModalProvider.linaria.css +1 -0
  141. package/.linaria-cache/packages/ui/Modal/ModalRoot.linaria.css +1 -0
  142. package/.linaria-cache/packages/ui/Pagination/Pagination.linaria.css +1 -0
  143. package/.linaria-cache/packages/ui/Pagination/usePagination.linaria.css +1 -0
  144. package/.linaria-cache/packages/ui/PreOrderDateSelector/PreOrderDateSelector.linaria.css +1 -0
  145. package/.linaria-cache/packages/ui/Price/Price.linaria.css +4 -0
  146. package/.linaria-cache/packages/ui/ProductList/Badges.linaria.css +7 -0
  147. package/.linaria-cache/packages/ui/ProductSpecifications/ProductSpecifications.linaria.css +1 -0
  148. package/.linaria-cache/packages/ui/Search/SearchField.linaria.css +5 -0
  149. package/.linaria-cache/packages/ui/Search/SearchPage/SearchMeta.linaria.css +1 -0
  150. package/.linaria-cache/packages/ui/Select/Components.linaria.css +10 -0
  151. package/.linaria-cache/packages/ui/Theme/sanitizeCss.linaria.css +1 -0
  152. package/package.json +5 -5
  153. package/schema.graphql +5 -0
  154. package/dist/src/client.js +0 -6
  155. package/dist/src/client.js.map +0 -1
  156. package/dist/src/components/Auth/ForgotPassword.js +0 -30
  157. package/dist/src/components/Auth/ForgotPassword.js.map +0 -1
  158. package/dist/src/components/Auth/ForgotPassword.loadable.js +0 -7
  159. package/dist/src/components/Auth/ForgotPassword.loadable.js.map +0 -1
  160. package/dist/src/components/Auth/LogInPage.js +0 -69
  161. package/dist/src/components/Auth/LogInPage.js.map +0 -1
  162. package/dist/src/components/Auth/LogInPage.loadable.js +0 -7
  163. package/dist/src/components/Auth/LogInPage.loadable.js.map +0 -1
  164. package/dist/src/components/Auth/ResetPassword.js +0 -30
  165. package/dist/src/components/Auth/ResetPassword.js.map +0 -1
  166. package/dist/src/components/Auth/ResetPassword.loadable.js +0 -7
  167. package/dist/src/components/Auth/ResetPassword.loadable.js.map +0 -1
  168. package/dist/src/components/Auth/Signup/Address.js +0 -34
  169. package/dist/src/components/Auth/Signup/Address.js.map +0 -1
  170. package/dist/src/components/Auth/Signup/CustomerType.js +0 -30
  171. package/dist/src/components/Auth/Signup/CustomerType.js.map +0 -1
  172. package/dist/src/components/Auth/Signup/LoginFields.js +0 -31
  173. package/dist/src/components/Auth/Signup/LoginFields.js.map +0 -1
  174. package/dist/src/components/Auth/Signup/PID.js +0 -11
  175. package/dist/src/components/Auth/Signup/PID.js.map +0 -1
  176. package/dist/src/components/Auth/Signup/SSN.js +0 -29
  177. package/dist/src/components/Auth/Signup/SSN.js.map +0 -1
  178. package/dist/src/components/Auth/Signup/SignUpPage.js +0 -78
  179. package/dist/src/components/Auth/Signup/SignUpPage.js.map +0 -1
  180. package/dist/src/components/Auth/Signup/SignUpPage.loadable.js +0 -7
  181. package/dist/src/components/Auth/Signup/SignUpPage.loadable.js.map +0 -1
  182. package/dist/src/components/Auth/Signup/useSignupValidation.js +0 -29
  183. package/dist/src/components/Auth/Signup/useSignupValidation.js.map +0 -1
  184. package/dist/src/components/Auth/UI/Form.js +0 -33
  185. package/dist/src/components/Auth/UI/Form.js.map +0 -1
  186. package/dist/src/components/Cart/CartButton.js +0 -46
  187. package/dist/src/components/Cart/CartButton.js.map +0 -1
  188. package/dist/src/components/Cart/CartFlyout.js +0 -190
  189. package/dist/src/components/Cart/CartFlyout.js.map +0 -1
  190. package/dist/src/components/Cart/CartItem.js +0 -155
  191. package/dist/src/components/Cart/CartItem.js.map +0 -1
  192. package/dist/src/components/Cart/FreeShipping.js +0 -51
  193. package/dist/src/components/Cart/FreeShipping.js.map +0 -1
  194. package/dist/src/components/CategoryPage/CategoryHeader.js +0 -104
  195. package/dist/src/components/CategoryPage/CategoryHeader.js.map +0 -1
  196. package/dist/src/components/CategoryPage/CategoryHeaderLoadingState.js +0 -13
  197. package/dist/src/components/CategoryPage/CategoryHeaderLoadingState.js.map +0 -1
  198. package/dist/src/components/CategoryPage/CategoryPage.js +0 -26
  199. package/dist/src/components/CategoryPage/CategoryPage.js.map +0 -1
  200. package/dist/src/components/CategoryPage/CategoryPage.loadable.js +0 -7
  201. package/dist/src/components/CategoryPage/CategoryPage.loadable.js.map +0 -1
  202. package/dist/src/components/CategoryPage/Filters/ActiveFilters.js +0 -79
  203. package/dist/src/components/CategoryPage/Filters/ActiveFilters.js.map +0 -1
  204. package/dist/src/components/CategoryPage/Filters/BooleanFilters.js +0 -18
  205. package/dist/src/components/CategoryPage/Filters/BooleanFilters.js.map +0 -1
  206. package/dist/src/components/CategoryPage/Filters/Filter.js +0 -97
  207. package/dist/src/components/CategoryPage/Filters/Filter.js.map +0 -1
  208. package/dist/src/components/CategoryPage/Filters/FilterDrawer.js +0 -91
  209. package/dist/src/components/CategoryPage/Filters/FilterDrawer.js.map +0 -1
  210. package/dist/src/components/CategoryPage/Filters/FilterDropdownMenu.js +0 -77
  211. package/dist/src/components/CategoryPage/Filters/FilterDropdownMenu.js.map +0 -1
  212. package/dist/src/components/CategoryPage/Filters/ListFilters.js +0 -38
  213. package/dist/src/components/CategoryPage/Filters/ListFilters.js.map +0 -1
  214. package/dist/src/components/CategoryPage/Filters/Mobile/ActiveCarot.js +0 -15
  215. package/dist/src/components/CategoryPage/Filters/Mobile/ActiveCarot.js.map +0 -1
  216. package/dist/src/components/CategoryPage/Filters/Mobile/FilterButton.js +0 -107
  217. package/dist/src/components/CategoryPage/Filters/Mobile/FilterButton.js.map +0 -1
  218. package/dist/src/components/CategoryPage/Filters/Mobile/ListAccordion.js +0 -44
  219. package/dist/src/components/CategoryPage/Filters/Mobile/ListAccordion.js.map +0 -1
  220. package/dist/src/components/CategoryPage/Filters/Mobile/RangeAccordion.js +0 -21
  221. package/dist/src/components/CategoryPage/Filters/Mobile/RangeAccordion.js.map +0 -1
  222. package/dist/src/components/CategoryPage/Filters/Mobile/SortOrderAccordion.js +0 -30
  223. package/dist/src/components/CategoryPage/Filters/Mobile/SortOrderAccordion.js.map +0 -1
  224. package/dist/src/components/CategoryPage/Filters/Mobile/shared/styles.js +0 -12
  225. package/dist/src/components/CategoryPage/Filters/Mobile/shared/styles.js.map +0 -1
  226. package/dist/src/components/CategoryPage/Filters/MultiListFilters.js +0 -37
  227. package/dist/src/components/CategoryPage/Filters/MultiListFilters.js.map +0 -1
  228. package/dist/src/components/CategoryPage/Filters/RangeFilters.js +0 -122
  229. package/dist/src/components/CategoryPage/Filters/RangeFilters.js.map +0 -1
  230. package/dist/src/components/CategoryPage/Filters/SortOrders.js +0 -29
  231. package/dist/src/components/CategoryPage/Filters/SortOrders.js.map +0 -1
  232. package/dist/src/components/CategoryPage/Filters/index.js +0 -2
  233. package/dist/src/components/CategoryPage/Filters/index.js.map +0 -1
  234. package/dist/src/components/CategoryPage/ProductCard.js +0 -98
  235. package/dist/src/components/CategoryPage/ProductCard.js.map +0 -1
  236. package/dist/src/components/CategoryPage/ProductGrid.js +0 -89
  237. package/dist/src/components/CategoryPage/ProductGrid.js.map +0 -1
  238. package/dist/src/components/CategoryPage/ProductGridWindow.js +0 -48
  239. package/dist/src/components/CategoryPage/ProductGridWindow.js.map +0 -1
  240. package/dist/src/components/CategoryPage/StandardCategoryPage.js +0 -51
  241. package/dist/src/components/CategoryPage/StandardCategoryPage.js.map +0 -1
  242. package/dist/src/components/CategoryPage/WindowedCategoryPage.js +0 -87
  243. package/dist/src/components/CategoryPage/WindowedCategoryPage.js.map +0 -1
  244. package/dist/src/components/CategoryPage/index.js +0 -2
  245. package/dist/src/components/CategoryPage/index.js.map +0 -1
  246. package/dist/src/components/ContentPage/ContentPage.js +0 -64
  247. package/dist/src/components/ContentPage/ContentPage.js.map +0 -1
  248. package/dist/src/components/ContentPage/ContentPage.loadable.js +0 -7
  249. package/dist/src/components/ContentPage/ContentPage.loadable.js.map +0 -1
  250. package/dist/src/components/ContentPage/SubPageNavigation.js +0 -164
  251. package/dist/src/components/ContentPage/SubPageNavigation.js.map +0 -1
  252. package/dist/src/components/ContentPage/index.js +0 -2
  253. package/dist/src/components/ContentPage/index.js.map +0 -1
  254. package/dist/src/components/CookieConsent.js +0 -84
  255. package/dist/src/components/CookieConsent.js.map +0 -1
  256. package/dist/src/components/Forms/GlobalError.js +0 -28
  257. package/dist/src/components/Forms/GlobalError.js.map +0 -1
  258. package/dist/src/components/Forms/Input.js +0 -79
  259. package/dist/src/components/Forms/Input.js.map +0 -1
  260. package/dist/src/components/Forms/InputStatus.js +0 -42
  261. package/dist/src/components/Forms/InputStatus.js.map +0 -1
  262. package/dist/src/components/Forms/Success.js +0 -25
  263. package/dist/src/components/Forms/Success.js.map +0 -1
  264. package/dist/src/components/Layout/Container.js +0 -19
  265. package/dist/src/components/Layout/Container.js.map +0 -1
  266. package/dist/src/components/Layout/Content/index.js +0 -7
  267. package/dist/src/components/Layout/Content/index.js.map +0 -1
  268. package/dist/src/components/Layout/Footer/Footer.js +0 -106
  269. package/dist/src/components/Layout/Footer/Footer.js.map +0 -1
  270. package/dist/src/components/Layout/Footer/FooterLinks.js +0 -24
  271. package/dist/src/components/Layout/Footer/FooterLinks.js.map +0 -1
  272. package/dist/src/components/Layout/Footer/SocialLinks.js +0 -62
  273. package/dist/src/components/Layout/Footer/SocialLinks.js.map +0 -1
  274. package/dist/src/components/Layout/Header/Categories/Categories.js +0 -10
  275. package/dist/src/components/Layout/Header/Categories/Categories.js.map +0 -1
  276. package/dist/src/components/Layout/Header/Categories/MobileCategories.js +0 -128
  277. package/dist/src/components/Layout/Header/Categories/MobileCategories.js.map +0 -1
  278. package/dist/src/components/Layout/Header/Categories/__util__/getCategoriesByLevel.js +0 -4
  279. package/dist/src/components/Layout/Header/Categories/__util__/getCategoriesByLevel.js.map +0 -1
  280. package/dist/src/components/Layout/Header/Categories/__util__/getCategoriesUnderParent.js +0 -4
  281. package/dist/src/components/Layout/Header/Categories/__util__/getCategoriesUnderParent.js.map +0 -1
  282. package/dist/src/components/Layout/Header/Categories/__util__/hasChildCategories.js +0 -4
  283. package/dist/src/components/Layout/Header/Categories/__util__/hasChildCategories.js.map +0 -1
  284. package/dist/src/components/Layout/Header/CategoryMenu/CategoryMenu.js +0 -21
  285. package/dist/src/components/Layout/Header/CategoryMenu/CategoryMenu.js.map +0 -1
  286. package/dist/src/components/Layout/Header/CategoryMenu/CategoryMenuContainer.js +0 -55
  287. package/dist/src/components/Layout/Header/CategoryMenu/CategoryMenuContainer.js.map +0 -1
  288. package/dist/src/components/Layout/Header/CategoryMenu/SubMenuSection.js +0 -60
  289. package/dist/src/components/Layout/Header/CategoryMenu/SubMenuSection.js.map +0 -1
  290. package/dist/src/components/Layout/Header/CategoryMenu/SubMenuWrapper.js +0 -78
  291. package/dist/src/components/Layout/Header/CategoryMenu/SubMenuWrapper.js.map +0 -1
  292. package/dist/src/components/Layout/Header/ChannelSelector/ChannelSelector.js +0 -26
  293. package/dist/src/components/Layout/Header/ChannelSelector/ChannelSelector.js.map +0 -1
  294. package/dist/src/components/Layout/Header/ChannelSelector/ChannelSelectorModal.js +0 -36
  295. package/dist/src/components/Layout/Header/ChannelSelector/ChannelSelectorModal.js.map +0 -1
  296. package/dist/src/components/Layout/Header/ChannelSelector/LanguageSelector.js +0 -12
  297. package/dist/src/components/Layout/Header/ChannelSelector/LanguageSelector.js.map +0 -1
  298. package/dist/src/components/Layout/Header/ChannelSelector/Selector.js +0 -120
  299. package/dist/src/components/Layout/Header/ChannelSelector/Selector.js.map +0 -1
  300. package/dist/src/components/Layout/Header/ChannelSelector/flattenCountries.js +0 -15
  301. package/dist/src/components/Layout/Header/ChannelSelector/flattenCountries.js.map +0 -1
  302. package/dist/src/components/Layout/Header/Header.js +0 -189
  303. package/dist/src/components/Layout/Header/Header.js.map +0 -1
  304. package/dist/src/components/Layout/Header/Logo.js +0 -40
  305. package/dist/src/components/Layout/Header/Logo.js.map +0 -1
  306. package/dist/src/components/Layout/Header/LogoSearchBar.js +0 -15
  307. package/dist/src/components/Layout/Header/LogoSearchBar.js.map +0 -1
  308. package/dist/src/components/Layout/Header/MobileMenu.js +0 -76
  309. package/dist/src/components/Layout/Header/MobileMenu.js.map +0 -1
  310. package/dist/src/components/Layout/Header/RecommendedChannel/ChannelBanner.js +0 -218
  311. package/dist/src/components/Layout/Header/RecommendedChannel/ChannelBanner.js.map +0 -1
  312. package/dist/src/components/Layout/Header/RecommendedChannel/RecommendedChannelSelector.js +0 -123
  313. package/dist/src/components/Layout/Header/RecommendedChannel/RecommendedChannelSelector.js.map +0 -1
  314. package/dist/src/components/Layout/Header/SearchBar.js +0 -79
  315. package/dist/src/components/Layout/Header/SearchBar.js.map +0 -1
  316. package/dist/src/components/Layout/Header/SearchButton.js +0 -50
  317. package/dist/src/components/Layout/Header/SearchButton.js.map +0 -1
  318. package/dist/src/components/Layout/Header/SubCategoryNav.js +0 -71
  319. package/dist/src/components/Layout/Header/SubCategoryNav.js.map +0 -1
  320. package/dist/src/components/Layout/Header/TopNav.js +0 -63
  321. package/dist/src/components/Layout/Header/TopNav.js.map +0 -1
  322. package/dist/src/components/Layout/MaxWidth.js +0 -19
  323. package/dist/src/components/Layout/MaxWidth.js.map +0 -1
  324. package/dist/src/components/Layout/Notifications.js +0 -70
  325. package/dist/src/components/Layout/Notifications.js.map +0 -1
  326. package/dist/src/components/LoadingPage.js +0 -19
  327. package/dist/src/components/LoadingPage.js.map +0 -1
  328. package/dist/src/components/LogOut.loadable.js +0 -7
  329. package/dist/src/components/LogOut.loadable.js.map +0 -1
  330. package/dist/src/components/MyPages/ChangePasswordPage.js +0 -26
  331. package/dist/src/components/MyPages/ChangePasswordPage.js.map +0 -1
  332. package/dist/src/components/MyPages/CustomerNameHeader.js +0 -28
  333. package/dist/src/components/MyPages/CustomerNameHeader.js.map +0 -1
  334. package/dist/src/components/MyPages/DeleteAccount.js +0 -47
  335. package/dist/src/components/MyPages/DeleteAccount.js.map +0 -1
  336. package/dist/src/components/MyPages/MyPages.js +0 -152
  337. package/dist/src/components/MyPages/MyPages.js.map +0 -1
  338. package/dist/src/components/MyPages/MyPages.loadable.js +0 -7
  339. package/dist/src/components/MyPages/MyPages.loadable.js.map +0 -1
  340. package/dist/src/components/MyPages/MyPagesBreadcrumbs.js +0 -18
  341. package/dist/src/components/MyPages/MyPagesBreadcrumbs.js.map +0 -1
  342. package/dist/src/components/MyPages/MyPagesSidebar.js +0 -81
  343. package/dist/src/components/MyPages/MyPagesSidebar.js.map +0 -1
  344. package/dist/src/components/MyPages/MyPagesStartPage.js +0 -99
  345. package/dist/src/components/MyPages/MyPagesStartPage.js.map +0 -1
  346. package/dist/src/components/MyPages/Newsletter.js +0 -33
  347. package/dist/src/components/MyPages/Newsletter.js.map +0 -1
  348. package/dist/src/components/MyPages/Orders/ListOrder.js +0 -159
  349. package/dist/src/components/MyPages/Orders/ListOrder.js.map +0 -1
  350. package/dist/src/components/MyPages/Orders/OrderDetail/Contact.js +0 -38
  351. package/dist/src/components/MyPages/Orders/OrderDetail/Contact.js.map +0 -1
  352. package/dist/src/components/MyPages/Orders/OrderDetail/ListDetail.js +0 -196
  353. package/dist/src/components/MyPages/Orders/OrderDetail/ListDetail.js.map +0 -1
  354. package/dist/src/components/MyPages/Orders/OrderDetail/OrderTotals.js +0 -81
  355. package/dist/src/components/MyPages/Orders/OrderDetail/OrderTotals.js.map +0 -1
  356. package/dist/src/components/MyPages/Orders/OrderDetail/ShippingPayment.js +0 -37
  357. package/dist/src/components/MyPages/Orders/OrderDetail/ShippingPayment.js.map +0 -1
  358. package/dist/src/components/MyPages/Orders/OrderListPage.js +0 -56
  359. package/dist/src/components/MyPages/Orders/OrderListPage.js.map +0 -1
  360. package/dist/src/components/MyPages/ProfileDeliveryAddresses.js +0 -93
  361. package/dist/src/components/MyPages/ProfileDeliveryAddresses.js.map +0 -1
  362. package/dist/src/components/MyPages/ProfilePage.js +0 -109
  363. package/dist/src/components/MyPages/ProfilePage.js.map +0 -1
  364. package/dist/src/components/MyPages/ProfileView.js +0 -42
  365. package/dist/src/components/MyPages/ProfileView.js.map +0 -1
  366. package/dist/src/components/NavigationTree/NavTree.js +0 -53
  367. package/dist/src/components/NavigationTree/NavTree.js.map +0 -1
  368. package/dist/src/components/NavigationTree/NavTreePage.js +0 -7
  369. package/dist/src/components/NavigationTree/NavTreePage.js.map +0 -1
  370. package/dist/src/components/NavigationTree/NavTreePage.loadable.js +0 -7
  371. package/dist/src/components/NavigationTree/NavTreePage.loadable.js.map +0 -1
  372. package/dist/src/components/Newsletter/NewsletterField.js +0 -93
  373. package/dist/src/components/Newsletter/NewsletterField.js.map +0 -1
  374. package/dist/src/components/NotFoundPage.js +0 -59
  375. package/dist/src/components/NotFoundPage.js.map +0 -1
  376. package/dist/src/components/NotFoundPage.loadable.js +0 -7
  377. package/dist/src/components/NotFoundPage.loadable.js.map +0 -1
  378. package/dist/src/components/Pages/About.js +0 -7
  379. package/dist/src/components/Pages/About.js.map +0 -1
  380. package/dist/src/components/Pagination/Pagination.js +0 -29
  381. package/dist/src/components/Pagination/Pagination.js.map +0 -1
  382. package/dist/src/components/Pagination/PaginationWrapper.js +0 -16
  383. package/dist/src/components/Pagination/PaginationWrapper.js.map +0 -1
  384. package/dist/src/components/PreviewRoute.loadable.js +0 -7
  385. package/dist/src/components/PreviewRoute.loadable.js.map +0 -1
  386. package/dist/src/components/ProductList/AddToCart.js +0 -46
  387. package/dist/src/components/ProductList/AddToCart.js.map +0 -1
  388. package/dist/src/components/ProductList/Favourite.js +0 -46
  389. package/dist/src/components/ProductList/Favourite.js.map +0 -1
  390. package/dist/src/components/ProductList/FavouriteCount.js +0 -15
  391. package/dist/src/components/ProductList/FavouriteCount.js.map +0 -1
  392. package/dist/src/components/ProductList/Favourites.js +0 -187
  393. package/dist/src/components/ProductList/Favourites.js.map +0 -1
  394. package/dist/src/components/ProductList/Lister.js +0 -22
  395. package/dist/src/components/ProductList/Lister.js.map +0 -1
  396. package/dist/src/components/ProductList/Product.js +0 -62
  397. package/dist/src/components/ProductList/Product.js.map +0 -1
  398. package/dist/src/components/ProductList/SelectVariant.js +0 -47
  399. package/dist/src/components/ProductList/SelectVariant.js.map +0 -1
  400. package/dist/src/components/ProductList/productListQueries.js +0 -15
  401. package/dist/src/components/ProductList/productListQueries.js.map +0 -1
  402. package/dist/src/components/ProductPage/AddToCart/AddToCartForm.js +0 -110
  403. package/dist/src/components/ProductPage/AddToCart/AddToCartForm.js.map +0 -1
  404. package/dist/src/components/ProductPage/AddToCart/ProductToast.js +0 -118
  405. package/dist/src/components/ProductPage/AddToCart/ProductToast.js.map +0 -1
  406. package/dist/src/components/ProductPage/AddToCart/useProductToast.js +0 -21
  407. package/dist/src/components/ProductPage/AddToCart/useProductToast.js.map +0 -1
  408. package/dist/src/components/ProductPage/Campaigns.js +0 -43
  409. package/dist/src/components/ProductPage/Campaigns.js.map +0 -1
  410. package/dist/src/components/ProductPage/ConfigurationSelector.js +0 -62
  411. package/dist/src/components/ProductPage/ConfigurationSelector.js.map +0 -1
  412. package/dist/src/components/ProductPage/Images/ImageContainer.js +0 -45
  413. package/dist/src/components/ProductPage/Images/ImageContainer.js.map +0 -1
  414. package/dist/src/components/ProductPage/Images/Thumbnails.js +0 -32
  415. package/dist/src/components/ProductPage/Images/Thumbnails.js.map +0 -1
  416. package/dist/src/components/ProductPage/PackageProduct/IncludedInPackages.js +0 -32
  417. package/dist/src/components/ProductPage/PackageProduct/IncludedInPackages.js.map +0 -1
  418. package/dist/src/components/ProductPage/PackageProduct/PackageProduct.js +0 -170
  419. package/dist/src/components/ProductPage/PackageProduct/PackageProduct.js.map +0 -1
  420. package/dist/src/components/ProductPage/PackageProduct/PackageProductItem.js +0 -92
  421. package/dist/src/components/ProductPage/PackageProduct/PackageProductItem.js.map +0 -1
  422. package/dist/src/components/ProductPage/PriceHistory.js +0 -99
  423. package/dist/src/components/ProductPage/PriceHistory.js.map +0 -1
  424. package/dist/src/components/ProductPage/ProductInfo.js +0 -55
  425. package/dist/src/components/ProductPage/ProductInfo.js.map +0 -1
  426. package/dist/src/components/ProductPage/ProductInfoAccordion.js +0 -46
  427. package/dist/src/components/ProductPage/ProductInfoAccordion.js.map +0 -1
  428. package/dist/src/components/ProductPage/ProductPage.js +0 -174
  429. package/dist/src/components/ProductPage/ProductPage.js.map +0 -1
  430. package/dist/src/components/ProductPage/ProductPage.loadable.js +0 -7
  431. package/dist/src/components/ProductPage/ProductPage.loadable.js.map +0 -1
  432. package/dist/src/components/ProductPage/ProductPageLoadingState.js +0 -55
  433. package/dist/src/components/ProductPage/ProductPageLoadingState.js.map +0 -1
  434. package/dist/src/components/ProductPage/QuantityContainer.js +0 -21
  435. package/dist/src/components/ProductPage/QuantityContainer.js.map +0 -1
  436. package/dist/src/components/ProductPage/RelatedProducts.js +0 -45
  437. package/dist/src/components/ProductPage/RelatedProducts.js.map +0 -1
  438. package/dist/src/components/ProductPage/SizePicker.js +0 -37
  439. package/dist/src/components/ProductPage/SizePicker.js.map +0 -1
  440. package/dist/src/components/ProductPage/StockStatus/NotifyWhenBack.js +0 -93
  441. package/dist/src/components/ProductPage/StockStatus/NotifyWhenBack.js.map +0 -1
  442. package/dist/src/components/ProductPage/StockStatus/StockOrb.js +0 -31
  443. package/dist/src/components/ProductPage/StockStatus/StockOrb.js.map +0 -1
  444. package/dist/src/components/ProductPage/StockStatus/StockStatusIndicator.js +0 -33
  445. package/dist/src/components/ProductPage/StockStatus/StockStatusIndicator.js.map +0 -1
  446. package/dist/src/components/ProductPage/StockStatus/WarehouseStock.js +0 -255
  447. package/dist/src/components/ProductPage/StockStatus/WarehouseStock.js.map +0 -1
  448. package/dist/src/components/ProductPage/VariantSelector.js +0 -138
  449. package/dist/src/components/ProductPage/VariantSelector.js.map +0 -1
  450. package/dist/src/components/ProductPage/styledComponents.js +0 -11
  451. package/dist/src/components/ProductPage/styledComponents.js.map +0 -1
  452. package/dist/src/components/ProductPage/useProductValidationMessage.js +0 -24
  453. package/dist/src/components/ProductPage/useProductValidationMessage.js.map +0 -1
  454. package/dist/src/components/SearchPage/CategoryList.js +0 -129
  455. package/dist/src/components/SearchPage/CategoryList.js.map +0 -1
  456. package/dist/src/components/SearchPage/EmptySearchResults.js +0 -23
  457. package/dist/src/components/SearchPage/EmptySearchResults.js.map +0 -1
  458. package/dist/src/components/SearchPage/SearchMeta.js +0 -27
  459. package/dist/src/components/SearchPage/SearchMeta.js.map +0 -1
  460. package/dist/src/components/SearchPage/SearchPage.js +0 -52
  461. package/dist/src/components/SearchPage/SearchPage.js.map +0 -1
  462. package/dist/src/components/SearchPage/SearchPage.loadable.js +0 -7
  463. package/dist/src/components/SearchPage/SearchPage.loadable.js.map +0 -1
  464. package/dist/src/components/SearchPage/SearchResults.js +0 -60
  465. package/dist/src/components/SearchPage/SearchResults.js.map +0 -1
  466. package/dist/src/components/SearchPage/SearchTerm.js +0 -11
  467. package/dist/src/components/SearchPage/SearchTerm.js.map +0 -1
  468. package/dist/src/components/SearchPage/WindowedSearchResults.js +0 -80
  469. package/dist/src/components/SearchPage/WindowedSearchResults.js.map +0 -1
  470. package/dist/src/components/SearchPage/index.js +0 -3
  471. package/dist/src/components/SearchPage/index.js.map +0 -1
  472. package/dist/src/components/Shop.js +0 -82
  473. package/dist/src/components/Shop.js.map +0 -1
  474. package/dist/src/components/StartPage/Content/Row.js +0 -40
  475. package/dist/src/components/StartPage/Content/Row.js.map +0 -1
  476. package/dist/src/components/StartPage/Content/StartPageCampaign.js +0 -112
  477. package/dist/src/components/StartPage/Content/StartPageCampaign.js.map +0 -1
  478. package/dist/src/components/StartPage/Content/StartPageCategories.js +0 -80
  479. package/dist/src/components/StartPage/Content/StartPageCategories.js.map +0 -1
  480. package/dist/src/components/StartPage/Content/StartPageHTMLContent.js +0 -74
  481. package/dist/src/components/StartPage/Content/StartPageHTMLContent.js.map +0 -1
  482. package/dist/src/components/StartPage/Content/StartPageHero.js +0 -73
  483. package/dist/src/components/StartPage/Content/StartPageHero.js.map +0 -1
  484. package/dist/src/components/StartPage/Content/StartPageProductGrid.js +0 -69
  485. package/dist/src/components/StartPage/Content/StartPageProductGrid.js.map +0 -1
  486. package/dist/src/components/StartPage/StartPage.js +0 -37
  487. package/dist/src/components/StartPage/StartPage.js.map +0 -1
  488. package/dist/src/components/StartPage/StartPage.loadable.js +0 -7
  489. package/dist/src/components/StartPage/StartPage.loadable.js.map +0 -1
  490. package/dist/src/components/StartPage/index.js +0 -3
  491. package/dist/src/components/StartPage/index.js.map +0 -1
  492. package/dist/src/components/Store/Store.js +0 -26
  493. package/dist/src/components/Store/Store.js.map +0 -1
  494. package/dist/src/components/Store/Store.loadable.js +0 -7
  495. package/dist/src/components/Store/Store.loadable.js.map +0 -1
  496. package/dist/src/components/Store/StoreDetail.js +0 -13
  497. package/dist/src/components/Store/StoreDetail.js.map +0 -1
  498. package/dist/src/components/StoreLocator/StoreList.js +0 -160
  499. package/dist/src/components/StoreLocator/StoreList.js.map +0 -1
  500. package/dist/src/components/StoreLocator/StoreLocator.js +0 -133
  501. package/dist/src/components/StoreLocator/StoreLocator.js.map +0 -1
  502. package/dist/src/components/StoreLocator/StoreLocator.loadable.js +0 -7
  503. package/dist/src/components/StoreLocator/StoreLocator.loadable.js.map +0 -1
  504. package/dist/src/components/StoreLocator/StoreMap.js +0 -116
  505. package/dist/src/components/StoreLocator/StoreMap.js.map +0 -1
  506. package/dist/src/components/StoreLocator/StoreMarker.js +0 -63
  507. package/dist/src/components/StoreLocator/StoreMarker.js.map +0 -1
  508. package/dist/src/components/StoreLocator/StoreSearch.js +0 -47
  509. package/dist/src/components/StoreLocator/StoreSearch.js.map +0 -1
  510. package/dist/src/components/StoreLocator/UserLocation.js +0 -76
  511. package/dist/src/components/StoreLocator/UserLocation.js.map +0 -1
  512. package/dist/src/components/StoreLocator/useLocationState.js +0 -14
  513. package/dist/src/components/StoreLocator/useLocationState.js.map +0 -1
  514. package/dist/src/components/StoreLocator/useMapState.js +0 -16
  515. package/dist/src/components/StoreLocator/useMapState.js.map +0 -1
  516. package/dist/src/components/Theme.js +0 -6
  517. package/dist/src/components/Theme.js.map +0 -1
  518. package/dist/src/components/ui/Badge.js +0 -33
  519. package/dist/src/components/ui/Badge.js.map +0 -1
  520. package/dist/src/components/ui/Button.js +0 -93
  521. package/dist/src/components/ui/Button.js.map +0 -1
  522. package/dist/src/components/ui/CloseButton.js +0 -18
  523. package/dist/src/components/ui/CloseButton.js.map +0 -1
  524. package/dist/src/components/ui/Divider.js +0 -11
  525. package/dist/src/components/ui/Divider.js.map +0 -1
  526. package/dist/src/components/ui/Headings.js +0 -19
  527. package/dist/src/components/ui/Headings.js.map +0 -1
  528. package/dist/src/components/ui/RadioGroupWithLabels.js +0 -16
  529. package/dist/src/components/ui/RadioGroupWithLabels.js.map +0 -1
  530. package/dist/src/components/ui/Spinner.js +0 -39
  531. package/dist/src/components/ui/Spinner.js.map +0 -1
  532. package/dist/src/fonts/loadFontCss.js +0 -51
  533. package/dist/src/fonts/loadFontCss.js.map +0 -1
  534. package/dist/src/globalStyles.js +0 -83
  535. package/dist/src/globalStyles.js.map +0 -1
  536. package/dist/src/server.js +0 -12
  537. package/dist/src/server.js.map +0 -1
  538. package/dist/src/shop.config.js +0 -68
  539. package/dist/src/shop.config.js.map +0 -1
  540. package/dist/src/theme-variables.js +0 -65
  541. package/dist/src/theme-variables.js.map +0 -1
  542. package/dist/translations/cs.json +0 -788
  543. package/dist/translations/da.json +0 -791
  544. package/dist/translations/de.json +0 -788
  545. package/dist/translations/en.json +0 -794
  546. package/dist/translations/es.json +0 -788
  547. package/dist/translations/et.json +0 -788
  548. package/dist/translations/fi.json +0 -794
  549. package/dist/translations/fr.json +0 -788
  550. package/dist/translations/index.js +0 -18
  551. package/dist/translations/index.js.map +0 -1
  552. package/dist/translations/it.json +0 -788
  553. package/dist/translations/lv.json +0 -788
  554. package/dist/translations/nb.json +0 -791
  555. package/dist/translations/nl.json +0 -788
  556. package/dist/translations/pl.json +0 -788
  557. package/dist/translations/ru.json +0 -788
  558. package/dist/translations/sk.json +0 -788
  559. package/dist/translations/sr.json +0 -464
  560. package/dist/translations/sv.json +0 -794
@@ -1,170 +0,0 @@
1
- import React, { useEffect, useRef } from 'react';
2
- import { styled } from 'linaria/react';
3
- import { css } from 'linaria';
4
- import { usePackageProduct } from '@jetshop/core/hooks/PackageProducts';
5
- import { useIntl } from '@jetshop/intl';
6
- import { Price } from '@jetshop/ui/Price';
7
- import { useNotification } from '@jetshop/core/components/Notifications';
8
- import { ReactComponent as Cart } from '../../../svg/Cart.svg';
9
- import { default as Button, default as ButtonWithLoading } from '../../ui/Button';
10
- import { PackageProductItem } from './PackageProductItem';
11
- import packageProductQuery from './PackageProductQuery.gql';
12
- import { theme } from '../../Theme';
13
- import addMultipleToCartMutation from '../../Cart/queries/addMultipleToCart.gql';
14
- import cartQuery from '../../Cart/queries/cartQuery.gql';
15
- const PackageProductWrapper = styled('div') `
16
- padding: 12px;
17
- background-color: white;
18
- display: flex;
19
- flex-direction: column;
20
- border: 1px solid #f0f0f0;
21
- border-radius: 4px;
22
- margin-bottom: 24px;
23
- width: 100%;
24
-
25
- .error {
26
- margin-top: 1em;
27
- background: #faf3f3;
28
- padding: 1em;
29
- label {
30
- color: #ca0c0c;
31
- }
32
- }
33
- .error button {
34
- margin-top: 1em;
35
- }
36
- .package-product-items-wrapper {
37
- display: flex;
38
- flex-direction: column;
39
- }
40
- .package-product-price-wrapper {
41
- font-size: 1.1rem;
42
- margin-bottom: 0.75em;
43
-
44
- .discount,
45
- .total {
46
- display: flex;
47
- flex-direction: row;
48
- justify-content: space-between;
49
- align-items: center;
50
- }
51
-
52
- .discount {
53
- color: #5f5f5f;
54
- align-items: center;
55
-
56
- .price {
57
- font-size: 1.25em;
58
- }
59
- }
60
- .total {
61
- font-weight: 600;
62
- .package-price {
63
- font-size: 1.5em;
64
- }
65
- }
66
- }
67
- `;
68
- const toastStyles = css `
69
- background: white;
70
- color: ${theme.colors.black};
71
- padding: 1em;
72
- line-height: 1.5;
73
- display: flex;
74
- align-items: center;
75
- white-space: normal;
76
-
77
- svg {
78
- width: 1.5em;
79
- height: 1.5em;
80
- margin-right: 0.5em;
81
- }
82
- `;
83
- function Notification({ productName }) {
84
- const t = useIntl();
85
- return (React.createElement("div", { className: toastStyles },
86
- React.createElement(Cart, null),
87
- React.createElement("span", null, t('{productName} has been added to the cart', {
88
- productName
89
- }))));
90
- }
91
- export function PackageProduct({ product }) {
92
- const ref = useRef(null);
93
- const { addPackageToCart, status, price, error, retry, updatePackageItem, packageProduct } = usePackageProduct({
94
- product,
95
- packageProductQuery
96
- });
97
- // validation is not enabled until the 'add to cart' button is pressed once
98
- const [validationEnabled, enableValidation] = React.useReducer(() => true, false);
99
- const t = useIntl();
100
- const buyable = status === 'buyable';
101
- function add() {
102
- addPackageToCart({
103
- addMultipleToCartMutation,
104
- cartQuery
105
- });
106
- }
107
- function scrollToProducts() {
108
- window.scrollTo({ top: ref.current.offsetTop, behavior: 'smooth' });
109
- }
110
- const [notify] = useNotification();
111
- useEffect(() => {
112
- if (status === 'added') {
113
- notify(React.createElement(Notification, { productName: product.name }));
114
- }
115
- }, [notify, product.name, status]);
116
- if (status === 'loading') {
117
- return React.createElement(LoadingState, null);
118
- }
119
- return (React.createElement(PackageProductWrapper, { ref: ref },
120
- React.createElement("div", { className: "package-product-items-wrapper" }, packageProduct.package.items.map((item, idx) => {
121
- return (React.createElement(PackageProductItem, { item: item, key: item.product.id, updatePackageItem: updatePackageItem, validationEnabled: validationEnabled, price: price.items[idx], fetchingPrice: status === 'fetching_price' }));
122
- })),
123
- React.createElement(PackagePrice, { data: price, fetching: status === 'fetching_price' }),
124
- React.createElement(Button, { "data-testid": "package-product-add-to-cart", disabled: validationEnabled && !buyable, loading: status === 'fetching_price', loadingText: t('Updating price... '), onClick: buyable
125
- ? add
126
- : () => {
127
- enableValidation();
128
- scrollToProducts();
129
- } }, status === 'added'
130
- ? t('Successfully added!')
131
- : status === 'invalid' && validationEnabled
132
- ? t('Select the variants')
133
- : t('Add to cart')),
134
- status === 'error' && React.createElement(Error, { error: error, retry: retry })));
135
- }
136
- function LoadingState() {
137
- const t = useIntl();
138
- return (React.createElement(PackageProductWrapper, null, t('Loading package details...')));
139
- }
140
- function PackagePrice({ data, fetching }) {
141
- const t = useIntl();
142
- return (React.createElement("div", { className: "package-product-price-wrapper", style: {
143
- opacity: fetching ? 0.3 : 1
144
- } },
145
- React.createElement("div", { className: "discount" },
146
- React.createElement("p", { className: "package-price-label" }, t('Package Discount')),
147
- React.createElement(Price, { negative: true, price: data.discountValue, className: "package-price" })),
148
- React.createElement("div", { className: "total" },
149
- React.createElement("p", { className: "package-price-label" }, t('Total')),
150
- React.createElement(Price, { "data-testid": "package-price-total", price: data.price, className: "package-price" }))));
151
- }
152
- function Error({ error, retry }) {
153
- const t = useIntl();
154
- // TODO: API will be changed to allow a `abortOnError` or similar variable
155
- // for addMultipleToCart. Currently it's possible to end up in a state where
156
- // some items in the package failed and some succeeded. After the change,
157
- // complete failure will be the only case we need to handle.
158
- return (React.createElement("div", { className: "error" },
159
- React.createElement("label", null,
160
- t('Something went wrong when { placeholder }', {
161
- placeholder: error.fromState === 'fetchingPrice'
162
- ? ' fetching price. This item cannot be added to the cart at this time'
163
- : ' adding to cart'
164
- }),
165
- "."),
166
- error.messages.map(err => (React.createElement("div", null, err))),
167
- React.createElement(ButtonWithLoading, { onClick: retry }, t('Retry'))));
168
- }
169
- export default PackageProduct;
170
- //# sourceMappingURL=PackageProduct.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PackageProduct.js","sourceRoot":"","sources":["../../../../../src/components/ProductPage/PackageProduct/PackageProduct.js"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,GAAG,EAAE,MAAM,SAAS,CAAC;AAE9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AACzE,OAAO,EAAE,cAAc,IAAI,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EACL,OAAO,IAAI,MAAM,EACjB,OAAO,IAAI,iBAAiB,EAC7B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,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mBACQ,qBAAqB,EACjC,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,SAAS,EAAC,eAAe,GAClB,CACL,CACF,CACP,CAAC;AACJ,CAAC;AAED,SAAS,KAAK,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE;IAC7B,MAAM,CAAC,GAAG,OAAO,EAAE,CAAC;IAEpB,0EAA0E;IAC1E,4EAA4E;IAC5E,yEAAyE;IACzE,4DAA4D;IAC5D,OAAO,CACL,6BAAK,SAAS,EAAC,OAAO;QACpB;YACG,CAAC,CAAC,2CAA2C,EAAE;gBAC9C,WAAW,EACT,KAAK,CAAC,SAAS,KAAK,eAAe;oBACjC,CAAC,CAAC,qEAAqE;oBACvE,CAAC,CAAC,iBAAiB;aACxB,CAAC;gBAEI;QACP,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,CACzB,iCAAM,GAAG,CAAO,CACjB,CAAC;QACF,oBAAC,iBAAiB,IAAC,OAAO,EAAE,KAAK,IAAG,CAAC,CAAC,OAAO,CAAC,CAAqB,CAC/D,CACP,CAAC;AACJ,CAAC;AAED,eAAe,cAAc,CAAC"}
@@ -1,92 +0,0 @@
1
- import { usePackageProductItem } from '@jetshop/core/hooks/PackageProducts';
2
- import Image from '@jetshop/ui/Image';
3
- import { Price } from '@jetshop/ui/Price';
4
- import ProductLink from '@jetshop/ui/ProductLink';
5
- import React from 'react';
6
- import { styled } from 'linaria/react';
7
- import StockStatusIndicator from '../StockStatus/StockStatusIndicator';
8
- import { VariantSelector } from '../VariantSelector';
9
- const PackageProductItemWrapper = styled('div') `
10
- border-bottom: 1px solid #f0f0f0;
11
- margin-bottom: 12px;
12
- padding-bottom: 12px;
13
- color: black;
14
- display: flex;
15
- align-items: flex-start;
16
-
17
- .product-link {
18
- width: 72px;
19
- margin-right: 12px;
20
- img {
21
- :hover {
22
- opacity: 0.8 !important;
23
- }
24
- }
25
- }
26
-
27
- .product-name {
28
- font-weight: 600;
29
- font-size: 18px;
30
- text-decoration: none;
31
- color: black;
32
- :hover {
33
- text-decoration: underline;
34
- }
35
- }
36
-
37
- .product-detail {
38
- width: 100%;
39
- > * + * {
40
- margin-top: 0.5em;
41
- margin-bottom: 0;
42
- }
43
- }
44
-
45
- .flex {
46
- display: flex;
47
- align-items: center;
48
- }
49
- .price-quantity-wrapper {
50
- margin-left: auto;
51
- font-size: 18px;
52
- display: flex;
53
- align-items: center;
54
- .package-product-price {
55
- .price,
56
- .new-price,
57
- .old-price {
58
- display: inline-block;
59
- margin-right: 0px;
60
- margin-left: 8px;
61
- }
62
- .price,
63
- .new-price {
64
- color: #ca0c0c;
65
- font-size: 18px;
66
- }
67
- .old-price {
68
- color: black;
69
- }
70
- }
71
- }
72
- `;
73
- export function PackageProductItem({ item, updatePackageItem, validationEnabled, price, fetchingPrice }) {
74
- const { stockStatus, variantHandler } = usePackageProductItem(item, updatePackageItem, { preselectCheapest: true });
75
- const product = item.product;
76
- return (React.createElement(PackageProductItemWrapper, null,
77
- React.createElement(ProductLink, { product: product, className: "product-link" },
78
- React.createElement(Image, { sizes: [1 / 10], aspect: '1:1', alt: product.images[0].alt, src: product.images[0].url })),
79
- React.createElement("div", { className: "product-detail" },
80
- React.createElement("header", null,
81
- React.createElement(ProductLink, { product: product, className: "product-name" }, product.name),
82
- React.createElement("p", null, product.subName)),
83
- product.hasVariants && (React.createElement(VariantSelector, { product: product, variantHandler: variantHandler, showValidation: validationEnabled, disableOutOfStock: true })),
84
- React.createElement("div", { className: "flex" },
85
- React.createElement(StockStatusIndicator, { status: stockStatus.status, text: stockStatus.text, style: { marginTop: 0 } }),
86
- React.createElement("div", { className: "price-quantity-wrapper", style: {
87
- opacity: fetchingPrice ? 0.3 : 1
88
- } },
89
- item.minQuantity > 1 && `${item.minQuantity} x`,
90
- React.createElement(Price, Object.assign({}, price, { className: "package-product-price" })))))));
91
- }
92
- //# sourceMappingURL=PackageProductItem.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PackageProductIt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C7B;gBACE,oBAAC,WAAW,IAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAC,cAAc,IACpD,OAAO,CAAC,IAAI,CACD;gBACd,+BAAI,OAAO,CAAC,OAAO,CAAK,CACjB;YACR,OAAO,CAAC,WAAW,IAAI,CACtB,oBAAC,eAAe,IACd,OAAO,EAAE,OAAO,EAChB,cAAc,EAAE,cAAc,EAC9B,cAAc,EAAE,iBAAiB,EACjC,iBAAiB,SACjB,CACH;YACD,6BAAK,SAAS,EAAC,MAAM;gBACnB,oBAAC,oBAAoB,IACnB,MAAM,EAAE,WAAW,CAAC,MAAM,EAC1B,IAAI,EAAE,WAAW,CAAC,IAAI,EACtB,KAAK,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,GACvB;gBACF,6BACE,SAAS,EAAC,wBAAwB,EAClC,KAAK,EAAE;wBACL,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;qBACjC;oBAEA,IAAI,CAAC,WAAW,GAAG,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,IAAI;oBAChD,oBAAC,KAAK,oBAAK,KAAK,IAAE,SAAS,EAAC,uBAAuB,IAAG,CAClD,CACF,CACF,CACoB,CAC7B,CAAC;AACJ,CAAC"}
@@ -1,99 +0,0 @@
1
- import { useQuery } from '@apollo/client';
2
- import t from '@jetshop/intl';
3
- import React, { useContext } from 'react';
4
- import PriceHistoryQuery from './PriceHistoryQuery.gql';
5
- import { styled } from 'linaria/react';
6
- import { Price } from '@jetshop/ui/Price';
7
- import { FlyoutTrigger } from '@jetshop/ui/Modal/Flyout';
8
- import { FlyoutTarget } from '@jetshop/ui/Modal/Flyout';
9
- import ChannelContext from '@jetshop/core/components/ChannelContext/ChannelContext';
10
- const Wrapper = styled.div `
11
- --innerFontSize: 0.85rem;
12
- position: relative;
13
-
14
- .label {
15
- font-size: 0.75rem;
16
- cursor: pointer;
17
- background: transparent;
18
- }
19
-
20
- .price-table {
21
- position: absolute;
22
- padding: 0.35rem 0.9rem;
23
- background: white;
24
- border: 1px solid #e5e5e5;
25
- max-height: 30rem;
26
- overflow: scroll;
27
- z-index: 2;
28
- min-width: 14rem;
29
- max-width: 18rem;
30
-
31
- .label {
32
- font-size: var(--innerFontSize);
33
- }
34
-
35
- li {
36
- display: flex;
37
- justify-content: space-between;
38
-
39
- .timestamp {
40
- font-size: var(--innerFontSize);
41
- }
42
-
43
- [data-flight-price=''] {
44
- > .price {
45
- font-size: var(--innerFontSize);
46
- font-weight: normal;
47
- }
48
- }
49
- }
50
- }
51
- `;
52
- export function PriceHistoryWrapper(props) {
53
- return (React.createElement(Wrapper, null,
54
- React.createElement(FlyoutTrigger, { id: "price-history-flyout", coverStyles: { zIndex: 0, background: 'transparent' } }, ({ isOpen, hideTarget, showTarget }) => (React.createElement("button", { onClick: () => {
55
- if (isOpen) {
56
- hideTarget();
57
- }
58
- else {
59
- showTarget();
60
- }
61
- }, className: "label" }, t('View price history')))),
62
- React.createElement(FlyoutTarget, { id: "price-history-flyout" }, () => React.createElement(PriceHistory, Object.assign({}, props)))));
63
- }
64
- const days = 30;
65
- function PriceHistory({ articleNumber, variant }) {
66
- const { error, loading, data } = useQuery(PriceHistoryQuery, {
67
- variables: { articleNumber, days },
68
- errorPolicy: 'all',
69
- skip: !articleNumber
70
- });
71
- if (loading || error) {
72
- return (React.createElement("div", { className: "price-table" },
73
- loading && (React.createElement("span", { className: "label" }, t('Getting the last { days } days price changes...', {
74
- days
75
- }))),
76
- error && React.createElement("span", { className: "label" }, t('Something went wrong'))));
77
- }
78
- const { product } = data;
79
- if (!variant) {
80
- return React.createElement(Table, { history: product.history, days: days });
81
- }
82
- const selectedVariant = product.variants.values.find(value => value.articleNumber === variant.articleNumber);
83
- return React.createElement(Table, { history: selectedVariant.history, days: days });
84
- }
85
- const Table = ({ history, days }) => {
86
- var _a;
87
- const { selectedChannel } = useContext(ChannelContext);
88
- if (((_a = history === null || history === void 0 ? void 0 : history.previousPrice) === null || _a === void 0 ? void 0 : _a.length) === 0) {
89
- return (React.createElement("div", { className: "price-table" },
90
- React.createElement("span", { className: "label" }, t('The price has not changed in the last { days } days', { days }))));
91
- }
92
- return (React.createElement("div", { className: "price-table" },
93
- React.createElement("ul", null, history.previousPrice.map(({ timestamp, price }) => (React.createElement("li", { key: timestamp },
94
- React.createElement("span", { className: "timestamp" }, new Date(timestamp).toLocaleDateString([
95
- selectedChannel.language.culture
96
- ])),
97
- React.createElement(Price, { price: price, as: "span" })))))));
98
- };
99
- //# sourceMappingURL=PriceHistory.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PriceHistory.js","sourceRoot":"","sources":["../../../../src/components/ProductPage/PriceHistory.js"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,CAAC,MAAM,eAAe,CAAC;AAC9B,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,iBAAiB,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,cAAc,MAAM,wDAAwD,CAAC;AAEpF,MAAM,OAAO,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyCzB,CAAC;AAEF,MAAM,UAAU,mBAAmB,CAAC,KAAK;IACvC,OAAO,CACL,oBAAC,OAAO;QACN,oBAAC,aAAa,IACZ,EAAE,EAAC,sBAAsB,EACzB,WAAW,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,UAAU,EAAE,aAAa,EAAE,IAEpD,CAAC,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU,EAA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AE,CAAC,KAAK,CAAC,aAAa,KAAK,OAAO,CAAC,aAAa,CACvD,CAAC;IAEF,OAAO,oBAAC,KAAK,IAAC,OAAO,EAAE,eAAe,CAAC,OAAO,EAAE,IAAI,EAAE,IAAI,GAAI,CAAC;AACjE,CAAC;AAED,MAAM,KAAK,GAAG,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE;;IAClC,MAAM,EAAE,eAAe,EAAE,GAAG,UAAU,CAAC,cAAc,CAAC,CAAC;IAEvD,IAAI,CAAA,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,aAAa,0CAAE,MAAM,MAAK,CAAC,EAAE;QACxC,OAAO,CACL,6BAAK,SAAS,EAAC,aAAa;YAC1B,8BAAM,SAAS,EAAC,OAAO,IACpB,CAAC,CAAC,qDAAqD,EAAE,EAAE,IAAI,EAAE,CAAC,CAC9D,CACH,CACP,CAAC;KACH;IAED,OAAO,CACL,6BAAK,SAAS,EAAC,aAAa;QAC1B,gCACG,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CACnD,4BAAI,GAAG,EAAE,SAAS;YAChB,8BAAM,SAAS,EAAC,WAAW,IACxB,IAAI,IAAI,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC;gBACtC,eAAe,CAAC,QAAQ,CAAC,OAAO;aACjC,CAAC,CACG;YACP,oBAAC,KAAK,IAAC,KAAK,EAAE,KAAK,EAAE,EAAE,EAAC,MAAM,GAAG,CAC9B,CACN,CAAC,CACC,CACD,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -1,55 +0,0 @@
1
- import ProductSpecifications from '@jetshop/ui/ProductSpecifications/ProductSpecifications';
2
- import React from 'react';
3
- import { styled } from 'linaria/react';
4
- import t from '@jetshop/intl';
5
- import { theme } from '../Theme';
6
- const Description = styled('article') `
7
- margin-bottom: 42px;
8
- color: #707070;
9
- `;
10
- export const SectionHeading = styled('h2') `
11
- font-weight: 600;
12
- font-size: 16px;
13
- margin-bottom: 0.25em;
14
- `;
15
- export const ProductSection = styled('section') `
16
- line-height: 1.5;
17
-
18
- width: 100%;
19
- padding-bottom: 3rem;
20
-
21
- ${theme.below.md} {
22
- margin: 0;
23
- }
24
-
25
- ${theme.above.md} {
26
- width: calc(50% - 16px);
27
- }
28
-
29
- ${theme.above.lg} {
30
- :nth-of-type(odd) {
31
- width: calc(60% - 24px);
32
- }
33
- :nth-of-type(even) {
34
- width: calc(40% - 24px);
35
- }
36
- }
37
- ul.payment-options-list {
38
- font-size: 16px;
39
- font-weight: 600;
40
- }
41
- `;
42
- const ProductInfo = ({ product }) => {
43
- var _a;
44
- return (React.createElement(React.Fragment, null,
45
- product.description && (React.createElement(ProductSection, null,
46
- React.createElement(SectionHeading, null, t('Product description')),
47
- React.createElement(Description, { dangerouslySetInnerHTML: {
48
- __html: product.description
49
- } }))),
50
- ((_a = product.customFields) === null || _a === void 0 ? void 0 : _a.length) > 0 && (React.createElement(ProductSection, null,
51
- React.createElement(SectionHeading, null, t('Specifications')),
52
- React.createElement(ProductSpecifications, { fields: product.customFields })))));
53
- };
54
- export default ProductInfo;
55
- //# sourceMappingURL=ProductInfo.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProductInfo.js","sourceRoot":"","sources":["../../../../src/components/ProductPage/ProductInfo.js"],"names":[],"mappings":"AAAA,OAAO,qBAAqB,MAAM,yDAAyD,CAAC;AAC5F,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,CAAC,MAAM,eAAe,CAAC;AAC9B,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,MAAM,WAAW,GAAG,MAAM,CAAC,SAAS,CAAC,CAAA;;;CAGpC,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,MAAM,CAAC,IAAI,CAAC,CAAA;;;;CAIzC,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,MAAM,CAAC,SAAS,CAAC,CAAA;;;;;;IAM3C,KAAK,CAAC,KAAK,CAAC,EAAE;;;;IAId,KAAK,CAAC,KAAK,CAAC,EAAE;;;;IAId,KAAK,CAAC,KAAK,CAAC,EAAE;;;;;;;;;;;;CAYjB,CAAC;AAEF,MAAM,WAAW,GAAG,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE;;IAClC,OAAO,CACL;QACG,OAAO,CAAC,WAAW,IAAI,CACtB,oBAAC,cAAc;YACb,oBAAC,cAAc,QAAE,CAAC,CAAC,qBAAqB,CAAC,CAAkB;YAC3D,oBAAC,WAAW,IACV,uBAAuB,EAAE;oBACvB,MAAM,EAAE,OAAO,CAAC,WAAW;iBAC5B,GACD,CACa,CAClB;QACA,CAAA,MAAA,OAAO,CAAC,YAAY,0CAAE,MAAM,IAAG,CAAC,IAAI,CACnC,oBAAC,cAAc;YACb,oBAAC,cAAc,QAAE,CAAC,CAAC,gBAAgB,CAAC,CAAkB;YACtD,oBAAC,qBAAqB,IAAC,MAAM,EAAE,OAAO,CAAC,YAAY,GAAI,CACxC,CAClB,CACA,CACJ,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -1,46 +0,0 @@
1
- import t from '@jetshop/intl';
2
- import Accordion from '@jetshop/ui/Accordion/Accordion';
3
- import ProductSpecifications from '@jetshop/ui/ProductSpecifications/ProductSpecifications';
4
- import React, { Fragment } from 'react';
5
- import { styled } from 'linaria/react';
6
- import { ProductSection as UIProductSection, SectionHeading } from './ProductInfo';
7
- const Description = styled('article') `
8
- line-height: 25px;
9
- `;
10
- const ProductSection = styled(UIProductSection) `
11
- border-bottom: 1px solid #e8e8e8;
12
- padding: 1rem 0;
13
- margin: 1rem 0;
14
- font-size: 0.875rem;
15
- ${SectionHeading} {
16
- display: flex;
17
- justify-items: space-between;
18
- align-items: center;
19
- margin-bottom: 0;
20
- + * > :first-child {
21
- margin-top: 1rem;
22
- }
23
- }
24
- `;
25
- const IndicatorIcon = styled('span') `
26
- margin-left: auto;
27
- font-size: 1.25rem;
28
- `;
29
- const AccordionIndicator = ({ isOpen }) => (React.createElement(IndicatorIcon, null, isOpen ? '-' : '+'));
30
- const ProductInfoAccordion = ({ product }) => (React.createElement(Accordion, { single: true }, ({ openIndexes, handleClick, AccordionContent }) => (React.createElement(Fragment, null,
31
- React.createElement(ProductSection, null,
32
- React.createElement(SectionHeading, { onClick: () => handleClick(0) },
33
- React.createElement("span", null, t('Product description')),
34
- React.createElement(AccordionIndicator, { isOpen: openIndexes.includes(0) })),
35
- React.createElement(AccordionContent, { isOpen: openIndexes.includes(0) },
36
- React.createElement(Description, { dangerouslySetInnerHTML: {
37
- __html: product.description
38
- } }))),
39
- React.createElement(ProductSection, null,
40
- React.createElement(SectionHeading, { onClick: () => handleClick(1) },
41
- React.createElement("span", null, t('Specifications')),
42
- React.createElement(AccordionIndicator, { isOpen: openIndexes.includes(1) })),
43
- React.createElement(AccordionContent, { isOpen: openIndexes.includes(1) },
44
- React.createElement(ProductSpecifications, { fields: product.customFields })))))));
45
- export default ProductInfoAccordion;
46
- //# sourceMappingURL=ProductInfoAccordion.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProductInfoAccordion.js","sourceRoot":"","sources":["../../../../src/components/ProductPage/ProductInfoAccordion.js"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,eAAe,CAAC;AAC9B,OAAO,SAAS,MAAM,iCAAiC,CAAC;AACxD,OAAO,qBAAqB,MAAM,yDAAyD,CAAC;AAC5F,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EACL,cAAc,IAAI,gBAAgB,EAClC,cAAc,EACf,MAAM,eAAe,CAAC;AAEvB,MAAM,WAAW,GAAG,MAAM,CAAC,SAAS,CAAC,CAAA;;CAEpC,CAAC;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CAAC,CAAC,CAAC;YAC/C,oBAAC,qBAAqB,IAAC,MAAM,EAAE,OAAO,CAAC,YAAY,GAAI,CACtC,CACJ,CACR,CACZ,CACS,CACb,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -1,174 +0,0 @@
1
- import { useProductVariants } from '@jetshop/core/hooks/useProductVariants';
2
- import { useVariantFromUrl } from '@jetshop/core/hooks/useProductVariants/useVariantFromUrl';
3
- import { useIntl } from '@jetshop/intl';
4
- import { default as Breadcrumbs } from '@jetshop/ui/Breadcrumbs';
5
- import getParentOrCanonicalRoute from '@jetshop/ui/Breadcrumbs/getParentsOrCanonicalRoute';
6
- import { Above } from '@jetshop/ui/Breakpoints';
7
- import loadable from '@loadable/component';
8
- import { styled } from 'linaria/react';
9
- import React from 'react';
10
- import { ReactComponent as DeliveryCheck } from '../../svg/DeliveryCheck.svg';
11
- import MaxWidth from '../Layout/MaxWidth';
12
- import { Favourite } from '../ProductList/Favourite';
13
- import Spinner from '../ui/Spinner';
14
- import AddToCartForm from './AddToCart/AddToCartForm';
15
- import ImageContainer from './Images/ImageContainer';
16
- import ProductInfo, { ProductSection } from './ProductInfo';
17
- import ProductInfoAccordion from './ProductInfoAccordion';
18
- import ProductPageLoadingState from './ProductPageLoadingState';
19
- import { RelatedProducts } from './RelatedProducts';
20
- import { Container } from './styledComponents';
21
- import { theme } from '../Theme';
22
- const LoadablePackageProduct = loadable(() => import('./PackageProduct/PackageProduct'), {
23
- fallback: React.createElement(Spinner, null)
24
- });
25
- const ProductContainer = styled('div') `
26
- display: flex;
27
- align-items: center;
28
- flex-direction: column;
29
- padding-top: 1rem;
30
- header {
31
- h1 {
32
- font-size: 28px;
33
- line-height: 1.25;
34
- + h2 {
35
- font-size: 16px;
36
- font-weight: 600;
37
- }
38
- }
39
- margin-bottom: 24px;
40
- }
41
- .customer-comment-input-wrapper {
42
- width: 100%;
43
- .customer-comment-input {
44
- height: 44px;
45
- }
46
- .status-wrapper {
47
- top: -39px;
48
- }
49
- }
50
- .quantity-input-wrapper {
51
- margin-bottom: 0rem;
52
- margin-right: 10px;
53
- width: 54px;
54
- input::-webkit-outer-spin-button,
55
- input::-webkit-inner-spin-button {
56
- -webkit-appearance: none;
57
- margin: 0;
58
- }
59
- input[type='number'] {
60
- border-radius: 4px;
61
- -moz-appearance: textfield; /* Firefox */
62
- }
63
- input {
64
- width: 54px;
65
- height: 54px;
66
- text-align: center;
67
- padding: 0px;
68
- margin-bottom: 0px;
69
- }
70
- label {
71
- text-align: center;
72
- }
73
- }
74
- .short-description {
75
- line-height: 1.5;
76
- font-size: 16px;
77
- margin-bottom: 24px;
78
- color: #707070;
79
- p {
80
- margin-bottom: 1rem;
81
- }
82
- }
83
- .delivery-list {
84
- li {
85
- display: flex;
86
- align-items: center;
87
- svg {
88
- margin-right: 16px;
89
- }
90
- margin-bottom: 16px;
91
- }
92
- }
93
- .product-details {
94
- ${theme.above.md} {
95
- align-items: flex-start;
96
- }
97
-
98
- .price,
99
- .new-price,
100
- .old-price {
101
- font-weight: 600;
102
- display: inline-block;
103
- }
104
- .price,
105
- .new-price {
106
- font-size: 1.5rem;
107
- }
108
- .new-price {
109
- margin-right: 8px;
110
- color: ${theme.colors.red};
111
- }
112
- .old-price {
113
- color: #707070;
114
- }
115
- }
116
- `;
117
- const Product = ({ result: { data, loading }, product, partialProduct }) => {
118
- var _a, _b, _c;
119
- const initialVariant = useVariantFromUrl();
120
- const t = useIntl();
121
- const variantHandler = useProductVariants(product, {
122
- initialVariant,
123
- preselectCheapest: true
124
- });
125
- const { selectedVariant: selectedVariation, getMissingOptions } = variantHandler;
126
- if (!product) {
127
- product = partialProduct;
128
- }
129
- // Return early if there is no product
130
- if (!product) {
131
- return (React.createElement(ProductContainer, null,
132
- React.createElement(ProductPageLoadingState, null)));
133
- }
134
- const images = (_a = product.images) !== null && _a !== void 0 ? _a : [];
135
- const parents = getParentOrCanonicalRoute((_b = data === null || data === void 0 ? void 0 : data.route) === null || _b === void 0 ? void 0 : _b.parents, product);
136
- const relatedProducts = product.relatedProducts;
137
- return (React.createElement(ProductContainer, null,
138
- React.createElement(MaxWidth, null,
139
- React.createElement(Breadcrumbs, { breadcrumbs: ((_c = data === null || data === void 0 ? void 0 : data.route) === null || _c === void 0 ? void 0 : _c.breadcrumbs) || [], parents: parents })),
140
- React.createElement(Container, null,
141
- React.createElement(ProductSection, null, images && (React.createElement(ImageContainer, { images: images, variant: selectedVariation, badges: product.badges }))),
142
- React.createElement(ProductSection, null,
143
- React.createElement("div", { className: "product-details" },
144
- React.createElement("header", null,
145
- React.createElement(Favourite, { product: product, variant: selectedVariation, style: {
146
- float: 'right',
147
- marginLeft: 'auto',
148
- fontSize: '1.5em'
149
- } }),
150
- React.createElement("h1", { "data-testid": "product-title" }, product.name || 'Loading...'),
151
- React.createElement("h2", null, product.subName),
152
- product.articleNumber),
153
- React.createElement("div", { className: "short-description", dangerouslySetInnerHTML: {
154
- __html: product.shortDescription
155
- } }),
156
- (product === null || product === void 0 ? void 0 : product.isPackage) ? (React.createElement(LoadablePackageProduct, { product: product })) : (React.createElement(AddToCartForm, { product: product, variant: selectedVariation, getMissingOptions: getMissingOptions, variantHandler: variantHandler })),
157
- React.createElement("ul", { className: "delivery-list", css: { marginTop: '36px' } },
158
- React.createElement("li", null,
159
- React.createElement(DeliveryCheck, null),
160
- " ",
161
- t('Express 1–2 working days')),
162
- React.createElement("li", null,
163
- React.createElement(DeliveryCheck, null),
164
- " ",
165
- t('Standard 2–5 working days')),
166
- React.createElement("li", null,
167
- React.createElement(DeliveryCheck, null),
168
- " ",
169
- t('Free shipping and return'))))),
170
- React.createElement(Above, { breakpoint: "md" }, matches => matches ? (React.createElement(ProductInfo, { product: product })) : (React.createElement(ProductInfoAccordion, { product: product })))),
171
- relatedProducts && React.createElement(RelatedProducts, Object.assign({}, { relatedProducts, loading }))));
172
- };
173
- export default Product;
174
- //# sourceMappingURL=ProductPage.js.map