woocommerce/plugins/woocommerce-blocks/assets/js/base/context
Darren Ethier 2d53b2ace1 Refactor checkout context provider to be more flexible and implement CartProvider (https://github.com/woocommerce/woocommerce-blocks/pull/2083)
* Rename and move existing checkout provider to checkout-state provider.

This allows us to re-use the interface exposed on this provider for cart and checkout blocks.

* refactor checkout provider to implement the new checkout state provider.

* Add Cart provider and export

* fix type-defs

* fix editor context provider and ensure all `isEditor` checks come from this provider

* fix type definition

* implement cart provider
2020-04-01 05:27:53 -04:00
..
cart-checkout Refactor checkout context provider to be more flexible and implement CartProvider (https://github.com/woocommerce/woocommerce-blocks/pull/2083) 2020-04-01 05:27:53 -04:00
editor Refactor checkout context provider to be more flexible and implement CartProvider (https://github.com/woocommerce/woocommerce-blocks/pull/2083) 2020-04-01 05:27:53 -04:00
test Add context value validation for context apis that receive an object. (https://github.com/woocommerce/woocommerce-blocks/pull/1174) 2019-11-14 09:51:32 -05:00
index.js Refactor cart shipping settings and shipping calculator (https://github.com/woocommerce/woocommerce-blocks/pull/1943) 2020-03-13 13:41:59 +00:00
inner-block-configuration-context.js Update NPM dependencies and script dependency handling (https://github.com/woocommerce/woocommerce-blocks/pull/1337) 2019-12-10 12:17:46 -05:00
product-layout-context.js Add Feedback Prompt in Cart & Checkout blocks sidebar (https://github.com/woocommerce/woocommerce-blocks/pull/1356) 2019-12-16 15:59:16 +01:00
query-state-context.js Update NPM dependencies and script dependency handling (https://github.com/woocommerce/woocommerce-blocks/pull/1337) 2019-12-10 12:17:46 -05:00
store-notices-context.js Add snackbar notices to notices system and implement for coupon ui/ux (https://github.com/woocommerce/woocommerce-blocks/pull/1973) 2020-03-16 16:57:12 -04:00
utils.js Add context value validation for context apis that receive an object. (https://github.com/woocommerce/woocommerce-blocks/pull/1174) 2019-11-14 09:51:32 -05:00