import { h } from "@stencil/core";
import { randomIdGenerator } from "../../../global/utils/randomIdGenerator";
export class IconExpandAlt {
    constructor() {
        this.afTitle = undefined;
        this.afDesc = undefined;
        this.afSvgAriaHidden = true;
        this.afSvgAriaLabelledby = undefined;
        this.titleId = randomIdGenerator('icontitle');
    }
    render() {
        return (h("svg", { key: '57ee0f30d35a5edc1b95d456455294378bef1975', class: "digi-icon-expand-alt", width: "22", height: "22", viewBox: "0 0 22 22", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": this.afSvgAriaHidden ? 'true' : 'false', "aria-labelledby": this.afSvgAriaLabelledby
                ? this.afSvgAriaLabelledby
                : this.afTitle
                    ? this.titleId
                    : undefined }, this.afTitle && h("title", { key: 'ad46937e760201812a7438a623d84da65a5616bd', id: this.titleId }, this.afTitle), this.afDesc && h("desc", { key: 'c62cfcd88da5202c5b6e0479ceb69e9e47bf72c9' }, this.afDesc), h("path", { key: 'b5da83d5f1f4b4e381d0a15aedfe388ab4da7fff', class: "digi-icon-expand-alt__shape", d: "M10.444 13.913l-4.551 4.551 1.617 1.524c.742.743.216 2.012-.834 2.012h-5.5C.526 22 0 21.472 0 20.821v-5.5c0-1.05 1.267-1.575 2.01-.833l1.526 1.62 4.551-4.552a.786.786 0 011.111 0l1.246 1.246a.786.786 0 010 1.11zm1.112-5.826l4.551-4.551-1.617-1.524C13.748 1.269 14.274 0 15.324 0h5.5C21.474 0 22 .528 22 1.179v5.5c0 1.05-1.267 1.575-2.01.833l-1.526-1.62-4.551 4.552a.786.786 0 01-1.111 0l-1.246-1.246a.786.786 0 010-1.11z", fill: "currentColor", "fill-rule": "nonzero" })));
    }
    static get is() { return "digi-icon-expand-alt"; }
    static get encapsulation() { return "scoped"; }
    static get originalStyleUrls() {
        return {
            "$": ["icon-expand-alt.scss"]
        };
    }
    static get styleUrls() {
        return {
            "$": ["icon-expand-alt.css"]
        };
    }
    static get properties() {
        return {
            "afTitle": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "string",
                    "resolved": "string",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [{
                            "name": "en",
                            "text": "Adds a title element inside the svg"
                        }],
                    "text": "L\u00E4gger till ett titleelement i svg:n"
                },
                "getter": false,
                "setter": false,
                "attribute": "af-title",
                "reflect": false
            },
            "afDesc": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "string",
                    "resolved": "string",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [{
                            "name": "en",
                            "text": "Adds a desc element inside the svg"
                        }],
                    "text": "L\u00E4gger till ett descelement i svg:n"
                },
                "getter": false,
                "setter": false,
                "attribute": "af-desc",
                "reflect": false
            },
            "afSvgAriaHidden": {
                "type": "boolean",
                "mutable": false,
                "complexType": {
                    "original": "boolean",
                    "resolved": "boolean",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [{
                            "name": "en",
                            "text": "Hides the icon for screen readers. Default is set to true."
                        }],
                    "text": "F\u00F6r att d\u00F6lja ikonen f\u00F6r sk\u00E4rml\u00E4sare. Default \u00E4r satt till true."
                },
                "getter": false,
                "setter": false,
                "attribute": "af-svg-aria-hidden",
                "reflect": false,
                "defaultValue": "true"
            },
            "afSvgAriaLabelledby": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "string",
                    "resolved": "string",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [{
                            "name": "en",
                            "text": "Reference other elements on the page to define an accessible name."
                        }],
                    "text": "Referera till andra element p\u00E5 sidan f\u00F6r att definiera ett tillg\u00E4ngligt namn."
                },
                "getter": false,
                "setter": false,
                "attribute": "af-svg-aria-labelledby",
                "reflect": false
            }
        };
    }
    static get states() {
        return {
            "titleId": {}
        };
    }
}
