Base Store - June 2022
PLPs now support price range filtering, and nonexistent PDPs can now handle 404 errors. Also, more components have been updated to conform to the new Base Store Theming architecture.
๐ Newโ
-
New
Dropdowncomponent (Gatsby #111 | Next.js #118)The
Dropdowncomponent has been extracted fromBreadcrumband received new local tokens as part of adhering to the new Base Store Theming architecture.
-
Price range filtering now available for PLPs (Gatsby #112 | Next.js #121)
Thanks to the new
PriceRangecomponent, Product Listing Pages (PLPs) can now support price range filtering. -
301 redirects added to PDPs (Gatsby #87 | Next.js #93)
So that VTEX stores migrating to FastStore can work seamlessly, a 301 redirect between
vtexSlugandfastStoreSlugwas created, where:vtexSlug:/{slug}/pfastStoreSlug:/{slug}-{skuId}/p
Themingโ
As part of adhering to the new Base Store Theming architecture, the following components now have new local tokens related to global ones:
- New local tokens to
Tiles(Gatsby #120 | Next.js #134) - New local tokens to
ProductGrid(Gatsby #127 | Next.js #144) - New local tokens to
Accordion(Gatsby #126 | Next.js #130) - New local tokens to
ImageGallery(Gatsby #125 | Next.js #143) - New local tokens to
RegionalizationBar(Gatsby #124 | Next.js #104) - New local tokens to
ModalandRegionalizationModal(Gatsby #123 | Next.js #128) - New local tokens to
Dropdown(Gatsby #111 | Next.js #118) - New local tokens to
EmptyState(Gatsby #113 | Next.js #122)
๐ Bug fixโ
-
ImageGallerySelectorscroll fixed (Gatsby ##121 | Next.js ##132)Undesired behaviors of the
ImageGallerySelectorscroll on Safari were fixed.Before Now 

โจ Enhancementโ
-
Page code error handling enhanced (Gatsby #108 | Next.js #116)
Instead of always responding with a 500 status code, nonexistent Product Details Pages (PDPs) can now handle 404 errors.
-
External and client-side navigation now supported by the
Linkcomponent ( Gatsby #103 | Next.js #117)The
Linkcomponent now handles both external and client-side navigation. This change intends to unify theLinkcomponent usage. -
SVG logo replaced by a static asset (Gatsby #116 | Next.js #135)
The SVG logo was removed from the JavaScript code and imported as a static asset. This change aims to reduce the amount of JavaScript downloaded on the client-side since directly declaring SVGs in JS code can harm the Total Blocking Time (TBT) and final bundle sizes.
๐ Documentationโ
-
New
Regionalizationsection on the Storybook (Gatsby #124 | Next.js #110)The Base Store Storybook now has the Regionalization section that lists all regionalization-related components and how to use them.
-
General improvements on Storybook implemented (Gatsby #115 | Next.js #129)
The
Sandboxtab is now available for all component pages, allowing to test the component in different viewports and use other add-ons. Also, some console errors on the Storybook were fixed.
๐งน Choreโ
- Upgraded dependencies (Gatsby #114 | Next.js #131)
- Storybook's version bump from 6.4.20 to 6.5.9 (Gatsby #109 | Next.js #120)
Next.js-specific updatesโ
-
๐ New local tokens to
Filter(#139)As part of adhering to the new Base Store Theming architecture, the
Filtercomponent now has new local tokens related to global ones. -
โจ Search history and top searches on search input (#112).
The last four previously searched terms (
SearchHistory) and the top five searches (SuggestionsTopSearch) are now presented on search input.
-
โจ CSS selector for
DropdownButtonupdated (#123)To select the
DropdownButtoncomponent, the[data-fs-dropdown-button]CSS handle is being used instead of[data-store-dropdown-button]. -
โจ
EmptyStatestyles updated (#125)The
--fs-text-size-3token was replaced by--fs-text-size-leadon theEmptyCartcomponent. -
โจ
Facetsstyles updated (#150)The tokens related to the
Facetscomponents were renamed and updated accordingly. -
๐
EmptyStateStorybook enhanced with use cases (#126) -
๐งน Support for new type definitions from React 18 (#113)