{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "filterwell/taxonomy",
	"version": "1.0.0",
	"title": "Taxonomy Filter",
	"category": "filterwell",
	"icon": "tag",
	"description": "Filters the loop by categories, tags or any taxonomy of the post type.",
	"ancestor": [
		"filterwell/filters"
	],
	"textdomain": "filterwell",
	"attributes": {
		"taxonomy": {
			"type": "string",
			"default": "category"
		},
		"termsScope": {
			"type": "string",
			"enum": [
				"all",
				"top",
				"children"
			],
			"default": "all"
		},
		"label": {
			"type": "string",
			"default": ""
		},
		"showLabel": {
			"type": "boolean",
			"default": true
		},
		"displayType": {
			"type": "string",
			"enum": [
				"checkbox",
				"radio",
				"select",
				"tags"
			],
			"default": "checkbox"
		},
		"logic": {
			"type": "string",
			"enum": [
				"or",
				"and"
			],
			"default": "or"
		},
		"multiple": {
			"type": "boolean",
			"default": false
		},
		"tagsScroll": {
			"type": "string",
			"enum": [
				"mobile",
				"always"
			],
			"default": "always"
		},
		"tagsArrows": {
			"type": "boolean",
			"default": true
		},
		"tagsArrowSize": {
			"type": "string",
			"default": ""
		},
		"tagsJustify": {
			"type": "string",
			"enum": [
				"left",
				"center",
				"right"
			],
			"default": "left"
		},
		"showCounts": {
			"type": "boolean",
			"default": true
		},
		"hideEmpty": {
			"type": "boolean",
			"default": true
		},
		"orderBy": {
			"type": "string",
			"enum": [
				"name",
				"count"
			],
			"default": "name"
		},
		"allLabel": {
			"type": "string",
			"default": ""
		},
		"headingLevel": {
			"type": "number",
			"default": 3
		},
		"optionElement": {
			"type": "string"
		},
		"optionElementBorder": {
			"type": "string"
		},
		"optionElementSelected": {
			"type": "string"
		},
		"optionElementSelectedText": {
			"type": "string"
		}
	},
	"usesContext": [
		"filterwell/queryId",
		"filterwell/inherit",
		"filterwell/postType",
		"filterwell/mode"
	],
	"supports": {
		"html": false,
		"interactivity": true,
		"color": {
			"text": true,
			"background": true,
			"__experimentalDefaultControls": {
				"text": true
			}
		},
		"spacing": {
			"margin": true,
			"padding": true
		},
		"typography": {
			"fontSize": true,
			"lineHeight": true,
			"__experimentalFontFamily": true,
			"__experimentalFontWeight": true,
			"__experimentalLetterSpacing": true,
			"__experimentalTextTransform": true,
			"__experimentalDefaultControls": {
				"fontSize": true
			}
		}
	},
	"editorScript": "file:./index.js",
	"style": "file:./style-index.css",
	"render": "file:./render.php"
}
