@fto-consult/expo-ui 8.44.0 → 8.46.0
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/bin/create-app/App.js
CHANGED
@@ -4,7 +4,7 @@ import { registerRootComponent } from 'expo';
|
|
4
4
|
import ExpoUIProvider from "$expo-ui";
|
5
5
|
import screens from "$screens";
|
6
6
|
import drawerItems from "$navigation/drawerItems";
|
7
|
-
import Logo from "$
|
7
|
+
import Logo from "$components/Logo";
|
8
8
|
import drawerSections from "$navigation/drawerSections";
|
9
9
|
import TableDataListScreen from "$screens/TableData/TableDataListScreen";
|
10
10
|
import TableDataScreen from "$screens/TableData/TableDataScreen";
|
package/package.json
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fto-consult/expo-ui",
|
3
|
-
"version": "8.
|
3
|
+
"version": "8.46.0",
|
4
4
|
"description": "Bibliothèque de composants UI Expo,react-native",
|
5
|
+
"react-native-paper-doc": "https://github.com/callstack/react-native-paper/tree/main/docs/docs/guides",
|
5
6
|
"scripts": {
|
6
7
|
"clear-npx-cache": "npx clear-npx-cache",
|
7
8
|
"publish1": "npm publish --access=public",
|
@@ -46,7 +47,7 @@
|
|
46
47
|
"delete-node-modules": "rimraf ./**/node_modules",
|
47
48
|
"dev": "npx expo start --no-dev --minify -c",
|
48
49
|
"modifier-url-remote-git": "git remote set-url origin 'https://borispipo@github.com/borispipo/smart-eneo.git'",
|
49
|
-
"update": "npm i @fto-consult/common@latest @fto-consult/node-utils@latest react-native-web react-native-big-list@latest apexcharts@latest file-saver@latest google-libphonenumber@latest react-native-iphone-x-helper@latest react-native-mime-types@latest react-native-paper@
|
50
|
+
"update": "npm i @fto-consult/common@latest @fto-consult/node-utils@latest react-native-web react-native-big-list@latest apexcharts@latest file-saver@latest google-libphonenumber@latest react-native-iphone-x-helper@latest react-native-mime-types@latest react-native-paper@latest react-native-paper-dates@latest react-virtuoso@latest tippy.js@latest xlsx@latest && npm run update-apexchart && npm run find-licenses"
|
50
51
|
},
|
51
52
|
"bin": {
|
52
53
|
"expo-ui": "./bin/index.js"
|
@@ -68,7 +69,7 @@
|
|
68
69
|
"dependencies": {
|
69
70
|
"@emotion/react": "^11.11.1",
|
70
71
|
"@faker-js/faker": "^8.0.2",
|
71
|
-
"@fto-consult/common": "^4.
|
72
|
+
"@fto-consult/common": "^4.36.0",
|
72
73
|
"@fto-consult/node-utils": "^1.7.1",
|
73
74
|
"apexcharts": "^3.47.0",
|
74
75
|
"crypto-browserify": "^3.12.0",
|
@@ -93,6 +94,7 @@
|
|
93
94
|
"sharp-cli": "^2.1.0",
|
94
95
|
"stream-browserify": "^3.0.0",
|
95
96
|
"tippy.js": "^6.3.7",
|
97
|
+
"vm": "^0.1.0",
|
96
98
|
"xlsx": "^0.18.5"
|
97
99
|
},
|
98
100
|
"devDependencies": {
|
@@ -2,9 +2,16 @@ import "../utils";
|
|
2
2
|
import {DatePickerModal} from 'react-native-paper-dates'
|
3
3
|
import {PaperProvider} from 'react-native-paper';
|
4
4
|
import theme from "$theme";
|
5
|
+
import FontIcon from "$ecomponents/Icon/Font";
|
5
6
|
|
6
7
|
export default function DatePickerModalComponent(props){
|
7
|
-
return <PaperProvider theme={theme}
|
8
|
+
return <PaperProvider theme={theme}
|
9
|
+
settings={{
|
10
|
+
icon: (props) => {
|
11
|
+
return <FontIcon {...props}/>
|
12
|
+
},
|
13
|
+
}}
|
14
|
+
>
|
8
15
|
<DatePickerModal {...props}/>
|
9
16
|
</PaperProvider>
|
10
17
|
}
|
package/src/context/Provider.js
CHANGED
@@ -188,7 +188,7 @@ const Provider = ({children,getTableData,handleHelpScreen,navigation,swrConfig,a
|
|
188
188
|
if(!isObj(theme)) return;
|
189
189
|
const isDark = theme.dark || theme.isDark || isDynamicThemeSupported && isColorShemeDark ;
|
190
190
|
const elevation = defaultObj(theme.elevation,isDark ? pTheme.dark?.elevation : pTheme.light?.elevation)
|
191
|
-
const newTheme = isDark ? { ...MD3DarkTheme,fonts:configureFonts(), colors: pTheme.dark } : { ...MD3LightTheme,fonts:configureFonts(), colors: pTheme.light };
|
191
|
+
const newTheme = isDark ? { ...MD3DarkTheme,fonts:configureFonts({isV3:true}), colors: pTheme.dark } : { ...MD3LightTheme,fonts:configureFonts({isV3:true}), colors: pTheme.light };
|
192
192
|
if(isElectron() && typeof window.ELECTRON =='object' && typeof ELECTRON.setThemeToDark =="function" && typeof ELECTRON.setThemeToLight =="function"){
|
193
193
|
if(isDark){
|
194
194
|
ELECTRON.setThemeToDark();
|
@@ -221,6 +221,7 @@ const Provider = ({children,getTableData,handleHelpScreen,navigation,swrConfig,a
|
|
221
221
|
const _theme = (isObj(r) ? r : theme);
|
222
222
|
const customCSS = _theme.customCSS;
|
223
223
|
extendObj(Theme,{
|
224
|
+
version : 3,
|
224
225
|
elevations : elevation,
|
225
226
|
elevation,
|
226
227
|
colorScheme,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module.exports = {
|
2
2
|
"@fto-consult/expo-ui": {
|
3
|
-
"version": "8.
|
3
|
+
"version": "8.44.0",
|
4
4
|
"url": "https://github.com/borispipo/expo-ui#readme",
|
5
5
|
"license": "ISC"
|
6
6
|
},
|
@@ -39,11 +39,6 @@ module.exports = {
|
|
39
39
|
"url": "https://github.com/pchmn/expo-material3-theme#readme",
|
40
40
|
"license": "MIT"
|
41
41
|
},
|
42
|
-
"@react-native-async-storage/async-storage": {
|
43
|
-
"version": "1.21.0",
|
44
|
-
"url": "https://github.com/react-native-async-storage/async-storage#readme",
|
45
|
-
"license": "MIT"
|
46
|
-
},
|
47
42
|
"@react-native-community/netinfo": {
|
48
43
|
"version": "11.1.0",
|
49
44
|
"url": "https://github.com/react-native-netinfo/react-native-netinfo#readme",
|
@@ -164,7 +159,7 @@ module.exports = {
|
|
164
159
|
"license": "MIT"
|
165
160
|
},
|
166
161
|
"react-native-reanimated": {
|
167
|
-
"version": "3.6.
|
162
|
+
"version": "3.6.3",
|
168
163
|
"url": "https://github.com/software-mansion/react-native-reanimated#readme",
|
169
164
|
"license": "MIT"
|
170
165
|
},
|
@@ -193,9 +188,9 @@ module.exports = {
|
|
193
188
|
"url": "https://github.com/react-native-webview/react-native-webview#readme",
|
194
189
|
"license": "MIT"
|
195
190
|
},
|
196
|
-
"
|
197
|
-
"version": "
|
198
|
-
"url": "https://github.com/
|
191
|
+
"vm": {
|
192
|
+
"version": "0.1.0",
|
193
|
+
"url": "https://github.com/DiegoRBaquero/node-vm#readme",
|
199
194
|
"license": "MIT"
|
200
195
|
}
|
201
196
|
};
|