woocommerce/plugins/woocommerce-blocks/assets/js/hocs
Albert Juhé Lluveras dc232e87d6 Add withCategories and withAttributes HOCs (https://github.com/woocommerce/woocommerce-blocks/pull/935)
* Add withCategories HOC and show API errors in Product Category Control

* Create withAttributes HOC and display errors in Product Attribute Control

* Refactor formatError so it handles JS errors and API errors

* Rename 'onSelectAttribute' with 'onExpandAttribute'

* Add and update tests

* Fix error in product attributes endpoint

* Refactor ProductCategoryControl into a functional component

* Refactor ProductAttributeControl into a functional component

* Refactor formatError to use a 'message' and 'type' properties

* Replace enzyme with TestRenderer

* Fix formatErrors doctype format

* Rename 'frontend' error type to 'general'
2019-09-04 18:07:00 +02:00
..
test Add withCategories and withAttributes HOCs (https://github.com/woocommerce/woocommerce-blocks/pull/935) 2019-09-04 18:07:00 +02:00
index.js Add withCategories and withAttributes HOCs (https://github.com/woocommerce/woocommerce-blocks/pull/935) 2019-09-04 18:07:00 +02:00
with-attributes.js Add withCategories and withAttributes HOCs (https://github.com/woocommerce/woocommerce-blocks/pull/935) 2019-09-04 18:07:00 +02:00
with-categories.js Add withCategories and withAttributes HOCs (https://github.com/woocommerce/woocommerce-blocks/pull/935) 2019-09-04 18:07:00 +02:00
with-category.js Add withCategories and withAttributes HOCs (https://github.com/woocommerce/woocommerce-blocks/pull/935) 2019-09-04 18:07:00 +02:00
with-product.js Add withCategories and withAttributes HOCs (https://github.com/woocommerce/woocommerce-blocks/pull/935) 2019-09-04 18:07:00 +02:00
with-searched-products.js Add withCategories and withAttributes HOCs (https://github.com/woocommerce/woocommerce-blocks/pull/935) 2019-09-04 18:07:00 +02:00