woocommerce/plugins/woocommerce-blocks/assets/js/components
Mike Jolley 8bc02c3b0c Include blocks api in feature plugin (https://github.com/woocommerce/woocommerce-blocks/pull/628)
* Progress moving endpoints

* Handle rest api registration

* Add tag_operator to blocks API

From https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/555

* Unit tests

* update travis

* Composer before install

* Travis config

* switch dir running composer

* nodev mode
2019-06-27 11:03:21 +01:00
..
grid-content-control Update and add documentation in READMEs (https://github.com/woocommerce/woocommerce-blocks/pull/551) 2019-05-09 10:45:09 -04:00
grid-layout-control Blocks: Restrict row/column values to only valid values (https://github.com/woocommerce/woocommerce-blocks/pull/386) 2019-01-31 17:55:54 -05:00
icons Add/block product categories (https://github.com/woocommerce/woocommerce-blocks/pull/613) 2019-06-17 10:23:59 -04:00
product-attribute-control Include blocks api in feature plugin (https://github.com/woocommerce/woocommerce-blocks/pull/628) 2019-06-27 11:03:21 +01:00
product-category-control Include blocks api in feature plugin (https://github.com/woocommerce/woocommerce-blocks/pull/628) 2019-06-27 11:03:21 +01:00
product-control ProductControl: Update product search performance (https://github.com/woocommerce/woocommerce-blocks/pull/547) 2019-05-03 10:38:13 -04:00
product-orderby-control Move product order list into a shared component (https://github.com/woocommerce/woocommerce-blocks/pull/238) 2018-12-14 09:57:32 -05:00
product-preview Update dynamic block styles and markup for default themes (https://github.com/woocommerce/woocommerce-blocks/pull/576) 2019-05-28 11:17:45 +01:00
products-control ProductControl: Update product search performance (https://github.com/woocommerce/woocommerce-blocks/pull/547) 2019-05-03 10:38:13 -04:00
utils Include blocks api in feature plugin (https://github.com/woocommerce/woocommerce-blocks/pull/628) 2019-06-27 11:03:21 +01:00
README.md Update and add documentation in READMEs (https://github.com/woocommerce/woocommerce-blocks/pull/551) 2019-05-09 10:45:09 -04: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.

ProductAttributeControl

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.