{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "rooster/share-box",
	"version": "1.0.0",
	"title": "Share box",
	"category": "theme",
	"icon": "share",
	"description": "Share the current post or product: Facebook, X, Pinterest, WhatsApp, email and copy link. No inline script.",
	"keywords": [ "share", "social", "copy link" ],
	"textdomain": "ai-eshop-optimizer",
	"usesContext": [ "postId", "postType" ],
	"attributes": {
		"heading": { "type": "string", "default": "" },
		"channels": { "type": "string", "default": "facebook,x,pinterest,whatsapp,email,copy" }
	},
	"supports": {
		"html": false,
		"align": [ "wide" ],
		"color": { "background": true, "text": true },
		"spacing": { "padding": true, "margin": true },
		"interactivity": true,
		"rooster": { "defer": { "allowed": true, "height": "56px", "default": "inline" } }
	},
	"rooster": {
		"ui": {
			"heading": { "label": "Heading (defaults to “Share”)" },
			"channels": { "label": "Channels, comma-separated: facebook, x, pinterest, whatsapp, email, copy" }
		}
	},
	"render": "file:./render.php",
	"viewScriptModule": "file:./view.min.js"
}
