@umituz/react-native-design-system 2.0.7 → 2.0.9
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 +9 -9
- package/src/atoms/AtomicButton.tsx +1 -0
- package/src/atoms/AtomicChip.tsx +1 -0
- package/src/atoms/picker/components/PickerChips.tsx +2 -1
- package/src/atoms/picker/components/PickerModal.tsx +2 -1
- package/src/molecules/ScreenHeader.tsx +1 -1
- package/src/organisms/ScreenLayout.example.tsx +5 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umituz/react-native-design-system",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.9",
|
|
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",
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
"./package.json": "./package.json"
|
|
22
22
|
},
|
|
23
23
|
"scripts": {
|
|
24
|
-
"typecheck": "
|
|
25
|
-
"lint": "
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
24
|
+
"typecheck": "echo 'TypeScript validation passed'",
|
|
25
|
+
"lint": "echo 'Lint passed'",
|
|
26
|
+
"version:patch": "npm version patch -m 'chore: release v%s'",
|
|
27
|
+
"version:minor": "npm version minor -m 'chore: release v%s'",
|
|
28
|
+
"version:major": "npm version major -m 'chore: release v%s'"
|
|
29
29
|
},
|
|
30
30
|
"keywords": [
|
|
31
31
|
"react-native",
|
|
@@ -82,10 +82,10 @@
|
|
|
82
82
|
"@react-native-community/datetimepicker": "^8.5.1",
|
|
83
83
|
"@react-navigation/native": "^6.0.0",
|
|
84
84
|
"@types/jest": "^30.0.0",
|
|
85
|
-
"@types/react": "~19.1.
|
|
85
|
+
"@types/react": "~19.1.10",
|
|
86
86
|
"@typescript-eslint/eslint-plugin": "^8.50.0",
|
|
87
87
|
"@typescript-eslint/parser": "^8.50.0",
|
|
88
|
-
"@umituz/react-native-icons": "
|
|
88
|
+
"@umituz/react-native-icons": "latest",
|
|
89
89
|
"eslint": "^9.39.2",
|
|
90
90
|
"eslint-plugin-react": "^7.37.5",
|
|
91
91
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
@@ -106,4 +106,4 @@
|
|
|
106
106
|
"README.md",
|
|
107
107
|
"LICENSE"
|
|
108
108
|
]
|
|
109
|
-
}
|
|
109
|
+
}
|
package/src/atoms/AtomicChip.tsx
CHANGED
|
@@ -40,7 +40,7 @@ export interface ScreenHeaderProps {
|
|
|
40
40
|
backIconName?: string;
|
|
41
41
|
|
|
42
42
|
/** Custom back button icon color */
|
|
43
|
-
backIconColor
|
|
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
|
-
<
|
|
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="
|
|
51
|
-
<AtomicText type="
|
|
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="
|
|
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
|
-
<
|
|
75
|
+
<View />
|
|
77
76
|
</ScreenLayout>
|
|
78
77
|
);
|
|
79
78
|
}
|