@umituz/react-native-design-system 4.25.52 → 4.25.54

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.ts +8 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umituz/react-native-design-system",
3
- "version": "4.25.52",
3
+ "version": "4.25.54",
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",
package/src/index.ts CHANGED
@@ -38,7 +38,11 @@
38
38
  * /device - DeviceService, useDeviceInfo
39
39
  */
40
40
 
41
- throw new Error(
42
- '[@umituz/react-native-design-system] Barrel import is disabled. ' +
43
- 'Use sub-path imports instead: e.g. "@umituz/react-native-design-system/theme"'
44
- );
41
+ if (__DEV__) {
42
+ console.warn(
43
+ '[@umituz/react-native-design-system] Barrel import is disabled. ' +
44
+ 'Use sub-path imports instead: e.g. "@umituz/react-native-design-system/theme"'
45
+ );
46
+ }
47
+
48
+ export {};