{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "vayu-blocks/advance-button",
  "version": "0.1.0",
  "title": "Advance Button",
  "category": "vayu-blocks",
  "keywords": [
    "button",
    "advance button"
  ],
  "description": "A block to create interactive and visually appealing call-to-action buttons.",
  "textdomain": "vayu-blocks",
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css",
  "attributes": {
    "id": {
      "type": "string"
    },
    "uniqueID": {
      "type": "string"
    },
    "tag": {
      "default": "h2",
      "type": "string"
    },
    "linkUrl": {
      "type": "string"
    },
    "linkTarget": {
      "type": "string"
    },
    "content": {
      "type": "string",
      "default": "Button"
    },
    "post": {
      "type": "object"
    },
    "hasIcon": {
      "type": "boolean",
      "default": false
    },
    "iconPosition": {
      "type": "string",
      "default": "after"
    },
    "widthType": {
      "type": "string",
      "default": "none"
    },
    "customWidth": {
      "type": "number"
    },
    "customWidthUnit": {
      "type": "string",
      "default": "px"
    },
    "customWidthTablet": {
      "type": "number"
    },
    "customWidthMobile": {
      "type": "number"
    },
    "fontFamily": {
      "type": "string"
    },
    "fontVariant": {
      "type": "string"
    },
    "fontStyle": {
      "type": "string"
    },
    "textTransform": {
      "type": "string"
    },
    "lineHeightUnit": {
      "type": "string",
      "default": "px"
    },
    "lineHeight": {
      "type": "number"
    },
    "lineHeightTablet": {
      "type": "number"
    },
    "lineHeightMobile": {
      "type": "number"
    },
    "letterSpacingUnit": {
      "type": "string",
      "default": "px"
    },
    "letterSpacing": {
      "type": "number"
    },
    "letterSpacingTablet": {
      "type": "number"
    },
    "letterSpacingMobile": {
      "type": "number"
    },
    "fontSizeUnit": {
      "type": "string",
      "default": "px"
    },
    "fontSize": {
      "type": "number",
      "default": 18
    },
    "fontSizeTablet": {
      "type": "number"
    },
    "fontSizeMobile": {
      "type": "number"
    },
    "iconCopy": {
      "type": "string",
      "default": ""
    },
    "icon": {
      "type": "string",
      "default": ""
    },
    "iconName": {
      "type": "string",
      "default": "wordpress-arrowRight"
    },
    "iconToggle": {
      "type": "boolean",
      "default": false
    },
    "iconAnimation": {
      "type": "string",
      "default": "none"
    },
    "backgroundeffect": {
      "type": "string",
      "default": "always"
    },
    "backgroundsettings": {
      "type": "string",
      "default": "always"
    },
    "rangeUnitcontorltest": {
      "type": "object",
      "Desktop": {},
      "Tablet": {},
      "Mobile": {}
    },
    "rangecontrol": {
      "type": "object",
      "Desktop": {},
      "Tablet": {},
      "Mobile": {}
    },
    "btnBackground": {
      "type": "object",
      "default": {
        "type": "",
        "color": "#7325c6",
        "image": {
          "url": ""
        },
        "gradient": "linear-gradient(135deg,#0F2027 0%, #203A43 0%, #2c5364 100%)"
      }
    },
    "btnBackgroundHover": {
      "type": "object",
      "default": {
        "type": "",
        "color": "#E9DBFD",
        "image": {
          "url": ""
        },
        "gradient": "linear-gradient(135deg,#0F2027 0%, #203A43 0%, #2c5364 100%)"
      }
    },
    "btnDropShadow": {
      "type": "object",
      "Desktop": {},
      "Tablet": {},
      "Mobile": {}
    },
    "btnBorder": {
      "type": "object",
      "Desktop": {},
      "Tablet": {},
      "Mobile": {}
    },
    "btnBorderRadius": {
      "type": "object",
      "Desktop": {},
      "Tablet": {},
      "Mobile": {}
    },
    "btnDropShadowHover": {
      "type": "object",
      "Desktop": {},
      "Tablet": {},
      "Mobile": {}
    },
    "btnBorderHover": {
      "type": "object",
      "Desktop": {},
      "Tablet": {},
      "Mobile": {}
    },
    "btnBorderRadiusHover": {
      "type": "object",
      "Desktop": {},
      "Tablet": {},
      "Mobile": {}
    },
    "color": {
      "type": "string",
      "default": "#FFF"
    },
    "hoverColor": {
      "type": "string",
      "default": "#7325c6"
    },
    "typography": {
      "type": "object"
    },
    "btnPadding": {
      "type": "object",
      "default": {
        "Desktop": {
          "top": "8px",
          "right": "18px",
          "bottom": "8px",
          "left": "18px"
        },
        "Tablet": {
          "top": "8px",
          "right": "18px",
          "bottom": "8px",
          "left": "18px"
        },
        "Mobile": {
          "top": "8px",
          "right": "18px",
          "bottom": "8px",
          "left": "18px"
        }
      }
    },
    "iconSpacing": {
      "type": "string",
      "default": "12px"
    },
    "alignment": {
      "type": "object",
      "default": {
        "Desktop": "left",
        "Tablet": "left",
        "Mobile": "left"
      }
    },
    "animationData": {
      "type": "object",
      "default": {
        "background": {
          "value": "none",
          "type": "onhvr"
        }
      }
    }
  },
  "supports": {
    "align": [
      "wide",
      "full"
    ],
    "html": false
  }
}