c94187e450
* Add isCompact prop to components using SearchListControl * Update @woocommerce/components to 6.1.2 * Remove legacy CSS code * Add some CSS rules to override conflicting editor styles * Replace showCount prop with has-count class name * Create ExpandableSearchListItem component * Refactor ProductControl so it uses ExpandableSearchListItem * Update @woocommerce/components to 6.2.0 * Fix @woocommerce/components builds breaking * Fix a11y of expandable item list children * Set categories to an empty array by default * Render compact control in Attribute filter sidebar * Add countLabel to ProductAttributeTermControl * Fix ProductTagControl selected items * Use sentence case for countLabel * Fix wrong margins in block editor * Fix checkbox alignment * Update package-lock.json * Fix withCategories test * Fix JS error in Filter Products by Attribute block * Make input ids unique |
||
---|---|---|
.. | ||
block-title | ||
compatibility-notices | ||
edit-product-link | ||
error-placeholder | ||
expandable-search-list-item | ||
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.