@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 +4 -6
- package/src/domains/appearance/infrastructure/repositories/AppearanceRepository.ts +1 -1
- package/src/domains/dev/presentation/components/DevSettingsSection.tsx +1 -2
- package/src/domains/gamification/store/gamificationStore.ts +1 -1
- package/src/domains/notifications/infrastructure/hooks/useNotificationSettings.ts +1 -1
- package/src/domains/notifications/infrastructure/storage/NotificationsStore.ts +1 -1
- package/src/domains/notifications/reminders/infrastructure/storage/RemindersStore.ts +1 -1
- package/src/infrastructure/repositories/SettingsRepository.ts +2 -2
- package/src/presentation/navigation/SettingsStackNavigator.tsx +1 -1
- package/src/presentation/screens/components/sections/FeatureSettingsSection.tsx +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umituz/react-native-settings",
|
|
3
|
-
"version": "4.21.
|
|
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": "
|
|
39
|
-
"@umituz/react-native-design-system": "
|
|
40
|
-
"@umituz/react-native-localization": "
|
|
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-
|
|
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
|
* Manages reminder state with AsyncStorage persistence
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { createStore } from '@umituz/react-native-
|
|
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-
|
|
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-
|
|
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 "
|
|
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 "
|
|
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";
|