@100mslive/roomkit-react 0.3.19-alpha.19 → 0.3.19-alpha.20
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-CC47NLMM.js → HLSView-I7EHD7WK.js} +2 -2
- package/dist/{HLSView-NGN2SVVB.css → HLSView-LUYYWC2J.css} +3 -3
- package/dist/{HLSView-NGN2SVVB.css.map → HLSView-LUYYWC2J.css.map} +1 -1
- package/dist/{chunk-MHOK5QZM.js → chunk-RJ3RESWY.js} +23 -13
- package/dist/{chunk-MHOK5QZM.js.map → chunk-RJ3RESWY.js.map} +2 -2
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +25 -15
- 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 +14 -14
- package/dist/meta.esbuild.json +26 -26
- package/package.json +7 -7
- package/src/Prebuilt/components/EndCallFeedback/Feedback.tsx +2 -1
- package/src/Prebuilt/components/EndCallFeedback/FeedbackForm.tsx +14 -5
- /package/dist/{HLSView-CC47NLMM.js.map → HLSView-I7EHD7WK.js.map} +0 -0
package/dist/meta.esbuild.json
CHANGED
@@ -11276,7 +11276,7 @@
|
|
11276
11276
|
],
|
11277
11277
|
"format": "esm"
|
11278
11278
|
},
|
11279
|
-
"../../../../../../../tmp/tmp-
|
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-
|
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-
|
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-
|
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":
|
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":
|
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-
|
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-
|
15477
|
+
"dist/HLSView-I7EHD7WK.js.map": {
|
15478
15478
|
"imports": [],
|
15479
15479
|
"exports": [],
|
15480
15480
|
"inputs": {},
|
15481
15481
|
"bytes": 100275
|
15482
15482
|
},
|
15483
|
-
"dist/HLSView-
|
15483
|
+
"dist/HLSView-I7EHD7WK.js": {
|
15484
15484
|
"imports": [
|
15485
15485
|
{
|
15486
|
-
"path": "dist/chunk-
|
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-
|
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-
|
15723
|
+
"dist/chunk-RJ3RESWY.js.map": {
|
15724
15724
|
"imports": [],
|
15725
15725
|
"exports": [],
|
15726
15726
|
"inputs": {},
|
15727
|
-
"bytes":
|
15727
|
+
"bytes": 3519518
|
15728
15728
|
},
|
15729
|
-
"dist/chunk-
|
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-
|
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":
|
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-
|
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":
|
19833
|
+
"bytesInOutput": 1644
|
19834
19834
|
},
|
19835
19835
|
"src/Prebuilt/components/EndCallFeedback/FeedbackForm.tsx": {
|
19836
|
-
"bytesInOutput":
|
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":
|
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-
|
20015
|
+
"../../../../../../../tmp/tmp-2839-eIh06vSBqk7O/191c73d6e9c3/tldraw.css": {
|
20016
20016
|
"bytesInOutput": 75223
|
20017
20017
|
},
|
20018
|
-
"../../../../../../../tmp/tmp-
|
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-
|
20024
|
+
"dist/HLSView-LUYYWC2J.css.map": {
|
20025
20025
|
"imports": [],
|
20026
20026
|
"exports": [],
|
20027
20027
|
"inputs": {},
|
20028
20028
|
"bytes": 122402
|
20029
20029
|
},
|
20030
|
-
"dist/HLSView-
|
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-
|
20084
|
+
"../../../../../../../tmp/tmp-2839-eIh06vSBqk7O/191c73d6e9c3/tldraw.css": {
|
20085
20085
|
"bytesInOutput": 75223
|
20086
20086
|
},
|
20087
|
-
"../../../../../../../tmp/tmp-
|
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.
|
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.
|
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.
|
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.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": "
|
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: '$
|
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=
|
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=
|
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=
|
236
|
+
variant={isMobile ? 'body2' : 'body1'}
|
228
237
|
css={{
|
229
238
|
c:
|
230
239
|
indexSelected === index || indexSelected === FEEBACK_INDEX.INIT
|
File without changes
|