Mike Jolley
ba09750661
Add Notices Documentation to Storybook and upgrade to Storybook 7 ( https://github.com/woocommerce/woocommerce-blocks/pull/11524 )
...
* Rename stories
* MDX guidelines
* dedupe and fix dependencies
* Notice Banner Docs
* Fix root elements and icon library docs
* Fix ProductPrice stories
* Organise storybook structure
* Fix error placeholder story
* Snackbar docs
* Missing dotenv dependency
* Update storybook/main.js
Co-authored-by: Alex Florisca <alex.florisca@automattic.com>
* Update assets/js/base/components/snackbar-list/docs/docs.mdx
Co-authored-by: Alex Florisca <alex.florisca@automattic.com>
* Update assets/js/base/components/notice-banner/docs/docs.mdx
Co-authored-by: Alex Florisca <alex.florisca@automattic.com>
* Update assets/js/base/components/snackbar-list/docs/docs.mdx
Co-authored-by: Alex Florisca <alex.florisca@automattic.com>
* Update assets/js/base/components/snackbar-list/docs/docs.mdx
Co-authored-by: Alex Florisca <alex.florisca@automattic.com>
* Update assets/js/base/components/snackbar-list/docs/docs.mdx
Co-authored-by: Alex Florisca <alex.florisca@automattic.com>
* Update assets/js/base/components/snackbar-list/docs/docs.mdx
Co-authored-by: Alex Florisca <alex.florisca@automattic.com>
* Update assets/js/base/components/snackbar-list/docs/docs.mdx
Co-authored-by: Alex Florisca <alex.florisca@automattic.com>
* Update assets/js/base/components/snackbar-list/docs/docs.mdx
Co-authored-by: Alex Florisca <alex.florisca@automattic.com>
* Update package lock
* update snaps
* fix json error check
---------
Co-authored-by: Alex Florisca <alex.florisca@automattic.com>
2023-11-02 13:01:42 +00:00
Sam Seay
44f48e41e9
Refactor errors util to TypeScript, minor typing fixes ( https://github.com/woocommerce/woocommerce-blocks/pull/10754 )
2023-08-30 18:56:28 +12:00
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