{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "blynex/scroll-progress-indicator",
  "version": "1.0.0",
  "title": "Scroll Progress Indicator",
  "category": "blynex-blocks",
  "icon": "editor-insertmore",
  "description": "Display a progress bar that shows how far the user has scrolled down the page.",
  "keywords": [
    "scroll",
    "progress",
    "indicator",
    "reading",
    "page",
    "progress bar"
  ],
  "supports": {
    "html": false,
    "anchor": true,
    "align": false,
    "spacing": {
      "margin": true,
      "padding": false
    }
  },
  "textdomain": "blynex",
  "viewScript": "file:./frontend.js",
  "attributes": {
    "displayType": {
      "type": "string",
      "default": "linear"
    },
    "position": {
      "type": "string",
      "default": "top"
    },
    "barColor": {
      "type": "string",
      "default": "#0073aa"
    },
    "backgroundColor": {
      "type": "string",
      "default": "#e0e0e0"
    },
    "height": {
      "type": "number",
      "default": 4
    },
    "circularSize": {
      "type": "number",
      "default": 80
    },
    "borderRadius": {
      "type": "number",
      "default": 0
    },
    "opacity": {
      "type": "number",
      "default": 100
    },
    "animationSpeed": {
      "type": "number",
      "default": 300
    },
    "showLabel": {
      "type": "boolean",
      "default": false
    },
    "labelFontSize": {
      "type": "number",
      "default": 14
    },
    "labelFontWeight": {
      "type": "string",
      "default": "400"
    },
    "labelColor": {
      "type": "string",
      "default": "#000000"
    },
    "labelPrefix": {
      "type": "string",
      "default": ""
    },
    "labelSuffix": {
      "type": "string",
      "default": "%"
    },
    "labelPosition": {
      "type": "string",
      "default": "inside"
    },
    "isFixed": {
      "type": "boolean",
      "default": true
    },
    "zIndex": {
      "type": "number",
      "default": 9999
    },
    "hideOnMobile": {
      "type": "boolean",
      "default": false
    },
    "hideOnScrollDown": {
      "type": "boolean",
      "default": false
    },
    "strokeWidth": {
      "type": "number",
      "default": 8
    }
  }
}