2022-04-28 15:04:56 +00:00
|
|
|
{
|
|
|
|
"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": {
|
2022-05-06 05:13:11 +00:00
|
|
|
"background": true,
|
2022-04-28 15:04:56 +00:00
|
|
|
"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"
|
|
|
|
},
|
2022-05-18 14:08:32 +00:00
|
|
|
"hasParallax": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
|
|
|
},
|
|
|
|
"isRepeated": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
|
|
|
},
|
2022-04-28 15:04:56 +00:00
|
|
|
"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
|
|
|
|
}
|