@umituz/react-native-design-system 2.0.6 → 2.0.8

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-design-system",
3
- "version": "2.0.6",
3
+ "version": "2.0.8",
4
4
  "description": "Universal design system for React Native apps - Consolidated package with atoms, molecules, organisms, theme, typography, responsive and safe area utilities",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -212,6 +212,7 @@ export const AtomicButton: React.FC<AtomicButtonProps> = React.memo(({
212
212
  </TouchableOpacity>
213
213
  );
214
214
  });
215
+ AtomicButton.displayName = 'AtomicButton';
215
216
 
216
217
  const styles = StyleSheet.create({
217
218
  button: {
@@ -218,6 +218,7 @@ export const AtomicChip: React.FC<AtomicChipProps> = React.memo(({
218
218
 
219
219
  return content;
220
220
  });
221
+ AtomicChip.displayName = 'AtomicChip';
221
222
 
222
223
  // =============================================================================
223
224
  // EXPORTS
@@ -197,12 +197,7 @@ export const AtomicPicker: React.FC<AtomicPickerProps> = ({
197
197
  setSearchQuery(query);
198
198
  };
199
199
 
200
- /**
201
- * Check if option is selected
202
- */
203
- const _isSelected = (optionValue: string): boolean => {
204
- return selectedValues.includes(optionValue);
205
- };
200
+
206
201
 
207
202
  /**
208
203
  * Handle chip removal
@@ -54,4 +54,5 @@ export const PickerChips: React.FC<PickerChipsProps> = React.memo(({
54
54
  ))}
55
55
  </View>
56
56
  );
57
- });
57
+ });
58
+ PickerChips.displayName = 'PickerChips';
@@ -210,4 +210,5 @@ export const PickerModal: React.FC<PickerModalProps> = React.memo(({
210
210
  </View>
211
211
  </Modal>
212
212
  );
213
- });
213
+ });
214
+ PickerModal.displayName = 'PickerModal';
@@ -40,7 +40,7 @@ export interface ScreenHeaderProps {
40
40
  backIconName?: string;
41
41
 
42
42
  /** Custom back button icon color */
43
- backIconColor: 'primary' | 'secondary' | 'error' | 'warning' | 'success' | 'surfaceVariant';
43
+ backIconColor?: 'primary' | 'secondary' | 'error' | 'warning' | 'success' | 'surfaceVariant';
44
44
  }
45
45
 
46
46
  /**
@@ -18,7 +18,7 @@ import {
18
18
  export function App() {
19
19
  return (
20
20
  <SafeAreaProvider>
21
- <YourNavigator />
21
+ <View />
22
22
  </SafeAreaProvider>
23
23
  );
24
24
  }
@@ -35,7 +35,6 @@ export function HomeScreen() {
35
35
  header={
36
36
  <ScreenHeader
37
37
  title="Home"
38
- subtitle="Welcome back"
39
38
  />
40
39
  }
41
40
  // Optional footer
@@ -47,8 +46,8 @@ export function HomeScreen() {
47
46
  </View>
48
47
  }
49
48
  >
50
- <AtomicText type="h1">Welcome to Home</AtomicText>
51
- <AtomicText type="body">
49
+ <AtomicText type="headlineLarge">Welcome to Home</AtomicText>
50
+ <AtomicText type="bodyMedium">
52
51
  This screen uses ScreenLayout with default safe area configuration.
53
52
  </AtomicText>
54
53
  </ScreenLayout>
@@ -63,7 +62,7 @@ export function ModalScreen() {
63
62
  edges={['top', 'bottom']}
64
63
  scrollable={false}
65
64
  >
66
- <AtomicText type="h2">Modal Content</AtomicText>
65
+ <AtomicText type="headlineMedium">Modal Content</AtomicText>
67
66
  </ScreenLayout>
68
67
  );
69
68
  }
@@ -73,7 +72,7 @@ export function CustomScrollScreen() {
73
72
  return (
74
73
  <ScreenLayout scrollable={false}>
75
74
  {/* Your custom scroll component */}
76
- <YourCustomScrollView />
75
+ <View />
77
76
  </ScreenLayout>
78
77
  );
79
78
  }