From 1d71da716293445fdd51777f498aa2ad94a94e97 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 31 Oct 2022 16:10:27 +0100 Subject: [PATCH] Release: 8.5.2 (https://github.com/woocommerce/woocommerce-blocks/pull/7535) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * use full link for WordPress resources (https://github.com/woocommerce/woocommerce-blocks/pull/7211) Co-authored-by: Niels Lange * Empty commit for release pull request * update readme * add testing instructions * add zip file link * update testing instructions and changelog entry * Bumping version strings to new version. * Empty commit for release pull request * Update styles of the Filter by Attribute dropdown so it looks good in TT3 (https://github.com/woocommerce/woocommerce-blocks/pull/7506) * Use theme's body background color as the mini cart contents default background color (https://github.com/woocommerce/woocommerce-blocks/pull/7510) Co-authored-by: Albert Juhé Lluveras * Price Slider: use `currentColor` for the slider (https://github.com/woocommerce/woocommerce-blocks/pull/7527) * Fixed Price Slider Issue Located where the price slider was hard coded and replaced it. * fix CSS lint * use currentColor instead of hard-coded color for the slider of the Filter By Price block woocommerce/woocommerce-blocks#7130 use currentColor instead of hard-coded color for the slider of the Filte By Price block * use currentColor instead of hard-coded color for the slider of the Filter By Price block woocommerce/woocommerce-blocks#7130 use currentColor instead of hard-coded color for the slider of the Filte By Price block * remove background-color Co-authored-by: EmptySet-Exe <46509186+EmptySet-Exe@users.noreply.github.com> Co-authored-by: Niels Lange * Make price slider 'inactive' range half transparent so it looks better in dark themes (https://github.com/woocommerce/woocommerce-blocks/pull/7525) * Fix inconsistent button styling with TT3 (https://github.com/woocommerce/woocommerce-blocks/pull/7516) * fix inconsistent button styling with TT3 * use wc_wp_theme_get_element_class_name * add check to be sure that wc_wp_theme_get_element_class_name function exists * Fix Mini Cart Block global styles woocommerce/woocommerce-blocks#7379 (https://github.com/woocommerce/woocommerce-blocks/pull/7515) * Fix Mini Cart Block global styles woocommerce/woocommerce-blocks#7379 Fix Mini Cart Block global styles * add font_size * Empty commit for release pull request * add changelog and testing instructions * add zip link for testing * Bumping version strings to new version. Co-authored-by: Seghir Nadir Co-authored-by: Niels Lange Co-authored-by: github-actions Co-authored-by: Luigi Co-authored-by: Albert Juhé Lluveras Co-authored-by: Tung Du Co-authored-by: EmptySet-Exe <46509186+EmptySet-Exe@users.noreply.github.com> --- .../blocks/product-elements/button/block.js | 2 + .../components/form-token-field/style.scss | 3 + .../base/components/price-slider/style.scss | 80 +++++------------- .../assets/js/blocks/mini-cart/block.tsx | 8 +- .../assets/js/blocks/mini-cart/edit.tsx | 8 +- .../assets/js/blocks/mini-cart/frontend.ts | 21 +++++ .../assets/js/blocks/mini-cart/index.tsx | 1 - .../mini-cart/mini-cart-contents/edit.tsx | 54 +++++++++++++ .../assets/js/blocks/mini-cart/style.scss | 9 ++- .../testing/releases/852.md | 81 +++++++++++++++++++ .../testing/releases/README.md | 1 + plugins/woocommerce-blocks/package.json | 2 +- plugins/woocommerce-blocks/readme.txt | 13 ++- .../src/BlockTypes/AbstractProductGrid.php | 2 +- .../src/BlockTypes/MiniCart.php | 6 +- plugins/woocommerce-blocks/src/Package.php | 2 +- .../woocommerce-gutenberg-products-block.php | 2 +- 17 files changed, 210 insertions(+), 85 deletions(-) create mode 100644 plugins/woocommerce-blocks/docs/internal-developers/testing/releases/852.md diff --git a/plugins/woocommerce-blocks/assets/js/atomic/blocks/product-elements/button/block.js b/plugins/woocommerce-blocks/assets/js/atomic/blocks/product-elements/button/block.js index 4283ae68c7d..7bfe716d3e4 100644 --- a/plugins/woocommerce-blocks/assets/js/atomic/blocks/product-elements/button/block.js +++ b/plugins/woocommerce-blocks/assets/js/atomic/blocks/product-elements/button/block.js @@ -162,6 +162,7 @@ const AddToCartButton = ( { aria-label={ buttonAriaLabel } className={ classnames( 'wp-block-button__link', + 'wp-element-button', 'add_to_cart_button', 'wc-block-components-product-button__button', colorStyles.className, @@ -206,6 +207,7 @@ const AddToCartButtonPlaceholder = ( {