@hellobetterdigitalnz/betterui 0.0.3-195 → 0.0.3-196
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/index.es.js
CHANGED
|
@@ -7223,8 +7223,8 @@ const C8 = (e) => {
|
|
|
7223
7223
|
const { children: t, extraClass: r = "" } = e;
|
|
7224
7224
|
return /* @__PURE__ */ C("div", { className: `${o2.modalBody} ${r} modalBody`, children: /* @__PURE__ */ C("div", { className: `${o2.modalBodyWrapper} modalBodyWrapper`, children: t }) });
|
|
7225
7225
|
}, u8 = () => /* @__PURE__ */ C("div", { className: o2.curtain }), g8 = (e) => {
|
|
7226
|
-
const { closeOnclick: t, canGoBack: r, canClose: n, title: l, extraClass: o = "" } = e, i = T2(Z1), s = () => {
|
|
7227
|
-
(t
|
|
7226
|
+
const { closeOnclick: t, canGoBack: r, canClose: n, title: l, extraClass: o = "" } = e, i = T2(Z1), s = (c) => {
|
|
7227
|
+
n && (t && t(c), i.closeModal());
|
|
7228
7228
|
};
|
|
7229
7229
|
return /* @__PURE__ */ C("div", { className: `${o2.modalHeader} ${o}`, children: /* @__PURE__ */ a("div", { className: o2.modalHeaderWrapper, children: [
|
|
7230
7230
|
!!r && /* @__PURE__ */ C("div", { className: `${o2.caretLeft} ${o2.icon}`, children: /* @__PURE__ */ C(X2, { type: "bold" }) }),
|