@hedia/recommendation-screen 2.1.61 → 2.1.62

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.
@@ -502,7 +502,7 @@ const styles = StyleSheet.create({
502
502
  header: {
503
503
  ...FONTS.Poppins.medium_Base,
504
504
  color: colors.dustyBlue,
505
- marginBottom: 8,
505
+ marginBottom: 22,
506
506
  textAlign: `center`,
507
507
  },
508
508
  });
@@ -11,7 +11,7 @@ const { ExitModalTestIds } = Testing.Id;
11
11
  export default class ExitModal extends React.Component {
12
12
  /** Compose a JSX element for displaying the modal. */
13
13
  render() {
14
- return (<ReactNativeModal style={style.container} isVisible={this.props.isVisible}>
14
+ return (<ReactNativeModal style={style.container} isVisible={this.props.isVisible} animationIn={`fadeIn`} animationOut={`fadeOut`}>
15
15
  <StatusBar backgroundColor={colors.transparentLightBlue}/>
16
16
  <View style={style.modalContainer}>
17
17
  <TouchableOpacity onPress={this.props.onClose} testID={ExitModalTestIds.ExitButton} style={style.iconWrapper}>
@@ -108,8 +108,8 @@ export default class InvisibleNumberInput extends React.Component {
108
108
  }
109
109
  const inputStyles = StyleSheet.create({
110
110
  input: {
111
- width: 0,
112
- height: 0,
111
+ width: 1,
112
+ height: 1,
113
113
  opacity: 0,
114
114
  },
115
115
  });
@@ -129,7 +129,7 @@ export default class RecommendationModal extends React.Component {
129
129
  render() {
130
130
  const { isVisible } = this.props;
131
131
  const { firstPageVisible } = this.state;
132
- return (<ReactNativeModal isVisible={isVisible} style={stylesModal.modalStyle} backdropColor={colors.darkBlue} backdropOpacity={1}>
132
+ return (<ReactNativeModal isVisible={isVisible} style={stylesModal.modalStyle} backdropColor={colors.darkBlue} backdropOpacity={1} animationIn={`fadeIn`} animationOut={`fadeOut`}>
133
133
  <ScrollView contentContainerStyle={stylesModal.scrollViewContainer}>
134
134
  {firstPageVisible ? this.firstPage() : this.secondPage()}
135
135
  </ScrollView>
@@ -10,7 +10,7 @@ const { TimeOutModalTestIds } = Testing.Id;
10
10
  export default class TimeoutModal extends React.Component {
11
11
  /** Compose a JSX element for displaying the modal. */
12
12
  render() {
13
- return (<ReactNativeModal style={style.container} isVisible={this.props.isVisible}>
13
+ return (<ReactNativeModal style={style.container} isVisible={this.props.isVisible} animationIn={`fadeIn`} animationOut={`fadeOut`}>
14
14
  <StatusBar backgroundColor={colors.transparentLightBlue}/>
15
15
  <View style={style.modalContainer}>
16
16
  <View style={style.textContainer}>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hedia/recommendation-screen",
3
- "version": "2.1.61",
3
+ "version": "2.1.62",
4
4
  "description": "Hedia Recommendation Screen for Bolus and Carbohydrates",
5
5
  "main": "dist/index.js",
6
6
  "files": [