react-ecosistema-unp 0.9.15 → 1.0.0-pre-release

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ .container-ecosistema-unp{margin:0 auto;width:min(1100px,92%);max-width:100%;box-sizing:border-box;padding:0 .5rem;transition:width .3s ease}@media (max-width: 1600px){.container-ecosistema-unp{width:min(1000px,90%)}}@media (max-width: 1333px){.container-ecosistema-unp{width:min(950px,88%)}}@media (max-width: 1176px){.container-ecosistema-unp{width:min(850px,92%)}}@media (max-width: 1024px){.container-ecosistema-unp{width:min(800px,95%)}}@media (max-width: 900px){.container-ecosistema-unp{width:90%}}@media (max-width: 768px){.container-ecosistema-unp{width:95%;padding:0 1rem}}@media (max-width: 480px){.container-ecosistema-unp{width:100%;padding:0 .75rem}}
@@ -1 +1 @@
1
- .modal-title-container{display:flex;justify-content:space-between;align-items:center}.red-item{height:30px;width:8px;background-color:#d13c47;border-top-right-radius:5px;border-bottom-right-radius:5px}.modal-subtitle-container-left{display:flex;justify-content:center;align-items:center;font-weight:500;gap:.5rem}.modal-subtitle{margin:0;padding:0;font-size:1.1rem;color:#303d50;font-weight:600}.modal-subtitle-container-right{display:flex;justify-content:flex-end;overflow:visible}.animation-wrapper{position:relative;display:grid;grid-template-columns:1fr;width:100%}.buttons-group,.close-group{grid-row-start:1;grid-column-start:1;display:flex;gap:1rem;align-items:center;transition:all .2s cubic-bezier(.1,0,.1,1)}.buttons-group{opacity:1}.close-group{opacity:0;justify-content:flex-end}.buttons-group.hide{opacity:0}.close-group.show{opacity:1}.icon-registro{font-size:1.4rem;transition:all .3s ease-in-out;color:#646c73}.icon-registro:hover{color:#1f79ef;transition:all .3s ease-in-out;cursor:pointer}.icon-close-registro{font-size:1.4rem;transition:all .3s ease-in-out;color:#d13c47}.icon-close-registro:hover{color:#a31a23;transition:all .3s ease-in-out;cursor:pointer}.modal-horizontal-line{border-radius:10px;border-top:2px solid #D13C47;margin-top:.5rem;opacity:.75}.modal-title-body{height:calc(100% - 72px);overflow-y:auto;width:calc(100% + 15px);padding-right:5px;margin-right:-15px}.modal-title-body::-webkit-scrollbar{width:10px}.modal-title-body::-webkit-scrollbar-track{background-color:transparent}.modal-title-body::-webkit-scrollbar-thumb{background-color:#303d50;border-radius:10px;border:3px solid transparent;background-clip:padding-box}.icon-container{position:relative;display:inline-block}.tooltip-text{z-index:9999;visibility:hidden;width:max-content;background-color:#737a83e7;color:#fff;text-align:center;border-radius:8px;padding:8px 12px;position:absolute;z-index:1000;top:100%;right:0;margin-top:8px;opacity:0;transition:opacity .1s;pointer-events:none;font-size:.9rem;transition:all .1s ease-in-out}.icon-container:hover .tooltip-text{visibility:visible;opacity:1}
1
+ .modal-title-container{display:flex;justify-content:space-between;align-items:center}.red-item{height:30px;width:8px;background-color:#d13c47;border-top-right-radius:5px;border-bottom-right-radius:5px}.modal-subtitle-container-left{display:flex;justify-content:center;align-items:center;font-weight:500;gap:.5rem}.modal-subtitle{margin:0;padding:0;font-size:1.1rem;color:#303d50;font-weight:600}.modal-subtitle-container-right{display:flex;justify-content:flex-end;overflow:visible}.animation-wrapper{position:relative;display:grid;grid-template-columns:1fr;width:100%}.buttons-group,.close-group{grid-row-start:1;grid-column-start:1;display:flex;gap:1rem;align-items:center;transition:all .2s cubic-bezier(.1,0,.1,1)}.buttons-group{opacity:1}.close-group{opacity:0;justify-content:flex-end}.buttons-group.hide{opacity:0}.close-group.show{opacity:1}.icon-registro{font-size:1.4rem;transition:all .3s ease-in-out;color:#646c73}.icon-registro:hover{color:#1f79ef;transition:all .3s ease-in-out;cursor:pointer}.icon-close-registro{font-size:1.4rem;transition:all .3s ease-in-out;color:#d13c47}.icon-close-registro:hover{color:#a31a23;transition:all .3s ease-in-out;cursor:pointer}.modal-horizontal-line{border-radius:10px;border-top:2px solid #D13C47;margin-top:.5rem;opacity:.75}.modal-title-body{height:calc(100% - 88px);overflow-y:auto;padding:.5rem;scrollbar-gutter:stable;padding-right:8px;margin-right:-8px;box-sizing:border-box}.modal-title-body::-webkit-scrollbar{width:10px}.modal-title-body::-webkit-scrollbar-track{background-color:transparent}.modal-title-body::-webkit-scrollbar-thumb{background-color:#303d50;border-radius:20px;border:3px solid transparent;background-clip:padding-box}.icon-container{position:relative;display:inline-block}.tooltip-text{z-index:9999;visibility:hidden;width:max-content;background-color:#737a83e7;color:#fff;text-align:center;border-radius:8px;padding:8px 12px;position:absolute;z-index:1000;top:100%;right:0;margin-top:8px;opacity:0;transition:opacity .1s;pointer-events:none;font-size:.9rem;transition:all .1s ease-in-out}.icon-container:hover .tooltip-text{visibility:visible;opacity:1}
@@ -1 +1 @@
1
- .title-container{display:flex;gap:1rem;align-items:center;align-content:center}.logo-subtitle-container{height:100%;display:flex;gap:.66rem;align-items:center}.red-section{height:60px;width:10px;background-color:#d13c47;border-top-right-radius:7px;border-bottom-right-radius:7px}.img-logo{height:52px;object-fit:cover}.title{font-weight:500;font-size:1.55rem;color:#232323}.subtitle{font-size:1.05rem;color:#3f3f3f}.subtitle-container{display:flex;flex-direction:column}
1
+ .title-container{display:flex;gap:1rem;align-items:center;align-content:center;margin-top:1.75rem;margin-bottom:1.75rem}.logo-subtitle-container{height:100%;display:flex;gap:.66rem;align-items:center}.red-section{height:60px;width:10px;background-color:#d13c47;border-top-right-radius:7px;border-bottom-right-radius:7px}.img-logo{height:52px;object-fit:cover}.title{font-weight:500;font-size:1.55rem;color:#232323}.subtitle{font-size:1.05rem;color:#3f3f3f}.subtitle-container{display:flex;flex-direction:column}
@@ -1 +1 @@
1
- .modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;justify-content:flex-end;align-items:center;transition:opacity .4s ease;opacity:0;visibility:hidden;z-index:1000}.modal-overlay.show{opacity:1;visibility:visible}.modal-overlay.hide{opacity:0;visibility:none}.modal-container{width:42%;height:95vh;background:#fff;box-shadow:0 4px 8px #0003;position:relative;transform:translate(100%);transition:transform .4s ease,opacity .4s ease;border-radius:12px;margin:1.75em}.modal-container.show{transform:translate(0);opacity:1}.modal-container.hide{transform:translate(100%);opacity:0}@media (max-width: 1920px){.modal-container{width:40%!important}}@media (max-width: 1800px){.modal-container{width:42.5%!important}}@media (max-width: 1650px){.modal-container{width:45%!important}}@media (max-width: 1500px){.modal-container{width:50%!important}}@media (max-width: 1425px){.modal-container{width:55%!important}}@media (max-width: 1275px){.modal-container{width:57.5%!important}}@media (max-width: 1150px){.modal-container{width:60%!important}}@media (max-width: 992px){.modal-container{width:70%!important}}@media (max-width: 768px){.modal-container{width:80%!important}}.modal_header{display:flex;justify-content:space-between;align-items:center;padding:10px 30px;background-color:#303d50;color:#fff;font-weight:500;font-size:16px;border-radius:12px 12px 0 0}.modal_body{padding:1.75rem;height:calc(100% - 56px);border-radius:0 0 12px 12px;overflow-y:auto}.close_button{background:none;border:none;font-size:1.5em;cursor:pointer;color:#fff}.close_button:hover{color:#d36269}.unp-row-subtitle{margin-bottom:4rem}.modal_subtitle_container{display:flex;gap:.5rem;font-size:18px;font-weight:400;align-items:center}.modal_body::-webkit-scrollbar{width:10px}.modal_body::-webkit-scrollbar-track{background:transparent}.modal_body::-webkit-scrollbar-thumb{background-color:#303d50;border-radius:10px;border:3px solid transparent;background-clip:padding-box}
1
+ .modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;justify-content:flex-end;align-items:center;transition:opacity .4s ease;opacity:0;visibility:hidden;z-index:1000}.modal-overlay.show{opacity:1;visibility:visible}.modal-overlay.hide{opacity:0;visibility:none}.modal-container{width:42%;height:95vh;background:#fff;box-shadow:0 4px 8px #0003;position:relative;transform:translate(100%);transition:transform .4s ease,opacity .4s ease;border-radius:12px;margin:1.75em}.modal-container.show{transform:translate(0);opacity:1}.modal-container.hide{transform:translate(100%);opacity:0}@media (max-width: 1920px){.modal-container{width:40%!important}}@media (max-width: 1800px){.modal-container{width:42.5%!important}}@media (max-width: 1650px){.modal-container{width:45%!important}}@media (max-width: 1500px){.modal-container{width:50%!important}}@media (max-width: 1425px){.modal-container{width:55%!important}}@media (max-width: 1275px){.modal-container{width:57.5%!important}}@media (max-width: 1150px){.modal-container{width:60%!important}}@media (max-width: 992px){.modal-container{width:70%!important}}@media (max-width: 768px){.modal-container{width:80%!important}}.modal_header{display:flex;justify-content:space-between;align-items:center;padding:10px 30px;background-color:#303d50;color:#fff;font-weight:500;font-size:16px;border-radius:12px 12px 0 0}.modal_body{padding:1rem;height:calc(100% - 56px);border-radius:0 0 12px 12px;overflow-y:auto}.close_button{background:none;border:none;font-size:1.5em;cursor:pointer;color:#fff}.close_button:hover{color:#d36269}.unp-row-subtitle{margin-bottom:4rem}.modal_subtitle_container{display:flex;gap:.5rem;font-size:18px;font-weight:400;align-items:center}.modal_body::-webkit-scrollbar{width:10px}.modal_body::-webkit-scrollbar-track{background:transparent}.modal_body::-webkit-scrollbar-thumb{background-color:#303d50;border-radius:10px;border:3px solid transparent;background-clip:padding-box}
@@ -1 +1 @@
1
- .tarjeta-container-section{background-color:#f7f7f7}.tarjeta-container-last{border-bottom-left-radius:12px;border-bottom-right-radius:12px}
1
+ .tarjeta-container-section{background-color:#f7f7f7}
@@ -1 +1 @@
1
- .table_container{display:flex;flex-direction:column;gap:1.5rem;text-align:center;margin-top:2rem}.table-scroll{position:relative;max-height:70vh;overflow-y:auto;overflow-x:auto;margin-right:5px;margin-left:5px;border-radius:10px;box-shadow:0 2px 12px #00000016;background:#f9fafa}.table-scroll th,.table-scroll td{white-space:nowrap;word-wrap:normal;min-width:100px;padding-left:15px;padding-right:15px}.table-scroll::-webkit-scrollbar{width:20px}.table-scroll::-webkit-scrollbar-track{background:linear-gradient(to bottom right,#f9fafa,#f9fafa,#fff);border-top-right-radius:10px;border-bottom-right-radius:10px}.table-scroll::-webkit-scrollbar-thumb{background-color:#303d50;border-radius:10px;border:6px solid transparent;background-clip:padding-box}thead tr th{background-color:#fff!important;border-bottom:1px solid #DEE2E6!important;position:sticky;top:0;z-index:2}.table td,.table th{text-align:center;vertical-align:middle}.table{margin-bottom:0!important}.table-header-unp{background-color:#f9fafa!important;color:#2c2c2c!important;font-weight:600;font-size:1.1rem;padding:1.25rem 0!important}.cell-with-modal{transition:background-color .3s ease}.cell-with-modal:hover{background-color:#303d50!important;color:#fff;font-weight:600}.data-count,.data-unp{font-weight:500;font-size:.85rem;margin-top:1rem;margin-left:5px;margin-right:5px;color:#8c8c8f}.animation-container{gap:2rem;height:73vh;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#919191}@media (min-width: 1800px){.table-scroll{max-height:75vh}}
1
+ .table_container{display:flex;flex-direction:column;gap:1.5rem;text-align:center;margin-top:.75rem}.table-scroll{position:relative;max-height:70vh;overflow-y:auto;overflow-x:auto;margin-right:5px;margin-left:5px;border-radius:10px;box-shadow:0 2px 12px #00000016;background:#f9fafa}.table-scroll th,.table-scroll td{white-space:nowrap;word-wrap:normal;min-width:100px;padding-left:15px;padding-right:15px}.table-scroll::-webkit-scrollbar{width:20px}.table-scroll::-webkit-scrollbar-track{background:linear-gradient(to bottom right,#f9fafa,#f9fafa,#fff);border-top-right-radius:10px;border-bottom-right-radius:10px}.table-scroll::-webkit-scrollbar-thumb{background-color:#303d50;border-radius:10px;border:6px solid transparent;background-clip:padding-box}thead tr th{background-color:#fff!important;border-bottom:1px solid #DEE2E6!important;position:sticky;top:0;z-index:2}.table td,.table th{text-align:center;vertical-align:middle}.table{margin-bottom:0!important}.table-header-unp{background-color:#f9fafa!important;color:#2c2c2c!important;font-weight:600;font-size:1.1rem;padding:1.25rem 0!important}.cell-with-modal{transition:background-color .3s ease}.cell-with-modal:hover{background-color:#303d50!important;color:#fff;font-weight:600}.data-count,.data-unp{font-weight:500;font-size:.85rem;margin-top:1rem;margin-left:5px;margin-right:5px;color:#8c8c8f}.animation-container{gap:2rem;height:73vh;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#919191}@media (min-width: 1800px){.table-scroll{max-height:75vh}}
@@ -1 +1 @@
1
- .unp-row{display:flex;flex-direction:row;justify-content:space-between;align-items:center;margin-left:5px;margin-right:5px;margin-top:1.25rem;margin-bottom:1.75rem}.inputs-container{display:flex;justify-content:end;width:35%;gap:1rem}@media (max-width: 1400px){.inputs-container{width:40%}}@media (max-width: 1300px){.inputs-container{width:42.5%}}@media (max-width: 1200px){.inputs-container{width:45%}}@media (max-width: 992px){.inputs-container{width:50%}}@media (max-width: 768px){.inputs-container{width:60%}}
1
+ .unp-row{display:flex;flex-direction:row;justify-content:space-between;align-items:center;margin-left:5px;margin-right:5px}.inputs-container{display:flex;justify-content:end;width:35%;gap:1rem}@media (max-width: 1400px){.inputs-container{width:40%}}@media (max-width: 1300px){.inputs-container{width:42.5%}}@media (max-width: 1200px){.inputs-container{width:45%}}@media (max-width: 992px){.inputs-container{width:50%}}@media (max-width: 768px){.inputs-container{width:60%}}
@@ -1 +1 @@
1
- .bg-unp{border-radius:6px 6px 0 0!important;background-color:#303d50!important}.tarjeta-unp{border-radius:12px!important;box-shadow:0 6px 10px #00000019;border-bottom-left-radius:12px}.tarjeta-header-unp{border-top-left-radius:12px!important;border-top-right-radius:12px!important;font-size:1.075rem}
1
+ .bg-unp{border-radius:6px 6px 0 0!important;background-color:#303d50!important}.tarjeta-unp{border-radius:12px!important;box-shadow:0 6px 10px #00000019;border-bottom-left-radius:12px;margin-bottom:1.5rem}.tarjeta-header-unp{border-top-left-radius:12px!important;border-top-right-radius:12px!important;font-size:1.075rem}
@@ -1 +1 @@
1
- .tarjeta-info-container{display:flex;flex-direction:column;justify-content:space-between;border:1px solid #F4F4F4;border-radius:10px;box-shadow:0 2px 4px #00000014}.tarjeta-info-titulo-container{display:flex;flex-grow:1;justify-content:space-between;padding:1rem;color:#303d50;font-weight:500}.tarjeta-info-label-container{display:flex;gap:1rem;align-items:center}.tarjeta-info-icon{font-size:20px}.tarjeta-info-label{font-size:1.1rem;font-weight:700;margin-left:.66rem;color:#303d50}.tarjeta-info-show-container{font-size:20px;display:flex;align-items:center;gap:10px}.tarjeta-info-show-button{background-color:transparent!important;font-size:1.25rem!important;color:#303d50;padding:0rem!important;cursor:pointer}.tarjeta-info-show-button:hover{color:#697586;transition:all .3s ease-in-out}.tarjeta-info-children-container{overflow:hidden;transition:all .4s ease-in-out}.tarjeta-info-children-container::-webkit-scrollbar{width:10px}.tarjeta-info-children-container::-webkit-scrollbar-track{background:transparent}.tarjeta-info-children-container::-webkit-scrollbar-thumb{background-color:#303d50;border-radius:10px;border:3px solid transparent;background-clip:padding-box}.tarjeta-info-content{padding:0 1rem 1rem}
1
+ .tarjeta-info-container{display:flex;flex-direction:column;justify-content:space-between;border:1px solid #F4F4F4;border-radius:10px;box-shadow:0 2px 4px #00000014;margin-bottom:1.5rem}.tarjeta-info-titulo-container{display:flex;flex-grow:1;justify-content:space-between;padding:1rem;color:#303d50;font-weight:500}.tarjeta-info-label-container{display:flex;gap:1rem;align-items:center}.tarjeta-info-icon{font-size:20px}.tarjeta-info-label{font-size:1.1rem;font-weight:700;margin-left:.66rem;color:#303d50}.tarjeta-info-show-container{font-size:20px;display:flex;align-items:center;gap:10px}.tarjeta-info-show-button{background-color:transparent!important;font-size:1.25rem!important;color:#303d50;padding:0rem!important;cursor:pointer}.tarjeta-info-show-button:hover{color:#697586;transition:all .3s ease-in-out}.tarjeta-info-children-container{overflow:hidden;transition:all .4s ease-in-out}.tarjeta-info-children-container::-webkit-scrollbar{width:10px}.tarjeta-info-children-container::-webkit-scrollbar-track{background:transparent}.tarjeta-info-children-container::-webkit-scrollbar-thumb{background-color:#303d50;border-radius:10px;border:3px solid transparent;background-clip:padding-box}.tarjeta-info-content{padding:0 1rem 1rem}
@@ -3,8 +3,8 @@ import t from "react";
3
3
  import '../../assets/Bootstrap.css';import '../../assets/Tarjeta.css';/* empty css */
4
4
  import { C as f, a as j } from "../../Card-BXqmurzN.js";
5
5
  import { C } from "../../CardBody-RoDe1y90.js";
6
- import { B as b } from "../../Button-DMwpnJlD.js";
7
- const S = {
6
+ import { B as S } from "../../Button-DMwpnJlD.js";
7
+ const b = {
8
8
  marginBottom: "20px",
9
9
  width: "100px"
10
10
  }, v = ({
@@ -28,11 +28,11 @@ const S = {
28
28
  onSubmit: d,
29
29
  className: m ? "was-validated" : "",
30
30
  children: [
31
- /* @__PURE__ */ l(f, { className: "border-0 mb-4 tarjeta-unp", children: [
31
+ /* @__PURE__ */ l(f, { className: "border-0 tarjeta-unp", children: [
32
32
  /* @__PURE__ */ r(j, { className: "d-flex justify-content-between align-items-center bg-unp text-light py-3 tarjeta-header-unp", children: p }),
33
33
  y ? u : /* @__PURE__ */ r(C, { className: `${c ? "pt-0" : ""}`, children: s })
34
34
  ] }),
35
- n === "POST" || n === "post" && /* @__PURE__ */ r("div", { style: { display: "flex", justifyContent: "end" }, children: /* @__PURE__ */ r(b, { variant: "unp_send", style: S, type: "submit", children: "Enviar" }) })
35
+ n === "POST" || n === "post" && /* @__PURE__ */ r("div", { style: { display: "flex", justifyContent: "end" }, children: /* @__PURE__ */ r(S, { variant: "unp_send", style: b, type: "submit", children: "Enviar" }) })
36
36
  ]
37
37
  }
38
38
  );
@@ -1,13 +1,22 @@
1
- import { jsx as s } from "react/jsx-runtime";
2
- import e from "react";
3
- import { C as l } from "../../../CardBody-RoDe1y90.js";
4
- import '../../../assets/SeccionTarjeta.css';const n = ({ isGray: r = !1, children: a, isLast: o = !1 }) => {
5
- const t = e.Children.toArray(a), i = t[0] && e.isValidElement(t[0]) && t[0].type.displayName === "Subtitulo";
6
- return /* @__PURE__ */ s(l, { className: `${r ? "tarjeta-container-section" : ""}
7
- ${o ? "tarjeta-container-last" : ""}
8
- ${i ? "pt-0" : ""}`, children: a });
1
+ import { jsx as l } from "react/jsx-runtime";
2
+ import o from "react";
3
+ import { C as d } from "../../../CardBody-RoDe1y90.js";
4
+ import '../../../assets/SeccionTarjeta.css';const m = ({ isGray: a = !1, children: e, isLast: r = !1, hasPaddingTop: i = !0 }) => {
5
+ const t = o.Children.toArray(e), s = t[0] && o.isValidElement(t[0]) && t[0].type.displayName === "Subtitulo";
6
+ return /* @__PURE__ */ l(
7
+ d,
8
+ {
9
+ className: `${a ? "tarjeta-container-section" : ""}
10
+ ${s || !i ? "pt-0" : ""}`,
11
+ style: {
12
+ borderBottomLeftRadius: r ? "12px" : "",
13
+ borderBottomRightRadius: r ? "12px" : ""
14
+ },
15
+ children: e
16
+ }
17
+ );
9
18
  };
10
- n.displayName = "SeccionTarjeta";
19
+ m.displayName = "SeccionTarjeta";
11
20
  export {
12
- n as SeccionTarjeta
21
+ m as SeccionTarjeta
13
22
  };
@@ -1,7 +1,7 @@
1
1
  import { jsxs as i, Fragment as l, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as v, useRef as d, useEffect as y } from "react";
3
- import { Logo as _ } from "../../ui/logo/Logo.js";
4
- import { SeccionTarjetaLectura as g } from "./seccion-tarjeta-lectura/SeccionTarjetaLectura.js";
3
+ import { Logo as g } from "../../ui/logo/Logo.js";
4
+ import { SeccionTarjetaLectura as _ } from "./seccion-tarjeta-lectura/SeccionTarjetaLectura.js";
5
5
  import '../../assets/Bootstrap.css';import '../../assets/TarjetaLectura.css';/* empty css */
6
6
  import { B as h } from "../../Button-DMwpnJlD.js";
7
7
  const k = ({ title: m, subtitle: u, headerContent: f, stepContent: n, children: o }) => {
@@ -17,11 +17,11 @@ const k = ({ title: m, subtitle: u, headerContent: f, stepContent: n, children:
17
17
  /* @__PURE__ */ e("h3", { children: m }),
18
18
  /* @__PURE__ */ e("h5", { children: u })
19
19
  ] }),
20
- /* @__PURE__ */ e("div", { className: "logo_container_qy", children: /* @__PURE__ */ e(_, { type: "entidad", variant: "unidad", color: "rojo", height: "80px" }) })
20
+ /* @__PURE__ */ e("div", { className: "logo_container_qy", children: /* @__PURE__ */ e(g, { type: "entidad", variant: "unidad", color: "gris", height: "90px" }) })
21
21
  ] }),
22
22
  /* @__PURE__ */ e("div", { className: "section_header_container_qy", children: f }),
23
23
  n ? /* @__PURE__ */ i("div", { ref: c, children: [
24
- /* @__PURE__ */ e(g, { title: "Secciones", children: /* @__PURE__ */ e("ul", { id: "paginador-tarjeta-lectura", children: n.map((s, a) => /* @__PURE__ */ i(
24
+ /* @__PURE__ */ e(_, { title: "Secciones", children: /* @__PURE__ */ e("ul", { id: "paginador-tarjeta-lectura", children: n.map((s, a) => /* @__PURE__ */ i(
25
25
  "li",
26
26
  {
27
27
  className: a <= r ? "active" : "",
@@ -3,6 +3,7 @@ export interface SeccionTarjetaProps {
3
3
  isGray?: boolean;
4
4
  children: React.ReactNode;
5
5
  isLast?: boolean;
6
+ hasPaddingTop?: boolean;
6
7
  }
7
8
  declare const SeccionTarjeta: React.FC<SeccionTarjetaProps>;
8
9
  export { SeccionTarjeta };
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+ interface ContenedorVentanaProps {
3
+ children?: React.ReactNode;
4
+ style?: React.CSSProperties;
5
+ }
6
+ declare const ContenedorVentana: React.FC<ContenedorVentanaProps>;
7
+ export { ContenedorVentana };
package/dist/lib/ui.d.ts CHANGED
@@ -5,3 +5,4 @@ export { Paginador } from './ui/paginador/Paginador.js';
5
5
  export { Logo } from './ui/logo/Logo.js';
6
6
  export { ItemsModal } from './ui/items-modal/ItemsModal.js';
7
7
  export { IconoTooltip } from './ui/icono-tooltip/IconoTooltip.js';
8
+ export { ContenedorVentana } from './ui/contenedor-ventana/ContenedorVentana.js';
@@ -1,22 +1,21 @@
1
1
  import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
- import s from "react";
3
- import { BrowserRouter as i } from "react-router-dom";
4
- import { IconosSistema as l } from "../iconos-sistema/IconosSistema.js";
5
- import { BreadcrumbNav as c } from "../breadcrumb/Breadcrumb.js";
2
+ import a from "react";
3
+ import { IconosSistema as c } from "../iconos-sistema/IconosSistema.js";
4
+ import { BreadcrumbNav as l } from "../breadcrumb/Breadcrumb.js";
6
5
  import { MenuLateral as p } from "../menu-lateral/MenuLateral.js";
7
- import '../../assets/VentanaLienzo.css';const x = ({ children: r, items: t, extraInput: a }) => {
8
- const [n, m] = s.useState(!1);
9
- return /* @__PURE__ */ o(i, { children: [
10
- /* @__PURE__ */ e(l, { elements: a }),
11
- /* @__PURE__ */ e(p, { onToggle: () => {
12
- m(!n);
13
- }, isOpen: n }),
6
+ import '../../assets/VentanaLienzo.css';const h = ({ children: t, items: r, extraInput: m }) => {
7
+ const [n, s] = a.useState(!1), i = () => {
8
+ s(!n);
9
+ };
10
+ return /* @__PURE__ */ o(a.Fragment, { children: [
11
+ /* @__PURE__ */ e(c, { elements: m }),
12
+ /* @__PURE__ */ e(p, { onToggle: i, isOpen: n }),
14
13
  /* @__PURE__ */ e("div", { className: `${n ? "menu-open" : ""}`, children: /* @__PURE__ */ o("div", { className: "main-section", children: [
15
- /* @__PURE__ */ e(c, { items: t }),
16
- /* @__PURE__ */ e("div", { className: "ventana-lienzo-container", children: r })
14
+ /* @__PURE__ */ e(l, { items: r }),
15
+ /* @__PURE__ */ e("div", { className: "ventana-lienzo-container", children: t })
17
16
  ] }) })
18
17
  ] });
19
18
  };
20
19
  export {
21
- x as VentanaLienzo
20
+ h as VentanaLienzo
22
21
  };
@@ -1,27 +1,26 @@
1
1
  import { jsx as r, jsxs as j } from "react/jsx-runtime";
2
2
  import * as b from "react";
3
- import T, { useRef as O, useContext as S, useEffect as M } from "react";
4
- import { BrowserRouter as H } from "react-router-dom";
3
+ import C, { useRef as O, useContext as S, useEffect as M } from "react";
5
4
  import { MenuLateral as F } from "../menu-lateral/MenuLateral.js";
6
- import { IconosSistema as W } from "../iconos-sistema/IconosSistema.js";
5
+ import { IconosSistema as H } from "../iconos-sistema/IconosSistema.js";
7
6
  import '../../assets/Bootstrap.css';/* empty css */
8
- import { a as Y, u as z, b as G, d as J, c as Q, q as X, e as D, f as B, g as Z } from "../../NotificacionUsuario-xD2pyELE.js";
9
- import { u as ee, T as te, g as ne, a as ae, b as re } from "../../TabPane-BvUHIFlv.js";
10
- import { u as L, c as k } from "../../ThemeProvider-CFCmmLJC.js";
11
- import { S as I, T as oe, m as se } from "../../TabContext-CdjYJzMB.js";
12
- import { c as le } from "../../CardHeaderContext-DVw0yHuy.js";
7
+ import { a as W, u as Y, b as z, d as G, c as J, q as Q, e as D, f as L, g as X } from "../../NotificacionUsuario-xD2pyELE.js";
8
+ import { u as Z, T as ee, g as te, a as ne, b as ae } from "../../TabPane-BvUHIFlv.js";
9
+ import { u as k, c as B } from "../../ThemeProvider-CFCmmLJC.js";
10
+ import { S as I, T as re, m as se } from "../../TabContext-CdjYJzMB.js";
11
+ import { c as oe } from "../../CardHeaderContext-DVw0yHuy.js";
13
12
  function P(n, e) {
14
13
  let a = 0;
15
14
  return b.Children.map(n, (t) => /* @__PURE__ */ b.isValidElement(t) ? e(t, a++) : t);
16
15
  }
17
- function ie(n, e) {
16
+ function le(n, e) {
18
17
  let a = 0;
19
18
  b.Children.forEach(n, (t) => {
20
19
  /* @__PURE__ */ b.isValidElement(t) && e(t, a++);
21
20
  });
22
21
  }
23
- const ce = ["as", "onSelect", "activeKey", "role", "onKeyDown"];
24
- function de(n, e) {
22
+ const ie = ["as", "onSelect", "activeKey", "role", "onKeyDown"];
23
+ function ce(n, e) {
25
24
  if (n == null) return {};
26
25
  var a = {};
27
26
  for (var t in n) if ({}.hasOwnProperty.call(n, t)) {
@@ -30,31 +29,31 @@ function de(n, e) {
30
29
  }
31
30
  return a;
32
31
  }
33
- const R = () => {
34
- }, A = J("event-key"), V = /* @__PURE__ */ b.forwardRef((n, e) => {
32
+ const A = () => {
33
+ }, R = G("event-key"), V = /* @__PURE__ */ b.forwardRef((n, e) => {
35
34
  let {
36
35
  // Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
37
36
  as: a = "div",
38
37
  onSelect: t,
39
- activeKey: o,
38
+ activeKey: s,
40
39
  role: c,
41
40
  onKeyDown: u
42
- } = n, s = de(n, ce);
43
- const N = z(), m = O(!1), y = S(I), l = S(oe);
41
+ } = n, o = ce(n, ie);
42
+ const N = Y(), m = O(!1), y = S(I), l = S(re);
44
43
  let v, x;
45
- l && (c = c || "tablist", o = l.activeKey, v = l.getControlledId, x = l.getControllerId);
44
+ l && (c = c || "tablist", s = l.activeKey, v = l.getControlledId, x = l.getControllerId);
46
45
  const f = O(null), p = (i) => {
47
46
  const d = f.current;
48
47
  if (!d) return null;
49
- const K = X(d, `[${A}]:not([aria-disabled=true])`), E = d.querySelector("[aria-selected=true]");
48
+ const T = Q(d, `[${R}]:not([aria-disabled=true])`), E = d.querySelector("[aria-selected=true]");
50
49
  if (!E || E !== document.activeElement) return null;
51
- const w = K.indexOf(E);
50
+ const w = T.indexOf(E);
52
51
  if (w === -1) return null;
53
52
  let g = w + i;
54
- return g >= K.length && (g = 0), g < 0 && (g = K.length - 1), K[g];
53
+ return g >= T.length && (g = 0), g < 0 && (g = T.length - 1), T[g];
55
54
  }, h = (i, d) => {
56
55
  i != null && (t == null || t(i, d), y == null || y(i, d));
57
- }, C = (i) => {
56
+ }, K = (i) => {
58
57
  if (u == null || u(i), !l)
59
58
  return;
60
59
  let d;
@@ -70,28 +69,28 @@ const R = () => {
70
69
  default:
71
70
  return;
72
71
  }
73
- d && (i.preventDefault(), h(d.dataset[Q("EventKey")] || null, i), m.current = !0, N());
72
+ d && (i.preventDefault(), h(d.dataset[J("EventKey")] || null, i), m.current = !0, N());
74
73
  };
75
74
  M(() => {
76
75
  if (f.current && m.current) {
77
- const i = f.current.querySelector(`[${A}][aria-selected=true]`);
76
+ const i = f.current.querySelector(`[${R}][aria-selected=true]`);
78
77
  i == null || i.focus();
79
78
  }
80
79
  m.current = !1;
81
80
  });
82
- const U = ee(e, f);
81
+ const U = Z(e, f);
83
82
  return /* @__PURE__ */ r(I.Provider, {
84
83
  value: h,
85
- children: /* @__PURE__ */ r(G.Provider, {
84
+ children: /* @__PURE__ */ r(z.Provider, {
86
85
  value: {
87
86
  role: c,
88
87
  // used by NavLink to determine it's role
89
- activeKey: se(o),
90
- getControlledId: v || R,
91
- getControllerId: x || R
88
+ activeKey: se(s),
89
+ getControlledId: v || A,
90
+ getControllerId: x || A
92
91
  },
93
- children: /* @__PURE__ */ r(a, Object.assign({}, s, {
94
- onKeyDown: C,
92
+ children: /* @__PURE__ */ r(a, Object.assign({}, o, {
93
+ onKeyDown: K,
95
94
  ref: U,
96
95
  role: c
97
96
  }))
@@ -99,16 +98,16 @@ const R = () => {
99
98
  });
100
99
  });
101
100
  V.displayName = "Nav";
102
- const ue = Object.assign(V, {
103
- Item: Y
101
+ const de = Object.assign(V, {
102
+ Item: W
104
103
  }), $ = /* @__PURE__ */ b.forwardRef(({
105
104
  className: n,
106
105
  bsPrefix: e,
107
106
  as: a = "div",
108
107
  ...t
109
- }, o) => (e = L(e, "nav-item"), /* @__PURE__ */ r(a, {
110
- ref: o,
111
- className: k(n, e),
108
+ }, s) => (e = k(e, "nav-item"), /* @__PURE__ */ r(a, {
109
+ ref: s,
110
+ className: B(n, e),
112
111
  ...t
113
112
  })));
114
113
  $.displayName = "NavItem";
@@ -116,31 +115,31 @@ const _ = /* @__PURE__ */ b.forwardRef((n, e) => {
116
115
  const {
117
116
  as: a = "div",
118
117
  bsPrefix: t,
119
- variant: o,
118
+ variant: s,
120
119
  fill: c = !1,
121
120
  justify: u = !1,
122
- navbar: s,
121
+ navbar: o,
123
122
  navbarScroll: N,
124
123
  className: m,
125
124
  activeKey: y,
126
125
  ...l
127
- } = B(n, {
126
+ } = L(n, {
128
127
  activeKey: "onSelect"
129
- }), v = L(t, "nav");
128
+ }), v = k(t, "nav");
130
129
  let x, f, p = !1;
131
- const h = S(Z), C = S(le);
132
- return h ? (x = h.bsPrefix, p = s ?? !0) : C && ({
130
+ const h = S(X), K = S(oe);
131
+ return h ? (x = h.bsPrefix, p = o ?? !0) : K && ({
133
132
  cardHeaderBsPrefix: f
134
- } = C), /* @__PURE__ */ r(ue, {
133
+ } = K), /* @__PURE__ */ r(de, {
135
134
  as: a,
136
135
  ref: e,
137
136
  activeKey: y,
138
- className: k(m, {
137
+ className: B(m, {
139
138
  [v]: !p,
140
139
  [`${x}-nav`]: p,
141
140
  [`${x}-nav-scroll`]: p && N,
142
- [`${f}-${o}`]: !!f,
143
- [`${v}-${o}`]: !!o,
141
+ [`${f}-${s}`]: !!f,
142
+ [`${v}-${s}`]: !!s,
144
143
  [`${v}-fill`]: c,
145
144
  [`${v}-justified`]: u
146
145
  }),
@@ -148,22 +147,22 @@ const _ = /* @__PURE__ */ b.forwardRef((n, e) => {
148
147
  });
149
148
  });
150
149
  _.displayName = "Nav";
151
- const fe = Object.assign(_, {
150
+ const ue = Object.assign(_, {
152
151
  Item: $,
153
152
  Link: D
154
153
  });
155
- function me(n) {
154
+ function fe(n) {
156
155
  let e;
157
- return ie(n, (a) => {
156
+ return le(n, (a) => {
158
157
  e == null && (e = a.props.eventKey);
159
158
  }), e;
160
159
  }
161
- function ve(n) {
160
+ function me(n) {
162
161
  const {
163
162
  title: e,
164
163
  eventKey: a,
165
164
  disabled: t,
166
- tabClassName: o,
165
+ tabClassName: s,
167
166
  tabAttrs: c,
168
167
  id: u
169
168
  } = n.props;
@@ -176,7 +175,7 @@ function ve(n) {
176
175
  eventKey: a,
177
176
  disabled: t,
178
177
  id: u,
179
- className: o,
178
+ className: s,
180
179
  ...c,
181
180
  children: e
182
181
  })
@@ -187,35 +186,35 @@ const q = (n) => {
187
186
  id: e,
188
187
  onSelect: a,
189
188
  transition: t,
190
- mountOnEnter: o = !1,
189
+ mountOnEnter: s = !1,
191
190
  unmountOnExit: c = !1,
192
191
  variant: u = "tabs",
193
- children: s,
194
- activeKey: N = me(s),
192
+ children: o,
193
+ activeKey: N = fe(o),
195
194
  ...m
196
- } = B(n, {
195
+ } = L(n, {
197
196
  activeKey: "onSelect"
198
197
  });
199
- return /* @__PURE__ */ j(te, {
198
+ return /* @__PURE__ */ j(ee, {
200
199
  id: e,
201
200
  activeKey: N,
202
201
  onSelect: a,
203
- transition: ne(t),
204
- mountOnEnter: o,
202
+ transition: te(t),
203
+ mountOnEnter: s,
205
204
  unmountOnExit: c,
206
- children: [/* @__PURE__ */ r(fe, {
205
+ children: [/* @__PURE__ */ r(ue, {
207
206
  id: e,
208
207
  ...m,
209
208
  role: "tablist",
210
209
  as: "ul",
211
210
  variant: u,
212
- children: P(s, ve)
213
- }), /* @__PURE__ */ r(ae, {
214
- children: P(s, (y) => {
211
+ children: P(o, me)
212
+ }), /* @__PURE__ */ r(ne, {
213
+ children: P(o, (y) => {
215
214
  const l = {
216
215
  ...y.props
217
216
  };
218
- return delete l.title, delete l.disabled, delete l.tabClassName, delete l.tabAttrs, /* @__PURE__ */ r(re, {
217
+ return delete l.title, delete l.disabled, delete l.tabClassName, delete l.tabAttrs, /* @__PURE__ */ r(ae, {
219
218
  ...l
220
219
  });
221
220
  })
@@ -223,24 +222,24 @@ const q = (n) => {
223
222
  });
224
223
  };
225
224
  q.displayName = "Tabs";
226
- const Ee = ({ children: n, extraInput: e }) => {
227
- const [a, t] = T.useState(!1), [o, c] = T.useState(void 0);
228
- return /* @__PURE__ */ j(H, { children: [
229
- /* @__PURE__ */ r(W, { elements: e }),
230
- /* @__PURE__ */ r(F, { onToggle: () => {
231
- t(!a);
232
- }, isOpen: a }),
225
+ const Te = ({ children: n, extraInput: e }) => {
226
+ const [a, t] = C.useState(!1), [s, c] = C.useState(void 0), u = () => {
227
+ t(!a);
228
+ };
229
+ return /* @__PURE__ */ j(C.Fragment, { children: [
230
+ /* @__PURE__ */ r(H, { elements: e }),
231
+ /* @__PURE__ */ r(F, { onToggle: u, isOpen: a }),
233
232
  /* @__PURE__ */ r("div", { className: `${a ? "menu-open" : ""}`, children: /* @__PURE__ */ r("div", { className: "main-section", children: /* @__PURE__ */ r(
234
233
  q,
235
234
  {
236
235
  id: "controlled-tab",
237
- activeKey: o,
238
- onSelect: (s) => c(s !== null ? s : void 0),
239
- children: T.Children.map(n, (s) => T.isValidElement(s) ? s : null)
236
+ activeKey: s,
237
+ onSelect: (o) => c(o !== null ? o : void 0),
238
+ children: C.Children.map(n, (o) => C.isValidElement(o) ? o : null)
240
239
  }
241
240
  ) }) })
242
241
  ] });
243
242
  };
244
243
  export {
245
- Ee as VentanaTabs
244
+ Te as VentanaTabs
246
245
  };
@@ -2,15 +2,16 @@ import { jsxs as i, jsx as r } from "react/jsx-runtime";
2
2
  import { Encabezado as a } from "../../../ui/encabezado/Encabezado.js";
3
3
  import "../../../ui/subtitulo/Subtitulo.js";
4
4
  import "react";
5
- import '../../../assets/IconoTooltip.css';import '../../../assets/ItemsModal.css';import '../../../assets/Bootstrap.css';import '../../../assets/Paginador.css';import '../../../assets/ContenidoModal.css';/* empty css */
5
+ import '../../../assets/ContenedorVentana.css';import '../../../assets/IconoTooltip.css';import '../../../assets/ItemsModal.css';import '../../../assets/Bootstrap.css';import '../../../assets/Paginador.css';import '../../../assets/ContenidoModal.css';/* empty css */
6
6
  /* empty css */
7
7
  /* empty css */
8
8
  import "../../../ui/logo/Logo.js";
9
9
  import "react-router-dom";
10
10
  /* empty css */
11
11
  /* empty css */
12
+ /* empty css */
12
13
  import { BusquedaInput as e } from "../buscador/Buscador.js";
13
- const E = ({
14
+ const N = ({
14
15
  title: m,
15
16
  subtitle: t,
16
17
  data: p,
@@ -24,5 +25,5 @@ const E = ({
24
25
  ] })
25
26
  ] });
26
27
  export {
27
- E as EncabezadoTabla
28
+ N as EncabezadoTabla
28
29
  };
@@ -0,0 +1,6 @@
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import '../../assets/ContenedorVentana.css';/* empty css */
3
+ const a = ({ style: e, children: n }) => /* @__PURE__ */ o("div", { className: "container-ecosistema-unp", style: e, children: n });
4
+ export {
5
+ a as ContenedorVentana
6
+ };
@@ -1,18 +1,18 @@
1
- import { jsxs as s, Fragment as N, jsx as e } from "react/jsx-runtime";
2
- import p, { useState as n } from "react";
1
+ import { jsxs as s, Fragment as p, jsx as e } from "react/jsx-runtime";
2
+ import N, { useState as n } from "react";
3
3
  import { f } from "../../index-D_9gBL0I.js";
4
4
  import '../../assets/ContenidoModal.css';/* empty css */
5
5
  const x = ({ title: u, modalContent: i, children: d }) => {
6
6
  const [t, l] = n(0), [m, r] = n(!0), [c, o] = n(!1);
7
- return /* @__PURE__ */ s(N, { children: [
8
- /* @__PURE__ */ s("div", { style: { marginBottom: "2rem" }, children: [
7
+ return /* @__PURE__ */ s(p, { children: [
8
+ /* @__PURE__ */ s("div", { style: { padding: "0.5rem" }, children: [
9
9
  /* @__PURE__ */ s("div", { className: "modal-title-container", children: [
10
10
  /* @__PURE__ */ s("div", { className: "modal-subtitle-container-left", children: [
11
11
  /* @__PURE__ */ e("div", { className: "red-item" }),
12
12
  /* @__PURE__ */ e("div", { className: "modal-subtitle", children: c && i && t ? i[t].label : u })
13
13
  ] }),
14
14
  /* @__PURE__ */ e("div", { className: "modal-subtitle-container-right", children: i && /* @__PURE__ */ s("div", { className: "animation-wrapper", children: [
15
- m && /* @__PURE__ */ e("div", { className: `buttons-group ${c ? "hide" : "show"}`, children: i.slice(1).map((a, h) => /* @__PURE__ */ e(p.Fragment, { children: a.icon && /* @__PURE__ */ s("div", { className: "icon-container", children: [
15
+ m && /* @__PURE__ */ e("div", { className: `buttons-group ${c ? "hide" : "show"}`, children: i.slice(1).map((a, h) => /* @__PURE__ */ e(N.Fragment, { children: a.icon && /* @__PURE__ */ s("div", { className: "icon-container", children: [
16
16
  /* @__PURE__ */ e(
17
17
  a.icon,
18
18
  {
package/dist/ui.js CHANGED
@@ -1,16 +1,18 @@
1
1
  import { Encabezado as t } from "./ui/encabezado/Encabezado.js";
2
2
  import { Subtitulo as m } from "./ui/subtitulo/Subtitulo.js";
3
- import { ContenidoModal as f } from "./ui/contenido-modal/ContenidoModal.js";
4
- import { Paginador as a } from "./ui/paginador/Paginador.js";
5
- import { Logo as n } from "./ui/logo/Logo.js";
3
+ import { ContenidoModal as p } from "./ui/contenido-modal/ContenidoModal.js";
4
+ import { Paginador as f } from "./ui/paginador/Paginador.js";
5
+ import { Logo as d } from "./ui/logo/Logo.js";
6
6
  import { ItemsModal as l } from "./ui/items-modal/ItemsModal.js";
7
7
  import { IconoTooltip as c } from "./ui/icono-tooltip/IconoTooltip.js";
8
+ import { ContenedorVentana as u } from "./ui/contenedor-ventana/ContenedorVentana.js";
8
9
  export {
9
- f as ContenidoModal,
10
+ u as ContenedorVentana,
11
+ p as ContenidoModal,
10
12
  t as Encabezado,
11
13
  c as IconoTooltip,
12
14
  l as ItemsModal,
13
- n as Logo,
14
- a as Paginador,
15
+ d as Logo,
16
+ f as Paginador,
15
17
  m as Subtitulo
16
18
  };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "react-ecosistema-unp",
3
3
  "author": "Ecosistema de Información - Unidad Nacional de Protección",
4
4
  "private": false,
5
- "version": "0.9.15",
5
+ "version": "1.0.0-pre-release",
6
6
  "type": "module",
7
7
  "exports": {
8
8
  ".": {