stream-chat-react 10.22.1 → 10.22.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.
@@ -191,6 +191,7 @@
191
191
  .str-chat__gallery-image {
192
192
  padding: 0;
193
193
  margin: 0;
194
+ position: relative;
194
195
 
195
196
  img {
196
197
  width: 100%;
@@ -127,6 +127,9 @@ $ig-shadow: 0 2px 2px lighten($ig-black, 10%);
127
127
  @include vendor-prefix('user-select', none);
128
128
  -webkit-tap-highlight-color: $ig-transparent;
129
129
  position: relative;
130
+ display: flex;
131
+ justify-content: center;
132
+ align-items: center;
130
133
 
131
134
  &.fullscreen-modal {
132
135
  background: $ig-black;
@@ -151,6 +154,22 @@ $ig-shadow: 0 2px 2px lighten($ig-black, 10%);
151
154
  line-height: 0;
152
155
  top: 0;
153
156
 
157
+ .image-gallery-slide {
158
+ background-color: var(--str-chat__secondary-surface-color);
159
+
160
+ .str-chat__base-image--load-failed {
161
+ height: var(--str-chat__attachment-max-width);
162
+ width: var(--str-chat__attachment-max-width);
163
+ font-size: 0;
164
+ }
165
+
166
+ .str-chat__message-attachment-file--item-download {
167
+ position: absolute;
168
+ left: 0.375rem;
169
+ top: 0.375rem;
170
+ }
171
+ }
172
+
154
173
  &.fullscreen {
155
174
  background: $ig-black;
156
175
 
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const version = "10.22.1";
1
+ export declare const version = "10.22.3";
2
2
  //# sourceMappingURL=version.d.ts.map
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export var version = '10.22.1';
1
+ export var version = '10.22.3';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stream-chat-react",
3
- "version": "10.22.1",
3
+ "version": "10.22.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/",
@@ -30,7 +30,7 @@
30
30
  "dependencies": {
31
31
  "@braintree/sanitize-url": "^6.0.4",
32
32
  "@popperjs/core": "^2.11.5",
33
- "@stream-io/stream-chat-css": "3.15.0",
33
+ "@stream-io/stream-chat-css": "3.16.0",
34
34
  "clsx": "^2.0.0",
35
35
  "dayjs": "^1.10.4",
36
36
  "emoji-mart": "3.0.1",