import { r as registerInstance, h } from './index-3a5d8cd6.js';

const modalCloseButtonCss = ".modal__close__button-icon{opacity:0;visibility:hidden;color:var(--color-content-default, #454545);display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;padding-bottom:16px}.modal__close__button-icon--active{opacity:1;visibility:visible}";

const BdsModalCloseButton = class {
  constructor(hostRef) {
    registerInstance(this, hostRef);
    this.active = true;
  }
  render() {
    return (h("div", { class: {
        'modal__close__button-icon': true,
        'modal__close__button-icon--active': this.active,
      } }, h("bds-icon", { size: "medium", name: "close" })));
  }
};
BdsModalCloseButton.style = modalCloseButtonCss;

export { BdsModalCloseButton as bds_modal_close_button };
