react-ecosistema-unp 1.5.9 → 1.5.11

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.
@@ -11,6 +11,7 @@ interface TarjetaProps {
11
11
  onClose?: (...args: any[]) => any;
12
12
  hasBody?: boolean;
13
13
  buttonLabel?: string;
14
+ isButtonDisabled?: boolean;
14
15
  }
15
16
  declare const Tarjeta: React.FC<TarjetaProps>;
16
17
  export { Tarjeta };
@@ -1,2 +1,2 @@
1
- declare function fetchHistorico(endpoint: string, nuip: string): Promise<any>;
1
+ declare function fetchHistorico(endpoint: string, nuip: string, setIsLoading: React.Dispatch<React.SetStateAction<boolean>>): Promise<any>;
2
2
  export { fetchHistorico };
@@ -1,8 +1,9 @@
1
1
  import { jsxs as i, jsx as e } from "react/jsx-runtime";
2
- import { Logo as r } from "../logo/Logo.js";
3
- import '../../assets/Encabezado.css';const c = ({
2
+ import { Logo as n } from "../logo/Logo.js";
3
+ import '../../assets/Encabezado.css';/* empty css */
4
+ const l = ({
4
5
  title: t = "",
5
- subtitle: n = "",
6
+ subtitle: r = "",
6
7
  hasMargin: a = !0
7
8
  }) => /* @__PURE__ */ i(
8
9
  "div",
@@ -15,15 +16,15 @@ import '../../assets/Encabezado.css';const c = ({
15
16
  children: [
16
17
  /* @__PURE__ */ i("div", { className: "logo-subtitle-container", children: [
17
18
  /* @__PURE__ */ e("div", { className: "red-section" }),
18
- /* @__PURE__ */ e(r, { type: "entidad", variant: "unp", color: "gris", height: "62" })
19
+ /* @__PURE__ */ e(n, { type: "entidad", variant: "unp", color: "gris", height: "62" })
19
20
  ] }),
20
21
  /* @__PURE__ */ i("div", { className: "subtitle-container", children: [
21
22
  /* @__PURE__ */ e("span", { className: "title", children: t || "Unidad Nacional de Protección" }),
22
- /* @__PURE__ */ e("span", { className: "subtitle", children: n })
23
+ /* @__PURE__ */ e("span", { className: "subtitle", children: r })
23
24
  ] })
24
25
  ]
25
26
  }
26
27
  );
27
28
  export {
28
- c as Encabezado
29
+ l as Encabezado
29
30
  };