@100mslive/react-native-room-kit 0.1.0 → 0.2.0
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.
- package/lib/commonjs/Icons/Hamburger/assets/hamburger.png +0 -0
- package/lib/commonjs/Icons/Hamburger/assets/hamburger@2x.png +0 -0
- package/lib/commonjs/Icons/Hamburger/assets/hamburger@3x.png +0 -0
- package/lib/commonjs/Icons/Radio/assets/radio-xlarge.png +0 -0
- package/lib/commonjs/Icons/Radio/assets/radio-xlarge@2x.png +0 -0
- package/lib/commonjs/Icons/Radio/assets/radio-xlarge@3x.png +0 -0
- package/lib/commonjs/Icons/Radio/index.js +29 -1
- package/lib/commonjs/Icons/Radio/index.js.map +1 -1
- package/lib/commonjs/Icons/Stop/assets/stop.png +0 -0
- package/lib/commonjs/Icons/Stop/assets/stop@2x.png +0 -0
- package/lib/commonjs/Icons/Stop/assets/stop@3x.png +0 -0
- package/lib/commonjs/Icons/Stop/index.js.map +1 -1
- package/lib/commonjs/components/CompanyLogo.js +1 -1
- package/lib/commonjs/components/CompanyLogo.js.map +1 -1
- package/lib/commonjs/components/DisplayView.js +3 -2
- package/lib/commonjs/components/DisplayView.js.map +1 -1
- package/lib/commonjs/components/Footer.js +9 -4
- package/lib/commonjs/components/Footer.js.map +1 -1
- package/lib/commonjs/components/HMSHLSNotStarted.js +27 -19
- package/lib/commonjs/components/HMSHLSNotStarted.js.map +1 -1
- package/lib/commonjs/components/HMSManageLeave.js +18 -30
- package/lib/commonjs/components/HMSManageLeave.js.map +1 -1
- package/lib/commonjs/components/HMSManageRaiseHand.js +2 -15
- package/lib/commonjs/components/HMSManageRaiseHand.js.map +1 -1
- package/lib/commonjs/components/HMSRecordingIndicator.js +1 -1
- package/lib/commonjs/components/HMSRecordingIndicator.js.map +1 -1
- package/lib/commonjs/components/Meeting.js +2 -1
- package/lib/commonjs/components/Meeting.js.map +1 -1
- package/lib/commonjs/components/MeetingScreenContent.js +2 -1
- package/lib/commonjs/components/MeetingScreenContent.js.map +1 -1
- package/lib/commonjs/components/RoomSettingsModalContent.js +2 -1
- package/lib/commonjs/components/RoomSettingsModalContent.js.map +1 -1
- package/lib/commonjs/components/StatusBar.js +7 -5
- package/lib/commonjs/components/StatusBar.js.map +1 -1
- package/lib/commonjs/components/StopRecordingModalContent.js.map +1 -1
- package/lib/commonjs/hooks-util.js.map +1 -1
- package/lib/commonjs/redux/actions/index.js.map +1 -1
- package/lib/commonjs/redux/reducers/appState.js.map +1 -1
- package/lib/commonjs/utils/functions.js +1 -1
- package/lib/module/Icons/Hamburger/assets/hamburger.png +0 -0
- package/lib/module/Icons/Hamburger/assets/hamburger@2x.png +0 -0
- package/lib/module/Icons/Hamburger/assets/hamburger@3x.png +0 -0
- package/lib/module/Icons/Radio/assets/radio-xlarge.png +0 -0
- package/lib/module/Icons/Radio/assets/radio-xlarge@2x.png +0 -0
- package/lib/module/Icons/Radio/assets/radio-xlarge@3x.png +0 -0
- package/lib/module/Icons/Radio/index.js +30 -2
- package/lib/module/Icons/Radio/index.js.map +1 -1
- package/lib/module/Icons/Stop/assets/stop.png +0 -0
- package/lib/module/Icons/Stop/assets/stop@2x.png +0 -0
- package/lib/module/Icons/Stop/assets/stop@3x.png +0 -0
- package/lib/module/Icons/Stop/index.js.map +1 -1
- package/lib/module/components/CompanyLogo.js +1 -1
- package/lib/module/components/CompanyLogo.js.map +1 -1
- package/lib/module/components/DisplayView.js +3 -2
- package/lib/module/components/DisplayView.js.map +1 -1
- package/lib/module/components/Footer.js +10 -5
- package/lib/module/components/Footer.js.map +1 -1
- package/lib/module/components/HMSHLSNotStarted.js +29 -21
- package/lib/module/components/HMSHLSNotStarted.js.map +1 -1
- package/lib/module/components/HMSManageLeave.js +18 -30
- package/lib/module/components/HMSManageLeave.js.map +1 -1
- package/lib/module/components/HMSManageRaiseHand.js +2 -15
- package/lib/module/components/HMSManageRaiseHand.js.map +1 -1
- package/lib/module/components/HMSRecordingIndicator.js +1 -1
- package/lib/module/components/HMSRecordingIndicator.js.map +1 -1
- package/lib/module/components/Meeting.js +2 -1
- package/lib/module/components/Meeting.js.map +1 -1
- package/lib/module/components/MeetingScreenContent.js +2 -1
- package/lib/module/components/MeetingScreenContent.js.map +1 -1
- package/lib/module/components/RoomSettingsModalContent.js +3 -2
- package/lib/module/components/RoomSettingsModalContent.js.map +1 -1
- package/lib/module/components/StatusBar.js +7 -5
- package/lib/module/components/StatusBar.js.map +1 -1
- package/lib/module/components/StopRecordingModalContent.js.map +1 -1
- package/lib/module/hooks-util.js.map +1 -1
- package/lib/module/redux/actions/index.js.map +1 -1
- package/lib/module/redux/reducers/appState.js.map +1 -1
- package/lib/module/utils/functions.js +1 -1
- package/lib/typescript/Icons/Radio/index.d.ts +7 -3
- package/lib/typescript/Icons/Radio/index.d.ts.map +1 -1
- package/lib/typescript/Icons/Stop/index.d.ts.map +1 -1
- package/lib/typescript/components/DisplayView.d.ts.map +1 -1
- package/lib/typescript/components/Footer.d.ts.map +1 -1
- package/lib/typescript/components/HMSHLSNotStarted.d.ts.map +1 -1
- package/lib/typescript/components/HMSManageLeave.d.ts.map +1 -1
- package/lib/typescript/components/HMSManageRaiseHand.d.ts.map +1 -1
- package/lib/typescript/components/HMSRecordingIndicator.d.ts.map +1 -1
- package/lib/typescript/components/RoomSettingsModalContent.d.ts.map +1 -1
- package/lib/typescript/components/StatusBar.d.ts +2 -1
- package/lib/typescript/components/StatusBar.d.ts.map +1 -1
- package/lib/typescript/components/StopRecordingModalContent.d.ts.map +1 -1
- package/lib/typescript/hooks-util.d.ts.map +1 -1
- package/lib/typescript/redux/actions/index.d.ts.map +1 -1
- package/lib/typescript/redux/reducers/appState.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/Icons/Hamburger/assets/hamburger.png +0 -0
- package/src/Icons/Hamburger/assets/hamburger@2x.png +0 -0
- package/src/Icons/Hamburger/assets/hamburger@3x.png +0 -0
- package/src/Icons/Radio/assets/radio-xlarge.png +0 -0
- package/src/Icons/Radio/assets/radio-xlarge@2x.png +0 -0
- package/src/Icons/Radio/assets/radio-xlarge@3x.png +0 -0
- package/src/Icons/Radio/index.tsx +53 -4
- package/src/Icons/Stop/assets/stop.png +0 -0
- package/src/Icons/Stop/assets/stop@2x.png +0 -0
- package/src/Icons/Stop/assets/stop@3x.png +0 -0
- package/src/Icons/Stop/index.tsx +1 -4
- package/src/components/CompanyLogo.tsx +1 -1
- package/src/components/DisplayView.tsx +1 -2
- package/src/components/Footer.tsx +32 -27
- package/src/components/HLSView.tsx +1 -1
- package/src/components/HMSHLSNotStarted.tsx +26 -20
- package/src/components/HMSManageLeave.tsx +14 -20
- package/src/components/HMSManageRaiseHand.tsx +2 -16
- package/src/components/HMSRecordingIndicator.tsx +6 -4
- package/src/components/Header.tsx +3 -3
- package/src/components/Meeting.tsx +1 -1
- package/src/components/MeetingScreenContent.tsx +1 -1
- package/src/components/RoomSettingsModalContent.tsx +3 -2
- package/src/components/StatusBar.tsx +6 -4
- package/src/components/StopRecordingModalContent.tsx +3 -1
- package/src/hooks-util.ts +5 -4
- package/src/redux/actions/index.ts +3 -1
- package/src/redux/reducers/appState.ts +4 -1
- package/src/utils/functions.ts +1 -1
package/src/hooks-util.ts
CHANGED
|
@@ -145,7 +145,8 @@ const useHMSRoomUpdate = (hmsInstance: HMSSDK) => {
|
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
if (type === HMSRoomUpdate.BROWSER_RECORDING_STATE_UPDATED) {
|
|
148
|
-
const startingOrStoppingRecording =
|
|
148
|
+
const startingOrStoppingRecording =
|
|
149
|
+
reduxStore.getState().app.startingOrStoppingRecording;
|
|
149
150
|
|
|
150
151
|
if (startingOrStoppingRecording) {
|
|
151
152
|
dispatch(setStartingOrStoppingRecording(false));
|
|
@@ -1270,7 +1271,7 @@ export const useSafeDimensions = () => {
|
|
|
1270
1271
|
|
|
1271
1272
|
export const useShowChat = (): [
|
|
1272
1273
|
'none' | 'inset' | 'modal',
|
|
1273
|
-
(show: boolean) => void
|
|
1274
|
+
(show: boolean) => void,
|
|
1274
1275
|
] => {
|
|
1275
1276
|
const dispatch = useDispatch();
|
|
1276
1277
|
const isHLSViewer = useIsHLSViewer();
|
|
@@ -1543,7 +1544,7 @@ export const useHMSRoomTypography = (): Typography => {
|
|
|
1543
1544
|
};
|
|
1544
1545
|
|
|
1545
1546
|
export const useHMSRoomStyleSheet = <
|
|
1546
|
-
T extends { [key: string]: StyleProp<ViewStyle | TextStyle | ImageStyle> }
|
|
1547
|
+
T extends { [key: string]: StyleProp<ViewStyle | TextStyle | ImageStyle> },
|
|
1547
1548
|
>(
|
|
1548
1549
|
updater: (theme: Required<Theme>, typography: Required<Typography>) => T,
|
|
1549
1550
|
deps: DependencyList = []
|
|
@@ -1558,7 +1559,7 @@ export const useHMSRoomStyleSheet = <
|
|
|
1558
1559
|
};
|
|
1559
1560
|
|
|
1560
1561
|
export const useHMSRoomStyle = <
|
|
1561
|
-
T extends StyleProp<ViewStyle | TextStyle | ImageStyle
|
|
1562
|
+
T extends StyleProp<ViewStyle | TextStyle | ImageStyle>,
|
|
1562
1563
|
>(
|
|
1563
1564
|
updater: (theme: Required<Theme>, typography: Required<Typography>) => T,
|
|
1564
1565
|
deps: DependencyList = []
|
|
@@ -262,7 +262,9 @@ export const setGridViewActivePage = (pageNumber: number) => ({
|
|
|
262
262
|
payload: { gridViewActivePage: pageNumber },
|
|
263
263
|
});
|
|
264
264
|
|
|
265
|
-
export const setStartingOrStoppingRecording = (
|
|
265
|
+
export const setStartingOrStoppingRecording = (
|
|
266
|
+
startingOrStoppingRecording: boolean
|
|
267
|
+
) => ({
|
|
266
268
|
type: actionTypes.SET_STARTING_OR_STOPPING_RECORDING,
|
|
267
269
|
payload: { startingOrStoppingRecording },
|
|
268
270
|
});
|
|
@@ -197,7 +197,10 @@ const appReducer = (
|
|
|
197
197
|
gridViewActivePage: action.payload.gridViewActivePage,
|
|
198
198
|
};
|
|
199
199
|
case ActionTypes.SET_STARTING_OR_STOPPING_RECORDING:
|
|
200
|
-
return {
|
|
200
|
+
return {
|
|
201
|
+
...state,
|
|
202
|
+
startingOrStoppingRecording: action.payload.startingOrStoppingRecording,
|
|
203
|
+
};
|
|
201
204
|
case HmsStateActionTypes.CLEAR_STATES:
|
|
202
205
|
return INITIAL_STATE;
|
|
203
206
|
default:
|
package/src/utils/functions.ts
CHANGED