{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "section-blocks/icon-box",
  "version": "1.0.0",
  "title": "Icon Box",
  "category": "section-blocks-elements",
  "icon": "id-alt",
  "description": "An icon with a title and text. Optionally the whole box is one accessible link, with a lift or glow hover effect.",
  "keywords": [
    "icon",
    "feature",
    "box",
    "card",
    "service",
    "link"
  ],
  "textdomain": "section-blocks",
  "attributes": {
    "icon": {
      "type": "string",
      "default": "star-filled"
    },
    "title": {
      "type": "string",
      "default": ""
    },
    "titleLevel": {
      "type": "number",
      "default": 3
    },
    "text": {
      "type": "string",
      "default": ""
    },
    "layout": {
      "type": "string",
      "enum": [
        "top",
        "left"
      ],
      "default": "top"
    },
    "iconStyle": {
      "type": "string",
      "enum": [
        "plain",
        "circle",
        "square"
      ],
      "default": "circle"
    },
    "url": {
      "type": "string",
      "default": ""
    },
    "opensInNewTab": {
      "type": "boolean",
      "default": false
    },
    "hoverEffect": {
      "type": "string",
      "enum": [
        "none",
        "lift",
        "glow"
      ],
      "default": "none"
    },
    "textAlign": {
      "type": "string",
      "enum": [
        "left",
        "center"
      ],
      "default": "left"
    }
  },
  "supports": {
    "html": false,
    "anchor": true,
    "color": {
      "background": true,
      "text": true
    },
    "spacing": {
      "padding": true,
      "margin": true
    },
    "typography": {
      "fontSize": true,
      "lineHeight": true
    },
    "__experimentalBorder": {
      "color": true,
      "radius": true,
      "style": true,
      "width": true
    },
    "shadow": true
  },
  "example": {
    "attributes": {
      "icon": "shield",
      "title": "Secure by default",
      "text": "Every page is escaped, accessible and fast, out of the box.",
      "iconStyle": "circle",
      "textAlign": "center"
    }
  },
  "editorScript": "file:./index.js",
  "style": [
    "file:./style-index.css",
    "section-blocks-shared"
  ],
  "render": "file:./render.php"
}