Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Release: 10.6.0 #10093

Closed
wants to merge 41 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
d774dfb
Empty commit for release pull request
invalid-email-address Jul 4, 2023
1b8f720
Add testing notes for 10.6.0
opr Jul 4, 2023
e784421
Include correct testing zip
opr Jul 4, 2023
5425722
Fix rogue parenthesis
opr Jul 4, 2023
d6972c7
Include screenshot for 9877
opr Jul 4, 2023
185acef
Update 9893 title to be more descriptive
opr Jul 4, 2023
f658a20
Add image to 9913 description
opr Jul 4, 2023
964df9b
Remove 9917 test - not easily testable by GlobalStep
opr Jul 4, 2023
5fa5262
Add changelog to readme
opr Jul 4, 2023
1c669c7
Update version numbers
opr Jul 4, 2023
987e956
Update WC tested and WC Requires fields
opr Jul 4, 2023
4d25463
Add image to 9935
opr Jul 4, 2023
d761f16
Update zip link
opr Jul 4, 2023
50cb8d0
Add image for 9957
opr Jul 4, 2023
df66193
Add images to 9947, 9936, and 9953
opr Jul 4, 2023
535c346
Add image for 9988
opr Jul 4, 2023
64bce39
Remove 9937 (experimental)
opr Jul 4, 2023
84b738e
Fix image over content (#10092)
albarin Jul 5, 2023
10a27d6
Add notes for #10092
opr Jul 5, 2023
603deab
Fix cart and checkout conditionals when using a block based theme and…
mikejolley Jul 5, 2023
eccf8b1
Add testing instructions for 10098
opr Jul 5, 2023
ff9098b
Add changelog entry for #10092
opr Jul 5, 2023
d89343f
Update zip to include patches
opr Jul 5, 2023
d3a352c
Update testing notes for 9814
opr Jul 5, 2023
ede6505
Update notes for 10047 and 10039
opr Jul 5, 2023
4f17857
Fix filter count display toggle (#10096)
gigitux Jul 5, 2023
fae164d
Update zip to include patches
opr Jul 5, 2023
e02ddb2
Update readme and bump date
opr Jul 6, 2023
e6c0e84
Add 1060 to readme
opr Jul 6, 2023
d589581
Remove 9831 from testing notes and changelog
opr Jul 6, 2023
6046a12
Update testing zip
opr Jul 6, 2023
0026374
Revert "Fix image over content (#10092)"
albarin Jul 5, 2023
61ed689
Update testing notes and readme to remove 10092 (reverted)
opr Jul 6, 2023
7637cc0
Update testing zip
opr Jul 6, 2023
db05e7f
Fix Filter blocks e2e tests (#10116)
Aljullu Jul 6, 2023
4bcaaa1
Update testing zip
opr Jul 6, 2023
058ae2e
Merge branch 'trunk' into release/10.6.0
opr Jul 6, 2023
8bc9835
Revert "Merge branch 'trunk' into release/10.6.0"
opr Jul 6, 2023
a1c188c
Cherry pick 1a7365d (#10116)
Aljullu Jul 6, 2023
e3c9814
Update zip to include patches
opr Jul 6, 2023
1c6e2eb
Update release date in readme
opr Jul 7, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions assets/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@
@include visually-hidden-focus-reveal();
}


.wp-block-group.woocommerce.product .up-sells.upsells.products {
max-width: var(--wp--style--global--wide-size);
}
1 change: 1 addition & 0 deletions assets/js/atomic/blocks/product-elements/image/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
.wc-block-components-product-image {
text-decoration: none;
display: block;
position: relative;

a {
border-radius: inherit;
Expand Down
1 change: 1 addition & 0 deletions assets/js/atomic/blocks/product-elements/price/block.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import type { HTMLAttributes } from 'react';
* Internal dependencies
*/
import type { BlockAttributes } from './types';
import './style.scss';

type Props = BlockAttributes & HTMLAttributes< HTMLDivElement >;

Expand Down
11 changes: 11 additions & 0 deletions assets/js/atomic/blocks/product-elements/price/style.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.wc-block-components-product-price {
display: block;

.wc-block-all-products & {
margin-bottom: $gap-small;
}

ins {
text-decoration: none;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ import classnames from 'classnames';
import { __ } from '@wordpress/i18n';
import { useBlockProps } from '@wordpress/block-editor';

/**
* Internal dependencies
*/

interface SingleProductTab {
id: string;
title: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import { productDetails } from '@woocommerce/icons';
*/
import metadata from './block.json';
import edit from './edit';
import './style.scss';

registerBlockSingleProductTemplate( {
blockName: metadata.name,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ import { __ } from '@wordpress/i18n';
import { useBlockProps } from '@wordpress/block-editor';
import { Notice } from '@wordpress/components';

/**
* Internal dependencies
*/

export const ProductReviews = () => {
const blockProps = useBlockProps();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { registerBlockSingleProductTemplate } from '@woocommerce/atomic-utils';
*/
import metadata from './block.json';
import edit from './edit';
import './style.scss';

registerBlockSingleProductTemplate( {
blockName: metadata.name,
Expand Down
108 changes: 103 additions & 5 deletions assets/js/atomic/blocks/product-elements/rating/style.scss
Original file line number Diff line number Diff line change
@@ -1,12 +1,110 @@
.wc-block-components-product-rating {
.wc-block-components-product-rating__container {
> * {
vertical-align: middle;
display: block;
line-height: 1;

&__stars {
display: inline-block;
overflow: hidden;
position: relative;
width: 5.3em;
height: 1.618em;
line-height: 1.618;
font-size: 1em;
/* stylelint-disable-next-line font-family-no-missing-generic-family-keyword */
font-family: star;
font-weight: 400;

&.wc-block-grid__product-rating__stars {
margin: 0;
}

&::before {
content: "\53\53\53\53\53";
top: 0;
left: 0;
right: 0;
position: absolute;
opacity: 0.5;
color: inherit;
white-space: nowrap;
}
span {
overflow: hidden;
top: 0;
left: 0;
right: 0;
position: absolute;
color: inherit;
padding-top: 1.5em;
}
span::before {
content: "\53\53\53\53\53";
top: 0;
left: 0;
right: 0;
position: absolute;
color: inherit;
white-space: nowrap;
}
}

.wc-block-all-products & {
margin-top: 0;
margin-bottom: $gap-small;
}

&__container {
display: flex;
align-items: center;
column-gap: $gap-smaller;
}

.wc-block-components-product-rating__stars {
&__norating-container {
display: inline-flex;
flex-direction: row;
align-items: center;
gap: $gap-smaller;
}

&__norating {
display: inline-block;
margin: 0;
overflow: hidden;
position: relative;
width: 1.5em;
height: 1.618em;
line-height: 1.618;
font-size: 1em;
/* stylelint-disable-next-line font-family-no-missing-generic-family-keyword */
font-family: star;
font-weight: 400;
-webkit-text-stroke: 2px var(--wp--preset--color--black, #000);
&::before {
content: "\53";
top: 0;
left: 0;
right: 0;
position: absolute;
color: transparent;
white-space: nowrap;
text-align: center;
}
}
}

.wc-block-all-products,
.wp-block-query {
.is-loading {
.wc-block-components-product-rating {
@include placeholder();
width: 7em;
}
}

.wc-block-components-product-rating__container {
display: block;
}

.wc-block-components-product-rating__stars.wc-block-grid__product-rating__stars {
margin: inherit;
}
}
4 changes: 0 additions & 4 deletions assets/js/base/components/country-input/style.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
@import "node_modules/@wordpress/base-styles/breakpoints";
@import "node_modules/@wordpress/base-styles/mixins";
@import "node_modules/wordpress-components/src/combobox-control/style";

.wc-block-components-country-input {
margin-top: em($gap-large);
}
1 change: 0 additions & 1 deletion assets/js/base/components/form-token-field/vendor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@
@import "node_modules/@wordpress/base-styles/mixins";
@import "node_modules/wordpress-components/src/popover/style";
@import "node_modules/wordpress-components/src/tooltip/style";
@import "node_modules/wordpress-components/src/form-token-field/style";
/* stylelint-enable no-invalid-position-at-import-rule */
}
4 changes: 1 addition & 3 deletions assets/js/base/components/notice-banner/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
}

// Legacy notice compatibility.
.wc-forward {
.wc-forward.wp-element-button {
float: right;
color: $gray-800 !important;
background: transparent;
Expand All @@ -52,8 +52,6 @@
border: 0;
appearance: none;
opacity: 0.6;
text-decoration-line: underline;
text-underline-position: under;

&:hover,
&:focus,
Expand Down
12 changes: 0 additions & 12 deletions assets/js/base/components/product-price/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,6 @@
}
/*rtl:end:ignore*/

.wc-block-components-product-price {
display: block;

.wc-block-all-products .wc-block-components-product-price {
margin-bottom: $gap-small;
}

ins {
text-decoration: none;
}
}

.wc-block-components-product-price__value {
&.is-discounted {
margin-left: 0.5em;
Expand Down
1 change: 0 additions & 1 deletion assets/js/base/components/product-rating/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { __, sprintf } from '@wordpress/i18n';
/**
* Internal dependencies
*/
import './style.scss';

const Rating = ( {
className,
Expand Down
114 changes: 0 additions & 114 deletions assets/js/base/components/product-rating/style.scss

This file was deleted.

1 change: 0 additions & 1 deletion assets/js/blocks/breadcrumbs/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import { Icon, queryPagination } from '@wordpress/icons';
*/
import metadata from './block.json';
import edit from './edit';
import './style.scss';

const featurePluginSupport = {
...metadata.supports,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import { PAYMENT_STORE_KEY } from '@woocommerce/block-data';
import NoPaymentMethods from './no-payment-methods';
import PaymentMethodOptions from './payment-method-options';
import SavedPaymentMethodOptions from './saved-payment-method-options';
import './style.scss';

/**
* PaymentMethods component.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { registerBlockType } from '@wordpress/blocks';
* Internal dependencies
*/
import { Edit, Save } from './edit';
import './style.scss';

registerBlockType( 'woocommerce/cart-cross-sells-products-block', {
icon: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import type { TemplateArray } from '@wordpress/blocks';
/**
* Internal dependencies
*/
import './style.scss';
import {
useForcedLayout,
getAllowedBlocks,
Expand Down
Loading