@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fto-consult/expo-ui",
3
- "version": "6.58.4",
3
+ "version": "6.58.5",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "main": "main",
6
6
  "scripts": {
@@ -3,7 +3,7 @@ import {
3
3
  StyleSheet,
4
4
  Animated,
5
5
  SafeAreaView,
6
- Pressable
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
- {open ? <Pressable testID={testID+"_TouchableOpacity"} onPress={close}
120
- pointerEvents={open ? 'auto' : 'none'}
121
- style={[
122
- styles.backdrop,
123
- {
124
- opacity: backdropOpacity,
125
- backgroundColor: colors.backdrop,
126
- },
127
- ]}
128
- >
129
- </Pressable>:null}
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
- //accessibilityComponentType="button"
176
+ accessibilityComponentType="button"
175
177
  //role="button"
176
178
  accessibilityState={{ expanded: open }}
177
179
  style={StyleSheet.flatten([styles.fab, fabStyle])}