@hedia/recommendation-screen 2.1.43-alpha.0 → 2.1.43-alpha.1

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.
@@ -5,7 +5,6 @@ import { i18n } from "../locale/i18nUtils";
5
5
  import { Testing } from "../types/enum";
6
6
  import { infoStyles } from "./InfoBars";
7
7
  import TextBold from "./text/TextBold";
8
- import TextRegular from "./text/TextRegular";
9
8
  /** Display a card that prompts the user to recall if they injected insulin recently. */
10
9
  export default class RecentInsulin extends React.Component {
11
10
  /**
@@ -17,14 +16,14 @@ export default class RecentInsulin extends React.Component {
17
16
  render = () => {
18
17
  return (<View style={recentInsulinStyles.container}>
19
18
  <View style={recentInsulinStyles.titleContainer}>
20
- <TextRegular style={recentInsulinStyles.recommended}>
19
+ <TextBold style={recentInsulinStyles.recommended}>
21
20
  {i18n._(t `Recommended amount of insulin`)}
22
- </TextRegular>
21
+ </TextBold>
23
22
  </View>
24
23
  <View style={recentInsulinStyles.takenInsulinContainer}>
25
- <TextRegular style={recentInsulinStyles.takenInsulin}>
24
+ <TextBold style={recentInsulinStyles.takenInsulin}>
26
25
  {i18n._(t `Have you taken insulin within the last 4 hours?`)}
27
- </TextRegular>
26
+ </TextBold>
28
27
  </View>
29
28
  <View style={recentInsulinStyles.buttonContainer}>
30
29
  <View style={recentInsulinStyles.filler}/>
@@ -163,7 +163,7 @@ export default class RecommendedCarbs extends React.Component {
163
163
  const carbs = Number(this.props.recommendedCarbs);
164
164
  return (<React.Fragment>
165
165
  <View style={calculationStyles.foodTitleContainer}>
166
- <TextRegular style={infoStyles.label}>{i18n._(t `Food`)}</TextRegular>
166
+ <TextBold style={infoStyles.label}>{i18n._(t `Food`)}</TextBold>
167
167
  <TextRegular style={calculationStyles.foodUnitsLabel}>
168
168
  {`(${i18n._(t `Carbohydrates`)})`}
169
169
  </TextRegular>
@@ -108,9 +108,9 @@ export default class RecommendedInsulin extends React.Component {
108
108
  <TouchableOpacity testID={RecommendedInsulinTestIds.EditRecommendedInsulin} onPress={this.handleOnPress}>
109
109
  <LinearGradient style={recommendedInsulinStyles.container} colors={[`#a200ff`, `#578aff`]} start={{ x: 0, y: 0 }} end={{ x: 1, y: 0 }}>
110
110
  <View style={recommendedInsulinStyles.recommendedTextContainer}>
111
- <TextRegular style={recommendedInsulinStyles.recommendedText}>
111
+ <TextBold style={recommendedInsulinStyles.recommendedText}>
112
112
  {i18n._(t `Recommended amount of insulin`)}
113
- </TextRegular>
113
+ </TextBold>
114
114
  </View>
115
115
  <View style={[recommendedInsulinStyles.recommendedContainer, { paddingBottom }]}>
116
116
  <View style={recommendedInsulinStyles.valueContainer}>
@@ -31,7 +31,7 @@ export default class Activity extends React.Component {
31
31
  <View style={infoStyles.border}>
32
32
  <View style={infoStyles.borderContainer}>
33
33
  <View style={infoStyles.labelContainer}>
34
- <TextRegular style={infoStyles.label}>{i18n._(t `Activity`)}</TextRegular>
34
+ <TextBold style={infoStyles.label}>{i18n._(t `Activity`)}</TextBold>
35
35
  </View>
36
36
  <View style={infoStyles.valueUnitContainer}>
37
37
  <View style={infoStyles.valueContainer}>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hedia/recommendation-screen",
3
- "version": "2.1.43-alpha.0",
3
+ "version": "2.1.43-alpha.1",
4
4
  "description": "Hedia Recommendation Screen for Bolus and Carbohydrates",
5
5
  "main": "dist/index.js",
6
6
  "files": [