Release Notes - May 2022
🎉 New feature
-
New
Toggle
component #15
TheToggle
component works as a checkbox, but in the form of a switch control. -
Updated
Link
theming #17
TheLink
component now has new tokens based on the Base Store Theming Structure.
🐛 Bug fix
-
Fixed search suggestions locale issue #71
All requests to the FastStore Search API now receive locale info so the search can return product suggestions according to the user locale. -
Fixed custom attributes for
img
andlink
tags #60
Custom attributes are now only passed toimg
andlink
HTML tags to avoid inconsistencies in other components. -
Fixed the
fetchPriority
prop warning #54
Fixed warning related to thefetchPriority
being written in camel case. -
Fixed Storybook error while importing CSS styles #53
-
Fixed
EmptyState
visual bug #11
The vertical gap for the empty cart state is now fixed.
Before | After |
---|---|
✨ Enhancement
-
Improved page loading time with Incremental Static Build #39
Base Store now uses the new Incremental Static Build (ISB) WebOps solution. -
Replaced
OutOfStock
component #72
Base Store now uses theOutofStock
component from the FastStore UI library. -
Improved page LCP #49
Improved Largest Contentful Paint (LCP) score after implementing thefetchpriority
attribute. -
Added analytics events to
CartItem
#35
TheCartItem
component now tracks user actions via theadd_to_cart
andremove_from_cart
Google Analytics events. -
Updated
Select
theming #16
TheSelect
component now has new tokens based on the Base Store Theming Structure. -
Updated
Incentives
theming #56
TheIncentives
component now has new tokens based on the Base Store Theming Structure. -
Improved Theming documentation on Storybook #67
New docs published on the Base Store Storybook. Also, a new documentation format based on MDX was implemented.
🧹 Chore
-
CartItem
tests for analytics events #66
TheCartItem
component now has tests to check if events are fired to Google Analytics when users change the quantity of a product on the minicart. -
Updated
QuantitySelector
styling #76
TheQuantitySelector
component now uses CSS modules. -
camelCase standard for CSS Modules classes #42
Since thegatsby.store
only imports classes as camel case, thenextjs.store
now has a configuration to import classes as camel case too. -
Improved home performance #45
-
Updated global tokens nomenclature #51