@faststore/core 3.99.0 → 4.0.0-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-generate.log +29 -0
- package/.turbo/turbo-test.log +47 -16
- package/@generated/cached-operations.json +24 -0
- package/@generated/gql.ts +134 -210
- package/@generated/graphql.ts +1628 -3037
- package/@generated/index.ts +1 -1
- package/@generated/persisted-documents.json +1 -1
- package/@generated/schema.graphql +1854 -1743
- package/CHANGELOG.md +12 -2
- package/README.md +2 -1
- package/api/index.ts +6 -7
- package/cms/faststore/base.jsonc +1 -1
- package/cms/faststore/components/cms_component__alert.jsonc +5 -1
- package/cms/faststore/components/cms_component__bannernewsletter.jsonc +5 -1
- package/cms/faststore/components/cms_component__bannertext.jsonc +5 -1
- package/cms/faststore/components/cms_component__breadcrumb.jsonc +16 -4
- package/cms/faststore/components/cms_component__cartsidebar.jsonc +21 -1
- package/cms/faststore/components/cms_component__children.jsonc +5 -1
- package/cms/faststore/components/cms_component__crosssellingshelf.jsonc +5 -1
- package/cms/faststore/components/cms_component__emptystate.jsonc +8 -3
- package/cms/faststore/components/cms_component__footer.jsonc +9 -3
- package/cms/faststore/components/cms_component__hero.jsonc +5 -1
- package/cms/faststore/components/cms_component__incentives.jsonc +5 -1
- package/cms/faststore/components/cms_component__navbar.jsonc +139 -1
- package/cms/faststore/components/cms_component__newsletter.jsonc +5 -1
- package/cms/faststore/components/cms_component__productdetails.jsonc +33 -1
- package/cms/faststore/components/cms_component__productgallery.jsonc +113 -15
- package/cms/faststore/components/cms_component__productshelf.jsonc +5 -1
- package/cms/faststore/components/cms_component__producttiles.jsonc +5 -1
- package/cms/faststore/components/cms_component__regionbar.jsonc +5 -1
- package/cms/faststore/components/cms_component__regionmodal.jsonc +5 -1
- package/cms/faststore/components/cms_component__regionpopover.jsonc +5 -1
- package/cms/faststore/components/cms_component__scrolltotopbutton.jsonc +29 -0
- package/cms/faststore/components/cms_component__search.jsonc +5 -1
- package/cms/faststore/content-types.json +115 -0
- package/cms/faststore/pages/cms_content_type__globalsections.jsonc +52 -0
- package/cms/faststore/pages/cms_content_type__home.jsonc +6 -0
- package/cms/faststore/pages/cms_content_type__landingpage.jsonc +8 -1
- package/cms/faststore/pages/cms_content_type__pdp.jsonc +6 -0
- package/cms/faststore/pages/cms_content_type__plp.jsonc +17 -0
- package/cms/faststore/pages/cms_content_type__search.jsonc +17 -0
- package/cms/faststore/schema.json +547 -43
- package/cms/faststore/sections.json +330 -21
- package/discovery.config.default.js +49 -3
- package/next-env.d.ts +2 -1
- package/next.config.js +48 -26
- package/package.json +47 -60
- package/public/icons.svg +5 -1
- package/scripts/i18n.js +76 -0
- package/src/components/account/MyAccountDrawer/OrganizationDrawer/OrganizationDrawer.tsx +2 -1
- package/src/components/account/MyAccountDrawer/OrganizationDrawer/section.module.scss +25 -24
- package/src/components/account/MyAccountDrawer/ProfileSummary/profile-summary.scss +8 -6
- package/src/components/account/MyAccountLayout/styles.scss +16 -12
- package/src/components/account/MyAccountMenu/styles.scss +21 -22
- package/src/components/account/MyAccountUserDetails/styles.module.scss +4 -2
- package/src/components/account/components/MyAccountAccordion/styles.scss +4 -2
- package/src/components/account/components/MyAccountHeader/styles.scss +3 -1
- package/src/components/account/components/MyAccountTable/styles.scss +6 -4
- package/src/components/account/orders/MyAccountListOrders/MyAccountFilterSlider/section.module.scss +21 -19
- package/src/components/account/orders/MyAccountListOrders/MyAccountListOrdersTable/MyAccountListOrdersTable.tsx +3 -1
- package/src/components/account/orders/MyAccountListOrders/MyAccountListOrdersTable/styles.scss +5 -3
- package/src/components/account/orders/MyAccountListOrders/styles.module.scss +25 -22
- package/src/components/account/orders/MyAccountOrderDetails/MyAccountBudgetsCard/styles.scss +7 -5
- package/src/components/account/orders/MyAccountOrderDetails/MyAccountDeliveryOptionAccordion/styles.scss +7 -5
- package/src/components/account/orders/MyAccountOrderDetails/MyAccountMoreInformationCard/styles.scss +3 -1
- package/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderActionModal/styles.module.scss +8 -6
- package/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderActions/styles.scss +3 -1
- package/src/components/account/orders/MyAccountOrderDetails/MyAccountStatusCard/styles.scss +8 -6
- package/src/components/account/orders/MyAccountOrderDetails/section.module.scss +36 -43
- package/src/components/account/profile/profile.module.scss +3 -1
- package/src/components/account/section.module.scss +3 -1
- package/src/components/account/security/styles.module.scss +14 -8
- package/src/components/cart/CartSidebar/CartSidebar.tsx +10 -1
- package/src/components/cart/CartSidebar/section.module.scss +19 -17
- package/src/components/cart/EmptyCart/EmptyCart.tsx +12 -4
- package/src/components/cms/GlobalSections.tsx +12 -12
- package/src/components/cms/RenderSections.tsx +10 -2
- package/src/components/cms/plp/Components.ts +9 -0
- package/src/components/common/Alert/section.module.scss +10 -5
- package/src/components/common/PreviewTag/section.module.scss +48 -40
- package/src/components/common/Toast/section.module.scss +4 -2
- package/src/components/localization/LocalizationSelector/LocalizationSelector.tsx +320 -0
- package/src/components/localization/LocalizationSelector/index.ts +1 -0
- package/src/components/localization/LocalizationSelector/section.module.scss +18 -0
- package/src/components/localization/index.ts +1 -0
- package/src/components/navigation/Navbar/Navbar.tsx +49 -1
- package/src/components/navigation/NavbarSlider/NavbarSlider.tsx +19 -1
- package/src/components/navigation/NavbarSlider/section.module.scss +12 -10
- package/src/components/product/OutOfStock/OutOfStock.tsx +6 -1
- package/src/components/product/ProductCard/ProductCard.tsx +1 -1
- package/src/components/region/RegionModal/RegionModal.tsx +4 -1
- package/src/components/region/RegionModal/section.module.scss +10 -8
- package/src/components/region/RegionPopover/RegionPopover.tsx +6 -5
- package/src/components/region/RegionPopover/section.module.scss +9 -7
- package/src/components/region/RegionSlider/RegionSlider.tsx +5 -2
- package/src/components/region/RegionSlider/section.module.scss +16 -13
- package/src/components/search/Filter/FilterDeliveryMethodFacet.tsx +5 -5
- package/src/components/search/Filter/FilterDesktop.tsx +13 -4
- package/src/components/search/Filter/FilterSlider.tsx +18 -6
- package/src/components/search/Filter/section.module.scss +21 -19
- package/src/components/search/SearchDropdown/SearchDropdown.tsx +9 -7
- package/src/components/search/SearchHistory/SearchHistory.tsx +7 -2
- package/src/components/search/SearchInput/SearchInput.tsx +21 -8
- package/src/components/search/SearchProductItem/SearchProductItem.tsx +10 -3
- package/src/components/search/SearchTop/SearchTop.tsx +30 -24
- package/src/components/search/Sort/Sort.tsx +17 -19
- package/src/components/sections/Alert/Alert.tsx +6 -1
- package/src/components/sections/BannerNewsletter/section.module.scss +6 -4
- package/src/components/sections/BannerText/section.module.scss +5 -3
- package/src/components/sections/Breadcrumb/Breadcrumb.tsx +6 -2
- package/src/components/sections/Breadcrumb/section.module.scss +7 -5
- package/src/components/sections/EmptyState/section.module.scss +5 -3
- package/src/components/sections/Footer/Footer.tsx +1 -5
- package/src/components/sections/Footer/section.module.scss +10 -8
- package/src/components/sections/Hero/Hero.tsx +3 -1
- package/src/components/sections/Hero/section.module.scss +6 -4
- package/src/components/sections/Incentives/section.module.scss +5 -3
- package/src/components/sections/Navbar/Navbar.tsx +45 -0
- package/src/components/sections/Navbar/section.module.scss +34 -33
- package/src/components/sections/Newsletter/section.module.scss +10 -8
- package/src/components/sections/ProductDetails/ProductDetails.tsx +23 -1
- package/src/components/sections/ProductDetails/section.module.scss +32 -30
- package/src/components/sections/ProductGallery/EmptyGallery.tsx +13 -16
- package/src/components/sections/ProductGallery/section.module.scss +42 -39
- package/src/components/sections/ProductShelf/section.module.scss +22 -17
- package/src/components/sections/ProductTiles/section.module.scss +15 -13
- package/src/components/sections/RegionBar/section.module.scss +5 -3
- package/src/components/sections/ScrollToTopButton/ScrollToTopButton.tsx +4 -3
- package/src/components/sections/ScrollToTopButton/section.module.scss +4 -2
- package/src/components/templates/LandingPage/LandingPage.tsx +22 -16
- package/src/components/templates/ProductListingPage/ProductListing.tsx +1 -13
- package/src/components/templates/ProductListingPage/ProductListingPage.tsx +8 -3
- package/src/components/ui/Breadcrumb/Breadcrumb.tsx +14 -11
- package/src/components/ui/Button/ButtonSignIn/ButtonSignIn.tsx +2 -1
- package/src/components/ui/Button/ButtonSignIn/ButtonSignInFallback/ButtonSignInFallback.tsx +3 -1
- package/src/components/ui/Link/Link.tsx +19 -2
- package/src/components/ui/LinkButton/LinkButton.tsx +28 -0
- package/src/components/ui/LinkButton/index.ts +2 -0
- package/src/components/ui/LocalizationButton/LocalizationButton.tsx +124 -0
- package/src/components/ui/LocalizationButton/index.ts +1 -0
- package/src/components/ui/PickupPoints/PickupPointCards.tsx +2 -4
- package/src/components/ui/ProductComparison/ProductComparisonSidebar.tsx +34 -17
- package/src/components/ui/ProductDescription/ProductDescription.tsx +8 -3
- package/src/components/ui/ProductDetails/AddToCartLoadingSkeleton.tsx +6 -2
- package/src/components/ui/ProductDetails/ProductDetailsSettings.tsx +17 -5
- package/src/components/ui/ProductGallery/ProductGallery.tsx +7 -3
- package/src/components/ui/ProductGallery/ProductGalleryPage.tsx +1 -3
- package/src/components/ui/ShippingSimulation/ShippingSimulation.tsx +6 -1
- package/src/customizations/src/styles/custom-mixins.scss +0 -2
- package/src/experimental/index.ts +26 -0
- package/src/experimental/myAccountServerSideProps.ts +11 -2
- package/src/experimental/searchServerSideFunctions/getServerSideProps.ts +13 -7
- package/src/experimental/searchServerSideFunctions/getStaticProps.ts +5 -4
- package/src/instrumentation.ts +20 -6
- package/src/pages/404.tsx +5 -4
- package/src/pages/500.tsx +5 -4
- package/src/pages/[...slug].tsx +7 -4
- package/src/pages/[slug]/p.tsx +26 -8
- package/src/pages/_app.tsx +9 -1
- package/src/pages/api/fs/logout.ts +3 -2
- package/src/pages/api/graphql.ts +7 -23
- package/src/pages/api/preview.ts +21 -8
- package/src/pages/checkout.tsx +15 -5
- package/src/pages/index.tsx +18 -9
- package/src/pages/login.tsx +5 -4
- package/src/pages/pvt/account/403.tsx +11 -2
- package/src/pages/pvt/account/404.tsx +13 -3
- package/src/pages/pvt/account/index.tsx +6 -4
- package/src/pages/pvt/account/orders/[id].tsx +11 -3
- package/src/pages/pvt/account/orders/index.tsx +11 -3
- package/src/pages/pvt/account/profile.tsx +11 -2
- package/src/pages/pvt/account/security.tsx +11 -2
- package/src/pages/pvt/account/user-details.tsx +11 -2
- package/src/pages/s.tsx +26 -6
- package/src/proxy.ts +154 -0
- package/src/sdk/account/refreshToken.ts +4 -4
- package/src/sdk/account/useReorder.ts +8 -2
- package/src/sdk/analytics/platform/vtex/search.ts +3 -2
- package/src/sdk/cart/redirectToCheckout.ts +14 -8
- package/src/sdk/cart/useCheckoutButton.ts +7 -1
- package/src/sdk/deliveryPromise/useDeliveryPromise.ts +10 -18
- package/src/sdk/graphql/request.ts +102 -50
- package/src/sdk/localization/bindingSelector.ts +91 -0
- package/src/sdk/localization/index.ts +4 -0
- package/src/sdk/localization/match-url.ts +64 -0
- package/src/sdk/localization/types.ts +31 -0
- package/src/sdk/localization/useBindingSelector.ts +183 -0
- package/src/sdk/localization/useLocaleValidation.ts +49 -0
- package/src/sdk/localization/useLocalizationConfig.tsx +160 -0
- package/src/sdk/offer/fetcher.ts +3 -2
- package/src/sdk/product/useLocalizedVariables.ts +1 -1
- package/src/sdk/product/usePageProductsQuery.ts +2 -2
- package/src/sdk/product/useProductGalleryQuery.ts +1 -2
- package/src/sdk/product/useProductLink.ts +3 -1
- package/src/sdk/search/formatSearchPath.ts +28 -3
- package/src/sdk/search/state.ts +22 -13
- package/src/sdk/search/useSearchBase.ts +10 -0
- package/src/sdk/search/useSearchHistory.ts +41 -7
- package/src/sdk/session/index.ts +21 -3
- package/src/sdk/shipping/useShippingSimulation.ts +10 -2
- package/src/sdk/tsconfig.json +6 -0
- package/src/sdk/ui/useLink.ts +48 -0
- package/src/server/cms/global.ts +40 -0
- package/src/server/cms/index.ts +18 -10
- package/src/server/cms/pdp.ts +1 -0
- package/src/server/cms/plp.ts +3 -0
- package/src/server/content/service.ts +36 -24
- package/src/server/content/types.ts +10 -3
- package/src/server/index.ts +27 -20
- package/src/server/options.ts +27 -2
- package/src/styles/global/index.scss +10 -7
- package/src/styles/main.scss +3 -3
- package/src/typings/locales.ts +41 -0
- package/src/utils/fetchProductGallerySSR.ts +3 -1
- package/src/utils/getBaseDomain.ts +2 -1
- package/src/utils/getRequestHostname.ts +26 -0
- package/src/utils/globalSettings.ts +11 -0
- package/src/utils/localization/bindingPaths.ts +337 -0
- package/src/utils/localization/validateLocaleForHostname.ts +69 -0
- package/src/utils/localization/withLocaleValidation.ts +36 -0
- package/src/utils/utilities.ts +22 -0
- package/test/pages/api/preview.test.ts +93 -0
- package/test/sdk/localization/bindingSelector.test.ts +246 -0
- package/test/sdk/localization/store-url.browser.test.ts +140 -0
- package/test/sdk/localization/store-url.test.ts +96 -0
- package/test/sdk/localization/useBindingSelector.test.tsx +219 -0
- package/test/sdk/search/useSearchHistory.test.ts +222 -0
- package/test/server/cms/index.test.ts +3 -4
- package/test/server/content/service.test.ts +98 -0
- package/test/server/index.test.ts +10 -22
- package/test/utils/cookieCacheBusting.test.ts +32 -24
- package/test/utils/getRequestHostname.test.ts +71 -0
- package/test/utils/localization/bindingPaths.test.ts +706 -0
- package/test/utils/match-url.test.ts +388 -0
- package/tsconfig.json +11 -3
- package/vitest.config.ts +61 -0
- package/.next/BUILD_ID +0 -1
- package/.next/build-manifest.json +0 -197
- package/.next/cache/.tsbuildinfo +0 -1
- package/.next/cache/config.json +0 -7
- package/.next/cache/webpack/client-production/0.pack +0 -0
- package/.next/cache/webpack/client-production/index.pack +0 -0
- package/.next/cache/webpack/edge-server-production/0.pack +0 -0
- package/.next/cache/webpack/edge-server-production/index.pack +0 -0
- package/.next/cache/webpack/server-production/0.pack +0 -0
- package/.next/cache/webpack/server-production/index.pack +0 -0
- package/.next/export-marker.json +0 -1
- package/.next/images-manifest.json +0 -1
- package/.next/next-minimal-server.js.nft.json +0 -1
- package/.next/next-server.js.nft.json +0 -1
- package/.next/package.json +0 -1
- package/.next/prerender-manifest.js +0 -1
- package/.next/prerender-manifest.json +0 -1
- package/.next/react-loadable-manifest.json +0 -478
- package/.next/required-server-files.json +0 -1
- package/.next/routes-manifest.json +0 -1
- package/.next/server/chunks/1280.js +0 -1
- package/.next/server/chunks/1454.js +0 -1
- package/.next/server/chunks/1554.js +0 -1
- package/.next/server/chunks/1607.js +0 -1
- package/.next/server/chunks/1780.js +0 -1
- package/.next/server/chunks/1917.js +0 -1
- package/.next/server/chunks/1972.js +0 -1
- package/.next/server/chunks/2230.js +0 -1
- package/.next/server/chunks/2249.js +0 -1
- package/.next/server/chunks/2430.js +0 -1
- package/.next/server/chunks/2445.js +0 -12
- package/.next/server/chunks/2570.js +0 -1
- package/.next/server/chunks/2792.js +0 -1
- package/.next/server/chunks/2903.js +0 -1
- package/.next/server/chunks/294.js +0 -1
- package/.next/server/chunks/2955.js +0 -1
- package/.next/server/chunks/3006.js +0 -1
- package/.next/server/chunks/3029.js +0 -1
- package/.next/server/chunks/3060.js +0 -1
- package/.next/server/chunks/3408.js +0 -1
- package/.next/server/chunks/3483.js +0 -1
- package/.next/server/chunks/3683.js +0 -1
- package/.next/server/chunks/3836.js +0 -1
- package/.next/server/chunks/3890.js +0 -494
- package/.next/server/chunks/3922.js +0 -1
- package/.next/server/chunks/3945.js +0 -1
- package/.next/server/chunks/3951.js +0 -7
- package/.next/server/chunks/416.js +0 -1
- package/.next/server/chunks/4194.js +0 -1
- package/.next/server/chunks/4365.js +0 -1
- package/.next/server/chunks/4451.js +0 -1
- package/.next/server/chunks/4803.js +0 -1
- package/.next/server/chunks/4913.js +0 -13
- package/.next/server/chunks/5402.js +0 -1
- package/.next/server/chunks/5723.js +0 -13
- package/.next/server/chunks/5796.js +0 -1
- package/.next/server/chunks/6393.js +0 -1
- package/.next/server/chunks/6457.js +0 -6
- package/.next/server/chunks/6698.js +0 -1
- package/.next/server/chunks/6804.js +0 -6
- package/.next/server/chunks/6886.js +0 -1
- package/.next/server/chunks/7098.js +0 -9
- package/.next/server/chunks/7169.js +0 -1
- package/.next/server/chunks/7228.js +0 -1
- package/.next/server/chunks/7275.js +0 -1
- package/.next/server/chunks/7371.js +0 -1
- package/.next/server/chunks/7692.js +0 -1
- package/.next/server/chunks/7799.js +0 -1
- package/.next/server/chunks/8068.js +0 -1
- package/.next/server/chunks/83.js +0 -1
- package/.next/server/chunks/831.js +0 -1
- package/.next/server/chunks/8563.js +0 -1
- package/.next/server/chunks/8569.js +0 -1
- package/.next/server/chunks/8687.js +0 -1
- package/.next/server/chunks/870.js +0 -1
- package/.next/server/chunks/8737.js +0 -1
- package/.next/server/chunks/8741.js +0 -1
- package/.next/server/chunks/9088.js +0 -1
- package/.next/server/chunks/9117.js +0 -1
- package/.next/server/chunks/9237.js +0 -1
- package/.next/server/chunks/948.js +0 -3
- package/.next/server/chunks/9563.js +0 -3
- package/.next/server/chunks/9570.js +0 -1
- package/.next/server/chunks/9740.js +0 -1
- package/.next/server/chunks/9853.js +0 -1
- package/.next/server/chunks/9984.js +0 -1
- package/.next/server/chunks/9985.js +0 -1
- package/.next/server/chunks/9990.js +0 -1
- package/.next/server/chunks/ButtonSignIn.js +0 -1
- package/.next/server/chunks/Dropdown.js +0 -1
- package/.next/server/chunks/DropdownButton.js +0 -1
- package/.next/server/chunks/DropdownItem.js +0 -1
- package/.next/server/chunks/DropdownMenu.js +0 -1
- package/.next/server/chunks/FilterSkeleton.js +0 -1
- package/.next/server/chunks/ScrollToTopButton.js +0 -1
- package/.next/server/chunks/UIBannerText.js +0 -1
- package/.next/server/chunks/UISKUMatrixSidebar.js +0 -1
- package/.next/server/chunks/font-manifest.json +0 -1
- package/.next/server/edge-instrumentation.js +0 -2
- package/.next/server/edge-instrumentation.js.map +0 -1
- package/.next/server/edge-runtime-webpack.js +0 -157
- package/.next/server/edge-runtime-webpack.js.map +0 -1
- package/.next/server/font-manifest.json +0 -1
- package/.next/server/functions-config-manifest.json +0 -1
- package/.next/server/instrumentation.js +0 -1
- package/.next/server/instrumentation.js.nft.json +0 -1
- package/.next/server/middleware-build-manifest.js +0 -1
- package/.next/server/middleware-manifest.json +0 -6
- package/.next/server/middleware-react-loadable-manifest.js +0 -1
- package/.next/server/next-font-manifest.js +0 -1
- package/.next/server/next-font-manifest.json +0 -1
- package/.next/server/pages/404.js +0 -1
- package/.next/server/pages/404.js.nft.json +0 -1
- package/.next/server/pages/500.js +0 -1
- package/.next/server/pages/500.js.nft.json +0 -1
- package/.next/server/pages/[...slug].js +0 -1
- package/.next/server/pages/[...slug].js.nft.json +0 -1
- package/.next/server/pages/[slug]/p.js +0 -1
- package/.next/server/pages/[slug]/p.js.nft.json +0 -1
- package/.next/server/pages/_app.js +0 -1
- package/.next/server/pages/_app.js.nft.json +0 -1
- package/.next/server/pages/_document.js +0 -1
- package/.next/server/pages/_document.js.nft.json +0 -1
- package/.next/server/pages/_error.js +0 -1
- package/.next/server/pages/_error.js.nft.json +0 -1
- package/.next/server/pages/api/fs/logout.js +0 -1
- package/.next/server/pages/api/fs/logout.js.nft.json +0 -1
- package/.next/server/pages/api/graphql.js +0 -3
- package/.next/server/pages/api/graphql.js.nft.json +0 -1
- package/.next/server/pages/api/health/live.js +0 -1
- package/.next/server/pages/api/health/live.js.nft.json +0 -1
- package/.next/server/pages/api/health/ready.js +0 -1
- package/.next/server/pages/api/health/ready.js.nft.json +0 -1
- package/.next/server/pages/api/preview.js +0 -1
- package/.next/server/pages/api/preview.js.nft.json +0 -1
- package/.next/server/pages/checkout.js +0 -1
- package/.next/server/pages/checkout.js.nft.json +0 -1
- package/.next/server/pages/en-US/404.html +0 -42
- package/.next/server/pages/en-US/404.json +0 -1
- package/.next/server/pages/en-US/500.html +0 -42
- package/.next/server/pages/en-US/500.json +0 -1
- package/.next/server/pages/en-US/checkout.html +0 -42
- package/.next/server/pages/en-US/checkout.json +0 -1
- package/.next/server/pages/en-US/login.html +0 -42
- package/.next/server/pages/en-US/login.json +0 -1
- package/.next/server/pages/en-US/s.html +0 -42
- package/.next/server/pages/en-US/s.json +0 -1
- package/.next/server/pages/en-US.html +0 -42
- package/.next/server/pages/en-US.json +0 -1
- package/.next/server/pages/index.js +0 -1
- package/.next/server/pages/index.js.nft.json +0 -1
- package/.next/server/pages/login.js +0 -1
- package/.next/server/pages/login.js.nft.json +0 -1
- package/.next/server/pages/pvt/account/403.js +0 -1
- package/.next/server/pages/pvt/account/403.js.nft.json +0 -1
- package/.next/server/pages/pvt/account/404.js +0 -1
- package/.next/server/pages/pvt/account/404.js.nft.json +0 -1
- package/.next/server/pages/pvt/account/[...unknown].js +0 -1
- package/.next/server/pages/pvt/account/[...unknown].js.nft.json +0 -1
- package/.next/server/pages/pvt/account/orders/[id].js +0 -1
- package/.next/server/pages/pvt/account/orders/[id].js.nft.json +0 -1
- package/.next/server/pages/pvt/account/orders.js +0 -1
- package/.next/server/pages/pvt/account/orders.js.nft.json +0 -1
- package/.next/server/pages/pvt/account/profile.js +0 -1
- package/.next/server/pages/pvt/account/profile.js.nft.json +0 -1
- package/.next/server/pages/pvt/account/security.js +0 -1
- package/.next/server/pages/pvt/account/security.js.nft.json +0 -1
- package/.next/server/pages/pvt/account/user-details.js +0 -1
- package/.next/server/pages/pvt/account/user-details.js.nft.json +0 -1
- package/.next/server/pages/pvt/account.js +0 -1
- package/.next/server/pages/pvt/account.js.nft.json +0 -1
- package/.next/server/pages/s.js +0 -1
- package/.next/server/pages/s.js.nft.json +0 -1
- package/.next/server/pages-manifest.json +0 -1
- package/.next/server/webpack-api-runtime.js +0 -1
- package/.next/server/webpack-runtime.js +0 -1
- package/.next/static/chunks/227-f109b24190a008ab.js +0 -8
- package/.next/static/chunks/2284.185d834d9829b652.js +0 -1
- package/.next/static/chunks/2851.e68ed3c8d27a032a.js +0 -1
- package/.next/static/chunks/2927.23bae2c79f0ac0f3.js +0 -1
- package/.next/static/chunks/3155.7bc4c730a79d9ecb.js +0 -1
- package/.next/static/chunks/3166-0b30a3887c0c346d.js +0 -1
- package/.next/static/chunks/3399.017c5209b74b0d97.js +0 -1
- package/.next/static/chunks/3483.ef53d632a763da3f.js +0 -1
- package/.next/static/chunks/349.b3b38e1e9f719dda.js +0 -1
- package/.next/static/chunks/3802.5e8b0b689eacc0f8.js +0 -1
- package/.next/static/chunks/3836.620480018be48233.js +0 -1
- package/.next/static/chunks/4436.e7af66f0b654ee36.js +0 -1
- package/.next/static/chunks/4803.b1920b6e3a1a6304.js +0 -1
- package/.next/static/chunks/5796.4351370494d8b8b6.js +0 -1
- package/.next/static/chunks/6393.55f991b1a6bb4fe7.js +0 -1
- package/.next/static/chunks/6700.b23221a57514e737.js +0 -1
- package/.next/static/chunks/6789.960162355435a81d.js +0 -1
- package/.next/static/chunks/7191-befad64ba238a817.js +0 -1
- package/.next/static/chunks/7692.8d5bf4560341a2f6.js +0 -1
- package/.next/static/chunks/7861.7f9f1a124a43da30.js +0 -6
- package/.next/static/chunks/8068.43663fb64762f7b8.js +0 -1
- package/.next/static/chunks/83.e0c16f0299b364a5.js +0 -1
- package/.next/static/chunks/8325.dabe9aa22eaadeed.js +0 -1
- package/.next/static/chunks/8587.53c8ce185ed1a2cb.js +0 -1
- package/.next/static/chunks/9173-e89da04079c35360.js +0 -2
- package/.next/static/chunks/9237.7555603703f81bf7.js +0 -1
- package/.next/static/chunks/9298-1d1ed0a54133cb59.js +0 -28
- package/.next/static/chunks/9399.d116a7fd62024783.js +0 -1
- package/.next/static/chunks/941.3e2782ab9c490eb0.js +0 -1
- package/.next/static/chunks/9701.f9a0bfffba8807dc.js +0 -1
- package/.next/static/chunks/9909.787576b171184aa5.js +0 -1
- package/.next/static/chunks/9960.7ef77f8a8b046170.js +0 -1
- package/.next/static/chunks/9979.aedbc094bdc2c599.js +0 -1
- package/.next/static/chunks/BannerNewsletter.00328ad162109908.js +0 -1
- package/.next/static/chunks/BannerText.dbbec87cadb8a521.js +0 -1
- package/.next/static/chunks/ButtonSignIn.f6e210eaca873e48.js +0 -1
- package/.next/static/chunks/CartItem.b34e295377f6f94f.js +0 -1
- package/.next/static/chunks/CartSidebar.ac447d1ef6276da1.js +0 -1
- package/.next/static/chunks/Dropdown.38b48c749bad6b60.js +0 -1
- package/.next/static/chunks/DropdownButton.66fa6b25dddb3a07.js +0 -1
- package/.next/static/chunks/DropdownItem.38b8f5a07c7f422a.js +0 -1
- package/.next/static/chunks/DropdownMenu.48b11521a24c6efd.js +0 -1
- package/.next/static/chunks/EmptyCart.320e2f94a0d5e6b1.js +0 -1
- package/.next/static/chunks/FilterSkeleton.7ab99e28f92341c9.js +0 -1
- package/.next/static/chunks/Footer.166b02c2f13980c6.js +0 -1
- package/.next/static/chunks/Gift.c49ba26da2fbab5e.js +0 -1
- package/.next/static/chunks/Newsletter.fc406f6029057022.js +0 -1
- package/.next/static/chunks/OrderSummary.5957d69f990d9add.js +0 -1
- package/.next/static/chunks/PreviewTag.f4f0c8710a7bcad9.js +0 -1
- package/.next/static/chunks/ProductShelf.cc46f5cdeeaeaff6.js +0 -1
- package/.next/static/chunks/ProductTiles.9b804e51b0704d60.js +0 -1
- package/.next/static/chunks/RegionModal.319ad44250cb12d2.js +0 -1
- package/.next/static/chunks/RegionSlider.0e0e93369f4f9c92.js +0 -1
- package/.next/static/chunks/ScrollToTopButton.c15431f2e8bb93ef.js +0 -1
- package/.next/static/chunks/ShoppingAssistant.ba191eb4dbed67e5.js +0 -1
- package/.next/static/chunks/Toast.5f90f0436708be5e.js +0 -1
- package/.next/static/chunks/UIBannerText.7315b16af4457059.js +0 -1
- package/.next/static/chunks/UISKUMatrixSidebar.b4349b2682bbe183.js +0 -1
- package/.next/static/chunks/UIToast.de15325248043ce5.js +0 -1
- package/.next/static/chunks/framework-d514426edf885c68.js +0 -33
- package/.next/static/chunks/main-ec03882c4375091d.js +0 -1
- package/.next/static/chunks/pages/404-e3dfbbac003b02a2.js +0 -1
- package/.next/static/chunks/pages/500-c7814e085081d7b8.js +0 -1
- package/.next/static/chunks/pages/[...slug]-dc8a395a43b081f1.js +0 -1
- package/.next/static/chunks/pages/[slug]/p-644f1132f5a0f736.js +0 -1
- package/.next/static/chunks/pages/_app-84aaff8a9d4de60e.js +0 -1
- package/.next/static/chunks/pages/_error-2b0148be56a716e9.js +0 -1
- package/.next/static/chunks/pages/checkout-2071467ad42dfb99.js +0 -1
- package/.next/static/chunks/pages/index-8774d5b4a8744eb2.js +0 -1
- package/.next/static/chunks/pages/login-e74747c9f9cb5b49.js +0 -1
- package/.next/static/chunks/pages/pvt/account/403-491e6b062487b30f.js +0 -1
- package/.next/static/chunks/pages/pvt/account/404-5ad472d9f2ee1980.js +0 -1
- package/.next/static/chunks/pages/pvt/account/[...unknown]-f80f645594d2740c.js +0 -1
- package/.next/static/chunks/pages/pvt/account/orders/[id]-64e42157c0974c48.js +0 -1
- package/.next/static/chunks/pages/pvt/account/orders-faab39f2aff05fae.js +0 -1
- package/.next/static/chunks/pages/pvt/account/profile-9672177ee2665bc0.js +0 -1
- package/.next/static/chunks/pages/pvt/account/security-03eb1ccab9a30563.js +0 -1
- package/.next/static/chunks/pages/pvt/account/user-details-7838e3f79781596c.js +0 -1
- package/.next/static/chunks/pages/pvt/account-65fefcc699344bdb.js +0 -1
- package/.next/static/chunks/pages/s-162ba789e6611175.js +0 -1
- package/.next/static/chunks/polyfills-c67a75d1b6f99dc8.js +0 -1
- package/.next/static/chunks/webpack-dbc0d9f67d2f928f.js +0 -1
- package/.next/static/css/02259c549b2179f2.css +0 -1
- package/.next/static/css/02eaf202d3d11fd1.css +0 -1
- package/.next/static/css/033e241c58ba6fbb.css +0 -1
- package/.next/static/css/042d012bc1895b5c.css +0 -1
- package/.next/static/css/14176a4704ff97b2.css +0 -1
- package/.next/static/css/146a8678babc61bf.css +0 -1
- package/.next/static/css/16d65422bfa80f51.css +0 -1
- package/.next/static/css/1c4983f11b861ea0.css +0 -1
- package/.next/static/css/204754bbd8cc4bef.css +0 -1
- package/.next/static/css/24d91007fc96be10.css +0 -1
- package/.next/static/css/2980acad3f8e1028.css +0 -1
- package/.next/static/css/2c19433e38fd7533.css +0 -1
- package/.next/static/css/31380ebc6e671486.css +0 -1
- package/.next/static/css/42df884711219edb.css +0 -1
- package/.next/static/css/4f0597b0bf0ef2e1.css +0 -1
- package/.next/static/css/54cedf4b65e5863f.css +0 -1
- package/.next/static/css/6580147d7ab8fcca.css +0 -1
- package/.next/static/css/6819dddf2b1b5ea7.css +0 -1
- package/.next/static/css/7ef7762f412ed665.css +0 -1
- package/.next/static/css/82f3cd529b672812.css +0 -1
- package/.next/static/css/837662922091162f.css +0 -1
- package/.next/static/css/8e6ab59ace21e03b.css +0 -1
- package/.next/static/css/a852afa9be31e946.css +0 -1
- package/.next/static/css/b684b347c5cc6514.css +0 -1
- package/.next/static/css/bcdaef0a83277ef5.css +0 -1
- package/.next/static/css/c33615999008d3f9.css +0 -1
- package/.next/static/css/c34f6ea9953e2f63.css +0 -1
- package/.next/static/css/ea11d74a2848b093.css +0 -1
- package/.next/static/css/f16438bcf4508fb3.css +0 -1
- package/.next/static/css/f60366555f563deb.css +0 -1
- package/.next/static/es3Z4hhE6B4Nut0ZqqUuB/_buildManifest.js +0 -1
- package/.next/static/es3Z4hhE6B4Nut0ZqqUuB/_ssgManifest.js +0 -1
- package/.next/trace +0 -143
- package/.turbo/turbo-build.log +0 -134
- package/jest.config.js +0 -17
- package/public/~partytown/debug/partytown-atomics.js +0 -556
- package/public/~partytown/debug/partytown-media.js +0 -374
- package/public/~partytown/debug/partytown-sandbox-sw.js +0 -543
- package/public/~partytown/debug/partytown-sw.js +0 -59
- package/public/~partytown/debug/partytown-ww-atomics.js +0 -1789
- package/public/~partytown/debug/partytown-ww-sw.js +0 -1781
- package/public/~partytown/debug/partytown.js +0 -72
- package/public/~partytown/partytown-atomics.js +0 -2
- package/public/~partytown/partytown-media.js +0 -2
- package/public/~partytown/partytown-sw.js +0 -2
- package/public/~partytown/partytown.js +0 -2
- package/src/middleware__DISABLED.ts +0 -65
- package/src/server/generator/generateGraphQLSchemaFile.ts +0 -3
- package/src/server/generator/schema.ts +0 -81
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "@faststore/ui/src/styles/base/utilities";
|
|
2
|
+
|
|
1
3
|
[data-fs-account-table] {
|
|
2
4
|
display: grid;
|
|
3
5
|
grid-template-columns: 1fr;
|
|
@@ -5,7 +7,7 @@
|
|
|
5
7
|
border-spacing: 0;
|
|
6
8
|
border-collapse: collapse;
|
|
7
9
|
|
|
8
|
-
@include media(">=notebook") {
|
|
10
|
+
@include utilities.media(">=notebook") {
|
|
9
11
|
grid-template-columns: minmax(11.25rem, auto) 1fr;
|
|
10
12
|
}
|
|
11
13
|
|
|
@@ -25,7 +27,7 @@
|
|
|
25
27
|
> [data-fs-account-table-data] { border-bottom: none; }
|
|
26
28
|
}
|
|
27
29
|
|
|
28
|
-
@include media(">=notebook") {
|
|
30
|
+
@include utilities.media(">=notebook") {
|
|
29
31
|
display: contents;
|
|
30
32
|
}
|
|
31
33
|
}
|
|
@@ -41,7 +43,7 @@
|
|
|
41
43
|
color: var(--fs-color-text-light);
|
|
42
44
|
text-align: left;
|
|
43
45
|
|
|
44
|
-
@include media(">=notebook") {
|
|
46
|
+
@include utilities.media(">=notebook") {
|
|
45
47
|
min-height: var(--fs-spacing-10);
|
|
46
48
|
padding-bottom: 0;
|
|
47
49
|
border-bottom: var(--fs-border-width) solid var(--fs-border-color-light);
|
|
@@ -59,7 +61,7 @@
|
|
|
59
61
|
|
|
60
62
|
[data-fs-link] { padding: 0; }
|
|
61
63
|
|
|
62
|
-
@include media(">=notebook") {
|
|
64
|
+
@include utilities.media(">=notebook") {
|
|
63
65
|
min-height: var(--fs-spacing-10);
|
|
64
66
|
border-bottom: var(--fs-border-width) solid var(--fs-border-color-light);
|
|
65
67
|
}
|
package/src/components/account/orders/MyAccountListOrders/MyAccountFilterSlider/section.module.scss
CHANGED
|
@@ -1,23 +1,25 @@
|
|
|
1
|
+
@use "sass:meta";
|
|
2
|
+
|
|
1
3
|
.section {
|
|
2
|
-
@
|
|
3
|
-
@
|
|
4
|
-
@
|
|
5
|
-
@
|
|
6
|
-
@
|
|
7
|
-
@
|
|
8
|
-
@
|
|
9
|
-
@
|
|
10
|
-
@
|
|
11
|
-
@
|
|
12
|
-
@
|
|
13
|
-
@
|
|
14
|
-
@
|
|
15
|
-
@
|
|
16
|
-
@
|
|
17
|
-
@
|
|
18
|
-
@
|
|
19
|
-
@
|
|
20
|
-
@
|
|
4
|
+
@include meta.load-css("~@faststore/ui/src/components/atoms/Button/styles.scss");
|
|
5
|
+
@include meta.load-css("~@faststore/ui/src/components/atoms/Badge/styles.scss");
|
|
6
|
+
@include meta.load-css("~@faststore/ui/src/components/atoms/Checkbox/styles.scss");
|
|
7
|
+
@include meta.load-css("~@faststore/ui/src/components/atoms/Icon/styles.scss");
|
|
8
|
+
@include meta.load-css("~@faststore/ui/src/components/atoms/Input/styles.scss");
|
|
9
|
+
@include meta.load-css("~@faststore/ui/src/components/atoms/Link/styles.scss");
|
|
10
|
+
@include meta.load-css("~@faststore/ui/src/components/atoms/List/styles.scss");
|
|
11
|
+
@include meta.load-css("~@faststore/ui/src/components/atoms/Slider/styles.scss");
|
|
12
|
+
@include meta.load-css("~@faststore/ui/src/components/molecules/Toggle/styles.scss");
|
|
13
|
+
@include meta.load-css("~@faststore/ui/src/components/molecules/DiscountBadge/styles.scss");
|
|
14
|
+
@include meta.load-css("~@faststore/ui/src/components/molecules/Accordion/styles.scss");
|
|
15
|
+
@include meta.load-css("~@faststore/ui/src/components/molecules/InputField/styles.scss");
|
|
16
|
+
@include meta.load-css("~@faststore/ui/src/components/molecules/Modal/styles.scss");
|
|
17
|
+
@include meta.load-css("~@faststore/ui/src/components/molecules/SelectField/styles.scss");
|
|
18
|
+
@include meta.load-css("~@faststore/ui/src/components/organisms/Filter/styles.scss");
|
|
19
|
+
@include meta.load-css("~@faststore/ui/src/components/organisms/FilterSlider/styles.scss");
|
|
20
|
+
@include meta.load-css("~@faststore/ui/src/components/organisms/SlideOver/styles.scss");
|
|
21
|
+
@include meta.load-css("./MyAccountFilterFacetDateRange/styles.scss");
|
|
22
|
+
@include meta.load-css("./MyAccountFilterFacetPendingApproval/styles.scss");
|
|
21
23
|
|
|
22
24
|
[data-fs-badge] {
|
|
23
25
|
display: none;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Icon, IconButton } from '@faststore/ui'
|
|
2
|
-
|
|
2
|
+
|
|
3
3
|
import { useState } from 'react'
|
|
4
4
|
|
|
5
5
|
import MyAccountStatusBadge from 'src/components/account/components/MyAccountStatusBadge'
|
|
@@ -8,6 +8,8 @@ import { useSession } from 'src/sdk/session'
|
|
|
8
8
|
import useScreenResize from 'src/sdk/ui/useScreenResize'
|
|
9
9
|
import { ExpandButton } from './ExpandButton/ExpandButton'
|
|
10
10
|
|
|
11
|
+
import type { ServerListOrdersQueryQuery } from '@generated/graphql'
|
|
12
|
+
|
|
11
13
|
const MAX_ITEM_FIELDS = 5
|
|
12
14
|
const MAX_ORDER_FIELDS = 5
|
|
13
15
|
|
package/src/components/account/orders/MyAccountListOrders/MyAccountListOrdersTable/styles.scss
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "@faststore/ui/src/styles/base/utilities" as u;
|
|
2
|
+
|
|
1
3
|
[data-fs-list-orders-table] {
|
|
2
4
|
// --------------------------------------------------------
|
|
3
5
|
// Design Tokens
|
|
@@ -71,7 +73,7 @@
|
|
|
71
73
|
|
|
72
74
|
[data-fs-my-account-badge] { margin-right: calc(var(--fs-spacing-0) * -1); }
|
|
73
75
|
|
|
74
|
-
@include media(">=notebook") {
|
|
76
|
+
@include u.media(">=notebook") {
|
|
75
77
|
display: table-cell;
|
|
76
78
|
}
|
|
77
79
|
}
|
|
@@ -121,7 +123,7 @@
|
|
|
121
123
|
border-bottom: var(--fs-list-orders-table-row-border-bottom);
|
|
122
124
|
transition: background-color 0.5s ease;
|
|
123
125
|
|
|
124
|
-
@include media("<notebook") {
|
|
126
|
+
@include u.media("<notebook") {
|
|
125
127
|
display: flex;
|
|
126
128
|
justify-content: space-between;
|
|
127
129
|
|
|
@@ -169,7 +171,7 @@
|
|
|
169
171
|
--fs-list-orders-table-pagination-bkg-color : var(--fs-body-bkg);
|
|
170
172
|
--fs-list-orders-table-pagination-padding : var(--fs-spacing-0) var(--fs-spacing-2) var(--fs-spacing-0) var(--fs-spacing-0);
|
|
171
173
|
|
|
172
|
-
@include media("<notebook") {
|
|
174
|
+
@include u.media("<notebook") {
|
|
173
175
|
position: sticky;
|
|
174
176
|
bottom: 0;
|
|
175
177
|
left: 0;
|
|
@@ -1,32 +1,35 @@
|
|
|
1
|
+
@use "sass:meta";
|
|
2
|
+
@use "@faststore/ui/src/styles/base/utilities";
|
|
3
|
+
|
|
1
4
|
.page {
|
|
2
|
-
@
|
|
3
|
-
@
|
|
4
|
-
@
|
|
5
|
-
@
|
|
6
|
-
@
|
|
7
|
-
@
|
|
5
|
+
@include meta.load-css("./MyAccountListOrdersTable/styles.scss");
|
|
6
|
+
@include meta.load-css("./MyAccountSelectedTags/styles.scss");
|
|
7
|
+
@include meta.load-css("../../components/MyAccountStatusBadge/styles.scss");
|
|
8
|
+
@include meta.load-css("~@faststore/ui/src/components/atoms/Button/styles.scss");
|
|
9
|
+
@include meta.load-css("~@faststore/ui/src/components/molecules/SearchInputField/styles.scss");
|
|
10
|
+
@include meta.load-css("~@faststore/ui/src/components/organisms/EmptyState/styles.scss");
|
|
8
11
|
|
|
9
12
|
// --------------------------------------------------------
|
|
10
13
|
// Design Tokens
|
|
11
14
|
// --------------------------------------------------------
|
|
12
15
|
|
|
13
16
|
// Default properties
|
|
14
|
-
--fs-list-orders-padding
|
|
15
|
-
--fs-page-height
|
|
17
|
+
--fs-list-orders-padding: var(--fs-spacing-5);
|
|
18
|
+
--fs-page-height: 100%;
|
|
16
19
|
|
|
17
20
|
// Search Filters
|
|
18
|
-
--fs-list-orders-filter-width
|
|
19
|
-
--fs-list-orders-filter-margin-bottom
|
|
20
|
-
--fs-list-orders-filter-gap-mobile
|
|
21
|
-
--fs-list-orders-filter-width-mobile
|
|
22
|
-
--fs-list-orders-filter-margin-bottom-mobile
|
|
21
|
+
--fs-list-orders-filter-width: 55%;
|
|
22
|
+
--fs-list-orders-filter-margin-bottom: var(--fs-spacing-3);
|
|
23
|
+
--fs-list-orders-filter-gap-mobile: var(--fs-grid-gap-0);
|
|
24
|
+
--fs-list-orders-filter-width-mobile: 100%;
|
|
25
|
+
--fs-list-orders-filter-margin-bottom-mobile: 0;
|
|
23
26
|
|
|
24
|
-
--fs-list-orders-filter-input-border-color-hover
|
|
25
|
-
--fs-list-orders-filter-input-shadow-hover
|
|
27
|
+
--fs-list-orders-filter-input-border-color-hover: var(--fs-input-border-color-hover);
|
|
28
|
+
--fs-list-orders-filter-input-shadow-hover: var(--fs-input-box-shadow-hover);
|
|
26
29
|
|
|
27
|
-
--fs-list-orders-filter-button-border-radius
|
|
28
|
-
--fs-list-orders-filter-button-height
|
|
29
|
-
--fs-list-orders-filter-button-margin-left
|
|
30
|
+
--fs-list-orders-filter-button-border-radius: var(--fs-border-radius-pill);
|
|
31
|
+
--fs-list-orders-filter-button-height: 2.375rem;
|
|
32
|
+
--fs-list-orders-filter-button-margin-left: 0.6rem;
|
|
30
33
|
|
|
31
34
|
height: var(--fs-page-height);
|
|
32
35
|
|
|
@@ -42,7 +45,7 @@
|
|
|
42
45
|
justify-content: space-between;
|
|
43
46
|
width: var(--fs-list-orders-filter-width);
|
|
44
47
|
|
|
45
|
-
@include media("<notebook") {
|
|
48
|
+
@include utilities.media("<notebook") {
|
|
46
49
|
flex-direction: column;
|
|
47
50
|
gap: var(--fs-list-orders-filter-gap-mobile);
|
|
48
51
|
align-items: flex-end;
|
|
@@ -52,10 +55,10 @@
|
|
|
52
55
|
|
|
53
56
|
[data-fs-search-input-field] {
|
|
54
57
|
[data-fs-search-input-field-input] {
|
|
55
|
-
@include media("<notebook") {
|
|
58
|
+
@include utilities.media("<notebook") {
|
|
56
59
|
border: var(--fs-input-border-width) solid var(--fs-input-border-color);
|
|
57
60
|
|
|
58
|
-
@include input-focus-ring;
|
|
61
|
+
@include utilities.input-focus-ring;
|
|
59
62
|
|
|
60
63
|
&:hover:not(:disabled):not(:focus-visible):not(:focus) {
|
|
61
64
|
border-color: var(--fs-list-orders-filter-input-border-color-hover);
|
|
@@ -65,7 +68,7 @@
|
|
|
65
68
|
}
|
|
66
69
|
|
|
67
70
|
[data-fs-icon-button][data-fs-button-variant] {
|
|
68
|
-
@include media("<notebook") {
|
|
71
|
+
@include utilities.media("<notebook") {
|
|
69
72
|
position: absolute;
|
|
70
73
|
right: 0;
|
|
71
74
|
}
|
package/src/components/account/orders/MyAccountOrderDetails/MyAccountBudgetsCard/styles.scss
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "@faststore/ui/src/styles/base/utilities";
|
|
2
|
+
|
|
1
3
|
[data-fs-order-budgets-card] {
|
|
2
4
|
--fs-budgets-gap: var(--fs-spacing-3);
|
|
3
5
|
--fs-budgets-padding-y: var(--fs-spacing-2);
|
|
@@ -39,12 +41,12 @@
|
|
|
39
41
|
white-space: nowrap;
|
|
40
42
|
}
|
|
41
43
|
|
|
42
|
-
@include media(
|
|
44
|
+
@include utilities.media(">=tablet") {
|
|
43
45
|
grid-template-columns: var(--fs-budgets-cols-desktop);
|
|
44
46
|
}
|
|
45
47
|
|
|
46
48
|
[data-fs-budgets-header-available] {
|
|
47
|
-
@include media(
|
|
49
|
+
@include utilities.media("<tablet") {
|
|
48
50
|
display: none;
|
|
49
51
|
}
|
|
50
52
|
}
|
|
@@ -62,7 +64,7 @@
|
|
|
62
64
|
border-bottom: 1px solid var(--fs-budgets-border-color);
|
|
63
65
|
|
|
64
66
|
// Prevent long content from forcing the grid to overflow
|
|
65
|
-
|
|
67
|
+
>* {
|
|
66
68
|
min-width: 0;
|
|
67
69
|
}
|
|
68
70
|
|
|
@@ -70,13 +72,13 @@
|
|
|
70
72
|
border-bottom: none;
|
|
71
73
|
}
|
|
72
74
|
|
|
73
|
-
@include media(
|
|
75
|
+
@include utilities.media(">=tablet") {
|
|
74
76
|
grid-template-columns: var(--fs-budgets-cols-desktop);
|
|
75
77
|
}
|
|
76
78
|
}
|
|
77
79
|
|
|
78
80
|
[data-fs-budgets-available] {
|
|
79
|
-
@include media(
|
|
81
|
+
@include utilities.media("<tablet") {
|
|
80
82
|
display: none;
|
|
81
83
|
}
|
|
82
84
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "@faststore/ui/src/styles/base/utilities";
|
|
2
|
+
|
|
1
3
|
[data-fs-delivery-option-accordion] {
|
|
2
4
|
// --------------------------------------------------------
|
|
3
5
|
// Design Tokens
|
|
@@ -31,7 +33,7 @@
|
|
|
31
33
|
padding: var(--fs-spacing-4) var(--fs-spacing-4) var(--fs-spacing-5);
|
|
32
34
|
border-bottom: var(--fs-border-width) solid var(--fs-border-color-light);
|
|
33
35
|
|
|
34
|
-
@include media(">=tablet") {
|
|
36
|
+
@include utilities.media(">=tablet") {
|
|
35
37
|
grid-template-columns: repeat(2, 1fr);
|
|
36
38
|
}
|
|
37
39
|
|
|
@@ -88,7 +90,7 @@
|
|
|
88
90
|
gap: var(--fs-spacing-0);
|
|
89
91
|
}
|
|
90
92
|
|
|
91
|
-
@include media(">=notebook") {
|
|
93
|
+
@include utilities.media(">=notebook") {
|
|
92
94
|
display: grid;
|
|
93
95
|
grid-template-columns: auto 1fr repeat(3, minmax(6.25rem, auto)); // min = 100px
|
|
94
96
|
grid-auto-flow: column;
|
|
@@ -152,7 +154,7 @@
|
|
|
152
154
|
font-weight: var(--fs-text-weight-medium);
|
|
153
155
|
line-height: 1.5;
|
|
154
156
|
|
|
155
|
-
@include truncate-title(1);
|
|
157
|
+
@include utilities.truncate-title(1);
|
|
156
158
|
}
|
|
157
159
|
|
|
158
160
|
span {
|
|
@@ -160,7 +162,7 @@
|
|
|
160
162
|
line-height: 1.5;
|
|
161
163
|
color: var(--fs-color-text-light);
|
|
162
164
|
|
|
163
|
-
@include truncate-title(1);
|
|
165
|
+
@include utilities.truncate-title(1);
|
|
164
166
|
}
|
|
165
167
|
}
|
|
166
168
|
|
|
@@ -171,7 +173,7 @@
|
|
|
171
173
|
flex-direction: column;
|
|
172
174
|
align-items: flex-start;
|
|
173
175
|
|
|
174
|
-
@include media(">=notebook") {
|
|
176
|
+
@include utilities.media(">=notebook") {
|
|
175
177
|
align-items: flex-end;
|
|
176
178
|
}
|
|
177
179
|
|
package/src/components/account/orders/MyAccountOrderDetails/MyAccountMoreInformationCard/styles.scss
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "@faststore/ui/src/styles/base/utilities";
|
|
2
|
+
|
|
1
3
|
[data-fs-order-more-information-card] {
|
|
2
4
|
// --------------------------------------------------------
|
|
3
5
|
// Design Tokens for More Information Card
|
|
@@ -10,7 +12,7 @@
|
|
|
10
12
|
grid-template-columns: repeat(3, 1fr);
|
|
11
13
|
gap: 1.75rem;
|
|
12
14
|
|
|
13
|
-
@include media("<tablet") {
|
|
15
|
+
@include utilities.media("<tablet") {
|
|
14
16
|
grid-template-columns: 1fr;
|
|
15
17
|
}
|
|
16
18
|
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
@use "sass:meta";
|
|
2
|
+
|
|
1
3
|
@layer components {
|
|
2
4
|
.orderActionsModal {
|
|
3
|
-
@
|
|
4
|
-
@
|
|
5
|
-
@
|
|
6
|
-
@
|
|
7
|
-
@
|
|
5
|
+
@include meta.load-css("~@faststore/ui/src/components/atoms/Loader/styles.scss");
|
|
6
|
+
@include meta.load-css("~@faststore/ui/src/components/atoms/Icon/styles.scss");
|
|
7
|
+
@include meta.load-css("~@faststore/ui/src/components/atoms/Button/styles.scss");
|
|
8
|
+
@include meta.load-css("~@faststore/ui/src/components/molecules/Modal/styles.scss");
|
|
9
|
+
@include meta.load-css("src/components/account/components/BottomSheet/styles.scss");
|
|
8
10
|
|
|
9
11
|
[data-fs-order-details-action-modal] {
|
|
10
12
|
[data-fs-modal-header] {
|
|
@@ -34,7 +36,7 @@
|
|
|
34
36
|
align-items: center;
|
|
35
37
|
padding: 0;
|
|
36
38
|
|
|
37
|
-
|
|
39
|
+
>* {
|
|
38
40
|
flex-grow: 1;
|
|
39
41
|
}
|
|
40
42
|
}
|
package/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderActions/styles.scss
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "@faststore/ui/src/styles/base/utilities";
|
|
2
|
+
|
|
1
3
|
[data-fs-order-actions] {
|
|
2
4
|
display: flex;
|
|
3
5
|
flex-flow: row;
|
|
@@ -13,7 +15,7 @@
|
|
|
13
15
|
}
|
|
14
16
|
|
|
15
17
|
[data-fs-order-actions-item-reorder] {
|
|
16
|
-
@include media(">=tablet") {
|
|
18
|
+
@include utilities.media(">=tablet") {
|
|
17
19
|
display: none;
|
|
18
20
|
}
|
|
19
21
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "@faststore/ui/src/styles/base/utilities";
|
|
2
|
+
|
|
1
3
|
[data-fs-order-status-card] {
|
|
2
4
|
// --------------------------------------------------------
|
|
3
5
|
// Design Tokens for Order Status Card
|
|
@@ -48,7 +50,7 @@
|
|
|
48
50
|
--fs-order-status-connector-desktop-spacing : 0.625rem;
|
|
49
51
|
|
|
50
52
|
[data-fs-card-body] {
|
|
51
|
-
@include media(">=notebook") {
|
|
53
|
+
@include utilities.media(">=notebook") {
|
|
52
54
|
display: flex;
|
|
53
55
|
align-items: center;
|
|
54
56
|
justify-content: center;
|
|
@@ -62,7 +64,7 @@
|
|
|
62
64
|
width: 100%;
|
|
63
65
|
overflow-x: auto;
|
|
64
66
|
|
|
65
|
-
@include media(">=notebook") {
|
|
67
|
+
@include utilities.media(">=notebook") {
|
|
66
68
|
flex-direction: row;
|
|
67
69
|
align-items: center;
|
|
68
70
|
justify-content: space-between;
|
|
@@ -87,7 +89,7 @@
|
|
|
87
89
|
border-radius: var(--fs-order-status-card-border-radius);
|
|
88
90
|
}
|
|
89
91
|
|
|
90
|
-
@include media(">=notebook") {
|
|
92
|
+
@include utilities.media(">=notebook") {
|
|
91
93
|
flex: 1;
|
|
92
94
|
flex-direction: column;
|
|
93
95
|
gap: var(--fs-spacing-2);
|
|
@@ -149,7 +151,7 @@
|
|
|
149
151
|
flex-direction: column;
|
|
150
152
|
gap: var(--fs-order-status-step-content-gap);
|
|
151
153
|
|
|
152
|
-
@include media(">=notebook") {
|
|
154
|
+
@include utilities.media(">=notebook") {
|
|
153
155
|
text-align: center;
|
|
154
156
|
}
|
|
155
157
|
}
|
|
@@ -172,7 +174,7 @@
|
|
|
172
174
|
font-size: var(--fs-order-status-step-details-size);
|
|
173
175
|
color: var(--fs-color-text-light);
|
|
174
176
|
|
|
175
|
-
@include media(">=notebook") {
|
|
177
|
+
@include utilities.media(">=notebook") {
|
|
176
178
|
flex-direction: column;
|
|
177
179
|
gap: var(--fs-spacing-0);
|
|
178
180
|
}
|
|
@@ -194,7 +196,7 @@
|
|
|
194
196
|
left: calc(var(--fs-spacing-2) + var(--fs-order-status-step-icon-half-size) + var(--fs-order-status-step-icon-margin));
|
|
195
197
|
background-color: var(--fs-order-status-connector-color);
|
|
196
198
|
|
|
197
|
-
@include media(">=notebook") {
|
|
199
|
+
@include utilities.media(">=notebook") {
|
|
198
200
|
top: calc(1rem + var(--fs-order-status-step-icon-margin) + var(--fs-order-status-step-icon-half-size));
|
|
199
201
|
right: calc(50% + var(--fs-order-status-step-icon-half-size) + var(--fs-order-status-card-gap));
|
|
200
202
|
bottom: auto;
|
|
@@ -1,25 +1,28 @@
|
|
|
1
|
+
@use "sass:meta";
|
|
2
|
+
@use "@faststore/ui/src/styles/base/utilities";
|
|
3
|
+
|
|
1
4
|
.page {
|
|
2
|
-
@
|
|
3
|
-
@
|
|
4
|
-
@
|
|
5
|
-
@
|
|
6
|
-
@
|
|
7
|
-
@
|
|
8
|
-
@
|
|
9
|
-
@
|
|
10
|
-
@
|
|
11
|
-
@
|
|
12
|
-
@
|
|
13
|
-
@
|
|
14
|
-
@
|
|
15
|
-
@
|
|
16
|
-
@
|
|
17
|
-
@
|
|
18
|
-
@
|
|
19
|
-
@
|
|
20
|
-
@
|
|
21
|
-
@
|
|
22
|
-
@
|
|
5
|
+
@include meta.load-css("~@faststore/ui/src/components/atoms/Icon/styles.scss");
|
|
6
|
+
@include meta.load-css("~@faststore/ui/src/components/atoms/Badge/styles.scss");
|
|
7
|
+
@include meta.load-css("~@faststore/ui/src/components/atoms/Loader/styles.scss");
|
|
8
|
+
@include meta.load-css("~@faststore/ui/src/components/atoms/Button/styles.scss");
|
|
9
|
+
@include meta.load-css("~@faststore/ui/src/components/molecules/Card/styles.scss");
|
|
10
|
+
@include meta.load-css("~@faststore/ui/src/components/molecules/Alert/styles.scss");
|
|
11
|
+
@include meta.load-css("~@faststore/ui/src/components/molecules/Dropdown/styles.scss");
|
|
12
|
+
@include meta.load-css("../../components/MyAccountAccordion/styles.scss");
|
|
13
|
+
@include meta.load-css("../../components/MyAccountCard/styles.scss");
|
|
14
|
+
@include meta.load-css("../../components/MyAccountStatusBadge/styles.scss");
|
|
15
|
+
@include meta.load-css("./MyAccountSummaryCard/styles.scss");
|
|
16
|
+
@include meta.load-css("./MyAccountOrderedByCard/styles.scss");
|
|
17
|
+
@include meta.load-css("./MyAccountDeliveryCard/styles.scss");
|
|
18
|
+
@include meta.load-css("./MyAccountPaymentCard/styles.scss");
|
|
19
|
+
@include meta.load-css("./MyAccountDeliveryOptionAccordion/styles.scss");
|
|
20
|
+
@include meta.load-css("./MyAccountOrderActions/styles.scss");
|
|
21
|
+
@include meta.load-css("./MyAccountReorderButton/styles.scss");
|
|
22
|
+
@include meta.load-css("./MyAccountStatusCard/styles.scss");
|
|
23
|
+
@include meta.load-css("./MyAccountMoreInformationCard/styles.scss");
|
|
24
|
+
@include meta.load-css("./MyAccountBuyingPolicyAlert/styles.scss");
|
|
25
|
+
@include meta.load-css("./MyAccountBudgetsCard/styles.scss");
|
|
23
26
|
|
|
24
27
|
// --------------------------------------------------------
|
|
25
28
|
// Design Tokens
|
|
@@ -42,7 +45,7 @@
|
|
|
42
45
|
// Structural Styles
|
|
43
46
|
// --------------------------------------------------------
|
|
44
47
|
|
|
45
|
-
@include media(">=notebook") {
|
|
48
|
+
@include utilities.media(">=notebook") {
|
|
46
49
|
--fs-order-details-padding: 0;
|
|
47
50
|
}
|
|
48
51
|
|
|
@@ -54,13 +57,13 @@
|
|
|
54
57
|
justify-content: space-between;
|
|
55
58
|
padding: var(--fs-order-details-header-padding);
|
|
56
59
|
|
|
57
|
-
@include media(">=tablet") {
|
|
60
|
+
@include utilities.media(">=tablet") {
|
|
58
61
|
--fs-order-details-header-gap: var(--fs-spacing-2);
|
|
59
62
|
|
|
60
63
|
align-items: center;
|
|
61
64
|
}
|
|
62
65
|
|
|
63
|
-
@include media(">=notebook") {
|
|
66
|
+
@include utilities.media(">=notebook") {
|
|
64
67
|
--fs-order-details-header-padding: var(--fs-spacing-6) 0;
|
|
65
68
|
}
|
|
66
69
|
|
|
@@ -72,21 +75,11 @@
|
|
|
72
75
|
|
|
73
76
|
[data-fs-order-details-header-back-button] {
|
|
74
77
|
flex-shrink: 0;
|
|
75
|
-
margin-top:
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
margin-left:
|
|
81
|
-
calc(
|
|
82
|
-
var(--fs-spacing-2) * -1
|
|
83
|
-
); // Align the back button with the content
|
|
84
|
-
|
|
85
|
-
@include media(">=notebook") {
|
|
86
|
-
margin-top:
|
|
87
|
-
calc(
|
|
88
|
-
var(--fs-spacing-1) * -1
|
|
89
|
-
); // Align the back button with the title
|
|
78
|
+
margin-top: calc(var(--fs-spacing-2) * -1); // Align the back button with the title
|
|
79
|
+
margin-left: calc(var(--fs-spacing-2) * -1); // Align the back button with the content
|
|
80
|
+
|
|
81
|
+
@include utilities.media(">=notebook") {
|
|
82
|
+
margin-top: calc(var(--fs-spacing-1) * -1); // Align the back button with the title
|
|
90
83
|
}
|
|
91
84
|
}
|
|
92
85
|
|
|
@@ -96,7 +89,7 @@
|
|
|
96
89
|
gap: var(--fs-spacing-1);
|
|
97
90
|
align-items: flex-start;
|
|
98
91
|
|
|
99
|
-
@include media(">=tablet") {
|
|
92
|
+
@include utilities.media(">=tablet") {
|
|
100
93
|
flex-flow: row wrap;
|
|
101
94
|
align-items: center;
|
|
102
95
|
}
|
|
@@ -107,7 +100,7 @@
|
|
|
107
100
|
font-weight: var(--fs-order-details-header-weight);
|
|
108
101
|
line-height: var(--fs-order-details-header-line-height);
|
|
109
102
|
|
|
110
|
-
@include truncate-title(2);
|
|
103
|
+
@include utilities.truncate-title(2);
|
|
111
104
|
}
|
|
112
105
|
}
|
|
113
106
|
|
|
@@ -118,7 +111,7 @@
|
|
|
118
111
|
align-items: center;
|
|
119
112
|
|
|
120
113
|
[data-fs-reorder-button] {
|
|
121
|
-
@include media("<tablet") {
|
|
114
|
+
@include utilities.media("<tablet") {
|
|
122
115
|
display: none;
|
|
123
116
|
}
|
|
124
117
|
}
|
|
@@ -130,7 +123,7 @@
|
|
|
130
123
|
flex-direction: column;
|
|
131
124
|
gap: var(--fs-order-details-content-gap);
|
|
132
125
|
|
|
133
|
-
@include media(">=notebook") {
|
|
126
|
+
@include utilities.media(">=notebook") {
|
|
134
127
|
display: grid;
|
|
135
128
|
grid-template-columns: repeat(2, 1fr);
|
|
136
129
|
}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
+
@use "sass:meta";
|
|
2
|
+
@use "@faststore/ui/src/styles/base/utilities";
|
|
3
|
+
|
|
1
4
|
@layer components {
|
|
2
5
|
.section {
|
|
3
|
-
@
|
|
4
|
-
@
|
|
5
|
-
@
|
|
6
|
-
@
|
|
7
|
-
@
|
|
8
|
-
@
|
|
6
|
+
@include meta.load-css("~@faststore/ui/src/components/atoms/Overlay/styles.scss");
|
|
7
|
+
@include meta.load-css("~@faststore/ui/src/components/atoms/Button/styles.scss");
|
|
8
|
+
@include meta.load-css("~@faststore/ui/src/components/atoms/Input/styles.scss");
|
|
9
|
+
@include meta.load-css("~@faststore/ui/src/components/atoms/Icon/styles.scss");
|
|
10
|
+
@include meta.load-css("~@faststore/ui/src/components/organisms/SlideOver/styles.scss");
|
|
11
|
+
@include meta.load-css("../components/MyAccountTable/styles.scss");
|
|
9
12
|
|
|
10
13
|
// --------------------------------------------------------
|
|
11
14
|
// Design Tokens
|
|
@@ -141,10 +144,13 @@
|
|
|
141
144
|
justify-content: center;
|
|
142
145
|
padding: var(--fs-spacing-3) var(--fs-spacing-4);
|
|
143
146
|
border-top: var(--fs-border-width) solid var(--fs-border-color-light);
|
|
144
|
-
|
|
147
|
+
|
|
148
|
+
[data-fs-button] {
|
|
149
|
+
width: 100%;
|
|
150
|
+
}
|
|
145
151
|
}
|
|
146
152
|
|
|
147
|
-
@include media("<notebook") {
|
|
153
|
+
@include utilities.media("<notebook") {
|
|
148
154
|
[data-fs-security-drawer-footer] {
|
|
149
155
|
align-items: center;
|
|
150
156
|
justify-content: flex-end;
|