nexaas-ui-components 1.0.34 → 1.0.35
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.cjs +13 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +13 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2524,7 +2524,9 @@ var ModalDialog = ({
|
|
|
2524
2524
|
size = "sm",
|
|
2525
2525
|
info,
|
|
2526
2526
|
description,
|
|
2527
|
-
children
|
|
2527
|
+
children,
|
|
2528
|
+
showFooter = true,
|
|
2529
|
+
showHeader = true
|
|
2528
2530
|
}) => {
|
|
2529
2531
|
const customStyles6 = {
|
|
2530
2532
|
content: {
|
|
@@ -2560,15 +2562,22 @@ var ModalDialog = ({
|
|
|
2560
2562
|
style: customStyles6,
|
|
2561
2563
|
contentLabel: "Example Modal",
|
|
2562
2564
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx9__default.default(sizes3[size]), children: [
|
|
2563
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "pb-[6px] border-b border-b-neutral-200 flex items-center justify-between", children: [
|
|
2565
|
+
showHeader && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "pb-[6px] border-b border-b-neutral-200 flex items-center justify-between", children: [
|
|
2564
2566
|
/* @__PURE__ */ jsxRuntime.jsxs("h3", { className: "text-[24px] font-bold flex items-center gap-2", children: [
|
|
2565
2567
|
alertType && /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx9__default.default([alertTypes[alertType]], "text-[30px]"), children: icon }),
|
|
2566
2568
|
title
|
|
2567
2569
|
] }),
|
|
2568
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2570
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2571
|
+
"button",
|
|
2572
|
+
{
|
|
2573
|
+
onClick: onCancel,
|
|
2574
|
+
className: "text-neutral-500 text-[24px]",
|
|
2575
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("i", { className: "uil uil-times" })
|
|
2576
|
+
}
|
|
2577
|
+
)
|
|
2569
2578
|
] }),
|
|
2570
2579
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children }),
|
|
2571
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "pt-6 border-t border-t-neutral-200 flex w-full items-center justify-between", children: [
|
|
2580
|
+
showFooter && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "pt-6 border-t border-t-neutral-200 flex w-full items-center justify-between", children: [
|
|
2572
2581
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2573
2582
|
"div",
|
|
2574
2583
|
{
|