@tellescope/chat 1.3.24 → 1.3.25
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.
- package/lib/cjs/chat.d.ts.map +1 -1
- package/lib/cjs/chat.js +1 -7
- package/lib/cjs/chat.js.map +1 -1
- package/lib/esm/chat.d.ts.map +1 -1
- package/lib/esm/chat.js +1 -7
- package/lib/esm/chat.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -5
- package/src/chat.tsx +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tellescope/chat",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.25",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./lib/cjs/index.js",
|
|
6
6
|
"module": "./lib/esm/index.js",
|
|
@@ -35,12 +35,12 @@
|
|
|
35
35
|
"@mui/icons-material": "^5.0.1",
|
|
36
36
|
"@mui/material": "^5.0.2",
|
|
37
37
|
"@tellescope/constants": "^1.3.24",
|
|
38
|
-
"@tellescope/react-components": "^1.3.
|
|
39
|
-
"@tellescope/sdk": "^1.3.
|
|
38
|
+
"@tellescope/react-components": "^1.3.25",
|
|
39
|
+
"@tellescope/sdk": "^1.3.25",
|
|
40
40
|
"@tellescope/types-client": "^1.3.24",
|
|
41
41
|
"@tellescope/types-models": "^1.3.24",
|
|
42
42
|
"@tellescope/types-utilities": "^1.3.20",
|
|
43
|
-
"@tellescope/utilities": "^1.3.
|
|
43
|
+
"@tellescope/utilities": "^1.3.25",
|
|
44
44
|
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
|
45
45
|
"@typescript-eslint/parser": "^4.33.0",
|
|
46
46
|
"eslint": "^7.32.0",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
|
52
52
|
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "b0763c5db209879f150d7289a2e031740b2fb371",
|
|
55
55
|
"publishConfig": {
|
|
56
56
|
"access": "public"
|
|
57
57
|
}
|
package/src/chat.tsx
CHANGED
|
@@ -222,6 +222,7 @@ export const MessageAttachments = ({ message, chatUserId, imageDimensions } : {
|
|
|
222
222
|
marginRight: message.senderId === chatUserId ? 0 : 10,
|
|
223
223
|
marginLeft: message.senderId === chatUserId ? 10 : 0,
|
|
224
224
|
justifyContent: message.senderId === chatUserId ? "flex-end" : "flex-start",
|
|
225
|
+
...imageDimensions,
|
|
225
226
|
}}>
|
|
226
227
|
<SecureImage secureName={a.secureName} alt="image attachment" {...imageDimensions} />
|
|
227
228
|
</Flex>
|
|
@@ -229,6 +230,7 @@ export const MessageAttachments = ({ message, chatUserId, imageDimensions } : {
|
|
|
229
230
|
{message.attachments.filter(a => a.type === 'video').map(a=> (
|
|
230
231
|
<Flex key={a.secureName} style={{
|
|
231
232
|
justifyContent: message.senderId === chatUserId ? "flex-end" : "flex-start",
|
|
233
|
+
...imageDimensions,
|
|
232
234
|
}}>
|
|
233
235
|
<SecureVideo secureName={a.secureName} {...imageDimensions} />
|
|
234
236
|
</Flex>
|