woocommerce/plugins/woocommerce-blocks/assets/js
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
..
components Product preview: Update "Add to cart" button to inherit theme's button styles (https://github.com/woocommerce/woocommerce-blocks/pull/223) 2018-12-13 12:19:06 -05:00
legacy Add key prop to dropdown elements (https://github.com/woocommerce/woocommerce-blocks/pull/229) 2018-12-11 17:29:15 -05:00
test Move legacy block to “legacy” folder (https://github.com/woocommerce/woocommerce-blocks/pull/135) 2018-11-19 11:31:43 -05:00
utils Block: Add new "Best Selling Products" block (https://github.com/woocommerce/woocommerce-blocks/pull/221) 2018-12-13 12:19:55 -05:00
vendor Fade out products when selected 2018-02-22 10:48:34 -08:00
index.js Block: Add new "Best Selling Products" block (https://github.com/woocommerce/woocommerce-blocks/pull/221) 2018-12-13 12:19:55 -05:00
product-best-sellers.js Block: Add new "Best Selling Products" block (https://github.com/woocommerce/woocommerce-blocks/pull/221) 2018-12-13 12:19:55 -05:00
product-category-block.js Block: Add new "Best Selling Products" block (https://github.com/woocommerce/woocommerce-blocks/pull/221) 2018-12-13 12:19:55 -05:00