@fto-consult/expo-ui 8.52.3 → 8.52.6
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.js
CHANGED
@@ -33,6 +33,14 @@ module.exports = function(appName,{projectRoot:root}){
|
|
33
33
|
"description": "",
|
34
34
|
"main": "App.js",
|
35
35
|
"tablesDataPath": "./src/database/tables",
|
36
|
+
"theme": {
|
37
|
+
"light": {
|
38
|
+
"primary": "#3D8B5F",
|
39
|
+
"secondary": "#354448",
|
40
|
+
"onPrimary" : "white",
|
41
|
+
"onSecondary" : "white"
|
42
|
+
}
|
43
|
+
},
|
36
44
|
"scripts" : {
|
37
45
|
start : "npx expo start -c",
|
38
46
|
"dev" : "npx expo start --no-dev --minify -c",
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fto-consult/expo-ui",
|
3
|
-
"version": "8.52.
|
3
|
+
"version": "8.52.6",
|
4
4
|
"description": "Bibliothèque de composants UI Expo,react-native",
|
5
5
|
"react-native-paper-doc": "https://github.com/callstack/react-native-paper/tree/main/docs/docs/guides",
|
6
6
|
"scripts": {
|
@@ -19,7 +19,6 @@ import {modes} from "$ecomponents/TextField/utils";
|
|
19
19
|
import { useColorScheme } from "react-native";
|
20
20
|
import {createMaterial3Theme,getMaterial3Theme} from "@pchmn/expo-material3-theme";
|
21
21
|
import notify from "$cnotify";
|
22
|
-
import appConfig from "$capp/config";
|
23
22
|
|
24
23
|
const mColors = [
|
25
24
|
{
|
@@ -73,7 +73,7 @@ const Notifications = forwardRef(({testID,items:cItems,menuProps,title,container
|
|
73
73
|
>
|
74
74
|
{title !== false ? (
|
75
75
|
React.isValidElement(title)? title : <Label fontSize={17} textBold primary>
|
76
|
-
Notifications{
|
76
|
+
Notifications : {items.length?.formatNumber()}
|
77
77
|
</Label>
|
78
78
|
) : null}
|
79
79
|
{clearAllButton !== false && (React.isValidElement(clearAllButton)? clearAllButton :
|
@@ -94,9 +94,6 @@ const Notifications = forwardRef(({testID,items:cItems,menuProps,title,container
|
|
94
94
|
Effacer tout
|
95
95
|
</Button>
|
96
96
|
) || null}
|
97
|
-
<Label success textBold>
|
98
|
-
{items.length?.formatNumber()}
|
99
|
-
</Label>
|
100
97
|
</HStack>
|
101
98
|
<Divider style={[theme.styles.w100, theme.styles.mt1]} />
|
102
99
|
</View>
|