Skip to content

Commit

Permalink
Cornerstone update 6.1.3 (#53)
Browse files Browse the repository at this point in the history
* Releasing 4.12.0-rc.2

* Releasing 4.12.0-rc.3

* Releasing 4.12.0-rc.4

* Upload bundle analysis as part of github action

* feat(search): ES-1590 display error message if search fails

* feat: (STRF-8747) add new stencil config files to .gitignore

* Releasing 4.12.0

* Revert "Releasing 4.12.0"

* feat(storefront): BCTHEME-299 update  changelog for release 4.12

* Releasing 4.12.0

* Updated CHANGELOG.md before 4.12 release

* Reverting cornerstone version to 4.12-rc.4

* Releasing 4.12.0

* Reverting 4.12 changes

* Releasing 4.12.0

* Reverted 4.12 release commit and updated package.json versions

* Releasing 4.12.0

* Revert fix(storefront): BCTHEME-219 Social icons not clickable in modal

* Don't load social icons in quick view

* Bump stencil-utils

* fix(storefront): BCTHEME-305 Price Lists - Price in the cart is not updated when changing currency on mobile

* fix(storefront): BCTHEME-314 ccount >Payment Methods throws Server Error when using Cornerstone theme (bigcommerce#1898)

Co-authored-by: BC-tymurbiedukhin <66319629+BC-tymurbiedukhin@users.noreply.github.com>

* fix(storefront): BCTHEME-315 Write a Review modal cause TypeError (bigcommerce#1899)

Co-authored-by: BC-tymurbiedukhin <66319629+BC-tymurbiedukhin@users.noreply.github.com>

* Releasing 4.12.1

* feat(payments): PAYPAL-712 Checkout page - Smart Payment Button styli… (bigcommerce#1866)

feat(payments): PAYPAL-712 Checkout page - Smart Payment Button styling (Cornerstone)

* feat(storefront): BCTHEME-116 move tax field after grand total when tax inclusive (bigcommerce#1903)

* fix(storefront): BCTHEME-105 Cornerstone - Body text size above 14px is cut off on cart shipping dropdowns (bigcommerce#1881)

* feat(storefront): BCTHEME-69 Add tooltips for carousel bullets (buttons) (bigcommerce#1889)

Co-authored-by: BC-tymurbiedukhin <66319629+BC-tymurbiedukhin@users.noreply.github.com>

* fix(storefront): BCTHEME-319 Write a review modal extra executions (bigcommerce#1902) (bigcommerce#1902)

Co-authored-by: BC-tymurbiedukhin <66319629+BC-tymurbiedukhin@users.noreply.github.com>

* fix(storefront): BCTHEME-232 Faceted search filters are hidden from screen readers (bigcommerce#1897)

* fix(storefront): BCTHEME-292 Social icon tooltip displaying should be fixed (bigcommerce#1907)

* BCTHEME-293 Product list item Quick view button is not tabbable (bigcommerce#1900) (bigcommerce#1900)

Co-authored-by: BC-tymurbiedukhin <66319629+BC-tymurbiedukhin@users.noreply.github.com>

* fix(storefront): BCTHEME-273 fix contrast ratio for Skip to Main Content element (bigcommerce#1880)

Co-authored-by: BC-tymurbiedukhin <66319629+BC-tymurbiedukhin@users.noreply.github.com>

* feat(storefront): BCTHEME-275 add upsell banner contrast (bigcommerce#1891)

Co-authored-by: BC-tymurbiedukhin <66319629+BC-tymurbiedukhin@users.noreply.github.com>

* fix(storefront): BCTHEME-274 fix contranst ratio for brand name (bigcommerce#1882)

Co-authored-by: BC-tymurbiedukhin <66319629+BC-tymurbiedukhin@users.noreply.github.com>

* fix(storefront): BCTHEME-288 Shoppers are not anchor-linked to reviews on PDPs if product description tabs are enabled (bigcommerce#1883)

* fix(storefront): BCTHEME-308 HTML Entity displayed as is via system/error message on a Storefront (bigcommerce#1888)

* STRF-8769 Moved zoomSize and productSize to the upper level, cause product.js is not availabe on the Quick View (bigcommerce#1884)

* Bump versions of Ruby (bigcommerce#1905)

To fix issue bigcommerce#1904

* Changelog update

* fix(storefront): BCTHEME-104 Selecting product options doesn't update image on PDP in Internet Explorer (bigcommerce#1913)

* fix(storefront): BCTHEME-11 hide product options that are out of stock on cart (bigcommerce#1911)

Co-authored-by: BC-tymurbiedukhin <66319629+BC-tymurbiedukhin@users.noreply.github.com>

* fix(storefront): BCTHEME-301 Header content placed out of the header block on mobile (bigcommerce#1908) (bigcommerce#1908)

Co-authored-by: BC-tymurbiedukhin <66319629+BC-tymurbiedukhin@users.noreply.github.com>

* fix(storefront): BCTHEME-85 “Sort by” dropdown selection not reflected on search results page for News and Information tab (bigcommerce#1910) (bigcommerce#1910)

Co-authored-by: BC-tymurbiedukhin <66319629+BC-tymurbiedukhin@users.noreply.github.com>

* fix(storefront): BCTHEME-86 Cornerstone - Text hover color does not change when Dropdown menu display mode is set to Alternative (bigcommerce#1918) (bigcommerce#1918)

Co-authored-by: BC-tymurbiedukhin <66319629+BC-tymurbiedukhin@users.noreply.github.com>

* fix(storefront): BCTHEME-321 fix social icon tooltip overlaying (bigcommerce#1914)

Co-authored-by: BC-tymurbiedukhin <66319629+BC-tymurbiedukhin@users.noreply.github.com>

* Resolving eslint error after merging

* fix(storefront): BCTHEME-30 fix misaligned tooltip for required product option (bigcommerce#1915)

Co-authored-by: yurytut1993 <66325265+yurytut1993@users.noreply.github.com>

* fix(storefront): BCTHEME-87 Product images squashed in Category view in AMP (bigcommerce#1921) (bigcommerce#1921)

* fix(storefront): BCTHEME-313 Parse HTML entities in jsContext (bigcommerce#1917)

* Added Changelog item for BCTHEME-313

* Releasing 5.0.0-rc.1

* feat(payments): PAYPAL-823 Add new banner on the cart page (bigcommerce#1901)

* Releasing 5.0.0-rc.2

* Releasing 5.0.0

* feat(storefront): BCTHEME-304 add pagination for wishlists (bigcommerce#1906)

* fix(storefront): BCTHEME-341 fix placeholder contrast ratio (bigcommerce#1933)

* fix(storefront): BCTHEME-37 Cornerstone - Image Zoom Does Not Work on Internet Explorer (bigcommerce#1923) (bigcommerce#1923)

* feat(storefront): BCTHEME-306 show price range on option selection (bigcommerce#1924)

Co-authored-by: BC-tymurbiedukhin <66319629+BC-tymurbiedukhin@users.noreply.github.com>

* fix(storefront): BCTHEME-16 Cornerstone - loading of thumbnail image delayed on cart page (bigcommerce#1925 (bigcommerce#1925)

Co-authored-by: BC-tymurbiedukhin <66319629+BC-tymurbiedukhin@users.noreply.github.com>

* fix(storefront): BCTHEME-193 fix not being able to change product qty with keyboard multiple times (bigcommerce#1927)

Co-authored-by: BC-tymurbiedukhin <66319629+BC-tymurbiedukhin@users.noreply.github.com>

* fix(storefront): BCTHEME-345 define a main region on pages (bigcommerce#1929)

Co-authored-by: BC-tymurbiedukhin <66319629+BC-tymurbiedukhin@users.noreply.github.com>

* fix(storefront): BCTHEME-346 add announcement for shipping estimator error messages (bigcommerce#1932)

Co-authored-by: BC-tymurbiedukhin <66319629+BC-tymurbiedukhin@users.noreply.github.com>

* feat(storefront): BCTHEME-343 No tooltips provided for carousel buttons (bigcommerce#1934) (bigcommerce#1934)

* feature(storefront): Empty cart message not read by screen reader (bigcommerce#1935) (bigcommerce#1935)

* feat(storefront): BCTHEME-344 Carousel buttons do not receive focus (bigcommerce#1937) (bigcommerce#1937)

* fix(storefront): BCTHEME-155 fix recaptcha announcement for hidden content (bigcommerce#1943)

* fix(storefront): BCTHEME-379 fix non-text contrast on add to cart button (bigcommerce#1946)

* fix(storefront): BCTHEME-369 fix announcement on adding to cart by screen reader (bigcommerce#1950)

* feat(storefront): BCTHEME-373 Alt text not provided for ratings (bigcommerce#1949)

* feat(storefront): BCTHEME-78 Add Play/Pause button to carousel (bigcommerce#1944)

* fix(storefront): BCTHEME-366 Error message on PLPs not announced by screen reader (bigcommerce#1956)

* fix(storefront): BCTHEME-361 fix subscription message announcement (bigcommerce#1952)

* feat(payments): PAYPAL-903 Product Page Banners (Cornerstone) - creat… (bigcommerce#1948)

* feat(payments): PAYPAL-903 Product Page Banners (Cornerstone) - create custom price event

* feat(payments): PAYPAL-903 Product Page Banners (Cornerstone) - create custom price event
- CR fixes

Co-authored-by: Alex Saiannyi <67792608+bc-alexsaiannyi@users.noreply.github.com>

* BCTHEME-327: PDP - Empty "Description" is Hiding All Tabs When in Tab View (bigcommerce#1947)

* feat(storefront): BCTHEME-388 Dots on carousel should have similar colours as other slider controls (bigcommerce#1958)

* fix(storefront): BCTHEME-384 When default option is out of stock add to cart button does not populate for in stock options (bigcommerce#1955)

* fix(storefront): BCTHEME-383 Selecting certain option types pushes window view to the bottom of the page (bigcommerce#1959)

* Fixed merge conflict

* STRF-8898 'Show More' gives no additional options when filter clicked (bigcommerce#1945)

* Releasing 5.1.0-rc.1

* BCTHEME-387: Updates Cornerstone variants to meet the updated verticals outlined in BCTHEME-387. (bigcommerce#1962)

Co-authored-by: Dante Muñoz <dante.munoz@c02v90c0htdh.lan>

* Releasing 5.1.0-rc.2

* Releasing 5.1.0

* feat(storefront): STRF-8948 Fix Sort By on Search Page (bigcommerce#1971)

* fix(storefront): BCTHEME-368 fix announcement for shop by price filter selection (bigcommerce#1966)

* fix(storefront): BCTHEME-207 fix focus on sort by (bigcommerce#1964)

* fix(storefront): BCTHEME-385 move a phrase from html to en.json (bigcommerce#1972)

* feat(storefront): BCTHEME-390 Integrate accessibility scripts to product images slider on PDP (bigcommerce#1965)

* fix(storefront): BCTHEME-354 If multiple Pick List Options are applied, customers cannot select 'none' on both (bigcommerce#1975)

* fix(storefront): BCTHEME-356 Required checkbox message blocks the checkbox (bigcommerce#1963)

* Updated Changelog PR link for BCTHEME-212 Fixed review rating icons focus border.

* feat(storefront): BCTHEME-391 Move focus on filter items Modal after show more button was clicked and accessibility refactoring (bigcommerce#1977)

* feat(storefront) BCTHEME-381 add suffient text for swatch option (bigcommerce#1976)

* fix(storefront): BCTHEME-398 Make every product option group id unique (bigcommerce#1979)

* fix(storefront): BCTHEME-264 fix update discount banner on PDP (bigcommerce#1974)

* fix(storefront): BCTHEME-372 Error message not announced automatically (bigcommerce#1983)

* fix(storefront): BCTHEME-400 If product options are not required, the 'None' option will remain selected even if another option is chosen (bigcommerce#1980)

* fix(storefront): BCTHEME-334 Add alt attribute for no image placeholders (bigcommerce#1984)

* fix(storefront): BCTHEME-401 Category pages are creating alt attribute within the span tag (bigcommerce#1987)

* fix(storefront): BCTHEME-362 fix cut off cart button on zooming 400 (bigcommerce#1988)

* Releasing 5.2.0-rc.1

* Releasing 5.2.0

* Reverting 5.2.0 to 5.2.0-rc.1

* Releasing 5.2.0

* Revert "Releasing 5.2.0"

* Releasing 5.2.0

* Revert "Releasing 5.2.0" 2nd time

* Releasing 5.2.0

* feat(storefront): BCTHEME-200 add notifications announcement on carousel change (bigcommerce#1986)

* fix(storefront): BCTHEME-392 fixed line breaks on Dropdown Menu (bigcommerce#1996)

* fix(storefront): BCTHEME-347 Add unique identifiers to product cards (bigcommerce#1999)

* fix(storefront): BCTHEME-409 Update focus trap in Modal (bigcommerce#1998)

* fix(search): ES-2031 add error message for when star search is not availabble in facted search

* feat(search): ES-1590 render error msg for brand page

* fix(search): ES-2031 make search error more generic

* feat(search): ES-2031 add change to changelog

* feat(storefront): BCTHEME-322 add sold-out badges for products on PLP (bigcommerce#2003)

* BCTHEME-426: Insufficient link text for "Read More" links (bigcommerce#2012)

* BCTHEME-422: Announce email field as mandatory (bigcommerce#2011)

* BCTHEME-420: 'Skip to main content' is not visible (bigcommerce#2010)

* fix(storefront): BCTHEME-427 Insufficient button label on cart page (bigcommerce#2013)

* feat(storefront): BCTHEME-231 Add placeholder for failed to load carousel images and update scalability (bigcommerce#2009)

* fix(storefront): BCTHEME-429 Unlabelled edit fields on cart page (bigcommerce#2016)

* fix(storefront): BCTHEME-428 Insufficient link text on cart page (bigcommerce#2014)

* fix(storefront): BCTHEME-424 Alt text should include product name for ratings (bigcommerce#2015)

* fix(storefront): IE11 - Clicking on Search Does Not Display Search Bar (bigcommerce#2017)

* Releasing 5.3.0-rc.1

* Fixing 'Skip to main' content mobile display

* Releasing 5.3.0-rc.2

* Releasing 5.3.0

* Revert Releasing 5.3.0

* Remove AddThis for social sharing, replace with provider sharing links (bigcommerce#1997)

* Updated changelog

* Releasing 5.3.0

* fix(search): ES-2071 removed adding selected filters for price filter since not needed (bigcommerce#2018)

* fix(storefront): BCTHEME-431 remove horizontal scroll on swatch options PDP (bigcommerce#2023)

* fix(search): ES-2138 fixed count showing issue for category facet

* fix(storefront): BCTHEME-349 improve email validation for forms (bigcommerce#2029)

* feat(storefront): BCTHEME-445 replace page builder ssl settings with new global region for html widget (bigcommerce#2026)

* fix(storefront): BCTHEME-447 extend keyboard support for radio buttons (bigcommerce#2028)

* feat(storefront): BCTHEME-446 Improve performance of analyzing homepage carousel image (bigcommerce#2027)

* fix(storefront): BCTHEME-395 Wish List drop down is truncated on product page (bigcommerce#2001)

* fix(storefront): BCTHEME-434 Hamburger Menu Icon missing on Google AMP Pages (bigcommerce#2022)

* fix(storefront): BCTHEME-449 remove main tag duplicates (bigcommerce#2032)

* feat(storefront): BCTHEME-425 Incorrect focus order for product carousels (bigcommerce#2034)

* Releasing 5.4.0-rc.1

* fix(storefront): DEV-426 Fix GitHub workflows for default storefront

* Releasing 5.4.0

* fix(storefront): BCTHEME-325 Apple pay button displaying needs to be fixed (bigcommerce#2043)

* fix(storefront): BCTHEME-457 Update focus tooltip styles contrast to achieve accessibility AA Complaince (bigcommerce#2047)

* Use https:// for schema markup (bigcommerce#2039)

* fix(storefront): BCTHEME-423 Search result on search page not notified by screen reader (bigcommerce#2024)

* feat(payment): PAYPAL-968 added banner widgets to page builder (bigcommerce#2021)

* fix(storefront): bctheme-448 fix multiple swatch options (bigcommerce#2040)

* feat(storefront): BCTHEME-476 Scale focus trap for all modals (bigcommerce#2049)

* Releasing 5.5.0-rc.1

* Releasing 5.5.0

* fix(storefront): BCTHEME-496 Translation Gap: Delete from Cart confirmation popup. (bigcommerce#2065)

* fix(storefront): BCTHEME-512 add translation for invalid quantity value error on cart (bigcommerce#2062)

* fix(storefront): BCTHEME-459 fix product quantity change error (bigcommerce#2052)

* Fix eslint grunt check

* build(deps): bump underscore from 1.12.0 to 1.13.1 (bigcommerce#2053)

* Updated CHANGELOG.md for bigcommerce#2052

* fix(storefront): BCTHEME-514 Translation Gap: Gift Certificate -> Code required message (bigcommerce#2064)

* fix(storefront): BCTHEME-490 Translation Gap: Compare products error message (bigcommerce#2061)

Co-authored-by: yurytut1993 <66325265+yurytut1993@users.noreply.github.com>

* fix(storefront): BCTHEME-492 Translation Gap: Compare page fields (Description, Rating and Availability) (bigcommerce#2059)

* fix(storefront): BCTHEME-479 Logo on AMP Product details page (PDP) does not fit header (bigcommerce#2054)

* fix(storefront): BCTHEME-477 Add to cart button and Wishlist should be on one line on desktop (bigcommerce#2050)

* fix(storefront): BCTHEME-535 Translation Gap: Cart -> Shipping estimator error messages. (bigcommerce#2066)

* fix(storefront): BCTHEME-507 Translation Gap: Account -> Wish List -> Name required message. (bigcommerce#2060)

* fix(storefront): BCTHEME-452 Unable to select 'None' on unrequired Swatch Options (bigcommerce#2068)

* Fix eslint errors in cart.js, shipping-estimator.js and test in cart.spec.js (bigcommerce#2072)

* fix(storefront): STRF-9126 Facebook social share returns an error for blog pages

* fix(storefront): BCTHEME-544 fix potential shift on change options modal on Cart (bigcommerce#2071)

* fix(storefront): BCTHEME-543 Product images in quick view can be squashed (bigcommerce#2075)

* fix(storefront): BCTHEME-601 Enter press on Compare checkbox cause quick view opening (bigcommerce#2074)

* feat(storefront): BCTHEME-608 Translation mechanism for config.json values should be implemented (bigcommerce#2076)

* Update CHANGELOG.md

* Updated CHANGELOG.md for bigcommerce#2024

* Releasing 5.6.0-rc.1

* Add missing quotes for Country and State/Province fields of Shipping Estimator to pass functional tests (bigcommerce#2079)

* Releasing 5.6.0-rc.2

* Releasing 5.6.0

* feat(storefront): BCTHEME-603 Added translations for Consent Manager (bigcommerce#2083)

* feat(storefront): BCTHEME-600 Added translation files for Cornerstone (bigcommerce#2084)

* Releasing 5.7.0

* fix(storefront): BCTHEME-689 Update lang files for some locales (bigcommerce#2086)

* Releasing 5.7.1

* Changelog format changes (bigcommerce#2092)

* add changelog requirements (bigcommerce#2080)

* feat(storefront): BCTHEME-152 Replaced scss-lint with stylelint (bigcommerce#2069)

* fix(storefront): BCTHEME-540 User Account, bug styles in section payment methods (bigcommerce#2085)

* fix(storefront): BCTHEME-511 Remove counter on the Wish Lists tab on Account page (bigcommerce#2087)

* fix(storefront): BCTHEME-532 'undefined' is announced with screen reader while changing Product quantity on PDP (bigcommerce#2094)

* Fix social sharing links for product pages and blog posts (bigcommerce#2082)

* feat(payment): PAYPAL-886 added container setting for spb container (bigcommerce#2041)

* fix(storefront): Reviews pagination navigation buttons reload the whole page and does not open the Reviews tab (bigcommerce#2048)

* Update package-lock.json file (bigcommerce#2097)

* fix(storefront): BCTHEME-606 No navigation back to wishlist tab when you are in a wishlist (bigcommerce#2096)

* Fix minor merge navigation issue

* Fixing merge conflict: BCTHEME-606 (bigcommerce#2100)

* fix(storefront): BCTHEME-686 "Manage Website Data Collection Preferences" phrase is not translatable (bigcommerce#2090)

* feat(storefront): BCTHEME-674 Make Hero Carousel both slide and button clickable when button enabled (bigcommerce#2098)

* fix(storefront): BCTHEME-708 fix wishlist dropdown shift in quickview modal (bigcommerce#2102)

* fix(storefront): BCTHEME-671 Empty email input in newsletter field does not trigger an error (bigcommerce#2101)

* fix(storefront): BCTHEME-547 As a shopper I want to see gift wrapping price in product list the cart. (bigcommerce#2093)

* BCTHEME-693: Update translation mechanism for config.json values (bigcommerce#2089)

* Update translation mechanism for config.json values

* Releasing 6.0.0-rc.1

* Releasing 6.0.0

* fix(storefront): BCTHEME-668 Google AMP feature request - Add in release date info for preorder products (bigcommerce#2107)

* feat(customers): CUST-1583 use label for country states to send non-translated name on submit (bigcommerce#2105)

* feat(payment): ADYEN-242 Added notice to Adyen vaulted cards at My account page (bigcommerce#2111)

* fix(storefront): BCTHEME-856 Fixed images placeholder on hero carousel shifted on mobile when slide has content (bigcommerce#2112)

* build(deps): bump path-parse from 1.0.6 to 1.0.7 (bigcommerce#2108)

Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

* Releasing 6.1.0-rc.1

* Releasing 6.1.0

* build(deps): bump nth-check from 2.0.0 to 2.0.1 (bigcommerce#2125)

Bumps [nth-check](https://github.com/fb55/nth-check) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/fb55/nth-check/releases)
- [Commits](fb55/nth-check@v2.0.0...v2.0.1)

---
updated-dependencies:
- dependency-name: nth-check
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump tmpl from 1.0.4 to 1.0.5 (bigcommerce#2123)

Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump ini from 1.3.4 to 1.3.7 (bigcommerce#1993)

Bumps [ini](https://github.com/isaacs/ini) from 1.3.4 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](npm/ini@v1.3.4...v1.3.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump dot-prop from 4.1.1 to 4.2.1 (bigcommerce#1892)

Bumps [dot-prop](https://github.com/sindresorhus/dot-prop) from 4.1.1 to 4.2.1.
- [Release notes](https://github.com/sindresorhus/dot-prop/releases)
- [Commits](sindresorhus/dot-prop@v4.1.1...v4.2.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix(storefront): BCTHEME-855 Sliding carousel with products cause footer headers flickering (bigcommerce#2119)

* fix(storefront): BCTHEME-355 fix additional checkout buttons (bigcommerce#2109)

* fix(search): ES-2439 change debounce wait time for search (bigcommerce#2115)

* fix(storefront): BCTHEME-851 Product images on PDP has clipped outline (bigcommerce#2124)

* Releasing 6.1.1-rc.1

* Releasing 6.1.1-rc.2

* Releasing 6.1.1

* Apply dependency updates (jest & lighthouse) (bigcommerce#2132)

* fix(storefront): BCTHEME-904 Quick View Modal "Close" bubble is slightly off center (bigcommerce#2130)

* fix(storefront): BCTHEME-83 added basic validation for Account Signup Date Field (bigcommerce#2126)

* fix(storefront): BCTHEME-906 Hide prices for aria-label and data-product-price attributes if set to Hidden for guests. Hide currency selection for non-logged in users. (bigcommerce#2131)

* Releasing 6.1.2-rc.1

* fix(storefront): BCTHEME-932 Update lang file for FR locale

* Use srcset for store logo so it looks good in more conditions (bigcommerce#2136)

* Releasing 6.1.2-rc.2

* Releasing 6.1.2

* fix(storefront): BCTHEME-936 Cannot see currency dropdown in storefront (bigcommerce#2141)

* Releasing 6.1.3-rc.1

* Releasing 6.1.3

---------

Co-authored-by: Yurii Zusik <yurii.zusik@bigcommerce.com>
Co-authored-by: alex.saiannyi <alexander.saiannyi@bigcommerce.com>
Co-authored-by: Tymur Biedukhin <tymur.biedukhin@bigcommerce.com>
Co-authored-by: Nathan Booker <bookernath@users.noreply.github.com>
Co-authored-by: Kevin Wang <kwang30@gmail.com>
Co-authored-by: MaxGenash <max.henash@bigcommerce.com>
Co-authored-by: David Huynh <david.huynh@bigcommerce.com>
Co-authored-by: Nathan Booker <nathan.booker@bigcommerce.com>
Co-authored-by: yurytut1993 <66325265+yurytut1993@users.noreply.github.com>
Co-authored-by: BC-tymurbiedukhin <66319629+BC-tymurbiedukhin@users.noreply.github.com>
Co-authored-by: Andrii Fetisov <54856617+bc-fetisov@users.noreply.github.com>
Co-authored-by: Alex Saiannyi <67792608+bc-alexsaiannyi@users.noreply.github.com>
Co-authored-by: jairo-bc <68893868+jairo-bc@users.noreply.github.com>
Co-authored-by: Andrew A. Barber <hello@andrewbarber.me>
Co-authored-by: Brian Davenport <bdav87@gmail.com>
Co-authored-by: Olga Lashkul <32959076+helga1507@users.noreply.github.com>
Co-authored-by: Dante Munoz <35115108+DanteMunoz@users.noreply.github.com>
Co-authored-by: Dante Muñoz <dante.munoz@c02v90c0htdh.lan>
Co-authored-by: Nataliya Solyanik <nataliya.solyanik@bigcommerce.com>
Co-authored-by: bc-krishsenthilraj <39140274+bc-krishsenthilraj@users.noreply.github.com>
Co-authored-by: Senthil Krishnasamy <senthil.krishnasamy@bigcommerce.com>
Co-authored-by: Yevhenii Buliuk <82589781+bc-yevhenii-buliuk@users.noreply.github.com>
Co-authored-by: sacr3dc0w <mshettles@gmail.com>
Co-authored-by: Andrii Vitvitskyi <andrii.vitvitskyi@bigcommerce.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: bc-vlad-dlogush <83779098+bc-vlad-dlogush@users.noreply.github.com>
Co-authored-by: Jairo Panduro <jairo.panduro@bigcommerce.com>
Co-authored-by: Alex Rowley <rowleyaj@gmail.com>
Co-authored-by: Matt Hill <matt.hill@bigcommerce.com>
Co-authored-by: Vitaliy Koshovyi <79574476+vneutrino@users.noreply.github.com>
Co-authored-by: Saurabh Gedam <saurabhgedam1992@gmail.com>
Co-authored-by: Jordan Arldt <jordanarldt@gmail.com>
Co-authored-by: Volodymyr Krasnoshapka <volodymyr.kras@bigcommerce.com>
  • Loading branch information
1 parent cb9962f commit 20ea078
Show file tree
Hide file tree
Showing 39 changed files with 13,079 additions and 8,036 deletions.
23 changes: 23 additions & 0 deletions CHANGELOG.md
Expand Up @@ -6,6 +6,29 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Draft

## 6.1.3 (11-10-2021)
- Cannot see currency dropdown in storefront. [#2141](https://github.com/bigcommerce/cornerstone/pull/2141)

## 6.1.2 (11-05-2021)
- Hide prices for aria-label and data-product-price attributes if set to "Hidden for guests". Hide currency selection for non-logged in users. [#2131](https://github.com/bigcommerce/cornerstone/pull/2131)
- Added basic validation for Account Signup Date Field when it's empty [#2126](https://github.com/bigcommerce/cornerstone/pull/2126)
- Fixed Quick View modal "X" button focus bubble being slightly off center [#2130](https://github.com/bigcommerce/cornerstone/pull/2130)
- Apply dependency updates (jest & lighthouse). [#2132](https://github.com/bigcommerce/cornerstone/pull/2132)
- Update lang file for FR locale. [#2139](https://github.com/bigcommerce/cornerstone/pull/2139)
- Update store logo to use `srcset`. [#2136](https://github.com/bigcommerce/cornerstone/pull/2136)

## 6.1.1 (10-01-2021)
- Fix product images on PDP has clipped outline. [#2124](https://github.com/bigcommerce/cornerstone/pull/2124)
- Changed debounce wait time for search to 1200 ms from 200 ms. [#2115](https://github.com/bigcommerce/cornerstone/pull/2115)
- additional checkout buttons don't work on applying 100% discount coupon. [#2109](https://github.com/bigcommerce/cornerstone/pull/2109)
- Fix sliding carousel with products cause footer headers flickering. [#2119](https://github.com/bigcommerce/cornerstone/pull/2119)

## 6.1.0 (09-03-2021)
- Fixed images placeholder on hero carousel shifted on mobile when slide has content. [#2112](https://github.com/bigcommerce/cornerstone/pull/2112)
- Google AMP feature request - Add in release date info for preorder products. [#2107](https://github.com/bigcommerce/cornerstone/pull/2107)
- Translation for states select field on account signup page. [#2105](https://github.com/bigcommerce/cornerstone/pull/2105)
- Added description field below payment provider name on "My Account" -> "Payment Methods" page. [#2111](https://github.com/bigcommerce/cornerstone/pull/2111)

## 6.0.0 (08-06-2021)
- Translation mechanism for config.json has been updated. [#2089](https://github.com/bigcommerce/cornerstone/pull/2089)
- As a shopper I want to see gift wrapping price in product list the cart. [#2093](https://github.com/bigcommerce/cornerstone/pull/2093)
Expand Down
3 changes: 3 additions & 0 deletions assets/js/theme/cart.js
Expand Up @@ -15,6 +15,7 @@ export default class Cart extends PageManager {
this.$cartContent = $('[data-cart-content]');
this.$cartMessages = $('[data-cart-status]');
this.$cartTotals = $('[data-cart-totals]');
this.$cartAdditionalCheckoutBtns = $('[data-cart-additional-checkout-buttons]');
this.$overlay = $('[data-cart] .loadingOverlay')
.hide(); // TODO: temporary until roper pulls in his cart components
this.$activeCartItemId = null;
Expand Down Expand Up @@ -223,6 +224,7 @@ export default class Cart extends PageManager {
totals: 'cart/totals',
pageTitle: 'cart/page-title',
statusMessages: 'cart/status-messages',
additionalCheckoutButtons: 'cart/additional-checkout-buttons',
},
};

Expand All @@ -237,6 +239,7 @@ export default class Cart extends PageManager {
this.$cartContent.html(response.content);
this.$cartTotals.html(response.totals);
this.$cartMessages.html(response.statusMessages);
this.$cartAdditionalCheckoutBtns.html(response.additionalCheckoutButtons);

$cartPageTitle.replaceWith(response.pageTitle);
this.bindEvents();
Expand Down
21 changes: 19 additions & 2 deletions assets/js/theme/common/form-validation.js
Expand Up @@ -6,7 +6,7 @@ import { createTranslationDictionary } from './utils/translations-utils';
* @param validation
* @returns {{selector: string, triggeredBy: string, validate: Function, errorMessage: string}}
*/
function buildDateValidation($formField, validation) {
function buildDateValidation($formField, validation, requiredMessage) {
// No date range restriction, skip
if (validation.min_date && validation.max_date) {
const invalidMessage = `Your chosen date must fall between ${validation.min_date} and ${validation.max_date}.`;
Expand All @@ -30,6 +30,23 @@ function buildDateValidation($formField, validation) {
errorMessage: invalidMessage,
};
}
// Required Empty Date field
if (validation.required && (!validation.min_date || !validation.max_date)) {
const formElementId = $formField.attr('id');

return {
selector: `#${formElementId} select[data-label="year"]`,
triggeredBy: `#${formElementId} select:not([data-label="year"])`,
validate: (cb, val) => {
const day = $formField.find('select[data-label="day"]').val();
const month = $formField.find('select[data-label="month"]').val();
const year = val;

cb(day && month && year);
},
errorMessage: requiredMessage,
};
}
}

/**
Expand Down Expand Up @@ -97,7 +114,7 @@ function buildValidation($validateableElement, errorMessage) {
const formFieldSelector = `#${$validateableElement.attr('id')}`;

if (validation.type === 'datechooser') {
const dateValidation = buildDateValidation($validateableElement, validation);
const dateValidation = buildDateValidation($validateableElement, validation, errorMessage);

if (dateValidation) {
fieldValidations.push(dateValidation);
Expand Down
1 change: 1 addition & 0 deletions assets/js/theme/common/product-by-category.js
Expand Up @@ -41,6 +41,7 @@ export default function loadProductByCategory(productBlockCols, productBlockLimi
mobileFirst: true,
slidesToShow: 2,
slidesToScroll: 1,
slide: '[data-product-slide]',
nextArrow: "<button class='js-product-next-arrow slick-next slick-arrow'></button>",
prevArrow: "<button class='js-product-prev-arrow slick-prev slick-arrow'></button>",
responsive: [{
Expand Down
2 changes: 1 addition & 1 deletion assets/js/theme/common/state-country.js
Expand Up @@ -90,7 +90,7 @@ function addOptions(statesArray, $selectElement, options) {
if (options.useIdForStates) {
container.push(`<option value="${stateObj.id}">${stateObj.name}</option>`);
} else {
container.push(`<option value="${stateObj.name}">${stateObj.name}</option>`);
container.push(`<option value="${stateObj.name}">${stateObj.label ? stateObj.label : stateObj.name}</option>`);
}
});

Expand Down
5 changes: 3 additions & 2 deletions assets/js/theme/global/quick-search.js
Expand Up @@ -32,7 +32,8 @@ export default function () {
}
};

// stagger searching for 200ms after last input
// stagger searching for 1200ms after last input
const debounceWaitTime = 1200;
const doSearch = _.debounce((searchQuery) => {
utils.api.search.search(searchQuery, { template: 'search/quick-results' }, (err, response) => {
if (err) {
Expand Down Expand Up @@ -62,7 +63,7 @@ export default function () {
}, 100);
}
});
}, 200);
}, debounceWaitTime);

utils.hooks.on('search-quick', (event, currentTarget) => {
const searchQuery = $(currentTarget).val();
Expand Down
4 changes: 1 addition & 3 deletions assets/js/theme/product.js
Expand Up @@ -7,7 +7,7 @@ import collapsibleFactory from './common/collapsible';
import ProductDetails from './common/product-details';
import videoGallery from './product/video-gallery';
import { classifyForm } from './common/utils/form-utils';
import modalFactory, { ModalEvents } from './global/modal';
import modalFactory from './global/modal';

export default class Product extends PageManager {
constructor(context) {
Expand Down Expand Up @@ -44,8 +44,6 @@ export default class Product extends PageManager {

const review = new Review({ $reviewForm });

$(document).on(ModalEvents.opened, '#modal-review-form', () => this.reviewModal.setupFocusTrap());

$('body').on('click', '[data-reveal-id="modal-review-form"]', () => {
validator = review.registerValidation(this.context);
this.ariaDescribeReviewInputs($reviewForm);
Expand Down
18 changes: 18 additions & 0 deletions assets/scss/components/citadel/cards/_cards.scss
Expand Up @@ -42,6 +42,24 @@
}
}

.card-figure {
margin-top: $card-figure-marginTop;
overflow: hidden;
padding: 3px;
position: relative;

&:hover {
.card-figcaption {
opacity: 1;
}
}

&__link {
display: block;
position: relative;
}
}

.card-figure {
margin-top: $card-figure-marginTop;
overflow: hidden;
Expand Down
9 changes: 8 additions & 1 deletion assets/scss/components/foundation/modal/_modal.scss
Expand Up @@ -62,7 +62,14 @@
color: stencilColor("icon-color-hover");
}

@include addFocusTooltip;
&::before {
right: 50%;
transform: translateX(50%);
}

&::after {
right: calc(50% - remCalc(10px));
}
}

.modal-body {
Expand Down
4 changes: 4 additions & 0 deletions assets/scss/components/stencil/cart/_cart.scss
Expand Up @@ -275,6 +275,10 @@ $card-preview-zoom-bottom-offset: 6rem;
display: inline-block;
}

&__label {
display: inline-block;
}

+ .definitionList {
margin-top: spacing("quarter");
}
Expand Down
78 changes: 30 additions & 48 deletions assets/scss/components/stencil/heroCarousel/_heroCarousel.scss
Expand Up @@ -42,15 +42,6 @@
}
}

// for IE
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
opacity: 0;

&.slick-initialized {
opacity: 1;
}
}

&:not(.slick-initialized) :not(.heroCarousel-slide--first).heroCarousel-slide {
display: none;
}
Expand Down Expand Up @@ -222,6 +213,36 @@
background-size: contain;
}
}

.slick-slide {
&.is-square-image-type {
.heroCarousel-image-wrapper {
height: 100vw;
}
}

&.is-vertical-image-type {
.heroCarousel-image-wrapper {
height: 110vw;
}
}

&.is-square-image-type,
&.is-vertical-image-type {
.heroCarousel-image-wrapper {
@include breakpoint("small") {
height: 56.25vw;
}
}
}

&.is-image-error {
.heroCarousel-image-wrapper {
background: url("../img/hero-carousel-image-load-error.svg") center center no-repeat;
background-size: contain;
}
}
}
}

.heroCarousel-slide {
Expand Down Expand Up @@ -358,42 +379,3 @@
.heroCarousel-action {
margin: spacing("single") 0 0;
}

.heroCarousel-play-pause-button {
position: absolute;
left: 15px;
bottom: spacing("third");
height: 32px;
min-width: 60px;
max-width: 60px;
font-size: 14px;
line-height: 1.25;
font-weight: 700;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
color: $slick-play-pause-button-color;
transition: color 100ms ease-out;
z-index: zIndex("lowest");
border: 1px solid $slick-play-pause-button-borderColor;
@include carouselOpaqueBackgrounds($slick-play-pause-button-bgColor);

@media (min-width: 375px) {
min-width: 80px;
max-width: 90px;
}

@include breakpoint("small") {
max-width: 150px;
font-size: 18px;
}

@include breakpoint("medium") {
left: 25px;
bottom: spacing("single");
}

&:hover {
color: $slick-play-pause-button-color-hover;
}
}
18 changes: 18 additions & 0 deletions assets/scss/components/stencil/navPages/_navPages.scss
Expand Up @@ -227,6 +227,24 @@
}
}

&.is-open,
.collapsible-icon-wrapper.is-open {
svg {
fill: $navPage-subMenu-item--is-highlighted-color;
stroke: $navPage-subMenu-item--is-highlighted-color;
}
}

&:hover,
&.activePage {
color: $navPage-subMenu-item--is-highlighted-color;

svg {
fill: $navPage-subMenu-item--is-highlighted-color;
stroke: $navPage-subMenu-item--is-highlighted-color;
}
}

// turn a highlight into a button
&.highlightPage {
background-color: black;
Expand Down
19 changes: 15 additions & 4 deletions assets/scss/components/stencil/productView/_productView.scss
Expand Up @@ -55,7 +55,7 @@
@include lazy-loaded-img;
/* Object-fit polyfill */
font-family: "object-fit: contain;";
max-height: 100%;
height: 100%;
object-fit: contain;
width: 100%;
}
Expand Down Expand Up @@ -102,8 +102,7 @@

.productView-thumbnail {
@include grid-column(3);
padding-left: spacing("quarter");
padding-right: spacing("quarter");
padding: spacing("quarter");
text-align: center;

@include breakpoint("large") {
Expand All @@ -114,7 +113,7 @@
.productView-thumbnail-link {
border: container("border");
box-sizing: content-box;
display: inline-flex;
display: flex;
height: 67px;
justify-content: center;
max-width: 75px;
Expand Down Expand Up @@ -271,6 +270,10 @@
color: stencilColor("color-textSecondary--hover");
}

&:hover {
color: stencilColor("color-textSecondary--hover");
}

&--new {
padding: 0;
}
Expand Down Expand Up @@ -434,6 +437,10 @@
width: auto;
}

@include breakpoint("medium") {
width: auto;
}

@include breakpoint("large") {
margin-right: spacing("half");
}
Expand All @@ -450,6 +457,10 @@
.button--primary {
margin-right: spacing("half");
}

.button--primary {
margin-right: spacing("half");
}
}
}

Expand Down

0 comments on commit 20ea078

Please sign in to comment.