woocommerce/plugins/woocommerce-blocks/assets/js/atomic/blocks
Manish Menaria 392f7e17fe Add padding support for `Product Image` block (https://github.com/woocommerce/woocommerce-blocks/pull/8895)
* Refactor import and add padding support in image block

In this commit, the import statement for __experimentalGetSpacingClassesAndStyles has been refactored to use an alias getSpacingClassesAndStyles for better readability. Additionally, padding support has been added to the image block's spacing configuration.

* Refactor ProductImage to use consolidated style classes and attributes

This commit refactors the ProductImage block by using the consolidated classes and styles provided by the StyleAttributesUtils::get_classes_and_styles_by_attributes() function. This change simplifies the code, improves readability, and ensures consistent handling of styles across different block elements.
2023-03-30 12:35:32 +05:30
..
product-elements Add padding support for `Product Image` block (https://github.com/woocommerce/woocommerce-blocks/pull/8895) 2023-03-30 12:35:32 +05:30
component-init.js Remove Single Product Block (https://github.com/woocommerce/woocommerce-blocks/pull/8763) 2023-03-20 13:27:23 +00:00
index.js Add Product Reviews block (https://github.com/woocommerce/woocommerce-blocks/pull/8857) 2023-03-28 19:14:13 +02:00