{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "leat/referral-rewards",
	"title": "Referral Rewards",
	"category": "leat",
	"icon": "share",
	"description": "Display referral program rewards and sharing options",
	"keywords": ["loyalty", "referral", "rewards", "share"],
	"textdomain": "leat-crm",
	"attributes": {
		"friendHeading": {
			"type": "string",
			"default": "Your friend gets"
		},
		"friendValue": {
			"type": "string",
			"default": "75 points"
		},
		"friendDescription": {
			"type": "string",
			"default": "Complete your first purchase to receive 75 points"
		},
		"yourHeading": {
			"type": "string",
			"default": "You get"
		},
		"yourValue": {
			"type": "string",
			"default": "25% discount"
		},
		"yourDescription": {
			"type": "string",
			"default": "Receive a 25% discount when your friends make their first purchase"
		},
		"referralLinkLabel": {
			"type": "string",
			"default": "Your referral link"
		},
		"buttonText": {
			"type": "string",
			"default": "Share with friends"
		},
		"buttonTextJoin": {
			"type": "string",
			"default": "Join Program"
		},
		"buttonTextSignIn": {
			"type": "string",
			"default": "Sign In"
		},
		"shareMessage": {
			"type": "string",
			"default": "Check out this loyalty program!"
		},
		"cardLabelLevel": {
			"type": "number",
			"default": 4
		},
		"buttonTextColor": {
			"type": "string"
		},
		"buttonBackgroundColor": {
			"type": "string"
		}
	},
	"supports": {
		"anchor": true,
		"html": false,
		"align": ["wide", "full"],
		"color": {
			"text": true,
			"background": true,
			"gradients": true,
			"link": false,
			"__experimentalDefaultControls": {
				"text": true,
				"background": true
			}
		},
		"typography": {
			"fontSize": true,
			"lineHeight": true,
			"fontFamily": true,
			"fontWeight": true,
			"fontStyle": true,
			"textTransform": true,
			"textDecoration": true,
			"letterSpacing": true
		},
		"spacing": {
			"margin": true,
			"padding": true
		}
	},
	"selectors": {
		"root": ".wp-block-leat-referral-rewards"
	},
	"editorScript": "leat-referral-rewards",
	"style": "leat-frontend-init",
	"editorStyle": "leat-referral-rewards"
}
