43675515af
* 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 |
||
---|---|---|
.. | ||
components | ||
legacy | ||
test | ||
utils | ||
vendor | ||
index.js | ||
product-best-sellers.js | ||
product-category-block.js |