@eohjsc/react-native-smart-city 0.2.51 → 0.2.55

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@eohjsc/react-native-smart-city",
3
3
  "title": "React Native Smart Home",
4
- "version": "0.2.51",
4
+ "version": "0.2.55",
5
5
  "description": "TODO",
6
6
  "main": "index.js",
7
7
  "files": [
@@ -39,7 +39,6 @@
39
39
  "reset-cache": "react-native start --reset-cache",
40
40
  "merge_conflict": "yarn jest && yarn update_coverage_result && yarn check_coverage_config",
41
41
  "jest": "jest --detectOpenHandles",
42
- "postinstall": "npx husky install",
43
42
  "example": "yarn --cwd example",
44
43
  "pods": "cd example && pod-install --quiet",
45
44
  "bootstrap": "yarn example && yarn && yarn pods",
@@ -26,7 +26,7 @@ export default StyleSheet.create({
26
26
  },
27
27
  wrapText: {
28
28
  flexDirection: 'row',
29
- alignItems: 'space-arou',
29
+ alignItems: 'space-around',
30
30
  },
31
31
  icon: {
32
32
  width: 48,
@@ -43,7 +43,12 @@ const UvIndex = memo(({ summaryDetail }) => {
43
43
  />
44
44
  <View style={styles.boxHealth}>
45
45
  <IconOutline name="alert" size={20} style={styles.iconMargin} />
46
- <Text semibold color={Colors.Gray9} size={16}>
46
+ <Text
47
+ semibold
48
+ color={Colors.Gray9}
49
+ type="H4"
50
+ style={styles.textTitle}
51
+ >
47
52
  {t('Protection advices:')}
48
53
  </Text>
49
54
  </View>
@@ -56,7 +61,7 @@ const UvIndex = memo(({ summaryDetail }) => {
56
61
  { backgroundColor: summaryDetail.uv_color },
57
62
  ]}
58
63
  />
59
- <Text color={Colors.Gray7} size={14}>
64
+ <Text color={Colors.Gray7} type="Body">
60
65
  {item}
61
66
  </Text>
62
67
  </View>
@@ -119,4 +124,7 @@ const styles = StyleSheet.create({
119
124
  iconMargin: {
120
125
  marginRight: 8,
121
126
  },
127
+ textTitle: {
128
+ lineHeight: 28,
129
+ },
122
130
  });