@careevolution/mydatahelps-ui 2.10.0 → 2.10.1-InboxAndAsthmaUI.1

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 (292) hide show
  1. package/dist/cjs/index.js +140 -16
  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/DateRangeCoordinator/index.d.ts +1 -1
  102. package/dist/cjs/types/components/presentational/DumbbellChart/Dumbbell.d.ts +9 -0
  103. package/dist/cjs/types/components/presentational/DumbbellChart/DumbbellChart.d.ts +28 -0
  104. package/dist/cjs/types/components/presentational/DumbbellChart/index.d.ts +1 -0
  105. package/dist/cjs/types/components/presentational/InboxCompletedListItem/InboxCompletedListItem.d.ts +10 -0
  106. package/dist/cjs/types/components/presentational/InboxCompletedListItem/InboxCompletedListItem.stories.d.ts +23 -0
  107. package/dist/cjs/types/components/presentational/InboxCompletedListItem/index.d.ts +1 -0
  108. package/dist/cjs/types/components/presentational/InboxMessageListItem/InboxMessageListItem.d.ts +10 -0
  109. package/dist/cjs/types/components/presentational/InboxMessageListItem/InboxMessageListItem.stories.d.ts +24 -0
  110. package/dist/cjs/types/components/presentational/InboxMessageListItem/index.d.ts +1 -0
  111. package/dist/cjs/types/components/presentational/InboxResourceDisplay/InboxResourceDisplay.d.ts +12 -0
  112. package/dist/cjs/types/components/presentational/InboxResourceDisplay/InboxResourceDisplay.stories.d.ts +44 -0
  113. package/dist/cjs/types/components/presentational/InboxResourceDisplay/index.d.ts +1 -0
  114. package/dist/cjs/types/components/presentational/InboxResourceListItem/InboxResourceListItem.d.ts +12 -0
  115. package/dist/cjs/types/components/presentational/InboxResourceListItem/InboxResourceListItem.stories.d.ts +67 -0
  116. package/dist/cjs/types/components/presentational/InboxResourceListItem/index.d.ts +1 -0
  117. package/dist/cjs/types/components/presentational/InboxSurveyListItem/InboxSurveyListItem.d.ts +13 -0
  118. package/dist/cjs/types/components/presentational/InboxSurveyListItem/InboxSurveyListItem.stories.d.ts +72 -0
  119. package/dist/cjs/types/components/presentational/InboxSurveyListItem/index.d.ts +1 -0
  120. package/dist/cjs/types/components/presentational/Layout/index.d.ts +1 -2
  121. package/dist/cjs/types/components/presentational/NavigationBar/NavigationBar.d.ts +1 -0
  122. package/dist/cjs/types/components/presentational/RotatingText/RotatingText.d.ts +15 -0
  123. package/dist/cjs/types/components/presentational/RotatingText/RotatingText.stories.d.ts +149 -0
  124. package/dist/cjs/types/components/presentational/RotatingText/index.d.ts +1 -0
  125. package/dist/cjs/types/components/presentational/SingleSurveyTask/SingleSurveyTask.d.ts +6 -4
  126. package/dist/cjs/types/components/presentational/SingleSurveyTask/SingleSurveyTask.stories.d.ts +59 -123
  127. package/dist/cjs/types/components/presentational/index.d.ts +7 -0
  128. package/dist/cjs/types/components/view/InboxHistoryView/InboxHistoryView.d.ts +8 -0
  129. package/dist/cjs/types/components/view/InboxHistoryView/InboxHistoryView.stories.d.ts +13 -0
  130. package/dist/cjs/types/components/view/InboxHistoryView/index.d.ts +1 -0
  131. package/dist/cjs/types/components/view/InboxMessageView/InboxMessageView.d.ts +11 -0
  132. package/dist/cjs/types/components/view/InboxMessageView/InboxMessageView.stories.d.ts +48 -0
  133. package/dist/cjs/types/components/view/InboxMessageView/index.d.ts +1 -0
  134. package/dist/cjs/types/components/view/InboxView/InboxView.d.ts +12 -0
  135. package/dist/cjs/types/components/view/InboxView/InboxView.stories.d.ts +27 -0
  136. package/dist/cjs/types/components/view/InboxView/index.d.ts +1 -0
  137. package/dist/cjs/types/components/view/index.d.ts +3 -0
  138. package/dist/cjs/types/helpers/Inbox/inbox-data.d.ts +8 -0
  139. package/dist/cjs/types/helpers/blood-pressure-data-providers/index.d.ts +3 -0
  140. package/dist/cjs/types/helpers/blood-pressure-data-providers/survey-blood-pressure-data-provider.d.ts +12 -0
  141. package/dist/cjs/types/helpers/date-helpers.d.ts +1 -0
  142. package/dist/cjs/types/helpers/functions.d.ts +1 -0
  143. package/dist/cjs/types/helpers/query-all-survey-answers.d.ts +2 -0
  144. package/dist/cjs/types/helpers/query-daily-data.d.ts +2 -0
  145. package/dist/cjs/types/index.d.ts +3 -0
  146. package/dist/esm/index.js +140 -16
  147. package/dist/esm/index.js.map +1 -1
  148. package/dist/esm/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.d.ts +10 -0
  149. package/dist/esm/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.previewData.d.ts +7 -0
  150. package/dist/esm/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.stories.d.ts +28 -0
  151. package/dist/esm/types/components/asthma/components/AsthmaAirQualities/index.d.ts +2 -0
  152. package/dist/esm/types/components/asthma/components/AsthmaAlertTakeoverNotice/AsthmaAlertTakeoverNotice.d.ts +9 -0
  153. package/dist/esm/types/components/asthma/components/AsthmaAlertTakeoverNotice/AsthmaAlertTakeoverNotice.stories.d.ts +27 -0
  154. package/dist/esm/types/components/asthma/components/AsthmaAlertTakeoverNotice/index.d.ts +1 -0
  155. package/dist/esm/types/components/asthma/components/AsthmaAlertTakeoverTrigger/AsthmaAlertTakeoverTrigger.d.ts +11 -0
  156. package/dist/esm/types/components/asthma/components/AsthmaAlertTakeoverTrigger/index.d.ts +1 -0
  157. package/dist/esm/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.d.ts +12 -0
  158. package/dist/esm/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.previewData.d.ts +12 -0
  159. package/dist/esm/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.stories.d.ts +28 -0
  160. package/dist/esm/types/components/asthma/components/AsthmaBiometrics/index.d.ts +2 -0
  161. package/dist/esm/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.d.ts +12 -0
  162. package/dist/esm/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.previewData.d.ts +6 -0
  163. package/dist/esm/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.stories.d.ts +29 -0
  164. package/dist/esm/types/components/asthma/components/AsthmaControlCalendar/index.d.ts +2 -0
  165. package/dist/esm/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.d.ts +10 -0
  166. package/dist/esm/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.previewData.d.ts +8 -0
  167. package/dist/esm/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.stories.d.ts +138 -0
  168. package/dist/esm/types/components/asthma/components/AsthmaControlStatusHeader/index.d.ts +2 -0
  169. package/dist/esm/types/components/asthma/components/AsthmaDataSummary/AsthmaDataSummary.d.ts +13 -0
  170. package/dist/esm/types/components/asthma/components/AsthmaDataSummary/AsthmaDataSummary.stories.d.ts +70 -0
  171. package/dist/esm/types/components/asthma/components/AsthmaDataSummary/index.d.ts +1 -0
  172. package/dist/esm/types/components/asthma/components/AsthmaFacts/AsthmaFacts.d.ts +5 -0
  173. package/dist/esm/types/components/asthma/components/AsthmaFacts/AsthmaFacts.stories.d.ts +19 -0
  174. package/dist/esm/types/components/asthma/components/AsthmaFacts/index.d.ts +1 -0
  175. package/dist/esm/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.d.ts +12 -0
  176. package/dist/esm/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.previewData.d.ts +6 -0
  177. package/dist/esm/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.stories.d.ts +59 -0
  178. package/dist/esm/types/components/asthma/components/AsthmaLogEntryDetails/index.d.ts +2 -0
  179. package/dist/esm/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.d.ts +11 -0
  180. package/dist/esm/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.previewData.d.ts +7 -0
  181. package/dist/esm/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.stories.d.ts +34 -0
  182. package/dist/esm/types/components/asthma/components/AsthmaLogEntryHeader/index.d.ts +2 -0
  183. package/dist/esm/types/components/asthma/components/AsthmaLogEntrySummary/AsthmaLogEntrySummary.d.ts +11 -0
  184. package/dist/esm/types/components/asthma/components/AsthmaLogEntrySummary/AsthmaLogEntrySummary.stories.d.ts +60 -0
  185. package/dist/esm/types/components/asthma/components/AsthmaLogEntrySummary/index.d.ts +1 -0
  186. package/dist/esm/types/components/asthma/components/AsthmaPostEnrollmentSurveyTrigger/AsthmaPostEnrollmentSurveyTrigger.d.ts +8 -0
  187. package/dist/esm/types/components/asthma/components/AsthmaPostEnrollmentSurveyTrigger/index.d.ts +1 -0
  188. package/dist/esm/types/components/asthma/components/index.d.ts +12 -0
  189. package/dist/esm/types/components/asthma/helpers/asthma-data.d.ts +15 -0
  190. package/dist/esm/types/components/asthma/helpers/asthma-functions.d.ts +6 -0
  191. package/dist/esm/types/components/asthma/helpers/daily-data-providers/air-quality-home.d.ts +2 -0
  192. package/dist/esm/types/components/asthma/helpers/daily-data-providers/air-quality-work.d.ts +2 -0
  193. package/dist/esm/types/components/asthma/helpers/daily-data-providers/blood-oxygen-level-daytime.d.ts +2 -0
  194. package/dist/esm/types/components/asthma/helpers/daily-data-providers/blood-oxygen-level-nighttime.d.ts +2 -0
  195. package/dist/esm/types/components/asthma/helpers/daily-data-providers/index.d.ts +10 -0
  196. package/dist/esm/types/components/asthma/helpers/daily-data-providers/respiratory-rate.d.ts +2 -0
  197. package/dist/esm/types/components/asthma/helpers/daily-data-providers/resting-heart-rate-daytime.d.ts +2 -0
  198. package/dist/esm/types/components/asthma/helpers/daily-data-providers/resting-heart-rate-nighttime.d.ts +2 -0
  199. package/dist/esm/types/components/asthma/helpers/daily-data-providers/shared.d.ts +6 -0
  200. package/dist/esm/types/components/asthma/helpers/daily-data-providers/sleep.d.ts +2 -0
  201. package/dist/esm/types/components/asthma/helpers/daily-data-providers/steps.d.ts +2 -0
  202. package/dist/esm/types/components/asthma/helpers/index.d.ts +2 -0
  203. package/dist/esm/types/components/asthma/index.d.ts +4 -0
  204. package/dist/esm/types/components/asthma/model/index.d.ts +1 -0
  205. package/dist/esm/types/components/asthma/model/types.d.ts +49 -0
  206. package/dist/esm/types/components/asthma/views/AsthmaActivityView/AsthmaActivityView.d.ts +8 -0
  207. package/dist/esm/types/components/asthma/views/AsthmaActivityView/AsthmaActivityView.stories.d.ts +25 -0
  208. package/dist/esm/types/components/asthma/views/AsthmaActivityView/index.d.ts +1 -0
  209. package/dist/esm/types/components/asthma/views/AsthmaAirQualityView/AsthmaAirQualityView.d.ts +8 -0
  210. package/dist/esm/types/components/asthma/views/AsthmaAirQualityView/AsthmaAirQualityView.stories.d.ts +25 -0
  211. package/dist/esm/types/components/asthma/views/AsthmaAirQualityView/index.d.ts +1 -0
  212. package/dist/esm/types/components/asthma/views/AsthmaAlertTakeoverView/AsthmaAlertTakeoverView.d.ts +7 -0
  213. package/dist/esm/types/components/asthma/views/AsthmaAlertTakeoverView/AsthmaAlertTakeoverView.stories.d.ts +13 -0
  214. package/dist/esm/types/components/asthma/views/AsthmaAlertTakeoverView/index.d.ts +1 -0
  215. package/dist/esm/types/components/asthma/views/AsthmaDayView/AsthmaDayView.d.ts +20 -0
  216. package/dist/esm/types/components/asthma/views/AsthmaDayView/AsthmaDayView.stories.d.ts +21 -0
  217. package/dist/esm/types/components/asthma/views/AsthmaDayView/index.d.ts +1 -0
  218. package/dist/esm/types/components/asthma/views/AsthmaHeartAndLungsView/AsthmaHeartAndLungsView.d.ts +8 -0
  219. package/dist/esm/types/components/asthma/views/AsthmaHeartAndLungsView/AsthmaHeartAndLungsView.stories.d.ts +25 -0
  220. package/dist/esm/types/components/asthma/views/AsthmaHeartAndLungsView/index.d.ts +1 -0
  221. package/dist/esm/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.d.ts +8 -0
  222. package/dist/esm/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.previewData.d.ts +6 -0
  223. package/dist/esm/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.stories.d.ts +38 -0
  224. package/dist/esm/types/components/asthma/views/AsthmaLogEntryEditorView/index.d.ts +2 -0
  225. package/dist/esm/types/components/asthma/views/AsthmaSleepView/AsthmaSleepView.d.ts +8 -0
  226. package/dist/esm/types/components/asthma/views/AsthmaSleepView/AsthmaSleepView.stories.d.ts +25 -0
  227. package/dist/esm/types/components/asthma/views/AsthmaSleepView/index.d.ts +1 -0
  228. package/dist/esm/types/components/asthma/views/index.d.ts +7 -0
  229. package/dist/esm/types/components/container/BloodPressureVisualization/BloodPressureVisualization.d.ts +11 -0
  230. package/dist/esm/types/components/container/BloodPressureVisualization/BloodPressureVisualization.previewdata.d.ts +2 -0
  231. package/dist/esm/types/components/container/BloodPressureVisualization/BloodPressureVisualization.stories.d.ts +43 -0
  232. package/dist/esm/types/components/container/BloodPressureVisualization/index.d.ts +1 -0
  233. package/dist/esm/types/components/container/DailyDataChart/DailyDataChart.d.ts +3 -0
  234. package/dist/esm/types/components/container/InboxItemList/InboxItemList.d.ts +27 -0
  235. package/dist/esm/types/components/container/InboxItemList/InboxItemList.previewData.d.ts +6 -0
  236. package/dist/esm/types/components/container/InboxItemList/InboxItemList.stories.d.ts +66 -0
  237. package/dist/esm/types/components/container/InboxItemList/index.d.ts +1 -0
  238. package/dist/esm/types/components/container/InboxItemListCoordinator/InboxItemListCoordinator.d.ts +12 -0
  239. package/dist/esm/types/components/container/InboxItemListCoordinator/index.d.ts +1 -0
  240. package/dist/esm/types/components/container/SeverityCalendar/SeverityCalendar.d.ts +11 -0
  241. package/dist/esm/types/components/container/SeverityCalendar/SeverityCalendar.previewdata.d.ts +2 -0
  242. package/dist/esm/types/components/container/SeverityCalendar/SeverityCalendar.stories.d.ts +52 -0
  243. package/dist/esm/types/components/container/SeverityCalendar/index.d.ts +1 -0
  244. package/dist/esm/types/components/container/index.d.ts +4 -0
  245. package/dist/esm/types/components/index.d.ts +3 -2
  246. package/dist/esm/types/components/presentational/DateRangeCoordinator/index.d.ts +1 -1
  247. package/dist/esm/types/components/presentational/DumbbellChart/Dumbbell.d.ts +9 -0
  248. package/dist/esm/types/components/presentational/DumbbellChart/DumbbellChart.d.ts +28 -0
  249. package/dist/esm/types/components/presentational/DumbbellChart/index.d.ts +1 -0
  250. package/dist/esm/types/components/presentational/InboxCompletedListItem/InboxCompletedListItem.d.ts +10 -0
  251. package/dist/esm/types/components/presentational/InboxCompletedListItem/InboxCompletedListItem.stories.d.ts +23 -0
  252. package/dist/esm/types/components/presentational/InboxCompletedListItem/index.d.ts +1 -0
  253. package/dist/esm/types/components/presentational/InboxMessageListItem/InboxMessageListItem.d.ts +10 -0
  254. package/dist/esm/types/components/presentational/InboxMessageListItem/InboxMessageListItem.stories.d.ts +24 -0
  255. package/dist/esm/types/components/presentational/InboxMessageListItem/index.d.ts +1 -0
  256. package/dist/esm/types/components/presentational/InboxResourceDisplay/InboxResourceDisplay.d.ts +12 -0
  257. package/dist/esm/types/components/presentational/InboxResourceDisplay/InboxResourceDisplay.stories.d.ts +44 -0
  258. package/dist/esm/types/components/presentational/InboxResourceDisplay/index.d.ts +1 -0
  259. package/dist/esm/types/components/presentational/InboxResourceListItem/InboxResourceListItem.d.ts +12 -0
  260. package/dist/esm/types/components/presentational/InboxResourceListItem/InboxResourceListItem.stories.d.ts +67 -0
  261. package/dist/esm/types/components/presentational/InboxResourceListItem/index.d.ts +1 -0
  262. package/dist/esm/types/components/presentational/InboxSurveyListItem/InboxSurveyListItem.d.ts +13 -0
  263. package/dist/esm/types/components/presentational/InboxSurveyListItem/InboxSurveyListItem.stories.d.ts +72 -0
  264. package/dist/esm/types/components/presentational/InboxSurveyListItem/index.d.ts +1 -0
  265. package/dist/esm/types/components/presentational/Layout/index.d.ts +1 -2
  266. package/dist/esm/types/components/presentational/NavigationBar/NavigationBar.d.ts +1 -0
  267. package/dist/esm/types/components/presentational/RotatingText/RotatingText.d.ts +15 -0
  268. package/dist/esm/types/components/presentational/RotatingText/RotatingText.stories.d.ts +149 -0
  269. package/dist/esm/types/components/presentational/RotatingText/index.d.ts +1 -0
  270. package/dist/esm/types/components/presentational/SingleSurveyTask/SingleSurveyTask.d.ts +6 -4
  271. package/dist/esm/types/components/presentational/SingleSurveyTask/SingleSurveyTask.stories.d.ts +59 -123
  272. package/dist/esm/types/components/presentational/index.d.ts +7 -0
  273. package/dist/esm/types/components/view/InboxHistoryView/InboxHistoryView.d.ts +8 -0
  274. package/dist/esm/types/components/view/InboxHistoryView/InboxHistoryView.stories.d.ts +13 -0
  275. package/dist/esm/types/components/view/InboxHistoryView/index.d.ts +1 -0
  276. package/dist/esm/types/components/view/InboxMessageView/InboxMessageView.d.ts +11 -0
  277. package/dist/esm/types/components/view/InboxMessageView/InboxMessageView.stories.d.ts +48 -0
  278. package/dist/esm/types/components/view/InboxMessageView/index.d.ts +1 -0
  279. package/dist/esm/types/components/view/InboxView/InboxView.d.ts +12 -0
  280. package/dist/esm/types/components/view/InboxView/InboxView.stories.d.ts +27 -0
  281. package/dist/esm/types/components/view/InboxView/index.d.ts +1 -0
  282. package/dist/esm/types/components/view/index.d.ts +3 -0
  283. package/dist/esm/types/helpers/Inbox/inbox-data.d.ts +8 -0
  284. package/dist/esm/types/helpers/blood-pressure-data-providers/index.d.ts +3 -0
  285. package/dist/esm/types/helpers/blood-pressure-data-providers/survey-blood-pressure-data-provider.d.ts +12 -0
  286. package/dist/esm/types/helpers/date-helpers.d.ts +1 -0
  287. package/dist/esm/types/helpers/functions.d.ts +1 -0
  288. package/dist/esm/types/helpers/query-all-survey-answers.d.ts +2 -0
  289. package/dist/esm/types/helpers/query-daily-data.d.ts +2 -0
  290. package/dist/esm/types/index.d.ts +3 -0
  291. package/dist/index.d.ts +963 -528
  292. package/package.json +3 -3
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import './AsthmaAirQualities.css';
3
+ import { AsthmaAirQualitiesPreviewState } from './AsthmaAirQualities.previewData';
4
+ export interface AsthmaAirQualitiesProps {
5
+ previewState?: AsthmaAirQualitiesPreviewState;
6
+ airQualityUrl: string;
7
+ date?: Date;
8
+ innerRef?: React.Ref<HTMLDivElement>;
9
+ }
10
+ export default function (props: AsthmaAirQualitiesProps): React.JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { AsthmaAirQuality } from '../../model';
2
+ export type AsthmaAirQualitiesPreviewState = 'no-data' | 'some-data' | 'all-data';
3
+ export interface AsthmaAirQualitiesPreviewData {
4
+ homeAirQuality: AsthmaAirQuality;
5
+ workAirQuality: AsthmaAirQuality;
6
+ }
7
+ export declare const previewData: Record<AsthmaAirQualitiesPreviewState, AsthmaAirQualitiesPreviewData>;
@@ -0,0 +1,28 @@
1
+ import React from 'react';
2
+ import AsthmaAirQualities, { AsthmaAirQualitiesProps } from './AsthmaAirQualities';
3
+ declare const _default: {
4
+ title: string;
5
+ component: typeof AsthmaAirQualities;
6
+ parameters: {
7
+ layout: string;
8
+ };
9
+ };
10
+ export default _default;
11
+ export declare const NoData: {
12
+ args: {
13
+ previewState: string;
14
+ };
15
+ render: (args: AsthmaAirQualitiesProps) => React.JSX.Element;
16
+ };
17
+ export declare const SomeData: {
18
+ args: {
19
+ previewState: string;
20
+ };
21
+ render: (args: AsthmaAirQualitiesProps) => React.JSX.Element;
22
+ };
23
+ export declare const AllData: {
24
+ args: {
25
+ previewState: string;
26
+ };
27
+ render: (args: AsthmaAirQualitiesProps) => React.JSX.Element;
28
+ };
@@ -0,0 +1,2 @@
1
+ export { default } from './AsthmaAirQualities';
2
+ export { AsthmaAirQualitiesPreviewState } from './AsthmaAirQualities.previewData';
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import './AsthmaAlertTakeoverNotice.css';
3
+ export interface AsthmaAlertTakeoverNoticeProps {
4
+ previewState?: 'default' | 'loading';
5
+ message: string;
6
+ logEntrySurveyName: string;
7
+ innerRef?: React.Ref<HTMLDivElement>;
8
+ }
9
+ export default function (props: AsthmaAlertTakeoverNoticeProps): React.JSX.Element;
@@ -0,0 +1,27 @@
1
+ import React from 'react';
2
+ import AsthmaAlertTakeoverNotice from './AsthmaAlertTakeoverNotice';
3
+ declare const _default: {
4
+ title: string;
5
+ component: typeof AsthmaAlertTakeoverNotice;
6
+ parameters: {
7
+ layout: string;
8
+ };
9
+ };
10
+ export default _default;
11
+ interface AsthmaAlertTakeoverNoticeStoryProps {
12
+ state: 'default' | 'loading';
13
+ message: string;
14
+ }
15
+ export declare const Default: {
16
+ args: {
17
+ message: string;
18
+ state: string;
19
+ };
20
+ argTypes: {
21
+ state: {
22
+ control: string;
23
+ options: string[];
24
+ };
25
+ };
26
+ render: (args: AsthmaAlertTakeoverNoticeStoryProps) => React.JSX.Element;
27
+ };
@@ -0,0 +1 @@
1
+ export { default } from './AsthmaAlertTakeoverNotice';
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ export interface AsthmaAlertTakeoverTriggerProps {
3
+ previewState?: boolean;
4
+ heartAndLungsUrl: string;
5
+ activityUrl: string;
6
+ sleepUrl: string;
7
+ airQualityUrl: string;
8
+ alertTakeoverUrl: string;
9
+ innerRef?: React.Ref<HTMLDivElement>;
10
+ }
11
+ export default function (props: AsthmaAlertTakeoverTriggerProps): null;
@@ -0,0 +1 @@
1
+ export { default } from './AsthmaAlertTakeoverTrigger';
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import './AsthmaBiometrics.css';
3
+ import { AsthmaBiometricsPreviewState } from './AsthmaBiometrics.previewData';
4
+ export interface AsthmaBiometricsProps {
5
+ previewState?: AsthmaBiometricsPreviewState;
6
+ heartAndLungsUrl: string;
7
+ activityUrl: string;
8
+ sleepUrl: string;
9
+ date?: Date;
10
+ innerRef?: React.Ref<HTMLDivElement>;
11
+ }
12
+ export default function (props: AsthmaBiometricsProps): React.JSX.Element;
@@ -0,0 +1,12 @@
1
+ import { AsthmaBiometric } from '../../model';
2
+ export type AsthmaBiometricsPreviewState = 'no-data' | 'some-data' | 'all-data';
3
+ export interface AsthmaBiometricsPreviewData {
4
+ daytimeRestingHeartRate: AsthmaBiometric;
5
+ nighttimeRestingHeartRate: AsthmaBiometric;
6
+ respiratoryRate: AsthmaBiometric;
7
+ steps: AsthmaBiometric;
8
+ sleepDisturbances: AsthmaBiometric;
9
+ daytimeBloodOxygenLevel: AsthmaBiometric;
10
+ nighttimeBloodOxygenLevel: AsthmaBiometric;
11
+ }
12
+ export declare const previewData: Record<AsthmaBiometricsPreviewState, AsthmaBiometricsPreviewData>;
@@ -0,0 +1,28 @@
1
+ import React from 'react';
2
+ import AsthmaBiometrics, { AsthmaBiometricsProps } from './AsthmaBiometrics';
3
+ declare const _default: {
4
+ title: string;
5
+ component: typeof AsthmaBiometrics;
6
+ parameters: {
7
+ layout: string;
8
+ };
9
+ };
10
+ export default _default;
11
+ export declare const NoData: {
12
+ args: {
13
+ previewState: string;
14
+ };
15
+ render: (args: AsthmaBiometricsProps) => React.JSX.Element;
16
+ };
17
+ export declare const SomeData: {
18
+ args: {
19
+ previewState: string;
20
+ };
21
+ render: (args: AsthmaBiometricsProps) => React.JSX.Element;
22
+ };
23
+ export declare const AllData: {
24
+ args: {
25
+ previewState: string;
26
+ };
27
+ render: (args: AsthmaBiometricsProps) => React.JSX.Element;
28
+ };
@@ -0,0 +1,2 @@
1
+ export { default } from './AsthmaBiometrics';
2
+ export { AsthmaBiometricsPreviewState } from './AsthmaBiometrics.previewData';
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import './AsthmaControlCalendar.css';
3
+ import { AsthmaControlCalendarPreviewState } from './AsthmaControlCalendar.previewData';
4
+ export type AsthmaControlCalendarVariant = 'compact' | 'verbose';
5
+ export interface AsthmaControlCalendarProps {
6
+ previewState?: AsthmaControlCalendarPreviewState;
7
+ dayViewUrl: string;
8
+ intervalStart?: Date;
9
+ variant?: AsthmaControlCalendarVariant;
10
+ innerRef?: React.Ref<HTMLDivElement>;
11
+ }
12
+ export default function (props: AsthmaControlCalendarProps): React.JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { AsthmaLogEntry } from '../../model';
2
+ export type AsthmaControlCalendarPreviewState = 'no-logs' | 'some-logs';
3
+ export interface AsthmaControlCalendarPreviewData {
4
+ logEntries: AsthmaLogEntry[];
5
+ }
6
+ export declare const previewData: Record<AsthmaControlCalendarPreviewState, AsthmaControlCalendarPreviewData>;
@@ -0,0 +1,29 @@
1
+ import React from 'react';
2
+ import AsthmaControlCalendar, { AsthmaControlCalendarProps } from './AsthmaControlCalendar';
3
+ declare const _default: {
4
+ title: string;
5
+ component: typeof AsthmaControlCalendar;
6
+ parameters: {
7
+ layout: string;
8
+ };
9
+ };
10
+ export default _default;
11
+ export declare const NoLogging: {
12
+ args: {
13
+ previewState: string;
14
+ };
15
+ render: (args: AsthmaControlCalendarProps) => React.JSX.Element;
16
+ };
17
+ export declare const SomeLogging: {
18
+ args: {
19
+ previewState: string;
20
+ };
21
+ render: (args: AsthmaControlCalendarProps) => React.JSX.Element;
22
+ };
23
+ export declare const SomeLoggingVerbose: {
24
+ args: {
25
+ previewState: string;
26
+ variant: string;
27
+ };
28
+ render: (args: AsthmaControlCalendarProps) => React.JSX.Element;
29
+ };
@@ -0,0 +1,2 @@
1
+ export { default, AsthmaControlCalendarVariant } from './AsthmaControlCalendar';
2
+ export { AsthmaControlCalendarPreviewState } from './AsthmaControlCalendar.previewData';
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import './AsthmaControlStatusHeader.css';
3
+ import { AsthmaParticipant } from '../../model';
4
+ import { AsthmaControlStatusHeaderPreviewState } from './AsthmaControlStatusHeader.previewData';
5
+ export interface AsthmaControlStatusHeaderProps {
6
+ previewState?: AsthmaControlStatusHeaderPreviewState;
7
+ participant: AsthmaParticipant;
8
+ innerRef?: React.Ref<HTMLDivElement>;
9
+ }
10
+ export default function (props: AsthmaControlStatusHeaderProps): React.JSX.Element | null;
@@ -0,0 +1,8 @@
1
+ import { AsthmaAirQuality, AsthmaBiometric, AsthmaControlState } from '../../model';
2
+ export type AsthmaControlStatusHeaderPreviewState = 'no-data' | 'abnormal-dhr' | 'abnormal-nhr' | 'abnormal-rr' | 'abnormal-activity' | 'abnormal-sleep' | 'abnormal-home-aqi' | 'abnormal-work-aqi' | 'abnormal-multiple' | 'not-determined' | 'not-controlled' | 'controlled';
3
+ export interface AsthmaControlStatusHeaderPreviewData {
4
+ controlState: AsthmaControlState;
5
+ biometrics: AsthmaBiometric[];
6
+ airQualities: AsthmaAirQuality[];
7
+ }
8
+ export declare const previewData: Record<AsthmaControlStatusHeaderPreviewState, AsthmaControlStatusHeaderPreviewData>;
@@ -0,0 +1,138 @@
1
+ import React from 'react';
2
+ import AsthmaControlStatusHeader, { AsthmaControlStatusHeaderProps } from './AsthmaControlStatusHeader';
3
+ declare const _default: {
4
+ title: string;
5
+ component: typeof AsthmaControlStatusHeader;
6
+ parameters: {
7
+ layout: string;
8
+ };
9
+ };
10
+ export default _default;
11
+ export declare const NoDataBeforeDevicePaired: {
12
+ args: {
13
+ previewState: string;
14
+ participant: {
15
+ hasPairedDevice: () => boolean;
16
+ hasEstablishedBaseline: () => boolean;
17
+ };
18
+ };
19
+ render: (args: AsthmaControlStatusHeaderProps) => React.JSX.Element;
20
+ };
21
+ export declare const NoDataBeforeBaselineEstablished: {
22
+ args: {
23
+ previewState: string;
24
+ participant: {
25
+ hasPairedDevice: () => boolean;
26
+ hasEstablishedBaseline: () => boolean;
27
+ };
28
+ };
29
+ render: (args: AsthmaControlStatusHeaderProps) => React.JSX.Element;
30
+ };
31
+ export declare const NoDataBaselineEstablishedNothingOutOfRange: {
32
+ args: {
33
+ previewState: string;
34
+ participant: {
35
+ hasPairedDevice: () => boolean;
36
+ hasEstablishedBaseline: () => boolean;
37
+ };
38
+ };
39
+ render: (args: AsthmaControlStatusHeaderProps) => React.JSX.Element;
40
+ };
41
+ export declare const NoDataBaselineEstablishedDaytimeHeartRateOutOfRange: {
42
+ args: {
43
+ previewState: string;
44
+ participant: {
45
+ hasPairedDevice: () => boolean;
46
+ hasEstablishedBaseline: () => boolean;
47
+ };
48
+ };
49
+ render: (args: AsthmaControlStatusHeaderProps) => React.JSX.Element;
50
+ };
51
+ export declare const NoDataBaselineEstablishedNighttimeHeartRateOutOfRange: {
52
+ args: {
53
+ previewState: string;
54
+ participant: {
55
+ hasPairedDevice: () => boolean;
56
+ hasEstablishedBaseline: () => boolean;
57
+ };
58
+ };
59
+ render: (args: AsthmaControlStatusHeaderProps) => React.JSX.Element;
60
+ };
61
+ export declare const NoDataBaselineEstablishedRROutOfRange: {
62
+ args: {
63
+ previewState: string;
64
+ participant: {
65
+ hasPairedDevice: () => boolean;
66
+ hasEstablishedBaseline: () => boolean;
67
+ };
68
+ };
69
+ render: (args: AsthmaControlStatusHeaderProps) => React.JSX.Element;
70
+ };
71
+ export declare const NoDataBaselineEstablishedActivityOutOfRange: {
72
+ args: {
73
+ previewState: string;
74
+ participant: {
75
+ hasPairedDevice: () => boolean;
76
+ hasEstablishedBaseline: () => boolean;
77
+ };
78
+ };
79
+ render: (args: AsthmaControlStatusHeaderProps) => React.JSX.Element;
80
+ };
81
+ export declare const NoDataBaselineEstablishedSleepOutOfRange: {
82
+ args: {
83
+ previewState: string;
84
+ participant: {
85
+ hasPairedDevice: () => boolean;
86
+ hasEstablishedBaseline: () => boolean;
87
+ };
88
+ };
89
+ render: (args: AsthmaControlStatusHeaderProps) => React.JSX.Element;
90
+ };
91
+ export declare const NoDataBaselineEstablishedHomeAQOutOfRange: {
92
+ args: {
93
+ previewState: string;
94
+ participant: {
95
+ hasPairedDevice: () => boolean;
96
+ hasEstablishedBaseline: () => boolean;
97
+ };
98
+ };
99
+ render: (args: AsthmaControlStatusHeaderProps) => React.JSX.Element;
100
+ };
101
+ export declare const NoDataBaselineEstablishedWorkAQOutOfRange: {
102
+ args: {
103
+ previewState: string;
104
+ participant: {
105
+ hasPairedDevice: () => boolean;
106
+ hasEstablishedBaseline: () => boolean;
107
+ };
108
+ };
109
+ render: (args: AsthmaControlStatusHeaderProps) => React.JSX.Element;
110
+ };
111
+ export declare const NoDataBaselineEstablishedMultipleOutOfRange: {
112
+ args: {
113
+ previewState: string;
114
+ participant: {
115
+ hasPairedDevice: () => boolean;
116
+ hasEstablishedBaseline: () => boolean;
117
+ };
118
+ };
119
+ render: (args: AsthmaControlStatusHeaderProps) => React.JSX.Element;
120
+ };
121
+ export declare const NotDetermined: {
122
+ args: {
123
+ previewState: string;
124
+ };
125
+ render: (args: AsthmaControlStatusHeaderProps) => React.JSX.Element;
126
+ };
127
+ export declare const NotControlled: {
128
+ args: {
129
+ previewState: string;
130
+ };
131
+ render: (args: AsthmaControlStatusHeaderProps) => React.JSX.Element;
132
+ };
133
+ export declare const Controlled: {
134
+ args: {
135
+ previewState: string;
136
+ };
137
+ render: (args: AsthmaControlStatusHeaderProps) => React.JSX.Element;
138
+ };
@@ -0,0 +1,2 @@
1
+ export { default } from './AsthmaControlStatusHeader';
2
+ export { AsthmaControlStatusHeaderPreviewState } from './AsthmaControlStatusHeader.previewData';
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import './AsthmaDataSummary.css';
3
+ import { AsthmaDataStatus } from '../../model';
4
+ export interface AsthmaDataSummaryProps {
5
+ label: string;
6
+ status: AsthmaDataStatus;
7
+ statusText?: string;
8
+ value?: number;
9
+ units?: string;
10
+ onClick?: () => void;
11
+ innerRef?: React.Ref<HTMLDivElement>;
12
+ }
13
+ export default function (props: AsthmaDataSummaryProps): React.JSX.Element;
@@ -0,0 +1,70 @@
1
+ import React from 'react';
2
+ import AsthmaDataSummary, { AsthmaDataSummaryProps } from './AsthmaDataSummary';
3
+ declare const _default: {
4
+ title: string;
5
+ component: typeof AsthmaDataSummary;
6
+ parameters: {
7
+ layout: string;
8
+ };
9
+ };
10
+ export default _default;
11
+ export declare const Establishing: {
12
+ args: {
13
+ label: string;
14
+ value: number;
15
+ units: string;
16
+ status: string;
17
+ };
18
+ render: (args: AsthmaDataSummaryProps) => React.JSX.Element;
19
+ };
20
+ export declare const Offline: {
21
+ args: {
22
+ label: string;
23
+ value: number;
24
+ units: string;
25
+ status: string;
26
+ };
27
+ render: (args: AsthmaDataSummaryProps) => React.JSX.Element;
28
+ };
29
+ export declare const InRange: {
30
+ args: {
31
+ label: string;
32
+ value: number;
33
+ units: string;
34
+ status: string;
35
+ };
36
+ render: (args: AsthmaDataSummaryProps) => React.JSX.Element;
37
+ };
38
+ export declare const OutOfRange: {
39
+ args: {
40
+ label: string;
41
+ value: number;
42
+ units: string;
43
+ status: string;
44
+ };
45
+ render: (args: AsthmaDataSummaryProps) => React.JSX.Element;
46
+ };
47
+ export declare const NoUnits: {
48
+ args: {
49
+ label: string;
50
+ value: number;
51
+ status: string;
52
+ };
53
+ render: (args: AsthmaDataSummaryProps) => React.JSX.Element;
54
+ };
55
+ export declare const NoValue: {
56
+ args: {
57
+ label: string;
58
+ status: string;
59
+ };
60
+ render: (args: AsthmaDataSummaryProps) => React.JSX.Element;
61
+ };
62
+ export declare const StatusTextOverride: {
63
+ args: {
64
+ label: string;
65
+ value: number;
66
+ status: string;
67
+ statusText: string;
68
+ };
69
+ render: (args: AsthmaDataSummaryProps) => React.JSX.Element;
70
+ };
@@ -0,0 +1 @@
1
+ export { default } from './AsthmaDataSummary';
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export interface AsthmaFactsProps {
3
+ innerRef?: React.Ref<HTMLDivElement>;
4
+ }
5
+ export default function (props: AsthmaFactsProps): React.JSX.Element;
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import AsthmaFacts, { AsthmaFactsProps } from './AsthmaFacts';
3
+ declare const _default: {
4
+ title: string;
5
+ component: typeof AsthmaFacts;
6
+ parameters: {
7
+ layout: string;
8
+ };
9
+ };
10
+ export default _default;
11
+ export declare const Default: {
12
+ args: {
13
+ label: string;
14
+ value: number;
15
+ units: string;
16
+ status: string;
17
+ };
18
+ render: (args: AsthmaFactsProps) => React.JSX.Element;
19
+ };
@@ -0,0 +1 @@
1
+ export { default } from './AsthmaFacts';
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import './AsthmaLogEntryDetails.css';
3
+ import { AsthmaLogEntryDetailsPreviewState } from './AsthmaLogEntryDetails.previewData';
4
+ export interface AsthmaLogEntryDetailsProps {
5
+ previewState?: AsthmaLogEntryDetailsPreviewState;
6
+ date: Date;
7
+ logTodayEntrySurveyName: string;
8
+ logYesterdayEntrySurveyName: string;
9
+ editLogEntryUrl: string;
10
+ innerRef?: React.Ref<HTMLDivElement>;
11
+ }
12
+ export default function (props: AsthmaLogEntryDetailsProps): React.JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { AsthmaLogEntry } from '../../model';
2
+ export type AsthmaLogEntryDetailsPreviewState = 'not-logged' | 'logged-no-symptoms' | 'logged-mild-symptoms' | 'logged-moderate-symptoms' | 'logged-severe-symptoms';
3
+ export interface AsthmaLogEntryDetailsPreviewData {
4
+ logEntry?: AsthmaLogEntry;
5
+ }
6
+ export declare const previewData: Record<AsthmaLogEntryDetailsPreviewState, AsthmaLogEntryDetailsPreviewData>;
@@ -0,0 +1,59 @@
1
+ import React from 'react';
2
+ import AsthmaLogEntryDetails, { AsthmaLogEntryDetailsProps } from './AsthmaLogEntryDetails';
3
+ declare const _default: {
4
+ title: string;
5
+ component: typeof AsthmaLogEntryDetails;
6
+ parameters: {
7
+ layout: string;
8
+ };
9
+ };
10
+ export default _default;
11
+ export declare const NotLogged: {
12
+ args: {
13
+ previewState: string;
14
+ date: Date;
15
+ };
16
+ render: (args: AsthmaLogEntryDetailsProps) => React.JSX.Element;
17
+ };
18
+ export declare const LoggedNoSymptoms: {
19
+ args: {
20
+ previewState: string;
21
+ date: Date;
22
+ };
23
+ render: (args: AsthmaLogEntryDetailsProps) => React.JSX.Element;
24
+ };
25
+ export declare const LoggedMildSymptoms: {
26
+ args: {
27
+ previewState: string;
28
+ date: Date;
29
+ };
30
+ render: (args: AsthmaLogEntryDetailsProps) => React.JSX.Element;
31
+ };
32
+ export declare const LoggedModerateSymptoms: {
33
+ args: {
34
+ previewState: string;
35
+ date: Date;
36
+ };
37
+ render: (args: AsthmaLogEntryDetailsProps) => React.JSX.Element;
38
+ };
39
+ export declare const LoggedSevereSymptoms: {
40
+ args: {
41
+ previewState: string;
42
+ date: Date;
43
+ };
44
+ render: (args: AsthmaLogEntryDetailsProps) => React.JSX.Element;
45
+ };
46
+ export declare const NotLoggedTooLate: {
47
+ args: {
48
+ previewState: string;
49
+ date: Date;
50
+ };
51
+ render: (args: AsthmaLogEntryDetailsProps) => React.JSX.Element;
52
+ };
53
+ export declare const LoggedTooLate: {
54
+ args: {
55
+ previewState: string;
56
+ date: Date;
57
+ };
58
+ render: (args: AsthmaLogEntryDetailsProps) => React.JSX.Element;
59
+ };
@@ -0,0 +1,2 @@
1
+ export { default } from './AsthmaLogEntryDetails';
2
+ export { AsthmaLogEntryDetailsPreviewState } from './AsthmaLogEntryDetails.previewData';
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import './AsthmaLogEntryHeader.css';
3
+ import { AsthmaLogEntryHeaderPreviewState } from './AsthmaLogEntryHeader.previewData';
4
+ export interface AsthmaLogEntryHeaderProps {
5
+ previewState?: AsthmaLogEntryHeaderPreviewState;
6
+ logTodayEntrySurveyName: string;
7
+ logYesterdayEntrySurveyName: string;
8
+ dayViewUrl: string;
9
+ innerRef?: React.Ref<HTMLDivElement>;
10
+ }
11
+ export default function (props: AsthmaLogEntryHeaderProps): React.JSX.Element | null;
@@ -0,0 +1,7 @@
1
+ import { AsthmaLogEntry } from '../../model';
2
+ export type AsthmaLogEntryHeaderPreviewState = 'no-logs' | 'today-log-only' | 'yesterday-log-only' | 'both-logs';
3
+ export interface AsthmaLogEntryHeaderPreviewData {
4
+ todayLogEntry?: AsthmaLogEntry;
5
+ yesterdayLogEntry?: AsthmaLogEntry;
6
+ }
7
+ export declare const previewData: Record<AsthmaLogEntryHeaderPreviewState, AsthmaLogEntryHeaderPreviewData>;
@@ -0,0 +1,34 @@
1
+ import React from 'react';
2
+ import AsthmaLogEntryHeader, { AsthmaLogEntryHeaderProps } from './AsthmaLogEntryHeader';
3
+ declare const _default: {
4
+ title: string;
5
+ component: typeof AsthmaLogEntryHeader;
6
+ parameters: {
7
+ layout: string;
8
+ };
9
+ };
10
+ export default _default;
11
+ export declare const NoLogs: {
12
+ args: {
13
+ previewState: string;
14
+ };
15
+ render: (args: AsthmaLogEntryHeaderProps) => React.JSX.Element;
16
+ };
17
+ export declare const TodayLogOnly: {
18
+ args: {
19
+ previewState: string;
20
+ };
21
+ render: (args: AsthmaLogEntryHeaderProps) => React.JSX.Element;
22
+ };
23
+ export declare const YesterdayLogOnly: {
24
+ args: {
25
+ previewState: string;
26
+ };
27
+ render: (args: AsthmaLogEntryHeaderProps) => React.JSX.Element;
28
+ };
29
+ export declare const BothLogs: {
30
+ args: {
31
+ previewState: string;
32
+ };
33
+ render: (args: AsthmaLogEntryHeaderProps) => React.JSX.Element;
34
+ };
@@ -0,0 +1,2 @@
1
+ export { default } from './AsthmaLogEntryHeader';
2
+ export { AsthmaLogEntryHeaderPreviewState } from './AsthmaLogEntryHeader.previewData';