{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "texttweener/text-rotator",
  "version": "1.1.0",
  "title": "TextTweener",
  "category": "text",
  "icon": "editor-textcolor",
  "description": "Animated text transitions — letters morph to their new positions.",
  "keywords": ["text", "animation", "morph", "transition", "rotate"],
  "supports": {
    "html": false,
    "align": ["wide", "full"],
    "color": {
      "text": true,
      "background": false
    },
    "spacing": {
      "margin": true,
      "padding": true
    }
  },
  "attributes": {
    "texts": {
      "type": "array",
      "default": ["First text here", "Second text here"]
    },
    "duration": {
      "type": "number",
      "default": 4000
    },
    "transitionDuration": {
      "type": "number",
      "default": 800
    },
    "stagger": {
      "type": "number",
      "default": 15
    },
    "easing": {
      "type": "string",
      "default": "cubic-bezier(0.16, 1, 0.3, 1)"
    },
    "textAlign": {
      "type": "string",
      "default": "left"
    },
    "fontSize": {
      "type": "number",
      "default": 32
    },
    "loop": {
      "type": "boolean",
      "default": true
    }
  },
  "editorScript": "texttweener-editor",
  "editorStyle": "texttweener-editor-style",
  "viewScript": "texttweener-core",
  "textdomain": "texttweener"
}
