{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "title": "Shape Divider",
  "name": "brandy/shape-divider",
  "category": "brandy-blocks",
  "description": "A shaped edge between two sections — waves, curves, tilts, peaks — in a flat colour or a gradient.",
  "keywords": [
    "divider",
    "shape",
    "wave",
    "curve",
    "gradient",
    "separator",
    "section"
  ],
  "attributes": {
    "shape": {
      "type": "string",
      "enum": [
        "waves",
        "wave",
        "curve",
        "tilt",
        "triangle",
        "arrow",
        "split",
        "mountains",
        "zigzag",
        "book"
      ],
      "default": "waves"
    },
    "height": {
      "type": "number",
      "default": 110
    },
    "flipX": {
      "type": "boolean",
      "default": false
    },
    "invert": {
      "type": "boolean",
      "default": false
    },
    "fillType": {
      "type": "string",
      "enum": [
        "solid",
        "gradient"
      ],
      "default": "gradient"
    },
    "fillColor": {
      "type": "string",
      "default": ""
    },
    "gradientFrom": {
      "type": "string",
      "default": ""
    },
    "gradientTo": {
      "type": "string",
      "default": ""
    },
    "gradientAngle": {
      "type": "number",
      "default": 90
    },
    "uniqueId": {
      "type": "string",
      "default": ""
    }
  },
  "supports": {
    "html": false,
    "anchor": true,
    "align": [
      "wide",
      "full"
    ],
    "spacing": {
      "margin": true
    },
    "color": {
      "background": true,
      "text": false,
      "__experimentalDefaultControls": {
        "background": false
      }
    }
  },
  "example": {
    "viewportWidth": 800,
    "attributes": {
      "shape": "waves",
      "height": 110,
      "fillType": "gradient",
      "gradientAngle": 90,
      "uniqueId": "example"
    }
  },
  "textdomain": "brandy-blocks",
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css"
}