woocommerce/plugins/woocommerce-blocks/docs
Rua Haszard 8395954c7a Support a plain js config argument to payment method registration APIs (https://github.com/woocommerce/woocommerce-blocks/pull/3404)
* handle plain options passed to registerPaymentMethod:
- no need for a callback dance
- support the previous API: if a function is passed, call it as before

* update Stripe for new registerPaymentMethod interface

* update docs & all built-in payment methods to simpler API

* handle plain options arg to registerExpressPaymentMethod:
- add legacy fallback if passed a function
- update stripe express payment method
- update docs
- remove unused `assertValidPaymentMethodCreator` util

* use correct case for `JavaScript`

Co-authored-by: Darren Ethier <darren@roughsmootheng.in>

* typedefs for payment registration options + tidies for regular methods

* typedef express payment options arg & tidy stripe/payment-request:
- use camelCase for config instance (not a constructor/type)

* mention typedefs in payment method dev docs

* use @wordpress/deprecated to warn if callback passed to payment register

* update unit tests for new payment method API

Co-authored-by: Darren Ethier <darren@roughsmootheng.in>
2020-11-19 11:06:33 +13:00
..
block-client-apis Change default branch name to trunk (https://github.com/woocommerce/woocommerce-blocks/pull/3199) 2020-09-26 13:28:16 -04:00
blocks Add new doc referencing feature flags and experimental interfaces. (https://github.com/woocommerce/woocommerce-blocks/pull/3348) 2020-10-30 10:35:50 -04:00
contributors Improve smoke testing docs (https://github.com/woocommerce/woocommerce-blocks/pull/3351) 2020-11-03 11:40:26 -05:00
extensibility Support a plain js config argument to payment method registration APIs (https://github.com/woocommerce/woocommerce-blocks/pull/3404) 2020-11-19 11:06:33 +13:00
releases Improve smoke testing docs (https://github.com/woocommerce/woocommerce-blocks/pull/3351) 2020-11-03 11:40:26 -05:00
testing Release: 3.8.0 (https://github.com/woocommerce/woocommerce-blocks/pull/3384) 2020-11-10 17:12:25 +01:00
theming Use @wordpress/base-styles and @automattic/color-studio as a base for our styles (https://github.com/woocommerce/woocommerce-blocks/pull/3300) 2020-10-22 12:40:32 +02:00
readme.md Update documentation indexes and add checkout docs (https://github.com/woocommerce/woocommerce-blocks/pull/2720) 2020-06-16 16:50:09 +01:00

readme.md

WooCommerce Blocks Handbook

The WooCommerce Blocks Handbook provides documentation for designers and developers on how to extend or contribute to blocks, and how internal developers should handle new releases.

Document Description
Contributing These documents explain how you can contribute to the development of the blocks plugin, development best practices, and how to help with testing.
Releases These documents cover how to release and test new versions of the blocks plugin.
Blocks This documentation covers functionality specific to certain Blocks.
Block Client APIs This documentation covers API interfaces within Blocks. In most cases, these docs describe APIs and interfaces that are internal only, and thus are provided to assist with developing the blocks in this repository. Documentation will tend to focus on high level overviews.
Store API (REST API) These documents cover the Store API used to get product data on the frontend.
Extensibility These documents cover extensibility of WooCommerce Blocks.
Theming These documents cover theming for blocks, styles, CSS classnames and other theming best practices.