{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "rooster/tab",
	"version": "1.0.0",
	"title": "Tab",
	"category": "theme",
	"icon": "excerpt-view",
	"description": "One panel of a Tabs block: its tab's words, icon and tone, and the blocks the panel shows. The Tabs block decides which panel shows.",
	"keywords": [
		"tab",
		"panel"
	],
	"textdomain": "ai-eshop-optimizer",
	"parent": [
		"rooster/tabs"
	],
	"attributes": {
		"label": {
			"type": "string",
			"default": ""
		},
		"icon": {
			"type": "string",
			"default": ""
		},
		"tone": {
			"type": "string",
			"default": ""
		}
	},
	"supports": {
		"html": false,
		"anchor": true,
		"reusable": false,
		"rooster": {
			"defer": {
				"allowed": false
			}
		}
	},
	"rooster": {
		"innerBlocks": true,
		"template": [
			[
				"core/paragraph",
				{}
			]
		],
		"ui": {
			"label": {
				"label": "The tab's words"
			},
			"icon": {
				"control": "icon",
				"label": "Icon before the words (a Lucide name)"
			},
			"tone": {
				"label": "Tone: A family's accent (zero, one, lms, panel, code, docs, kb, credits, lrs) or neutral, success, warning, danger; empty: the Tabs block's"
			}
		}
	},
	"render": "file:./render.php"
}
