stream-chat-react 13.0.2 → 13.0.3

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.
@@ -51196,7 +51196,7 @@ var useChat = ({
51196
51196
  };
51197
51197
  (0, import_react264.useEffect)(() => {
51198
51198
  if (!client) return;
51199
- const version = "13.0.2";
51199
+ const version = "13.0.3";
51200
51200
  const userAgent = client.getUserAgent();
51201
51201
  if (!userAgent.includes("stream-chat-react")) {
51202
51202
  client.setUserAgent(`stream-chat-react-${version}-${userAgent}`);
@@ -55873,7 +55873,7 @@ var useChat = ({
55873
55873
  };
55874
55874
  (0, import_react263.useEffect)(() => {
55875
55875
  if (!client) return;
55876
- const version = "13.0.2";
55876
+ const version = "13.0.3";
55877
55877
  const userAgent = client.getUserAgent();
55878
55878
  if (!userAgent.includes("stream-chat-react")) {
55879
55879
  client.setUserAgent(`stream-chat-react-${version}-${userAgent}`);
@@ -114,7 +114,7 @@
114
114
  top: calc(var(--str-chat__spacing-px) * 2);
115
115
  inset-inline-end: calc(var(--str-chat__spacing-px) * 2);
116
116
  cursor: pointer;
117
- z-index: 0;
117
+ z-index: 1;
118
118
 
119
119
  svg {
120
120
  width: calc(var(--str-chat__spacing-px) * 24);
@@ -26,7 +26,7 @@
26
26
  display: flex;
27
27
  justify-content: flex-end;
28
28
  gap: 1.25rem;
29
- padding: 1.25rem;
29
+ padding: 2.25rem 1.25rem 0;
30
30
 
31
31
  .str-chat__dialog__controls-button {
32
32
  @include utils.button-reset;
@@ -383,6 +383,12 @@
383
383
  }
384
384
  }
385
385
 
386
+ .str-chat__message-inner:focus-within {
387
+ .str-chat__message-options {
388
+ display: flex;
389
+ }
390
+ }
391
+
386
392
  .str-chat__message--other .str-chat__message-inner:not(:has(.str-chat__message-options--active)) {
387
393
  margin-inline-end: var(--str-chat-message-options-size);
388
394
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stream-chat-react",
3
- "version": "13.0.2",
3
+ "version": "13.0.3",
4
4
  "description": "React components to create chat conversations or livestream style chat",
5
5
  "author": "GetStream",
6
6
  "homepage": "https://getstream.io/chat/",
@@ -186,7 +186,7 @@
186
186
  "@playwright/test": "^1.42.1",
187
187
  "@semantic-release/changelog": "^6.0.3",
188
188
  "@semantic-release/git": "^10.0.1",
189
- "@stream-io/stream-chat-css": "^5.9.1",
189
+ "@stream-io/stream-chat-css": "^5.9.2",
190
190
  "@testing-library/dom": "^10.4.0",
191
191
  "@testing-library/jest-dom": "^6.6.3",
192
192
  "@testing-library/react": "^16.2.0",