@momo-kits/foundation 0.92.3-tracking.6 → 0.92.3-tracking.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.
@@ -28,12 +28,12 @@ import {Radius} from '../../Consts';
28
28
  import {Icon} from '../../Icon';
29
29
  import {Text} from '../../Text';
30
30
  import {FloatingButtonProps} from '../types';
31
- import {getAccessibilityID} from '../utils';
32
31
 
33
32
  type Props = BottomTabBarProps & {
34
33
  activeTintColor?: string;
35
34
  inactiveTintColor?: string;
36
35
  floatingButton?: FloatingButtonProps;
36
+ accessibilityLabel?: string;
37
37
  };
38
38
 
39
39
  type Options = {
@@ -317,7 +317,6 @@ export default function BottomTabBar({
317
317
  labelStyle={labelStyle}
318
318
  iconStyle={iconStyle}
319
319
  style={tabStyle}
320
- {...getAccessibilityID(`BottomTabBarItem/${route.name}`)}
321
320
  />
322
321
  </NavigationRouteContext.Provider>
323
322
  </NavigationContext.Provider>
@@ -9,7 +9,7 @@ import {Text} from '../../Text';
9
9
  import {ApplicationContext} from '../index';
10
10
  import StackScreen from '../StackScreen';
11
11
  import {BottomTabProps, NavigationScreenProps} from '../types';
12
- import {getAccessibilityID, getStackOptions} from '../utils';
12
+ import {getStackOptions} from '../utils';
13
13
  import BottomTabBar from './BottomTabBar';
14
14
 
15
15
  const Tab = createBottomTabNavigator();
@@ -67,8 +67,8 @@ const BottomTab: React.FC<BottomTabProps> = ({
67
67
  backBehavior={'firstRoute'}
68
68
  tabBar={props => (
69
69
  <BottomTabBar
70
- {...getAccessibilityID('BottomTabBar')}
71
70
  {...props}
71
+ accessibilityLabel={'BottomTabBar'}
72
72
  floatingButton={floatingButton}
73
73
  />
74
74
  )}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/foundation",
3
- "version": "0.92.3-tracking.6",
3
+ "version": "0.92.3-tracking.8",
4
4
  "description": "React Native Component Kits",
5
5
  "main": "index.ts",
6
6
  "scripts": {