{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "strakture/svg-icon",
  "title": "SVG Icon",
  "category": "strakture-category",
  "description": "Insert an SVG icon.",
  "keywords": [
    "svg",
    "icon"
  ],
  "textdomain": "strakture",
  "attributes": {
    "icon": {
      "type": "string",
      "source": "html",
      "selector": ".wp-block-strakture-svg-icon__container",
      "default": "",
      "role": "content"
    },
    "href": {
      "type": "string",
      "source": "attribute",
      "selector": ".wp-block-strakture-svg-icon > a",
      "attribute": "href",
      "role": "content"
    },
    "rel": {
      "type": "string",
      "source": "attribute",
      "selector": ".wp-block-strakture-svg-icon > a",
      "attribute": "rel"
    },
    "itemsJustification": {
      "type": "string"
    },
    "iconBackgroundColor": {
      "type": "string"
    },
    "customIconBackgroundColor": {
      "type": "string"
    },
    "iconColor": {
      "type": "string"
    },
    "customIconColor": {
      "type": "string"
    },
    "gradient": {
      "type": "string"
    },
    "customGradient": {
      "type": "string"
    },
    "width": {
      "type": [
        "string",
        "number"
      ],
      "default": "48px"
    },
    "height": {
      "type": "string"
    },
    "hasNoIconFill": {
      "type": "boolean"
    },
    "label": {
      "type": "string"
    },
    "linkTarget": {
      "type": "string",
      "source": "attribute",
      "selector": ".wp-block-strakture-svg-icon > a",
      "attribute": "target"
    }
  },
  "supports": {
    "anchor": true,
    "align": true,
    "html": false,
    "interactivity": true,
    "__experimentalBorder": {
      "color": true,
      "radius": true,
      "style": true,
      "width": true,
      "__experimentalSelector": ".wp-block-strakture-svg-icon__container",
      "__experimentalSkipSerialization": true
    },
    "spacing": {
      "padding": true,
      "margin": true
    }
  },
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css"
}