{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "rooster/header-link",
	"version": "1.0.1",
	"title": "Header link",
	"category": "theme",
	"icon": "admin-links",
	"description": "A link in the header actions' look (contract C11): an icon from the theme's set and a text, shown beside it on computers when the block says so. For a store finder, contact or help.",
	"keywords": [ "header", "link", "icon", "stores", "contact" ],
	"textdomain": "ai-eshop-optimizer",
	"attributes": {
		"label": { "type": "string", "default": "" },
		"url": { "type": "string", "default": "" },
		"icon": { "type": "string", "default": "map-pin" },
		"newTab": { "type": "boolean", "default": false },
		"showText": { "type": "boolean", "default": false }
	},
	"supports": {
		"html": false,
		"rooster": { "defer": { "allowed": false } }
	},
	"rooster": {
		"ui": {
			"label": { "label": "Text (also the link's name for screen readers)" },
			"url": { "control": "url", "label": "Link" },
			"icon": { "control": "icon", "label": "Icon" },
			"newTab": { "label": "Open in a new tab" },
			"showText": { "label": "Show the text beside the icon on computers" }
		}
	},
	"render": "file:./render.php"
}
