Skip to content

Commit afc39c1

Browse files
bcomerfordyurytut1993bookernathBC-tymurbiedukhinbc-yevhenii-buliuk
authored
Cornerstone update 6.9.0 (#63)
* 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 * 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 --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: yurytut1993 <[email protected]> Co-authored-by: Yurii Zusik <[email protected]> Co-authored-by: Nathan Booker <[email protected]> Co-authored-by: Nathan Booker <[email protected]> Co-authored-by: BC-tymurbiedukhin <[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: Alex Saiannyi <[email protected]> Co-authored-by: Tymur Biedukhin <[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]> 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]>
1 parent c2ac40a commit afc39c1

Some content is hidden

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

59 files changed

+1662
-2283
lines changed

CHANGELOG.md

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

77
## Draft
88

9+
## 6.9.0 (03-03-2023)
10+
- Fix sold-out badge appearance [#2315](https://github.com/bigcommerce/cornerstone/pull/2315)
11+
- Remove xlink attributes on svg [#2322](https://github.com/bigcommerce/cornerstone/pull/2322)
12+
- Bump Stencil utils to 6.15.0 [#2327][https://github.com/bigcommerce/cornerstone/pull/2327]
13+
- form.serialize() ignores dropdown option elements that have the disabled attribute [#2326](https://github.com/bigcommerce/cornerstone/pull/2326)
14+
- Extended BigCommerce.accountPayments app initialization interface [#2317](https://github.com/bigcommerce/cornerstone/pull/2317)
15+
- Gift certificate CSS properties are applied to page after previewing Gift certificate on storefront [#2330](https://github.com/bigcommerce/cornerstone/pull/2330)
16+
- Translation Gap: Submit Return Request button [#2331](https://github.com/bigcommerce/cornerstone/pull/2331)
17+
918
## 6.8.0 (01-26-2023)
1019
- Add remote_api_scripts into cart/preview template to let GA3 snippet to fire the Product Added event, when clicking Add to cart button on Product detail page and rendering the response in popup. [#2281](https://github.com/bigcommerce/cornerstone/pull/2281)
1120
- Stored XSS within Wishlist creation.[#2289](https://github.com/bigcommerce/cornerstone/issues/2289)

assets/js/theme/account.js

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ export default class Account extends PageManager {
3636

3737
compareProducts(this.context);
3838

39-
compareProducts(this.context);
40-
4139
// Injected via template
4240
this.passwordRequirements = this.context.passwordRequirements;
4341

@@ -86,6 +84,20 @@ export default class Account extends PageManager {
8684
}
8785

8886
if ($bigCommerce && $bigCommerce.accountPayments) {
87+
const {
88+
countries,
89+
paymentsUrl,
90+
storeHash,
91+
storeLocale,
92+
vaultToken,
93+
shopperId,
94+
customerEmail,
95+
providerId,
96+
currencyCode,
97+
paymentMethodsUrl,
98+
paymentProviderInitializationData,
99+
} = this.context;
100+
89101
window.BigCommerce.accountPayments({
90102
widgetStyles: {
91103
base: {
@@ -106,7 +118,19 @@ export default class Account extends PageManager {
106118
color: 'green',
107119
},
108120
},
109-
countries: this.context.countries,
121+
initializeData: {
122+
countries,
123+
paymentsUrl,
124+
storeHash,
125+
storeLocale,
126+
vaultToken,
127+
shopperId,
128+
customerEmail,
129+
providerId,
130+
currencyCode,
131+
paymentMethodsUrl,
132+
paymentProviderInitializationData,
133+
},
110134
});
111135
}
112136

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

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,19 @@ export default class ProductDetailsBase {
9090
updateProductAttributes(data) {
9191
const behavior = data.out_of_stock_behavior;
9292
const inStockIds = data.in_stock_attributes;
93-
const outOfStockMessage = ` (${data.out_of_stock_message})`;
93+
const outOfStockDefaultMessage = this.context.outOfStockDefaultMessage;
94+
let outOfStockMessage = data.out_of_stock_message;
9495

9596
if (behavior !== 'hide_option' && behavior !== 'label_option') {
9697
return;
9798
}
9899

100+
if (outOfStockMessage) {
101+
outOfStockMessage = ` (${outOfStockMessage})`;
102+
} else {
103+
outOfStockMessage = ` (${outOfStockDefaultMessage})`;
104+
}
105+
99106
$('[data-product-attribute-value]', this.$scope).each((i, attribute) => {
100107
const $attribute = $(attribute);
101108
const attrId = parseInt($attribute.data('productAttributeValue'), 10);
@@ -407,7 +414,6 @@ export default class ProductDetailsBase {
407414
$select[0].selectedIndex = 0;
408415
}
409416
} else {
410-
$attribute.attr('disabled', 'disabled');
411417
$attribute.html($attribute.html().replace(outOfStockMessage, '') + outOfStockMessage);
412418
}
413419
}
@@ -416,7 +422,6 @@ export default class ProductDetailsBase {
416422
if (behavior === 'hide_option') {
417423
$attribute.toggleOption(true);
418424
} else {
419-
$attribute.prop('disabled', false);
420425
$attribute.html($attribute.html().replace(outOfStockMessage, ''));
421426
}
422427
}

assets/js/theme/global/modal.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,8 @@ export class Modal {
222222

223223
onModalClose() {
224224
$('body').removeClass(bodyActiveClass);
225+
226+
this.clearContent();
225227
}
226228

227229
onModalClosed() {

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,10 @@ $card-preview-zoom-bottom-offset: 6rem;
303303
display: inline-block;
304304
}
305305

306+
&__label {
307+
display: inline-block;
308+
}
309+
306310
+ .definitionList {
307311
margin-top: spacing("quarter");
308312
}

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,36 @@
423423
}
424424
}
425425
}
426+
427+
.slick-slide {
428+
&.is-square-image-type {
429+
.heroCarousel-image-wrapper {
430+
height: 100vw;
431+
}
432+
}
433+
434+
&.is-vertical-image-type {
435+
.heroCarousel-image-wrapper {
436+
height: 110vw;
437+
}
438+
}
439+
440+
&.is-square-image-type,
441+
&.is-vertical-image-type {
442+
.heroCarousel-image-wrapper {
443+
@include breakpoint("small") {
444+
height: 56.25vw;
445+
}
446+
}
447+
}
448+
449+
&.is-image-error {
450+
.heroCarousel-image-wrapper {
451+
background: url("../img/hero-carousel-image-load-error.svg") center center no-repeat;
452+
background-size: contain;
453+
}
454+
}
455+
}
426456
}
427457

428458
.heroCarousel-slide {

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,24 @@
335335
}
336336
}
337337

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+
338356
// turn a highlight into a button
339357
&.highlightPage {
340358
background-color: black;

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

Lines changed: 5 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -154,15 +154,6 @@
154154
margin-bottom: spacing("single") + spacing("third");
155155
}
156156
}
157-
158-
&.productView-options {
159-
margin-bottom: 0;
160-
padding-bottom: spacing("single") + spacing("third");
161-
}
162-
163-
&.product-options {
164-
overflow: hidden; // 1
165-
}
166157
}
167158

168159

@@ -298,6 +289,10 @@
298289
color: stencilColor("color-textSecondary--hover");
299290
}
300291

292+
&:hover {
293+
color: stencilColor("color-textSecondary--hover");
294+
}
295+
301296
&--new {
302297
padding: 0;
303298
}
@@ -368,16 +363,13 @@
368363

369364
.productView-options {
370365
@include clearfix;
366+
margin-bottom: spacing("single");
371367
text-align: center;
372368

373369
@include breakpoint("small") {
374370
text-align: left;
375371
}
376372

377-
@include breakpoint("medium") {
378-
margin-bottom: spacing("single");
379-
}
380-
381373
.form-input[type="number"] {
382374
@include breakpoint("small") {
383375
width: grid-calc(2, $total-columns);
@@ -476,34 +468,10 @@
476468
text-decoration: underline;
477469
vertical-align: middle;
478470
width: 100%;
479-
}
480-
481-
&:hover {
482-
color: stencilColor("color-textSecondary--hover");
483-
}
484-
485-
@include breakpoint("medium") {
486-
width: auto;
487-
}
488-
489-
&:hover {
490-
color: stencilColor("color-textSecondary--hover");
491-
}
492471

493472
&:hover {
494473
color: stencilColor("color-textSecondary--hover");
495474
}
496-
497-
.button--primary {
498-
margin-right: spacing("half");
499-
}
500-
501-
.button--primary {
502-
margin-right: spacing("half");
503-
}
504-
505-
.button--primary {
506-
margin-right: spacing("half");
507475
}
508476
}
509477
}

assets/scss/layouts/products/_productSaleBadges.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,10 @@
225225
background: stencilColor("color_hover_product_sold_out_badges");
226226
}
227227

228+
.product:hover .sold-out-flag-sash {
229+
background: stencilColor("color_hover_product_sold_out_badges");
230+
}
231+
228232
.product {
229233
overflow: hidden;
230234
}

config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Midwest Nice",
3-
"version": "6.8.0",
3+
"version": "6.9.0",
44
"template_engine": "handlebars_v4",
55
"meta": {
66
"price": 0,

0 commit comments

Comments
 (0)