@careevolution/mydatahelps-ui 2.11.1-SSComponents.0 → 2.12.1-SSComponents.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 +12 -189
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/asthma/components/AsthmaActionPlanManager/AsthmaActionPlanManager.d.ts +9 -0
- package/dist/cjs/types/components/asthma/components/AsthmaActionPlanManager/AsthmaActionPlanManager.stories.d.ts +32 -0
- package/dist/cjs/types/components/asthma/components/AsthmaActionPlanManager/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.d.ts +11 -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 +37 -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 +34 -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 +32 -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 +46 -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 +32 -0
- package/dist/cjs/types/components/asthma/components/AsthmaControlStatusHeader/index.d.ts +2 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.d.ts +13 -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 +39 -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 +32 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntryHeader/index.d.ts +2 -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 +10 -0
- package/dist/cjs/types/components/asthma/helpers/asthma-data.d.ts +26 -0
- package/dist/cjs/types/components/asthma/helpers/asthma-functions.d.ts +20 -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 +8 -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 +2 -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 +66 -0
- package/dist/cjs/types/components/asthma/views/AsthmaActionPlanView/AsthmaActionPlanView.d.ts +8 -0
- package/dist/cjs/types/components/asthma/views/AsthmaActionPlanView/AsthmaActionPlanView.stories.d.ts +29 -0
- package/dist/cjs/types/components/asthma/views/AsthmaActionPlanView/index.d.ts +1 -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 +30 -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 +41 -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 +23 -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 +15 -0
- package/dist/cjs/types/components/asthma/views/AsthmaDayView/AsthmaDayView.stories.d.ts +23 -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 +41 -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 +29 -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 +30 -0
- package/dist/cjs/types/components/asthma/views/AsthmaSleepView/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/views/index.d.ts +8 -0
- package/dist/cjs/types/components/container/RecentDailyDataBarChart/RecentDailyDataBarChart.d.ts +17 -0
- package/dist/cjs/types/components/container/RecentDailyDataBarChart/RecentDailyDataBarChart.stories.d.ts +58 -0
- package/dist/cjs/types/components/container/RecentDailyDataBarChart/index.d.ts +1 -0
- package/dist/cjs/types/components/container/index.d.ts +1 -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/Layout/index.d.ts +1 -2
- package/dist/cjs/types/components/presentational/NavigationBar/NavigationBar.d.ts +1 -0
- package/dist/cjs/types/components/presentational/Resource/Resource.d.ts +1 -0
- package/dist/cjs/types/components/presentational/Resource/Resource.stories.d.ts +8 -0
- package/dist/cjs/types/components/presentational/ResourceList/ResourceList.d.ts +19 -0
- package/dist/cjs/types/components/presentational/ResourceList/ResourceList.previewData.d.ts +6 -0
- package/dist/cjs/types/components/presentational/ResourceList/ResourceList.stories.d.ts +50 -0
- package/dist/cjs/types/components/presentational/ResourceList/index.d.ts +2 -0
- package/dist/cjs/types/components/presentational/RotatingComponentCoordinator/RotatingComponentCoordinator.d.ts +9 -0
- package/dist/cjs/types/components/presentational/RotatingComponentCoordinator/RotatingComponentCoordinator.stories.d.ts +26 -0
- package/dist/cjs/types/components/presentational/RotatingComponentCoordinator/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/SingleDataPoint/SingleDataPoint.d.ts +13 -0
- package/dist/cjs/types/components/presentational/SingleDataPoint/SingleDataPoint.stories.d.ts +55 -0
- package/dist/cjs/types/components/presentational/SingleDataPoint/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/index.d.ts +3 -0
- package/dist/cjs/types/components/view/ResourceListView/ResourceListView.d.ts +11 -0
- package/dist/cjs/types/components/view/ResourceListView/ResourceListView.stories.d.ts +40 -0
- package/dist/cjs/types/components/view/ResourceListView/index.d.ts +1 -0
- package/dist/cjs/types/components/view/index.d.ts +1 -0
- package/dist/cjs/types/helpers/daily-data-providers/air-quality-home.d.ts +2 -0
- package/dist/cjs/types/helpers/daily-data-providers/air-quality-work.d.ts +2 -0
- package/dist/cjs/types/helpers/daily-data-providers/index.d.ts +3 -0
- package/dist/cjs/types/helpers/daily-data-providers/shared.d.ts +4 -0
- package/dist/cjs/types/helpers/query-daily-data.d.ts +5 -1
- package/dist/cjs/types/index.d.ts +1 -0
- package/dist/esm/index.js +12 -189
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/asthma/components/AsthmaActionPlanManager/AsthmaActionPlanManager.d.ts +9 -0
- package/dist/esm/types/components/asthma/components/AsthmaActionPlanManager/AsthmaActionPlanManager.stories.d.ts +32 -0
- package/dist/esm/types/components/asthma/components/AsthmaActionPlanManager/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.d.ts +11 -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 +37 -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 +34 -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 +32 -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 +46 -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 +32 -0
- package/dist/esm/types/components/asthma/components/AsthmaControlStatusHeader/index.d.ts +2 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.d.ts +13 -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 +39 -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 +32 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntryHeader/index.d.ts +2 -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 +10 -0
- package/dist/esm/types/components/asthma/helpers/asthma-data.d.ts +26 -0
- package/dist/esm/types/components/asthma/helpers/asthma-functions.d.ts +20 -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 +8 -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 +2 -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 +66 -0
- package/dist/esm/types/components/asthma/views/AsthmaActionPlanView/AsthmaActionPlanView.d.ts +8 -0
- package/dist/esm/types/components/asthma/views/AsthmaActionPlanView/AsthmaActionPlanView.stories.d.ts +29 -0
- package/dist/esm/types/components/asthma/views/AsthmaActionPlanView/index.d.ts +1 -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 +30 -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 +41 -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 +23 -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 +15 -0
- package/dist/esm/types/components/asthma/views/AsthmaDayView/AsthmaDayView.stories.d.ts +23 -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 +41 -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 +29 -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 +30 -0
- package/dist/esm/types/components/asthma/views/AsthmaSleepView/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/views/index.d.ts +8 -0
- package/dist/esm/types/components/container/RecentDailyDataBarChart/RecentDailyDataBarChart.d.ts +17 -0
- package/dist/esm/types/components/container/RecentDailyDataBarChart/RecentDailyDataBarChart.stories.d.ts +58 -0
- package/dist/esm/types/components/container/RecentDailyDataBarChart/index.d.ts +1 -0
- package/dist/esm/types/components/container/index.d.ts +1 -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/Layout/index.d.ts +1 -2
- package/dist/esm/types/components/presentational/NavigationBar/NavigationBar.d.ts +1 -0
- package/dist/esm/types/components/presentational/Resource/Resource.d.ts +1 -0
- package/dist/esm/types/components/presentational/Resource/Resource.stories.d.ts +8 -0
- package/dist/esm/types/components/presentational/ResourceList/ResourceList.d.ts +19 -0
- package/dist/esm/types/components/presentational/ResourceList/ResourceList.previewData.d.ts +6 -0
- package/dist/esm/types/components/presentational/ResourceList/ResourceList.stories.d.ts +50 -0
- package/dist/esm/types/components/presentational/ResourceList/index.d.ts +2 -0
- package/dist/esm/types/components/presentational/RotatingComponentCoordinator/RotatingComponentCoordinator.d.ts +9 -0
- package/dist/esm/types/components/presentational/RotatingComponentCoordinator/RotatingComponentCoordinator.stories.d.ts +26 -0
- package/dist/esm/types/components/presentational/RotatingComponentCoordinator/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/SingleDataPoint/SingleDataPoint.d.ts +13 -0
- package/dist/esm/types/components/presentational/SingleDataPoint/SingleDataPoint.stories.d.ts +55 -0
- package/dist/esm/types/components/presentational/SingleDataPoint/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/index.d.ts +3 -0
- package/dist/esm/types/components/view/ResourceListView/ResourceListView.d.ts +11 -0
- package/dist/esm/types/components/view/ResourceListView/ResourceListView.stories.d.ts +40 -0
- package/dist/esm/types/components/view/ResourceListView/index.d.ts +1 -0
- package/dist/esm/types/components/view/index.d.ts +1 -0
- package/dist/esm/types/helpers/daily-data-providers/air-quality-home.d.ts +2 -0
- package/dist/esm/types/helpers/daily-data-providers/air-quality-work.d.ts +2 -0
- package/dist/esm/types/helpers/daily-data-providers/index.d.ts +3 -0
- package/dist/esm/types/helpers/daily-data-providers/shared.d.ts +4 -0
- package/dist/esm/types/helpers/query-daily-data.d.ts +5 -1
- package/dist/esm/types/index.d.ts +1 -0
- package/dist/index.d.ts +1157 -804
- package/package.json +2 -2
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { ParticipantInfo } from '@careevolution/mydatahelps-js';
|
|
2
|
+
export declare class AsthmaParticipant {
|
|
3
|
+
participantInfo: ParticipantInfo;
|
|
4
|
+
constructor(participantInfo: ParticipantInfo);
|
|
5
|
+
getFirstName(): string;
|
|
6
|
+
hasPairedDevice(): boolean;
|
|
7
|
+
hasEstablishedBaseline(): boolean;
|
|
8
|
+
getHomeAirQualityZipCode(): string;
|
|
9
|
+
getWorkAirQualityZipCode(): string;
|
|
10
|
+
getActionPlanTaskRunUUID(): string;
|
|
11
|
+
getDaytimeRestingHeartRateBaseline(): number | undefined;
|
|
12
|
+
getNighttimeRestingHeartRateBaseline(): number | undefined;
|
|
13
|
+
getRespiratoryRateBaseline(): number | undefined;
|
|
14
|
+
getStepsBaseline(): number | undefined;
|
|
15
|
+
getSleepDisturbancesBaseline(): number | undefined;
|
|
16
|
+
getDaytimeBloodOxygenLevelBaseline(): number | undefined;
|
|
17
|
+
getNighttimeBloodOxygenLevelBaseline(): number | undefined;
|
|
18
|
+
private hasEstablishedBaselineByType;
|
|
19
|
+
private getBaseline;
|
|
20
|
+
private getCustomFieldValue;
|
|
21
|
+
}
|
|
22
|
+
export interface AsthmaControlMetrics {
|
|
23
|
+
date: string;
|
|
24
|
+
nighttimeAwakeningDaysPast7: number;
|
|
25
|
+
limitedActivityDaysPast7: number;
|
|
26
|
+
inhalerUseDaysPast7: number;
|
|
27
|
+
symptomDaysPast7: number;
|
|
28
|
+
loggedDaysPast7: number;
|
|
29
|
+
}
|
|
30
|
+
export type AsthmaControlStatus = 'no-data' | 'not-controlled' | 'controlled' | 'not-determined';
|
|
31
|
+
export interface AsthmaControlState {
|
|
32
|
+
status: AsthmaControlStatus;
|
|
33
|
+
symptomDaysPast7?: number;
|
|
34
|
+
nighttimeAwakeningDaysPast7?: number;
|
|
35
|
+
limitedActivityDaysPast7?: number;
|
|
36
|
+
inhalerUseDaysPast7?: number;
|
|
37
|
+
}
|
|
38
|
+
export type AsthmaDataStatus = 'not-configured' | 'not-found' | 'not-determined' | 'establishing' | 'offline' | 'in-range' | 'out-of-range';
|
|
39
|
+
export type AsthmaBiometricType = 'daytime-resting-heart-rate' | 'nighttime-resting-heart-rate' | 'respiratory-rate' | 'steps' | 'sleep-disturbances' | 'daytime-blood-oxygen-level' | 'nighttime-blood-oxygen-level';
|
|
40
|
+
export interface AsthmaBiometric {
|
|
41
|
+
type: AsthmaBiometricType;
|
|
42
|
+
status: AsthmaDataStatus;
|
|
43
|
+
value?: number;
|
|
44
|
+
}
|
|
45
|
+
export type AsthmaAirQualityType = 'work' | 'home';
|
|
46
|
+
export interface AsthmaAirQuality {
|
|
47
|
+
type: AsthmaAirQualityType;
|
|
48
|
+
status: AsthmaDataStatus;
|
|
49
|
+
value?: number;
|
|
50
|
+
description?: string;
|
|
51
|
+
}
|
|
52
|
+
export type AsthmaSymptomLevel = 'none' | 'mild' | 'moderate' | 'severe';
|
|
53
|
+
export type AsthmaSymptom = 'Difficulty breathing' | 'Wheezing' | 'Coughing' | 'Chest tightness or pressure';
|
|
54
|
+
export type AsthmaImpact = 'Wake up at night' | 'Limit your daily activity' | 'Use your rescue inhaler';
|
|
55
|
+
export type AsthmaTrigger = 'Cold/viral illness' | 'Animal exposure' | 'Seasonal allergens/pollen' | 'Smoke (tobacco or wood burning)' | 'Extreme weather changes' | 'Air pollution' | 'Strong smells' | 'Chemicals/cleaning supplies' | 'Dust' | 'Mold' | 'Dust mites' | 'Rodents' | 'Cockroaches' | 'Taken a NSAID (non-steroidal anti-inflammatory drugs including aspirin and ibuprofen)' | 'Taken a beta blocker' | 'Had heartburn' | 'Drank red wine' | 'Tried any new foods' | 'Cooked without a fan or open window' | 'Had a pet sleep in your bed' | 'Burned incense or a candle';
|
|
56
|
+
export interface AsthmaLogEntry {
|
|
57
|
+
identifier: string;
|
|
58
|
+
symptomLevel: AsthmaSymptomLevel;
|
|
59
|
+
symptoms: AsthmaSymptom[];
|
|
60
|
+
impacts: AsthmaImpact[];
|
|
61
|
+
triggers: AsthmaTrigger[];
|
|
62
|
+
}
|
|
63
|
+
export interface AsthmaActionPlan {
|
|
64
|
+
id: string;
|
|
65
|
+
url: string;
|
|
66
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface AsthmaActionPlanViewProps {
|
|
3
|
+
colorScheme?: 'light' | 'dark' | 'auto';
|
|
4
|
+
previewState?: 'loading' | 'loaded without action plan' | 'loaded with action plan';
|
|
5
|
+
learnMoreUrl: string;
|
|
6
|
+
editActionPlanSurveyName: string;
|
|
7
|
+
}
|
|
8
|
+
export default function (props: AsthmaActionPlanViewProps): React.JSX.Element;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import AsthmaActionPlanView, { AsthmaActionPlanViewProps } from './AsthmaActionPlanView';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof AsthmaActionPlanView;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
export declare const Default: {
|
|
12
|
+
args: {
|
|
13
|
+
colorScheme: string;
|
|
14
|
+
previewState: string;
|
|
15
|
+
};
|
|
16
|
+
argTypes: {
|
|
17
|
+
colorScheme: {
|
|
18
|
+
name: string;
|
|
19
|
+
control: string;
|
|
20
|
+
options: string[];
|
|
21
|
+
};
|
|
22
|
+
previewState: {
|
|
23
|
+
name: string;
|
|
24
|
+
control: string;
|
|
25
|
+
options: string[];
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
render: (args: AsthmaActionPlanViewProps) => React.JSX.Element;
|
|
29
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './AsthmaActionPlanView';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface AsthmaActivityViewProps {
|
|
3
|
+
colorScheme?: 'light' | 'dark' | 'auto';
|
|
4
|
+
previewState?: 'default';
|
|
5
|
+
alert?: 'Steps';
|
|
6
|
+
logEntrySurveyName: string;
|
|
7
|
+
}
|
|
8
|
+
export default function (props: AsthmaActivityViewProps): React.JSX.Element;
|
package/dist/esm/types/components/asthma/views/AsthmaActivityView/AsthmaActivityView.stories.d.ts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import AsthmaActivityView, { AsthmaActivityViewProps } from './AsthmaActivityView';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof AsthmaActivityView;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
interface AsthmaActivityViewStoryArgs extends AsthmaActivityViewProps {
|
|
12
|
+
withAlert: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare const Default: {
|
|
15
|
+
args: {
|
|
16
|
+
colorScheme: string;
|
|
17
|
+
withAlert: boolean;
|
|
18
|
+
};
|
|
19
|
+
argTypes: {
|
|
20
|
+
colorScheme: {
|
|
21
|
+
name: string;
|
|
22
|
+
control: string;
|
|
23
|
+
options: string[];
|
|
24
|
+
};
|
|
25
|
+
withAlert: {
|
|
26
|
+
name: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
render: (args: AsthmaActivityViewStoryArgs) => React.JSX.Element;
|
|
30
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './AsthmaActivityView';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface AsthmaAirQualityViewProps {
|
|
3
|
+
colorScheme?: 'light' | 'dark' | 'auto';
|
|
4
|
+
previewState?: 'default';
|
|
5
|
+
alert?: 'HomeAirQuality' | 'WorkAirQuality';
|
|
6
|
+
logEntrySurveyName: string;
|
|
7
|
+
}
|
|
8
|
+
export default function (props: AsthmaAirQualityViewProps): React.JSX.Element;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import AsthmaAirQualityView, { AsthmaAirQualityViewProps } from './AsthmaAirQualityView';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof AsthmaAirQualityView;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
interface AsthmaAirQualityViewStoryArgs extends AsthmaAirQualityViewProps {
|
|
12
|
+
withAlert: boolean;
|
|
13
|
+
alertType: 'HomeAirQuality' | 'WorkAirQuality';
|
|
14
|
+
}
|
|
15
|
+
export declare const Default: {
|
|
16
|
+
args: {
|
|
17
|
+
colorScheme: string;
|
|
18
|
+
withAlert: boolean;
|
|
19
|
+
alertType: string;
|
|
20
|
+
};
|
|
21
|
+
argTypes: {
|
|
22
|
+
colorScheme: {
|
|
23
|
+
name: string;
|
|
24
|
+
control: string;
|
|
25
|
+
options: string[];
|
|
26
|
+
};
|
|
27
|
+
withAlert: {
|
|
28
|
+
name: string;
|
|
29
|
+
};
|
|
30
|
+
alertType: {
|
|
31
|
+
name: string;
|
|
32
|
+
control: string;
|
|
33
|
+
options: string[];
|
|
34
|
+
if: {
|
|
35
|
+
arg: string;
|
|
36
|
+
eq: boolean;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
render: (args: AsthmaAirQualityViewStoryArgs) => React.JSX.Element;
|
|
41
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './AsthmaAirQualityView';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import AsthmaAlertTakeoverView, { AsthmaAlertTakeoverViewProps } from './AsthmaAlertTakeoverView';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof AsthmaAlertTakeoverView;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
export declare const Default: {
|
|
12
|
+
args: {
|
|
13
|
+
colorScheme: string;
|
|
14
|
+
};
|
|
15
|
+
argTypes: {
|
|
16
|
+
colorScheme: {
|
|
17
|
+
name: string;
|
|
18
|
+
control: string;
|
|
19
|
+
options: string[];
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
render: (args: AsthmaAlertTakeoverViewProps) => React.JSX.Element;
|
|
23
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './AsthmaAlertTakeoverView';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface AsthmaDayViewProps {
|
|
3
|
+
colorScheme?: 'light' | 'dark' | 'auto';
|
|
4
|
+
previewState?: 'default';
|
|
5
|
+
date: Date;
|
|
6
|
+
logTodayEntrySurveyName: string;
|
|
7
|
+
logYesterdayEntrySurveyName: string;
|
|
8
|
+
editLogEntryUrl: string;
|
|
9
|
+
logEntryInfoUrl: string;
|
|
10
|
+
heartAndLungsUrl: string;
|
|
11
|
+
activityUrl: string;
|
|
12
|
+
sleepUrl: string;
|
|
13
|
+
airQualityUrl: string;
|
|
14
|
+
}
|
|
15
|
+
export default function (props: AsthmaDayViewProps): React.JSX.Element;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import AsthmaDayView, { AsthmaDayViewProps } from './AsthmaDayView';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof AsthmaDayView;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
export declare const Default: {
|
|
12
|
+
args: {
|
|
13
|
+
colorScheme: string;
|
|
14
|
+
};
|
|
15
|
+
argTypes: {
|
|
16
|
+
colorScheme: {
|
|
17
|
+
name: string;
|
|
18
|
+
control: string;
|
|
19
|
+
options: string[];
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
render: (args: AsthmaDayViewProps) => React.JSX.Element;
|
|
23
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './AsthmaDayView';
|
package/dist/esm/types/components/asthma/views/AsthmaHeartAndLungsView/AsthmaHeartAndLungsView.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface AsthmaHeartAndLungsViewProps {
|
|
3
|
+
colorScheme?: 'light' | 'dark' | 'auto';
|
|
4
|
+
previewState?: 'default';
|
|
5
|
+
alert?: 'DaytimeRestingHeartRate' | 'NighttimeRestingHeartRate' | 'RespiratoryRate' | 'DaytimeBloodOxygenLevel' | 'NighttimeBloodOxygenLevel';
|
|
6
|
+
logEntrySurveyName: string;
|
|
7
|
+
}
|
|
8
|
+
export default function (props: AsthmaHeartAndLungsViewProps): React.JSX.Element;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import AsthmaHeartAndLungsView, { AsthmaHeartAndLungsViewProps } from './AsthmaHeartAndLungsView';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof AsthmaHeartAndLungsView;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
interface AsthmaHeartAndLungsViewStoryArgs extends AsthmaHeartAndLungsViewProps {
|
|
12
|
+
withAlert: boolean;
|
|
13
|
+
alertType: 'DaytimeRestingHeartRate' | 'NighttimeRestingHeartRate' | 'RespiratoryRate' | 'DaytimeBloodOxygenLevel' | 'NighttimeBloodOxygenLevel';
|
|
14
|
+
}
|
|
15
|
+
export declare const Default: {
|
|
16
|
+
args: {
|
|
17
|
+
colorScheme: string;
|
|
18
|
+
withAlert: boolean;
|
|
19
|
+
alertType: string;
|
|
20
|
+
};
|
|
21
|
+
argTypes: {
|
|
22
|
+
colorScheme: {
|
|
23
|
+
name: string;
|
|
24
|
+
control: string;
|
|
25
|
+
options: string[];
|
|
26
|
+
};
|
|
27
|
+
withAlert: {
|
|
28
|
+
name: string;
|
|
29
|
+
};
|
|
30
|
+
alertType: {
|
|
31
|
+
name: string;
|
|
32
|
+
control: string;
|
|
33
|
+
options: string[];
|
|
34
|
+
if: {
|
|
35
|
+
arg: string;
|
|
36
|
+
eq: boolean;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
render: (args: AsthmaHeartAndLungsViewStoryArgs) => React.JSX.Element;
|
|
41
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './AsthmaHeartAndLungsView';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AsthmaLogEntryEditorViewPreviewState } from './AsthmaLogEntryEditorView.previewData';
|
|
3
|
+
export interface AsthmaLogEntryEditorViewProps {
|
|
4
|
+
colorScheme?: 'light' | 'dark' | 'auto';
|
|
5
|
+
previewState?: 'loading' | AsthmaLogEntryEditorViewPreviewState;
|
|
6
|
+
date: Date;
|
|
7
|
+
}
|
|
8
|
+
export default function (props: AsthmaLogEntryEditorViewProps): React.JSX.Element | null;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AsthmaLogEntry } from '../../model';
|
|
2
|
+
export type AsthmaLogEntryEditorViewPreviewState = 'no symptoms' | 'mild symptoms' | 'moderate symptoms' | 'severe symptoms';
|
|
3
|
+
export interface AsthmaLogEntryEditorViewPreviewData {
|
|
4
|
+
logEntry?: AsthmaLogEntry;
|
|
5
|
+
}
|
|
6
|
+
export declare const previewData: Record<AsthmaLogEntryEditorViewPreviewState, AsthmaLogEntryEditorViewPreviewData>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import AsthmaLogEntryEditorView, { AsthmaLogEntryEditorViewProps } from './AsthmaLogEntryEditorView';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof AsthmaLogEntryEditorView;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
export declare const Default: {
|
|
12
|
+
args: {
|
|
13
|
+
colorScheme: string;
|
|
14
|
+
previewState: string;
|
|
15
|
+
};
|
|
16
|
+
argTypes: {
|
|
17
|
+
colorScheme: {
|
|
18
|
+
name: string;
|
|
19
|
+
control: string;
|
|
20
|
+
options: string[];
|
|
21
|
+
};
|
|
22
|
+
previewState: {
|
|
23
|
+
name: string;
|
|
24
|
+
control: string;
|
|
25
|
+
options: string[];
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
render: (args: AsthmaLogEntryEditorViewProps) => React.JSX.Element;
|
|
29
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface AsthmaSleepViewProps {
|
|
3
|
+
colorScheme?: 'light' | 'dark' | 'auto';
|
|
4
|
+
previewState?: 'default';
|
|
5
|
+
alert?: 'SleepDisturbances';
|
|
6
|
+
logEntrySurveyName: string;
|
|
7
|
+
}
|
|
8
|
+
export default function (props: AsthmaSleepViewProps): React.JSX.Element;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import AsthmaSleepView, { AsthmaSleepViewProps } from './AsthmaSleepView';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof AsthmaSleepView;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
interface AsthmaSleepViewStoryArgs extends AsthmaSleepViewProps {
|
|
12
|
+
withAlert: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare const Default: {
|
|
15
|
+
args: {
|
|
16
|
+
colorScheme: string;
|
|
17
|
+
withAlert: boolean;
|
|
18
|
+
};
|
|
19
|
+
argTypes: {
|
|
20
|
+
colorScheme: {
|
|
21
|
+
name: string;
|
|
22
|
+
control: string;
|
|
23
|
+
options: string[];
|
|
24
|
+
};
|
|
25
|
+
withAlert: {
|
|
26
|
+
name: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
render: (args: AsthmaSleepViewStoryArgs) => React.JSX.Element;
|
|
30
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './AsthmaSleepView';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { default as AsthmaActionPlanView } from './AsthmaActionPlanView';
|
|
2
|
+
export { default as AsthmaActivityView } from './AsthmaActivityView';
|
|
3
|
+
export { default as AsthmaAirQualityView } from './AsthmaAirQualityView';
|
|
4
|
+
export { default as AsthmaAlertTakeoverView } from './AsthmaAlertTakeoverView';
|
|
5
|
+
export { default as AsthmaDayView } from './AsthmaDayView';
|
|
6
|
+
export { default as AsthmaHeartAndLungsView } from './AsthmaHeartAndLungsView';
|
|
7
|
+
export { default as AsthmaLogEntryEditorView, AsthmaLogEntryEditorViewPreviewState } from './AsthmaLogEntryEditorView';
|
|
8
|
+
export { default as AsthmaSleepView } from './AsthmaSleepView';
|
package/dist/esm/types/components/container/RecentDailyDataBarChart/RecentDailyDataBarChart.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DailyDataQueryResult } from '../../../helpers/query-daily-data';
|
|
3
|
+
import { AxisDomain } from 'recharts/types/util/types';
|
|
4
|
+
import './RecentDailyDataBarChart.css';
|
|
5
|
+
export interface RecentDailyDataBarChartProps {
|
|
6
|
+
previewState?: 'loading' | 'loaded without data' | 'loaded with data';
|
|
7
|
+
previewDataProvider?: (start: Date, end: Date) => Promise<DailyDataQueryResult>;
|
|
8
|
+
title: string;
|
|
9
|
+
dailyDataType: string;
|
|
10
|
+
domain?: AxisDomain;
|
|
11
|
+
emptyDomain?: AxisDomain;
|
|
12
|
+
valueConverter?: (rawValue: number) => number;
|
|
13
|
+
valueFormatter?: (value: number) => string;
|
|
14
|
+
highlight?: (rawValue: number) => boolean;
|
|
15
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
16
|
+
}
|
|
17
|
+
export default function (props: RecentDailyDataBarChartProps): React.JSX.Element;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import RecentDailyDataBarChart, { RecentDailyDataBarChartProps } from './RecentDailyDataBarChart';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof RecentDailyDataBarChart;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
interface RecentDailyDataBarChartStoryArgs extends RecentDailyDataBarChartProps {
|
|
12
|
+
colorScheme: 'auto' | 'light' | 'dark';
|
|
13
|
+
thresholdValue: number;
|
|
14
|
+
thresholdComparison: 'less than' | 'more than';
|
|
15
|
+
withEmptyDomain: boolean;
|
|
16
|
+
}
|
|
17
|
+
export declare const Default: {
|
|
18
|
+
args: {
|
|
19
|
+
colorScheme: string;
|
|
20
|
+
previewState: string;
|
|
21
|
+
title: string;
|
|
22
|
+
thresholdValue: number;
|
|
23
|
+
thresholdComparison: string;
|
|
24
|
+
withEmptyDomain: boolean;
|
|
25
|
+
};
|
|
26
|
+
argTypes: {
|
|
27
|
+
colorScheme: {
|
|
28
|
+
name: string;
|
|
29
|
+
control: string;
|
|
30
|
+
options: string[];
|
|
31
|
+
};
|
|
32
|
+
previewState: {
|
|
33
|
+
name: string;
|
|
34
|
+
control: string;
|
|
35
|
+
options: string[];
|
|
36
|
+
};
|
|
37
|
+
thresholdValue: {
|
|
38
|
+
name: string;
|
|
39
|
+
if: {
|
|
40
|
+
arg: string;
|
|
41
|
+
eq: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
thresholdComparison: {
|
|
45
|
+
name: string;
|
|
46
|
+
control: string;
|
|
47
|
+
options: string[];
|
|
48
|
+
if: {
|
|
49
|
+
arg: string;
|
|
50
|
+
eq: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
withEmptyDomain: {
|
|
54
|
+
name: string;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
render: (args: RecentDailyDataBarChartStoryArgs) => React.JSX.Element;
|
|
58
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './RecentDailyDataBarChart';
|
|
@@ -25,6 +25,7 @@ export { default as PlatformSpecificContent } from "./PlatformSpecificContent";
|
|
|
25
25
|
export { default as ProjectHeader } from "./ProjectHeader";
|
|
26
26
|
export { default as ProjectSupport } from "./ProjectSupport";
|
|
27
27
|
export { default as ProviderSearch } from "./ProviderSearch";
|
|
28
|
+
export { default as RecentDailyDataBarChart } from "./RecentDailyDataBarChart";
|
|
28
29
|
export { default as RelativeActivityToday } from "./RelativeActivityToday";
|
|
29
30
|
export { default as RestingHeartRateCalendar } from "./RestingHeartRateCalendar";
|
|
30
31
|
export { default as SurveyTaskList } from "./SurveyTaskList";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default, DateRangeContext } from
|
|
1
|
+
export { default, DateRangeContext } from './DateRangeCoordinator';
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export { default } from
|
|
2
|
-
export { LayoutContext } from "./Layout";
|
|
1
|
+
export { default, LayoutContext } from './Layout';
|
|
@@ -17,5 +17,6 @@ export interface NavigationBarProps {
|
|
|
17
17
|
buttonColor?: ColorDefinition;
|
|
18
18
|
navigationBarLeft?: React.ReactNode;
|
|
19
19
|
navigationBarRight?: React.ReactNode;
|
|
20
|
+
backgroundColor?: ColorDefinition;
|
|
20
21
|
}
|
|
21
22
|
export default function (props: NavigationBarProps): React.JSX.Element;
|
|
@@ -14,6 +14,7 @@ export declare const Default: {
|
|
|
14
14
|
subTitle: string;
|
|
15
15
|
imageUrl: any;
|
|
16
16
|
imageAlignment: string;
|
|
17
|
+
hideButton: boolean;
|
|
17
18
|
buttonText: string;
|
|
18
19
|
};
|
|
19
20
|
argTypes: {
|
|
@@ -28,8 +29,15 @@ export declare const Default: {
|
|
|
28
29
|
control: string;
|
|
29
30
|
options: string[];
|
|
30
31
|
};
|
|
32
|
+
hideButton: {
|
|
33
|
+
name: string;
|
|
34
|
+
};
|
|
31
35
|
buttonText: {
|
|
32
36
|
name: string;
|
|
37
|
+
if: {
|
|
38
|
+
arg: string;
|
|
39
|
+
eq: boolean;
|
|
40
|
+
};
|
|
33
41
|
};
|
|
34
42
|
};
|
|
35
43
|
render: (args: ResourceProps) => React.JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './ResourceList.css';
|
|
3
|
+
import { ResourceImageAlignment } from '../../presentational';
|
|
4
|
+
import { ResourceListPreviewState } from './ResourceList.previewData';
|
|
5
|
+
export interface ResourceDefinition {
|
|
6
|
+
title: string;
|
|
7
|
+
subTitle?: string;
|
|
8
|
+
url: string;
|
|
9
|
+
imageUrl?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface ResourceListProps {
|
|
12
|
+
previewState?: ResourceListPreviewState;
|
|
13
|
+
resources: ResourceDefinition[];
|
|
14
|
+
onViewResource: (resource: ResourceDefinition) => void;
|
|
15
|
+
emptyText?: string;
|
|
16
|
+
imageAlignment?: ResourceImageAlignment;
|
|
17
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
18
|
+
}
|
|
19
|
+
export default function (props: ResourceListProps): React.JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ResourceDefinition } from './ResourceList';
|
|
2
|
+
export type ResourceListPreviewState = 'no resources' | 'some resources';
|
|
3
|
+
export interface ResourceListPreviewData {
|
|
4
|
+
resources: ResourceDefinition[];
|
|
5
|
+
}
|
|
6
|
+
export declare const previewData: Record<ResourceListPreviewState, ResourceListPreviewData>;
|