@fto-consult/expo-ui 2.0.13 → 2.0.14

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": "2.0.13",
3
+ "version": "2.0.14",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,4 +1,3 @@
1
- import {isMobileNative} from "$cplatform";
2
1
  import {isDesktopMedia} from "$cdimensions";
3
2
 
4
3
  export * from "./DrawerItems/utils";
@@ -7,7 +6,7 @@ let activeItem = null;
7
6
  export const getActiveItem = x=> activeItem;
8
7
  export {default as session} from "./session";
9
8
 
10
- export const DRAWER_WIDTH = isMobileNative()?300:280;
9
+ export const DRAWER_WIDTH = 300;
11
10
 
12
11
  export const MINIMIZED_WIDTH = 85;
13
12
 
@@ -35,5 +34,5 @@ export const setActiveItem = (item,toogleActiveItem)=> {
35
34
  }
36
35
 
37
36
 
38
- export const canBeMinimizedOrPermanent = x=> /*!isMobileNative() && */isDesktopMedia() ? true : false;
37
+ export const canBeMinimizedOrPermanent = x=> isDesktopMedia() ? true : false;
39
38
 
@@ -135,7 +135,7 @@ const styles = StyleSheet.create({
135
135
  labelContainer : {
136
136
  flexDirection : 'column',
137
137
  paddingRight : 5,
138
- maxWidth : 130,
138
+ maxWidth : 150,
139
139
  minWidth : 100,
140
140
  },
141
141
  pseudo : {