{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "rooster/mega-menu",
	"version": "1.2.14",
	"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, or, where its layout is the mega panel, across the page's width under the header: its children in columns, a picture card (the image of the category it links to, or an illustration of its own) and a foot row of links and texts at its start and its end, the page dimmed behind it. On a phone the panels open inside a dialog from a menu button: each entry's panel under it as an accordion, or one level at a time (drawer: levels).",
	"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": "" },
		"drawer": { "type": "string", "enum": [ "accordion", "levels" ], "default": "accordion" }
	},
	"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)" },
			"drawer": { "label": "On a phone (accordion: each entry's panel under it; levels: one level at a time)" }
		},
		"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"
}
