react-pro-messenger 1.0.24 → 1.0.26

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
@@ -5180,7 +5180,7 @@ const pd = (e, t) => mr(e) ? new hd(t) : new dd(t, {
5180
5180
  id: "default-modal",
5181
5181
  tabIndex: -1,
5182
5182
  "aria-hidden": "true",
5183
- className: "fixed top-0 right-0 left-0 z-10 w-full md:inset-0 h-full max-h-full overflow-y-auto overflow-x-hidden flex justify-center items-center bg-[rgb(0,0,0,0.6)]",
5183
+ className: "absolute z-10 w-full md:inset-0 h-full max-h-full overflow-y-auto overflow-x-hidden flex justify-center items-center bg-[rgb(0,0,0,0.6)]",
5184
5184
  children: /* @__PURE__ */ g.exports.jsx("div", { className: "relative p-4 w-full max-w-2xl max-h-full", children: /* @__PURE__ */ g.exports.jsxs("div", { className: "relative bg-white rounded-lg shadow-sm dark:bg-gray-700", children: [
5185
5185
  /* @__PURE__ */ g.exports.jsxs("div", { className: "flex items-center justify-between p-4 md:p-5 border-b rounded-t dark:border-gray-600 border-gray-200", children: [
5186
5186
  /* @__PURE__ */ g.exports.jsxs("h3", { className: "text-xl font-semibold text-gray-900 dark:text-white", children: [
@@ -5240,7 +5240,7 @@ const pd = (e, t) => mr(e) ? new hd(t) : new dd(t, {
5240
5240
  {
5241
5241
  onClick: t,
5242
5242
  type: "button",
5243
- className: "py-2.5 px-5 ms-3 text-sm font-medium text-gray-900 focus:outline-none bg-white rounded-lg border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700",
5243
+ className: "py-2.5 px-5 ml-3 text-sm font-medium text-gray-900 focus:outline-none bg-white rounded-lg border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700",
5244
5244
  children: "Cancel"
5245
5245
  }
5246
5246
  )
@@ -6853,7 +6853,7 @@ const Gd = Ur, qd = ({
6853
6853
  {
6854
6854
  ref: A,
6855
6855
  className: `flex flex-col gap-2 flex-1 p-3 pb-16 ${p ? "overflow-hidden pr-[22px]" : "overflow-y-scroll"}`,
6856
- children: n ? /* @__PURE__ */ g.exports.jsx(ca, { className: "mt-3", size: 27, color: "text-gray-800" }) : /* @__PURE__ */ g.exports.jsx(ks, { children: s.map((z, oe) => {
6856
+ children: n ? /* @__PURE__ */ g.exports.jsx(ca, { className: "mt-3", size: 27, color: "text-gray-800" }) : /* @__PURE__ */ g.exports.jsx(ks, { children: s.length > 0 ? s.map((z, oe) => {
6857
6857
  var re, ye, _;
6858
6858
  const Te = z != null && z.attachment ? /* @__PURE__ */ g.exports.jsx(
6859
6859
  Sd,
@@ -6884,7 +6884,7 @@ const Gd = Ur, qd = ({
6884
6884
  },
6885
6885
  oe
6886
6886
  );
6887
- }) })
6887
+ }) : null })
6888
6888
  }
6889
6889
  ),
6890
6890
  /* @__PURE__ */ g.exports.jsx(