@evenicanpm/storefront-core 1.0.5 → 1.1.0

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 (307) hide show
  1. package/.storybook/main.ts +37 -0
  2. package/.storybook/preview.ts +14 -0
  3. package/README.md +17 -2
  4. package/__mocks__/next-font.js +4 -0
  5. package/package.json +19 -13
  6. package/src/api-manager/datasources/e4/graphqlRequestSdk.ts +265 -5
  7. package/src/api-manager/schemas/product.schema.ts +2 -2
  8. package/src/api-manager/services/cart/mutations/add-discount-code.ts +11 -0
  9. package/src/api-manager/services/cart/mutations/checkout.ts +1 -1
  10. package/src/api-manager/services/create-query.ts +11 -4
  11. package/src/api-manager/services/product/queries/get-product-availability.ts +1 -2
  12. package/src/api-manager/services/user/mutations/add-to-wishlist.ts +2 -2
  13. package/src/api-manager/services/user/mutations/copy-cart-to-wishlist.ts +2 -1
  14. package/src/api-manager/services/user/mutations/remove-from-wishlist.ts +4 -4
  15. package/src/api-manager/services/user/mutations/update-wishlist.ts +2 -1
  16. package/src/api-manager/services/user/queries/get-wishlist-details.ts +2 -2
  17. package/src/cms/blocks/components/product-carousel/index.tsx +6 -3
  18. package/src/cms/blocks/components/product-section-fullwidth/index.tsx +2 -2
  19. package/src/cms/blocks/components/shared/product-grid.tsx +5 -2
  20. package/src/cms/interfaces/navigation.ts +9 -9
  21. package/src/components/Blocks/Components/CategoryCarousel/index.tsx +3 -3
  22. package/src/components/Blocks/Components/HeroCarousel/index.tsx +2 -2
  23. package/src/components/Blocks/Components/ProductCarousel/index.tsx +5 -5
  24. package/src/components/Blocks/Components/ProductSectionFullWidth/index.tsx +6 -6
  25. package/src/components/Blocks/Components/Services/service-card.tsx +4 -1
  26. package/src/components/Blocks/Components/shared/featured-product-card.tsx +2 -2
  27. package/src/components/Blocks/Components/shared/product-category-item.tsx +3 -3
  28. package/src/components/Blocks/Components/shared/product-grid.tsx +2 -2
  29. package/src/components/Blocks/Components/shared/top-categories-card.tsx +1 -1
  30. package/src/components/Blocks/Components/shared/top-rating-product-card.tsx +6 -3
  31. package/src/components/Footer/sections/FooterAppStore.tsx +1 -1
  32. package/src/components/Footer/sections/FooterContact.tsx +1 -1
  33. package/src/components/Footer/sections/FooterLogo.tsx +2 -2
  34. package/src/components/Footer/sections/FooterSocialLinks.tsx +1 -1
  35. package/src/components/_components/MiniCartClient.tsx +2 -2
  36. package/src/components/_components/accordion/accordion-header.tsx +1 -1
  37. package/src/components/_components/carousel-cards/carousel-card-1/carousel-card-1.tsx +2 -2
  38. package/src/components/_components/carousel-cards/carousel-card-2/carousel-card-2.tsx +9 -4
  39. package/src/components/_components/carousel-cards/carousel-card-3/carousel-card-3.tsx +6 -3
  40. package/src/components/_components/carousel-cards/carousel-card-4/carousel-card-4.tsx +6 -1
  41. package/src/components/_components/categories/category-list/category-list.tsx +3 -3
  42. package/src/components/_components/categories/mega-menu/banner.tsx +7 -3
  43. package/src/components/_components/categories/mega-menu/column-list.tsx +3 -3
  44. package/src/components/_components/categories/mega-menu/mega-menu-1.tsx +2 -2
  45. package/src/components/_components/category-cards/category-card-1/category-card-1.tsx +2 -2
  46. package/src/components/_components/countdown/count-box.tsx +4 -1
  47. package/src/components/_components/countdown/count-down.tsx +1 -1
  48. package/src/components/_components/data-table/table-header.tsx +1 -1
  49. package/src/components/_components/footer/components/app-store.tsx +1 -1
  50. package/src/components/_components/footer/components/logo.tsx +2 -2
  51. package/src/components/_components/footer/components/social-links.tsx +1 -1
  52. package/src/components/_components/footer/footer-1.tsx +1 -1
  53. package/src/components/_components/footer/footer-2.tsx +2 -2
  54. package/src/components/_components/footer/footer-3.tsx +2 -2
  55. package/src/components/_components/footer/footer-4.tsx +3 -3
  56. package/src/components/_components/header/components/categories-menu.tsx +3 -3
  57. package/src/components/_components/header/components/mobile-header.tsx +9 -6
  58. package/src/components/_components/header/components/user.tsx +5 -5
  59. package/src/components/_components/header/header.tsx +2 -2
  60. package/src/components/_components/header/sticky-header.tsx +3 -3
  61. package/src/components/_components/mini-cart/components/cart-item.tsx +5 -2
  62. package/src/components/_components/mini-cart/components/empty-view.tsx +2 -2
  63. package/src/components/_components/mini-cart/components/top-header.tsx +5 -2
  64. package/src/components/_components/mini-cart/mini-cart.tsx +3 -3
  65. package/src/components/_components/mobile-navigation/mobile-navigation-bar.tsx +5 -5
  66. package/src/components/_components/nav-link/nav-link-2.tsx +1 -1
  67. package/src/components/_components/nav-link/nav-link-3.tsx +1 -1
  68. package/src/components/_components/navbar/categories.tsx +3 -3
  69. package/src/components/_components/navbar/category-based-menu/category-based-menu.tsx +1 -1
  70. package/src/components/_components/navbar/category-based-menu/components/child-categories.tsx +2 -2
  71. package/src/components/_components/navbar/mega-menu/category-list.tsx +1 -1
  72. package/src/components/_components/navbar/mega-menu/mega-menu.tsx +1 -1
  73. package/src/components/_components/navbar/mobile-menu/mobile-menu.tsx +2 -2
  74. package/src/components/_components/navbar/mobile-menu/render-levels.tsx +3 -3
  75. package/src/components/_components/navbar/nav-list/nav-item-child.tsx +3 -3
  76. package/src/components/_components/navbar/nav-list/nav-list.tsx +4 -4
  77. package/src/components/_components/newsletter/newsletter.tsx +5 -1
  78. package/src/components/_components/newsletter/social-icons.tsx +1 -1
  79. package/src/components/_components/page-sidenav/grocery-side-nav/components/link-item.tsx +2 -2
  80. package/src/components/_components/page-sidenav/grocery-side-nav/components/list-item.tsx +2 -2
  81. package/src/components/_components/page-sidenav/grocery-side-nav/components/nav-accordion.tsx +2 -2
  82. package/src/components/_components/page-sidenav/grocery-side-nav/grocery-side-nav.tsx +3 -3
  83. package/src/components/_components/page-sidenav/health-beauty-side-nav/components/list-item.tsx +2 -2
  84. package/src/components/_components/page-sidenav/health-beauty-side-nav/components/nav-accordion.tsx +2 -2
  85. package/src/components/_components/page-sidenav/health-beauty-side-nav/components/render-child.tsx +2 -2
  86. package/src/components/_components/page-sidenav/health-beauty-side-nav/health-beauty-side-nav.tsx +5 -5
  87. package/src/components/_components/page-sidenav/side-navbar/components/list-item.tsx +1 -1
  88. package/src/components/_components/page-sidenav/side-navbar/components/nav-accordion.tsx +3 -3
  89. package/src/components/_components/page-sidenav/side-navbar/components/render-child.tsx +1 -1
  90. package/src/components/_components/page-sidenav/side-navbar/side-nav-bar.tsx +4 -4
  91. package/src/components/_components/page-sidenav/side-navbar-2/components/sidebar-accordion.tsx +1 -1
  92. package/src/components/_components/page-sidenav/side-navbar-2/side-navbar-2.tsx +2 -2
  93. package/src/components/_components/product-cards/product-card-1/components/quantity-buttons.tsx +2 -2
  94. package/src/components/_components/product-cards/product-card-1/product-card.tsx +2 -2
  95. package/src/components/_components/product-cards/product-card-10/product-card.tsx +9 -5
  96. package/src/components/_components/product-cards/product-card-11/product-card.tsx +6 -3
  97. package/src/components/_components/product-cards/product-card-12/product-card.tsx +4 -4
  98. package/src/components/_components/product-cards/product-card-13/product-card.tsx +6 -3
  99. package/src/components/_components/product-cards/product-card-14/product-card.tsx +7 -4
  100. package/src/components/_components/product-cards/product-card-15/product-card.tsx +6 -3
  101. package/src/components/_components/product-cards/product-card-16/components/quantity-buttons.tsx +2 -2
  102. package/src/components/_components/product-cards/product-card-16/product-card.tsx +5 -2
  103. package/src/components/_components/product-cards/product-card-2/components/product-price.tsx +2 -2
  104. package/src/components/_components/product-cards/product-card-2/product-card.tsx +4 -4
  105. package/src/components/_components/product-cards/product-card-3/components/hover-actions.tsx +1 -1
  106. package/src/components/_components/product-cards/product-card-3/product-card.tsx +2 -2
  107. package/src/components/_components/product-cards/product-card-4/components/hover-actions.tsx +1 -1
  108. package/src/components/_components/product-cards/product-card-4/product-card.tsx +2 -2
  109. package/src/components/_components/product-cards/product-card-5/components/hover-actions.tsx +1 -1
  110. package/src/components/_components/product-cards/product-card-5/product-card.tsx +2 -2
  111. package/src/components/_components/product-cards/product-card-6/components/hover-actions.tsx +1 -1
  112. package/src/components/_components/product-cards/product-card-6/product-card.tsx +3 -3
  113. package/src/components/_components/product-cards/product-card-7/components/quantity-buttons.tsx +2 -2
  114. package/src/components/_components/product-cards/product-card-7/product-card.tsx +5 -2
  115. package/src/components/_components/product-cards/product-card-8/product-card.tsx +9 -5
  116. package/src/components/_components/product-cards/product-card-9/components/add-to-cart.tsx +5 -2
  117. package/src/components/_components/product-cards/product-card-9/product-card.tsx +1 -1
  118. package/src/components/_components/product-cards/product-price.tsx +2 -2
  119. package/src/components/_components/product-cards/product-rating.tsx +2 -2
  120. package/src/components/_components/product-cards/product-title.tsx +1 -1
  121. package/src/components/_components/product-cards/use-product.ts +1 -1
  122. package/src/components/_components/product-dimensions/product-dimensions.tsx +1 -1
  123. package/src/components/_components/product-quantity-buttons/product-quantity-buttons.tsx +2 -2
  124. package/src/components/_components/products-view/products-grid-view.tsx +2 -2
  125. package/src/components/_components/products-view/products-list-view.tsx +2 -2
  126. package/src/components/_components/search-box/components/category-dropdown.tsx +1 -1
  127. package/src/components/_components/search-box/components/search-result.tsx +1 -1
  128. package/src/components/_components/search-box/hooks/use-search.ts +1 -1
  129. package/src/components/_components/search-box/search-input-category.tsx +3 -3
  130. package/src/components/_components/service-cards/service-card-1/service-card-1.tsx +5 -2
  131. package/src/components/_components/service-cards/service-card-2/service-card-2.tsx +5 -2
  132. package/src/components/_components/service-cards/service-card-3/service-card-3.tsx +4 -1
  133. package/src/components/_components/settings/setting.tsx +3 -3
  134. package/src/components/_components/side-nav/side-nav.tsx +1 -1
  135. package/src/components/_components/stories/story-content/story-content.tsx +1 -1
  136. package/src/components/_components/stories/story-item/story-item.tsx +1 -1
  137. package/src/components/_components/topbar/top-bar.tsx +6 -3
  138. package/src/components/_components/wishlist-modal/wishlist-modal-item.tsx +1 -1
  139. package/src/components-v2/accordion/accordion-header.stories.tsx +28 -0
  140. package/src/components-v2/categories/category-list/category-list.tsx +2 -2
  141. package/src/components-v2/categories/category-list/styles.ts +3 -2
  142. package/src/components-v2/categories/mega-menu/column-list.tsx +1 -1
  143. package/src/components-v2/categories/mega-menu/mega-menu-1.tsx +6 -3
  144. package/src/components-v2/categories/mega-menu/mega-menu-2.tsx +2 -2
  145. package/src/components-v2/header/__tests__/user.test.tsx +12 -12
  146. package/src/components-v2/header/components/user.tsx +12 -11
  147. package/src/components-v2/mini-cart/mini-cart.tsx +9 -14
  148. package/src/components-v2/mobile-navigation/mobile-navigation-bar.tsx +1 -1
  149. package/src/components-v2/navbar/mobile-menu/mobile-menu.tsx +2 -2
  150. package/src/components-v2/product-cards/favorite-button.tsx +52 -0
  151. package/src/components-v2/product-cards/product-card/product-card.tsx +87 -47
  152. package/src/components-v2/product-cards/product-card-plp/product-card.tsx +140 -51
  153. package/src/components-v2/product-cards/product-card-plp/styles/index.ts +17 -0
  154. package/src/components-v2/product-cards/product-card-plp-list/product-card.tsx +76 -42
  155. package/src/components-v2/product-cards/product-card-search/product-card.tsx +50 -21
  156. package/src/components-v2/product-cards/product-card-search/styles/index.ts +0 -10
  157. package/src/components-v2/product-dialog/compound/product-dialog.tsx +39 -15
  158. package/src/components-v2/product-quantity-buttons/compound/quantity-buttons-root.tsx +22 -7
  159. package/src/components-v2/product-quantity-variants/index.tsx +1 -1
  160. package/src/components-v2/products-view/compound/context.ts +46 -1
  161. package/src/components-v2/products-view/compound/products-grid-view.tsx +23 -14
  162. package/src/components-v2/products-view/compound/products-list-view.tsx +12 -3
  163. package/src/components-v2/search-bar/compound/context.ts +24 -3
  164. package/src/components-v2/search-bar/compound/results-item-lg.tsx +14 -13
  165. package/src/components-v2/search-bar/compound/results-item-sm.tsx +5 -5
  166. package/src/components-v2/search-bar/compound/results-suspense.tsx +3 -3
  167. package/src/components-v2/search-bar/compound/results.tsx +4 -4
  168. package/src/components-v2/search-bar/compound/textfield-adornment-category.tsx +1 -1
  169. package/src/components-v2/search-bar/compound/textfield.tsx +3 -3
  170. package/src/components-v2/search-bar/hooks/use-click-outside.ts +1 -1
  171. package/src/components-v2/wishlist-dialogs/add-to-wishlist/add-to-wishlist-button.tsx +2 -6
  172. package/src/components-v2/wishlist-dialogs/add-to-wishlist/compound/add-to-wishlist-bottom-ui.tsx +6 -1
  173. package/src/components-v2/wishlist-dialogs/add-to-wishlist/compound/add-to-wishlist-dialog.tsx +22 -15
  174. package/src/components-v2/wishlist-dialogs/add-to-wishlist/compound/add-to-wishlist-list.tsx +8 -7
  175. package/src/components-v2/wishlist-dialogs/add-to-wishlist/compound/context.ts +8 -8
  176. package/src/components-v2/wishlist-dialogs/add-to-wishlist/compound/wishlist-dialog-item.tsx +29 -19
  177. package/src/components-v2/wishlist-dialogs/add-to-wishlist/hooks/use-add-to-wishlist.ts +27 -77
  178. package/src/components-v2/wishlist-dialogs/add-to-wishlist/index.tsx +1 -9
  179. package/src/components-v2/wishlist-dialogs/create-wishlist/compound/create-wishlist-bottom-ui.tsx +7 -2
  180. package/src/components-v2/wishlist-dialogs/create-wishlist/compound/create-wishlist-dialog.tsx +20 -12
  181. package/src/components-v2/wishlist-dialogs/create-wishlist/compound/create-wishlist-form.tsx +25 -5
  182. package/src/hooks/use-cart.ts +11 -14
  183. package/src/hooks/use-favorite.ts +17 -0
  184. package/src/hooks/use-variants.ts +4 -3
  185. package/src/pages/account/addresses/address-item.tsx +1 -1
  186. package/src/pages/account/dashboard-header.tsx +3 -3
  187. package/src/pages/account/navigation.tsx +5 -2
  188. package/src/pages/account/no-records.tsx +1 -1
  189. package/src/pages/account/orders/order-progress.tsx +5 -2
  190. package/src/pages/account/orders/order-row.tsx +4 -1
  191. package/src/pages/account/orders/order-summary.tsx +6 -2
  192. package/src/pages/account/orders/ordered-products.tsx +9 -2
  193. package/src/pages/account/profile/user-info.tsx +5 -2
  194. package/src/pages/account/wishlist/create-new-list.tsx +1 -1
  195. package/src/pages/account/wishlist/wishlist-item.tsx +2 -2
  196. package/src/pages/checkout/checkout-alt-form/address-card.tsx +5 -2
  197. package/src/pages/checkout/checkout-alt-form/checkout-step.tsx +3 -3
  198. package/src/pages/checkout/checkout-alt-form/customer-information.tsx +1 -1
  199. package/src/pages/checkout/checkout-alt-form/delivery-address.tsx +5 -1
  200. package/src/pages/checkout/checkout-alt-form/delivery-options.tsx +6 -2
  201. package/src/pages/checkout/checkout-alt-form/edit-address-form.tsx +1 -1
  202. package/src/pages/checkout/checkout-alt-form/heading.tsx +2 -2
  203. package/src/pages/checkout/checkout-alt-form/new-address-form.tsx +9 -4
  204. package/src/pages/checkout/checkout-alt-form/payment-details.tsx +6 -3
  205. package/src/pages/checkout/checkout-alt-summary/cart-item.tsx +5 -2
  206. package/src/pages/checkout/checkout-alt-summary/checkout-alt-summary.tsx +4 -2
  207. package/src/pages/checkout/checkout-alt-summary/list-item.tsx +2 -2
  208. package/src/pages/confirmation/address.tsx +4 -1
  209. package/src/pages/confirmation/confirmation-summary.tsx +6 -3
  210. package/src/pages/confirmation/ordered-products.tsx +9 -2
  211. package/src/pages/product-details/available-shops.tsx +5 -2
  212. package/src/pages/product-details/bopis/find-in-store-modal.tsx +1 -1
  213. package/src/pages/product-details/bopis/pickup-option-select.tsx +1 -1
  214. package/src/pages/product-details/frequently-bought.tsx +9 -2
  215. package/src/pages/product-details/frequently-product-card.tsx +8 -5
  216. package/src/pages/product-details/product-comment.tsx +7 -2
  217. package/src/pages/product-details/product-description.tsx +1 -1
  218. package/src/pages/product-details/product-filter-card.tsx +11 -3
  219. package/src/pages/product-details/product-intro/product-intro-images.tsx +4 -1
  220. package/src/pages/product-details/product-intro/product-intro.tsx +8 -5
  221. package/src/pages/product-details/product-review.tsx +5 -2
  222. package/src/pages/product-details/related-products.tsx +2 -2
  223. package/src/pages/product-list/facet-group.tsx +1 -1
  224. package/src/pages/product-list/list-filter.tsx +5 -2
  225. package/src/pages/product-list/pagination.tsx +1 -1
  226. package/src/pages/product-list/quick-view-dialog-content.tsx +2 -2
  227. package/src/pages/product-list/selected-facets.tsx +1 -1
  228. package/src/pages/quickorder/order-upload.tsx +1 -1
  229. package/src/pages/quickorder/quick-order-form.tsx +6 -3
  230. package/src/pages/quickorder/quick-order-row.tsx +1 -1
  231. package/src/pages-v2/account/account-navigation.tsx +1 -1
  232. package/src/pages-v2/account/orders/order-summary.tsx +5 -2
  233. package/src/pages-v2/account/profile/user-info.tsx +6 -3
  234. package/src/pages-v2/account/wishlist/wishlist-item.tsx +1 -1
  235. package/src/pages-v2/cart/__tests__/checkout-form.test.tsx +1 -1
  236. package/src/pages-v2/cart/estimate-shipping.tsx +3 -0
  237. package/src/pages-v2/checkout/checkout-alt-form/checkout-step.tsx +4 -4
  238. package/src/pages-v2/checkout/checkout-alt-form/steps/address/address-card.tsx +1 -1
  239. package/src/pages-v2/checkout/checkout-alt-form/steps/address/delivery-address.tsx +12 -5
  240. package/src/pages-v2/checkout/checkout-alt-form/steps/address/new-address-form.tsx +27 -5
  241. package/src/pages-v2/checkout/checkout-alt-form/steps/address/styles.ts +2 -1
  242. package/src/pages-v2/checkout/checkout-alt-form/steps/customer-info/customer-information.tsx +27 -7
  243. package/src/pages-v2/checkout/checkout-alt-form/steps/shipping/delivery-options.tsx +8 -1
  244. package/src/pages-v2/confirmation/address.tsx +5 -1
  245. package/src/pages-v2/product-details/available-shops.tsx +4 -1
  246. package/src/pages-v2/product-details/bopis/find-in-store-button.tsx +1 -1
  247. package/src/pages-v2/product-details/bopis/find-in-store-modal.tsx +3 -5
  248. package/src/pages-v2/product-details/product-intro/compound/context.ts +69 -12
  249. package/src/pages-v2/product-details/product-intro/compound/product-info.tsx +73 -27
  250. package/src/pages-v2/product-details/product-intro/compound/product-intro-images.tsx +19 -6
  251. package/src/pages-v2/product-details/product-intro/utils.ts +2 -2
  252. package/src/pages-v2/product-details/product-tabs.tsx +19 -4
  253. package/src/pages-v2/product-details/related-products.tsx +3 -3
  254. package/src/pages-v2/quickorder/context.ts +2 -2
  255. package/src/pages-v2/quickorder/order-upload.tsx +6 -2
  256. package/src/pages-v2/quickorder/provider.tsx +24 -9
  257. package/src/pages-v2/quickorder/quick-order-actions.tsx +2 -2
  258. package/src/pages-v2/quickorder/quick-order-header.tsx +6 -3
  259. package/src/pages-v2/quickorder/quick-order-row.tsx +1 -1
  260. package/src/pages-v2/quickorder/quick-order-table.tsx +10 -4
  261. package/src/pages-v2/quickorder/quick-order-upload.tsx +2 -2
  262. package/src/stories/Button.stories.ts +54 -0
  263. package/src/stories/Button.tsx +35 -0
  264. package/src/stories/Configure.mdx +364 -0
  265. package/src/stories/Header.stories.ts +34 -0
  266. package/src/stories/Header.tsx +54 -0
  267. package/src/stories/Page.stories.ts +33 -0
  268. package/src/stories/Page.tsx +73 -0
  269. package/src/stories/assets/accessibility.png +0 -0
  270. package/src/stories/assets/accessibility.svg +1 -0
  271. package/src/stories/assets/addon-library.png +0 -0
  272. package/src/stories/assets/assets.png +0 -0
  273. package/src/stories/assets/avif-test-image.avif +0 -0
  274. package/src/stories/assets/context.png +0 -0
  275. package/src/stories/assets/discord.svg +1 -0
  276. package/src/stories/assets/docs.png +0 -0
  277. package/src/stories/assets/figma-plugin.png +0 -0
  278. package/src/stories/assets/github.svg +1 -0
  279. package/src/stories/assets/share.png +0 -0
  280. package/src/stories/assets/styling.png +0 -0
  281. package/src/stories/assets/testing.png +0 -0
  282. package/src/stories/assets/theming.png +0 -0
  283. package/src/stories/assets/tutorials.svg +1 -0
  284. package/src/stories/assets/youtube.svg +1 -0
  285. package/src/stories/button.css +30 -0
  286. package/src/stories/header.css +32 -0
  287. package/src/stories/page.css +68 -0
  288. package/src/theme/build-mui-theme.ts +104 -0
  289. package/src/theme/components.ts +163 -0
  290. package/src/theme/emotion-cache.tsx +101 -0
  291. package/src/theme/theme-colors.ts +205 -0
  292. package/src/theme/theme-options-sample.ts +69 -0
  293. package/src/theme/theme-options.ts +172 -0
  294. package/src/theme/theme-provider.tsx +44 -0
  295. package/src/theme/typography.ts +22 -0
  296. package/src/theme/utils.ts +17 -0
  297. package/tsconfig.json +3 -1
  298. package/src/api-manager/lib/cart-cookie-handler.ts +0 -14
  299. package/src/components-v2/product-cards/product-card/components/hover-actions.tsx +0 -37
  300. package/src/components-v2/product-cards/product-card-plp/components/quantity-buttons.tsx +0 -54
  301. package/src/components-v2/product-cards/product-card-plp-list/components/add-to-cart.tsx +0 -63
  302. package/src/components-v2/product-cards/product-card-plp-list/components/favorite-button.tsx +0 -27
  303. package/src/components-v2/product-cards/use-product.ts +0 -35
  304. package/src/components-v2/products-view/products-grid-view.tsx +0 -65
  305. package/src/components-v2/products-view/products-list-view.tsx +0 -66
  306. package/src/components-v2/wishlist-dialogs/create-wishlist/compound/context.ts +0 -2
  307. /package/src/components-v2/product-cards/{product-card/components/quantity-buttons.tsx → quantity-buttons.tsx} +0 -0
@@ -6,7 +6,7 @@ import TableCell from "@mui/material/TableCell";
6
6
  import TableHead from "@mui/material/TableHead";
7
7
  import TableSortLabel from "@mui/material/TableSortLabel";
8
8
  // CUSTOM ICON COMPONENT
9
- import UpDown from "@/components/_components/icons/up-down";
9
+ import UpDown from "@evenicanpm/storefront-core/src/components/_components/icons/up-down";
10
10
 
11
11
  // STYLED COMPONENTS
12
12
  const StyledTableCell = styled(TableCell)(({ theme }) => ({
@@ -1,6 +1,6 @@
1
1
  import Box from "@mui/material/Box";
2
2
  // GLOBAL CUSTOM COMPONENT
3
- import FlexBox from "@/components/_components/flex-box/flex-box";
3
+ import FlexBox from "@evenicanpm/storefront-core/src/components/_components/flex-box/flex-box";
4
4
  // CUSTOM ICON COMPONENTS
5
5
  import { PLAY_APP_STORE_DATA } from "../data/index";
6
6
 
@@ -1,8 +1,8 @@
1
1
  import { Fragment } from "react";
2
2
  import Link from "next/link";
3
3
  import AppStore from "./app-store";
4
- import Image from "@/components/_components/BazaarImage";
5
- import { Paragraph } from "@/components/_components/Typography";
4
+ import Image from "@evenicanpm/storefront-core/src/components/_components/BazaarImage";
5
+ import { Paragraph } from "@evenicanpm/storefront-core/src/components/_components/Typography";
6
6
 
7
7
  export default function LogoSection() {
8
8
  return (
@@ -3,7 +3,7 @@
3
3
  import IconButton from "@mui/material/IconButton";
4
4
  import styled from "@mui/material/styles/styled";
5
5
  // GLOBAL CUSTOM COMPONENT
6
- import FlexBox from "@/components/_components/flex-box/flex-box";
6
+ import FlexBox from "@evenicanpm/storefront-core/src/components/_components/flex-box/flex-box";
7
7
  // DATA
8
8
  import { SOCIAL_ICON_LINKS } from "../data/index";
9
9
 
@@ -7,7 +7,7 @@ import AboutLinks from "./components/about-links";
7
7
  import SocialLinks from "./components/social-links";
8
8
  import CustomerCareLinks from "./components/customer-care-links";
9
9
  // GLOBAL CUSTOM COMPONENTS
10
- import { Paragraph } from "@/components/_components/Typography";
10
+ import { Paragraph } from "@evenicanpm/storefront-core/src/components/_components/Typography";
11
11
  // STYLED COMPONENTS
12
12
  import { Heading } from "./styles/index";
13
13
 
@@ -5,8 +5,8 @@ import Grid from "@mui/material/Grid2";
5
5
  import AppStore from "./components/app-store";
6
6
  import SocialLinks from "./components/social-links";
7
7
  // GLOBAL CUSTOM COMPONENTS
8
- import BazaarImage from "@/components/_components/BazaarImage";
9
- import { Paragraph } from "@/components/_components/Typography";
8
+ import BazaarImage from "@evenicanpm/storefront-core/src/components/_components/BazaarImage";
9
+ import { Paragraph } from "@evenicanpm/storefront-core/src/components/_components/Typography";
10
10
  // DATA
11
11
  import { CUSTOMER_CARE_LINKS } from "./data/index";
12
12
  // STYLED COMPONENTS
@@ -7,8 +7,8 @@ import Container from "@mui/material/Container";
7
7
  import AppStore from "./components/app-store";
8
8
  import SocialLinks from "./components/social-links";
9
9
  // GLOBAL CUSTOM COMPONENTS
10
- import BazaarImage from "@/components/_components/BazaarImage";
11
- import { Paragraph } from "@/components/_components/Typography";
10
+ import BazaarImage from "@evenicanpm/storefront-core/src/components/_components/BazaarImage";
11
+ import { Paragraph } from "@evenicanpm/storefront-core/src/components/_components/Typography";
12
12
  // DATA
13
13
  import { CUSTOMER_CARE_LINKS } from "./data/index";
14
14
  // STYLED COMPONENTS
@@ -7,9 +7,9 @@ import AboutLinks from "./components/about-links";
7
7
  import SocialLinks from "./components/social-links";
8
8
  import CustomerCareLinks from "./components/customer-care-links";
9
9
  // GLOBAL CUSTOM COMPONENTS
10
- import LazyImage from "@/components/_components/LazyImage";
11
- import { Paragraph } from "@/components/_components/Typography";
12
- import FlexBetween from "@/components/_components/flex-box/flex-between";
10
+ import LazyImage from "@evenicanpm/storefront-core/src/components/_components/LazyImage";
11
+ import { Paragraph } from "@evenicanpm/storefront-core/src/components/_components/Typography";
12
+ import FlexBetween from "@evenicanpm/storefront-core/src/components/_components/flex-box/flex-between";
13
13
  // STYLED COMPONENT
14
14
  import { Heading } from "./styles/index";
15
15
 
@@ -2,10 +2,10 @@ import Button from "@mui/material/Button";
2
2
  // MUI ICON COMPONENT
3
3
  import KeyboardArrowDown from "@mui/icons-material/KeyboardArrowDown";
4
4
  // CUSTOM ICON COMPONENTS
5
- import Category from "@/components/_components/icons/category";
5
+ import Category from "@evenicanpm/storefront-core/src/components/_components/icons/category";
6
6
  // GLOBAL CUSTOM COMPONENTS
7
- import { FlexBox } from "@/components/_components/flex-box/index";
8
- import CategoryMenu from "@/components/_components/categories/category-menu";
7
+ import { FlexBox } from "@evenicanpm/storefront-core/src/components/_components/flex-box/index";
8
+ import CategoryMenu from "@evenicanpm/storefront-core/src/components/_components/categories/category-menu";
9
9
 
10
10
  export default function CategoriesMenu() {
11
11
  return (
@@ -4,16 +4,19 @@ import Drawer from "@mui/material/Drawer";
4
4
  import IconButton from "@mui/material/IconButton";
5
5
  import { useTranslations } from "next-intl";
6
6
  // CUSTOM COMPONENTS
7
- import { Paragraph } from "@/components/_components/Typography";
8
- import { SearchInput } from "@/components/_components/search-box/index";
9
- import { MobileMenu } from "@/components/_components/navbar/mobile-menu/index";
10
- import { FlexBetween, FlexBox } from "@/components/_components/flex-box/index";
11
- import SiteLogo from "@/components/_components/site-logo";
7
+ import { Paragraph } from "@evenicanpm/storefront-core/src/components/_components/Typography";
8
+ import { SearchInput } from "@evenicanpm/storefront-core/src/components/_components/search-box/index";
9
+ import { MobileMenu } from "@evenicanpm/storefront-core/src/components/_components/navbar/mobile-menu/index";
10
+ import {
11
+ FlexBetween,
12
+ FlexBox,
13
+ } from "@evenicanpm/storefront-core/src/components/_components/flex-box/index";
14
+ import SiteLogo from "@evenicanpm/storefront-core/src/components/_components/site-logo";
12
15
  import MiniCartClient from "../../MiniCartClient";
13
16
  import User from "./user";
14
17
  // ICONS
15
18
  import { MdClear as Clear } from "react-icons/md";
16
- import Search from "@/components/_components/icons/search";
19
+ import Search from "@evenicanpm/storefront-core/src/components/_components/icons/search";
17
20
  // API
18
21
  import { Cart } from "@/schemas/cart.schema";
19
22
 
@@ -4,9 +4,9 @@ import React, { useState, MouseEvent, useEffect } from "react";
4
4
  import { useRouter } from "next/navigation";
5
5
 
6
6
  // API
7
- import useUpdateUser from "@/services/user/mutations/update-user";
8
- import useSessionInit from "@/services/session/mutations/session-init";
9
- import useSessionLogout from "@/services/session/mutations/session-logout";
7
+ import useUpdateUser from "@evenicanpm/storefront-core/src/api-manager/services/user/mutations/update-user";
8
+ import useSessionInit from "@evenicanpm/storefront-core/src/api-manager/services/session/mutations/session-init";
9
+ import useSessionLogout from "@evenicanpm/storefront-core/src/api-manager/services/session/mutations/session-logout";
10
10
 
11
11
  // UI
12
12
  import {
@@ -18,8 +18,8 @@ import {
18
18
  IconButton,
19
19
  } from "@mui/material";
20
20
  import { MdPersonOutline as PersonOutline } from "react-icons/md";
21
- import MobileUserIcon from "@/components/_components/icons/user";
22
- import { NavLink } from "@/components/_components/nav-link/index";
21
+ import MobileUserIcon from "@evenicanpm/storefront-core/src/components/_components/icons/user";
22
+ import { NavLink } from "@evenicanpm/storefront-core/src/components/_components/nav-link/index";
23
23
  import T from "@/components/T";
24
24
 
25
25
  // Auth
@@ -5,8 +5,8 @@ import useTheme from "@mui/material/styles/useTheme";
5
5
  import useMediaQuery from "@mui/material/useMediaQuery";
6
6
  import clsx from "clsx";
7
7
  // GLOBAL CUSTOM COMPONENTS
8
- import FlexBox from "@/components/_components/flex-box/flex-box";
9
- import SiteLogo from "@/components/_components/site-logo";
8
+ import FlexBox from "@evenicanpm/storefront-core/src/components/_components/flex-box/flex-box";
9
+ import SiteLogo from "@evenicanpm/storefront-core/src/components/_components/site-logo";
10
10
  // LOCAL CUSTOM COMPONENTS
11
11
  import MobileHeader from "./components/mobile-header";
12
12
  import CategoriesMenu from "./components/categories-menu";
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
 
3
- import Header from "@/components/_components/header/index";
4
- import SearchInputWithCategory from "@/components/_components/search-box/search-input-category";
5
- import Sticky from "@/components/_components/sticky/index";
3
+ import Header from "@evenicanpm/storefront-core/src/components/_components/header/index";
4
+ import SearchInputWithCategory from "@evenicanpm/storefront-core/src/components/_components/search-box/search-input-category";
5
+ import Sticky from "@evenicanpm/storefront-core/src/components/_components/sticky/index";
6
6
  import { useCallback, useState } from "react";
7
7
 
8
8
  export default function StickyHeader() {
@@ -9,8 +9,11 @@ import Add from "@mui/icons-material/Add";
9
9
  import Close from "@mui/icons-material/Close";
10
10
  import Remove from "@mui/icons-material/Remove";
11
11
  // GLOBAL CUSTOM COMPONENTS
12
- import { FlexBox } from "@/components/_components/flex-box/index";
13
- import { H6, Tiny } from "@/components/_components/Typography";
12
+ import { FlexBox } from "@evenicanpm/storefront-core/src/components/_components/flex-box/index";
13
+ import {
14
+ H6,
15
+ Tiny,
16
+ } from "@evenicanpm/storefront-core/src/components/_components/Typography";
14
17
  import { CartLine } from "@/schemas/cart.schema";
15
18
  import { useFormatter, useTranslations } from "next-intl";
16
19
  import { CircularProgress } from "@mui/material";
@@ -1,6 +1,6 @@
1
1
  // GLOBAL CUSTOM COMPONENTS
2
- import { FlexBox } from "@/components/_components/flex-box/index";
3
- import { Paragraph } from "@/components/_components/Typography";
2
+ import { FlexBox } from "@evenicanpm/storefront-core/src/components/_components/flex-box/index";
3
+ import { Paragraph } from "@evenicanpm/storefront-core/src/components/_components/Typography";
4
4
  import { useTranslations } from "next-intl";
5
5
 
6
6
  import { MdShoppingBag as ShoppingBag } from "react-icons/md";
@@ -1,8 +1,11 @@
1
1
  import IconButton from "@mui/material/IconButton";
2
2
  import Clear from "@mui/icons-material/Clear";
3
3
  // LOCAL CUSTOM COMPONENTS
4
- import { Paragraph } from "@/components/_components/Typography";
5
- import { FlexBetween, FlexBox } from "@/components/_components/flex-box/index";
4
+ import { Paragraph } from "@evenicanpm/storefront-core/src/components/_components/Typography";
5
+ import {
6
+ FlexBetween,
7
+ FlexBox,
8
+ } from "@evenicanpm/storefront-core/src/components/_components/flex-box/index";
6
9
  // CUSTOM ICON COMPONENT
7
10
  import { MdOutlineShoppingBag as CartBag } from "react-icons/md";
8
11
  import { useTranslations } from "next-intl";
@@ -10,13 +10,13 @@ import MiniCartItem from "./components/cart-item";
10
10
  import EmptyCartView from "./components/empty-view";
11
11
  import BottomActions from "./components/bottom-actions";
12
12
  // GLOBAL CUSTOM COMPONENT
13
- import Scrollbar from "@/components/_components/scrollbar/index";
13
+ import Scrollbar from "@evenicanpm/storefront-core/src/components/_components/scrollbar/index";
14
14
  // CUSTOM UTILS LIBRARY FUNCTION
15
15
  // CUSTOM DATA MODEL
16
16
  import { Cart, CartLine } from "@/schemas/cart.schema";
17
17
  import { useFormatter } from "next-intl";
18
- import useUpdateCartLines from "@/services/cart/mutations/update-cart-lines";
19
- import useDeleteCartLine from "@/services/cart/mutations/delete-cart-line";
18
+ import useUpdateCartLines from "@evenicanpm/storefront-core/src/api-manager/services/cart/mutations/update-cart-lines";
19
+ import useDeleteCartLine from "@evenicanpm/storefront-core/src/api-manager/services/cart/mutations/delete-cart-line";
20
20
 
21
21
  // =========================================================
22
22
  export interface MiniCartProps {
@@ -7,13 +7,13 @@ import { Theme } from "@mui/material/styles";
7
7
  import useMediaQuery from "@mui/material/useMediaQuery";
8
8
  import { useTranslations } from "next-intl";
9
9
  // CUSTOM ICON COMPONENTS
10
- import Home from "@/components/_components/icons/home";
11
- import User2 from "@/components/_components/icons/user2";
12
- import CategoryOutlined from "@/components/_components/icons/category-outline";
13
- import ShoppingBagOutlined from "@/components/_components/icons/shopping-bag-outlined";
10
+ import Home from "@evenicanpm/storefront-core/src/components/_components/icons/home";
11
+ import User2 from "@evenicanpm/storefront-core/src/components/_components/icons/user2";
12
+ import CategoryOutlined from "@evenicanpm/storefront-core/src/components/_components/icons/category-outline";
13
+ import ShoppingBagOutlined from "@evenicanpm/storefront-core/src/components/_components/icons/shopping-bag-outlined";
14
14
  // STYLED COMPONENTS
15
15
  import { iconStyle, StyledBox, StyledNavLink, Wrapper } from "./styles/index";
16
- import getCart from "@/services/cart/queries/get-cart";
16
+ import getCart from "@evenicanpm/storefront-core/src/api-manager/services/cart/queries/get-cart";
17
17
  import { NavContext } from "@/components/NavProvider/index";
18
18
 
19
19
  const MENU_LIST = [
@@ -1,6 +1,6 @@
1
1
  import Link from "next/link";
2
2
  // GLOBAL CUSTOM COMPONENT
3
- import { Small } from "@/components/_components/Typography";
3
+ import { Small } from "@evenicanpm/storefront-core/src/components/_components/Typography";
4
4
 
5
5
  // ==============================================================
6
6
  interface NavLinkProps {
@@ -4,7 +4,7 @@ import Link from "next/link";
4
4
  // MUI ICON COMPONENT
5
5
  import ArrowForward from "@mui/icons-material/ArrowForward";
6
6
  // GLOBAL CUSTOM COMPONENTS
7
- import { Span } from "@/components/_components/Typography";
7
+ import { Span } from "@evenicanpm/storefront-core/src/components/_components/Typography";
8
8
 
9
9
  // ==========================================
10
10
  interface Props {
@@ -1,10 +1,10 @@
1
1
  import { MdChevronRight as ChevronRight } from "react-icons/md";
2
2
  import { useTranslations } from "next-intl";
3
3
  // GLOBAL CUSTOM COMPONENTS
4
- import { Paragraph } from "@/components/_components/Typography";
5
- import CategoryMenu from "@/components/_components/categories/category-menu";
4
+ import { Paragraph } from "@evenicanpm/storefront-core/src/components/_components/Typography";
5
+ import CategoryMenu from "@evenicanpm/storefront-core/src/components/_components/categories/category-menu";
6
6
  // CUSTOM ICON COMPONENT
7
- import Category from "@/components/_components/icons/category";
7
+ import Category from "@evenicanpm/storefront-core/src/components/_components/icons/category";
8
8
  // STYLED COMPONENT
9
9
  import { CategoryMenuButton } from "./styles";
10
10
 
@@ -3,7 +3,7 @@
3
3
  import { useState } from "react";
4
4
  import KeyboardArrowDown from "@mui/icons-material/KeyboardArrowDown";
5
5
  // GLOBAL CUSTOM COMPONENT
6
- import FlexRowCenter from "@/components/_components/flex-box/flex-row-center";
6
+ import FlexRowCenter from "@evenicanpm/storefront-core/src/components/_components/flex-box/flex-row-center";
7
7
  // LOCAL CUSTOM COMPONENTS
8
8
  import Categories from "./components/categories";
9
9
  import ChildCategories from "./components/child-categories";
@@ -1,7 +1,7 @@
1
1
  import Box from "@mui/material/Box";
2
2
  // LOCAL CUSTOM COMPONENTS
3
- import { H6 } from "@/components/_components/Typography";
4
- import Scrollbar from "@/components/_components/scrollbar/index";
3
+ import { H6 } from "@evenicanpm/storefront-core/src/components/_components/Typography";
4
+ import Scrollbar from "@evenicanpm/storefront-core/src/components/_components/scrollbar/index";
5
5
  // LOCAL CUSTOM COMPONENT
6
6
  import CategoryItem from "./category-item";
7
7
  // STYLED COMPONENT
@@ -1,6 +1,6 @@
1
1
  import List from "@mui/material/List";
2
2
  // GLOBAL CUSTOM COMPONENTS
3
- import { H6 } from "@/components/_components/Typography";
3
+ import { H6 } from "@evenicanpm/storefront-core/src/components/_components/Typography";
4
4
  // STYLED COMPONENTS
5
5
  import { MenuListItem, StyledNavLink } from "./styles";
6
6
  // Types
@@ -3,7 +3,7 @@ import Grid from "@mui/material/Grid2";
3
3
  import Card from "@mui/material/Card";
4
4
  import KeyboardArrowDown from "@mui/icons-material/KeyboardArrowDown";
5
5
  // GLOBAL CUSTOM COMPONENTS
6
- import FlexRowCenter from "@/components/_components/flex-box/flex-row-center";
6
+ import FlexRowCenter from "@evenicanpm/storefront-core/src/components/_components/flex-box/flex-row-center";
7
7
  // GLOBAL CUSTOM HOOKS
8
8
  import useOverflowDetect from "@evenicanpm/storefront-core/src/hooks/use-overflow-detect";
9
9
  // LOCAL CUSTOM COMPONENT
@@ -9,7 +9,7 @@ import { Divider } from "@mui/material";
9
9
  import { MdMenu as Menu } from "react-icons/md";
10
10
  import { MdClear as Clear } from "react-icons/md";
11
11
  // GLOBAL CUSTOM COMPONENT
12
- import Scrollbar from "@/components/_components/scrollbar/index";
12
+ import Scrollbar from "@evenicanpm/storefront-core/src/components/_components/scrollbar/index";
13
13
  // RENDER MENU LEVEL FUNCTION
14
14
  import { renderLevels } from "./render-levels";
15
15
  // Nav Related
@@ -17,7 +17,7 @@ import { NavContext } from "@/components/NavProvider/index";
17
17
  import {
18
18
  transformCategoryNav,
19
19
  transformCmsNav,
20
- } from "@/components/_components/navbar/utils/transform-nav";
20
+ } from "@evenicanpm/storefront-core/src/components/_components/navbar/utils/transform-nav";
21
21
 
22
22
  export default function MobileMenu() {
23
23
  const { categories, cmsNav, isMobileSideNavOpen, toggleMobileSideNav } =
@@ -3,10 +3,10 @@ import Accordion from "@mui/material/Accordion";
3
3
  import AccordionSummary from "@mui/material/AccordionSummary";
4
4
  import { MdExpandMore as ExpandMore } from "react-icons/md";
5
5
  // GLOBAL CUSTOM COMPONENTS
6
- import { H6 } from "@/components/_components/Typography";
7
- import { NavLink } from "@/components/_components/nav-link/index";
6
+ import { H6 } from "@evenicanpm/storefront-core/src/components/_components/Typography";
7
+ import { NavLink } from "@evenicanpm/storefront-core/src/components/_components/nav-link/index";
8
8
 
9
- import { TransformedNavItem } from "@/components/_components/navbar/utils/transform-nav";
9
+ import { TransformedNavItem } from "@evenicanpm/storefront-core/src/components/_components/navbar/utils/transform-nav";
10
10
 
11
11
  const ACCORDION_STYLES = {
12
12
  "&:not(:last-child)": { borderBottom: 0 },
@@ -10,12 +10,12 @@ import ArrowRight from "@mui/icons-material/ArrowRight";
10
10
  import useOverflowDetect from "@evenicanpm/storefront-core/src/hooks/use-overflow-detect";
11
11
  import useSettings from "@evenicanpm/storefront-core/src/hooks/use-settings";
12
12
  // GLOBAL CUSTOM COMPONENTS
13
- import { Span } from "@/components/_components/Typography";
14
- import BazaarCard from "@/components/_components/BazaarCard";
13
+ import { Span } from "@evenicanpm/storefront-core/src/components/_components/Typography";
14
+ import BazaarCard from "@evenicanpm/storefront-core/src/components/_components/BazaarCard";
15
15
  // STYLED COMPONENTS
16
16
  import { ParentNav, ParentNavItem } from "../styles";
17
17
 
18
- import { TransformedNavItem } from "@/components/_components/navbar/utils/transform-nav";
18
+ import { TransformedNavItem } from "@evenicanpm/storefront-core/src/components/_components/navbar/utils/transform-nav";
19
19
 
20
20
  // ==============================================================
21
21
  interface Props extends PropsWithChildren {
@@ -3,9 +3,9 @@ import MenuItem from "@mui/material/MenuItem";
3
3
  // MUI ICON COMPONENTS
4
4
  import KeyboardArrowDown from "@mui/icons-material/KeyboardArrowDown";
5
5
  // GLOBAL CUSTOM COMPONENTS
6
- import { NavLink } from "@/components/_components/nav-link/index";
7
- import { FlexBox } from "@/components/_components/flex-box/index";
8
- import BazaarCard from "@/components/_components/BazaarCard";
6
+ import { NavLink } from "@evenicanpm/storefront-core/src/components/_components/nav-link/index";
7
+ import { FlexBox } from "@evenicanpm/storefront-core/src/components/_components/flex-box/index";
8
+ import BazaarCard from "@evenicanpm/storefront-core/src/components/_components/BazaarCard";
9
9
  // LOCAL CUSTOM COMPONENTS
10
10
  import MegaMenu from "../mega-menu/index";
11
11
  import NavItemChild from "./nav-item-child";
@@ -17,7 +17,7 @@ import { NavContext } from "@/components/NavProvider/index";
17
17
  import {
18
18
  transformCmsNav,
19
19
  TransformedNavItem,
20
- } from "@/components/_components/navbar/utils/transform-nav";
20
+ } from "@evenicanpm/storefront-core/src/components/_components/navbar/utils/transform-nav";
21
21
 
22
22
  export default function NavigationList() {
23
23
  const renderNestedNav = (list: TransformedNavItem[], isRoot = false) => {
@@ -15,7 +15,11 @@ import debounce from "@mui/material/utils/debounce";
15
15
  // MUI ICON COMPONENTS
16
16
  import Clear from "@mui/icons-material/Clear";
17
17
  // GLOBAL CUSTOM COMPONENTS
18
- import { H1, Paragraph, Span } from "@/components/_components/Typography";
18
+ import {
19
+ H1,
20
+ Paragraph,
21
+ Span,
22
+ } from "@evenicanpm/storefront-core/src/components/_components/Typography";
19
23
  // LOCAL CUSTOM COMPONENT
20
24
  import SocialIcons from "./social-icons";
21
25
  // STYLED COMPONENTS
@@ -4,7 +4,7 @@ import Google from "@mui/icons-material/Google";
4
4
  import Twitter from "@mui/icons-material/Twitter";
5
5
  import Instagram from "@mui/icons-material/Instagram";
6
6
  // GLOBAL CUSTOM COMPONENT
7
- import FlexRowCenter from "@/components/_components/flex-box/flex-row-center";
7
+ import FlexRowCenter from "@evenicanpm/storefront-core/src/components/_components/flex-box/flex-row-center";
8
8
  // CUSTOM ICON COMPONENT
9
9
  // import Facebook from "icons/Facebook";
10
10
  import FallbackIcon from "@/components/Blocks/Icons/Components/FallbackIcon";
@@ -1,6 +1,6 @@
1
1
  // GLOBAL CUSTOM COMPONENTS
2
- import { Span } from "@/components/_components/Typography";
3
- import { NavLink } from "@/components/_components/nav-link/index";
2
+ import { Span } from "@evenicanpm/storefront-core/src/components/_components/Typography";
3
+ import { NavLink } from "@evenicanpm/storefront-core/src/components/_components/nav-link/index";
4
4
 
5
5
  // ==============================================================
6
6
  interface Props {
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
 
3
3
  // GLOBAL CUSTOM COMPONENTS
4
- import { Span } from "@/components/_components/Typography";
5
- import FlexBox from "@/components/_components/flex-box/flex-box";
4
+ import { Span } from "@evenicanpm/storefront-core/src/components/_components/Typography";
5
+ import FlexBox from "@evenicanpm/storefront-core/src/components/_components/flex-box/flex-box";
6
6
  // CUSTOM ICON COMPONENTS
7
7
  // import appIcons from "icons";
8
8
  import FallbackIcon from "@/components/Blocks/Icons/Components/FallbackIcon";
@@ -3,12 +3,12 @@
3
3
  import { Fragment, useState } from "react";
4
4
  import Collapse from "@mui/material/Collapse";
5
5
  // GLOBAL CUSTOM COMPONENTS
6
- import { AccordionHeader } from "@/components/_components/accordion/index";
6
+ import { AccordionHeader } from "@evenicanpm/storefront-core/src/components/_components/accordion/index";
7
7
  // LOCAL CUSTOM COMPONENT
8
8
  import ListItem from "./list-item";
9
9
  import { renderChild } from "./render-child";
10
10
  // CUSTOM DATA MODEL
11
- import { CategoryItem } from "@/components/_components/bazaar-types";
11
+ import { CategoryItem } from "@evenicanpm/storefront-core/src/components/_components/bazaar-types";
12
12
 
13
13
  // ==============================================================
14
14
  type Props = { item: CategoryItem };
@@ -1,13 +1,13 @@
1
1
  // GLOBAL CUSTOM COMPONENTS
2
- import Scrollbar from "@/components/_components/scrollbar/index";
3
- import { NavLink } from "@/components/_components/nav-link/index";
2
+ import Scrollbar from "@evenicanpm/storefront-core/src/components/_components/scrollbar/index";
3
+ import { NavLink } from "@evenicanpm/storefront-core/src/components/_components/nav-link/index";
4
4
  // LOCAL CUSTOM COMPONENTS
5
5
  import ListItem from "./components/list-item";
6
6
  import NavAccordion from "./components/nav-accordion";
7
7
  // STYLED COMPONENTS
8
8
  import { StyledCard } from "./styles/index";
9
9
  // CUSTOM DATA MODEL
10
- import { CategoryItem } from "@/components/_components/bazaar-types";
10
+ import { CategoryItem } from "@evenicanpm/storefront-core/src/components/_components/bazaar-types";
11
11
 
12
12
  // ===========================================================
13
13
  type Props = { navigation: CategoryItem[] };
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
 
3
3
  // GLOBAL CUSTOM COMPONENTS
4
- import { Span } from "@/components/_components/Typography";
5
- import FlexBox from "@/components/_components/flex-box/flex-box";
4
+ import { Span } from "@evenicanpm/storefront-core/src/components/_components/Typography";
5
+ import FlexBox from "@evenicanpm/storefront-core/src/components/_components/flex-box/flex-box";
6
6
  // CUSTOM ICON COMPONENTS
7
7
  // import appIcons from "icons";
8
8
  import FallbackIcon from "@/components/Blocks/Icons/Components/FallbackIcon";
@@ -3,12 +3,12 @@
3
3
  import { Fragment, useState } from "react";
4
4
  import Collapse from "@mui/material/Collapse";
5
5
  // GLOBAL CUSTOM COMPONENTS
6
- import { AccordionHeader } from "@/components/_components/accordion/index";
6
+ import { AccordionHeader } from "@evenicanpm/storefront-core/src/components/_components/accordion/index";
7
7
  // LOCAL CUSTOM COMPONENT
8
8
  import ListItem from "./list-item";
9
9
  import { renderChild } from "./render-child";
10
10
  // CUSTOM DATA MODEL
11
- import { CategoryItem } from "@/components/_components/bazaar-types";
11
+ import { CategoryItem } from "@evenicanpm/storefront-core/src/components/_components/bazaar-types";
12
12
 
13
13
  // ==============================================================
14
14
  type Props = { item: CategoryItem };
@@ -1,5 +1,5 @@
1
- import { Span } from "@/components/_components/Typography";
2
- import { NavLink } from "@/components/_components/nav-link/index";
1
+ import { Span } from "@evenicanpm/storefront-core/src/components/_components/Typography";
2
+ import { NavLink } from "@evenicanpm/storefront-core/src/components/_components/nav-link/index";
3
3
  // STYLED COMPONENTS
4
4
  import { Circle, DotListItem } from "../styles/index";
5
5
 
@@ -1,15 +1,15 @@
1
1
  // GLOBAL CUSTOM COMPONENTS
2
- import { H4 } from "@/components/_components/Typography";
3
- import Scrollbar from "@/components/_components/scrollbar/index";
4
- import { NavLink } from "@/components/_components/nav-link/index";
5
- import FlexBox from "@/components/_components/flex-box/flex-box";
2
+ import { H4 } from "@evenicanpm/storefront-core/src/components/_components/Typography";
3
+ import Scrollbar from "@evenicanpm/storefront-core/src/components/_components/scrollbar/index";
4
+ import { NavLink } from "@evenicanpm/storefront-core/src/components/_components/nav-link/index";
5
+ import FlexBox from "@evenicanpm/storefront-core/src/components/_components/flex-box/flex-box";
6
6
  // LOCAL CUSTOM COMPONENT
7
7
  import ListItem from "./components/list-item";
8
8
  import NavAccordion from "./components/nav-accordion";
9
9
  // STYLED COMPONENT
10
10
  import { NavbarRoot } from "./styles/index";
11
11
  // CUSTOM DATA MODEL
12
- import { CategoryItem } from "@/components/_components/bazaar-types";
12
+ import { CategoryItem } from "@evenicanpm/storefront-core/src/components/_components/bazaar-types";
13
13
 
14
14
  // =================================================================
15
15
  type Props = { navigation: CategoryItem[] };
@@ -1,6 +1,6 @@
1
1
  import { Fragment } from "react";
2
2
  // GLOBAL CUSTOM COMPONENTS
3
- import { Span } from "@/components/_components/Typography";
3
+ import { Span } from "@evenicanpm/storefront-core/src/components/_components/Typography";
4
4
  // CUSTOM ICON COMPONENTS
5
5
  // import appIcons from "icons";
6
6
  import FallbackIcon from "@/components/Blocks/Icons/Components/FallbackIcon";
@@ -3,13 +3,13 @@
3
3
  import { Fragment, useState } from "react";
4
4
  import Collapse from "@mui/material/Collapse";
5
5
  // GLOBAL CUSTOM COMPONENTS
6
- import FlexBox from "@/components/_components/flex-box/flex-box";
7
- import AccordionHeader from "@/components/_components/accordion/accordion-header";
6
+ import FlexBox from "@evenicanpm/storefront-core/src/components/_components/flex-box/flex-box";
7
+ import AccordionHeader from "@evenicanpm/storefront-core/src/components/_components/accordion/accordion-header";
8
8
  // LOCAL CUSTOM COMPONENT
9
9
  import ListItem from "./list-item";
10
10
  import { renderChild } from "./render-child";
11
11
  // CUSTOM DATA MODEL
12
- import { CategoryItem } from "@/components/_components/bazaar-types";
12
+ import { CategoryItem } from "@evenicanpm/storefront-core/src/components/_components/bazaar-types";
13
13
 
14
14
  // ==============================================================
15
15
  interface Props {
@@ -1,4 +1,4 @@
1
- import { Span } from "@/components/_components/Typography";
1
+ import { Span } from "@evenicanpm/storefront-core/src/components/_components/Typography";
2
2
  import { Circle, StyledList } from "../styles/index";
3
3
 
4
4
  interface Title {