{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 3,
    "name": "givewp/campaign-title",
    "version": "1.0.0",
    "title": "Campaign Title",
    "category": "give",
    "icon": "heading",
    "description": "Displays the title of the campaign.",
    "attributes": {
        "campaignId": {
            "type": "integer"
        },
        "headingLevel": {
            "type": "number",
            "default": 1
        },
        "textAlign": {
            "type": "string"
        }
    },
    "supports": {
        "align": [
            "wide",
            "full"
        ],
        "className": true,
        "splitting": true,
        "__experimentalBorder": {
            "color": true,
            "radius": true,
            "style": true,
            "width": true
        },
        "color": {
            "gradients": true,
            "link": true,
            "__experimentalDefaultControls": {
                "background": true,
                "text": true
            }
        },
        "spacing": {
            "margin": true,
            "padding": true,
            "__experimentalDefaultControls": {
                "margin": false,
                "padding": false
            }
        },
        "typography": {
            "fontSize": true,
            "lineHeight": true,
            "__experimentalFontFamily": true,
            "__experimentalFontStyle": true,
            "__experimentalFontWeight": true,
            "__experimentalLetterSpacing": true,
            "__experimentalTextTransform": true,
            "__experimentalTextDecoration": true,
            "__experimentalWritingMode": true,
            "__experimentalDefaultControls": {
                "fontSize": true
            }
        }
    },
    "example": {
        "attributes": {
            "textAlign": "center"
        }
    },
    "textdomain": "give",
    "editorStyle": "file:../../../../build/campaignTitleBlock.css",
    "render": "file:./render.php"
}
