{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "bloqra/icon",
  "version": "1.0.0",
  "title": "Icon",
  "category": "bloqra",
  "icon": "star-filled",
  "description": "Display a single icon from the icon library with size, color, border, animation and link controls.",
  "example": {
    "attributes": {
      "icon": "star"
    }
  },
  "attributes": {
    "icon": {
      "type": "string",
      "default": "star"
    },
    "size": {
      "type": "string",
      "default": "48px"
    },
    "strokeWidth": {
      "type": "number",
      "default": 2
    },
    "color": {
      "type": "string",
      "default": ""
    },
    "iconBackgroundColor": {
      "type": "string",
      "default": ""
    },
    "iconBorderColor": {
      "type": "string",
      "default": ""
    },
    "iconBorderWidth": {
      "type": "string",
      "default": ""
    },
    "iconBorderRadius": {
      "type": "string",
      "default": ""
    },
    "iconPadding": {
      "type": "string",
      "default": ""
    },
    "shadow": {
      "type": "string",
      "default": "none"
    },
    "shadowColor": {
      "type": "string",
      "default": ""
    },
    "customShadow": {
      "type": "string",
      "default": ""
    },
    "animation": {
      "type": "string",
      "default": "none"
    },
    "customAnimation": {
      "type": "string",
      "default": ""
    },
    "link": {
      "type": "string",
      "default": ""
    },
    "linkNewTab": {
      "type": "boolean",
      "default": false
    },
    "ariaLabel": {
      "type": "string",
      "default": ""
    },
    "alignment": {
      "type": "string",
      "default": "center"
    }
  },
  "supports": {
    "html": false,
    "anchor": true,
    "align": [
      "left",
      "center",
      "right"
    ],
    "background": {
      "backgroundImage": true,
      "backgroundSize": true,
      "__experimentalDefaultControls": {
        "backgroundImage": true
      }
    },
    "color": {
      "text": false,
      "background": true,
      "link": false,
      "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
  },
  "textdomain": "bloqra",
  "editorScript": [
    "bloqra-icons",
    "file:./index.js"
  ],
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css"
}