Skip to content

Commit 6eb97e0

Browse files
bcomerfordBC-tymurbiedukhinyurytut1993bc-alexsaiannyibc-nataliya
authored
Cornerstone update 6.6.1 (#59)
* 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 <[email protected]> * 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] <[email protected]> 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] <[email protected]> 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] <[email protected]> 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] <[email protected]> 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] <[email protected]> * 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] <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * Fix "incorrect value type" for anonymous reviews in Google Search Console (bigcommerce#2255) Co-authored-by: Volodymyr Krasnoshapka <[email protected]> * 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] <[email protected]> Co-authored-by: BC-tymurbiedukhin <[email protected]> Co-authored-by: Tymur Biedukhin <[email protected]> Co-authored-by: yurytut1993 <[email protected]> Co-authored-by: Alex Saiannyi <[email protected]> Co-authored-by: Yurii Zusik <[email protected]> Co-authored-by: Nataliya Solyanik <[email protected]> Co-authored-by: Kevin Wang <[email protected]> Co-authored-by: David Huynh <[email protected]> Co-authored-by: Nathan Booker <[email protected]> Co-authored-by: bc-krishsenthilraj <[email protected]> Co-authored-by: Senthil Krishnasamy <[email protected]> Co-authored-by: Nathan Booker <[email protected]> Co-authored-by: Yevhenii Buliuk <[email protected]> Co-authored-by: sacr3dc0w <[email protected]> Co-authored-by: Andrii Vitvitskyi <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: bc-vlad-dlogush <[email protected]> Co-authored-by: Jairo Panduro <[email protected]> Co-authored-by: jairo-bc <[email protected]> Co-authored-by: alex.saiannyi <[email protected]> Co-authored-by: Alex Rowley <[email protected]> Co-authored-by: Matt Hill <[email protected]> Co-authored-by: Vitaliy Koshovyi <[email protected]> Co-authored-by: Saurabh Gedam <[email protected]> Co-authored-by: Jordan Arldt <[email protected]> Co-authored-by: Volodymyr Krasnoshapka <[email protected]> Co-authored-by: Matthew Coy <[email protected]> Co-authored-by: BC-Chkalov-Valerii <[email protected]> Co-authored-by: “bc-yevhenii-buliuk” <“[email protected]”> Co-authored-by: Matthew Coy <[email protected]> Co-authored-by: Hunter Leachman <[email protected]> Co-authored-by: Steve Ross <[email protected]> Co-authored-by: Munjal Munshi <[email protected]> Co-authored-by: Vlad Dlogush <[email protected]> Co-authored-by: Jordan Arldt <[email protected]> Co-authored-by: Willem Homan <[email protected]> Co-authored-by: Abraham Martinez <[email protected]> Co-authored-by: Giacomo Mirabassi <[email protected]> Co-authored-by: Albert Singh <[email protected]> Co-authored-by: serhii.tkachenko <[email protected]> Co-authored-by: Tom Robertshaw <[email protected]> Co-authored-by: Volodymyr Krasnoshapka <[email protected]> Co-authored-by: Oleg Kovalenko <[email protected]> Co-authored-by: Christian Erick Contreras <[email protected]> Co-authored-by: Andrii Fetisov <[email protected]>
1 parent 5929ea2 commit 6eb97e0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+14041
-10061
lines changed

CHANGELOG.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,39 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## Draft
88

9+
## 6.6.1 (09-14-2022)
10+
11+
## 6.6.0 (09-13-2022)
12+
- Add unionpay img to be display on custumers account. [#2260](https://github.com/bigcommerce/cornerstone/pull/2260)
13+
- Translations update September 2022. [#2258](https://github.com/bigcommerce/cornerstone/issues/2258)
14+
- Unable to navigate to home page from search results page after clicking Back button on browser. [#2238](https://github.com/bigcommerce/cornerstone/issues/2238)
15+
- Cannot Vault 16-digit Diners Club cards - creditcards module version is out of date [#2239](https://github.com/bigcommerce/cornerstone/issues/2239)
16+
- Incorrect translation key for Diners Club card type. [#2237](https://github.com/bigcommerce/cornerstone/issues/2237).
17+
- Make screen reader say error messages when editing customer account. [#2233](https://github.com/bigcommerce/cornerstone/pull/2233)
18+
- On customer message page, screen reader should say each error [#2234]https://github.com/bigcommerce/cornerstone/pull/2234
19+
- Bump webpack-bundle-analyzer [#2229]https://github.com/bigcommerce/cornerstone/pull/2229
20+
- Make screen reader say all errors then each error while tabbing. [#2230]https://github.com/bigcommerce/cornerstone/pull/2230
21+
- Clarify customer order pagination. [#2241]https://github.com/bigcommerce/cornerstone/pull/2241
22+
- Bump stencil utils with BODL events: Add to Cart and Remove from Cart [#2252]https://github.com/bigcommerce/cornerstone/pull/2252
23+
- Add global region below the navigation in the header [#2231](https://github.com/bigcommerce/cornerstone/pull/2231)
24+
- Pass theme settings from blog page to blog post template. [#2253]https://github.com/bigcommerce/cornerstone/pull/2253
25+
- Bump jQuery to 3.6.1. [#2250](https://github.com/bigcommerce/cornerstone/issues/2250)
26+
- Fix "incorrect value type" for anonymous reviews in Google Search Console [#2255]https://github.com/bigcommerce/cornerstone/pull/2255
27+
- Reduce lodash usage [#2256]https://github.com/bigcommerce/cornerstone/pull/2256
28+
- Bump stencil utils to 6.12.1: fix broken add to cart button [#2259]https://github.com/bigcommerce/cornerstone/pull/2259
29+
- Add smart buttons attributes for various payment providers in Page builder [#2212]https://github.com/bigcommerce/cornerstone/pull/2212
30+
31+
## 6.5.0 (06-24-2022)
32+
- Category icons do not appear in Search Form [#2221]https://github.com/bigcommerce/cornerstone/pull/2221
33+
- Incorrect translation displaying in Home Page Carousel for da, sv and no. [#2224]https://github.com/bigcommerce/cornerstone/pull/2224
34+
- Blog Pages Do Not Include Link Rel Next/Prev Tags. [#2214](https://github.com/bigcommerce/cornerstone/issues/2214).
35+
- Add lang attribute to html tag to improve checkout accesibility [#2210]https://github.com/bigcommerce/cornerstone/pull/2210
36+
- Moved custom_fields loop to a dedicated component [#2222](https://github.com/bigcommerce/cornerstone/pull/2222)
37+
- "None" modifier option is displayed as selected even if there is default modifier option [#2227]https://github.com/bigcommerce/cornerstone/pull/2227
38+
- Add pickups to storefront invoice [#2216](https://github.com/bigcommerce/cornerstone/pull/2216)
39+
- Fixed The stored bank account was not displayed in the "payment methods" section [#2225](https://github.com/bigcommerce/cornerstone/pull/2225)
40+
- Fixed "None" not being selected by default on unrequired Pick Lists without images [#2215](https://github.com/bigcommerce/cornerstone/pull/2215)
41+
942
## 6.4.1 (05-16-2022)
1043
- Incorrect handling of unsuccessful item removing from cart on the Cart page. [#2211](https://github.com/bigcommerce/cornerstone/issues/2211)
1144

@@ -67,6 +100,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
67100
- Google AMP feature request - Add in release date info for preorder products. [#2107](https://github.com/bigcommerce/cornerstone/pull/2107)
68101
- Translation for states select field on account signup page. [#2105](https://github.com/bigcommerce/cornerstone/pull/2105)
69102
- Added description field below payment provider name on "My Account" -> "Payment Methods" page. [#2111](https://github.com/bigcommerce/cornerstone/pull/2111)
103+
- Added styling config for the PayPal Accelerated Checkout button [#2254](https://github.com/bigcommerce/cornerstone/pull/2254)
70104

71105
## 6.0.0 (08-06-2021)
72106
- Translation mechanism for config.json has been updated. [#2089](https://github.com/bigcommerce/cornerstone/pull/2089)
File renamed without changes.
Lines changed: 1 addition & 0 deletions
Loading

assets/js/theme/account.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ export default class Account extends PageManager {
318318
const formEditSelector = 'form[data-edit-account-form]';
319319
const editValidator = nod({
320320
submit: '${formEditSelector} input[type="submit"]',
321-
tap: announceInputErrorMessage,
321+
delay: 0,
322322
});
323323
const emailSelector = `${formEditSelector} [data-field-type="EmailAddress"]`;
324324
const $emailElement = $(emailSelector);
@@ -396,13 +396,15 @@ export default class Account extends PageManager {
396396
}
397397

398398
event.preventDefault();
399+
const earliestError = $('span.form-inlineMessage:first').prev('input');
400+
earliestError.focus();
399401
});
400402
}
401403

402404
registerInboxValidation($inboxForm) {
403405
const inboxValidator = nod({
404406
submit: 'form[data-inbox-form] input[type="submit"]',
405-
tap: announceInputErrorMessage,
407+
delay: 0,
406408
});
407409

408410
inboxValidator.add([
@@ -443,6 +445,8 @@ export default class Account extends PageManager {
443445
}
444446

445447
event.preventDefault();
448+
const earliestError = $('span.form-inlineMessage:first').prev('input');
449+
earliestError.focus();
446450
});
447451
}
448452
}

assets/js/theme/auth.js

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export default class Auth extends PageManager {
111111
const validationModel = validation($createAccountForm, this.context);
112112
const createAccountValidator = nod({
113113
submit: `${this.formCreateSelector} input[type='submit']`,
114-
tap: announceInputErrorMessage,
114+
delay: 0,
115115
});
116116
const $stateElement = $('[data-field-type="State"]');
117117
const emailSelector = `${this.formCreateSelector} [data-field-type='EmailAddress']`;
@@ -170,15 +170,20 @@ export default class Auth extends PageManager {
170170
);
171171
}
172172

173-
$createAccountForm.on('submit', event => {
174-
createAccountValidator.performCheck();
173+
$createAccountForm.on('submit', (event) => {
174+
this.submitAction(event, createAccountValidator);
175+
});
176+
}
175177

176-
if (createAccountValidator.areAll('valid')) {
177-
return;
178-
}
178+
submitAction(event, validator) {
179+
validator.performCheck();
179180

180-
event.preventDefault();
181-
});
181+
if (validator.areAll('valid')) {
182+
return;
183+
}
184+
event.preventDefault();
185+
const earliestError = $('span.form-inlineMessage:first').prev('input');
186+
earliestError.focus();
182187
}
183188

184189
/**

assets/js/theme/common/faceted-search.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ class FacetedSearch {
165165
const id = $navList.attr('id');
166166

167167
// Toggle depending on `collapsed` flag
168-
if (_.includes(this.collapsedFacetItems, id)) {
168+
if (this.collapsedFacetItems.includes(id)) {
169169
this.getMoreFacetResults($navList);
170170

171171
return true;
@@ -275,7 +275,7 @@ class FacetedSearch {
275275
$navLists.each((index, navList) => {
276276
const $navList = $(navList);
277277
const id = $navList.attr('id');
278-
const shouldCollapse = _.includes(this.collapsedFacetItems, id);
278+
const shouldCollapse = this.collapsedFacetItems.includes(id);
279279

280280
if (shouldCollapse) {
281281
this.collapseFacetItems($navList);
@@ -292,7 +292,7 @@ class FacetedSearch {
292292
const $accordionToggle = $(accordionToggle);
293293
const collapsible = $accordionToggle.data('collapsibleInstance');
294294
const id = collapsible.targetId;
295-
const shouldCollapse = _.includes(this.collapsedFacets, id);
295+
const shouldCollapse = this.collapsedFacets.includes(id);
296296

297297
if (shouldCollapse) {
298298
this.collapseFacet($accordionToggle);

assets/js/theme/common/nod-functions/min-max-validate.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
import _ from 'lodash';
2-
31
function minMaxValidate(minInputSelector, maxInputSelector) {
42
function validate(cb) {
53
const minValue = parseFloat($(minInputSelector).val());
64
const maxValue = parseFloat($(maxInputSelector).val());
75

8-
if (maxValue > minValue || _.isNaN(maxValue) || _.isNaN(minValue)) {
6+
if (maxValue > minValue || Number.isNaN(maxValue) || Number.isNaN(minValue)) {
97
return cb(true);
108
}
119

assets/js/theme/common/product-details-base.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import Wishlist from '../wishlist';
22
import { initRadioOptions } from './aria';
3-
import { isObject, isNumber } from 'lodash';
43

54
const optionsTypesMap = {
65
INPUT_FILE: 'input-file',
@@ -214,11 +213,11 @@ export default class ProductDetailsBase {
214213

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

217-
if (isObject(data.price)) {
216+
if (data.price instanceof Object) {
218217
this.updatePriceView(viewModel, data.price);
219218
}
220219

221-
if (isObject(data.weight)) {
220+
if (data.weight instanceof Object) {
222221
viewModel.$weight.html(data.weight.formatted);
223222
}
224223

@@ -246,7 +245,7 @@ export default class ProductDetailsBase {
246245
}
247246

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

assets/js/theme/common/state-country.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ function addOptions(statesArray, $selectElement, options) {
8686
container.push(`<option value="">${statesArray.prefix}</option>`);
8787

8888
if (!_.isEmpty($selectElement)) {
89-
_.each(statesArray.states, (stateObj) => {
89+
statesArray.states.forEach((stateObj) => {
9090
if (options.useIdForStates) {
9191
container.push(`<option value="${stateObj.id}">${stateObj.name}</option>`);
9292
} else {

assets/js/theme/common/utils/form-utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function classifyInput(input, formFieldClass) {
4141
if (tagName === 'input') {
4242
const inputType = $input.prop('type');
4343

44-
if (_.includes(['radio', 'checkbox', 'submit'], inputType)) {
44+
if (['radio', 'checkbox', 'submit'].includes(inputType)) {
4545
// ie: .form-field--checkbox, .form-field--radio
4646
className = `${formFieldClass}--${_.camelCase(inputType)}`;
4747
} else {

0 commit comments

Comments
 (0)