{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "version": "22.2.3",
  "textdomain": "snow-monkey-blocks",
  "name": "snow-monkey-blocks/tabs",
  "title": "Tabs",
  "description": "This is tabs block.",
  "category": "smb",
  "attributes": {
    "tabs": {
      "type": "array",
      "default": []
    },
    "matchHeight": {
      "type": "string",
      "source": "attribute",
      "selector": ".smb-tabs",
      "attribute": "data-match-height",
      "default": "false"
    },
    "tabsJustification": {
      "type": "string",
      "source": "attribute",
      "selector": ".smb-tabs",
      "attribute": "data-tabs-justification",
      "default": "flex-start"
    },
    "tabsId": {
      "type": "string",
      "source": "attribute",
      "selector": ".smb-tabs",
      "attribute": "data-tabs-id",
      "default": ""
    },
    "orientation": {
      "type": "string",
      "source": "attribute",
      "selector": ".smb-tabs",
      "attribute": "data-orientation",
      "default": "horizontal"
    },
    "templateLock": {
      "type": [
        "string",
        "boolean"
      ],
      "enum": [
        "all",
        "insert",
        "contentOnly",
        false
      ]
    }
  },
  "supports": {
    "html": false,
    "spacing": {
      "margin": true
    },
    "contentRole": true,
    "listView": true,
    "snowmonkeyeditor": {
      "blockPresets": {
        "ignore": [
          "tabs",
          "tabsId"
        ]
      }
    }
  },
  "example": {
    "attributes": {
      "tabs": [
        {
          "title": "Tab",
          "tabPanelId": "1"
        },
        {
          "title": "Tab",
          "tabPanelId": "2"
        }
      ]
    },
    "innerBlocks": [
      {
        "name": "snow-monkey-blocks/tab-panel",
        "attributes": {
          "tabPanelId": "1",
          "ariaHidden": "false"
        },
        "innerBlocks": [
          {
            "name": "core/paragraph",
            "attributes": {
              "content": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam"
            }
          }
        ]
      },
      {
        "name": "snow-monkey-blocks/tab-panel",
        "attributes": {
          "tabPanelId": "2",
          "ariaHidden": "true"
        },
        "innerBlocks": [
          {
            "name": "core/paragraph",
            "attributes": {
              "content": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam"
            }
          }
        ]
      }
    ]
  },
  "style": "file:./style-index.css",
  "editorStyle": "file:./index.css",
  "editorScript": "file:./index.js",
  "viewScript": "file:./script.js"
}