{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 3,
    "name": "getbutterfly/gb-tab-group",
    "title": "Metro Tabs",
    "category": "widgets",
    "icon": "index-card",
    "description": "Tabs that go beyond Core: vertical, accordion on mobile, shareable links, icons and style presets.",
    "keywords": ["tab", "tabs", "accordion", "metro-tabs"],
    "textdomain": "metro-tabs",
    "attributes": {
        "orientation": {
            "type": "string",
            "enum": ["horizontal", "vertical"],
            "default": "horizontal"
        },
        "accordionBreakpoint": {
            "type": "number",
            "default": 0
        },
        "updateUrl": {
            "type": "boolean",
            "default": false
        },
        "remember": {
            "type": "boolean",
            "default": false
        },
        "animation": {
            "type": "string",
            "enum": ["none", "fade", "slide"],
            "default": "none"
        }
    },
    "supports": {
        "anchor": true,
        "html": false,
        "color": {
            "text": true,
            "background": true
        },
        "typography": {
            "fontSize": true
        },
        "spacing": {
            "margin": true,
            "padding": true
        }
    },
    "styles": [
        { "name": "metro", "label": "Metro", "isDefault": true },
        { "name": "pills", "label": "Pills" },
        { "name": "boxed", "label": "Boxed" },
        { "name": "segmented", "label": "Segmented" }
    ],
    "providesContext": {
        "getbutterfly/metrotabs": "orientation"
    }
}
