{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "givewp/campaign-comments-block",
  "version": "1.0.0",
  "title": "Campaign Comments",
  "category": "give",
  "description": "Display all the donor comments associated with a campaign.",
  "attributes": {
    "blockId": {
      "type": "string"
    },
    "campaignId": {
      "type": "number"
    },
    "title": {
      "type": "string"
    },
    "showAnonymous": {
      "type": "boolean",
      "default": true
    },
    "showAvatar": {
      "type": "boolean",
      "default": true
    },
    "showDate": {
      "type": "boolean",
      "default": true
    },
    "showName": {
      "type": "boolean",
      "default": true
    },
    "commentLength": {
      "type": "number",
      "default": 200
    },
    "readMoreText": {
      "type": "string"
    },
    "commentsPerPage": {
      "type": "number",
      "default": 3
    }
  },
  "supports": {
    "anchor": true,
    "className": true,
    "splitting": true,
    "__experimentalBorder": {
      "color": true,
      "radius": true,
      "style": true,
      "width": true
    },
    "color": {
      "gradients": true,
      "link": true,
      "__experimentalDefaultControls": {
        "background": true,
        "text": true
      }
    },
    "spacing": {
      "margin": true,
      "padding": true,
      "__experimentalDefaultControls": {
        "margin": false,
        "padding": false
      }
    },
    "typography": {
      "fontSize": true,
      "lineHeight": true,
      "__experimentalFontFamily": true,
      "__experimentalFontStyle": true,
      "__experimentalFontWeight": true,
      "__experimentalLetterSpacing": true,
      "__experimentalTextTransform": true,
      "__experimentalTextDecoration": true,
      "__experimentalWritingMode": true,
      "__experimentalDefaultControls": {
        "fontSize": true
      }
    }
  },
  "example": {},
  "textdomain": "give",
  "render": "file:./render.php",
  "viewScript": "file:../../../../build/campaignCommentsBlockApp.js",
  "editorScript": "file:../../../../build/campaignBlocks.js",
  "style": "file:../../../../build/campaignCommentsBlockApp.css",
  "editorStyle": "file:../../../../build/assets/dist/css/design-system/foundation.css"
}