@umituz/react-native-notifications 1.3.16 → 1.3.18

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-notifications",
3
- "version": "1.3.16",
3
+ "version": "1.3.18",
4
4
  "description": "Offline-first local notifications system for React Native apps using expo-notifications",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -4,8 +4,8 @@
4
4
  */
5
5
 
6
6
  import { useCallback } from 'react';
7
- import { useRemindersStore, useQuietHours } from '../../domains/reminders/infrastructure/storage/RemindersStore';
8
- import type { QuietHoursConfig } from '../services/types';
7
+ import { useRemindersStore, useQuietHours } from '../../../reminders/infrastructure/storage/RemindersStore';
8
+ import type { QuietHoursConfig } from '../../../../infrastructure/services/types';
9
9
 
10
10
  export const useQuietHoursActions = () => {
11
11
  const quietHours = useQuietHours();
@@ -8,7 +8,8 @@ import { View, TouchableOpacity, StyleSheet } from 'react-native';
8
8
  import { AtomicText, AtomicIcon, AtomicCard } from '@umituz/react-native-design-system';
9
9
  import { Switch } from 'react-native';
10
10
  import { useAppDesignTokens } from '@umituz/react-native-design-system-theme';
11
- import type { QuietHoursConfig, QuietHoursTranslations } from '../../infrastructure/services/types';
11
+ import { SettingRow } from '../../../../presentation/components/SettingRow';
12
+ import type { QuietHoursConfig, QuietHoursTranslations } from '../../../../infrastructure/services/types';
12
13
 
13
14
  export interface QuietHoursCardProps {
14
15
  config: QuietHoursConfig;
@@ -150,7 +150,11 @@ export const ReminderForm: React.FC<ReminderFormProps> = ({
150
150
 
151
151
  const createStyles = (tokens: ReturnType<typeof useAppDesignTokens>) =>
152
152
  StyleSheet.create({
153
- container: { flex: 1, padding: 16 },
153
+ container: {
154
+ flex: 1,
155
+ padding: 16,
156
+ backgroundColor: tokens.colors.surface,
157
+ },
154
158
  section: { marginBottom: 20 },
155
159
  label: { color: tokens.colors.textPrimary, marginBottom: 8 },
156
160
  input: {
package/src/index.ts CHANGED
@@ -73,7 +73,7 @@ export {
73
73
 
74
74
  export { useNotificationSettings } from './infrastructure/hooks/useNotificationSettings';
75
75
  export { useReminderActions } from './domains/reminders/infrastructure/hooks/useReminderActions';
76
- export { useQuietHoursActions } from './infrastructure/hooks/useQuietHoursActions';
76
+ export { useQuietHoursActions } from './domains/quietHours/infrastructure/hooks/useQuietHoursActions';
77
77
  export { useNotificationSettingsUI } from './presentation/hooks/useNotificationSettingsUI';
78
78
 
79
79
  // ============================================================================
@@ -114,8 +114,8 @@ export type { ReminderFormProps, ReminderFormTranslations } from './domains/remi
114
114
  export { FormButton } from './domains/reminders/presentation/components/FormButton';
115
115
  export type { FormButtonProps } from './domains/reminders/presentation/components/FormButton';
116
116
 
117
- export { QuietHoursCard } from './presentation/components/QuietHoursCard';
118
- export type { QuietHoursCardProps } from './presentation/components/QuietHoursCard';
117
+ export { QuietHoursCard } from './domains/quietHours/presentation/components/QuietHoursCard';
118
+ export type { QuietHoursCardProps } from './domains/quietHours/presentation/components/QuietHoursCard';
119
119
 
120
120
  export { SettingRow } from './presentation/components/SettingRow';
121
121
  export type { SettingRowProps } from './presentation/components/SettingRow';
@@ -7,7 +7,7 @@ import React, { useMemo } from 'react';
7
7
  import { View, StyleSheet, ActivityIndicator, TouchableOpacity } from 'react-native';
8
8
  import { AtomicText, AtomicIcon, AtomicCard, ScreenLayout } from '@umituz/react-native-design-system';
9
9
  import { useAppDesignTokens } from '@umituz/react-native-design-system-theme';
10
- import { QuietHoursCard } from '../components/QuietHoursCard';
10
+ import { QuietHoursCard } from '../../domains/quietHours/presentation/components/QuietHoursCard';
11
11
  import { SettingRow } from '../components/SettingRow';
12
12
  import { useNotificationSettingsUI } from '../hooks/useNotificationSettingsUI';
13
13
  import { useReminders } from '../../domains/reminders/infrastructure/storage/RemindersStore';