Change cursor style of preview button to default (#50612)
* Change cursor style of preview button to default * Add changefile(s) from automation for the following project(s): woocommerce-blocks * Hover and active state shouldn't change background color of the preview button. * Remove use of wp-block-woocommerce-product-collection class --------- Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
parent
1d8e0ec68d
commit
055cf09cc1
|
@ -155,9 +155,16 @@ $max-button-width: calc(100% / #{$max-button-columns});
|
||||||
font-family: var(--wp--preset--font-family--system-sans-serif);
|
font-family: var(--wp--preset--font-family--system-sans-serif);
|
||||||
border-bottom-left-radius: 0;
|
border-bottom-left-radius: 0;
|
||||||
border-bottom-right-radius: 0;
|
border-bottom-right-radius: 0;
|
||||||
|
cursor: default;
|
||||||
|
|
||||||
&.is-primary:focus:not(:disabled) {
|
&.is-primary:focus:not(:disabled) {
|
||||||
outline: none;
|
outline: none;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&:hover.is-primary:not(:disabled),
|
||||||
|
&:active.is-primary:not(:disabled) {
|
||||||
|
background: var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9));
|
||||||
|
color: var(--wp-components-color-accent-inverted, #fff);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: enhancement
|
||||||
|
|
||||||
|
Product Collection - Change cursor style of preview button to default
|
|
@ -21727,7 +21727,7 @@ packages:
|
||||||
engines: {node: '>=18'}
|
engines: {node: '>=18'}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
react: ^17.0.2
|
react: 18.2.0
|
||||||
|
|
||||||
react-number-format@4.9.3:
|
react-number-format@4.9.3:
|
||||||
resolution: {integrity: sha512-am1A1xYAbENuKJ+zpM7V+B1oRTSeOHYltqVKExznIVFweBzhLmOBmyb1DfIKjHo90E0bo1p3nzVJ2NgS5xh+sQ==}
|
resolution: {integrity: sha512-am1A1xYAbENuKJ+zpM7V+B1oRTSeOHYltqVKExznIVFweBzhLmOBmyb1DfIKjHo90E0bo1p3nzVJ2NgS5xh+sQ==}
|
||||||
|
@ -21932,7 +21932,7 @@ packages:
|
||||||
react-with-direction@1.4.0:
|
react-with-direction@1.4.0:
|
||||||
resolution: {integrity: sha512-ybHNPiAmaJpoWwugwqry9Hd1Irl2hnNXlo/2SXQBwbLn/jGMauMS2y9jw+ydyX5V9ICryCqObNSthNt5R94xpg==}
|
resolution: {integrity: sha512-ybHNPiAmaJpoWwugwqry9Hd1Irl2hnNXlo/2SXQBwbLn/jGMauMS2y9jw+ydyX5V9ICryCqObNSthNt5R94xpg==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
react: ^17.0.2
|
react: ^0.14 || ^15 || ^16
|
||||||
react-dom: ^0.14 || ^15 || ^16
|
react-dom: ^0.14 || ^15 || ^16
|
||||||
|
|
||||||
react-with-styles-interface-css@4.0.3:
|
react-with-styles-interface-css@4.0.3:
|
||||||
|
|
Loading…
Reference in New Issue