{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "rooster/mega-menu",
	"version": "1.2.9",
	"title": "Mega menu",
	"category": "theme",
	"icon": "menu",
	"description": "A header menu that carries only its top level in the page (one link per entry of the navigation menu named) and brings each entry's panel on the first hover, focus or tap from a versioned file of pre-rendered panels, kept in the visitor's browser until a menu is saved. An entry whose accent names one of the family menus opens that menu's panel (its columns are the menu's submenus, with the family's tagline, call to action and illustration); an entry with children of its own opens them as a list. On a phone the panels open inside a dialog from a menu button.",
	"keywords": [ "menu", "navigation", "mega menu", "header", "families", "lazy" ],
	"textdomain": "ai-eshop-optimizer",
	"attributes": {
		"navigation": { "type": "string", "default": "navigation" },
		"menus": { "type": "string", "default": "" },
		"intent": { "type": "string", "enum": [ "hover", "focus", "click" ], "default": "hover" },
		"label": { "type": "string", "default": "" }
	},
	"supports": {
		"html": false,
		"interactivity": true,
		"rooster": { "defer": { "allowed": false } }
	},
	"rooster": {
		"ui": {
			"navigation": { "label": "The navigation menu (its slug): the top level" },
			"menus": { "label": "The family menus (slugs, comma-separated): one panel each" },
			"intent": { "label": "Opens on" },
			"label": { "label": "Accessible name (empty: Products)" }
		},
		"notice": "The panels come from the menus' posts (Appearance, Editor, Navigation); a saved menu is a new version."
	},
	"style": "file:./style.css",
	"viewScriptModule": "file:./view.min.js",
	"render": "file:./render.php"
}
