@momo-kits/foundation 0.155.1-beta.2 → 0.155.1-beta.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.
package/Layout/Card.tsx CHANGED
@@ -28,11 +28,8 @@ const Card: React.FC<CardProps> = ({
28
28
  ...props
29
29
  }) => {
30
30
  const { showGrid, theme } = useContext(ApplicationContext);
31
- const context = useContext<any>(MiniAppContext);
32
31
  const { numberOfColumns } = useGridSystem();
33
32
 
34
- const showBaseLineDebug = context?.features?.showBaseLineDebug ?? false;
35
-
36
33
  const gutterSize = 8;
37
34
  const margin = 12;
38
35
  const widthSection = Dimensions.get('window').width - margin * 2;
@@ -84,7 +81,6 @@ const Card: React.FC<CardProps> = ({
84
81
  },
85
82
  !!backgroundImage && { backgroundColor: undefined },
86
83
  useShadow && Shadow.Light,
87
- showBaseLineDebug && styles.debugBaseLine,
88
84
  ]}
89
85
  >
90
86
  {!!backgroundImage && (
@@ -35,11 +35,8 @@ const Section: React.FC<SectionProps> = ({
35
35
  ...props
36
36
  }) => {
37
37
  const { showGrid } = useContext(ApplicationContext);
38
- const context = useContext<any>(MiniAppContext);
39
38
  const { numberOfColumns } = useGridSystem();
40
39
 
41
- const showBaseLineDebug = context?.features?.showBaseLineDebug ?? false;
42
-
43
40
  const gutterSize = 12;
44
41
  let margin = 0;
45
42
  if (useMargin) {
@@ -84,7 +81,6 @@ const Section: React.FC<SectionProps> = ({
84
81
  flexWrap: 'wrap',
85
82
  gap: gutterSize,
86
83
  },
87
- showBaseLineDebug && styles.debugBaseLine,
88
84
  ]}
89
85
  >
90
86
  {!!backgroundImage && (
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/foundation",
3
- "version": "0.155.1-beta.2",
3
+ "version": "0.155.1-beta.4",
4
4
  "description": "React Native Component Kits",
5
5
  "main": "index.ts",
6
6
  "scripts": {},