{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "bloqra/icon-box",
  "version": "1.0.0",
  "title": "Icon Box",
  "category": "bloqra",
  "icon": "star-filled",
  "description": "A compact icon + heading + text card — feature lists, service grids, USP rows. For a flexible card with image support and a button, use Info Box.",
  "keywords": [
    "icon",
    "box",
    "feature",
    "service",
    "card",
    "compact"
  ],
  "example": {
    "attributes": {
      "icon": "zap",
      "heading": "Lightning fast",
      "text": "Only the assets a page really uses are ever loaded."
    }
  },
  "styles": [
    {
      "name": "default",
      "label": "Default",
      "isDefault": true
    },
    {
      "name": "boxed",
      "label": "Boxed"
    },
    {
      "name": "outlined",
      "label": "Outlined"
    }
  ],
  "attributes": {
    "icon": {
      "type": "string",
      "default": "star"
    },
    "iconStrokeWidth": {
      "type": "number",
      "default": 2
    },
    "iconPosition": {
      "type": "string",
      "default": "top",
      "enum": [
        "top",
        "left",
        "right",
        "inline"
      ]
    },
    "iconSize": {
      "type": "string",
      "default": ""
    },
    "badgeShape": {
      "type": "string",
      "default": "none",
      "enum": [
        "none",
        "circle",
        "rounded",
        "square"
      ]
    },
    "iconGap": {
      "type": "string",
      "default": ""
    },
    "heading": {
      "type": "string",
      "source": "html",
      "selector": ".bloqra-icon-box__heading-text",
      "default": ""
    },
    "headingLevel": {
      "type": "number",
      "default": 3
    },
    "text": {
      "type": "string",
      "source": "html",
      "selector": ".bloqra-icon-box__text",
      "default": ""
    },
    "url": {
      "type": "string",
      "default": ""
    },
    "linkNewTab": {
      "type": "boolean",
      "default": false
    },
    "linkRel": {
      "type": "string",
      "default": ""
    },
    "textAlign": {
      "type": "string",
      "default": ""
    },
    "hoverEffect": {
      "type": "string",
      "default": "none",
      "enum": [
        "none",
        "lift",
        "grow",
        "glow",
        "border"
      ]
    },
    "iconColor": {
      "type": "string",
      "default": ""
    },
    "iconBackgroundColor": {
      "type": "string",
      "default": ""
    },
    "glowColor": {
      "type": "string",
      "default": ""
    },
    "borderHoverColor": {
      "type": "string",
      "default": ""
    }
  },
  "supports": {
    "html": false,
    "anchor": true,
    "background": {
      "backgroundImage": true,
      "backgroundSize": true
    },
    "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": [
    "bloqra-icons",
    "file:./index.js"
  ],
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css"
}