diff --git a/.prettierignore b/.prettierignore index 83b694704..e69de29bb 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1 +0,0 @@ -CHANGELOG.md \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 72afaa674..8fac0fe8e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,23 +7,27 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +### Added + +- Prop `displayModeSelectForColorVariation` to enable `"displayMode": "select"` for color variations in SKU Selector + ## [3.172.2] - 2024-03-06 ### Fixed -- Performance TBT improvement rendering videos only it's selected +- Performance TBT improvement rendering videos only it's selected ## [3.172.1] - 2024-02-13 ### Fixed + - When `sortVariationsByLabel` is `true`, check if the labels are all numbers and sort them as numbers instead of string ## [3.172.0] - 2024-02-09 ### Added -- CSS Handle for unavailable products update. - +- CSS Handle for unavailable products update. ## [3.171.0] - 2024-01-09 @@ -35,135 +39,181 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [3.169.5] - 2023-10-05 - ### Fixed + - Store name in the social share text instead of account name as default ## [3.169.4] - 2023-10-05 ### Fixed + - Modal not displaing in email share at `SocialButton` ## [3.169.3] - 2023-05-12 ## [3.169.2] - 2023-05-12 + ### Fixed + - Fixes of i18n on infoCard.md according to task LOC-10581. ## [3.169.1] - 2023-05-11 + ### Fixed + - Fixed SKUSelector.md according to task LOC-10567. + ### Fixed + - Fixed ProductImages.md according to task LOC-10621. ## [3.169.0] - 2023-05-02 ### Added + - Trigger vtex:share event to analytics on social button click - Tests to vtex:share for all social buttons case ## [3.168.1] - 2023-05-02 + ### Fixed -- Passed down `showImageLabel` prop to Product images. + +- Passed down `showImageLabel` prop to Product images. ### Added + - Added event `vtex:search` trigger to analytics . ## [3.168.0] - 2023-05-02 ### Added + - `showImageLabel` prop to `ProductImages` which if set to `true` will result in each image's label text being rendered above the image ## [3.167.2] - 2023-04-20 + ### Fixed + - Updated readme.md according to task LOC-10534. ## [3.167.1] - 2023-04-17 ### Fixed + - Update readme links. ## [3.167.0] - 2023-03-28 ### Added + - German translation. ## [3.166.0] - 2023-03-22 ## [3.165.0] - 2023-03-17 + ### Changed + - `apps-graphql` version to use the most updated one ## [3.164.0] - 2023-01-02 ### Added + - Indonesian translation. ### Fixed + - English, Portuguese and Italian translations. ### Added + - Preserve searched term in the search-bar. ## [3.163.4] - 2022-11-22 + ### Fixed + - Update Product Name doc. ## [3.163.3] - 2022-11-17 + ### Fixed + - Check if the swiper is not destroyed before changing initial state, which could cause the whole product UI to crash ## [3.163.2] - 2022-11-03 + ### Fixed + - Update Info Card doc. ## [3.163.1] - 2022-10-25 ### Fixed + - Image documentation: Fix typo. ## [3.163.0] - 2022-09-26 ### Fixed + - `ProductPrice` considering default seller. ## [3.162.2] - 2022-08-31 ## [3.162.1] - 2022-08-31 + ### Fixed + - Reset selected image on PDP when changing the product. ## [3.162.0] - 2022-08-01 ## [3.161.28] - 2022-07-28 + ### Added + - Including alt tag value in Infocard's image ## [3.161.27] - 2022-07-18 + ### Changed + - Updated `husky` to v7 ## [3.161.26] - 2022-07-18 + ### Added + - `node-notifier` to resolutions yarn field ## [3.161.25] - 2022-07-18 + ### Added + - `glob-parent` to resolutions yarn field ## [3.161.24] - 2022-07-18 + ### Added + - `node-fetch` to resolutions yarn field ## [3.161.23] - 2022-07-18 + ### Added + - `jsdom` and `jest-environment-jsdom` to resolutions yarn field ## [3.161.22] - 2022-07-18 + ### Changed + - Updated @vtex/test-tools dependency ### Added + - Resolutions yarn field ## [3.161.21] - 2022-07-14 @@ -207,374 +257,509 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [3.161.2] - 2022-07-06 ## [3.161.1] - 2022-07-06 + ### Fixed + - Lint issues ## [3.161.0] - 2022-07-05 + ### Added + - Call To Action mode on contentSchema ## [3.160.1] - 2022-06-23 + ### Added + - Added ` (grave accent) and ’ (apostrophe) to be removed when SKU slugified ## [3.160.0] - 2022-06-21 ### Added + - Added color definition for Bulgarian ## [3.159.5] - 2022-06-08 ### Fixed + - French translation. ## [3.159.4] - 2022-04-19 ### Changed + - Rewrite the `hideImpossibleCombinations` prop description. ## [3.159.3] - 2022-04-19 + ### Added + - A new section on how to work with IS while using the SearchBar component ## [3.159.2] - 2022-04-06 + ### Fixed + - Infinite loading state caused by never sending the `SET_LOADING_ITEM` action with a value of `false` in the SKU Selector. ## [3.159.1] - 2022-03-31 + ### Fixed + - Prevent `SET_LOADING_ITEM` action from Product Context from being fired when users unselect a certain property in the SKU Selector. ## [3.159.0] - 2022-03-28 + ### Fixed + - Always trigger the `SET_LOADING_ITEM` action from Product Context when users change the current selected SKU. ### Added + - New prop to `UserAddress` showIfMasked to remove entire string if asterics are present ## [3.158.0] - 2022-03-23 ### Added + - Thai translation. ### Fixed + - Arabic translation. ## [3.157.0] - 2022-03-18 ### Added + - Arabic, Norwegian and Norwegian variant translation. ## [3.156.1] - 2022-03-02 + ### + Added + - Added the **Before you start** section to the Product Brand documentation. ## [3.156.0] - 2022-02-24 ### Fixed + - Enable 'isFullModeStyle, textMode, textPosition, textAlignment, blockClass' props available in the site Editor for Infocard component. ## [3.155.10] - 2022-02-14 ### Fixed + - Doc: SKU Selector - info about the `hideImpossibleCombinations` prop when it is set to be `true`. ## [3.155.9] - 2022-02-07 ### Fixed + - `srcSet` typo in the Image documentation. - `SearchBar`'s `handleGoToPage` when `inputValue` has blank space at the beginning or at the end. ## [3.155.8] - 2022-01-03 ### Fixed -- Fix documentation callouts. +- Fix documentation callouts. ## [3.155.7] - 2021-12-30 ### Fixed + - General documentation updates. ### Added + - Callout on the Availability Subscriber doc about the new component [Availability Notify](https://developers.vtex.com/vtex-developer-docs/docs/vtex-availability-notify) - Restructured the doc format. - ## [3.155.6] - 2021-12-28 ### Added + - A new table on the documentation to clarify which types of `link`can be used and their description. ## [3.155.5] - 2021-12-27 Added: + - A link to the doc [Configuring custom images for the SKU Selector](https://developers.vtex.com/vtex-developer-docs/docs/vtex-io-documentation-configuring-custom-images-for-the-sku-selector). ## [3.155.4] - 2021-12-22 ### Added + - French, Italian, Japanese, Korean, Dutch and Romanian translation. ### Fixed + - Spanish translation. ### Removed -- Pseudo language. +- Pseudo language. ## [3.155.3] - 2021-10-25 ### Added + - Update callouts and CSS Handles table. ## [3.155.2] - 2021-10-13 ### Changed + - Load current shipping address when change seller. ## [3.155.1] - 2021-10-08 ### Added + - Version param to images to permit caching it on CDN. ## [3.155.0] - 2021-10-07 ### Changed: + - Documentation structure in the **Configuration** section - to improve on how the step-by-step is presented. + ### Added: + - Customization section, listing the component's CSS handles - Image with the component rendered on the store. ## [3.154.1] - 2021-10-04 ### Fixed + - Components broken links on the section Component Specs in README.md ## [3.154.0] - 2021-10-04 + ### Added + - Added `first-image` option for the `displayMode` prop of `product-images`. - Added `thumbnailVisibility` prop to `product-images`. When `dysplayMode` is set to `carousel` (default value), it adds the option to hide the thumbnails. ## [3.153.0] - 2021-09-24 ### Added + - I18n Bg and Bs (pseudo language to implement In Context tool) ## [3.152.0] - 2021-09-20 + ### Added + - Added social media identifier class to SocialButton ## [3.151.2] - 2021-08-26 ## [3.151.1] - 2021-08-26 [YANKED] + ### Fixed + - `onClickItem` from SKUSelector to dispatch `SET_LOADING_ITEM` if skuid is different. ## [3.151.0] - 2021-08-18 + ### Add + - Add the link to the documentation CReating a product availability form in and add a configuration section for Availability Subscriber. ## [3.150.0] - 2021-08-06 -+ ### Fixed -- Highlight deprecated components on `README.md`: `Animation`, `Categories Highlights`, `Collection Badges`, `Container`, `Discount Badge`, `Gradient Collapse`, `Greeting`and `Slider`. +- ### Fixed + +* Highlight deprecated components on `README.md`: `Animation`, `Categories Highlights`, `Collection Badges`, `Container`, `Discount Badge`, `Gradient Collapse`, `Greeting`and `Slider`. ## [3.149.1] - 2021-08-03 + ### Changed + - `onClickItem` from SKUSelector to dispatch `SET_LOADING_ITEM` action. ## [3.149.0] - 2021-07-15 + ### Added + - `disableUnavailableSelectOptions` prop to `SKUSelector` in order to disable unavailable items when `displayMode` is set to `select`. ## [3.148.2] - 2021-07-12 + ### Fixed + - `BuyButton` when item has no `skuId`. - `BuyButtonMessage` when `children` array is empty. ## [3.148.1] - 2021-07-08 + ### Added + - Name property to SKU selector dropdown. ## [3.148.0] - 2021-06-30 ### Added + - `displayMode` prop useful for displaying the product name in plain text or embedded in the link to the product page. ## [3.147.0] - 2021-06-29 ### Added + - `disableBlurAndTouchEndHandler` prop to the `SearchBar` component. ## [3.146.0] - 2021-06-28 + ### Added + - `unavailable` modifier to `valueWrapper` CSS handle. ## [3.145.0] - 2021-06-28 + ### Added + - `showTitle` prop to `ProductDescription` component. ## [3.144.0] - 2021-05-31 ### Added + - Add new prop to group Shipping-Simulator similar values ## [3.143.1] - 2021-04-28 + ### Fixed + - Makes main SearchBar placeholder translatable ## [3.143.0] - 2021-04-19 + ### Added + - CSS handle class for image link wrapper. ## [3.142.3] - 2021-04-19 ### Fixed + - Check if the swiper is not destroyed before rendering, which could cause the whole product UI to crash ## [3.142.2] - 2021-04-09 + ### Fixed + - Makes the SearchBar placeholder translatable ## [3.142.1] - 2021-03-30 + ### Fixed + - Use sellerDefault as default seller and fallback to first seller. ## [3.142.0] - 2021-03-09 + ### Added + - Push `newsletterInput` pixel event when newsletter is mounted ## [3.141.2] - 2021-02-25 + ### Fixed + - Searches with slash. ## [3.141.1] - 2021-02-17 + ### Fixed + - Image schema was not referencing dependencies, but only properties ## [3.141.0] - 2021-02-10 + ### Changed + - `showVariationsLabels` prop to add the ability to show variation name (label) before each item's value. ## [3.140.2] - 2021-02-02 + ### Fixed + - Lint issues. - Modifiers of Search Bar. ## [3.140.1] - 2021-01-22 + ### Fixed + - Usage of `applyModifiers`. ## [3.140.0] - 2021-01-22 + ### Added + - Modifier `video` to CSS Handle `figure` on `Product Image` to differ video thumbnails from image thumbnails. ## [3.139.0] - 2021-01-19 ### Added + - Modifier `video` to CSS Handle `thumbImg` on `Product Image` to differ video thumbnails from image thumbnails. ## [3.138.3] - 2021-01-13 ### Fixed + - ProductBrand to prevent render broken image when product does not have imageUrl. ## [3.138.2] - 2020-12-30 + ### Added + - New keys to `product-images`.It prevent render problems when prefetch is enabled. ## [3.138.1] - 2020-12-28 + ### Changed + - Makes search placeholder translatable ## [3.138.0] - 2020-12-17 + ### Deprecated + - `buy-button`. ### Changed + - Migrate to `vtex.css-handles@1.x`. ## [3.137.0] - 2020-12-15 + ### Added + - `displayMode` prop to `product-images` ## [3.136.3] - 2020-12-11 + ### Fixed + - SKUSelector types. ## [3.136.2] - 2020-12-08 ### Changed + - Migrate `user-address` to TypeScript. ## [3.136.1] - 2020-12-08 + ### Changed + - Refactored `ProductDescription` to TypeScript. ## [3.136.0] - 2020-12-08 + ### Added + - `withLink` prop on `ProductBrand`. It controls in which cases the component should link to the brand's page. + ### Changed + - `logoWithLink` prop on `ProductBrand` is now deprecated. ## [3.135.0] - 2020-12-08 + ### Changed + - Preload main image of `ProductImages`. ## [3.134.0] - 2020-12-08 + ### Added + - New prop `containerMode` to `search-bar`. ## [3.133.1] - 2020-12-08 + ### Changed + - Migrate `autocomplete-result-list` and `search-bar` to TypeScript. ## [3.133.0] - 2020-12-07 + ### Added + - `ProductImages` displays a default placeholder image if no image or video is present. - `ProductImages` can receive a custom placeholder image by using the `placeholder` prop ## [3.132.7] - 2020-12-07 + ### Changed + - Refactored ProductName to TypeScript. ## [3.132.6] - 2020-12-02 + ### Changed + - `Logo` components implementation from JavaScript to TypeScript. ## [3.132.5] - 2020-12-02 + ### Changed + - `ProductBrand` components implementation from JavaScript to TypeScript. ## [3.132.4] - 2020-12-02 + ### Changed + - `Notification` components implementation from `js` to `tsx`. ## [3.132.3] - 2020-12-01 + ### Changed + - Deprecate blocks: `newsletter`, `product-specifications`, and `product-highlights`. - Deprecate components: `Animation`, `CategoriesHighlights`, `CollectionBadges`, `DiscountBadge`, `GradientCollapse`, `Greeting`, `Newsletter`, `ProductHighlights`, `ProductSpecifications`, `Slider`, and `ProductSeparator`. ## [3.132.2] - 2020-12-01 + ### Changed + - Refactored `Container` to TypeScript. ## [3.132.1] - 2020-11-30 + ### Changed + - Refactored `AvailabilitySubscriber` to typescript. ## [3.132.0] - 2020-11-18 + ### Added + - New prop `inputType` to `search-bar`. ## [3.131.3] - 2020-11-13 + ### Fixed + - Navigating between product images using thumbnails was not working ## [3.131.2] - 2020-11-10 + ### Changed + - Refactor `CollectionBadge` to TypeScript. ## [3.131.1] - 2020-10-27 @@ -586,310 +771,448 @@ Added: ## [3.131.0] - 2020-10-13 ### Added + - `picture` and `source` to `SanitizedHTML` allowed tag list. - Fixing `vtex link`. ## [3.130.2] - 2020-09-28 + ### Fixed + - Issue where product images would zoom out immediately in certain cases. ## [3.130.1] - 2020-09-21 ### Added + - `shouldUpdateOrderForm` prop to `ShippingSimulator` - `showIfEmpty` prop to `UserAddress` so that shopper with no address can add one - Event listener to `UserAddress` for `locationUpdated` event from `vtex.shopper-location` ## [3.130.0] - 2020-09-21 + ### Added + - `product-sku-attributes` interface ## [3.129.0] - 2020-09-18 + ### Fixed + - Added a deprecation disclaimer in the Product Specifications block documentation. ### Added + - Table head to `shipping-simulator`. - Missing CSS handles to `shipping-simulator`. ## [3.128.1] - 2020-09-18 + ### Fixed + - SKU Selector issue with translated stores. ## [3.128.0] - 2020-09-17 + ### Added + - Color translation for `fi-FI`. ## [3.127.1] - 2020-09-09 + ### Fixed + - Add full path of content definitions to avoid breaking when extending some interface. ## [3.127.0] - 2020-09-08 + ### Changed + - Render BackToTopButton only when visible. ## [3.126.3] - 2020-09-04 + ### Fixed -- AddressInfo showing *null, null* when only postalCode is available + +- AddressInfo showing _null, null_ when only postalCode is available ## [3.126.2] - 2020-09-03 ### Added + - `showStreet`, `showCityAndState`, `showPostalCode`, `showPrefix` props to `UserAddress` - CSS handles to `UserAddress` ## [3.126.1] - 2020-09-03 + ### Fixed + - Encode forward slash in the search term. ## [3.126.0] - 2020-09-02 + ### Changed + - [`ProductImages`] Updated Swiper from `v4` to `v6`. ## [3.125.0] - 2020-08-28 + ### Changed + - Update shipping data on `orderForm` after shipping simulation. - Pre-fill postal code information with `orderForm`'s shipping data. ## [3.124.0] - 2020-08-27 + ### Added + - New CSS Handles to `product-specifications`: - `specificationsTableRow` - `specificationsTableHead` - `specificationsTableBody` ## [3.123.8] - 2020-08-26 + ### Fixed + - Allow to pass `width` and `height` to `iframe` and `img` tags. - Allow to pass `rowspan` and `colspan` to `td` tags. ## [3.123.7] - 2020-08-25 + ### Fixed + - Updated `README.md` file for `animation`, `slider` and `product-price` blocks to remove the `Deprecated` badge from the title. ## [3.123.6] - 2020-08-25 + ### Fixed + - Documentation on `product-images` block. ## [3.123.5] - 2020-08-24 + ### Added + - `object` and `embed` to `ProductDescription` allowed tag list. ## [3.123.4] - 2020-08-18 + ### Added + - Calculate shipping when enter is pressed ## [3.123.3] - 2020-08-14 + ### Fixed + - Issue of product specification in multilanguage stores. ## [3.123.2] - 2020-08-12 + ### Fixed + - Prop name in docs. ## [3.123.1] - 2020-08-11 + ### Added + - `meta` and `head` to `SanitizedHTML` allowed tag list. ## [3.123.0] - 2020-08-11 + ### Added + - `imageSizes`, `defaultSize`, `maxSize` props to `HighQualityProductImage`. ### Fixed + - `HighQualityProductImage` reducing image size. ## [3.122.7] - 2020-08-10 + ### Added + - `header` and `footer` to `SanitizedHTML` allowed tag list. ## [3.122.6] - 2020-08-10 + ### Fixed + - Update `insane` to support parsing ``. ## [3.122.5] - 2020-08-05 + ### Fixed + - Allow `link` and `script` tags in `product-description`. - Allow attributes `rel`, `href`, and `type` for `link` tag in `SanitizeHtml`. ## [3.122.4] - 2020-08-05 + ### Fixed + - Allow `link`, `body`, `html`, and `style` tags in `product-description`. - Allow `figure` tag in `SanitizeHtml`. ## [3.122.3] - 2020-08-04 + ### Fixed + - SKUSelector `hideImpossibleCombinations` rendering a variation with no items attached. ## [3.122.2] - 2020-08-04 + ### Changed + - Update eslint and re-format project. ## [3.122.1] - 2020-07-30 + ### Fixed + - SKUSelector: Use `originalName` to match with `visibleVariations` prop. ## [3.122.0] - 2020-07-29 ### Added + - Add new `productImageTag--zoom` and `productImageTag--main` CSS Handles to Product Images component. ## [3.121.0] - 2020-07-27 + ### Added + - Expose `SanitizedHTML` component. ## [3.120.8] - 2020-07-22 + ### Fixed + - SKU Selector documentation (prop table). ## [3.120.7] - 2020-07-21 + ### Fixed + - Use `originalName` in SKU Selector values. ## [3.120.6] - 2020-07-21 + ### Fixed + - Use `originalName` in SKU Selector to avoid CSS classes to vary based on translation. ## [3.120.5] - 2020-07-21 + ### Fixed + - Replace `insane` with `@vtex/insane` to support wildcard tag in `allowedAttributes`. ## [3.120.4] - 2020-07-17 + ### Fixed + - Prevent `insane` from filtering out `iframe`s. ## [3.120.3] - 2020-07-17 + ### Fixed + - Prevent `insane` defaults from being overriden if no extra config was passed. ## [3.120.2] - 2020-07-17 + ### Removed + - Unused icons and buttons from `react-share`. ## [3.120.1] - 2020-07-16 + ### Changed + - Remove `react-html-parser` in favor of `insane`. ## [3.120.0] - 2020-07-16 + ### Added + - Inserted CSS Handle for active swiperBullet in Product Images Carousel. ## [3.119.12] - 2020-07-16 + ### Changed + - Create a schema to the interface `image` without the description to remove it from the new CMS. ## [3.119.11] - 2020-07-16 + ### Changed + - Change wrapper element of `share` icons from `div` to `button`. ## [3.119.10] - 2020-07-15 + ### Fixed + - Revert changes from `3.119.9`. ## [3.119.9] - 2020-07-15 [YANKED] + ### Changed + - Replace `react-html-parser` with `html-react-parser`. ## [3.119.8] - 2020-07-15 + ### Fixed + - Handling of recursive input values in assembly options. ## [3.119.7] - 2020-07-14 + ### Fixed + - Search Bar documentation (New CSS Handles: `searchBarInnerContainer--opened` and `searchBarInnerContainer--filled` ## [3.119.6] - 2020-07-08 + ### Fixed + - Animation component documentation by adding a deprecation badge and disclaimer. - Slider component documentation by adding a deprecation badge and disclaimer. ## [3.119.5] - 2020-07-07 + ### Fixed + - Product Image not being updated whenever a color variant sku was selected. ## [3.119.4] - 2020-07-01 + ### Fixed + - Issue where the background image of infocard component wouldn't be adjustable via CSS when lazyloaded. ## [3.119.3] - 2020-06-25 + ### Fixed + - `open-modal` zoom option of `product-images` not working in mobile. ## [3.119.2] - 2020-06-23 + ### Fixed + - Updated Product Image's README.md (fixed the `ModalZoom` prop type). ## [3.119.1] - 2020-06-22 + ### Fixed + - `Newsletter` not allow empty spaces on email input. ## [3.119.0] - 2020-06-19 + ### Added + - Props `ModalZoom` to `product-images`. - Option `'open-modal'` to prop `zoomMode` of `product-images`. - `product-images.high-quality-image` block. ## [3.118.0] - 2020-06-17 + ### Added + - Apply modifiers to handle `searchBarInnerContainer` in `SearchBar`. ### Fixed + - CSS Handles table in README.md file: added the needed attribute to the `specificationItemProperty` handle. ## [3.117.3] - 2020-06-15 + ### Removed + - Table of maintenance of major versions from docs. ## [3.117.2] - 2020-06-10 + ### Fixed + - Lint problems. ## [3.117.1] - 2020-06-09 ### Removed + - `rest` query string. ## [3.117.0] - 2020-06-08 + ### Added + - `contentType` prop to the ProductImages component. ## [3.116.5] - 2020-06-08 + ### Fixed + - Local version of `react-intl`. ## [3.116.4] - 2020-06-04 + ### Fixed + - `autocomplete` breaking because of `inputValue` beeing `undefined`. ## [3.116.3] - 2020-06-04 + ### Changed + - if `search-bar` is in a modal it closes after navigation. ## [3.116.2] - 2020-06-04 + ### Changed + - Bump dependency versions. ## [3.116.1] - 2020-06-04 + ### Fixed + - Typos in the documentation. ## [3.116.0] - 2020-06-03 + ### Added + - New data attribute on product specification with the name of the specification. ## [3.115.3] - 2020-06-02 + ### Fixed + - Brand image link changed to brand slug instead of brand name. ## [3.115.2] - 2020-05-29 + ### Fixed + - Revert release v3.110.1 that was making images to not load in Chrome 83. ## [3.115.1] - 2020-05-28 + ### Fixed + - Fixed Product Price block documentation by adding a deprecation badge and disclaimer. ## [3.115.0] - 2020-05-20 + ### Added + - Option to edit `callToActionLinkTarget` prop from the InfoCard on site editor. ## [3.114.6] - 2020-05-19 @@ -905,212 +1228,309 @@ Added: - Improve documentation for Buy Button block ## [3.114.4] - 2020-05-12 + ### Fixed + - `Autocomplete` closing by clicking on an interactive component inside it. ## [3.114.3] - 2020-05-07 + ### Fixed + - `Newsletter` now appears on the site-editor again. ## [3.114.2] - 2020-05-05 + ### Fixed + - `proptypes` on InfoCard component. ## [3.114.1] - 2020-05-05 + ### Fixed + - `BackToTopButton` not being rendered on mobile devices. ## [3.114.0] - 2020-05-04 + ### Added + - `callToActionLinkTarget` and `linkTarget` props to the `InfoCard` component. ## [3.113.0] - 2020-04-30 + ### Added + - `swiperBullet` css handle to `ProductImages` pagination bullet. ### Changed + - Use `vtex/swiper#4.5.2`. ## [3.112.0] - 2020-04-29 + ### Added + - Added `BackToTopButton` Component. ## [3.111.0] - 2020-04-23 + ### Added + - `textMode` prop to the InfoCard component. ## [3.110.2] - 2020-04-20 + ### Security + - Bump versions of dependencies. ## [3.110.1] - 2020-04-16 + ### Fixed + - `ProductImages` zoom out of the first image not working. ## [3.110.0] - 2020-04-13 + ### Added -- New prop `selectedSeller` to BuyButton. + +- New prop `selectedSeller` to BuyButton. ## [3.109.3] - 2020-04-08 + ### Fixed + - `InfoCard`s with no image not being rendered at all. ## [3.109.2] - 2020-04-07 + ### Changed + - Allow `info-card` background to be loaded lazily. ## [3.109.1] - 2020-04-06 + ### Fixed + - Problem where `InfoCard` component would render `banner` div even if no image was received. ## [3.109.0] - 2020-03-25 ### Added + - färger (sv_SE), farby (sk_SK) and boje (sr_RS) to the array of colors of `SKUSelector` ## [3.108.0] - 2020-03-19 + ### Added + - kolory (pl_PL) and farve (dk_DK) to the array of colors of `SKUSelector` ## [3.107.0] - 2020-03-17 + ### Added + - `showMoreButton`, `content` and `container` CSS Handles to `GradientCollapse`. ## [3.106.0] - 2020-03-16 + ### Added + - Add `selected` modifier to the selected item in SKUSelector. ## [3.105.3] - 2020-03-16 + ### Fixed + - Color name for Romanian. ## [3.105.2] - 2020-03-13 + ### Fixed + - Color name for Italian. ## [3.105.1] - 2020-03-09 + ### Fixed + - `SKUSelector` not showing any images if you pass the prop `thumbnailImage` and the images have a label, but none of them can pass to the test of the `thumbnailImage` regex. ## [3.105.0] - 2020-03-04 + ### Added + - Some CSS Handles to the `SelectorItem` component. ## [3.104.3] - 2020-02-21 + ### Fixed + - Add rootpath to view cart toast url. ## [3.104.2] - 2020-02-19 + ### Fixed + - `SearchBar` moving when icon change from `search` to `clear`. ## [3.104.1] - 2020-02-19 + ### Fixed + - `displayMode` error message being erroneously displayed. ## [3.104.0] - 2020-02-19 + ### Added + - `displayMode` prop to define the behavior of buttons on the `SearchBar` component. ### Changed + - Deprecate `submitOnIconClick` prop from `SearchBar` in favor of `displayMode`. ## [3.103.2] - 2020-02-19 + ### Fixed + - PropTypes error in ProductImages. ## [3.103.1] - 2020-02-18 + ### Changed + - Import addressQuery directly. ## [3.103.0] - 2020-02-14 + ### Added + - `contentOrder` prop to `product-images`. ## [3.102.9] - 2020-02-13 + ### Fixed + - Only define a selected SKU if all visible variations are set. - Handle initial empty SKU selection. ## [3.102.8] - 2020-02-13 + ### Fixed + - Stop considering empty arrays to `visibleSpecifications` and `hiddenSpecifications` in `ProductSpecfications`. ## [3.102.7] - 2020-02-12 + ### Fixed + - Do not show "Item already in cart" toast if adding item with options. ## [3.102.6] - 2020-02-11 + ### Added + - Dispatch `SELECT_IMAGE_VARIATION` action when manually selecting a image variant SKU ## [3.102.5] - 2020-02-10 + ### Added + - Documentation to the `title` prop of the `image` block. ## [3.102.4] - 2020-02-10 + ### Added + - Translations for the prop `title` of the `image` block. ## [3.102.3] - 2020-02-10 + ### Fixed + - French color typo ## [3.102.2] - 2020-01-30 ### Fixed + - Fix specification values exibition. It was showing just the first value of the array. ## [3.102.1] - 2020-01-23 + ### Changed + - Ordered `SearchBar` props on readme. ### Added + - `attemptPageTypeSearch` on `SearchBar`'s readme. ## [3.102.0] - 2020-01-22 + ### Added + - Couleur for France, Kleuren for Netherlands and Colori for Italy. ## [3.101.2] - 2020-01-22 + ### Fixed + - The order of the SKU variations in the product details page. The order should be the one in the catalog now. ## [3.101.1] - 2020-01-21 + ### Fixed + - Outdated documentation on `ProductSpecifications` component. ## [3.101.0] - 2020-01-17 ### Added + - `visibility` prop to `sku-selector` to show it only when it has more than one sku ## [3.100.1] - 2020-01-14 + ### Fixed + - Issue with image sizing in the SKU Selector. ## [3.100.0] - 2020-01-13 + ### Added + - New `"slider"` value for `displayMode` from SKU Selector. - New props `sliderDisplayThreshold`, `sliderArrowSize` and `sliderItemsPerPage` to configure the `slider-layout` used by SKU Selector when `displayMode` is set to `"slider"`. ## [3.99.0] - 2020-01-10 + ### Added + - New CSS handle `logoLink`. ## [3.98.0] - 2020-01-02 + ### Added + - `showValueForVariation` to `SKUSelector`. ### Changed + - Deprecate `showValueNameForImageVariation` prop from `SKUSelector. ## [3.97.1] - 2019-12-30 + ### Fixed + - Fix problem of swiper breaking when updating in a infinite loop. ## [3.97.0] - 2019-12-26 + ### Added + - `minSearchTermLength` prop to `SearchBar`. Defines the minimum search term length allowed. - `autocompleteAlignment` prop to `SearchBar`. Autocomplete Horizontal alignment. - `openAutocompleteOnFocus` prop to `SearchBar`. Identify if autocomplete should be open on input focus or not. @@ -1119,74 +1539,106 @@ Added: - `submitOnIconClick` prop to `SearchBar`. Identify if icon should submit on click. ### Changed + - Now, the search bar input and the autocomplete are different components. `search-bar` and `autocomplete-result-list` respectively. ## [3.96.2] - 2019-12-20 + ### Changed + - Use installedAppPublic query in BuyButton. ## [3.96.1] - 2019-12-20 + ### Fixed + - Space between variation name and `:`. ## [3.96.0] - 2019-12-20 + ### Added + - Use UTM and UTMi params on addToCart mutation. ## [3.95.8] - 2019-12-19 + ### Fixed + - Handle buy button click while order form is loading by handling it gracefully and not showing the tooltip. ## [3.95.7] - 2019-12-19 + ### Changed + - Update `react-id-swiper` dependency to 3.3.2, fixes issues in ProductImages. ## [3.95.6] - 2019-12-18 + ### Fixed + - Problem with ProductImages scroll when selecting other SKUs. ## [3.95.5] - 2019-12-18 + ### Fixed + - Prevent add to cart while orderForm is loading. ## [3.95.4] - 2019-12-17 ## Changed + - Updated documentation: added `blockClass` prop to the Product Price docs and updated the fork disclaimer ## [3.95.3] - 2019-12-16 + ### Changed + - Render SKUSelector on server. - Render first product image on server. ## [3.95.2] - 2019-12-16 + - Added spec `farbe` for DE ## [3.95.1] - 2019-12-12 + ### Fixed -- Problematic issue with the container css handle. + +- Problematic issue with the container css handle. ## [3.95.0] - 2019-12-11 + ### Added + - Support for `icon-search` and `icon-close` blocks to be received by `SearchBar` components. ## [3.94.0] - 2019-12-11 + ### Changed + - Use `withCssHandles` instead of using styles to generate the CSS handles of the `Container` compenent. ## [3.93.0] - 2019-12-09 + ### Changed + - Add missing handles to `ProductImages`and use `useCssHandles` hook instead of styles file. ## [3.92.8] - 2019-12-09 + ### Changed + - Updated documentation for the following `store-components` blocks: Image, Info Card, Buy Button, Logo, Product Brand, Product Image, Product Name, Product Price and Shipping Simulator. ## [3.92.7] - 2019-12-06 + ### Fixed + - Some tests that were breaking since migration to react-apollo@3.x. ### Changed + - Improved some tests. - Upgrade TS version. - Use optional chaining in SKUSelector, code improvements. @@ -1194,11 +1646,15 @@ Added: ## [3.92.6] - 2019-12-06 ## [3.92.5] - 2019-12-05 + ### Added + - Image to SKU selector documentation ## [3.92.4] - 2019-12-05 + ### Changed + - Documentation format ## [3.92.3] - 2019-12-05 @@ -1206,193 +1662,276 @@ Added: ## [3.92.2] - 2019-12-05 ## [3.92.1] - 2019-12-03 + ### Fixed + - Private installedApp query should be client only. ## [3.92.0] - 2019-12-03 + ### Changed + - `BuyButton` redirects to the appropriate cart depending on the version of `vtex.checkout` installed in the account. ## [3.91.1] - 2019-11-26 + ### Fixed + - In availability subscribe mutation, send all args as string. ## [3.91.0] - 2019-11-21 + ### Added + - `displayMode` to `SKUSelector`. ## [3.90.0] - 2019-11-21 + ### Added + - Prop `placeholder` to `SearchBar`'s schema. ## [3.89.0] - 2019-11-21 + ### Added + - Prop `title` to `ProductDescription`. ## [3.88.0] - 2019-11-18 + ### Added + - `thumbnailAspectRatio` and `thumbnailMaxHeight` props on `product-images`. ## [3.87.0] - 2019-11-13 + ### Added + - `showNavigationArrows` and `showPaginationDots` props on `product-images`. ## [3.86.1] - 2019-11-13 + ### Fixed + - Bug of selected images of `ProductImages`, now the control of the active class is in the component instead of the `SwiperJS` lib. ## [3.86.0] - 2019-11-13 + ### Added + - Support to block class. ### Fixed + - Verify that the item has been added to the cart by filtering `skuId` and `seller` in the BuyButton. ## [3.85.0] - 2019-11-12 + ### Added + - Option to edit `visibleSpecifications` and `hiddenSpecifications` in Site Editor. ## [3.84.2] - 2019-11-12 + ### Fixed + - `thumbnailImage` prop from `SKUSelector` keeping images that has no labels. ## [3.84.1] - 2019-11-12 + ### Fixed + - `ProductImages`' thumbs always keep active the first item. ## [3.84.0] - 2019-11-08 + ### Changed + - Default value of `hiddenImages` from `ProductImages`. - `SKUSelector` and `ProductImages` now uses `imageLabel` instead of `imageText` to hide or show an image of the SKU. ### Fixed + - `SKUSelector` using objects of product's context that might be undefined. ## [3.83.1] - 2019-11-07 + ### Changed + - Default aspect ratio of `ProductImages` to `auto`. ## [3.83.0] - 2019-11-07 + ### Changed + - `ProductImages` uses `img` instead of `canvas`, and removes blurred loader. ## [3.82.2] - 2019-11-07 ## [3.82.1] - 2019-11-07 + ### Fixed + - `BuyButton` crashing if there is no component above it that provide the context of product. ## [3.82.0] - 2019-11-06 + ### Added + - `initialSelection` and `showVariationsErrorMessage` to `SKUSelector`. - `showTooltipOnSkuNotSelected` to `BuyButton`. ### Changed + - `BuyButton` now only adds a product to the cart if all variations have one option selected. - Show an error next to the variation name of the `SKUSelector` if you try to add to the cart before selecting all variations of the product. ## [3.81.1] - 2019-11-06 + ### Changed + - `collapsable` prop to `collapsible` on `ProductSpecifications`. ## [3.81.0] - 2019-11-06 + ### Added + - CSS handles to the savings value. ## [3.80.3] - 2019-11-05 + ### Fixed + - `collapsable` prop not being passed down from the Wrapper to the actual component on `ProductSpecifications`. ## [3.80.2] - 2019-11-01 + ### Fixed + - Width property being overwritten when using ProductImages in horizontal mode. ## [3.80.1] - 2019-11-01 ## [3.80.0] - 2019-10-31 + ### Added + - New `collapsable` prop to `ProductSpecifications`. ## [3.79.3] - 2019-10-29 ## [3.79.2] - 2019-10-29 + ### Added + - Missing docs of `SKUSelector`. ## [3.79.1] - 2019-10-28 + ### Fixed -- `GradientCollapse` not working if its parent doesn't control the `collapse` state. + +- `GradientCollapse` not working if its parent doesn't control the `collapse` state. ## [3.79.0] - 2019-10-28 + ### Added + - `customSearchPageUrl` prop to `SearchBar`. ## [3.78.3] - 2019-10-25 + ### Fixed + - Case where slides prop would be undefined and cause crash on ProductImages. ## [3.78.2] - 2019-10-25 + ### Fixed + - Price savings to prevent it from showing `Save 0`. ## [3.78.1] - 2019-10-24 + ### Fixed + - `GradientCollapse` in safari not giving the full size to it's children. ## [3.78.0] - 2019-10-24 + ### Fixed + - `SearchBar` making a request in every change of `inputValue`. ## [3.77.0] - 2019-10-23 + ### Added + - More css handles to the `ProductPrice` ## [3.76.1] - 2019-10-23 + ### Fixed + - Infinity loop in product page because of calling `onSKUSelected`. ## [3.76.0] - 2019-10-23 + ### Added + - `collapsed` and `onCollapsedChange` props to `GradientCollapse` in order to be possible control if the component is collapsed or not from outsize of `GradientCollapsed`. - `shouldCollapseOnTabChange` to `ProductSpecifications`. ### Changed + - Make `GradientCollapse` as a Funcional Component. - The "See more" button from `GradientCollapse`is now a `button` instead of a `div`. ### Fixed + - `GradientCollapse` not changing the size of the container when children change. ## [3.75.1] - 2019-10-23 + ### Fixed + - Spanish translations. ## [3.75.0] - 2019-10-23 + ### Added + - `matchedImagesProps`, `variationsSpacing` and `variationsSpacing` to `SKUSelector`. - `shouldAddToCart` to `BuyButton`. ### Changed + - Remove images that has the value of prop `hiddenImages` on it's property `imageText` from `ProductImages`. - Remove or keep only the images that has the value of prop `thumbnailImage` on it's property `imageText` from `SKUSelector`. - `SKUSelector` will just add spaces between variations instead of adding a spacing at the end of all variations. ### Fixed + - Not calling `onSKUSelected` at second render when `SKUSelector` sets an SKU. ## [3.74.1] - 2019-10-18 + ### Fixed + - Problem causing the "Compras API" bot to break. ## [3.74.0] - 2019-10-18 + ### Added + - CSS Handles to some views in `SKUSelector`. - CSS classes to BuyButton. ## [3.73.1] - 2019-10-18 ## [3.73.0] - 2019-10-15 + ### Added + - New `specificationsTablePropertyHeading`, `specificationsTableSpecificationHeading`, `specificationItemProperty` and `specificationItemSpecifications` CSS handles to `ProductSpecifications`. - New `resultsItemName`, `searchBarInnerContainer`, `autoCompleteOuterContainer`, `spinnerInnerContainer` and `spinnerContainer` CSS handles to `SearchBar`. - New `infoCardCallActionText` CSS handle to `InfoCard`. @@ -1400,104 +1939,148 @@ Added: - New `productDescriptionTitle` and `productDescriptionText` CSS handles to `ProductDescription`. ### Changed + - Added the new `css-handles` on the following components: Icon & Newsletter ## [3.72.3] - 2019-10-14 + ### Changed + - In `ProductSpecifications`, use specificationGroups resolver to get translated values. ## [3.72.2] - 2019-10-14 + ### Fixed + - `ProductImages`: fix thumbnails arrows when orientation is horizontal. ## [3.72.1] - 2019-10-11 + ### Changed + - Update `react-share`. ## [3.72.0] - 2019-10-10 + ### Added + - `imageHeight` and `imageWidth` to `SkuSelector`. ## [3.71.3] - 2019-10-03 + ### Fixed + - `DiscountBadge` would show negative percentages when the actual selling price of a product is higher then it's original one. ## [3.71.2] - 2019-10-03 + ### Fixed + - dont add input value to options in add to cart, if object is empty. ## [3.71.1] - 2019-09-24 + ### Changed + - Release with fixed `builder-hub`. ## [3.71.0] - 2019-09-24 + ### Changed + - Set SKUSelector visibility in product context. ## [3.70.1] - 2019-09-19 + ### Fixed + - Cleaned up some extraneous dependencies. ### Removed + - Loader type "linear" from product images, falls back into spinner loader. ## [3.70.0] - 2019-09-19 + ### Added + - `customToastURL` prop to `BuyButton`. ## [3.69.0] - 2019-09-18 + ### Added + - Send InputValues to GraphQL. ### Changed + - Render logo as `amp-img` if in AMP page. ## [3.68.7] - 2019-09-10 + ### Changed + - Use autocmplete query from `search-graphql` in `SearchBar`. ## [3.68.6] - 2019-09-05 ### Fixed + - Remove percentual width/height from `ContentLoader` ## [3.68.5] - 2019-09-05 ## [3.68.4] - 2019-09-03 + ### Fixed + - Fixes regarding videos, fix ProductImages handling youtube videos. - Fix possible deadlock on ProductImages. ## [3.68.3] - 2019-09-03 + ### Fixed + - Fix DiscountBadge z-index. ## [3.68.2] - 2019-08-30 ## [3.68.1] - 2019-08-30 + ### Fixed + - Default parameter when `usePWA()` is undefined. ## [3.68.0] - 2019-08-29 + ### Added + - Show install prompt when clicking `buyButton`. ## [3.67.3] - 2019-08-29 + ### Fixed + - `SearchBar`: Issue where clicking on the search term would not work properly when `attemptPageTypeSearch` is enabled. ## [3.67.2] - 2019-08-29 + ### Fixed + - Issue where buy button would throw an error when getting "loading of undefined". ## [3.67.1] - 2019-08-29 ## [3.67.0] - 2019-08-28 + ### Added + - Notification bar content schema for i18n support ## [3.66.4] - 2019-08-28 + ### Fixed + - `Image`: properly use CMS translatable props with formatIOMessage. ### Changed @@ -1505,7 +2088,9 @@ Added: - `ProductPrice`: show list price even if selling price is a range and list price is not. ## [3.66.2] - 2019-08-27 + ### Fixed + - Fixes IE11 Swiper issue, by importing a forked version. ## [3.66.1] - 2019-08-23 diff --git a/docs/SKUSelector.md b/docs/SKUSelector.md index ff58a6cb5..f0f5babaf 100644 --- a/docs/SKUSelector.md +++ b/docs/SKUSelector.md @@ -64,6 +64,7 @@ The `sku-selector` block is mainly used in Product Details Pages (PDPs) to displ | `variationsSpacing` | `number` | Defines the `margin-bottom` size to be applied in the rendered product variations. Possible values range from `0` to `11` (the prop value is not in `px`; every value represents a tachyon class). | `7` | | `visibility` | `enum` | Defines the scenarios in which the SKU selector should be displayed. Possible values are: `always` (it will always be displayed, even if the product has only one SKU option) or `more-than-one` (the SKU selector is only displayed when the product has more than one SKU option). | `always` | | `visibleVariations` | `array` | Specifies which product variations should be displayed on the product details page. Please note that no variations will be displayed if you declare a name that does not represent a real product variation or an empty array. There is more information regarding this prop structure below this table. | `undefined` | +|`displayModeSelectForColorVariation`|`boolean`|When `displayMode` prop value is set to `select` and this prop is set to `true` it enables the SKU Selector to render the color variation using `select` mode instead of buttons. This is especially useful in shelves.| `undefined`| - **`visibleVariations` props** diff --git a/react/components/SKUSelector/Wrapper.tsx b/react/components/SKUSelector/Wrapper.tsx index 6ca6e15be..3429ca745 100644 --- a/react/components/SKUSelector/Wrapper.tsx +++ b/react/components/SKUSelector/Wrapper.tsx @@ -170,6 +170,7 @@ interface Props { sliderArrowSize?: number sliderItemsPerPage?: ResponsiveValuesTypes.ResponsiveValue sortVariationsByLabel?: boolean + displayModeSelectForColorVariation?: boolean /** Used to override default CSS handles */ classes?: CssHandlesTypes.CustomClasses } @@ -262,6 +263,9 @@ function SKUSelectorWrapper(props: Props) { sliderArrowSize={props.sliderArrowSize} sliderDisplayThreshold={props.sliderDisplayThreshold} sortVariationsByLabel={props.sortVariationsByLabel} + displayModeSelectForColorVariation={ + props.displayModeSelectForColorVariation + } /> ) diff --git a/react/components/SKUSelector/components/SKUSelector.tsx b/react/components/SKUSelector/components/SKUSelector.tsx index daeab3ea9..d0d70b0ad 100644 --- a/react/components/SKUSelector/components/SKUSelector.tsx +++ b/react/components/SKUSelector/components/SKUSelector.tsx @@ -68,6 +68,7 @@ interface Props { sliderArrowSize: number sliderItemsPerPage: ResponsiveValuesTypes.ResponsiveValue sortVariationsByLabel?: boolean + displayModeSelectForColorVariation?: boolean } function isSkuAvailable(item?: SelectorProductItem) { @@ -248,13 +249,16 @@ const variationNameToDisplayVariation = const allNumbers = options.every( (option: any) => !Number.isNaN(option.label) ) + options.sort((a: any, b: any) => { if (allNumbers) { return a.label - b.label } + return a.label < b.label ? -1 : a.label > b.label ? 1 : 0 }) } + return { name, originalName, options } } @@ -321,6 +325,7 @@ function SKUSelector({ sliderArrowSize, sliderItemsPerPage, sortVariationsByLabel = false, + displayModeSelectForColorVariation, }: Props) { const { handles } = useSKUSelectorCssHandles() const variationsSpacing = getValidMarginBottom(marginBottomProp) @@ -415,6 +420,9 @@ function SKUSelector({ sliderDisplayThreshold={sliderDisplayThreshold} sliderArrowSize={sliderArrowSize} sliderItemsPerPage={sliderItemsPerPage} + displayModeSelectForColorVariation={ + displayModeSelectForColorVariation + } /> ) })} diff --git a/react/components/SKUSelector/components/Variation.tsx b/react/components/SKUSelector/components/Variation.tsx index 673b02efe..ba3feccbb 100644 --- a/react/components/SKUSelector/components/Variation.tsx +++ b/react/components/SKUSelector/components/Variation.tsx @@ -33,6 +33,7 @@ interface Props { sliderDisplayThreshold: number sliderArrowSize: number sliderItemsPerPage: ResponsiveValuesTypes.ResponsiveValue + displayModeSelectForColorVariation?: boolean } const ITEMS_VISIBLE_THRESHOLD = 2 @@ -60,6 +61,7 @@ const Variation: FC = ({ sliderArrowSize, sliderDisplayThreshold, sliderItemsPerPage, + displayModeSelectForColorVariation, }) => { const { originalName, name, options } = variation @@ -177,7 +179,10 @@ const Variation: FC = ({
- {mode === 'select' && !displayImage ? ( + {(mode === 'select' && !displayImage) || + (mode === 'select' && + displayImage && + displayModeSelectForColorVariation) ? ( sortVariationsByLabel?: boolean + displayModeSelectForColorVariation?: boolean } const getNewSelectedVariations = ( @@ -254,6 +255,7 @@ const SKUSelectorContainer: FC = ({ tablet: 2, phone: 1, }, + displayModeSelectForColorVariation, }) => { const productContext = useProduct() const selectedItem = productContext?.selectedItem @@ -425,6 +427,7 @@ const SKUSelectorContainer: FC = ({ sliderArrowSize={sliderArrowSize} sliderItemsPerPage={sliderItemsPerPage} sortVariationsByLabel={sortVariationsByLabel} + displayModeSelectForColorVariation={displayModeSelectForColorVariation} /> ) } diff --git a/react/package.json b/react/package.json index 86e49a58f..44108fb4a 100644 --- a/react/package.json +++ b/react/package.json @@ -67,6 +67,7 @@ "vtex.search-graphql": "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.search-graphql@0.58.0/public/@types/vtex.search-graphql", "vtex.shipping-estimate-translator": "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.shipping-estimate-translator@2.2.3/public/@types/vtex.shipping-estimate-translator", "vtex.slider-layout": "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.slider-layout@0.24.4/public/@types/vtex.slider-layout", + "vtex.store-components": "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.store-components@3.172.1/public/@types/vtex.store-components", "vtex.store-graphql": "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.store-graphql@2.170.1/public/@types/vtex.store-graphql", "vtex.store-icons": "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.store-icons@0.18.0/public/@types/vtex.store-icons", "vtex.store-image": "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.store-image@0.20.0/public/@types/vtex.store-image", diff --git a/react/yarn.lock b/react/yarn.lock index 7d596fee2..cb5c4a8f9 100644 --- a/react/yarn.lock +++ b/react/yarn.lock @@ -5372,6 +5372,10 @@ validate-npm-package-license@^3.0.1: version "0.24.4" resolved "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.slider-layout@0.24.4/public/@types/vtex.slider-layout#81731b60025929589adeea1ffd3e12eb1d9480e1" +"vtex.store-components@http://vtex.vtexassets.com/_v/public/typings/v1/vtex.store-components@3.172.1/public/@types/vtex.store-components": + version "3.172.1" + resolved "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.store-components@3.172.1/public/@types/vtex.store-components#9c24ca2bba2b611a768a7940d7323dedd3357eba" + "vtex.store-graphql@http://vtex.vtexassets.com/_v/public/typings/v1/vtex.store-graphql@2.170.1/public/@types/vtex.store-graphql": version "2.170.1" resolved "http://vtex.vtexassets.com/_v/public/typings/v1/vtex.store-graphql@2.170.1/public/@types/vtex.store-graphql#7e087ac00c2abf0a2e06ef5551110d0de5b7fe58"