{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "cmblocks/advanced-heading",
  "version": "1.0.0",
  "title": "CM Advanced Heading",
  "category": "codemanas-blocks",
  "description": "Heading but with more features",
  "example": {
    "attributes": {
      "preview": true
    }
  },
  "attributes": {
    "content": {
      "type": "string"
    },
    "level": {
      "type": "number",
      "default": 2
    },
    "animation": {
      "type": "object",
      "default": {
        "enable": false,
        "text_before": "This is",
        "text_after": "Headline",
        "type": "typing",
        "animatedText": [
          {
            "label": "Animated",
            "value": "animated"
          },
          {
            "label": "Awesome",
            "value": "awesome"
          },
          {
            "label": "a Changing",
            "value": "a Changing"
          }
        ],
        "loop": true,
        "duration": 1000
      }
    },
    "animationColors": {
      "type": "object",
      "default": {
        "textColor": ""
      }
    },
    "animationTypography": {
      "type": "object",
      "default": {
        "size": "",
        "decoration": "",
        "casing": "",
        "spacing": {
          "digit": "",
          "unit": "px"
        },
        "lineHeight": {
          "digit": "",
          "unit": "px"
        }
      }
    }
  },
  "supports": {
    "color": {
      "background": true,
      "text": true,
      "gradients": true
    },
    "align": true,
    "html": false,
    "shadow": true,
    "spacing": {
      "margin": true,
      "padding": true,
      "__experimentalDefaultControls": {
        "margin": false,
        "padding": false
      }
    },
    "anchor": true,
    "__experimentalBorder": {
      "color": true,
      "radius": true,
      "style": true,
      "width": true,
      "__experimentalDefaultControls": {
        "color": true,
        "radius": true,
        "style": true,
        "width": true
      }
    },
    "splitting": true,
    "typography": {
      "fontSize": true,
      "lineHeight": true,
      "textAlign": true,
      "__experimentalFontFamily": true,
      "__experimentalFontStyle": true,
      "__experimentalFontWeight": true,
      "__experimentalLetterSpacing": true,
      "__experimentalTextTransform": true,
      "__experimentalTextDecoration": true,
      "__experimentalDefaultControls": {
        "fontFamily": true
      }
    },
    "interactivity": {
      "clientNavigation": true
    }
  },
  "textdomain": "cm-blocks",
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css",
  "viewScript": "file:./view.js"
}