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

const swModalGenericCss = ":host{display:block}.modal-wrapper{position:fixed;top:0;left:0;width:100%;height:100%;z-index:1000;display:flex;justify-content:center;align-items:center}.modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5);display:flex;justify-content:center;align-items:center}.modal{position:relative;background-color:#fff;border-radius:4px;box-shadow:0 0 10px 0 rgba(0, 0, 0, 0.2);padding:20px;width:100%;max-width:600px;min-height:200px;display:flex;flex-direction:column;justify-content:space-between}";

const SwModalGeneric = class {
  constructor(hostRef) {
    registerInstance(this, hostRef);
  }
  render() {
    return (h("div", { class: "modal-wrapper" }, h("div", { class: "modal-overlay" }, h("div", { class: "modal" }, h("div", { class: "header" }, h("h6", null, "Modal header"), h("div", { class: "close" })), h("div", { class: "body" }, "prova"), h("div", { class: "footer" }, h("sw-input-button", { dark: true, text: "cliccami" }))))));
  }
};
SwModalGeneric.style = swModalGenericCss;

export { SwModalGeneric as sw_modal_generic };
