Skip to content

Commit 84733bb

Browse files
bcomerfordyurytut1993bc-alexsaiannyibc-yevhenii-buliukBC-tymurbiedukhin
authored
Cornerstone update 6.12.0 (#66)
* 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 * feat(storefront): STRF-9829 Migrate Cornerstone to new "Hide Price From Guests" functionality * feat(payment): PAYPAL-1661 added Accelerated buttons container to PDP add to cart popup (bigcommerce#2264) * feat-payment): PAYPAL-1682 made PDP wallet buttons container hidden in cases when the product is not purchasable or out of stock (bigcommerce#2267) * feat(payment): PAYPAL-1695 updated PayPal Accelerated Checkout default button styles (bigcommerce#2268) * feat(payment): PAYPAL-1698 added extra wallet buttons logic for PDP page (bigcommerce#2270) * Allow quantity of "0" in cart to remove item * fix(payment): PAYPAL-1720 made initial product details data update if the form is valid on page load (bigcommerce#2271) * fix(storefront): BCTHEME-1185 fixed escaping on created store account confirm message (bigcommerce#2265) * Update key assets with preload headers * fix(storefront): BCTHEME-1213 prevent immediate validation (bigcommerce#2274) Co-authored-by: Volodymyr Krasnoshapka <[email protected]> * Releasing 6.7.0-rc.1 * Releasing 6.7.0 * feat(payments): PAYPAL-1781 Set Show PDP setting to true by default * Fixed en-CA translation warning in terminal * build(deps): bump loader-utils from 1.4.0 to 1.4.2 Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.2. - [Release notes](https://github.com/webpack/loader-utils/releases) - [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md) - [Commits](webpack/loader-utils@v1.4.0...v1.4.2) --- updated-dependencies: - dependency-name: loader-utils dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> * feat(storefront): STRF-10214 Add manual captcha field to contact-us form (bigcommerce#2290) * fix(storefront): STRF-10244 Fix PDP not respecting "quantity box" display settings (bigcommerce#2291) * build(deps): bump decode-uri-component from 0.2.0 to 0.2.2 Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2. - [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases) - [Commits](SamVerschueren/decode-uri-component@v0.2.0...v0.2.2) --- updated-dependencies: - dependency-name: decode-uri-component dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> * build(deps): bump minimatch from 3.0.4 to 3.0.8 Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/isaacs/minimatch/releases) - [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md) - [Commits](isaacs/minimatch@v3.0.4...v3.0.8) --- updated-dependencies: - dependency-name: minimatch dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> * fix(storefront): BCTHEME-1072 Stored XSS within Wishlist creation (bigcommerce#2289) * feat(payment): PAYPAL-1807 fix styles for SPB buttons * feat(payment): ADYEN-314 vaulting lib initialization * "feat(other): LOCAL-0 delivery translation on - 2022-12-12-15-07-10" * Revert "feat(payment): PAYPAL-1807 fix styles for SPB buttons" This reverts commit fd5af3d. * feat(payment): PAYPAL-1783 fix styles for wallet buttons * DATA-10380 Add remote_api_scripts into cart preview template (bigcommerce#2281) Co-authored-by: Volodymyr Krasnoshapka <[email protected]> * Releasing 6.8.0-rc.1 * Bump Stencil Utils to 6.13.0 (bigcommerce#2300) * fix(payment): PAYPAL-1863 deleted non-working code (bigcommerce#2301) * fix(payment): PAYPAL-1863 delete unnecessary code * fix(payment): PAYPAL-1863 fix after review * build(deps): bump json5 from 1.0.1 to 1.0.2 Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2. - [Release notes](https://github.com/json5/json5/releases) - [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md) - [Commits](json5/json5@v1.0.1...v1.0.2) --- updated-dependencies: - dependency-name: json5 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> * feat(storefront): STRF-10309 Refactor Cornerstone for show_cart_action behavior (bigcommerce#2304) * Releasing 6.8.0-rc.2 * feat(storefront): STRF-10056 Remove all amp related templates * fix(storefront)L: BCTHEME-1366 Customer order summary with both physical and digital items shows shipping as null (bigcommerce#2309) * fix(storefront): BCTHEME-1198 Product panels with scrolling/arrows prevent contextual menu on mobile devices (bigcommerce#2310) * STRF-10366 Webpack 5 (bigcommerce#2311) Co-authored-by: bc-vlad-dlogush <[email protected]> * Releasing 6.8.0-rc.3 * Releasing 6.8.0 * fix(storefont): BCTHEME-34 refactor svg attributes (bigcommerce#2322) * feat(payment): PAYPAL-1843 removed unnecessary block of code and coresponding styles * fix(storefront): bctheme-1171 fix sold-out badge appearance (bigcommerce#2315) * fix(storefront): BCTHEME-1184 form.serialize() ignores dropdown option elements that have the disabled attribute (bigcommerce#2326) * build(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1. - [Release notes](https://github.com/kornelski/http-cache-semantics/releases) - [Commits](kornelski/http-cache-semantics@v4.1.0...v4.1.1) --- updated-dependencies: - dependency-name: http-cache-semantics dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> * feat(payment): ADYEN-313 improved interface of payment widget * fix(storefront): BCTHEME-1112 Translation Gap: Submit Return Request button (bigcommerce#2331) * fix(storefront): BCTHEME-1346 Gift certificate CSS properties are applied to page after previewing Gift certificate on storefront (bigcommerce#2330) * build(deps): bump cacheable-request and lighthouse (bigcommerce#2332) Removes [cacheable-request](https://github.com/jaredwray/cacheable-request). It's no longer used after updating ancestor dependency [lighthouse](https://github.com/GoogleChrome/lighthouse). These dependencies need to be updated together. Removes `cacheable-request` Updates `lighthouse` from 8.5.1 to 10.0.0 - [Release notes](https://github.com/GoogleChrome/lighthouse/releases) - [Changelog](https://github.com/GoogleChrome/lighthouse/blob/v10.0.0/changelog.md) - [Commits](GoogleChrome/lighthouse@v8.5.1...v10.0.0) --- updated-dependencies: - dependency-name: cacheable-request dependency-type: indirect - dependency-name: lighthouse dependency-type: direct:development ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: DATA-10695 Bump stencil-utils version (bigcommerce#2327) * feat(other): LOCAL-1444 delivery translation * Releasing 6.9.0-rc.1 * Releasing 6.9.0 * feat(payment): ADYEN-729 extended renderAccountPayments initilization interface, added styles * build(deps-dev): bump webpack from 5.75.0 to 5.76.0 Bumps [webpack](https://github.com/webpack/webpack) from 5.75.0 to 5.76.0. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](webpack/webpack@v5.75.0...v5.76.0) --- updated-dependencies: - dependency-name: webpack dependency-type: direct:development ... Signed-off-by: dependabot[bot] <[email protected]> * feat(payment): ADYEN-726 added showAlertModal to the renderAccountPayments initialization (bigcommerce#2338) * fix(storefront): BCTHEME-1461 A bug with the display of the product quantity on the PDP (bigcommerce#2340) * Releasing 6.10.0-rc.1 * Releasing 6.10.0 * refactor(payment): PAYPAL-2079 removed accelerated checkout integration from theme * ci(storefront): bctheme-00 use node 16 in github actions (bigcommerce#2346) ci(storefront): bctheme-00 use node 16 in github actions * fix(storefront): BCTHEME-1326 Running Lighthouse npm script fails in terminal (bigcommerce#2345) * feat(other): LOCAL-1444 delivery translation * feat(payment): PAYPAL-2195 added classes for applepay button * fix(storefront): STRF-10416 - Updates the 'description' in a product schema to no longer use url encoding. The url encoding was resulting in undesired encoded characters showing up in places the description was used, like when linking a product to pinterest. * fix(storefront): BCTHEME-1420 If the gift is a variant, the button Change shows in cart, and other variant are visible (bigcommerce#2349) * feat(payment): BOLT-576 Add Bolt SPB support to cornerstone * fix(storefront): Remove default whitespace from multiline input (bigcommerce#2355) * Remove extra spaces from multiline input * Update CHANGELOG.md --------- Co-authored-by: Volodymyr Krasnoshapka <[email protected]> * fix(checkout): CHECKOUT-7213 refresh cart page if no item in the cart (bigcommerce#2360) * fix(checkout): CHECKOUT-7213 refresh cart page if no item in the cart * docs(checkout): CHECKOUT-7213 add change log * fix(storefront): BCTHEME-1473 reverting PR for BCTHEME-1171 (bigcommerce#2354) * feat(other): LOCAL-1444 delivery translation (bigcommerce#2358) * Releasing 6.11.0-rc.1 * Releasing 6.11.0 * feat(other): LOCAL-1444 delivery translation * fix(storefront): BCTHEME-1323 (sanitize product.description) in the theme results to ‘error length of description’ from Google indexing for lengthy product description (bigcommerce#2363) * feat(payment): PAYPAL-2039 added style configs to payment buttons (bigcommerce#2361) * chore: DATA-11047 Bump stencil-utils version * feat(payment): PAYPAL-2495 added ACH payment method section to My Account -> Payment Methods page (bigcommerce#2362) Co-authored-by: Volodymyr Krasnoshapka <[email protected]> * chore: DATA-11172 Populate data tags despite of data_tag_enabled setting * feat(other): LOCAL-1444 delivery translation * fix(storefront): BCTHEME-1679 sync package lock file (bigcommerce#2373) * fix(storefront): BCTHEME-1172 Stored payment method name is not visible in Cornerstone Bold theme style (bigcommerce#2371) * fix(storefront): BCTHEME-1633 Write a Review on product page shows blank pop up on second click (bigcommerce#2368) * fix(storefront): BCTHEME-1378 fix add product to cart on iphone x (iphone version 11) (bigcommerce#2370) * feat(other): LOCAL-1444 delivery translation * Releasing 6.12.0-rc.1 * Releasing 6.12.0 --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Yurii Zusik <[email protected]> Co-authored-by: alex.saiannyi <[email protected]> Co-authored-by: Yevhenii Buliuk <[email protected]> Co-authored-by: Alex Saiannyi <[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 Rowley <[email protected]> Co-authored-by: bc-vlad-dlogush <[email protected]> Co-authored-by: Andrii Vitvitskyi <[email protected]> Co-authored-by: Matt Hill <[email protected]> Co-authored-by: Vitaliy Koshovyi <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Saurabh Gedam <[email protected]> Co-authored-by: Jordan Arldt <[email protected]> Co-authored-by: Volodymyr Krasnoshapka <[email protected]> Co-authored-by: Nathan Booker <[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: sacr3dc0w <[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: Jairo <[email protected]> Co-authored-by: Christian Erick Contreras <[email protected]> Co-authored-by: Andrii Fetisov <[email protected]> Co-authored-by: Nathan Booker <[email protected]> Co-authored-by: Andrii Fetisov <[email protected]> Co-authored-by: bc-nick <[email protected]> Co-authored-by: Vitaliy Koshovyi <[email protected]> Co-authored-by: BC SVC Local <[email protected]> Co-authored-by: bc-nick <[email protected]> Co-authored-by: Roman Malyavchik <[email protected]> Co-authored-by: Vitaliy Koshovyi <[email protected]> Co-authored-by: Jason Zamora <[email protected]> Co-authored-by: Mykhailo Pavlenko <[email protected]> Co-authored-by: pvaladez <[email protected]> Co-authored-by: Mack XU <[email protected]> Co-authored-by: bc-svc-local <[email protected]> Co-authored-by: Mykola Dronov <[email protected]> Co-authored-by: bc-rmalyavc <[email protected]>
1 parent 876ce53 commit 84733bb

Some content is hidden

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

54 files changed

+2534
-613
lines changed

CHANGELOG.md

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

77
## Draft
88

9+
## 6.12.0 (07-06-2023)
10+
- sync package lock file [#2373](https://github.com/bigcommerce/cornerstone/pull/2373)
11+
- Stored payment method name is not visible in Cornerstone Bold theme style [#2371](https://github.com/bigcommerce/cornerstone/pull/2371)
12+
- (sanitize product.description) in the theme results to ‘error length of description’ from Google indexing for lengthy product description [#2363](https://github.com/bigcommerce/cornerstone/pull/2363)
13+
- Added style configs to payment buttons [#2361](https://github.com/bigcommerce/cornerstone/pull/2361)
14+
- Bump Stencil utils to 6.15.1 [#2365][https://github.com/bigcommerce/cornerstone/pull/2365]
15+
- Write a Review on product page shows blank pop up on second click. [#2368][https://github.com/bigcommerce/cornerstone/pull/2368]
16+
- Added ACH payment method section to My Account -> Payment Methods page [#2362](https://github.com/bigcommerce/cornerstone/pull/2362)
17+
- Remove data_tag_enabled check from everywhere [#2369][https://github.com/bigcommerce/cornerstone/pull/2369]
18+
- Fix add product to cart on iphone x (iphone version 11) [#2370][https://github.com/bigcommerce/cornerstone/pull/2370]
19+
920
## 6.11.0 (05-24-2023)
1021
- Reverted fix for sold-out badge appearance [#2354](https://github.com/bigcommerce/cornerstone/pull/2354)
1122
- If the gift is a variant, the button "Change" shows in cart, and other variant are visible [#2349](https://github.com/bigcommerce/cornerstone/pull/2349)

assets/img/payment-methods/ach.svg

Lines changed: 4 additions & 0 deletions
Loading

assets/js/polyfills.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import 'core-js/stable';
22
import 'regenerator-runtime/runtime';
3-
import 'whatwg-fetch';
43
import objectFitImages from 'object-fit-images';
54

65
require('formdata-polyfill');

assets/js/theme/gift-certificate.js

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,26 @@ export default class GiftCertificate extends PageManager {
171171
}
172172
});
173173

174+
const createFrame = (container, html) => {
175+
const frame = $('<iframe />').width('100%').attr('frameBorder', '0').appendTo(container)[0];
176+
177+
// Grab the frame's document object
178+
const frameDoc = frame.contentWindow ? frame.contentWindow.document : frame.contentDocument;
179+
180+
frameDoc.open();
181+
frameDoc.write(html);
182+
frameDoc.close();
183+
184+
// Calculate max height for the iframe
185+
const maxheight = Math.max(($(window).height() - 300), 300);
186+
187+
// Auto adjust the iframe's height once its document is ready
188+
$(frameDoc).ready(() => {
189+
const height = Math.min(frameDoc.body.scrollHeight + 20, maxheight);
190+
$(frame).height(height);
191+
});
192+
};
193+
174194
$('#gift-certificate-preview').click(event => {
175195
event.preventDefault();
176196

@@ -190,7 +210,10 @@ export default class GiftCertificate extends PageManager {
190210
return modal.updateContent(this.context.previewError);
191211
}
192212

193-
modal.updateContent(content, { wrap: true });
213+
modal.updateContent();
214+
215+
const container = $('#modal-content');
216+
createFrame(container, content);
194217
});
195218
});
196219
}

assets/scss/components/stencil/cart/_cart.scss

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,10 @@ $card-preview-zoom-bottom-offset: 6rem;
315315
display: inline-block;
316316
}
317317

318+
&__label {
319+
display: inline-block;
320+
}
321+
318322
+ .definitionList {
319323
margin-top: spacing("quarter");
320324
}
@@ -580,11 +584,8 @@ $card-preview-zoom-bottom-offset: 6rem;
580584
}
581585
}
582586

583-
.cart-acceleratedCheckoutButtons {
584-
align-items: end;
585-
display: flex;
586-
flex-direction: column;
587-
width: 100%;
587+
.cart-additionalCheckoutButtons {
588+
@extend %additionalCheckoutButtons;
588589
}
589590

590591
// Cart Preview

assets/scss/components/stencil/heroCarousel/_heroCarousel.scss

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,36 @@
513513
}
514514
}
515515
}
516+
517+
.slick-slide {
518+
&.is-square-image-type {
519+
.heroCarousel-image-wrapper {
520+
height: 100vw;
521+
}
522+
}
523+
524+
&.is-vertical-image-type {
525+
.heroCarousel-image-wrapper {
526+
height: 110vw;
527+
}
528+
}
529+
530+
&.is-square-image-type,
531+
&.is-vertical-image-type {
532+
.heroCarousel-image-wrapper {
533+
@include breakpoint("small") {
534+
height: 56.25vw;
535+
}
536+
}
537+
}
538+
539+
&.is-image-error {
540+
.heroCarousel-image-wrapper {
541+
background: url("../img/hero-carousel-image-load-error.svg") center center no-repeat;
542+
background-size: contain;
543+
}
544+
}
545+
}
516546
}
517547

518548
.heroCarousel-slide {

assets/scss/components/stencil/navPages/_navPages.scss

Lines changed: 0 additions & 126 deletions
Original file line numberDiff line numberDiff line change
@@ -227,132 +227,6 @@
227227
}
228228
}
229229

230-
&.is-open,
231-
.collapsible-icon-wrapper.is-open {
232-
svg {
233-
fill: $navPage-subMenu-item--is-highlighted-color;
234-
stroke: $navPage-subMenu-item--is-highlighted-color;
235-
}
236-
}
237-
238-
&:hover,
239-
&.activePage {
240-
color: $navPage-subMenu-item--is-highlighted-color;
241-
242-
svg {
243-
fill: $navPage-subMenu-item--is-highlighted-color;
244-
stroke: $navPage-subMenu-item--is-highlighted-color;
245-
}
246-
}
247-
248-
&.is-open,
249-
.collapsible-icon-wrapper.is-open {
250-
svg {
251-
fill: $navPage-subMenu-item--is-highlighted-color;
252-
stroke: $navPage-subMenu-item--is-highlighted-color;
253-
}
254-
}
255-
256-
&:hover,
257-
&.activePage {
258-
color: $navPage-subMenu-item--is-highlighted-color;
259-
260-
svg {
261-
fill: $navPage-subMenu-item--is-highlighted-color;
262-
stroke: $navPage-subMenu-item--is-highlighted-color;
263-
}
264-
}
265-
266-
&.is-open,
267-
.collapsible-icon-wrapper.is-open {
268-
svg {
269-
fill: $navPage-subMenu-item--is-highlighted-color;
270-
stroke: $navPage-subMenu-item--is-highlighted-color;
271-
}
272-
}
273-
274-
&:hover,
275-
&.activePage {
276-
color: $navPage-subMenu-item--is-highlighted-color;
277-
278-
svg {
279-
fill: $navPage-subMenu-item--is-highlighted-color;
280-
stroke: $navPage-subMenu-item--is-highlighted-color;
281-
}
282-
}
283-
284-
&.is-open,
285-
.collapsible-icon-wrapper.is-open {
286-
svg {
287-
fill: $navPage-subMenu-item--is-highlighted-color;
288-
stroke: $navPage-subMenu-item--is-highlighted-color;
289-
}
290-
}
291-
292-
&:hover,
293-
&.activePage {
294-
color: $navPage-subMenu-item--is-highlighted-color;
295-
296-
svg {
297-
fill: $navPage-subMenu-item--is-highlighted-color;
298-
stroke: $navPage-subMenu-item--is-highlighted-color;
299-
}
300-
}
301-
302-
&.is-open,
303-
.collapsible-icon-wrapper.is-open {
304-
svg {
305-
fill: $navPage-subMenu-item--is-highlighted-color;
306-
stroke: $navPage-subMenu-item--is-highlighted-color;
307-
}
308-
}
309-
310-
&:hover,
311-
&.activePage {
312-
color: $navPage-subMenu-item--is-highlighted-color;
313-
314-
svg {
315-
fill: $navPage-subMenu-item--is-highlighted-color;
316-
stroke: $navPage-subMenu-item--is-highlighted-color;
317-
}
318-
}
319-
320-
&.is-open,
321-
.collapsible-icon-wrapper.is-open {
322-
svg {
323-
fill: $navPage-subMenu-item--is-highlighted-color;
324-
stroke: $navPage-subMenu-item--is-highlighted-color;
325-
}
326-
}
327-
328-
&:hover,
329-
&.activePage {
330-
color: $navPage-subMenu-item--is-highlighted-color;
331-
332-
svg {
333-
fill: $navPage-subMenu-item--is-highlighted-color;
334-
stroke: $navPage-subMenu-item--is-highlighted-color;
335-
}
336-
}
337-
338-
&.is-open,
339-
.collapsible-icon-wrapper.is-open {
340-
svg {
341-
fill: $navPage-subMenu-item--is-highlighted-color;
342-
stroke: $navPage-subMenu-item--is-highlighted-color;
343-
}
344-
}
345-
346-
&:hover,
347-
&.activePage {
348-
color: $navPage-subMenu-item--is-highlighted-color;
349-
350-
svg {
351-
fill: $navPage-subMenu-item--is-highlighted-color;
352-
stroke: $navPage-subMenu-item--is-highlighted-color;
353-
}
354-
}
355-
356230
// turn a highlight into a button
357231
&.highlightPage {
358232
background-color: black;

assets/scss/components/stencil/paymentMethods/_paymentMethods.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080
}
8181

8282
&-brand {
83+
color: color("greys", "dark");
8384
font-size: fontSize("smallest");
8485
font-weight: fontWeight("semibold");
8586

assets/scss/components/stencil/productView/_productView.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,10 @@
301301
color: stencilColor("color-textSecondary--hover");
302302
}
303303

304+
&:hover {
305+
color: stencilColor("color-textSecondary--hover");
306+
}
307+
304308
&--new {
305309
padding: 0;
306310
}

assets/scss/layouts/products/_productSaleBadges.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,10 @@
237237
background: stencilColor("color_hover_product_sold_out_badges");
238238
}
239239

240+
.product:hover .sold-out-flag-sash {
241+
background: stencilColor("color_hover_product_sold_out_badges");
242+
}
243+
240244
.product {
241245
overflow: hidden;
242246
}

0 commit comments

Comments
 (0)