@careevolution/mydatahelps-ui 2.9.1-AsthmaUI.2 → 2.9.1-AsthmaUI.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +12 -12
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/asthma/{container → components}/AsthmaAirQualities/AsthmaAirQualities.d.ts +0 -1
- package/dist/{esm/types/components/asthma/container → cjs/types/components/asthma/components}/AsthmaBiometrics/AsthmaBiometrics.d.ts +0 -1
- package/dist/{esm/types/components/asthma/container → cjs/types/components/asthma/components}/AsthmaControlCalendar/AsthmaControlCalendar.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/{esm/types/components/asthma/container → cjs/types/components/asthma/components}/AsthmaLogEntryHeader/AsthmaLogEntryHeader.d.ts +1 -0
- package/dist/cjs/types/components/asthma/{presentational → components}/AsthmaLogEntrySummary/AsthmaLogEntrySummary.d.ts +1 -1
- package/dist/cjs/types/components/asthma/components/AsthmaToolLink/AsthmaToolLink.d.ts +8 -0
- package/dist/cjs/types/components/asthma/components/AsthmaToolLink/AsthmaToolLink.stories.d.ts +17 -0
- package/dist/cjs/types/components/asthma/components/AsthmaToolLink/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/components/AsthmaTools/AsthmaTools.d.ts +6 -0
- package/dist/cjs/types/components/asthma/components/AsthmaTools/AsthmaTools.stories.d.ts +13 -0
- package/dist/cjs/types/components/asthma/components/AsthmaTools/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/components/index.d.ts +11 -0
- package/dist/cjs/types/components/asthma/helpers/asthma-data.d.ts +2 -1
- package/dist/cjs/types/components/asthma/helpers/asthma-functions.d.ts +3 -1
- package/dist/cjs/types/components/asthma/index.d.ts +1 -2
- package/dist/cjs/types/components/asthma/views/AsthmaDayView/AsthmaDayView.d.ts +16 -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/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/index.d.ts +2 -3
- package/dist/cjs/types/components/presentational/CalendarDay/CalendarDay.d.ts +18 -0
- package/dist/cjs/types/components/presentational/CalendarDay/CalendarDay.stories.d.ts +342 -0
- package/dist/cjs/types/components/presentational/CalendarDay/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/NavigationBar/NavigationBar.d.ts +18 -4
- package/dist/cjs/types/components/presentational/NavigationBar/NavigationBar.stories.d.ts +145 -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 +2 -1
- package/dist/cjs/types/components/presentational/SingleSurveyTask/SingleSurveyTask.stories.d.ts +140 -0
- package/dist/cjs/types/components/presentational/ValueSelector/ValueSelector.d.ts +14 -0
- package/dist/cjs/types/components/presentational/ValueSelector/ValueSelector.stories.d.ts +100 -0
- package/dist/cjs/types/components/presentational/ValueSelector/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/index.d.ts +6 -2
- package/dist/esm/index.js +12 -12
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/asthma/{container → components}/AsthmaAirQualities/AsthmaAirQualities.d.ts +0 -1
- package/dist/{cjs/types/components/asthma/container → esm/types/components/asthma/components}/AsthmaBiometrics/AsthmaBiometrics.d.ts +0 -1
- package/dist/{cjs/types/components/asthma/container → esm/types/components/asthma/components}/AsthmaControlCalendar/AsthmaControlCalendar.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/{cjs/types/components/asthma/container → esm/types/components/asthma/components}/AsthmaLogEntryHeader/AsthmaLogEntryHeader.d.ts +1 -0
- package/dist/esm/types/components/asthma/{presentational → components}/AsthmaLogEntrySummary/AsthmaLogEntrySummary.d.ts +1 -1
- package/dist/esm/types/components/asthma/components/AsthmaToolLink/AsthmaToolLink.d.ts +8 -0
- package/dist/esm/types/components/asthma/components/AsthmaToolLink/AsthmaToolLink.stories.d.ts +17 -0
- package/dist/esm/types/components/asthma/components/AsthmaToolLink/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/components/AsthmaTools/AsthmaTools.d.ts +6 -0
- package/dist/esm/types/components/asthma/components/AsthmaTools/AsthmaTools.stories.d.ts +13 -0
- package/dist/esm/types/components/asthma/components/AsthmaTools/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/components/index.d.ts +11 -0
- package/dist/esm/types/components/asthma/helpers/asthma-data.d.ts +2 -1
- package/dist/esm/types/components/asthma/helpers/asthma-functions.d.ts +3 -1
- package/dist/esm/types/components/asthma/index.d.ts +1 -2
- package/dist/esm/types/components/asthma/views/AsthmaDayView/AsthmaDayView.d.ts +16 -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/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/index.d.ts +2 -3
- package/dist/esm/types/components/presentational/CalendarDay/CalendarDay.d.ts +18 -0
- package/dist/esm/types/components/presentational/CalendarDay/CalendarDay.stories.d.ts +342 -0
- package/dist/esm/types/components/presentational/CalendarDay/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/NavigationBar/NavigationBar.d.ts +18 -4
- package/dist/esm/types/components/presentational/NavigationBar/NavigationBar.stories.d.ts +145 -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 +2 -1
- package/dist/esm/types/components/presentational/SingleSurveyTask/SingleSurveyTask.stories.d.ts +140 -0
- package/dist/esm/types/components/presentational/ValueSelector/ValueSelector.d.ts +14 -0
- package/dist/esm/types/components/presentational/ValueSelector/ValueSelector.stories.d.ts +100 -0
- package/dist/esm/types/components/presentational/ValueSelector/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/index.d.ts +6 -2
- package/dist/index.d.ts +219 -142
- package/package.json +1 -1
- package/dist/cjs/types/components/asthma/container/AsthmaCalendarViewHeader/AsthmaCalendarViewHeader.d.ts +0 -10
- package/dist/cjs/types/components/asthma/container/AsthmaCalendarViewHeader/AsthmaCalendarViewHeader.previewData.d.ts +0 -8
- package/dist/cjs/types/components/asthma/container/AsthmaCalendarViewHeader/AsthmaCalendarViewHeader.stories.d.ts +0 -16
- package/dist/cjs/types/components/asthma/container/AsthmaCalendarViewHeader/index.d.ts +0 -2
- package/dist/cjs/types/components/asthma/container/AsthmaDashboardViewHeader/AsthmaDashboardViewHeader.d.ts +0 -10
- package/dist/cjs/types/components/asthma/container/AsthmaDashboardViewHeader/AsthmaDashboardViewHeader.previewData.d.ts +0 -10
- package/dist/cjs/types/components/asthma/container/AsthmaDashboardViewHeader/AsthmaDashboardViewHeader.stories.d.ts +0 -16
- package/dist/cjs/types/components/asthma/container/AsthmaDashboardViewHeader/index.d.ts +0 -2
- package/dist/cjs/types/components/asthma/container/index.d.ts +0 -7
- package/dist/cjs/types/components/asthma/presentational/AsthmaViewTitle/AsthmaViewTitle.d.ts +0 -7
- package/dist/cjs/types/components/asthma/presentational/AsthmaViewTitle/AsthmaViewTitle.stories.d.ts +0 -16
- package/dist/cjs/types/components/asthma/presentational/AsthmaViewTitle/index.d.ts +0 -1
- package/dist/cjs/types/components/asthma/presentational/index.d.ts +0 -3
- package/dist/cjs/types/components/asthma/views/AsthmaCalendarView/AsthmaCalendarView.d.ts +0 -9
- package/dist/cjs/types/components/asthma/views/AsthmaCalendarView/AsthmaCalendarView.previewData.d.ts +0 -6
- package/dist/cjs/types/components/asthma/views/AsthmaCalendarView/AsthmaCalendarView.stories.d.ts +0 -18
- package/dist/cjs/types/components/asthma/views/AsthmaCalendarView/index.d.ts +0 -1
- package/dist/cjs/types/components/asthma/views/AsthmaDashboardView/AsthmaDashboardView.d.ts +0 -9
- package/dist/cjs/types/components/asthma/views/AsthmaDashboardView/AsthmaDashboardView.previewData.d.ts +0 -8
- package/dist/cjs/types/components/asthma/views/AsthmaDashboardView/AsthmaDashboardView.stories.d.ts +0 -18
- package/dist/cjs/types/components/asthma/views/AsthmaDashboardView/index.d.ts +0 -1
- package/dist/cjs/types/components/asthma/views/AsthmaDataView/AsthmaDataView.d.ts +0 -7
- package/dist/cjs/types/components/asthma/views/AsthmaDataView/AsthmaDataView.previewData.d.ts +0 -8
- package/dist/cjs/types/components/asthma/views/AsthmaDataView/AsthmaDataView.stories.d.ts +0 -16
- package/dist/cjs/types/components/asthma/views/AsthmaDataView/index.d.ts +0 -1
- package/dist/cjs/types/components/presentational/BasicCalendar/BasicCalendar.d.ts +0 -15
- package/dist/cjs/types/components/presentational/BasicCalendar/BasicCalendar.stories.d.ts +0 -17
- package/dist/cjs/types/components/presentational/BasicCalendar/index.d.ts +0 -1
- package/dist/esm/types/components/asthma/container/AsthmaCalendarViewHeader/AsthmaCalendarViewHeader.d.ts +0 -10
- package/dist/esm/types/components/asthma/container/AsthmaCalendarViewHeader/AsthmaCalendarViewHeader.previewData.d.ts +0 -8
- package/dist/esm/types/components/asthma/container/AsthmaCalendarViewHeader/AsthmaCalendarViewHeader.stories.d.ts +0 -16
- package/dist/esm/types/components/asthma/container/AsthmaCalendarViewHeader/index.d.ts +0 -2
- package/dist/esm/types/components/asthma/container/AsthmaDashboardViewHeader/AsthmaDashboardViewHeader.d.ts +0 -10
- package/dist/esm/types/components/asthma/container/AsthmaDashboardViewHeader/AsthmaDashboardViewHeader.previewData.d.ts +0 -10
- package/dist/esm/types/components/asthma/container/AsthmaDashboardViewHeader/AsthmaDashboardViewHeader.stories.d.ts +0 -16
- package/dist/esm/types/components/asthma/container/AsthmaDashboardViewHeader/index.d.ts +0 -2
- package/dist/esm/types/components/asthma/container/index.d.ts +0 -7
- package/dist/esm/types/components/asthma/presentational/AsthmaViewTitle/AsthmaViewTitle.d.ts +0 -7
- package/dist/esm/types/components/asthma/presentational/AsthmaViewTitle/AsthmaViewTitle.stories.d.ts +0 -16
- package/dist/esm/types/components/asthma/presentational/AsthmaViewTitle/index.d.ts +0 -1
- package/dist/esm/types/components/asthma/presentational/index.d.ts +0 -3
- package/dist/esm/types/components/asthma/views/AsthmaCalendarView/AsthmaCalendarView.d.ts +0 -9
- package/dist/esm/types/components/asthma/views/AsthmaCalendarView/AsthmaCalendarView.previewData.d.ts +0 -6
- package/dist/esm/types/components/asthma/views/AsthmaCalendarView/AsthmaCalendarView.stories.d.ts +0 -18
- package/dist/esm/types/components/asthma/views/AsthmaCalendarView/index.d.ts +0 -1
- package/dist/esm/types/components/asthma/views/AsthmaDashboardView/AsthmaDashboardView.d.ts +0 -9
- package/dist/esm/types/components/asthma/views/AsthmaDashboardView/AsthmaDashboardView.previewData.d.ts +0 -8
- package/dist/esm/types/components/asthma/views/AsthmaDashboardView/AsthmaDashboardView.stories.d.ts +0 -18
- package/dist/esm/types/components/asthma/views/AsthmaDashboardView/index.d.ts +0 -1
- package/dist/esm/types/components/asthma/views/AsthmaDataView/AsthmaDataView.d.ts +0 -7
- package/dist/esm/types/components/asthma/views/AsthmaDataView/AsthmaDataView.previewData.d.ts +0 -8
- package/dist/esm/types/components/asthma/views/AsthmaDataView/AsthmaDataView.stories.d.ts +0 -16
- package/dist/esm/types/components/asthma/views/AsthmaDataView/index.d.ts +0 -1
- package/dist/esm/types/components/presentational/BasicCalendar/BasicCalendar.d.ts +0 -15
- package/dist/esm/types/components/presentational/BasicCalendar/BasicCalendar.stories.d.ts +0 -17
- package/dist/esm/types/components/presentational/BasicCalendar/index.d.ts +0 -1
- /package/dist/cjs/types/components/asthma/{container → components}/AsthmaAirQualities/AsthmaAirQualities.previewData.d.ts +0 -0
- /package/dist/cjs/types/components/asthma/{container → components}/AsthmaAirQualities/AsthmaAirQualities.stories.d.ts +0 -0
- /package/dist/cjs/types/components/asthma/{container → components}/AsthmaAirQualities/index.d.ts +0 -0
- /package/dist/cjs/types/components/asthma/{container → components}/AsthmaBiometrics/AsthmaBiometrics.previewData.d.ts +0 -0
- /package/dist/cjs/types/components/asthma/{container → components}/AsthmaBiometrics/AsthmaBiometrics.stories.d.ts +0 -0
- /package/dist/cjs/types/components/asthma/{container → components}/AsthmaBiometrics/index.d.ts +0 -0
- /package/dist/cjs/types/components/asthma/{container → components}/AsthmaControlCalendar/AsthmaControlCalendar.previewData.d.ts +0 -0
- /package/dist/cjs/types/components/asthma/{container → components}/AsthmaControlCalendar/AsthmaControlCalendar.stories.d.ts +0 -0
- /package/dist/cjs/types/components/asthma/{container → components}/AsthmaControlCalendar/index.d.ts +0 -0
- /package/dist/cjs/types/components/asthma/{container → components}/AsthmaControlStatusHeader/AsthmaControlStatusHeader.d.ts +0 -0
- /package/dist/cjs/types/components/asthma/{container → components}/AsthmaControlStatusHeader/AsthmaControlStatusHeader.previewData.d.ts +0 -0
- /package/dist/cjs/types/components/asthma/{container → components}/AsthmaControlStatusHeader/AsthmaControlStatusHeader.stories.d.ts +0 -0
- /package/dist/cjs/types/components/asthma/{container → components}/AsthmaControlStatusHeader/index.d.ts +0 -0
- /package/dist/cjs/types/components/asthma/{presentational → components}/AsthmaDataSummary/AsthmaDataSummary.d.ts +0 -0
- /package/dist/cjs/types/components/asthma/{presentational → components}/AsthmaDataSummary/AsthmaDataSummary.stories.d.ts +0 -0
- /package/dist/cjs/types/components/asthma/{presentational → components}/AsthmaDataSummary/index.d.ts +0 -0
- /package/dist/cjs/types/components/asthma/{container → components}/AsthmaLogEntryHeader/AsthmaLogEntryHeader.previewData.d.ts +0 -0
- /package/dist/cjs/types/components/asthma/{container → components}/AsthmaLogEntryHeader/AsthmaLogEntryHeader.stories.d.ts +0 -0
- /package/dist/cjs/types/components/asthma/{container → components}/AsthmaLogEntryHeader/index.d.ts +0 -0
- /package/dist/cjs/types/components/asthma/{presentational → components}/AsthmaLogEntrySummary/AsthmaLogEntrySummary.stories.d.ts +0 -0
- /package/dist/cjs/types/components/asthma/{presentational → components}/AsthmaLogEntrySummary/index.d.ts +0 -0
- /package/dist/esm/types/components/asthma/{container → components}/AsthmaAirQualities/AsthmaAirQualities.previewData.d.ts +0 -0
- /package/dist/esm/types/components/asthma/{container → components}/AsthmaAirQualities/AsthmaAirQualities.stories.d.ts +0 -0
- /package/dist/esm/types/components/asthma/{container → components}/AsthmaAirQualities/index.d.ts +0 -0
- /package/dist/esm/types/components/asthma/{container → components}/AsthmaBiometrics/AsthmaBiometrics.previewData.d.ts +0 -0
- /package/dist/esm/types/components/asthma/{container → components}/AsthmaBiometrics/AsthmaBiometrics.stories.d.ts +0 -0
- /package/dist/esm/types/components/asthma/{container → components}/AsthmaBiometrics/index.d.ts +0 -0
- /package/dist/esm/types/components/asthma/{container → components}/AsthmaControlCalendar/AsthmaControlCalendar.previewData.d.ts +0 -0
- /package/dist/esm/types/components/asthma/{container → components}/AsthmaControlCalendar/AsthmaControlCalendar.stories.d.ts +0 -0
- /package/dist/esm/types/components/asthma/{container → components}/AsthmaControlCalendar/index.d.ts +0 -0
- /package/dist/esm/types/components/asthma/{container → components}/AsthmaControlStatusHeader/AsthmaControlStatusHeader.d.ts +0 -0
- /package/dist/esm/types/components/asthma/{container → components}/AsthmaControlStatusHeader/AsthmaControlStatusHeader.previewData.d.ts +0 -0
- /package/dist/esm/types/components/asthma/{container → components}/AsthmaControlStatusHeader/AsthmaControlStatusHeader.stories.d.ts +0 -0
- /package/dist/esm/types/components/asthma/{container → components}/AsthmaControlStatusHeader/index.d.ts +0 -0
- /package/dist/esm/types/components/asthma/{presentational → components}/AsthmaDataSummary/AsthmaDataSummary.d.ts +0 -0
- /package/dist/esm/types/components/asthma/{presentational → components}/AsthmaDataSummary/AsthmaDataSummary.stories.d.ts +0 -0
- /package/dist/esm/types/components/asthma/{presentational → components}/AsthmaDataSummary/index.d.ts +0 -0
- /package/dist/esm/types/components/asthma/{container → components}/AsthmaLogEntryHeader/AsthmaLogEntryHeader.previewData.d.ts +0 -0
- /package/dist/esm/types/components/asthma/{container → components}/AsthmaLogEntryHeader/AsthmaLogEntryHeader.stories.d.ts +0 -0
- /package/dist/esm/types/components/asthma/{container → components}/AsthmaLogEntryHeader/index.d.ts +0 -0
- /package/dist/esm/types/components/asthma/{presentational → components}/AsthmaLogEntrySummary/AsthmaLogEntrySummary.stories.d.ts +0 -0
- /package/dist/esm/types/components/asthma/{presentational → components}/AsthmaLogEntrySummary/index.d.ts +0 -0
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import RotatingText, { RotatingTextProps } from "./RotatingText";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof RotatingText;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
export declare const Day1: {
|
|
12
|
+
args: {
|
|
13
|
+
interval: string;
|
|
14
|
+
entryTitlePrefix: string;
|
|
15
|
+
entries: {
|
|
16
|
+
title: string;
|
|
17
|
+
text: string;
|
|
18
|
+
}[];
|
|
19
|
+
startDate: Date;
|
|
20
|
+
};
|
|
21
|
+
render: (args: RotatingTextProps) => React.JSX.Element;
|
|
22
|
+
};
|
|
23
|
+
export declare const Day2: {
|
|
24
|
+
args: {
|
|
25
|
+
interval: string;
|
|
26
|
+
entryTitlePrefix: string;
|
|
27
|
+
entries: {
|
|
28
|
+
title: string;
|
|
29
|
+
text: string;
|
|
30
|
+
}[];
|
|
31
|
+
startDate: Date;
|
|
32
|
+
};
|
|
33
|
+
render: (args: RotatingTextProps) => React.JSX.Element;
|
|
34
|
+
};
|
|
35
|
+
export declare const Day3: {
|
|
36
|
+
args: {
|
|
37
|
+
interval: string;
|
|
38
|
+
entryTitlePrefix: string;
|
|
39
|
+
entries: {
|
|
40
|
+
title: string;
|
|
41
|
+
text: string;
|
|
42
|
+
}[];
|
|
43
|
+
startDate: Date;
|
|
44
|
+
};
|
|
45
|
+
render: (args: RotatingTextProps) => React.JSX.Element;
|
|
46
|
+
};
|
|
47
|
+
export declare const Week1: {
|
|
48
|
+
args: {
|
|
49
|
+
interval: string;
|
|
50
|
+
entryTitlePrefix: string;
|
|
51
|
+
entries: {
|
|
52
|
+
title: string;
|
|
53
|
+
text: string;
|
|
54
|
+
}[];
|
|
55
|
+
startDate: Date;
|
|
56
|
+
};
|
|
57
|
+
render: (args: RotatingTextProps) => React.JSX.Element;
|
|
58
|
+
};
|
|
59
|
+
export declare const Week2: {
|
|
60
|
+
args: {
|
|
61
|
+
interval: string;
|
|
62
|
+
entryTitlePrefix: string;
|
|
63
|
+
entries: {
|
|
64
|
+
title: string;
|
|
65
|
+
text: string;
|
|
66
|
+
}[];
|
|
67
|
+
startDate: Date;
|
|
68
|
+
};
|
|
69
|
+
render: (args: RotatingTextProps) => React.JSX.Element;
|
|
70
|
+
};
|
|
71
|
+
export declare const Week3: {
|
|
72
|
+
args: {
|
|
73
|
+
interval: string;
|
|
74
|
+
entryTitlePrefix: string;
|
|
75
|
+
entries: {
|
|
76
|
+
title: string;
|
|
77
|
+
text: string;
|
|
78
|
+
}[];
|
|
79
|
+
startDate: Date;
|
|
80
|
+
};
|
|
81
|
+
render: (args: RotatingTextProps) => React.JSX.Element;
|
|
82
|
+
};
|
|
83
|
+
export declare const Month1: {
|
|
84
|
+
args: {
|
|
85
|
+
interval: string;
|
|
86
|
+
entryTitlePrefix: string;
|
|
87
|
+
entries: {
|
|
88
|
+
title: string;
|
|
89
|
+
text: string;
|
|
90
|
+
}[];
|
|
91
|
+
startDate: Date;
|
|
92
|
+
};
|
|
93
|
+
render: (args: RotatingTextProps) => React.JSX.Element;
|
|
94
|
+
};
|
|
95
|
+
export declare const Month2: {
|
|
96
|
+
args: {
|
|
97
|
+
interval: string;
|
|
98
|
+
entryTitlePrefix: string;
|
|
99
|
+
entries: {
|
|
100
|
+
title: string;
|
|
101
|
+
text: string;
|
|
102
|
+
}[];
|
|
103
|
+
startDate: Date;
|
|
104
|
+
};
|
|
105
|
+
render: (args: RotatingTextProps) => React.JSX.Element;
|
|
106
|
+
};
|
|
107
|
+
export declare const Month3: {
|
|
108
|
+
args: {
|
|
109
|
+
interval: string;
|
|
110
|
+
entryTitlePrefix: string;
|
|
111
|
+
entries: {
|
|
112
|
+
title: string;
|
|
113
|
+
text: string;
|
|
114
|
+
}[];
|
|
115
|
+
startDate: Date;
|
|
116
|
+
};
|
|
117
|
+
render: (args: RotatingTextProps) => React.JSX.Element;
|
|
118
|
+
};
|
|
119
|
+
export declare const NoTitlePrefix: {
|
|
120
|
+
args: {
|
|
121
|
+
interval: string;
|
|
122
|
+
entries: {
|
|
123
|
+
title: string;
|
|
124
|
+
text: string;
|
|
125
|
+
}[];
|
|
126
|
+
startDate: Date;
|
|
127
|
+
};
|
|
128
|
+
render: (args: RotatingTextProps) => React.JSX.Element;
|
|
129
|
+
};
|
|
130
|
+
export declare const NoTitle: {
|
|
131
|
+
args: {
|
|
132
|
+
interval: string;
|
|
133
|
+
entryTitlePrefix: string;
|
|
134
|
+
entries: {
|
|
135
|
+
text: string;
|
|
136
|
+
}[];
|
|
137
|
+
startDate: Date;
|
|
138
|
+
};
|
|
139
|
+
render: (args: RotatingTextProps) => React.JSX.Element;
|
|
140
|
+
};
|
|
141
|
+
export declare const NoEntries: {
|
|
142
|
+
args: {
|
|
143
|
+
interval: string;
|
|
144
|
+
entryTitlePrefix: string;
|
|
145
|
+
entries: never[];
|
|
146
|
+
startDate: Date;
|
|
147
|
+
};
|
|
148
|
+
render: (args: RotatingTextProps) => React.JSX.Element;
|
|
149
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, RotatingTextEntry } from './RotatingText';
|
|
@@ -8,7 +8,8 @@ import { ButtonVariant } from '../Button/Button';
|
|
|
8
8
|
export interface SingleSurveyTaskProps {
|
|
9
9
|
task: SurveyTask;
|
|
10
10
|
descriptionIcon?: IconDefinition;
|
|
11
|
-
|
|
11
|
+
onClick: () => void;
|
|
12
|
+
surveyActive?: boolean;
|
|
12
13
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
13
14
|
buttonColor?: ColorDefinition;
|
|
14
15
|
buttonVariant?: ButtonVariant;
|
package/dist/esm/types/components/presentational/SingleSurveyTask/SingleSurveyTask.stories.d.ts
ADDED
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import SingleSurveyTask, { SingleSurveyTaskProps } from './SingleSurveyTask';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof SingleSurveyTask;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
export declare const Incomplete: {
|
|
12
|
+
args: {
|
|
13
|
+
task: {
|
|
14
|
+
status: string;
|
|
15
|
+
id: import("@careevolution/mydatahelps-js").Guid;
|
|
16
|
+
linkIdentifier: string;
|
|
17
|
+
surveyID: import("@careevolution/mydatahelps-js").Guid;
|
|
18
|
+
surveyName: string;
|
|
19
|
+
surveyDisplayName?: string | undefined;
|
|
20
|
+
surveyDescription?: string | undefined;
|
|
21
|
+
startDate?: string | undefined;
|
|
22
|
+
endDate?: string | undefined;
|
|
23
|
+
hasSavedProgress: boolean;
|
|
24
|
+
dueDate: string;
|
|
25
|
+
insertedDate: string;
|
|
26
|
+
modifiedDate: string;
|
|
27
|
+
};
|
|
28
|
+
descriptionIcon?: import("@fortawesome/fontawesome-common-types").IconDefinition | undefined;
|
|
29
|
+
onClick: () => void;
|
|
30
|
+
surveyActive?: boolean | undefined;
|
|
31
|
+
innerRef?: React.Ref<HTMLDivElement> | undefined;
|
|
32
|
+
buttonColor?: import("../../..").ColorDefinition | undefined;
|
|
33
|
+
buttonVariant?: import("../Button/Button").ButtonVariant | undefined;
|
|
34
|
+
};
|
|
35
|
+
render: (args: SingleSurveyTaskProps) => React.JSX.Element;
|
|
36
|
+
};
|
|
37
|
+
export declare const IncompleteInProgress: {
|
|
38
|
+
args: {
|
|
39
|
+
task: {
|
|
40
|
+
status: string;
|
|
41
|
+
hasSavedProgress: boolean;
|
|
42
|
+
id: import("@careevolution/mydatahelps-js").Guid;
|
|
43
|
+
linkIdentifier: string;
|
|
44
|
+
surveyID: import("@careevolution/mydatahelps-js").Guid;
|
|
45
|
+
surveyName: string;
|
|
46
|
+
surveyDisplayName?: string | undefined;
|
|
47
|
+
surveyDescription?: string | undefined;
|
|
48
|
+
startDate?: string | undefined;
|
|
49
|
+
endDate?: string | undefined;
|
|
50
|
+
dueDate: string;
|
|
51
|
+
insertedDate: string;
|
|
52
|
+
modifiedDate: string;
|
|
53
|
+
};
|
|
54
|
+
descriptionIcon?: import("@fortawesome/fontawesome-common-types").IconDefinition | undefined;
|
|
55
|
+
onClick: () => void;
|
|
56
|
+
surveyActive?: boolean | undefined;
|
|
57
|
+
innerRef?: React.Ref<HTMLDivElement> | undefined;
|
|
58
|
+
buttonColor?: import("../../..").ColorDefinition | undefined;
|
|
59
|
+
buttonVariant?: import("../Button/Button").ButtonVariant | undefined;
|
|
60
|
+
};
|
|
61
|
+
render: (args: SingleSurveyTaskProps) => React.JSX.Element;
|
|
62
|
+
};
|
|
63
|
+
export declare const IncompleteSurveyActive: {
|
|
64
|
+
args: {
|
|
65
|
+
task: {
|
|
66
|
+
status: string;
|
|
67
|
+
id: import("@careevolution/mydatahelps-js").Guid;
|
|
68
|
+
linkIdentifier: string;
|
|
69
|
+
surveyID: import("@careevolution/mydatahelps-js").Guid;
|
|
70
|
+
surveyName: string;
|
|
71
|
+
surveyDisplayName?: string | undefined;
|
|
72
|
+
surveyDescription?: string | undefined;
|
|
73
|
+
startDate?: string | undefined;
|
|
74
|
+
endDate?: string | undefined;
|
|
75
|
+
hasSavedProgress: boolean;
|
|
76
|
+
dueDate: string;
|
|
77
|
+
insertedDate: string;
|
|
78
|
+
modifiedDate: string;
|
|
79
|
+
};
|
|
80
|
+
surveyActive: boolean;
|
|
81
|
+
descriptionIcon?: import("@fortawesome/fontawesome-common-types").IconDefinition | undefined;
|
|
82
|
+
onClick: () => void;
|
|
83
|
+
innerRef?: React.Ref<HTMLDivElement> | undefined;
|
|
84
|
+
buttonColor?: import("../../..").ColorDefinition | undefined;
|
|
85
|
+
buttonVariant?: import("../Button/Button").ButtonVariant | undefined;
|
|
86
|
+
};
|
|
87
|
+
render: (args: SingleSurveyTaskProps) => React.JSX.Element;
|
|
88
|
+
};
|
|
89
|
+
export declare const IncompleteWithLongDescription: {
|
|
90
|
+
args: {
|
|
91
|
+
task: {
|
|
92
|
+
status: string;
|
|
93
|
+
surveyDescription: string;
|
|
94
|
+
id: import("@careevolution/mydatahelps-js").Guid;
|
|
95
|
+
linkIdentifier: string;
|
|
96
|
+
surveyID: import("@careevolution/mydatahelps-js").Guid;
|
|
97
|
+
surveyName: string;
|
|
98
|
+
surveyDisplayName?: string | undefined;
|
|
99
|
+
startDate?: string | undefined;
|
|
100
|
+
endDate?: string | undefined;
|
|
101
|
+
hasSavedProgress: boolean;
|
|
102
|
+
dueDate: string;
|
|
103
|
+
insertedDate: string;
|
|
104
|
+
modifiedDate: string;
|
|
105
|
+
};
|
|
106
|
+
descriptionIcon?: import("@fortawesome/fontawesome-common-types").IconDefinition | undefined;
|
|
107
|
+
onClick: () => void;
|
|
108
|
+
surveyActive?: boolean | undefined;
|
|
109
|
+
innerRef?: React.Ref<HTMLDivElement> | undefined;
|
|
110
|
+
buttonColor?: import("../../..").ColorDefinition | undefined;
|
|
111
|
+
buttonVariant?: import("../Button/Button").ButtonVariant | undefined;
|
|
112
|
+
};
|
|
113
|
+
render: (args: SingleSurveyTaskProps) => React.JSX.Element;
|
|
114
|
+
};
|
|
115
|
+
export declare const Complete: {
|
|
116
|
+
args: {
|
|
117
|
+
task: {
|
|
118
|
+
status: string;
|
|
119
|
+
endDate: string;
|
|
120
|
+
id: import("@careevolution/mydatahelps-js").Guid;
|
|
121
|
+
linkIdentifier: string;
|
|
122
|
+
surveyID: import("@careevolution/mydatahelps-js").Guid;
|
|
123
|
+
surveyName: string;
|
|
124
|
+
surveyDisplayName?: string | undefined;
|
|
125
|
+
surveyDescription?: string | undefined;
|
|
126
|
+
startDate?: string | undefined;
|
|
127
|
+
hasSavedProgress: boolean;
|
|
128
|
+
dueDate: string;
|
|
129
|
+
insertedDate: string;
|
|
130
|
+
modifiedDate: string;
|
|
131
|
+
};
|
|
132
|
+
descriptionIcon?: import("@fortawesome/fontawesome-common-types").IconDefinition | undefined;
|
|
133
|
+
onClick: () => void;
|
|
134
|
+
surveyActive?: boolean | undefined;
|
|
135
|
+
innerRef?: React.Ref<HTMLDivElement> | undefined;
|
|
136
|
+
buttonColor?: import("../../..").ColorDefinition | undefined;
|
|
137
|
+
buttonVariant?: import("../Button/Button").ButtonVariant | undefined;
|
|
138
|
+
};
|
|
139
|
+
render: (args: SingleSurveyTaskProps) => React.JSX.Element;
|
|
140
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './ValueSelector.css';
|
|
3
|
+
export interface ValueSelectorProps {
|
|
4
|
+
title?: string;
|
|
5
|
+
subtitle?: string;
|
|
6
|
+
values: string[];
|
|
7
|
+
selectedValues?: string[];
|
|
8
|
+
onChange?: (selectedValues: string[]) => void;
|
|
9
|
+
variant?: 'default' | 'checkboxes';
|
|
10
|
+
multiSelect?: boolean;
|
|
11
|
+
preventEmptySelections?: boolean;
|
|
12
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
13
|
+
}
|
|
14
|
+
export default function (props: ValueSelectorProps): React.JSX.Element;
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import ValueSelector, { ValueSelectorProps } from './ValueSelector';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof ValueSelector;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
export declare const Default: {
|
|
12
|
+
args: {
|
|
13
|
+
values: string[];
|
|
14
|
+
};
|
|
15
|
+
render: (args: ValueSelectorProps) => React.JSX.Element;
|
|
16
|
+
};
|
|
17
|
+
export declare const Buttons: {
|
|
18
|
+
args: {
|
|
19
|
+
title: string;
|
|
20
|
+
subtitle: string;
|
|
21
|
+
values: string[];
|
|
22
|
+
selectedValues: string[];
|
|
23
|
+
};
|
|
24
|
+
render: (args: ValueSelectorProps) => React.JSX.Element;
|
|
25
|
+
};
|
|
26
|
+
export declare const ButtonsPreventEmptySelections: {
|
|
27
|
+
args: {
|
|
28
|
+
title: string;
|
|
29
|
+
subtitle: string;
|
|
30
|
+
values: string[];
|
|
31
|
+
selectedValues: string[];
|
|
32
|
+
preventEmptySelections: boolean;
|
|
33
|
+
};
|
|
34
|
+
render: (args: ValueSelectorProps) => React.JSX.Element;
|
|
35
|
+
};
|
|
36
|
+
export declare const ButtonsMultiSelect: {
|
|
37
|
+
args: {
|
|
38
|
+
title: string;
|
|
39
|
+
subtitle: string;
|
|
40
|
+
values: string[];
|
|
41
|
+
selectedValues: string[];
|
|
42
|
+
multiSelect: boolean;
|
|
43
|
+
};
|
|
44
|
+
render: (args: ValueSelectorProps) => React.JSX.Element;
|
|
45
|
+
};
|
|
46
|
+
export declare const ButtonsMultiSelectPreventEmptySelections: {
|
|
47
|
+
args: {
|
|
48
|
+
title: string;
|
|
49
|
+
subtitle: string;
|
|
50
|
+
values: string[];
|
|
51
|
+
selectedValues: string[];
|
|
52
|
+
multiSelect: boolean;
|
|
53
|
+
preventEmptySelections: boolean;
|
|
54
|
+
};
|
|
55
|
+
render: (args: ValueSelectorProps) => React.JSX.Element;
|
|
56
|
+
};
|
|
57
|
+
export declare const Checkboxes: {
|
|
58
|
+
args: {
|
|
59
|
+
title: string;
|
|
60
|
+
subtitle: string;
|
|
61
|
+
values: string[];
|
|
62
|
+
selectedValues: string[];
|
|
63
|
+
variant: string;
|
|
64
|
+
};
|
|
65
|
+
render: (args: ValueSelectorProps) => React.JSX.Element;
|
|
66
|
+
};
|
|
67
|
+
export declare const CheckboxesPreventEmptySelections: {
|
|
68
|
+
args: {
|
|
69
|
+
title: string;
|
|
70
|
+
subtitle: string;
|
|
71
|
+
values: string[];
|
|
72
|
+
selectedValues: string[];
|
|
73
|
+
variant: string;
|
|
74
|
+
preventEmptySelections: boolean;
|
|
75
|
+
};
|
|
76
|
+
render: (args: ValueSelectorProps) => React.JSX.Element;
|
|
77
|
+
};
|
|
78
|
+
export declare const CheckboxesMultiSelect: {
|
|
79
|
+
args: {
|
|
80
|
+
title: string;
|
|
81
|
+
subtitle: string;
|
|
82
|
+
values: string[];
|
|
83
|
+
selectedValues: string[];
|
|
84
|
+
variant: string;
|
|
85
|
+
multiSelect: boolean;
|
|
86
|
+
};
|
|
87
|
+
render: (args: ValueSelectorProps) => React.JSX.Element;
|
|
88
|
+
};
|
|
89
|
+
export declare const CheckboxesMultiSelectPreventEmptySelections: {
|
|
90
|
+
args: {
|
|
91
|
+
title: string;
|
|
92
|
+
subtitle: string;
|
|
93
|
+
values: string[];
|
|
94
|
+
selectedValues: string[];
|
|
95
|
+
variant: string;
|
|
96
|
+
multiSelect: boolean;
|
|
97
|
+
preventEmptySelections: boolean;
|
|
98
|
+
};
|
|
99
|
+
render: (args: ValueSelectorProps) => React.JSX.Element;
|
|
100
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ValueSelector';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export { default as Action } from "./Action";
|
|
2
2
|
export { default as ActivityMeter } from "./ActivityMeter";
|
|
3
|
-
export { default as BasicCalendar, BasicCalendarDayState } from "./BasicCalendar";
|
|
4
3
|
export { default as Button } from "./Button";
|
|
5
4
|
export { default as Calendar } from "./Calendar";
|
|
5
|
+
export { default as CalendarDay, CalendarDayStateConfiguration } from "./CalendarDay";
|
|
6
6
|
export { default as Card } from "./Card";
|
|
7
7
|
export { default as CardTitle } from "./CardTitle";
|
|
8
8
|
export { default as DateRangeCoordinator, DateRangeContext } from "./DateRangeCoordinator";
|
|
@@ -14,6 +14,10 @@ export { default as Layout, LayoutContext } from "./Layout";
|
|
|
14
14
|
export { default as LoadingIndicator } from "./LoadingIndicator";
|
|
15
15
|
export { default as NavigationBar } from "./NavigationBar";
|
|
16
16
|
export { default as NotesInput } from "./NotesInput";
|
|
17
|
+
export { default as ProgressBar } from "./ProgressBar";
|
|
18
|
+
export { default as ProgressBarStep } from "./ProgressBar/ProgressBarStep";
|
|
19
|
+
export { default as ProgressRing } from "./ProgressRing";
|
|
20
|
+
export { default as RotatingText, RotatingTextEntry } from "./RotatingText";
|
|
17
21
|
export { default as Section } from "./Section";
|
|
18
22
|
export { default as SegmentedControl } from "./SegmentedControl";
|
|
19
23
|
export { default as ShinyOverlay } from "./ShinyOverlay";
|
|
@@ -27,6 +31,6 @@ export { default as TextBlock } from "./TextBlock";
|
|
|
27
31
|
export { default as Title } from "./Title";
|
|
28
32
|
export { default as TrackerItem } from "./TrackerItem";
|
|
29
33
|
export { default as UnstyledButton } from "./UnstyledButton";
|
|
34
|
+
export { default as ValueSelector } from "./ValueSelector";
|
|
30
35
|
export { default as ViewHeader } from "./ViewHeader";
|
|
31
36
|
export { default as WeekCalendar } from "./WeekCalendar";
|
|
32
|
-
export { default as ProgressRing } from "./ProgressRing";
|