@poolse/react-ui 3.6.1 → 3.7.0

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/CHANGELOG.md CHANGED
@@ -4,6 +4,19 @@ All notable changes to `@poolse/react-ui` are documented here. Format follows
4
4
  [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); versions follow
5
5
  [semver](https://semver.org).
6
6
 
7
+ ## [3.7.0] - 2026-11-21
8
+
9
+ - No changes; released with the other `@poolse/*` packages at 3.7.0.
10
+
11
+ ## [3.6.2] - 2026-11-21
12
+
13
+ ### Fixed
14
+
15
+ - The thread pane follows `ConversationView`: replies get its `showAvatars`,
16
+ `showPresence` and `linkPreviews`. `ThreadView` takes those plus `density`
17
+ for use on its own.
18
+ - Re-exports `tokensFromFlat` and `FlatThemeTokens` from `@poolse/theme`.
19
+
7
20
  ## [3.6.1] - 2026-11-21
8
21
 
9
22
  ### Fixed
package/dist/index.cjs CHANGED
@@ -4572,6 +4572,10 @@ function ThreadView({
4572
4572
  renderMessage,
4573
4573
  layout,
4574
4574
  timeFormat,
4575
+ density,
4576
+ showAvatars,
4577
+ showPresence = false,
4578
+ linkPreviews = true,
4575
4579
  maxFileSize,
4576
4580
  acceptFileTypes
4577
4581
  }) {
@@ -4658,14 +4662,17 @@ function ThreadView({
4658
4662
  },
4659
4663
  onDelete: () => void deleteReply(msg.id),
4660
4664
  ...layout ? { layout } : {},
4661
- ...timeFormat ? { timeFormat } : {}
4665
+ ...timeFormat ? { timeFormat } : {},
4666
+ ...showAvatars !== void 0 ? { showAvatar: showAvatars } : {},
4667
+ showPresence,
4668
+ linkPreviews
4662
4669
  }
4663
4670
  );
4664
4671
  const renderOne = renderMessage ? (msg, currentUserId) => renderMessage(msg, currentUserId) : (msg) => renderDefault(msg);
4665
4672
  return /* @__PURE__ */ jsxRuntime.jsxs(
4666
4673
  "aside",
4667
4674
  {
4668
- className: `poolse-thread${dragActive ? " is-drag-active" : ""}`,
4675
+ className: `poolse-thread${density ? ` poolse-conversation--density-${density}` : ""}${dragActive ? " is-drag-active" : ""}`,
4669
4676
  role: "complementary",
4670
4677
  "aria-label": "Message thread",
4671
4678
  onDragEnter,
@@ -5521,6 +5528,9 @@ function ConversationView({
5521
5528
  onClose: () => setThreadRootId(null),
5522
5529
  layout,
5523
5530
  ...timeFormat ? { timeFormat } : {},
5531
+ showAvatars: showAvatarsResolved,
5532
+ showPresence,
5533
+ linkPreviews,
5524
5534
  ...attachmentRules
5525
5535
  }
5526
5536
  ) })
@@ -6728,6 +6738,10 @@ Object.defineProperty(exports, "encodeTheme", {
6728
6738
  enumerable: true,
6729
6739
  get: function () { return theme.encodeTheme; }
6730
6740
  });
6741
+ Object.defineProperty(exports, "tokensFromFlat", {
6742
+ enumerable: true,
6743
+ get: function () { return theme.tokensFromFlat; }
6744
+ });
6731
6745
  exports.AttachmentPreview = AttachmentPreview;
6732
6746
  exports.Avatar = Avatar;
6733
6747
  exports.CallControlButton = CallControlButton;