@momo-kits/foundation 0.81.7-beta.2 → 0.81.7-beta.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.
@@ -92,7 +92,7 @@ export type NavigationContainerProps = {
92
92
  theme: Theme;
93
93
  maxApi: any;
94
94
  localization?: LocalizationObject;
95
- trackingInfo?: TrackingInfo;
95
+ trackingInfo: TrackingInfo;
96
96
  };
97
97
 
98
98
  export type NavigationScreenProps = {
@@ -153,9 +153,9 @@ const Spacing = {
153
153
  L: 16,
154
154
  XL: 24,
155
155
  XXL: 32,
156
- Size48: 48,
157
- Size56: 56,
158
- Size64: 64,
156
+ Size3XL: 48,
157
+ Size4XL: 56,
158
+ Size5XL: 64,
159
159
  };
160
160
 
161
161
  const Radius = {
@@ -5,11 +5,6 @@ import {GridContext} from './index';
5
5
  import styles from './styles';
6
6
 
7
7
  export interface ItemSectionListProps extends SectionListProps<any> {
8
- /**
9
- * Require key support number columns change grid system
10
- */
11
-
12
- key: string;
13
8
  /**
14
9
  * Represents the width of the Card component in terms of span numbers (1-12).
15
10
  */
@@ -17,7 +12,6 @@ export interface ItemSectionListProps extends SectionListProps<any> {
17
12
  }
18
13
 
19
14
  const ItemSectionList: FC<ItemSectionListProps> = ({
20
- key,
21
15
  renderItem,
22
16
  widthSpan,
23
17
  style,
package/Layout/index.ts CHANGED
@@ -6,6 +6,7 @@ import {createContext} from 'react';
6
6
  import {GridContextProps} from './types';
7
7
  import Item from './Item';
8
8
  import ItemList from './ItemList';
9
+ import ItemSectionList from './ItemSectionList';
9
10
 
10
11
  const GridContext = createContext<GridContextProps>({
11
12
  numberOfColumns: 12,
@@ -23,4 +24,5 @@ export {
23
24
  validateChildren,
24
25
  Item,
25
26
  ItemList,
27
+ ItemSectionList,
26
28
  };
package/Title/index.tsx CHANGED
@@ -69,6 +69,7 @@ const Title: FC<TitleProps> = ({
69
69
  styles.title,
70
70
  {
71
71
  fontFamily: `${theme.font}-${titleWeight}`,
72
+ color: theme.colors.text.default,
72
73
  },
73
74
  ]}>
74
75
  {title}
package/Title/styles.ts CHANGED
@@ -4,6 +4,10 @@ import {Radius, Spacing} from '../Consts';
4
4
 
5
5
  export default StyleSheet.create({
6
6
  card_small: {
7
+ fontSize: scaleSize(14),
8
+ lineHeight: scaleSize(20),
9
+ },
10
+ card_medium: {
7
11
  fontSize: scaleSize(16),
8
12
  lineHeight: scaleSize(22),
9
13
  },
@@ -11,10 +15,14 @@ export default StyleSheet.create({
11
15
  fontSize: scaleSize(18),
12
16
  lineHeight: scaleSize(26),
13
17
  },
14
- section_small: {
18
+ section_medium: {
15
19
  fontSize: scaleSize(20),
16
20
  lineHeight: scaleSize(28),
17
21
  },
22
+ section_small: {
23
+ fontSize: scaleSize(16),
24
+ lineHeight: scaleSize(22),
25
+ },
18
26
  section_large: {
19
27
  fontSize: scaleSize(24),
20
28
  lineHeight: scaleSize(34),
package/Title/types.ts CHANGED
@@ -22,7 +22,7 @@ export type TitleProps = {
22
22
  * 'large' - A larger, more prominent title.
23
23
  * 'small' - A smaller, less prominent title.
24
24
  */
25
- size?: 'large' | 'small';
25
+ size?: 'large' | 'medium' | 'small';
26
26
 
27
27
  /**
28
28
  * Optional. Represents the name or key of the icon to be displayed alongside the title.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/foundation",
3
- "version": "0.81.7-beta.2",
3
+ "version": "0.81.7-beta.3",
4
4
  "description": "React Native Component Kits",
5
5
  "main": "index.ts",
6
6
  "scripts": {