import { Component, h, Host, Prop } from '@stencil/core';
export class DvnIconButton {
  constructor() {
    this.tint = 'neutral';
    this.scale = 'medium';
    this.iconScale = 'medium';
    this.view = 'solid';
    this.shape = 'circle';
    this.disabled = false;
    this.progressing = false;
    this.leaned = false;
    this.tagMode = false;
  }
  render() {
    return (h(Host, { class: "d-inline-flex" },
      h("dvn-button", { tint: this.tint, view: this.view, scale: this.scale, shape: this.shape, disabled: this.disabled, progressing: this.progressing, leaned: this.leaned, abbrTitle: this.abbrTitle, tagMode: this.tagMode }, !this.progressing && h("dvn-icon", { iconName: this.iconName, scale: this.iconScale }))));
  }
  static get is() { return "dvn-icon-button"; }
  static get encapsulation() { return "scoped"; }
  static get properties() { return {
    "tint": {
      "type": "string",
      "mutable": false,
      "complexType": {
        "original": "Tint",
        "resolved": "\"danger\" | \"neutral\" | \"primary\" | \"secondary\" | \"warning\"",
        "references": {
          "Tint": {
            "location": "import",
            "path": "../../theme"
          }
        }
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": ""
      },
      "attribute": "tint",
      "reflect": false,
      "defaultValue": "'neutral'"
    },
    "scale": {
      "type": "string",
      "mutable": false,
      "complexType": {
        "original": "Scale",
        "resolved": "\"large\" | \"medium\" | \"small\" | \"x-small\"",
        "references": {
          "Scale": {
            "location": "import",
            "path": "../../theme"
          }
        }
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": ""
      },
      "attribute": "scale",
      "reflect": false,
      "defaultValue": "'medium'"
    },
    "iconScale": {
      "type": "string",
      "mutable": false,
      "complexType": {
        "original": "Scale",
        "resolved": "\"large\" | \"medium\" | \"small\" | \"x-small\"",
        "references": {
          "Scale": {
            "location": "import",
            "path": "../../theme"
          }
        }
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": ""
      },
      "attribute": "icon-scale",
      "reflect": false,
      "defaultValue": "'medium'"
    },
    "view": {
      "type": "string",
      "mutable": false,
      "complexType": {
        "original": "ButtonView",
        "resolved": "\"flat\" | \"ghost\" | \"outline\" | \"solid\"",
        "references": {
          "ButtonView": {
            "location": "import",
            "path": "../dvn-button/models"
          }
        }
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": ""
      },
      "attribute": "view",
      "reflect": false,
      "defaultValue": "'solid'"
    },
    "shape": {
      "type": "string",
      "mutable": false,
      "complexType": {
        "original": "ButtonShape",
        "resolved": "\"circle\" | \"rectangular\" | \"rounded\" | \"square\"",
        "references": {
          "ButtonShape": {
            "location": "import",
            "path": "../dvn-button/models"
          }
        }
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": ""
      },
      "attribute": "shape",
      "reflect": false,
      "defaultValue": "'circle'"
    },
    "iconName": {
      "type": "string",
      "mutable": false,
      "complexType": {
        "original": "string",
        "resolved": "string",
        "references": {}
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": ""
      },
      "attribute": "icon-name",
      "reflect": false
    },
    "disabled": {
      "type": "boolean",
      "mutable": false,
      "complexType": {
        "original": "boolean",
        "resolved": "boolean",
        "references": {}
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": ""
      },
      "attribute": "disabled",
      "reflect": false,
      "defaultValue": "false"
    },
    "progressing": {
      "type": "boolean",
      "mutable": false,
      "complexType": {
        "original": "boolean",
        "resolved": "boolean",
        "references": {}
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": ""
      },
      "attribute": "progressing",
      "reflect": false,
      "defaultValue": "false"
    },
    "leaned": {
      "type": "boolean",
      "mutable": false,
      "complexType": {
        "original": "boolean",
        "resolved": "boolean",
        "references": {}
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": ""
      },
      "attribute": "leaned",
      "reflect": false,
      "defaultValue": "false"
    },
    "abbrTitle": {
      "type": "string",
      "mutable": false,
      "complexType": {
        "original": "string",
        "resolved": "string",
        "references": {}
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": ""
      },
      "attribute": "abbr-title",
      "reflect": false
    },
    "tagMode": {
      "type": "boolean",
      "mutable": false,
      "complexType": {
        "original": "boolean",
        "resolved": "boolean",
        "references": {}
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": ""
      },
      "attribute": "tag-mode",
      "reflect": false,
      "defaultValue": "false"
    }
  }; }
}
