{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 3,
    "name": "aieo/latest-posts-overlay",
    "version": "1.1.0",
    "title": "Rooster One Latest Posts Overlay",
    "category": "theme",
    "icon": "format-image",
    "description": "The latest blog posts as cards on their pictures. The journal (the default): a head with its title and \"All stories\", then a row of cards, each the picture under the theme's photo scrim with the category and the title over it, a row that swipes on a tablet and a phone. The overlay and the glass looks: a grid with a category badge, a slider on a phone.",
    "keywords": [
        "aieo",
        "blog",
        "latest posts",
        "overlay"
    ],
    "supports": {
        "html": false,
        "align": [
            "wide",
            "full"
        ],
        "spacing": {
            "margin": true,
            "padding": true
        },
        "typography": {
            "fontSize": true,
            "lineHeight": true
        },
        "color": {
            "background": true,
            "text": true
        }
    },
    "attributes": {
        "posts": {
            "type": "number",
            "default": 3
        },
        "imageSize": {
            "type": "string",
            "default": "medium"
        },
        "excludeCurrent": {
            "type": "boolean",
            "default": true
        },
        "cardStyle": {
            "type": "string",
            "default": "journal",
            "enum": [
                "journal",
                "overlay",
                "glass"
            ]
        },
        "secHeading": {
            "type": "string",
            "default": ""
        },
        "secHeadingFeature": {
            "type": "boolean",
            "default": false
        },
        "secAlign": {
            "type": "string",
            "default": "left"
        },
        "allText": {
            "type": "string",
            "default": ""
        },
        "allHref": {
            "type": "string",
            "default": ""
        },
        "showAll": {
            "type": "boolean",
            "default": true
        },
        "level": {
            "type": "number",
            "default": 2
        }
    },
    "render": "file:./render.php",
    "editorScript": "file:./edit.js",
    "viewStyle": "file:./style.css",
    "viewScript": "file:./view.js",
    "textdomain": "ai-eshop-optimizer"
}
