@idealyst/navigation 1.1.1 → 1.1.3

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": "@idealyst/navigation",
3
- "version": "1.1.1",
3
+ "version": "1.1.3",
4
4
  "description": "Cross-platform navigation library for React and React Native",
5
5
  "readme": "README.md",
6
6
  "main": "src/index.ts",
@@ -43,8 +43,8 @@
43
43
  "publish:npm": "npm publish"
44
44
  },
45
45
  "peerDependencies": {
46
- "@idealyst/components": "^1.1.1",
47
- "@idealyst/theme": "^1.1.1",
46
+ "@idealyst/components": "^1.1.3",
47
+ "@idealyst/theme": "^1.1.3",
48
48
  "@react-navigation/bottom-tabs": ">=7.0.0",
49
49
  "@react-navigation/drawer": ">=7.0.0",
50
50
  "@react-navigation/native": ">=7.0.0",
@@ -60,10 +60,10 @@
60
60
  "react-router-dom": ">=6.0.0"
61
61
  },
62
62
  "devDependencies": {
63
- "@idealyst/components": "^1.1.1",
63
+ "@idealyst/components": "^1.1.3",
64
64
  "@idealyst/datagrid": "^1.0.93",
65
65
  "@idealyst/datepicker": "^1.0.93",
66
- "@idealyst/theme": "^1.1.1",
66
+ "@idealyst/theme": "^1.1.3",
67
67
  "@types/react": "^19.1.8",
68
68
  "@types/react-dom": "^19.1.6",
69
69
  "react": "^19.1.0",
@@ -35,7 +35,7 @@ export const DefaultStackLayout: React.FC<DefaultStackLayoutProps> = ({
35
35
 
36
36
  {options.headerTitle && (
37
37
  typeof options.headerTitle === 'string' ? (
38
- <Text size="lg" weight="bold" style={{ marginLeft: options.headerLeft ? 12 : 0 }}>
38
+ <Text typography="h4" style={{ marginLeft: options.headerLeft ? 12 : 0 }}>
39
39
  {options.headerTitle}
40
40
  </Text>
41
41
  ) : (
@@ -50,7 +50,7 @@ export const DefaultStackLayout: React.FC<DefaultStackLayoutProps> = ({
50
50
  )}
51
51
 
52
52
  {/* Content Area */}
53
- <View style={{ flex: 1, padding: 20 }}>
53
+ <View style={{ flex: 1 }}>
54
54
  <Outlet />
55
55
  </View>
56
56
  </View>
@@ -33,7 +33,7 @@ export const DefaultTabLayout: React.FC<DefaultTabLayoutProps> = ({
33
33
  {options.headerLeft && React.createElement(options.headerLeft as any)}
34
34
 
35
35
  {typeof options.headerTitle === 'string' ? (
36
- <Text size="lg" weight="bold" style={{ marginLeft: options.headerLeft ? 12 : 0 }}>
36
+ <Text typography="h4" style={{ marginLeft: options.headerLeft ? 12 : 0 }}>
37
37
  {options.headerTitle}
38
38
  </Text>
39
39
  ) : (
@@ -84,8 +84,8 @@ export const DefaultTabLayout: React.FC<DefaultTabLayoutProps> = ({
84
84
  color='blue'
85
85
  />
86
86
  )}
87
- <Text
88
- size="sm"
87
+ <Text
88
+ typography="body2"
89
89
  color={'primary'}
90
90
  weight={isActive ? 'semibold' : 'medium'}
91
91
  >