b6403bd66c
* add guide * Add missing translation strings * Use localStorageState so dismissing the compatibility notice is persisted * Add types * Split notice text in two paragraphs * Update notice texts * Remove unnecessary empty line * Cleanup * Prevent Gutenberg stealing focus (and closing) guide modal * Add tests * Don't show compatibility notice in WP <= 5.4 * Don't have tests inside if clauses * Fix test breaking in latest Gutenberg version * Remove unnecessary openDocumentSettingsSidebar * Rename CompatibilityNotice to CartCheckoutCompatibilityNotice * Add try/catch blocks around JSON operations in useLocalStorageState * Create useCompatibilityNotice hook Co-authored-by: Seghir Nadir <nadir.seghir@gmail.com> |
||
---|---|---|
.. | ||
block-title | ||
compatibility-notices | ||
edit-product-link | ||
error-placeholder | ||
feedback-prompt | ||
grid-content-control | ||
grid-layout-control | ||
heading-toolbar | ||
page-selector | ||
product-attribute-term-control | ||
product-category-control | ||
product-control | ||
product-orderby-control | ||
product-tag-control | ||
products-control | ||
text-toolbar-button | ||
toggle-button-control | ||
utils | ||
view-switcher | ||
README.md |
README.md
WooCommerce Blocks - Editor Components
These are shared components used in WooCommerce blocks for the editor (Gutenberg) UI.
Many of our blocks need rich, smart components to provide an interface for selecting or configuring blocks with WooCommerce data. Often there are multiple blocks that need such components. Components in this collection are used in multiple blocks, and may include logic for working with Woo data specifically (e.g. products, shipping methods, product categories).
See Components & Storybook doc for more information.