{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "version": "23.0.0",
  "textdomain": "snow-monkey-blocks",
  "name": "snow-monkey-blocks/btn",
  "title": "Button",
  "description": "Prompt visitors to take action with a button-style link.",
  "category": "smb",
  "parent": [
    "snow-monkey-blocks/buttons"
  ],
  "attributes": {
    "content": {
      "type": "string",
      "source": "html",
      "selector": ".smb-btn__label",
      "default": ""
    },
    "url": {
      "type": "string",
      "source": "attribute",
      "selector": ".smb-btn-wrapper a",
      "attribute": "href",
      "default": ""
    },
    "target": {
      "type": "string",
      "source": "attribute",
      "selector": ".smb-btn-wrapper a",
      "attribute": "target",
      "default": "_self"
    },
    "modifier": {
      "type": "string",
      "default": ""
    },
    "borderRadius": {
      "type": [
        "string",
        "object"
      ]
    },
    "backgroundColor": {
      "type": "string"
    },
    "backgroundGradientColor": {
      "type": "string"
    },
    "textColor": {
      "type": "string"
    },
    "wrap": {
      "type": "boolean",
      "default": false
    },
    "linkDestination": {
      "type": "string"
    }
  },
  "supports": {
    "align": [
      "left",
      "center",
      "right"
    ],
    "spacing": {
      "__experimentalSkipSerialization": true,
      "margin": false,
      "padding": true
    },
    "snowmonkeyeditor": {
      "blockPresets": {
        "ignore": [
          "content",
          "url",
          "target",
          "linkDestination"
        ]
      }
    }
  },
  "selectors": {
    "spacing": {
      "padding": ".smb-btn"
    }
  },
  "example": {
    "attributes": {
      "content": "button",
      "url": "https://2inc.org"
    }
  },
  "style": "file:./style-index.css",
  "editorScript": "file:./index.js"
}