{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "rooster/list",
	"version": "2.0.0",
	"title": "List",
	"category": "theme",
	"icon": "editor-ul",
	"description": "Points, figures or steps: ticked lines (two columns, bordered rows, a tinted panel, the manual's links), key figures (behind a rule, counters, a tally, bars), a staged process in a panel, or short items (tiles, pills, lines with icons).",
	"keywords": [
		"list",
		"checklist",
		"facts",
		"figures",
		"stages",
		"chips",
		"tiles"
	],
	"textdomain": "ai-eshop-optimizer",
	"attributes": {
		"variant": {
			"type": "string",
			"enum": [
				"checks",
				"facts",
				"stages",
				"chips"
			],
			"default": "checks"
		},
		"layout": {
			"type": "string",
			"enum": [
				"",
				"grid",
				"cards",
				"panel",
				"links",
				"list",
				"counters",
				"tally",
				"bars",
				"tiles",
				"pills",
				"lines"
			],
			"default": ""
		},
		"tone": {
			"type": "string",
			"default": ""
		},
		"heading": {
			"type": "string",
			"default": ""
		},
		"items": {
			"type": "string",
			"default": ""
		},
		"level": {
			"type": "integer",
			"default": 3
		},
		"text": {
			"type": "string",
			"default": ""
		},
		"note": {
			"type": "string",
			"default": ""
		}
	},
	"supports": {
		"html": false,
		"anchor": true,
		"align": [
			"wide"
		],
		"spacing": {
			"margin": [
				"top",
				"bottom"
			]
		},
		"rooster": {
			"defer": {
				"allowed": true,
				"height": "320px"
			}
		}
	},
	"rooster": {
		"variants": [
			"checks",
			"facts",
			"stages",
			"chips"
		],
		"ui": {
			"variant": {
				"label": "Variant (the look)"
			},
			"layout": {
				"label": "Layout inside the variant (empty: the variant's first): checks grid, cards, panel, links; facts list, counters, tally, bars; chips tiles, pills, lines"
			},
			"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"
			},
			"heading": {
				"label": "checks: Heading (the panel's); stages: Heading"
			},
			"items": {
				"control": "textarea",
				"label": "checks: One item per line (links: Text | link); facts: One figure per line: Value | Label | tone | caption (tone: a family's slug or neutral, success, warning, danger, may be empty; caption: a small line over the value); bars: Value | Label | share (0 to 100) | aside; stages: Stages, one per line: Step | tone | Name | Where it runs | Text; chips: One item per line: icon | Text, or Text alone (pills: no icon)"
			},
			"level": {
				"label": "checks: The panel heading's level (2 to 4); stages: Heading level (the stages' names one under it)"
			},
			"text": {
				"control": "textarea",
				"label": "stages: Paragraphs (a blank line between them; **bold** allowed)"
			},
			"note": {
				"control": "textarea",
				"label": "stages: Note under the stages"
			}
		}
	},
	"render": "file:./render.php"
}
