@momo-kits/tab-view 0.81.43 → 0.88.1

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": "@momo-kits/tab-view",
3
- "version": "0.81.43",
3
+ "version": "0.88.1",
4
4
  "private": false,
5
5
  "main": "index.tsx",
6
6
  "dependencies": {},
@@ -71,7 +71,7 @@ const CardTabBar: FC<TabBarProps> = ({
71
71
  color={theme.colors.primary}
72
72
  numberOfLines={1}
73
73
  style={styles.textCenter}
74
- typography={'header_s'}>
74
+ typography={'header_s_semibold'}>
75
75
  {tabs[selectedIndex]?.title || ''}
76
76
  </Text>
77
77
  </View>
@@ -20,7 +20,7 @@ const CardTabItem: FC<TabItemProps> = ({tab, onPressTabItem, width}) => {
20
20
  <Text
21
21
  numberOfLines={1}
22
22
  style={styles.textCenter}
23
- typography={'description_default'}>
23
+ typography={'body_default_regular'}>
24
24
  {title}
25
25
  </Text>
26
26
  </TouchableOpacity>
@@ -21,7 +21,9 @@ const TabItem: FC<TabItemProps> = ({tab, active, onPressTabItem, width}) => {
21
21
  showDot = false,
22
22
  dotSize = 'small',
23
23
  } = tab;
24
- const typography: Typography = active ? 'header_s' : 'description_default';
24
+ const typography: Typography = active
25
+ ? 'header_s_semibold'
26
+ : 'body_default_regular';
25
27
  const color = active ? theme.colors.primary : theme.colors.text.default;
26
28
  const dotStyle = dotSize === 'large' ? styles.dot : styles.dotSmall;
27
29
  const iconStyle: ViewStyle =