@momo-kits/foundation 0.92.8-rc.3 → 0.92.8-rc.4

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.
@@ -219,7 +219,7 @@ export default function BottomTabBar({
219
219
  style,
220
220
  ]}
221
221
  pointerEvents={'auto'}>
222
- <View style={styles.content}>
222
+ <View style={styles.content} accessibilityLabel={'bottom_tab_bar'}>
223
223
  {useFloating && floatingButton?.container}
224
224
  <Animated.View
225
225
  style={{
@@ -81,11 +81,7 @@ const BottomTab: React.FC<BottomTabProps> = ({
81
81
  initialRouteName={initialRouteName}
82
82
  backBehavior={'firstRoute'}
83
83
  tabBar={props => (
84
- <BottomTabBar
85
- {...props}
86
- accessibilityLabel={'bottom_tab_bar'}
87
- floatingButton={floatingButton}
88
- />
84
+ <BottomTabBar {...props} floatingButton={floatingButton} />
89
85
  )}
90
86
  tabBarOptions={{
91
87
  style: {
@@ -50,9 +50,7 @@ const StackScreen: React.FC<ScreenParams> = props => {
50
50
  * tracking for screen
51
51
  */
52
52
  useEffect(() => {
53
- if (__DEV__ && (!screenName || screenName == 'Invalid')) {
54
- Alert.alert('Design system', `Unvalidated screen name "${screenName}" !`);
55
- }
53
+ Alert.alert(screenName);
56
54
 
57
55
  navigator?.maxApi?.of?.({screenName});
58
56
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/foundation",
3
- "version": "0.92.8-rc.3",
3
+ "version": "0.92.8-rc.4",
4
4
  "description": "React Native Component Kits",
5
5
  "main": "index.ts",
6
6
  "scripts": {},