@careevolution/mydatahelps-ui 2.10.0 → 2.10.1-InboxAndAsthmaUI.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +140 -16
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.d.ts +10 -0
- package/dist/cjs/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.previewData.d.ts +7 -0
- package/dist/cjs/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.stories.d.ts +28 -0
- package/dist/cjs/types/components/asthma/components/AsthmaAirQualities/index.d.ts +2 -0
- package/dist/cjs/types/components/asthma/components/AsthmaAlertTakeoverNotice/AsthmaAlertTakeoverNotice.d.ts +9 -0
- package/dist/cjs/types/components/asthma/components/AsthmaAlertTakeoverNotice/AsthmaAlertTakeoverNotice.stories.d.ts +27 -0
- package/dist/cjs/types/components/asthma/components/AsthmaAlertTakeoverNotice/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/components/AsthmaAlertTakeoverTrigger/AsthmaAlertTakeoverTrigger.d.ts +11 -0
- package/dist/cjs/types/components/asthma/components/AsthmaAlertTakeoverTrigger/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.d.ts +12 -0
- package/dist/cjs/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.previewData.d.ts +12 -0
- package/dist/cjs/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.stories.d.ts +28 -0
- package/dist/cjs/types/components/asthma/components/AsthmaBiometrics/index.d.ts +2 -0
- package/dist/cjs/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.d.ts +12 -0
- package/dist/cjs/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.previewData.d.ts +6 -0
- package/dist/cjs/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.stories.d.ts +29 -0
- package/dist/cjs/types/components/asthma/components/AsthmaControlCalendar/index.d.ts +2 -0
- package/dist/cjs/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.d.ts +10 -0
- package/dist/cjs/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.previewData.d.ts +8 -0
- package/dist/cjs/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.stories.d.ts +138 -0
- package/dist/cjs/types/components/asthma/components/AsthmaControlStatusHeader/index.d.ts +2 -0
- package/dist/cjs/types/components/asthma/components/AsthmaDataSummary/AsthmaDataSummary.d.ts +13 -0
- package/dist/cjs/types/components/asthma/components/AsthmaDataSummary/AsthmaDataSummary.stories.d.ts +70 -0
- package/dist/cjs/types/components/asthma/components/AsthmaDataSummary/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/components/AsthmaFacts/AsthmaFacts.d.ts +5 -0
- package/dist/cjs/types/components/asthma/components/AsthmaFacts/AsthmaFacts.stories.d.ts +19 -0
- package/dist/cjs/types/components/asthma/components/AsthmaFacts/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.d.ts +12 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.previewData.d.ts +6 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.stories.d.ts +59 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntryDetails/index.d.ts +2 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.d.ts +11 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.previewData.d.ts +7 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.stories.d.ts +34 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntryHeader/index.d.ts +2 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntrySummary/AsthmaLogEntrySummary.d.ts +11 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntrySummary/AsthmaLogEntrySummary.stories.d.ts +60 -0
- package/dist/cjs/types/components/asthma/components/AsthmaLogEntrySummary/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/components/AsthmaPostEnrollmentSurveyTrigger/AsthmaPostEnrollmentSurveyTrigger.d.ts +8 -0
- package/dist/cjs/types/components/asthma/components/AsthmaPostEnrollmentSurveyTrigger/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/components/index.d.ts +12 -0
- package/dist/cjs/types/components/asthma/helpers/asthma-data.d.ts +15 -0
- package/dist/cjs/types/components/asthma/helpers/asthma-functions.d.ts +6 -0
- package/dist/cjs/types/components/asthma/helpers/daily-data-providers/air-quality-home.d.ts +2 -0
- package/dist/cjs/types/components/asthma/helpers/daily-data-providers/air-quality-work.d.ts +2 -0
- package/dist/cjs/types/components/asthma/helpers/daily-data-providers/blood-oxygen-level-daytime.d.ts +2 -0
- package/dist/cjs/types/components/asthma/helpers/daily-data-providers/blood-oxygen-level-nighttime.d.ts +2 -0
- package/dist/cjs/types/components/asthma/helpers/daily-data-providers/index.d.ts +10 -0
- package/dist/cjs/types/components/asthma/helpers/daily-data-providers/respiratory-rate.d.ts +2 -0
- package/dist/cjs/types/components/asthma/helpers/daily-data-providers/resting-heart-rate-daytime.d.ts +2 -0
- package/dist/cjs/types/components/asthma/helpers/daily-data-providers/resting-heart-rate-nighttime.d.ts +2 -0
- package/dist/cjs/types/components/asthma/helpers/daily-data-providers/shared.d.ts +6 -0
- package/dist/cjs/types/components/asthma/helpers/daily-data-providers/sleep.d.ts +2 -0
- package/dist/cjs/types/components/asthma/helpers/daily-data-providers/steps.d.ts +2 -0
- package/dist/cjs/types/components/asthma/helpers/index.d.ts +2 -0
- package/dist/cjs/types/components/asthma/index.d.ts +4 -0
- package/dist/cjs/types/components/asthma/model/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/model/types.d.ts +49 -0
- package/dist/cjs/types/components/asthma/views/AsthmaActivityView/AsthmaActivityView.d.ts +8 -0
- package/dist/cjs/types/components/asthma/views/AsthmaActivityView/AsthmaActivityView.stories.d.ts +25 -0
- package/dist/cjs/types/components/asthma/views/AsthmaActivityView/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/views/AsthmaAirQualityView/AsthmaAirQualityView.d.ts +8 -0
- package/dist/cjs/types/components/asthma/views/AsthmaAirQualityView/AsthmaAirQualityView.stories.d.ts +25 -0
- package/dist/cjs/types/components/asthma/views/AsthmaAirQualityView/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/views/AsthmaAlertTakeoverView/AsthmaAlertTakeoverView.d.ts +7 -0
- package/dist/cjs/types/components/asthma/views/AsthmaAlertTakeoverView/AsthmaAlertTakeoverView.stories.d.ts +13 -0
- package/dist/cjs/types/components/asthma/views/AsthmaAlertTakeoverView/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/views/AsthmaDayView/AsthmaDayView.d.ts +20 -0
- package/dist/cjs/types/components/asthma/views/AsthmaDayView/AsthmaDayView.stories.d.ts +21 -0
- package/dist/cjs/types/components/asthma/views/AsthmaDayView/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/views/AsthmaHeartAndLungsView/AsthmaHeartAndLungsView.d.ts +8 -0
- package/dist/cjs/types/components/asthma/views/AsthmaHeartAndLungsView/AsthmaHeartAndLungsView.stories.d.ts +25 -0
- package/dist/cjs/types/components/asthma/views/AsthmaHeartAndLungsView/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.d.ts +8 -0
- package/dist/cjs/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.previewData.d.ts +6 -0
- package/dist/cjs/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.stories.d.ts +38 -0
- package/dist/cjs/types/components/asthma/views/AsthmaLogEntryEditorView/index.d.ts +2 -0
- package/dist/cjs/types/components/asthma/views/AsthmaSleepView/AsthmaSleepView.d.ts +8 -0
- package/dist/cjs/types/components/asthma/views/AsthmaSleepView/AsthmaSleepView.stories.d.ts +25 -0
- package/dist/cjs/types/components/asthma/views/AsthmaSleepView/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/views/index.d.ts +7 -0
- package/dist/cjs/types/components/container/BloodPressureVisualization/BloodPressureVisualization.d.ts +11 -0
- package/dist/cjs/types/components/container/BloodPressureVisualization/BloodPressureVisualization.previewdata.d.ts +2 -0
- package/dist/cjs/types/components/container/BloodPressureVisualization/BloodPressureVisualization.stories.d.ts +43 -0
- package/dist/cjs/types/components/container/BloodPressureVisualization/index.d.ts +1 -0
- package/dist/cjs/types/components/container/DailyDataChart/DailyDataChart.d.ts +3 -0
- package/dist/cjs/types/components/container/InboxItemList/InboxItemList.d.ts +27 -0
- package/dist/cjs/types/components/container/InboxItemList/InboxItemList.previewData.d.ts +6 -0
- package/dist/cjs/types/components/container/InboxItemList/InboxItemList.stories.d.ts +66 -0
- package/dist/cjs/types/components/container/InboxItemList/index.d.ts +1 -0
- package/dist/cjs/types/components/container/InboxItemListCoordinator/InboxItemListCoordinator.d.ts +12 -0
- package/dist/cjs/types/components/container/InboxItemListCoordinator/index.d.ts +1 -0
- package/dist/cjs/types/components/container/SeverityCalendar/SeverityCalendar.d.ts +11 -0
- package/dist/cjs/types/components/container/SeverityCalendar/SeverityCalendar.previewdata.d.ts +2 -0
- package/dist/cjs/types/components/container/SeverityCalendar/SeverityCalendar.stories.d.ts +52 -0
- package/dist/cjs/types/components/container/SeverityCalendar/index.d.ts +1 -0
- package/dist/cjs/types/components/container/index.d.ts +4 -0
- package/dist/cjs/types/components/index.d.ts +3 -2
- package/dist/cjs/types/components/presentational/DateRangeCoordinator/index.d.ts +1 -1
- package/dist/cjs/types/components/presentational/DumbbellChart/Dumbbell.d.ts +9 -0
- package/dist/cjs/types/components/presentational/DumbbellChart/DumbbellChart.d.ts +28 -0
- package/dist/cjs/types/components/presentational/DumbbellChart/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/InboxCompletedListItem/InboxCompletedListItem.d.ts +10 -0
- package/dist/cjs/types/components/presentational/InboxCompletedListItem/InboxCompletedListItem.stories.d.ts +23 -0
- package/dist/cjs/types/components/presentational/InboxCompletedListItem/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/InboxMessageListItem/InboxMessageListItem.d.ts +10 -0
- package/dist/cjs/types/components/presentational/InboxMessageListItem/InboxMessageListItem.stories.d.ts +24 -0
- package/dist/cjs/types/components/presentational/InboxMessageListItem/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/InboxResourceDisplay/InboxResourceDisplay.d.ts +12 -0
- package/dist/cjs/types/components/presentational/InboxResourceDisplay/InboxResourceDisplay.stories.d.ts +44 -0
- package/dist/cjs/types/components/presentational/InboxResourceDisplay/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/InboxResourceListItem/InboxResourceListItem.d.ts +12 -0
- package/dist/cjs/types/components/presentational/InboxResourceListItem/InboxResourceListItem.stories.d.ts +67 -0
- package/dist/cjs/types/components/presentational/InboxResourceListItem/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/InboxSurveyListItem/InboxSurveyListItem.d.ts +13 -0
- package/dist/cjs/types/components/presentational/InboxSurveyListItem/InboxSurveyListItem.stories.d.ts +72 -0
- package/dist/cjs/types/components/presentational/InboxSurveyListItem/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/Layout/index.d.ts +1 -2
- package/dist/cjs/types/components/presentational/NavigationBar/NavigationBar.d.ts +1 -0
- package/dist/cjs/types/components/presentational/RotatingText/RotatingText.d.ts +15 -0
- package/dist/cjs/types/components/presentational/RotatingText/RotatingText.stories.d.ts +149 -0
- package/dist/cjs/types/components/presentational/RotatingText/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/SingleSurveyTask/SingleSurveyTask.d.ts +6 -4
- package/dist/cjs/types/components/presentational/SingleSurveyTask/SingleSurveyTask.stories.d.ts +59 -123
- package/dist/cjs/types/components/presentational/index.d.ts +7 -0
- package/dist/cjs/types/components/view/InboxHistoryView/InboxHistoryView.d.ts +8 -0
- package/dist/cjs/types/components/view/InboxHistoryView/InboxHistoryView.stories.d.ts +13 -0
- package/dist/cjs/types/components/view/InboxHistoryView/index.d.ts +1 -0
- package/dist/cjs/types/components/view/InboxMessageView/InboxMessageView.d.ts +11 -0
- package/dist/cjs/types/components/view/InboxMessageView/InboxMessageView.stories.d.ts +48 -0
- package/dist/cjs/types/components/view/InboxMessageView/index.d.ts +1 -0
- package/dist/cjs/types/components/view/InboxView/InboxView.d.ts +12 -0
- package/dist/cjs/types/components/view/InboxView/InboxView.stories.d.ts +27 -0
- package/dist/cjs/types/components/view/InboxView/index.d.ts +1 -0
- package/dist/cjs/types/components/view/index.d.ts +3 -0
- package/dist/cjs/types/helpers/Inbox/inbox-data.d.ts +8 -0
- package/dist/cjs/types/helpers/blood-pressure-data-providers/index.d.ts +3 -0
- package/dist/cjs/types/helpers/blood-pressure-data-providers/survey-blood-pressure-data-provider.d.ts +12 -0
- package/dist/cjs/types/helpers/date-helpers.d.ts +1 -0
- package/dist/cjs/types/helpers/functions.d.ts +1 -0
- package/dist/cjs/types/helpers/query-all-survey-answers.d.ts +2 -0
- package/dist/cjs/types/helpers/query-daily-data.d.ts +2 -0
- package/dist/cjs/types/index.d.ts +3 -0
- package/dist/esm/index.js +140 -16
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.d.ts +10 -0
- package/dist/esm/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.previewData.d.ts +7 -0
- package/dist/esm/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.stories.d.ts +28 -0
- package/dist/esm/types/components/asthma/components/AsthmaAirQualities/index.d.ts +2 -0
- package/dist/esm/types/components/asthma/components/AsthmaAlertTakeoverNotice/AsthmaAlertTakeoverNotice.d.ts +9 -0
- package/dist/esm/types/components/asthma/components/AsthmaAlertTakeoverNotice/AsthmaAlertTakeoverNotice.stories.d.ts +27 -0
- package/dist/esm/types/components/asthma/components/AsthmaAlertTakeoverNotice/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/components/AsthmaAlertTakeoverTrigger/AsthmaAlertTakeoverTrigger.d.ts +11 -0
- package/dist/esm/types/components/asthma/components/AsthmaAlertTakeoverTrigger/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.d.ts +12 -0
- package/dist/esm/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.previewData.d.ts +12 -0
- package/dist/esm/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.stories.d.ts +28 -0
- package/dist/esm/types/components/asthma/components/AsthmaBiometrics/index.d.ts +2 -0
- package/dist/esm/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.d.ts +12 -0
- package/dist/esm/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.previewData.d.ts +6 -0
- package/dist/esm/types/components/asthma/components/AsthmaControlCalendar/AsthmaControlCalendar.stories.d.ts +29 -0
- package/dist/esm/types/components/asthma/components/AsthmaControlCalendar/index.d.ts +2 -0
- package/dist/esm/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.d.ts +10 -0
- package/dist/esm/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.previewData.d.ts +8 -0
- package/dist/esm/types/components/asthma/components/AsthmaControlStatusHeader/AsthmaControlStatusHeader.stories.d.ts +138 -0
- package/dist/esm/types/components/asthma/components/AsthmaControlStatusHeader/index.d.ts +2 -0
- package/dist/esm/types/components/asthma/components/AsthmaDataSummary/AsthmaDataSummary.d.ts +13 -0
- package/dist/esm/types/components/asthma/components/AsthmaDataSummary/AsthmaDataSummary.stories.d.ts +70 -0
- package/dist/esm/types/components/asthma/components/AsthmaDataSummary/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/components/AsthmaFacts/AsthmaFacts.d.ts +5 -0
- package/dist/esm/types/components/asthma/components/AsthmaFacts/AsthmaFacts.stories.d.ts +19 -0
- package/dist/esm/types/components/asthma/components/AsthmaFacts/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.d.ts +12 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.previewData.d.ts +6 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntryDetails/AsthmaLogEntryDetails.stories.d.ts +59 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntryDetails/index.d.ts +2 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.d.ts +11 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.previewData.d.ts +7 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntryHeader/AsthmaLogEntryHeader.stories.d.ts +34 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntryHeader/index.d.ts +2 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntrySummary/AsthmaLogEntrySummary.d.ts +11 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntrySummary/AsthmaLogEntrySummary.stories.d.ts +60 -0
- package/dist/esm/types/components/asthma/components/AsthmaLogEntrySummary/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/components/AsthmaPostEnrollmentSurveyTrigger/AsthmaPostEnrollmentSurveyTrigger.d.ts +8 -0
- package/dist/esm/types/components/asthma/components/AsthmaPostEnrollmentSurveyTrigger/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/components/index.d.ts +12 -0
- package/dist/esm/types/components/asthma/helpers/asthma-data.d.ts +15 -0
- package/dist/esm/types/components/asthma/helpers/asthma-functions.d.ts +6 -0
- package/dist/esm/types/components/asthma/helpers/daily-data-providers/air-quality-home.d.ts +2 -0
- package/dist/esm/types/components/asthma/helpers/daily-data-providers/air-quality-work.d.ts +2 -0
- package/dist/esm/types/components/asthma/helpers/daily-data-providers/blood-oxygen-level-daytime.d.ts +2 -0
- package/dist/esm/types/components/asthma/helpers/daily-data-providers/blood-oxygen-level-nighttime.d.ts +2 -0
- package/dist/esm/types/components/asthma/helpers/daily-data-providers/index.d.ts +10 -0
- package/dist/esm/types/components/asthma/helpers/daily-data-providers/respiratory-rate.d.ts +2 -0
- package/dist/esm/types/components/asthma/helpers/daily-data-providers/resting-heart-rate-daytime.d.ts +2 -0
- package/dist/esm/types/components/asthma/helpers/daily-data-providers/resting-heart-rate-nighttime.d.ts +2 -0
- package/dist/esm/types/components/asthma/helpers/daily-data-providers/shared.d.ts +6 -0
- package/dist/esm/types/components/asthma/helpers/daily-data-providers/sleep.d.ts +2 -0
- package/dist/esm/types/components/asthma/helpers/daily-data-providers/steps.d.ts +2 -0
- package/dist/esm/types/components/asthma/helpers/index.d.ts +2 -0
- package/dist/esm/types/components/asthma/index.d.ts +4 -0
- package/dist/esm/types/components/asthma/model/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/model/types.d.ts +49 -0
- package/dist/esm/types/components/asthma/views/AsthmaActivityView/AsthmaActivityView.d.ts +8 -0
- package/dist/esm/types/components/asthma/views/AsthmaActivityView/AsthmaActivityView.stories.d.ts +25 -0
- package/dist/esm/types/components/asthma/views/AsthmaActivityView/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/views/AsthmaAirQualityView/AsthmaAirQualityView.d.ts +8 -0
- package/dist/esm/types/components/asthma/views/AsthmaAirQualityView/AsthmaAirQualityView.stories.d.ts +25 -0
- package/dist/esm/types/components/asthma/views/AsthmaAirQualityView/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/views/AsthmaAlertTakeoverView/AsthmaAlertTakeoverView.d.ts +7 -0
- package/dist/esm/types/components/asthma/views/AsthmaAlertTakeoverView/AsthmaAlertTakeoverView.stories.d.ts +13 -0
- package/dist/esm/types/components/asthma/views/AsthmaAlertTakeoverView/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/views/AsthmaDayView/AsthmaDayView.d.ts +20 -0
- package/dist/esm/types/components/asthma/views/AsthmaDayView/AsthmaDayView.stories.d.ts +21 -0
- package/dist/esm/types/components/asthma/views/AsthmaDayView/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/views/AsthmaHeartAndLungsView/AsthmaHeartAndLungsView.d.ts +8 -0
- package/dist/esm/types/components/asthma/views/AsthmaHeartAndLungsView/AsthmaHeartAndLungsView.stories.d.ts +25 -0
- package/dist/esm/types/components/asthma/views/AsthmaHeartAndLungsView/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.d.ts +8 -0
- package/dist/esm/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.previewData.d.ts +6 -0
- package/dist/esm/types/components/asthma/views/AsthmaLogEntryEditorView/AsthmaLogEntryEditorView.stories.d.ts +38 -0
- package/dist/esm/types/components/asthma/views/AsthmaLogEntryEditorView/index.d.ts +2 -0
- package/dist/esm/types/components/asthma/views/AsthmaSleepView/AsthmaSleepView.d.ts +8 -0
- package/dist/esm/types/components/asthma/views/AsthmaSleepView/AsthmaSleepView.stories.d.ts +25 -0
- package/dist/esm/types/components/asthma/views/AsthmaSleepView/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/views/index.d.ts +7 -0
- package/dist/esm/types/components/container/BloodPressureVisualization/BloodPressureVisualization.d.ts +11 -0
- package/dist/esm/types/components/container/BloodPressureVisualization/BloodPressureVisualization.previewdata.d.ts +2 -0
- package/dist/esm/types/components/container/BloodPressureVisualization/BloodPressureVisualization.stories.d.ts +43 -0
- package/dist/esm/types/components/container/BloodPressureVisualization/index.d.ts +1 -0
- package/dist/esm/types/components/container/DailyDataChart/DailyDataChart.d.ts +3 -0
- package/dist/esm/types/components/container/InboxItemList/InboxItemList.d.ts +27 -0
- package/dist/esm/types/components/container/InboxItemList/InboxItemList.previewData.d.ts +6 -0
- package/dist/esm/types/components/container/InboxItemList/InboxItemList.stories.d.ts +66 -0
- package/dist/esm/types/components/container/InboxItemList/index.d.ts +1 -0
- package/dist/esm/types/components/container/InboxItemListCoordinator/InboxItemListCoordinator.d.ts +12 -0
- package/dist/esm/types/components/container/InboxItemListCoordinator/index.d.ts +1 -0
- package/dist/esm/types/components/container/SeverityCalendar/SeverityCalendar.d.ts +11 -0
- package/dist/esm/types/components/container/SeverityCalendar/SeverityCalendar.previewdata.d.ts +2 -0
- package/dist/esm/types/components/container/SeverityCalendar/SeverityCalendar.stories.d.ts +52 -0
- package/dist/esm/types/components/container/SeverityCalendar/index.d.ts +1 -0
- package/dist/esm/types/components/container/index.d.ts +4 -0
- package/dist/esm/types/components/index.d.ts +3 -2
- package/dist/esm/types/components/presentational/DateRangeCoordinator/index.d.ts +1 -1
- package/dist/esm/types/components/presentational/DumbbellChart/Dumbbell.d.ts +9 -0
- package/dist/esm/types/components/presentational/DumbbellChart/DumbbellChart.d.ts +28 -0
- package/dist/esm/types/components/presentational/DumbbellChart/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/InboxCompletedListItem/InboxCompletedListItem.d.ts +10 -0
- package/dist/esm/types/components/presentational/InboxCompletedListItem/InboxCompletedListItem.stories.d.ts +23 -0
- package/dist/esm/types/components/presentational/InboxCompletedListItem/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/InboxMessageListItem/InboxMessageListItem.d.ts +10 -0
- package/dist/esm/types/components/presentational/InboxMessageListItem/InboxMessageListItem.stories.d.ts +24 -0
- package/dist/esm/types/components/presentational/InboxMessageListItem/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/InboxResourceDisplay/InboxResourceDisplay.d.ts +12 -0
- package/dist/esm/types/components/presentational/InboxResourceDisplay/InboxResourceDisplay.stories.d.ts +44 -0
- package/dist/esm/types/components/presentational/InboxResourceDisplay/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/InboxResourceListItem/InboxResourceListItem.d.ts +12 -0
- package/dist/esm/types/components/presentational/InboxResourceListItem/InboxResourceListItem.stories.d.ts +67 -0
- package/dist/esm/types/components/presentational/InboxResourceListItem/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/InboxSurveyListItem/InboxSurveyListItem.d.ts +13 -0
- package/dist/esm/types/components/presentational/InboxSurveyListItem/InboxSurveyListItem.stories.d.ts +72 -0
- package/dist/esm/types/components/presentational/InboxSurveyListItem/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/Layout/index.d.ts +1 -2
- package/dist/esm/types/components/presentational/NavigationBar/NavigationBar.d.ts +1 -0
- package/dist/esm/types/components/presentational/RotatingText/RotatingText.d.ts +15 -0
- package/dist/esm/types/components/presentational/RotatingText/RotatingText.stories.d.ts +149 -0
- package/dist/esm/types/components/presentational/RotatingText/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/SingleSurveyTask/SingleSurveyTask.d.ts +6 -4
- package/dist/esm/types/components/presentational/SingleSurveyTask/SingleSurveyTask.stories.d.ts +59 -123
- package/dist/esm/types/components/presentational/index.d.ts +7 -0
- package/dist/esm/types/components/view/InboxHistoryView/InboxHistoryView.d.ts +8 -0
- package/dist/esm/types/components/view/InboxHistoryView/InboxHistoryView.stories.d.ts +13 -0
- package/dist/esm/types/components/view/InboxHistoryView/index.d.ts +1 -0
- package/dist/esm/types/components/view/InboxMessageView/InboxMessageView.d.ts +11 -0
- package/dist/esm/types/components/view/InboxMessageView/InboxMessageView.stories.d.ts +48 -0
- package/dist/esm/types/components/view/InboxMessageView/index.d.ts +1 -0
- package/dist/esm/types/components/view/InboxView/InboxView.d.ts +12 -0
- package/dist/esm/types/components/view/InboxView/InboxView.stories.d.ts +27 -0
- package/dist/esm/types/components/view/InboxView/index.d.ts +1 -0
- package/dist/esm/types/components/view/index.d.ts +3 -0
- package/dist/esm/types/helpers/Inbox/inbox-data.d.ts +8 -0
- package/dist/esm/types/helpers/blood-pressure-data-providers/index.d.ts +3 -0
- package/dist/esm/types/helpers/blood-pressure-data-providers/survey-blood-pressure-data-provider.d.ts +12 -0
- package/dist/esm/types/helpers/date-helpers.d.ts +1 -0
- package/dist/esm/types/helpers/functions.d.ts +1 -0
- package/dist/esm/types/helpers/query-all-survey-answers.d.ts +2 -0
- package/dist/esm/types/helpers/query-daily-data.d.ts +2 -0
- package/dist/esm/types/index.d.ts +3 -0
- package/dist/index.d.ts +963 -528
- package/package.json +2 -2
|
@@ -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";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default, DateRangeContext } 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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./DumbbellChart";
|
package/dist/esm/types/components/presentational/InboxCompletedListItem/InboxCompletedListItem.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './InboxCompletedListItem.css';
|
|
3
|
+
import '@fortawesome/fontawesome-svg-core/styles.css';
|
|
4
|
+
export interface InboxCompletedListItemProps {
|
|
5
|
+
name: string;
|
|
6
|
+
status: string;
|
|
7
|
+
onClick?: () => void;
|
|
8
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
9
|
+
}
|
|
10
|
+
export default function (props: InboxCompletedListItemProps): React.JSX.Element;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import InboxCompletedListItem from './InboxCompletedListItem';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof InboxCompletedListItem;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
interface InboxCompletedListItemStoryArgs {
|
|
12
|
+
name: string;
|
|
13
|
+
status: string;
|
|
14
|
+
clickable: boolean;
|
|
15
|
+
}
|
|
16
|
+
export declare const Default: {
|
|
17
|
+
args: {
|
|
18
|
+
name: string;
|
|
19
|
+
status: string;
|
|
20
|
+
clickable: boolean;
|
|
21
|
+
};
|
|
22
|
+
render: (args: InboxCompletedListItemStoryArgs) => React.JSX.Element;
|
|
23
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './InboxCompletedListItem';
|
package/dist/esm/types/components/presentational/InboxMessageListItem/InboxMessageListItem.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './InboxMessageListItem.css';
|
|
3
|
+
import { InboxMessage } from '@careevolution/mydatahelps-js';
|
|
4
|
+
import '@fortawesome/fontawesome-svg-core/styles.css';
|
|
5
|
+
export interface InboxMessageListItemProps {
|
|
6
|
+
message: InboxMessage;
|
|
7
|
+
onClick: () => void;
|
|
8
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
9
|
+
}
|
|
10
|
+
export default function (props: InboxMessageListItemProps): React.JSX.Element | null;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import InboxMessageListItem from './InboxMessageListItem';
|
|
3
|
+
import { InboxMessage } from '@careevolution/mydatahelps-js';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: typeof InboxMessageListItem;
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
12
|
+
export declare const Default: {
|
|
13
|
+
args: {
|
|
14
|
+
status: string;
|
|
15
|
+
title: string;
|
|
16
|
+
};
|
|
17
|
+
argTypes: {
|
|
18
|
+
status: {
|
|
19
|
+
control: string;
|
|
20
|
+
options: string[];
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
render: (message: InboxMessage) => React.JSX.Element;
|
|
24
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './InboxMessageListItem';
|
package/dist/esm/types/components/presentational/InboxResourceDisplay/InboxResourceDisplay.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './InboxResourceDisplay.css';
|
|
3
|
+
import { InboxMessageResource, InboxResource } from '@careevolution/mydatahelps-js';
|
|
4
|
+
import '@fortawesome/fontawesome-svg-core/styles.css';
|
|
5
|
+
export interface InboxResourceDisplayProps {
|
|
6
|
+
resource: InboxResource | InboxMessageResource;
|
|
7
|
+
onClick: () => void;
|
|
8
|
+
imageAlignment?: 'left' | 'center' | 'right';
|
|
9
|
+
buttonText?: string;
|
|
10
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
11
|
+
}
|
|
12
|
+
export default function (props: InboxResourceDisplayProps): React.JSX.Element;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import InboxResourceDisplay from './InboxResourceDisplay';
|
|
3
|
+
import { InboxResourceImageAlignment } from '../InboxResourceListItem';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: typeof InboxResourceDisplay;
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
12
|
+
interface InboxResourceDisplayStoryArgs {
|
|
13
|
+
title: string;
|
|
14
|
+
subTitle?: string;
|
|
15
|
+
imageUrl?: string;
|
|
16
|
+
imageAlignment?: InboxResourceImageAlignment;
|
|
17
|
+
buttonText?: string;
|
|
18
|
+
}
|
|
19
|
+
export declare const Default: {
|
|
20
|
+
args: {
|
|
21
|
+
title: string;
|
|
22
|
+
subTitle: string;
|
|
23
|
+
imageUrl: any;
|
|
24
|
+
imageAlignment: string;
|
|
25
|
+
buttonText: string;
|
|
26
|
+
};
|
|
27
|
+
argTypes: {
|
|
28
|
+
subTitle: {
|
|
29
|
+
name: string;
|
|
30
|
+
};
|
|
31
|
+
imageUrl: {
|
|
32
|
+
name: string;
|
|
33
|
+
};
|
|
34
|
+
imageAlignment: {
|
|
35
|
+
name: string;
|
|
36
|
+
control: string;
|
|
37
|
+
options: string[];
|
|
38
|
+
};
|
|
39
|
+
buttonText: {
|
|
40
|
+
name: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
render: (args: InboxResourceDisplayStoryArgs) => React.JSX.Element;
|
|
44
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './InboxResourceDisplay';
|
package/dist/esm/types/components/presentational/InboxResourceListItem/InboxResourceListItem.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { InboxResource } from '@careevolution/mydatahelps-js';
|
|
3
|
+
import '@fortawesome/fontawesome-svg-core/styles.css';
|
|
4
|
+
export type InboxResourceImageAlignment = 'left' | 'center' | 'right';
|
|
5
|
+
export interface InboxResourceListItemProps {
|
|
6
|
+
resource: InboxResource;
|
|
7
|
+
onClick: () => void;
|
|
8
|
+
imageAlignment?: InboxResourceImageAlignment;
|
|
9
|
+
buttonText?: string;
|
|
10
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
11
|
+
}
|
|
12
|
+
export default function (props: InboxResourceListItemProps): React.JSX.Element | null;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { InboxResourceImageAlignment } from '../../presentational';
|
|
3
|
+
import InboxResourceListItem from './InboxResourceListItem';
|
|
4
|
+
import { InboxItemStatus } from '@careevolution/mydatahelps-js';
|
|
5
|
+
declare const _default: {
|
|
6
|
+
title: string;
|
|
7
|
+
component: typeof InboxResourceListItem;
|
|
8
|
+
parameters: {
|
|
9
|
+
layout: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
|
13
|
+
interface InboxResourceListItemStoryArgs {
|
|
14
|
+
title: string;
|
|
15
|
+
subTitle?: string;
|
|
16
|
+
imageUrl?: string;
|
|
17
|
+
status: InboxItemStatus;
|
|
18
|
+
imageAlignment?: InboxResourceImageAlignment;
|
|
19
|
+
buttonText?: string;
|
|
20
|
+
}
|
|
21
|
+
export declare const Default: {
|
|
22
|
+
args: {
|
|
23
|
+
status: string;
|
|
24
|
+
title: string;
|
|
25
|
+
subTitle: string;
|
|
26
|
+
imageUrl: any;
|
|
27
|
+
imageAlignment: string;
|
|
28
|
+
buttonText: string;
|
|
29
|
+
};
|
|
30
|
+
argTypes: {
|
|
31
|
+
status: {
|
|
32
|
+
control: string;
|
|
33
|
+
options: string[];
|
|
34
|
+
};
|
|
35
|
+
subTitle: {
|
|
36
|
+
name: string;
|
|
37
|
+
if: {
|
|
38
|
+
arg: string;
|
|
39
|
+
eq: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
imageUrl: {
|
|
43
|
+
name: string;
|
|
44
|
+
if: {
|
|
45
|
+
arg: string;
|
|
46
|
+
eq: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
imageAlignment: {
|
|
50
|
+
name: string;
|
|
51
|
+
control: string;
|
|
52
|
+
options: string[];
|
|
53
|
+
if: {
|
|
54
|
+
arg: string;
|
|
55
|
+
eq: string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
buttonText: {
|
|
59
|
+
name: string;
|
|
60
|
+
if: {
|
|
61
|
+
arg: string;
|
|
62
|
+
eq: string;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
render: (args: InboxResourceListItemStoryArgs) => React.JSX.Element;
|
|
67
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, InboxResourceImageAlignment } from './InboxResourceListItem';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './InboxSurveyListItem.css';
|
|
3
|
+
import { InboxSurvey } from '@careevolution/mydatahelps-js';
|
|
4
|
+
import '@fortawesome/fontawesome-svg-core/styles.css';
|
|
5
|
+
export type InboxSurveyVariant = 'default' | 'expanded';
|
|
6
|
+
export interface InboxSurveyListItemProps {
|
|
7
|
+
survey: InboxSurvey;
|
|
8
|
+
onClick: () => void;
|
|
9
|
+
variant?: InboxSurveyVariant;
|
|
10
|
+
surveyActive?: boolean;
|
|
11
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
12
|
+
}
|
|
13
|
+
export default function (props: InboxSurveyListItemProps): React.JSX.Element | null;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import InboxSurveyListItem, { InboxSurveyVariant } from './InboxSurveyListItem';
|
|
3
|
+
import { InboxItemStatus } from '@careevolution/mydatahelps-js';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: typeof InboxSurveyListItem;
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
12
|
+
interface InboxSurveyListItemStoryArgs {
|
|
13
|
+
name: string;
|
|
14
|
+
status: InboxItemStatus;
|
|
15
|
+
description?: string;
|
|
16
|
+
dueDate?: number;
|
|
17
|
+
hasSavedProgress?: boolean;
|
|
18
|
+
variant?: InboxSurveyVariant;
|
|
19
|
+
surveyActive?: boolean;
|
|
20
|
+
}
|
|
21
|
+
export declare const Default: {
|
|
22
|
+
args: {
|
|
23
|
+
variant: string;
|
|
24
|
+
status: string;
|
|
25
|
+
name: string;
|
|
26
|
+
description: string;
|
|
27
|
+
dueDate: undefined;
|
|
28
|
+
hasSavedProgress: boolean;
|
|
29
|
+
surveyActive: boolean;
|
|
30
|
+
};
|
|
31
|
+
argTypes: {
|
|
32
|
+
variant: {
|
|
33
|
+
control: string;
|
|
34
|
+
options: string[];
|
|
35
|
+
};
|
|
36
|
+
status: {
|
|
37
|
+
control: string;
|
|
38
|
+
options: string[];
|
|
39
|
+
};
|
|
40
|
+
description: {
|
|
41
|
+
if: {
|
|
42
|
+
arg: string;
|
|
43
|
+
eq: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
dueDate: {
|
|
47
|
+
name: string;
|
|
48
|
+
control: string;
|
|
49
|
+
if: {
|
|
50
|
+
arg: string;
|
|
51
|
+
eq: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
hasSavedProgress: {
|
|
55
|
+
name: string;
|
|
56
|
+
control: string;
|
|
57
|
+
if: {
|
|
58
|
+
arg: string;
|
|
59
|
+
eq: string;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
surveyActive: {
|
|
63
|
+
name: string;
|
|
64
|
+
control: string;
|
|
65
|
+
if: {
|
|
66
|
+
arg: string;
|
|
67
|
+
eq: string;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
render: (args: InboxSurveyListItemStoryArgs) => React.JSX.Element;
|
|
72
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, InboxSurveyVariant } from './InboxSurveyListItem';
|
|
@@ -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;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './RotatingText.css';
|
|
3
|
+
export interface RotatingTextEntry {
|
|
4
|
+
title?: string;
|
|
5
|
+
text: string;
|
|
6
|
+
}
|
|
7
|
+
export type RotatingTextInterval = 'day' | 'week' | 'month';
|
|
8
|
+
export interface RotatingTextProps {
|
|
9
|
+
interval?: RotatingTextInterval;
|
|
10
|
+
entryTitlePrefix?: string;
|
|
11
|
+
entries: RotatingTextEntry[];
|
|
12
|
+
startDate: Date;
|
|
13
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
14
|
+
}
|
|
15
|
+
export default function (props: RotatingTextProps): React.JSX.Element;
|