Skip to content

Commit

Permalink
Cornerstone update 6.6.1 (#59)
Browse files Browse the repository at this point in the history
* 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

* fix(storefront): BCTHEME-912 Admin Bar displays regardless of setting (bigcommerce#2144)

* fix(storefront): BCTHEME-494 Translation Gap: Checkbox Option selection on Product. (bigcommerce#2063)

* Replace schema microdata with LD+JSON tag (bigcommerce#2138)

* fix(storefront): BCTHEME-940 optimize usage of jsTree library (bigcommerce#2145)

* BCTHEME-958: Translation updates November 2021 (bigcommerce#2146)

* fix(storefront): BCTHEME-944 Tooltip on close button of modal is shifted (bigcommerce#2148)

* fix(storefront): BCTHEME-964 Loading unnecessary product lqip images on cart page (bigcommerce#2149)

* Releasing 6.2.0-rc.1

* Releasing 6.2.0

* fix(storefront): BCTHEME-965 Update stencil-utils package (bigcommerce#2157)

* fix(storefront): BCTHEME-1018 Cornerstone performance optimizations: remove unused fonts. (bigcommerce#2176)

* fix(storefront): BCTHEME-991 Cornerstone performance optimizations: blocking scripts delaying DomContentLoaded. (bigcommerce#2158)

* fix(storefront): BCTHEME-997 Translation updates February 2022. (bigcommerce#2177)

* fix(storefront): BCTHEME-806 Password complexity error message does not reflect the requirements set in the store settings (bigcommerce#2117)

* fix(storefront): Remove Compare Form (bigcommerce#2162)

* feat(customers): CUST-1837 Add reCAPTCHA to password reset for Corner… (bigcommerce#2164)

* Update blog component to use H1 tags on posts (bigcommerce#2179)

* build(deps): bump tar from 2.2.1 to 2.2.2 (bigcommerce#2173)

* build(deps): bump ws from 6.2.1 to 6.2.2 (bigcommerce#2174)

* Releasing 6.3.0-rc.1

* Releasing 6.3.0

* fix(storefront): BCTHEME-1006 When price list price is set for currency, the cart does not respect product's price (bigcommerce#2190)

* fix(storefront): BCTHEME-1038 Remove adminBar (bigcommerce#2191)

* Remove translations for adminBar component (bigcommerce#2196)

* fix(storefront): BCTHEME-982 Search results containing % symbol result in errored page. (bigcommerce#2205)

* fix(storefront): BCTHEME-909 Social media icons failing wave scan with Empty Link. (bigcommerce#2202)

* fix(storefront): BCTHEME-963 Reviews form not submitting after quick view opening on PDP. (bigcommerce#2201)

* fix(storefront): BCTHEME-1074 Apply security updates (April 2022) (bigcommerce#2200)

* fix(storefront): BCTHEME-961 Stored Payment Methods form can be submitted without selecting a Country (bigcommerce#2194)

* fix(storefront): BCTHEME-1043 Remove sweetAlert (bigcommerce#2189)

* build(deps-dev): bump grunt from 1.3.0 to 1.5.2 (bigcommerce#2206)

* build(deps): bump minimist from 1.2.5 to 1.2.6 (bigcommerce#2207)

* Add api host to github action examples (bigcommerce#2161)

* fix(storefront): BCTHEME-1037 Remove nanobar (bigcommerce#2192)

* fix(storefront): BCTHEME-990 Product image not shown in Pinterest preview if not signed in (bigcommerce#2203)

* feat(orders): ORDERS-3932 Changes to allow pickup details to be displayed in storefront (bigcommerce#2199)

* fix(storefront): BCTHEME-1083 Translation updates April 2022 (bigcommerce#2204)

* Bump GitHub Actions to use node 14 (bigcommerce#2208)

* Releasing 6.4.0-rc.1

* Remove adminBar translations from da/no lang files (bigcommerce#2209)

* Releasing 6.4.0-rc.2

* Releasing 6.4.0

* fix(storefront): BCTHEME-1089 Incorrect handling of unsuccessful item removing from cart on the Cart page. (bigcommerce#2211)

* Releasing 6.4.1-rc.1

* Releasing 6.4.1

* feat(bctheme): BCTHEME-1103 Add lang attribute to html tag in checkout

* fix(storefront): BCTHEME-1110 Product pick list "none" is not selected by default when displaying without images

* fix(storefront): BCTHEME-1014 Blog Pages Do Not Include Link Rel Next/Prev Tags (bigcommerce#2214)

* feat(orders) ORDERS-4645 Add pickup to storefront order invoice

* feat(orders) ORDERS-4645 Minor formatting update

* feat(orders) ORDERS-4645 Update changelog

* build(deps): bump jpeg-js from 0.4.3 to 0.4.4

Bumps [jpeg-js](https://github.com/eugeneware/jpeg-js) from 0.4.3 to 0.4.4.
- [Release notes](https://github.com/eugeneware/jpeg-js/releases)
- [Commits](jpeg-js/jpeg-js@v0.4.3...v0.4.4)

---
updated-dependencies:
- dependency-name: jpeg-js
  dependency-type: indirect
...

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

* fix(payments): INT-5290 Fix Payment Methods to show stored Bank Accounts

* fix(storefront): BCTHEME-1115 Incorrect translation displaying in Home Page Carousel for da, sv and no. (bigcommerce#2224)

* fix(storefront): BCTHEME-1061 Category icons do not appear in Search Form. (bigcommerce#2221)

* fix(storefront): BCTHEME-1090 "None" modifier option is displayed as selected even if there is default modifier option (bigcommerce#2227)

* Moved custom_fields loop in its own component (bigcommerce#2222)

* build(deps-dev): bump grunt from 1.5.2 to 1.5.3 (bigcommerce#2217)

* updated changelog

* Releasing 6.5.0-rc.1

* Releasing 6.5.0

* Bump webpack-bundle-analyzer

* fix(storefront): BCTHEME-1092 Make screen reader say all errors then each error while tabbing

* fix(storefront): BCTHEME-1123 Incorrect translation key for Diners Club card type. (bigcommerce#2237)

* fix(storefront): BCTHEME-1125 Cannot Vault 16-digit Diners Club cards - creditcards module version is out of date. (bigcommerce#2239)

* fix(storefront): BCTHEME-1076 Unable to navigate to home page from search results page after clicking Back button on browser. (bigcommerce#2238)

* fix(storefront): BCTHEME-1094 Make screen reader say all errors on account edit page

* fix(storefront): BCTHEME-1093 Make screen reader say all errors on message page

* feat(payment): PAYPAL-1579 added wallet buttons component for product details and quick view

* fix(storefront): BCTHEME-1077 clarify customer order pagination (bigcommerce#2241)

* fix(storefront): BCTHEME-1185 fixed escaping on created store account confirm message (bigcommerce#2248)

* build(deps): bump terser from 4.8.0 to 4.8.1

Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

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

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

* Add global region at the bottom of the navigation (bigcommerce#2231)

Currently, it's not possible to add a widget to a global region within the header. The only available region is "header_bottom--global" which is in the header template so is on all pages but is actually outside of the <header> element.

This region is useful for widgets that replace the navigation.

Co-authored-by: Volodymyr Krasnoshapka <88093058+BC-krasnoshapka@users.noreply.github.com>

* BCTHEME-1209 Default image defined in config.json is not rendering on blog pages (bigcommerce#2253)

fix(storefront): BCTHEME-1209 pass theme settings from blog page to blog post template.

* Bump jQuery to 3.6.1

* feat(payment): PAYPAL-1474 added an ID for 'Check out' button and added extra container to render Accelerated Checkout in

* fix(storefront): BCTHEME-1203 Translations update September 2022 (bigcommerce#2258)

* Reduce lodash usage (bigcommerce#2256)

Co-authored-by: Volodymyr Krasnoshapka <88093058+BC-krasnoshapka@users.noreply.github.com>

* feat(payment): PAYPAL-1654 add styling config for the PayPal Accelerated Checkout button

* feat(storefront): STRF-10018 Bump stencil utils with BODL events: Add to Cart and Remove from Cart (bigcommerce#2252)

Co-authored-by: Volodymyr Krasnoshapka <88093058+BC-krasnoshapka@users.noreply.github.com>

* Fix "incorrect value type" for anonymous reviews in Google Search Console (bigcommerce#2255)

Co-authored-by: Volodymyr Krasnoshapka <88093058+BC-krasnoshapka@users.noreply.github.com>

* fix(storefront): STRF-10066 Fix broken add to cart button (bigcommerce#2259)

* Releasing 6.6.0-rc.1

* Releasing 6.6.0-rc.2

* fix(payment) STRIPE-87 Add unionpay img to be display on custumers account. (bigcommerce#2260)

* fix(payment) STRIPE-87 Add unionpay img to be display on custumers account

* Update CHANGELOG

* feat(payments): PAYPAL-1345 adding button settings to the page builder (bigcommerce#2212)

* Releasing 6.6.0-rc.3

* Releasing 6.6.0

* Revert BCTHEME-1185 (bigcommerce#2263)

* Releasing 6.6.1

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: BC-tymurbiedukhin <66319629+BC-tymurbiedukhin@users.noreply.github.com>
Co-authored-by: Tymur Biedukhin <tymur.biedukhin@bigcommerce.com>
Co-authored-by: yurytut1993 <66325265+yurytut1993@users.noreply.github.com>
Co-authored-by: Alex Saiannyi <67792608+bc-alexsaiannyi@users.noreply.github.com>
Co-authored-by: Yurii Zusik <yurii.zusik@bigcommerce.com>
Co-authored-by: Nataliya Solyanik <nataliya.solyanik@bigcommerce.com>
Co-authored-by: Kevin Wang <kwang30@gmail.com>
Co-authored-by: David Huynh <david.huynh@bigcommerce.com>
Co-authored-by: Nathan Booker <bookernath@users.noreply.github.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: Nathan Booker <nathan.booker@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: jairo-bc <68893868+jairo-bc@users.noreply.github.com>
Co-authored-by: alex.saiannyi <alexander.saiannyi@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>
Co-authored-by: Matthew Coy <47044676+mattcoy-arcticleaf@users.noreply.github.com>
Co-authored-by: BC-Chkalov-Valerii <92578518+BC-Chkalov-Valerii@users.noreply.github.com>
Co-authored-by: “bc-yevhenii-buliuk” <“yevhenii.buliuk@bigcommerce.com”>
Co-authored-by: Matthew Coy <matt.coy@arcticleaf.io>
Co-authored-by: Hunter Leachman <hunter.leachman@bigcommerce.com>
Co-authored-by: Steve Ross <297351+steve-ross@users.noreply.github.com>
Co-authored-by: Munjal Munshi <92066753+bc-munjal@users.noreply.github.com>
Co-authored-by: Vlad Dlogush <vladyslav.dlohush@bigcommerce.com>
Co-authored-by: Jordan Arldt <jordan.arldt@bigcommerce.com>
Co-authored-by: Willem Homan <willem.homan@bigcommerce.com>
Co-authored-by: Abraham Martinez <abraham.martinez@bigcommerce.com>
Co-authored-by: Giacomo Mirabassi <447940+giacmir@users.noreply.github.com>
Co-authored-by: Albert Singh <albert.singh@bigcommerce.com>
Co-authored-by: serhii.tkachenko <serhii.tkachenko@bigcommerce.com>
Co-authored-by: Tom Robertshaw <me@tomrobertshaw.net>
Co-authored-by: Volodymyr Krasnoshapka <88093058+BC-krasnoshapka@users.noreply.github.com>
Co-authored-by: Oleg Kovalenko <oleg.kovalenko@bigcommerce.com>
Co-authored-by: Christian Erick Contreras <eri89--@hotmail.com>
Co-authored-by: Andrii Fetisov <54856617+bc-fetisov@users.noreply.github.com>
  • Loading branch information
Show file tree
Hide file tree
Showing 74 changed files with 14,041 additions and 10,061 deletions.
34 changes: 34 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,39 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Draft

## 6.6.1 (09-14-2022)

## 6.6.0 (09-13-2022)
- Add unionpay img to be display on custumers account. [#2260](https://github.com/bigcommerce/cornerstone/pull/2260)
- Translations update September 2022. [#2258](https://github.com/bigcommerce/cornerstone/issues/2258)
- Unable to navigate to home page from search results page after clicking Back button on browser. [#2238](https://github.com/bigcommerce/cornerstone/issues/2238)
- Cannot Vault 16-digit Diners Club cards - creditcards module version is out of date [#2239](https://github.com/bigcommerce/cornerstone/issues/2239)
- Incorrect translation key for Diners Club card type. [#2237](https://github.com/bigcommerce/cornerstone/issues/2237).
- Make screen reader say error messages when editing customer account. [#2233](https://github.com/bigcommerce/cornerstone/pull/2233)
- On customer message page, screen reader should say each error [#2234]https://github.com/bigcommerce/cornerstone/pull/2234
- Bump webpack-bundle-analyzer [#2229]https://github.com/bigcommerce/cornerstone/pull/2229
- Make screen reader say all errors then each error while tabbing. [#2230]https://github.com/bigcommerce/cornerstone/pull/2230
- Clarify customer order pagination. [#2241]https://github.com/bigcommerce/cornerstone/pull/2241
- Bump stencil utils with BODL events: Add to Cart and Remove from Cart [#2252]https://github.com/bigcommerce/cornerstone/pull/2252
- Add global region below the navigation in the header [#2231](https://github.com/bigcommerce/cornerstone/pull/2231)
- Pass theme settings from blog page to blog post template. [#2253]https://github.com/bigcommerce/cornerstone/pull/2253
- Bump jQuery to 3.6.1. [#2250](https://github.com/bigcommerce/cornerstone/issues/2250)
- Fix "incorrect value type" for anonymous reviews in Google Search Console [#2255]https://github.com/bigcommerce/cornerstone/pull/2255
- Reduce lodash usage [#2256]https://github.com/bigcommerce/cornerstone/pull/2256
- Bump stencil utils to 6.12.1: fix broken add to cart button [#2259]https://github.com/bigcommerce/cornerstone/pull/2259
- Add smart buttons attributes for various payment providers in Page builder [#2212]https://github.com/bigcommerce/cornerstone/pull/2212

## 6.5.0 (06-24-2022)
- Category icons do not appear in Search Form [#2221]https://github.com/bigcommerce/cornerstone/pull/2221
- Incorrect translation displaying in Home Page Carousel for da, sv and no. [#2224]https://github.com/bigcommerce/cornerstone/pull/2224
- Blog Pages Do Not Include Link Rel Next/Prev Tags. [#2214](https://github.com/bigcommerce/cornerstone/issues/2214).
- Add lang attribute to html tag to improve checkout accesibility [#2210]https://github.com/bigcommerce/cornerstone/pull/2210
- Moved custom_fields loop to a dedicated component [#2222](https://github.com/bigcommerce/cornerstone/pull/2222)
- "None" modifier option is displayed as selected even if there is default modifier option [#2227]https://github.com/bigcommerce/cornerstone/pull/2227
- Add pickups to storefront invoice [#2216](https://github.com/bigcommerce/cornerstone/pull/2216)
- Fixed The stored bank account was not displayed in the "payment methods" section [#2225](https://github.com/bigcommerce/cornerstone/pull/2225)
- Fixed "None" not being selected by default on unrequired Pick Lists without images [#2215](https://github.com/bigcommerce/cornerstone/pull/2215)

## 6.4.1 (05-16-2022)
- Incorrect handling of unsuccessful item removing from cart on the Cart page. [#2211](https://github.com/bigcommerce/cornerstone/issues/2211)

Expand Down Expand Up @@ -67,6 +100,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- 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)
- Added styling config for the PayPal Accelerated Checkout button [#2254](https://github.com/bigcommerce/cornerstone/pull/2254)

## 6.0.0 (08-06-2021)
- Translation mechanism for config.json has been updated. [#2089](https://github.com/bigcommerce/cornerstone/pull/2089)
Expand Down
File renamed without changes
1 change: 1 addition & 0 deletions assets/img/payment-methods/unionpay.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 6 additions & 2 deletions assets/js/theme/account.js
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ export default class Account extends PageManager {
const formEditSelector = 'form[data-edit-account-form]';
const editValidator = nod({
submit: '${formEditSelector} input[type="submit"]',
tap: announceInputErrorMessage,
delay: 0,
});
const emailSelector = `${formEditSelector} [data-field-type="EmailAddress"]`;
const $emailElement = $(emailSelector);
Expand Down Expand Up @@ -396,13 +396,15 @@ export default class Account extends PageManager {
}

event.preventDefault();
const earliestError = $('span.form-inlineMessage:first').prev('input');
earliestError.focus();
});
}

registerInboxValidation($inboxForm) {
const inboxValidator = nod({
submit: 'form[data-inbox-form] input[type="submit"]',
tap: announceInputErrorMessage,
delay: 0,
});

inboxValidator.add([
Expand Down Expand Up @@ -443,6 +445,8 @@ export default class Account extends PageManager {
}

event.preventDefault();
const earliestError = $('span.form-inlineMessage:first').prev('input');
earliestError.focus();
});
}
}
21 changes: 13 additions & 8 deletions assets/js/theme/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export default class Auth extends PageManager {
const validationModel = validation($createAccountForm, this.context);
const createAccountValidator = nod({
submit: `${this.formCreateSelector} input[type='submit']`,
tap: announceInputErrorMessage,
delay: 0,
});
const $stateElement = $('[data-field-type="State"]');
const emailSelector = `${this.formCreateSelector} [data-field-type='EmailAddress']`;
Expand Down Expand Up @@ -170,15 +170,20 @@ export default class Auth extends PageManager {
);
}

$createAccountForm.on('submit', event => {
createAccountValidator.performCheck();
$createAccountForm.on('submit', (event) => {
this.submitAction(event, createAccountValidator);
});
}

if (createAccountValidator.areAll('valid')) {
return;
}
submitAction(event, validator) {
validator.performCheck();

event.preventDefault();
});
if (validator.areAll('valid')) {
return;
}
event.preventDefault();
const earliestError = $('span.form-inlineMessage:first').prev('input');
earliestError.focus();
}

/**
Expand Down
6 changes: 3 additions & 3 deletions assets/js/theme/common/faceted-search.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ class FacetedSearch {
const id = $navList.attr('id');

// Toggle depending on `collapsed` flag
if (_.includes(this.collapsedFacetItems, id)) {
if (this.collapsedFacetItems.includes(id)) {
this.getMoreFacetResults($navList);

return true;
Expand Down Expand Up @@ -275,7 +275,7 @@ class FacetedSearch {
$navLists.each((index, navList) => {
const $navList = $(navList);
const id = $navList.attr('id');
const shouldCollapse = _.includes(this.collapsedFacetItems, id);
const shouldCollapse = this.collapsedFacetItems.includes(id);

if (shouldCollapse) {
this.collapseFacetItems($navList);
Expand All @@ -292,7 +292,7 @@ class FacetedSearch {
const $accordionToggle = $(accordionToggle);
const collapsible = $accordionToggle.data('collapsibleInstance');
const id = collapsible.targetId;
const shouldCollapse = _.includes(this.collapsedFacets, id);
const shouldCollapse = this.collapsedFacets.includes(id);

if (shouldCollapse) {
this.collapseFacet($accordionToggle);
Expand Down
4 changes: 1 addition & 3 deletions assets/js/theme/common/nod-functions/min-max-validate.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import _ from 'lodash';

function minMaxValidate(minInputSelector, maxInputSelector) {
function validate(cb) {
const minValue = parseFloat($(minInputSelector).val());
const maxValue = parseFloat($(maxInputSelector).val());

if (maxValue > minValue || _.isNaN(maxValue) || _.isNaN(minValue)) {
if (maxValue > minValue || Number.isNaN(maxValue) || Number.isNaN(minValue)) {
return cb(true);
}

Expand Down
7 changes: 3 additions & 4 deletions assets/js/theme/common/product-details-base.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import Wishlist from '../wishlist';
import { initRadioOptions } from './aria';
import { isObject, isNumber } from 'lodash';

const optionsTypesMap = {
INPUT_FILE: 'input-file',
Expand Down Expand Up @@ -214,11 +213,11 @@ export default class ProductDetailsBase {

this.showMessageBox(data.stock_message || data.purchasing_message);

if (isObject(data.price)) {
if (data.price instanceof Object) {
this.updatePriceView(viewModel, data.price);
}

if (isObject(data.weight)) {
if (data.weight instanceof Object) {
viewModel.$weight.html(data.weight.formatted);
}

Expand Down Expand Up @@ -246,7 +245,7 @@ export default class ProductDetailsBase {
}

// if stock view is on (CP settings)
if (viewModel.stock.$container.length && isNumber(data.stock)) {
if (viewModel.stock.$container.length && typeof data.stock === 'number') {
// if the stock container is hidden, show
viewModel.stock.$container.removeClass('u-hiddenVisually');

Expand Down
2 changes: 1 addition & 1 deletion assets/js/theme/common/state-country.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ function addOptions(statesArray, $selectElement, options) {
container.push(`<option value="">${statesArray.prefix}</option>`);

if (!_.isEmpty($selectElement)) {
_.each(statesArray.states, (stateObj) => {
statesArray.states.forEach((stateObj) => {
if (options.useIdForStates) {
container.push(`<option value="${stateObj.id}">${stateObj.name}</option>`);
} else {
Expand Down
2 changes: 1 addition & 1 deletion assets/js/theme/common/utils/form-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function classifyInput(input, formFieldClass) {
if (tagName === 'input') {
const inputType = $input.prop('type');

if (_.includes(['radio', 'checkbox', 'submit'], inputType)) {
if (['radio', 'checkbox', 'submit'].includes(inputType)) {
// ie: .form-field--checkbox, .form-field--radio
className = `${formFieldClass}--${_.camelCase(inputType)}`;
} else {
Expand Down
4 changes: 1 addition & 3 deletions assets/js/theme/global/quick-search.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import _ from 'lodash';
import utils from '@bigcommerce/stencil-utils';
import StencilDropDown from './stencil-dropdown';
import urlUtils from '../common/utils/url-utils';

export default function () {
const TOP_STYLING = 'top: 49px;';
Expand Down Expand Up @@ -88,7 +87,6 @@ export default function () {
return;
}

urlUtils.goToUrl(`${searchUrl}?search_query=${encodeURIComponent(searchQuery)}`);
window.location.reload();
window.location.href = `${searchUrl}?search_query=${encodeURIComponent(searchQuery)}`;
});
}
28 changes: 28 additions & 0 deletions assets/scss/components/foundation/dropdown/_dropdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,34 @@

.form-wishlist {
position: relative;

@include breakpoint("small") {
float: left;
padding: 0 remCalc(10);
width: 50%;
}

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

@include breakpoint("large") {
display: inline-block;
margin-top: 1rem;
}

.button {
width: 100%;

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

@include breakpoint("large") {
margin-right: spacing("half");
}
}
}

.dropdown-menu-button {
Expand Down
25 changes: 20 additions & 5 deletions assets/scss/components/stencil/cart/_cart.scss
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,10 @@ $card-preview-zoom-bottom-offset: 6rem;
display: inline-block;
}

&__label {
display: inline-block;
}

+ .definitionList {
margin-top: spacing("quarter");
}
Expand Down Expand Up @@ -556,14 +560,15 @@ $card-preview-zoom-bottom-offset: 6rem;
}
}

.cart-additionalCheckoutButtons {
@extend %additionalCheckoutButtons;
.cart-acceleratedCheckoutButtons {
align-items: end;
display: flex;
flex-direction: column;
width: 100%;
}

.previewCart-additionalCheckoutButtons {
.cart-additionalCheckoutButtons {
@extend %additionalCheckoutButtons;
padding-bottom: spacing("single");
padding-right: spacing("single");
}

// Cart Preview
Expand Down Expand Up @@ -700,3 +705,13 @@ $card-preview-zoom-bottom-offset: 6rem;
padding: spacing("double");
text-align: center;
}

.previewCart-acceleratedCheckoutButtons {
width: 100%;
}

.previewCart-additionalCheckoutButtons {
@extend %additionalCheckoutButtons;
padding-bottom: spacing("single");
padding-right: spacing("single");
}
30 changes: 30 additions & 0 deletions assets/scss/components/stencil/heroCarousel/_heroCarousel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,36 @@
}
}
}

.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

This file was deleted.

Loading

0 comments on commit 6eb97e0

Please sign in to comment.