stream-chat-react 14.0.0-beta.4 → 14.0.0-beta.6

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 (69) hide show
  1. package/dist/cjs/{WithAudioPlayback.236d404c.js → WithAudioPlayback.f9abf707.js} +94 -116
  2. package/dist/cjs/WithAudioPlayback.f9abf707.js.map +1 -0
  3. package/dist/cjs/emojis.js +1 -1
  4. package/dist/cjs/index.js +161 -188
  5. package/dist/cjs/index.js.map +1 -1
  6. package/dist/css/index.css +219 -595
  7. package/dist/css/index.css.map +1 -1
  8. package/dist/es/{WithAudioPlayback.89700cb5.mjs → WithAudioPlayback.d90f1a99.mjs} +184 -206
  9. package/dist/es/WithAudioPlayback.d90f1a99.mjs.map +1 -0
  10. package/dist/es/emojis.mjs +1 -1
  11. package/dist/es/index.mjs +221 -248
  12. package/dist/es/index.mjs.map +1 -1
  13. package/dist/types/components/Avatar/Avatar.d.ts +1 -1
  14. package/dist/types/components/Avatar/Avatar.d.ts.map +1 -1
  15. package/dist/types/components/Avatar/AvatarStack.d.ts +2 -2
  16. package/dist/types/components/Avatar/AvatarStack.d.ts.map +1 -1
  17. package/dist/types/components/Avatar/ChannelAvatar.d.ts +2 -6
  18. package/dist/types/components/Avatar/ChannelAvatar.d.ts.map +1 -1
  19. package/dist/types/components/Avatar/GroupAvatar.d.ts +6 -7
  20. package/dist/types/components/Avatar/GroupAvatar.d.ts.map +1 -1
  21. package/dist/types/components/ChannelHeader/ChannelHeader.d.ts +1 -1
  22. package/dist/types/components/ChannelHeader/ChannelHeader.d.ts.map +1 -1
  23. package/dist/types/components/ChannelListItem/ChannelListItemUI.d.ts.map +1 -1
  24. package/dist/types/components/ChannelListItem/utils.d.ts.map +1 -1
  25. package/dist/types/components/Dialog/service/DialogPortal.d.ts.map +1 -1
  26. package/dist/types/components/Form/SwitchField.d.ts.map +1 -1
  27. package/dist/types/components/Icons/createIcon.d.ts +1 -1
  28. package/dist/types/components/Icons/createIcon.d.ts.map +1 -1
  29. package/dist/types/components/Icons/icons.d.ts +9 -41
  30. package/dist/types/components/Icons/icons.d.ts.map +1 -1
  31. package/dist/types/components/Icons/index.d.ts +0 -1
  32. package/dist/types/components/Icons/index.d.ts.map +1 -1
  33. package/dist/types/components/Message/Message.d.ts.map +1 -1
  34. package/dist/types/components/Message/hooks/useUserRole.d.ts.map +1 -1
  35. package/dist/types/components/Message/types.d.ts +1 -5
  36. package/dist/types/components/Message/types.d.ts.map +1 -1
  37. package/dist/types/components/MessageActions/MessageActions.defaults.d.ts.map +1 -1
  38. package/dist/types/components/MessageComposer/MessageComposerUI.d.ts.map +1 -1
  39. package/dist/types/components/MessageComposer/hooks/useSubmitHandler.d.ts.map +1 -1
  40. package/dist/types/components/MessageComposer/preEditSnapshot.d.ts +16 -0
  41. package/dist/types/components/MessageComposer/preEditSnapshot.d.ts.map +1 -0
  42. package/dist/types/components/MessageList/MessageList.d.ts +1 -1
  43. package/dist/types/components/MessageList/MessageList.d.ts.map +1 -1
  44. package/dist/types/components/MessageList/VirtualizedMessageList.d.ts +1 -1
  45. package/dist/types/components/MessageList/VirtualizedMessageList.d.ts.map +1 -1
  46. package/dist/types/components/MessageList/VirtualizedMessageListComponents.d.ts.map +1 -1
  47. package/dist/types/components/Reactions/MessageReactions.d.ts +4 -16
  48. package/dist/types/components/Reactions/MessageReactions.d.ts.map +1 -1
  49. package/dist/types/components/Reactions/MessageReactionsDetail.d.ts +4 -4
  50. package/dist/types/components/Reactions/MessageReactionsDetail.d.ts.map +1 -1
  51. package/dist/types/components/Reactions/hooks/useProcessReactions.d.ts +4 -2
  52. package/dist/types/components/Reactions/hooks/useProcessReactions.d.ts.map +1 -1
  53. package/dist/types/components/Reactions/types.d.ts +0 -1
  54. package/dist/types/components/Reactions/types.d.ts.map +1 -1
  55. package/dist/types/components/SummarizedMessagePreview/SummarizedMessagePreview.d.ts.map +1 -1
  56. package/dist/types/components/SummarizedMessagePreview/hooks/useLatestMessagePreview.d.ts.map +1 -1
  57. package/dist/types/components/Thread/ThreadHeader.d.ts +1 -1
  58. package/dist/types/components/Thread/ThreadHeader.d.ts.map +1 -1
  59. package/dist/types/components/TypingIndicator/TypingIndicator.d.ts.map +1 -1
  60. package/dist/types/context/ComponentContext.d.ts +2 -2
  61. package/dist/types/context/ComponentContext.d.ts.map +1 -1
  62. package/dist/types/context/MessageBounceContext.d.ts.map +1 -1
  63. package/dist/types/context/MessageContext.d.ts +1 -5
  64. package/dist/types/context/MessageContext.d.ts.map +1 -1
  65. package/package.json +1 -1
  66. package/dist/cjs/WithAudioPlayback.236d404c.js.map +0 -1
  67. package/dist/es/WithAudioPlayback.89700cb5.mjs.map +0 -1
  68. package/dist/types/components/Icons/IconGiphy.d.ts +0 -3
  69. package/dist/types/components/Icons/IconGiphy.d.ts.map +0 -1
@@ -19,65 +19,9 @@
19
19
  .str-chat {
20
20
  /* Used for elements where sizing is necessary (such as icons, avatar), you can use this variable to scale those elements */
21
21
  --str-chat__spacing-px: 1px;
22
- /* Used for margins and paddings */
23
- --str-chat__spacing-0_5: var(--space-2);
24
- /* Used for margins and paddings */
25
- --str-chat__spacing-1: var(--space-4);
26
- /* Used for margins and paddings */
27
- --str-chat__spacing-1_5: calc(var(--space-4) + var(--space-2));
28
- /* Used for margins and paddings */
29
- --str-chat__spacing-2: var(--space-8);
30
- /* Used for margins and paddings */
31
- --str-chat__spacing-2_5: calc(var(--space-8) + var(--space-2));
32
- /* Used for margins and paddings */
33
- --str-chat__spacing-3: calc(var(--space-8) + var(--space-4));
34
- /* Used for margins and paddings */
35
- --str-chat__spacing-3_5: calc(var(--space-12) + var(--space-2));
36
- /* Used for margins and paddings */
37
- --str-chat__spacing-4: var(--space-16);
38
- /* Used for margins and paddings */
39
- --str-chat__spacing-5: var(--space-20);
40
- /* Used for margins and paddings */
41
- --str-chat__spacing-6: var(--space-24);
42
- /* Used for margins and paddings */
43
- --str-chat__spacing-7: calc(var(--space-24) + var(--space-4));
44
- /* Used for margins and paddings */
45
- --str-chat__spacing-8: var(--space-32);
46
- /* Used for margins and paddings */
47
- --str-chat__spacing-9: calc(var(--space-32) + var(--space-4));
48
- /* Used for margins and paddings */
49
- --str-chat__spacing-10: var(--space-40);
50
- /* Used for margins and paddings */
51
- --str-chat__spacing-11: calc(var(--space-40) + var(--space-4));
52
- /* Used for margins and paddings */
53
- --str-chat__spacing-12: calc(var(--space-48));
54
- /* Used for margins and paddings */
55
- --str-chat__spacing-14: calc(var(--space-48) + var(--space-8));
56
- /* Used for margins and paddings */
57
- --str-chat__spacing-16: var(--space-64);
58
22
  }
59
23
 
60
24
  .str-chat {
61
- /* Border radius used for squared elements */
62
- --str-chat__border-radius-none: var(--radius-none);
63
- /* Border radius used for subtle rounding */
64
- --str-chat__border-radius-xxs: var(--radius-xxs);
65
- /* Border radius used for subtle rounding */
66
- --str-chat__border-radius-xs: var(--radius-xs);
67
- /* Border radius used for slightly rounded elements */
68
- --str-chat__border-radius-sm: var(--radius-sm);
69
- /* Border radius used for slightly rounded elements */
70
- --str-chat__border-radius-md: var(--radius-md);
71
- /* Border radius used for rounded elements */
72
- --str-chat__border-radius-lg: var(--radius-lg);
73
- /* Border radius used for rounded elements */
74
- --str-chat__border-radius-xl: var(--radius-xl);
75
- /* Border radius used for rounded elements */
76
- --str-chat__border-radius-2xl: var(--radius-2xl);
77
- /* Border radius used for rounded elements */
78
- --str-chat__border-radius-3xl: var(--radius-3xl);
79
- /* Border radius used for rounded elements */
80
- --str-chat__border-radius-4xl: var(--radius-4xl);
81
25
  /* Border radius used for circular elements */
82
26
  --str-chat__border-radius-circle: var(--radius-max);
83
27
  /* The font used in the chat, by default, we use [preinstalled OS fonts](https://systemfontstack.com/) */
@@ -91,10 +35,10 @@
91
35
  var(--typography-font-size-xs) / var(--typography-line-height-tight)
92
36
  var(--str-chat__font-family);
93
37
  --str-chat__caption-emphasis-text: normal var(--typography-font-weight-semi-bold)
94
- var(--typography-font-size-sm) / var(--typography-line-height-tight)
38
+ var(--typography-font-size-sm) / var(--typography-line-height-normal)
95
39
  var(--str-chat__font-family);
96
40
  --str-chat__caption-default-text: normal var(--typography-font-weight-regular)
97
- var(--typography-font-size-sm) / var(--typography-line-height-tight)
41
+ var(--typography-font-size-sm) / var(--typography-line-height-normal)
98
42
  var(--str-chat__font-family);
99
43
  --str-chat__body-emphasis-text: normal var(--typography-font-weight-semi-bold)
100
44
  var(--typography-font-size-md) / var(--typography-line-height-normal)
@@ -119,54 +63,18 @@
119
63
  --str-chat__numeric-xl-text: normal var(--typography-font-weight-bold)
120
64
  var(--typography-font-size-sm) / 100% var(--str-chat__font-family);
121
65
  color: var(--text-primary, #1a1b25);
122
- /* The font used for caption texts */
123
- --str-chat__caption-text: 0.75rem/1.3 var(--str-chat__font-family);
124
- /* The font used for caption texts with emphasize */
125
- --str-chat__caption-medium-text: 500 0.75rem/1.3 var(--str-chat__font-family);
126
- /* The font used for caption texts with emphasize */
127
- --str-chat__caption-strong-text: 700 0.75rem/1.3 var(--str-chat__font-family);
128
- /* The font used for body texts */
129
- --str-chat__body-text: 0.875rem/1.2 var(--str-chat__font-family);
130
- /* The font used for body texts with emphasize */
131
- --str-chat__body-medium-text: 500 0.875rem/1.2 var(--str-chat__font-family);
132
- /* The font used for body texts */
133
- --str-chat__body2-text: 0.9375rem/1.2 var(--str-chat__font-family);
134
- /* The font used for body texts with emphasize */
135
- --str-chat__body2-medium-text: 500 0.9375rem/1.2 var(--str-chat__font-family);
136
- /* The font used for subtitle texts */
137
- --str-chat__subtitle-text: 1rem/1.25 var(--str-chat__font-family);
138
- /* The font used for subtitle texts with emphasize */
139
- --str-chat__subtitle-medium-text: 500 1rem/1.25 var(--str-chat__font-family);
140
- /* The font used for subtitle texts */
141
- --str-chat__subtitle2-text: 1.25rem/1.2 var(--str-chat__font-family);
142
- /* The font used for subtitle texts with emphasize */
143
- --str-chat__subtitle2-medium-text: 500 1.25rem/1.2 var(--str-chat__font-family);
144
- /* The font used for headline texts */
145
- --str-chat__headline-text: 1.5rem/1.2 var(--str-chat__font-family);
146
- /* The font used for headline texts */
147
- --str-chat__headline2-text: 1.8rem/1.2 var(--str-chat__font-family);
148
66
  }
149
67
 
150
68
  .str-chat,
151
69
  .str-chat__theme-light {
152
70
  /* Used for emphasis, brands can inject their main color using this variable */
153
71
  --str-chat__primary-color: var(--accent-primary);
154
- /* Used for emphasised overlays - color of --str-chat__primary-color with alpha channel */
155
- --str-chat__primary-overlay-color: rgba(0, 95, 255, 0.6);
156
- /* Used for emphasis, brands can inject their main color using this variable, it has less emphasis than primary color */
157
- --str-chat__primary-color-low-emphasis: var(--str-chat__blue300);
158
- /* Used to indicate that a UI element with primary color is in an active state */
159
- --str-chat__active-primary-color: var(--str-chat__blue600);
160
72
  /* If the primary color is used as a background, text/icons are displayed in this color */
161
73
  --str-chat__on-primary-color: var(--str-chat__grey50);
162
74
  /* Used as a background color for the main chat UI components */
163
75
  --str-chat__background-color: var(--str-chat__grey50);
164
76
  /* Used as a background color for the main chat UI components */
165
77
  --str-chat__secondary-background-color: var(--str-chat__grey50);
166
- /* Used as a background color to give emphasis, but less vibrant than the primary color */
167
- --str-chat__primary-surface-color: var(--str-chat__blue100);
168
- /* Used as a background color to give emphasis, but less vibrant than the primary surface color */
169
- --str-chat__primary-surface-color-low-emphasis: var(--str-chat__blue50);
170
78
  /* A neutral color used to give emphasis to different surfaces */
171
79
  --str-chat__surface-color: var(--str-chat__grey300);
172
80
  /* A neutral color used to give emphasis to different surfaces */
@@ -179,8 +87,6 @@
179
87
  --str-chat__text-low-emphasis-color: var(--str-chat__grey500);
180
88
  /* Used for displaying disabled UI elements (typically buttons) */
181
89
  --str-chat__disabled-color: var(--str-chat__grey400);
182
- /* Used for text/icon colors if disabled color is used as a background color */
183
- --str-chat__on-disabled-color: var(--str-chat__grey50);
184
90
  /* Used for error messages, and destructive actions */
185
91
  --str-chat__danger-color: var(--str-chat__red400);
186
92
  /* The background color used to highlight a message when jumping to a message. Only available in React SDK. */
@@ -189,16 +95,10 @@
189
95
  --str-chat__unread-badge-color: var(--str-chat__red400);
190
96
  /* Used for text/icon colors if unread badge color is used as a background color */
191
97
  --str-chat__on-unread-badge-color: var(--str-chat__grey50);
192
- /* The background color used for overlays */
193
- --str-chat__overlay-color: rgba(252, 252, 252, 0.9);
194
98
  /* The background color used for subtle overlays */
195
99
  --str-chat__secondary-overlay-color: rgba(0, 0, 0, 0.2);
196
100
  /* The text/icon color used on subtle overlays */
197
101
  --str-chat__secondary-overlay-text-color: var(--str-chat__grey50);
198
- /* The background color used for opaque surfaces */
199
- --str-chat__opaque-surface-background-color: rgba(0, 0, 0, 0.8);
200
- /* The text color used on opaque surfaces */
201
- --str-chat__opaque-surface-text-color: var(--str-chat__grey50);
202
102
  /* If a component has a box shadow applied to it, this will be the color used for the shadow */
203
103
  --str-chat__box-shadow-color: rgba(0, 0, 0, 0.18);
204
104
  --str-chat__box-shadow-elevation-1:
@@ -210,46 +110,26 @@
210
110
 
211
111
  .str-chat__theme-dark {
212
112
  --str-chat__primary-color: var(--accent-primary);
213
- --str-chat__primary-overlay-color: rgba(51, 126, 255, 0.6);
214
- --str-chat__primary-color-low-emphasis: var(--str-chat__blue700);
215
- --str-chat__active-primary-color: var(--str-chat__blue600);
216
113
  --str-chat__on-primary-color: var(--str-chat__grey50);
217
114
  --str-chat__background-color: var(--str-chat__grey950);
218
115
  --str-chat__secondary-background-color: var(--str-chat__grey900);
219
- --str-chat__primary-surface-color: var(--str-chat__blue900);
220
- --str-chat__primary-surface-color-low-emphasis: var(--str-chat__blue950);
221
116
  --str-chat__surface-color: var(--str-chat__grey700);
222
117
  --str-chat__secondary-surface-color: var(--str-chat__grey800);
223
118
  --str-chat__tertiary-surface-color: var(--str-chat__grey900);
224
119
  --str-chat__text-color: var(--str-chat__grey50);
225
120
  --str-chat__text-low-emphasis-color: var(--str-chat__grey500);
226
121
  --str-chat__disabled-color: var(--str-chat__grey600);
227
- --str-chat__on-disabled-color: var(--str-chat__grey50);
228
122
  --str-chat__danger-color: var(--str-chat__red600);
229
123
  --str-chat__message-highlight-color: var(--str-chat__yellow900);
230
124
  --str-chat__unread-badge-color: var(--str-chat__red400);
231
125
  --str-chat__on-unread-badge-color: var(--str-chat__grey50);
232
- --str-chat__overlay-color: rgba(0, 0, 0, 0.7);
233
126
  --str-chat__secondary-overlay-color: rgba(0, 0, 0, 0.4);
234
127
  --str-chat__secondary-overlay-text-color: var(--str-chat__grey50);
235
- --str-chat__opaque-surface-background-color: rgba(250, 250, 250, 0.85);
236
- --str-chat__opaque-surface-text-color: var(--str-chat__grey900);
237
128
  --str-chat__box-shadow-color: rgba(0, 0, 0, 0.8);
238
129
  --str-chat__info-color: var(--str-chat__green500);
239
130
  }
240
131
 
241
132
  .str-chat {
242
- --str-chat__blue950: #001333;
243
- --str-chat__blue900: #00163d;
244
- --str-chat__blue800: #002666;
245
- --str-chat__blue700: #003999;
246
- --str-chat__blue600: #004ccc;
247
- --str-chat__blue500: #005fff;
248
- --str-chat__blue400: #337eff;
249
- --str-chat__blue300: #669fff;
250
- --str-chat__blue200: #ccdfff;
251
- --str-chat__blue100: #e0f0ff;
252
- --str-chat__blue50: #ebf5ff;
253
133
  --str-chat__grey950: #080707;
254
134
  --str-chat__grey900: #17191c;
255
135
  --str-chat__grey800: #1c1e22;
@@ -261,33 +141,10 @@
261
141
  --str-chat__grey200: #e9eaed;
262
142
  --str-chat__grey100: #f4f4f5;
263
143
  --str-chat__grey50: #ffffff;
264
- --str-chat__red900: #330003;
265
- --str-chat__red800: #660006;
266
- --str-chat__red700: #990008;
267
144
  --str-chat__red600: #cc000b;
268
- --str-chat__red500: #ff000e;
269
145
  --str-chat__red400: #ff3742;
270
- --str-chat__red300: #ff666e;
271
- --str-chat__red200: #ff999f;
272
- --str-chat__red100: #ffe5e7;
273
- --str-chat__green900: #062d16;
274
- --str-chat__green800: #0d592c;
275
- --str-chat__green700: #138643;
276
- --str-chat__green600: #19b359;
277
146
  --str-chat__green500: #20e070;
278
- --str-chat__green400: #4ce68c;
279
- --str-chat__green300: #79eca9;
280
- --str-chat__green200: #a6f2c6;
281
- --str-chat__green100: #e9f1ff;
282
147
  --str-chat__yellow900: #332500;
283
- --str-chat__yellow800: #664900;
284
- --str-chat__yellow700: #996e00;
285
- --str-chat__yellow600: #cc9200;
286
- --str-chat__yellow500: #ffb700;
287
- --str-chat__yellow400: #ffd466;
288
- --str-chat__yellow300: #ffe299;
289
- --str-chat__yellow200: #fff1cc;
290
- --str-chat__yellow100: #fff8e5;
291
148
  }
292
149
 
293
150
  /**
@@ -1103,6 +960,9 @@
1103
960
  height: 1em;
1104
961
  fill: currentColor;
1105
962
  }
963
+ [dir=rtl] .str-chat__icon[data-rtl-mirror] {
964
+ transform: scaleX(-1);
965
+ }
1106
966
 
1107
967
  .str-chat__icon--exclamation-mark {
1108
968
  stroke: currentColor;
@@ -1519,16 +1379,6 @@
1519
1379
  var(--background-core-surface-subtle)
1520
1380
  );
1521
1381
  --str-chat__switch-field-border-radius: var(--radius-md);
1522
- --str-chat__switch-field-title-font-size: var(--typography-font-size-sm, 14px);
1523
- --str-chat__switch-field-title-font-weight: var(--typography-font-weight-medium, 500);
1524
- --str-chat__switch-field-title-line-height: var(--typography-line-height-tight, 16px);
1525
- --str-chat__switch-field-title-color: var(--text-primary, #1a1b25);
1526
- --str-chat__switch-field-description-font-size: var(--typography-font-size-xs, 12px);
1527
- --str-chat__switch-field-description-font-weight: var(
1528
- --typography-font-weight-regular,
1529
- 400
1530
- );
1531
- --str-chat__switch-field-description-color: var(--text-tertiary, #687385);
1532
1382
  --str-chat__switch-field__track-off-bg: var(
1533
1383
  --control-toggle-switch-bg,
1534
1384
  var(--border-core-on-surface, #a3acba)
@@ -1574,29 +1424,6 @@
1574
1424
  min-width: 0;
1575
1425
  cursor: pointer;
1576
1426
  }
1577
- .str-chat .str-chat__form__switch-field__content {
1578
- display: flex;
1579
- flex-direction: column;
1580
- gap: var(--spacing-xxs, 4px);
1581
- min-width: 0;
1582
- }
1583
- .str-chat .str-chat__form__switch-field__title {
1584
- font-size: var(--str-chat__switch-field-title-font-size);
1585
- font-weight: var(--str-chat__switch-field-title-font-weight);
1586
- line-height: var(--str-chat__switch-field-title-line-height);
1587
- color: var(--str-chat__switch-field-title-color);
1588
- }
1589
- .str-chat .str-chat__form__switch-field__description {
1590
- font-size: var(--str-chat__switch-field-description-font-size);
1591
- font-weight: var(--str-chat__switch-field-description-font-weight);
1592
- line-height: var(--str-chat__switch-field-title-line-height);
1593
- color: var(--str-chat__switch-field-description-color);
1594
- }
1595
- .str-chat .str-chat__form__switch-field__expanded-content {
1596
- flex-shrink: 0;
1597
- display: flex;
1598
- align-items: center;
1599
- }
1600
1427
  .str-chat .str-chat__form__switch-field__switch {
1601
1428
  display: flex;
1602
1429
  align-items: center;
@@ -1750,7 +1577,7 @@
1750
1577
  align-items: center;
1751
1578
  justify-content: center;
1752
1579
  flex-shrink: 0;
1753
- margin-right: calc(-1 * var(--space-4));
1580
+ margin-inline-end: calc(-1 * var(--space-4));
1754
1581
  color: var(--input-text-icon);
1755
1582
  }
1756
1583
  .str-chat__form-text-input--error .str-chat__form-text-input__trailing {
@@ -1850,7 +1677,7 @@
1850
1677
  font: var(--str-chat__heading-sm-text);
1851
1678
  }
1852
1679
  .str-chat__alert-root .str-chat__alert-header .str-chat__alert-header__copy .str-chat__alert-header__description {
1853
- font: var(--str-chat__caption-default-tex);
1680
+ font: var(--str-chat__caption-default-text);
1854
1681
  }
1855
1682
  .str-chat__alert-root .str-chat__alert-actions {
1856
1683
  display: flex;
@@ -1872,7 +1699,7 @@
1872
1699
  }
1873
1700
  .str-chat__callout .str-chat__callout__close-button {
1874
1701
  position: absolute;
1875
- right: var(--spacing-xs);
1702
+ inset-inline-end: var(--spacing-xs);
1876
1703
  top: var(--spacing-xs);
1877
1704
  }
1878
1705
 
@@ -2102,7 +1929,7 @@
2102
1929
  overflow-x: clip;
2103
1930
  text-overflow: ellipsis;
2104
1931
  flex: auto;
2105
- text-align: left;
1932
+ text-align: start;
2106
1933
  color: var(--text-primary);
2107
1934
  white-space: nowrap;
2108
1935
  }
@@ -2189,6 +2016,10 @@
2189
2016
  height: var(--str-chat__dialog-overlay-height);
2190
2017
  width: 100%;
2191
2018
  z-index: 2;
2019
+ pointer-events: none;
2020
+ }
2021
+ .str-chat__dialog-overlay .str-chat__dialog-contents {
2022
+ pointer-events: auto;
2192
2023
  }
2193
2024
 
2194
2025
  .str-chat__prompt {
@@ -2217,7 +2048,7 @@
2217
2048
  color: var(--text-primary);
2218
2049
  }
2219
2050
  .str-chat__prompt .str-chat__prompt__header .str-chat__prompt__header__description {
2220
- font: var(--str-chat__body-text);
2051
+ font: var(--str-chat__caption-default-text);
2221
2052
  color: var(--text-secondary);
2222
2053
  }
2223
2054
  .str-chat__prompt .str-chat__prompt__header .str-chat__prompt__header__close-button {
@@ -2230,9 +2061,7 @@
2230
2061
  overflow-x: hidden;
2231
2062
  overflow-y: auto;
2232
2063
  overscroll-behavior: contain;
2233
- }
2234
- .str-chat__prompt .str-chat__prompt__body .str-chat__prompt__title {
2235
- margin-bottom: 1rem;
2064
+ scrollbar-gutter: stable;
2236
2065
  }
2237
2066
  .str-chat__prompt .str-chat__prompt__footer {
2238
2067
  display: flex;
@@ -2278,7 +2107,7 @@
2278
2107
  color: var(--text-primary);
2279
2108
  }
2280
2109
  .str-chat__viewer .str-chat__viewer__header .str-chat__viewer__header__description {
2281
- font: var(--str-chat__body-text);
2110
+ font: var(--str-chat__caption-default-text);
2282
2111
  color: var(--text-secondary);
2283
2112
  }
2284
2113
  .str-chat__viewer .str-chat__viewer__header .str-chat__viewer__header__go-back-button path {
@@ -2295,9 +2124,6 @@
2295
2124
  flex: 1;
2296
2125
  min-height: 0;
2297
2126
  }
2298
- .str-chat__viewer .str-chat__viewer__body .str-chat__viewer__title {
2299
- margin-bottom: 1rem;
2300
- }
2301
2127
  .str-chat__viewer .str-chat__viewer__footer {
2302
2128
  display: flex;
2303
2129
  align-items: center;
@@ -2347,12 +2173,13 @@
2347
2173
  width: 100%;
2348
2174
  height: 100%;
2349
2175
  z-index: 100;
2176
+ pointer-events: auto;
2350
2177
  background-color: var(--str-chat__modal-overlay-color);
2351
2178
  backdrop-filter: var(--str-chat__modal-overlay-backdrop-filter);
2352
2179
  }
2353
2180
  .str-chat__modal--open .str-chat__modal__overlay__close-button {
2354
2181
  position: absolute;
2355
- right: 10px;
2182
+ inset-inline-end: 10px;
2356
2183
  top: 10px;
2357
2184
  padding: var(--spacing-xs);
2358
2185
  color: var(--text-on-accent);
@@ -2373,9 +2200,9 @@
2373
2200
 
2374
2201
  .str-chat {
2375
2202
  /* The margin applied to every attachment in the attachment list */
2376
- --str-chat__attachment-margin: var(--str-chat__spacing-0_5);
2377
- /* The border radius used for the borders of the component */
2378
- --str-chat__attachment-list-border-radius: 0;
2203
+ --str-chat__attachment-margin: var(--space-2)
2204
+ /* The border radius used for the borders of the component */
2205
+ --str-chat__attachment-list-border-radius: 0;
2379
2206
  /* The text/icon color of the component */
2380
2207
  --str-chat__attachment-list-color: var(--str-chat__text-color);
2381
2208
  /* The background color of the component */
@@ -2615,13 +2442,13 @@
2615
2442
  }
2616
2443
  .str-chat__attachment-list .str-chat__gallery .str-chat__message-attachment--svg-image,
2617
2444
  .str-chat__attachment-list .str-chat__message-attachment--image.str-chat__message-attachment--svg-image {
2618
- padding: var(--str-chat__spacing-6);
2445
+ padding: var(--space-24);
2619
2446
  }
2620
2447
  .str-chat__attachment-list .str-chat__gallery .str-chat__message-attachment--svg-image img,
2621
2448
  .str-chat__attachment-list .str-chat__message-attachment--image.str-chat__message-attachment--svg-image img {
2622
2449
  object-fit: contain;
2623
- max-width: calc(var(--str-chat__attachment-max-width) - var(--str-chat__spacing-6));
2624
- max-height: calc(var(--str-chat__attachment-max-width) - var(--str-chat__spacing-6));
2450
+ max-width: calc(var(--str-chat__attachment-max-width) - var(--space-24));
2451
+ max-height: calc(var(--str-chat__attachment-max-width) - var(--space-24));
2625
2452
  }
2626
2453
  .str-chat__attachment-list .str-chat__message-attachment-unsupported {
2627
2454
  background: var(--str-chat__file-attachment-background-color);
@@ -2635,8 +2462,8 @@
2635
2462
  display: flex;
2636
2463
  align-items: center;
2637
2464
  justify-content: center;
2638
- padding: var(--str-chat__spacing-2);
2639
- column-gap: var(--str-chat__spacing-4);
2465
+ padding: var(--space-8);
2466
+ column-gap: var(--space-16);
2640
2467
  }
2641
2468
  .str-chat__attachment-list .str-chat__message-attachment-unsupported .str-chat__file-icon {
2642
2469
  width: calc(var(--str-chat__spacing-px) * 30);
@@ -2674,7 +2501,7 @@
2674
2501
  flex-direction: column;
2675
2502
  align-items: flex-start;
2676
2503
  justify-content: center;
2677
- row-gap: var(--str-chat__spacing-0_5);
2504
+ row-gap: var(--space-2);
2678
2505
  min-width: 0;
2679
2506
  line-height: var(--typography-line-height-tight);
2680
2507
  }
@@ -2690,7 +2517,7 @@
2690
2517
  display: flex;
2691
2518
  align-items: center;
2692
2519
  justify-content: space-between;
2693
- column-gap: var(--str-chat__spacing-2);
2520
+ column-gap: var(--space-8);
2694
2521
  font-weight: var(--typography-font-weight-semi-bold);
2695
2522
  font-size: var(--typography-font-size-sm);
2696
2523
  }
@@ -2762,27 +2589,10 @@
2762
2589
  text-decoration: none;
2763
2590
  color: var(--str-chat__voice-recording-attachment-widget-color);
2764
2591
  }
2765
- .str-chat__attachment-list .str-chat__message-attachment__voice-recording-widget .str-chat__message-attachment__voice-recording-widget__metadata .str-chat__message-attachment-voice-recording-widget--first-row {
2766
- overflow-y: visible;
2767
- overflow-x: hidden;
2768
- overflow-x: clip;
2769
- min-width: 0;
2770
- width: 100%;
2771
- display: flex;
2772
- align-items: center;
2773
- justify-content: space-between;
2774
- gap: var(--str-chat__spacing-1);
2775
- }
2776
2592
  .str-chat__attachment-list .str-chat__message-attachment__voice-recording-widget .str-chat__message-attachment__voice-recording-widget__metadata .str-chat__message-attachment-download-icon svg {
2777
2593
  width: calc(var(--str-chat__spacing-px) * 24);
2778
2594
  height: calc(var(--str-chat__spacing-px) * 16);
2779
2595
  }
2780
- .str-chat__attachment-list .str-chat__message-attachment__voice-recording-widget .str-chat__message-attachment__voice-recording-widget__metadata .str-chat__message-attachment__voice-recording-widget__error-message {
2781
- display: flex;
2782
- align-items: center;
2783
- justify-content: flex-start;
2784
- gap: var(--str-chat__spacing-1);
2785
- }
2786
2596
  .str-chat__attachment-list .str-chat__message-attachment__voice-recording-widget .str-chat__message-attachment__voice-recording-widget__timer {
2787
2597
  min-width: calc(var(--str-chat__spacing-px) * 40);
2788
2598
  width: calc(var(--str-chat__spacing-px) * 40);
@@ -2791,9 +2601,6 @@
2791
2601
  .str-chat__attachment-list .str-chat__message-attachment-download-icon {
2792
2602
  --str-chat-icon-height: calc(var(--str-chat__spacing-px) * 16);
2793
2603
  }
2794
- .str-chat__attachment-list .str-chat__attachment-type-icon {
2795
- --str-chat-icon-height: calc(var(--str-chat__spacing-px) * 37);
2796
- }
2797
2604
 
2798
2605
  .str-chat__message.str-chat__message--has-single-attachment.str-chat__message--has-no-text .str-chat__message-bubble {
2799
2606
  border: 1px solid var(--chat-border-incoming);
@@ -3102,7 +2909,7 @@
3102
2909
  }
3103
2910
  .str-chat__message-attachment-geolocation .str-chat__message-attachment-geolocation__status .str-chat__message-attachment-geolocation__status--active .str-chat__message-attachment-geolocation__status--active-until {
3104
2911
  text-transform: lowercase;
3105
- font: var(--str-chat__caption-text);
2912
+ font: var(--str-chat__metadata-emphasis-text);
3106
2913
  }
3107
2914
 
3108
2915
  .str-chat {
@@ -3117,11 +2924,11 @@
3117
2924
  justify-content: center;
3118
2925
  overflow: hidden;
3119
2926
  }
3120
- .str-chat__message-attachment-giphy img {
2927
+ .str-chat__message-attachment-giphy img.str-chat__base-image {
2928
+ height: min(var(--str-chat__attachment-max-width), min(var(--str-chat__attachment-max-width, 1000000) / var(--original-width, 1000000), 1px) * var(--original-height, 1000000));
3121
2929
  object-fit: contain;
3122
- max-height: 100%;
3123
- max-width: 100%;
3124
- height: 100%;
2930
+ max-height: var(--str-chat__attachment-max-width);
2931
+ max-width: var(--str-chat__attachment-max-width);
3125
2932
  width: 100%;
3126
2933
  cursor: default;
3127
2934
  }
@@ -3134,7 +2941,7 @@
3134
2941
  align-items: center;
3135
2942
  gap: var(--spacing-xxs, 4px);
3136
2943
  position: absolute;
3137
- left: 8px;
2944
+ inset-inline-start: 8px;
3138
2945
  bottom: 8px;
3139
2946
  border-radius: var(--radius-lg, 12px);
3140
2947
  background-color: var(--badge-bg-overlay, rgba(0, 0, 0, 0.75));
@@ -3296,7 +3103,7 @@
3296
3103
  grid-template-rows: 50% 50%;
3297
3104
  overflow: hidden;
3298
3105
  border-radius: var(--radius-lg);
3299
- gap: var(--str-chat__spacing-0_5);
3106
+ gap: var(--space-2);
3300
3107
  width: var(--str-chat__attachment-max-width);
3301
3108
  max-width: var(--str-chat__attachment-max-width);
3302
3109
  height: var(--str-chat__attachment-max-width);
@@ -3473,7 +3280,7 @@
3473
3280
  justify-content: center;
3474
3281
  align-items: center;
3475
3282
  gap: var(--spacing-xs);
3476
- min-width: 40px;
3283
+ min-width: 48px;
3477
3284
  min-height: 24px;
3478
3285
  max-height: 24px;
3479
3286
  padding: var(--button-padding-y-sm) var(--spacing-xs);
@@ -3518,7 +3325,12 @@
3518
3325
  flex: 1;
3519
3326
  min-width: 0;
3520
3327
  cursor: pointer;
3521
- background: linear-gradient(to right, var(--str-chat__primary-color) var(--str-chat__message-attachment-audio-widget-progress), var(--str-chat__disabled-color) var(--str-chat__message-attachment-audio-widget-progress));
3328
+ background: linear-gradient(to var(--str-chat__progress-direction, right), var(--str-chat__primary-color) var(--str-chat__message-attachment-audio-widget-progress), var(--str-chat__disabled-color) var(--str-chat__message-attachment-audio-widget-progress));
3329
+ }
3330
+ [dir=rtl] .str-chat .str-chat__message-attachment-audio-widget--progress-track {
3331
+ --str-chat__progress-direction: left;
3332
+ }
3333
+ .str-chat .str-chat__message-attachment-audio-widget--progress-track {
3522
3334
  border-radius: calc(var(--str-chat__spacing-px) * 5);
3523
3335
  }
3524
3336
  .str-chat .str-chat__message-attachment-audio-widget--progress-track .str-chat__message-attachment-audio-widget--progress-indicator {
@@ -3564,7 +3376,7 @@
3564
3376
  }
3565
3377
  .str-chat .str-chat__wave-progress-bar__track .str-chat__wave-progress-bar__progress-indicator {
3566
3378
  position: absolute;
3567
- left: 0;
3379
+ inset-inline-start: 0;
3568
3380
  border: 2px solid var(--base-white);
3569
3381
  box-shadow: var(--light-elevation-3);
3570
3382
  background: var(--accent-neutral);
@@ -3609,7 +3421,7 @@
3609
3421
  width: 100%;
3610
3422
  height: 100%;
3611
3423
  }
3612
- .str-chat__avatar .str-chat__icon--person {
3424
+ .str-chat__avatar .str-chat__icon {
3613
3425
  width: var(--avatar-icon-size);
3614
3426
  height: var(--avatar-icon-size);
3615
3427
  stroke-width: var(--avatar-icon-stroke-width);
@@ -3637,7 +3449,7 @@
3637
3449
  width: var(--avatar-status-badge-size);
3638
3450
  height: var(--avatar-status-badge-size);
3639
3451
  z-index: 1;
3640
- left: calc(var(--avatar-size) / 2 + var(--avatar-size) / 2 * cos(var(--avatar-status-badge-angle)) - var(--avatar-status-badge-size) / 2);
3452
+ inset-inline-start: calc(var(--avatar-size) / 2 + var(--avatar-size) / 2 * cos(var(--avatar-status-badge-angle)) - var(--avatar-status-badge-size) / 2);
3641
3453
  top: calc(var(--avatar-size) / 2 + var(--avatar-size) / 2 * sin(var(--avatar-status-badge-angle)) - var(--avatar-status-badge-size) / 2);
3642
3454
  border-radius: var(--radius-max, 9999px);
3643
3455
  border-style: solid;
@@ -3708,15 +3520,15 @@
3708
3520
  }
3709
3521
  .str-chat__avatar-stack.str-chat__avatar-stack--size-xs > .str-chat__avatar:not(:first-child),
3710
3522
  .str-chat__avatar-stack.str-chat__avatar-stack--size-xs .str-chat__avatar-stack__count-badge {
3711
- margin-left: calc(var(--spacing-xs) * -1);
3523
+ margin-inline-start: calc(var(--spacing-xs) * -1);
3712
3524
  }
3713
3525
  .str-chat__avatar-stack.str-chat__avatar-stack--size-sm > .str-chat__avatar:not(:first-child),
3714
3526
  .str-chat__avatar-stack.str-chat__avatar-stack--size-sm .str-chat__avatar-stack__count-badge {
3715
- margin-left: calc(var(--spacing-sm) * -1);
3527
+ margin-inline-start: calc(var(--spacing-sm) * -1);
3716
3528
  }
3717
3529
  .str-chat__avatar-stack.str-chat__avatar-stack--size-md > .str-chat__avatar:not(:first-child),
3718
3530
  .str-chat__avatar-stack.str-chat__avatar-stack--size-md .str-chat__avatar-stack__count-badge {
3719
- margin-left: calc(var(--spacing-sm) * -1);
3531
+ margin-inline-start: calc(var(--spacing-sm) * -1);
3720
3532
  }
3721
3533
 
3722
3534
  .str-chat__avatar-group {
@@ -3762,7 +3574,7 @@
3762
3574
  position: absolute;
3763
3575
  width: var(--avatar-group-online-badge-size);
3764
3576
  height: var(--avatar-group-online-badge-size);
3765
- right: -2px;
3577
+ inset-inline-end: -2px;
3766
3578
  top: -2px;
3767
3579
  border-radius: var(--radius-max, 9999px);
3768
3580
  border-style: solid;
@@ -3794,27 +3606,27 @@
3794
3606
  }
3795
3607
  .str-chat__avatar-group:has(> :last-child:nth-child(4)) > :nth-child(1) {
3796
3608
  top: 0;
3797
- left: 0;
3609
+ inset-inline-start: 0;
3798
3610
  }
3799
3611
  .str-chat__avatar-group:has(> :last-child:nth-child(4)) > :nth-child(2) {
3800
3612
  top: 0;
3801
- right: 0;
3613
+ inset-inline-end: 0;
3802
3614
  }
3803
3615
  .str-chat__avatar-group:has(> :last-child:nth-child(4)) > :nth-child(3) {
3804
3616
  bottom: 0;
3805
- left: 0;
3617
+ inset-inline-start: 0;
3806
3618
  }
3807
3619
  .str-chat__avatar-group:has(> :last-child:nth-child(4)) > :last-child {
3808
3620
  bottom: 0;
3809
- right: 0;
3621
+ inset-inline-end: 0;
3810
3622
  }
3811
3623
  .str-chat__avatar-group:has(> :last-child:nth-child(3)):has(> .str-chat__avatar-group__count-badge) > :nth-child(1) {
3812
3624
  top: 0;
3813
- left: 0;
3625
+ inset-inline-start: 0;
3814
3626
  }
3815
3627
  .str-chat__avatar-group:has(> :last-child:nth-child(3)):has(> .str-chat__avatar-group__count-badge) > :nth-child(2) {
3816
3628
  top: 0;
3817
- right: 0;
3629
+ inset-inline-end: 0;
3818
3630
  }
3819
3631
  .str-chat__avatar-group:has(> :last-child:nth-child(3)):has(> .str-chat__avatar-group__count-badge) > :last-child {
3820
3632
  bottom: 0;
@@ -3824,25 +3636,26 @@
3824
3636
  }
3825
3637
  .str-chat__avatar-group:has(> :last-child:nth-child(3)):not(:has(> .str-chat__avatar-group__count-badge)) > :nth-child(2) {
3826
3638
  bottom: 0;
3827
- left: 0;
3639
+ inset-inline-start: 0;
3828
3640
  }
3829
3641
  .str-chat__avatar-group:has(> :last-child:nth-child(3)):not(:has(> .str-chat__avatar-group__count-badge)) > :last-child {
3830
3642
  bottom: 0;
3831
- right: 0;
3643
+ inset-inline-end: 0;
3832
3644
  }
3833
3645
  .str-chat__avatar-group:has(> :last-child:nth-child(2)) > :nth-child(1) {
3834
3646
  top: 0;
3835
- left: 0;
3647
+ inset-inline-start: 0;
3836
3648
  }
3837
3649
  .str-chat__avatar-group:has(> :last-child:nth-child(2)) > :last-child {
3838
3650
  bottom: 0;
3839
- right: 0;
3651
+ inset-inline-end: 0;
3840
3652
  }
3841
3653
 
3842
3654
  .str-chat__channel {
3843
3655
  height: 100%;
3844
3656
  display: flex;
3845
3657
  flex-direction: column;
3658
+ min-height: 0;
3846
3659
  position: relative;
3847
3660
  }
3848
3661
  .str-chat__channel .str-chat__container {
@@ -4004,8 +3817,6 @@
4004
3817
  --str-chat__channel-border-inline-start: none;
4005
3818
  /* Right (left in RTL layout) border of the component */
4006
3819
  --str-chat__channel-border-inline-end: none;
4007
- /* The icon color used when no channel is selected */
4008
- --str-chat__channel-empty-indicator-color: var(--str-chat__disabled-color);
4009
3820
  /* The base surface color behind the loading shimmer */
4010
3821
  --str-chat__channel-loading-state-color: var(--background-core-surface);
4011
3822
  }
@@ -4120,11 +3931,15 @@
4120
3931
  border-inline-end: var(--str-chat__channel-header-border-inline-end);
4121
3932
  display: flex;
4122
3933
  align-items: center;
3934
+ width: 100%;
4123
3935
  padding: var(--spacing-md);
4124
3936
  gap: var(--spacing-sm);
4125
3937
  height: var(--str-chat__channel-header-height);
4126
3938
  min-width: 0;
3939
+ }
3940
+ .str-chat__channel-header .str-chat__channel-header__start {
4127
3941
  flex: 1;
3942
+ display: flex;
4128
3943
  }
4129
3944
  .str-chat__channel-header .str-chat__channel-header__data {
4130
3945
  display: flex;
@@ -4132,9 +3947,14 @@
4132
3947
  align-items: center;
4133
3948
  overflow-y: hidden;
4134
3949
  overflow-x: hidden;
4135
- flex: 1;
3950
+ max-width: 100%;
4136
3951
  row-gap: var(--spacing-xxs);
4137
3952
  }
3953
+ .str-chat__channel-header .str-chat__channel-header__end {
3954
+ flex: 1;
3955
+ display: flex;
3956
+ justify-content: flex-end;
3957
+ }
4138
3958
  .str-chat__channel-header .str-chat__channel-header__data__title,
4139
3959
  .str-chat__channel-header .str-chat__channel-header__data__subtitle {
4140
3960
  white-space: nowrap;
@@ -4229,6 +4049,7 @@
4229
4049
  flex-direction: column;
4230
4050
  height: 100%;
4231
4051
  max-width: 100%;
4052
+ position: relative;
4232
4053
  min-width: 280px;
4233
4054
  opacity: 1;
4234
4055
  transform: translateX(0);
@@ -4237,6 +4058,7 @@
4237
4058
  overflow-x: hidden;
4238
4059
  overflow-y: auto;
4239
4060
  overscroll-behavior: contain;
4061
+ scrollbar-gutter: stable;
4240
4062
  background: var(--str-chat__channel-list-background-color);
4241
4063
  color: var(--str-chat__channel-list-color);
4242
4064
  box-shadow: var(--str-chat__channel-list-box-shadow);
@@ -4249,7 +4071,7 @@
4249
4071
  .str-chat__channel-list .str-chat__channel-list-inner {
4250
4072
  height: 100%;
4251
4073
  overflow: hidden;
4252
- padding-bottom: var(--str-chat__spacing-2_5);
4074
+ padding-bottom: calc(var(--space-8) + var(--space-2));
4253
4075
  }
4254
4076
  .str-chat__channel-list .str-chat__channel-list-inner .str-chat__channel-list-inner__main {
4255
4077
  height: 100%;
@@ -4261,7 +4083,7 @@
4261
4083
  flex-direction: column;
4262
4084
  align-items: center;
4263
4085
  justify-content: center;
4264
- padding: var(--str-chat__spacing-3);
4086
+ padding: calc(var(--space-8) + var(--space-4));
4265
4087
  }
4266
4088
  .str-chat__channel-list .str-chat__channel-list-inner .str-chat__channel-list-inner__main .str-chat__channel-list-empty p {
4267
4089
  color: var(--text-secondary);
@@ -4270,16 +4092,13 @@
4270
4092
  .str-chat__channel-list .str-chat__load-more-button {
4271
4093
  display: flex;
4272
4094
  justify-content: center;
4273
- margin: var(--str-chat__spacing-2) 0;
4095
+ margin: var(--space-8) 0;
4274
4096
  }
4275
4097
  .str-chat__channel-list .str-chat__load-more-button .str-chat__load-more-button__button {
4276
4098
  display: flex;
4277
4099
  align-items: center;
4278
4100
  justify-content: center;
4279
4101
  }
4280
- .str-chat__channel-list .stream-chat__paginated-list {
4281
- gap: 0;
4282
- }
4283
4102
  .str-chat__channel-list .str-chat__load-more-button__button {
4284
4103
  background: var(--str-chat__channel-list-load-more-background-color);
4285
4104
  color: var(--str-chat__channel-list-load-more-color);
@@ -4411,7 +4230,7 @@
4411
4230
  border-radius: var(--radius-md, 8px);
4412
4231
  background: var(--background-core-elevation-3, #fff);
4413
4232
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 2px 4px 0 rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.06);
4414
- right: 10px;
4233
+ inset-inline-end: 10px;
4415
4234
  top: 10px;
4416
4235
  padding: var(--spacing-xxs);
4417
4236
  }
@@ -4521,6 +4340,7 @@
4521
4340
  display: flex;
4522
4341
  width: 100%;
4523
4342
  height: 100%;
4343
+ min-height: 0;
4524
4344
  position: relative;
4525
4345
  }
4526
4346
  .str-chat__chat-view .str-chat__chat-view__selector {
@@ -4528,7 +4348,7 @@
4528
4348
  flex-direction: column;
4529
4349
  padding: var(--spacing-md);
4530
4350
  gap: var(--spacing-xs);
4531
- border-right: 1px solid var(--str-chat-selector-border-color);
4351
+ border-inline-end: 1px solid var(--str-chat-selector-border-color);
4532
4352
  background-color: var(--str-chat-selector-background-color);
4533
4353
  /* Mobile: hide when nav closed, show when nav open. */
4534
4354
  }
@@ -4605,7 +4425,7 @@
4605
4425
  align-items: center;
4606
4426
  }
4607
4427
  .str-chat__chat-view .str-chat__chat-view__selector .str-chat__chat-view__selector-button-tooltip {
4608
- left: calc(100% + 8px);
4428
+ inset-inline-start: calc(100% + 8px);
4609
4429
  opacity: 0;
4610
4430
  pointer-events: none;
4611
4431
  position: absolute;
@@ -4620,6 +4440,7 @@
4620
4440
  display: flex;
4621
4441
  flex-grow: 1;
4622
4442
  min-width: 0;
4443
+ min-height: 0;
4623
4444
  position: relative;
4624
4445
  }
4625
4446
  .str-chat__chat-view .str-chat__chat-view__threads {
@@ -4730,11 +4551,6 @@
4730
4551
  border-top: var(--str-chat__drag-and-drop-container-on-dragover-border-block-start);
4731
4552
  }
4732
4553
 
4733
- .str-chat {
4734
- /* The text color used when no channel is selected */
4735
- --str-chat__channel-empty-color: var(--text-secondary);
4736
- }
4737
-
4738
4554
  .str-chat__empty-channel {
4739
4555
  --str-chat-icon-color: var(--text-tertiary);
4740
4556
  display: flex;
@@ -4762,10 +4578,6 @@
4762
4578
  height: 32px;
4763
4579
  color: var(--str-chat-icon-color);
4764
4580
  }
4765
- .str-chat__empty-channel .str-chat__empty-channel-notifications {
4766
- position: absolute;
4767
- inset-block-end: var(--str-chat__spacing-2);
4768
- }
4769
4581
  .str-chat__empty-channel .str-chat__empty-channel-text {
4770
4582
  margin: 0;
4771
4583
  max-width: 230px;
@@ -5006,10 +4818,10 @@
5006
4818
  pointer-events: none;
5007
4819
  }
5008
4820
  .str-chat .str-chat__gallery__nav-button--prev {
5009
- left: var(--spacing-sm);
4821
+ inset-inline-start: var(--spacing-sm);
5010
4822
  }
5011
4823
  .str-chat .str-chat__gallery__nav-button--next {
5012
- right: var(--spacing-sm);
4824
+ inset-inline-end: var(--spacing-sm);
5013
4825
  }
5014
4826
  .str-chat .str-chat__gallery__position-indicator {
5015
4827
  position: absolute;
@@ -5235,7 +5047,7 @@
5235
5047
  align-items: center;
5236
5048
  gap: var(--spacing-md);
5237
5049
  padding: var(--spacing-xs);
5238
- padding-left: var(--spacing-sm);
5050
+ padding-inline-start: var(--spacing-sm);
5239
5051
  }
5240
5052
  .str-chat__audio_recorder .str-chat__audio-recorder__recording-playback .str-chat__recording-timer,
5241
5053
  .str-chat__audio_recorder .str-chat__audio-recorder__recording-preview .str-chat__recording-timer {
@@ -5309,12 +5121,6 @@
5309
5121
  width: auto;
5310
5122
  min-width: 0;
5311
5123
  }
5312
- .str-chat__audio_recorder .str-chat__wave-progress-bar__track-container {
5313
- max-width: 500px;
5314
- }
5315
- .str-chat__audio_recorder .str-chat__waveform-box-container {
5316
- max-width: 520px;
5317
- }
5318
5124
  .str-chat__audio_recorder .str-chat__wave-progress-bar__track {
5319
5125
  display: flex;
5320
5126
  min-width: 0;
@@ -5346,11 +5152,8 @@
5346
5152
  --str-chat__message-options-button-size: calc(var(--str-chat__spacing-px) * 26);
5347
5153
  --str-chat__message-border-radius: 0;
5348
5154
  --str-chat__message-color: var(--str-chat__text-color);
5349
- --str-chat__message-error-message-color: var(--str-chat__danger-color);
5350
- --str-chat__message-secondary-color: var(--str-chat__text-low-emphasis-color);
5351
5155
  --str-chat__message-link-color: var(--chat-text-link);
5352
5156
  --str-chat__message-mention-color: var(--str-chat__primary-color);
5353
- --str-chat__message-replies-count-color: var(--str-chat__primary-color);
5354
5157
  --str-chat__message-background-color: transparent;
5355
5158
  --str-chat__message-highlighted-background-color: var(
5356
5159
  --str-chat__message-highlight-color
@@ -5377,7 +5180,7 @@
5377
5180
  --str-chat__message-bubble-border-inline-start: none;
5378
5181
  --str-chat__message-bubble-border-inline-end: none;
5379
5182
  --str-chat__message-bubble-box-shadow: none;
5380
- --str-chat__blocked-message-border-radius: var(--str-chat__border-radius-md);
5183
+ --str-chat__blocked-message-border-radius: var(--radius-md);
5381
5184
  --str-chat__blocked-message-color: var(--str-chat__text-low-emphasis-color);
5382
5185
  --str-chat__blocked-message-background-color: var(--str-chat__secondary-surface-color);
5383
5186
  --str-chat__blocked-message-border-block-start: none;
@@ -5385,10 +5188,6 @@
5385
5188
  --str-chat__blocked-message-border-inline-start: none;
5386
5189
  --str-chat__blocked-message-border-inline-end: none;
5387
5190
  --str-chat__blocked-message-box-shadow: none;
5388
- --str-chat__translation-notice-color: var(--str-chat__text-low-emphasis-color);
5389
- --str-chat__translation-notice-active-background-color: var(
5390
- --str-chat__tertiary-surface-color
5391
- );
5392
5191
  --str-chat__message-reactions-host-offset-x: calc(var(--spacing-xs) * -1);
5393
5192
  /* Background color for pinned messages (Figma: background/core/highlight) */
5394
5193
  --str-chat__message-pinned-background-color: var(--background-core-highlight);
@@ -5421,11 +5220,6 @@
5421
5220
  --str-chat-message-options-size: calc(3 * var(--str-chat__message-options-button-size));
5422
5221
  padding-inline: var(--str-chat__message-composer-padding);
5423
5222
  }
5424
- .str-chat__message.str-chat__message-without-touch-support {
5425
- --str-chat-message-options-size: calc(
5426
- 1 * var(--str-chat__message-options-button-size)
5427
- );
5428
- }
5429
5223
  .str-chat__message .str-chat__message-bubble {
5430
5224
  max-width: var(--str-chat__message-max-width);
5431
5225
  display: flex;
@@ -5482,7 +5276,7 @@
5482
5276
 
5483
5277
  .str-chat__message-mention {
5484
5278
  color: var(--str-chat__message-mention-color);
5485
- font: var(--str-chat__body2-medium-text);
5279
+ font: var(--str-chat__body-emphasis-text);
5486
5280
  }
5487
5281
 
5488
5282
  .str-chat__message {
@@ -5518,7 +5312,7 @@
5518
5312
  justify-content: flex-end;
5519
5313
  }
5520
5314
  .str-chat__message.str-chat__message--other {
5521
- column-gap: var(--str-chat__spacing-2);
5315
+ column-gap: var(--space-8);
5522
5316
  justify-items: flex-start;
5523
5317
  }
5524
5318
  .str-chat__message.str-chat__message--other.str-chat__message--with-avatar {
@@ -5539,7 +5333,7 @@
5539
5333
  padding-inline-start: calc(var(--str-chat__message-reactions-host-offset-x) * -1);
5540
5334
  }
5541
5335
  .str-chat__message.str-chat__message--other .str-chat__message-inner .str-chat__message-reactions-host:has(.str-chat__message-reactions--top):has(.str-chat__message-reactions--flipped-horizontally) {
5542
- margin-right: var(--str-chat__message-reactions-host-offset-x);
5336
+ margin-inline-end: var(--str-chat__message-reactions-host-offset-x);
5543
5337
  }
5544
5338
  .str-chat__message.str-chat__message--other .str-chat__message-inner .str-chat__message-reactions-host .str-chat__message-reactions.str-chat__message-reactions--segmented.str-chat__message-reactions--bottom > .str-chat__message-reactions__list {
5545
5339
  justify-content: flex-start;
@@ -5554,7 +5348,7 @@
5554
5348
  grid-template-columns: 1fr auto;
5555
5349
  }
5556
5350
  .str-chat__message.str-chat__message--me {
5557
- column-gap: var(--str-chat__spacing-2);
5351
+ column-gap: var(--space-8);
5558
5352
  justify-items: flex-end;
5559
5353
  }
5560
5354
  .str-chat__message.str-chat__message--me.str-chat__message--with-avatar {
@@ -5575,7 +5369,7 @@
5575
5369
  padding-inline-end: calc(var(--str-chat__message-reactions-host-offset-x) * -1);
5576
5370
  }
5577
5371
  .str-chat__message.str-chat__message--me .str-chat__message-inner .str-chat__message-reactions-host:has(.str-chat__message-reactions--top):has(.str-chat__message-reactions--flipped-horizontally) {
5578
- margin-left: var(--str-chat__message-reactions-host-offset-x);
5372
+ margin-inline-start: var(--str-chat__message-reactions-host-offset-x);
5579
5373
  }
5580
5374
  .str-chat__message.str-chat__message--me .str-chat__message-inner .str-chat__message-reactions-host .str-chat__message-reactions.str-chat__message-reactions--segmented.str-chat__message-reactions--bottom > .str-chat__message-reactions__list {
5581
5375
  justify-content: flex-end;
@@ -5600,7 +5394,7 @@
5600
5394
  display: grid;
5601
5395
  grid-template-areas: "reactions ." "message-bubble options" "replies replies";
5602
5396
  grid-template-columns: auto 1fr;
5603
- column-gap: var(--str-chat__spacing-2);
5397
+ column-gap: var(--space-8);
5604
5398
  position: relative;
5605
5399
  }
5606
5400
  .str-chat__message .str-chat__message-inner .str-chat__message-reactions-host {
@@ -5657,27 +5451,6 @@
5657
5451
  .str-chat__message.str-chat__message--me .str-chat__message-inner:has(.str-chat__message-reactions--bottom) {
5658
5452
  grid-template-areas: "reminder reminder" "options message-bubble" "replies replies" ". reactions";
5659
5453
  }
5660
- .str-chat__message .str-chat__translation-notice {
5661
- grid-area: translation-notice;
5662
- }
5663
- .str-chat__message .str-chat__translation-notice button {
5664
- cursor: pointer;
5665
- padding: 0.25rem 0;
5666
- margin: 0;
5667
- font: var(--str-chat__body2-text);
5668
- color: var(--str-chat__translation-notice-color);
5669
- border: none;
5670
- background: none;
5671
- }
5672
- .str-chat__message .str-chat__translation-notice button:active, .str-chat__message .str-chat__translation-notice button:hover {
5673
- background: var(--str-chat__translation-notice-active-background-color);
5674
- }
5675
- .str-chat__message .str-chat__custom-message-metadata {
5676
- grid-area: custom-metadata;
5677
- height: var(--size-24);
5678
- margin-block-start: var(--spacing-xxs);
5679
- color: var(--str-chat__message-secondary-color);
5680
- }
5681
5454
  .str-chat__message .str-chat__message-metadata {
5682
5455
  grid-area: metadata;
5683
5456
  display: flex;
@@ -5693,18 +5466,12 @@
5693
5466
  overflow-y: hidden;
5694
5467
  margin-inline-end: var(--spacing-xxs);
5695
5468
  }
5696
- .str-chat__message .str-chat__message-metadata .str-chat__message-sender-name {
5697
- font: var(--str-chat__caption-medium-text);
5698
- }
5699
5469
  .str-chat__message .str-chat__message-metadata .str-chat__message-edited-indicator {
5700
- margin-left: var(--spacing-xs);
5470
+ margin-inline-start: var(--spacing-xs);
5701
5471
  }
5702
5472
  .str-chat__message.str-chat__message--me .str-chat__message-metadata {
5703
5473
  justify-content: flex-end;
5704
- text-align: right;
5705
- }
5706
- .str-chat__message .str-chat__message-is-thread-reply-button-wrapper {
5707
- grid-area: replies;
5474
+ text-align: end;
5708
5475
  }
5709
5476
  .str-chat__message .str-chat__message--blocked-inner {
5710
5477
  padding-inline: var(--spacing-sm);
@@ -5723,11 +5490,6 @@
5723
5490
  border-inline-start: var(--str-chat__blocked-message-border-inline-start);
5724
5491
  border-inline-end: var(--str-chat__blocked-message-border-inline-end);
5725
5492
  padding-block: var(--spacing-xs);
5726
- font: var(--str-chat__body2-text);
5727
- }
5728
- .str-chat__message .str-chat__emoji-display-fix {
5729
- display: inline-block;
5730
- width: 1.25em;
5731
5493
  }
5732
5494
  .str-chat__message .str-chat__message-error-indicator {
5733
5495
  display: none;
@@ -5771,103 +5533,32 @@
5771
5533
  background-color: var(--str-chat__message-active-background-color);
5772
5534
  }
5773
5535
  }
5774
- .str-chat__ul:not(.str-chat__message-options-in-bubble,
5775
- .str-chat__message-with-touch-support),
5776
- .str-chat__virtual-list:not(.str-chat__message-options-in-bubble,
5777
- .str-chat__message-with-touch-support) {
5536
+ .str-chat__ul,
5537
+ .str-chat__virtual-list {
5778
5538
  /* This rule won't be applied in browsers that don't support :has() */
5779
5539
  }
5780
- .str-chat__ul:not(.str-chat__message-options-in-bubble,
5781
- .str-chat__message-with-touch-support) .str-chat__li:hover:not(:has(.str-chat__modal--open)) .str-chat__message-options,
5782
- .str-chat__ul:not(.str-chat__message-options-in-bubble,
5783
- .str-chat__message-with-touch-support) .str-chat__li:focus-within:not(:has(.str-chat__modal--open)) .str-chat__message-options,
5784
- .str-chat__ul:not(.str-chat__message-options-in-bubble,
5785
- .str-chat__message-with-touch-support) .str-chat__li:has(.str-chat__message-options--active) .str-chat__message-options,
5786
- .str-chat__virtual-list:not(.str-chat__message-options-in-bubble,
5787
- .str-chat__message-with-touch-support) .str-chat__li:hover:not(:has(.str-chat__modal--open)) .str-chat__message-options,
5788
- .str-chat__virtual-list:not(.str-chat__message-options-in-bubble,
5789
- .str-chat__message-with-touch-support) .str-chat__li:focus-within:not(:has(.str-chat__modal--open)) .str-chat__message-options,
5790
- .str-chat__virtual-list:not(.str-chat__message-options-in-bubble,
5791
- .str-chat__message-with-touch-support) .str-chat__li:has(.str-chat__message-options--active) .str-chat__message-options {
5792
- display: flex;
5793
- }
5794
- .str-chat__ul:not(.str-chat__message-options-in-bubble,
5795
- .str-chat__message-with-touch-support) .str-chat__li:hover:not(:has(.str-chat__modal--open)) .str-chat__message--other .str-chat__message-inner,
5796
- .str-chat__ul:not(.str-chat__message-options-in-bubble,
5797
- .str-chat__message-with-touch-support) .str-chat__li:focus-within:not(:has(.str-chat__modal--open)) .str-chat__message--other .str-chat__message-inner,
5798
- .str-chat__ul:not(.str-chat__message-options-in-bubble,
5799
- .str-chat__message-with-touch-support) .str-chat__li:has(.str-chat__message-options--active) .str-chat__message--other .str-chat__message-inner,
5800
- .str-chat__virtual-list:not(.str-chat__message-options-in-bubble,
5801
- .str-chat__message-with-touch-support) .str-chat__li:hover:not(:has(.str-chat__modal--open)) .str-chat__message--other .str-chat__message-inner,
5802
- .str-chat__virtual-list:not(.str-chat__message-options-in-bubble,
5803
- .str-chat__message-with-touch-support) .str-chat__li:focus-within:not(:has(.str-chat__modal--open)) .str-chat__message--other .str-chat__message-inner,
5804
- .str-chat__virtual-list:not(.str-chat__message-options-in-bubble,
5805
- .str-chat__message-with-touch-support) .str-chat__li:has(.str-chat__message-options--active) .str-chat__message--other .str-chat__message-inner {
5806
- margin-inline-end: 0;
5807
- }
5808
- .str-chat__ul:not(.str-chat__message-options-in-bubble,
5809
- .str-chat__message-with-touch-support) .str-chat__li:hover:not(:has(.str-chat__modal--open)) .str-chat__message--me .str-chat__message-inner,
5810
- .str-chat__ul:not(.str-chat__message-options-in-bubble,
5811
- .str-chat__message-with-touch-support) .str-chat__li:focus-within:not(:has(.str-chat__modal--open)) .str-chat__message--me .str-chat__message-inner,
5812
- .str-chat__ul:not(.str-chat__message-options-in-bubble,
5813
- .str-chat__message-with-touch-support) .str-chat__li:has(.str-chat__message-options--active) .str-chat__message--me .str-chat__message-inner,
5814
- .str-chat__virtual-list:not(.str-chat__message-options-in-bubble,
5815
- .str-chat__message-with-touch-support) .str-chat__li:hover:not(:has(.str-chat__modal--open)) .str-chat__message--me .str-chat__message-inner,
5816
- .str-chat__virtual-list:not(.str-chat__message-options-in-bubble,
5817
- .str-chat__message-with-touch-support) .str-chat__li:focus-within:not(:has(.str-chat__modal--open)) .str-chat__message--me .str-chat__message-inner,
5818
- .str-chat__virtual-list:not(.str-chat__message-options-in-bubble,
5819
- .str-chat__message-with-touch-support) .str-chat__li:has(.str-chat__message-options--active) .str-chat__message--me .str-chat__message-inner {
5820
- margin-inline-start: 0;
5821
- }
5822
- .str-chat__ul:not(.str-chat__message-options-in-bubble,
5823
- .str-chat__message-with-touch-support),
5824
- .str-chat__virtual-list:not(.str-chat__message-options-in-bubble,
5825
- .str-chat__message-with-touch-support) {
5826
- /* Fallback for when :has() is unsupported */
5827
- }
5828
- @supports not selector(:has(a, b)) {
5829
- .str-chat__ul:not(.str-chat__message-options-in-bubble,
5830
- .str-chat__message-with-touch-support) .str-chat__li:hover .str-chat__message-options,
5831
- .str-chat__ul:not(.str-chat__message-options-in-bubble,
5832
- .str-chat__message-with-touch-support) .str-chat__li:focus-within .str-chat__message-options,
5833
- .str-chat__virtual-list:not(.str-chat__message-options-in-bubble,
5834
- .str-chat__message-with-touch-support) .str-chat__li:hover .str-chat__message-options,
5835
- .str-chat__virtual-list:not(.str-chat__message-options-in-bubble,
5836
- .str-chat__message-with-touch-support) .str-chat__li:focus-within .str-chat__message-options {
5837
- display: flex;
5838
- }
5839
- .str-chat__ul:not(.str-chat__message-options-in-bubble,
5840
- .str-chat__message-with-touch-support) .str-chat__li:hover .str-chat__message--other .str-chat__message-inner,
5841
- .str-chat__ul:not(.str-chat__message-options-in-bubble,
5842
- .str-chat__message-with-touch-support) .str-chat__li:focus-within .str-chat__message--other .str-chat__message-inner,
5843
- .str-chat__virtual-list:not(.str-chat__message-options-in-bubble,
5844
- .str-chat__message-with-touch-support) .str-chat__li:hover .str-chat__message--other .str-chat__message-inner,
5845
- .str-chat__virtual-list:not(.str-chat__message-options-in-bubble,
5846
- .str-chat__message-with-touch-support) .str-chat__li:focus-within .str-chat__message--other .str-chat__message-inner {
5847
- margin-inline-end: 0;
5848
- }
5849
- .str-chat__ul:not(.str-chat__message-options-in-bubble,
5850
- .str-chat__message-with-touch-support) .str-chat__li:hover .str-chat__message--me .str-chat__message-inner,
5851
- .str-chat__ul:not(.str-chat__message-options-in-bubble,
5852
- .str-chat__message-with-touch-support) .str-chat__li:focus-within .str-chat__message--me .str-chat__message-inner,
5853
- .str-chat__virtual-list:not(.str-chat__message-options-in-bubble,
5854
- .str-chat__message-with-touch-support) .str-chat__li:hover .str-chat__message--me .str-chat__message-inner,
5855
- .str-chat__virtual-list:not(.str-chat__message-options-in-bubble,
5856
- .str-chat__message-with-touch-support) .str-chat__li:focus-within .str-chat__message--me .str-chat__message-inner {
5857
- margin-inline-start: 0;
5858
- }
5859
- }
5860
-
5861
- .str-chat__ul.str-chat__message-options-in-bubble .str-chat__message-inner:hover .str-chat__message-options,
5862
- .str-chat__virtual-list.str-chat__message-options-in-bubble .str-chat__message-inner:hover .str-chat__message-options {
5540
+ .str-chat__ul .str-chat__li:hover:not(:has(.str-chat__modal--open)) .str-chat__message-options,
5541
+ .str-chat__ul .str-chat__li:focus-within:not(:has(.str-chat__modal--open)) .str-chat__message-options,
5542
+ .str-chat__ul .str-chat__li:has(.str-chat__message-options--active) .str-chat__message-options,
5543
+ .str-chat__virtual-list .str-chat__li:hover:not(:has(.str-chat__modal--open)) .str-chat__message-options,
5544
+ .str-chat__virtual-list .str-chat__li:focus-within:not(:has(.str-chat__modal--open)) .str-chat__message-options,
5545
+ .str-chat__virtual-list .str-chat__li:has(.str-chat__message-options--active) .str-chat__message-options {
5863
5546
  display: flex;
5864
5547
  }
5865
- .str-chat__ul.str-chat__message-options-in-bubble .str-chat__message--other .str-chat__message-inner:hover,
5866
- .str-chat__virtual-list.str-chat__message-options-in-bubble .str-chat__message--other .str-chat__message-inner:hover {
5548
+ .str-chat__ul .str-chat__li:hover:not(:has(.str-chat__modal--open)) .str-chat__message--other .str-chat__message-inner,
5549
+ .str-chat__ul .str-chat__li:focus-within:not(:has(.str-chat__modal--open)) .str-chat__message--other .str-chat__message-inner,
5550
+ .str-chat__ul .str-chat__li:has(.str-chat__message-options--active) .str-chat__message--other .str-chat__message-inner,
5551
+ .str-chat__virtual-list .str-chat__li:hover:not(:has(.str-chat__modal--open)) .str-chat__message--other .str-chat__message-inner,
5552
+ .str-chat__virtual-list .str-chat__li:focus-within:not(:has(.str-chat__modal--open)) .str-chat__message--other .str-chat__message-inner,
5553
+ .str-chat__virtual-list .str-chat__li:has(.str-chat__message-options--active) .str-chat__message--other .str-chat__message-inner {
5867
5554
  margin-inline-end: 0;
5868
5555
  }
5869
- .str-chat__ul.str-chat__message-options-in-bubble .str-chat__message--me .str-chat__message-inner:hover,
5870
- .str-chat__virtual-list.str-chat__message-options-in-bubble .str-chat__message--me .str-chat__message-inner:hover {
5556
+ .str-chat__ul .str-chat__li:hover:not(:has(.str-chat__modal--open)) .str-chat__message--me .str-chat__message-inner,
5557
+ .str-chat__ul .str-chat__li:focus-within:not(:has(.str-chat__modal--open)) .str-chat__message--me .str-chat__message-inner,
5558
+ .str-chat__ul .str-chat__li:has(.str-chat__message-options--active) .str-chat__message--me .str-chat__message-inner,
5559
+ .str-chat__virtual-list .str-chat__li:hover:not(:has(.str-chat__modal--open)) .str-chat__message--me .str-chat__message-inner,
5560
+ .str-chat__virtual-list .str-chat__li:focus-within:not(:has(.str-chat__modal--open)) .str-chat__message--me .str-chat__message-inner,
5561
+ .str-chat__virtual-list .str-chat__li:has(.str-chat__message-options--active) .str-chat__message--me .str-chat__message-inner {
5871
5562
  margin-inline-start: 0;
5872
5563
  }
5873
5564
 
@@ -5878,9 +5569,6 @@
5878
5569
  .str-chat__message-inner .str-chat__message-options {
5879
5570
  display: none;
5880
5571
  }
5881
- .str-chat__message-inner .str-chat__message-actions-open.str-chat__message-options {
5882
- display: flex;
5883
- }
5884
5572
 
5885
5573
  .str-chat__message-inner:focus-within .str-chat__message-options {
5886
5574
  display: flex;
@@ -5918,10 +5606,10 @@
5918
5606
  }
5919
5607
 
5920
5608
  .str-chat__message-with-thread-link.str-chat__message--other .str-chat__message-bubble {
5921
- border-end-start-radius: calc(var(--str-chat__border-radius-md) / 6);
5609
+ border-end-start-radius: calc(var(--radius-md) / 6);
5922
5610
  }
5923
5611
  .str-chat__message-with-thread-link.str-chat__message--me .str-chat__message-bubble {
5924
- border-end-end-radius: calc(var(--str-chat__border-radius-md) / 6);
5612
+ border-end-end-radius: calc(var(--radius-md) / 6);
5925
5613
  }
5926
5614
 
5927
5615
  .str-chat__li--top .str-chat__message.str-chat__message--with-avatar > .str-chat__avatar,
@@ -5930,22 +5618,6 @@
5930
5618
  pointer-events: none;
5931
5619
  }
5932
5620
 
5933
- .str-chat__message-with-touch-support .str-chat__message-bubble {
5934
- -webkit-touch-callout: none;
5935
- -webkit-user-select: none;
5936
- user-select: none;
5937
- }
5938
- .str-chat__message-with-touch-support.str-chat__message-menu-opened .str-chat__attachments-container,
5939
- .str-chat__message-with-touch-support.str-chat__message-menu-opened .str-chat__message-text-inner {
5940
- pointer-events: none;
5941
- }
5942
- .str-chat__message-with-touch-support .str-chat__message-inner {
5943
- margin-inline: 0;
5944
- }
5945
- .str-chat__message-with-touch-support .str-chat__message-options {
5946
- display: none;
5947
- }
5948
-
5949
5621
  .str-chat {
5950
5622
  --str-chat__message-also-sent-in-channel-color: var(--text-primary);
5951
5623
  --str-chat__message-also-sent-in-channel-background-color: transparent;
@@ -5990,7 +5662,7 @@
5990
5662
  display: flex;
5991
5663
  align-items: center;
5992
5664
  justify-content: center;
5993
- column-gap: var(--str-chat__spacing-0_5);
5665
+ column-gap: var(--space-2);
5994
5666
  position: relative;
5995
5667
  color: var(--chat-text-timestamp);
5996
5668
  }
@@ -6182,10 +5854,10 @@
6182
5854
  padding-inline-end: var(--spacing-xl);
6183
5855
  }
6184
5856
  .str-chat__message.str-chat__message--me .str-chat__message-replies-count-button-wrapper::after {
6185
- border-bottom-right-radius: var(--radius-max);
6186
- border-right: var(--replies-button-connector-stroke-width) solid var(--chat-thread-connector-outgoing);
6187
- border-bottom: var(--replies-button-connector-stroke-width) solid var(--chat-thread-connector-outgoing);
6188
- right: 0;
5857
+ border-end-end-radius: var(--radius-max);
5858
+ border-inline-end: var(--replies-button-connector-stroke-width) solid var(--chat-thread-connector-outgoing);
5859
+ border-block-end: var(--replies-button-connector-stroke-width) solid var(--chat-thread-connector-outgoing);
5860
+ inset-inline-end: 0;
6189
5861
  }
6190
5862
 
6191
5863
  .str-chat__message.str-chat__message--other .str-chat__message-replies-count-button-wrapper {
@@ -6198,10 +5870,10 @@
6198
5870
  padding-inline-start: var(--spacing-xl);
6199
5871
  }
6200
5872
  .str-chat__message.str-chat__message--other .str-chat__message-replies-count-button-wrapper::after {
6201
- border-bottom-left-radius: var(--radius-max);
6202
- border-left: var(--replies-button-connector-stroke-width) solid var(--chat-thread-connector-incoming);
6203
- border-bottom: var(--replies-button-connector-stroke-width) solid var(--chat-thread-connector-incoming);
6204
- left: 0;
5873
+ border-end-start-radius: var(--radius-max);
5874
+ border-inline-start: var(--replies-button-connector-stroke-width) solid var(--chat-thread-connector-incoming);
5875
+ border-block-end: var(--replies-button-connector-stroke-width) solid var(--chat-thread-connector-incoming);
5876
+ inset-inline-start: 0;
6205
5877
  }
6206
5878
 
6207
5879
  .str-chat__message-actions-box {
@@ -6231,25 +5903,17 @@
6231
5903
  border-radius: var(--str-chat__message-options-border-radius);
6232
5904
  color: var(--str-chat__message-options-color);
6233
5905
  }
6234
- .str-chat__message-options .str-chat__message-actions-box-button .str-chat__message-action-icon path,
6235
- .str-chat__message-options .str-chat__message-reply-in-thread-button .str-chat__message-action-icon path,
6236
- .str-chat__message-options .str-chat__message-reactions-button .str-chat__message-action-icon path {
6237
- fill: var(--str-chat__message-options-color);
6238
- stroke: var(--str-chat__message-options-color);
6239
- stroke-width: 0.25;
6240
- }
6241
5906
  .str-chat__message-options .str-chat__message-actions-box-button:hover,
6242
5907
  .str-chat__message-options .str-chat__message-reply-in-thread-button:hover,
6243
5908
  .str-chat__message-options .str-chat__message-reactions-button:hover {
6244
5909
  background-color: var(--str-chat__message-options-hover-background-color);
6245
5910
  }
6246
- .str-chat__message-options .str-chat__message-actions-box-button:active .str-chat__message-action-icon path,
6247
- .str-chat__message-options .str-chat__message-reply-in-thread-button:active .str-chat__message-action-icon path,
6248
- .str-chat__message-options .str-chat__message-reactions-button:active .str-chat__message-action-icon path {
6249
- fill: var(--str-chat__message-options-active-color);
5911
+ .str-chat__message-options .str-chat__message-actions-box-button:active,
5912
+ .str-chat__message-options .str-chat__message-reply-in-thread-button:active,
5913
+ .str-chat__message-options .str-chat__message-reactions-button:active {
5914
+ color: var(--str-chat__message-options-active-color);
6250
5915
  }
6251
- .str-chat__message-options .str-chat__message-actions-box-button,
6252
- .str-chat__message-options .str-chat__message-actions-container {
5916
+ .str-chat__message-options .str-chat__message-actions-box-button {
6253
5917
  position: relative;
6254
5918
  }
6255
5919
 
@@ -6383,11 +6047,11 @@
6383
6047
  flex: 0 1 auto;
6384
6048
  gap: var(--spacing-sm);
6385
6049
  padding: var(--spacing-md);
6386
- padding-right: var(--spacing-sm);
6050
+ padding-inline-end: var(--spacing-sm);
6387
6051
  width: 290px;
6388
6052
  }
6389
6053
  .str-chat .str-chat__attachment-preview-audio .str-chat__attachment-preview-file__data {
6390
- padding-right: var(--spacing-xs);
6054
+ padding-inline-end: var(--spacing-xs);
6391
6055
  }
6392
6056
  .str-chat .str-chat__attachment-preview-audio,
6393
6057
  .str-chat .str-chat__attachment-preview-file,
@@ -6434,20 +6098,19 @@
6434
6098
  align-items: center;
6435
6099
  gap: var(--spacing-xxs);
6436
6100
  position: absolute;
6437
- bottom: var(--spacing-xxs);
6438
- left: var(--spacing-xxs);
6439
- padding-inline: var(--button-padding-x-icon-only-sm);
6440
- padding-block: var(--button-padding-y-sm);
6441
- border-radius: var(--str-chat__attachment-preview-media-video-indicator-border-radius);
6442
- background-color: var(--str-chat__attachment-preview-media-video-indicator-background-color);
6443
- color: var(--str-chat__attachment-preview-media-video-indicator-color);
6444
- font-size: var(--typography-font-size-xxs);
6445
- font-weight: var(--typography-font-weight-bold);
6446
- line-height: var(--line-height-line-height-10);
6101
+ bottom: var(--spacing-xs);
6102
+ inset-inline-start: var(--spacing-xs);
6103
+ padding: var(--spacing-xxs) var(--spacing-xs);
6104
+ border-radius: var(--radius-max);
6105
+ background: var(--badge-bg-inverse);
6106
+ color: var(--badge-text-on-inverse);
6107
+ font: var(--str-chat__numeric-md-text);
6108
+ overflow: hidden;
6109
+ text-overflow: ellipsis;
6447
6110
  }
6448
- .str-chat .str-chat__attachment-preview-media .str-chat__attachment-preview-media__video-indicator .str-chat__icon--video-camera {
6449
- width: 10px;
6450
- height: 8px;
6111
+ .str-chat .str-chat__attachment-preview-media .str-chat__attachment-preview-media__video-indicator .str-chat__icon {
6112
+ width: var(--icon-size-xs);
6113
+ height: var(--icon-size-xs);
6451
6114
  fill: currentColor;
6452
6115
  }
6453
6116
  .str-chat .str-chat__attachment-preview-media__overlay {
@@ -6478,15 +6141,28 @@
6478
6141
  .str-chat .str-chat__attachment-preview-media__overlay:active {
6479
6142
  background-color: var(--str-chat__attachment-preview-media-overlay-pressed-background-color);
6480
6143
  }
6481
- .str-chat .str-chat__attachment-preview-media__overlay .str-chat__loading-indicator,
6482
- .str-chat .str-chat__attachment-preview-media__overlay .str-chat__icon--exclamation-mark {
6483
- width: 14px;
6484
- height: 14px;
6144
+ .str-chat .str-chat__attachment-preview-media__overlay .str-chat__icon.str-chat__loading-indicator {
6145
+ width: var(--icon-size-sm);
6146
+ height: var(--icon-size-sm);
6485
6147
  position: absolute;
6486
- left: var(--spacing-xxs);
6148
+ inset-inline-start: var(--spacing-xxs);
6487
6149
  bottom: var(--spacing-xxs);
6488
- border: 2px solid var(--control-remove-control-border);
6489
6150
  border-radius: var(--radius-max);
6151
+ border-radius: var(--radius-max);
6152
+ background: var(--background-core-elevation-0);
6153
+ color: var(--accent-primary);
6154
+ }
6155
+ .str-chat .str-chat__attachment-preview-media__overlay .str-chat__icon--exclamation {
6156
+ padding: var(--spacing-xxxs);
6157
+ width: var(--icon-size-sm);
6158
+ height: var(--icon-size-sm);
6159
+ position: absolute;
6160
+ inset-inline-start: var(--spacing-xxs);
6161
+ bottom: var(--spacing-xxs);
6162
+ border: 2px solid var(--badge-border);
6163
+ border-radius: var(--radius-max);
6164
+ background: var(--badge-bg-error);
6165
+ color: var(--badge-text-on-accent);
6490
6166
  }
6491
6167
  .str-chat .str-chat__attachment-preview-media--upload-error .str-chat__attachment-preview-media__overlay {
6492
6168
  background-color: var(--str-chat__attachment-preview-media-upload-error-overlay-background-color);
@@ -6529,9 +6205,9 @@
6529
6205
  font-size: var(--typography-font-size-xs);
6530
6206
  line-height: var(--typography-line-height-tight);
6531
6207
  }
6532
- .str-chat .str-chat__attachment-preview-file__info .str-chat__attachment-preview-file__data .str-chat__loading-indicator {
6533
- width: var(--size-12);
6534
- height: var(--size-12);
6208
+ .str-chat .str-chat__attachment-preview-file__info .str-chat__attachment-preview-file__data .str-chat__icon.str-chat__loading-indicator {
6209
+ width: var(--icon-size-sm);
6210
+ height: var(--icon-size-sm);
6535
6211
  }
6536
6212
  .str-chat .str-chat__attachment-preview-file__info .str-chat__attachment-preview-file__data .str-chat__attachment-preview-file__fatal-error {
6537
6213
  display: flex;
@@ -7012,6 +6688,7 @@
7012
6688
  outline: none;
7013
6689
  width: 100%;
7014
6690
  font-size: var(--typography-font-size-md);
6691
+ scrollbar-width: none;
7015
6692
  }
7016
6693
  .str-chat .str-chat__message-composer-controls .str-chat__emoji-picker-button {
7017
6694
  display: flex;
@@ -7174,7 +6851,7 @@
7174
6851
  height: 20px;
7175
6852
  width: 20px;
7176
6853
  position: absolute;
7177
- left: 10px;
6854
+ inset-inline-start: 10px;
7178
6855
  top: 10px;
7179
6856
  border-radius: var(--radius-max);
7180
6857
  background-color: var(--control-play-control-bg);
@@ -7194,7 +6871,7 @@
7194
6871
  position: absolute;
7195
6872
  z-index: 1;
7196
6873
  top: -6px;
7197
- right: -6px;
6874
+ inset-inline-end: -6px;
7198
6875
  background-color: var(--str-chat__attachment-preview-close-icon-background);
7199
6876
  border: 3px solid var(--str-chat__attachment-preview-close-icon-border-color);
7200
6877
  color: var(--str-chat__attachment-preview-close-icon-color);
@@ -7270,6 +6947,7 @@
7270
6947
  }
7271
6948
 
7272
6949
  .str-chat__main-panel-inner {
6950
+ width: 100%;
7273
6951
  height: 100%;
7274
6952
  display: flex;
7275
6953
  flex-direction: column;
@@ -7289,6 +6967,7 @@
7289
6967
  overflow-x: hidden;
7290
6968
  overflow-y: auto;
7291
6969
  overscroll-behavior: contain;
6970
+ scrollbar-gutter: stable;
7292
6971
  display: flex;
7293
6972
  justify-content: center;
7294
6973
  position: relative;
@@ -7312,6 +6991,7 @@
7312
6991
  max-width: 100%;
7313
6992
  }
7314
6993
  .str-chat__message-list .str-chat__message-list-scroll {
6994
+ width: 100%;
7315
6995
  max-width: var(--str-chat__message-list-scroll-max-width);
7316
6996
  }
7317
6997
  .str-chat__message-list .str-chat__message-list-scroll .str-chat__ul {
@@ -7400,8 +7080,8 @@
7400
7080
  .str-chat__jump-to-latest-message .str-chat__jump-to-latest__unread-count {
7401
7081
  position: absolute;
7402
7082
  inset-block-end: 100%;
7403
- margin-block-end: var(--str-chat__spacing-1);
7404
- right: -15%;
7083
+ margin-block-end: var(--space-4);
7084
+ inset-inline-end: -15%;
7405
7085
  top: -15%;
7406
7086
  }
7407
7087
 
@@ -7503,6 +7183,7 @@
7503
7183
  overflow-x: hidden;
7504
7184
  overflow-y: auto;
7505
7185
  overscroll-behavior: contain;
7186
+ scrollbar-gutter: stable;
7506
7187
  --str-chat__message-list-scroll-max-width: calc(
7507
7188
  var(--str-chat__message-composer-max-width) +
7508
7189
  var(--str-chat__message-composer-padding)
@@ -7525,7 +7206,7 @@
7525
7206
  }
7526
7207
  .str-chat__virtual-list__loading {
7527
7208
  display: flex;
7528
- padding-top: var(--str-chat__spacing-2);
7209
+ padding-top: var(--space-8);
7529
7210
  justify-content: center;
7530
7211
  width: 100%;
7531
7212
  position: absolute;
@@ -7900,6 +7581,7 @@
7900
7581
  overflow-x: hidden;
7901
7582
  overflow-y: auto;
7902
7583
  overscroll-behavior: contain;
7584
+ scrollbar-gutter: stable;
7903
7585
  scrollbar-width: none;
7904
7586
  display: flex;
7905
7587
  flex-direction: column;
@@ -8137,6 +7819,7 @@
8137
7819
  overflow-x: hidden;
8138
7820
  overflow-y: auto;
8139
7821
  overscroll-behavior: contain;
7822
+ scrollbar-gutter: stable;
8140
7823
  scrollbar-width: none;
8141
7824
  max-height: 564px;
8142
7825
  padding-bottom: var(--spacing-2xl);
@@ -8183,6 +7866,7 @@
8183
7866
  overflow-x: hidden;
8184
7867
  overflow-y: auto;
8185
7868
  overscroll-behavior: contain;
7869
+ scrollbar-gutter: stable;
8186
7870
  scrollbar-width: none;
8187
7871
  border-radius: var(--radius-lg);
8188
7872
  max-height: 250px;
@@ -8191,7 +7875,7 @@
8191
7875
  width: 32px;
8192
7876
  aspect-ratio: 1/1;
8193
7877
  }
8194
- .str-chat__reaction-selector .str-chat__reaction-selector__add-button .str-chat__icon--plus {
7878
+ .str-chat__reaction-selector .str-chat__reaction-selector__add-button .str-chat__icon {
8195
7879
  width: var(--icon-size-sm);
8196
7880
  height: var(--icon-size-sm);
8197
7881
  }
@@ -8203,10 +7887,11 @@
8203
7887
  padding-inline: var(--spacing-sm);
8204
7888
  }
8205
7889
  .str-chat__reaction-selector .str-chat__reaction-selector-extended-list .str-chat__reaction-selector-extended-list__button .str-chat__reaction-icon {
8206
- height: 24px;
8207
- width: 24px;
8208
- font-size: 24px;
8209
- letter-spacing: 0;
7890
+ height: var(--emoji-md);
7891
+ width: var(--emoji-md);
7892
+ font-size: var(--emoji-md);
7893
+ letter-spacing: var(--typography-letter-spacing-default);
7894
+ font-style: normal;
8210
7895
  line-height: 0;
8211
7896
  font-family: system-ui;
8212
7897
  display: flex;
@@ -8272,8 +7957,8 @@
8272
7957
  .str-chat__message-reactions .str-chat__message-reactions__list .str-chat__message-reactions__list-item {
8273
7958
  display: flex;
8274
7959
  }
8275
- .str-chat__message-reactions .str-chat__message-reactions__list-item-button {
8276
- min-height: 26px;
7960
+ .str-chat__message-reactions .str-chat__message-reactions__list .str-chat__message-reactions__list-item--more {
7961
+ height: 100%;
8277
7962
  }
8278
7963
  .str-chat__message-reactions .str-chat__message-reactions__list-button,
8279
7964
  .str-chat__message-reactions .str-chat__message-reactions__list-item-button {
@@ -8286,12 +7971,14 @@
8286
7971
  position: relative;
8287
7972
  display: flex;
8288
7973
  gap: var(--spacing-xxs);
8289
- padding: var(--spacing-xxs) var(--spacing-xs);
7974
+ padding-inline: var(--spacing-xs);
7975
+ padding-block: var(--spacing-xxxs);
8290
7976
  align-items: center;
8291
7977
  justify-content: center;
8292
7978
  border-radius: var(--radius-max);
8293
7979
  border: 1px solid var(--reaction-border);
8294
7980
  background: var(--reaction-bg);
7981
+ color: var(--reaction-text);
8295
7982
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.16);
8296
7983
  font-weight: inherit;
8297
7984
  font-size: inherit;
@@ -8323,12 +8010,10 @@
8323
8010
  }
8324
8011
  .str-chat__message-reactions .str-chat__message-reactions__list-button .str-chat__message-reactions__list-item-icon,
8325
8012
  .str-chat__message-reactions .str-chat__message-reactions__list-item-button .str-chat__message-reactions__list-item-icon {
8326
- font-size: 13px;
8327
- line-height: 16px;
8328
8013
  font-family: system-ui;
8014
+ font-size: var(--font-size-size-17);
8329
8015
  font-style: normal;
8330
- letter-spacing: 0;
8331
- display: flex;
8016
+ line-height: var(--typography-line-height-normal);
8332
8017
  }
8333
8018
  .str-chat__message-reactions .str-chat__message-reactions__list-button .str-chat__message-reactions__total-count,
8334
8019
  .str-chat__message-reactions .str-chat__message-reactions__list-button .str-chat__message-reactions__overflow-count,
@@ -8338,10 +8023,7 @@
8338
8023
  .str-chat__message-reactions .str-chat__message-reactions__list-item-button .str-chat__message-reactions__list-item-count {
8339
8024
  display: flex;
8340
8025
  align-items: center;
8341
- color: var(--reaction-text);
8342
- font-size: var(--typography-font-size-xxs);
8343
- font-weight: var(--typography-font-weight-bold);
8344
- line-height: 1;
8026
+ font: var(--str-chat__numeric-md-text);
8345
8027
  }
8346
8028
  .str-chat__message-reactions--bottom .str-chat__message-reactions__list-button,
8347
8029
  .str-chat__message-reactions--bottom .str-chat__message-reactions__list-item-button {
@@ -8363,10 +8045,10 @@
8363
8045
  position: absolute;
8364
8046
  width: 100%;
8365
8047
  bottom: 0;
8366
- left: 0;
8048
+ inset-inline-start: 0;
8367
8049
  height: var(--size-12);
8368
- border-bottom-right-radius: inherit;
8369
- border-bottom-left-radius: inherit;
8050
+ border-end-end-radius: inherit;
8051
+ border-end-start-radius: inherit;
8370
8052
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 5%, rgba(0, 0, 0, 0.1) 130%);
8371
8053
  }
8372
8054
  .str-chat__message-reactions-detail {
@@ -8411,12 +8093,14 @@
8411
8093
  position: relative;
8412
8094
  display: flex;
8413
8095
  gap: var(--spacing-xxs);
8414
- padding: var(--spacing-xxs) var(--spacing-xs);
8096
+ padding-inline: var(--spacing-xs);
8097
+ padding-block: var(--spacing-xxxs);
8415
8098
  align-items: center;
8416
8099
  justify-content: center;
8417
8100
  border-radius: var(--radius-max);
8418
8101
  border: 1px solid var(--reaction-border);
8419
8102
  background: var(--reaction-bg);
8103
+ color: var(--reaction-text);
8420
8104
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.16);
8421
8105
  font-weight: inherit;
8422
8106
  font-size: inherit;
@@ -8444,22 +8128,20 @@
8444
8128
  box-shadow: unset;
8445
8129
  }
8446
8130
  .str-chat__message-reactions-detail .str-chat__message-reactions-detail__reaction-type-list .str-chat__message-reactions-detail__reaction-type-list-item .str-chat__message-reactions-detail__reaction-type-list-item-button .str-chat__message-reactions-detail__reaction-type-list-item-icon {
8447
- font-size: 13px;
8448
- line-height: 16px;
8449
8131
  font-family: system-ui;
8132
+ font-size: var(--font-size-size-17);
8450
8133
  font-style: normal;
8451
- letter-spacing: 0;
8452
- display: flex;
8134
+ line-height: var(--typography-line-height-normal);
8453
8135
  }
8454
8136
  .str-chat__message-reactions-detail .str-chat__message-reactions-detail__reaction-type-list .str-chat__message-reactions-detail__reaction-type-list-item .str-chat__message-reactions-detail__reaction-type-list-item-button .str-chat__message-reactions-detail__reaction-type-list-item-count {
8455
8137
  color: var(--reaction-text);
8456
- font-size: var(--typography-font-size-xxs);
8457
- font-weight: var(--typography-font-weight-bold);
8138
+ font: var(--str-chat__metadata-emphasis-text);
8458
8139
  }
8459
8140
  .str-chat__message-reactions-detail .str-chat__message-reactions-detail__user-list {
8460
8141
  overflow-x: hidden;
8461
8142
  overflow-y: auto;
8462
8143
  overscroll-behavior: contain;
8144
+ scrollbar-gutter: stable;
8463
8145
  scrollbar-width: none;
8464
8146
  position: relative;
8465
8147
  padding-block-end: var(--spacing-xxs);
@@ -8507,12 +8189,10 @@
8507
8189
  padding-inline: calc(var(--spacing-sm) + var(--spacing-xxs));
8508
8190
  }
8509
8191
  .str-chat__message-reactions-detail .str-chat__message-reactions-detail__user-list .str-chat__message-reactions-detail__user-list-item .str-chat__message-reactions-detail__user-list-item-icon {
8510
- font-size: 14px;
8511
- line-height: 20px;
8512
8192
  font-family: system-ui;
8193
+ font-size: var(--font-size-size-17);
8513
8194
  font-style: normal;
8514
- letter-spacing: 0;
8515
- display: flex;
8195
+ line-height: var(--typography-line-height-normal);
8516
8196
  }
8517
8197
  .str-chat__message-reactions-detail .str-chat__message-reactions-detail__user-list .str-chat__message-reactions-detail__user-list-item .str-chat__message-reactions-detail__user-list-item-info {
8518
8198
  display: flex;
@@ -8731,6 +8411,7 @@
8731
8411
  overflow-x: hidden;
8732
8412
  overflow-y: auto;
8733
8413
  overscroll-behavior: contain;
8414
+ scrollbar-gutter: stable;
8734
8415
  }
8735
8416
  .str-chat .str-chat__suggestion-list .str-chat__suggestion-list-item--selected {
8736
8417
  background-color: var(--str-chat__dialog-menu-button-hover-background-color);
@@ -8773,14 +8454,6 @@
8773
8454
  width: 100%;
8774
8455
  }
8775
8456
 
8776
- .str-chat__thread .str-chat__main-panel-inner {
8777
- height: auto;
8778
- }
8779
-
8780
- .str-chat__thread--virtualized .str-chat__main-panel-inner {
8781
- height: 100%;
8782
- }
8783
-
8784
8457
  .str-chat__parent-message-li {
8785
8458
  padding-block-start: var(--spacing-sm);
8786
8459
  }
@@ -8826,6 +8499,7 @@
8826
8499
  .str-chat__thread-header {
8827
8500
  display: flex;
8828
8501
  align-items: center;
8502
+ width: 100%;
8829
8503
  padding: var(--spacing-md);
8830
8504
  gap: var(--spacing-sm);
8831
8505
  height: var(--str-chat__channel-header-height);
@@ -8839,13 +8513,11 @@
8839
8513
  border-inline-start: var(--str-chat__thread-header-border-inline-start);
8840
8514
  border-inline-end: var(--str-chat__thread-header-border-inline-end);
8841
8515
  }
8842
- .str-chat__thread-header .str-chat__thread-header-name,
8843
8516
  .str-chat__thread-header .str-chat__thread-header-title {
8844
- font: var(--str-chat__subtitle-medium-text);
8517
+ font: var(--str-chat__heading-sm-text);
8845
8518
  }
8846
- .str-chat__thread-header .str-chat__thread-header-channel-name,
8847
8519
  .str-chat__thread-header .str-chat__thread-header-subtitle {
8848
- font: var(--str-chat__body-text);
8520
+ font: var(--str-chat__caption-default-text);
8849
8521
  color: var(--str-chat__thread-header-info-color);
8850
8522
  }
8851
8523
  .str-chat__thread-header .str-chat__thread-header-details {
@@ -8854,13 +8526,10 @@
8854
8526
  align-items: center;
8855
8527
  overflow-y: hidden;
8856
8528
  overflow-x: hidden;
8857
- flex: 1;
8529
+ max-width: 100%;
8858
8530
  row-gap: var(--spacing-xxs);
8859
8531
  align-items: start;
8860
8532
  }
8861
- .str-chat__thread-header .str-chat__thread-header-details .str-chat__thread-header-name,
8862
- .str-chat__thread-header .str-chat__thread-header-details .str-chat__thread-header-reply-count,
8863
- .str-chat__thread-header .str-chat__thread-header-details .str-chat__thread-header-channel-name,
8864
8533
  .str-chat__thread-header .str-chat__thread-header-details .str-chat__thread-header-subtitle,
8865
8534
  .str-chat__thread-header .str-chat__thread-header-details .str-chat__thread-header-title {
8866
8535
  white-space: nowrap;
@@ -8872,6 +8541,15 @@
8872
8541
  .str-chat__thread-header .str-chat__thread-header-details .str-chat__thread-header-subtitle {
8873
8542
  overflow-y: hidden;
8874
8543
  }
8544
+ .str-chat__thread-header .str-chat__thread-header__start {
8545
+ flex: 1;
8546
+ display: flex;
8547
+ }
8548
+ .str-chat__thread-header .str-chat__thread-header__end {
8549
+ flex: 1;
8550
+ display: flex;
8551
+ justify-content: flex-end;
8552
+ }
8875
8553
  .str-chat__thread-header .str-chat__close-thread-button {
8876
8554
  display: flex;
8877
8555
  align-items: flex-start;
@@ -8890,34 +8568,6 @@
8890
8568
  align-items: center;
8891
8569
  }
8892
8570
 
8893
- .str-chat__thread-header--main {
8894
- display: flex;
8895
- align-items: center;
8896
- padding: var(--spacing-md);
8897
- gap: var(--spacing-sm);
8898
- height: var(--str-chat__channel-header-height);
8899
- min-width: 0;
8900
- border-bottom: 1px solid var(--border-core-default);
8901
- background: var(--background-core-elevation-1);
8902
- }
8903
- .str-chat__thread-header--main .str-chat__thread-header--main__details {
8904
- display: flex;
8905
- flex-direction: column;
8906
- align-items: center;
8907
- overflow-y: hidden;
8908
- overflow-x: hidden;
8909
- flex: 1;
8910
- row-gap: var(--spacing-xxs);
8911
- }
8912
- .str-chat__thread-header--main .str-chat__thread-header--main__details .str-chat__thread-header--main__title {
8913
- font: var(--str-chat__heading-sm-text);
8914
- color: var(--text-primary);
8915
- }
8916
- .str-chat__thread-header--main .str-chat__thread-header--main__details .str-chat__thread-header--main__subtitle {
8917
- font: var(--str-chat__caption-default-text);
8918
- color: var(--text-secondary);
8919
- }
8920
-
8921
8571
  /* Only available in React SDK. */
8922
8572
  .str-chat {
8923
8573
  --str-chat-unread-count-badge-color: var(--str-chat__on-unread-badge-color);
@@ -9245,16 +8895,6 @@
9245
8895
  white-space: nowrap;
9246
8896
  }
9247
8897
 
9248
- .str-chat__thread-list-item__message-preview {
9249
- font-size: var(--typography-font-size-md);
9250
- font-weight: var(--typography-font-weight-regular);
9251
- line-height: var(--typography-line-height-normal);
9252
- color: var(--text-primary);
9253
- overflow: hidden;
9254
- text-overflow: ellipsis;
9255
- white-space: nowrap;
9256
- }
9257
-
9258
8898
  .str-chat__thread-list-item__content-trailing {
9259
8899
  display: flex;
9260
8900
  gap: var(--spacing-xs);
@@ -9321,11 +8961,11 @@
9321
8961
  border-inline-end: var(--str-chat__tooltip-border-inline-end);
9322
8962
  overflow-y: hidden;
9323
8963
  display: flex;
9324
- padding: var(--str-chat__spacing-2);
8964
+ padding: var(--space-8);
9325
8965
  z-index: 1;
9326
8966
  max-width: calc(var(--str-chat__spacing-px) * 150);
9327
8967
  width: max-content;
9328
- font: var(--str-chat__caption-text);
8968
+ font: var(--str-chat__metadata-emphasis-text);
9329
8969
  }
9330
8970
  .str-chat__tooltip::after {
9331
8971
  background-color: var(--str-chat__tooltip-background-color);
@@ -9378,22 +9018,6 @@
9378
9018
  align-items: center;
9379
9019
  column-gap: var(--spacing-xxs);
9380
9020
  }
9381
- .str-chat__typing-indicator__dots .str-chat__typing-indicator__dot {
9382
- width: 5px;
9383
- height: 5px;
9384
- border-radius: 50%;
9385
- background-color: var(--chat-text-typing-indicator);
9386
- animation: str-chat__typing-indicator-dot 1.2s ease-in-out infinite both;
9387
- }
9388
- .str-chat__typing-indicator__dots .str-chat__typing-indicator__dot:nth-child(1) {
9389
- animation-delay: 0s;
9390
- }
9391
- .str-chat__typing-indicator__dots .str-chat__typing-indicator__dot:nth-child(2) {
9392
- animation-delay: 0.15s;
9393
- }
9394
- .str-chat__typing-indicator__dots .str-chat__typing-indicator__dot:nth-child(3) {
9395
- animation-delay: 0.3s;
9396
- }
9397
9021
 
9398
9022
  /* SVG dots (TypingIndicatorDots component) */
9399
9023
  .str-chat__typing-indicator__dots svg {