{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "storeengine/product-sort",
	"title": "Product Sort",
	"description": "A sort menu. The shop and the product collections on the same page follow the chosen order.",
	"category": "storeengine",
	"icon": "sort",
	"keywords": [ "sort", "order", "product", "shop" ],
	"textdomain": "storeengine",
	"attributes": {
		"label": { "type": "string", "default": "Sort by" },
		"options": {
			"type": "array",
			"items": { "type": "string" },
			"default": [ "date", "title", "title-desc", "price", "price-desc", "popularity" ]
		},
		"accentColor": { "type": "string" },
		"surfaceColor": { "type": "string" },
		"lineColor": { "type": "string" }
	},
	"supports": {
		"html": false,
		"color": { "text": true, "background": true, "__experimentalSkipSerialization": true },
		"spacing": { "margin": true, "padding": true },
		"typography": { "fontSize": true, "lineHeight": true },
		"__experimentalBorder": { "color": true, "radius": true, "style": true, "width": true, "__experimentalSkipSerialization": true },
		"shadow": { "__experimentalSkipSerialization": true }
	},
	"editorScript": "storeengine-native-blocks",
	"viewScriptModule": "storeengine/catalog-view",
	"style": "file:./style.css",
	"render": "file:./render.php"
}
