@hedia/recommendation-screen 2.1.24 → 2.1.25-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 (51) hide show
  1. package/.github/pull_request_template.md +6 -0
  2. package/.github/workflows/on-post-merge-publish-package.yaml +1 -2
  3. package/.github/workflows/validate-pr-title.yaml +1 -1
  4. package/.github/workflows/{on-open-pr-publish-alpha.yaml → version-bump-publish-alpha.yaml} +8 -18
  5. package/coverage/clover.xml +716 -0
  6. package/coverage/coverage-final.json +28 -0
  7. package/coverage/lcov-report/base.css +224 -0
  8. package/coverage/lcov-report/block-navigation.js +79 -0
  9. package/coverage/lcov-report/favicon.png +0 -0
  10. package/coverage/lcov-report/index.html +201 -0
  11. package/coverage/lcov-report/prettify.css +1 -0
  12. package/coverage/lcov-report/prettify.js +2 -0
  13. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  14. package/coverage/lcov-report/sorter.js +170 -0
  15. package/coverage/lcov-report/src/RecommendationScreen.tsx.html +2501 -0
  16. package/coverage/lcov-report/src/__tests__/index.html +111 -0
  17. package/coverage/lcov-report/src/__tests__/utils.tsx.html +533 -0
  18. package/coverage/lcov-report/src/components/Header.tsx.html +356 -0
  19. package/coverage/lcov-report/src/components/InfoBars.tsx.html +518 -0
  20. package/coverage/lcov-report/src/components/InvisibleNumberInput.tsx.html +554 -0
  21. package/coverage/lcov-report/src/components/LimitationMessage.tsx.html +209 -0
  22. package/coverage/lcov-report/src/components/LineSeparator.tsx.html +161 -0
  23. package/coverage/lcov-report/src/components/RecentInsulin.tsx.html +410 -0
  24. package/coverage/lcov-report/src/components/RecommendationModal.tsx.html +923 -0
  25. package/coverage/lcov-report/src/components/RecommendedCarbs.tsx.html +1061 -0
  26. package/coverage/lcov-report/src/components/RecommendedInsulin.tsx.html +779 -0
  27. package/coverage/lcov-report/src/components/Remeasure.tsx.html +551 -0
  28. package/coverage/lcov-report/src/components/TransferToLogbook.tsx.html +443 -0
  29. package/coverage/lcov-report/src/components/TwoOptionModal.tsx.html +665 -0
  30. package/coverage/lcov-report/src/components/activity/Activity.tsx.html +371 -0
  31. package/coverage/lcov-report/src/components/activity/ActivityIcon.tsx.html +281 -0
  32. package/coverage/lcov-report/src/components/activity/ActivityIntensity.tsx.html +281 -0
  33. package/coverage/lcov-report/src/components/activity/index.html +141 -0
  34. package/coverage/lcov-report/src/components/index.html +276 -0
  35. package/coverage/lcov-report/src/components/mood/Emotion.tsx.html +353 -0
  36. package/coverage/lcov-report/src/components/mood/MoodIcon.tsx.html +335 -0
  37. package/coverage/lcov-report/src/components/mood/index.html +126 -0
  38. package/coverage/lcov-report/src/index.html +111 -0
  39. package/coverage/lcov-report/src/locale/i18nUtils.ts.html +206 -0
  40. package/coverage/lcov-report/src/locale/index.html +111 -0
  41. package/coverage/lcov-report/src/utils/AttentionMessages.tsx.html +554 -0
  42. package/coverage/lcov-report/src/utils/Constants.ts.html +248 -0
  43. package/coverage/lcov-report/src/utils/RecommendationError.tsx.html +620 -0
  44. package/coverage/lcov-report/src/utils/RecommendationUtils.ts.html +764 -0
  45. package/coverage/lcov-report/src/utils/Translations.ts.html +131 -0
  46. package/coverage/lcov-report/src/utils/Utils.ts.html +545 -0
  47. package/coverage/lcov-report/src/utils/Validations.ts.html +1544 -0
  48. package/coverage/lcov-report/src/utils/index.html +201 -0
  49. package/coverage/lcov.info +1611 -0
  50. package/package.json +1 -1
  51. package/.github/workflows/on-push-commit-bump-and-publish-alpha.yaml +0 -55
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hedia/recommendation-screen",
3
- "version": "2.1.24",
3
+ "version": "2.1.25-alpha.0",
4
4
  "description": "Hedia Recommendation Screen for Bolus and Carbohydrates",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,55 +0,0 @@
1
- name: On push - Bump & publish alpha version
2
-
3
- on:
4
- pull_request:
5
- branches:
6
- - master
7
- types: [synchronize]
8
-
9
- env:
10
- NPM_TOKEN: ${{ secrets.HEDIA_BOT_NPM_TOKEN }}
11
-
12
- jobs:
13
- on-push-commit-bump-and-publish-alpha:
14
- runs-on: ubuntu-latest
15
-
16
- strategy:
17
- matrix:
18
- node-version: [14.15]
19
-
20
- steps:
21
- - uses: actions/checkout@v2
22
- with:
23
- ref: ${{ github.event.pull_request.head.ref }}
24
- token: ${{ secrets.HEDIA_BOT_GITHUB_PAT }}
25
-
26
- - uses: mstachniuk/ci-skip@v1
27
- with:
28
- commit-filter: "autobump"
29
-
30
- - name: Use Node.js ${{ matrix.node-version }}
31
- if: ${{ env.CI_SKIP == 'false' }}
32
- uses: actions/setup-node@v2
33
- with:
34
- node-version: ${{ matrix.node-version }}
35
-
36
- - name: Set identity
37
- if: ${{ env.CI_SKIP == 'false' }}
38
- run: |
39
- git config --global user.email "ci@hedia.co"
40
- git config --global user.name "Hedia CI Bot"
41
-
42
- - name: Autobump & Publish
43
- if: ${{ env.CI_SKIP == 'false' }}
44
- uses: hedia-team/autobump-and-publish@master
45
- with:
46
- label: ${{ toJson(github.event.pull_request.labels.*.name) }}
47
- npm-token: ${{ env.NPM_TOKEN }}
48
- issue-number: ${{ github.event.number }}
49
- github-token: ${{ secrets.GITHUB_TOKEN }}
50
- run-ci: true
51
- run-lint: true
52
- run-lint-pkg: true
53
- run-prettier: true
54
- run-test-coverage: true
55
- run-tsc: true