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:
Manish Menaria 2024-08-29 11:16:59 +05:30 committed by GitHub
parent 1d8e0ec68d
commit 055cf09cc1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 13 additions and 2 deletions

View File

@ -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);
}
} }

View File

@ -0,0 +1,4 @@
Significance: patch
Type: enhancement
Product Collection - Change cursor style of preview button to default

View File

@ -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: