{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "leat/join-program-button",
	"version": "1.0.0",
	"title": "Join Button",
	"category": "leat",
	"icon": "star-filled",
	"description": "Button to join the loyalty program",
	"keywords": [
		"loyalty",
		"join",
		"enroll",
		"button"
	],
	"textdomain": "leat-crm",
	"editorScript": "file:./join-program-button.js",
	"style": "file:./join-program-button.css",
	"attributes": {
		"text": {
			"type": "string",
			"default": "Join Loyalty Program"
		},
		"loginText": {
			"type": "string",
			"default": "Login to Join"
		},
		"enrolledText": {
			"type": "string",
			"default": "You're already a member!"
		},
		"showFirstName": {
			"type": "boolean",
			"default": true
		},
		"showLastName": {
			"type": "boolean",
			"default": true
		},
		"firstNameLabel": {
			"type": "string",
			"default": "First name"
		},
		"lastNameLabel": {
			"type": "string",
			"default": "Last name"
		},
		"emailLabel": {
			"type": "string",
			"default": "Email address"
		},
		"modalTitle": {
			"type": "string",
			"default": "Join our loyalty program"
		},
		"submitText": {
			"type": "string",
			"default": "Join now"
		},
		"accountCreationNote": {
			"type": "string",
			"default": "A free account will be created for you automatically."
		},
		"successTitle": {
			"type": "string",
			"default": "Welcome"
		},
		"successMessage": {
			"type": "string",
			"default": "You've successfully joined our loyalty program."
		}
	},
	"supports": {
		"anchor": true,
		"align": false,
		"alignWide": false,
		"html": false,
		"reusable": false,
		"color": {
			"gradients": true,
			"text": true,
			"background": true,
			"__experimentalDefaultControls": {
				"text": true,
				"background": true
			}
		},
		"typography": {
			"fontSize": true,
			"lineHeight": true,
			"fontFamily": true,
			"fontWeight": true,
			"fontStyle": true,
			"textTransform": true,
			"textDecoration": true,
			"letterSpacing": true
		},
		"border": {
			"color": true,
			"radius": true,
			"style": true,
			"width": true
		},
		"spacing": {
			"padding": [
				"horizontal",
				"vertical"
			],
			"margin": true
		},
		"shadow": true
	}
}