{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "rooster/announcement-bar",
	"version": "1.1.0",
	"title": "Announcement bar",
	"category": "theme",
	"icon": "megaphone",
	"description": "The site-wide announcement from Appearance → Rooster Zero (message, link, dismissible). Renders nothing while the message is empty, so it can live in the header part permanently.",
	"keywords": [ "notice", "promo", "strip" ],
	"textdomain": "ai-eshop-optimizer",
	"attributes": {
		"showIcon": { "type": "boolean", "default": false }
	},
	"supports": {
		"html": false,
		"align": [ "full" ],
		"color": { "background": true, "text": true, "link": true },
		"typography": { "fontSize": true, "fontWeight": true },
		"spacing": { "padding": true },
		"rooster": { "defer": { "allowed": false } }
	},
	"rooster": {
		"ui": {
			"showIcon": { "label": "Show the megaphone icon" }
		},
		"notice": "The message, link and dismissal are set once in Appearance → Rooster Zero → General."
	},
	"render": "file:./render.php"
}
