{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "boldblocks/svg-block",
  "title": "SVG Block",
  "category": "media",
  "description": "Display an SVG image as a block, which can be used for displaying images, icons, dividers, buttons",
  "keywords": [
    "svg",
    "icon",
    "image",
    "divider",
    "button",
    "separator",
    "link"
  ],
  "attributes": {
    "content": {
      "type": "string",
      "__experimentalRole": "content"
    },
    "title": {
      "type": "string",
      "__experimentalRole": "content"
    },
    "description": {
      "type": "string",
      "__experimentalRole": "content"
    },
    "preserveAspectRatio": {
      "type": "string"
    },
    "linkUrl": {
      "type": "string",
      "source": "attribute",
      "selector": "a",
      "attribute": "href",
      "__experimentalRole": "content"
    },
    "linkTarget": {
      "type": "string",
      "source": "attribute",
      "selector": "a",
      "attribute": "target",
      "__experimentalRole": "content"
    },
    "linkRel": {
      "type": "string",
      "source": "attribute",
      "selector": "a",
      "attribute": "rel",
      "__experimentalRole": "content"
    },
    "fillColor": {
      "type": "object"
    },
    "strokeColor": {
      "type": "object"
    },
    "backgroundColor": {
      "type": "object"
    },
    "flip": {
      "type": "boolean",
      "default": false
    },
    "invert": {
      "type": "boolean",
      "default": false
    },
    "useAsButton": {
      "type": "boolean",
      "default": false
    },
    "buttonText": {
      "type": "string",
      "__experimentalRole": "content"
    },
    "linkToPost": {
      "type": "boolean",
      "default": false
    },
    "iconPosition": {
      "type": "string",
      "default": "left"
    },
    "textColor": {
      "type": "object"
    },
    "zIndex": {
      "type": "string"
    },
    "boldblocks": {
      "type": "object"
    }
  },
  "supports": {
    "html": false,
    "align": true,
    "typography": {
      "fontSize": true,
      "lineHeight": true,
      "__experimentalFontFamily": true,
      "__experimentalFontStyle": true,
      "__experimentalFontWeight": true,
      "__experimentalLetterSpacing": true,
      "__experimentalTextTransform": true,
      "__experimentalTextDecoration": true,
      "__experimentalDefaultControls": {
        "fontSize": true,
        "lineHeight": true,
        "fontAppearance": true,
        "textTransform": true
      }
    },
    "interactivity": {
      "clientNavigation": true
    }
  },
  "usesContext": ["postId", "postType"],
  "textdomain": "svg-block",
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css"
}
