@umituz/react-native-design-system 2.9.69 → 2.9.70

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": "@umituz/react-native-design-system",
3
- "version": "2.9.69",
3
+ "version": "2.9.70",
4
4
  "description": "Universal design system for React Native apps - Consolidated package with atoms, molecules, organisms, theme, typography, responsive, safe area, exception, infinite scroll, UUID, image, timezone, offline, onboarding, and loading utilities",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -124,17 +124,22 @@
124
124
  "eslint-plugin-react": "^7.37.5",
125
125
  "eslint-plugin-react-hooks": "^7.0.1",
126
126
  "eslint-plugin-react-native": "^5.0.0",
127
- "expo-application": "~5.9.1",
128
- "expo-clipboard": "~8.0.7",
129
- "expo-crypto": "~14.0.8",
130
- "expo-device": "~7.0.2",
131
- "expo-file-system": "^19.0.21",
132
- "expo-font": "~14.0.9",
133
- "expo-haptics": "~14.0.8",
127
+ "expo-application": "~7.0.8",
128
+ "expo-clipboard": "~8.0.8",
129
+ "expo-constants": "~18.0.13",
130
+ "expo-crypto": "~15.0.8",
131
+ "expo-device": "~8.0.10",
132
+ "expo-file-system": "~19.0.21",
133
+ "expo-font": "~14.0.10",
134
+ "expo-haptics": "~15.0.8",
134
135
  "expo-image": "~3.0.11",
135
- "expo-localization": "~17.0.7",
136
- "expo-network": "~8.0.0",
137
- "expo-secure-store": "~14.0.8",
136
+ "expo-image-manipulator": "~14.0.8",
137
+ "expo-image-picker": "~17.0.10",
138
+ "expo-localization": "~17.0.8",
139
+ "expo-media-library": "~18.2.1",
140
+ "expo-modules-core": "~3.0.29",
141
+ "expo-network": "~8.0.8",
142
+ "expo-secure-store": "~15.0.8",
138
143
  "expo-sharing": "~14.0.8",
139
144
  "expo-video": "~3.0.15",
140
145
  "i18next": "^25.0.0",
@@ -3,7 +3,7 @@
3
3
  * Utilities for handling media files (base64, downloads, file operations)
4
4
  */
5
5
 
6
- import { File, Paths } from "expo-file-system/next";
6
+ import { File as ExpoFile, Paths } from "expo-file-system/next";
7
7
 
8
8
  interface FileWithType {
9
9
  readonly type: string;
@@ -52,7 +52,7 @@ export const toDataUrl = (str: string): string => {
52
52
  export const saveBase64ToFile = async (base64Data: string): Promise<string> => {
53
53
  const timestamp = Date.now();
54
54
  const filename = `media_${timestamp}.jpg`;
55
- const file = new File(Paths.cache, filename);
55
+ const file = new ExpoFile(Paths.cache, filename);
56
56
 
57
57
  const pureBase64 = base64Data.replace(/^data:image\/\w+;base64,/, "");
58
58
  const binaryString = atob(pureBase64);
@@ -72,7 +72,7 @@ export const downloadMediaToFile = async (url: string, isVideo: boolean): Promis
72
72
  const timestamp = Date.now();
73
73
  const extension = isVideo ? "mp4" : "jpg";
74
74
  const filename = `media_${timestamp}.${extension}`;
75
- const file = new File(Paths.cache, filename);
75
+ const file = new ExpoFile(Paths.cache, filename);
76
76
 
77
77
  const response = await fetch(url);
78
78
  if (!response.ok) {