import { r as registerInstance, h } from './index-e78ba223.js';

const EclInpageNavigationItem = class {
    constructor(hostRef) {
        registerInstance(this, hostRef);
        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", { theme: this.theme, path: this.path, "style-class": `ecl-inpage-navigation__link sc-ecl-inpage-navigation-${this.theme}`, "data-ecl-inpage-navigation-link": true }, h("slot", null))));
    }
};

export { EclInpageNavigationItem as ecl_inpage_navigation_item };

//# sourceMappingURL=ecl-inpage-navigation-item.entry.js.map