@votodigital-onpeui/react 0.1.66 → 0.1.68

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.
@@ -1,6 +1,6 @@
1
- export { BrowserRecommended, Footer, ModalBrowserIncompatible, ModalDnieVersions, ModalNfc, ModalSystemIncompatible, NotRecommended, Overlay, Show } from './chunk-5YF5G375.mjs';
1
+ export { BrowserRecommended, Footer, ModalBrowserIncompatible, ModalDnieVersions, ModalNfc, ModalSystemIncompatible, NotRecommended, Overlay, Show } from './chunk-J22RVBG5.mjs';
2
2
  import './chunk-KWOWOGBU.mjs';
3
- export { Button, ModalConfirm, ModalLoading } from './chunk-IGZKHMH4.mjs';
3
+ export { Button, ModalConfirm, ModalLoading } from './chunk-7JBKTIVJ.mjs';
4
4
  import './chunk-WMTOTUKK.mjs';
5
5
  export { Modal, Portal } from './chunk-H2AHWDJ2.mjs';
6
6
  import './chunk-J4MV4J6H.mjs';
package/dist/index.js CHANGED
@@ -2308,14 +2308,21 @@ var ModalConfirm = ({
2308
2308
  children: message
2309
2309
  }
2310
2310
  )),
2311
- content && /* @__PURE__ */ jsxRuntime.jsx(
2311
+ content && (typeof content === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
2312
+ "div",
2313
+ {
2314
+ id: message ? void 0 : messageId,
2315
+ className: `text-sm w-full md:text-lg max-w-full text-black ${alignJustify ? "text-justify" : "text-center"}`,
2316
+ dangerouslySetInnerHTML: { __html: content }
2317
+ }
2318
+ ) : /* @__PURE__ */ jsxRuntime.jsx(
2312
2319
  "div",
2313
2320
  {
2314
2321
  id: message ? void 0 : messageId,
2315
2322
  className: `text-sm w-full md:text-lg max-w-full text-black ${alignJustify ? "text-justify" : "text-center"}`,
2316
2323
  children: content
2317
2324
  }
2318
- ),
2325
+ )),
2319
2326
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-center justify-center w-full gap-5 mt-11 md:hidden", children: [
2320
2327
  /* @__PURE__ */ jsxRuntime.jsx(
2321
2328
  Button,
@@ -2624,7 +2631,7 @@ var ModalNfc = ({
2624
2631
  /* @__PURE__ */ jsxRuntime.jsx("li", { role: "presentation", className: "mb-2", children: "Activa el NFC en tu celular." }),
2625
2632
  /* @__PURE__ */ jsxRuntime.jsx("li", { role: "presentation", className: "mb-2", children: "Busca en internet d\xF3nde est\xE1 el lector NFC seg\xFAn tu modelo." }),
2626
2633
  /* @__PURE__ */ jsxRuntime.jsx("li", { role: "presentation", className: "mb-2", children: "Coloca tu DNIe sobre esa zona hasta que recibas la confirmaci\xF3n del sistema." }),
2627
- /* @__PURE__ */ jsxRuntime.jsx("li", { role: "presentation", className: "mb-2", children: 'Puedes consultar los videos "Aprende como leer tu DNIe con NFC":' })
2634
+ /* @__PURE__ */ jsxRuntime.jsx("li", { role: "presentation", className: "mb-2", children: 'Puedes consultar los videos "Aprende c\xF3mo leer tu DNIe con NFC":' })
2628
2635
  ]
2629
2636
  }
2630
2637
  ) }),