{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "leat/giftcard-balance",
	"version": "1.0.0",
	"title": "Gift Card Balance",
	"category": "leat",
	"icon": "money-alt",
	"description": "Let customers check the balance and expiry date of a gift card by entering its code",
	"keywords": [
		"gift card",
		"giftcard",
		"balance",
		"check"
	],
	"textdomain": "leat-crm",
	"editorScript": "leat-giftcard-balance",
	"style": "leat-frontend-init",
	"editorStyle": "leat-giftcard-balance",
	"attributes": {
		"title": {
			"type": "string"
		},
		"description": {
			"type": "string"
		},
		"cardLabelLevel": {
			"type": "number",
			"default": 4
		},
		"inputLabel": {
			"type": "string"
		},
		"inputPlaceholder": {
			"type": "string"
		},
		"buttonText": {
			"type": "string"
		},
		"expiresLabel": {
			"type": "string"
		},
		"expiredMessage": {
			"type": "string"
		},
		"inactiveMessage": {
			"type": "string"
		},
		"buttonTextColor": {
			"type": "string",
			"description": "Button text color"
		},
		"buttonBackgroundColor": {
			"type": "string",
			"description": "Button background color"
		}
	},
	"supports": {
		"anchor": true,
		"html": false,
		"align": [
			"wide",
			"full"
		],
		"typography": {
			"fontSize": true,
			"lineHeight": true,
			"fontFamily": true,
			"fontWeight": true,
			"fontStyle": true,
			"textTransform": true,
			"textDecoration": true,
			"letterSpacing": true
		},
		"spacing": {
			"padding": true,
			"margin": true
		}
	},
	"selectors": {
		"root": ".wp-block-leat-giftcard-balance"
	}
}
