@abihealth/goapp-react-native 1.40.2 → 1.40.3
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.3](https://github.com/abiglobalhealth/react-native-sdk/compare/goapp-react-native-v1.40.2...goapp-react-native-v1.40.3) (2025-08-06)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* including accessibility role button ([#236](https://github.com/abiglobalhealth/react-native-sdk/issues/236)) ([992a4bc](https://github.com/abiglobalhealth/react-native-sdk/commit/992a4bc9510195cea37ead4493c2efcf93bf1fbf))
|
|
9
|
+
|
|
3
10
|
## [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
11
|
|
|
5
12
|
|
|
@@ -93,7 +93,7 @@ exports.Button = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
93
93
|
shadow && theme.shadows.soft,
|
|
94
94
|
style,
|
|
95
95
|
(_a = Button === null || Button === void 0 ? void 0 : Button[variant]) === null || _a === void 0 ? void 0 : _a.containerStyle
|
|
96
|
-
]} onPress={onPress} disabled={loading || props.disabled} accessibilityLabel={children} accessibilityState={{ disabled: loading || props.disabled }}>
|
|
96
|
+
]} onPress={onPress} disabled={loading || props.disabled} accessibilityLabel={children} accessibilityState={{ disabled: loading || props.disabled }} accessibilityRole="button">
|
|
97
97
|
{loading ? (<LoadingHeart_1.LoadingHeart />) : (<>
|
|
98
98
|
{icon}
|
|
99
99
|
{children && (<Text_1.Text style={[
|
|
@@ -25,7 +25,7 @@ var VideoCallButton = function (props) {
|
|
|
25
25
|
var theme = (0, useTheme_1.useTheme)();
|
|
26
26
|
var styles = getStyles(theme);
|
|
27
27
|
var _a = props.disabled, disabled = _a === void 0 ? false : _a, icon = props.icon, _b = props.isMuted, isMuted = _b === void 0 ? false : _b, _c = props.customStyle, customStyle = _c === void 0 ? {} : _c, accessibilityLabel = props.accessibilityLabel;
|
|
28
|
-
return (<react_native_1.TouchableOpacity style={styles.buttonPress} disabled={disabled} onPress={props.onPress} accessibilityLabel={accessibilityLabel}>
|
|
28
|
+
return (<react_native_1.TouchableOpacity style={styles.buttonPress} disabled={disabled} onPress={props.onPress} accessibilityLabel={accessibilityLabel} accessibilityRole="button" accessibilityState={{ disabled: disabled }}>
|
|
29
29
|
<react_native_1.View style={[styles.buttonControl, customStyle, theme.shadows.soft, isMuted ? { opacity: 0.3 } : {}]}>{icon}</react_native_1.View>
|
|
30
30
|
</react_native_1.TouchableOpacity>);
|
|
31
31
|
};
|