@umituz/react-native-notifications 1.0.2 → 1.0.3
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.
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
import React, { useMemo } from 'react';
|
|
8
8
|
import { View, StyleSheet, ActivityIndicator } from 'react-native';
|
|
9
9
|
import { AtomicIcon, AtomicSwitch, AtomicCard, AtomicText, ScreenLayout, STATIC_TOKENS } from '@umituz/react-native-design-system';
|
|
10
|
-
import { useAppDesignTokens } from '@umituz/react-native-theme';
|
|
10
|
+
import { useAppDesignTokens } from '@umituz/react-native-design-system-theme';
|
|
11
11
|
import { useNotificationSettings } from '../../infrastructure/hooks/useNotificationSettings';
|
|
12
12
|
// Note: Translation function should be provided by the app using this package
|
|
13
13
|
// This is a placeholder - apps should wrap this component with their i18n provider
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationsScreen.js","sourceRoot":"","sources":["../../../src/presentation/screens/NotificationsScreen.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACnE,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAEnI,OAAO,EAAE,kBAAkB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"NotificationsScreen.js","sourceRoot":"","sources":["../../../src/presentation/screens/NotificationsScreen.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACnE,OAAO,EAAE,UAAU,EAA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,WAAW,EAAE;QACX,aAAa,EAAE,KAAK;QACpB,UAAU,EAAE,QAAQ;KACrB;IACD,aAAa,EAAE;QACb,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;QACV,YAAY,EAAE,EAAE;QAChB,eAAe,EAAE,MAAM,CAAC,MAAM,CAAC,gBAAgB;QAC/C,cAAc,EAAE,QAAQ;QACxB,UAAU,EAAE,QAAQ;QACpB,WAAW,EAAE,aAAa,CAAC,OAAO,CAAC,EAAE;KACtC;IACD,aAAa,EAAE;QACb,IAAI,EAAE,CAAC;QACP,WAAW,EAAE,aAAa,CAAC,OAAO,CAAC,EAAE;KACtC;CACF,CAAC,CAAC;AAEH,eAAe,mBAAmB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umituz/react-native-notifications",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Offline-first local notifications system for React Native apps using expo-notifications",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"@react-native-async-storage/async-storage": "^2.2.0",
|
|
35
35
|
"@umituz/react-native-design-system": "*",
|
|
36
|
-
"@umituz/react-native-theme": "*",
|
|
36
|
+
"@umituz/react-native-design-system-theme": "*",
|
|
37
37
|
"expo-device": "~6.0.2",
|
|
38
38
|
"expo-notifications": "~0.28.0",
|
|
39
39
|
"react": ">=18.2.0",
|
|
@@ -41,11 +41,12 @@
|
|
|
41
41
|
"zustand": "^5.0.2"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@react-native-async-storage/async-storage": "^
|
|
44
|
+
"@react-native-async-storage/async-storage": "^1.21.0",
|
|
45
45
|
"@types/react": "^18.2.45",
|
|
46
46
|
"@types/react-native": "^0.73.0",
|
|
47
|
-
"@umituz/react-native-design-system": "
|
|
48
|
-
"@umituz/react-native-theme": "latest",
|
|
47
|
+
"@umituz/react-native-design-system": "^1.5.28",
|
|
48
|
+
"@umituz/react-native-design-system-theme": "latest",
|
|
49
|
+
"@umituz/react-native-design-system-atoms": "*",
|
|
49
50
|
"expo-device": "~6.0.2",
|
|
50
51
|
"expo-notifications": "~0.28.0",
|
|
51
52
|
"react": "^18.2.0",
|
|
@@ -65,7 +66,7 @@
|
|
|
65
66
|
"dependencies": {
|
|
66
67
|
"@react-native-community/datetimepicker": "^8.5.0",
|
|
67
68
|
"@react-navigation/native": "^7.1.19",
|
|
68
|
-
"@umituz/react-native-
|
|
69
|
+
"@umituz/react-native-design-system-atoms": "*",
|
|
69
70
|
"expo-linear-gradient": "^15.0.7",
|
|
70
71
|
"react-native-safe-area-context": "^5.6.2"
|
|
71
72
|
}
|
|
@@ -9,7 +9,7 @@ import React, { useMemo } from 'react';
|
|
|
9
9
|
import { View, StyleSheet, ActivityIndicator } from 'react-native';
|
|
10
10
|
import { AtomicIcon, AtomicSwitch, AtomicCard, AtomicText, ScreenLayout, STATIC_TOKENS } from '@umituz/react-native-design-system';
|
|
11
11
|
|
|
12
|
-
import { useAppDesignTokens } from '@umituz/react-native-theme';
|
|
12
|
+
import { useAppDesignTokens } from '@umituz/react-native-design-system-theme';
|
|
13
13
|
import { useNotificationSettings } from '../../infrastructure/hooks/useNotificationSettings';
|
|
14
14
|
import type { DesignTokens } from '@umituz/react-native-design-system';
|
|
15
15
|
|