{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "easy-architect/easy-icon",
  "version": "1.1.5",
  "title": "Easy Icon",
  "category": "design",
  "description": "Icons that adapt to your content's meaning.",
  "textdomain": "easy-architect",
  "icon": "star-half",
  "usesContext": [
    "postType",
    "postId"
  ],
  "example": {
    "attributes": {
      "icon": "star",
      "curvature": -0.25,
      "repeat": 5,
      "partialFill": 3.5,
      "fillColor": "#EEEEEE",
      "partialColor": "#FFA500",
      "strokeColor": "#000000",
      "iconSize": "24px",
      "iconGap": "2px",
      "strokeWidth": "1px",
      "justifyContent": "center"
    },
    "viewportWidth": 200,
    "innerBlocks": []
  },
  "attributes": {
    "icon": {
      "type": "string",
      "default": "star"
    },
    "curvature": {
      "type": "number",
      "default": 0.2
    },
    "repeat": {
      "type": "number",
      "default": 5
    },
    "partialFill": {
      "type": "number",
      "default": 2.5
    },
    "justifyContent": {
      "type": "string",
      "default": "flex-start"
    },
    "fillColor": {
      "type": "string"
    },
    "partialColor": {
      "type": "string"
    },
    "strokeColor": {
      "type": "string"
    },
    "iconSize": {
      "type": "string",
      "default": "40px"
    },
    "iconGap": {
      "type": "string",
      "default": "4px"
    },
    "strokeWidth": {
      "type": "string",
      "default": "1px"
    },
    "processedPath": {
      "type": "string"
    },
    "viewBox": {
      "type": "string",
      "default": "0 0 40 40"
    },
    "enableRating": {
      "type": "boolean",
      "default": false
    },
    "displayAsText": {
      "type": "boolean",
      "default": false
    },
    "displayFormat": {
      "type": "string",
      "default": "%1$.1f of %2$d"
    },
    "instanceId": {
      "type": "number"
    },
    "metadata": {
      "type": "object",
      "default": {}
    },
    "connections": {
      "type": "object",
      "default": {
        "repeat": {
          "type": "number",
          "constraints": {
            "min": 0,
            "max": 100,
            "step": 1,
            "mode": "clamp"
          }
        },
        "partialFill": {
          "type": "number",
          "constraints": {
            "min": 0,
            "max": 5,
            "step": 0.1
          }
        }
      }
    }
  },
  "supports": {
    "interactivity": true
  },
  "editorScript": "file:./index.js",
  "style": "file:./style-index.css",
  "render": "file:./render.php",
  "viewScript": [
    "file:./view.js",
    "wp-i18n"
  ]
}