woocommerce/plugins/woocommerce-blocks/assets/js/blocks/cart-checkout/checkout
Albert Juhé Lluveras 73d1432b02 Hook up checkout validation with context (https://github.com/woocommerce/woocommerce-blocks/pull/2033)
* Hook up checkout validation with context

* Make sure hasValidationErrors is up to date in onCheckoutProcessing

* Move validation check inside CheckoutProcessor's processCheckout

* Make sure all checkout form fields have a unique ID

* Don't clear checkout context errors in shipping context

* Move CheckoutProcessor to the top so scrollToTop works

* Do not disable Place Order Button if there are errors

* Split checkValidation and processCheckout in Checkout Provider

* Refactor event emitter to use Maps

* Save payment method errors to validation context

* Show an notice when a payment method has an error

* Make sure JS errors during payment are displayed

* Remove error notice when payment method doesn't return an error anymore

* Make sure payment methods know if shipping and billing addresses are the same

* Make sure checkout is only processed if payment methods didn't fail

* Make sure state input also has an id

* Clear input and select errors on unmount

* Pass id to CountryInput and StateInput

* Fix function name

* Add missing default context values

* Move onCheckoutCompleteError effect to CheckoutBlock

* Remove conditional from shipping setHasError
2020-04-02 11:27:54 +02:00
..
checkout-order-error Add checkout error state (https://github.com/woocommerce/woocommerce-blocks/pull/2069) 2020-03-31 11:47:48 +01:00
empty-cart Add billing data context (https://github.com/woocommerce/woocommerce-blocks/pull/2027) 2020-03-26 13:31:09 +00:00
sidebar Move some base components to subfolders (https://github.com/woocommerce/woocommerce-blocks/pull/2034) 2020-03-30 15:04:27 +02:00
attributes.js Refactor useBillingData to useCheckoutContext and hooking it up to form (https://github.com/woocommerce/woocommerce-blocks/pull/2002) 2020-03-23 21:13:41 +01:00
block.js Hook up checkout validation with context (https://github.com/woocommerce/woocommerce-blocks/pull/2033) 2020-04-02 11:27:54 +02:00
edit.js fix weird print in editor (https://github.com/woocommerce/woocommerce-blocks/pull/2024) 2020-03-25 16:39:39 +00:00
editor.scss Implement "return to cart" and "place order" buttons on checkout (https://github.com/woocommerce/woocommerce-blocks/pull/1926) 2020-03-16 16:38:24 +00:00
frontend.js Add billing data context (https://github.com/woocommerce/woocommerce-blocks/pull/2027) 2020-03-26 13:31:09 +00:00
index.js Add billing data context (https://github.com/woocommerce/woocommerce-blocks/pull/2027) 2020-03-26 13:31:09 +00:00
style.scss Add checkout error state (https://github.com/woocommerce/woocommerce-blocks/pull/2069) 2020-03-31 11:47:48 +01:00