woocommerce/plugins/woocommerce-blocks/assets/js/blocks/featured-product/block.json

109 lines
2.6 KiB
JSON
Raw Normal View History

{
"name": "woocommerce/featured-product",
"version": "1.0.0",
"title": "Featured Product",
"description": "Visually highlight a product or variation and encourage prompt action.",
"category": "woocommerce",
"keywords": [ "WooCommerce" ],
"supports": {
"align": [
"wide",
"full"
],
"html": false,
"color": {
"background": true,
"text": true,
"__experimentalDuotone": ".wc-block-featured-product__background-image"
},
"spacing": {
"padding": true,
"__experimentalDefaultControls": {
"padding": true
},
"__experimentalSkipSerialization": true
},
"__experimentalBorder": {
"color": true,
"radius": true,
"width": true,
"__experimentalSkipSerialization": true
},
"multiple": true
},
"attributes": {
"alt": {
"type": "string",
"default": ""
},
"contentAlign": {
"type": "string",
"default": "center"
},
"dimRatio": {
"type": "number",
"default": 50
},
"editMode": {
"type": "boolean",
"default": true
},
"focalPoint": {
"type": "object",
"default": false
},
"imageFit": {
"type": "string",
"default": "none"
},
"hasParallax": {
"type": "boolean",
"default": false
},
"isRepeated": {
"type": "boolean",
"default": false
},
"mediaId": {
"type": "number",
"default": 0
},
"mediaSrc": {
"type": "string",
"default": ""
},
"minHeight": {
"type": "number",
"default": 500
},
"linkText": {
"type": "string",
"default": "Shop now"
},
"overlayColor": {
"type": "string",
"default": "#000000"
},
"overlayGradient": {
"type": "string"
},
"productId": {
"type": "number"
},
"previewProduct": {
"type": "object",
"default": null
},
"showDesc": {
"type": "boolean",
"default": true
},
"showPrice": {
"type": "boolean",
"default": true
}
},
"textdomain": "woo-gutenberg-products-block",
"apiVersion": 2
}