{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "storeengine/coupon-form",
	"title": "Coupon Form",
	"description": "Lets customers apply a coupon code. Totals on the page update when one is applied.",
	"category": "storeengine",
	"icon": "tickets-alt",
	"keywords": [
		"coupon",
		"discount",
		"promo"
	],
	"textdomain": "storeengine",
	"supports": {
		"html": false,
		"align": [
			"wide",
			"full"
		],
		"color": {
			"text": true,
			"background": true,
			"link": true,
			"__experimentalSkipSerialization": true
		},
		"spacing": {
			"margin": true,
			"padding": true
		},
		"typography": {
			"fontSize": true,
			"lineHeight": true,
			"__experimentalFontWeight": true,
			"__experimentalLetterSpacing": true,
			"__experimentalTextTransform": true,
			"textAlign": true,
			"__experimentalSkipSerialization": true
		},
		"__experimentalBorder": {
			"color": true,
			"radius": true,
			"style": true,
			"width": true,
			"__experimentalSkipSerialization": true
		},
		"shadow": {
			"__experimentalSkipSerialization": true
		}
	},
	"selectors": {
		"root": ".wp-block-storeengine-coupon-form",
		"color": ".wp-block-storeengine-coupon-form .storeengine-ajax-apply-coupon-form__submit",
		"typography": ".wp-block-storeengine-coupon-form .storeengine-ajax-apply-coupon-form__submit",
		"border": ".wp-block-storeengine-coupon-form .storeengine-ajax-apply-coupon-form__submit",
		"shadow": ".wp-block-storeengine-coupon-form .storeengine-ajax-apply-coupon-form__submit"
	},
	"styles": [
		{
			"name": "fill",
			"label": "Fill",
			"isDefault": true
		},
		{
			"name": "outline",
			"label": "Outline"
		},
		{
			"name": "soft",
			"label": "Soft"
		}
	],
	"attributes": {
		"placeholder": {
			"type": "string",
			"default": ""
		},
		"buttonText": {
			"type": "string",
			"default": ""
		},
		"collapsed": {
			"type": "boolean",
			"default": false
		},
		"toggleLabel": {
			"type": "string",
			"default": ""
		},
		"accentColor": {
			"type": "string"
		},
		"accentSoftColor": {
			"type": "string"
		},
		"surfaceColor": {
			"type": "string"
		},
		"lineColor": {
			"type": "string"
		}
	},
	"editorScript": "storeengine-native-blocks",
	"style": [
		"storeengine-blocks-typography",
		"file:./style.css"
	],
	"render": "file:./render.php"
}
