{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 3,
    "version": "0.0.1",
    "name": "tableberg/toggle",
    "allowedBlocks": ["tableberg/table"],
    "title": "Toggle for Tableberg",
    "category": "layout",
    "description": "Create a tabbed interface where each tab contains tables with full functionality.",
    "keywords": ["Tabs", "Tabbed Interface", "Table", "Layout"],
    "supports": {
        "customClassName": false
    },
    "attributes": {
        "tabs": {
            "type": "array",
            "default": ["Tab 1", "Tab 2", "Tab 3"]
        },
        "defaultActiveTabIndex": {
            "type": "number",
            "default": 0
        },
        "alignment": {
            "type": "string",
            "default": "left"
        },
        "gap": {
            "type": "string",
            "default": "0"
        },
        "tabBorderRadius": {
            "type": "string",
            "default": "var:preset|spacing|5"
        },
        "activeTabTextColor": {
            "type": "string",
            "default": "white"
        },
        "activeTabBackgroundColor": {
            "type": "string",
            "default": "#671feb"
        },
        "inactiveTabTextColor": {
            "type": "string",
            "default": "white"
        },
        "inactiveTabBackgroundColor": {
            "type": "string",
            "default": "black"
        }
    },
    "example": {},
    "viewScript": "file:./frontend.ts",
    "editorScript": "file:./index.tsx",
    "editorStyle": "file:./index.css",
    "style": "file:./index.css",
    "textdomain": "tableberg"
}
