@idealyst/navigation 1.0.87 → 1.0.88

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.0.87",
3
+ "version": "1.0.88",
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.0.87",
47
- "@idealyst/theme": "^1.0.87",
46
+ "@idealyst/components": "^1.0.88",
47
+ "@idealyst/theme": "^1.0.88",
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.0.87",
64
- "@idealyst/datagrid": "^1.0.87",
65
- "@idealyst/datepicker": "^1.0.87",
66
- "@idealyst/theme": "^1.0.87",
63
+ "@idealyst/components": "^1.0.88",
64
+ "@idealyst/datagrid": "^1.0.88",
65
+ "@idealyst/datepicker": "^1.0.88",
66
+ "@idealyst/theme": "^1.0.88",
67
67
  "@types/react": "^19.1.8",
68
68
  "@types/react-dom": "^19.1.6",
69
69
  "react": "^19.1.0",
@@ -1,8 +1,8 @@
1
1
  import React from 'react'
2
2
  import { View, Text, Button, Icon } from '@idealyst/components'
3
3
  import { TabLayoutProps } from '../routing/types'
4
- import { Outlet } from '../router'
5
4
  import { useNavigator } from '../context'
5
+ import { Outlet } from 'react-router'
6
6
 
7
7
  export interface DefaultTabLayoutProps extends TabLayoutProps {}
8
8
 
@@ -65,7 +65,7 @@ export const DefaultTabLayout: React.FC<DefaultTabLayoutProps> = ({
65
65
  return (
66
66
  <Button
67
67
  key={route.path}
68
- variant={isActive ? 'contained' : 'outlined'}
68
+ type={isActive ? 'contained' : 'outlined'}
69
69
  intent={isActive ? 'primary' : undefined}
70
70
  size="sm"
71
71
  onPress={() => navigator.navigate({
@@ -81,12 +81,12 @@ export const DefaultTabLayout: React.FC<DefaultTabLayoutProps> = ({
81
81
  <Icon
82
82
  name={icon as any}
83
83
  size="sm"
84
- color={isActive ? 'white' : 'primary'}
84
+ color='blue'
85
85
  />
86
86
  )}
87
87
  <Text
88
88
  size="sm"
89
- color={isActive ? 'white' : 'primary'}
89
+ color={'primary'}
90
90
  weight={isActive ? 'semibold' : 'medium'}
91
91
  >
92
92
  {label}