@100mslive/roomkit-react 0.3.19-alpha.16 → 0.3.19-alpha.18

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.
@@ -4352,7 +4352,7 @@
4352
4352
  "format": "esm"
4353
4353
  },
4354
4354
  "src/Prebuilt/components/PIP/PIPChat.tsx": {
4355
- "bytes": 10270,
4355
+ "bytes": 10417,
4356
4356
  "imports": [
4357
4357
  {
4358
4358
  "path": "react",
@@ -11276,7 +11276,7 @@
11276
11276
  ],
11277
11277
  "format": "esm"
11278
11278
  },
11279
- "../../../../../../../tmp/tmp-2804-EVwwAh5S4Ct0/191c15c12733/tldraw.css": {
11279
+ "../../../../../../../tmp/tmp-2776-J6WYPoeXsM25/191c1dad1822/tldraw.css": {
11280
11280
  "bytes": 80111,
11281
11281
  "imports": [
11282
11282
  {
@@ -11326,7 +11326,7 @@
11326
11326
  }
11327
11327
  ]
11328
11328
  },
11329
- "../../../../../../../tmp/tmp-2804-EVwwAh5S4Ct0/191c15c125d1/index.css": {
11329
+ "../../../../../../../tmp/tmp-2776-J6WYPoeXsM25/191c1dad10e0/index.css": {
11330
11330
  "bytes": 597,
11331
11331
  "imports": [
11332
11332
  {
@@ -11335,7 +11335,7 @@
11335
11335
  "external": true
11336
11336
  },
11337
11337
  {
11338
- "path": "../../../../../../../tmp/tmp-2804-EVwwAh5S4Ct0/191c15c12733/tldraw.css",
11338
+ "path": "../../../../../../../tmp/tmp-2776-J6WYPoeXsM25/191c1dad1822/tldraw.css",
11339
11339
  "kind": "import-rule",
11340
11340
  "original": "@tldraw/tldraw/tldraw.css"
11341
11341
  }
@@ -11410,7 +11410,7 @@
11410
11410
  "original": "../../common/constants"
11411
11411
  },
11412
11412
  {
11413
- "path": "../../../../../../../tmp/tmp-2804-EVwwAh5S4Ct0/191c15c125d1/index.css",
11413
+ "path": "../../../../../../../tmp/tmp-2776-J6WYPoeXsM25/191c1dad10e0/index.css",
11414
11414
  "kind": "import-statement",
11415
11415
  "original": "@100mslive/hms-whiteboard/index.css"
11416
11416
  },
@@ -13018,7 +13018,7 @@
13018
13018
  "format": "esm"
13019
13019
  },
13020
13020
  "src/Prebuilt/components/EndCallFeedback/FeedbackForm.tsx": {
13021
- "bytes": 10793,
13021
+ "bytes": 10876,
13022
13022
  "imports": [
13023
13023
  {
13024
13024
  "path": "react",
@@ -13114,7 +13114,7 @@
13114
13114
  "format": "esm"
13115
13115
  },
13116
13116
  "src/Prebuilt/components/EndCallFeedback/ThankyouView.tsx": {
13117
- "bytes": 1230,
13117
+ "bytes": 1229,
13118
13118
  "imports": [
13119
13119
  {
13120
13120
  "path": "react",
@@ -15398,7 +15398,7 @@
15398
15398
  "dist/index.js": {
15399
15399
  "imports": [
15400
15400
  {
15401
- "path": "dist/chunk-36E6AAIG.js",
15401
+ "path": "dist/chunk-GJAA5QGZ.js",
15402
15402
  "kind": "import-statement"
15403
15403
  }
15404
15404
  ],
@@ -15474,16 +15474,16 @@
15474
15474
  "inputs": {},
15475
15475
  "bytes": 1882
15476
15476
  },
15477
- "dist/HLSView-U7F2BKBY.js.map": {
15477
+ "dist/HLSView-3P7T5NB4.js.map": {
15478
15478
  "imports": [],
15479
15479
  "exports": [],
15480
15480
  "inputs": {},
15481
15481
  "bytes": 100275
15482
15482
  },
15483
- "dist/HLSView-U7F2BKBY.js": {
15483
+ "dist/HLSView-3P7T5NB4.js": {
15484
15484
  "imports": [
15485
15485
  {
15486
- "path": "dist/chunk-36E6AAIG.js",
15486
+ "path": "dist/chunk-GJAA5QGZ.js",
15487
15487
  "kind": "import-statement"
15488
15488
  },
15489
15489
  {
@@ -15661,7 +15661,7 @@
15661
15661
  "default"
15662
15662
  ],
15663
15663
  "entryPoint": "src/Prebuilt/layouts/HLSView.jsx",
15664
- "cssBundle": "dist/HLSView-XE3NUHCX.css",
15664
+ "cssBundle": "dist/HLSView-LCURPJNT.css",
15665
15665
  "inputs": {
15666
15666
  "src/Prebuilt/layouts/HLSView.jsx": {
15667
15667
  "bytesInOutput": 27671
@@ -15720,13 +15720,13 @@
15720
15720
  },
15721
15721
  "bytes": 61702
15722
15722
  },
15723
- "dist/chunk-36E6AAIG.js.map": {
15723
+ "dist/chunk-GJAA5QGZ.js.map": {
15724
15724
  "imports": [],
15725
15725
  "exports": [],
15726
15726
  "inputs": {},
15727
- "bytes": 3518465
15727
+ "bytes": 3518813
15728
15728
  },
15729
- "dist/chunk-36E6AAIG.js": {
15729
+ "dist/chunk-GJAA5QGZ.js": {
15730
15730
  "imports": [
15731
15731
  {
15732
15732
  "path": "react",
@@ -18269,7 +18269,7 @@
18269
18269
  "external": true
18270
18270
  },
18271
18271
  {
18272
- "path": "dist/HLSView-U7F2BKBY.js",
18272
+ "path": "dist/HLSView-3P7T5NB4.js",
18273
18273
  "kind": "dynamic-import"
18274
18274
  },
18275
18275
  {
@@ -18888,7 +18888,7 @@
18888
18888
  ],
18889
18889
  "inputs": {
18890
18890
  "<define:process.env>": {
18891
- "bytesInOutput": 18012
18891
+ "bytesInOutput": 18014
18892
18892
  },
18893
18893
  "../../node_modules/lodash/lodash.js": {
18894
18894
  "bytesInOutput": 224301
@@ -19335,7 +19335,7 @@
19335
19335
  "bytesInOutput": 2509
19336
19336
  },
19337
19337
  "src/Prebuilt/components/PIP/PIPChat.tsx": {
19338
- "bytesInOutput": 10026
19338
+ "bytesInOutput": 10156
19339
19339
  },
19340
19340
  "src/TextArea/index.tsx": {
19341
19341
  "bytesInOutput": 27
@@ -19781,7 +19781,7 @@
19781
19781
  "src/Prebuilt/components/VideoLayouts/WhiteboardLayout.tsx": {
19782
19782
  "bytesInOutput": 2830
19783
19783
  },
19784
- "../../../../../../../tmp/tmp-2804-EVwwAh5S4Ct0/191c15c125d1/index.css": {
19784
+ "../../../../../../../tmp/tmp-2776-J6WYPoeXsM25/191c1dad10e0/index.css": {
19785
19785
  "bytesInOutput": 0
19786
19786
  },
19787
19787
  "src/Prebuilt/common/PeersSorter.ts": {
@@ -19833,10 +19833,10 @@
19833
19833
  "bytesInOutput": 1602
19834
19834
  },
19835
19835
  "src/Prebuilt/components/EndCallFeedback/FeedbackForm.tsx": {
19836
- "bytesInOutput": 10143
19836
+ "bytesInOutput": 10247
19837
19837
  },
19838
19838
  "src/Prebuilt/components/EndCallFeedback/ThankyouView.tsx": {
19839
- "bytesInOutput": 1290
19839
+ "bytesInOutput": 1289
19840
19840
  },
19841
19841
  "src/Prebuilt/components/MwebLandscapePrompt.tsx": {
19842
19842
  "bytesInOutput": 2928
@@ -19950,7 +19950,7 @@
19950
19950
  "bytesInOutput": 2628
19951
19951
  }
19952
19952
  },
19953
- "bytes": 1459300
19953
+ "bytes": 1459535
19954
19954
  },
19955
19955
  "dist/index.css.map": {
19956
19956
  "imports": [],
@@ -20012,22 +20012,22 @@
20012
20012
  }
20013
20013
  ],
20014
20014
  "inputs": {
20015
- "../../../../../../../tmp/tmp-2804-EVwwAh5S4Ct0/191c15c12733/tldraw.css": {
20015
+ "../../../../../../../tmp/tmp-2776-J6WYPoeXsM25/191c1dad1822/tldraw.css": {
20016
20016
  "bytesInOutput": 75223
20017
20017
  },
20018
- "../../../../../../../tmp/tmp-2804-EVwwAh5S4Ct0/191c15c125d1/index.css": {
20018
+ "../../../../../../../tmp/tmp-2776-J6WYPoeXsM25/191c1dad10e0/index.css": {
20019
20019
  "bytesInOutput": 401
20020
20020
  }
20021
20021
  },
20022
20022
  "bytes": 75901
20023
20023
  },
20024
- "dist/HLSView-XE3NUHCX.css.map": {
20024
+ "dist/HLSView-LCURPJNT.css.map": {
20025
20025
  "imports": [],
20026
20026
  "exports": [],
20027
20027
  "inputs": {},
20028
20028
  "bytes": 122402
20029
20029
  },
20030
- "dist/HLSView-XE3NUHCX.css": {
20030
+ "dist/HLSView-LCURPJNT.css": {
20031
20031
  "imports": [
20032
20032
  {
20033
20033
  "path": "https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap",
@@ -20081,10 +20081,10 @@
20081
20081
  }
20082
20082
  ],
20083
20083
  "inputs": {
20084
- "../../../../../../../tmp/tmp-2804-EVwwAh5S4Ct0/191c15c12733/tldraw.css": {
20084
+ "../../../../../../../tmp/tmp-2776-J6WYPoeXsM25/191c1dad1822/tldraw.css": {
20085
20085
  "bytesInOutput": 75223
20086
20086
  },
20087
- "../../../../../../../tmp/tmp-2804-EVwwAh5S4Ct0/191c15c125d1/index.css": {
20087
+ "../../../../../../../tmp/tmp-2776-J6WYPoeXsM25/191c1dad10e0/index.css": {
20088
20088
  "bytesInOutput": 401
20089
20089
  }
20090
20090
  },
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "prebuilt",
11
11
  "roomkit"
12
12
  ],
13
- "version": "0.3.19-alpha.16",
13
+ "version": "0.3.19-alpha.18",
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.16",
78
+ "@100mslive/hls-player": "0.3.19-alpha.18",
79
79
  "@100mslive/hms-noise-cancellation": "0.0.1",
80
- "@100mslive/hms-virtual-background": "1.13.19-alpha.16",
81
- "@100mslive/hms-whiteboard": "0.0.9-alpha.16",
82
- "@100mslive/react-icons": "0.10.19-alpha.16",
83
- "@100mslive/react-sdk": "0.10.19-alpha.16",
80
+ "@100mslive/hms-virtual-background": "1.13.19-alpha.18",
81
+ "@100mslive/hms-whiteboard": "0.0.9-alpha.18",
82
+ "@100mslive/react-icons": "0.10.19-alpha.18",
83
+ "@100mslive/react-sdk": "0.10.19-alpha.18",
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": "f4e569ef4919bfe1b7b6bc4f82bb9c3f856a50ce"
120
+ "gitHead": "3c238ae391d82fc5a0f7c030df3651e4c67435b7"
121
121
  }
@@ -95,7 +95,7 @@ export const FeedbackContent = ({
95
95
  const reasons = [...selectedReasons].map((value: number) => ratings[indexSelected]?.reasons?.[value] || '');
96
96
  await hmsActions.submitSessionFeedback(
97
97
  {
98
- question: ratings[indexSelected].question,
98
+ question: `${feedback?.title} | ${ratings[indexSelected].question || ''}`,
99
99
  rating: ratings[indexSelected].value || 1,
100
100
  min_rating: 1,
101
101
  max_rating: ratings.length,
@@ -319,6 +319,7 @@ export const FeedbackForm = ({
319
319
  </Checkbox.Indicator>
320
320
  </Checkbox.Root>
321
321
  <Label
322
+ htmlFor={`${option}-${index}`}
322
323
  css={{
323
324
  color: '$on_surface_high',
324
325
  fontSize: '$sm',
@@ -27,7 +27,7 @@ export const ThankyouView = () => {
27
27
  >
28
28
  <UserMusicIcon width="64px" height="64px" />
29
29
  <Flex direction="column" align={isMobile ? 'center' : 'start'}>
30
- <Text variant="h5">Thank you for your feedback!</Text>
30
+ <Text variant="h5">Thank you for your feedback</Text>
31
31
  <Text
32
32
  variant="body1"
33
33
  css={{
@@ -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 = !!elements?.chat?.public_chat_enabled || !!elements?.chat?.roles_whitelist?.length;
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
- <Text variant="sm" style={{ maxWidth: '80%', textAlign: 'center', marginTop: '4px' }}>
118
- There are no messages here yet. Start a conversation by sending a message.
119
- </Text>
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 => (