@evenicanpm/storefront-core 1.0.3 → 1.0.4

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 (319) hide show
  1. package/docs.tsconfig.json +35 -0
  2. package/package.json +6 -3
  3. package/src/api-manager/schemas/product.schema.ts +0 -1
  4. package/src/api-manager/services/create-query.ts +10 -0
  5. package/src/api-manager/services/product/queries/get-product-availability.ts +1 -1
  6. package/src/api-manager/services/user/mutations/add-to-wishlist.ts +23 -3
  7. package/src/api-manager/services/user/mutations/remove-from-wishlist.ts +23 -0
  8. package/src/cms/blocks/Components/CategoryCarousel/index.tsx +6 -7
  9. package/src/cms/blocks/Components/HeroCarousel/index.tsx +25 -19
  10. package/src/cms/blocks/Components/ProductCarousel/index.tsx +44 -38
  11. package/src/cms/blocks/Components/ProductSectionFullWidth/index.tsx +7 -3
  12. package/src/cms/blocks/Components/shared/product-grid.tsx +38 -23
  13. package/src/components/_components/wishlist/add-to-wishlist-dialog.tsx +1 -1
  14. package/src/components/_components/wishlist/remove-from-wishlist-dialog.tsx +1 -1
  15. package/src/components/_components/wishlist-modal/add-to-wishlist-dialog.tsx +1 -1
  16. package/src/components/_components/wishlist-modal/remove-from-wishlist-dialog.tsx +1 -1
  17. package/src/components-v2/carousel/carousel.tsx +69 -35
  18. package/src/components-v2/carousel/components/carousel-arrows.tsx +40 -46
  19. package/src/components-v2/carousel/components/carousel-dots.tsx +10 -13
  20. package/src/components-v2/carousel/index.ts +0 -2
  21. package/src/components-v2/carousel-cards/carousel-card-1/carousel-card-1.tsx +68 -49
  22. package/src/components-v2/categories/category-list/category-list.tsx +83 -41
  23. package/src/components-v2/categories/category-list/styles.ts +7 -1
  24. package/src/components-v2/categories/category-menu.tsx +2 -0
  25. package/src/components-v2/categories/mega-menu/banner.tsx +68 -37
  26. package/src/components-v2/categories/mega-menu/column-list.tsx +59 -52
  27. package/src/components-v2/categories/mega-menu/mega-menu-1.tsx +19 -1
  28. package/src/components-v2/categories/mega-menu/mega-menu-2.tsx +32 -2
  29. package/src/components-v2/header/components/mobile-header.tsx +119 -46
  30. package/src/components-v2/header/components/user.tsx +163 -117
  31. package/src/components-v2/header/header.tsx +62 -42
  32. package/src/components-v2/header/sticky-header.tsx +34 -2
  33. package/src/components-v2/mini-cart/components/bottom-actions.tsx +71 -17
  34. package/src/components-v2/mini-cart/components/cart-item.tsx +159 -101
  35. package/src/components-v2/mini-cart/components/empty-view.tsx +59 -19
  36. package/src/components-v2/mini-cart/components/top-header.tsx +61 -22
  37. package/src/components-v2/mini-cart/mini-cart-trigger.tsx +99 -0
  38. package/src/components-v2/mini-cart/mini-cart.tsx +111 -43
  39. package/src/components-v2/mobile-navigation/mobile-navigation-bar.tsx +93 -48
  40. package/src/components-v2/navbar/categories.tsx +70 -16
  41. package/src/components-v2/navbar/category-based-menu/category-based-menu.tsx +135 -41
  42. package/src/components-v2/navbar/mega-menu/mega-menu.tsx +115 -48
  43. package/src/components-v2/navbar/mobile-menu/mobile-menu.test.tsx +111 -0
  44. package/src/components-v2/navbar/mobile-menu/mobile-menu.tsx +127 -56
  45. package/src/components-v2/navbar/nav-list/nav-list.tsx +125 -103
  46. package/src/components-v2/navbar/navbar.tsx +72 -20
  47. package/src/components-v2/product-cards/{product-card-1 → product-card}/components/quantity-buttons.tsx +1 -1
  48. package/src/components-v2/product-cards/product-card/product-card.tsx +410 -0
  49. package/src/components-v2/product-cards/{product-card-1 → product-card}/styles/index.ts +6 -0
  50. package/src/components-v2/product-cards/product-card-plp/product-card.tsx +161 -0
  51. package/src/components-v2/product-cards/product-card-plp-list/index.ts +1 -0
  52. package/src/components-v2/product-cards/product-card-plp-list/product-card.tsx +219 -0
  53. package/src/components-v2/product-cards/product-card-search/product-card.tsx +166 -0
  54. package/src/components-v2/product-dialog/compound/product-dialog.tsx +225 -0
  55. package/src/components-v2/product-dialog/index.tsx +29 -0
  56. package/src/components-v2/product-dimensions/{components → compound}/dimensions-group-error.tsx +1 -1
  57. package/src/components-v2/product-dimensions/{components → compound}/dimensions-group-label.tsx +1 -1
  58. package/src/components-v2/product-dimensions/{components → compound}/dimensions-group-list-chip.tsx +1 -1
  59. package/src/components-v2/product-dimensions/{components → compound}/dimensions-group-list.tsx +1 -1
  60. package/src/components-v2/product-dimensions/{components → compound}/dimensions-group.tsx +1 -1
  61. package/src/components-v2/product-dimensions/{components → compound}/dimensions.tsx +0 -3
  62. package/src/components-v2/product-dimensions/index.tsx +1 -1
  63. package/src/components-v2/product-quantity-buttons/compound/quantity-buttons-root.tsx +181 -0
  64. package/src/components-v2/product-quantity-buttons/index.tsx +22 -0
  65. package/src/components-v2/product-quantity-variants/index.tsx +90 -0
  66. package/src/components-v2/products-view/compound/context.ts +25 -0
  67. package/src/components-v2/products-view/compound/products-grid-view.tsx +109 -0
  68. package/src/components-v2/products-view/compound/products-list-view.tsx +98 -0
  69. package/src/components-v2/products-view/compound/types.ts +12 -0
  70. package/src/components-v2/products-view/index.tsx +45 -0
  71. package/src/components-v2/products-view/products-grid-view.tsx +24 -11
  72. package/src/components-v2/products-view/products-list-view.tsx +29 -12
  73. package/src/components-v2/search-bar/compound/context.ts +31 -0
  74. package/src/components-v2/search-bar/compound/results-item-lg.tsx +43 -0
  75. package/src/components-v2/search-bar/compound/results-item-sm.tsx +48 -0
  76. package/src/components-v2/search-bar/compound/results-suspense.tsx +49 -0
  77. package/src/components-v2/search-bar/compound/results.tsx +42 -0
  78. package/src/components-v2/search-bar/compound/search-bar-root.tsx +64 -0
  79. package/src/components-v2/search-bar/compound/textfield-adornment-button.tsx +22 -0
  80. package/src/components-v2/{search-box/components/category-dropdown.tsx → search-bar/compound/textfield-adornment-category.tsx} +29 -7
  81. package/src/components-v2/search-bar/compound/textfield-adornment-search-icon.tsx +34 -0
  82. package/src/components-v2/search-bar/compound/textfield.tsx +58 -0
  83. package/src/components-v2/search-bar/hooks/use-click-outside.ts +20 -0
  84. package/src/components-v2/search-bar/hooks/use-search.ts +63 -0
  85. package/src/components-v2/search-bar/index.tsx +36 -0
  86. package/src/components-v2/{search-box → search-bar}/styles/index.ts +5 -3
  87. package/src/components-v2/search-bar/utils/findCategoryNameById.ts +18 -0
  88. package/src/components-v2/section/compound/section-header.tsx +63 -0
  89. package/src/components-v2/section/compound/section.tsx +26 -0
  90. package/src/components-v2/section/index.ts +1 -0
  91. package/src/components-v2/side-nav/side-nav.tsx +4 -5
  92. package/src/components-v2/sticky/index.ts +1 -1
  93. package/src/components-v2/{wishlist-modal → wishlist-dialogs/add-to-wishlist}/add-to-wishlist-button.tsx +1 -1
  94. package/src/components-v2/wishlist-dialogs/add-to-wishlist/compound/add-to-wishlist-bottom-ui.tsx +35 -0
  95. package/src/components-v2/wishlist-dialogs/add-to-wishlist/compound/add-to-wishlist-dialog.tsx +79 -0
  96. package/src/components-v2/wishlist-dialogs/add-to-wishlist/compound/add-to-wishlist-list.tsx +41 -0
  97. package/src/components-v2/wishlist-dialogs/add-to-wishlist/compound/context.ts +29 -0
  98. package/src/components-v2/wishlist-dialogs/add-to-wishlist/compound/wishlist-dialog-header.tsx +74 -0
  99. package/src/components-v2/wishlist-dialogs/add-to-wishlist/compound/wishlist-dialog-item.tsx +82 -0
  100. package/src/components-v2/wishlist-dialogs/add-to-wishlist/hooks/use-add-to-wishlist.ts +152 -0
  101. package/src/components-v2/wishlist-dialogs/add-to-wishlist/index.tsx +39 -0
  102. package/src/components-v2/wishlist-dialogs/create-wishlist/compound/context.ts +2 -0
  103. package/src/components-v2/wishlist-dialogs/create-wishlist/compound/create-wishlist-bottom-ui.tsx +42 -0
  104. package/src/components-v2/wishlist-dialogs/create-wishlist/compound/create-wishlist-dialog.tsx +92 -0
  105. package/src/components-v2/wishlist-dialogs/create-wishlist/compound/create-wishlist-form.tsx +96 -0
  106. package/src/components-v2/{wishlist/components → wishlist-dialogs/create-wishlist}/create-wishlist-button.tsx +5 -3
  107. package/src/components-v2/wishlist-dialogs/create-wishlist/index.tsx +22 -0
  108. package/src/hooks/use-cart.ts +29 -23
  109. package/src/hooks/use-variants.ts +106 -53
  110. package/src/lib/build-detail-url.ts +2 -1
  111. package/src/pages/product-details/product-intro/product-intro.tsx +26 -23
  112. package/src/pages/product-list/quick-view-dialog-content.tsx +18 -9
  113. package/src/pages-v2/product-details/bopis/find-in-store-button.tsx +9 -8
  114. package/src/pages-v2/product-details/bopis/find-in-store-modal.tsx +2 -2
  115. package/src/{components-v2/shop-card → pages-v2/product-details/bopis/store-card}/shop-card.tsx +17 -48
  116. package/src/pages-v2/product-details/bopis/store-card/utils/convertSecondsToTime.ts +8 -0
  117. package/src/pages-v2/product-details/bopis/store-card/utils/getDaysResources.ts +25 -0
  118. package/src/pages-v2/product-details/product-intro/compound/context.ts +52 -0
  119. package/src/pages-v2/product-details/product-intro/compound/product-info.tsx +231 -0
  120. package/src/pages-v2/product-details/product-intro/compound/product-intro-images.tsx +124 -0
  121. package/src/pages-v2/product-details/product-intro/compound/product-intro.tsx +49 -0
  122. package/src/pages-v2/product-details/product-intro/compound/thumbnail-with-skeleton.tsx +28 -0
  123. package/src/pages-v2/product-details/product-intro/utils.ts +42 -0
  124. package/src/pages-v2/product-details/product-tabs.tsx +87 -21
  125. package/src/pages-v2/product-details/related-products.tsx +26 -12
  126. package/src/pages-v2/product-list/quick-view-dialog-content.tsx +17 -10
  127. package/typedoc.js +3 -1
  128. package/src/components-v2/MiniCartClient.tsx +0 -65
  129. package/src/components-v2/carousel-cards/carousel-card-2/carousel-card-2.tsx +0 -78
  130. package/src/components-v2/carousel-cards/carousel-card-2/index.ts +0 -1
  131. package/src/components-v2/carousel-cards/carousel-card-2/styles.ts +0 -26
  132. package/src/components-v2/carousel-cards/carousel-card-3/carousel-card-3.tsx +0 -37
  133. package/src/components-v2/carousel-cards/carousel-card-3/index.ts +0 -1
  134. package/src/components-v2/carousel-cards/carousel-card-3/styles.ts +0 -28
  135. package/src/components-v2/carousel-cards/carousel-card-4/carousel-card-4.tsx +0 -81
  136. package/src/components-v2/carousel-cards/carousel-card-4/index.ts +0 -1
  137. package/src/components-v2/carousel-cards/carousel-card-4/styles.ts +0 -27
  138. package/src/components-v2/category-cards/category-card-1/category-card-1.tsx +0 -21
  139. package/src/components-v2/category-cards/category-card-1/index.ts +0 -1
  140. package/src/components-v2/category-cards/category-card-1/styles.ts +0 -37
  141. package/src/components-v2/countdown/count-box.tsx +0 -19
  142. package/src/components-v2/countdown/count-down.tsx +0 -24
  143. package/src/components-v2/countdown/index.tsx +0 -2
  144. package/src/components-v2/countdown/useCountDown.ts +0 -41
  145. package/src/components-v2/data-table/index.ts +0 -2
  146. package/src/components-v2/data-table/table-header.tsx +0 -91
  147. package/src/components-v2/data-table/table-pagination.tsx +0 -36
  148. package/src/components-v2/footer/components/about-links.tsx +0 -23
  149. package/src/components-v2/footer/components/app-store.tsx +0 -38
  150. package/src/components-v2/footer/components/customer-care-links.tsx +0 -21
  151. package/src/components-v2/footer/components/logo.tsx +0 -23
  152. package/src/components-v2/footer/components/social-links.tsx +0 -43
  153. package/src/components-v2/footer/data/index.ts +0 -54
  154. package/src/components-v2/footer/footer-1.tsx +0 -62
  155. package/src/components-v2/footer/footer-2.tsx +0 -57
  156. package/src/components-v2/footer/footer-3.tsx +0 -53
  157. package/src/components-v2/footer/footer-4.tsx +0 -71
  158. package/src/components-v2/footer/index.ts +0 -4
  159. package/src/components-v2/footer/styles/index.ts +0 -42
  160. package/src/components-v2/navbar/category-based-menu/components/categories.tsx +0 -44
  161. package/src/components-v2/navbar/category-based-menu/components/category-item.tsx +0 -31
  162. package/src/components-v2/navbar/category-based-menu/components/child-categories.tsx +0 -38
  163. package/src/components-v2/navbar/mega-menu/category-list.tsx +0 -29
  164. package/src/components-v2/navbar/mobile-menu/render-levels.test.tsx +0 -71
  165. package/src/components-v2/navbar/mobile-menu/render-levels.tsx +0 -62
  166. package/src/components-v2/newsletter/index.ts +0 -1
  167. package/src/components-v2/newsletter/newsletter.tsx +0 -112
  168. package/src/components-v2/newsletter/social-icons.tsx +0 -35
  169. package/src/components-v2/newsletter/styles.ts +0 -65
  170. package/src/components-v2/page-sidenav/grocery-side-nav/components/link-item.tsx +0 -21
  171. package/src/components-v2/page-sidenav/grocery-side-nav/components/list-item.tsx +0 -27
  172. package/src/components-v2/page-sidenav/grocery-side-nav/components/nav-accordion.tsx +0 -36
  173. package/src/components-v2/page-sidenav/grocery-side-nav/components/render-child.tsx +0 -26
  174. package/src/components-v2/page-sidenav/grocery-side-nav/grocery-side-nav.tsx +0 -32
  175. package/src/components-v2/page-sidenav/grocery-side-nav/index.ts +0 -1
  176. package/src/components-v2/page-sidenav/grocery-side-nav/styles/index.ts +0 -11
  177. package/src/components-v2/page-sidenav/health-beauty-side-nav/components/list-item.tsx +0 -27
  178. package/src/components-v2/page-sidenav/health-beauty-side-nav/components/nav-accordion.tsx +0 -44
  179. package/src/components-v2/page-sidenav/health-beauty-side-nav/components/render-child.tsx +0 -20
  180. package/src/components-v2/page-sidenav/health-beauty-side-nav/health-beauty-side-nav.tsx +0 -43
  181. package/src/components-v2/page-sidenav/health-beauty-side-nav/index.ts +0 -1
  182. package/src/components-v2/page-sidenav/health-beauty-side-nav/styles/index.ts +0 -27
  183. package/src/components-v2/page-sidenav/side-navbar/components/list-item.tsx +0 -25
  184. package/src/components-v2/page-sidenav/side-navbar/components/nav-accordion.tsx +0 -46
  185. package/src/components-v2/page-sidenav/side-navbar/components/render-child.tsx +0 -20
  186. package/src/components-v2/page-sidenav/side-navbar/index.ts +0 -1
  187. package/src/components-v2/page-sidenav/side-navbar/side-nav-bar.tsx +0 -77
  188. package/src/components-v2/page-sidenav/side-navbar/styles/index.ts +0 -73
  189. package/src/components-v2/page-sidenav/side-navbar-2/components/button-content.tsx +0 -32
  190. package/src/components-v2/page-sidenav/side-navbar-2/components/sidebar-accordion.tsx +0 -66
  191. package/src/components-v2/page-sidenav/side-navbar-2/index.ts +0 -1
  192. package/src/components-v2/page-sidenav/side-navbar-2/side-navbar-2.tsx +0 -63
  193. package/src/components-v2/page-sidenav/side-navbar-2/styles/index.ts +0 -68
  194. package/src/components-v2/product-cards/product-card-1/index.ts +0 -1
  195. package/src/components-v2/product-cards/product-card-1/product-card-1-wrapper.tsx +0 -304
  196. package/src/components-v2/product-cards/product-card-1/product-card.tsx +0 -107
  197. package/src/components-v2/product-cards/product-card-10/index.ts +0 -1
  198. package/src/components-v2/product-cards/product-card-10/product-card.tsx +0 -128
  199. package/src/components-v2/product-cards/product-card-10/styles/index.ts +0 -38
  200. package/src/components-v2/product-cards/product-card-11/index.ts +0 -1
  201. package/src/components-v2/product-cards/product-card-11/product-card.tsx +0 -66
  202. package/src/components-v2/product-cards/product-card-11/styles/index.ts +0 -16
  203. package/src/components-v2/product-cards/product-card-12/index.ts +0 -1
  204. package/src/components-v2/product-cards/product-card-12/product-card.tsx +0 -42
  205. package/src/components-v2/product-cards/product-card-12/styles/index.ts +0 -16
  206. package/src/components-v2/product-cards/product-card-13/index.ts +0 -1
  207. package/src/components-v2/product-cards/product-card-13/product-card.tsx +0 -48
  208. package/src/components-v2/product-cards/product-card-13/styles/index.ts +0 -25
  209. package/src/components-v2/product-cards/product-card-14/index.ts +0 -1
  210. package/src/components-v2/product-cards/product-card-14/product-card.tsx +0 -125
  211. package/src/components-v2/product-cards/product-card-14/styles/index.ts +0 -40
  212. package/src/components-v2/product-cards/product-card-15/index.ts +0 -1
  213. package/src/components-v2/product-cards/product-card-15/product-card.tsx +0 -121
  214. package/src/components-v2/product-cards/product-card-15/styles/index.ts +0 -57
  215. package/src/components-v2/product-cards/product-card-16/product-card.tsx +0 -116
  216. package/src/components-v2/product-cards/product-card-2/components/favorite-button.tsx +0 -29
  217. package/src/components-v2/product-cards/product-card-2/components/product-price.tsx +0 -26
  218. package/src/components-v2/product-cards/product-card-2/index.ts +0 -1
  219. package/src/components-v2/product-cards/product-card-2/product-card.tsx +0 -70
  220. package/src/components-v2/product-cards/product-card-3/components/hover-actions.tsx +0 -83
  221. package/src/components-v2/product-cards/product-card-3/index.ts +0 -1
  222. package/src/components-v2/product-cards/product-card-3/product-card.tsx +0 -110
  223. package/src/components-v2/product-cards/product-card-3/styles/index.ts +0 -89
  224. package/src/components-v2/product-cards/product-card-4/components/hover-actions.tsx +0 -50
  225. package/src/components-v2/product-cards/product-card-4/index.ts +0 -1
  226. package/src/components-v2/product-cards/product-card-4/product-card.tsx +0 -128
  227. package/src/components-v2/product-cards/product-card-4/styles/index.ts +0 -66
  228. package/src/components-v2/product-cards/product-card-5/components/button-actions.tsx +0 -49
  229. package/src/components-v2/product-cards/product-card-5/components/hover-actions.tsx +0 -50
  230. package/src/components-v2/product-cards/product-card-5/index.ts +0 -1
  231. package/src/components-v2/product-cards/product-card-5/product-card.tsx +0 -137
  232. package/src/components-v2/product-cards/product-card-5/styles/index.ts +0 -94
  233. package/src/components-v2/product-cards/product-card-6/components/hover-actions.tsx +0 -50
  234. package/src/components-v2/product-cards/product-card-6/index.ts +0 -1
  235. package/src/components-v2/product-cards/product-card-6/product-card.tsx +0 -121
  236. package/src/components-v2/product-cards/product-card-6/styles/index.ts +0 -63
  237. package/src/components-v2/product-cards/product-card-7/components/product-status.tsx +0 -18
  238. package/src/components-v2/product-cards/product-card-7/components/quantity-buttons.tsx +0 -47
  239. package/src/components-v2/product-cards/product-card-7/index.ts +0 -1
  240. package/src/components-v2/product-cards/product-card-7/product-card.tsx +0 -139
  241. package/src/components-v2/product-cards/product-card-7/styles/index.ts +0 -98
  242. package/src/components-v2/product-cards/product-card-8/product-card.tsx +0 -151
  243. package/src/components-v2/product-cards/product-card-9/index.ts +0 -1
  244. package/src/components-v2/product-cards/product-card-9/product-card.tsx +0 -169
  245. package/src/components-v2/product-cards/product-card-wishlist/components/hover-actions.tsx +0 -37
  246. package/src/components-v2/product-cards/product-card-wishlist/product-card.tsx +0 -118
  247. package/src/components-v2/product-cards/product-card-wishlist/styles/index.ts +0 -53
  248. package/src/components-v2/product-quantity-buttons/product-quantity-buttons.tsx +0 -88
  249. package/src/components-v2/products-view/product-view-dialog.tsx +0 -218
  250. package/src/components-v2/search-box/__test__/search-input-category.test.tsx +0 -110
  251. package/src/components-v2/search-box/__test__/search-input.test.tsx +0 -137
  252. package/src/components-v2/search-box/__test__/search-results.json +0 -165
  253. package/src/components-v2/search-box/components/search-result.tsx +0 -86
  254. package/src/components-v2/search-box/hooks/use-search.ts +0 -63
  255. package/src/components-v2/search-box/index.ts +0 -2
  256. package/src/components-v2/search-box/search-input-category.test.tsx +0 -110
  257. package/src/components-v2/search-box/search-input-category.tsx +0 -203
  258. package/src/components-v2/search-box/search-input.test.tsx +0 -41
  259. package/src/components-v2/search-box/search-input.tsx +0 -66
  260. package/src/components-v2/section-header/index.ts +0 -2
  261. package/src/components-v2/section-header/section-creator.tsx +0 -29
  262. package/src/components-v2/section-header/section-header.tsx +0 -44
  263. package/src/components-v2/service-cards/icon-component.tsx +0 -18
  264. package/src/components-v2/service-cards/service-card-1/index.ts +0 -1
  265. package/src/components-v2/service-cards/service-card-1/service-card-1.tsx +0 -42
  266. package/src/components-v2/service-cards/service-card-2/index.ts +0 -1
  267. package/src/components-v2/service-cards/service-card-2/service-card-2.tsx +0 -37
  268. package/src/components-v2/service-cards/service-card-3/index.ts +0 -1
  269. package/src/components-v2/service-cards/service-card-3/service-card-3.tsx +0 -28
  270. package/src/components-v2/service-cards/service-card-3/styles.ts +0 -23
  271. package/src/components-v2/settings/index.ts +0 -1
  272. package/src/components-v2/settings/setting.tsx +0 -141
  273. package/src/components-v2/settings/styles.ts +0 -57
  274. package/src/components-v2/sticky-wrapper/index.ts +0 -1
  275. package/src/components-v2/sticky-wrapper/sticky-wrapper.tsx +0 -21
  276. package/src/components-v2/sticky-wrapper/styles.ts +0 -25
  277. package/src/components-v2/stories/story-content/index.ts +0 -1
  278. package/src/components-v2/stories/story-content/story-content.tsx +0 -28
  279. package/src/components-v2/stories/story-content/styles.ts +0 -22
  280. package/src/components-v2/stories/story-item/index.ts +0 -1
  281. package/src/components-v2/stories/story-item/story-item.tsx +0 -24
  282. package/src/components-v2/stories/story-item/styles.ts +0 -11
  283. package/src/components-v2/stories/story-viewer/index.ts +0 -1
  284. package/src/components-v2/stories/story-viewer/story-viewer.tsx +0 -44
  285. package/src/components-v2/stories/story-viewer/styles.ts +0 -15
  286. package/src/components-v2/subscribe-input/index.ts +0 -1
  287. package/src/components-v2/subscribe-input/styles.ts +0 -14
  288. package/src/components-v2/subscribe-input/subscribe-input.tsx +0 -43
  289. package/src/components-v2/topbar/index.ts +0 -1
  290. package/src/components-v2/topbar/styles.ts +0 -55
  291. package/src/components-v2/topbar/top-bar.tsx +0 -115
  292. package/src/components-v2/wishlist/add-to-wishlist-dialog.tsx +0 -161
  293. package/src/components-v2/wishlist/components/create-new-list.tsx +0 -167
  294. package/src/components-v2/wishlist/components/dashboard-header.tsx +0 -123
  295. package/src/components-v2/wishlist/components/navigation.tsx +0 -87
  296. package/src/components-v2/wishlist/components/no-records.tsx +0 -20
  297. package/src/components-v2/wishlist/components/wishlist-modal-item.tsx +0 -66
  298. package/src/components-v2/wishlist/remove-from-wishlist-dialog.tsx +0 -175
  299. package/src/components-v2/wishlist-modal/TODO.md +0 -10
  300. package/src/components-v2/wishlist-modal/add-to-wishlist-dialog.tsx +0 -161
  301. package/src/components-v2/wishlist-modal/remove-from-wishlist-dialog.tsx +0 -174
  302. package/src/components-v2/wishlist-modal/wishlist-modal-item.tsx +0 -65
  303. package/src/pages-v2/product-details/product-intro/product-intro-images.tsx +0 -90
  304. package/src/pages-v2/product-details/product-intro/product-intro.tsx +0 -256
  305. /package/src/{pages-v2/account → components-v2}/no-records.tsx +0 -0
  306. /package/src/components-v2/product-cards/{product-card-1 → product-card}/components/hover-actions.tsx +0 -0
  307. /package/src/components-v2/product-cards/{product-card-16 → product-card}/index.ts +0 -0
  308. /package/src/components-v2/product-cards/{product-card-16 → product-card-plp}/components/quantity-buttons.tsx +0 -0
  309. /package/src/components-v2/product-cards/{product-card-wishlist → product-card-plp}/index.ts +0 -0
  310. /package/src/components-v2/product-cards/{product-card-16 → product-card-plp}/styles/index.ts +0 -0
  311. /package/src/components-v2/product-cards/{product-card-9 → product-card-plp-list}/components/add-to-cart.tsx +0 -0
  312. /package/src/components-v2/product-cards/{product-card-9 → product-card-plp-list}/components/favorite-button.tsx +0 -0
  313. /package/src/components-v2/product-cards/{product-card-9 → product-card-plp-list}/components/tags.tsx +0 -0
  314. /package/src/components-v2/product-cards/{product-card-8 → product-card-search}/index.ts +0 -0
  315. /package/src/components-v2/product-cards/{product-card-8 → product-card-search}/styles/index.ts +0 -0
  316. /package/src/components-v2/sticky/{Sticky.tsx → sticky.tsx} +0 -0
  317. /package/src/components-v2/{wishlist → wishlist-dialogs}/styles.ts +0 -0
  318. /package/src/{components-v2/shop-card → pages-v2/product-details/bopis/store-card}/index.ts +0 -0
  319. /package/src/{components-v2/shop-card → pages-v2/product-details/bopis/store-card}/styles.ts +0 -0
@@ -0,0 +1,410 @@
1
+ "use client";
2
+
3
+ import { createContext, ReactNode, useContext, useMemo, useState } from "react";
4
+ import Link from "next/link";
5
+ import Box from "@mui/material/Box";
6
+ import Rating from "@mui/material/Rating";
7
+ import IconButton from "@mui/material/IconButton";
8
+ import { Delete, ShoppingCart } from "@mui/icons-material";
9
+ // GLOBAL CUSTOM COMPONENTS
10
+ import LazyImage from "@evenicanpm/storefront-core/src/components-v2/LazyImage";
11
+ import { Span } from "@evenicanpm/storefront-core/src/components-v2/Typography";
12
+ import { FlexBox } from "@evenicanpm/storefront-core/src/components-v2/flex-box";
13
+ // LOCAL CUSTOM COMPONENTS
14
+ import ProductPrice from "../product-price";
15
+ import ProductTitle from "../product-title";
16
+ import QuantityBtns from "./components/quantity-buttons";
17
+ import DiscountChip from "../discount-chip";
18
+ import HoverActions from "./components/hover-actions";
19
+ // STYLED COMPONENTS
20
+ import { ImageWrapper, ContentWrapper, StyledBazaarCard } from "./styles/index";
21
+
22
+ import buildDetailUrl from "@/lib/build-detail-url";
23
+ import { useTranslations } from "next-intl";
24
+ import { useNotification } from "@evenicanpm/storefront-core/src/providers/notifications/use-notification";
25
+ import useRemoveFromWishlist from "@/api-manager/services/user/mutations/remove-from-wishlist";
26
+ import useUpdateWishlist from "@/api-manager/services/user/mutations/update-wishlist";
27
+ import useAddToCart from "@/api-manager/services/cart/mutations/add-to-cart";
28
+ import {
29
+ ExtendedWishlist,
30
+ ExtendedProductListLine,
31
+ WishlistLinesInput,
32
+ } from "@/api-manager/schemas/user.schema";
33
+ import { Cart } from "@/api-manager/schemas/cart.schema";
34
+ import AddToWishlistDialog from "@evenicanpm/storefront-core/src/components-v2/wishlist-dialogs/add-to-wishlist";
35
+ import ProductViewDialog from "@evenicanpm/storefront-core/src/components-v2/product-dialog";
36
+ import React from "react";
37
+
38
+ function findChild(
39
+ children: ReactNode,
40
+ component: typeof WishlistControls,
41
+ ): boolean {
42
+ let found = false;
43
+
44
+ React.Children.forEach(children, (child) => {
45
+ if (!React.isValidElement(child)) return;
46
+ if (child.type === component) {
47
+ found = true;
48
+ } else if (child.props?.children) {
49
+ found ||= findChild(child.props.children, component);
50
+ }
51
+ });
52
+
53
+ return found;
54
+ }
55
+ type InternalCtx = {
56
+ favorite: boolean;
57
+ handleToggleFavorite: () => void;
58
+ openProductModal: boolean;
59
+ handleToggleProductModal: () => void;
60
+ quantity: number;
61
+ handleIncrementQuantity: () => void;
62
+ handleDecrementQuantity: () => void;
63
+ isLineUpdating: boolean;
64
+ handleAddItemToCart: () => void;
65
+ handleRemoveFromWishlist: () => void;
66
+ };
67
+ type Product = {
68
+ title: string;
69
+ slug: string;
70
+ price: number;
71
+ size?: string;
72
+ imgUrl: string;
73
+ rating?: number;
74
+ discount?: number;
75
+ id: string | number;
76
+ hoverEffect?: boolean;
77
+ };
78
+
79
+ const ProductCardContext = createContext<{ product: Product } | null>(null);
80
+
81
+ type ProductCardProps = {
82
+ product: Product;
83
+ children: ReactNode;
84
+ wishlist?: ExtendedWishlist;
85
+ cart?: Cart;
86
+ };
87
+
88
+ const ProductCardInternalContext = createContext<InternalCtx | null>(null);
89
+
90
+ const ProductCard = ({
91
+ product,
92
+ children,
93
+ wishlist,
94
+ cart,
95
+ }: ProductCardProps) => {
96
+ const t = useTranslations("Account.Wishlists");
97
+ const { setNotification } = useNotification();
98
+
99
+ const { mutateAsync: removeFromWishlist } = useRemoveFromWishlist();
100
+ const { mutateAsync: updateWishlist } = useUpdateWishlist();
101
+ const { mutateAsync: addToCart } = useAddToCart();
102
+
103
+ const foundWishlistProduct = wishlist?.ProductListLines?.find(
104
+ (item: ExtendedProductListLine) => item.ProductId === product.id,
105
+ );
106
+
107
+ const [favorite, setFavorite] = useState(!!foundWishlistProduct);
108
+ const [openProductModal, setOpenProductModal] = useState(false);
109
+ const [openAddToWishlistDialog, setOpenAddToWishlistDialog] = useState(false);
110
+ const [quantity, setQuantity] = useState(foundWishlistProduct?.Quantity ?? 0);
111
+ const [isLineUpdating, setIsLineUpdating] = useState(false);
112
+
113
+ // detect if WishlistControls are being rendered
114
+ const containsWishlistControls = useMemo(
115
+ () => findChild(children, WishlistControls),
116
+ [children],
117
+ );
118
+
119
+ const handleRemoveFromWishlist = async () => {
120
+ try {
121
+ const extendedWishlistLine = wishlist?.ProductListLines?.find(
122
+ (item: ExtendedProductListLine) => item.ProductId === product.id,
123
+ );
124
+ if (extendedWishlistLine && wishlist) {
125
+ const { ...wishlistLine } = extendedWishlistLine;
126
+ delete wishlistLine.Product;
127
+
128
+ const wishlistLinesInput: WishlistLinesInput = {
129
+ Id: wishlist.Id,
130
+ ProductListLines: [wishlistLine],
131
+ };
132
+ await removeFromWishlist(wishlistLinesInput);
133
+ setNotification({
134
+ message: t("wishlistLineRemoveSuccess"),
135
+ severity: "success",
136
+ });
137
+ }
138
+ } catch {
139
+ setNotification({
140
+ message: t("wishlistLineRemoveFailed"),
141
+ severity: "error",
142
+ });
143
+ }
144
+ };
145
+
146
+ const handleToggleFavorite = () => {
147
+ setOpenAddToWishlistDialog(true);
148
+ };
149
+
150
+ const handleToggleProductModal = () => {
151
+ setOpenProductModal((prev) => !prev);
152
+ };
153
+
154
+ const handleAddRemoveSuccess = () => {
155
+ setFavorite(!favorite);
156
+ };
157
+
158
+ const handleAddItemToCart = async () => {
159
+ if (!cart) return;
160
+ try {
161
+ await addToCart({
162
+ cartId: cart.Id,
163
+ version: cart.Version,
164
+ cartLine: [{ ProductId: Number(product.id), Quantity: quantity }],
165
+ });
166
+ setNotification({
167
+ message: "Successfully added item to cart",
168
+ severity: "success",
169
+ });
170
+ } catch {
171
+ setNotification({
172
+ message: "Failed to add item to cart",
173
+ severity: "error",
174
+ });
175
+ }
176
+ };
177
+
178
+ const handleIncrementQuantity = async () => {
179
+ setIsLineUpdating(true);
180
+ if (containsWishlistControls && wishlist) {
181
+ try {
182
+ const updatedLines = wishlist.ProductListLines.map((line) => {
183
+ const updated = { ...line, Product: undefined };
184
+ if (line.ProductId === Number(product.id))
185
+ updated.Quantity = quantity + 1;
186
+ return updated;
187
+ });
188
+ await updateWishlist({
189
+ Id: wishlist.Id,
190
+ ProductListLines: updatedLines,
191
+ });
192
+ setQuantity((q) => q + 1);
193
+ } catch {}
194
+ } else {
195
+ setQuantity((q) => q + 1);
196
+ }
197
+ setIsLineUpdating(false);
198
+ };
199
+
200
+ const handleDecrementQuantity = async () => {
201
+ if (quantity <= 0) return;
202
+ setIsLineUpdating(true);
203
+ if (containsWishlistControls && wishlist) {
204
+ try {
205
+ const updatedLines = wishlist.ProductListLines.map((line) => {
206
+ const updated = { ...line, Product: undefined };
207
+ if (line.ProductId === Number(product.id))
208
+ updated.Quantity = quantity - 1;
209
+ return updated;
210
+ });
211
+ await updateWishlist({
212
+ Id: wishlist.Id,
213
+ ProductListLines: updatedLines,
214
+ });
215
+ setQuantity((q) => q - 1);
216
+ } catch {}
217
+ } else {
218
+ setQuantity((q) => q - 1);
219
+ }
220
+ setIsLineUpdating(false);
221
+ };
222
+
223
+ const internalContextValue = {
224
+ favorite,
225
+ handleToggleFavorite,
226
+ openProductModal,
227
+ handleToggleProductModal,
228
+ quantity,
229
+ handleIncrementQuantity,
230
+ handleDecrementQuantity,
231
+ isLineUpdating,
232
+ handleAddItemToCart,
233
+ handleRemoveFromWishlist,
234
+ };
235
+
236
+ return (
237
+ <ProductCardContext.Provider value={{ product }}>
238
+ <ProductCardInternalContext.Provider value={internalContextValue}>
239
+ <StyledBazaarCard hoverEffect={product.hoverEffect}>
240
+ {children}
241
+ </StyledBazaarCard>
242
+
243
+ {openAddToWishlistDialog && (
244
+ <AddToWishlistDialog
245
+ open={openAddToWishlistDialog}
246
+ handleClose={() => setOpenAddToWishlistDialog(false)}
247
+ productId={Number(product.id)}
248
+ onSuccess={handleAddRemoveSuccess}
249
+ />
250
+ )}
251
+ {openProductModal && (
252
+ <ProductViewDialog
253
+ openDialog={openProductModal}
254
+ handleCloseDialog={handleToggleProductModal}
255
+ productId={Number(product.id)}
256
+ />
257
+ )}
258
+ </ProductCardInternalContext.Provider>
259
+ </ProductCardContext.Provider>
260
+ );
261
+ };
262
+
263
+ ProductCard.Image = () => {
264
+ const ctx = useContext(ProductCardContext);
265
+ if (!ctx) return null;
266
+
267
+ const { title, id, imgUrl, discount = 0 } = ctx.product;
268
+
269
+ return (
270
+ <ImageWrapper>
271
+ {discount > 0 && <DiscountChip discount={discount} />}
272
+ <Link href={buildDetailUrl(title, Number(id))}>
273
+ <LazyImage priority src={imgUrl} width={500} height={500} alt={title} />
274
+ </Link>
275
+ </ImageWrapper>
276
+ );
277
+ };
278
+
279
+ ProductCard.Body = ({ children }: { children: React.ReactNode }) => {
280
+ return <ContentWrapper>{children}</ContentWrapper>;
281
+ };
282
+
283
+ ProductCard.Info = ({ children }: { children: React.ReactNode }) => {
284
+ return (
285
+ <Box flex="1 1 0" minWidth="0px" mr={1}>
286
+ {children}
287
+ </Box>
288
+ );
289
+ };
290
+
291
+ ProductCard.Actions = ({ children }: { children: React.ReactNode }) => {
292
+ return <>{children}</>;
293
+ };
294
+
295
+ ProductCard.Title = () => {
296
+ const ctx = useContext(ProductCardContext);
297
+ if (!ctx) return null;
298
+
299
+ const { title, slug } = ctx.product;
300
+ return <ProductTitle title={title} slug={slug} />;
301
+ };
302
+
303
+ ProductCard.Rating = () => {
304
+ const ctx = useContext(ProductCardContext);
305
+ if (!ctx) return null;
306
+
307
+ const { rating } = ctx.product;
308
+
309
+ return <Rating size="small" value={rating} color="warn" readOnly />;
310
+ };
311
+
312
+ ProductCard.Size = () => {
313
+ const ctx = useContext(ProductCardContext);
314
+ if (!ctx) return null;
315
+
316
+ const { size } = ctx.product;
317
+
318
+ return (
319
+ <Span color="grey.600" mb={1} display="block">
320
+ {size}
321
+ </Span>
322
+ );
323
+ };
324
+
325
+ ProductCard.Price = () => {
326
+ const ctx = useContext(ProductCardContext);
327
+ if (!ctx) return null;
328
+
329
+ const { discount, price } = ctx.product;
330
+
331
+ return <ProductPrice discount={discount} price={price} />;
332
+ };
333
+
334
+ const QuantityButtons = () => {
335
+ const internal = useContext(ProductCardInternalContext);
336
+ if (!internal) return null;
337
+
338
+ const {
339
+ quantity,
340
+ isLineUpdating,
341
+ handleIncrementQuantity,
342
+ handleDecrementQuantity,
343
+ } = internal;
344
+
345
+ return (
346
+ <QuantityBtns
347
+ quantity={quantity}
348
+ handleIncrement={handleIncrementQuantity}
349
+ handleDecrement={handleDecrementQuantity}
350
+ isLineUpdating={isLineUpdating}
351
+ />
352
+ );
353
+ };
354
+
355
+ ProductCard.QuantityButtons = QuantityButtons;
356
+
357
+ ProductCard.HoverActions = () => {
358
+ const internal = useContext(ProductCardInternalContext);
359
+ if (!internal) return null;
360
+
361
+ const { favorite, handleToggleProductModal, handleToggleFavorite } = internal;
362
+
363
+ return (
364
+ <HoverActions
365
+ isFavorite={favorite}
366
+ toggleView={handleToggleProductModal}
367
+ toggleFavorite={handleToggleFavorite}
368
+ />
369
+ );
370
+ };
371
+
372
+ // Used only in wishlist detail page with addtocart and remove from wishlist actions
373
+ const WishlistControls = () => {
374
+ const internal = useContext(ProductCardInternalContext);
375
+ if (!internal) return null;
376
+ return (
377
+ <>
378
+ <FlexBox
379
+ width="25px"
380
+ alignItems="center"
381
+ flexDirection="row-reverse"
382
+ justifyContent="space-between"
383
+ >
384
+ <IconButton
385
+ sx={{ padding: "3px" }}
386
+ onClick={internal.handleAddItemToCart}
387
+ >
388
+ <ShoppingCart fontSize="small" color="inherit" />
389
+ </IconButton>
390
+ </FlexBox>
391
+ <FlexBox
392
+ width="25px"
393
+ alignItems="center"
394
+ flexDirection="row-reverse"
395
+ justifyContent="space-between"
396
+ >
397
+ <IconButton
398
+ sx={{ padding: "3px" }}
399
+ onClick={internal.handleRemoveFromWishlist}
400
+ >
401
+ <Delete fontSize="small" color="inherit" />
402
+ </IconButton>
403
+ </FlexBox>
404
+ </>
405
+ );
406
+ };
407
+
408
+ ProductCard.WishlistControls = WishlistControls;
409
+
410
+ export default ProductCard;
@@ -1,4 +1,5 @@
1
1
  import styled from "@mui/material/styles/styled";
2
+ import { StyledComponent } from "@mui/styled-engine";
2
3
  // GLOBAL CUSTOM COMPONENT
3
4
  import BazaarCard from "@evenicanpm/storefront-core/src/components-v2/BazaarCard";
4
5
 
@@ -44,3 +45,8 @@ export const ContentWrapper = styled("div")({
44
45
  textOverflow: "ellipsis",
45
46
  },
46
47
  });
48
+
49
+ const StyledBazaarCardType: StyledComponent<typeof BazaarCard, {}, "div"> =
50
+ StyledBazaarCard as StyledComponent<typeof BazaarCard, {}, "div">;
51
+
52
+ export default StyledBazaarCardType;
@@ -0,0 +1,161 @@
1
+ import { createContext, useContext, ReactNode } from "react";
2
+ import Link from "next/link";
3
+ import Rating from "@mui/material/Rating";
4
+ // GLOBAL CUSTOM COMPONENTS
5
+ import { H6 } from "@evenicanpm/storefront-core/src/components-v2/Typography";
6
+ import {
7
+ FlexBetween,
8
+ FlexBox,
9
+ } from "@evenicanpm/storefront-core/src/components-v2/flex-box/index";
10
+ import ImageWithFallback from "../../ImageWithFallback";
11
+ // CUSTOM UTILS LIBRARY FUNCTIONS
12
+ import { calculateDiscount, currency } from "@/lib/lib";
13
+ // STYLED COMPONENTS
14
+ import { PriceText } from "./styles/index";
15
+ // LOCAL COMPONENTS
16
+ import DiscountChip from "../discount-chip";
17
+ import QuantityButtons from "./components/quantity-buttons";
18
+ // LOCAL CUSTOM HOOKS
19
+ import useProduct from "../use-product";
20
+
21
+ import buildDetailUrl from "@/lib/build-detail-url";
22
+
23
+ type Product = {
24
+ title: string;
25
+ slug: string;
26
+ price: number;
27
+ imgUrl: string;
28
+ rating?: number;
29
+ discount?: number;
30
+ id: number;
31
+ };
32
+
33
+ const ProductCardPlpContext = createContext<{ product: Product } | null>(null);
34
+
35
+ type ProductCardPlpProps = {
36
+ product: Product;
37
+ children: ReactNode;
38
+ };
39
+
40
+ const ProductCardPlp = ({ product, children }: ProductCardPlpProps) => {
41
+ return (
42
+ <ProductCardPlpContext.Provider value={{ product }}>
43
+ <div>{children}</div>
44
+ </ProductCardPlpContext.Provider>
45
+ );
46
+ };
47
+
48
+ ProductCardPlp.Image = () => {
49
+ const ctx = useContext(ProductCardPlpContext);
50
+ if (!ctx) return null;
51
+
52
+ const { title, id, imgUrl, discount = 0 } = ctx.product;
53
+
54
+ return (
55
+ <Link href={buildDetailUrl(title, id)}>
56
+ <FlexBox position="relative" bgcolor="grey.50" borderRadius={3} mb={2}>
57
+ <ImageWithFallback
58
+ alt={title ?? "Product Image"}
59
+ width={380}
60
+ height={379}
61
+ src={imgUrl}
62
+ style={{ borderRadius: "12px" }}
63
+ />
64
+ {discount ? (
65
+ <DiscountChip discount={discount} sx={{ left: 20, top: 20 }} />
66
+ ) : null}
67
+ </FlexBox>
68
+ </Link>
69
+ );
70
+ };
71
+
72
+ ProductCardPlp.Body = ({ children }: { children: React.ReactNode }) => {
73
+ return <FlexBetween alignItems="flex-end">{children}</FlexBetween>;
74
+ };
75
+
76
+ ProductCardPlp.Info = ({ children }: { children: React.ReactNode }) => {
77
+ return <div>{children}</div>;
78
+ };
79
+
80
+ ProductCardPlp.Actions = ({ children }: { children: React.ReactNode }) => {
81
+ return <>{children}</>;
82
+ };
83
+
84
+ ProductCardPlp.Title = () => {
85
+ const ctx = useContext(ProductCardPlpContext);
86
+ if (!ctx) return null;
87
+
88
+ const { title, id } = ctx.product;
89
+ return (
90
+ <Link href={buildDetailUrl(title, id)}>
91
+ <H6 fontWeight={700} mb={1}>
92
+ {title}
93
+ </H6>
94
+ </Link>
95
+ );
96
+ };
97
+
98
+ ProductCardPlp.Rating = () => {
99
+ const ctx = useContext(ProductCardPlpContext);
100
+ if (!ctx) return null;
101
+
102
+ const { rating } = ctx.product;
103
+
104
+ return <Rating readOnly value={rating} size="small" precision={0.5} />;
105
+ };
106
+
107
+ ProductCardPlp.Price = () => {
108
+ const ctx = useContext(ProductCardPlpContext);
109
+ if (!ctx) return null;
110
+
111
+ const { discount, price } = ctx.product;
112
+
113
+ return (
114
+ <PriceText>
115
+ {discount ? <span className="base-price">{currency(price)}</span> : null}
116
+ {calculateDiscount(price, discount)}
117
+ </PriceText>
118
+ );
119
+ };
120
+
121
+ ProductCardPlp.QuantityButtons = () => {
122
+ const ctx = useContext(ProductCardPlpContext);
123
+ if (!ctx) return null;
124
+
125
+ const { id, price, title, imgUrl, slug } = ctx.product;
126
+ const { cartItem, handleCartAmountChange } = useProduct(slug);
127
+ const handleIncrementQuantity = () => {
128
+ const product = {
129
+ id,
130
+ slug,
131
+ price,
132
+ name: title,
133
+ imgUrl,
134
+ qty: (cartItem?.Quantity || 0) + 1,
135
+ };
136
+ product;
137
+ handleCartAmountChange();
138
+ };
139
+
140
+ const handleDecrementQuantity = () => {
141
+ const product = {
142
+ id,
143
+ slug,
144
+ price,
145
+ name: title,
146
+ imgUrl,
147
+ qty: (cartItem?.Quantity || 0) - 1,
148
+ };
149
+ product;
150
+ handleCartAmountChange("remove");
151
+ };
152
+ return (
153
+ <QuantityButtons
154
+ quantity={cartItem?.Quantity || 0}
155
+ handleIncrement={handleIncrementQuantity}
156
+ handleDecrement={handleDecrementQuantity}
157
+ />
158
+ );
159
+ };
160
+
161
+ export default ProductCardPlp;
@@ -0,0 +1 @@
1
+ export { default as ProductCardPlpList } from "./product-card";