'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

const index = require('./index-7a477838.js');
const randomIdGenerator_util = require('./randomIdGenerator.util-e7f4b6de.js');

const iconXButtonCss = ".sc-digi-icon-x-button-h{--digi--icon--color:var(--digi--color--icon--primary);--digi--icon--width:initial;--digi--icon--height:auto;display:flex;min-height:1.4em;align-items:center}.sc-digi-icon-x-button-h svg.sc-digi-icon-x-button{color:var(--digi--icon--color);max-width:var(--digi--icon--width);max-height:var(--digi--icon--height);width:var(--digi--icon--width, auto);height:var(--digi--icon--height, auto)}";
const DigiIconXButtonStyle0 = iconXButtonCss;

const IconXButton = class {
    constructor(hostRef) {
        index.registerInstance(this, hostRef);
        this.afTitle = undefined;
        this.afDesc = undefined;
        this.afSvgAriaHidden = true;
        this.afSvgAriaLabelledby = undefined;
        this.titleId = randomIdGenerator_util.randomIdGenerator('icontitle');
    }
    render() {
        return (index.h("svg", { key: '930f76bb8c97c2785871e8d681686d47b9445286', class: "digi-icon-x-button", width: "25", height: "25", viewBox: "0 0 25 25", "aria-hidden": this.afSvgAriaHidden ? 'true' : 'false', "aria-labelledby": this.afSvgAriaLabelledby
                ? this.afSvgAriaLabelledby
                : this.afTitle
                    ? this.titleId
                    : undefined, xmlns: "http://www.w3.org/2000/svg" }, this.afTitle && index.h("title", { key: '08dc7e5ebdaa763fc8aeedf1df1dd8cb448e8291', id: this.titleId }, this.afTitle), this.afDesc && index.h("desc", { key: 'abd26e9f8c028b7733a3842b3c7f806285cd7b6d' }, this.afDesc), index.h("g", { key: '409a675ea7e689cc06fa9320b52cd78fe2fece22', class: "digi-icon-x-button__shape", fill: "none", "fill-rule": "evenodd" }, index.h("circle", { key: 'd985c83e3b0bfa5d8615be563dd6e418201a2ba3', fill: "currentColor", cx: "12.5", cy: "12.5", r: "12.5" }), index.h("g", { key: '58c0d033a8a5ff9fec725336708e11470cf44c19', stroke: "#F9F9F9", "stroke-linecap": "square", "stroke-width": "2.044" }, index.h("path", { key: 'a192787aaae9f28f61e143eef336165aa5702a37', d: "M8.333 8.333l8.32 8.32M16.652 8.333l-8.319 8.32" })))));
    }
};
IconXButton.style = DigiIconXButtonStyle0;

exports.digi_icon_x_button = IconXButton;
