@hedia/recommendation-screen 2.1.26 → 2.1.27-alpha.0

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.
Files changed (48) hide show
  1. package/coverage/clover.xml +715 -0
  2. package/coverage/coverage-final.json +28 -0
  3. package/coverage/lcov-report/base.css +224 -0
  4. package/coverage/lcov-report/block-navigation.js +79 -0
  5. package/coverage/lcov-report/favicon.png +0 -0
  6. package/coverage/lcov-report/index.html +201 -0
  7. package/coverage/lcov-report/prettify.css +1 -0
  8. package/coverage/lcov-report/prettify.js +2 -0
  9. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  10. package/coverage/lcov-report/sorter.js +170 -0
  11. package/coverage/lcov-report/src/RecommendationScreen.tsx.html +2501 -0
  12. package/coverage/lcov-report/src/__tests__/index.html +111 -0
  13. package/coverage/lcov-report/src/__tests__/utils.tsx.html +533 -0
  14. package/coverage/lcov-report/src/components/Header.tsx.html +356 -0
  15. package/coverage/lcov-report/src/components/InfoBars.tsx.html +518 -0
  16. package/coverage/lcov-report/src/components/InvisibleNumberInput.tsx.html +539 -0
  17. package/coverage/lcov-report/src/components/LimitationMessage.tsx.html +209 -0
  18. package/coverage/lcov-report/src/components/LineSeparator.tsx.html +161 -0
  19. package/coverage/lcov-report/src/components/RecentInsulin.tsx.html +410 -0
  20. package/coverage/lcov-report/src/components/RecommendationModal.tsx.html +923 -0
  21. package/coverage/lcov-report/src/components/RecommendedCarbs.tsx.html +1061 -0
  22. package/coverage/lcov-report/src/components/RecommendedInsulin.tsx.html +779 -0
  23. package/coverage/lcov-report/src/components/Remeasure.tsx.html +551 -0
  24. package/coverage/lcov-report/src/components/TransferToLogbook.tsx.html +443 -0
  25. package/coverage/lcov-report/src/components/TwoOptionModal.tsx.html +665 -0
  26. package/coverage/lcov-report/src/components/activity/Activity.tsx.html +371 -0
  27. package/coverage/lcov-report/src/components/activity/ActivityIcon.tsx.html +281 -0
  28. package/coverage/lcov-report/src/components/activity/ActivityIntensity.tsx.html +281 -0
  29. package/coverage/lcov-report/src/components/activity/index.html +141 -0
  30. package/coverage/lcov-report/src/components/index.html +276 -0
  31. package/coverage/lcov-report/src/components/mood/Emotion.tsx.html +353 -0
  32. package/coverage/lcov-report/src/components/mood/MoodIcon.tsx.html +335 -0
  33. package/coverage/lcov-report/src/components/mood/index.html +126 -0
  34. package/coverage/lcov-report/src/index.html +111 -0
  35. package/coverage/lcov-report/src/locale/i18nUtils.ts.html +206 -0
  36. package/coverage/lcov-report/src/locale/index.html +111 -0
  37. package/coverage/lcov-report/src/utils/AttentionMessages.tsx.html +554 -0
  38. package/coverage/lcov-report/src/utils/Constants.ts.html +248 -0
  39. package/coverage/lcov-report/src/utils/RecommendationError.tsx.html +620 -0
  40. package/coverage/lcov-report/src/utils/RecommendationUtils.ts.html +764 -0
  41. package/coverage/lcov-report/src/utils/Translations.ts.html +131 -0
  42. package/coverage/lcov-report/src/utils/Utils.ts.html +545 -0
  43. package/coverage/lcov-report/src/utils/Validations.ts.html +1544 -0
  44. package/coverage/lcov-report/src/utils/index.html +201 -0
  45. package/coverage/lcov.info +1610 -0
  46. package/ios/HediaRecommendationScreen.xcodeproj/project.pbxproj +2 -0
  47. package/package.json +1 -1
  48. package/src/components/InvisibleNumberInput.js +2 -5
@@ -572,6 +572,7 @@
572
572
  ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
573
573
  CLANG_ENABLE_MODULES = YES;
574
574
  CURRENT_PROJECT_VERSION = 1;
575
+ DEVELOPMENT_TEAM = N233YE7BQM;
575
576
  ENABLE_BITCODE = NO;
576
577
  INFOPLIST_FILE = HediaRecommendationScreen/Info.plist;
577
578
  LD_RUNPATH_SEARCH_PATHS = (
@@ -598,6 +599,7 @@
598
599
  ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
599
600
  CLANG_ENABLE_MODULES = YES;
600
601
  CURRENT_PROJECT_VERSION = 1;
602
+ DEVELOPMENT_TEAM = N233YE7BQM;
601
603
  INFOPLIST_FILE = HediaRecommendationScreen/Info.plist;
602
604
  LD_RUNPATH_SEARCH_PATHS = (
603
605
  "$(inherited)",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hedia/recommendation-screen",
3
- "version": "2.1.26",
3
+ "version": "2.1.27-alpha.0",
4
4
  "description": "Hedia Recommendation Screen for Bolus and Carbohydrates",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { StyleSheet, TextInput } from "react-native";
2
+ import { TextInput } from "react-native";
3
3
  /**
4
4
  * InvisibleNumberInput is used to enable numerical input by the user without displaying a traditional input field on the screen.
5
5
  * Since the input field is made invisible and thus can’t be tapped directly by the user we need to be able to call
@@ -104,9 +104,6 @@ export default class InvisibleNumberInput extends React.Component {
104
104
  if (textInput !== null) {
105
105
  this.textInput = textInput;
106
106
  }
107
- }} style={inputStyles.textInput} keyboardType="numeric" onChangeText={this.handleOnChangeText} onEndEditing={this.onEndEdit} maxLength={this.props.maxLength} selectTextOnFocus/>);
107
+ }} keyboardType="numeric" onChangeText={this.handleOnChangeText} onEndEditing={this.onEndEdit} maxLength={this.props.maxLength} selectTextOnFocus/>);
108
108
  }
109
109
  }
110
- const inputStyles = StyleSheet.create({
111
- textInput: { width: 0, height: 0 },
112
- });