{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "section-blocks/callout",
  "version": "1.0.0",
  "title": "Callout",
  "category": "section-blocks-elements",
  "icon": "info-outline",
  "description": "Highlight a note, tip, success message, warning or danger notice with an icon, accessible colors and an optional title.",
  "keywords": [
    "notice",
    "alert",
    "admonition",
    "note",
    "tip",
    "warning",
    "info",
    "message",
    "box"
  ],
  "textdomain": "section-blocks",
  "attributes": {
    "type": {
      "type": "string",
      "enum": [
        "info",
        "success",
        "warning",
        "tip",
        "danger"
      ],
      "default": "info"
    },
    "title": {
      "type": "string",
      "default": ""
    },
    "content": {
      "type": "string",
      "default": ""
    },
    "showIcon": {
      "type": "boolean",
      "default": true
    },
    "icon": {
      "type": "string",
      "default": ""
    }
  },
  "styles": [
    {
      "name": "soft",
      "label": "Soft",
      "isDefault": true
    },
    {
      "name": "outline",
      "label": "Outline"
    },
    {
      "name": "solid",
      "label": "Solid"
    }
  ],
  "supports": {
    "html": false,
    "anchor": true,
    "align": [
      "wide",
      "full"
    ],
    "color": {
      "background": true,
      "text": true,
      "link": true
    },
    "spacing": {
      "padding": true,
      "margin": true
    },
    "typography": {
      "fontSize": true,
      "lineHeight": true
    },
    "__experimentalBorder": {
      "radius": true
    }
  },
  "example": {
    "attributes": {
      "type": "tip",
      "title": "Pro tip",
      "content": "Press <strong>/</strong> in an empty paragraph to search for any block, including this one."
    }
  },
  "editorScript": "file:./index.js",
  "style": [
    "file:./style-index.css",
    "section-blocks-shared"
  ],
  "render": "file:./render.php"
}