{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "rooster/mark",
	"version": "2.0.0",
	"title": "Mark",
	"category": "theme",
	"icon": "tag",
	"description": "A small mark: the family crumb above a title, a pill with an icon above a heading, a note set apart, or a bar of linked pills (the page's areas).",
	"keywords": [
		"crumb",
		"pill",
		"note",
		"eyebrow",
		"nav",
		"pills"
	],
	"textdomain": "ai-eshop-optimizer",
	"attributes": {
		"variant": {
			"type": "string",
			"enum": [
				"crumb",
				"pill",
				"note",
				"nav"
			],
			"default": "crumb"
		},
		"layout": {
			"type": "string",
			"enum": [
				"",
				"card",
				"rule"
			],
			"default": ""
		},
		"tone": {
			"type": "string",
			"default": ""
		},
		"family": {
			"type": "string",
			"default": ""
		},
		"name": {
			"type": "string",
			"default": ""
		},
		"href": {
			"type": "string",
			"default": ""
		},
		"text": {
			"type": "string",
			"default": ""
		},
		"icon": {
			"type": "string",
			"default": ""
		},
		"items": {
			"type": "string",
			"default": ""
		},
		"label": {
			"type": "string",
			"default": ""
		},
		"justify": {
			"type": "string",
			"enum": [
				"center",
				"left"
			],
			"default": "center"
		}
	},
	"supports": {
		"html": false,
		"anchor": true,
		"align": [
			"wide"
		],
		"spacing": {
			"margin": [
				"top",
				"bottom"
			]
		},
		"rooster": {
			"defer": {
				"allowed": false
			}
		}
	},
	"rooster": {
		"variants": [
			"crumb",
			"pill",
			"note",
			"nav"
		],
		"ui": {
			"variant": {
				"label": "Variant (the look)"
			},
			"layout": {
				"label": "Layout inside the variant (empty: the variant's first)"
			},
			"tone": {
				"label": "Tone: A family's accent (zero, one, lms, panel, code, docs, kb, credits, lrs) or neutral, success, warning, danger; empty: the page's"
			},
			"family": {
				"label": "crumb: Family (the accent's slug: its name and page come from the theme's accents)"
			},
			"name": {
				"label": "crumb: Name (else the family's)"
			},
			"href": {
				"control": "url",
				"label": "crumb: Link (else the family's page)"
			},
			"text": {
				"label": "pill: Text; note: Text (**bold** allowed)"
			},
			"icon": {
				"label": "pill: Icon (a Lucide name: zap)"
			},
			"items": {
				"control": "textarea",
				"label": "nav: One pill per line: Text | link | icon | tone (the tone a family's slug or neutral, success, warning, danger; empty: the block's)"
			},
			"label": {
				"label": "nav: The bar’s name for a screen reader (empty: On this page)"
			},
			"justify": {
				"label": "pill: Place"
			}
		}
	},
	"render": "file:./render.php"
}
