import { r as registerInstance, h } from './index-148a7577.js';
import { r as randomIdGenerator } from './randomIdGenerator.util-56406f2e.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) {
        registerInstance(this, hostRef);
        this.afTitle = undefined;
        this.afDesc = undefined;
        this.afSvgAriaHidden = true;
        this.afSvgAriaLabelledby = undefined;
        this.titleId = randomIdGenerator('icontitle');
    }
    render() {
        return (h("svg", { key: '486369279ab8709bfdb51d4cffd3660f1b07052a', 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 && h("title", { key: '008c15b90f6f3c0a043c3b6512d926e3f35b5b66', id: this.titleId }, this.afTitle), this.afDesc && h("desc", { key: '0c82286332b9175b4583e151520d460af6c0d8a6' }, this.afDesc), h("g", { key: '8d4eb88be4dd4d73be7fc5a38ba8fcea1509c569', class: "digi-icon-x-button__shape", fill: "none", "fill-rule": "evenodd" }, h("circle", { key: '6a6637ec5815fa12611e2d35cc9c8d2707b0130c', fill: "currentColor", cx: "12.5", cy: "12.5", r: "12.5" }), h("g", { key: '4f74bfa47aa4b46e6499c67e90628520f77a2273', stroke: "#F9F9F9", "stroke-linecap": "square", "stroke-width": "2.044" }, h("path", { key: '0c8e6e91fa83c665a01670920f6c60a6b5973891', d: "M8.333 8.333l8.32 8.32M16.652 8.333l-8.319 8.32" })))));
    }
};
IconXButton.style = DigiIconXButtonStyle0;

export { IconXButton as digi_icon_x_button };
