{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "storeengine/mini-cart",
	"title": "Mini Cart",
	"description": "A cart icon with the item count, for headers. Opens the cart drawer or links to the cart page.",
	"category": "storeengine",
	"icon": "cart",
	"keywords": [
		"cart",
		"mini",
		"header",
		"basket"
	],
	"textdomain": "storeengine",
	"supports": {
		"html": false,
		"align": [
			"wide",
			"full"
		],
		"color": {
			"text": true,
			"background": true,
			"link": true
		},
		"spacing": {
			"margin": true,
			"padding": true
		},
		"typography": {
			"fontSize": true,
			"lineHeight": true,
			"__experimentalFontWeight": true,
			"__experimentalLetterSpacing": true,
			"__experimentalTextTransform": true,
			"textAlign": true
		},
		"__experimentalBorder": {
			"color": true,
			"radius": true,
			"style": true,
			"width": true
		},
		"shadow": true
	},
	"attributes": {
		"icon": {
			"type": "string",
			"enum": [
				"bag",
				"cart",
				"basket"
			],
			"default": "bag"
		},
		"showCount": {
			"type": "boolean",
			"default": true
		},
		"showTotal": {
			"type": "boolean",
			"default": false
		},
		"behavior": {
			"type": "string",
			"enum": [
				"drawer",
				"link"
			],
			"default": "drawer"
		},
		"accentColor": {
			"type": "string"
		},
		"accentSoftColor": {
			"type": "string"
		},
		"surfaceColor": {
			"type": "string"
		},
		"lineColor": {
			"type": "string"
		}
	},
	"editorScript": "storeengine-native-blocks",
	"viewScriptModule": "storeengine/store-view",
	"style": [
		"storeengine-blocks-typography",
		"file:./style.css"
	],
	"render": "file:./render.php"
}
