@liveblocks/react-ui 3.15.0-components1 → 3.15.0-feeds1

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.
Files changed (138) hide show
  1. package/README.md +6 -16
  2. package/dist/_private/index.cjs +5 -1
  3. package/dist/_private/index.cjs.map +1 -1
  4. package/dist/_private/index.d.cts +4 -4
  5. package/dist/_private/index.d.ts +4 -4
  6. package/dist/_private/index.js +2 -1
  7. package/dist/_private/index.js.map +1 -1
  8. package/dist/components/Comment.cjs +28 -10
  9. package/dist/components/Comment.cjs.map +1 -1
  10. package/dist/components/Comment.js +11 -12
  11. package/dist/components/Comment.js.map +1 -1
  12. package/dist/components/Composer.cjs +4 -2
  13. package/dist/components/Composer.cjs.map +1 -1
  14. package/dist/components/Composer.js +5 -3
  15. package/dist/components/Composer.js.map +1 -1
  16. package/dist/components/InboxNotification.cjs +6 -4
  17. package/dist/components/InboxNotification.cjs.map +1 -1
  18. package/dist/components/InboxNotification.js +7 -5
  19. package/dist/components/InboxNotification.js.map +1 -1
  20. package/dist/components/Thread.cjs +26 -19
  21. package/dist/components/Thread.cjs.map +1 -1
  22. package/dist/components/Thread.js +7 -19
  23. package/dist/components/Thread.js.map +1 -1
  24. package/dist/components/internal/AiComposer.cjs +2 -1
  25. package/dist/components/internal/AiComposer.cjs.map +1 -1
  26. package/dist/components/internal/AiComposer.js +2 -1
  27. package/dist/components/internal/AiComposer.js.map +1 -1
  28. package/dist/components/internal/CodeBlock.cjs +2 -1
  29. package/dist/components/internal/CodeBlock.cjs.map +1 -1
  30. package/dist/components/internal/CodeBlock.js +2 -1
  31. package/dist/components/internal/CodeBlock.js.map +1 -1
  32. package/dist/components/internal/Dropdown.cjs +28 -7
  33. package/dist/components/internal/Dropdown.cjs.map +1 -1
  34. package/dist/components/internal/Dropdown.js +7 -7
  35. package/dist/components/internal/Dropdown.js.map +1 -1
  36. package/dist/components/internal/EmojiPicker.cjs +27 -6
  37. package/dist/components/internal/EmojiPicker.cjs.map +1 -1
  38. package/dist/components/internal/EmojiPicker.js +6 -6
  39. package/dist/components/internal/EmojiPicker.js.map +1 -1
  40. package/dist/components/internal/List.cjs +2 -2
  41. package/dist/components/internal/List.cjs.map +1 -1
  42. package/dist/components/internal/List.js +2 -2
  43. package/dist/components/internal/List.js.map +1 -1
  44. package/dist/components/internal/Tooltip.cjs +28 -7
  45. package/dist/components/internal/Tooltip.cjs.map +1 -1
  46. package/dist/components/internal/Tooltip.js +7 -7
  47. package/dist/components/internal/Tooltip.js.map +1 -1
  48. package/dist/index.cjs +0 -12
  49. package/dist/index.cjs.map +1 -1
  50. package/dist/index.d.cts +125 -214
  51. package/dist/index.d.ts +125 -214
  52. package/dist/index.js +0 -6
  53. package/dist/index.js.map +1 -1
  54. package/dist/primitives/AiComposer/index.cjs +4 -5
  55. package/dist/primitives/AiComposer/index.cjs.map +1 -1
  56. package/dist/primitives/AiComposer/index.js +4 -5
  57. package/dist/primitives/AiComposer/index.js.map +1 -1
  58. package/dist/primitives/AiMessage/index.cjs +2 -2
  59. package/dist/primitives/AiMessage/index.cjs.map +1 -1
  60. package/dist/primitives/AiMessage/index.js +2 -2
  61. package/dist/primitives/AiMessage/index.js.map +1 -1
  62. package/dist/primitives/Collapsible/index.cjs +4 -4
  63. package/dist/primitives/Collapsible/index.cjs.map +1 -1
  64. package/dist/primitives/Collapsible/index.js +4 -4
  65. package/dist/primitives/Collapsible/index.js.map +1 -1
  66. package/dist/primitives/Comment/index.cjs +4 -4
  67. package/dist/primitives/Comment/index.cjs.map +1 -1
  68. package/dist/primitives/Comment/index.js +4 -4
  69. package/dist/primitives/Comment/index.js.map +1 -1
  70. package/dist/primitives/Composer/index.cjs +35 -23
  71. package/dist/primitives/Composer/index.cjs.map +1 -1
  72. package/dist/primitives/Composer/index.js +16 -23
  73. package/dist/primitives/Composer/index.js.map +1 -1
  74. package/dist/primitives/Duration.cjs +2 -2
  75. package/dist/primitives/Duration.cjs.map +1 -1
  76. package/dist/primitives/Duration.js +2 -2
  77. package/dist/primitives/Duration.js.map +1 -1
  78. package/dist/primitives/FileSize.cjs +2 -2
  79. package/dist/primitives/FileSize.cjs.map +1 -1
  80. package/dist/primitives/FileSize.js +2 -2
  81. package/dist/primitives/FileSize.js.map +1 -1
  82. package/dist/primitives/Markdown.cjs +2 -2
  83. package/dist/primitives/Markdown.cjs.map +1 -1
  84. package/dist/primitives/Markdown.js +2 -2
  85. package/dist/primitives/Markdown.js.map +1 -1
  86. package/dist/primitives/Timestamp.cjs +2 -2
  87. package/dist/primitives/Timestamp.cjs.map +1 -1
  88. package/dist/primitives/Timestamp.js +2 -2
  89. package/dist/primitives/Timestamp.js.map +1 -1
  90. package/dist/utils/Portal.cjs +2 -2
  91. package/dist/utils/Portal.cjs.map +1 -1
  92. package/dist/utils/Portal.js +2 -2
  93. package/dist/utils/Portal.js.map +1 -1
  94. package/dist/version.cjs +1 -1
  95. package/dist/version.cjs.map +1 -1
  96. package/dist/version.js +1 -1
  97. package/dist/version.js.map +1 -1
  98. package/package.json +11 -6
  99. package/src/styles/dark/index.css +1 -1
  100. package/src/styles/index.css +4 -252
  101. package/styles/dark/attributes.css +1 -1
  102. package/styles/dark/attributes.css.map +1 -1
  103. package/styles/dark/media-query.css +1 -1
  104. package/styles/dark/media-query.css.map +1 -1
  105. package/styles.css +1 -1
  106. package/styles.css.map +1 -1
  107. package/dist/components/AvatarStack.cjs +0 -115
  108. package/dist/components/AvatarStack.cjs.map +0 -1
  109. package/dist/components/AvatarStack.js +0 -113
  110. package/dist/components/AvatarStack.js.map +0 -1
  111. package/dist/components/CommentPin.cjs +0 -27
  112. package/dist/components/CommentPin.cjs.map +0 -1
  113. package/dist/components/CommentPin.js +0 -25
  114. package/dist/components/CommentPin.js.map +0 -1
  115. package/dist/components/Cursor.cjs +0 -40
  116. package/dist/components/Cursor.cjs.map +0 -1
  117. package/dist/components/Cursor.js +0 -38
  118. package/dist/components/Cursor.js.map +0 -1
  119. package/dist/components/Cursors.cjs +0 -252
  120. package/dist/components/Cursors.cjs.map +0 -1
  121. package/dist/components/Cursors.js +0 -250
  122. package/dist/components/Cursors.js.map +0 -1
  123. package/dist/components/FloatingComposer.cjs +0 -82
  124. package/dist/components/FloatingComposer.cjs.map +0 -1
  125. package/dist/components/FloatingComposer.js +0 -80
  126. package/dist/components/FloatingComposer.js.map +0 -1
  127. package/dist/components/FloatingThread.cjs +0 -82
  128. package/dist/components/FloatingThread.cjs.map +0 -1
  129. package/dist/components/FloatingThread.js +0 -80
  130. package/dist/components/FloatingThread.js.map +0 -1
  131. package/dist/utils/animation-loop.cjs +0 -44
  132. package/dist/utils/animation-loop.cjs.map +0 -1
  133. package/dist/utils/animation-loop.js +0 -42
  134. package/dist/utils/animation-loop.js.map +0 -1
  135. package/dist/utils/use-pre-resolve-user.cjs +0 -18
  136. package/dist/utils/use-pre-resolve-user.cjs.map +0 -1
  137. package/dist/utils/use-pre-resolve-user.js +0 -16
  138. package/dist/utils/use-pre-resolve-user.js.map +0 -1
package/dist/index.d.cts CHANGED
@@ -1,8 +1,7 @@
1
1
  import * as react from 'react';
2
2
  import { ComponentType, ComponentPropsWithoutRef, ElementType, ReactNode, ComponentProps, FormEvent, RefAttributes, MouseEvent, PropsWithChildren } from 'react';
3
- import { CommentAttachment, AiReasoningPart, AiRetrievalPart, Relax, WithNavigation, AiAssistantMessage, CopilotId, AiKnowledgeSource, AiOpaqueToolDefinition, AiToolTypePack, JsonObject, AiToolExecuteCallback, NoInfr, CommentBody, MentionData, BaseMetadata, DTM, DCM, Patchable, CommentData, ThreadData, HistoryVersion, InboxNotificationData, InboxNotificationThreadData, InboxNotificationTextMentionData, InboxNotificationCustomData, KDAD } from '@liveblocks/core';
3
+ import { CommentAttachment, AiReasoningPart, AiRetrievalPart, Relax, WithNavigation, AiAssistantMessage, CopilotId, AiKnowledgeSource, AiOpaqueToolDefinition, AiToolTypePack, JsonObject, AiToolExecuteCallback, NoInfr, CommentBody, MentionData, BaseMetadata, DTM, DCM, Patchable, CommentData, HistoryVersion, InboxNotificationData, InboxNotificationThreadData, InboxNotificationTextMentionData, InboxNotificationCustomData, KDAD, ThreadData } from '@liveblocks/core';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
- import { Popover } from 'radix-ui';
6
5
 
7
6
  interface GlobalComponents {
8
7
  Anchor: ComponentType<ComponentPropsWithoutRef<"a">> | "a";
@@ -810,25 +809,6 @@ declare const AiTool: react.ForwardRefExoticComponent<Omit<AiToolProps, "ref"> &
810
809
  Confirmation: typeof AiToolConfirmation;
811
810
  };
812
811
 
813
- interface AvatarStackProps extends ComponentPropsWithoutRef<"div"> {
814
- /**
815
- * Optional additional user IDs to include in the stack.
816
- */
817
- userIds?: string[];
818
- /**
819
- * The maximum number of visible avatars.
820
- */
821
- max?: number;
822
- /**
823
- * Override the component's strings.
824
- */
825
- overrides?: Partial<GlobalOverrides>;
826
- }
827
- /**
828
- * Displays a stack of avatars for the users currently present in the room.
829
- */
830
- declare const AvatarStack: react.ForwardRefExoticComponent<AvatarStackProps & react.RefAttributes<HTMLDivElement>>;
831
-
832
812
  interface ComposerEditorMentionProps {
833
813
  /**
834
814
  * Whether the mention is selected.
@@ -1142,198 +1122,6 @@ declare const Comment: react.ForwardRefExoticComponent<CommentProps & react.RefA
1142
1122
  DropdownItem: react.ForwardRefExoticComponent<CommentDropdownItemProps & react.RefAttributes<HTMLDivElement>>;
1143
1123
  };
1144
1124
 
1145
- interface CommentPinProps extends ComponentPropsWithoutRef<"button"> {
1146
- /**
1147
- * The corner that points to the comment position.
1148
- */
1149
- corner?: "top-left" | "top-right" | "bottom-right" | "bottom-left";
1150
- /**
1151
- * The user ID to optionally display an avatar for.
1152
- */
1153
- userId?: string;
1154
- }
1155
- /**
1156
- * Displays a comment pin that can be used as a trigger
1157
- * for `FloatingComposer` and `FloatingThread`.
1158
- */
1159
- declare const CommentPin: react.ForwardRefExoticComponent<CommentPinProps & react.RefAttributes<HTMLButtonElement>>;
1160
-
1161
- interface CursorProps extends ComponentPropsWithoutRef<"div"> {
1162
- /**
1163
- * A floating label to display next to the cursor.
1164
- */
1165
- label?: ReactNode;
1166
- /**
1167
- * The color of the cursor.
1168
- */
1169
- color?: string;
1170
- }
1171
- /**
1172
- * Displays a multiplayer cursor.
1173
- */
1174
- declare const Cursor: react.ForwardRefExoticComponent<CursorProps & react.RefAttributes<HTMLDivElement>>;
1175
-
1176
- interface CursorsProps extends ComponentPropsWithoutRef<"div"> {
1177
- /**
1178
- * The key used to store the cursors in users' Presence.
1179
- * This can be used to have multiple `Cursors` in a single room.
1180
- */
1181
- presenceKey?: string;
1182
- }
1183
- /**
1184
- * Displays multiplayer cursors.
1185
- */
1186
- declare const Cursors: react.ForwardRefExoticComponent<CursorsProps & react.RefAttributes<HTMLDivElement>>;
1187
-
1188
- interface FloatingComposerProps<TM extends BaseMetadata = DTM, CM extends BaseMetadata = DCM> extends Omit<ComposerProps<TM, CM>, "collapsed" | "onCollapsedChange" | "defaultCollapsed">, Relax<Pick<Popover.PopoverProps, "defaultOpen" | "open" | "onOpenChange"> & Pick<Popover.PopoverContentProps, "side" | "sideOffset" | "align" | "alignOffset">> {
1189
- /**
1190
- * The element which opens the floating composer.
1191
- */
1192
- children: ReactNode;
1193
- }
1194
- /**
1195
- * Displays a floating composer attached to a trigger element.
1196
- */
1197
- declare const FloatingComposer: <TM extends BaseMetadata = DTM, CM extends BaseMetadata = DCM>(props: FloatingComposerProps<TM, CM> & RefAttributes<HTMLFormElement>) => JSX.Element;
1198
-
1199
- interface ThreadProps<TM extends BaseMetadata = DTM, CM extends BaseMetadata = DCM> extends ComponentPropsWithoutRef<"div"> {
1200
- /**
1201
- * The thread to display.
1202
- */
1203
- thread: ThreadData<TM, CM>;
1204
- /**
1205
- * How to show or hide the composer to reply to the thread.
1206
- */
1207
- showComposer?: boolean | "collapsed";
1208
- /**
1209
- * Whether to show the action to resolve the thread.
1210
- */
1211
- showResolveAction?: boolean;
1212
- /**
1213
- * How to show or hide the actions.
1214
- */
1215
- showActions?: CommentProps["showActions"];
1216
- /**
1217
- * Whether to show reactions.
1218
- */
1219
- showReactions?: CommentProps["showReactions"];
1220
- /**
1221
- * Whether to show the composer's formatting controls.
1222
- */
1223
- showComposerFormattingControls?: ComposerProps["showFormattingControls"];
1224
- /**
1225
- * Add (or change) items to display in a comment's dropdown.
1226
- */
1227
- commentDropdownItems?: ReactNode | ((props: PropsWithChildren<{
1228
- comment: CommentData;
1229
- }>) => ReactNode);
1230
- /**
1231
- * The maximum number of comments to show.
1232
- *
1233
- * The first and last comments are always shown and by default if some comments
1234
- * are hidden, only the first comment will be shown before the "show more" button
1235
- * and after it will be shown all the newest comments to fit the limit set.
1236
- *
1237
- * It's possible to customize this by setting `maxVisibleComments` to an object:
1238
- *
1239
- * @example
1240
- * // Only show the last comment, and all the older ones to fit the limit.
1241
- * <Thread maxVisibleComments={{ max: 5, show: "oldest" }} />
1242
- *
1243
- * @example
1244
- * // Show as many old comments as new ones to fit the limit.
1245
- * <Thread maxVisibleComments={{ max: 5, show: "both" }} />
1246
- */
1247
- maxVisibleComments?: number | {
1248
- max: number;
1249
- show: "oldest" | "both" | "newest";
1250
- };
1251
- /**
1252
- * Whether to blur the composer editor when the composer is submitted.
1253
- */
1254
- blurComposerOnSubmit?: ComposerProps["blurOnSubmit"];
1255
- /**
1256
- * Whether to indent the comments' content.
1257
- */
1258
- indentCommentContent?: CommentProps["indentContent"];
1259
- /**
1260
- * Whether to show deleted comments.
1261
- */
1262
- showDeletedComments?: CommentProps["showDeleted"];
1263
- /**
1264
- * Whether to show attachments.
1265
- */
1266
- showAttachments?: boolean;
1267
- /**
1268
- * The event handler called when changing the resolved status.
1269
- */
1270
- onResolvedChange?: (resolved: boolean) => void;
1271
- /**
1272
- * The event handler called when a comment is edited.
1273
- */
1274
- onCommentEdit?: CommentProps["onCommentEdit"];
1275
- /**
1276
- * The event handler called when a comment is deleted.
1277
- */
1278
- onCommentDelete?: CommentProps["onCommentDelete"];
1279
- /**
1280
- * The event handler called when the thread is deleted.
1281
- * A thread is deleted when all its comments are deleted.
1282
- */
1283
- onThreadDelete?: (thread: ThreadData<TM, CM>) => void;
1284
- /**
1285
- * The event handler called when clicking on a comment's author.
1286
- */
1287
- onAuthorClick?: CommentProps["onAuthorClick"];
1288
- /**
1289
- * The event handler called when clicking on a mention.
1290
- */
1291
- onMentionClick?: CommentProps["onMentionClick"];
1292
- /**
1293
- * The event handler called when clicking on a comment's attachment.
1294
- */
1295
- onAttachmentClick?: CommentProps["onAttachmentClick"];
1296
- /**
1297
- * The event handler called when the composer is submitted.
1298
- */
1299
- onComposerSubmit?: ComposerProps["onComposerSubmit"];
1300
- /**
1301
- * Whether to focus the composer on mount.
1302
- */
1303
- autoFocus?: ComposerProps["autoFocus"];
1304
- /**
1305
- * Override the component's strings.
1306
- */
1307
- overrides?: Partial<GlobalOverrides & ThreadOverrides & CommentOverrides & ComposerOverrides>;
1308
- /**
1309
- * Override the component's components.
1310
- */
1311
- components?: Partial<GlobalComponents>;
1312
- }
1313
- /**
1314
- * Displays a thread of comments, with a composer to reply
1315
- * to it.
1316
- *
1317
- * @example
1318
- * <>
1319
- * {threads.map((thread) => (
1320
- * <Thread key={thread.id} thread={thread} />
1321
- * ))}
1322
- * </>
1323
- */
1324
- declare const Thread: <TM extends BaseMetadata = DTM, CM extends BaseMetadata = DCM>(props: ThreadProps<TM, CM> & RefAttributes<HTMLDivElement>) => JSX.Element;
1325
-
1326
- interface FloatingThreadProps<TM extends BaseMetadata = DTM, CM extends BaseMetadata = DCM> extends ThreadProps<TM, CM>, Relax<Pick<Popover.PopoverProps, "defaultOpen" | "open" | "onOpenChange"> & Pick<Popover.PopoverContentProps, "side" | "sideOffset" | "align" | "alignOffset">> {
1327
- /**
1328
- * The element which opens the floating thread.
1329
- */
1330
- children: ReactNode;
1331
- }
1332
- /**
1333
- * Displays a floating thread attached to a trigger element.
1334
- */
1335
- declare const FloatingThread: <TM extends BaseMetadata = DTM, CM extends BaseMetadata = DCM>(props: FloatingThreadProps<TM, CM> & RefAttributes<HTMLDivElement>) => JSX.Element;
1336
-
1337
1125
  interface HistoryVersionSummaryProps extends ComponentPropsWithoutRef<"button"> {
1338
1126
  version: HistoryVersion;
1339
1127
  selected?: boolean;
@@ -1529,6 +1317,129 @@ interface InboxNotificationListProps extends ComponentPropsWithoutRef<"ol"> {
1529
1317
  */
1530
1318
  declare const InboxNotificationList: react.ForwardRefExoticComponent<InboxNotificationListProps & react.RefAttributes<HTMLOListElement>>;
1531
1319
 
1320
+ interface ThreadProps<TM extends BaseMetadata = DTM, CM extends BaseMetadata = DCM> extends ComponentPropsWithoutRef<"div"> {
1321
+ /**
1322
+ * The thread to display.
1323
+ */
1324
+ thread: ThreadData<TM, CM>;
1325
+ /**
1326
+ * How to show or hide the composer to reply to the thread.
1327
+ */
1328
+ showComposer?: boolean | "collapsed";
1329
+ /**
1330
+ * Whether to show the action to resolve the thread.
1331
+ */
1332
+ showResolveAction?: boolean;
1333
+ /**
1334
+ * How to show or hide the actions.
1335
+ */
1336
+ showActions?: CommentProps["showActions"];
1337
+ /**
1338
+ * Whether to show reactions.
1339
+ */
1340
+ showReactions?: CommentProps["showReactions"];
1341
+ /**
1342
+ * Whether to show the composer's formatting controls.
1343
+ */
1344
+ showComposerFormattingControls?: ComposerProps["showFormattingControls"];
1345
+ /**
1346
+ * Add (or change) items to display in a comment's dropdown.
1347
+ */
1348
+ commentDropdownItems?: ReactNode | ((props: PropsWithChildren<{
1349
+ comment: CommentData;
1350
+ }>) => ReactNode);
1351
+ /**
1352
+ * The maximum number of comments to show.
1353
+ *
1354
+ * The first and last comments are always shown and by default if some comments
1355
+ * are hidden, only the first comment will be shown before the "show more" button
1356
+ * and after it will be shown all the newest comments to fit the limit set.
1357
+ *
1358
+ * It's possible to customize this by setting `maxVisibleComments` to an object:
1359
+ *
1360
+ * @example
1361
+ * // Only show the last comment, and all the older ones to fit the limit.
1362
+ * <Thread maxVisibleComments={{ max: 5, show: "oldest" }} />
1363
+ *
1364
+ * @example
1365
+ * // Show as many old comments as new ones to fit the limit.
1366
+ * <Thread maxVisibleComments={{ max: 5, show: "both" }} />
1367
+ */
1368
+ maxVisibleComments?: number | {
1369
+ max: number;
1370
+ show: "oldest" | "both" | "newest";
1371
+ };
1372
+ /**
1373
+ * Whether to blur the composer editor when the composer is submitted.
1374
+ */
1375
+ blurComposerOnSubmit?: ComposerProps["blurOnSubmit"];
1376
+ /**
1377
+ * Whether to indent the comments' content.
1378
+ */
1379
+ indentCommentContent?: CommentProps["indentContent"];
1380
+ /**
1381
+ * Whether to show deleted comments.
1382
+ */
1383
+ showDeletedComments?: CommentProps["showDeleted"];
1384
+ /**
1385
+ * Whether to show attachments.
1386
+ */
1387
+ showAttachments?: boolean;
1388
+ /**
1389
+ * The event handler called when changing the resolved status.
1390
+ */
1391
+ onResolvedChange?: (resolved: boolean) => void;
1392
+ /**
1393
+ * The event handler called when a comment is edited.
1394
+ */
1395
+ onCommentEdit?: CommentProps["onCommentEdit"];
1396
+ /**
1397
+ * The event handler called when a comment is deleted.
1398
+ */
1399
+ onCommentDelete?: CommentProps["onCommentDelete"];
1400
+ /**
1401
+ * The event handler called when the thread is deleted.
1402
+ * A thread is deleted when all its comments are deleted.
1403
+ */
1404
+ onThreadDelete?: (thread: ThreadData<TM, CM>) => void;
1405
+ /**
1406
+ * The event handler called when clicking on a comment's author.
1407
+ */
1408
+ onAuthorClick?: CommentProps["onAuthorClick"];
1409
+ /**
1410
+ * The event handler called when clicking on a mention.
1411
+ */
1412
+ onMentionClick?: CommentProps["onMentionClick"];
1413
+ /**
1414
+ * The event handler called when clicking on a comment's attachment.
1415
+ */
1416
+ onAttachmentClick?: CommentProps["onAttachmentClick"];
1417
+ /**
1418
+ * The event handler called when the composer is submitted.
1419
+ */
1420
+ onComposerSubmit?: ComposerProps["onComposerSubmit"];
1421
+ /**
1422
+ * Override the component's strings.
1423
+ */
1424
+ overrides?: Partial<GlobalOverrides & ThreadOverrides & CommentOverrides & ComposerOverrides>;
1425
+ /**
1426
+ * Override the component's components.
1427
+ */
1428
+ components?: Partial<GlobalComponents>;
1429
+ }
1430
+ /**
1431
+ * Displays a thread of comments, with a composer to reply
1432
+ * to it.
1433
+ *
1434
+ * @example
1435
+ * <>
1436
+ * {threads.map((thread) => (
1437
+ * <Thread key={thread.id} thread={thread} />
1438
+ * ))}
1439
+ * </>
1440
+ */
1441
+ declare const Thread: <TM extends BaseMetadata = DTM, CM extends BaseMetadata = DCM>(props: ThreadProps<TM, CM> & RefAttributes<HTMLDivElement>) => JSX.Element;
1442
+
1532
1443
  type LiveblocksUiConfigProps = PropsWithChildren<{
1533
1444
  /**
1534
1445
  * Override the components' strings.
@@ -1728,4 +1639,4 @@ declare namespace icon {
1728
1639
  };
1729
1640
  }
1730
1641
 
1731
- export { AiChat, AiChatComponents, AiChatComponentsEmptyProps, AiChatComponentsLoadingProps, AiChatProps, AiComposerSubmitMessage, AiTool, AiToolIconProps, AiToolProps, AvatarStack, AvatarStackProps, Comment, CommentAttachmentArgs, CommentDropdownItemProps, CommentOverrides, CommentPin, CommentPinProps, CommentProps, Composer, ComposerBodyMark, ComposerBodyMarks, ComposerOverrides, ComposerProps, ComposerSubmitComment, Cursor, CursorProps, Cursors, CursorsProps, FloatingComposer, FloatingComposerProps, FloatingThread, FloatingThreadProps, GlobalOverrides, HistoryVersionSummary, HistoryVersionSummaryList, HistoryVersionSummaryListProps, HistoryVersionSummaryProps, icon as Icon, InboxNotification, InboxNotificationAvatarProps, InboxNotificationCustomKindProps, InboxNotificationCustomProps, InboxNotificationIconProps, InboxNotificationInspectorProps, InboxNotificationList, InboxNotificationListProps, InboxNotificationOverrides, InboxNotificationProps, InboxNotificationTextMentionKindProps, InboxNotificationTextMentionProps, InboxNotificationThreadKindProps, InboxNotificationThreadProps, LiveblocksUiConfig, LocalizationOverrides, Overrides, Thread, ThreadOverrides, ThreadProps, useOverrides };
1642
+ export { AiChat, AiChatComponents, AiChatComponentsEmptyProps, AiChatComponentsLoadingProps, AiChatProps, AiComposerSubmitMessage, AiTool, AiToolIconProps, AiToolProps, Comment, CommentAttachmentArgs, CommentDropdownItemProps, CommentOverrides, CommentProps, Composer, ComposerBodyMark, ComposerBodyMarks, ComposerOverrides, ComposerProps, ComposerSubmitComment, GlobalOverrides, HistoryVersionSummary, HistoryVersionSummaryList, HistoryVersionSummaryListProps, HistoryVersionSummaryProps, icon as Icon, InboxNotification, InboxNotificationAvatarProps, InboxNotificationCustomKindProps, InboxNotificationCustomProps, InboxNotificationIconProps, InboxNotificationInspectorProps, InboxNotificationList, InboxNotificationListProps, InboxNotificationOverrides, InboxNotificationProps, InboxNotificationTextMentionKindProps, InboxNotificationTextMentionProps, InboxNotificationThreadKindProps, InboxNotificationThreadProps, LiveblocksUiConfig, LocalizationOverrides, Overrides, Thread, ThreadOverrides, ThreadProps, useOverrides };