react-ecosistema-unp 0.8.1 → 0.8.15-react-19
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.
- package/dist/Anchor-D8f6vg0T.js +40 -0
- package/dist/Bootstrap-Bjgu14O1.js +1136 -0
- package/dist/Button-DD8y8HBa.js +78 -0
- package/dist/Button-t4PJaubx.js +33 -0
- package/dist/{NotificacionUsuario-DRuxRQ6q.js → NotificacionUsuario-BQ655oML.js} +370 -400
- package/dist/TabContext-CdjYJzMB.js +125 -0
- package/dist/accessibility/barra-accesibilidad/BarraAccesibilidad.js +13 -13
- package/dist/assets/BarraAccesibilidad.css +1 -1
- package/dist/assets/Breadcrumb.css +1 -0
- package/dist/assets/TabVentana.css +1 -1
- package/dist/auth/hooks/useFinalizarSesion.js +7 -7
- package/dist/lib/shared/breadcrumb/Breadcrumb.d.ts +11 -0
- package/dist/shared/breadcrumb/Breadcrumb.js +69 -0
- package/dist/shared/menu-lateral/MenuLateral.js +7 -7
- package/dist/shared/notificacion-usuario/NotificacionUsuario.js +1 -1
- package/dist/shared/ventana-lienzo/VentanaLienzo.js +18 -12
- package/dist/shared/ventana-tabs/TabVentana.js +1 -1
- package/dist/shared/ventana-tabs/VentanaTabs.js +22 -22
- package/dist/ui/paginador/Paginador.js +1 -1
- package/dist/ui/tarjeta/Tarjeta.js +1 -1
- package/dist/ui/tarjeta/tarjeta-agregar/TarjetaAgregar.js +1 -1
- package/dist/ui/tarjeta-lectura/TarjetaLectura.js +1 -1
- package/dist/ui/tarjeta-listado/TarjetaListado.js +6 -6
- package/dist/useEventCallback-Bfo0-hwZ.js +16 -0
- package/dist/utils/components/ProtectedRoute.js +6 -6
- package/dist/utils/components/UserRoute.js +4 -4
- package/package.json +13 -15
- package/dist/Bootstrap-alDYHlwa.js +0 -19871
- package/dist/Button-Gn1tKaoW.js +0 -106
- package/dist/TabContext-BvNFEruk.js +0 -138
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import * as u from "react";
|
|
2
|
+
import { u as c } from "./useEventCallback-Bfo0-hwZ.js";
|
|
3
|
+
import { u as f } from "./Button-DD8y8HBa.js";
|
|
4
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
5
|
+
const l = ["onKeyDown"];
|
|
6
|
+
function p(o, e) {
|
|
7
|
+
if (o == null) return {};
|
|
8
|
+
var t = {};
|
|
9
|
+
for (var n in o) if ({}.hasOwnProperty.call(o, n)) {
|
|
10
|
+
if (e.indexOf(n) >= 0) continue;
|
|
11
|
+
t[n] = o[n];
|
|
12
|
+
}
|
|
13
|
+
return t;
|
|
14
|
+
}
|
|
15
|
+
function m(o) {
|
|
16
|
+
return !o || o.trim() === "#";
|
|
17
|
+
}
|
|
18
|
+
const d = /* @__PURE__ */ u.forwardRef((o, e) => {
|
|
19
|
+
let {
|
|
20
|
+
onKeyDown: t
|
|
21
|
+
} = o, n = p(o, l);
|
|
22
|
+
const [r] = f(Object.assign({
|
|
23
|
+
tagName: "a"
|
|
24
|
+
}, n)), i = c((s) => {
|
|
25
|
+
r.onKeyDown(s), t == null || t(s);
|
|
26
|
+
});
|
|
27
|
+
return m(n.href) || n.role === "button" ? /* @__PURE__ */ a("a", Object.assign({
|
|
28
|
+
ref: e
|
|
29
|
+
}, n, r, {
|
|
30
|
+
onKeyDown: i
|
|
31
|
+
})) : /* @__PURE__ */ a("a", Object.assign({
|
|
32
|
+
ref: e
|
|
33
|
+
}, n, {
|
|
34
|
+
onKeyDown: t
|
|
35
|
+
}));
|
|
36
|
+
});
|
|
37
|
+
d.displayName = "Anchor";
|
|
38
|
+
export {
|
|
39
|
+
d as A
|
|
40
|
+
};
|