@careevolution/mydatahelps-ui 2.9.1-AsthmaUI.0 → 2.9.1-AsthmaUI.10
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 +8 -8
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/asthma/container/AsthmaAirQualities/AsthmaAirQualities.d.ts +0 -1
- package/dist/cjs/types/components/asthma/container/AsthmaBiometrics/AsthmaBiometrics.d.ts +0 -1
- package/dist/cjs/types/components/asthma/container/AsthmaTools/AsthmaTools.d.ts +6 -0
- package/dist/cjs/types/components/asthma/container/AsthmaTools/AsthmaTools.stories.d.ts +13 -0
- package/dist/cjs/types/components/asthma/container/AsthmaTools/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/container/index.d.ts +1 -2
- package/dist/cjs/types/components/asthma/index.d.ts +0 -1
- package/dist/cjs/types/components/asthma/presentational/AsthmaBiometricsCoordinator/AsthmaBiometricsCoordinator.d.ts +7 -0
- package/dist/cjs/types/components/asthma/presentational/AsthmaBiometricsCoordinator/AsthmaBiometricsCoordinator.stories.d.ts +16 -0
- package/dist/cjs/types/components/asthma/presentational/AsthmaBiometricsCoordinator/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/presentational/AsthmaFacts/AsthmaFacts.d.ts +5 -0
- package/dist/cjs/types/components/asthma/presentational/AsthmaFacts/AsthmaFacts.stories.d.ts +19 -0
- package/dist/cjs/types/components/asthma/presentational/AsthmaFacts/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/presentational/AsthmaToolLink/AsthmaToolLink.d.ts +8 -0
- package/dist/cjs/types/components/asthma/presentational/AsthmaToolLink/AsthmaToolLink.stories.d.ts +17 -0
- package/dist/cjs/types/components/asthma/presentational/AsthmaToolLink/index.d.ts +1 -0
- package/dist/cjs/types/components/asthma/presentational/index.d.ts +3 -1
- 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/ColumnPanel/ColumnPanel.d.ts +8 -0
- package/dist/cjs/types/components/presentational/ColumnPanel/ColumnPanel.stories.d.ts +31 -0
- package/dist/cjs/types/components/presentational/ColumnPanel/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/DataCoordinator/DataCoordinator.d.ts +20 -0
- package/dist/{esm/types/components/asthma/views/AsthmaDataView/AsthmaDataView.stories.d.ts → cjs/types/components/presentational/DataCoordinator/DataCoordinator.stories.d.ts} +4 -4
- package/dist/cjs/types/components/presentational/DataCoordinator/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/DataItem/DataItem.d.ts +7 -0
- package/dist/cjs/types/components/presentational/DataItem/DataItem.stories.d.ts +110 -0
- package/dist/cjs/types/components/presentational/DataItem/index.d.ts +1 -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/index.d.ts +8 -2
- package/dist/esm/index.js +8 -8
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/asthma/container/AsthmaAirQualities/AsthmaAirQualities.d.ts +0 -1
- package/dist/esm/types/components/asthma/container/AsthmaBiometrics/AsthmaBiometrics.d.ts +0 -1
- package/dist/esm/types/components/asthma/container/AsthmaTools/AsthmaTools.d.ts +6 -0
- package/dist/esm/types/components/asthma/container/AsthmaTools/AsthmaTools.stories.d.ts +13 -0
- package/dist/esm/types/components/asthma/container/AsthmaTools/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/container/index.d.ts +1 -2
- package/dist/esm/types/components/asthma/index.d.ts +0 -1
- package/dist/esm/types/components/asthma/presentational/AsthmaBiometricsCoordinator/AsthmaBiometricsCoordinator.d.ts +7 -0
- package/dist/esm/types/components/asthma/presentational/AsthmaBiometricsCoordinator/AsthmaBiometricsCoordinator.stories.d.ts +16 -0
- package/dist/esm/types/components/asthma/presentational/AsthmaBiometricsCoordinator/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/presentational/AsthmaFacts/AsthmaFacts.d.ts +5 -0
- package/dist/esm/types/components/asthma/presentational/AsthmaFacts/AsthmaFacts.stories.d.ts +19 -0
- package/dist/esm/types/components/asthma/presentational/AsthmaFacts/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/presentational/AsthmaToolLink/AsthmaToolLink.d.ts +8 -0
- package/dist/esm/types/components/asthma/presentational/AsthmaToolLink/AsthmaToolLink.stories.d.ts +17 -0
- package/dist/esm/types/components/asthma/presentational/AsthmaToolLink/index.d.ts +1 -0
- package/dist/esm/types/components/asthma/presentational/index.d.ts +3 -1
- 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/ColumnPanel/ColumnPanel.d.ts +8 -0
- package/dist/esm/types/components/presentational/ColumnPanel/ColumnPanel.stories.d.ts +31 -0
- package/dist/esm/types/components/presentational/ColumnPanel/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/DataCoordinator/DataCoordinator.d.ts +20 -0
- package/dist/{cjs/types/components/asthma/views/AsthmaDataView/AsthmaDataView.stories.d.ts → esm/types/components/presentational/DataCoordinator/DataCoordinator.stories.d.ts} +4 -4
- package/dist/esm/types/components/presentational/DataCoordinator/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/DataItem/DataItem.d.ts +7 -0
- package/dist/esm/types/components/presentational/DataItem/DataItem.stories.d.ts +110 -0
- package/dist/esm/types/components/presentational/DataItem/index.d.ts +1 -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/index.d.ts +8 -2
- package/dist/index.d.ts +191 -143
- 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/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/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/index.d.ts +0 -1
- package/dist/cjs/types/components/asthma/views/index.d.ts +0 -3
- 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/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/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/index.d.ts +0 -1
- package/dist/esm/types/components/asthma/views/index.d.ts +0 -3
- 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
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import DataItem from './DataItem';
|
|
3
|
+
import { Data } from '../../presentational';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: typeof DataItem;
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
12
|
+
interface DataItemStoryProps {
|
|
13
|
+
data: Record<string, Data>;
|
|
14
|
+
dataKey: string;
|
|
15
|
+
}
|
|
16
|
+
export declare const Establishing: {
|
|
17
|
+
args: {
|
|
18
|
+
data: {
|
|
19
|
+
rhr: {
|
|
20
|
+
label: string;
|
|
21
|
+
value: number;
|
|
22
|
+
units: string;
|
|
23
|
+
status: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
dataKey: string;
|
|
27
|
+
};
|
|
28
|
+
render: (args: DataItemStoryProps) => React.JSX.Element;
|
|
29
|
+
};
|
|
30
|
+
export declare const Offline: {
|
|
31
|
+
args: {
|
|
32
|
+
data: {
|
|
33
|
+
rhr: {
|
|
34
|
+
label: string;
|
|
35
|
+
value: number;
|
|
36
|
+
units: string;
|
|
37
|
+
status: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
dataKey: string;
|
|
41
|
+
};
|
|
42
|
+
render: (args: DataItemStoryProps) => React.JSX.Element;
|
|
43
|
+
};
|
|
44
|
+
export declare const InRange: {
|
|
45
|
+
args: {
|
|
46
|
+
data: {
|
|
47
|
+
rhr: {
|
|
48
|
+
label: string;
|
|
49
|
+
value: number;
|
|
50
|
+
units: string;
|
|
51
|
+
status: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
dataKey: string;
|
|
55
|
+
};
|
|
56
|
+
render: (args: DataItemStoryProps) => React.JSX.Element;
|
|
57
|
+
};
|
|
58
|
+
export declare const OutOfRange: {
|
|
59
|
+
args: {
|
|
60
|
+
data: {
|
|
61
|
+
rhr: {
|
|
62
|
+
label: string;
|
|
63
|
+
value: number;
|
|
64
|
+
units: string;
|
|
65
|
+
status: string;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
dataKey: string;
|
|
69
|
+
};
|
|
70
|
+
render: (args: DataItemStoryProps) => React.JSX.Element;
|
|
71
|
+
};
|
|
72
|
+
export declare const NoUnits: {
|
|
73
|
+
args: {
|
|
74
|
+
data: {
|
|
75
|
+
steps: {
|
|
76
|
+
label: string;
|
|
77
|
+
value: number;
|
|
78
|
+
status: string;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
dataKey: string;
|
|
82
|
+
};
|
|
83
|
+
render: (args: DataItemStoryProps) => React.JSX.Element;
|
|
84
|
+
};
|
|
85
|
+
export declare const NoValue: {
|
|
86
|
+
args: {
|
|
87
|
+
data: {
|
|
88
|
+
haqi: {
|
|
89
|
+
label: string;
|
|
90
|
+
status: string;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
dataKey: string;
|
|
94
|
+
};
|
|
95
|
+
render: (args: DataItemStoryProps) => React.JSX.Element;
|
|
96
|
+
};
|
|
97
|
+
export declare const StatusTextOverride: {
|
|
98
|
+
args: {
|
|
99
|
+
data: {
|
|
100
|
+
haqi: {
|
|
101
|
+
label: string;
|
|
102
|
+
value: number;
|
|
103
|
+
status: string;
|
|
104
|
+
statusText: string;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
dataKey: string;
|
|
108
|
+
};
|
|
109
|
+
render: (args: DataItemStoryProps) => React.JSX.Element;
|
|
110
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './DataItem';
|
|
@@ -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;
|
|
@@ -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/cjs/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
|
+
};
|
|
@@ -1,10 +1,13 @@
|
|
|
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
|
+
export { default as ColumnPanel } from "./ColumnPanel";
|
|
9
|
+
export { default as DataCoordinator, DataContext, Data, DataStatus } from "./DataCoordinator";
|
|
10
|
+
export { default as DataItem } from "./DataItem";
|
|
8
11
|
export { default as DateRangeCoordinator, DateRangeContext } from "./DateRangeCoordinator";
|
|
9
12
|
export { default as DateRangeNavigator } from "./DateRangeNavigator";
|
|
10
13
|
export { default as DayTrackerSymbol } from "./DayTrackerSymbol";
|
|
@@ -14,6 +17,10 @@ export { default as Layout, LayoutContext } from "./Layout";
|
|
|
14
17
|
export { default as LoadingIndicator } from "./LoadingIndicator";
|
|
15
18
|
export { default as NavigationBar } from "./NavigationBar";
|
|
16
19
|
export { default as NotesInput } from "./NotesInput";
|
|
20
|
+
export { default as ProgressBar } from "./ProgressBar";
|
|
21
|
+
export { default as ProgressBarStep } from "./ProgressBar/ProgressBarStep";
|
|
22
|
+
export { default as ProgressRing } from "./ProgressRing";
|
|
23
|
+
export { default as RotatingText, RotatingTextEntry } from "./RotatingText";
|
|
17
24
|
export { default as Section } from "./Section";
|
|
18
25
|
export { default as SegmentedControl } from "./SegmentedControl";
|
|
19
26
|
export { default as ShinyOverlay } from "./ShinyOverlay";
|
|
@@ -29,4 +36,3 @@ export { default as TrackerItem } from "./TrackerItem";
|
|
|
29
36
|
export { default as UnstyledButton } from "./UnstyledButton";
|
|
30
37
|
export { default as ViewHeader } from "./ViewHeader";
|
|
31
38
|
export { default as WeekCalendar } from "./WeekCalendar";
|
|
32
|
-
export { default as ProgressRing } from "./ProgressRing";
|