import { h } from '@stencil/core';
export class EclInpageNavigationItem {
  constructor() {
    this.theme = 'ec';
    this.styleClass = undefined;
    this.path = undefined;
  }
  getClass() {
    return [
      `ecl-inpage-navigation__item`,
      `sc-ecl-inpage-navigation-${this.theme}`,
      this.styleClass
    ].join(' ');
  }
  render() {
    return (h("li", { class: this.getClass() }, h("ecl-link", { path: this.path, "style-class": `ecl-inpage-navigation__link sc-ecl-inpage-navigation-${this.theme}`, "data-ecl-inpage-navigation-link": true }, h("slot", null))));
  }
  static get is() { return "ecl-inpage-navigation-item"; }
  static get properties() {
    return {
      "theme": {
        "type": "string",
        "mutable": false,
        "complexType": {
          "original": "string",
          "resolved": "string",
          "references": {}
        },
        "required": false,
        "optional": false,
        "docs": {
          "tags": [],
          "text": ""
        },
        "attribute": "theme",
        "reflect": false,
        "defaultValue": "'ec'"
      },
      "styleClass": {
        "type": "string",
        "mutable": false,
        "complexType": {
          "original": "string",
          "resolved": "string",
          "references": {}
        },
        "required": false,
        "optional": false,
        "docs": {
          "tags": [],
          "text": ""
        },
        "attribute": "style-class",
        "reflect": false
      },
      "path": {
        "type": "string",
        "mutable": false,
        "complexType": {
          "original": "string",
          "resolved": "string",
          "references": {}
        },
        "required": false,
        "optional": false,
        "docs": {
          "tags": [],
          "text": ""
        },
        "attribute": "path",
        "reflect": false
      }
    };
  }
}
//# sourceMappingURL=ecl-inpage-navigation-item.js.map
