@abihealth/goapp-react-native 1.40.1 → 1.40.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.40.2](https://github.com/abiglobalhealth/react-native-sdk/compare/goapp-react-native-v1.40.1...goapp-react-native-v1.40.2) (2025-08-06)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * reverse button labels ([#234](https://github.com/abiglobalhealth/react-native-sdk/issues/234)) ([1e78b9a](https://github.com/abiglobalhealth/react-native-sdk/commit/1e78b9ab81ddb46f0c6bb9e9c8a6ec19ba57d83c))
9
+
3
10
  ## [1.40.1](https://github.com/abiglobalhealth/react-native-sdk/compare/goapp-react-native-v1.40.0...goapp-react-native-v1.40.1) (2025-08-06)
4
11
 
5
12
 
@@ -27,9 +27,9 @@ var BtnControls = function (_a) {
27
27
  var iconStyle = (_b = videoCallScreen === null || videoCallScreen === void 0 ? void 0 : videoCallScreen.controlButtons) === null || _b === void 0 ? void 0 : _b.iconStyle;
28
28
  return (<react_native_1.View style={[styles.btnContainer, theme.shadows.soft, videoCallScreen === null || videoCallScreen === void 0 ? void 0 : videoCallScreen.buttonsContainerStyle]}>
29
29
  <react_native_1.View style={styles.btnContent}>
30
- <ui_1.VideoCallButton icon={muteLocalAudioStream ? <MicroOffIcon_1.default {...iconStyle}/> : <MicroOnIcon_1.default {...iconStyle}/>} name={'audiomute'} onPress={controlActions.localAudioStream} isMuted={muteLocalAudioStream} customStyle={(_c = videoCallScreen === null || videoCallScreen === void 0 ? void 0 : videoCallScreen.controlButtons) === null || _c === void 0 ? void 0 : _c.containerStyle} accessibilityLabel={muteLocalAudioStream ? t('accessibility.microphone_mute') : t('accessibility.microphone_unmute')}/>
31
- <ui_1.VideoCallButton icon={muteLocalVideoStream ? <VideoOffIcon_1.default {...iconStyle}/> : <VideoOnIcon_1.default {...iconStyle}/>} name={'videomute'} onPress={controlActions.localVideoStream} isMuted={muteLocalVideoStream} customStyle={(_d = videoCallScreen === null || videoCallScreen === void 0 ? void 0 : videoCallScreen.controlButtons) === null || _d === void 0 ? void 0 : _d.containerStyle} accessibilityLabel={muteLocalVideoStream ? t('accessibility.camera_off') : t('accessibility.camera_on')}/>
32
- <ui_1.VideoCallButton disabled={!remoteUsers.length} icon={<SwitchCameraIcon_1.default {...iconStyle}/>} name={'switchCamera'} onPress={controlActions.switchCamera} customStyle={(_e = videoCallScreen === null || videoCallScreen === void 0 ? void 0 : videoCallScreen.controlButtons) === null || _e === void 0 ? void 0 : _e.containerStyle} accessibilityLabel={frontCamera ? t('accessibility.camera_back') : t('accessibility.camera_front')}/>
30
+ <ui_1.VideoCallButton icon={muteLocalAudioStream ? <MicroOffIcon_1.default {...iconStyle}/> : <MicroOnIcon_1.default {...iconStyle}/>} name={'audiomute'} onPress={controlActions.localAudioStream} isMuted={muteLocalAudioStream} customStyle={(_c = videoCallScreen === null || videoCallScreen === void 0 ? void 0 : videoCallScreen.controlButtons) === null || _c === void 0 ? void 0 : _c.containerStyle} accessibilityLabel={muteLocalAudioStream ? t('accessibility.microphone_unmute') : t('accessibility.microphone_mute')}/>
31
+ <ui_1.VideoCallButton icon={muteLocalVideoStream ? <VideoOffIcon_1.default {...iconStyle}/> : <VideoOnIcon_1.default {...iconStyle}/>} name={'videomute'} onPress={controlActions.localVideoStream} isMuted={muteLocalVideoStream} customStyle={(_d = videoCallScreen === null || videoCallScreen === void 0 ? void 0 : videoCallScreen.controlButtons) === null || _d === void 0 ? void 0 : _d.containerStyle} accessibilityLabel={muteLocalVideoStream ? t('accessibility.camera_on') : t('accessibility.camera_off')}/>
32
+ <ui_1.VideoCallButton disabled={!remoteUsers.length} icon={<SwitchCameraIcon_1.default {...iconStyle}/>} name={'switchCamera'} onPress={controlActions.switchCamera} customStyle={(_e = videoCallScreen === null || videoCallScreen === void 0 ? void 0 : videoCallScreen.controlButtons) === null || _e === void 0 ? void 0 : _e.containerStyle} accessibilityLabel={frontCamera ? t('accessibility.camera_front') : t('accessibility.camera_back')}/>
33
33
  {((_f = videoCallScreen === null || videoCallScreen === void 0 ? void 0 : videoCallScreen.EndCallButton) === null || _f === void 0 ? void 0 : _f.customComponent) ? (<videoCallScreen.EndCallButton.customComponent onPress={controlActions.endCall}/>) : (<ui_1.VideoCallButton customStyle={[styles.endCall, (_g = videoCallScreen === null || videoCallScreen === void 0 ? void 0 : videoCallScreen.EndCallButton) === null || _g === void 0 ? void 0 : _g.containerStyle]} icon={<HangUpIcon_1.default {...(_h = videoCallScreen === null || videoCallScreen === void 0 ? void 0 : videoCallScreen.EndCallButton) === null || _h === void 0 ? void 0 : _h.iconStyle}/>} name={'endCall'} onPress={controlActions.endCall} accessibilityLabel={t('accessibility.end_call')}/>)}
34
34
  </react_native_1.View>
35
35
  </react_native_1.View>);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abihealth/goapp-react-native",
3
- "version": "1.40.1",
3
+ "version": "1.40.2",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org/"