import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
import { d as defineCustomElement$3 } from './ecl-icon2.js';
import { d as defineCustomElement$2 } from './ecl-link2.js';

const EclSocialMediaFollowItem$1 = /*@__PURE__*/ proxyCustomElement(class EclSocialMediaFollowItem extends HTMLElement {
    constructor() {
        super();
        this.__registerHost();
        this.theme = 'ec';
        this.styleClass = undefined;
        this.sharePath = undefined;
        this.icon = undefined;
    }
    getClass() {
        return [
            `ecl-social-media-follow__item`,
            `sc-ecl-social-media-follow-${this.theme}`,
            this.styleClass
        ].join(' ');
    }
    render() {
        return (h("li", { class: this.getClass() }, h("ecl-link", { "style-class": `ecl-link ecl-link--standalone ecl-link--icon-before ecl-social-media-follow__link sc-ecl-social-media-follow-${this.theme}`, path: this.sharePath, "icon-position": "before" }, h("ecl-icon", { slot: "icon-before", sprite: "icons-social-media", icon: this.icon, size: "m" }), h("slot", null))));
    }
}, [4, "ecl-social-media-follow-item", {
        "theme": [1],
        "styleClass": [1, "style-class"],
        "sharePath": [1, "share-path"],
        "icon": [1]
    }]);
function defineCustomElement$1() {
    if (typeof customElements === "undefined") {
        return;
    }
    const components = ["ecl-social-media-follow-item", "ecl-icon", "ecl-link"];
    components.forEach(tagName => { switch (tagName) {
        case "ecl-social-media-follow-item":
            if (!customElements.get(tagName)) {
                customElements.define(tagName, EclSocialMediaFollowItem$1);
            }
            break;
        case "ecl-icon":
            if (!customElements.get(tagName)) {
                defineCustomElement$3();
            }
            break;
        case "ecl-link":
            if (!customElements.get(tagName)) {
                defineCustomElement$2();
            }
            break;
    } });
}

const EclSocialMediaFollowItem = EclSocialMediaFollowItem$1;
const defineCustomElement = defineCustomElement$1;

export { EclSocialMediaFollowItem, defineCustomElement };

//# sourceMappingURL=ecl-social-media-follow-item.js.map