woocommerce/plugins/woocommerce-blocks/assets/js/blocks/cart/inner-blocks
Alex Florisca 006fbc6714
Add new buttonAttributes API to style express checkout buttons coherently (#47899)
* Expose buttonAttributes to the express payment methods

* Add size and label attributes to the express checkout area

* Remove defaultHeight

* default button Label

* Remove the button label attribute

* Remove px from height

* Change large button height to 55px

* Load express checkout block with attributes

* Add toggle and borderRadius controls and remove getting border radius from the theme

* Remove extra border radius text

* Only pass buttonAttributes if toggled on

* Move express payment block attribute logic into a Provider

* Tidy up editor grid and parse attributes into context on frontend

* Add px to border-radius input

* Express payment methods not selectable

* Add a test

* lint fixes

* default button height is 48 not 4

* Add changefile(s) from automation for the following project(s): woocommerce-blocks

* Update docs

* Add tests for express payment methods

* Center images within the express payment area in the editor

* Apply the buttonAttributes to the li container in the editor regardless of showButtonStyles

* Fix style issue

* fix linting

* fix lint again

* Update manifest

* Update docs manifest

* Resize images in editor

* lint fix

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-08-14 11:02:58 +01:00
..
cart-accepted-payment-methods-block Update Blocks Text Domain 2023-12-09 05:44:54 -08:00
cart-cross-sells-block Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00
cart-cross-sells-products Remove all references to the product add to cart block. (#46220) 2024-04-09 14:01:32 +12:00
cart-express-payment-block Add new buttonAttributes API to style express checkout buttons coherently (#47899) 2024-08-14 11:02:58 +01:00
cart-items-block [Performance]: Replace `classnames` usage with `clsx` (#47760) 2024-05-31 05:49:36 +02:00
cart-line-items-block Update Blocks Text Domain 2023-12-09 05:44:54 -08:00
cart-order-summary-block Refactor the Order Summary of the Cart & Checkout blocks (#46386) 2024-04-17 10:28:30 +01:00
cart-order-summary-coupon-form Update Blocks Text Domain 2023-12-09 05:44:54 -08:00
cart-order-summary-discount Refactor the Order Summary of the Cart & Checkout blocks (#46386) 2024-04-17 10:28:30 +01:00
cart-order-summary-fee Refactor the Order Summary of the Cart & Checkout blocks (#46386) 2024-04-17 10:28:30 +01:00
cart-order-summary-heading [Performance]: Replace `classnames` usage with `clsx` (#47760) 2024-05-31 05:49:36 +02:00
cart-order-summary-shipping Refactor the Order Summary of the Cart & Checkout blocks (#46386) 2024-04-17 10:28:30 +01:00
cart-order-summary-subtotal Refactor the Order Summary of the Cart & Checkout blocks (#46386) 2024-04-17 10:28:30 +01:00
cart-order-summary-taxes Refactor the Order Summary of the Cart & Checkout blocks (#46386) 2024-04-17 10:28:30 +01:00
cart-order-summary-totals Update Order Summary Design (#45767) 2024-04-25 12:03:31 +07:00
cart-totals-block [Performance]: Replace `classnames` usage with `clsx` (#47760) 2024-05-31 05:49:36 +02:00
empty-cart-block Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00
filled-cart-block [Performance]: Replace `classnames` usage with `clsx` (#47760) 2024-05-31 05:49:36 +02:00
proceed-to-checkout-block Make proceed to order button non sticky when zoom level is bigger than 100% (#48391) 2024-06-28 10:05:49 +02:00
component-metadata.ts Refactor the Order Summary of the Cart & Checkout blocks (#46386) 2024-04-17 10:28:30 +01:00
index.tsx Refactor the Order Summary of the Cart & Checkout blocks (#46386) 2024-04-17 10:28:30 +01:00
register-components.ts Refactor the Order Summary of the Cart & Checkout blocks (#46386) 2024-04-17 10:28:30 +01:00