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