{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "bloqra/tabs",
  "version": "1.0.0",
  "title": "Tabs",
  "category": "bloqra",
  "icon": "index-card",
  "description": "Organize content into switchable tabbed sections — horizontal or vertical tab lists, optional icons per tab, and an automatic accordion layout on mobile.",
  "keywords": [
    "tabs",
    "tab",
    "vertical",
    "accordion",
    "sections",
    "organize"
  ],
  "example": {
    "attributes": {
      "activeTab": 0,
      "tabs": [
        {
          "label": "Overview",
          "icon": ""
        },
        {
          "label": "Features",
          "icon": ""
        },
        {
          "label": "Reviews",
          "icon": ""
        }
      ]
    },
    "innerBlocks": [
      {
        "name": "bloqra/tab",
        "attributes": {
          "label": "Overview",
          "isActive": true
        },
        "innerBlocks": [
          {
            "name": "core/paragraph",
            "attributes": {
              "content": "Overview content."
            }
          }
        ]
      },
      {
        "name": "bloqra/tab",
        "attributes": {
          "label": "Features"
        },
        "innerBlocks": [
          {
            "name": "core/paragraph",
            "attributes": {
              "content": "Features content."
            }
          }
        ]
      },
      {
        "name": "bloqra/tab",
        "attributes": {
          "label": "Reviews"
        },
        "innerBlocks": [
          {
            "name": "core/paragraph",
            "attributes": {
              "content": "Reviews content."
            }
          }
        ]
      }
    ]
  },
  "attributes": {
    "activeTab": {
      "type": "number",
      "default": 0
    },
    "tabs": {
      "type": "array",
      "default": []
    },
    "orientation": {
      "type": "string",
      "default": "horizontal",
      "enum": [
        "horizontal",
        "vertical"
      ]
    },
    "accordionOnMobile": {
      "type": "boolean",
      "default": true
    },
    "panelAnimation": {
      "type": "string",
      "default": "fade",
      "enum": [
        "fade",
        "none"
      ]
    },
    "gap": {
      "type": "string",
      "default": ""
    },
    "accentColor": {
      "type": "string",
      "default": ""
    },
    "activeTextColor": {
      "type": "string",
      "default": ""
    },
    "inactiveTextColor": {
      "type": "string",
      "default": ""
    },
    "tabBgColor": {
      "type": "string",
      "default": ""
    }
  },
  "styles": [
    {
      "name": "line",
      "label": "Line",
      "isDefault": true
    },
    {
      "name": "boxed",
      "label": "Boxed"
    }
  ],
  "supports": {
    "html": false,
    "anchor": true,
    "align": [
      "wide",
      "full"
    ],
    "color": {
      "text": true,
      "background": true,
      "gradients": true
    },
    "spacing": {
      "padding": true,
      "margin": true
    },
    "__experimentalBorder": {
      "color": true,
      "radius": true,
      "style": true,
      "width": true
    },
    "shadow": true,
    "typography": {
      "fontSize": true,
      "__experimentalFontFamily": true
    }
  },
  "textdomain": "bloqra",
  "editorScript": [
    "bloqra-icons",
    "file:./index.js"
  ],
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css",
  "viewScript": "file:./view.js"
}