{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "filterwell/date",
	"version": "1.0.0",
	"title": "Date Filter",
	"category": "filterwell",
	"icon": "calendar-alt",
	"description": "Filters the loop by a publish date range (from / to). Uses the field style of the theme's Search block.",
	"ancestor": [
		"filterwell/filters"
	],
	"textdomain": "filterwell",
	"attributes": {
		"label": {
			"type": "string",
			"default": ""
		},
		"showLabel": {
			"type": "boolean",
			"default": true
		},
		"fromLabel": {
			"type": "string",
			"default": ""
		},
		"toLabel": {
			"type": "string",
			"default": ""
		},
		"headingLevel": {
			"type": "number",
			"default": 3
		}
	},
	"usesContext": [
		"filterwell/queryId",
		"filterwell/inherit",
		"filterwell/mode",
		"filterwell/postType"
	],
	"supports": {
		"html": false,
		"interactivity": true,
		"spacing": {
			"margin": true
		},
		"color": {
			"text": true,
			"background": true,
			"__experimentalSkipSerialization": true,
			"__experimentalDefaultControls": {
				"text": true,
				"background": true
			}
		},
		"typography": {
			"fontSize": true,
			"lineHeight": true,
			"__experimentalFontFamily": true,
			"__experimentalFontWeight": true,
			"__experimentalFontStyle": true,
			"__experimentalLetterSpacing": true,
			"__experimentalSkipSerialization": true,
			"__experimentalDefaultControls": {
				"fontSize": true
			}
		},
		"__experimentalBorder": {
			"color": true,
			"radius": true,
			"width": true,
			"style": true,
			"__experimentalSkipSerialization": true,
			"__experimentalDefaultControls": {
				"color": true,
				"radius": true,
				"width": true
			}
		}
	},
	"editorScript": "file:./index.js",
	"style": "file:./style-index.css",
	"render": "file:./render.php",
	"selectors": {
		"root": ".wp-block-filterwell-date",
		"color": ".wp-block-filterwell-date .wp-block-search__input",
		"border": ".wp-block-filterwell-date .wp-block-search__input",
		"typography": ".wp-block-filterwell-date .wp-block-search__input"
	}
}
