@careevolution/mydatahelps-ui 2.10.0 → 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.
- package/dist/cjs/index.js +140 -16
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.d.ts +10 -0
- package/dist/cjs/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.previewData.d.ts +7 -0
- package/dist/cjs/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.stories.d.ts +28 -0
- package/dist/cjs/types/components/asthma/components/AsthmaAirQualities/index.d.ts +2 -0
- package/dist/cjs/types/components/asthma/components/AsthmaAlertTakeoverNotice/AsthmaAlertTakeoverNotice.d.ts +9 -0
- package/dist/cjs/types/components/asthma/components/AsthmaAlertTakeoverNotice/AsthmaAlertTakeoverNotice.stories.d.ts +27 -0
- package/dist/cjs/types/components/asthma/components/AsthmaAlertTakeoverNotice/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/components/AsthmaAlertTakeoverTrigger/AsthmaAlertTakeoverTrigger.d.ts +11 -0
- package/dist/cjs/types/components/asthma/components/AsthmaAlertTakeoverTrigger/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.d.ts +12 -0
- package/dist/cjs/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.previewData.d.ts +12 -0
- package/dist/cjs/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.stories.d.ts +28 -0
- package/dist/cjs/types/components/asthma/components/AsthmaBiometrics/index.d.ts +2 -0
- package/dist/cjs/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.d.ts +12 -0
- package/dist/cjs/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.previewData.d.ts +6 -0
- package/dist/cjs/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.stories.d.ts +29 -0
- package/dist/cjs/types/components/asthma/components/AsthmaControlCalendar/index.d.ts +2 -0
- package/dist/cjs/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.d.ts +10 -0
- package/dist/cjs/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.previewData.d.ts +8 -0
- package/dist/cjs/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.stories.d.ts +138 -0
- package/dist/cjs/types/components/asthma/components/AsthmaControlStatusHeader/index.d.ts +2 -0
- package/dist/cjs/types/components/asthma/components/AsthmaDataSummary/AsthmaDataSummary.d.ts +13 -0
- package/dist/cjs/types/components/asthma/components/AsthmaDataSummary/AsthmaDataSummary.stories.d.ts +70 -0
- package/dist/cjs/types/components/asthma/components/AsthmaDataSummary/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/components/AsthmaFacts/AsthmaFacts.d.ts +5 -0
- package/dist/cjs/types/components/asthma/components/AsthmaFacts/AsthmaFacts.stories.d.ts +19 -0
- package/dist/cjs/types/components/asthma/components/AsthmaFacts/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.d.ts +12 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.previewData.d.ts +6 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.stories.d.ts +59 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntryDetails/index.d.ts +2 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.d.ts +11 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.previewData.d.ts +7 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.stories.d.ts +34 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntryHeader/index.d.ts +2 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntrySummary/AsthmaLogEntrySummary.d.ts +11 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntrySummary/AsthmaLogEntrySummary.stories.d.ts +60 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntrySummary/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/components/AsthmaPostEnrollmentSurveyTrigger/AsthmaPostEnrollmentSurveyTrigger.d.ts +8 -0
- package/dist/cjs/types/components/asthma/components/AsthmaPostEnrollmentSurveyTrigger/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/components/index.d.ts +12 -0
- package/dist/cjs/types/components/asthma/helpers/asthma-data.d.ts +15 -0
- package/dist/cjs/types/components/asthma/helpers/asthma-functions.d.ts +6 -0
- package/dist/cjs/types/components/asthma/helpers/daily-data-providers/air-quality-home.d.ts +2 -0
- package/dist/cjs/types/components/asthma/helpers/daily-data-providers/air-quality-work.d.ts +2 -0
- package/dist/cjs/types/components/asthma/helpers/daily-data-providers/blood-oxygen-level-daytime.d.ts +2 -0
- package/dist/cjs/types/components/asthma/helpers/daily-data-providers/blood-oxygen-level-nighttime.d.ts +2 -0
- package/dist/cjs/types/components/asthma/helpers/daily-data-providers/index.d.ts +10 -0
- package/dist/cjs/types/components/asthma/helpers/daily-data-providers/respiratory-rate.d.ts +2 -0
- package/dist/cjs/types/components/asthma/helpers/daily-data-providers/resting-heart-rate-daytime.d.ts +2 -0
- package/dist/cjs/types/components/asthma/helpers/daily-data-providers/resting-heart-rate-nighttime.d.ts +2 -0
- package/dist/cjs/types/components/asthma/helpers/daily-data-providers/shared.d.ts +6 -0
- package/dist/cjs/types/components/asthma/helpers/daily-data-providers/sleep.d.ts +2 -0
- package/dist/cjs/types/components/asthma/helpers/daily-data-providers/steps.d.ts +2 -0
- package/dist/cjs/types/components/asthma/helpers/index.d.ts +2 -0
- package/dist/cjs/types/components/asthma/index.d.ts +4 -0
- package/dist/cjs/types/components/asthma/model/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/model/types.d.ts +49 -0
- package/dist/cjs/types/components/asthma/views/AsthmaActivityView/AsthmaActivityView.d.ts +8 -0
- package/dist/cjs/types/components/asthma/views/AsthmaActivityView/AsthmaActivityView.stories.d.ts +25 -0
- package/dist/cjs/types/components/asthma/views/AsthmaActivityView/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/views/AsthmaAirQualityView/AsthmaAirQualityView.d.ts +8 -0
- package/dist/cjs/types/components/asthma/views/AsthmaAirQualityView/AsthmaAirQualityView.stories.d.ts +25 -0
- package/dist/cjs/types/components/asthma/views/AsthmaAirQualityView/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/views/AsthmaAlertTakeoverView/AsthmaAlertTakeoverView.d.ts +7 -0
- package/dist/cjs/types/components/asthma/views/AsthmaAlertTakeoverView/AsthmaAlertTakeoverView.stories.d.ts +13 -0
- package/dist/cjs/types/components/asthma/views/AsthmaAlertTakeoverView/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/views/AsthmaDayView/AsthmaDayView.d.ts +20 -0
- package/dist/cjs/types/components/asthma/views/AsthmaDayView/AsthmaDayView.stories.d.ts +21 -0
- package/dist/cjs/types/components/asthma/views/AsthmaDayView/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/views/AsthmaHeartAndLungsView/AsthmaHeartAndLungsView.d.ts +8 -0
- package/dist/cjs/types/components/asthma/views/AsthmaHeartAndLungsView/AsthmaHeartAndLungsView.stories.d.ts +25 -0
- package/dist/cjs/types/components/asthma/views/AsthmaHeartAndLungsView/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.d.ts +8 -0
- package/dist/cjs/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.previewData.d.ts +6 -0
- package/dist/cjs/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.stories.d.ts +38 -0
- package/dist/cjs/types/components/asthma/views/AsthmaLogEntryEditorView/index.d.ts +2 -0
- package/dist/cjs/types/components/asthma/views/AsthmaSleepView/AsthmaSleepView.d.ts +8 -0
- package/dist/cjs/types/components/asthma/views/AsthmaSleepView/AsthmaSleepView.stories.d.ts +25 -0
- package/dist/cjs/types/components/asthma/views/AsthmaSleepView/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/views/index.d.ts +7 -0
- package/dist/cjs/types/components/container/BloodPressureVisualization/BloodPressureVisualization.d.ts +11 -0
- package/dist/cjs/types/components/container/BloodPressureVisualization/BloodPressureVisualization.previewdata.d.ts +2 -0
- package/dist/cjs/types/components/container/BloodPressureVisualization/BloodPressureVisualization.stories.d.ts +43 -0
- package/dist/cjs/types/components/container/BloodPressureVisualization/index.d.ts +1 -0
- package/dist/cjs/types/components/container/DailyDataChart/DailyDataChart.d.ts +3 -0
- package/dist/cjs/types/components/container/InboxItemList/InboxItemList.d.ts +27 -0
- package/dist/cjs/types/components/container/InboxItemList/InboxItemList.previewData.d.ts +6 -0
- package/dist/cjs/types/components/container/InboxItemList/InboxItemList.stories.d.ts +66 -0
- package/dist/cjs/types/components/container/InboxItemList/index.d.ts +1 -0
- package/dist/cjs/types/components/container/InboxItemListCoordinator/InboxItemListCoordinator.d.ts +12 -0
- package/dist/cjs/types/components/container/InboxItemListCoordinator/index.d.ts +1 -0
- package/dist/cjs/types/components/container/SeverityCalendar/SeverityCalendar.d.ts +11 -0
- package/dist/cjs/types/components/container/SeverityCalendar/SeverityCalendar.previewdata.d.ts +2 -0
- package/dist/cjs/types/components/container/SeverityCalendar/SeverityCalendar.stories.d.ts +52 -0
- package/dist/cjs/types/components/container/SeverityCalendar/index.d.ts +1 -0
- package/dist/cjs/types/components/container/index.d.ts +4 -0
- package/dist/cjs/types/components/index.d.ts +3 -2
- package/dist/cjs/types/components/presentational/DateRangeCoordinator/index.d.ts +1 -1
- package/dist/cjs/types/components/presentational/DumbbellChart/Dumbbell.d.ts +9 -0
- package/dist/cjs/types/components/presentational/DumbbellChart/DumbbellChart.d.ts +28 -0
- package/dist/cjs/types/components/presentational/DumbbellChart/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/InboxCompletedListItem/InboxCompletedListItem.d.ts +10 -0
- package/dist/cjs/types/components/presentational/InboxCompletedListItem/InboxCompletedListItem.stories.d.ts +23 -0
- package/dist/cjs/types/components/presentational/InboxCompletedListItem/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/InboxMessageListItem/InboxMessageListItem.d.ts +10 -0
- package/dist/cjs/types/components/presentational/InboxMessageListItem/InboxMessageListItem.stories.d.ts +24 -0
- package/dist/cjs/types/components/presentational/InboxMessageListItem/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/InboxResourceDisplay/InboxResourceDisplay.d.ts +12 -0
- package/dist/cjs/types/components/presentational/InboxResourceDisplay/InboxResourceDisplay.stories.d.ts +44 -0
- package/dist/cjs/types/components/presentational/InboxResourceDisplay/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/InboxResourceListItem/InboxResourceListItem.d.ts +12 -0
- package/dist/cjs/types/components/presentational/InboxResourceListItem/InboxResourceListItem.stories.d.ts +67 -0
- package/dist/cjs/types/components/presentational/InboxResourceListItem/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/InboxSurveyListItem/InboxSurveyListItem.d.ts +13 -0
- package/dist/cjs/types/components/presentational/InboxSurveyListItem/InboxSurveyListItem.stories.d.ts +72 -0
- package/dist/cjs/types/components/presentational/InboxSurveyListItem/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/Layout/index.d.ts +1 -2
- package/dist/cjs/types/components/presentational/NavigationBar/NavigationBar.d.ts +1 -0
- package/dist/cjs/types/components/presentational/RotatingText/RotatingText.d.ts +15 -0
- package/dist/cjs/types/components/presentational/RotatingText/RotatingText.stories.d.ts +149 -0
- package/dist/cjs/types/components/presentational/RotatingText/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/SingleSurveyTask/SingleSurveyTask.d.ts +6 -4
- package/dist/cjs/types/components/presentational/SingleSurveyTask/SingleSurveyTask.stories.d.ts +59 -123
- package/dist/cjs/types/components/presentational/index.d.ts +7 -0
- package/dist/cjs/types/components/view/InboxHistoryView/InboxHistoryView.d.ts +8 -0
- package/dist/cjs/types/components/view/InboxHistoryView/InboxHistoryView.stories.d.ts +13 -0
- package/dist/cjs/types/components/view/InboxHistoryView/index.d.ts +1 -0
- package/dist/cjs/types/components/view/InboxMessageView/InboxMessageView.d.ts +11 -0
- package/dist/cjs/types/components/view/InboxMessageView/InboxMessageView.stories.d.ts +48 -0
- package/dist/cjs/types/components/view/InboxMessageView/index.d.ts +1 -0
- package/dist/cjs/types/components/view/InboxView/InboxView.d.ts +12 -0
- package/dist/cjs/types/components/view/InboxView/InboxView.stories.d.ts +27 -0
- package/dist/cjs/types/components/view/InboxView/index.d.ts +1 -0
- package/dist/cjs/types/components/view/index.d.ts +3 -0
- package/dist/cjs/types/helpers/Inbox/inbox-data.d.ts +8 -0
- package/dist/cjs/types/helpers/blood-pressure-data-providers/index.d.ts +3 -0
- package/dist/cjs/types/helpers/blood-pressure-data-providers/survey-blood-pressure-data-provider.d.ts +12 -0
- package/dist/cjs/types/helpers/date-helpers.d.ts +1 -0
- package/dist/cjs/types/helpers/functions.d.ts +1 -0
- package/dist/cjs/types/helpers/query-all-survey-answers.d.ts +2 -0
- package/dist/cjs/types/helpers/query-daily-data.d.ts +2 -0
- package/dist/cjs/types/index.d.ts +3 -0
- package/dist/esm/index.js +140 -16
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.d.ts +10 -0
- package/dist/esm/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.previewData.d.ts +7 -0
- package/dist/esm/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.stories.d.ts +28 -0
- package/dist/esm/types/components/asthma/components/AsthmaAirQualities/index.d.ts +2 -0
- package/dist/esm/types/components/asthma/components/AsthmaAlertTakeoverNotice/AsthmaAlertTakeoverNotice.d.ts +9 -0
- package/dist/esm/types/components/asthma/components/AsthmaAlertTakeoverNotice/AsthmaAlertTakeoverNotice.stories.d.ts +27 -0
- package/dist/esm/types/components/asthma/components/AsthmaAlertTakeoverNotice/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/components/AsthmaAlertTakeoverTrigger/AsthmaAlertTakeoverTrigger.d.ts +11 -0
- package/dist/esm/types/components/asthma/components/AsthmaAlertTakeoverTrigger/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.d.ts +12 -0
- package/dist/esm/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.previewData.d.ts +12 -0
- package/dist/esm/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.stories.d.ts +28 -0
- package/dist/esm/types/components/asthma/components/AsthmaBiometrics/index.d.ts +2 -0
- package/dist/esm/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.d.ts +12 -0
- package/dist/esm/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.previewData.d.ts +6 -0
- package/dist/esm/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.stories.d.ts +29 -0
- package/dist/esm/types/components/asthma/components/AsthmaControlCalendar/index.d.ts +2 -0
- package/dist/esm/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.d.ts +10 -0
- package/dist/esm/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.previewData.d.ts +8 -0
- package/dist/esm/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.stories.d.ts +138 -0
- package/dist/esm/types/components/asthma/components/AsthmaControlStatusHeader/index.d.ts +2 -0
- package/dist/esm/types/components/asthma/components/AsthmaDataSummary/AsthmaDataSummary.d.ts +13 -0
- package/dist/esm/types/components/asthma/components/AsthmaDataSummary/AsthmaDataSummary.stories.d.ts +70 -0
- package/dist/esm/types/components/asthma/components/AsthmaDataSummary/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/components/AsthmaFacts/AsthmaFacts.d.ts +5 -0
- package/dist/esm/types/components/asthma/components/AsthmaFacts/AsthmaFacts.stories.d.ts +19 -0
- package/dist/esm/types/components/asthma/components/AsthmaFacts/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.d.ts +12 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.previewData.d.ts +6 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.stories.d.ts +59 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntryDetails/index.d.ts +2 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.d.ts +11 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.previewData.d.ts +7 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.stories.d.ts +34 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntryHeader/index.d.ts +2 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntrySummary/AsthmaLogEntrySummary.d.ts +11 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntrySummary/AsthmaLogEntrySummary.stories.d.ts +60 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntrySummary/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/components/AsthmaPostEnrollmentSurveyTrigger/AsthmaPostEnrollmentSurveyTrigger.d.ts +8 -0
- package/dist/esm/types/components/asthma/components/AsthmaPostEnrollmentSurveyTrigger/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/components/index.d.ts +12 -0
- package/dist/esm/types/components/asthma/helpers/asthma-data.d.ts +15 -0
- package/dist/esm/types/components/asthma/helpers/asthma-functions.d.ts +6 -0
- package/dist/esm/types/components/asthma/helpers/daily-data-providers/air-quality-home.d.ts +2 -0
- package/dist/esm/types/components/asthma/helpers/daily-data-providers/air-quality-work.d.ts +2 -0
- package/dist/esm/types/components/asthma/helpers/daily-data-providers/blood-oxygen-level-daytime.d.ts +2 -0
- package/dist/esm/types/components/asthma/helpers/daily-data-providers/blood-oxygen-level-nighttime.d.ts +2 -0
- package/dist/esm/types/components/asthma/helpers/daily-data-providers/index.d.ts +10 -0
- package/dist/esm/types/components/asthma/helpers/daily-data-providers/respiratory-rate.d.ts +2 -0
- package/dist/esm/types/components/asthma/helpers/daily-data-providers/resting-heart-rate-daytime.d.ts +2 -0
- package/dist/esm/types/components/asthma/helpers/daily-data-providers/resting-heart-rate-nighttime.d.ts +2 -0
- package/dist/esm/types/components/asthma/helpers/daily-data-providers/shared.d.ts +6 -0
- package/dist/esm/types/components/asthma/helpers/daily-data-providers/sleep.d.ts +2 -0
- package/dist/esm/types/components/asthma/helpers/daily-data-providers/steps.d.ts +2 -0
- package/dist/esm/types/components/asthma/helpers/index.d.ts +2 -0
- package/dist/esm/types/components/asthma/index.d.ts +4 -0
- package/dist/esm/types/components/asthma/model/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/model/types.d.ts +49 -0
- package/dist/esm/types/components/asthma/views/AsthmaActivityView/AsthmaActivityView.d.ts +8 -0
- package/dist/esm/types/components/asthma/views/AsthmaActivityView/AsthmaActivityView.stories.d.ts +25 -0
- package/dist/esm/types/components/asthma/views/AsthmaActivityView/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/views/AsthmaAirQualityView/AsthmaAirQualityView.d.ts +8 -0
- package/dist/esm/types/components/asthma/views/AsthmaAirQualityView/AsthmaAirQualityView.stories.d.ts +25 -0
- package/dist/esm/types/components/asthma/views/AsthmaAirQualityView/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/views/AsthmaAlertTakeoverView/AsthmaAlertTakeoverView.d.ts +7 -0
- package/dist/esm/types/components/asthma/views/AsthmaAlertTakeoverView/AsthmaAlertTakeoverView.stories.d.ts +13 -0
- package/dist/esm/types/components/asthma/views/AsthmaAlertTakeoverView/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/views/AsthmaDayView/AsthmaDayView.d.ts +20 -0
- package/dist/esm/types/components/asthma/views/AsthmaDayView/AsthmaDayView.stories.d.ts +21 -0
- package/dist/esm/types/components/asthma/views/AsthmaDayView/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/views/AsthmaHeartAndLungsView/AsthmaHeartAndLungsView.d.ts +8 -0
- package/dist/esm/types/components/asthma/views/AsthmaHeartAndLungsView/AsthmaHeartAndLungsView.stories.d.ts +25 -0
- package/dist/esm/types/components/asthma/views/AsthmaHeartAndLungsView/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.d.ts +8 -0
- package/dist/esm/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.previewData.d.ts +6 -0
- package/dist/esm/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.stories.d.ts +38 -0
- package/dist/esm/types/components/asthma/views/AsthmaLogEntryEditorView/index.d.ts +2 -0
- package/dist/esm/types/components/asthma/views/AsthmaSleepView/AsthmaSleepView.d.ts +8 -0
- package/dist/esm/types/components/asthma/views/AsthmaSleepView/AsthmaSleepView.stories.d.ts +25 -0
- package/dist/esm/types/components/asthma/views/AsthmaSleepView/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/views/index.d.ts +7 -0
- package/dist/esm/types/components/container/BloodPressureVisualization/BloodPressureVisualization.d.ts +11 -0
- package/dist/esm/types/components/container/BloodPressureVisualization/BloodPressureVisualization.previewdata.d.ts +2 -0
- package/dist/esm/types/components/container/BloodPressureVisualization/BloodPressureVisualization.stories.d.ts +43 -0
- package/dist/esm/types/components/container/BloodPressureVisualization/index.d.ts +1 -0
- package/dist/esm/types/components/container/DailyDataChart/DailyDataChart.d.ts +3 -0
- package/dist/esm/types/components/container/InboxItemList/InboxItemList.d.ts +27 -0
- package/dist/esm/types/components/container/InboxItemList/InboxItemList.previewData.d.ts +6 -0
- package/dist/esm/types/components/container/InboxItemList/InboxItemList.stories.d.ts +66 -0
- package/dist/esm/types/components/container/InboxItemList/index.d.ts +1 -0
- package/dist/esm/types/components/container/InboxItemListCoordinator/InboxItemListCoordinator.d.ts +12 -0
- package/dist/esm/types/components/container/InboxItemListCoordinator/index.d.ts +1 -0
- package/dist/esm/types/components/container/SeverityCalendar/SeverityCalendar.d.ts +11 -0
- package/dist/esm/types/components/container/SeverityCalendar/SeverityCalendar.previewdata.d.ts +2 -0
- package/dist/esm/types/components/container/SeverityCalendar/SeverityCalendar.stories.d.ts +52 -0
- package/dist/esm/types/components/container/SeverityCalendar/index.d.ts +1 -0
- package/dist/esm/types/components/container/index.d.ts +4 -0
- package/dist/esm/types/components/index.d.ts +3 -2
- package/dist/esm/types/components/presentational/DateRangeCoordinator/index.d.ts +1 -1
- package/dist/esm/types/components/presentational/DumbbellChart/Dumbbell.d.ts +9 -0
- package/dist/esm/types/components/presentational/DumbbellChart/DumbbellChart.d.ts +28 -0
- package/dist/esm/types/components/presentational/DumbbellChart/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/InboxCompletedListItem/InboxCompletedListItem.d.ts +10 -0
- package/dist/esm/types/components/presentational/InboxCompletedListItem/InboxCompletedListItem.stories.d.ts +23 -0
- package/dist/esm/types/components/presentational/InboxCompletedListItem/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/InboxMessageListItem/InboxMessageListItem.d.ts +10 -0
- package/dist/esm/types/components/presentational/InboxMessageListItem/InboxMessageListItem.stories.d.ts +24 -0
- package/dist/esm/types/components/presentational/InboxMessageListItem/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/InboxResourceDisplay/InboxResourceDisplay.d.ts +12 -0
- package/dist/esm/types/components/presentational/InboxResourceDisplay/InboxResourceDisplay.stories.d.ts +44 -0
- package/dist/esm/types/components/presentational/InboxResourceDisplay/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/InboxResourceListItem/InboxResourceListItem.d.ts +12 -0
- package/dist/esm/types/components/presentational/InboxResourceListItem/InboxResourceListItem.stories.d.ts +67 -0
- package/dist/esm/types/components/presentational/InboxResourceListItem/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/InboxSurveyListItem/InboxSurveyListItem.d.ts +13 -0
- package/dist/esm/types/components/presentational/InboxSurveyListItem/InboxSurveyListItem.stories.d.ts +72 -0
- package/dist/esm/types/components/presentational/InboxSurveyListItem/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/Layout/index.d.ts +1 -2
- package/dist/esm/types/components/presentational/NavigationBar/NavigationBar.d.ts +1 -0
- package/dist/esm/types/components/presentational/RotatingText/RotatingText.d.ts +15 -0
- package/dist/esm/types/components/presentational/RotatingText/RotatingText.stories.d.ts +149 -0
- package/dist/esm/types/components/presentational/RotatingText/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/SingleSurveyTask/SingleSurveyTask.d.ts +6 -4
- package/dist/esm/types/components/presentational/SingleSurveyTask/SingleSurveyTask.stories.d.ts +59 -123
- package/dist/esm/types/components/presentational/index.d.ts +7 -0
- package/dist/esm/types/components/view/InboxHistoryView/InboxHistoryView.d.ts +8 -0
- package/dist/esm/types/components/view/InboxHistoryView/InboxHistoryView.stories.d.ts +13 -0
- package/dist/esm/types/components/view/InboxHistoryView/index.d.ts +1 -0
- package/dist/esm/types/components/view/InboxMessageView/InboxMessageView.d.ts +11 -0
- package/dist/esm/types/components/view/InboxMessageView/InboxMessageView.stories.d.ts +48 -0
- package/dist/esm/types/components/view/InboxMessageView/index.d.ts +1 -0
- package/dist/esm/types/components/view/InboxView/InboxView.d.ts +12 -0
- package/dist/esm/types/components/view/InboxView/InboxView.stories.d.ts +27 -0
- package/dist/esm/types/components/view/InboxView/index.d.ts +1 -0
- package/dist/esm/types/components/view/index.d.ts +3 -0
- package/dist/esm/types/helpers/Inbox/inbox-data.d.ts +8 -0
- package/dist/esm/types/helpers/blood-pressure-data-providers/index.d.ts +3 -0
- package/dist/esm/types/helpers/blood-pressure-data-providers/survey-blood-pressure-data-provider.d.ts +12 -0
- package/dist/esm/types/helpers/date-helpers.d.ts +1 -0
- package/dist/esm/types/helpers/functions.d.ts +1 -0
- package/dist/esm/types/helpers/query-all-survey-answers.d.ts +2 -0
- package/dist/esm/types/helpers/query-daily-data.d.ts +2 -0
- package/dist/esm/types/index.d.ts +3 -0
- package/dist/index.d.ts +963 -528
- package/package.json +2 -2
package/dist/esm/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.d.ts
ADDED
|
@@ -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,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>;
|
package/dist/esm/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.stories.d.ts
ADDED
|
@@ -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
|
+
};
|
package/dist/esm/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.d.ts
ADDED
|
@@ -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,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,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;
|
package/dist/esm/types/components/asthma/components/AsthmaDataSummary/AsthmaDataSummary.stories.d.ts
ADDED
|
@@ -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,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';
|
package/dist/esm/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.d.ts
ADDED
|
@@ -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
|
+
};
|
package/dist/esm/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.d.ts
ADDED
|
@@ -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
|
+
};
|