@careevolution/mydatahelps-ui 2.9.1-Issue139.5 → 2.10.1-InboxAndAsthmaUI.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 (324) hide show
  1. package/dist/cjs/index.js +144 -20
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.d.ts +10 -0
  4. package/dist/cjs/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.previewData.d.ts +7 -0
  5. package/dist/cjs/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.stories.d.ts +28 -0
  6. package/dist/cjs/types/components/asthma/components/AsthmaAirQualities/index.d.ts +2 -0
  7. package/dist/cjs/types/components/asthma/components/AsthmaAlertTakeoverNotice/AsthmaAlertTakeoverNotice.d.ts +9 -0
  8. package/dist/cjs/types/components/asthma/components/AsthmaAlertTakeoverNotice/AsthmaAlertTakeoverNotice.stories.d.ts +27 -0
  9. package/dist/cjs/types/components/asthma/components/AsthmaAlertTakeoverNotice/index.d.ts +1 -0
  10. package/dist/cjs/types/components/asthma/components/AsthmaAlertTakeoverTrigger/AsthmaAlertTakeoverTrigger.d.ts +11 -0
  11. package/dist/cjs/types/components/asthma/components/AsthmaAlertTakeoverTrigger/index.d.ts +1 -0
  12. package/dist/cjs/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.d.ts +12 -0
  13. package/dist/cjs/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.previewData.d.ts +12 -0
  14. package/dist/cjs/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.stories.d.ts +28 -0
  15. package/dist/cjs/types/components/asthma/components/AsthmaBiometrics/index.d.ts +2 -0
  16. package/dist/cjs/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.d.ts +12 -0
  17. package/dist/cjs/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.previewData.d.ts +6 -0
  18. package/dist/cjs/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.stories.d.ts +29 -0
  19. package/dist/cjs/types/components/asthma/components/AsthmaControlCalendar/index.d.ts +2 -0
  20. package/dist/cjs/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.d.ts +10 -0
  21. package/dist/cjs/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.previewData.d.ts +8 -0
  22. package/dist/cjs/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.stories.d.ts +138 -0
  23. package/dist/cjs/types/components/asthma/components/AsthmaControlStatusHeader/index.d.ts +2 -0
  24. package/dist/cjs/types/components/asthma/components/AsthmaDataSummary/AsthmaDataSummary.d.ts +13 -0
  25. package/dist/cjs/types/components/asthma/components/AsthmaDataSummary/AsthmaDataSummary.stories.d.ts +70 -0
  26. package/dist/cjs/types/components/asthma/components/AsthmaDataSummary/index.d.ts +1 -0
  27. package/dist/cjs/types/components/asthma/components/AsthmaFacts/AsthmaFacts.d.ts +5 -0
  28. package/dist/cjs/types/components/asthma/components/AsthmaFacts/AsthmaFacts.stories.d.ts +19 -0
  29. package/dist/cjs/types/components/asthma/components/AsthmaFacts/index.d.ts +1 -0
  30. package/dist/cjs/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.d.ts +12 -0
  31. package/dist/cjs/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.previewData.d.ts +6 -0
  32. package/dist/cjs/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.stories.d.ts +59 -0
  33. package/dist/cjs/types/components/asthma/components/AsthmaLogEntryDetails/index.d.ts +2 -0
  34. package/dist/cjs/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.d.ts +11 -0
  35. package/dist/cjs/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.previewData.d.ts +7 -0
  36. package/dist/cjs/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.stories.d.ts +34 -0
  37. package/dist/cjs/types/components/asthma/components/AsthmaLogEntryHeader/index.d.ts +2 -0
  38. package/dist/cjs/types/components/asthma/components/AsthmaLogEntrySummary/AsthmaLogEntrySummary.d.ts +11 -0
  39. package/dist/cjs/types/components/asthma/components/AsthmaLogEntrySummary/AsthmaLogEntrySummary.stories.d.ts +60 -0
  40. package/dist/cjs/types/components/asthma/components/AsthmaLogEntrySummary/index.d.ts +1 -0
  41. package/dist/cjs/types/components/asthma/components/AsthmaPostEnrollmentSurveyTrigger/AsthmaPostEnrollmentSurveyTrigger.d.ts +8 -0
  42. package/dist/cjs/types/components/asthma/components/AsthmaPostEnrollmentSurveyTrigger/index.d.ts +1 -0
  43. package/dist/cjs/types/components/asthma/components/index.d.ts +12 -0
  44. package/dist/cjs/types/components/asthma/helpers/asthma-data.d.ts +15 -0
  45. package/dist/cjs/types/components/asthma/helpers/asthma-functions.d.ts +6 -0
  46. package/dist/cjs/types/components/asthma/helpers/daily-data-providers/air-quality-home.d.ts +2 -0
  47. package/dist/cjs/types/components/asthma/helpers/daily-data-providers/air-quality-work.d.ts +2 -0
  48. package/dist/cjs/types/components/asthma/helpers/daily-data-providers/blood-oxygen-level-daytime.d.ts +2 -0
  49. package/dist/cjs/types/components/asthma/helpers/daily-data-providers/blood-oxygen-level-nighttime.d.ts +2 -0
  50. package/dist/cjs/types/components/asthma/helpers/daily-data-providers/index.d.ts +10 -0
  51. package/dist/cjs/types/components/asthma/helpers/daily-data-providers/respiratory-rate.d.ts +2 -0
  52. package/dist/cjs/types/components/asthma/helpers/daily-data-providers/resting-heart-rate-daytime.d.ts +2 -0
  53. package/dist/cjs/types/components/asthma/helpers/daily-data-providers/resting-heart-rate-nighttime.d.ts +2 -0
  54. package/dist/cjs/types/components/asthma/helpers/daily-data-providers/shared.d.ts +6 -0
  55. package/dist/cjs/types/components/asthma/helpers/daily-data-providers/sleep.d.ts +2 -0
  56. package/dist/cjs/types/components/asthma/helpers/daily-data-providers/steps.d.ts +2 -0
  57. package/dist/cjs/types/components/asthma/helpers/index.d.ts +2 -0
  58. package/dist/cjs/types/components/asthma/index.d.ts +4 -0
  59. package/dist/cjs/types/components/asthma/model/index.d.ts +1 -0
  60. package/dist/cjs/types/components/asthma/model/types.d.ts +49 -0
  61. package/dist/cjs/types/components/asthma/views/AsthmaActivityView/AsthmaActivityView.d.ts +8 -0
  62. package/dist/cjs/types/components/asthma/views/AsthmaActivityView/AsthmaActivityView.stories.d.ts +25 -0
  63. package/dist/cjs/types/components/asthma/views/AsthmaActivityView/index.d.ts +1 -0
  64. package/dist/cjs/types/components/asthma/views/AsthmaAirQualityView/AsthmaAirQualityView.d.ts +8 -0
  65. package/dist/cjs/types/components/asthma/views/AsthmaAirQualityView/AsthmaAirQualityView.stories.d.ts +25 -0
  66. package/dist/cjs/types/components/asthma/views/AsthmaAirQualityView/index.d.ts +1 -0
  67. package/dist/cjs/types/components/asthma/views/AsthmaAlertTakeoverView/AsthmaAlertTakeoverView.d.ts +7 -0
  68. package/dist/cjs/types/components/asthma/views/AsthmaAlertTakeoverView/AsthmaAlertTakeoverView.stories.d.ts +13 -0
  69. package/dist/cjs/types/components/asthma/views/AsthmaAlertTakeoverView/index.d.ts +1 -0
  70. package/dist/cjs/types/components/asthma/views/AsthmaDayView/AsthmaDayView.d.ts +20 -0
  71. package/dist/cjs/types/components/asthma/views/AsthmaDayView/AsthmaDayView.stories.d.ts +21 -0
  72. package/dist/cjs/types/components/asthma/views/AsthmaDayView/index.d.ts +1 -0
  73. package/dist/cjs/types/components/asthma/views/AsthmaHeartAndLungsView/AsthmaHeartAndLungsView.d.ts +8 -0
  74. package/dist/cjs/types/components/asthma/views/AsthmaHeartAndLungsView/AsthmaHeartAndLungsView.stories.d.ts +25 -0
  75. package/dist/cjs/types/components/asthma/views/AsthmaHeartAndLungsView/index.d.ts +1 -0
  76. package/dist/cjs/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.d.ts +8 -0
  77. package/dist/cjs/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.previewData.d.ts +6 -0
  78. package/dist/cjs/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.stories.d.ts +38 -0
  79. package/dist/cjs/types/components/asthma/views/AsthmaLogEntryEditorView/index.d.ts +2 -0
  80. package/dist/cjs/types/components/asthma/views/AsthmaSleepView/AsthmaSleepView.d.ts +8 -0
  81. package/dist/cjs/types/components/asthma/views/AsthmaSleepView/AsthmaSleepView.stories.d.ts +25 -0
  82. package/dist/cjs/types/components/asthma/views/AsthmaSleepView/index.d.ts +1 -0
  83. package/dist/cjs/types/components/asthma/views/index.d.ts +7 -0
  84. package/dist/cjs/types/components/container/BloodPressureVisualization/BloodPressureVisualization.d.ts +11 -0
  85. package/dist/cjs/types/components/container/BloodPressureVisualization/BloodPressureVisualization.previewdata.d.ts +2 -0
  86. package/dist/cjs/types/components/container/BloodPressureVisualization/BloodPressureVisualization.stories.d.ts +43 -0
  87. package/dist/cjs/types/components/container/BloodPressureVisualization/index.d.ts +1 -0
  88. package/dist/cjs/types/components/container/DailyDataChart/DailyDataChart.d.ts +3 -0
  89. package/dist/cjs/types/components/container/InboxItemList/InboxItemList.d.ts +27 -0
  90. package/dist/cjs/types/components/container/InboxItemList/InboxItemList.previewData.d.ts +6 -0
  91. package/dist/cjs/types/components/container/InboxItemList/InboxItemList.stories.d.ts +66 -0
  92. package/dist/cjs/types/components/container/InboxItemList/index.d.ts +1 -0
  93. package/dist/cjs/types/components/container/InboxItemListCoordinator/InboxItemListCoordinator.d.ts +12 -0
  94. package/dist/cjs/types/components/container/InboxItemListCoordinator/index.d.ts +1 -0
  95. package/dist/cjs/types/components/container/SeverityCalendar/SeverityCalendar.d.ts +11 -0
  96. package/dist/cjs/types/components/container/SeverityCalendar/SeverityCalendar.previewdata.d.ts +2 -0
  97. package/dist/cjs/types/components/container/SeverityCalendar/SeverityCalendar.stories.d.ts +52 -0
  98. package/dist/cjs/types/components/container/SeverityCalendar/index.d.ts +1 -0
  99. package/dist/cjs/types/components/container/index.d.ts +4 -0
  100. package/dist/cjs/types/components/index.d.ts +3 -2
  101. package/dist/cjs/types/components/presentational/CalendarDay/CalendarDay.d.ts +18 -0
  102. package/dist/cjs/types/components/presentational/CalendarDay/CalendarDay.stories.d.ts +411 -0
  103. package/dist/cjs/types/components/presentational/CalendarDay/index.d.ts +1 -0
  104. package/dist/cjs/types/components/presentational/DateRangeCoordinator/index.d.ts +1 -1
  105. package/dist/cjs/types/components/presentational/DumbbellChart/Dumbbell.d.ts +9 -0
  106. package/dist/cjs/types/components/presentational/DumbbellChart/DumbbellChart.d.ts +28 -0
  107. package/dist/cjs/types/components/presentational/DumbbellChart/index.d.ts +1 -0
  108. package/dist/cjs/types/components/presentational/InboxCompletedListItem/InboxCompletedListItem.d.ts +10 -0
  109. package/dist/cjs/types/components/presentational/InboxCompletedListItem/InboxCompletedListItem.stories.d.ts +23 -0
  110. package/dist/cjs/types/components/presentational/InboxCompletedListItem/index.d.ts +1 -0
  111. package/dist/cjs/types/components/presentational/InboxMessageListItem/InboxMessageListItem.d.ts +10 -0
  112. package/dist/cjs/types/components/presentational/InboxMessageListItem/InboxMessageListItem.stories.d.ts +24 -0
  113. package/dist/cjs/types/components/presentational/InboxMessageListItem/index.d.ts +1 -0
  114. package/dist/cjs/types/components/presentational/InboxResourceDisplay/InboxResourceDisplay.d.ts +12 -0
  115. package/dist/cjs/types/components/presentational/InboxResourceDisplay/InboxResourceDisplay.stories.d.ts +44 -0
  116. package/dist/cjs/types/components/presentational/InboxResourceDisplay/index.d.ts +1 -0
  117. package/dist/cjs/types/components/presentational/InboxResourceListItem/InboxResourceListItem.d.ts +12 -0
  118. package/dist/cjs/types/components/presentational/InboxResourceListItem/InboxResourceListItem.stories.d.ts +67 -0
  119. package/dist/cjs/types/components/presentational/InboxResourceListItem/index.d.ts +1 -0
  120. package/dist/cjs/types/components/presentational/InboxSurveyListItem/InboxSurveyListItem.d.ts +13 -0
  121. package/dist/cjs/types/components/presentational/InboxSurveyListItem/InboxSurveyListItem.stories.d.ts +72 -0
  122. package/dist/cjs/types/components/presentational/InboxSurveyListItem/index.d.ts +1 -0
  123. package/dist/cjs/types/components/presentational/Layout/index.d.ts +1 -2
  124. package/dist/cjs/types/components/presentational/NavigationBar/NavigationBar.d.ts +5 -2
  125. package/dist/cjs/types/components/presentational/NavigationBar/NavigationBar.stories.d.ts +83 -0
  126. package/dist/cjs/types/components/presentational/ProgressBar/ProgressBar.d.ts +24 -0
  127. package/dist/cjs/types/components/presentational/ProgressBar/ProgressBarStep.d.ts +9 -0
  128. package/dist/cjs/types/components/presentational/ProgressBar/index.d.ts +2 -0
  129. package/dist/cjs/types/components/presentational/RotatingText/RotatingText.d.ts +15 -0
  130. package/dist/cjs/types/components/presentational/RotatingText/RotatingText.stories.d.ts +149 -0
  131. package/dist/cjs/types/components/presentational/RotatingText/index.d.ts +1 -0
  132. package/dist/cjs/types/components/presentational/SingleSurveyTask/SingleSurveyTask.d.ts +6 -6
  133. package/dist/cjs/types/components/presentational/SingleSurveyTask/SingleSurveyTask.stories.d.ts +59 -128
  134. package/dist/cjs/types/components/presentational/ValueSelector/ValueSelector.d.ts +23 -0
  135. package/dist/cjs/types/components/presentational/ValueSelector/ValueSelector.stories.d.ts +119 -0
  136. package/dist/cjs/types/components/presentational/ValueSelector/index.d.ts +1 -0
  137. package/dist/cjs/types/components/presentational/index.d.ts +13 -2
  138. package/dist/cjs/types/components/view/InboxHistoryView/InboxHistoryView.d.ts +8 -0
  139. package/dist/cjs/types/components/view/InboxHistoryView/InboxHistoryView.stories.d.ts +13 -0
  140. package/dist/cjs/types/components/view/InboxHistoryView/index.d.ts +1 -0
  141. package/dist/cjs/types/components/view/InboxMessageView/InboxMessageView.d.ts +11 -0
  142. package/dist/cjs/types/components/view/InboxMessageView/InboxMessageView.stories.d.ts +48 -0
  143. package/dist/cjs/types/components/view/InboxMessageView/index.d.ts +1 -0
  144. package/dist/cjs/types/components/view/InboxView/InboxView.d.ts +12 -0
  145. package/dist/cjs/types/components/view/InboxView/InboxView.stories.d.ts +27 -0
  146. package/dist/cjs/types/components/view/InboxView/index.d.ts +1 -0
  147. package/dist/cjs/types/components/view/index.d.ts +3 -0
  148. package/dist/cjs/types/helpers/Inbox/inbox-data.d.ts +8 -0
  149. package/dist/cjs/types/helpers/blood-pressure-data-providers/index.d.ts +3 -0
  150. package/dist/cjs/types/helpers/blood-pressure-data-providers/survey-blood-pressure-data-provider.d.ts +12 -0
  151. package/dist/cjs/types/helpers/daily-data-providers/apple-health-active-energy-burned.d.ts +3 -0
  152. package/dist/cjs/types/helpers/daily-data-providers/garmin-active-calories.d.ts +3 -0
  153. package/dist/cjs/types/helpers/daily-data-providers/garmin-resting-calories.d.ts +3 -0
  154. package/dist/cjs/types/helpers/daily-data-providers/garmin-total-calories.d.ts +3 -0
  155. package/dist/cjs/types/helpers/daily-data-providers/index.d.ts +4 -0
  156. package/dist/cjs/types/helpers/daily-data-providers/query-garmin-total-daily-values.d.ts +3 -0
  157. package/dist/cjs/types/helpers/date-helpers.d.ts +1 -0
  158. package/dist/cjs/types/helpers/functions.d.ts +1 -0
  159. package/dist/cjs/types/helpers/query-all-survey-answers.d.ts +2 -0
  160. package/dist/cjs/types/helpers/query-daily-data.d.ts +6 -0
  161. package/dist/cjs/types/index.d.ts +3 -0
  162. package/dist/esm/index.js +144 -20
  163. package/dist/esm/index.js.map +1 -1
  164. package/dist/esm/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.d.ts +10 -0
  165. package/dist/esm/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.previewData.d.ts +7 -0
  166. package/dist/esm/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.stories.d.ts +28 -0
  167. package/dist/esm/types/components/asthma/components/AsthmaAirQualities/index.d.ts +2 -0
  168. package/dist/esm/types/components/asthma/components/AsthmaAlertTakeoverNotice/AsthmaAlertTakeoverNotice.d.ts +9 -0
  169. package/dist/esm/types/components/asthma/components/AsthmaAlertTakeoverNotice/AsthmaAlertTakeoverNotice.stories.d.ts +27 -0
  170. package/dist/esm/types/components/asthma/components/AsthmaAlertTakeoverNotice/index.d.ts +1 -0
  171. package/dist/esm/types/components/asthma/components/AsthmaAlertTakeoverTrigger/AsthmaAlertTakeoverTrigger.d.ts +11 -0
  172. package/dist/esm/types/components/asthma/components/AsthmaAlertTakeoverTrigger/index.d.ts +1 -0
  173. package/dist/esm/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.d.ts +12 -0
  174. package/dist/esm/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.previewData.d.ts +12 -0
  175. package/dist/esm/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.stories.d.ts +28 -0
  176. package/dist/esm/types/components/asthma/components/AsthmaBiometrics/index.d.ts +2 -0
  177. package/dist/esm/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.d.ts +12 -0
  178. package/dist/esm/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.previewData.d.ts +6 -0
  179. package/dist/esm/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.stories.d.ts +29 -0
  180. package/dist/esm/types/components/asthma/components/AsthmaControlCalendar/index.d.ts +2 -0
  181. package/dist/esm/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.d.ts +10 -0
  182. package/dist/esm/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.previewData.d.ts +8 -0
  183. package/dist/esm/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.stories.d.ts +138 -0
  184. package/dist/esm/types/components/asthma/components/AsthmaControlStatusHeader/index.d.ts +2 -0
  185. package/dist/esm/types/components/asthma/components/AsthmaDataSummary/AsthmaDataSummary.d.ts +13 -0
  186. package/dist/esm/types/components/asthma/components/AsthmaDataSummary/AsthmaDataSummary.stories.d.ts +70 -0
  187. package/dist/esm/types/components/asthma/components/AsthmaDataSummary/index.d.ts +1 -0
  188. package/dist/esm/types/components/asthma/components/AsthmaFacts/AsthmaFacts.d.ts +5 -0
  189. package/dist/esm/types/components/asthma/components/AsthmaFacts/AsthmaFacts.stories.d.ts +19 -0
  190. package/dist/esm/types/components/asthma/components/AsthmaFacts/index.d.ts +1 -0
  191. package/dist/esm/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.d.ts +12 -0
  192. package/dist/esm/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.previewData.d.ts +6 -0
  193. package/dist/esm/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.stories.d.ts +59 -0
  194. package/dist/esm/types/components/asthma/components/AsthmaLogEntryDetails/index.d.ts +2 -0
  195. package/dist/esm/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.d.ts +11 -0
  196. package/dist/esm/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.previewData.d.ts +7 -0
  197. package/dist/esm/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.stories.d.ts +34 -0
  198. package/dist/esm/types/components/asthma/components/AsthmaLogEntryHeader/index.d.ts +2 -0
  199. package/dist/esm/types/components/asthma/components/AsthmaLogEntrySummary/AsthmaLogEntrySummary.d.ts +11 -0
  200. package/dist/esm/types/components/asthma/components/AsthmaLogEntrySummary/AsthmaLogEntrySummary.stories.d.ts +60 -0
  201. package/dist/esm/types/components/asthma/components/AsthmaLogEntrySummary/index.d.ts +1 -0
  202. package/dist/esm/types/components/asthma/components/AsthmaPostEnrollmentSurveyTrigger/AsthmaPostEnrollmentSurveyTrigger.d.ts +8 -0
  203. package/dist/esm/types/components/asthma/components/AsthmaPostEnrollmentSurveyTrigger/index.d.ts +1 -0
  204. package/dist/esm/types/components/asthma/components/index.d.ts +12 -0
  205. package/dist/esm/types/components/asthma/helpers/asthma-data.d.ts +15 -0
  206. package/dist/esm/types/components/asthma/helpers/asthma-functions.d.ts +6 -0
  207. package/dist/esm/types/components/asthma/helpers/daily-data-providers/air-quality-home.d.ts +2 -0
  208. package/dist/esm/types/components/asthma/helpers/daily-data-providers/air-quality-work.d.ts +2 -0
  209. package/dist/esm/types/components/asthma/helpers/daily-data-providers/blood-oxygen-level-daytime.d.ts +2 -0
  210. package/dist/esm/types/components/asthma/helpers/daily-data-providers/blood-oxygen-level-nighttime.d.ts +2 -0
  211. package/dist/esm/types/components/asthma/helpers/daily-data-providers/index.d.ts +10 -0
  212. package/dist/esm/types/components/asthma/helpers/daily-data-providers/respiratory-rate.d.ts +2 -0
  213. package/dist/esm/types/components/asthma/helpers/daily-data-providers/resting-heart-rate-daytime.d.ts +2 -0
  214. package/dist/esm/types/components/asthma/helpers/daily-data-providers/resting-heart-rate-nighttime.d.ts +2 -0
  215. package/dist/esm/types/components/asthma/helpers/daily-data-providers/shared.d.ts +6 -0
  216. package/dist/esm/types/components/asthma/helpers/daily-data-providers/sleep.d.ts +2 -0
  217. package/dist/esm/types/components/asthma/helpers/daily-data-providers/steps.d.ts +2 -0
  218. package/dist/esm/types/components/asthma/helpers/index.d.ts +2 -0
  219. package/dist/esm/types/components/asthma/index.d.ts +4 -0
  220. package/dist/esm/types/components/asthma/model/index.d.ts +1 -0
  221. package/dist/esm/types/components/asthma/model/types.d.ts +49 -0
  222. package/dist/esm/types/components/asthma/views/AsthmaActivityView/AsthmaActivityView.d.ts +8 -0
  223. package/dist/esm/types/components/asthma/views/AsthmaActivityView/AsthmaActivityView.stories.d.ts +25 -0
  224. package/dist/esm/types/components/asthma/views/AsthmaActivityView/index.d.ts +1 -0
  225. package/dist/esm/types/components/asthma/views/AsthmaAirQualityView/AsthmaAirQualityView.d.ts +8 -0
  226. package/dist/esm/types/components/asthma/views/AsthmaAirQualityView/AsthmaAirQualityView.stories.d.ts +25 -0
  227. package/dist/esm/types/components/asthma/views/AsthmaAirQualityView/index.d.ts +1 -0
  228. package/dist/esm/types/components/asthma/views/AsthmaAlertTakeoverView/AsthmaAlertTakeoverView.d.ts +7 -0
  229. package/dist/esm/types/components/asthma/views/AsthmaAlertTakeoverView/AsthmaAlertTakeoverView.stories.d.ts +13 -0
  230. package/dist/esm/types/components/asthma/views/AsthmaAlertTakeoverView/index.d.ts +1 -0
  231. package/dist/esm/types/components/asthma/views/AsthmaDayView/AsthmaDayView.d.ts +20 -0
  232. package/dist/esm/types/components/asthma/views/AsthmaDayView/AsthmaDayView.stories.d.ts +21 -0
  233. package/dist/esm/types/components/asthma/views/AsthmaDayView/index.d.ts +1 -0
  234. package/dist/esm/types/components/asthma/views/AsthmaHeartAndLungsView/AsthmaHeartAndLungsView.d.ts +8 -0
  235. package/dist/esm/types/components/asthma/views/AsthmaHeartAndLungsView/AsthmaHeartAndLungsView.stories.d.ts +25 -0
  236. package/dist/esm/types/components/asthma/views/AsthmaHeartAndLungsView/index.d.ts +1 -0
  237. package/dist/esm/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.d.ts +8 -0
  238. package/dist/esm/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.previewData.d.ts +6 -0
  239. package/dist/esm/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.stories.d.ts +38 -0
  240. package/dist/esm/types/components/asthma/views/AsthmaLogEntryEditorView/index.d.ts +2 -0
  241. package/dist/esm/types/components/asthma/views/AsthmaSleepView/AsthmaSleepView.d.ts +8 -0
  242. package/dist/esm/types/components/asthma/views/AsthmaSleepView/AsthmaSleepView.stories.d.ts +25 -0
  243. package/dist/esm/types/components/asthma/views/AsthmaSleepView/index.d.ts +1 -0
  244. package/dist/esm/types/components/asthma/views/index.d.ts +7 -0
  245. package/dist/esm/types/components/container/BloodPressureVisualization/BloodPressureVisualization.d.ts +11 -0
  246. package/dist/esm/types/components/container/BloodPressureVisualization/BloodPressureVisualization.previewdata.d.ts +2 -0
  247. package/dist/esm/types/components/container/BloodPressureVisualization/BloodPressureVisualization.stories.d.ts +43 -0
  248. package/dist/esm/types/components/container/BloodPressureVisualization/index.d.ts +1 -0
  249. package/dist/esm/types/components/container/DailyDataChart/DailyDataChart.d.ts +3 -0
  250. package/dist/esm/types/components/container/InboxItemList/InboxItemList.d.ts +27 -0
  251. package/dist/esm/types/components/container/InboxItemList/InboxItemList.previewData.d.ts +6 -0
  252. package/dist/esm/types/components/container/InboxItemList/InboxItemList.stories.d.ts +66 -0
  253. package/dist/esm/types/components/container/InboxItemList/index.d.ts +1 -0
  254. package/dist/esm/types/components/container/InboxItemListCoordinator/InboxItemListCoordinator.d.ts +12 -0
  255. package/dist/esm/types/components/container/InboxItemListCoordinator/index.d.ts +1 -0
  256. package/dist/esm/types/components/container/SeverityCalendar/SeverityCalendar.d.ts +11 -0
  257. package/dist/esm/types/components/container/SeverityCalendar/SeverityCalendar.previewdata.d.ts +2 -0
  258. package/dist/esm/types/components/container/SeverityCalendar/SeverityCalendar.stories.d.ts +52 -0
  259. package/dist/esm/types/components/container/SeverityCalendar/index.d.ts +1 -0
  260. package/dist/esm/types/components/container/index.d.ts +4 -0
  261. package/dist/esm/types/components/index.d.ts +3 -2
  262. package/dist/esm/types/components/presentational/CalendarDay/CalendarDay.d.ts +18 -0
  263. package/dist/esm/types/components/presentational/CalendarDay/CalendarDay.stories.d.ts +411 -0
  264. package/dist/esm/types/components/presentational/CalendarDay/index.d.ts +1 -0
  265. package/dist/esm/types/components/presentational/DateRangeCoordinator/index.d.ts +1 -1
  266. package/dist/esm/types/components/presentational/DumbbellChart/Dumbbell.d.ts +9 -0
  267. package/dist/esm/types/components/presentational/DumbbellChart/DumbbellChart.d.ts +28 -0
  268. package/dist/esm/types/components/presentational/DumbbellChart/index.d.ts +1 -0
  269. package/dist/esm/types/components/presentational/InboxCompletedListItem/InboxCompletedListItem.d.ts +10 -0
  270. package/dist/esm/types/components/presentational/InboxCompletedListItem/InboxCompletedListItem.stories.d.ts +23 -0
  271. package/dist/esm/types/components/presentational/InboxCompletedListItem/index.d.ts +1 -0
  272. package/dist/esm/types/components/presentational/InboxMessageListItem/InboxMessageListItem.d.ts +10 -0
  273. package/dist/esm/types/components/presentational/InboxMessageListItem/InboxMessageListItem.stories.d.ts +24 -0
  274. package/dist/esm/types/components/presentational/InboxMessageListItem/index.d.ts +1 -0
  275. package/dist/esm/types/components/presentational/InboxResourceDisplay/InboxResourceDisplay.d.ts +12 -0
  276. package/dist/esm/types/components/presentational/InboxResourceDisplay/InboxResourceDisplay.stories.d.ts +44 -0
  277. package/dist/esm/types/components/presentational/InboxResourceDisplay/index.d.ts +1 -0
  278. package/dist/esm/types/components/presentational/InboxResourceListItem/InboxResourceListItem.d.ts +12 -0
  279. package/dist/esm/types/components/presentational/InboxResourceListItem/InboxResourceListItem.stories.d.ts +67 -0
  280. package/dist/esm/types/components/presentational/InboxResourceListItem/index.d.ts +1 -0
  281. package/dist/esm/types/components/presentational/InboxSurveyListItem/InboxSurveyListItem.d.ts +13 -0
  282. package/dist/esm/types/components/presentational/InboxSurveyListItem/InboxSurveyListItem.stories.d.ts +72 -0
  283. package/dist/esm/types/components/presentational/InboxSurveyListItem/index.d.ts +1 -0
  284. package/dist/esm/types/components/presentational/Layout/index.d.ts +1 -2
  285. package/dist/esm/types/components/presentational/NavigationBar/NavigationBar.d.ts +5 -2
  286. package/dist/esm/types/components/presentational/NavigationBar/NavigationBar.stories.d.ts +83 -0
  287. package/dist/esm/types/components/presentational/ProgressBar/ProgressBar.d.ts +24 -0
  288. package/dist/esm/types/components/presentational/ProgressBar/ProgressBarStep.d.ts +9 -0
  289. package/dist/esm/types/components/presentational/ProgressBar/index.d.ts +2 -0
  290. package/dist/esm/types/components/presentational/RotatingText/RotatingText.d.ts +15 -0
  291. package/dist/esm/types/components/presentational/RotatingText/RotatingText.stories.d.ts +149 -0
  292. package/dist/esm/types/components/presentational/RotatingText/index.d.ts +1 -0
  293. package/dist/esm/types/components/presentational/SingleSurveyTask/SingleSurveyTask.d.ts +6 -6
  294. package/dist/esm/types/components/presentational/SingleSurveyTask/SingleSurveyTask.stories.d.ts +59 -128
  295. package/dist/esm/types/components/presentational/ValueSelector/ValueSelector.d.ts +23 -0
  296. package/dist/esm/types/components/presentational/ValueSelector/ValueSelector.stories.d.ts +119 -0
  297. package/dist/esm/types/components/presentational/ValueSelector/index.d.ts +1 -0
  298. package/dist/esm/types/components/presentational/index.d.ts +13 -2
  299. package/dist/esm/types/components/view/InboxHistoryView/InboxHistoryView.d.ts +8 -0
  300. package/dist/esm/types/components/view/InboxHistoryView/InboxHistoryView.stories.d.ts +13 -0
  301. package/dist/esm/types/components/view/InboxHistoryView/index.d.ts +1 -0
  302. package/dist/esm/types/components/view/InboxMessageView/InboxMessageView.d.ts +11 -0
  303. package/dist/esm/types/components/view/InboxMessageView/InboxMessageView.stories.d.ts +48 -0
  304. package/dist/esm/types/components/view/InboxMessageView/index.d.ts +1 -0
  305. package/dist/esm/types/components/view/InboxView/InboxView.d.ts +12 -0
  306. package/dist/esm/types/components/view/InboxView/InboxView.stories.d.ts +27 -0
  307. package/dist/esm/types/components/view/InboxView/index.d.ts +1 -0
  308. package/dist/esm/types/components/view/index.d.ts +3 -0
  309. package/dist/esm/types/helpers/Inbox/inbox-data.d.ts +8 -0
  310. package/dist/esm/types/helpers/blood-pressure-data-providers/index.d.ts +3 -0
  311. package/dist/esm/types/helpers/blood-pressure-data-providers/survey-blood-pressure-data-provider.d.ts +12 -0
  312. package/dist/esm/types/helpers/daily-data-providers/apple-health-active-energy-burned.d.ts +3 -0
  313. package/dist/esm/types/helpers/daily-data-providers/garmin-active-calories.d.ts +3 -0
  314. package/dist/esm/types/helpers/daily-data-providers/garmin-resting-calories.d.ts +3 -0
  315. package/dist/esm/types/helpers/daily-data-providers/garmin-total-calories.d.ts +3 -0
  316. package/dist/esm/types/helpers/daily-data-providers/index.d.ts +4 -0
  317. package/dist/esm/types/helpers/daily-data-providers/query-garmin-total-daily-values.d.ts +3 -0
  318. package/dist/esm/types/helpers/date-helpers.d.ts +1 -0
  319. package/dist/esm/types/helpers/functions.d.ts +1 -0
  320. package/dist/esm/types/helpers/query-all-survey-answers.d.ts +2 -0
  321. package/dist/esm/types/helpers/query-daily-data.d.ts +6 -0
  322. package/dist/esm/types/index.d.ts +3 -0
  323. package/dist/index.d.ts +1042 -532
  324. package/package.json +4 -4
@@ -0,0 +1,27 @@
1
+ import React from 'react';
2
+ import './InboxItemList.css';
3
+ import { InboxItem, InboxItemSortColumn, InboxItemStatus, InboxItemType, SortOrder } from '@careevolution/mydatahelps-js';
4
+ import { InboxResourceImageAlignment, InboxSurveyVariant } from '../../presentational';
5
+ import { InboxItemListPreviewState } from './InboxItemList.previewData';
6
+ export interface InboxItemListProps {
7
+ previewState?: InboxItemListPreviewState;
8
+ title?: string;
9
+ type?: InboxItemType | InboxItemType[];
10
+ status?: InboxItemStatus | InboxItemStatus[];
11
+ category?: string;
12
+ sortOrder?: SortOrder;
13
+ sortColumn?: InboxItemSortColumn;
14
+ endsAfter?: string;
15
+ endsBefore?: string;
16
+ limit?: number;
17
+ messageViewerUrl?: string;
18
+ emptyText?: string;
19
+ showTitleWhenEmpty?: boolean;
20
+ surveyVariant?: InboxSurveyVariant;
21
+ resourceImageAlignment?: InboxResourceImageAlignment;
22
+ hideLoadingIndicator?: boolean;
23
+ onItemsLoaded?: (items: InboxItem[]) => void;
24
+ syncOnChanges?: boolean;
25
+ innerRef?: React.Ref<HTMLDivElement>;
26
+ }
27
+ export default function (props: InboxItemListProps): React.JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { InboxItem } from '@careevolution/mydatahelps-js';
2
+ export type InboxItemListPreviewState = 'no items' | 'incomplete message' | 'incomplete survey' | 'incomplete resource' | 'incomplete items' | 'complete items';
3
+ export interface InboxItemListPreviewData {
4
+ items: InboxItem[];
5
+ }
6
+ export declare const previewData: Record<InboxItemListPreviewState, InboxItemListPreviewData>;
@@ -0,0 +1,66 @@
1
+ import React from 'react';
2
+ import InboxItemList, { InboxItemListProps } from './InboxItemList';
3
+ declare const _default: {
4
+ title: string;
5
+ component: typeof InboxItemList;
6
+ parameters: {
7
+ layout: string;
8
+ };
9
+ };
10
+ export default _default;
11
+ export declare const Default: {
12
+ args: {
13
+ previewState: string;
14
+ title: string;
15
+ showTitleWhenEmpty: boolean;
16
+ emptyText: string;
17
+ limit: number;
18
+ surveyVariant: string;
19
+ resourceImageAlignment: string;
20
+ };
21
+ argTypes: {
22
+ previewState: {
23
+ name: string;
24
+ control: string;
25
+ options: string[];
26
+ };
27
+ showTitleWhenEmpty: {
28
+ name: string;
29
+ if: {
30
+ arg: string;
31
+ eq: string;
32
+ };
33
+ };
34
+ emptyText: {
35
+ name: string;
36
+ if: {
37
+ arg: string;
38
+ eq: string;
39
+ };
40
+ };
41
+ limit: {
42
+ control: string;
43
+ if: {
44
+ arg: string;
45
+ neq: string;
46
+ };
47
+ };
48
+ surveyVariant: {
49
+ control: string;
50
+ options: string[];
51
+ if: {
52
+ arg: string;
53
+ eq: string;
54
+ };
55
+ };
56
+ resourceImageAlignment: {
57
+ control: string;
58
+ options: string[];
59
+ if: {
60
+ arg: string;
61
+ eq: string;
62
+ };
63
+ };
64
+ };
65
+ render: (args: InboxItemListProps) => React.JSX.Element;
66
+ };
@@ -0,0 +1 @@
1
+ export { default } from './InboxItemList';
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ export interface InboxItemListCoordinatorProps {
3
+ children: React.ReactNode;
4
+ innerRef?: React.Ref<HTMLDivElement>;
5
+ }
6
+ export type InboxItemListChangeListener = () => void;
7
+ export interface InboxItemListCoordinatorContext {
8
+ registerChangeListener: (changeListener: InboxItemListChangeListener) => void;
9
+ notifyChangeListeners: () => void;
10
+ }
11
+ export declare const InboxItemListCoordinatorContext: React.Context<InboxItemListCoordinatorContext | null>;
12
+ export default function (props: InboxItemListCoordinatorProps): React.JSX.Element;
@@ -0,0 +1 @@
1
+ export { default, InboxItemListCoordinatorContext } from './InboxItemListCoordinator';
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ export type SeverityCalendarPreviewState = "Default" | "NoData";
3
+ export interface SeverityCalendarProps {
4
+ surveyName: string;
5
+ dateRecordedResultIdentifier?: string;
6
+ severityResultIdentifier: string;
7
+ severityValueMapper?: (value: string) => string;
8
+ intervalStart?: Date;
9
+ previewState?: SeverityCalendarPreviewState;
10
+ }
11
+ export default function (props: SeverityCalendarProps): React.JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { SurveyAnswer } from "@careevolution/mydatahelps-js";
2
+ export declare const previewSeverityData: SurveyAnswer[];
@@ -0,0 +1,52 @@
1
+ import React from "react";
2
+ import SeverityCalendar, { SeverityCalendarProps } from "./SeverityCalendar";
3
+ declare const _default: {
4
+ title: string;
5
+ component: typeof SeverityCalendar;
6
+ parameters: {
7
+ layout: string;
8
+ };
9
+ argTypes: {
10
+ severityResultIdentifier: {
11
+ control: string;
12
+ description: string;
13
+ };
14
+ };
15
+ };
16
+ export default _default;
17
+ export declare const Default: {
18
+ args: {
19
+ surveyName: string;
20
+ severityResultIdentifier: string;
21
+ dateRecordedResultIdentifier: string;
22
+ previewState: string;
23
+ };
24
+ render: (args: SeverityCalendarProps) => React.JSX.Element;
25
+ };
26
+ export declare const CustomValueMapper: {
27
+ args: {
28
+ surveyName: string;
29
+ severityResultIdentifier: string;
30
+ dateRecordedResultIdentifier: string;
31
+ severityValueMapper: (severityValue: string) => "" | "mild" | "moderate" | "severe";
32
+ previewState: string;
33
+ };
34
+ render: (args: SeverityCalendarProps) => React.JSX.Element;
35
+ };
36
+ export declare const NoData: {
37
+ args: {
38
+ surveyName: string;
39
+ severityResultIdentifier: string;
40
+ dateRecordedResultIdentifier: string;
41
+ previewState: string;
42
+ };
43
+ render: (args: SeverityCalendarProps) => React.JSX.Element;
44
+ };
45
+ export declare const Live: {
46
+ args: {
47
+ surveyName: string;
48
+ severityResultIdentifier: string;
49
+ dateRecordedResultIdentifier: string;
50
+ };
51
+ render: (args: SeverityCalendarProps) => React.JSX.Element;
52
+ };
@@ -0,0 +1 @@
1
+ export { default } from "./SeverityCalendar";
@@ -1,5 +1,6 @@
1
1
  export { default as AllergiesList } from "./AllergiesList";
2
2
  export { default as AppDownload } from "./AppDownload";
3
+ export { default as BloodPressureVisualization } from "./BloodPressureVisualization";
3
4
  export { default as ConditionsList } from "./ConditionsList";
4
5
  export { default as ConnectDevicesMenu } from "./ConnectDevicesMenu";
5
6
  export { default as ConnectEhr } from "./ConnectEhr";
@@ -27,4 +28,7 @@ export { default as ProviderSearch } from "./ProviderSearch";
27
28
  export { default as RelativeActivityToday } from "./RelativeActivityToday";
28
29
  export { default as RestingHeartRateCalendar } from "./RestingHeartRateCalendar";
29
30
  export { default as SurveyTaskList } from "./SurveyTaskList";
31
+ export { default as SeverityCalendar } from "./SeverityCalendar";
30
32
  export { default as ViewEhr } from "./ViewEhr";
33
+ export { default as InboxItemList } from "./InboxItemList";
34
+ export { default as InboxItemListCoordinator } from "./InboxItemListCoordinator";
@@ -1,5 +1,6 @@
1
- export * from './presentational';
1
+ export * from './asthma';
2
2
  export * from './container';
3
+ export * from './presentational';
4
+ export * from './step';
3
5
  export * from './symptom-shark';
4
6
  export * from './view';
5
- export * from './step';
@@ -0,0 +1,18 @@
1
+ import React, { CSSProperties } from 'react';
2
+ import './CalendarDay.css';
3
+ import { ColorDefinition } from '../../../helpers/colors';
4
+ export type CalendarDayStateConfiguration = Record<string, {
5
+ style?: CSSProperties;
6
+ streak?: boolean;
7
+ streakColor?: ColorDefinition;
8
+ }>;
9
+ export interface CalendarDayProps {
10
+ year: number;
11
+ month: number;
12
+ day?: number;
13
+ stateConfiguration: CalendarDayStateConfiguration;
14
+ computeStateForDay: (date: Date) => string;
15
+ onClick?: (date: Date) => void;
16
+ innerRef?: React.Ref<HTMLDivElement>;
17
+ }
18
+ export default function (props: CalendarDayProps): React.JSX.Element;
@@ -0,0 +1,411 @@
1
+ import React from 'react';
2
+ import CalendarDay, { CalendarDayProps } from './CalendarDay';
3
+ declare const _default: {
4
+ title: string;
5
+ component: typeof CalendarDay;
6
+ parameters: {
7
+ layout: string;
8
+ };
9
+ };
10
+ export default _default;
11
+ export declare const NoDay: {
12
+ args: {
13
+ day: undefined;
14
+ year: number;
15
+ month: number;
16
+ stateConfiguration: {
17
+ state1: {
18
+ style: {
19
+ background: string;
20
+ };
21
+ };
22
+ state2: {
23
+ style: {
24
+ background: string;
25
+ };
26
+ streak: boolean;
27
+ };
28
+ state3: {
29
+ style: {
30
+ background: string;
31
+ };
32
+ streak: boolean;
33
+ streakColor: string;
34
+ };
35
+ };
36
+ onClick: () => void;
37
+ };
38
+ render: (args: CalendarDayProps) => React.JSX.Element;
39
+ };
40
+ export declare const Default: {
41
+ args: {
42
+ computeStateForDay: (date: Date) => string;
43
+ year: number;
44
+ month: number;
45
+ day: number;
46
+ stateConfiguration: {
47
+ state1: {
48
+ style: {
49
+ background: string;
50
+ };
51
+ };
52
+ state2: {
53
+ style: {
54
+ background: string;
55
+ };
56
+ streak: boolean;
57
+ };
58
+ state3: {
59
+ style: {
60
+ background: string;
61
+ };
62
+ streak: boolean;
63
+ streakColor: string;
64
+ };
65
+ };
66
+ onClick: () => void;
67
+ };
68
+ render: (args: CalendarDayProps) => React.JSX.Element;
69
+ };
70
+ export declare const Today: {
71
+ args: {
72
+ year: number;
73
+ month: number;
74
+ day: number;
75
+ computeStateForDay: (date: Date) => string;
76
+ stateConfiguration: {
77
+ state1: {
78
+ style: {
79
+ background: string;
80
+ };
81
+ };
82
+ state2: {
83
+ style: {
84
+ background: string;
85
+ };
86
+ streak: boolean;
87
+ };
88
+ state3: {
89
+ style: {
90
+ background: string;
91
+ };
92
+ streak: boolean;
93
+ streakColor: string;
94
+ };
95
+ };
96
+ onClick: () => void;
97
+ };
98
+ render: (args: CalendarDayProps) => React.JSX.Element;
99
+ };
100
+ export declare const Future: {
101
+ args: {
102
+ year: number;
103
+ month: number;
104
+ day: number;
105
+ computeStateForDay: (date: Date) => string;
106
+ stateConfiguration: {
107
+ state1: {
108
+ style: {
109
+ background: string;
110
+ };
111
+ };
112
+ state2: {
113
+ style: {
114
+ background: string;
115
+ };
116
+ streak: boolean;
117
+ };
118
+ state3: {
119
+ style: {
120
+ background: string;
121
+ };
122
+ streak: boolean;
123
+ streakColor: string;
124
+ };
125
+ };
126
+ onClick: () => void;
127
+ };
128
+ render: (args: CalendarDayProps) => React.JSX.Element;
129
+ };
130
+ export declare const StreakLeftNotSupported: {
131
+ args: {
132
+ computeStateForDay: (date: Date) => string;
133
+ year: number;
134
+ month: number;
135
+ day: number;
136
+ stateConfiguration: {
137
+ state1: {
138
+ style: {
139
+ background: string;
140
+ };
141
+ };
142
+ state2: {
143
+ style: {
144
+ background: string;
145
+ };
146
+ streak: boolean;
147
+ };
148
+ state3: {
149
+ style: {
150
+ background: string;
151
+ };
152
+ streak: boolean;
153
+ streakColor: string;
154
+ };
155
+ };
156
+ onClick: () => void;
157
+ };
158
+ render: (args: CalendarDayProps) => React.JSX.Element;
159
+ };
160
+ export declare const StreakLeftDefaultColor: {
161
+ args: {
162
+ computeStateForDay: (date: Date) => string;
163
+ year: number;
164
+ month: number;
165
+ day: number;
166
+ stateConfiguration: {
167
+ state1: {
168
+ style: {
169
+ background: string;
170
+ };
171
+ };
172
+ state2: {
173
+ style: {
174
+ background: string;
175
+ };
176
+ streak: boolean;
177
+ };
178
+ state3: {
179
+ style: {
180
+ background: string;
181
+ };
182
+ streak: boolean;
183
+ streakColor: string;
184
+ };
185
+ };
186
+ onClick: () => void;
187
+ };
188
+ render: (args: CalendarDayProps) => React.JSX.Element;
189
+ };
190
+ export declare const StreakLeftCustomColor: {
191
+ args: {
192
+ computeStateForDay: (date: Date) => string;
193
+ year: number;
194
+ month: number;
195
+ day: number;
196
+ stateConfiguration: {
197
+ state1: {
198
+ style: {
199
+ background: string;
200
+ };
201
+ };
202
+ state2: {
203
+ style: {
204
+ background: string;
205
+ };
206
+ streak: boolean;
207
+ };
208
+ state3: {
209
+ style: {
210
+ background: string;
211
+ };
212
+ streak: boolean;
213
+ streakColor: string;
214
+ };
215
+ };
216
+ onClick: () => void;
217
+ };
218
+ render: (args: CalendarDayProps) => React.JSX.Element;
219
+ };
220
+ export declare const StreakRightNotSupported: {
221
+ args: {
222
+ computeStateForDay: (date: Date) => string;
223
+ year: number;
224
+ month: number;
225
+ day: number;
226
+ stateConfiguration: {
227
+ state1: {
228
+ style: {
229
+ background: string;
230
+ };
231
+ };
232
+ state2: {
233
+ style: {
234
+ background: string;
235
+ };
236
+ streak: boolean;
237
+ };
238
+ state3: {
239
+ style: {
240
+ background: string;
241
+ };
242
+ streak: boolean;
243
+ streakColor: string;
244
+ };
245
+ };
246
+ onClick: () => void;
247
+ };
248
+ render: (args: CalendarDayProps) => React.JSX.Element;
249
+ };
250
+ export declare const StreakRightDefaultColor: {
251
+ args: {
252
+ computeStateForDay: (date: Date) => string;
253
+ year: number;
254
+ month: number;
255
+ day: number;
256
+ stateConfiguration: {
257
+ state1: {
258
+ style: {
259
+ background: string;
260
+ };
261
+ };
262
+ state2: {
263
+ style: {
264
+ background: string;
265
+ };
266
+ streak: boolean;
267
+ };
268
+ state3: {
269
+ style: {
270
+ background: string;
271
+ };
272
+ streak: boolean;
273
+ streakColor: string;
274
+ };
275
+ };
276
+ onClick: () => void;
277
+ };
278
+ render: (args: CalendarDayProps) => React.JSX.Element;
279
+ };
280
+ export declare const StreakRightCustomColor: {
281
+ args: {
282
+ computeStateForDay: (date: Date) => string;
283
+ year: number;
284
+ month: number;
285
+ day: number;
286
+ stateConfiguration: {
287
+ state1: {
288
+ style: {
289
+ background: string;
290
+ };
291
+ };
292
+ state2: {
293
+ style: {
294
+ background: string;
295
+ };
296
+ streak: boolean;
297
+ };
298
+ state3: {
299
+ style: {
300
+ background: string;
301
+ };
302
+ streak: boolean;
303
+ streakColor: string;
304
+ };
305
+ };
306
+ onClick: () => void;
307
+ };
308
+ render: (args: CalendarDayProps) => React.JSX.Element;
309
+ };
310
+ export declare const StreakBothNotSupported: {
311
+ args: {
312
+ computeStateForDay: (date: Date) => string;
313
+ year: number;
314
+ month: number;
315
+ day: number;
316
+ stateConfiguration: {
317
+ state1: {
318
+ style: {
319
+ background: string;
320
+ };
321
+ };
322
+ state2: {
323
+ style: {
324
+ background: string;
325
+ };
326
+ streak: boolean;
327
+ };
328
+ state3: {
329
+ style: {
330
+ background: string;
331
+ };
332
+ streak: boolean;
333
+ streakColor: string;
334
+ };
335
+ };
336
+ onClick: () => void;
337
+ };
338
+ render: (args: CalendarDayProps) => React.JSX.Element;
339
+ };
340
+ export declare const StreakBothDefaultColor: {
341
+ args: {
342
+ computeStateForDay: (date: Date) => string;
343
+ year: number;
344
+ month: number;
345
+ day: number;
346
+ stateConfiguration: {
347
+ state1: {
348
+ style: {
349
+ background: string;
350
+ };
351
+ };
352
+ state2: {
353
+ style: {
354
+ background: string;
355
+ };
356
+ streak: boolean;
357
+ };
358
+ state3: {
359
+ style: {
360
+ background: string;
361
+ };
362
+ streak: boolean;
363
+ streakColor: string;
364
+ };
365
+ };
366
+ onClick: () => void;
367
+ };
368
+ render: (args: CalendarDayProps) => React.JSX.Element;
369
+ };
370
+ export declare const StreakBothCustomColor: {
371
+ args: {
372
+ computeStateForDay: (date: Date) => string;
373
+ year: number;
374
+ month: number;
375
+ day: number;
376
+ stateConfiguration: {
377
+ state1: {
378
+ style: {
379
+ background: string;
380
+ };
381
+ };
382
+ state2: {
383
+ style: {
384
+ background: string;
385
+ };
386
+ streak: boolean;
387
+ };
388
+ state3: {
389
+ style: {
390
+ background: string;
391
+ };
392
+ streak: boolean;
393
+ streakColor: string;
394
+ };
395
+ };
396
+ onClick: () => void;
397
+ };
398
+ render: (args: CalendarDayProps) => React.JSX.Element;
399
+ };
400
+ export declare const InCalendarNoData: {
401
+ render: () => React.JSX.Element;
402
+ };
403
+ export declare const InCalendarNoDataWithClickHandler: {
404
+ render: () => React.JSX.Element;
405
+ };
406
+ export declare const InCalendarWithData: {
407
+ render: () => React.JSX.Element;
408
+ };
409
+ export declare const InCalendarWithDataWithClickHandler: {
410
+ render: () => React.JSX.Element;
411
+ };
@@ -0,0 +1 @@
1
+ export { default, CalendarDayStateConfiguration } from './CalendarDay';
@@ -1 +1 @@
1
- export { default } from "./DateRangeCoordinator";
1
+ export { default, DateRangeContext } from './DateRangeCoordinator';
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ import { Dumbbell, Axis } from "./DumbbellChart";
3
+ import "./DumbbellChart.css";
4
+ export interface DumbbellProps {
5
+ dumbbell?: Dumbbell;
6
+ axis: Axis;
7
+ index: number;
8
+ }
9
+ export default function (props: DumbbellProps): React.JSX.Element;
@@ -0,0 +1,28 @@
1
+ import "./DumbbellChart.css";
2
+ import React from "react";
3
+ export interface ClosedInterval {
4
+ values: number[];
5
+ }
6
+ export interface DataPoint {
7
+ dataSet1: ClosedInterval;
8
+ dataSet2: ClosedInterval;
9
+ }
10
+ export interface Dumbbell {
11
+ dataPoint?: DataPoint;
12
+ xValue: string;
13
+ class?: DumbbellClass;
14
+ }
15
+ export interface Axis {
16
+ yRange: ClosedInterval;
17
+ yIncrement: number;
18
+ xIncrement: number;
19
+ }
20
+ export interface DumbBellChartProps {
21
+ axis: Axis;
22
+ dumbbells: Dumbbell[];
23
+ }
24
+ export declare enum DumbbellClass {
25
+ "mdhui-dumbbell-in-range" = 0,
26
+ "mdhui-dumbbell-out-of-range" = 1
27
+ }
28
+ export default function (props: DumbBellChartProps): React.JSX.Element;