{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "name": "tainacan/carousel-terms-list",
    "title": "Tainacan Terms Carousel",
    "apiVersion": 3,
    "category": "tainacan-blocks",
    "keywords": [ "carousel", "slider", "taxonomy" ],
    "description": "List terms on a Carousel, showing their thumbnails or a preview of items.",
    "textdomain": "tainacan",
    "example": {
        "attributes": {
            "content": "preview"
        }
    },
    "attributes": {
        "content": {
            "type": "array",
            "source": "children",
            "selector": "div"
        },
        "terms": {
            "type": "array",
            "default": []
        },
        "isModalOpen": {
            "type": "boolean",
            "default": false
        },
        "selectedTerms": {
            "type": "array",
            "default": []
        },
        "itemsRequestSource": {
            "type": "string",
            "default": ""
        },
        "maxTermsnumber": {
            "type": "number",
            "value": 12
        },
        "maxTermsPerScreen": {
            "type": "number",
            "value": 6
        },
        "spaceBetweenTerms": {
            "type": "number",
            "value": 32
        },
        "spaceAroundCarousel": {
            "type": "number",
            "value": 50
        },
        "isLoading": {
            "type": "boolean",
            "value": false
        },
        "isLoadingTerm": {
            "type": "boolean",
            "value": false
        },
        "arrowsPosition": {
            "type": "string",
            "value": "around"
        },
        "largeArrows": {
            "type": "boolean",
            "value": false
        },
        "arrowsStyle": {
            "type": "string",
            "value": "type-1"
        },
        "autoPlay": {
            "type": "boolean",
            "value": false
        },
        "autoPlaySpeed": {
            "type": "number",
            "value": 3
        },
        "loopSlides": {
            "type": "boolean",
            "value": false
        },
        "hideName": {
            "type": "boolean",
            "value": true
        },
        "showTermThumbnail": {
            "type": "boolean",
            "value": false
        },
        "term": {
            "type": "object",
            "value": {}
        },
        "imageSize": {
            "type": "string",
            "default": "tainacan-medium"
        },
        "blockId": {
            "type": "string",
            "default": ""
        },
        "termBackgroundColor": {
            "type": "string",
            "default": "#373839"
        },
        "termTextColor": {
            "type": "string",
            "default": "#ffffff"
        },
        "taxonomyId": {
            "type": "string",
            "default": ""
        },
        "variableTermsWidth": {
            "type": "boolean",
            "default": false
        }
    },
    "supports": {
        "align": ["full", "wide"],
        "html": false,
        "multiple": true,
        "typography": {
            "fontSize": true
        },
        "color": {
            "text": true,
            "background": false,
            "gradients": false,
            "link": true
        }
    },
    "editorScript": "carousel-terms-list",
	"editorStyle": ["carousel-terms-list", "tainacan-blocks-common-editor-styles" ]
}