@umituz/react-native-settings 4.20.2 → 4.20.4

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.20.2",
3
+ "version": "4.20.4",
4
4
  "description": "Complete settings hub for React Native apps - consolidated package with settings, about, legal, appearance, feedback, FAQs, and rating",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -104,7 +104,7 @@ const getStyles = (tokens: ReturnType<typeof useAppDesignTokens>) =>
104
104
  title: {
105
105
  flex: 1,
106
106
  fontWeight: tokens.typography.labelLarge.fontWeight as any,
107
- fontSize: tokens.typography.labelLarge.responsiveFontSize,
107
+ fontSize: tokens.typography.labelLarge.fontSize,
108
108
  },
109
109
 
110
110
  shortMessage: {
@@ -97,7 +97,7 @@ export const FAQItemComponent: React.FC<FAQItemProps> = ({
97
97
  <AtomicIcon
98
98
  name={isExpanded ? 'chevron-up' : 'chevron-down'}
99
99
  size={20}
100
- color={isExpanded ? "onPrimary" : "textSecondary"}
100
+ color={isExpanded ? "onPrimary" : "secondary"}
101
101
  />
102
102
  </View>
103
103
  </TouchableOpacity>
@@ -47,7 +47,7 @@ export const FAQSearchBar: React.FC<FAQSearchBarProps> = ({
47
47
  input: {
48
48
  flex: 1,
49
49
  height: '100%',
50
- fontSize: tokens.typography.bodyMedium.responsiveFontSize,
50
+ fontSize: tokens.typography.bodyMedium.fontSize,
51
51
  color: tokens.colors.textPrimary,
52
52
  },
53
53
  }),
@@ -57,7 +57,7 @@ export const FAQSearchBar: React.FC<FAQSearchBarProps> = ({
57
57
  return (
58
58
  <View style={[styles.container, customStyles?.container]}>
59
59
  <View style={styles.iconContainer}>
60
- <AtomicIcon name="search" size="md" color="textSecondary" />
60
+ <AtomicIcon name="search" size="md" color="secondary" />
61
61
  </View>
62
62
  <TextInput
63
63
  style={[styles.input, customStyles?.input]}
@@ -183,7 +183,7 @@ const getStyles = (tokens: ReturnType<typeof useAppDesignTokens>) =>
183
183
  borderWidth: 1,
184
184
  borderRadius: 8,
185
185
  padding: 12,
186
- fontSize: tokens.typography.bodyMedium.responsiveFontSize,
186
+ fontSize: tokens.typography.bodyMedium.fontSize,
187
187
  },
188
188
  submitButton: {
189
189
  width: "100%",
@@ -160,20 +160,20 @@ const getStyles = (tokens: ReturnType<typeof useAppDesignTokens>) =>
160
160
  padding: 12,
161
161
  },
162
162
  title: {
163
- fontSize: tokens.typography.titleMedium.responsiveFontSize,
163
+ fontSize: tokens.typography.titleMedium.fontSize,
164
164
  fontWeight: "600",
165
165
  marginBottom: 6,
166
166
  },
167
167
  horizontalTitle: {
168
- fontSize: tokens.typography.bodyLarge.responsiveFontSize,
168
+ fontSize: tokens.typography.bodyLarge.fontSize,
169
169
  },
170
170
  description: {
171
- fontSize: tokens.typography.bodyMedium.responsiveFontSize,
171
+ fontSize: tokens.typography.bodyMedium.fontSize,
172
172
  lineHeight: 20,
173
173
  marginBottom: 8,
174
174
  },
175
175
  horizontalDescription: {
176
- fontSize: tokens.typography.bodySmall.responsiveFontSize,
176
+ fontSize: tokens.typography.bodySmall.fontSize,
177
177
  lineHeight: 16,
178
178
  marginBottom: 6,
179
179
  },
@@ -173,7 +173,7 @@ export const VideoTutorialsScreen: React.FC<VideoTutorialsScreenProps> =
173
173
  const getStyles = (tokens: ReturnType<typeof useAppDesignTokens>) =>
174
174
  StyleSheet.create({
175
175
  title: {
176
- fontSize: tokens.typography.headlineLarge.responsiveFontSize,
176
+ fontSize: tokens.typography.headlineLarge.fontSize,
177
177
  fontWeight: "600",
178
178
  marginBottom: 24,
179
179
  },
@@ -181,7 +181,7 @@ const getStyles = (tokens: ReturnType<typeof useAppDesignTokens>) =>
181
181
  marginBottom: 24,
182
182
  },
183
183
  sectionTitle: {
184
- fontSize: tokens.typography.titleLarge.responsiveFontSize,
184
+ fontSize: tokens.typography.titleLarge.fontSize,
185
185
  fontWeight: "500",
186
186
  marginBottom: 12,
187
187
  },