@hedia/recommendation-screen 2.1.19-alpha.1 → 2.1.19

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 (37) hide show
  1. package/coverage/clover.xml +2 -2
  2. package/coverage/lcov-report/index.html +1 -1
  3. package/coverage/lcov-report/src/RecommendationScreen.tsx.html +1 -1
  4. package/coverage/lcov-report/src/__tests__/index.html +1 -1
  5. package/coverage/lcov-report/src/__tests__/utils.tsx.html +1 -1
  6. package/coverage/lcov-report/src/components/Header.tsx.html +1 -1
  7. package/coverage/lcov-report/src/components/InfoBars.tsx.html +1 -1
  8. package/coverage/lcov-report/src/components/InvisibleNumberInput.tsx.html +1 -1
  9. package/coverage/lcov-report/src/components/LimitationMessage.tsx.html +1 -1
  10. package/coverage/lcov-report/src/components/LineSeparator.tsx.html +1 -1
  11. package/coverage/lcov-report/src/components/RecentInsulin.tsx.html +1 -1
  12. package/coverage/lcov-report/src/components/RecommendationModal.tsx.html +1 -1
  13. package/coverage/lcov-report/src/components/RecommendedCarbs.tsx.html +1 -1
  14. package/coverage/lcov-report/src/components/RecommendedInsulin.tsx.html +1 -1
  15. package/coverage/lcov-report/src/components/Remeasure.tsx.html +1 -1
  16. package/coverage/lcov-report/src/components/TransferToLogbook.tsx.html +1 -1
  17. package/coverage/lcov-report/src/components/TwoOptionModal.tsx.html +1 -1
  18. package/coverage/lcov-report/src/components/activity/Activity.tsx.html +1 -1
  19. package/coverage/lcov-report/src/components/activity/ActivityIcon.tsx.html +1 -1
  20. package/coverage/lcov-report/src/components/activity/ActivityIntensity.tsx.html +1 -1
  21. package/coverage/lcov-report/src/components/activity/index.html +1 -1
  22. package/coverage/lcov-report/src/components/index.html +1 -1
  23. package/coverage/lcov-report/src/components/mood/Emotion.tsx.html +1 -1
  24. package/coverage/lcov-report/src/components/mood/MoodIcon.tsx.html +1 -1
  25. package/coverage/lcov-report/src/components/mood/index.html +1 -1
  26. package/coverage/lcov-report/src/index.html +1 -1
  27. package/coverage/lcov-report/src/locale/i18nUtils.ts.html +1 -1
  28. package/coverage/lcov-report/src/locale/index.html +1 -1
  29. package/coverage/lcov-report/src/utils/AttentionMessages.tsx.html +1 -1
  30. package/coverage/lcov-report/src/utils/Constants.ts.html +1 -1
  31. package/coverage/lcov-report/src/utils/RecommendationError.tsx.html +1 -1
  32. package/coverage/lcov-report/src/utils/RecommendationUtils.ts.html +1 -1
  33. package/coverage/lcov-report/src/utils/Translations.ts.html +1 -1
  34. package/coverage/lcov-report/src/utils/Utils.ts.html +1 -1
  35. package/coverage/lcov-report/src/utils/Validations.ts.html +1 -1
  36. package/coverage/lcov-report/src/utils/index.html +1 -1
  37. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1629970818436" clover="3.2.0">
3
- <project timestamp="1629970818436" name="All files">
2
+ <coverage generated="1629975172198" clover="3.2.0">
3
+ <project timestamp="1629975172199" name="All files">
4
4
  <metrics statements="608" coveredstatements="608" conditionals="366" coveredconditionals="366" methods="197" coveredmethods="197" elements="1171" coveredelements="1171" complexity="0" loc="608" ncloc="608" packages="7" files="27" classes="27"/>
5
5
  <package name="src">
6
6
  <metrics statements="105" coveredstatements="105" conditionals="47" coveredconditionals="47" methods="35" coveredmethods="35"/>
@@ -185,7 +185,7 @@
185
185
  <div class='footer quiet pad2 space-top1 center small'>
186
186
  Code coverage generated by
187
187
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
188
- at Thu Aug 26 2021 09:40:18 GMT+0000 (Coordinated Universal Time)
188
+ at Thu Aug 26 2021 10:52:52 GMT+0000 (Coordinated Universal Time)
189
189
  </div>
190
190
  </div>
191
191
  <script src="prettify.js"></script>
@@ -2467,7 +2467,7 @@ const containerStyles = StyleSheet.create({
2467
2467
  <div class='footer quiet pad2 space-top1 center small'>
2468
2468
  Code coverage generated by
2469
2469
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
2470
- at Thu Aug 26 2021 09:40:18 GMT+0000 (Coordinated Universal Time)
2470
+ at Thu Aug 26 2021 10:52:52 GMT+0000 (Coordinated Universal Time)
2471
2471
  </div>
2472
2472
  </div>
2473
2473
  <script src="../prettify.js"></script>
@@ -95,7 +95,7 @@
95
95
  <div class='footer quiet pad2 space-top1 center small'>
96
96
  Code coverage generated by
97
97
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
98
- at Thu Aug 26 2021 09:40:18 GMT+0000 (Coordinated Universal Time)
98
+ at Thu Aug 26 2021 10:52:52 GMT+0000 (Coordinated Universal Time)
99
99
  </div>
100
100
  </div>
101
101
  <script src="../../prettify.js"></script>
@@ -517,7 +517,7 @@ export function getIcon(wrapper: RenderAPI, name: string, active: boolean): Reac
517
517
  <div class='footer quiet pad2 space-top1 center small'>
518
518
  Code coverage generated by
519
519
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
520
- at Thu Aug 26 2021 09:40:18 GMT+0000 (Coordinated Universal Time)
520
+ at Thu Aug 26 2021 10:52:52 GMT+0000 (Coordinated Universal Time)
521
521
  </div>
522
522
  </div>
523
523
  <script src="../../prettify.js"></script>
@@ -340,7 +340,7 @@ const headerStyles = StyleSheet.create({
340
340
  <div class='footer quiet pad2 space-top1 center small'>
341
341
  Code coverage generated by
342
342
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
343
- at Thu Aug 26 2021 09:40:18 GMT+0000 (Coordinated Universal Time)
343
+ at Thu Aug 26 2021 10:52:52 GMT+0000 (Coordinated Universal Time)
344
344
  </div>
345
345
  </div>
346
346
  <script src="../../prettify.js"></script>
@@ -502,7 +502,7 @@ export const infoStyles = StyleSheet.create({
502
502
  <div class='footer quiet pad2 space-top1 center small'>
503
503
  Code coverage generated by
504
504
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
505
- at Thu Aug 26 2021 09:40:18 GMT+0000 (Coordinated Universal Time)
505
+ at Thu Aug 26 2021 10:52:52 GMT+0000 (Coordinated Universal Time)
506
506
  </div>
507
507
  </div>
508
508
  <script src="../../prettify.js"></script>
@@ -550,7 +550,7 @@ const inputStyles = StyleSheet.create({
550
550
  <div class='footer quiet pad2 space-top1 center small'>
551
551
  Code coverage generated by
552
552
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
553
- at Thu Aug 26 2021 09:40:18 GMT+0000 (Coordinated Universal Time)
553
+ at Thu Aug 26 2021 10:52:52 GMT+0000 (Coordinated Universal Time)
554
554
  </div>
555
555
  </div>
556
556
  <script src="../../prettify.js"></script>
@@ -193,7 +193,7 @@ export default class LimitationMessage extends React.Component&lt;ILimitationMes
193
193
  <div class='footer quiet pad2 space-top1 center small'>
194
194
  Code coverage generated by
195
195
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
196
- at Thu Aug 26 2021 09:40:18 GMT+0000 (Coordinated Universal Time)
196
+ at Thu Aug 26 2021 10:52:52 GMT+0000 (Coordinated Universal Time)
197
197
  </div>
198
198
  </div>
199
199
  <script src="../../prettify.js"></script>
@@ -145,7 +145,7 @@ const lineSeparatorStyles = StyleSheet.create({
145
145
  <div class='footer quiet pad2 space-top1 center small'>
146
146
  Code coverage generated by
147
147
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
148
- at Thu Aug 26 2021 09:40:18 GMT+0000 (Coordinated Universal Time)
148
+ at Thu Aug 26 2021 10:52:52 GMT+0000 (Coordinated Universal Time)
149
149
  </div>
150
150
  </div>
151
151
  <script src="../../prettify.js"></script>
@@ -394,7 +394,7 @@ const recentInsulinStyles = StyleSheet.create({
394
394
  <div class='footer quiet pad2 space-top1 center small'>
395
395
  Code coverage generated by
396
396
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
397
- at Thu Aug 26 2021 09:40:18 GMT+0000 (Coordinated Universal Time)
397
+ at Thu Aug 26 2021 10:52:52 GMT+0000 (Coordinated Universal Time)
398
398
  </div>
399
399
  </div>
400
400
  <script src="../../prettify.js"></script>
@@ -907,7 +907,7 @@ export const stylesModal = StyleSheet.create({
907
907
  <div class='footer quiet pad2 space-top1 center small'>
908
908
  Code coverage generated by
909
909
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
910
- at Thu Aug 26 2021 09:40:18 GMT+0000 (Coordinated Universal Time)
910
+ at Thu Aug 26 2021 10:52:52 GMT+0000 (Coordinated Universal Time)
911
911
  </div>
912
912
  </div>
913
913
  <script src="../../prettify.js"></script>
@@ -1045,7 +1045,7 @@ const calculationStyles = StyleSheet.create({
1045
1045
  <div class='footer quiet pad2 space-top1 center small'>
1046
1046
  Code coverage generated by
1047
1047
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
1048
- at Thu Aug 26 2021 09:40:18 GMT+0000 (Coordinated Universal Time)
1048
+ at Thu Aug 26 2021 10:52:52 GMT+0000 (Coordinated Universal Time)
1049
1049
  </div>
1050
1050
  </div>
1051
1051
  <script src="../../prettify.js"></script>
@@ -763,7 +763,7 @@ const recommendedInsulinStyles = StyleSheet.create({
763
763
  <div class='footer quiet pad2 space-top1 center small'>
764
764
  Code coverage generated by
765
765
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
766
- at Thu Aug 26 2021 09:40:18 GMT+0000 (Coordinated Universal Time)
766
+ at Thu Aug 26 2021 10:52:52 GMT+0000 (Coordinated Universal Time)
767
767
  </div>
768
768
  </div>
769
769
  <script src="../../prettify.js"></script>
@@ -535,7 +535,7 @@ const variantStyles = StyleSheet.create({
535
535
  <div class='footer quiet pad2 space-top1 center small'>
536
536
  Code coverage generated by
537
537
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
538
- at Thu Aug 26 2021 09:40:18 GMT+0000 (Coordinated Universal Time)
538
+ at Thu Aug 26 2021 10:52:52 GMT+0000 (Coordinated Universal Time)
539
539
  </div>
540
540
  </div>
541
541
  <script src="../../prettify.js"></script>
@@ -427,7 +427,7 @@ const addToLogbookStyles = StyleSheet.create({
427
427
  <div class='footer quiet pad2 space-top1 center small'>
428
428
  Code coverage generated by
429
429
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
430
- at Thu Aug 26 2021 09:40:18 GMT+0000 (Coordinated Universal Time)
430
+ at Thu Aug 26 2021 10:52:52 GMT+0000 (Coordinated Universal Time)
431
431
  </div>
432
432
  </div>
433
433
  <script src="../../prettify.js"></script>
@@ -649,7 +649,7 @@ export const modalStyle = StyleSheet.create({
649
649
  <div class='footer quiet pad2 space-top1 center small'>
650
650
  Code coverage generated by
651
651
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
652
- at Thu Aug 26 2021 09:40:18 GMT+0000 (Coordinated Universal Time)
652
+ at Thu Aug 26 2021 10:52:52 GMT+0000 (Coordinated Universal Time)
653
653
  </div>
654
654
  </div>
655
655
  <script src="../../prettify.js"></script>
@@ -355,7 +355,7 @@ const activityStyles = StyleSheet.create({
355
355
  <div class='footer quiet pad2 space-top1 center small'>
356
356
  Code coverage generated by
357
357
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
358
- at Thu Aug 26 2021 09:40:18 GMT+0000 (Coordinated Universal Time)
358
+ at Thu Aug 26 2021 10:52:52 GMT+0000 (Coordinated Universal Time)
359
359
  </div>
360
360
  </div>
361
361
  <script src="../../../prettify.js"></script>
@@ -265,7 +265,7 @@ const activityIconStyles = StyleSheet.create({
265
265
  <div class='footer quiet pad2 space-top1 center small'>
266
266
  Code coverage generated by
267
267
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
268
- at Thu Aug 26 2021 09:40:18 GMT+0000 (Coordinated Universal Time)
268
+ at Thu Aug 26 2021 10:52:52 GMT+0000 (Coordinated Universal Time)
269
269
  </div>
270
270
  </div>
271
271
  <script src="../../../prettify.js"></script>
@@ -265,7 +265,7 @@ const activityIntensityStyles = StyleSheet.create({
265
265
  <div class='footer quiet pad2 space-top1 center small'>
266
266
  Code coverage generated by
267
267
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
268
- at Thu Aug 26 2021 09:40:18 GMT+0000 (Coordinated Universal Time)
268
+ at Thu Aug 26 2021 10:52:52 GMT+0000 (Coordinated Universal Time)
269
269
  </div>
270
270
  </div>
271
271
  <script src="../../../prettify.js"></script>
@@ -125,7 +125,7 @@
125
125
  <div class='footer quiet pad2 space-top1 center small'>
126
126
  Code coverage generated by
127
127
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
128
- at Thu Aug 26 2021 09:40:18 GMT+0000 (Coordinated Universal Time)
128
+ at Thu Aug 26 2021 10:52:52 GMT+0000 (Coordinated Universal Time)
129
129
  </div>
130
130
  </div>
131
131
  <script src="../../../prettify.js"></script>
@@ -260,7 +260,7 @@
260
260
  <div class='footer quiet pad2 space-top1 center small'>
261
261
  Code coverage generated by
262
262
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
263
- at Thu Aug 26 2021 09:40:18 GMT+0000 (Coordinated Universal Time)
263
+ at Thu Aug 26 2021 10:52:52 GMT+0000 (Coordinated Universal Time)
264
264
  </div>
265
265
  </div>
266
266
  <script src="../../prettify.js"></script>
@@ -337,7 +337,7 @@ const emotionStyles = StyleSheet.create({
337
337
  <div class='footer quiet pad2 space-top1 center small'>
338
338
  Code coverage generated by
339
339
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
340
- at Thu Aug 26 2021 09:40:18 GMT+0000 (Coordinated Universal Time)
340
+ at Thu Aug 26 2021 10:52:52 GMT+0000 (Coordinated Universal Time)
341
341
  </div>
342
342
  </div>
343
343
  <script src="../../../prettify.js"></script>
@@ -319,7 +319,7 @@ const moodIconStyles = StyleSheet.create({
319
319
  <div class='footer quiet pad2 space-top1 center small'>
320
320
  Code coverage generated by
321
321
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
322
- at Thu Aug 26 2021 09:40:18 GMT+0000 (Coordinated Universal Time)
322
+ at Thu Aug 26 2021 10:52:52 GMT+0000 (Coordinated Universal Time)
323
323
  </div>
324
324
  </div>
325
325
  <script src="../../../prettify.js"></script>
@@ -110,7 +110,7 @@
110
110
  <div class='footer quiet pad2 space-top1 center small'>
111
111
  Code coverage generated by
112
112
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
113
- at Thu Aug 26 2021 09:40:18 GMT+0000 (Coordinated Universal Time)
113
+ at Thu Aug 26 2021 10:52:52 GMT+0000 (Coordinated Universal Time)
114
114
  </div>
115
115
  </div>
116
116
  <script src="../../../prettify.js"></script>
@@ -95,7 +95,7 @@
95
95
  <div class='footer quiet pad2 space-top1 center small'>
96
96
  Code coverage generated by
97
97
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
98
- at Thu Aug 26 2021 09:40:18 GMT+0000 (Coordinated Universal Time)
98
+ at Thu Aug 26 2021 10:52:52 GMT+0000 (Coordinated Universal Time)
99
99
  </div>
100
100
  </div>
101
101
  <script src="../prettify.js"></script>
@@ -190,7 +190,7 @@ export function changeLanguage(language: Languages): I18n {
190
190
  <div class='footer quiet pad2 space-top1 center small'>
191
191
  Code coverage generated by
192
192
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
193
- at Thu Aug 26 2021 09:40:18 GMT+0000 (Coordinated Universal Time)
193
+ at Thu Aug 26 2021 10:52:52 GMT+0000 (Coordinated Universal Time)
194
194
  </div>
195
195
  </div>
196
196
  <script src="../../prettify.js"></script>
@@ -95,7 +95,7 @@
95
95
  <div class='footer quiet pad2 space-top1 center small'>
96
96
  Code coverage generated by
97
97
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
98
- at Thu Aug 26 2021 09:40:18 GMT+0000 (Coordinated Universal Time)
98
+ at Thu Aug 26 2021 10:52:52 GMT+0000 (Coordinated Universal Time)
99
99
  </div>
100
100
  </div>
101
101
  <script src="../../prettify.js"></script>
@@ -538,7 +538,7 @@ export class Messages {
538
538
  <div class='footer quiet pad2 space-top1 center small'>
539
539
  Code coverage generated by
540
540
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
541
- at Thu Aug 26 2021 09:40:18 GMT+0000 (Coordinated Universal Time)
541
+ at Thu Aug 26 2021 10:52:52 GMT+0000 (Coordinated Universal Time)
542
542
  </div>
543
543
  </div>
544
544
  <script src="../../prettify.js"></script>
@@ -232,7 +232,7 @@ export const ACTIVITY_SETTINGS_INTERVAL_LIMITS: IInterval = { min: 0, max: 1 };
232
232
  <div class='footer quiet pad2 space-top1 center small'>
233
233
  Code coverage generated by
234
234
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
235
- at Thu Aug 26 2021 09:40:18 GMT+0000 (Coordinated Universal Time)
235
+ at Thu Aug 26 2021 10:52:52 GMT+0000 (Coordinated Universal Time)
236
236
  </div>
237
237
  </div>
238
238
  <script src="../../prettify.js"></script>
@@ -604,7 +604,7 @@ export const BloodKetonePropsError = (): RecommendationError =&gt;
604
604
  <div class='footer quiet pad2 space-top1 center small'>
605
605
  Code coverage generated by
606
606
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
607
- at Thu Aug 26 2021 09:40:18 GMT+0000 (Coordinated Universal Time)
607
+ at Thu Aug 26 2021 10:52:52 GMT+0000 (Coordinated Universal Time)
608
608
  </div>
609
609
  </div>
610
610
  <script src="../../prettify.js"></script>
@@ -748,7 +748,7 @@ export function getLimitationMessage(wasLimited: boolean, activityReduction: num
748
748
  <div class='footer quiet pad2 space-top1 center small'>
749
749
  Code coverage generated by
750
750
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
751
- at Thu Aug 26 2021 09:40:18 GMT+0000 (Coordinated Universal Time)
751
+ at Thu Aug 26 2021 10:52:52 GMT+0000 (Coordinated Universal Time)
752
752
  </div>
753
753
  </div>
754
754
  <script src="../../prettify.js"></script>
@@ -115,7 +115,7 @@ export const ActivityIntensityTranslations: Record&lt;Activity.Enums.ActivityInt
115
115
  <div class='footer quiet pad2 space-top1 center small'>
116
116
  Code coverage generated by
117
117
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
118
- at Thu Aug 26 2021 09:40:18 GMT+0000 (Coordinated Universal Time)
118
+ at Thu Aug 26 2021 10:52:52 GMT+0000 (Coordinated Universal Time)
119
119
  </div>
120
120
  </div>
121
121
  <script src="../../prettify.js"></script>
@@ -529,7 +529,7 @@ export class Utils {
529
529
  <div class='footer quiet pad2 space-top1 center small'>
530
530
  Code coverage generated by
531
531
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
532
- at Thu Aug 26 2021 09:40:18 GMT+0000 (Coordinated Universal Time)
532
+ at Thu Aug 26 2021 10:52:52 GMT+0000 (Coordinated Universal Time)
533
533
  </div>
534
534
  </div>
535
535
  <script src="../../prettify.js"></script>
@@ -1528,7 +1528,7 @@ export function checkCarbohydrates(carbohydrates: number): void {
1528
1528
  <div class='footer quiet pad2 space-top1 center small'>
1529
1529
  Code coverage generated by
1530
1530
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
1531
- at Thu Aug 26 2021 09:40:18 GMT+0000 (Coordinated Universal Time)
1531
+ at Thu Aug 26 2021 10:52:52 GMT+0000 (Coordinated Universal Time)
1532
1532
  </div>
1533
1533
  </div>
1534
1534
  <script src="../../prettify.js"></script>
@@ -185,7 +185,7 @@
185
185
  <div class='footer quiet pad2 space-top1 center small'>
186
186
  Code coverage generated by
187
187
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
188
- at Thu Aug 26 2021 09:40:18 GMT+0000 (Coordinated Universal Time)
188
+ at Thu Aug 26 2021 10:52:52 GMT+0000 (Coordinated Universal Time)
189
189
  </div>
190
190
  </div>
191
191
  <script src="../../prettify.js"></script>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hedia/recommendation-screen",
3
- "version": "2.1.19-alpha.1",
3
+ "version": "2.1.19",
4
4
  "description": "Hedia Recommendation Screen for Bolus and Carbohydrates",
5
5
  "main": "index.js",
6
6
  "scripts": {