woocommerce/plugins/woocommerce-blocks/assets/js/base/context
Darren Ethier 534d8f6fdd Add context for query state context string. (https://github.com/woocommerce/woocommerce-blocks/pull/1172)
* ensure useProductLayoutContext actually returns the context!

* add query state context and export provider and hook.

* implement useQueryStateContext in existing querySTate hooks and refactor other implementations

* add back in documentation removed in rebase

* default layout context to empty string (no need to add additional classes by default

* fix jsdoc
2019-11-14 12:16:27 -05: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
inner-block-configuration-context.js Add context for query state context string. (https://github.com/woocommerce/woocommerce-blocks/pull/1172) 2019-11-14 12:16:27 -05:00
product-layout-context.js Add context for query state context string. (https://github.com/woocommerce/woocommerce-blocks/pull/1172) 2019-11-14 12:16:27 -05:00
query-state-context.js Add context for query state context string. (https://github.com/woocommerce/woocommerce-blocks/pull/1172) 2019-11-14 12:16:27 -05: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