@fto-consult/expo-ui 5.11.25 → 5.12.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 CHANGED
@@ -1,122 +1,122 @@
1
- {
2
- "name": "@fto-consult/expo-ui",
3
- "version": "5.11.25",
4
- "description": "Bibliothèque de composants UI Expo,react-native",
5
- "main": "index.js",
6
- "scripts": {
7
- "publish1": "npm publish --access=public",
8
- "unpublish": "npm -f unpublish @fto-consult/expo-ui",
9
- "build-web": "",
10
- "dev": "npx expo start -c --no-minify",
11
- "start": "npx expo start --dev --no-minify",
12
- "start-d": "npx expo start -c --no-dev --no-minify",
13
- "start-p": "npm run start-d",
14
- "expo-start-client": "npx expo start --dev --no-minify --dev-client",
15
- "start-m": "npx expo start - c--dev--no -minify",
16
- "android": "npx expo start --android -c",
17
- "ios": "npx expo start --ios",
18
- "web": "npx expo start --web",
19
- "web-c": "npx expo start --web -c",
20
- "eject": "expo eject",
21
- "emulator": "npm run android-emulator",
22
- "web-server": "npx serve web-build",
23
- "build-android": "eas build --clear-cache -p android --profile preview",
24
- "build-android-local": "eas build --platform android --local",
25
- "build-android-dist": "eas build --clear-cache -p android",
26
- "build-ios": "eas build --clear-cache -p ios --profile preview",
27
- "build-ios-dist": "eas build --clear-cache -p ios",
28
- "install-apk": "adb -s emulator-5554 install myapp.apk",
29
- "android-emulator": "emulator -avd EMULATOR",
30
- "flipper": "npx cross-env METRO_SERVER_PORT=19000 E:\\Studies\\react-native\\debugger\\Flipper-win\\Flipper.exe",
31
- "test:build": "electron-webpack && electron-builder --dir -c.compression=store -c.mac.identity=null",
32
- "compile-electron": "webpack --env platform=electron",
33
- "compile-electron-p": "webpack --config ./electron/webpack.config.js --mode=production",
34
- "electron": "electron ./electron",
35
- "logcat": "adb -d logcat com.ftc.apps.salite1:E > errors.txt",
36
- "logcat-export": "adb -d logcat com.ftc.apps.salite1 *:S > logcat.txt",
37
- "electron-c": "npm run compile-electron && npm run electron",
38
- "electron-p": "npm run compile-electron-p && npm run electron",
39
- "update-app-version": "node ./update-app-version.js",
40
- "find-licenses": "node ./find-licenses.js",
41
- "fix-dependencies": "expo-cli doctor --fix-dependencies",
42
- "delete-node-modules": "rimraf ./**/node_modules",
43
- "modifier-url-remote-git": "git remote set-url origin 'https://borispipo@github.com/borispipo/smart-eneo.git'"
44
- },
45
- "bin": "./bin/index.js",
46
- "repository": {
47
- "type": "git",
48
- "url": "git+https://github.com/borispipo/expo-ui.git"
49
- },
50
- "keywords": [
51
- "Expo",
52
- "React-Native"
53
- ],
54
- "author": "Boris Fouomene",
55
- "license": "ISC",
56
- "bugs": {
57
- "url": "https://github.com/borispipo/expo-ui/issues"
58
- },
59
- "homepage": "https://github.com/borispipo/expo-ui#readme",
60
- "dependencies": {
61
- "@emotion/native": "^11.11.0",
62
- "@expo/html-elements": "^0.5.1",
63
- "@expo/vector-icons": "^13.0.0",
64
- "@fto-consult/common": "^3.18.32",
65
- "@gorhom/portal": "^1.0.14",
66
- "@pchmn/expo-material3-theme": "^1.0.1",
67
- "@react-native-async-storage/async-storage": "1.18.2",
68
- "@react-native-community/datetimepicker": "7.2.0",
69
- "@react-native-community/netinfo": "9.3.10",
70
- "@react-native/assets-registry": "^0.72.0",
71
- "@react-navigation/native": "^6.1.6",
72
- "@react-navigation/native-stack": "^6.9.12",
73
- "@shopify/flash-list": "^1.4.0",
74
- "apexcharts": "^3.41.0",
75
- "expo": "^48.0.19",
76
- "expo-camera": "^13.2.1",
77
- "expo-clipboard": "^4.1.2",
78
- "expo-font": "^11.1.1",
79
- "expo-image-picker": "~14.3.1",
80
- "expo-linking": "~5.0.2",
81
- "expo-sqlite": "~11.3.1",
82
- "expo-status-bar": "~1.6.0",
83
- "expo-system-ui": "~2.4.0",
84
- "expo-web-browser": "~12.3.2",
85
- "file-saver": "^2.0.5",
86
- "fs-extra": "^11.1.1",
87
- "google-libphonenumber": "^3.2.32",
88
- "htmlparser2-without-node-native": "^3.9.2",
89
- "process": "^0.11.10",
90
- "prop-types": "^15.8.1",
91
- "react": "^18.2.0",
92
- "react-content-loader": "^6.2.1",
93
- "react-dom": "^18.2.0",
94
- "react-native": "0.72.1",
95
- "react-native-big-list": "^1.6.1",
96
- "react-native-blob-util": "^0.18.3",
97
- "react-native-gesture-handler": "~2.12.0",
98
- "react-native-iphone-x-helper": "^1.3.1",
99
- "react-native-mime-types": "^2.3.0",
100
- "react-native-paper": "^5.9.1",
101
- "react-native-paper-dates": "^0.18.12",
102
- "react-native-reanimated": "~3.3.0",
103
- "react-native-safe-area-context": "4.6.3",
104
- "react-native-screens": "^3.22.1",
105
- "react-native-svg": "13.9.0",
106
- "react-native-web": "~0.19.6",
107
- "react-native-webview": "13.2.2",
108
- "react-navigation": "^4.4.4",
109
- "react-virtuoso": "^4.3.11",
110
- "sharp-cli": "^4.1.1",
111
- "tippy.js": "^6.3.7",
112
- "websql": "^2.0.3",
113
- "xlsx": "^0.18.5"
114
- },
115
- "devDependencies": {
116
- "@expo/metro-config": "^0.7.1",
117
- "@expo/webpack-config": "^18.0.1",
118
- "babel-plugin-inline-dotenv": "^1.7.0",
119
- "babel-plugin-module-resolver": "^4.1.0",
120
- "babel-plugin-transform-inline-environment-variables": "^0.4.4"
121
- }
122
- }
1
+ {
2
+ "name": "@fto-consult/expo-ui",
3
+ "version": "5.12.1",
4
+ "description": "Bibliothèque de composants UI Expo,react-native",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "publish1": "npm publish --access=public",
8
+ "unpublish": "npm -f unpublish @fto-consult/expo-ui",
9
+ "build-web": "",
10
+ "dev": "npx expo start -c --no-minify",
11
+ "start": "npx expo start --dev --no-minify",
12
+ "start-d": "npx expo start -c --no-dev --no-minify",
13
+ "start-p": "npm run start-d",
14
+ "expo-start-client": "npx expo start --dev --no-minify --dev-client",
15
+ "start-m": "npx expo start - c--dev--no -minify",
16
+ "android": "npx expo start --android -c",
17
+ "ios": "npx expo start --ios",
18
+ "web": "npx expo start --web",
19
+ "web-c": "npx expo start --web -c",
20
+ "eject": "expo eject",
21
+ "emulator": "npm run android-emulator",
22
+ "web-server": "npx serve web-build",
23
+ "build-android": "eas build --clear-cache -p android --profile preview",
24
+ "build-android-local": "eas build --platform android --local",
25
+ "build-android-dist": "eas build --clear-cache -p android",
26
+ "build-ios": "eas build --clear-cache -p ios --profile preview",
27
+ "build-ios-dist": "eas build --clear-cache -p ios",
28
+ "install-apk": "adb -s emulator-5554 install myapp.apk",
29
+ "android-emulator": "emulator -avd EMULATOR",
30
+ "flipper": "npx cross-env METRO_SERVER_PORT=19000 E:\\Studies\\react-native\\debugger\\Flipper-win\\Flipper.exe",
31
+ "test:build": "electron-webpack && electron-builder --dir -c.compression=store -c.mac.identity=null",
32
+ "compile-electron": "webpack --env platform=electron",
33
+ "compile-electron-p": "webpack --config ./electron/webpack.config.js --mode=production",
34
+ "electron": "electron ./electron",
35
+ "logcat": "adb -d logcat com.ftc.apps.salite1:E > errors.txt",
36
+ "logcat-export": "adb -d logcat com.ftc.apps.salite1 *:S > logcat.txt",
37
+ "electron-c": "npm run compile-electron && npm run electron",
38
+ "electron-p": "npm run compile-electron-p && npm run electron",
39
+ "update-app-version": "node ./update-app-version.js",
40
+ "find-licenses": "node ./find-licenses.js",
41
+ "fix-dependencies": "expo-cli doctor --fix-dependencies",
42
+ "delete-node-modules": "rimraf ./**/node_modules",
43
+ "modifier-url-remote-git": "git remote set-url origin 'https://borispipo@github.com/borispipo/smart-eneo.git'"
44
+ },
45
+ "bin": "./bin/index.js",
46
+ "repository": {
47
+ "type": "git",
48
+ "url": "git+https://github.com/borispipo/expo-ui.git"
49
+ },
50
+ "keywords": [
51
+ "Expo",
52
+ "React-Native"
53
+ ],
54
+ "author": "Boris Fouomene",
55
+ "license": "ISC",
56
+ "bugs": {
57
+ "url": "https://github.com/borispipo/expo-ui/issues"
58
+ },
59
+ "homepage": "https://github.com/borispipo/expo-ui#readme",
60
+ "dependencies": {
61
+ "@emotion/native": "^11.11.0",
62
+ "@expo/html-elements": "^0.5.1",
63
+ "@expo/vector-icons": "^13.0.0",
64
+ "@fto-consult/common": "^3.18.32",
65
+ "@gorhom/portal": "^1.0.14",
66
+ "@pchmn/expo-material3-theme": "^1.0.1",
67
+ "@react-native-async-storage/async-storage": "1.17.11",
68
+ "@react-native-community/datetimepicker": "6.7.3",
69
+ "@react-native-community/netinfo": "9.3.7",
70
+ "@react-native/assets-registry": "^0.72.0",
71
+ "@react-navigation/native": "^6.1.6",
72
+ "@react-navigation/native-stack": "^6.9.12",
73
+ "@shopify/flash-list": "1.4.0",
74
+ "apexcharts": "^3.41.0",
75
+ "expo": "^48.0.19",
76
+ "expo-camera": "~13.2.1",
77
+ "expo-clipboard": "~4.1.2",
78
+ "expo-font": "~11.1.1",
79
+ "expo-image-picker": "~14.1.1",
80
+ "expo-linking": "~4.0.1",
81
+ "expo-sqlite": "~11.1.1",
82
+ "expo-status-bar": "~1.4.4",
83
+ "expo-system-ui": "~2.2.1",
84
+ "expo-web-browser": "~12.1.1",
85
+ "file-saver": "^2.0.5",
86
+ "fs-extra": "^11.1.1",
87
+ "google-libphonenumber": "^3.2.32",
88
+ "htmlparser2-without-node-native": "^3.9.2",
89
+ "process": "^0.11.10",
90
+ "prop-types": "^15.8.1",
91
+ "react": "^18.2.0",
92
+ "react-content-loader": "^6.2.1",
93
+ "react-dom": "^18.2.0",
94
+ "react-native": "0.71.8",
95
+ "react-native-big-list": "^1.6.1",
96
+ "react-native-blob-util": "^0.18.3",
97
+ "react-native-gesture-handler": "~2.9.0",
98
+ "react-native-iphone-x-helper": "^1.3.1",
99
+ "react-native-mime-types": "^2.3.0",
100
+ "react-native-paper": "^5.9.1",
101
+ "react-native-paper-dates": "^0.18.12",
102
+ "react-native-reanimated": "~2.14.4",
103
+ "react-native-safe-area-context": "4.5.0",
104
+ "react-native-screens": "~3.20.0",
105
+ "react-native-svg": "13.4.0",
106
+ "react-native-web": "~0.18.10",
107
+ "react-native-webview": "11.26.0",
108
+ "react-navigation": "^4.4.4",
109
+ "react-virtuoso": "^4.3.11",
110
+ "sharp-cli": "^4.1.1",
111
+ "tippy.js": "^6.3.7",
112
+ "websql": "^2.0.3",
113
+ "xlsx": "^0.18.5"
114
+ },
115
+ "devDependencies": {
116
+ "@expo/metro-config": "^0.7.1",
117
+ "@expo/webpack-config": "^18.0.1",
118
+ "babel-plugin-inline-dotenv": "^1.7.0",
119
+ "babel-plugin-module-resolver": "^4.1.0",
120
+ "babel-plugin-transform-inline-environment-variables": "^0.4.4"
121
+ }
122
+ }
@@ -247,7 +247,7 @@ const styles = StyleSheet.create({
247
247
  text: {
248
248
  minHeight: 24,
249
249
  lineHeight: 24,
250
- verticalAlign: 'center',
250
+ textAlignVertical: 'center',
251
251
  marginVertical: 4,
252
252
  },
253
253
  avatar: {
@@ -5,7 +5,7 @@ import {
5
5
  Keyboard,
6
6
  PanResponder,
7
7
  StyleSheet,
8
- Pressable,
8
+ TouchableWithoutFeedback,
9
9
  I18nManager,
10
10
  } from 'react-native';
11
11
  import PropTypes from "prop-types";
@@ -174,7 +174,7 @@ export default class DrawerLayout extends React.PureComponent {
174
174
  style={{ flex: 1, backgroundColor: 'transparent',flexDirection:permanent?'row':'column'}}
175
175
  {...this._panResponder.panHandlers}
176
176
  >
177
- {!permanent && <Pressable
177
+ {!permanent && <TouchableWithoutFeedback
178
178
  pointerEvents={pointerEvents}
179
179
  testID = {testID+"_TouchableWithoutFeedBack"}
180
180
  onPress={this._onOverlayClick}
@@ -185,7 +185,7 @@ export default class DrawerLayout extends React.PureComponent {
185
185
  ref = {this._backdropRef}
186
186
  style={[styles.overlay,{backgroundColor:theme.colors.backdrop}, animatedOverlayStyles]}
187
187
  />
188
- </Pressable>}
188
+ </TouchableWithoutFeedback>}
189
189
  {posRight && content}
190
190
  <Animated.View
191
191
  testID={testID+"_NavigationViewContainer"}
@@ -1,7 +1,7 @@
1
1
  import {Colors} from "$theme";
2
2
  import React from 'react';
3
3
  import View from "$ecomponents/View";
4
- import {StyleSheet,ScrollView,Pressable} from 'react-native';
4
+ import {StyleSheet,ScrollView,TouchableWithoutFeedback} from 'react-native';
5
5
  //import ScrollView from "$ecomponents/ScrollView";
6
6
  import Label from "$ecomponents/Label";
7
7
  import Icon from "$ecomponents/Icon"
@@ -105,7 +105,7 @@ const ExpandableComponent = React.forwardRef(({
105
105
  />:null;
106
106
  return ( <View testID={testID+"_ExpandableContainer"} {...containerProps}>
107
107
  <Surface {...props} ref={ref} testID={testID}>
108
- <Pressable
108
+ <TouchableWithoutFeedback
109
109
  delayPressIn={0}
110
110
  borderless = {false}
111
111
  accessibilityTraits="button"
@@ -157,7 +157,7 @@ const ExpandableComponent = React.forwardRef(({
157
157
  {!isIconPositionLeft ? expandIcon:null}
158
158
  </View>
159
159
  </View>
160
- </Pressable>
160
+ </TouchableWithoutFeedback>
161
161
  {(autoMountChildren !== false || isExpanded) ? <View testID={testID+'_Content'} {...contentProps}
162
162
  style={[{maxWidth:'100%'},styles.children,contentProps.style,!isExpanded && {opacity:0,height:0}]}
163
163
  >
@@ -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,7 +116,7 @@ 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
- <Pressable testID={testID+"_TouchableOpacity"} onPress={close}>
119
+ <TouchableWithoutFeedback testID={testID+"_TouchableOpacity"} onPress={close}>
120
120
  <Animated.View
121
121
  testID={testID+"_AnimatedView"}
122
122
  pointerEvents={open ? 'auto' : 'none'}
@@ -128,7 +128,7 @@ const FABGroup = ({
128
128
  },
129
129
  ]}
130
130
  />
131
- </Pressable>
131
+ </TouchableWithoutFeedback>
132
132
  <SafeAreaView testID={testID+"_SafeAreaView"} pointerEvents="box-none" style={styles.safeArea}>
133
133
  <View testID={testID+"_ItemsContainer"} style={[styles.itemsContainer]} pointerEvents={open ? 'box-none' : 'none'}>
134
134
  {actions.map((it, i) => {
@@ -1,7 +1,7 @@
1
1
  import Icon from "$ecomponents/Icon";
2
2
  import {defaultObj,isPlainObject,} from "$cutils";
3
3
  import React from "$react";
4
- import {Pressable,StyleSheet} from "react-native";
4
+ import {TouchableWithoutFeedback,StyleSheet} from "react-native";
5
5
  import PropTypes from "prop-types";
6
6
  import { renderItems } from "./utils";
7
7
 
@@ -55,7 +55,7 @@ const MenuComponent = React.forwardRef((props,ref)=>{
55
55
  if(typeof anchor =='function'){
56
56
  anchor = anchor({onPress:openMenu});
57
57
  } else if(React.isValidElement(anchor)){
58
- anchor = <Pressable {...anchorProps} onPress={onPress}>{anchor}</Pressable>
58
+ anchor = <TouchableWithoutFeedback {...anchorProps} onPress={onPress}>{anchor}</TouchableWithoutFeedback>
59
59
  } else if(React.isComponent(anchor)){
60
60
  const A = anchor;
61
61
  anchor = <A
@@ -2,7 +2,7 @@ import React from "$react";
2
2
  import {
3
3
  StyleSheet,
4
4
  View,
5
- Pressable,
5
+ TouchableWithoutFeedback,
6
6
  } from 'react-native';
7
7
  import BackHandler from "$ecomponents/BackHandler";
8
8
  import PropTypes from "prop-types";
@@ -115,7 +115,7 @@ const ModalComponent = React.forwardRef((props,ref)=>{
115
115
  animationDuration = {animationDuration}
116
116
  animationPosition = {animationPosition}
117
117
  >
118
- <Pressable
118
+ <TouchableWithoutFeedback
119
119
  accessibilityLabel={overlayAccessibilityLabel}
120
120
  role="button"
121
121
  disabled={!dismissable}
@@ -132,7 +132,7 @@ const ModalComponent = React.forwardRef((props,ref)=>{
132
132
  backdropProps.style,
133
133
  ]}
134
134
  />
135
- </Pressable>
135
+ </TouchableWithoutFeedback>
136
136
  <Surface testID="RN__ModalComponent__ContentContainer"
137
137
  elevation = {5}
138
138
  {...contentContainerProps}
@@ -348,7 +348,7 @@ const TextFieldComponent = React.forwardRef((componentProps,inputRef)=>{
348
348
  backgroundColor : 'transparent',
349
349
  color : !error && !isFocused && Colors.isValid(flattenStyle.color)?flattenStyle.color : inputColor,
350
350
  fontSize,
351
- verticalAlign: 'center',//multiline ? 'top' : 'center',
351
+ textAlignVertical: 'center',//multiline ? 'top' : 'center',
352
352
  overflow : 'hidden',
353
353
  },
354
354
  isWeb && { outline: 'none'},