@umituz/react-native-design-system 4.25.40 → 4.25.42

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": "4.25.40",
3
+ "version": "4.25.42",
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",
@@ -225,39 +225,6 @@
225
225
  "expo-application": {
226
226
  "optional": true
227
227
  },
228
- "expo-clipboard": {
229
- "optional": true
230
- },
231
- "expo-crypto": {
232
- "optional": true
233
- },
234
- "expo-device": {
235
- "optional": true
236
- },
237
- "expo-haptics": {
238
- "optional": true
239
- },
240
- "expo-image": {
241
- "optional": true
242
- },
243
- "expo-image-manipulator": {
244
- "optional": true
245
- },
246
- "expo-image-picker": {
247
- "optional": true
248
- },
249
- "expo-network": {
250
- "optional": true
251
- },
252
- "expo-secure-store": {
253
- "optional": true
254
- },
255
- "expo-sharing": {
256
- "optional": true
257
- },
258
- "expo-video": {
259
- "optional": true
260
- },
261
228
  "@react-native-community/datetimepicker": {
262
229
  "optional": true
263
230
  }
@@ -275,7 +242,7 @@
275
242
  "@testing-library/react": "^16.3.1",
276
243
  "@testing-library/react-native": "^13.3.3",
277
244
  "@types/jest": "^30.0.0",
278
- "@types/react": "~19.2.4",
245
+ "@types/react": "~19.0.0",
279
246
  "@types/react-native": "^0.73.0",
280
247
  "@typescript-eslint/eslint-plugin": "^8.50.1",
281
248
  "@typescript-eslint/parser": "^8.50.1",
@@ -46,7 +46,7 @@ export const isTablet = (): boolean => {
46
46
  return Device.deviceType === Device.DeviceType.TABLET;
47
47
  }
48
48
  // Fallback: Platform.isPad (iOS) or screen width >= 600dp (Android)
49
- if (Platform.isPad) return true;
49
+ if (Platform.OS === 'ios' && (Platform as any).isPad) return true;
50
50
  const { width, height } = getScreenDimensions();
51
51
  return Math.min(width, height) >= 600;
52
52
  };