Skip to content

Commit

Permalink
Cornerstone update 6.11.0 (#65)
Browse files Browse the repository at this point in the history
* fix(storefront): BCTHEME-492 Translation Gap: Compare page fields (Description, Rating and Availability) (bigcommerce#2059)

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

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

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

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

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

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

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

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

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

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

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

* Update CHANGELOG.md

* Updated CHANGELOG.md for bigcommerce#2024

* Releasing 5.6.0-rc.1

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

* Releasing 5.6.0-rc.2

* Releasing 5.6.0

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

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

* Releasing 5.7.0

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

* Releasing 5.7.1

* Changelog format changes (bigcommerce#2092)

* add changelog requirements (bigcommerce#2080)

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

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

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

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

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

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

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

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

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

* Fix minor merge navigation issue

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

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

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

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

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

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

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

* Update translation mechanism for config.json values

* Releasing 6.0.0-rc.1

* Releasing 6.0.0

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

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

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

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

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

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

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

* Releasing 6.1.0-rc.1

* Releasing 6.1.0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

* Releasing 6.1.1-rc.1

* Releasing 6.1.1-rc.2

* Releasing 6.1.1

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

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

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

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

* Releasing 6.1.2-rc.1

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

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

* Releasing 6.1.2-rc.2

* Releasing 6.1.2

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

* Releasing 6.1.3-rc.1

* Releasing 6.1.3

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

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

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

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

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

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

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

* Releasing 6.2.0-rc.1

* Releasing 6.2.0

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

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

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

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

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

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

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

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

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

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

* Releasing 6.3.0-rc.1

* Releasing 6.3.0

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

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

* Remove translations for adminBar component (bigcommerce#2196)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

* Releasing 6.4.0-rc.1

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

* Releasing 6.4.0-rc.2

* Releasing 6.4.0

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

* Releasing 6.4.1-rc.1

* Releasing 6.4.1

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

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

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

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

* feat(orders) ORDERS-4645 Minor formatting update

* feat(orders) ORDERS-4645 Update changelog

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

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

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

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

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

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

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

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

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

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

* updated changelog

* Releasing 6.5.0-rc.1

* Releasing 6.5.0

* Bump webpack-bundle-analyzer

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

This region is useful for widgets that replace the navigation.

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

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

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

* Bump jQuery to 3.6.1

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

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

* Reduce lodash usage (bigcommerce#2256)

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

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

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

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

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

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

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

* Releasing 6.6.0-rc.1

* Releasing 6.6.0-rc.2

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

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

* Update CHANGELOG

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

* Releasing 6.6.0-rc.3

* Releasing 6.6.0

* Revert BCTHEME-1185 (bigcommerce#2263)

* Releasing 6.6.1

* 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 <88093058+BC-krasnoshapka@users.noreply.github.com>

* 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] <support@github.com>

* 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] <support@github.com>

* 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] <support@github.com>

* 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 <88093058+BC-krasnoshapka@users.noreply.github.com>

* 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] <support@github.com>

* 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 <83779098+bc-vlad-dlogush@users.noreply.github.com>

* 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] <support@github.com>

* 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] <support@github.com>
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] <support@github.com>

* 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 <88093058+BC-krasnoshapka@users.noreply.github.com>

* 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

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Yevhenii Buliuk <82589781+bc-yevhenii-buliuk@users.noreply.github.com>
Co-authored-by: BC-tymurbiedukhin <66319629+BC-tymurbiedukhin@users.noreply.github.com>
Co-authored-by: yurytut1993 <66325265+yurytut1993@users.noreply.github.com>
Co-authored-by: Jairo Panduro <jairo.panduro@bigcommerce.com>
Co-authored-by: jairo-bc <68893868+jairo-bc@users.noreply.github.com>
Co-authored-by: Alex Saiannyi <67792608+bc-alexsaiannyi@users.noreply.github.com>
Co-authored-by: Tymur Biedukhin <tymur.biedukhin@bigcommerce.com>
Co-authored-by: Yurii Zusik <yurii.zusik@bigcommerce.com>
Co-authored-by: alex.saiannyi <alexander.saiannyi@bigcommerce.com>
Co-authored-by: Alex Rowley <rowleyaj@gmail.com>
Co-authored-by: bc-vlad-dlogush <83779098+bc-vlad-dlogush@users.noreply.github.com>
Co-authored-by: Andrii Vitvitskyi <andrii.vitvitskyi@bigcommerce.com>
Co-authored-by: Matt Hill <matt.hill@bigcommerce.com>
Co-authored-by: Vitaliy Koshovyi <79574476+vneutrino@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Saurabh Gedam <saurabhgedam1992@gmail.com>
Co-authored-by: Jordan Arldt <jordanarldt@gmail.com>
Co-authored-by: Volodymyr Krasnoshapka <volodymyr.kras@bigcommerce.com>
Co-authored-by: Nathan Booker <bookernath@users.noreply.github.com>
Co-authored-by: Matthew Coy <47044676+mattcoy-arcticleaf@users.noreply.github.com>
Co-authored-by: BC-Chkalov-Valerii <92578518+BC-Chkalov-Valerii@users.noreply.github.com>
Co-authored-by: “bc-yevhenii-buliuk” <“yevhenii.buliuk@bigcommerce.com”>
Co-authored-by: Matthew Coy <matt.coy@arcticleaf.io>
Co-authored-by: Hunter Leachman <hunter.leachman@bigcommerce.com>
Co-authored-by: sacr3dc0w <mshettles@gmail.com>
Co-authored-by: Steve Ross <297351+steve-ross@users.noreply.github.com>
Co-authored-by: Munjal Munshi <92066753+bc-munjal@users.noreply.github.com>
Co-authored-by: Vlad Dlogush <vladyslav.dlohush@bigcommerce.com>
Co-authored-by: Jordan Arldt <jordan.arldt@bigcommerce.com>
Co-authored-by: Willem Homan <willem.homan@bigcommerce.com>
Co-authored-by: Abraham Martinez <abraham.martinez@bigcommerce.com>
Co-authored-by: Giacomo Mirabassi <447940+giacmir@users.noreply.github.com>
Co-authored-by: Albert Singh <albert.singh@bigcommerce.com>
Co-authored-by: serhii.tkachenko <serhii.tkachenko@bigcommerce.com>
Co-authored-by: Tom Robertshaw <me@tomrobertshaw.net>
Co-authored-by: Volodymyr Krasnoshapka <88093058+BC-krasnoshapka@users.noreply.github.com>
Co-authored-by: Oleg Kovalenko <oleg.kovalenko@bigcommerce.com>
Co-authored-by: Christian Erick Contreras <eri89--@hotmail.com>
Co-authored-by: Andrii Fetisov <54856617+bc-fetisov@users.noreply.github.com>
Co-authored-by: Nathan Booker <nathan.booker@bigcommerce.com>
Co-authored-by: Andrii Fetisov <andrii.fetisov@bigcommerce.com>
Co-authored-by: bc-nick <nick.tsybulko@bigcommerce.com>
Co-authored-by: Vitaliy Koshovyi <vitaliy.koshovyi@bigcommerce.com>
Co-authored-by: BC SVC Local <bc-svc-local@bigcommerce.com>
Co-authored-by: bc-nick <99336044+bc-nick@users.noreply.github.com>
Co-authored-by: Roman Malyavchik <94108505+bc-rmalyavc@users.noreply.github.com>
Co-authored-by: Vitaliy Koshovyi <79574476+vitalii-koshovyi@users.noreply.github.com>
Co-authored-by: Jason Zamora <jason.zamora@bigcommerce.com>
Co-authored-by: Mykhailo Pavlenko <mykhailo.pavlenko@bigcommerce.com>
Co-authored-by: pvaladez <valadezpm@gmail.com>
Co-authored-by: Mack XU <84553389+bc-mackxu@users.noreply.github.com>
Co-authored-by: bc-svc-local <102379007+bc-svc-local@users.noreply.github.com>
  • Loading branch information
Show file tree
Hide file tree
Showing 25 changed files with 189 additions and 364 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

strategy:
matrix:
node: [14.x]
node: [16.x]

steps:
- name: Checkout code
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

strategy:
matrix:
node: [14.x]
node: [16.x]

steps:
- name: Checkout code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull_request_review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

strategy:
matrix:
node: [14.x]
node: [16.x]

steps:
- name: Checkout code
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Draft

## 6.11.0 (05-24-2023)
- Reverted fix for sold-out badge appearance [#2354](https://github.com/bigcommerce/cornerstone/pull/2354)
- 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)
- Removes the URL encoding from the 'description' in the product rich snippet schema [#2350](https://github.com/bigcommerce/cornerstone/pull/2350)
- Running Lighthouse npm script fails in terminal [#2345](https://github.com/bigcommerce/cornerstone/pull/2345)
- Removed accelerated checkout integration [#2341](https://github.com/bigcommerce/cornerstone/pull/2341)
- Added css classes for ApplePay Button [[#2344]](https://github.com/bigcommerce/cornerstone/pull/2344)
- Added styling config for the Bolt smart payment button [[#2356]](https://github.com/bigcommerce/cornerstone/pull/2356)
- Remove default whitespace from multiline input [#2355](https://github.com/bigcommerce/cornerstone/pull/2355)
- Refresh page if no more item in the cart [#2360](https://github.com/bigcommerce/cornerstone/pull/2360)

## 6.10.0 (03-23-2023)
- A bug with the display of the product quantity on the PDP [#2340](https://github.com/bigcommerce/cornerstone/pull/2340)
- Extended initialization interface of the storefront-account-payments lib, added theme styles [#2335][https://github.com/bigcommerce/cornerstone/pull/2335]
Expand Down
9 changes: 7 additions & 2 deletions assets/js/theme/cart.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,11 +216,16 @@ export default class Cart extends PageManager {
this.$cartAdditionalCheckoutBtns.html(response.additionalCheckoutButtons);

$cartPageTitle.replaceWith(response.pageTitle);
this.bindEvents();
this.$overlay.hide();

const quantity = $('[data-cart-quantity]', this.$cartContent).data('cartQuantity') || 0;

if (!quantity) {
return window.location.reload();
}

this.bindEvents();
this.$overlay.hide();

$('body').trigger('cart-quantity-update', quantity);

$(`[data-cart-itemid='${this.$activeCartItemId}']`, this.$cartContent)
Expand Down
26 changes: 13 additions & 13 deletions assets/scss/components/stencil/applePay/_applePay.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
.apple-pay-checkout-button {
background-color: $applePay-black;
background-image: -webkit-named-image(apple-pay-logo-white);
background-position: 50% 50%;
background-repeat: no-repeat;
background-size: 100% 60%;
Expand All @@ -10,19 +12,17 @@
min-width: 90px;
padding: spacing("single");
width: 160px;
@if stencilString("applePay-button") == "white" {
background-color: $applePay-white;
background-image: -webkit-named-image(apple-pay-logo-black);
}
@else if stencilString("applePay-button") == "white-border" {
background-color: $applePay-white;
background-image: -webkit-named-image(apple-pay-logo-black);
border: 0.5px solid $applePay-black;
}
@else {
background-color: $applePay-black;
background-image: -webkit-named-image(apple-pay-logo-white);
}
}

.apple-pay-checkout-button--white {
background-color: $applePay-white;
background-image: -webkit-named-image(apple-pay-logo-black);
}

.apple-pay-checkout-button--white-border {
background-color: $applePay-white;
background-image: -webkit-named-image(apple-pay-logo-black);
border: 0.5px solid $applePay-black;
}

.apple-pay-supported {
Expand Down
12 changes: 4 additions & 8 deletions assets/scss/components/stencil/cart/_cart.scss
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,10 @@ $card-preview-zoom-bottom-offset: 6rem;
display: inline-block;
}

&__label {
display: inline-block;
}

+ .definitionList {
margin-top: spacing("quarter");
}
Expand Down Expand Up @@ -583,10 +587,6 @@ $card-preview-zoom-bottom-offset: 6rem;
width: 100%;
}

.cart-additionalCheckoutButtons {
@extend %additionalCheckoutButtons;
}

// Cart Preview
// -----------------------------------------------------------------------------
//
Expand Down Expand Up @@ -722,10 +722,6 @@ $card-preview-zoom-bottom-offset: 6rem;
text-align: center;
}

.previewCart-acceleratedCheckoutButtons {
width: 100%;
}

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

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

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

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

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

.heroCarousel-slide {
Expand Down
4 changes: 4 additions & 0 deletions assets/scss/components/stencil/productView/_productView.scss
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,10 @@
color: stencilColor("color-textSecondary--hover");
}

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

&--new {
padding: 0;
}
Expand Down
4 changes: 4 additions & 0 deletions assets/scss/layouts/products/_productSaleBadges.scss
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,10 @@
background: stencilColor("color_hover_product_sold_out_badges");
}

.product:hover .sold-out-flag-sash {
background: stencilColor("color_hover_product_sold_out_badges");
}

.product {
overflow: hidden;
}
9 changes: 2 additions & 7 deletions config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Midwest Nice",
"version": "6.10.0",
"version": "6.11.0",
"template_engine": "handlebars_v4",
"meta": {
"price": 0,
Expand Down Expand Up @@ -331,16 +331,11 @@
"pdp-non-sale-price-label": "",
"pdp-retail-price-label": "",
"pdp-custom-fields-tab-label": "",
"paymentbuttons-paypal-accelerated-checkout-color": "#444",
"paymentbuttons-paypal-accelerated-content-font-family": "Montserrat, Arial, Helvetica, sans-serif",
"paymentbuttons-paypal-accelerated-content-font-weight": "400",
"paymentbuttons-paypal-accelerated-content-color": "white",
"paymentbuttons-paypal-accelerated-content-label": "checkout",
"paymentbuttons-paypal-accelerated-border-color": "black",
"paymentbuttons-paypal-color": "gold",
"paymentbuttons-paypal-shape": "rect",
"paymentbuttons-paypal-label": "checkout",
"paymentbanners-homepage-color": "white",
"paymentbuttons-bolt-shape": "rect",
"paymentbanners-homepage-ratio": "8x1",
"paymentbanners-cartpage-text-color": "black",
"paymentbanners-cartpage-logo-position": "left",
Expand Down
2 changes: 1 addition & 1 deletion lang/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,7 @@
"purpose": "Objectif",
"functional_category": "Fonctionnel",
"functional_purpose": "Permet d'offrir des fonctionnalités avancées, telles que les vidéos et le chat en direct. Si vous refusez, les performances de l'ensemble ou d'une partie de ces fonctions risquent d'être affectées.",
"analytics_category": "Analyses",
"analytics_category": "Statistiques",
"analytics_purpose": "Fournir des données statistiques sur l'utilisation du site, par exemple des analyses Web qui nous aideront à améliorer ce site Web en continu.",
"targeting_category": "Ciblage",
"advertising_category": "Publicité",
Expand Down
51 changes: 8 additions & 43 deletions lighthouse-config.js
Original file line number Diff line number Diff line change
@@ -1,46 +1,11 @@
const throttling = {
disabled: {
rttMs: 0,
throughputKbps: 0,
requestLatencyMs: 0,
downloadThroughputKbps: 0,
uploadThroughputKbps: 0,
cpuSlowdownMultiplier: 0,
}
};
/**
* @license Copyright 2018 The Lighthouse Authors. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
*/

/** @type {LH.Config} */
module.exports = {
settings: {
output: 'json',
maxWaitForLoad: 45 * 1000,
throttlingMethod: 'provided',
throttling: throttling.disabled,
auditMode: false,
gatherMode: false,
disableStorageReset: false,
disableDeviceEmulation: true,
emulatedFormFactor: 'none',
blockedUrlPatterns: null,
additionalTraceCategories: null,
extraHeaders: null,
onlyAudits: null,
onlyCategories: null,
skipAudits: null,
},
passes: [
{
passName: 'defaultPass',
recordTrace: true,
useThrottling: false,
pauseAfterLoadMs: 1000,
networkQuietThresholdMs: 1000,
cpuQuietThresholdMs: 1000,
gatherers: [],
},
],
audits: [
'time-to-first-byte',
'metrics/first-meaningful-paint',
'metrics/interactive',
],
extends: 'lighthouse:default',
settings: {},
};
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "bigcommerce-cornerstone",
"description": "The BigCommerce reference theme for the Stencil platform",
"version": "6.10.0",
"version": "6.11.0",
"private": true,
"author": "BigCommerce",
"license": "MIT",
Expand Down Expand Up @@ -67,7 +67,7 @@
"scripts": {
"build": "npx webpack --config webpack.prod.js",
"buildDev": "npx webpack --config webpack.dev.js",
"lighthouse": "npx lighthouse --config-path=lighthouse-config.js --quiet --output json --chrome-flags=\"--headless\" $URL | jq '.audits | map_values(.rawValue)'",
"lighthouse": "npx lighthouse --config-path=lighthouse-config.js --quiet --output html --chrome-flags=\"--headless\" $URL",
"test": "npx jest",
"stylelint": "npx stylelint **/*.scss",
"stylelint:fix": "npx stylelint --fix **/*.scss"
Expand Down
Loading

0 comments on commit 876ce53

Please sign in to comment.