@umituz/react-native-settings 4.21.15 → 4.21.17

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-settings",
3
- "version": "4.21.15",
3
+ "version": "4.21.17",
4
4
  "description": "Complete settings hub for React Native apps - consolidated package with settings, about, legal, appearance, feedback, FAQs, rating, and gamification",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -35,11 +35,9 @@
35
35
  "url": "https://github.com/umituz/react-native-settings"
36
36
  },
37
37
  "dependencies": {
38
- "@umituz/react-native-auth": "latest",
39
- "@umituz/react-native-design-system": "latest",
40
- "@umituz/react-native-localization": "latest",
41
- "@umituz/react-native-storage": "latest",
42
- "@umituz/react-native-tanstack": "latest",
38
+ "@umituz/react-native-auth": "*",
39
+ "@umituz/react-native-design-system": "*",
40
+ "@umituz/react-native-localization": "*",
43
41
  "firebase": "^12.7.0"
44
42
  },
45
43
  "peerDependencies": {
@@ -1,4 +1,4 @@
1
- import { storageRepository, unwrap } from "@umituz/react-native-storage";
1
+ import { storageRepository, unwrap } from "@umituz/react-native-design-system";
2
2
  import { IAppearanceRepository } from "../../application/ports/IAppearanceRepository";
3
3
  import { AppearanceSettings } from "../../types";
4
4
 
@@ -9,8 +9,7 @@
9
9
 
10
10
  import React from "react";
11
11
  import { Alert } from "react-native";
12
- import { useAppDesignTokens } from "@umituz/react-native-design-system";
13
- import { storageRepository } from "@umituz/react-native-storage";
12
+ import { useAppDesignTokens, storageRepository } from "@umituz/react-native-design-system";
14
13
  import { SettingsSection } from "../../../../presentation/components/SettingsSection";
15
14
  import { SettingsItemCard } from "../../../../presentation/components/SettingsItemCard";
16
15
 
@@ -3,7 +3,7 @@
3
3
  * Zustand store with persist middleware
4
4
  */
5
5
 
6
- import { createStore } from "@umituz/react-native-storage";
6
+ import { createStore } from "@umituz/react-native-design-system";
7
7
  import type {
8
8
  GamificationState,
9
9
  GamificationActions,
@@ -2,7 +2,7 @@
2
2
  * Simple notification settings hook
3
3
  */
4
4
 
5
- import { createStore } from '@umituz/react-native-storage';
5
+ import { createStore } from '@umituz/react-native-design-system';
6
6
 
7
7
  interface NotificationSettingsState {
8
8
  notificationsEnabled: boolean;
@@ -4,7 +4,7 @@
4
4
  * NO backend, NO user IDs, NO notification history
5
5
  */
6
6
 
7
- import { createStore } from '@umituz/react-native-storage';
7
+ import { createStore } from '@umituz/react-native-design-system';
8
8
 
9
9
  interface NotificationsState {
10
10
  hasPermissions: boolean;
@@ -3,7 +3,7 @@
3
3
  * Manages reminder state with AsyncStorage persistence
4
4
  */
5
5
 
6
- import { createStore } from '@umituz/react-native-storage';
6
+ import { createStore } from '@umituz/react-native-design-system';
7
7
  import type { Reminder, QuietHoursConfig, NotificationPreferences } from '../../../infrastructure/services/types';
8
8
 
9
9
  // ============================================================================
@@ -1,10 +1,10 @@
1
1
  /**
2
2
  * Settings Repository Implementation
3
3
  *
4
- * Handles data access for user settings using @umituz/react-native-storage
4
+ * Handles data access for user settings using @umituz/react-native-design-system
5
5
  */
6
6
 
7
- import { storageRepository, StorageKey, createUserKey } from '@umituz/react-native-storage';
7
+ import { storageRepository, StorageKey, createUserKey } from '@umituz/react-native-design-system';
8
8
  import type { ISettingsRepository, UserSettings, SettingsResult } from '../../application/ports/ISettingsRepository';
9
9
 
10
10
  export class SettingsRepository implements ISettingsRepository {
@@ -8,7 +8,7 @@
8
8
  import React from "react";
9
9
  import { createStackNavigator } from "@react-navigation/stack";
10
10
  import { useLocalization, LanguageSelectionScreen } from "@umituz/react-native-localization";
11
- import { NotificationSettingsScreen } from "@notifications";
11
+ import { NotificationSettingsScreen } from "../../domains/notifications";
12
12
  import { AccountScreen } from "@umituz/react-native-auth";
13
13
  import { useAppDesignTokens } from "@umituz/react-native-design-system";
14
14
 
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  import { useNavigation } from "@react-navigation/native";
3
3
  import { AppearanceSection } from "../../../../domains/appearance/presentation/components/AppearanceSection";
4
- import { NotificationsSection } from "@notifications";
4
+ import { NotificationsSection } from "../../../../domains/notifications";
5
5
  import { useLocalization, getLanguageByCode } from "@umituz/react-native-localization";
6
6
  import { SettingsItemCard } from "../../../components/SettingsItemCard";
7
7
  import type { NormalizedConfig } from "../../utils/normalizeConfig";