@careevolution/mydatahelps-ui 2.10.1-InboxUI.0 → 2.12.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 (240) hide show
  1. package/dist/cjs/index.js +12 -189
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/types/components/asthma/components/AsthmaActionPlanManager/AsthmaActionPlanManager.d.ts +9 -0
  4. package/dist/cjs/types/components/asthma/components/AsthmaActionPlanManager/AsthmaActionPlanManager.stories.d.ts +32 -0
  5. package/dist/cjs/types/components/asthma/components/AsthmaActionPlanManager/index.d.ts +1 -0
  6. package/dist/cjs/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.d.ts +11 -0
  7. package/dist/cjs/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.previewData.d.ts +7 -0
  8. package/dist/cjs/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.stories.d.ts +37 -0
  9. package/dist/cjs/types/components/asthma/components/AsthmaAirQualities/index.d.ts +2 -0
  10. package/dist/cjs/types/components/asthma/components/AsthmaAlertTakeoverNotice/AsthmaAlertTakeoverNotice.d.ts +9 -0
  11. package/dist/cjs/types/components/asthma/components/AsthmaAlertTakeoverNotice/AsthmaAlertTakeoverNotice.stories.d.ts +34 -0
  12. package/dist/cjs/types/components/asthma/components/AsthmaAlertTakeoverNotice/index.d.ts +1 -0
  13. package/dist/cjs/types/components/asthma/components/AsthmaAlertTakeoverTrigger/AsthmaAlertTakeoverTrigger.d.ts +11 -0
  14. package/dist/cjs/types/components/asthma/components/AsthmaAlertTakeoverTrigger/index.d.ts +1 -0
  15. package/dist/cjs/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.d.ts +12 -0
  16. package/dist/cjs/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.previewData.d.ts +12 -0
  17. package/dist/cjs/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.stories.d.ts +32 -0
  18. package/dist/cjs/types/components/asthma/components/AsthmaBiometrics/index.d.ts +2 -0
  19. package/dist/cjs/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.d.ts +12 -0
  20. package/dist/cjs/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.previewData.d.ts +6 -0
  21. package/dist/cjs/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.stories.d.ts +46 -0
  22. package/dist/cjs/types/components/asthma/components/AsthmaControlCalendar/index.d.ts +2 -0
  23. package/dist/cjs/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.d.ts +10 -0
  24. package/dist/cjs/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.previewData.d.ts +8 -0
  25. package/dist/cjs/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.stories.d.ts +32 -0
  26. package/dist/cjs/types/components/asthma/components/AsthmaControlStatusHeader/index.d.ts +2 -0
  27. package/dist/cjs/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.d.ts +13 -0
  28. package/dist/cjs/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.previewData.d.ts +6 -0
  29. package/dist/cjs/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.stories.d.ts +39 -0
  30. package/dist/cjs/types/components/asthma/components/AsthmaLogEntryDetails/index.d.ts +2 -0
  31. package/dist/cjs/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.d.ts +11 -0
  32. package/dist/cjs/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.previewData.d.ts +7 -0
  33. package/dist/cjs/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.stories.d.ts +32 -0
  34. package/dist/cjs/types/components/asthma/components/AsthmaLogEntryHeader/index.d.ts +2 -0
  35. package/dist/cjs/types/components/asthma/components/AsthmaPostEnrollmentSurveyTrigger/AsthmaPostEnrollmentSurveyTrigger.d.ts +8 -0
  36. package/dist/cjs/types/components/asthma/components/AsthmaPostEnrollmentSurveyTrigger/index.d.ts +1 -0
  37. package/dist/cjs/types/components/asthma/components/index.d.ts +10 -0
  38. package/dist/cjs/types/components/asthma/helpers/asthma-data.d.ts +26 -0
  39. package/dist/cjs/types/components/asthma/helpers/asthma-functions.d.ts +20 -0
  40. package/dist/cjs/types/components/asthma/helpers/daily-data-providers/blood-oxygen-level-daytime.d.ts +2 -0
  41. package/dist/cjs/types/components/asthma/helpers/daily-data-providers/blood-oxygen-level-nighttime.d.ts +2 -0
  42. package/dist/cjs/types/components/asthma/helpers/daily-data-providers/index.d.ts +8 -0
  43. package/dist/cjs/types/components/asthma/helpers/daily-data-providers/respiratory-rate.d.ts +2 -0
  44. package/dist/cjs/types/components/asthma/helpers/daily-data-providers/resting-heart-rate-daytime.d.ts +2 -0
  45. package/dist/cjs/types/components/asthma/helpers/daily-data-providers/resting-heart-rate-nighttime.d.ts +2 -0
  46. package/dist/cjs/types/components/asthma/helpers/daily-data-providers/shared.d.ts +2 -0
  47. package/dist/cjs/types/components/asthma/helpers/daily-data-providers/sleep.d.ts +2 -0
  48. package/dist/cjs/types/components/asthma/helpers/daily-data-providers/steps.d.ts +2 -0
  49. package/dist/cjs/types/components/asthma/helpers/index.d.ts +2 -0
  50. package/dist/cjs/types/components/asthma/index.d.ts +4 -0
  51. package/dist/cjs/types/components/asthma/model/index.d.ts +1 -0
  52. package/dist/cjs/types/components/asthma/model/types.d.ts +66 -0
  53. package/dist/cjs/types/components/asthma/views/AsthmaActionPlanView/AsthmaActionPlanView.d.ts +8 -0
  54. package/dist/cjs/types/components/asthma/views/AsthmaActionPlanView/AsthmaActionPlanView.stories.d.ts +29 -0
  55. package/dist/cjs/types/components/asthma/views/AsthmaActionPlanView/index.d.ts +1 -0
  56. package/dist/cjs/types/components/asthma/views/AsthmaActivityView/AsthmaActivityView.d.ts +8 -0
  57. package/dist/cjs/types/components/asthma/views/AsthmaActivityView/AsthmaActivityView.stories.d.ts +30 -0
  58. package/dist/cjs/types/components/asthma/views/AsthmaActivityView/index.d.ts +1 -0
  59. package/dist/cjs/types/components/asthma/views/AsthmaAirQualityView/AsthmaAirQualityView.d.ts +8 -0
  60. package/dist/cjs/types/components/asthma/views/AsthmaAirQualityView/AsthmaAirQualityView.stories.d.ts +41 -0
  61. package/dist/cjs/types/components/asthma/views/AsthmaAirQualityView/index.d.ts +1 -0
  62. package/dist/cjs/types/components/asthma/views/AsthmaAlertTakeoverView/AsthmaAlertTakeoverView.d.ts +7 -0
  63. package/dist/cjs/types/components/asthma/views/AsthmaAlertTakeoverView/AsthmaAlertTakeoverView.stories.d.ts +23 -0
  64. package/dist/cjs/types/components/asthma/views/AsthmaAlertTakeoverView/index.d.ts +1 -0
  65. package/dist/cjs/types/components/asthma/views/AsthmaDayView/AsthmaDayView.d.ts +15 -0
  66. package/dist/cjs/types/components/asthma/views/AsthmaDayView/AsthmaDayView.stories.d.ts +23 -0
  67. package/dist/cjs/types/components/asthma/views/AsthmaDayView/index.d.ts +1 -0
  68. package/dist/cjs/types/components/asthma/views/AsthmaHeartAndLungsView/AsthmaHeartAndLungsView.d.ts +8 -0
  69. package/dist/cjs/types/components/asthma/views/AsthmaHeartAndLungsView/AsthmaHeartAndLungsView.stories.d.ts +41 -0
  70. package/dist/cjs/types/components/asthma/views/AsthmaHeartAndLungsView/index.d.ts +1 -0
  71. package/dist/cjs/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.d.ts +8 -0
  72. package/dist/cjs/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.previewData.d.ts +6 -0
  73. package/dist/cjs/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.stories.d.ts +29 -0
  74. package/dist/cjs/types/components/asthma/views/AsthmaLogEntryEditorView/index.d.ts +2 -0
  75. package/dist/cjs/types/components/asthma/views/AsthmaSleepView/AsthmaSleepView.d.ts +8 -0
  76. package/dist/cjs/types/components/asthma/views/AsthmaSleepView/AsthmaSleepView.stories.d.ts +30 -0
  77. package/dist/cjs/types/components/asthma/views/AsthmaSleepView/index.d.ts +1 -0
  78. package/dist/cjs/types/components/asthma/views/index.d.ts +8 -0
  79. package/dist/cjs/types/components/container/BloodPressureVisualization/BloodPressureVisualization.d.ts +1 -0
  80. package/dist/cjs/types/components/container/InboxItemList/InboxItemList.d.ts +2 -2
  81. package/dist/cjs/types/components/container/RecentDailyDataBarChart/RecentDailyDataBarChart.d.ts +17 -0
  82. package/dist/cjs/types/components/container/RecentDailyDataBarChart/RecentDailyDataBarChart.stories.d.ts +58 -0
  83. package/dist/cjs/types/components/container/RecentDailyDataBarChart/index.d.ts +1 -0
  84. package/dist/cjs/types/components/container/SeverityCalendar/SeverityCalendar.d.ts +1 -0
  85. package/dist/cjs/types/components/container/index.d.ts +1 -0
  86. package/dist/cjs/types/components/index.d.ts +3 -2
  87. package/dist/cjs/types/components/presentational/DateRangeCoordinator/index.d.ts +1 -1
  88. package/dist/cjs/types/components/presentational/InboxResourceListItem/InboxResourceListItem.d.ts +2 -2
  89. package/dist/cjs/types/components/presentational/InboxResourceListItem/InboxResourceListItem.stories.d.ts +2 -2
  90. package/dist/cjs/types/components/presentational/InboxResourceListItem/index.d.ts +1 -1
  91. package/dist/cjs/types/components/presentational/Layout/index.d.ts +1 -2
  92. package/dist/cjs/types/components/presentational/NavigationBar/NavigationBar.d.ts +1 -0
  93. package/dist/cjs/types/components/presentational/Resource/Resource.d.ts +15 -0
  94. package/dist/cjs/types/components/presentational/{InboxResourceDisplay/InboxResourceDisplay.stories.d.ts → Resource/Resource.stories.d.ts} +11 -11
  95. package/dist/cjs/types/components/presentational/Resource/index.d.ts +1 -0
  96. package/dist/cjs/types/components/presentational/ResourceList/ResourceList.d.ts +19 -0
  97. package/dist/cjs/types/components/presentational/ResourceList/ResourceList.previewData.d.ts +6 -0
  98. package/dist/cjs/types/components/presentational/ResourceList/ResourceList.stories.d.ts +50 -0
  99. package/dist/cjs/types/components/presentational/ResourceList/index.d.ts +2 -0
  100. package/dist/cjs/types/components/presentational/RotatingComponentCoordinator/RotatingComponentCoordinator.d.ts +9 -0
  101. package/dist/cjs/types/components/presentational/RotatingComponentCoordinator/RotatingComponentCoordinator.stories.d.ts +26 -0
  102. package/dist/cjs/types/components/presentational/RotatingComponentCoordinator/index.d.ts +1 -0
  103. package/dist/cjs/types/components/presentational/SingleDataPoint/SingleDataPoint.d.ts +13 -0
  104. package/dist/cjs/types/components/presentational/SingleDataPoint/SingleDataPoint.stories.d.ts +55 -0
  105. package/dist/cjs/types/components/presentational/SingleDataPoint/index.d.ts +1 -0
  106. package/dist/cjs/types/components/presentational/index.d.ts +5 -2
  107. package/dist/cjs/types/components/view/InboxView/InboxView.d.ts +3 -2
  108. package/dist/cjs/types/components/view/ResourceListView/ResourceListView.d.ts +11 -0
  109. package/dist/cjs/types/components/view/ResourceListView/ResourceListView.stories.d.ts +40 -0
  110. package/dist/cjs/types/components/view/ResourceListView/index.d.ts +1 -0
  111. package/dist/cjs/types/components/view/index.d.ts +1 -0
  112. package/dist/cjs/types/helpers/daily-data-providers/air-quality-home.d.ts +2 -0
  113. package/dist/cjs/types/helpers/daily-data-providers/air-quality-work.d.ts +2 -0
  114. package/dist/cjs/types/helpers/daily-data-providers/index.d.ts +3 -0
  115. package/dist/cjs/types/helpers/daily-data-providers/shared.d.ts +4 -0
  116. package/dist/cjs/types/helpers/query-daily-data.d.ts +5 -1
  117. package/dist/cjs/types/index.d.ts +1 -0
  118. package/dist/esm/index.js +12 -189
  119. package/dist/esm/index.js.map +1 -1
  120. package/dist/esm/types/components/asthma/components/AsthmaActionPlanManager/AsthmaActionPlanManager.d.ts +9 -0
  121. package/dist/esm/types/components/asthma/components/AsthmaActionPlanManager/AsthmaActionPlanManager.stories.d.ts +32 -0
  122. package/dist/esm/types/components/asthma/components/AsthmaActionPlanManager/index.d.ts +1 -0
  123. package/dist/esm/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.d.ts +11 -0
  124. package/dist/esm/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.previewData.d.ts +7 -0
  125. package/dist/esm/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.stories.d.ts +37 -0
  126. package/dist/esm/types/components/asthma/components/AsthmaAirQualities/index.d.ts +2 -0
  127. package/dist/esm/types/components/asthma/components/AsthmaAlertTakeoverNotice/AsthmaAlertTakeoverNotice.d.ts +9 -0
  128. package/dist/esm/types/components/asthma/components/AsthmaAlertTakeoverNotice/AsthmaAlertTakeoverNotice.stories.d.ts +34 -0
  129. package/dist/esm/types/components/asthma/components/AsthmaAlertTakeoverNotice/index.d.ts +1 -0
  130. package/dist/esm/types/components/asthma/components/AsthmaAlertTakeoverTrigger/AsthmaAlertTakeoverTrigger.d.ts +11 -0
  131. package/dist/esm/types/components/asthma/components/AsthmaAlertTakeoverTrigger/index.d.ts +1 -0
  132. package/dist/esm/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.d.ts +12 -0
  133. package/dist/esm/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.previewData.d.ts +12 -0
  134. package/dist/esm/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.stories.d.ts +32 -0
  135. package/dist/esm/types/components/asthma/components/AsthmaBiometrics/index.d.ts +2 -0
  136. package/dist/esm/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.d.ts +12 -0
  137. package/dist/esm/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.previewData.d.ts +6 -0
  138. package/dist/esm/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.stories.d.ts +46 -0
  139. package/dist/esm/types/components/asthma/components/AsthmaControlCalendar/index.d.ts +2 -0
  140. package/dist/esm/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.d.ts +10 -0
  141. package/dist/esm/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.previewData.d.ts +8 -0
  142. package/dist/esm/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.stories.d.ts +32 -0
  143. package/dist/esm/types/components/asthma/components/AsthmaControlStatusHeader/index.d.ts +2 -0
  144. package/dist/esm/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.d.ts +13 -0
  145. package/dist/esm/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.previewData.d.ts +6 -0
  146. package/dist/esm/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.stories.d.ts +39 -0
  147. package/dist/esm/types/components/asthma/components/AsthmaLogEntryDetails/index.d.ts +2 -0
  148. package/dist/esm/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.d.ts +11 -0
  149. package/dist/esm/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.previewData.d.ts +7 -0
  150. package/dist/esm/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.stories.d.ts +32 -0
  151. package/dist/esm/types/components/asthma/components/AsthmaLogEntryHeader/index.d.ts +2 -0
  152. package/dist/esm/types/components/asthma/components/AsthmaPostEnrollmentSurveyTrigger/AsthmaPostEnrollmentSurveyTrigger.d.ts +8 -0
  153. package/dist/esm/types/components/asthma/components/AsthmaPostEnrollmentSurveyTrigger/index.d.ts +1 -0
  154. package/dist/esm/types/components/asthma/components/index.d.ts +10 -0
  155. package/dist/esm/types/components/asthma/helpers/asthma-data.d.ts +26 -0
  156. package/dist/esm/types/components/asthma/helpers/asthma-functions.d.ts +20 -0
  157. package/dist/esm/types/components/asthma/helpers/daily-data-providers/blood-oxygen-level-daytime.d.ts +2 -0
  158. package/dist/esm/types/components/asthma/helpers/daily-data-providers/blood-oxygen-level-nighttime.d.ts +2 -0
  159. package/dist/esm/types/components/asthma/helpers/daily-data-providers/index.d.ts +8 -0
  160. package/dist/esm/types/components/asthma/helpers/daily-data-providers/respiratory-rate.d.ts +2 -0
  161. package/dist/esm/types/components/asthma/helpers/daily-data-providers/resting-heart-rate-daytime.d.ts +2 -0
  162. package/dist/esm/types/components/asthma/helpers/daily-data-providers/resting-heart-rate-nighttime.d.ts +2 -0
  163. package/dist/esm/types/components/asthma/helpers/daily-data-providers/shared.d.ts +2 -0
  164. package/dist/esm/types/components/asthma/helpers/daily-data-providers/sleep.d.ts +2 -0
  165. package/dist/esm/types/components/asthma/helpers/daily-data-providers/steps.d.ts +2 -0
  166. package/dist/esm/types/components/asthma/helpers/index.d.ts +2 -0
  167. package/dist/esm/types/components/asthma/index.d.ts +4 -0
  168. package/dist/esm/types/components/asthma/model/index.d.ts +1 -0
  169. package/dist/esm/types/components/asthma/model/types.d.ts +66 -0
  170. package/dist/esm/types/components/asthma/views/AsthmaActionPlanView/AsthmaActionPlanView.d.ts +8 -0
  171. package/dist/esm/types/components/asthma/views/AsthmaActionPlanView/AsthmaActionPlanView.stories.d.ts +29 -0
  172. package/dist/esm/types/components/asthma/views/AsthmaActionPlanView/index.d.ts +1 -0
  173. package/dist/esm/types/components/asthma/views/AsthmaActivityView/AsthmaActivityView.d.ts +8 -0
  174. package/dist/esm/types/components/asthma/views/AsthmaActivityView/AsthmaActivityView.stories.d.ts +30 -0
  175. package/dist/esm/types/components/asthma/views/AsthmaActivityView/index.d.ts +1 -0
  176. package/dist/esm/types/components/asthma/views/AsthmaAirQualityView/AsthmaAirQualityView.d.ts +8 -0
  177. package/dist/esm/types/components/asthma/views/AsthmaAirQualityView/AsthmaAirQualityView.stories.d.ts +41 -0
  178. package/dist/esm/types/components/asthma/views/AsthmaAirQualityView/index.d.ts +1 -0
  179. package/dist/esm/types/components/asthma/views/AsthmaAlertTakeoverView/AsthmaAlertTakeoverView.d.ts +7 -0
  180. package/dist/esm/types/components/asthma/views/AsthmaAlertTakeoverView/AsthmaAlertTakeoverView.stories.d.ts +23 -0
  181. package/dist/esm/types/components/asthma/views/AsthmaAlertTakeoverView/index.d.ts +1 -0
  182. package/dist/esm/types/components/asthma/views/AsthmaDayView/AsthmaDayView.d.ts +15 -0
  183. package/dist/esm/types/components/asthma/views/AsthmaDayView/AsthmaDayView.stories.d.ts +23 -0
  184. package/dist/esm/types/components/asthma/views/AsthmaDayView/index.d.ts +1 -0
  185. package/dist/esm/types/components/asthma/views/AsthmaHeartAndLungsView/AsthmaHeartAndLungsView.d.ts +8 -0
  186. package/dist/esm/types/components/asthma/views/AsthmaHeartAndLungsView/AsthmaHeartAndLungsView.stories.d.ts +41 -0
  187. package/dist/esm/types/components/asthma/views/AsthmaHeartAndLungsView/index.d.ts +1 -0
  188. package/dist/esm/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.d.ts +8 -0
  189. package/dist/esm/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.previewData.d.ts +6 -0
  190. package/dist/esm/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.stories.d.ts +29 -0
  191. package/dist/esm/types/components/asthma/views/AsthmaLogEntryEditorView/index.d.ts +2 -0
  192. package/dist/esm/types/components/asthma/views/AsthmaSleepView/AsthmaSleepView.d.ts +8 -0
  193. package/dist/esm/types/components/asthma/views/AsthmaSleepView/AsthmaSleepView.stories.d.ts +30 -0
  194. package/dist/esm/types/components/asthma/views/AsthmaSleepView/index.d.ts +1 -0
  195. package/dist/esm/types/components/asthma/views/index.d.ts +8 -0
  196. package/dist/esm/types/components/container/BloodPressureVisualization/BloodPressureVisualization.d.ts +1 -0
  197. package/dist/esm/types/components/container/InboxItemList/InboxItemList.d.ts +2 -2
  198. package/dist/esm/types/components/container/RecentDailyDataBarChart/RecentDailyDataBarChart.d.ts +17 -0
  199. package/dist/esm/types/components/container/RecentDailyDataBarChart/RecentDailyDataBarChart.stories.d.ts +58 -0
  200. package/dist/esm/types/components/container/RecentDailyDataBarChart/index.d.ts +1 -0
  201. package/dist/esm/types/components/container/SeverityCalendar/SeverityCalendar.d.ts +1 -0
  202. package/dist/esm/types/components/container/index.d.ts +1 -0
  203. package/dist/esm/types/components/index.d.ts +3 -2
  204. package/dist/esm/types/components/presentational/DateRangeCoordinator/index.d.ts +1 -1
  205. package/dist/esm/types/components/presentational/InboxResourceListItem/InboxResourceListItem.d.ts +2 -2
  206. package/dist/esm/types/components/presentational/InboxResourceListItem/InboxResourceListItem.stories.d.ts +2 -2
  207. package/dist/esm/types/components/presentational/InboxResourceListItem/index.d.ts +1 -1
  208. package/dist/esm/types/components/presentational/Layout/index.d.ts +1 -2
  209. package/dist/esm/types/components/presentational/NavigationBar/NavigationBar.d.ts +1 -0
  210. package/dist/esm/types/components/presentational/Resource/Resource.d.ts +15 -0
  211. package/dist/esm/types/components/presentational/{InboxResourceDisplay/InboxResourceDisplay.stories.d.ts → Resource/Resource.stories.d.ts} +11 -11
  212. package/dist/esm/types/components/presentational/Resource/index.d.ts +1 -0
  213. package/dist/esm/types/components/presentational/ResourceList/ResourceList.d.ts +19 -0
  214. package/dist/esm/types/components/presentational/ResourceList/ResourceList.previewData.d.ts +6 -0
  215. package/dist/esm/types/components/presentational/ResourceList/ResourceList.stories.d.ts +50 -0
  216. package/dist/esm/types/components/presentational/ResourceList/index.d.ts +2 -0
  217. package/dist/esm/types/components/presentational/RotatingComponentCoordinator/RotatingComponentCoordinator.d.ts +9 -0
  218. package/dist/esm/types/components/presentational/RotatingComponentCoordinator/RotatingComponentCoordinator.stories.d.ts +26 -0
  219. package/dist/esm/types/components/presentational/RotatingComponentCoordinator/index.d.ts +1 -0
  220. package/dist/esm/types/components/presentational/SingleDataPoint/SingleDataPoint.d.ts +13 -0
  221. package/dist/esm/types/components/presentational/SingleDataPoint/SingleDataPoint.stories.d.ts +55 -0
  222. package/dist/esm/types/components/presentational/SingleDataPoint/index.d.ts +1 -0
  223. package/dist/esm/types/components/presentational/index.d.ts +5 -2
  224. package/dist/esm/types/components/view/InboxView/InboxView.d.ts +3 -2
  225. package/dist/esm/types/components/view/ResourceListView/ResourceListView.d.ts +11 -0
  226. package/dist/esm/types/components/view/ResourceListView/ResourceListView.stories.d.ts +40 -0
  227. package/dist/esm/types/components/view/ResourceListView/index.d.ts +1 -0
  228. package/dist/esm/types/components/view/index.d.ts +1 -0
  229. package/dist/esm/types/helpers/daily-data-providers/air-quality-home.d.ts +2 -0
  230. package/dist/esm/types/helpers/daily-data-providers/air-quality-work.d.ts +2 -0
  231. package/dist/esm/types/helpers/daily-data-providers/index.d.ts +3 -0
  232. package/dist/esm/types/helpers/daily-data-providers/shared.d.ts +4 -0
  233. package/dist/esm/types/helpers/query-daily-data.d.ts +5 -1
  234. package/dist/esm/types/index.d.ts +1 -0
  235. package/dist/index.d.ts +1157 -799
  236. package/package.json +4 -4
  237. package/dist/cjs/types/components/presentational/InboxResourceDisplay/InboxResourceDisplay.d.ts +0 -12
  238. package/dist/cjs/types/components/presentational/InboxResourceDisplay/index.d.ts +0 -1
  239. package/dist/esm/types/components/presentational/InboxResourceDisplay/InboxResourceDisplay.d.ts +0 -12
  240. package/dist/esm/types/components/presentational/InboxResourceDisplay/index.d.ts +0 -1
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import './Resource.css';
3
+ import '@fortawesome/fontawesome-svg-core/styles.css';
4
+ export type ResourceImageAlignment = 'left' | 'center' | 'right';
5
+ export interface ResourceProps {
6
+ imageUrl?: string;
7
+ title: string;
8
+ subTitle?: string;
9
+ imageAlignment?: ResourceImageAlignment;
10
+ buttonText?: string;
11
+ onClick: () => void;
12
+ hideButton?: boolean;
13
+ innerRef?: React.Ref<HTMLDivElement>;
14
+ }
15
+ export default function (props: ResourceProps): React.JSX.Element;
@@ -1,27 +1,20 @@
1
1
  import React from 'react';
2
- import InboxResourceDisplay from './InboxResourceDisplay';
3
- import { InboxResourceImageAlignment } from '../InboxResourceListItem';
2
+ import Resource, { ResourceProps } from './Resource';
4
3
  declare const _default: {
5
4
  title: string;
6
- component: typeof InboxResourceDisplay;
5
+ component: typeof Resource;
7
6
  parameters: {
8
7
  layout: string;
9
8
  };
10
9
  };
11
10
  export default _default;
12
- interface InboxResourceDisplayStoryArgs {
13
- title: string;
14
- subTitle?: string;
15
- imageUrl?: string;
16
- imageAlignment?: InboxResourceImageAlignment;
17
- buttonText?: string;
18
- }
19
11
  export declare const Default: {
20
12
  args: {
21
13
  title: string;
22
14
  subTitle: string;
23
15
  imageUrl: any;
24
16
  imageAlignment: string;
17
+ hideButton: boolean;
25
18
  buttonText: string;
26
19
  };
27
20
  argTypes: {
@@ -36,9 +29,16 @@ export declare const Default: {
36
29
  control: string;
37
30
  options: string[];
38
31
  };
32
+ hideButton: {
33
+ name: string;
34
+ };
39
35
  buttonText: {
40
36
  name: string;
37
+ if: {
38
+ arg: string;
39
+ eq: boolean;
40
+ };
41
41
  };
42
42
  };
43
- render: (args: InboxResourceDisplayStoryArgs) => React.JSX.Element;
43
+ render: (args: ResourceProps) => React.JSX.Element;
44
44
  };
@@ -0,0 +1 @@
1
+ export { default, ResourceImageAlignment } from './Resource';
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import './ResourceList.css';
3
+ import { ResourceImageAlignment } from '../../presentational';
4
+ import { ResourceListPreviewState } from './ResourceList.previewData';
5
+ export interface ResourceDefinition {
6
+ title: string;
7
+ subTitle?: string;
8
+ url: string;
9
+ imageUrl?: string;
10
+ }
11
+ export interface ResourceListProps {
12
+ previewState?: ResourceListPreviewState;
13
+ resources: ResourceDefinition[];
14
+ onViewResource: (resource: ResourceDefinition) => void;
15
+ emptyText?: string;
16
+ imageAlignment?: ResourceImageAlignment;
17
+ innerRef?: React.Ref<HTMLDivElement>;
18
+ }
19
+ export default function (props: ResourceListProps): React.JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { ResourceDefinition } from './ResourceList';
2
+ export type ResourceListPreviewState = 'no resources' | 'some resources';
3
+ export interface ResourceListPreviewData {
4
+ resources: ResourceDefinition[];
5
+ }
6
+ export declare const previewData: Record<ResourceListPreviewState, ResourceListPreviewData>;
@@ -0,0 +1,50 @@
1
+ import React from 'react';
2
+ import ResourceList, { ResourceListProps } from './ResourceList';
3
+ declare const _default: {
4
+ title: string;
5
+ component: typeof ResourceList;
6
+ parameters: {
7
+ layout: string;
8
+ };
9
+ };
10
+ export default _default;
11
+ interface ResourceListStoryArgs extends ResourceListProps {
12
+ colorScheme: 'auto' | 'light' | 'dark';
13
+ }
14
+ export declare const Default: {
15
+ args: {
16
+ colorScheme: string;
17
+ previewState: string;
18
+ emptyText: string;
19
+ imageAlignment: string;
20
+ };
21
+ argTypes: {
22
+ colorScheme: {
23
+ name: string;
24
+ control: string;
25
+ options: string[];
26
+ };
27
+ previewState: {
28
+ name: string;
29
+ control: string;
30
+ options: string[];
31
+ };
32
+ emptyText: {
33
+ name: string;
34
+ if: {
35
+ arg: string;
36
+ eq: string;
37
+ };
38
+ };
39
+ imageAlignment: {
40
+ name: string;
41
+ control: string;
42
+ options: string[];
43
+ if: {
44
+ arg: string;
45
+ eq: string;
46
+ };
47
+ };
48
+ };
49
+ render: (args: ResourceListStoryArgs) => React.JSX.Element;
50
+ };
@@ -0,0 +1,2 @@
1
+ export { default, ResourceDefinition } from './ResourceList';
2
+ export { ResourceListPreviewState } from './ResourceList.previewData';
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ export type RotatingComponentInterval = 'day' | 'week' | 'month';
3
+ export interface RotatingComponentCoordinatorProps {
4
+ interval?: RotatingComponentInterval;
5
+ children: React.ReactNode;
6
+ startDate: Date;
7
+ innerRef?: React.Ref<HTMLDivElement>;
8
+ }
9
+ export default function (props: RotatingComponentCoordinatorProps): React.JSX.Element;
@@ -0,0 +1,26 @@
1
+ import React from 'react';
2
+ import RotatingComponentCoordinator, { RotatingComponentCoordinatorProps } from './RotatingComponentCoordinator';
3
+ declare const _default: {
4
+ title: string;
5
+ component: typeof RotatingComponentCoordinator;
6
+ parameters: {
7
+ layout: string;
8
+ };
9
+ };
10
+ export default _default;
11
+ export declare const Default: {
12
+ args: {
13
+ interval: string;
14
+ startDate: Date;
15
+ };
16
+ argTypes: {
17
+ interval: {
18
+ control: string;
19
+ options: string[];
20
+ };
21
+ startDate: {
22
+ control: string;
23
+ };
24
+ };
25
+ render: (args: RotatingComponentCoordinatorProps) => React.JSX.Element;
26
+ };
@@ -0,0 +1 @@
1
+ export { default, RotatingComponentInterval } from './RotatingComponentCoordinator';
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import './SingleDataPoint.css';
3
+ import { ColorDefinition } from '../../../helpers/colors';
4
+ export interface SingleDataPointProps {
5
+ label: string;
6
+ statusText?: string;
7
+ statusColor?: ColorDefinition;
8
+ value?: string;
9
+ units?: string;
10
+ onClick?: () => void;
11
+ innerRef?: React.Ref<HTMLDivElement>;
12
+ }
13
+ export default function (props: SingleDataPointProps): React.JSX.Element;
@@ -0,0 +1,55 @@
1
+ import React from 'react';
2
+ import SingleDataPoint, { SingleDataPointProps } from './SingleDataPoint';
3
+ declare const _default: {
4
+ title: string;
5
+ component: typeof SingleDataPoint;
6
+ parameters: {
7
+ layout: string;
8
+ };
9
+ };
10
+ export default _default;
11
+ interface SingleDataPointStoryProps extends SingleDataPointProps {
12
+ colorScheme: 'auto' | 'light' | 'dark';
13
+ clickable: boolean;
14
+ }
15
+ export declare const Default: {
16
+ args: {
17
+ colorScheme: string;
18
+ hasValue: boolean;
19
+ value: string;
20
+ units: string;
21
+ label: string;
22
+ statusText: string;
23
+ statusColor: string;
24
+ clickable: boolean;
25
+ };
26
+ argTypes: {
27
+ colorScheme: {
28
+ name: string;
29
+ control: string;
30
+ options: string[];
31
+ };
32
+ hasValue: {
33
+ name: string;
34
+ };
35
+ value: {
36
+ if: {
37
+ arg: string;
38
+ eq: boolean;
39
+ };
40
+ };
41
+ units: {
42
+ if: {
43
+ arg: string;
44
+ eq: boolean;
45
+ };
46
+ };
47
+ statusText: {
48
+ name: string;
49
+ };
50
+ statusColor: {
51
+ name: string;
52
+ };
53
+ };
54
+ render: (args: SingleDataPointStoryProps) => React.JSX.Element;
55
+ };
@@ -0,0 +1 @@
1
+ export { default } from './SingleDataPoint';
@@ -18,9 +18,13 @@ export { default as NotesInput } from "./NotesInput";
18
18
  export { default as ProgressBar } from "./ProgressBar";
19
19
  export { default as ProgressBarStep } from "./ProgressBar/ProgressBarStep";
20
20
  export { default as ProgressRing } from "./ProgressRing";
21
+ export { default as Resource, ResourceImageAlignment } from "./Resource";
22
+ export { default as ResourceList, ResourceDefinition, ResourceListPreviewState } from "./ResourceList";
23
+ export { default as RotatingComponentCoordinator, RotatingComponentInterval } from "./RotatingComponentCoordinator";
21
24
  export { default as Section } from "./Section";
22
25
  export { default as SegmentedControl } from "./SegmentedControl";
23
26
  export { default as ShinyOverlay } from "./ShinyOverlay";
27
+ export { default as SingleDataPoint } from "./SingleDataPoint";
24
28
  export { default as SingleExternalAccount } from "./SingleExternalAccount";
25
29
  export { default as SingleNotification } from "./SingleNotification";
26
30
  export { default as SingleSurveyTask } from "./SingleSurveyTask";
@@ -36,6 +40,5 @@ export { default as ViewHeader } from "./ViewHeader";
36
40
  export { default as WeekCalendar } from "./WeekCalendar";
37
41
  export { default as InboxCompletedListItem } from "./InboxCompletedListItem";
38
42
  export { default as InboxMessageListItem } from "./InboxMessageListItem";
39
- export { default as InboxResourceDisplay } from "./InboxResourceDisplay";
40
- export { default as InboxResourceListItem, InboxResourceImageAlignment } from "./InboxResourceListItem";
43
+ export { default as InboxResourceListItem } from "./InboxResourceListItem";
41
44
  export { default as InboxSurveyListItem, InboxSurveyVariant } from "./InboxSurveyListItem";
@@ -1,12 +1,13 @@
1
1
  import React from 'react';
2
2
  import './InboxView.css';
3
- import { InboxResourceImageAlignment, InboxSurveyVariant } from '../../presentational';
3
+ import { InboxSurveyVariant, ResourceImageAlignment } from '../../presentational';
4
4
  export interface InboxViewProps {
5
5
  previewState?: 'default';
6
6
  colorScheme?: 'auto' | 'light' | 'dark';
7
7
  surveyVariant?: InboxSurveyVariant;
8
- resourceImageAlignment?: InboxResourceImageAlignment;
8
+ resourceImageAlignment?: ResourceImageAlignment;
9
9
  messageViewerUrl: string;
10
10
  historyViewerUrl: string;
11
+ itemCategory?: string;
11
12
  }
12
13
  export default function (props: InboxViewProps): React.JSX.Element;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { ResourceDefinition, ResourceImageAlignment, ResourceListPreviewState } from '../../presentational';
3
+ export interface ResourceListViewProps {
4
+ colorScheme?: 'light' | 'dark' | 'auto';
5
+ previewState?: ResourceListPreviewState;
6
+ title: string;
7
+ resources: ResourceDefinition[];
8
+ emptyText?: string;
9
+ resourceImageAlignment?: ResourceImageAlignment;
10
+ }
11
+ export default function (props: ResourceListViewProps): React.JSX.Element;
@@ -0,0 +1,40 @@
1
+ import React from 'react';
2
+ import ResourceListView, { ResourceListViewProps } from './ResourceListView';
3
+ declare const _default: {
4
+ title: string;
5
+ component: typeof ResourceListView;
6
+ parameters: {
7
+ layout: string;
8
+ };
9
+ };
10
+ export default _default;
11
+ export declare const Default: {
12
+ args: {
13
+ colorScheme: string;
14
+ previewState: string;
15
+ title: string;
16
+ resourceImageAlignment: string;
17
+ };
18
+ argTypes: {
19
+ colorScheme: {
20
+ name: string;
21
+ control: string;
22
+ options: string[];
23
+ };
24
+ previewState: {
25
+ name: string;
26
+ control: string;
27
+ options: string[];
28
+ };
29
+ resourceImageAlignment: {
30
+ name: string;
31
+ control: string;
32
+ options: string[];
33
+ if: {
34
+ arg: string;
35
+ eq: string;
36
+ };
37
+ };
38
+ };
39
+ render: (args: ResourceListViewProps) => React.JSX.Element;
40
+ };
@@ -0,0 +1 @@
1
+ export { default } from './ResourceListView';
@@ -15,3 +15,4 @@ export { default as NewPointsView, NewPointsViewProps, NewPointsEntry, showNewPo
15
15
  export { default as InboxView } from "./InboxView";
16
16
  export { default as InboxHistoryView } from "./InboxHistoryView";
17
17
  export { default as InboxMessageView } from "./InboxMessageView";
18
+ export { default as ResourceListView } from "./ResourceListView";
@@ -0,0 +1,2 @@
1
+ import { DailyDataQueryResult } from '../query-daily-data';
2
+ export default function (startDate: Date, endDate: Date): Promise<DailyDataQueryResult>;
@@ -0,0 +1,2 @@
1
+ import { DailyDataQueryResult } from '../query-daily-data';
2
+ export default function (startDate: Date, endDate: Date): Promise<DailyDataQueryResult>;
@@ -55,3 +55,6 @@ export { deepSleepMinutes as garminDeepSleepMinutesDataProvider } from "./garmin
55
55
  export { lightSleepMinutes as garminLightSleepMinutesDataProvider } from "./garmin-sleep";
56
56
  export { awakeSleepMinutes as garminAwakeMinutesDataProvider } from "./garmin-sleep";
57
57
  export { sleepScore as garminSleepScoreDataProvider } from "./garmin-sleep";
58
+ export { default as homeAirQualityDataProvider } from './air-quality-home';
59
+ export { default as workAirQualityDataProvider } from './air-quality-work';
60
+ export * from './shared';
@@ -0,0 +1,4 @@
1
+ import { DeviceDataPoint } from "@careevolution/mydatahelps-js";
2
+ import { DailyDataQueryResult } from "../query-daily-data";
3
+ export declare const collateMaxValueDataPointsByDate: (dataPoints: DeviceDataPoint[]) => DailyDataQueryResult;
4
+ export declare const randomDataProvider: (start: Date, end: Date, min: number, max: number, wholeNumbersOnly?: boolean) => Promise<DailyDataQueryResult>;
@@ -1,3 +1,4 @@
1
+ import { DeviceDataNamespace } from "@careevolution/mydatahelps-js";
1
2
  export type DailyDataQueryResult = {
2
3
  [key: string]: number;
3
4
  };
@@ -6,6 +7,7 @@ export type DailyDataAvailabilityCheck = (modifiedAfter?: Date) => Promise<boole
6
7
  export declare function registerDailyDataProvider(type: string, provider: DailyDataProvider, availabilityCheck: DailyDataAvailabilityCheck): void;
7
8
  export declare function checkDailyDataAvailability(type: string, modifiedAfter?: Date): Promise<boolean>;
8
9
  export declare function queryDailyData(type: string, startDate: Date, endDate: Date): Promise<DailyDataQueryResult>;
10
+ export declare function simpleAvailabilityCheck(namespace: DeviceDataNamespace, type: string | string[]): (modifiedAfter?: Date) => Promise<boolean>;
9
11
  export declare enum DailyDataType {
10
12
  AppleHealthDistanceWalkingRunning = "AppleHealthDistanceWalkingRunning",
11
13
  AppleHealthFlightsClimbed = "AppleHealthFlightsClimbed",
@@ -64,5 +66,7 @@ export declare enum DailyDataType {
64
66
  GarminSleepScore = "GarminSleepScore",
65
67
  GoogleFitSteps = "GoogleFitSteps",
66
68
  Steps = "Steps",
67
- RestingHeartRate = "RestingHeartRate"
69
+ RestingHeartRate = "RestingHeartRate",
70
+ HomeAirQuality = "HomeAirQuality",
71
+ WorkAirQuality = "WorkAirQuality"
68
72
  }
@@ -7,3 +7,4 @@ export * from './helpers/get-interval-start';
7
7
  export * from './helpers/colors';
8
8
  export * from './helpers/blood-pressure-data-providers';
9
9
  export * from './helpers/query-all-survey-answers';
10
+ export * from './helpers/Initialization';