import { h, Host } from '@stencil/core';
export class EzListItem {
  constructor() {
    this.titleText = undefined;
    this.text = undefined;
    this.iconName = undefined;
  }
  render() {
    return (h(Host, { class: "list-item" }, h("div", { class: 'list-item__header' }, h("span", { class: 'list-item__title' }, this.titleText), this.iconName && h("ez-icon", { "icon-name": this.iconName })), this.text && h("span", { class: 'list-item__text' }, this.text)));
  }
  static get is() { return "ez-list-item"; }
  static get encapsulation() { return "scoped"; }
  static get originalStyleUrls() {
    return {
      "$": ["ez-list-item.css"]
    };
  }
  static get styleUrls() {
    return {
      "$": ["ez-list-item.css"]
    };
  }
  static get properties() {
    return {
      "titleText": {
        "type": "string",
        "mutable": false,
        "complexType": {
          "original": "string",
          "resolved": "string",
          "references": {}
        },
        "required": false,
        "optional": true,
        "docs": {
          "tags": [],
          "text": "T\u00EDtulo do item da lista."
        },
        "attribute": "title-text",
        "reflect": true
      },
      "text": {
        "type": "string",
        "mutable": false,
        "complexType": {
          "original": "string",
          "resolved": "string",
          "references": {}
        },
        "required": false,
        "optional": true,
        "docs": {
          "tags": [],
          "text": "Texto do item da lista."
        },
        "attribute": "text",
        "reflect": true
      },
      "iconName": {
        "type": "string",
        "mutable": false,
        "complexType": {
          "original": "string",
          "resolved": "string",
          "references": {}
        },
        "required": false,
        "optional": true,
        "docs": {
          "tags": [],
          "text": "Nome do \u00EDcone que deve ser exibido no item."
        },
        "attribute": "icon-name",
        "reflect": true
      }
    };
  }
}
