woocommerce/plugins/woocommerce-blocks/assets/js/base/hooks/shipping
Darren Ethier d3fdc4b358 Finish wiring up shipping data context provider and add disabled state to checkout submit button (https://github.com/woocommerce/woocommerce-blocks/pull/2070)
* add selecting rate resolution state to the cart store

* expose whether rate is being selected on useSelectShippingRate

* Cleanup and refactor ShippingDataProvider

- remove un-needed component and move shipping rates into context provider
- remove error handling (currently the ui/ux for the checkout should result in no errors and any api errors are non-recoverable).
- Add logic for shipping rate selection into context provider and add event emitters for it.
- increment/decrement checkout calculation counts when shipping rates are being selected.

* dispatch checkout error if there is an error

* disable place order button if checkout is calculating or has error

* update doc block

* fix convention for js comment blocks
2020-03-31 11:40:27 -04:00
..
constants.js Implement error handling for shipping rates and selected shipping rates. (https://github.com/woocommerce/woocommerce-blocks/pull/1956) 2020-03-13 16:05:45 -04:00
index.js Refactor Cart to include shippingAddress (https://github.com/woocommerce/woocommerce-blocks/pull/1960) 2020-03-13 15:04:03 -04:00
use-select-shipping-rate.js Finish wiring up shipping data context provider and add disabled state to checkout submit button (https://github.com/woocommerce/woocommerce-blocks/pull/2070) 2020-03-31 11:40:27 -04:00
use-shipping-address.js Decode address entities in shipping calculator (https://github.com/woocommerce/woocommerce-blocks/pull/2009) 2020-03-24 11:28:19 +01:00
use-shipping-rates.js Refactor Cart to include shippingAddress (https://github.com/woocommerce/woocommerce-blocks/pull/1960) 2020-03-13 15:04:03 -04:00