@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,342 @@
|
|
|
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 StreakLeftNotSupported: {
|
|
71
|
+
args: {
|
|
72
|
+
computeStateForDay: (date: Date) => string;
|
|
73
|
+
year: number;
|
|
74
|
+
month: number;
|
|
75
|
+
day: number;
|
|
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 StreakLeftDefaultColor: {
|
|
101
|
+
args: {
|
|
102
|
+
computeStateForDay: (date: Date) => string;
|
|
103
|
+
year: number;
|
|
104
|
+
month: number;
|
|
105
|
+
day: number;
|
|
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 StreakLeftCustomColor: {
|
|
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 StreakRightNotSupported: {
|
|
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 StreakRightDefaultColor: {
|
|
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 StreakRightCustomColor: {
|
|
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 StreakBothNotSupported: {
|
|
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 StreakBothDefaultColor: {
|
|
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 StreakBothCustomColor: {
|
|
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 InCalendar: {
|
|
341
|
+
render: () => React.JSX.Element;
|
|
342
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, CalendarDayStateConfiguration } from './CalendarDay';
|
|
@@ -1,19 +1,33 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import
|
|
2
|
+
import './NavigationBar.css';
|
|
3
3
|
import '@fortawesome/fontawesome-svg-core/styles.css';
|
|
4
4
|
import { ColorDefinition } from '../../../helpers/colors';
|
|
5
|
+
export type NavigationBarButtonPosition = 'left' | 'right';
|
|
5
6
|
export interface NavigationBarProps {
|
|
6
7
|
title?: string;
|
|
7
8
|
subtitle?: string;
|
|
8
9
|
showBackButton?: boolean;
|
|
10
|
+
backButtonText?: string;
|
|
11
|
+
backButtonColor?: ColorDefinition;
|
|
12
|
+
backButtonBackgroundColor?: ColorDefinition;
|
|
9
13
|
showCloseButton?: boolean;
|
|
10
|
-
children?: React.ReactNode;
|
|
11
14
|
closeButtonText?: string;
|
|
12
|
-
|
|
15
|
+
closeButtonColor?: ColorDefinition;
|
|
16
|
+
closeButtonBackgroundColor?: ColorDefinition;
|
|
17
|
+
closeButtonPosition?: NavigationBarButtonPosition;
|
|
18
|
+
showSaveButton?: boolean;
|
|
19
|
+
saveButtonText?: string;
|
|
20
|
+
saveButtonColor?: ColorDefinition;
|
|
21
|
+
saveButtonBackgroundColor?: ColorDefinition;
|
|
22
|
+
saveButtonPosition?: NavigationBarButtonPosition;
|
|
23
|
+
onSave?: () => void;
|
|
24
|
+
children?: React.ReactNode;
|
|
13
25
|
className?: string;
|
|
14
|
-
variant?:
|
|
26
|
+
variant?: 'default' | 'compressed';
|
|
27
|
+
backgroundColor?: ColorDefinition;
|
|
15
28
|
titleColor?: ColorDefinition;
|
|
16
29
|
subtitleColor?: ColorDefinition;
|
|
17
30
|
buttonColor?: ColorDefinition;
|
|
31
|
+
buttonBackgroundColor?: ColorDefinition;
|
|
18
32
|
}
|
|
19
33
|
export default function (props: NavigationBarProps): React.JSX.Element;
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import NavigationBar, { NavigationBarProps } from './NavigationBar';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof NavigationBar;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
export declare const WithBackButton: {
|
|
12
|
+
args: {
|
|
13
|
+
title: string;
|
|
14
|
+
showBackButton: boolean;
|
|
15
|
+
};
|
|
16
|
+
render: (args: NavigationBarProps) => React.JSX.Element;
|
|
17
|
+
};
|
|
18
|
+
export declare const WithBackButtonCustomText: {
|
|
19
|
+
args: {
|
|
20
|
+
title: string;
|
|
21
|
+
showBackButton: boolean;
|
|
22
|
+
backButtonText: string;
|
|
23
|
+
};
|
|
24
|
+
render: (args: NavigationBarProps) => React.JSX.Element;
|
|
25
|
+
};
|
|
26
|
+
export declare const WithBackButtonCustomColors: {
|
|
27
|
+
args: {
|
|
28
|
+
title: string;
|
|
29
|
+
showBackButton: boolean;
|
|
30
|
+
backButtonColor: string;
|
|
31
|
+
backButtonBackgroundColor: string;
|
|
32
|
+
};
|
|
33
|
+
render: (args: NavigationBarProps) => React.JSX.Element;
|
|
34
|
+
};
|
|
35
|
+
export declare const WithCloseButton: {
|
|
36
|
+
args: {
|
|
37
|
+
title: string;
|
|
38
|
+
showCloseButton: boolean;
|
|
39
|
+
};
|
|
40
|
+
render: (args: NavigationBarProps) => React.JSX.Element;
|
|
41
|
+
};
|
|
42
|
+
export declare const WithCloseButtonCustomText: {
|
|
43
|
+
args: {
|
|
44
|
+
title: string;
|
|
45
|
+
showCloseButton: boolean;
|
|
46
|
+
closeButtonText: string;
|
|
47
|
+
};
|
|
48
|
+
render: (args: NavigationBarProps) => React.JSX.Element;
|
|
49
|
+
};
|
|
50
|
+
export declare const WithCloseButtonCustomPosition: {
|
|
51
|
+
args: {
|
|
52
|
+
title: string;
|
|
53
|
+
showCloseButton: boolean;
|
|
54
|
+
closeButtonPosition: string;
|
|
55
|
+
};
|
|
56
|
+
render: (args: NavigationBarProps) => React.JSX.Element;
|
|
57
|
+
};
|
|
58
|
+
export declare const WithCloseButtonCustomColors: {
|
|
59
|
+
args: {
|
|
60
|
+
title: string;
|
|
61
|
+
showCloseButton: boolean;
|
|
62
|
+
closeButtonColor: string;
|
|
63
|
+
closeButtonBackgroundColor: string;
|
|
64
|
+
};
|
|
65
|
+
render: (args: NavigationBarProps) => React.JSX.Element;
|
|
66
|
+
};
|
|
67
|
+
export declare const WithSaveButton: {
|
|
68
|
+
args: {
|
|
69
|
+
title: string;
|
|
70
|
+
showSaveButton: boolean;
|
|
71
|
+
onSave: () => void;
|
|
72
|
+
};
|
|
73
|
+
render: (args: NavigationBarProps) => React.JSX.Element;
|
|
74
|
+
};
|
|
75
|
+
export declare const WithSaveButtonCustomText: {
|
|
76
|
+
args: {
|
|
77
|
+
title: string;
|
|
78
|
+
showSaveButton: boolean;
|
|
79
|
+
saveButtonText: string;
|
|
80
|
+
onSave: () => void;
|
|
81
|
+
};
|
|
82
|
+
render: (args: NavigationBarProps) => React.JSX.Element;
|
|
83
|
+
};
|
|
84
|
+
export declare const WithSaveButtonCustomPosition: {
|
|
85
|
+
args: {
|
|
86
|
+
title: string;
|
|
87
|
+
showSaveButton: boolean;
|
|
88
|
+
saveButtonPosition: string;
|
|
89
|
+
onSave: () => void;
|
|
90
|
+
};
|
|
91
|
+
render: (args: NavigationBarProps) => React.JSX.Element;
|
|
92
|
+
};
|
|
93
|
+
export declare const WithSaveButtonCustomColors: {
|
|
94
|
+
args: {
|
|
95
|
+
title: string;
|
|
96
|
+
showSaveButton: boolean;
|
|
97
|
+
saveButtonColor: string;
|
|
98
|
+
saveButtonBackgroundColor: string;
|
|
99
|
+
onSave: () => void;
|
|
100
|
+
};
|
|
101
|
+
render: (args: NavigationBarProps) => React.JSX.Element;
|
|
102
|
+
};
|
|
103
|
+
export declare const Compressed: {
|
|
104
|
+
args: {
|
|
105
|
+
title: string;
|
|
106
|
+
showCloseButton: boolean;
|
|
107
|
+
closeButtonPosition: string;
|
|
108
|
+
showSaveButton: boolean;
|
|
109
|
+
saveButtonColor: string;
|
|
110
|
+
saveButtonBackgroundColor: string;
|
|
111
|
+
onSave: () => void;
|
|
112
|
+
variant: string;
|
|
113
|
+
};
|
|
114
|
+
render: (args: NavigationBarProps) => React.JSX.Element;
|
|
115
|
+
};
|
|
116
|
+
export declare const CompressedWithSubtitle: {
|
|
117
|
+
args: {
|
|
118
|
+
title: string;
|
|
119
|
+
subtitle: string;
|
|
120
|
+
showCloseButton: boolean;
|
|
121
|
+
closeButtonPosition: string;
|
|
122
|
+
showSaveButton: boolean;
|
|
123
|
+
saveButtonColor: string;
|
|
124
|
+
saveButtonBackgroundColor: string;
|
|
125
|
+
onSave: () => void;
|
|
126
|
+
variant: string;
|
|
127
|
+
};
|
|
128
|
+
render: (args: NavigationBarProps) => React.JSX.Element;
|
|
129
|
+
};
|
|
130
|
+
export declare const WithDateRangeNavigator: {
|
|
131
|
+
args: {
|
|
132
|
+
title: string;
|
|
133
|
+
showCloseButton: boolean;
|
|
134
|
+
children: React.JSX.Element;
|
|
135
|
+
};
|
|
136
|
+
render: (args: NavigationBarProps) => React.JSX.Element;
|
|
137
|
+
};
|
|
138
|
+
export declare const WithRoundedDateRangeNavigator: {
|
|
139
|
+
args: {
|
|
140
|
+
title: string;
|
|
141
|
+
showCloseButton: boolean;
|
|
142
|
+
children: React.JSX.Element;
|
|
143
|
+
};
|
|
144
|
+
render: (args: NavigationBarProps) => React.JSX.Element;
|
|
145
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ColorDefinition } from "../../../helpers/colors";
|
|
2
|
+
import "./ProgressBar.css";
|
|
3
|
+
import React, { ReactElement } from "react";
|
|
4
|
+
export interface ProgressBarProps {
|
|
5
|
+
backgroundColor?: ColorDefinition;
|
|
6
|
+
borderColor?: ColorDefinition;
|
|
7
|
+
fillColor?: ColorDefinition;
|
|
8
|
+
fillPercent: number;
|
|
9
|
+
steps?: {
|
|
10
|
+
percent: number;
|
|
11
|
+
icon: ReactElement;
|
|
12
|
+
}[];
|
|
13
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
14
|
+
defaultMargin?: boolean;
|
|
15
|
+
}
|
|
16
|
+
declare function ProgressBar(props: ProgressBarProps): React.JSX.Element;
|
|
17
|
+
declare namespace ProgressBar {
|
|
18
|
+
var defaultProps: {
|
|
19
|
+
backgroundColor: string;
|
|
20
|
+
fillColor: string;
|
|
21
|
+
fillPercent: number;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
export default ProgressBar;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ColorDefinition } from "../../../helpers/colors";
|
|
3
|
+
export interface ProgressBarStepProps {
|
|
4
|
+
borderColor?: ColorDefinition;
|
|
5
|
+
backgroundColor?: ColorDefinition;
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
height: string;
|
|
8
|
+
}
|
|
9
|
+
export default function ProgressBarStep(props: ProgressBarStepProps): 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;
|