@votodigital-onpeui/react 0.1.66 → 0.1.67
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/{chunk-IGZKHMH4.mjs → chunk-7JBKTIVJ.mjs} +11 -4
- package/dist/chunk-7JBKTIVJ.mjs.map +1 -0
- package/dist/components.js +9 -2
- package/dist/components.js.map +1 -1
- package/dist/components.mjs +1 -1
- package/dist/index.js +9 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/modal.js +9 -2
- package/dist/modal.js.map +1 -1
- package/dist/modal.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-IGZKHMH4.mjs.map +0 -1
package/dist/components.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { BrowserRecommended, Footer, ModalBrowserIncompatible, ModalDnieVersions, ModalNfc, ModalSystemIncompatible, NotRecommended, Overlay, Show } from './chunk-5YF5G375.mjs';
|
|
2
2
|
import './chunk-KWOWOGBU.mjs';
|
|
3
|
-
export { Button, ModalConfirm, ModalLoading } from './chunk-
|
|
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,
|