@momo-kits/foundation 0.103.2-beta.1 → 0.103.2-beta.10

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.
@@ -63,6 +63,7 @@ class Navigator {
63
63
  * @param params
64
64
  */
65
65
  showModal = (params: ModalParams) => {
66
+ console.log(this);
66
67
  if (this.isReady.current) {
67
68
  this.ref.current?.dispatch?.(StackActions.push('Modal', params));
68
69
  }
@@ -73,7 +74,6 @@ class Navigator {
73
74
  * @param params
74
75
  */
75
76
  showBottomSheet = (params: BottomSheetParams) => {
76
- // console.log(this);
77
77
  if (this.isReady.current) {
78
78
  this.ref.current?.dispatch?.(
79
79
  StackActions.push('Modal', {
package/Layout/Item.tsx CHANGED
@@ -41,7 +41,7 @@ const Item: React.FC<ItemProps> = ({
41
41
  style,
42
42
  styles.item,
43
43
  {
44
- width: grid.getSizeSpan(widthSpan ?? grid.numberOfColumns),
44
+ width: grid.getSizeSpan(widthSpan ?? grid.numberOfColumns), //grid.numberOfColumns=12
45
45
  height: heightSpan ? grid.getSizeSpan(heightSpan) : undefined,
46
46
  },
47
47
  ]}>
@@ -27,7 +27,7 @@ const PopupNotify: React.FC<PopupNotifyProps> = ({
27
27
  let Description: any = View;
28
28
  if (scrollContent) {
29
29
  Description = ScrollView;
30
- descriptionStyle = {maxHeight: scaleSize(172)};
30
+ descriptionStyle = {maxHeight: scaleSize(172)}; //maxHeight=175
31
31
  }
32
32
  /**
33
33
  * tracking
package/Text/utils.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import {Dimensions, Platform} from 'react-native';
2
2
 
3
3
  const deviceWidth = Dimensions.get('window').width;
4
+ console.log(deviceWidth);
4
5
  const DEFAULT_SCREEN_SIZE = 375;
5
6
  const scaleSize = (size: number) => {
6
7
  const scaleRate = deviceWidth / DEFAULT_SCREEN_SIZE;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/foundation",
3
- "version": "0.103.2-beta.1",
3
+ "version": "0.103.2-beta.10",
4
4
  "description": "React Native Component Kits",
5
5
  "main": "index.ts",
6
6
  "scripts": {},