@fto-consult/expo-ui 6.23.4 → 6.23.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fto-consult/expo-ui",
3
- "version": "6.23.4",
3
+ "version": "6.23.6",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -66,7 +66,7 @@
66
66
  "@emotion/native": "^11.11.0",
67
67
  "@expo/html-elements": "^0.5.1",
68
68
  "@expo/vector-icons": "^13.0.0",
69
- "@fto-consult/common": "^3.26.0",
69
+ "@fto-consult/common": "^3.26.1",
70
70
  "@gorhom/portal": "^1.0.14",
71
71
  "@pchmn/expo-material3-theme": "^1.3.1",
72
72
  "@react-native-async-storage/async-storage": "1.18.2",
@@ -76,9 +76,9 @@ const Provider = ({children,getTableData,navigation,components,convertFiltersToS
76
76
  }
77
77
  }
78
78
  theme.fonts = newTheme.fonts;
79
- const r = typeof extendAppTheme == 'function'? extendAppTheme(theme2) : theme2;
79
+ const r = typeof extendAppTheme == 'function'? extendAppTheme(theme) : theme;
80
80
  return {
81
- ...r,
81
+ ...(isObj(r) ? r : theme),
82
82
  get textFieldMode (){
83
83
  /***** possibilité de charger le mode d'affichage par défaut des champs textuels dans le theme de l'application */
84
84
  if(typeof Theme.current.textFieldMode =='string' && Theme.current.textFieldMode && modes[Theme.current.textFieldMode]){