{
  "name": "material/button",
  "title": "Button (Material)",
  "category": "material",
  "parent": [ "material/buttons" ],
  "attributes": {
    "label": {
      "type": "string",
      "source": "html",
      "selector": ".mdc-button__label",
      "default": ""
    },
    "type": {
      "type": "string",
      "default": "text"
    },
    "style": {
      "default": "raised",
      "type": "string"
    },
    "iconPosition": {
      "type": "string",
      "default": "leading"
    },
    "cornerRadius": {
      "type": "number"
    },
    "url": {
      "type": "string",
      "source": "attribute",
      "selector": "a",
      "attribute": "href",
      "default": ""
    },
    "rel": {
      "type": "string",
      "source": "attribute",
      "selector": "a",
      "attribute": "rel",
      "default": ""
    },
    "linkTarget": {
      "type": "string",
      "source": "attribute",
      "selector": "a",
      "attribute": "target"
    },
    "icon": {
      "type": "string",
      "default": "",
      "source": "text",
      "selector": ".material-icons"
     },
    "backgroundColor": {
      "type": "string"
    },
    "textColor": {
      "type": "string"
    },
    "tooltip": {
      "type": "string",
      "default": "",
      "source": "text",
      "selector": ".mdc-tooltip"
    },
    "id": {
		  "type": "string",
		  "source": "attribute",
		  "attribute": "id",
		  "selector": "*"
	  },
    "isSubmit": {
      "type": "boolean",
      "default": false
    },
    "size": {
      "type": "string",
      "default": "normal"
    },
    "elevationStyle": {
      "default": "elevated",
      "enum": [ "text", "outlined", "elevated", "filled", "tonal" ],
      "type": "string"
    }
  }
}
