import { h } from "@stencil/core";
export class EclSocialMediaShareItem {
    constructor() {
        this.theme = 'ec';
        this.styleClass = undefined;
        this.sharePath = undefined;
        this.icon = undefined;
    }
    getClass() {
        return [
            `ecl-social-media-share__item`,
            `sc-ecl-social-media-share-${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-share__link sc-ecl-social-media-share-${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))));
    }
    static get is() { return "ecl-social-media-share-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
            },
            "sharePath": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "string",
                    "resolved": "string",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "attribute": "share-path",
                "reflect": false
            },
            "icon": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "string",
                    "resolved": "string",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "attribute": "icon",
                "reflect": false
            }
        };
    }
}
//# sourceMappingURL=ecl-social-media-share-item.js.map
