 {
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "flexa/process-bar",
  "version": "1.0.0",
  "title": "Progress Bar",
  "category": "flexa",
  "description": "Animated progress indicator in a line, circle or semi-circle layout — set the value as a percentage or absolute count, show a title and counter, choose fill and track colours (light/dark), a solid or striped fill and an on-scroll fill animation.",
  "keywords": [
    "flexa",
    "progress",
    "progress bar",
    "percent",
    "skill",
    "meter",
    "gauge",
    "loader"
  ],
  "textdomain": "flexa-block",
  "attributes": {
    "blockId": {
      "type": "string"
    },
    "htmlTag": {
      "type": "string",
      "default": "div"
    },
    "barType": {
      "type": "string",
      "default": "line",
      "enum": [
        "line",
        "circle",
        "semicircle"
      ]
    },
    "valueType": {
      "type": "string",
      "default": "percent",
      "enum": [
        "percent",
        "absolute"
      ]
    },
    "value": {
      "type": "number",
      "default": 75
    },
    "max": {
      "type": "number",
      "default": 100
    },
    "showTitle": {
      "type": "boolean",
      "default": true
    },
    "title": {
      "type": "string",
      "default": "Progress"
    },
    "titleTag": {
      "type": "string",
      "default": "div"
    },
    "titlePosition": {
      "type": "string",
      "default": "above",
      "enum": [
        "above",
        "below"
      ]
    },
    "titleTypography": {
      "type": "object",
      "default": {
        "desktop": {},
        "tablet": {},
        "mobile": {}
      }
    },
    "titleColor": {
      "type": "object",
      "default": {
        "light": "",
        "dark": ""
      }
    },
    "showCounter": {
      "type": "boolean",
      "default": true
    },
    "counterTypography": {
      "type": "object",
      "default": {
        "desktop": {},
        "tablet": {},
        "mobile": {}
      }
    },
    "counterColor": {
      "type": "object",
      "default": {
        "light": "",
        "dark": ""
      }
    },
    "dividerChar": {
      "type": "string",
      "default": "/"
    },
    "barHeight": {
      "type": "object",
      "default": {
        "desktop": {
          "value": "12",
          "unit": "px"
        },
        "tablet": {},
        "mobile": {}
      }
    },
    "circleSize": {
      "type": "object",
      "default": {
        "desktop": {
          "value": "160",
          "unit": "px"
        },
        "tablet": {},
        "mobile": {}
      }
    },
    "strokeWidth": {
      "type": "object",
      "default": {
        "desktop": {
          "value": "12",
          "unit": "px"
        },
        "tablet": {},
        "mobile": {}
      }
    },
    "barRadius": {
      "type": "object",
      "default": {
        "value": "999",
        "unit": "px"
      }
    },
    "fillStyle": {
      "type": "string",
      "default": "solid",
      "enum": [
        "solid",
        "striped",
        "striped-animated"
      ]
    },
    "lineCap": {
      "type": "string",
      "default": "round",
      "enum": [
        "round",
        "square",
        "butt"
      ]
    },
    "fillColor": {
      "type": "object",
      "default": {
        "light": "",
        "dark": ""
      }
    },
    "trackColor": {
      "type": "object",
      "default": {
        "light": "",
        "dark": ""
      }
    },
    "animateFill": {
      "type": "boolean",
      "default": true
    },
    "fillDuration": {
      "type": "number",
      "default": 1500
    },
    "maxWidth": {
      "type": "object",
      "default": {
        "desktop": {},
        "tablet": {},
        "mobile": {}
      }
    },
    "alignment": {
      "type": "object",
      "default": {
        "desktop": "left",
        "tablet": "",
        "mobile": ""
      }
    },
    "spacing": {
      "type": "object",
      "default": {
        "desktop": {},
        "tablet": {},
        "mobile": {}
      }
    },
    "background": {
      "type": "object",
      "default": {
        "type": "none",
        "color": {
          "light": "",
          "dark": ""
        },
        "gradient": {
          "light": "",
          "dark": ""
        },
        "image": {
          "url": "",
          "id": null,
          "position": "center center",
          "repeat": "no-repeat",
          "size": "cover",
          "attachment": "scroll"
        },
        "lazyLoad": false
      }
    },
    "border": {
      "type": "object",
      "default": {
        "desktop": {
          "style": "",
          "width": {
            "top": "",
            "right": "",
            "bottom": "",
            "left": "",
            "unit": "px"
          },
          "color": {
            "light": "",
            "dark": ""
          },
          "radius": {
            "topLeft": "",
            "topRight": "",
            "bottomRight": "",
            "bottomLeft": "",
            "unit": "px"
          }
        },
        "tablet": {},
        "mobile": {}
      }
    },
    "boxShadow": {
      "type": "object",
      "default": {
        "horizontal": "0",
        "vertical": "4",
        "blur": "12",
        "spread": "0",
        "color": {
          "light": "rgba(0,0,0,0.1)",
          "dark": ""
        },
        "inset": false,
        "enabled": false
      }
    },
    "advancedLayout": {
      "type": "object",
      "default": {
        "desktop": {
          "zIndex": "",
          "overflow": "",
          "position": ""
        },
        "tablet": {},
        "mobile": {}
      }
    },
    "responsiveVisibility": {
      "type": "object",
      "default": {
        "hideOnDesktop": false,
        "hideOnTablet": false,
        "hideOnMobile": false
      }
    },
    "animation": {
      "type": "object",
      "default": {
        "type": "none",
        "duration": "normal",
        "delay": ""
      }
    },
    "htmlAttributes": {
      "type": "object",
      "default": {
        "customAttributes": []
      }
    }
  },
  "supports": {
    "anchor": true,
    "className": true,
    "html": false,
    "align": false
  },
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css",
  "viewScript": "file:./view.js",
  "render": "file:./render.php"
}