{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "designsetgo/counter-group",
  "version": "1.0.0",
  "title": "Counter Group",
  "category": "designsetgo",
  "description": "Display animated statistics and numbers that count up on scroll",
  "keywords": [
    "counter",
    "stats",
    "statistics",
    "numbers",
    "animated"
  ],
  "textdomain": "designsetgo",
  "icon": "chart-area",
  "supports": {
    "anchor": true,
    "align": [
      "wide",
      "full"
    ],
    "html": false,
    "inserter": true,
    "spacing": {
      "margin": true,
      "padding": true,
      "blockGap": false,
      "__experimentalDefaultControls": {
        "padding": true
      }
    },
    "color": {
      "background": true,
      "text": true,
      "__experimentalDefaultControls": {
        "background": true,
        "text": true
      }
    },
    "typography": {
      "fontSize": true,
      "lineHeight": true,
      "__experimentalDefaultControls": {
        "fontSize": true
      }
    }
  },
  "attributes": {
    "columns": {
      "type": "number",
      "default": 3
    },
    "columnsTablet": {
      "type": "number",
      "default": 2
    },
    "columnsMobile": {
      "type": "number",
      "default": 1
    },
    "gap": {
      "type": "string",
      "default": "32px"
    },
    "alignContent": {
      "type": "string",
      "default": "center"
    },
    "animationDuration": {
      "type": "number",
      "default": 2
    },
    "animationDelay": {
      "type": "number",
      "default": 0
    },
    "animationEasing": {
      "type": "string",
      "default": "easeOutQuad"
    },
    "useGrouping": {
      "type": "boolean",
      "default": true
    },
    "separator": {
      "type": "string",
      "default": ","
    },
    "decimal": {
      "type": "string",
      "default": "."
    },
    "hoverColor": {
      "type": "string",
      "default": ""
    }
  },
  "providesContext": {
    "designsetgo/counterGroup/animationDuration": "animationDuration",
    "designsetgo/counterGroup/animationDelay": "animationDelay",
    "designsetgo/counterGroup/animationEasing": "animationEasing",
    "designsetgo/counterGroup/useGrouping": "useGrouping",
    "designsetgo/counterGroup/separator": "separator",
    "designsetgo/counterGroup/decimal": "decimal",
    "designsetgo/counterGroup/hoverColor": "hoverColor"
  },
  "example": {
    "innerBlocks": [
      {
        "name": "designsetgo/counter",
        "attributes": {
          "endValue": 500,
          "suffix": "+",
          "label": "Happy Customers"
        }
      },
      {
        "name": "designsetgo/counter",
        "attributes": {
          "prefix": "$",
          "endValue": 1000000,
          "suffix": "+",
          "label": "Revenue Generated"
        }
      },
      {
        "name": "designsetgo/counter",
        "attributes": {
          "endValue": 99.9,
          "decimals": 1,
          "suffix": "%",
          "label": "Uptime"
        }
      }
    ]
  },
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./index.css",
  "viewScript": "file:./view.js"
}