@fto-consult/expo-ui 2.27.1 → 2.28.1
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 +3 -3
- package/src/components/BottomSheet/Sheet.js +6 -13
- package/src/components/Countries/resources/countries-normalized.json +1987 -1987
- package/src/components/Countries/resources/countries-with-not-extra.json +1211 -1211
- package/src/components/Countries/resources/countries.sql +243 -243
- package/src/components/Datagrid/Common/Common.js +1 -1
- package/src/components/Date/DatePickerInput/index.js +1 -0
- package/src/components/Filter/BetweenComponent.js +24 -0
- package/src/components/Filter/index.js +97 -36
- package/src/components/Form/Form.js +1 -1
- package/src/components/Form/index.js +0 -3
- /package/src/components/{Form/KeyboardAvoidingView/index.native.js → KeyboardAvoidingView/index.js} +0 -0
- /package/src/components/{Form/KeyboardAvoidingView/index.web.js → KeyboardAvoidingView/index.web.old.js} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fto-consult/expo-ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.28.1",
|
|
4
4
|
"description": "Bibliothèque de composants UI Expo,react-native",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@emotion/native": "^11.10.0",
|
|
62
62
|
"@expo/html-elements": "^0.2.0",
|
|
63
63
|
"@expo/vector-icons": "^13.0.0",
|
|
64
|
-
"@fto-consult/common": "^1.
|
|
64
|
+
"@fto-consult/common": "^1.25.2",
|
|
65
65
|
"@gorhom/portal": "^1.0.14",
|
|
66
66
|
"@react-native-async-storage/async-storage": "~1.17.3",
|
|
67
67
|
"@react-native-community/datetimepicker": "6.5.2",
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
"devDependencies": {
|
|
110
110
|
"@babel/plugin-proposal-export-namespace-from": "^7.18.9",
|
|
111
111
|
"@babel/preset-react": "^7.18.6",
|
|
112
|
-
"@expo/metro-config": "^0.5.
|
|
112
|
+
"@expo/metro-config": "^0.5.2",
|
|
113
113
|
"@expo/webpack-config": "^0.17.3",
|
|
114
114
|
"babel-plugin-inline-dotenv": "^1.7.0",
|
|
115
115
|
"babel-plugin-module-resolver": "^4.1.0",
|
|
@@ -10,7 +10,7 @@ import {isWeb,isNativeMobile} from "$cplatform";
|
|
|
10
10
|
import Divider from "$ecomponents/Divider";
|
|
11
11
|
import {isMobileOrTabletMedia} from "$cplatform/dimensions";
|
|
12
12
|
import APP from "$capp/instance";
|
|
13
|
-
import KeyboardAvoidingView from "$ecomponents/
|
|
13
|
+
import KeyboardAvoidingView from "$ecomponents/KeyboardAvoidingView";
|
|
14
14
|
import {Elevations} from "$ecomponents/Surface";
|
|
15
15
|
import {defaultStr} from "$utils";
|
|
16
16
|
import View from "$ecomponents/View";
|
|
@@ -258,11 +258,6 @@ const BottomSheetComponent = React.forwardRef((props,ref)=> {
|
|
|
258
258
|
activeOpacity={1}
|
|
259
259
|
onPress={() => (closeOnPressMask && dismissable !== false ? closeModal() : null)}
|
|
260
260
|
/>
|
|
261
|
-
<KeyboardAvoidingView
|
|
262
|
-
behavior="padding"
|
|
263
|
-
style={[styles.wrapper]}
|
|
264
|
-
testID = {testID+"_KeyboardAvoidingView"}
|
|
265
|
-
>
|
|
266
261
|
<Animated.View
|
|
267
262
|
{...(!dragFromTopOnly && panResponder.panHandlers)}
|
|
268
263
|
testID = {testID+"_Container"} {...containerProps}
|
|
@@ -289,19 +284,17 @@ const BottomSheetComponent = React.forwardRef((props,ref)=> {
|
|
|
289
284
|
</View>
|
|
290
285
|
<Divider testID = {testID+"_Divider"} style={styles.divider}/>
|
|
291
286
|
</> : null}
|
|
292
|
-
{withScrollView !== false ?
|
|
287
|
+
{withScrollView !== false ?
|
|
293
288
|
<ScrollView testID = {testID+"_ScrollViewContent"} contentProps = {{style:styles.scrollViewContent}} {...scrollViewProps} style={[styles.scrollView,scrollViewProps.style]} alwaysBounceVertical={false}
|
|
294
|
-
|
|
289
|
+
contentContainerStyle={[{ flexGrow: 1,margin:0,paddingBottom:30},scrollViewProps.contentContainerStyle]}
|
|
295
290
|
>
|
|
296
|
-
{children}
|
|
297
|
-
|
|
298
|
-
</>
|
|
291
|
+
<KeyboardAvoidingView testID={testID+"_KeyboardAvoidingView"}>{children}</KeyboardAvoidingView>
|
|
292
|
+
</ScrollView>
|
|
299
293
|
: <View testID = {testID+"_Children"} {...childrenContainerProps} style={[styles.childrenNotScroll,childrenContainerProps.style]}>
|
|
300
|
-
{children}
|
|
294
|
+
<KeyboardAvoidingView testID={testID+"_KeyboardAvoidingView"}>{children}</KeyboardAvoidingView>
|
|
301
295
|
</View>}
|
|
302
296
|
</View>
|
|
303
297
|
</Animated.View>
|
|
304
|
-
</KeyboardAvoidingView>
|
|
305
298
|
</View>
|
|
306
299
|
</Portal>
|
|
307
300
|
);
|