@umituz/react-native-design-system 2.8.15 → 2.8.16

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.8.15",
3
+ "version": "2.8.16",
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, and onboarding utilities",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -1,4 +1,4 @@
1
- import { storageRepository, unwrap } from '@storage';
1
+ import { storageRepository, unwrap } from '../../../storage';
2
2
 
3
3
  const LEGACY_DEVICE_ID_KEY = '@device/persistent_id';
4
4
 
@@ -8,7 +8,7 @@
8
8
  * @layer infrastructure/services
9
9
  */
10
10
 
11
- import { storageRepository, unwrap } from '@storage';
11
+ import { storageRepository, unwrap } from '../../../storage';
12
12
  import type {
13
13
  DeviceFeatureConfig,
14
14
  DeviceFeatureUsage,
@@ -10,7 +10,7 @@
10
10
 
11
11
  import type { ExceptionEntity } from '../../domain/entities/ExceptionEntity';
12
12
  import { ExceptionHandler } from './ExceptionHandler';
13
- import { storageRepository } from '@storage';
13
+ import { storageRepository } from '../../../storage';
14
14
 
15
15
  export class ExceptionLogger {
16
16
  private static readonly STORAGE_KEY = '@exceptions';
@@ -3,7 +3,7 @@
3
3
  * Zustand store for exception state management
4
4
  */
5
5
 
6
- import { createStore } from '@storage';
6
+ import { createStore } from '../../../storage';
7
7
  import type { ExceptionEntity } from '../../domain/entities/ExceptionEntity';
8
8
 
9
9
  interface ExceptionState {
@@ -4,7 +4,7 @@
4
4
  * Handles saving images to the device filesystem
5
5
  */
6
6
 
7
- import { FileSystemService } from '@filesystem';
7
+ import { FileSystemService } from '../../../filesystem';
8
8
  import { ImageValidator } from '../utils/ImageValidator';
9
9
  import { ImageErrorHandler, IMAGE_ERROR_CODES } from '../utils/ImageErrorHandler';
10
10
 
@@ -2,7 +2,7 @@
2
2
  * Alert Store
3
3
  */
4
4
 
5
- import { createStore } from '@storage';
5
+ import { createStore } from '../../storage';
6
6
  import { Alert } from './AlertTypes';
7
7
 
8
8
  interface AlertState {
@@ -3,7 +3,7 @@
3
3
  * Event CRUD operations for calendar store
4
4
  */
5
5
 
6
- import { storageRepository, unwrap } from '@storage';
6
+ import { storageRepository, unwrap } from '../../../../storage';
7
7
  import type { CalendarEvent, CreateCalendarEventRequest, UpdateCalendarEventRequest } from '../../domain/entities/CalendarEvent.entity';
8
8
  import { generateId, STORAGE_KEY, hydrateEvents, handleStorageError, handleStorageSuccess } from './CalendarStore.utils';
9
9
  import type { CalendarState } from './CalendarStore.types';
@@ -3,7 +3,7 @@
3
3
  * Converts AsyncStorageRepository to Zustand-compatible storage
4
4
  */
5
5
 
6
- import { storageRepository } from '@storage';
6
+ import { storageRepository } from '../../../../storage';
7
7
 
8
8
  export const zustandStorage = {
9
9
  getItem: async (name: string): Promise<string | null> => {
@@ -4,7 +4,7 @@
4
4
  * Uses expo-network for universal network detection
5
5
  */
6
6
 
7
- import { createStore } from '@storage';
7
+ import { createStore } from '../../../storage';
8
8
  import type { NetworkState, OfflineState, OfflineActions } from '../../types';
9
9
 
10
10
  const initialState: OfflineState = {
@@ -6,7 +6,7 @@
6
6
  */
7
7
 
8
8
  import { useMemo } from "react";
9
- import { createStore } from "@storage";
9
+ import { createStore } from "../../../storage";
10
10
  import type { OnboardingStoreState } from "./OnboardingStoreState";
11
11
  import { initialOnboardingState } from "./OnboardingStoreState";
12
12
  import { createOnboardingStoreActions } from "./OnboardingStoreActions";
@@ -3,7 +3,7 @@
3
3
  * Single Responsibility: Save and update user answers
4
4
  */
5
5
 
6
- import { storageRepository } from "@storage";
6
+ import { storageRepository } from "../../../../storage";
7
7
  import type { OnboardingUserData } from "../../../domain/entities/OnboardingUserData";
8
8
  import type { OnboardingStoreState } from "../OnboardingStoreState";
9
9
  import { USER_DATA_STORAGE_KEY, handleError, logSuccess } from "./storageHelpers";
@@ -3,7 +3,7 @@
3
3
  * Single Responsibility: Common storage operations and error handling
4
4
  */
5
5
 
6
- import { storageRepository, unwrap } from "@storage";
6
+ import { storageRepository, unwrap } from "../../../../storage";
7
7
  import type { OnboardingUserData } from "../../../domain/entities/OnboardingUserData";
8
8
 
9
9
  export const DEFAULT_STORAGE_KEY = "@onboarding:completed";
@@ -25,7 +25,7 @@
25
25
  * ```
26
26
  */
27
27
 
28
- import { createStore } from '@storage';
28
+ import { createStore } from '../../storage';
29
29
  import type { ThemeMode } from '../core/ColorPalette';
30
30
  import type { CustomThemeColors } from '../core/CustomColors';
31
31
 
@@ -6,7 +6,7 @@
6
6
  * Apps should use this for theme persistence.
7
7
  */
8
8
 
9
- import { storageRepository, unwrap } from '@storage';
9
+ import { storageRepository, unwrap } from '../../../storage';
10
10
  import type { ThemeMode } from '../../core/ColorPalette';
11
11
  import { DESIGN_CONSTANTS } from '../../core/constants/DesignConstants';
12
12
 
@@ -10,7 +10,7 @@
10
10
  * - Syncs with design system global theme store
11
11
  */
12
12
 
13
- import { createStore } from '@storage';
13
+ import { createStore } from '../../../storage';
14
14
  import { lightTheme, darkTheme, type Theme } from '../../core/themes';
15
15
  import { ThemeStorage } from '../storage/ThemeStorage';
16
16
  import { useDesignSystemTheme } from '../globalThemeStore';
@@ -9,7 +9,7 @@
9
9
  */
10
10
 
11
11
  import * as Sharing from 'expo-sharing';
12
- import { FileSystemService } from '@filesystem';
12
+ import { FileSystemService } from '../../../../filesystem';
13
13
  import type { ShareOptions, ShareResult } from '../../domain/entities/Share';
14
14
  import { SharingUtils } from '../../domain/entities/SharingUtils';
15
15