{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "necessary-block/button-block",
  "version": "1.1.1",
  "title": "Button Block",
  "icon": "button",
  "parent": [
    "necessary-block/buttons-block"
  ],
  "description": "Versatile block used to add clickable buttons to posts or pages or custom link",
  "example": {},
  "supports": {
    "html": false,
    "shadow": true,
    "__experimentalExposeControlsToChildren": true,
    "spacing": {
      "margin": true,
      "padding": true
    },
    "align": [
      "wide",
      "full"
    ],
    "typography": {
      "fontSize": true,
      "textAlign": true,
      "lineHeight": true,
      "__experimentalFontFamily": true,
      "__experimentalFontWeight": true,
      "__experimentalFontStyle": true,
      "__experimentalTextTransform": true,
      "__experimentalTextDecoration": true,
      "__experimentalLetterSpacing": true,
      "__experimentalDefaultControls": {
        "fontSize": true,
        "lineHeight": true
      }
    },
    "__experimentalBorder": {
      "color": true,
      "radius": true,
      "style": true,
      "width": true,
      "__experimentalDefaultControls": {
        "color": true,
        "radius": true,
        "style": true,
        "width": true,
        "shadow": true
      }
    },
    "filter": {
      "duotone": true
    },
    "className": true,
    "customClassName": true,
    "splitting": true
  },
  "attributes": {
    "align": {
      "type": "string"
    },
    "buttonText": {
      "type": "string",
      "default": "Button"
    },
    "buttonLink": {
      "type": "string",
      "source": "attribute",
      "selector": "a",
      "attribute": "href",
      "role": "content"
    },
    "buttonColor": {
      "type": "string",
      "default": "#ffffff"
    },
    "buttonBackground": {
      "type": "string",
      "default": "#475467"
    },
    "buttonNewTab": {
      "type": "boolean",
      "default": false
    },
    "alignment": {
      "type": "string",
      "default": "center"
    },
    "buttonWidth": {
      "type": "string",
      "default": "calc(50% - 1.2rem * .5)"
    },
    "buttonHeight": {
      "type": "string",
      "default": ""
    },
    "hoverbg": {
      "type": "string",
      "default": "#475467"
    },
    "hoverText": {
      "type": "string",
      "default": "#ffffff"
    },
    "buttonType": {
      "type": "string",
      "default": "default"
    },
    "textAlign": {
      "type": "string",
      "default": "center"
    },
    "borderRadius": {
      "type": "object",
      "default": {
        "topLeft": "5px",
        "topRight": "5px",
        "bottomLeft": "5px",
        "bottomRight": "5px"
      }
    },
    "borderbox": {
      "type": "object",
      "default": {}
    },
    "tagName": {
      "type": "string",
      "enum": [
        "a",
        "button"
      ],
      "default": "a"
    },
    "type": {
      "type": "string",
      "default": "button"
    },
    "rel": {
      "type": "string",
      "source": "attribute",
      "selector": "a",
      "attribute": "rel",
      "role": "content"
    }
  },
  "keywords": [
    "Button Block",
    "necessary Blocks",
    "Button"
  ],
  "textdomain": "button-blocks",
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css"
}