{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "name": "tainacan/faceted-search",
    "title": "Tainacan Faceted Search",
    "apiVersion": 3,
    "category": "tainacan-blocks",
    "keywords": [ "facets", "search", "items" ],
    "description": "A full items list faceted search from either the repository, a collection or a term.",
    "textdomain": "tainacan",
    "example": {
        "attributes": {
            "listType": "preview"
        }
    },
    "attributes": {
        "termId": {
            "type": "string",
            "default": null
        },
        "taxonomyId": {
            "type": "string",
            "default": null
        },
        "collectionId": {
            "type": "string",
            "default": null
        },
        "defaultViewMode": {
            "type": "string",
            "default": "masonry"
        },
        "enabledViewModes": {
            "type": "array",
            "default": []
        },
        "collectionDefaultViewMode": {
            "type": "string",
            "default": "masonry"
        },
        "collectionEnabledViewModes": {
            "type": "array",
            "default": []
        },
        "hideFilters": {
            "type": "boolean",
            "default": false
        },
        "hideHideFiltersButton": {
            "type": "boolean",
            "default": false
        },
        "hideSearch": {
            "type": "boolean",
            "default": false
        },
        "hideAdvancedSearch": {
            "type": "boolean",
            "default": false
        },
        "hideDisplayedMetadataButton": {
            "type": "boolean",
            "default": false
        },
        "hideSortingArea": {
            "type": "boolean",
            "default": false
        },
        "hideSortByButton": {
            "type": "boolean",
            "default": false
        },
        "hideItemsThumbnail": {
            "type": "boolean",
            "default": false
        },
        "hideExposersButton": {
            "type": "boolean",
            "default": false
        },
        "hideItemsPerPageButton": {
            "type": "boolean",
            "default": false
        },
        "defaultItemsPerPage": {
            "type": "number",
            "default": 12
        },
        "hideGoToPageButton": {
            "type": "boolean",
            "default": false
        },
        "hidePaginationArea": {
            "type": "boolean",
            "default": false
        },
        "showFiltersButtonInsideSearchControl": {
            "type": "boolean",
            "default": false
        },
        "startWithFiltersHidden": {
            "type": "boolean",
            "default": false
        },
        "filtersAsModal": {
            "type": "boolean",
            "default": false
        },
        "showInlineViewModeOptions": {
            "type": "boolean",
            "default": false
        },
        "showFullscreenWithViewModes": {
            "type": "boolean",
            "default": false
        },
        "listType": {
            "type": "string",
            "default": ""
        },
        "isCollectionModalOpen": {
            "type": "boolean",
            "default": false
        },
        "isTermModalOpen": {
            "type": "boolean",
            "default": false
        },
        "backgroundColor": {
            "type": "string",
            "default": "#ffffff"
        },
        "baseFontSize": {
            "type": "number",
            "default": 16
        },
        "filtersAreaWidth": {
            "type": "number",
            "default": 20
        },
        "inputColor": {
            "type": "string",
            "default": "#1d1d1d"
        },
        "inputBackgroundColor": {
            "type": "string",
            "default": "#ffffff"
        },
        "inputBorderColor": {
            "type": "string",
            "default": "#dbdbdb"
        },
        "labelColor": {
            "type": "string",
            "default": "#373839"
        },
        "infoColor": {
            "type": "string",
            "default": "#505253"
        },
        "headingColor": {
            "type": "string",
            "default": "#000000"
        },
        "skeletonColor": {
            "type": "string",
            "default": "#eeeeee"
        },
        "itemBackgroundColor": {
            "type": "string",
            "default": "#ffffff"
        },
        "itemHoverBackgroundColor": {
            "type": "string",
            "default": "#f2f2f2"
        },
        "itemHeadingHoverBackgroundColor": {
            "type": "string",
            "default": "#dbdbdb"
        },
        "primaryColor": {
            "type": "string",
            "default": "#d9eced"
        },
        "secondaryColor": {
            "type": "string",
            "default": "#187181"
        },
        "order": {
            "type": "string",
            "default": "ASC"
        },
        "orderBy": {
            "type": "string",
            "default": "date"
        },
        "orderByMeta": {
            "type": "string",
            "default": ""
        },
        "orderByType": {
            "type": "string",
            "default": ""
        },
        "collectionOrderBy": {
            "type": "string",
            "default": "date"
        },
        "collectionOrderByMeta": {
            "type": "string",
            "default": ""
        },
        "collectionOrderByType": {
            "type": "string",
            "default": ""
        },
        "shouldNotHideFiltersOnMobile": {
            "type": "boolean",
            "default": false
        },
        "displayFiltersHorizontally": {
            "type": "boolean",
            "default": false
        },
        "hideFilterCollapses": {
            "type": "boolean",
            "default": false
        },
        "filtersInlineWidth": {
            "type": "number",
            "default": 272
        }
    },
    "supports": {
        "align": ["full", "wide"],
        "html": true,
        "multiple": false
    },
    "editorScript": "faceted-search",
	"editorStyle": ["faceted-search", "tainacan-blocks-common-editor-styles" ],
	"style": "faceted-search"
}