@natoe/colab 0.1.18 → 0.1.19

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.mjs CHANGED
@@ -4932,6 +4932,7 @@ function useInlineCollab({
4932
4932
  }
4933
4933
  try {
4934
4934
  await socket.sendMessage(preview.conversationId, payload);
4935
+ setUnreadCount(0);
4935
4936
  } catch (err) {
4936
4937
  setError(err instanceof Error ? err.message : "Failed to send message");
4937
4938
  config.onError?.({
@@ -5263,8 +5264,6 @@ function InlineInputBar({
5263
5264
  }
5264
5265
  }
5265
5266
  ),
5266
- unreadCount > 0 && /* @__PURE__ */ jsx("span", { style: styles14.unreadBadge, title: `${unreadCount} unread`, children: unreadCount > 99 ? "99+" : unreadCount }),
5267
- isLive && /* @__PURE__ */ jsx("span", { style: styles14.liveDot, title: "Live updates active" }),
5268
5267
  text.trim() && /* @__PURE__ */ jsx(
5269
5268
  "button",
5270
5269
  {
@@ -5276,6 +5275,8 @@ function InlineInputBar({
5276
5275
  children: "\u27A4"
5277
5276
  }
5278
5277
  ),
5278
+ unreadCount > 0 && /* @__PURE__ */ jsx("span", { style: styles14.unreadBadge, title: `${unreadCount} unread`, children: unreadCount > 99 ? "99+" : unreadCount }),
5279
+ isLive && /* @__PURE__ */ jsx("span", { style: styles14.liveDot, title: "Live updates active" }),
5279
5280
  showExpand && onExpand && /* @__PURE__ */ jsx(
5280
5281
  "button",
5281
5282
  {