@fto-consult/expo-ui 6.58.4 → 6.58.5
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/package.json
CHANGED
@@ -3,7 +3,7 @@ import {
|
|
3
3
|
StyleSheet,
|
4
4
|
Animated,
|
5
5
|
SafeAreaView,
|
6
|
-
|
6
|
+
TouchableWithoutFeedback
|
7
7
|
} from 'react-native';
|
8
8
|
import View from "$ecomponents/View";
|
9
9
|
import {FAB,Text,Card,withTheme} from "react-native-paper";
|
@@ -116,17 +116,19 @@ const FABGroup = ({
|
|
116
116
|
const itemComponentProps = isFormAction ? {Component : FabItem} : {};
|
117
117
|
return (
|
118
118
|
<View testID={testID+"_Container"} pointerEvents="box-none" style={[styles.container, style]}>
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
{
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
119
|
+
<TouchableWithoutFeedback testID={testID+"_TouchableOpacity"} onPress={close}>
|
120
|
+
<Animated.View
|
121
|
+
testID={testID+"_AnimatedView"}
|
122
|
+
pointerEvents={open ? 'auto' : 'none'}
|
123
|
+
style={[
|
124
|
+
styles.backdrop,
|
125
|
+
{
|
126
|
+
opacity: backdropOpacity,
|
127
|
+
backgroundColor: colors.backdrop,
|
128
|
+
},
|
129
|
+
]}
|
130
|
+
/>
|
131
|
+
</TouchableWithoutFeedback>
|
130
132
|
<SafeAreaView testID={testID+"_SafeAreaView"} pointerEvents="box-none" style={styles.safeArea}>
|
131
133
|
<View testID={testID+"_ItemsContainer"} style={[styles.itemsContainer]} pointerEvents={open ? 'box-none' : 'none'}>
|
132
134
|
{actions.map((it, i) => {
|
@@ -171,7 +173,7 @@ const FABGroup = ({
|
|
171
173
|
accessibilityLabel={accessibilityLabel}
|
172
174
|
// @ts-expect-error We keep old a11y props for backwards compat with old RN versions
|
173
175
|
accessibilityTraits="button"
|
174
|
-
|
176
|
+
accessibilityComponentType="button"
|
175
177
|
//role="button"
|
176
178
|
accessibilityState={{ expanded: open }}
|
177
179
|
style={StyleSheet.flatten([styles.fab, fabStyle])}
|