{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "rooster/view-switch",
	"version": "1.1.0",
	"title": "Product view switch",
	"category": "theme",
	"icon": "grid-view",
	"description": "Grid or list: two buttons that show the shop's products as a grid or as a list with a short description, and, with Columns set, how many products a row the grid shows on wide screens (3 or 4, remembered for the visitor). Placed in the product collection's toolbar, the views load in place.",
	"keywords": [ "grid", "list", "view", "shop", "layout", "columns" ],
	"textdomain": "ai-eshop-optimizer",
	"attributes": {
		"columns": { "type": "array", "items": { "type": "integer" }, "default": [] }
	},
	"supports": {
		"html": false,
		"interactivity": true,
		"rooster": { "defer": { "allowed": false } }
	},
	"render": "file:./render.php"
}
