{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "bloqra/image-box",
  "version": "1.0.0",
  "title": "Image Box",
  "category": "bloqra",
  "icon": "format-image",
  "description": "An image-led card with heading, text and a call-to-action — services, features, portfolio teasers. For an icon-led card use Icon Box; for a flexible mixed card use Info Box.",
  "keywords": [
    "image",
    "box",
    "card",
    "feature",
    "service",
    "cta"
  ],
  "example": {
    "attributes": {
      "heading": "Craft your pages",
      "text": "Beautiful sections from polished, native-feeling blocks.",
      "ctaText": "Learn more"
    }
  },
  "styles": [
    {
      "name": "default",
      "label": "Default",
      "isDefault": true
    },
    {
      "name": "overlay",
      "label": "Overlay"
    },
    {
      "name": "boxed",
      "label": "Boxed"
    },
    {
      "name": "outlined",
      "label": "Outlined"
    }
  ],
  "attributes": {
    "imageId": {
      "type": "number",
      "default": 0
    },
    "imageUrl": {
      "type": "string",
      "default": ""
    },
    "imageAlt": {
      "type": "string",
      "default": ""
    },
    "aspectRatio": {
      "type": "string",
      "default": ""
    },
    "imageZoom": {
      "type": "boolean",
      "default": false
    },
    "heading": {
      "type": "string",
      "source": "html",
      "selector": ".bloqra-image-box__heading-text",
      "default": ""
    },
    "headingLevel": {
      "type": "number",
      "default": 3
    },
    "text": {
      "type": "string",
      "source": "html",
      "selector": ".bloqra-image-box__text",
      "default": ""
    },
    "ctaText": {
      "type": "string",
      "source": "html",
      "selector": ".bloqra-image-box__cta-text",
      "default": ""
    },
    "ctaUrl": {
      "type": "string",
      "default": ""
    },
    "ctaNewTab": {
      "type": "boolean",
      "default": false
    },
    "ctaRel": {
      "type": "string",
      "default": ""
    },
    "ctaStyle": {
      "type": "string",
      "default": "link",
      "enum": [
        "link",
        "button"
      ]
    },
    "stretchLink": {
      "type": "boolean",
      "default": false
    },
    "textAlign": {
      "type": "string",
      "default": ""
    },
    "buttonBackgroundColor": {
      "type": "string",
      "default": ""
    },
    "buttonTextColor": {
      "type": "string",
      "default": ""
    }
  },
  "supports": {
    "html": false,
    "anchor": true,
    "align": [
      "wide",
      "full"
    ],
    "color": {
      "text": true,
      "background": true,
      "gradients": true
    },
    "__experimentalBorder": {
      "color": true,
      "radius": true,
      "style": true,
      "width": true,
      "__experimentalDefaultControls": {
        "color": true,
        "radius": true,
        "style": true,
        "width": true
      }
    },
    "spacing": {
      "padding": true,
      "margin": true
    },
    "shadow": true,
    "typography": {
      "fontSize": true,
      "lineHeight": true,
      "__experimentalFontFamily": true,
      "__experimentalDefaultControls": {
        "fontSize": true
      }
    }
  },
  "textdomain": "bloqra",
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css"
}