import { Component, h, Prop } from '@stencil/core';
export class Icon {
  render() {
    const El = `abds-icon-${this.icon}`;
    return h(El, { size: this.size, "stroke-width": this.strokeWidth });
  }
  static get is() { return "abds-icon"; }
  static get encapsulation() { return "shadow"; }
  static get originalStyleUrls() { return {
    "$": ["icon.css"]
  }; }
  static get styleUrls() { return {
    "$": ["icon.css"]
  }; }
  static get properties() { return {
    "icon": {
      "type": "string",
      "mutable": false,
      "complexType": {
        "original": "string",
        "resolved": "string",
        "references": {}
      },
      "required": true,
      "optional": false,
      "docs": {
        "tags": [],
        "text": "the icon to wrap"
      },
      "attribute": "icon",
      "reflect": true
    },
    "size": {
      "type": "string",
      "mutable": false,
      "complexType": {
        "original": "FontSize",
        "resolved": "\"2xl\" | \"2xs\" | \"3xl\" | \"4xl\" | \"5xl\" | \"base\" | \"lg\" | \"md\" | \"sm\" | \"xl\" | \"xs\"",
        "references": {
          "FontSize": {
            "location": "import",
            "path": "../types"
          }
        }
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": "the size of the icon"
      },
      "attribute": "size",
      "reflect": true
    },
    "strokeWidth": {
      "type": "string",
      "mutable": false,
      "complexType": {
        "original": "StrokeWidth",
        "resolved": "\"bold\" | \"medium\" | \"regular\" | \"semibold\"",
        "references": {
          "StrokeWidth": {
            "location": "import",
            "path": "../types"
          }
        }
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": "the stroke width of the icon"
      },
      "attribute": "stroke-width",
      "reflect": true
    }
  }; }
}
//# sourceMappingURL=icon.js.map