{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "bloqra/lottie",
  "version": "1.0.0",
  "title": "Lottie Animation",
  "category": "bloqra",
  "icon": "controls-play",
  "description": "Play a Lottie JSON animation — autoplay, on scroll into view, on hover, on click, or scrubbed by scroll position. The animation only loads when it approaches the viewport.",
  "keywords": [
    "lottie",
    "animation",
    "json",
    "motion",
    "animated"
  ],
  "attributes": {
    "src": {
      "type": "string",
      "default": ""
    },
    "mediaId": {
      "type": "number",
      "default": 0
    },
    "trigger": {
      "type": "string",
      "default": "viewport",
      "enum": [
        "autoplay",
        "viewport",
        "hover",
        "click",
        "scroll"
      ]
    },
    "loop": {
      "type": "boolean",
      "default": true
    },
    "speed": {
      "type": "number",
      "default": 1
    },
    "width": {
      "type": "string",
      "default": ""
    },
    "label": {
      "type": "string",
      "default": ""
    }
  },
  "supports": {
    "html": false,
    "anchor": true,
    "align": [
      "center",
      "wide",
      "full"
    ],
    "spacing": {
      "margin": true,
      "padding": true
    }
  },
  "textdomain": "bloqra",
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css",
  "viewScript": "file:./view.js"
}