@momo-kits/foundation 0.103.2-beta.1 → 0.103.2-beta.11
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/Application/Navigator.ts +1 -1
- package/Layout/Item.tsx +1 -1
- package/Popup/PopupNotify.tsx +1 -1
- package/Text/utils.ts +1 -0
- package/package.json +1 -1
package/Application/Navigator.ts
CHANGED
|
@@ -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
|
]}>
|
package/Popup/PopupNotify.tsx
CHANGED
|
@@ -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