All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Updated README.md file
- Fixes of i18n on readme.md according to task LOC-10667.
- Duplicated keys when product is splitted in minicart
- Bulgarian, Catalan, Czech, German, Greek, French, Italian, Dutch, Polish, Russian, Slovakian, Swedish, Thai and Ukrainian translations.
- Danish, English, Finnish, Korean, Indonesian and Romanian translation.
- Crowdin configuration file.
- Indonesian translation.
- Lint issues
- Norwegian and Norwegian variant translation.
QuantitySelector
is no longer disabled when items are unavailable because they cannot be delivered. This allow users to change the quantity of the item back to when it didn't exceed the maximum weight chosen for deliveries.
- gift class in
QuantitySelector
andPrice
- List price is now displayed when discount is applied by a promotion
- CSS Handles
item
inRemoveButton
component
- I18n Ar, Hu.
- Prop
quantitySelectorStep
toquantity-selector
block.
- CSS Handles in QuantityStepper
- I18n Da, Fi, Ja, Ko and Ro.
- Crowdin configuration file.
- Product image component without rootPath in the URL
- Product List with rootPath in the URL
- Lazy rendering to items.
- lazyRenderHeight and lazyRenderOffset props.
ItemContextWrapper
key.
- Item not being removed when changing quantity to zero in dropdown.
- Prop
mode
toquantity-selector
block andQuantityStepper
component.
- Support for unit multiplier in quantity selector.
- New component called 'product-reference', where is possible to pull an identifier product information.
totalAvailable
anddistinctAvailable
values foritemCountMode
.
- Change unitPriceType prop from UnitPrice default value to 'sellingPrice'.
- Set useRenderOnView false by default to make it compatible with previous ProductList instances.
- Optimize ProductList initial render time with useRenderOnView hook.
- Now the price can be manually defined.
- Hides unit price when the price is defined manually.
- Consistency when changing
QuantitySelector
combobox and input
- Attribute
lazy
to product images.
- Avoid Dropdown error message by using placeholder as empty space.
- Prop
unitPriceType
tounit-price
block.
- Support for customization of the
IconRemove
icon, since it now comes fromvtex.store-icons
.
- Memoize product list items and avoid re-rendering unmodified items.
- Price not shown as "free" label when it is zero.
- Prop
unitPriceDisplay
tounit-price
block. - Prop
displayUnitListPrice
tounit-price
block.
- Add app prefix to
product-name
block usage to avoid conflicts.
- Updated README.md file
- Props
variation
anddisplayMode
toremove-button
.
- Item prices when
unitMultiplier
was different than1
.
- Moved
ItemContext
to react folder.
- Prop
width
toproduct-list-image
block.
- Rename block
product-quantity
toproduct-quantity-label
.
- New component
ProductQuantity
. - Prop
showListPrice
toPrice
component.
Advanced configuration
section in the documentation.
- Logic concerning the rendering of
product-list-content-desktop
andproduct-list-content-mobile
.
- Improved React typings.
- Improved linter and fixed resulting errors.
- Styles builder updated to major 2.
- Security updates.
- Product list layout.
- Messages now reflect decisions made when implementing errors in shipping-calculator:
your cart
anditem
are nowthe cart
andproduct
.
- Support for CSS customization through the use of CSS handles.
- "Remove" button from availability message.
- Documentation on how to use this component on the blocks-structure level.
- Desktop skeleton appearing on phone screens.
- Skeleton appearance was delayed.
- Component's preview width values, in order to keep the expected behavior on mobile devices.
- Margins in mobile version.
- Font weight.
- New
item
argument to callback functionsonQuantityChange
andonRemove
passed toProductList
component.
interfaces
preview structure.
image
interface name toproduct-list-image
.
- Images with higher resolutions are now displayed if the user device has retina screen.
- Preview skeleton to replace loading spinner.
testId
prop toDropdown
component in order to allow the proper tests.
- Every remove button
id
has item's identifier now.
- Improvements to
id
attribution of some elements.
- "Remove" label to option zero in the quantity selector dropdown.
ids
to Styleguide components and HTML elements.
- Bug that caused the product name to move slightly when the selected quantity changed between 1 and any other number.
- Quantity selector now allows selecting the value zero.
- Bug that caused the component to crash when a negative number was input into the quantity selector.
- When the selling price of an item is zero, the text "FREE" is shown in place of the price and the price per unit is not shown, even when the item quantity is greater than one.
- Icon to replace the product image when its
imageUrl
isnull
.
ListItem
was broken into several smaller components in order to implement theblocks
structure usingflex-layout
.- Moved
README.md
location to comply with IO Docs Builder requirements.
- UI for unavailable items.
- Change events now send the item's
uniqueId
instead of itsindex
.
- Price per unit text is now translated.
- Removed "Cart" title from component.
- Changed UI details to make layout work well and to improve some components' behavior.
- Replaced the implemented currency component in favor of
FormattedCurrency
fromvtex.format-currency
.
- Fix bug that caused the component to break when a huge value was input in the quantity selector.
- Improved UI for all device types.
- Initial version of
ProductList
that implements some minimum functionalities.