stream-chat-react 11.4.0 → 11.5.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.
Files changed (149) hide show
  1. package/dist/browser.full-bundle.js +6138 -5630
  2. package/dist/browser.full-bundle.js.map +1 -1
  3. package/dist/browser.full-bundle.min.js +4 -4
  4. package/dist/browser.full-bundle.min.js.map +1 -1
  5. package/dist/components/Channel/Channel.d.ts +9 -2
  6. package/dist/components/Channel/Channel.d.ts.map +1 -1
  7. package/dist/components/Channel/Channel.js +86 -22
  8. package/dist/components/ChannelPreview/ChannelPreview.d.ts +16 -0
  9. package/dist/components/ChannelPreview/ChannelPreview.d.ts.map +1 -1
  10. package/dist/components/ChannelPreview/ChannelPreview.js +16 -2
  11. package/dist/components/ChannelPreview/ChannelPreviewMessenger.d.ts +5 -0
  12. package/dist/components/ChannelPreview/ChannelPreviewMessenger.d.ts.map +1 -1
  13. package/dist/components/ChannelPreview/ChannelPreviewMessenger.js +62 -2
  14. package/dist/components/Emojis/index.cjs.js +1 -1
  15. package/dist/components/Message/Message.d.ts.map +1 -1
  16. package/dist/components/Message/Message.js +40 -8
  17. package/dist/components/Message/hooks/index.d.ts +2 -0
  18. package/dist/components/Message/hooks/index.d.ts.map +1 -1
  19. package/dist/components/Message/hooks/index.js +2 -0
  20. package/dist/components/Message/hooks/useMarkUnreadHandler.d.ts +10 -0
  21. package/dist/components/Message/hooks/useMarkUnreadHandler.d.ts.map +1 -0
  22. package/dist/components/Message/hooks/useMarkUnreadHandler.js +45 -0
  23. package/dist/components/Message/hooks/useReactionsFetcher.d.ts +11 -0
  24. package/dist/components/Message/hooks/useReactionsFetcher.d.ts.map +1 -0
  25. package/dist/components/Message/hooks/useReactionsFetcher.js +58 -0
  26. package/dist/components/Message/hooks/useUserRole.d.ts +1 -0
  27. package/dist/components/Message/hooks/useUserRole.d.ts.map +1 -1
  28. package/dist/components/Message/hooks/useUserRole.js +2 -0
  29. package/dist/components/Message/types.d.ts +7 -1
  30. package/dist/components/Message/types.d.ts.map +1 -1
  31. package/dist/components/Message/utils.d.ts +4 -1
  32. package/dist/components/Message/utils.d.ts.map +1 -1
  33. package/dist/components/Message/utils.js +12 -3
  34. package/dist/components/MessageActions/MessageActions.d.ts +1 -1
  35. package/dist/components/MessageActions/MessageActions.d.ts.map +1 -1
  36. package/dist/components/MessageActions/MessageActions.js +4 -3
  37. package/dist/components/MessageActions/MessageActionsBox.d.ts +1 -1
  38. package/dist/components/MessageActions/MessageActionsBox.d.ts.map +1 -1
  39. package/dist/components/MessageActions/MessageActionsBox.js +3 -4
  40. package/dist/components/MessageList/MessageList.d.ts +3 -1
  41. package/dist/components/MessageList/MessageList.d.ts.map +1 -1
  42. package/dist/components/MessageList/MessageList.js +29 -13
  43. package/dist/components/MessageList/MessageListMainPanel.d.ts +1 -0
  44. package/dist/components/MessageList/MessageListMainPanel.d.ts.map +1 -1
  45. package/dist/components/MessageList/MessageListMainPanel.js +2 -1
  46. package/dist/components/MessageList/MessageListNotifications.d.ts +1 -0
  47. package/dist/components/MessageList/MessageListNotifications.d.ts.map +1 -1
  48. package/dist/components/MessageList/MessageListNotifications.js +2 -2
  49. package/dist/components/MessageList/MessageNotification.d.ts +2 -0
  50. package/dist/components/MessageList/MessageNotification.d.ts.map +1 -1
  51. package/dist/components/MessageList/ScrollToBottomButton.d.ts +1 -1
  52. package/dist/components/MessageList/ScrollToBottomButton.d.ts.map +1 -1
  53. package/dist/components/MessageList/ScrollToBottomButton.js +3 -44
  54. package/dist/components/MessageList/UnreadMessagesNotification.d.ts +6 -0
  55. package/dist/components/MessageList/UnreadMessagesNotification.d.ts.map +1 -0
  56. package/dist/components/MessageList/UnreadMessagesNotification.js +12 -0
  57. package/dist/components/MessageList/UnreadMessagesSeparator.d.ts +6 -0
  58. package/dist/components/MessageList/UnreadMessagesSeparator.d.ts.map +1 -0
  59. package/dist/components/MessageList/UnreadMessagesSeparator.js +10 -0
  60. package/dist/components/MessageList/VirtualizedMessageList.d.ts +12 -1
  61. package/dist/components/MessageList/VirtualizedMessageList.d.ts.map +1 -1
  62. package/dist/components/MessageList/VirtualizedMessageList.js +42 -19
  63. package/dist/components/MessageList/VirtualizedMessageListComponents.d.ts +5 -3
  64. package/dist/components/MessageList/VirtualizedMessageListComponents.d.ts.map +1 -1
  65. package/dist/components/MessageList/VirtualizedMessageListComponents.js +27 -6
  66. package/dist/components/MessageList/hooks/MessageList/index.d.ts +1 -0
  67. package/dist/components/MessageList/hooks/MessageList/index.d.ts.map +1 -1
  68. package/dist/components/MessageList/hooks/MessageList/index.js +1 -0
  69. package/dist/components/MessageList/hooks/MessageList/useMessageListElements.d.ts +2 -5
  70. package/dist/components/MessageList/hooks/MessageList/useMessageListElements.d.ts.map +1 -1
  71. package/dist/components/MessageList/hooks/MessageList/useMessageListElements.js +3 -1
  72. package/dist/components/MessageList/hooks/MessageList/useUnreadMessagesNotification.d.ts +7 -0
  73. package/dist/components/MessageList/hooks/MessageList/useUnreadMessagesNotification.d.ts.map +1 -0
  74. package/dist/components/MessageList/hooks/MessageList/useUnreadMessagesNotification.js +42 -0
  75. package/dist/components/MessageList/hooks/VirtualizedMessageList/index.d.ts +1 -0
  76. package/dist/components/MessageList/hooks/VirtualizedMessageList/index.d.ts.map +1 -1
  77. package/dist/components/MessageList/hooks/VirtualizedMessageList/index.js +1 -0
  78. package/dist/components/MessageList/hooks/VirtualizedMessageList/useUnreadMessagesNotificationVirtualized.d.ts +22 -0
  79. package/dist/components/MessageList/hooks/VirtualizedMessageList/useUnreadMessagesNotificationVirtualized.d.ts.map +1 -0
  80. package/dist/components/MessageList/hooks/VirtualizedMessageList/useUnreadMessagesNotificationVirtualized.js +29 -0
  81. package/dist/components/MessageList/hooks/useMarkRead.d.ts +19 -0
  82. package/dist/components/MessageList/hooks/useMarkRead.d.ts.map +1 -0
  83. package/dist/components/MessageList/hooks/useMarkRead.js +38 -0
  84. package/dist/components/MessageList/icons.d.ts +1 -0
  85. package/dist/components/MessageList/icons.d.ts.map +1 -1
  86. package/dist/components/MessageList/icons.js +2 -0
  87. package/dist/components/MessageList/index.d.ts +2 -0
  88. package/dist/components/MessageList/index.d.ts.map +1 -1
  89. package/dist/components/MessageList/index.js +2 -0
  90. package/dist/components/MessageList/renderMessages.d.ts +13 -2
  91. package/dist/components/MessageList/renderMessages.d.ts.map +1 -1
  92. package/dist/components/MessageList/renderMessages.js +16 -11
  93. package/dist/components/Reactions/ReactionsList.d.ts +2 -1
  94. package/dist/components/Reactions/ReactionsList.d.ts.map +1 -1
  95. package/dist/components/Reactions/ReactionsList.js +32 -41
  96. package/dist/components/Reactions/ReactionsListModal.d.ts +13 -0
  97. package/dist/components/Reactions/ReactionsListModal.d.ts.map +1 -0
  98. package/dist/components/Reactions/ReactionsListModal.js +46 -0
  99. package/dist/components/Reactions/SimpleReactionsList.d.ts +2 -4
  100. package/dist/components/Reactions/SimpleReactionsList.d.ts.map +1 -1
  101. package/dist/components/Reactions/SimpleReactionsList.js +7 -24
  102. package/dist/components/Reactions/hooks/useFetchReactions.d.ts +12 -0
  103. package/dist/components/Reactions/hooks/useFetchReactions.d.ts.map +1 -0
  104. package/dist/components/Reactions/hooks/useFetchReactions.js +50 -0
  105. package/dist/components/Reactions/hooks/useProcessReactions.d.ts +3 -13
  106. package/dist/components/Reactions/hooks/useProcessReactions.d.ts.map +1 -1
  107. package/dist/components/Reactions/hooks/useProcessReactions.js +51 -46
  108. package/dist/components/Reactions/types.d.ts +9 -0
  109. package/dist/components/Reactions/types.d.ts.map +1 -0
  110. package/dist/components/Reactions/types.js +1 -0
  111. package/dist/context/ChannelActionContext.d.ts +2 -0
  112. package/dist/context/ChannelActionContext.d.ts.map +1 -1
  113. package/dist/context/ComponentContext.d.ts +6 -2
  114. package/dist/context/ComponentContext.d.ts.map +1 -1
  115. package/dist/context/MessageContext.d.ts +8 -2
  116. package/dist/context/MessageContext.d.ts.map +1 -1
  117. package/dist/css/v2/index.css +1 -1
  118. package/dist/css/v2/index.layout.css +1 -1
  119. package/dist/i18n/Streami18n.d.ts +10 -0
  120. package/dist/i18n/Streami18n.d.ts.map +1 -1
  121. package/dist/i18n/de.json +10 -0
  122. package/dist/i18n/en.json +10 -0
  123. package/dist/i18n/es.json +12 -0
  124. package/dist/i18n/fr.json +12 -0
  125. package/dist/i18n/hi.json +11 -0
  126. package/dist/i18n/it.json +12 -0
  127. package/dist/i18n/ja.json +8 -0
  128. package/dist/i18n/ko.json +8 -0
  129. package/dist/i18n/nl.json +10 -0
  130. package/dist/i18n/pt.json +12 -0
  131. package/dist/i18n/ru.json +14 -0
  132. package/dist/i18n/tr.json +10 -0
  133. package/dist/{icons-b84cd102.js → icons-7ead3d97.js} +12 -12
  134. package/dist/index.cjs.js +4880 -4372
  135. package/dist/scss/v2/AttachmentPreviewList/AttachmentPreviewList-layout.scss +1 -0
  136. package/dist/scss/v2/Message/Message-layout.scss +68 -10
  137. package/dist/scss/v2/Message/Message-theme.scss +34 -2
  138. package/dist/scss/v2/MessageActionsBox/MessageActionsBox-layout.scss +0 -11
  139. package/dist/scss/v2/MessageBounceOptions/MessageBounceOptions-layout.scss +18 -0
  140. package/dist/scss/v2/MessageBounceOptions/MessageBounceOptions-theme.scss +51 -0
  141. package/dist/scss/v2/MessageReactions/MessageReactions-layout.scss +74 -0
  142. package/dist/scss/v2/MessageReactions/MessageReactions-theme.scss +17 -0
  143. package/dist/scss/v2/_base.scss +3 -20
  144. package/dist/scss/v2/_global-theme-variables.scss +3 -0
  145. package/dist/scss/v2/index.layout.scss +1 -0
  146. package/dist/scss/v2/index.scss +1 -1
  147. package/dist/version.d.ts +1 -1
  148. package/dist/version.js +1 -1
  149. package/package.json +3 -3
@@ -30,6 +30,7 @@
30
30
  position: relative;
31
31
  height: $preview-height;
32
32
  width: $preview-height;
33
+ min-width: $preview-height;
33
34
  overflow: hidden;
34
35
 
35
36
  .str-chat__attachment-preview-image-loading {
@@ -72,6 +72,7 @@
72
72
  'avatar message'
73
73
  '. replies'
74
74
  '. translation-notice'
75
+ '. custom-metadata'
75
76
  '. metadata';
76
77
  column-gap: var(--str-chat__spacing-2);
77
78
  grid-template-columns: auto 1fr;
@@ -83,6 +84,7 @@
83
84
  'message'
84
85
  'replies'
85
86
  'translation-notice'
87
+ 'custom-metadata'
86
88
  'metadata';
87
89
  justify-items: end;
88
90
 
@@ -182,6 +184,11 @@
182
184
  }
183
185
  }
184
186
 
187
+ .str-chat__custom-message-metadata {
188
+ grid-area: custom-metadata;
189
+ margin-block-start: var(--str-chat__spacing-0_5);
190
+ }
191
+
185
192
  .str-chat__message-metadata {
186
193
  grid-area: metadata;
187
194
  display: flex;
@@ -261,25 +268,37 @@
261
268
  // Message options display - default mode: they appear when .str-chat__li is hovered
262
269
  .str-chat__ul:not(.str-chat__message-options-in-bubble),
263
270
  .str-chat__virtual-list:not(.str-chat__message-options-in-bubble) {
264
- .str-chat__li {
265
- &:hover {
266
- .str-chat__message-options {
267
- display: flex;
268
- }
271
+ /* This rule won't be applied in browsers that don't support :has() */
272
+ .str-chat__li:hover:not(:has(.str-chat__reaction-list:hover, .str-chat__modal--open)) {
273
+ .str-chat__message-options {
274
+ display: flex;
269
275
  }
270
- }
271
276
 
272
- .str-chat__li:hover {
273
277
  .str-chat__message--other .str-chat__message-inner {
274
278
  margin-inline-end: 0;
275
279
  }
276
- }
277
280
 
278
- .str-chat__li:hover {
279
281
  .str-chat__message--me .str-chat__message-inner {
280
282
  margin-inline-start: 0;
281
283
  }
282
284
  }
285
+
286
+ /* Fallback for when :has() is unsupported */
287
+ @supports not selector(:has(a, b)) {
288
+ .str-chat__li:hover {
289
+ .str-chat__message-options {
290
+ display: flex;
291
+ }
292
+
293
+ .str-chat__message--other .str-chat__message-inner {
294
+ margin-inline-end: 0;
295
+ }
296
+
297
+ .str-chat__message--me .str-chat__message-inner {
298
+ margin-inline-start: 0;
299
+ }
300
+ }
301
+ }
283
302
  }
284
303
 
285
304
  // Message options display - second mode: they appear when .str-chat__message-inner is hovered
@@ -307,7 +326,8 @@
307
326
  display: none;
308
327
  }
309
328
 
310
- .str-chat__message-edit-in-progress.str-chat__message-options {
329
+ .str-chat__message-edit-in-progress.str-chat__message-options,
330
+ .str-chat__message-actions-open.str-chat__message-options {
311
331
  display: flex;
312
332
  }
313
333
  }
@@ -404,3 +424,41 @@
404
424
  }
405
425
  }
406
426
  }
427
+
428
+ .str-chat__unread-messages-separator-wrapper {
429
+ padding-block: 0.5rem;
430
+
431
+ .str-chat__unread-messages-separator {
432
+ @include utils.flex-row-center;
433
+ width: 100%;
434
+ padding: 0.5rem;
435
+ }
436
+ }
437
+
438
+ .str-chat__unread-messages-notification {
439
+ position: absolute;
440
+ top: 0.75rem;
441
+ z-index: 2;
442
+ display: flex;
443
+ align-items: center;
444
+ overflow: clip;
445
+
446
+ button {
447
+ padding-block: 0.5rem;
448
+ height: 100%;
449
+ width: 100%;
450
+ white-space: nowrap;
451
+ }
452
+
453
+ button:first-of-type {
454
+ padding-inline: 0.75rem 0.375rem;
455
+ }
456
+
457
+ button:last-of-type {
458
+ padding-inline: 0.375rem 0.75rem;
459
+
460
+ svg {
461
+ width: 0.875rem;
462
+ }
463
+ }
464
+ }
@@ -261,7 +261,8 @@
261
261
  }
262
262
  }
263
263
 
264
- .str-chat__message-metadata {
264
+ .str-chat__message-metadata,
265
+ .str-chat__custom-message-metadata {
265
266
  color: var(--str-chat__message-secondary-color);
266
267
  font: var(--str-chat__caption-text);
267
268
 
@@ -308,10 +309,18 @@
308
309
  background-color: var(--str-chat__message-highlighted-background-color);
309
310
  }
310
311
 
311
- .str-chat__li:hover {
312
+ /* This rule won't be applied in browsers that don't support :has() */
313
+ .str-chat__li:hover:not(:has(.str-chat__reaction-list:hover, .str-chat__modal--open)) {
312
314
  background-color: var(--str-chat__message-active-bacground-color);
313
315
  }
314
316
 
317
+ /* Fallback for when :has() is unsupported */
318
+ @supports not selector(:has(a, b)) {
319
+ .str-chat__li:hover {
320
+ background-color: var(--str-chat__message-active-bacground-color);
321
+ }
322
+ }
323
+
315
324
  .str-chat__li--top,
316
325
  .str-chat__li--single {
317
326
  .str-chat__message--other {
@@ -375,3 +384,26 @@
375
384
  }
376
385
  }
377
386
  }
387
+
388
+ .str-chat__unread-messages-separator {
389
+ background-color: var(--str-chat__secondary-surface-color);
390
+ color: var(--str-chat__text-low-emphasis-color);
391
+ text-transform: uppercase;
392
+ font: var(--str-chat__caption-strong-text);
393
+ }
394
+
395
+ .str-chat__unread-messages-notification {
396
+ background-color: var(--str-chat__text-low-emphasis-color);
397
+ border-radius: 1.125rem;
398
+
399
+ button {
400
+ cursor: pointer;
401
+ color: var(--str-chat__on-primary-color);
402
+ border: none;
403
+ background-color: transparent;
404
+ }
405
+
406
+ button:first-of-type {
407
+ font: var(--str-chat__caption-text);
408
+ }
409
+ }
@@ -21,22 +21,11 @@
21
21
 
22
22
  .str-chat__message-actions-box:not(.str-chat__message-actions-box-angular) {
23
23
  display: none;
24
- position: absolute;
25
24
  z-index: 1;
26
25
 
27
26
  &.str-chat__message-actions-box--open {
28
27
  display: block;
29
28
  }
30
-
31
- &.str-chat__message-actions-box--mine {
32
- inset-block-end: 100%;
33
- inset-inline-start: 100%;
34
- }
35
-
36
- &:not(.str-chat__message-actions-box--mine) {
37
- inset-block-end: 100%;
38
- inset-inline-end: 100%;
39
- }
40
29
  }
41
30
 
42
31
  .str-chat__message-edit-in-progress {
@@ -0,0 +1,18 @@
1
+ .str-chat__message-bounce-options {
2
+ display: flex;
3
+ flex-direction: column;
4
+ gap: var(--str-chat__spacing-9);
5
+
6
+ .str-chat__message-bounce-actions {
7
+ display: flex;
8
+ flex-direction: column;
9
+ gap: var(--str-chat__spacing-2);
10
+ }
11
+
12
+ .str-chat__message-bounce-edit,
13
+ .str-chat__message-bounce-send,
14
+ .str-chat__message-bounce-delete {
15
+ cursor: pointer;
16
+ padding: var(--str-chat__spacing-2);
17
+ }
18
+ }
@@ -0,0 +1,51 @@
1
+ @use '../utils';
2
+
3
+ .str-chat {
4
+ /* The text color used for the edit button */
5
+ --str-chat__message-bounce-edit-button-color: var(--str-chat__primary-color);
6
+
7
+ /* The text color used for the send button */
8
+ --str-chat__message-bounce-send-button-color: var(--str-chat__primary-color);
9
+
10
+ /* The text color used for the delete button */
11
+ --str-chat__message-bounce-delete-button-color: var(--str-chat__primary-color);
12
+
13
+ /* The background color of the button */
14
+ --str-chat__message-bounce-button-background-color: transparent;
15
+
16
+ /* Top border of the button */
17
+ --str-chat__message-bounce-button-border-block-start: none;
18
+
19
+ /* Bottom border of the button */
20
+ --str-chat__message-bounce-button-border-block-end: none;
21
+
22
+ /* Left (right in RTL layout) button of the component */
23
+ --str-chat__message-bounce-button-border-inline-start: none;
24
+
25
+ /* Right (left in RTL layout) button of the component */
26
+ --str-chat__message-bounce-button-border-inline-end: none;
27
+
28
+ /* Box shadow applied to the button */
29
+ --str-chat__message-bounce-button-box-shadow: none;
30
+ }
31
+
32
+ .str-chat__message-bounce-options {
33
+ .str-chat__message-bounce-edit,
34
+ .str-chat__message-bounce-send,
35
+ .str-chat__message-bounce-delete {
36
+ @include utils.component-layer-overrides('message-bounce-button');
37
+ font: var(--str-chat__body-medium-text);
38
+ }
39
+
40
+ .str-chat__message-bounce-edit {
41
+ color: var(--str-chat__message-bounce-edit-button-color);
42
+ }
43
+
44
+ .str-chat__message-bounce-send {
45
+ color: var(--str-chat__message-bounce-send-button-color);
46
+ }
47
+
48
+ .str-chat__message-bounce-delete {
49
+ color: var(--str-chat__message-bounce-delete-button-color);
50
+ }
51
+ }
@@ -4,6 +4,9 @@
4
4
  display: flex;
5
5
 
6
6
  .str-chat__message-reactions {
7
+ overflow-y: hidden;
8
+ overflow-x: auto;
9
+ scrollbar-width: none;
7
10
  list-style: none;
8
11
  display: flex;
9
12
  margin-block-start: var(--str-chat__spacing-0_5);
@@ -19,6 +22,8 @@
19
22
  align-items: center;
20
23
  padding: var(--str-chat__spacing-1_5);
21
24
  position: relative;
25
+ cursor: pointer;
26
+ flex-shrink: 0;
22
27
 
23
28
  button {
24
29
  @include utils.button-reset;
@@ -53,3 +58,72 @@
53
58
  justify-content: flex-start;
54
59
  }
55
60
  }
61
+
62
+ .str-chat__message-reactions-details-modal {
63
+ .str-chat__modal--open {
64
+ .str-chat__modal__inner {
65
+ height: 40%;
66
+ max-height: 80%;
67
+ min-width: 90%;
68
+ max-width: 90%;
69
+ width: 90%;
70
+ flex-basis: min-content;
71
+
72
+ @media only screen and (min-device-width: 768px) {
73
+ min-width: 40%;
74
+ max-width: 60%;
75
+ width: min-content;
76
+ }
77
+ }
78
+ }
79
+ }
80
+
81
+ .str-chat__message-reactions-details {
82
+ width: 100%;
83
+ display: flex;
84
+ flex-direction: column;
85
+ gap: var(--str-chat__spacing-4);
86
+ max-height: 100%;
87
+ height: 100%;
88
+ min-height: 0;
89
+
90
+ .str-chat__message-reactions-details-reaction-types {
91
+ display: flex;
92
+ max-width: 100%;
93
+ width: 100%;
94
+ min-width: 0;
95
+ overflow-x: auto;
96
+ gap: var(--str-chat__spacing-4);
97
+ display: flex;
98
+ align-items: center;
99
+ flex-shrink: 0;
100
+
101
+ .str-chat__message-reactions-details-reaction-type {
102
+ display: flex;
103
+ align-items: center;
104
+ padding: var(--str-chat__spacing-1) 0;
105
+ flex-shrink: 0;
106
+ cursor: pointer;
107
+ }
108
+ }
109
+
110
+ .str-chat__message-reaction-emoji-big {
111
+ align-self: center;
112
+ font-size: 2rem;
113
+ }
114
+
115
+ .str-chat__message-reactions-details-reacting-users {
116
+ display: flex;
117
+ flex-direction: column;
118
+ gap: var(--str-chat__spacing-3);
119
+ max-height: 100%;
120
+ overflow-y: auto;
121
+ min-height: 0;
122
+
123
+ .str-chat__message-reactions-details-reacting-user {
124
+ display: flex;
125
+ align-items: center;
126
+ gap: var(--str-chat__spacing-2);
127
+ }
128
+ }
129
+ }
@@ -56,6 +56,8 @@
56
56
  --str-chat__own-message-reaction-background-color: var(
57
57
  --str-chat__primary-surface-color-low-emphasis
58
58
  );
59
+
60
+ --str-chat__messsage-reactions-details--selected-color: solid var(--str-chat__primary-color);
59
61
  }
60
62
 
61
63
  .str-chat__message-reactions-container {
@@ -73,3 +75,18 @@
73
75
  }
74
76
  }
75
77
  }
78
+
79
+ .str-chat__message-reactions-details {
80
+ .str-chat__message-reactions-details-reaction-type {
81
+ border-block-end: solid transparent;
82
+ }
83
+
84
+ .str-chat__message-reactions-details-reaction-type--selected {
85
+ border-block-end: var(--str-chat__messsage-reactions-details--selected-color);
86
+ }
87
+
88
+
89
+ .str-chat__message-reactions-details-reacting-user {
90
+ font: var(--str-chat__subtitle-text);
91
+ }
92
+ }
@@ -9,30 +9,13 @@
9
9
  // Overriding styles of ngx-popperjs
10
10
  .ngxp__container {
11
11
  z-index: 1;
12
- margin: -8px !important;
13
12
  padding: 0 !important;
14
13
  box-shadow: none !important;
15
- border: none !important;
14
+ border-color: transparent !important;
16
15
 
17
16
  .ngxp__arrow {
18
- display: none !important;
19
- }
20
- }
21
-
22
- // Quick fix for: https://github.com/tonysamperi/ngx-popperjs/issues/52
23
- &.google-chrome {
24
- popper-content {
25
- .ngxp__container {
26
- display: block !important;
27
- position: absolute;
28
- right: 0;
29
- bottom: 0;
30
- opacity: 0;
31
-
32
- &[aria-hidden="true"] {
33
- visibility: hidden;
34
- }
35
- }
17
+ color: transparent;
18
+ width: 100%;
36
19
  }
37
20
  }
38
21
  }
@@ -24,6 +24,9 @@
24
24
  /* The font used for caption texts with emphasize */
25
25
  --str-chat__caption-medium-text: 500 0.75rem/1rem var(--str-chat__font-family);
26
26
 
27
+ /* The font used for caption texts with emphasize */
28
+ --str-chat__caption-strong-text: 700 0.75rem/1rem var(--str-chat__font-family);
29
+
27
30
  /* The font used for body texts */
28
31
  --str-chat__body-text: 0.875rem/1rem var(--str-chat__font-family);
29
32
 
@@ -20,6 +20,7 @@
20
20
  @use 'LoadingIndicator/LoadingIndicator-layout';
21
21
  @use 'Message/Message-layout';
22
22
  @use 'MessageActionsBox/MessageActionsBox-layout';
23
+ @use 'MessageBounceOptions/MessageBounceOptions-layout';
23
24
  @use 'MessageInput/MessageInput-layout';
24
25
  @use 'MessageList/MessageList-layout';
25
26
  @use 'MessageList/VirtualizedMessageList-layout';
@@ -22,6 +22,7 @@
22
22
  @use 'LoadingIndicator/LoadingIndicator-theme';
23
23
  @use 'Message/Message-theme';
24
24
  @use 'MessageActionsBox/MessageActionsBox-theme';
25
+ @use 'MessageBounceOptions/MessageBounceOptions-theme';
25
26
  @use 'MessageInput/MessageInput-theme';
26
27
  @use 'MessageList/MessageList-theme';
27
28
  @use 'MessageList/VirtualizedMessageList-theme';
@@ -34,4 +35,3 @@
34
35
  @use 'Thread/Thread-theme';
35
36
  @use 'Tooltip/Tooltip-theme';
36
37
  @use 'TypingIndicator/TypingIndicator-theme';
37
-
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const version = "11.4.0";
1
+ export declare const version = "11.5.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export var version = '11.4.0';
1
+ export var version = '11.5.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stream-chat-react",
3
- "version": "11.4.0",
3
+ "version": "11.5.0",
4
4
  "description": "React components to create chat conversations or livestream style chat",
5
5
  "author": "GetStream",
6
6
  "homepage": "https://getstream.io/chat/",
@@ -144,7 +144,7 @@
144
144
  "@semantic-release/changelog": "^6.0.2",
145
145
  "@semantic-release/git": "^10.0.1",
146
146
  "@stream-io/rollup-plugin-node-builtins": "^2.1.5",
147
- "@stream-io/stream-chat-css": "^4.2.0",
147
+ "@stream-io/stream-chat-css": "^4.6.1",
148
148
  "@testing-library/jest-dom": "^6.1.4",
149
149
  "@testing-library/react": "^13.1.1",
150
150
  "@testing-library/react-hooks": "^8.0.0",
@@ -219,7 +219,7 @@
219
219
  "rollup-plugin-url": "^3.0.1",
220
220
  "rollup-plugin-visualizer": "^4.2.0",
221
221
  "semantic-release": "^19.0.5",
222
- "stream-chat": "^8.13.1",
222
+ "stream-chat": "^8.15.0",
223
223
  "style-loader": "^2.0.0",
224
224
  "ts-jest": "^28.0.8",
225
225
  "typescript": "^4.7.4",