stream-chat-react 10.8.1 → 10.8.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.
@@ -1,3 +1,12 @@
1
+ .str-chat__message-attachment-card:not(.str-chat__message-attachment-card--giphy) {
2
+ .str-chat__message-attachment-card--header {
3
+ img {
4
+ width: inherit;
5
+ height: inherit;
6
+ }
7
+ }
8
+ }
9
+
1
10
  .str-chat__message-attachment-card {
2
11
  position: relative;
3
12
  background: var(--white);
@@ -12,8 +21,6 @@
12
21
  height: 175px;
13
22
 
14
23
  img {
15
- width: inherit;
16
- height: inherit;
17
24
  object-fit: cover;
18
25
  }
19
26
  }
@@ -68,6 +75,24 @@
68
75
  }
69
76
  }
70
77
 
78
+ .giphy-preview-message {
79
+ .str-chat__message-attachment-card--giphy {
80
+ display: flex;
81
+ flex-direction: column;
82
+
83
+ .str-chat__message-attachment-card--header {
84
+ display: flex;
85
+ justify-content: center;
86
+ background-color: white;
87
+
88
+ .str-chat__message-attachment--img {
89
+ width: unset;
90
+ }
91
+ }
92
+
93
+ }
94
+ }
95
+
71
96
  .str-chat.commerce {
72
97
  .str-chat__message-attachment-card {
73
98
  max-width: 375px;
@@ -17,6 +17,10 @@
17
17
  width: 100%;
18
18
  min-width: 0;
19
19
  }
20
+
21
+ .str-chat__main-panel--hideOnThread {
22
+ display: none;
23
+ }
20
24
  }
21
25
  }
22
26
 
@@ -42,6 +42,11 @@
42
42
  }
43
43
  }
44
44
 
45
+ .str-chat__main-panel--hideOnThread + .str-chat__thread-container {
46
+ // occupy the whole space by previously occupied by the main message list container
47
+ flex: 1;
48
+ }
49
+
45
50
  .str-chat__parent-message-li {
46
51
  padding: var(--str-chat__spacing-2);
47
52
  }
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const version = "10.8.1";
1
+ export declare const version = "10.8.3";
2
2
  //# sourceMappingURL=version.d.ts.map
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export var version = '10.8.1';
1
+ export var version = '10.8.3';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stream-chat-react",
3
- "version": "10.8.1",
3
+ "version": "10.8.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/",