woocommerce/plugins/woocommerce-blocks/assets
Kelly Dwan 43675515af Block: Add new "Best Selling Products" block (https://github.com/woocommerce/woocommerce-blocks/pull/221)
* Move from a JS file per block registration to one file registering all blocks

This will let webpack combine shared libraries, like gridicons

* Move global block settings to the “before all scripts” section

These shouldn’t be tied to a specific block file, since they’re used across all blocks

* Register both block types

We can also remove the scripts, since we enqueue these below

* Update getShortcode & getQuery to handle different block types

* Pass block type name to getQuery

* Update shared attributes - edit_mode is not a universal option, but categories will be

Categories is shared, but orderby is not

* Add “Best Selling Products” block

* Add a shared class name for product grid blocks

* Fix failing tests
2018-12-13 12:19:55 -05:00
..
css Block: Add new "Best Selling Products" block (https://github.com/woocommerce/woocommerce-blocks/pull/221) 2018-12-13 12:19:55 -05:00
js Block: Add new "Best Selling Products" block (https://github.com/woocommerce/woocommerce-blocks/pull/221) 2018-12-13 12:19:55 -05:00