woocommerce/plugins/woocommerce-blocks/assets/js/components
Seghir Nadir f6401a87c4 Remove h1 from atomic title (https://github.com/woocommerce/woocommerce-blocks/pull/1167)
* remove option to use H1
2019-11-14 14:26:35 +01:00
..
error-placeholder Rename ApiErrorPlaceholder to ErrorPlaceholder (https://github.com/woocommerce/woocommerce-blocks/pull/955) 2019-09-09 14:04:54 +02:00
grid-content-control Reformat files with new tabwidth (https://github.com/woocommerce/woocommerce-blocks/pull/953) 2019-09-09 12:52:48 +02:00
grid-layout-control All Products with Inner Blocks (https://github.com/woocommerce/woocommerce-blocks/pull/1032) 2019-10-28 09:53:09 -04:00
heading-toolbar Remove h1 from atomic title (https://github.com/woocommerce/woocommerce-blocks/pull/1167) 2019-11-14 14:26:35 +01:00
icons New block: Filter Products by Price (https://github.com/woocommerce/woocommerce-blocks/pull/853) 2019-11-01 13:56:14 +00:00
product-attribute-term-control Filter all products block by attribute (https://github.com/woocommerce/woocommerce-blocks/pull/1127) 2019-11-11 10:32:56 +00:00
product-category-control Update dependencies order (https://github.com/woocommerce/woocommerce-blocks/pull/1146) 2019-11-08 17:30:11 +01:00
product-control Update dependencies order (https://github.com/woocommerce/woocommerce-blocks/pull/1146) 2019-11-08 17:30:11 +01:00
product-orderby-control Reformat files with new tabwidth (https://github.com/woocommerce/woocommerce-blocks/pull/953) 2019-09-09 12:52:48 +02:00
product-preview Install prettier and reformat files (https://github.com/woocommerce/woocommerce-blocks/pull/945) 2019-09-05 17:09:31 +02:00
product-tag-control Reformat files with new tabwidth (https://github.com/woocommerce/woocommerce-blocks/pull/953) 2019-09-09 12:52:48 +02:00
products-control Update dependencies order (https://github.com/woocommerce/woocommerce-blocks/pull/1146) 2019-11-08 17:30:11 +01:00
toggle-button-control Update dependencies order (https://github.com/woocommerce/woocommerce-blocks/pull/1146) 2019-11-08 17:30:11 +01:00
utils Update ProductControl to use HOCs (https://github.com/woocommerce/woocommerce-blocks/pull/974) 2019-09-25 16:22:36 +02:00
README.md Filter all products block by attribute (https://github.com/woocommerce/woocommerce-blocks/pull/1127) 2019-11-11 10:32:56 +00:00

README.md

Components

These are shared components used by the blocks. If there's a component that is more universally useful, it should go into @woocommerce/components these components are specific to the Gutenberg context.

The *-control components here are designed to exist in the InspectorControls sidebar, or in a Placeholder component for the "edit state" of a block.

GridContentControl

A combination of toggle controls for content visibility in product grids.

GridLayoutControl

A combination of range controls for product grid layout settings.

ProductOrderbyControl

A pre-configured SelectControl for product orderby settings.

ProductPreview

Display a preview for a given product.

ProductAttributeTermControl

A component using SearchListControl to show product attributes as selectable options. Only allows for selecting attribute terms from one attribute at a time (multiple terms can be selected).

ProductCategoryControl

A component using SearchListControl to show product categories as selectable options. Options are displayed in hierarchy. Can select multiple categories.

ProductControl

A component using SearchListControl to show products as selectable options. Only one product can be selected at a time.

ProductsControl

A component using SearchListControl to show products as selectable options. Multiple products can be selected at once.

Icons

These are a collection of custom icons used by the blocks or components, usually from Material.

Utilities

There are some functions that work across components, these have been extracted into this utilities folder.