woocommerce/plugins/woocommerce-blocks/assets/js
Alex Florisca 9b8256cc3e
[Feature] Express Checkout Improvements (#50791)
* 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>

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

* Synchronise the express payment settings between the Cart & Checkout blocks (#50688)

* Add express payment methods to sidebar

* Only add extra props for express payment methods

* Update docs

* Make title, description and gatewayId types optional

* Update docs

* Fix types again and editor side

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

* handle situation when no methods are active

* Update manifest

* Add express payment methods to inspector controls for express checkout block (#50983)

* Remove forced styles on the editor

* Remove the darkMode setting from the buttonAttributes API (#51109)

* Remove darkMode from the buttonAttributes API

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

---------

Co-authored-by: github-actions <github-actions@github.com>

* Accept supports declarations for express payment style controls + merchant ux improvements in the editor (#51296)

* Fix images in editor displaying weird

* Fix long express payment names breaking layout

* Default to uniform styles off

* Use heightControl for border radius and fix height for cart buttons

* Move formatting title and description to the config validation

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

* Fix linting

* Fix failing test

* Add back the 48px height for images in editor

* Fix linting again

* Update docs

* Update docs manifest

* Update docs to fix linting

* Add comment to test to better explain why we are expecting a console warning

* make strings translatable

* Sync cart & checkout directly without option

* Remove current styles

* Change the beta label

* Replace < and > with symbol references in docs

* Update docs manifest

* Increase padding of beta label

* fix linter issues

* change to using looger helper

* fix CSS

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Nadir Seghir <nadir.seghir@gmail.com>
2024-09-18 19:49:27 +00:00
..
atomic [Enhancement] Abstract rating block (#50810) 2024-09-13 09:35:56 -03:00
base Support controlling address card state from data store in Checkout block (#51386) 2024-09-17 10:56:15 +00:00
blocks [Feature] Express Checkout Improvements (#50791) 2024-09-18 19:49:27 +00:00
blocks-registry [Feature] Express Checkout Improvements (#50791) 2024-09-18 19:49:27 +00:00
data [Feature] Express Checkout Improvements (#50791) 2024-09-18 19:49:27 +00:00
editor-components [Enhancement] Abstract rating block (#50810) 2024-09-13 09:35:56 -03:00
extensions Use `createRoot().render()` instead of `render()` (#48858) 2024-07-04 11:36:38 +02:00
filters Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00
hocs With Product Variations HOC > Convert to TypeScript (#44785) 2024-02-26 10:26:21 -03:00
icons [Experimental] Product Filters: New and improved blocks structure (#51096) 2024-09-14 00:04:06 +07:00
interactivity [WIP][Accessibility] Fix inline documentation typos in woocommerce-blocks (#50737) 2024-08-19 13:57:38 +01:00
middleware Use site language when making Store API requests in Cart/Checkout (#51244) 2024-09-13 11:42:21 +02:00
previews Extensibility: Format currency config so it can be consumed more easily (#48727) 2024-07-12 14:24:22 +01:00
settings Remove the wc combobox component, it is no longer used (#50975) 2024-09-03 09:20:46 +00:00
shared Convert inner-block-layout-context to typescript (https://github.com/woocommerce/woocommerce-blocks/pull/9799) 2023-06-14 06:36:39 -07:00
templates/revert-button Update revert button text and description (#48717) 2024-07-03 19:31:50 +05:30
types [Feature] Express Checkout Improvements (#50791) 2024-09-18 19:49:27 +00:00
utils Use the term attribute sort order for the "Filter by attribute" block (#47616) 2024-05-21 15:44:08 +02:00
global.d.ts WIP - Checkout i2 Feature Branch Tracking (https://github.com/woocommerce/woocommerce-blocks/pull/4268) 2021-07-22 12:03:00 +01:00
index.js Move registration of block categories on the server side (#47836) 2024-06-03 20:34:41 +02:00