{
  "apiVersion": 3,
  "title": "Compare Table",
  "name": "brandy/compare-table",
  "category": "brandy-blocks",
  "description": "Display a comparison table with products in compare list",
  "attributes": {
    "isPopup": {
      "type": "boolean",
      "default": false
    },
    "compareFields": {
      "type": "array",
      "default": [
        "name",
        "image",
        "description",
        "price",
        "rating",
        "add_to_cart"
      ]
    }
  },
  "supports": {
    "reusable": false,
    "html": false,
    "align": [
      "wide",
      "full"
    ],
    "typography": {
      "fontSize": true,
      "lineHeight": true,
      "__experimentalFontFamily": true,
      "__experimentalFontWeight": true,
      "__experimentalFontStyle": true,
      "__experimentalTextTransform": true,
      "__experimentalTextDecoration": true,
      "__experimentalLetterSpacing": true,
      "__experimentalDefaultControls": {
        "fontSize": true
      }
    },
    "spacing": {
      "margin": true,
      "padding": true
    },
    "__experimentalBorder": {
      "color": true,
      "radius": true,
      "style": true,
      "width": true,
      "__experimentalDefaultControls": {
        "color": true,
        "radius": true,
        "style": true,
        "width": true
      }
    },
    "interactivity": {
      "clientNavigation": true
    }
  },
  "allowedBlocks": [
    "brandy/button"
  ],
  "example": {
    "viewportWidth": 1400
  },
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css",
  "script": "file:./compare-table.js"
}