{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "safelayout/safelayout-button",
  "version": "1.3.3",
  "title": "Button (Safelayout)",
  "category": "blocks-safelayout-category",
  "description": "Beautiful and high quality buttons.",
  "supports": {
    "html": false
  },
  "attributes": {
    "blockId": {
      "type": "string"
    },
    "content": {
      "type": "string",
      "default": "My Button"
    },
    "align": {
      "type": "string"
    },
    "textColor": {
      "type": "string",
      "default": "#00f"
    },
    "textColorSlug": {
      "type": "string"
    },
    "hasBg": {
      "type": "boolean",
      "default": true
    },
    "bgColor": {
      "type": "string",
      "default": "linear-gradient(#ffc559 0%, #ffc559 44%, #ff9730 100%)"
    },
    "bgColorSlug": {
      "type": "string"
    },
    "textAlign": {
      "type": "string",
      "default": "center"
    },
    "uppercase": {
      "type": "boolean",
      "default": false
    },
    "fontSize": {
      "type": "string",
      "default": "16px"
    },
    "lineHeight": {
      "type": "string",
      "default": "1.5"
    },
    "letterSpacing": {
      "type": "string",
      "default": "0px"
    },
    "width": {
      "type": "number",
      "default": 0
    },
    "minWidth": {
      "type": "string"
    },
    "hasBgShadow": {
      "type": "boolean",
      "default": true
    },
    "bgShadow": {
      "type": "string",
      "default": "0px 1px 3px #000"
    },
    "hasTextShadow": {
      "type": "boolean",
      "default": false
    },
    "textShadow": {
      "type": "string",
      "default": "1px 1px 2px #fff"
    },
    "blockMargin": {
      "type": "object",
      "default": {
        "top": "",
        "right": "",
        "bottom": "",
        "left": ""
      }
    },
    "blockPadding": {
      "type": "object",
      "default": {
        "top": "5px",
        "right": "10px",
        "bottom": "5px",
        "left": "10px"
      }
    },
    "border": {
      "type": "object"
    },
    "borderRadius": {
      "type": "object"
    },
    "hasIcon": {
      "type": "boolean",
      "default": false
    },
    "iconShape": {
      "type": "string",
      "default": "No Shape"
    },
    "iconShapeColor": {
      "type": "string",
      "default": "#3131ff"
    },
    "iconShapeColorSlug": {
      "type": "string"
    },
    "iconAnimation": {
      "type": "string",
      "default": "No Animation"
    },
    "iconAnimColor": {
      "type": "string",
      "default": "#fff"
    },
    "iconAnimColorSlug": {
      "type": "string"
    },
    "iconPos": {
      "type": "string",
      "default": "left"
    },
    "iconGap": {
      "type": "number",
      "default": 6
    },
    "iconName": {
      "type": "string",
      "default": "000_next"
    },
    "iconPaths": {
      "type": "array",
      "default": [
        {
          "d": "M6.6 6L5.4 7l4.5 5-4.5 5 1.1 1 5.5-6-5.4-6zm6 0l-1.1 1 4.5 5-4.5 5 1.1 1 5.5-6-5.5-6z"
        }
      ]
    },
    "iconColor": {
      "type": "array",
      "default": [
        "#00f"
      ]
    },
    "iconColorSlug": {
      "type": "array"
    },
    "iconStrokeColor": {
      "type": "array",
      "default": [
        "#000"
      ]
    },
    "iconStrokeColorSlug": {
      "type": "array"
    },
    "iconStrokeWidth": {
      "type": "array",
      "default": [
        0
      ]
    },
    "label": {
      "type": "string",
      "default": ""
    },
    "title": {
      "type": "string",
      "default": ""
    },
    "linkUrl": {
      "type": "string",
      "default": ""
    },
    "linkRel": {
      "type": "string",
      "default": ""
    },
    "linkTarget": {
      "type": "string",
      "default": ""
    },
    "bgPattern": {
      "type": "string",
      "default": "No Pattern"
    },
    "patternOpacity": {
      "type": "number",
      "default": 0.2
    },
    "effect": {
      "type": "string",
      "default": "No Effect"
    },
    "svgEffect": {
      "type": "string",
      "default": ""
    },
    "rotate": {
      "type": "number",
      "default": 0
    },
    "slbbAnim": {
      "type": "string",
      "default": "slide-top"
    },
    "animColor": {
      "type": "string",
      "default": "linear-gradient(#fcff7d 0%, #ffd27d 46%, #ffac59 100%)"
    },
    "animColorSlug": {
      "type": "string"
    },
    "clickEffect": {
      "type": "string",
      "default": "effect001"
    },
    "clickEffectColor": {
      "type": "string",
      "default": "#1da1f2"
    },
    "clickEffectColorSlug": {
      "type": "string"
    },
    "hasLoading": {
      "type": "boolean",
      "default": false
    },
    "loadingText": {
      "type": "string",
      "default": "Please wait ..."
    },
    "loadingEffect": {
      "type": "string",
      "default": "No Effect"
    },
    "animColorTwo": {
      "type": "string",
      "default": "#f00"
    },
    "animColorTwoSlug": {
      "type": "string"
    },
    "hasSubText": {
      "type": "boolean",
      "default": false
    },
    "subText": {
      "type": "string",
      "default": "More Text"
    },
    "subTextAlign": {
      "type": "string",
      "default": "left"
    },
    "subTextFontSize": {
      "type": "string",
      "default": "13px"
    },
    "className": {
      "type": "string",
      "default": ""
    },
    "animSTColor": {
      "type": "string"
    },
    "animSTColorSlug": {
      "type": "string"
    },
    "iconAnimColorTwo": {
      "type": "string",
      "default": "#f00"
    },
    "iconAnimColorTwoSlug": {
      "type": "string"
    },
    "elementStyle": {
      "type": "string",
      "default": ""
    }
  },
  "textdomain": "safelayout-brilliant-buttons",
  "editorScript": "file:./index.js",
  "editorStyle": [
    "file:./index.css",
    "file:./style-index.css"
  ],
  "viewScript": "file:./script.js",
  "viewStyle": "file:./style-index.css"
}