import { r as registerInstance, c as createEvent, h, H as Host } from './index-92f6d7ee.js';

const bsOverlayCss = ".bs-overlay{backdrop-filter:blur(4px);background:rgba(29, 30, 72, 0.05);bottom:0;left:0;opacity:0;position:fixed;right:0;top:0;transition-duration:75ms;transition-property:opacity;transition-timing-function:ease-in-out;z-index:9998}.bs-overlay:where([data-shown]){opacity:1}bs-overlay{display:block}";

const BsOverlay = class {
  constructor(hostRef) {
    registerInstance(this, hostRef);
    this.enterend = createEvent(this, "enterend", 3);
    this.leaveend = createEvent(this, "leaveend", 3);
    this.enterControlled = false;
    this.enterTrigger = false;
    this.leaveTrigger = false;
  }
  render() {
    return (h(Host, null, h("bs-transition", { enterAttribute: 'data-shown', enterDuration: 75, enterControlled: this.enterControlled, enterTrigger: this.enterTrigger, leaveTrigger: this.leaveTrigger, onEnterend: () => this.enterend.emit(), onLeaveend: () => this.leaveend.emit() }, h("div", { class: "bs-overlay" }))));
  }
};
BsOverlay.style = bsOverlayCss;

export { BsOverlay as bs_overlay };

//# sourceMappingURL=bs-overlay.entry.js.map