{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "version": "21.0.6",
  "textdomain": "snow-monkey-blocks",
  "name": "snow-monkey-blocks/btn-box",
  "title": "Button box",
  "description": "It is a button with micro copy.",
  "category": "smb",
  "attributes": {
    "lede": {
      "type": "string",
      "source": "html",
      "selector": ".smb-btn-box__lede",
      "default": "",
      "role": "content"
    },
    "note": {
      "type": "string",
      "source": "html",
      "selector": ".smb-btn-box__note",
      "default": "",
      "role": "content"
    },
    "backgroundColor": {
      "type": "string"
    },
    "btnLabel": {
      "type": "string",
      "source": "html",
      "selector": ".smb-btn__label",
      "default": "",
      "role": "content"
    },
    "btnURL": {
      "type": "string",
      "source": "attribute",
      "selector": ".smb-btn",
      "attribute": "href",
      "default": "",
      "role": "content"
    },
    "btnTarget": {
      "type": "string",
      "source": "attribute",
      "selector": ".smb-btn",
      "attribute": "target",
      "default": "_self"
    },
    "btnBackgroundColor": {
      "type": "string"
    },
    "btnBackgroundGradientColor": {
      "type": "string"
    },
    "btnTextColor": {
      "type": "string"
    },
    "btnSize": {
      "type": "string",
      "default": ""
    },
    "btnBorderRadius": {
      "type": [
        "string",
        "object"
      ]
    },
    "btnWrap": {
      "type": "boolean",
      "default": false
    }
  },
  "supports": {
    "html": false,
    "spacing": {
      "margin": true,
      "padding": true
    },
    "snowmonkeyeditor": {
      "blockPresets": {
        "ignore": [
          "lede",
          "note",
          "btnLabel",
          "btnURL",
          "btnTarget"
        ]
      }
    }
  },
  "example": {
    "attributes": {
      "lede": "Lorem ipsum dolor sit amet",
      "note": "consectetur adipiscing elit",
      "btnLabel": "button",
      "btnURL": "https://2inc.org"
    }
  },
  "editorScript": "file:./index.js"
}