{
  "apiVersion": 3,
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "name": "ecomtrix/category-grid",
  "title": "Category Grid",
  "category": "ecomtrix",
  "description": "Display WooCommerce product categories dynamically in a beautiful grid layout.",
  "keywords": [
    "categories",
    "shop",
    "woocommerce",
    "grid"
  ],
  "version": "1.0.0",
  "textdomain": "ecomtrix-pro",
  "icon": "grid-view",
  "supports": {
    "html": false,
    "align": [
      "wide",
      "full"
    ],
    "color": {
      "background": true,
      "text": true
    },
    "spacing": {
      "margin": true,
      "padding": true
    }
  },
  "attributes": {
    "columns": {
      "type": "number",
      "default": 3
    },
    "categoryCount": {
      "type": "number",
      "default": 6
    },
    "showCount": {
      "type": "boolean",
      "default": true
    },
    "showButton": {
      "type": "boolean",
      "default": true
    },
    "layout": {
      "type": "string",
      "default": "grid",
      "enum": [
        "grid",
        "carousel"
      ]
    },
    "selectedCategories": {
      "type": "array",
      "default": []
    },
    "heading": {
      "type": "string",
      "default": "Shop by Category"
    },
    "subheading": {
      "type": "string",
      "default": "Browse what suits you best"
    },
    "buttonText": {
      "type": "string",
      "default": "Shop Now"
    },
    "imageHeight": {
      "type": "number",
      "default": 280
    }
  },
  "editorScript": "file:../../../build/category-grid.js",
  "editorStyle": "file:../../../build/category-grid.css",
  "style": "file:../../../build/style-category-grid.css",
  "render": "file:./render.php"
}