@100mslive/roomkit-react 0.3.19-alpha.21 → 0.3.19-alpha.23

Sign up to get free protection for your applications and to get access to all the features.
@@ -2525,7 +2525,7 @@
2525
2525
  "format": "esm"
2526
2526
  },
2527
2527
  "src/Prebuilt/AppStateContext.tsx": {
2528
- "bytes": 3380,
2528
+ "bytes": 3448,
2529
2529
  "imports": [
2530
2530
  {
2531
2531
  "path": "react",
@@ -3571,7 +3571,7 @@
3571
3571
  "format": "esm"
3572
3572
  },
3573
3573
  "src/Prebuilt/components/Leave/LeaveSessionContent.tsx": {
3574
- "bytes": 1759,
3574
+ "bytes": 1786,
3575
3575
  "imports": [
3576
3576
  {
3577
3577
  "path": "react",
@@ -5749,7 +5749,7 @@
5749
5749
  "format": "cjs"
5750
5750
  },
5751
5751
  "../hms-video-store/dist/index.js": {
5752
- "bytes": 367254,
5752
+ "bytes": 367521,
5753
5753
  "imports": [
5754
5754
  {
5755
5755
  "path": "../../node_modules/reselect/es/index.js",
@@ -11276,7 +11276,7 @@
11276
11276
  ],
11277
11277
  "format": "esm"
11278
11278
  },
11279
- "../../../../../../../tmp/tmp-2787-ML3m8OWdcDXB/191c756d6be2/tldraw.css": {
11279
+ "../../../../../../../tmp/tmp-2864-N64XEUByUxXs/191d6826e893/tldraw.css": {
11280
11280
  "bytes": 80111,
11281
11281
  "imports": [
11282
11282
  {
@@ -11326,7 +11326,7 @@
11326
11326
  }
11327
11327
  ]
11328
11328
  },
11329
- "../../../../../../../tmp/tmp-2787-ML3m8OWdcDXB/191c756d65d0/index.css": {
11329
+ "../../../../../../../tmp/tmp-2864-N64XEUByUxXs/191d6826e862/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-2787-ML3m8OWdcDXB/191c756d6be2/tldraw.css",
11338
+ "path": "../../../../../../../tmp/tmp-2864-N64XEUByUxXs/191d6826e893/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-2787-ML3m8OWdcDXB/191c756d65d0/index.css",
11413
+ "path": "../../../../../../../tmp/tmp-2864-N64XEUByUxXs/191d6826e862/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": 11221,
13021
+ "bytes": 11240,
13022
13022
  "imports": [
13023
13023
  {
13024
13024
  "path": "react",
@@ -15398,7 +15398,7 @@
15398
15398
  "dist/index.js": {
15399
15399
  "imports": [
15400
15400
  {
15401
- "path": "dist/chunk-IRF6KLC6.js",
15401
+ "path": "dist/chunk-SWW5QHGK.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-LQU6IEZQ.js.map": {
15477
+ "dist/HLSView-NHITRVLF.js.map": {
15478
15478
  "imports": [],
15479
15479
  "exports": [],
15480
15480
  "inputs": {},
15481
15481
  "bytes": 100275
15482
15482
  },
15483
- "dist/HLSView-LQU6IEZQ.js": {
15483
+ "dist/HLSView-NHITRVLF.js": {
15484
15484
  "imports": [
15485
15485
  {
15486
- "path": "dist/chunk-IRF6KLC6.js",
15486
+ "path": "dist/chunk-SWW5QHGK.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-SQ7GMQJS.css",
15664
+ "cssBundle": "dist/HLSView-KHHD75BA.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-IRF6KLC6.js.map": {
15723
+ "dist/chunk-SWW5QHGK.js.map": {
15724
15724
  "imports": [],
15725
15725
  "exports": [],
15726
15726
  "inputs": {},
15727
- "bytes": 3519539
15727
+ "bytes": 3520480
15728
15728
  },
15729
- "dist/chunk-IRF6KLC6.js": {
15729
+ "dist/chunk-SWW5QHGK.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-LQU6IEZQ.js",
18272
+ "path": "dist/HLSView-NHITRVLF.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": 18033
18892
18892
  },
18893
18893
  "../../node_modules/lodash/lodash.js": {
18894
18894
  "bytesInOutput": 224301
@@ -18915,7 +18915,7 @@
18915
18915
  "bytesInOutput": 615
18916
18916
  },
18917
18917
  "../../node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js": {
18918
- "bytesInOutput": 3852
18918
+ "bytesInOutput": 3855
18919
18919
  },
18920
18920
  "../../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js": {
18921
18921
  "bytesInOutput": 7632
@@ -19221,7 +19221,7 @@
19221
19221
  "bytesInOutput": 577
19222
19222
  },
19223
19223
  "src/Prebuilt/AppStateContext.tsx": {
19224
- "bytesInOutput": 2781
19224
+ "bytesInOutput": 2853
19225
19225
  },
19226
19226
  "src/Prebuilt/components/VirtualBackground/VBHandler.tsx": {
19227
19227
  "bytesInOutput": 4246
@@ -19314,7 +19314,7 @@
19314
19314
  "bytesInOutput": 645
19315
19315
  },
19316
19316
  "src/Prebuilt/components/Leave/LeaveSessionContent.tsx": {
19317
- "bytesInOutput": 1790
19317
+ "bytesInOutput": 1783
19318
19318
  },
19319
19319
  "src/Prebuilt/components/Leave/MwebLeaveRoom.tsx": {
19320
19320
  "bytesInOutput": 4835
@@ -19781,7 +19781,7 @@
19781
19781
  "src/Prebuilt/components/VideoLayouts/WhiteboardLayout.tsx": {
19782
19782
  "bytesInOutput": 2830
19783
19783
  },
19784
- "../../../../../../../tmp/tmp-2787-ML3m8OWdcDXB/191c756d65d0/index.css": {
19784
+ "../../../../../../../tmp/tmp-2864-N64XEUByUxXs/191d6826e862/index.css": {
19785
19785
  "bytesInOutput": 0
19786
19786
  },
19787
19787
  "src/Prebuilt/common/PeersSorter.ts": {
@@ -19833,7 +19833,7 @@
19833
19833
  "bytesInOutput": 1664
19834
19834
  },
19835
19835
  "src/Prebuilt/components/EndCallFeedback/FeedbackForm.tsx": {
19836
- "bytesInOutput": 10564
19836
+ "bytesInOutput": 10583
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": 1459916
19953
+ "bytes": 1460024
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-2787-ML3m8OWdcDXB/191c756d6be2/tldraw.css": {
20015
+ "../../../../../../../tmp/tmp-2864-N64XEUByUxXs/191d6826e893/tldraw.css": {
20016
20016
  "bytesInOutput": 75223
20017
20017
  },
20018
- "../../../../../../../tmp/tmp-2787-ML3m8OWdcDXB/191c756d65d0/index.css": {
20018
+ "../../../../../../../tmp/tmp-2864-N64XEUByUxXs/191d6826e862/index.css": {
20019
20019
  "bytesInOutput": 401
20020
20020
  }
20021
20021
  },
20022
20022
  "bytes": 75901
20023
20023
  },
20024
- "dist/HLSView-SQ7GMQJS.css.map": {
20024
+ "dist/HLSView-KHHD75BA.css.map": {
20025
20025
  "imports": [],
20026
20026
  "exports": [],
20027
20027
  "inputs": {},
20028
20028
  "bytes": 122402
20029
20029
  },
20030
- "dist/HLSView-SQ7GMQJS.css": {
20030
+ "dist/HLSView-KHHD75BA.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-2787-ML3m8OWdcDXB/191c756d6be2/tldraw.css": {
20084
+ "../../../../../../../tmp/tmp-2864-N64XEUByUxXs/191d6826e893/tldraw.css": {
20085
20085
  "bytesInOutput": 75223
20086
20086
  },
20087
- "../../../../../../../tmp/tmp-2787-ML3m8OWdcDXB/191c756d65d0/index.css": {
20087
+ "../../../../../../../tmp/tmp-2864-N64XEUByUxXs/191d6826e862/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.21",
13
+ "version": "0.3.19-alpha.23",
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.21",
78
+ "@100mslive/hls-player": "0.3.19-alpha.23",
79
79
  "@100mslive/hms-noise-cancellation": "0.0.1",
80
- "@100mslive/hms-virtual-background": "1.13.19-alpha.21",
81
- "@100mslive/hms-whiteboard": "0.0.9-alpha.21",
82
- "@100mslive/react-icons": "0.10.19-alpha.21",
83
- "@100mslive/react-sdk": "0.10.19-alpha.21",
80
+ "@100mslive/hms-virtual-background": "1.13.19-alpha.23",
81
+ "@100mslive/hms-whiteboard": "0.0.9-alpha.23",
82
+ "@100mslive/react-icons": "0.10.19-alpha.23",
83
+ "@100mslive/react-sdk": "0.10.19-alpha.23",
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": "5201ce15a559d9a81939b5752b9af73cde22c552"
120
+ "gitHead": "6d6c172062d69b0bd667798f32ce3a726dd796c5"
121
121
  }
@@ -68,12 +68,12 @@ export const useAppStateManager = () => {
68
68
  [HMSRoomState.Disconnected, HMSRoomState.Connecting],
69
69
  [HMSRoomState.Disconnected, HMSRoomState.Reconnecting],
70
70
  () => {
71
- setActiveState(
72
- match({ isLeaveScreenEnabled, isPreviewScreenEnabled })
73
- .with({ isLeaveScreenEnabled: true }, () => PrebuiltStates.LEAVE)
71
+ setActiveState(prevState => {
72
+ return match({ isLeaveScreenEnabled, isPreviewScreenEnabled, prevState })
73
+ .with({ isLeaveScreenEnabled: true, prevState: PrebuiltStates.MEETING }, () => PrebuiltStates.LEAVE)
74
74
  .with({ isPreviewScreenEnabled: true }, () => PrebuiltStates.PREVIEW)
75
- .otherwise(() => PrebuiltStates.MEETING),
76
- );
75
+ .otherwise(() => PrebuiltStates.MEETING);
76
+ });
77
77
  VBHandler.reset();
78
78
  redirectToLeave(1000); // to clear toasts after 1 second
79
79
  },
@@ -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: '$10' }}
42
+ css={{ bg: '$surface_dim', p: '$10', overflowY: 'auto' }}
43
43
  onPointerDownOutside={avoidDefaultDomBehavior}
44
44
  onInteractOutside={avoidDefaultDomBehavior}
45
45
  >
@@ -100,7 +100,7 @@ export const InsetTile = ({ peerId }: { peerId?: string }) => {
100
100
  position: 'absolute',
101
101
  bottom: 0,
102
102
  right: 0,
103
- zIndex: 11,
103
+ zIndex: 10,
104
104
  boxShadow: '0 0 8px 0 rgba(0,0,0,0.3)',
105
105
  r: '$2',
106
106
  ...(!minimised
@@ -47,7 +47,9 @@ export const LeaveSessionContent = ({
47
47
  <Button
48
48
  variant="danger"
49
49
  css={{ w: '100%' }}
50
- onClick={async () => await leaveRoom()}
50
+ onClick={async () => {
51
+ await leaveRoom();
52
+ }}
51
53
  id="leaveRoom"
52
54
  data-testid="leave_room"
53
55
  >