{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "storeengine/product-purchase-card",
	"title": "Purchase Card",
	"description": "A box for the product's price and add-to-cart form, optionally sticky beside the product on desktop. Holds any product blocks. On other pages, choose the product it sells.",
	"category": "storeengine-product",
	"icon": "money",
	"keywords": [ "buy box", "purchase", "sticky", "price", "cart" ],
	"textdomain": "storeengine",
	"usesContext": [ "postId", "postType" ],
	"supports": {
		"html": false,
		"color": { "text": true, "background": true, "link": true },
		"spacing": { "margin": true, "padding": true, "blockGap": true },
		"typography": { "fontSize": true, "lineHeight": true },
		"__experimentalBorder": { "color": true, "radius": true, "style": true, "width": true },
		"shadow": true
	},
	"attributes": {
		"productId": { "type": "number" },
		"sticky": { "type": "boolean", "default": false },
		"stickyTop": { "type": "number", "default": 24 },
		"surfaceColor": { "type": "string" },
		"lineColor": { "type": "string" }
	},
	"editorScript": "storeengine-native-blocks",
	"style": "file:./style.css",
	"render": "file:./render.php"
}
