@medipha/chat 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.js CHANGED
@@ -11325,7 +11325,10 @@ function ag({ open: e, title: t, children: n, onClose: r, footer: i, width: a =
11325
11325
  width: a,
11326
11326
  footer: i ?? null,
11327
11327
  ...o ? { getContainer: !1 } : {},
11328
- children: n
11328
+ children: o ? n : /* @__PURE__ */ w("div", {
11329
+ className: "med-chat-root med-chat-root--portal",
11330
+ children: n
11331
+ })
11329
11332
  });
11330
11333
  }
11331
11334
  //#endregion
@@ -73734,12 +73737,12 @@ function v6({ members: e, memberCountLabel: t, currentUserId: n, isOwner: r, isL
73734
73737
  onClose: l,
73735
73738
  medium: !0,
73736
73739
  children: [
73737
- r && !_ ? /* @__PURE__ */ T("button", {
73740
+ /* @__PURE__ */ T("button", {
73738
73741
  className: "chat-modal-quick-add",
73739
73742
  type: "button",
73740
73743
  onClick: u,
73741
73744
  children: [/* @__PURE__ */ w(xr, {}), "Thêm thành viên"]
73742
- }) : null,
73745
+ }),
73743
73746
  /* @__PURE__ */ w("div", {
73744
73747
  className: "chat-modal-list-header",
73745
73748
  children: /* @__PURE__ */ T("strong", { children: [
@@ -74222,7 +74225,7 @@ function x6({ conversation: e, conversationId: t, currentUserId: n, onClose: r,
74222
74225
  /* @__PURE__ */ T("div", {
74223
74226
  className: "settings-row-list",
74224
74227
  children: [
74225
- M && I.isOwner && !ae ? /* @__PURE__ */ T("button", {
74228
+ M ? /* @__PURE__ */ T("button", {
74226
74229
  className: "settings-row",
74227
74230
  type: "button",
74228
74231
  onClick: L,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medipha/chat",
3
- "version": "1.0.34",
3
+ "version": "1.0.35",
4
4
  "description": "Embeddable Medic-ERP chat module for React applications.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",