@100mslive/roomkit-react 0.3.19-alpha.19 → 0.3.19-alpha.20

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.
@@ -11276,7 +11276,7 @@
11276
11276
  ],
11277
11277
  "format": "esm"
11278
11278
  },
11279
- "../../../../../../../tmp/tmp-2798-NugpJJ3ysfiO/191c69955363/tldraw.css": {
11279
+ "../../../../../../../tmp/tmp-2839-eIh06vSBqk7O/191c73d6e9c3/tldraw.css": {
11280
11280
  "bytes": 80111,
11281
11281
  "imports": [
11282
11282
  {
@@ -11326,7 +11326,7 @@
11326
11326
  }
11327
11327
  ]
11328
11328
  },
11329
- "../../../../../../../tmp/tmp-2798-NugpJJ3ysfiO/191c69954ae1/index.css": {
11329
+ "../../../../../../../tmp/tmp-2839-eIh06vSBqk7O/191c73d6e1d1/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-2798-NugpJJ3ysfiO/191c69955363/tldraw.css",
11338
+ "path": "../../../../../../../tmp/tmp-2839-eIh06vSBqk7O/191c73d6e9c3/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-2798-NugpJJ3ysfiO/191c69954ae1/index.css",
11413
+ "path": "../../../../../../../tmp/tmp-2839-eIh06vSBqk7O/191c73d6e1d1/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": 10876,
13021
+ "bytes": 11221,
13022
13022
  "imports": [
13023
13023
  {
13024
13024
  "path": "react",
@@ -13155,7 +13155,7 @@
13155
13155
  "format": "esm"
13156
13156
  },
13157
13157
  "src/Prebuilt/components/EndCallFeedback/Feedback.tsx": {
13158
- "bytes": 1775,
13158
+ "bytes": 1819,
13159
13159
  "imports": [
13160
13160
  {
13161
13161
  "path": "react",
@@ -15398,7 +15398,7 @@
15398
15398
  "dist/index.js": {
15399
15399
  "imports": [
15400
15400
  {
15401
- "path": "dist/chunk-MHOK5QZM.js",
15401
+ "path": "dist/chunk-RJ3RESWY.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-CC47NLMM.js.map": {
15477
+ "dist/HLSView-I7EHD7WK.js.map": {
15478
15478
  "imports": [],
15479
15479
  "exports": [],
15480
15480
  "inputs": {},
15481
15481
  "bytes": 100275
15482
15482
  },
15483
- "dist/HLSView-CC47NLMM.js": {
15483
+ "dist/HLSView-I7EHD7WK.js": {
15484
15484
  "imports": [
15485
15485
  {
15486
- "path": "dist/chunk-MHOK5QZM.js",
15486
+ "path": "dist/chunk-RJ3RESWY.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-NGN2SVVB.css",
15664
+ "cssBundle": "dist/HLSView-LUYYWC2J.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-MHOK5QZM.js.map": {
15723
+ "dist/chunk-RJ3RESWY.js.map": {
15724
15724
  "imports": [],
15725
15725
  "exports": [],
15726
15726
  "inputs": {},
15727
- "bytes": 3518873
15727
+ "bytes": 3519518
15728
15728
  },
15729
- "dist/chunk-MHOK5QZM.js": {
15729
+ "dist/chunk-RJ3RESWY.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-CC47NLMM.js",
18272
+ "path": "dist/HLSView-I7EHD7WK.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": 18011
18891
+ "bytesInOutput": 18030
18892
18892
  },
18893
18893
  "../../node_modules/lodash/lodash.js": {
18894
18894
  "bytesInOutput": 224301
@@ -19781,7 +19781,7 @@
19781
19781
  "src/Prebuilt/components/VideoLayouts/WhiteboardLayout.tsx": {
19782
19782
  "bytesInOutput": 2830
19783
19783
  },
19784
- "../../../../../../../tmp/tmp-2798-NugpJJ3ysfiO/191c69954ae1/index.css": {
19784
+ "../../../../../../../tmp/tmp-2839-eIh06vSBqk7O/191c73d6e1d1/index.css": {
19785
19785
  "bytesInOutput": 0
19786
19786
  },
19787
19787
  "src/Prebuilt/common/PeersSorter.ts": {
@@ -19830,10 +19830,10 @@
19830
19830
  "bytesInOutput": 2245
19831
19831
  },
19832
19832
  "src/Prebuilt/components/EndCallFeedback/Feedback.tsx": {
19833
- "bytesInOutput": 1602
19833
+ "bytesInOutput": 1644
19834
19834
  },
19835
19835
  "src/Prebuilt/components/EndCallFeedback/FeedbackForm.tsx": {
19836
- "bytesInOutput": 10247
19836
+ "bytesInOutput": 10564
19837
19837
  },
19838
19838
  "src/Prebuilt/components/EndCallFeedback/ThankyouView.tsx": {
19839
19839
  "bytesInOutput": 1289
@@ -19950,7 +19950,7 @@
19950
19950
  "bytesInOutput": 2628
19951
19951
  }
19952
19952
  },
19953
- "bytes": 1459536
19953
+ "bytes": 1459914
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-2798-NugpJJ3ysfiO/191c69955363/tldraw.css": {
20015
+ "../../../../../../../tmp/tmp-2839-eIh06vSBqk7O/191c73d6e9c3/tldraw.css": {
20016
20016
  "bytesInOutput": 75223
20017
20017
  },
20018
- "../../../../../../../tmp/tmp-2798-NugpJJ3ysfiO/191c69954ae1/index.css": {
20018
+ "../../../../../../../tmp/tmp-2839-eIh06vSBqk7O/191c73d6e1d1/index.css": {
20019
20019
  "bytesInOutput": 401
20020
20020
  }
20021
20021
  },
20022
20022
  "bytes": 75901
20023
20023
  },
20024
- "dist/HLSView-NGN2SVVB.css.map": {
20024
+ "dist/HLSView-LUYYWC2J.css.map": {
20025
20025
  "imports": [],
20026
20026
  "exports": [],
20027
20027
  "inputs": {},
20028
20028
  "bytes": 122402
20029
20029
  },
20030
- "dist/HLSView-NGN2SVVB.css": {
20030
+ "dist/HLSView-LUYYWC2J.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-2798-NugpJJ3ysfiO/191c69955363/tldraw.css": {
20084
+ "../../../../../../../tmp/tmp-2839-eIh06vSBqk7O/191c73d6e9c3/tldraw.css": {
20085
20085
  "bytesInOutput": 75223
20086
20086
  },
20087
- "../../../../../../../tmp/tmp-2798-NugpJJ3ysfiO/191c69954ae1/index.css": {
20087
+ "../../../../../../../tmp/tmp-2839-eIh06vSBqk7O/191c73d6e1d1/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.19",
13
+ "version": "0.3.19-alpha.20",
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.19",
78
+ "@100mslive/hls-player": "0.3.19-alpha.20",
79
79
  "@100mslive/hms-noise-cancellation": "0.0.1",
80
- "@100mslive/hms-virtual-background": "1.13.19-alpha.19",
81
- "@100mslive/hms-whiteboard": "0.0.9-alpha.19",
82
- "@100mslive/react-icons": "0.10.19-alpha.19",
83
- "@100mslive/react-sdk": "0.10.19-alpha.19",
80
+ "@100mslive/hms-virtual-background": "1.13.19-alpha.20",
81
+ "@100mslive/hms-whiteboard": "0.0.9-alpha.20",
82
+ "@100mslive/react-icons": "0.10.19-alpha.20",
83
+ "@100mslive/react-sdk": "0.10.19-alpha.20",
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": "a52a92d1001635cc2618944c417f6e7a0ae6a684"
120
+ "gitHead": "c9675947ac0d32c0381fc04effd2149a8d938501"
121
121
  }
@@ -48,7 +48,7 @@ export const Feedback = () => {
48
48
  {index === FEEBACK_INDEX.INIT ? (
49
49
  <Flex
50
50
  css={{
51
- p: '$12',
51
+ p: isMobile ? '$10' : '$12',
52
52
  border: '1px solid $border_default',
53
53
  bg: '$surface_dim',
54
54
  borderRadius: !isMobile ? '$3' : '$3 $3 0 0',
@@ -56,6 +56,7 @@ export const Feedback = () => {
56
56
  '@md': {
57
57
  position: 'absolute',
58
58
  bottom: '0',
59
+ w: '100%',
59
60
  },
60
61
  }}
61
62
  direction="column"
@@ -39,7 +39,7 @@ export const FeedbackModal = ({
39
39
  return (
40
40
  <Sheet.Root open={index !== FEEBACK_INDEX.INIT} onOpenChange={onOpenChange}>
41
41
  <Sheet.Content
42
- css={{ bg: '$surface_dim', p: '$12' }}
42
+ css={{ bg: '$surface_dim', p: '$10' }}
43
43
  onPointerDownOutside={avoidDefaultDomBehavior}
44
44
  onInteractOutside={avoidDefaultDomBehavior}
45
45
  >
@@ -75,6 +75,7 @@ export const FeedbackContent = ({
75
75
  }) => {
76
76
  const { feedback } = useRoomLayoutLeaveScreen();
77
77
  const { endpoints } = useHMSPrebuiltContext();
78
+ const isMobile = useMedia(cssConfig.media.md);
78
79
  const hmsActions = useHMSActions();
79
80
  const [comment, setComment] = useState('');
80
81
  const [selectedReasons, setSelectedReasons] = useState(new Set<number>());
@@ -139,7 +140,7 @@ export const FeedbackContent = ({
139
140
  type="submit"
140
141
  icon
141
142
  css={{
142
- alignSelf: 'end',
143
+ alignSelf: isMobile ? '' : 'end',
143
144
  }}
144
145
  onClick={submitFeedback}
145
146
  >
@@ -157,6 +158,7 @@ export const FeedbackHeader = ({
157
158
  ratings: Rating[];
158
159
  indexSelected?: number;
159
160
  }) => {
161
+ const isMobile = useMedia(cssConfig.media.md);
160
162
  const { feedback } = useRoomLayoutLeaveScreen();
161
163
  return (
162
164
  <>
@@ -168,7 +170,7 @@ export const FeedbackHeader = ({
168
170
  }}
169
171
  >
170
172
  <Text
171
- variant="h5"
173
+ variant={isMobile ? 'h6' : 'h5'}
172
174
  css={{
173
175
  c: '$on_surface_high',
174
176
  fontStyle: 'normal',
@@ -177,7 +179,7 @@ export const FeedbackHeader = ({
177
179
  {feedback?.title || 'How was your experience?'}
178
180
  </Text>
179
181
  <Text
180
- variant="body1"
182
+ variant={isMobile ? 'body2' : 'body1'}
181
183
  css={{
182
184
  c: '$on_surface_medium',
183
185
  opacity: 0.9,
@@ -192,9 +194,13 @@ export const FeedbackHeader = ({
192
194
  ) : null}
193
195
  </Flex>
194
196
  <Flex
197
+ justify="between"
195
198
  css={{
196
199
  gap: '$17',
197
200
  c: '$on_surface_high',
201
+ '@md': {
202
+ gap: '0',
203
+ },
198
204
  }}
199
205
  >
200
206
  {ratings.map((element, index) => {
@@ -219,12 +225,15 @@ export const FeedbackHeader = ({
219
225
  pb: '$1',
220
226
  cursor: 'pointer',
221
227
  opacity: indexSelected === index || indexSelected === FEEBACK_INDEX.INIT ? 1 : 0.2,
228
+ '@md': {
229
+ fontSize: '$h5',
230
+ },
222
231
  }}
223
232
  >
224
233
  {element.emoji}
225
234
  </Text>
226
235
  <Text
227
- variant="body1"
236
+ variant={isMobile ? 'body2' : 'body1'}
228
237
  css={{
229
238
  c:
230
239
  indexSelected === index || indexSelected === FEEBACK_INDEX.INIT