File "supports.ts"
Full Path: /home/warrior1/public_html/languages/wp-content/plugins/woocommerce/packages/woocommerce-blocks/assets/js/atomic/blocks/product-elements/image/supports.ts
File size: 641 bytes
MIME-type: text/x-java
Charset: utf-8
/**
* External dependencies
*/
import { isFeaturePluginBuild } from '@woocommerce/block-settings';
import { hasSpacingStyleSupport } from '@woocommerce/utils';
/**
* Internal dependencies
*/
export const supports = {
html: false,
...( isFeaturePluginBuild() && {
__experimentalBorder: {
radius: true,
__experimentalSkipSerialization: true,
},
typography: {
fontSize: true,
__experimentalSkipSerialization: true,
},
...( hasSpacingStyleSupport() && {
spacing: {
margin: true,
__experimentalSkipSerialization: true,
},
} ),
__experimentalSelector: '.wc-block-components-product-image',
} ),
};