@faststore/core 3.44.2 → 3.46.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 (317) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +122 -57
  3. package/.next/cache/.tsbuildinfo +1 -1
  4. package/.next/cache/config.json +3 -3
  5. package/.next/cache/webpack/client-production/0.pack +0 -0
  6. package/.next/cache/webpack/client-production/index.pack +0 -0
  7. package/.next/cache/webpack/server-production/0.pack +0 -0
  8. package/.next/cache/webpack/server-production/index.pack +0 -0
  9. package/.next/prerender-manifest.js +1 -1
  10. package/.next/prerender-manifest.json +1 -1
  11. package/.next/react-loadable-manifest.json +65 -73
  12. package/.next/routes-manifest.json +1 -1
  13. package/.next/server/chunks/129.js +1 -0
  14. package/.next/server/chunks/1506.js +1 -1
  15. package/.next/server/chunks/1999.js +1 -0
  16. package/.next/server/chunks/2091.js +1 -0
  17. package/.next/server/chunks/2230.js +1 -0
  18. package/.next/server/chunks/2773.js +1 -0
  19. package/.next/server/chunks/2880.js +1 -1
  20. package/.next/server/chunks/3006.js +1 -0
  21. package/.next/server/chunks/4289.js +2 -2
  22. package/.next/server/chunks/4559.js +16 -3
  23. package/.next/server/chunks/4746.js +1 -1
  24. package/.next/server/chunks/5636.js +2 -0
  25. package/.next/server/chunks/5772.js +1 -0
  26. package/.next/server/chunks/6594.js +1 -1
  27. package/.next/server/chunks/674.js +1 -1
  28. package/.next/server/chunks/7228.js +1 -1
  29. package/.next/server/chunks/8038.js +1 -0
  30. package/.next/server/chunks/804.js +1 -1
  31. package/.next/server/chunks/8307.js +1 -0
  32. package/.next/server/chunks/831.js +1 -1
  33. package/.next/server/chunks/8562.js +1 -1
  34. package/.next/server/chunks/8646.js +1 -1
  35. package/.next/server/chunks/9559.js +9 -0
  36. package/.next/server/chunks/9664.js +1 -0
  37. package/.next/server/chunks/UIBannerText.js +1 -1
  38. package/.next/server/functions-config-manifest.json +1 -1
  39. package/.next/server/middleware-build-manifest.js +1 -1
  40. package/.next/server/middleware-react-loadable-manifest.js +1 -1
  41. package/.next/server/pages/404.js +1 -1
  42. package/.next/server/pages/404.js.nft.json +1 -1
  43. package/.next/server/pages/500.js +1 -1
  44. package/.next/server/pages/500.js.nft.json +1 -1
  45. package/.next/server/pages/[...slug].js +1 -1
  46. package/.next/server/pages/[...slug].js.nft.json +1 -1
  47. package/.next/server/pages/[slug]/p.js +1 -1
  48. package/.next/server/pages/[slug]/p.js.nft.json +1 -1
  49. package/.next/server/pages/_app.js.nft.json +1 -1
  50. package/.next/server/pages/_document.js.nft.json +1 -1
  51. package/.next/server/pages/_error.js.nft.json +1 -1
  52. package/.next/server/pages/account/403.js +1 -0
  53. package/.next/server/pages/account/403.js.nft.json +1 -0
  54. package/.next/server/pages/account/404.js +1 -0
  55. package/.next/server/pages/account/404.js.nft.json +1 -0
  56. package/.next/server/pages/account/[...unknown].js +1 -0
  57. package/.next/server/pages/account/[...unknown].js.nft.json +1 -0
  58. package/.next/server/pages/account/orders/[id].js +1 -0
  59. package/.next/server/pages/account/orders/[id].js.nft.json +1 -0
  60. package/.next/server/pages/account/orders.js +1 -0
  61. package/.next/server/pages/account/orders.js.nft.json +1 -0
  62. package/.next/server/pages/account/profile.js +1 -1
  63. package/.next/server/pages/account/profile.js.nft.json +1 -1
  64. package/.next/server/pages/account/security.js +1 -0
  65. package/.next/server/pages/account/security.js.nft.json +1 -0
  66. package/.next/server/pages/account/user-details.js +1 -0
  67. package/.next/server/pages/account/user-details.js.nft.json +1 -0
  68. package/.next/server/pages/account.js +1 -1
  69. package/.next/server/pages/account.js.nft.json +1 -1
  70. package/.next/server/pages/api/graphql.js +2 -2
  71. package/.next/server/pages/api/graphql.js.nft.json +1 -1
  72. package/.next/server/pages/api/health/live.js.nft.json +1 -1
  73. package/.next/server/pages/api/health/ready.js.nft.json +1 -1
  74. package/.next/server/pages/api/preview.js.nft.json +1 -1
  75. package/.next/server/pages/checkout.js +1 -1
  76. package/.next/server/pages/checkout.js.nft.json +1 -1
  77. package/.next/server/pages/en-US/404.html +2 -2
  78. package/.next/server/pages/en-US/500.html +2 -2
  79. package/.next/server/pages/en-US/account/403.html +28 -0
  80. package/.next/server/pages/en-US/account/403.json +1 -0
  81. package/.next/server/pages/en-US/account/404.html +28 -0
  82. package/.next/server/pages/en-US/account/404.json +1 -0
  83. package/.next/server/pages/en-US/checkout.html +2 -2
  84. package/.next/server/pages/en-US/login.html +2 -2
  85. package/.next/server/pages/en-US/s.html +2 -2
  86. package/.next/server/pages/en-US.html +2 -2
  87. package/.next/server/pages/index.js +1 -1
  88. package/.next/server/pages/index.js.nft.json +1 -1
  89. package/.next/server/pages/login.js +1 -1
  90. package/.next/server/pages/login.js.nft.json +1 -1
  91. package/.next/server/pages/s.js +1 -1
  92. package/.next/server/pages/s.js.nft.json +1 -1
  93. package/.next/server/pages-manifest.json +1 -1
  94. package/.next/static/chunks/4349-e6912711a345e5b6.js +1 -0
  95. package/.next/static/chunks/4625-a77d5db94b3a2b8f.js +1 -0
  96. package/.next/static/chunks/4746.f94ab461c31311bb.js +1 -0
  97. package/.next/static/chunks/4774.0450cb0efbfe76f4.js +1 -0
  98. package/.next/static/chunks/5836.92639eae2107d7af.js +1 -0
  99. package/.next/static/chunks/630.a3bf6c7cd8c945e1.js +6 -0
  100. package/.next/static/chunks/6335-1380989b5cc84425.js +1 -0
  101. package/.next/static/chunks/{2004.a778e11dd3802b72.js → 6410.bd3fa399df59cc80.js} +1 -1
  102. package/.next/static/chunks/6536.be112cd4a3efe253.js +1 -0
  103. package/.next/static/chunks/6867.27c1cb57ed76dd02.js +1 -0
  104. package/.next/static/chunks/7498-9b4ed9d4a65914cc.js +1 -0
  105. package/.next/static/chunks/7959.df78bb2e81b8d29c.js +1 -0
  106. package/.next/static/chunks/{9.89f24163370f3a22.js → 9.1db9e34673fbd5c9.js} +1 -1
  107. package/.next/static/chunks/9540.19d844fec8517602.js +1 -0
  108. package/.next/static/chunks/{1418-e86227bcf9a5d486.js → 9770-6f30493e3f7ab51b.js} +3 -3
  109. package/.next/static/chunks/BannerNewsletter.3031c9944928c34a.js +1 -0
  110. package/.next/static/chunks/BannerText.ca4ae220fed6bdd6.js +1 -0
  111. package/.next/static/chunks/CartSidebar.3d23093834f2c79a.js +1 -0
  112. package/.next/static/chunks/{Dropdown.7fe839c5ffce4687.js → Dropdown.534482865327310f.js} +1 -1
  113. package/.next/static/chunks/{DropdownButton.3991a37657e1d194.js → DropdownButton.90e7cb14e5866e74.js} +1 -1
  114. package/.next/static/chunks/{DropdownItem.0b3c39f881ca0832.js → DropdownItem.e74df13f69f8c3aa.js} +1 -1
  115. package/.next/static/chunks/{DropdownMenu.943b2d11ffa50ff6.js → DropdownMenu.56cde48e9fbbefe5.js} +1 -1
  116. package/.next/static/chunks/{Footer.1f83637df0884013.js → Footer.4bb5645e731073e7.js} +1 -1
  117. package/.next/static/chunks/Newsletter.f87cd1eca34af5e1.js +1 -0
  118. package/.next/static/chunks/ProductShelf.9b64813b3d1f4c9a.js +1 -0
  119. package/.next/static/chunks/ProductTiles.ebf02b46a32f5a53.js +1 -0
  120. package/.next/static/chunks/RegionModal.cdf4facd086a88e0.js +1 -0
  121. package/.next/static/chunks/Toast.fbfeced8149ed940.js +1 -0
  122. package/.next/static/chunks/{UIBannerText.45cf608e46cde628.js → UIBannerText.ef0582cb5cb01720.js} +1 -1
  123. package/.next/static/chunks/UISKUMatrixSidebar.64a50464062c77e9.js +1 -0
  124. package/.next/static/chunks/UIToast.22fea5cca8ee2b21.js +1 -0
  125. package/.next/static/chunks/pages/{404-6300c433469b7262.js → 404-e89b928faf6b9125.js} +1 -1
  126. package/.next/static/chunks/pages/{500-2d1dd344c8a8827f.js → 500-604704ba70e1e80a.js} +1 -1
  127. package/.next/static/chunks/pages/[...slug]-f80d7d8c8c7948a4.js +1 -0
  128. package/.next/static/chunks/pages/[slug]/p-748d6a1dbe59a2c8.js +1 -0
  129. package/.next/static/chunks/pages/_app-e5a4d3ef47f1b5c3.js +1 -0
  130. package/.next/static/chunks/pages/account/403-e4e6145815eeef01.js +1 -0
  131. package/.next/static/chunks/pages/account/404-ecfebfad41d655e9.js +1 -0
  132. package/.next/static/chunks/pages/account/[...unknown]-b233f92b64bd80cb.js +1 -0
  133. package/.next/static/chunks/pages/account/orders/[id]-8ab11c6c528911e9.js +1 -0
  134. package/.next/static/chunks/pages/account/orders-41bc5ef76c592a64.js +1 -0
  135. package/.next/static/chunks/pages/account/profile-2f501aabce910508.js +1 -0
  136. package/.next/static/chunks/pages/account/security-10e9e41318110950.js +1 -0
  137. package/.next/static/chunks/pages/account/user-details-5a7f30c290c25ec9.js +1 -0
  138. package/.next/static/chunks/pages/{checkout-93b647fc45454d97.js → checkout-cf3d3c3669a5e50b.js} +1 -1
  139. package/.next/static/chunks/pages/{index-07bc320fc045538c.js → index-e79b4e1ce52a8ea0.js} +1 -1
  140. package/.next/static/chunks/pages/{login-2454f1cd309c27d2.js → login-013b1f7a2b4bb9e0.js} +1 -1
  141. package/.next/static/chunks/pages/s-deeb7a0bdb02aaa9.js +1 -0
  142. package/.next/static/chunks/webpack-889c9cccd383a436.js +1 -0
  143. package/.next/static/css/2557aa3eaecf6ef0.css +1 -0
  144. package/.next/static/css/{b8945ac5f5327c34.css → 25ded555cb9a704f.css} +1 -1
  145. package/.next/static/css/5347dbc8b71de47d.css +1 -0
  146. package/.next/static/css/84d35f475d0dc928.css +1 -0
  147. package/.next/static/css/9d1abf05f9ffaf8f.css +1 -0
  148. package/.next/static/css/b7bba8fce075688b.css +1 -0
  149. package/.next/static/ptJ56QsnBqlWtpbKOLiri/_buildManifest.js +1 -0
  150. package/.next/static/ptJ56QsnBqlWtpbKOLiri/_ssgManifest.js +1 -0
  151. package/.next/trace +129 -112
  152. package/.turbo/turbo-build.log +40 -30
  153. package/.turbo/turbo-test.log +5 -5
  154. package/@generated/gql.ts +34 -2
  155. package/@generated/graphql.ts +1569 -2
  156. package/@generated/persisted-documents.json +4 -1
  157. package/@generated/schema.graphql +750 -0
  158. package/CHANGELOG.md +12 -0
  159. package/discovery.config.default.js +1 -1
  160. package/package.json +7 -8
  161. package/public/icons.svg +106 -0
  162. package/src/components/account/MyAccountDrawer/OrganizationDrawer/OrganizationDrawer.tsx +68 -0
  163. package/src/components/account/MyAccountDrawer/OrganizationDrawer/OrganizationDrawerBody.tsx +21 -0
  164. package/src/components/account/MyAccountDrawer/OrganizationDrawer/OrganizationDrawerHeader.tsx +39 -0
  165. package/src/components/account/MyAccountDrawer/OrganizationDrawer/index.ts +3 -0
  166. package/src/components/account/MyAccountDrawer/OrganizationDrawer/section.module.scss +125 -0
  167. package/src/components/account/MyAccountDrawer/OrganizationSignInButton/OrganizationSignInButton.tsx +50 -0
  168. package/src/components/account/MyAccountDrawer/OrganizationSignInButton/index.ts +1 -0
  169. package/src/components/account/MyAccountDrawer/ProfileSummary/ProfileSummary.tsx +69 -0
  170. package/src/components/account/MyAccountDrawer/ProfileSummary/profile-summary.scss +128 -0
  171. package/src/components/account/MyAccountLayout/MyAccountLayout.tsx +2 -2
  172. package/src/components/account/MyAccountLayout/styles.scss +8 -4
  173. package/src/components/account/MyAccountMenu/styles.scss +3 -2
  174. package/src/components/account/components/BottomSheet/BottomSheet.tsx +58 -0
  175. package/src/components/account/components/BottomSheet/styles.scss +35 -0
  176. package/src/components/account/components/MyAccountAccordion/MyAccountAccordion.tsx +13 -0
  177. package/src/components/account/components/MyAccountAccordion/MyAccountAccordionButton.tsx +35 -0
  178. package/src/components/account/components/MyAccountAccordion/MyAccountAccordionItem.tsx +21 -0
  179. package/src/components/account/components/MyAccountAccordion/MyAccountAccordionPanel.tsx +16 -0
  180. package/src/components/account/components/MyAccountAccordion/index.ts +4 -0
  181. package/src/components/account/components/MyAccountAccordion/styles.scss +88 -0
  182. package/src/components/account/components/MyAccountCard/MyAccountCard.tsx +13 -0
  183. package/src/components/account/components/MyAccountCard/index.ts +1 -0
  184. package/src/components/account/components/MyAccountCard/styles.scss +23 -0
  185. package/src/components/account/components/MyAccountStatusBadge/MyAccountStatusBadge.tsx +28 -0
  186. package/src/components/account/components/MyAccountStatusBadge/index.ts +1 -0
  187. package/src/components/account/components/MyAccountStatusBadge/styles.scss +54 -0
  188. package/src/components/account/orders/MyAccountListOrders/MyAccountFilterSlider/MyAccountFilterFacetDateRange/MyAccountFilterFacetDateRange.tsx +113 -0
  189. package/src/components/account/orders/MyAccountListOrders/MyAccountFilterSlider/MyAccountFilterFacetDateRange/index.ts +2 -0
  190. package/src/components/account/orders/MyAccountListOrders/MyAccountFilterSlider/MyAccountFilterFacetDateRange/styles.scss +43 -0
  191. package/src/components/account/orders/MyAccountListOrders/MyAccountFilterSlider/MyAccountFilterSlider.tsx +209 -0
  192. package/src/components/account/orders/MyAccountListOrders/MyAccountFilterSlider/index.ts +1 -0
  193. package/src/components/account/orders/MyAccountListOrders/MyAccountFilterSlider/section.module.scss +24 -0
  194. package/src/components/account/orders/MyAccountListOrders/MyAccountListOrders.tsx +296 -0
  195. package/src/components/account/orders/MyAccountListOrders/MyAccountListOrdersEmptyState/MyAccountListOrdersEmptyState.tsx +20 -0
  196. package/src/components/account/orders/MyAccountListOrders/MyAccountListOrdersEmptyState/index.ts +1 -0
  197. package/src/components/account/orders/MyAccountListOrders/MyAccountListOrdersEmptyState/styles.scss +43 -0
  198. package/src/components/account/orders/MyAccountListOrders/MyAccountListOrdersTable/MyAccountListOrdersTable.tsx +210 -0
  199. package/src/components/account/orders/MyAccountListOrders/MyAccountListOrdersTable/index.ts +1 -0
  200. package/src/components/account/orders/MyAccountListOrders/MyAccountListOrdersTable/styles.scss +153 -0
  201. package/src/components/account/orders/MyAccountListOrders/MyAccountSelectedTags/MyAccountSelectedTags.tsx +119 -0
  202. package/src/components/account/orders/MyAccountListOrders/MyAccountSelectedTags/index.ts +1 -0
  203. package/src/components/account/orders/MyAccountListOrders/MyAccountSelectedTags/styles.scss +69 -0
  204. package/src/components/account/orders/MyAccountListOrders/index.ts +1 -0
  205. package/src/components/account/orders/MyAccountListOrders/styles.module.scss +100 -0
  206. package/src/components/account/orders/MyAccountOrderDetails/MyAccountDeliveryCard/MyAccountDeliveryCard.tsx +47 -0
  207. package/src/components/account/orders/MyAccountOrderDetails/MyAccountDeliveryCard/index.ts +1 -0
  208. package/src/components/account/orders/MyAccountOrderDetails/MyAccountDeliveryCard/styles.scss +44 -0
  209. package/src/components/account/orders/MyAccountOrderDetails/MyAccountDeliveryOptionAccordion/MyAccountDeliveryOptionAccordion.tsx +93 -0
  210. package/src/components/account/orders/MyAccountOrderDetails/MyAccountDeliveryOptionAccordion/MyAccountDeliveryOptionAccordionDeliveryInfo.tsx +86 -0
  211. package/src/components/account/orders/MyAccountOrderDetails/MyAccountDeliveryOptionAccordion/MyAccountDeliveryOptionAccordionProducts.tsx +74 -0
  212. package/src/components/account/orders/MyAccountOrderDetails/MyAccountDeliveryOptionAccordion/index.ts +6 -0
  213. package/src/components/account/orders/MyAccountOrderDetails/MyAccountDeliveryOptionAccordion/styles.scss +193 -0
  214. package/src/components/account/orders/MyAccountOrderDetails/MyAccountMoreInformationCard/MyAccountMoreInformationCard.tsx +31 -0
  215. package/src/components/account/orders/MyAccountOrderDetails/MyAccountMoreInformationCard/index.ts +1 -0
  216. package/src/components/account/orders/MyAccountOrderDetails/MyAccountMoreInformationCard/styles.scss +22 -0
  217. package/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderActionModal/MyAccountOrderActionModal.tsx +121 -0
  218. package/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderActionModal/index.ts +2 -0
  219. package/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderActionModal/styles.module.scss +40 -0
  220. package/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderActionModal/useOrderActionModal.ts +38 -0
  221. package/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderActions/MyAccountOrderActions.tsx +154 -0
  222. package/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderActions/index.ts +1 -0
  223. package/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderActions/styles.scss +33 -0
  224. package/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderDetails.tsx +106 -0
  225. package/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderedByCard/MyAccountOrderedByCard.tsx +54 -0
  226. package/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderedByCard/index.ts +1 -0
  227. package/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderedByCard/styles.scss +65 -0
  228. package/src/components/account/orders/MyAccountOrderDetails/MyAccountPaymentCard/MyAccountPaymentCard.tsx +157 -0
  229. package/src/components/account/orders/MyAccountOrderDetails/MyAccountPaymentCard/MyAccountPaymentFlagsIcon.tsx +106 -0
  230. package/src/components/account/orders/MyAccountOrderDetails/MyAccountPaymentCard/index.ts +1 -0
  231. package/src/components/account/orders/MyAccountOrderDetails/MyAccountPaymentCard/styles.scss +76 -0
  232. package/src/components/account/orders/MyAccountOrderDetails/MyAccountStatusCard/MyAccountStatusCard.tsx +276 -0
  233. package/src/components/account/orders/MyAccountOrderDetails/MyAccountStatusCard/index.ts +1 -0
  234. package/src/components/account/orders/MyAccountOrderDetails/MyAccountStatusCard/styles.scss +205 -0
  235. package/src/components/account/orders/MyAccountOrderDetails/MyAccountStatusCard/useConnectorPositioning.ts +74 -0
  236. package/src/components/account/orders/MyAccountOrderDetails/MyAccountSummaryCard/MyAccountSummaryCard.tsx +92 -0
  237. package/src/components/account/orders/MyAccountOrderDetails/MyAccountSummaryCard/index.ts +1 -0
  238. package/src/components/account/orders/MyAccountOrderDetails/MyAccountSummaryCard/styles.scss +45 -0
  239. package/src/components/account/orders/MyAccountOrderDetails/index.ts +1 -0
  240. package/src/components/account/orders/MyAccountOrderDetails/section.module.scss +114 -0
  241. package/src/components/account/utils/useFormatPrice.ts +18 -0
  242. package/src/components/cms/RenderSections.tsx +1 -1
  243. package/src/components/navigation/Navbar/Navbar.tsx +16 -1
  244. package/src/components/navigation/NavbarSlider/NavbarSlider.tsx +18 -3
  245. package/src/customizations/src/myAccount/extensions/orders/[id]/after.tsx +7 -0
  246. package/src/customizations/src/myAccount/extensions/orders/[id]/before.tsx +7 -0
  247. package/src/customizations/src/myAccount/extensions/orders/after.tsx +7 -0
  248. package/src/customizations/src/myAccount/extensions/orders/before.tsx +7 -0
  249. package/src/customizations/src/myAccount/extensions/profile/after.tsx +7 -0
  250. package/src/customizations/src/myAccount/extensions/profile/before.tsx +7 -0
  251. package/src/customizations/src/myAccount/extensions/security/after.tsx +7 -0
  252. package/src/customizations/src/myAccount/extensions/security/before.tsx +7 -0
  253. package/src/customizations/src/myAccount/extensions/user-details/after.tsx +7 -0
  254. package/src/customizations/src/myAccount/extensions/user-details/before.tsx +7 -0
  255. package/src/experimental/myAccountSeverSideProps.ts +12 -1
  256. package/src/pages/account/403.tsx +103 -0
  257. package/src/pages/account/404.tsx +95 -0
  258. package/src/pages/account/[...unknown].tsx +39 -0
  259. package/src/pages/account/index.tsx +8 -16
  260. package/src/pages/account/orders/[id].tsx +764 -0
  261. package/src/pages/account/orders/index.tsx +273 -0
  262. package/src/pages/account/orders/styles.module.scss +35 -0
  263. package/src/pages/account/profile.tsx +62 -17
  264. package/src/pages/account/security.tsx +94 -0
  265. package/src/pages/account/user-details.tsx +94 -0
  266. package/src/sdk/account/getMyAccountRoutes.ts +13 -12
  267. package/src/sdk/account/useApproveOrder.ts +53 -0
  268. package/src/sdk/account/useCancelOrder.ts +34 -0
  269. package/src/sdk/account/useDebounce.ts +23 -0
  270. package/src/sdk/account/useRejectOrder.ts +53 -0
  271. package/src/sdk/search/useMyAccountFilter.ts +157 -0
  272. package/src/sdk/session/index.ts +9 -0
  273. package/src/utils/myAccountRedirect.tsx +36 -0
  274. package/src/utils/userOrderStatus.ts +141 -0
  275. package/src/utils/utilities.ts +35 -3
  276. package/test/server/index.test.ts +9 -1
  277. package/.next/server/chunks/1246.js +0 -1
  278. package/.next/server/chunks/2443.js +0 -1
  279. package/.next/server/chunks/4725.js +0 -1
  280. package/.next/server/chunks/563.js +0 -1
  281. package/.next/server/chunks/6968.js +0 -10
  282. package/.next/server/chunks/7468.js +0 -1
  283. package/.next/server/chunks/8355.js +0 -1
  284. package/.next/static/chunks/1173.ca14a5bc4e1264f4.js +0 -1
  285. package/.next/static/chunks/2206.44239ce81a09bc17.js +0 -1
  286. package/.next/static/chunks/4349-87a956a73b97519c.js +0 -1
  287. package/.next/static/chunks/4625-553d20c86b0ca577.js +0 -1
  288. package/.next/static/chunks/4746.2e16ec0663a3873f.js +0 -1
  289. package/.next/static/chunks/4774.8e70c01dcd0ed4b3.js +0 -1
  290. package/.next/static/chunks/4865.4017be0f8e7c8cf0.js +0 -1
  291. package/.next/static/chunks/5259-90f7ef92cf24e49a.js +0 -1
  292. package/.next/static/chunks/5836.48126b7866819f9e.js +0 -1
  293. package/.next/static/chunks/630.13d3dd939b789798.js +0 -6
  294. package/.next/static/chunks/6335-6eb4ff84af184b88.js +0 -1
  295. package/.next/static/chunks/6536.d5260107222db13c.js +0 -1
  296. package/.next/static/chunks/7498-72289e704e7c7056.js +0 -1
  297. package/.next/static/chunks/7959.7c721505286572c0.js +0 -1
  298. package/.next/static/chunks/BannerNewsletter.8982f42e60ed8828.js +0 -1
  299. package/.next/static/chunks/BannerText.5b250db1cf67e44f.js +0 -1
  300. package/.next/static/chunks/CartSidebar.aa9e43be37034654.js +0 -1
  301. package/.next/static/chunks/Newsletter.9db4df2d4fb33227.js +0 -1
  302. package/.next/static/chunks/ProductShelf.9cea36116836c161.js +0 -1
  303. package/.next/static/chunks/ProductTiles.059a4a6360e1d4ea.js +0 -1
  304. package/.next/static/chunks/RegionModal.4594b707a1092551.js +0 -1
  305. package/.next/static/chunks/Toast.01d4ac8bf14c1be5.js +0 -1
  306. package/.next/static/chunks/UIButton.3186f933c0ecfb31.js +0 -1
  307. package/.next/static/chunks/UISKUMatrixSidebar.9ac3980a60cfc358.js +0 -1
  308. package/.next/static/chunks/UIToast.221eb10681d2f642.js +0 -1
  309. package/.next/static/chunks/pages/[...slug]-c1a62d58f5940747.js +0 -1
  310. package/.next/static/chunks/pages/[slug]/p-555dc09a5e78260e.js +0 -1
  311. package/.next/static/chunks/pages/_app-d5641120092ee13b.js +0 -1
  312. package/.next/static/chunks/pages/account/profile-23b2e9fbbd95a30b.js +0 -1
  313. package/.next/static/chunks/pages/s-9901e6857f517b8b.js +0 -1
  314. package/.next/static/chunks/webpack-f338de6955d58a39.js +0 -1
  315. package/.next/static/css/249b9deaabc0d32d.css +0 -1
  316. package/.next/static/t5v5T1mAjzrYWEKaMk8mu/_buildManifest.js +0 -1
  317. package/.next/static/t5v5T1mAjzrYWEKaMk8mu/_ssgManifest.js +0 -1
@@ -0,0 +1,20 @@
1
+ import { Icon, LinkButton } from '@faststore/ui'
2
+
3
+ export default function MyAccountListOrdersEmptyState() {
4
+ return (
5
+ <div data-fs-list-orders-empty-state>
6
+ <div data-fs-list-orders-empty-state-image>
7
+ <Icon name="Bag2" width={56} height={56} />
8
+ <h2 data-fs-list-orders-empty-state-title>You don’t have any orders</h2>
9
+ </div>
10
+
11
+ <LinkButton
12
+ data-fs-list-orders-empty-state-link
13
+ href="/"
14
+ variant="secondary"
15
+ >
16
+ Start shopping
17
+ </LinkButton>
18
+ </div>
19
+ )
20
+ }
@@ -0,0 +1 @@
1
+ export { default } from './MyAccountListOrdersEmptyState'
@@ -0,0 +1,43 @@
1
+ [data-fs-list-orders-empty-state] {
2
+ // --------------------------------------------------------
3
+ // Design Tokens
4
+ // --------------------------------------------------------
5
+
6
+ // Default properties
7
+ --fs-list-orders-empty-state-gap: var(--fs-spacing-4);
8
+
9
+ // Title
10
+ --fs-list-orders-empty-state-title-font-size: var(--fs-text-size-3);
11
+ --fs-list-orders-empty-state-title-font-weight:
12
+ var(
13
+ --fs-text-weight-semibold
14
+ );
15
+
16
+ display: flex;
17
+ flex-direction: column;
18
+ gap: var(--fs-list-orders-empty-state-gap);
19
+ align-items: center;
20
+ justify-content: center;
21
+ width: 100%;
22
+ height: 100%;
23
+ padding: var(--fs-spacing-5) 0;
24
+
25
+ [data-fs-list-orders-empty-state-image] {
26
+ display: flex;
27
+ flex-direction: column;
28
+ align-items: center;
29
+ justify-content: center;
30
+ }
31
+
32
+ [data-fs-list-orders-empty-state-title] {
33
+ font-size: var(--fs-list-orders-empty-state-title-font-size);
34
+ font-weight: var(--fs-list-orders-empty-state-title-font-weight);
35
+ line-height: var(--fs-spacing-5);
36
+ color: var(--fs-color-disabled-text);
37
+ letter-spacing: -4%;
38
+ }
39
+
40
+ [data-fs-list-orders-empty-state-link] {
41
+ text-decoration: none;
42
+ }
43
+ }
@@ -0,0 +1,210 @@
1
+ import { Button, Icon } from '@faststore/ui'
2
+ import type { ServerListOrdersQueryQuery } from '@generated/graphql'
3
+ import { useRouter } from 'next/router'
4
+
5
+ import MyAccountStatusBadge from 'src/components/account/components/MyAccountStatusBadge'
6
+ import { useFormatPrice } from 'src/components/account/utils/useFormatPrice'
7
+ import { useSession } from 'src/sdk/session'
8
+ import useScreenResize from 'src/sdk/ui/useScreenResize'
9
+
10
+ function formatShippingDate(date: string, locale: string) {
11
+ return new Date(date).toLocaleDateString(locale, {
12
+ year: 'numeric',
13
+ month: '2-digit',
14
+ day: '2-digit',
15
+ })
16
+ }
17
+
18
+ type MyAccountListOrdersTableProps = {
19
+ listOrders: ServerListOrdersQueryQuery['listUserOrders']
20
+ total: number
21
+ perPage: number
22
+ filters: {
23
+ page: number
24
+ status: string[]
25
+ dateInitial: string
26
+ dateFinal: string
27
+ text: string
28
+ clientEmail: string
29
+ }
30
+ }
31
+
32
+ export function Pagination({
33
+ page,
34
+ total,
35
+ perPage,
36
+ }: {
37
+ page: number
38
+ total: number
39
+ perPage: number
40
+ }) {
41
+ const router = useRouter()
42
+ const totalPages = Math.ceil(total / perPage)
43
+ const firstIndexLabel = page === 1 ? 1 : (page - 1) * perPage + 1
44
+ const lastIndexLabel =
45
+ total > firstIndexLabel + perPage - 1
46
+ ? firstIndexLabel + perPage - 1
47
+ : total
48
+
49
+ const handlePageChange = (newPage: number) => {
50
+ const { page, ...rest } = router.query
51
+ const isFirstPage = newPage === 0 || newPage === 1
52
+ router.push({
53
+ pathname: '/account/orders',
54
+ query: {
55
+ ...rest,
56
+ ...(!isFirstPage ? { page: newPage } : {}),
57
+ },
58
+ })
59
+ }
60
+
61
+ return (
62
+ <div data-fs-list-orders-table-pagination>
63
+ <p>{`${firstIndexLabel} — ${lastIndexLabel} of ${total}`}</p>
64
+ <Button
65
+ size="small"
66
+ variant="tertiary"
67
+ disabled={page === 1}
68
+ onClick={() => handlePageChange(page - 1)}
69
+ icon={
70
+ <Icon
71
+ width={16}
72
+ height={16}
73
+ name="CaretLeft"
74
+ aria-label="Previous Page"
75
+ />
76
+ }
77
+ iconPosition="left"
78
+ ></Button>
79
+ <Button
80
+ size="small"
81
+ variant="tertiary"
82
+ disabled={page === totalPages}
83
+ onClick={() => handlePageChange(page + 1)}
84
+ icon={
85
+ <Icon
86
+ width={16}
87
+ height={16}
88
+ name="CaretRight"
89
+ aria-label="Next Page"
90
+ />
91
+ }
92
+ iconPosition="left"
93
+ ></Button>
94
+ </div>
95
+ )
96
+ }
97
+
98
+ export default function MyAccountListOrdersTable({
99
+ listOrders,
100
+ total,
101
+ perPage,
102
+ filters,
103
+ }: MyAccountListOrdersTableProps) {
104
+ const router = useRouter()
105
+ const { isDesktop } = useScreenResize()
106
+ const { locale } = useSession()
107
+ const formatPrice = useFormatPrice()
108
+
109
+ const handleOrderDetail = ({ orderId }: { orderId: string }) => {
110
+ router.push({
111
+ pathname: `/account/orders/${orderId}`,
112
+ })
113
+ }
114
+
115
+ return (
116
+ <>
117
+ <table data-fs-list-orders-table>
118
+ <thead data-fs-list-orders-table-header>
119
+ <tr
120
+ data-fs-list-orders-table-header-row
121
+ data-fs-list-orders-table-row
122
+ >
123
+ <th data-fs-list-orders-table-header-cell>Order</th>
124
+ {isDesktop && (
125
+ <>
126
+ <th data-fs-list-orders-table-header-cell>Ordered by</th>
127
+ <th data-fs-list-orders-table-header-cell>Cost Center</th>
128
+ <th data-fs-list-orders-table-header-cell>Release</th>
129
+ <th data-fs-list-orders-table-header-cell>PO number</th>
130
+ <th data-fs-list-orders-table-header-cell>Delivery by</th>
131
+ </>
132
+ )}
133
+ <th data-fs-list-orders-table-header-cell>
134
+ {isDesktop && <>Status</>}
135
+ </th>
136
+ </tr>
137
+ </thead>
138
+ <tbody data-fs-list-orders-table-body>
139
+ {listOrders.list.map((item) => (
140
+ // biome-ignore lint/a11y/useKeyWithClickEvents: <explanation>
141
+ <tr
142
+ data-fs-list-orders-table-body-row
143
+ data-fs-list-orders-table-row
144
+ key={item.orderId}
145
+ onClick={() => handleOrderDetail({ orderId: item.orderId })}
146
+ role="button"
147
+ >
148
+ <td data-fs-list-orders-table-cell>
149
+ <div data-fs-list-orders-table-product-info>
150
+ <p data-fs-list-orders-table-product-info-order-id>
151
+ {item.orderId || '-'}
152
+ </p>
153
+ <p data-fs-list-orders-table-product-info-order-date>
154
+ Placed on{' '}
155
+ {item.creationDate
156
+ ? formatShippingDate(item.creationDate, locale)
157
+ : '-'}
158
+ </p>
159
+ <p data-fs-list-orders-table-product-info-order-total>
160
+ Total: {formatPrice(item.totalValue, item.currencyCode)}
161
+ </p>
162
+ </div>
163
+ </td>
164
+
165
+ {isDesktop && (
166
+ <>
167
+ <td data-fs-list-orders-table-cell>{item?.clientName}</td>
168
+ <td data-fs-list-orders-table-cell>
169
+ <p>(Cost Center)</p>
170
+ </td>
171
+ <td data-fs-list-orders-table-cell>
172
+ <p>(Release)</p>
173
+ </td>
174
+ <td data-fs-list-orders-table-cell>
175
+ <p>(PO Number)</p>
176
+ </td>
177
+ <td data-fs-list-orders-table-cell>
178
+ {item.ShippingEstimatedDate
179
+ ? formatShippingDate(item.ShippingEstimatedDate, locale)
180
+ : '-'}
181
+ </td>
182
+ </>
183
+ )}
184
+
185
+ <td data-fs-list-orders-table-cell>
186
+ <MyAccountStatusBadge
187
+ status={item.status}
188
+ statusFallback={item.statusDescription}
189
+ />
190
+ {!isDesktop && (
191
+ <p>
192
+ {item.ShippingEstimatedDate
193
+ ? `Delivery by ${formatShippingDate(
194
+ item.ShippingEstimatedDate,
195
+ locale
196
+ )}`
197
+ : ''}
198
+ </p>
199
+ )}
200
+ </td>
201
+ </tr>
202
+ ))}
203
+ </tbody>
204
+ </table>
205
+ {isDesktop && (
206
+ <Pagination page={filters.page} total={total} perPage={perPage} />
207
+ )}
208
+ </>
209
+ )
210
+ }
@@ -0,0 +1 @@
1
+ export { default } from './MyAccountListOrdersTable'
@@ -0,0 +1,153 @@
1
+ [data-fs-list-orders-table] {
2
+ // --------------------------------------------------------
3
+ // Design Tokens
4
+ // --------------------------------------------------------
5
+
6
+ --fs-list-orders-table-font-size : var(--fs-text-size-tiny);
7
+ --fs-list-orders-table-header-padding : var(--fs-spacing-4) var(--fs-spacing-2) var(--fs-spacing-3);
8
+ --fs-list-orders-table-header-font-weight : var(--fs-text-weight-medium);
9
+ --fs-list-orders-table-header-line-height : var(--fs-text-size-1);
10
+ --fs-list-orders-table-header-color : var(--fs-color-neutral-6);
11
+ --fs-list-orders-table-first-child-width : 20%;
12
+ --fs-list-orders-table-first-child-width-mobile : 30%;
13
+ --fs-list-orders-table-last-child-width : 10%;
14
+ --fs-list-orders-table-gap : 1.2rem;
15
+ --fs-list-orders-table-product-info-text-size : var(--fs-text-size-base);
16
+ --fs-list-orders-table-product-info-font-weight : var(--fs-text-weight-semibold);
17
+ --fs-list-orders-table-product-info-margin-top : var(--fs-spacing-1);
18
+ --fs-list-orders-table-product-info-line-height : var(--fs-text-size-1);
19
+ --fs-list-orders-table-cell-padding : var(--fs-spacing-4) var(--fs-spacing-2);
20
+ --fs-list-orders-table-cell-padding-mobile : var(--fs-spacing-3) var(--fs-spacing-1);
21
+ --fs-list-orders-table-cell-color : var(--fs-color-neutral-6);
22
+ --fs-list-orders-table-row-border-bottom : var(--fs-border-width) solid var(--fs-color-neutral-3);
23
+ --fs-list-orders-table-row-hover-bg : color-mix(in srgb, var(--fs-color-accent-0) 30%, transparent);
24
+
25
+ // --------------------------------------------------------
26
+ // Structural Styles
27
+ // --------------------------------------------------------
28
+
29
+ width: 100%;
30
+ margin: 0 auto;
31
+ font-size: var(--fs-list-orders-table-font-size);
32
+ vertical-align: middle;
33
+ border-collapse: collapse;
34
+ border: none;
35
+
36
+ [data-fs-list-orders-table-header] [data-fs-list-orders-table-header-cell] {
37
+ @include media("<notebook") {
38
+ padding: 0;
39
+ }
40
+
41
+ padding: var(--fs-list-orders-table-header-padding);
42
+ font-weight: var(--fs-list-orders-table-header-font-weight);
43
+ line-height: var(--fs-list-orders-table-header-line-height);
44
+ color: var(--fs-list-orders-table-header-color);
45
+ cursor: default;
46
+ }
47
+
48
+ [data-fs-list-orders-table-header-cell]:first-child, [data-fs-list-orders-table-cell]:first-child {
49
+ width: var(--fs-list-orders-table-first-child-width);
50
+
51
+ @include media("<notebook") {
52
+ display: flex;
53
+ align-items: center;
54
+ width: var(--fs-list-orders-table-first-child-width-mobile);
55
+ }
56
+ }
57
+
58
+ [data-fs-list-orders-table-header-cell]:last-child,[data-fs-list-orders-table-cell]:last-child {
59
+ width: var(--fs-list-orders-table-last-child-width);
60
+
61
+ @include media("<notebook") {
62
+ display: flex;
63
+ flex-direction: column;
64
+ gap: var(--fs-list-orders-table-gap);
65
+ align-items: flex-end;
66
+ justify-content: flex-end;
67
+ width: auto;
68
+ }
69
+ }
70
+
71
+ [data-fs-list-orders-table-product-info-order-id], [data-fs-list-orders-table-product-info-order-date], [data-fs-list-orders-table-product-info-order-total] {
72
+ overflow: hidden;
73
+ text-overflow: ellipsis;
74
+ white-space: nowrap;
75
+ }
76
+
77
+ [data-fs-list-orders-table-product-info-order-id] {
78
+ font-size: var(--fs-list-orders-table-product-info-text-size);
79
+ font-weight: var(--fs-list-orders-table-product-info-font-weight);
80
+ vertical-align: middle;
81
+ }
82
+
83
+ [data-fs-list-orders-table-product-info-order-date] {
84
+ margin-top: var(--fs-list-orders-table-product-info-margin-top);
85
+ line-height: var(--fs-list-orders-table-product-info-line-height);
86
+ }
87
+
88
+ [data-fs-list-orders-table-header-cell], [data-fs-list-orders-table-cell] {
89
+ padding: var(--fs-list-orders-table-cell-padding);
90
+ text-align: left;
91
+ border: none;
92
+
93
+ @include media("<notebook") {
94
+ padding: var(--fs-list-orders-table-cell-padding-mobile);
95
+ }
96
+ }
97
+
98
+ [data-fs-list-orders-table-cell]:not(:first-child):not(:last-child) {
99
+ color: var(--fs-list-orders-table-cell-color);
100
+ }
101
+
102
+ [data-fs-list-orders-table-row] {
103
+ cursor: pointer;
104
+ border-bottom: var(--fs-list-orders-table-row-border-bottom);
105
+ transition: background-color 0.5s ease;
106
+
107
+ @include media("<notebook") {
108
+ display: flex;
109
+ justify-content: space-between;
110
+
111
+ &:last-child {
112
+ border-bottom: none;
113
+ }
114
+ }
115
+ }
116
+
117
+ [data-fs-list-orders-table-body-row]:hover, [data-fs-list-orders-table-body-row]:focus {
118
+ background-color: var(--fs-list-orders-table-row-hover-bg);
119
+ }
120
+ }
121
+
122
+ [data-fs-list-orders-table-pagination] {
123
+ --fs-list-orders-table-pagination-text-size : .8rem;
124
+ --fs-list-orders-table-pagination-box-shadow : 0 -4px 8px rgb(0 0 0 / 5%);
125
+ --fs-list-orders-table-pagination-bkg-color : var(--fs-body-bkg);
126
+ --fs-list-orders-table-pagination-padding : var(--fs-spacing-0) var(--fs-spacing-2) var(--fs-spacing-0) var(--fs-spacing-0);
127
+
128
+ @include media("<notebook") {
129
+ position: sticky;
130
+ bottom: 0;
131
+ left: 0;
132
+ width: 100%;
133
+ padding: var(--fs-list-orders-table-pagination-padding);
134
+ background-color: var(--fs-list-orders-table-pagination-bkg-color);
135
+ box-shadow: var(--fs-list-orders-table-pagination-box-shadow);
136
+ }
137
+
138
+ display: flex;
139
+ align-items: center;
140
+ justify-content: flex-end;
141
+ font-size: var(--fs-list-orders-table-pagination-text-size);
142
+
143
+ [data-fs-button] {
144
+ [data-fs-button-wrapper] {
145
+ background-color: transparent;
146
+ transition: unset;
147
+
148
+ &:hover {
149
+ background-color: transparent;
150
+ }
151
+ }
152
+ }
153
+ }
@@ -0,0 +1,119 @@
1
+ import { Button } from '@faststore/ui'
2
+ import { useSession } from 'src/sdk/session'
3
+ import { FastStoreOrderStatusWithLabels } from 'src/utils/userOrderStatus'
4
+
5
+ type MyAccountSelectedTagsProps = {
6
+ filters: {
7
+ status?: string[]
8
+ dateInitial?: string
9
+ dateFinal?: string
10
+ }
11
+ onClearAll: () => void
12
+ onRemoveFilter: (
13
+ key: 'status' | 'dateInitial' | 'dateFinal',
14
+ value: string
15
+ ) => void
16
+ }
17
+
18
+ function formatShippingDate(date: string, locale: string) {
19
+ return new Date(date).toLocaleDateString(locale, {
20
+ year: 'numeric',
21
+ month: '2-digit',
22
+ day: '2-digit',
23
+ })
24
+ }
25
+
26
+ function Tags({
27
+ filters,
28
+ onRemoveFilter,
29
+ }: Pick<MyAccountSelectedTagsProps, 'filters' | 'onRemoveFilter'>) {
30
+ const { locale } = useSession()
31
+ const { dateInitial, dateFinal, status } = filters
32
+ const formattedDateInitial = dateInitial
33
+ ? formatShippingDate(dateInitial, locale)
34
+ : ''
35
+ const formattedDateFinal = dateFinal
36
+ ? formatShippingDate(dateFinal, locale)
37
+ : ''
38
+
39
+ const dateTag = (dateInitial || dateFinal) && (
40
+ <div key="date-range" data-fs-list-orders-selected-tag>
41
+ <span data-fs-list-orders-selected-tag-label>
42
+ {(dateInitial && dateFinal
43
+ ? `${formattedDateInitial} to ${formattedDateFinal}`
44
+ : formattedDateInitial
45
+ ? `from ${formattedDateInitial}`
46
+ : `to ${formattedDateFinal}`) || ''}
47
+ </span>
48
+ <button
49
+ data-fs-list-orders-selected-tag-clear
50
+ onClick={() => {
51
+ onRemoveFilter('dateInitial', dateInitial)
52
+ // dateFinal is not needed as the date range is a single tag
53
+ }}
54
+ >
55
+ &times;
56
+ </button>
57
+ </div>
58
+ )
59
+
60
+ const statusTags = (status || []).map((value) => (
61
+ <div key={`status-${value}`} data-fs-list-orders-selected-tag>
62
+ <span>
63
+ {FastStoreOrderStatusWithLabels[
64
+ value.toLowerCase() as keyof typeof FastStoreOrderStatusWithLabels
65
+ ] || value}
66
+ </span>
67
+ <button
68
+ data-fs-list-orders-selected-tag-clear
69
+ onClick={() => onRemoveFilter('status', value)}
70
+ >
71
+ &times;
72
+ </button>
73
+ </div>
74
+ ))
75
+
76
+ return (
77
+ <>
78
+ {dateTag}
79
+ {statusTags}
80
+ </>
81
+ )
82
+ }
83
+
84
+ function MyAccountSelectedTags({
85
+ filters,
86
+ onClearAll,
87
+ onRemoveFilter,
88
+ }: MyAccountSelectedTagsProps) {
89
+ const hasFilters = Object.entries(filters).some(
90
+ ([key, values]) =>
91
+ (key === 'status' || key === 'dateInitial' || key === 'dateFinal') &&
92
+ values &&
93
+ (Array.isArray(values) ? values.length > 0 : true)
94
+ )
95
+
96
+ return (
97
+ <>
98
+ {hasFilters && (
99
+ <div data-fs-list-orders-selected-tags>
100
+ <div data-fs-list-orders-selected-tags-pills>
101
+ <Tags filters={filters} onRemoveFilter={onRemoveFilter} />
102
+ </div>
103
+ <div data-fs-list-orders-selected-tags-clear-all>
104
+ <Button
105
+ variant="tertiary"
106
+ size="small"
107
+ data-fs-list-orders-selected-tags-clear-all-button
108
+ onClick={onClearAll}
109
+ >
110
+ Clear All
111
+ </Button>
112
+ </div>
113
+ </div>
114
+ )}
115
+ </>
116
+ )
117
+ }
118
+
119
+ export default MyAccountSelectedTags
@@ -0,0 +1 @@
1
+ export { default } from './MyAccountSelectedTags'
@@ -0,0 +1,69 @@
1
+ [data-fs-list-orders-selected-tags] {
2
+ // --------------------------------------------------------
3
+ // Design Tokens
4
+ // --------------------------------------------------------
5
+
6
+ --fs-list-orders-selected-tags-gap : var(--fs-spacing-0);
7
+ --fs-list-orders-selected-tags-min-height : 3rem;
8
+ --fs-list-orders-selected-tags-text-size : var(--fs-text-size-1);
9
+
10
+ --fs-list-orders-selected-tags-height : 1.6rem;
11
+ --fs-list-orders-selected-tags-padding : var(--fs-spacing-0) 0 var(--fs-spacing-0) var(--fs-spacing-1);
12
+ --fs-list-orders-selected-tags-color : var(--fs-color-text);
13
+ --fs-list-orders-selected-tags-bkg-color : #e0e0e0;
14
+ --fs-list-orders-selected-tags-border : 1px none transparent;
15
+ --fs-list-orders-selected-tags-border-radius : var(--fs-border-radius-pill);
16
+ --fs-list-orders-selected-tags-label-padding : var(--fs-spacing-0);
17
+
18
+ --fs-list-orders-selected-tags-clear-margin-bottom : 2px;
19
+ --fs-list-orders-selected-tags-clear-text-size : 1.2rem;
20
+
21
+ --fs-list-orders-selected-tags-clear-all-min-width : 102px;
22
+
23
+ // --------------------------------------------------------
24
+ // Structural Styles
25
+ // --------------------------------------------------------
26
+
27
+ display: flex;
28
+ gap: var(--fs-list-orders-selected-tags-gap);
29
+ align-items: baseline;
30
+ min-height: var(--fs-list-orders-selected-tags-min-height);
31
+ font-size: var(--fs-list-orders-selected-tags-text-size);
32
+
33
+ [data-fs-list-orders-selected-tags-pills] {
34
+ display: flex;
35
+ flex-wrap: wrap;
36
+ gap: var(--fs-list-orders-selected-tags-gap);
37
+ }
38
+
39
+ [data-fs-list-orders-selected-tag] {
40
+ display: flex;
41
+ align-items: center;
42
+ justify-content: center;
43
+ height: var(--fs-list-orders-selected-tags-height);
44
+ padding: var(--fs-list-orders-selected-tags-padding);
45
+ color: var(--fs-list-orders-selected-tags-color);
46
+ background-color: var(--fs-list-orders-selected-tags-bkg-color);
47
+ border: var(--fs-list-orders-selected-tags-border);
48
+ border-radius: var(--fs-list-orders-selected-tags-border-radius);
49
+ }
50
+
51
+ [data-fs-list-orders-selected-tag-label] {
52
+ padding: var(--fs-list-orders-selected-tags-label-padding);
53
+ }
54
+
55
+ [data-fs-list-orders-selected-tag-clear] {
56
+ margin-bottom: var(--fs-list-orders-selected-tags-clear-margin-bottom);
57
+ font-size: var(--fs-list-orders-selected-tags-clear-text-size);
58
+ color: var(--fs-list-orders-selected-tags-color);
59
+ cursor: pointer;
60
+ }
61
+
62
+ [data-fs-list-orders-selected-tags-clear-all] {
63
+ min-width: var(--fs-list-orders-selected-tags-clear-all-min-width);
64
+ }
65
+
66
+ [data-fs-list-orders-selected-tags-clear-all-button] {
67
+ --fs-button-height: 1.5rem;
68
+ }
69
+ }
@@ -0,0 +1 @@
1
+ export { default as MyAccountListOrders } from './MyAccountListOrders'