{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "pronamic/form-checkbox-field",
	"version": "1.0.0",
	"title": "Multiple-choice field",
	"category": "pronamic-forms",
	"ancestor": [ "pronamic/form" ],
	"allowedBlocks": [
		"pronamic/form-checkbox-option"
	],
	"icon": "feedback",
	"description": "Lets users pick multiple options from a list.",
	"attributes": {
		"label": {
			"type": "rich-text",
			"source": "rich-text",
			"selector": ".wp-block-pronamic-form-label span"
		},
		"name": {
			"type": "string",
			"default": ""
		},
		"value": {
			"type": "string",
			"default": ""
		},
		"required": {
			"type": "boolean",
			"default": false
		},
		"reference": {
			"type": "string",
			"default": ""
		}
	},
	"providesContext": {
		"pronamic/form-field-id": "id",
		"pronamic/form-field-name": "name"
	},
	"example": {
		"attributes": {
			"content": "Single choice"
		}
	},
	"supports": {
		"anchor": true,
		"html": false,
		"__experimentalBorder": {
			"color": true,
			"radius": true,
			"style": true,
			"width": true,
			"__experimentalDefaultControls": {
				"color": true,
				"radius": true,
				"style": true,
				"width": true
			}
		},
		"color": {
			"background": true
		},
		"layout": {
			"default": {
				"type": "flex",
				"orientation": "vertical"
			}
		},
		"spacing": {
			"margin": true,
			"padding": true
		},
		"typography": {
			"fontSize": true,
			"lineHeight": true,
			"textAlign": true
		},
		"pronamicFormControlRequired": true
	},
	"textdomain": "pronamic-ideal",
	"style": "file:style-index.css",
	"editorScript": "file:index.js"
}
