import { h } from "@stencil/core";
export class SpwIcon {
    constructor() {
        /** Permet de spécifier une variante de Font Awesome */
        this.variant = 'fa-solid';
    }
    render() {
        const iconClassName = `spw-icon ${this.variant} ${this.icon}`;
        return h("i", { key: '058bd372340a4a9bd4c212a2168fed97769a553a', class: iconClassName });
    }
    static get is() { return "spw-icon"; }
    static get encapsulation() { return "shadow"; }
    static get originalStyleUrls() {
        return {
            "$": ["spw-icon.scss"]
        };
    }
    static get styleUrls() {
        return {
            "$": ["spw-icon.css"]
        };
    }
    static get assetsDirs() { return ["assets"]; }
    static get properties() {
        return {
            "icon": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "string",
                    "resolved": "string",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": "Permet de sp\u00E9cifier une r\u00E9f\u00E9rence d'ic\u00F4ne Font Awesome"
                },
                "getter": false,
                "setter": false,
                "reflect": false,
                "attribute": "icon"
            },
            "variant": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "'fa-solid' | 'fa-brands' | 'fa-regular' | 'fa-light'",
                    "resolved": "\"fa-brands\" | \"fa-light\" | \"fa-regular\" | \"fa-solid\"",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": "Permet de sp\u00E9cifier une variante de Font Awesome"
                },
                "getter": false,
                "setter": false,
                "reflect": false,
                "attribute": "variant",
                "defaultValue": "'fa-solid'"
            }
        };
    }
}
