{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "lektrail/widget",
  "version": "1.0.0",
  "title": "LekTrail Reading Tracker",
  "category": "lektrail",
  "icon": "book-alt",
  "description": "Display reading progress and suggestions for your visitors.",
  "keywords": [
    "reading",
    "progress",
    "tracker",
    "suggestions"
  ],
  "textdomain": "lektrail-reading-tracker",
  "supports": {
    "html": false,
    "multiple": false,
    "align": [
      "wide",
      "full"
    ],
    "color": {
      "background": true,
      "text": true
    },
    "spacing": {
      "padding": true,
      "margin": true
    },
    "typography": {
      "fontSize": true
    }
  },
  "attributes": {
    "maxViewed": {
      "type": "number"
    },
    "maxRead": {
      "type": "number"
    },
    "maxSuggestions": {
      "type": "number"
    },
    "showExcerpt": {
      "type": "boolean"
    },
    "showThumbnail": {
      "type": "boolean"
    },
    "excerptLength": {
      "type": "number"
    },
    "viewedEnabled": {
      "type": "boolean"
    },
    "completedEnabled": {
      "type": "boolean"
    },
    "showClearButton": {
      "type": "boolean"
    },
    "labelContinue": {
      "type": "string"
    },
    "labelCompleted": {
      "type": "string"
    },
    "labelSuggestions": {
      "type": "string"
    },
    "labelEmpty": {
      "type": "string"
    },
    "labelLoading": {
      "type": "string"
    },
    "labelClear": {
      "type": "string"
    },
    "suggestionOrder": {
      "type": "string",
      "enum": [
        "random",
        "recent",
        "related"
      ]
    },
    "suggestionsCacheHours": {
      "type": "number"
    }
  },
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "lektrail-widget"
}