{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "storeengine/checkout-button",
	"title": "Checkout Button",
	"description": "Takes the customer from the cart to checkout. Disabled while the cart is empty.",
	"category": "storeengine",
	"icon": "arrow-right-alt",
	"keywords": [
		"checkout",
		"proceed",
		"cart"
	],
	"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-checkout-button",
		"color": ".wp-block-storeengine-checkout-button .storeengine-btn--proceed-to-checkout",
		"typography": ".wp-block-storeengine-checkout-button .storeengine-btn--proceed-to-checkout",
		"border": ".wp-block-storeengine-checkout-button .storeengine-btn--proceed-to-checkout",
		"shadow": ".wp-block-storeengine-checkout-button .storeengine-btn--proceed-to-checkout"
	},
	"styles": [
		{
			"name": "fill",
			"label": "Fill",
			"isDefault": true
		},
		{
			"name": "outline",
			"label": "Outline"
		},
		{
			"name": "soft",
			"label": "Soft"
		}
	],
	"attributes": {
		"label": {
			"type": "string",
			"default": ""
		},
		"width": {
			"type": "string",
			"enum": [
				"auto",
				"full"
			],
			"default": "auto"
		},
		"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"
}
