@100mslive/roomkit-react 0.3.19-alpha.16 → 0.3.19-alpha.17
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-XE3NUHCX.css → HLSView-AZCOFNO6.css} +3 -3
- package/dist/{HLSView-XE3NUHCX.css.map → HLSView-AZCOFNO6.css.map} +1 -1
- package/dist/{HLSView-U7F2BKBY.js → HLSView-CKVFJMNL.js} +2 -2
- package/dist/{chunk-36E6AAIG.js → chunk-GXVIKYQ2.js} +10 -10
- package/dist/{chunk-36E6AAIG.js.map → chunk-GXVIKYQ2.js.map} +2 -2
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +12 -12
- package/dist/index.cjs.js.map +3 -3
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +12 -12
- package/dist/meta.esbuild.json +24 -24
- package/package.json +7 -7
- package/src/Prebuilt/components/PIP/PIPChat.tsx +11 -4
- /package/dist/{HLSView-U7F2BKBY.js.map → HLSView-CKVFJMNL.js.map} +0 -0
package/package.json
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
"prebuilt",
|
11
11
|
"roomkit"
|
12
12
|
],
|
13
|
-
"version": "0.3.19-alpha.
|
13
|
+
"version": "0.3.19-alpha.17",
|
14
14
|
"author": "100ms",
|
15
15
|
"license": "MIT",
|
16
16
|
"repository": {
|
@@ -75,12 +75,12 @@
|
|
75
75
|
"react": ">=17.0.2 <19.0.0"
|
76
76
|
},
|
77
77
|
"dependencies": {
|
78
|
-
"@100mslive/hls-player": "0.3.19-alpha.
|
78
|
+
"@100mslive/hls-player": "0.3.19-alpha.17",
|
79
79
|
"@100mslive/hms-noise-cancellation": "0.0.1",
|
80
|
-
"@100mslive/hms-virtual-background": "1.13.19-alpha.
|
81
|
-
"@100mslive/hms-whiteboard": "0.0.9-alpha.
|
82
|
-
"@100mslive/react-icons": "0.10.19-alpha.
|
83
|
-
"@100mslive/react-sdk": "0.10.19-alpha.
|
80
|
+
"@100mslive/hms-virtual-background": "1.13.19-alpha.17",
|
81
|
+
"@100mslive/hms-whiteboard": "0.0.9-alpha.17",
|
82
|
+
"@100mslive/react-icons": "0.10.19-alpha.17",
|
83
|
+
"@100mslive/react-sdk": "0.10.19-alpha.17",
|
84
84
|
"@100mslive/types-prebuilt": "0.12.12",
|
85
85
|
"@emoji-mart/data": "^1.0.6",
|
86
86
|
"@emoji-mart/react": "^1.0.1",
|
@@ -117,5 +117,5 @@
|
|
117
117
|
"uuid": "^8.3.2",
|
118
118
|
"worker-timers": "^7.0.40"
|
119
119
|
},
|
120
|
-
"gitHead": "
|
120
|
+
"gitHead": "a05fd0685892417450cf9540fa4cbbea499fcd08"
|
121
121
|
}
|
@@ -50,7 +50,10 @@ export const PIPChat = () => {
|
|
50
50
|
const isLocalPeerBlacklisted = useIsPeerBlacklisted({ local: true });
|
51
51
|
const { elements } = useRoomLayoutConferencingScreen();
|
52
52
|
const message_placeholder = elements?.chat?.message_placeholder || 'Send a message';
|
53
|
-
const canSendChatMessages =
|
53
|
+
const canSendChatMessages =
|
54
|
+
!!elements?.chat?.public_chat_enabled ||
|
55
|
+
!!elements?.chat?.roles_whitelist?.length ||
|
56
|
+
!!elements?.chat?.private_chat_enabled;
|
54
57
|
|
55
58
|
const getChatStatus = useCallback(() => {
|
56
59
|
if (isLocalPeerBlacklisted) return "You've been blocked from sending messages";
|
@@ -114,9 +117,13 @@ export const PIPChat = () => {
|
|
114
117
|
<Text variant="h5" css={{ mt: '$8', c: '$on_surface_high' }}>
|
115
118
|
{canSendChatMessages ? 'Start a conversation' : 'No messages yet'}
|
116
119
|
</Text>
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
+
{canSendChatMessages ? (
|
121
|
+
<Text variant="sm" style={{ maxWidth: '80%', textAlign: 'center', marginTop: '4px' }}>
|
122
|
+
There are no messages here yet. Start a conversation by sending a message.
|
123
|
+
</Text>
|
124
|
+
) : (
|
125
|
+
''
|
126
|
+
)}
|
120
127
|
</div>
|
121
128
|
) : (
|
122
129
|
filteredMessages.map(message => (
|
File without changes
|