@umituz/react-native-settings 1.3.10 → 1.3.11
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 +1 -1
- package/src/presentation/components/DisclaimerSetting.tsx +1 -1
- package/src/presentation/components/SettingItem.tsx +4 -4
- package/src/presentation/screens/AppearanceScreen.tsx +2 -1
- package/src/presentation/screens/LanguageSelectionScreen.tsx +2 -1
- package/src/presentation/screens/SettingsScreen.tsx +2 -1
package/package.json
CHANGED
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
} from 'react-native';
|
|
28
28
|
|
|
29
29
|
import { useAppDesignTokens, withAlpha } from '@umituz/react-native-design-system-theme';
|
|
30
|
-
import { AtomicText, AtomicIcon } from '@umituz/react-native-design-system';
|
|
30
|
+
import { AtomicText, AtomicIcon } from '@umituz/react-native-design-system-atoms';
|
|
31
31
|
import { useLocalization } from '@umituz/react-native-localization';
|
|
32
32
|
|
|
33
33
|
type DesignTokens = ReturnType<typeof useAppDesignTokens>;
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
import React from 'react';
|
|
15
15
|
import { View, StyleSheet, Pressable } from 'react-native';
|
|
16
16
|
import { LinearGradient } from 'expo-linear-gradient';
|
|
17
|
-
import { AtomicText, AtomicIcon } from '@umituz/react-native-design-system';
|
|
17
|
+
import { AtomicText, AtomicIcon } from '@umituz/react-native-design-system-atoms';
|
|
18
18
|
import { useAppDesignTokens } from '@umituz/react-native-design-system-theme';
|
|
19
|
-
import type { IconName } from '@umituz/react-native-design-system';
|
|
20
|
-
import type { DesignTokens } from '@umituz/react-native-design-system';
|
|
19
|
+
import type { IconName } from '@umituz/react-native-design-system-atoms';
|
|
20
|
+
import type { DesignTokens } from '@umituz/react-native-design-system-theme';
|
|
21
21
|
|
|
22
22
|
interface SettingItemProps {
|
|
23
23
|
/** Icon name from Lucide library */
|
|
@@ -97,7 +97,7 @@ export const SettingItem: React.FC<SettingItemProps> = ({
|
|
|
97
97
|
{value}
|
|
98
98
|
</AtomicText>
|
|
99
99
|
) : (showChevron ?? true) && onPress ? (
|
|
100
|
-
<AtomicIcon name="ChevronRight" size="sm"
|
|
100
|
+
<AtomicIcon name="ChevronRight" size="sm" customColor={tokens.colors.textSecondary} style={styles.chevron} />
|
|
101
101
|
) : null}
|
|
102
102
|
</View>
|
|
103
103
|
</View>
|
|
@@ -14,7 +14,8 @@ import { View, StyleSheet } from 'react-native';
|
|
|
14
14
|
|
|
15
15
|
import { useNavigation } from '@react-navigation/native';
|
|
16
16
|
import { useDesignSystemTheme, useAppDesignTokens, type DesignTokens } from '@umituz/react-native-design-system-theme';
|
|
17
|
-
import { AtomicText
|
|
17
|
+
import { AtomicText } from '@umituz/react-native-design-system-atoms';
|
|
18
|
+
import { ScreenLayout } from '@umituz/react-native-design-system-organisms';
|
|
18
19
|
import { useLocalization, getLanguageByCode } from '@umituz/react-native-localization';
|
|
19
20
|
import { SettingItem } from '../components/SettingItem';
|
|
20
21
|
|
|
@@ -16,7 +16,8 @@ import {
|
|
|
16
16
|
} from 'react-native';
|
|
17
17
|
import { useNavigation } from '@react-navigation/native';
|
|
18
18
|
import { useAppDesignTokens, withAlpha, STATIC_TOKENS, type DesignTokens } from '@umituz/react-native-design-system-theme';
|
|
19
|
-
import { AtomicIcon, AtomicText
|
|
19
|
+
import { AtomicIcon, AtomicText } from '@umituz/react-native-design-system-atoms';
|
|
20
|
+
import { ScreenLayout } from '@umituz/react-native-design-system-organisms';
|
|
20
21
|
import { useLocalization, searchLanguages, Language, LANGUAGES } from '@umituz/react-native-localization';
|
|
21
22
|
|
|
22
23
|
/**
|
|
@@ -17,7 +17,8 @@ import { useSafeAreaInsets } from 'react-native-safe-area-context';
|
|
|
17
17
|
|
|
18
18
|
import { useNavigation, CommonActions } from '@react-navigation/native';
|
|
19
19
|
import { useDesignSystemTheme, useAppDesignTokens } from '@umituz/react-native-design-system-theme';
|
|
20
|
-
import { ScreenLayout
|
|
20
|
+
import { ScreenLayout } from '@umituz/react-native-design-system-organisms';
|
|
21
|
+
import { AtomicIcon, AtomicText } from '@umituz/react-native-design-system-atoms';
|
|
21
22
|
import { SettingItem } from '../components/SettingItem';
|
|
22
23
|
import { getLanguageByCode, useLocalization } from '@umituz/react-native-localization';
|
|
23
24
|
import { SettingsConfig } from './types';
|