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
Dropdown
component (Gatsby #111 | Next.js #118)The
Dropdown
component has been extracted fromBreadcrumb
and 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
PriceRange
component, 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
vtexSlug
andfastStoreSlug
was created, where:vtexSlug
:/{slug}/p
fastStoreSlug
:/{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
Modal
andRegionalizationModal
(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โ
ImageGallerySelector
scroll fixed (Gatsby ##121 | Next.js ##132)Undesired behaviors of the
ImageGallerySelector
scroll 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
Link
component ( Gatsby #103 | Next.js #117)The
Link
component now handles both external and client-side navigation. This change intends to unify theLink
component 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
Regionalization
section 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
Sandbox
tab 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
Filter
component 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
DropdownButton
updated (#123)To select the
DropdownButton
component, the[data-fs-dropdown-button]
CSS handle is being used instead of[data-store-dropdown-button]
.โจ
EmptyState
styles updated (#125)The
--fs-text-size-3
token was replaced by--fs-text-size-lead
on theEmptyCart
component.โจ
Facets
styles updated (#150)The tokens related to the
Facets
components were renamed and updated accordingly.๐
EmptyState
Storybook enhanced with use cases (#126)๐งน Support for new type definitions from React 18 (#113)