@careevolution/mydatahelps-ui 1.11.0 → 1.12.1
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 -9
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/container/ConnectDevice/ConnectDevice.d.ts +13 -0
- package/dist/cjs/types/components/container/ConnectDevice/index.d.ts +1 -0
- package/dist/cjs/types/components/container/ConnectEhr/ConnectEhr.d.ts +1 -0
- package/dist/cjs/types/components/container/ConnectFitbit/ConnectFitbit.d.ts +1 -2
- package/dist/cjs/types/components/container/ConnectGarmin/ConnectGarmin.d.ts +10 -0
- package/dist/cjs/types/components/container/ConnectGarmin/ConnectGarmin.stories.d.ts +11 -0
- package/dist/cjs/types/components/container/ConnectGarmin/index.d.ts +1 -0
- package/dist/cjs/types/components/container/ConnectedDevices/ConnectedDevices.d.ts +12 -0
- package/dist/cjs/types/components/container/ConnectedDevices/index.d.ts +1 -0
- package/dist/cjs/types/components/container/ExternalAccountsLoadingIndicator/ExternalAccountsLoadingIndicator.d.ts +7 -0
- package/dist/cjs/types/components/container/ExternalAccountsLoadingIndicator/ExternalAccountsLoadingIndicator.stories.d.ts +7 -0
- package/dist/cjs/types/components/container/ExternalAccountsLoadingIndicator/index.d.ts +1 -0
- package/dist/cjs/types/components/container/FitbitDevices/FitbitDevices.d.ts +3 -4
- package/dist/cjs/types/components/container/FitbitMonthCharts/FitbitMonthCharts.d.ts +2 -2
- package/dist/cjs/types/components/container/GarminDevices/GarminDevices.d.ts +7 -0
- package/dist/cjs/types/components/container/GarminDevices/GarminDevices.previewdata.d.ts +2 -0
- package/dist/cjs/types/components/container/GarminDevices/GarminDevices.stories.d.ts +7 -0
- package/dist/cjs/types/components/container/GarminDevices/index.d.ts +1 -0
- package/dist/cjs/types/components/container/GarminMonthCharts/GarminMonthCharts.d.ts +6 -0
- package/dist/cjs/types/components/container/GarminMonthCharts/GarminMonthCharts.stories.d.ts +7 -0
- package/dist/cjs/types/components/container/GarminMonthCharts/index.d.ts +1 -0
- package/dist/cjs/types/components/container/HealthPreviewSection/HealthPreviewSection.d.ts +10 -0
- package/dist/cjs/types/components/container/HealthPreviewSection/HealthPreviewSection.previewdata.d.ts +5 -0
- package/dist/cjs/types/components/container/HealthPreviewSection/HealthPreviewSection.stories.d.ts +7 -0
- package/dist/cjs/types/components/container/HealthPreviewSection/index.d.ts +1 -0
- package/dist/cjs/types/components/container/LabResultsSummary/LabResultsSummary.d.ts +10 -0
- package/dist/cjs/types/components/container/LabResultsSummary/LabResultsSummary.previewdata.d.ts +59 -0
- package/dist/cjs/types/components/container/LabResultsSummary/LabResultsSummary.stories.d.ts +8 -0
- package/dist/cjs/types/components/container/LabResultsSummary/index.d.ts +1 -0
- package/dist/cjs/types/components/container/MonthCharts/MonthCharts.d.ts +12 -0
- package/dist/cjs/types/components/container/MonthCharts/index.d.ts +1 -0
- package/dist/cjs/types/components/container/RelativeActivityToday/RelativeActivityToday.d.ts +15 -0
- package/dist/cjs/types/components/container/RelativeActivityToday/RelativeActivityToday.stories.d.ts +6 -0
- package/dist/cjs/types/components/container/RelativeActivityToday/index.d.ts +1 -0
- package/dist/cjs/types/components/container/index.d.ts +5 -0
- package/dist/cjs/types/components/presentational/Action/Action.d.ts +6 -1
- package/dist/cjs/types/components/presentational/Action/Action.stories.d.ts +3 -1
- package/dist/cjs/types/components/presentational/LabResultWithSparkline/LabResultWithSparkline.d.ts +26 -0
- package/dist/cjs/types/components/presentational/LabResultWithSparkline/LabResultWithSparkline.stories.d.ts +5 -0
- package/dist/cjs/types/components/presentational/LabResultWithSparkline/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/Section/Section.d.ts +1 -0
- package/dist/cjs/types/components/view/FitbitView/FitbitView.d.ts +4 -4
- package/dist/cjs/types/components/view/GarminView/GarminView.d.ts +11 -0
- package/dist/cjs/types/components/view/GarminView/GarminView.stories.d.ts +8 -0
- package/dist/cjs/types/components/view/GarminView/index.d.ts +1 -0
- package/dist/cjs/types/components/view/HealthAndWellnessView/HealthAndWellnessView.d.ts +9 -0
- package/dist/cjs/types/components/view/HealthAndWellnessView/HealthAndWellnessView.stories.d.ts +7 -0
- package/dist/cjs/types/components/view/HealthAndWellnessView/index.d.ts +1 -0
- package/dist/cjs/types/components/view/index.d.ts +2 -0
- package/dist/cjs/types/helpers/daily-data-providers/garmin-steps.d.ts +3 -0
- package/dist/cjs/types/helpers/daily-data-providers/index.d.ts +1 -0
- package/dist/cjs/types/helpers/daily-data-providers/query-garmin-single-daily-value.d.ts +3 -0
- package/dist/cjs/types/helpers/query-daily-data.d.ts +2 -0
- package/dist/esm/index.js +8 -9
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/container/ConnectDevice/ConnectDevice.d.ts +13 -0
- package/dist/esm/types/components/container/ConnectDevice/index.d.ts +1 -0
- package/dist/esm/types/components/container/ConnectEhr/ConnectEhr.d.ts +1 -0
- package/dist/esm/types/components/container/ConnectFitbit/ConnectFitbit.d.ts +1 -2
- package/dist/esm/types/components/container/ConnectGarmin/ConnectGarmin.d.ts +10 -0
- package/dist/esm/types/components/container/ConnectGarmin/ConnectGarmin.stories.d.ts +11 -0
- package/dist/esm/types/components/container/ConnectGarmin/index.d.ts +1 -0
- package/dist/esm/types/components/container/ConnectedDevices/ConnectedDevices.d.ts +12 -0
- package/dist/esm/types/components/container/ConnectedDevices/index.d.ts +1 -0
- package/dist/esm/types/components/container/ExternalAccountsLoadingIndicator/ExternalAccountsLoadingIndicator.d.ts +7 -0
- package/dist/esm/types/components/container/ExternalAccountsLoadingIndicator/ExternalAccountsLoadingIndicator.stories.d.ts +7 -0
- package/dist/esm/types/components/container/ExternalAccountsLoadingIndicator/index.d.ts +1 -0
- package/dist/esm/types/components/container/FitbitDevices/FitbitDevices.d.ts +3 -4
- package/dist/esm/types/components/container/FitbitMonthCharts/FitbitMonthCharts.d.ts +2 -2
- package/dist/esm/types/components/container/GarminDevices/GarminDevices.d.ts +7 -0
- package/dist/esm/types/components/container/GarminDevices/GarminDevices.previewdata.d.ts +2 -0
- package/dist/esm/types/components/container/GarminDevices/GarminDevices.stories.d.ts +7 -0
- package/dist/esm/types/components/container/GarminDevices/index.d.ts +1 -0
- package/dist/esm/types/components/container/GarminMonthCharts/GarminMonthCharts.d.ts +6 -0
- package/dist/esm/types/components/container/GarminMonthCharts/GarminMonthCharts.stories.d.ts +7 -0
- package/dist/esm/types/components/container/GarminMonthCharts/index.d.ts +1 -0
- package/dist/esm/types/components/container/HealthPreviewSection/HealthPreviewSection.d.ts +10 -0
- package/dist/esm/types/components/container/HealthPreviewSection/HealthPreviewSection.previewdata.d.ts +5 -0
- package/dist/esm/types/components/container/HealthPreviewSection/HealthPreviewSection.stories.d.ts +7 -0
- package/dist/esm/types/components/container/HealthPreviewSection/index.d.ts +1 -0
- package/dist/esm/types/components/container/LabResultsSummary/LabResultsSummary.d.ts +10 -0
- package/dist/esm/types/components/container/LabResultsSummary/LabResultsSummary.previewdata.d.ts +59 -0
- package/dist/esm/types/components/container/LabResultsSummary/LabResultsSummary.stories.d.ts +8 -0
- package/dist/esm/types/components/container/LabResultsSummary/index.d.ts +1 -0
- package/dist/esm/types/components/container/MonthCharts/MonthCharts.d.ts +12 -0
- package/dist/esm/types/components/container/MonthCharts/index.d.ts +1 -0
- package/dist/esm/types/components/container/RelativeActivityToday/RelativeActivityToday.d.ts +15 -0
- package/dist/esm/types/components/container/RelativeActivityToday/RelativeActivityToday.stories.d.ts +6 -0
- package/dist/esm/types/components/container/RelativeActivityToday/index.d.ts +1 -0
- package/dist/esm/types/components/container/index.d.ts +5 -0
- package/dist/esm/types/components/presentational/Action/Action.d.ts +6 -1
- package/dist/esm/types/components/presentational/Action/Action.stories.d.ts +3 -1
- package/dist/esm/types/components/presentational/LabResultWithSparkline/LabResultWithSparkline.d.ts +26 -0
- package/dist/esm/types/components/presentational/LabResultWithSparkline/LabResultWithSparkline.stories.d.ts +5 -0
- package/dist/esm/types/components/presentational/LabResultWithSparkline/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/Section/Section.d.ts +1 -0
- package/dist/esm/types/components/view/FitbitView/FitbitView.d.ts +4 -4
- package/dist/esm/types/components/view/GarminView/GarminView.d.ts +11 -0
- package/dist/esm/types/components/view/GarminView/GarminView.stories.d.ts +8 -0
- package/dist/esm/types/components/view/GarminView/index.d.ts +1 -0
- package/dist/esm/types/components/view/HealthAndWellnessView/HealthAndWellnessView.d.ts +9 -0
- package/dist/esm/types/components/view/HealthAndWellnessView/HealthAndWellnessView.stories.d.ts +7 -0
- package/dist/esm/types/components/view/HealthAndWellnessView/index.d.ts +1 -0
- package/dist/esm/types/components/view/index.d.ts +2 -0
- package/dist/esm/types/helpers/daily-data-providers/garmin-steps.d.ts +3 -0
- package/dist/esm/types/helpers/daily-data-providers/index.d.ts +1 -0
- package/dist/esm/types/helpers/daily-data-providers/query-garmin-single-daily-value.d.ts +3 -0
- package/dist/esm/types/helpers/query-daily-data.d.ts +2 -0
- package/dist/index.d.ts +120 -51
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -6,13 +6,18 @@ import { IconDefinition as IconDefinition$1 } from '@fortawesome/fontawesome-com
|
|
|
6
6
|
|
|
7
7
|
interface ActionProps {
|
|
8
8
|
title?: string;
|
|
9
|
+
titleIcon?: ReactElement;
|
|
10
|
+
icon?: ReactElement;
|
|
9
11
|
subtitle?: string;
|
|
10
12
|
indicatorIcon?: IconDefinition;
|
|
11
13
|
onClick: Function;
|
|
12
14
|
children?: React.ReactNode;
|
|
13
15
|
className?: string;
|
|
16
|
+
indicatorValue?: string;
|
|
17
|
+
indicatorPosition?: "default" | "topRight";
|
|
18
|
+
bottomBorder?: boolean;
|
|
14
19
|
}
|
|
15
|
-
declare function export_default$
|
|
20
|
+
declare function export_default$11(props: ActionProps): JSX.Element;
|
|
16
21
|
|
|
17
22
|
interface ActivityMeterProps {
|
|
18
23
|
label: string;
|
|
@@ -24,7 +29,7 @@ interface ActivityMeterProps {
|
|
|
24
29
|
message?: string;
|
|
25
30
|
className?: string;
|
|
26
31
|
}
|
|
27
|
-
declare function export_default$
|
|
32
|
+
declare function export_default$10(props: ActivityMeterProps): JSX.Element;
|
|
28
33
|
|
|
29
34
|
interface ButtonProps {
|
|
30
35
|
children?: React.ReactNode;
|
|
@@ -39,7 +44,7 @@ interface ButtonProps {
|
|
|
39
44
|
loading?: boolean;
|
|
40
45
|
variant?: "default" | "subtle";
|
|
41
46
|
}
|
|
42
|
-
declare function export_default
|
|
47
|
+
declare function export_default$$(props: ButtonProps): JSX.Element;
|
|
43
48
|
|
|
44
49
|
interface CalendarProps {
|
|
45
50
|
month: number;
|
|
@@ -47,21 +52,21 @@ interface CalendarProps {
|
|
|
47
52
|
dayRenderer(year: number, month: number, day?: number): JSX.Element | null;
|
|
48
53
|
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
49
54
|
}
|
|
50
|
-
declare function export_default$
|
|
55
|
+
declare function export_default$_(props: CalendarProps): JSX.Element;
|
|
51
56
|
|
|
52
57
|
interface CardProps {
|
|
53
58
|
className?: string;
|
|
54
59
|
children?: React.ReactNode;
|
|
55
60
|
allowOverflow?: boolean;
|
|
56
61
|
}
|
|
57
|
-
declare function export_default$
|
|
62
|
+
declare function export_default$Z(props: CardProps): JSX.Element | null;
|
|
58
63
|
|
|
59
64
|
interface CardTitleProps {
|
|
60
65
|
title: string;
|
|
61
66
|
onDetailClick?: Function;
|
|
62
67
|
detailLinkText?: string;
|
|
63
68
|
}
|
|
64
|
-
declare function export_default$
|
|
69
|
+
declare function export_default$Y(props: CardTitleProps): JSX.Element;
|
|
65
70
|
|
|
66
71
|
interface DateRangeNavigatorProps {
|
|
67
72
|
intervalType: "Week" | "Month";
|
|
@@ -70,14 +75,14 @@ interface DateRangeNavigatorProps {
|
|
|
70
75
|
onIntervalChange(newIntervalStart: Date, newIntervalEnd: Date): void;
|
|
71
76
|
className?: string;
|
|
72
77
|
}
|
|
73
|
-
declare function export_default$
|
|
78
|
+
declare function export_default$X(props: DateRangeNavigatorProps): JSX.Element;
|
|
74
79
|
|
|
75
80
|
interface DayTrackerSymbolProps {
|
|
76
81
|
primaryColors: string[];
|
|
77
82
|
secondaryColors: string[];
|
|
78
83
|
className?: string;
|
|
79
84
|
}
|
|
80
|
-
declare function export_default$
|
|
85
|
+
declare function export_default$W(props: DayTrackerSymbolProps): JSX.Element;
|
|
81
86
|
|
|
82
87
|
interface FaceProps {
|
|
83
88
|
faceValue?: number;
|
|
@@ -85,7 +90,7 @@ interface FaceProps {
|
|
|
85
90
|
onClick?: MouseEventHandler;
|
|
86
91
|
className?: string;
|
|
87
92
|
}
|
|
88
|
-
declare function export_default$
|
|
93
|
+
declare function export_default$V(props: FaceProps): JSX.Element;
|
|
89
94
|
|
|
90
95
|
interface HistogramProps {
|
|
91
96
|
entries: {
|
|
@@ -96,7 +101,7 @@ interface HistogramProps {
|
|
|
96
101
|
}[];
|
|
97
102
|
className?: string;
|
|
98
103
|
}
|
|
99
|
-
declare function export_default$
|
|
104
|
+
declare function export_default$U(props: HistogramProps): JSX.Element;
|
|
100
105
|
|
|
101
106
|
interface LayoutProps {
|
|
102
107
|
children?: React.ReactNode;
|
|
@@ -116,7 +121,7 @@ interface LayoutContext {
|
|
|
116
121
|
bodyBackgroundColor: string;
|
|
117
122
|
}
|
|
118
123
|
declare const LayoutContext: React.Context<LayoutContext>;
|
|
119
|
-
declare function export_default$
|
|
124
|
+
declare function export_default$T(props: LayoutProps): JSX.Element;
|
|
120
125
|
|
|
121
126
|
interface LoadingIndicatorProps {
|
|
122
127
|
variant?: "default" | "inline";
|
|
@@ -135,13 +140,14 @@ interface NavigationBarProps {
|
|
|
135
140
|
className?: string;
|
|
136
141
|
variant?: "default" | "compressed";
|
|
137
142
|
}
|
|
138
|
-
declare function export_default$
|
|
143
|
+
declare function export_default$S(props: NavigationBarProps): JSX.Element;
|
|
139
144
|
|
|
140
145
|
interface SectionProps {
|
|
141
146
|
children?: React.ReactNode;
|
|
142
147
|
className?: string;
|
|
148
|
+
noTopMargin?: boolean;
|
|
143
149
|
}
|
|
144
|
-
declare function export_default$
|
|
150
|
+
declare function export_default$R(props: SectionProps): JSX.Element | null;
|
|
145
151
|
|
|
146
152
|
interface SegmentedControlProps {
|
|
147
153
|
segments: {
|
|
@@ -153,21 +159,21 @@ interface SegmentedControlProps {
|
|
|
153
159
|
className?: string;
|
|
154
160
|
color?: string;
|
|
155
161
|
}
|
|
156
|
-
declare function export_default$
|
|
162
|
+
declare function export_default$Q(props: SegmentedControlProps): JSX.Element;
|
|
157
163
|
|
|
158
|
-
declare function export_default$
|
|
164
|
+
declare function export_default$P(): JSX.Element;
|
|
159
165
|
|
|
160
166
|
interface SingleExternalAccountProps {
|
|
161
167
|
externalAccount: ExternalAccount;
|
|
162
168
|
onAccountRemoved: (account: ExternalAccount) => void;
|
|
163
169
|
onReconnectAccount: (account: ExternalAccount) => void;
|
|
164
170
|
}
|
|
165
|
-
declare function export_default$
|
|
171
|
+
declare function export_default$O(props: SingleExternalAccountProps): JSX.Element;
|
|
166
172
|
|
|
167
173
|
interface SingleNotificationProps {
|
|
168
174
|
notification: Notification;
|
|
169
175
|
}
|
|
170
|
-
declare function export_default$
|
|
176
|
+
declare function export_default$N(props: SingleNotificationProps): JSX.Element;
|
|
171
177
|
|
|
172
178
|
interface SingleSurveyTaskProps {
|
|
173
179
|
task: SurveyTask;
|
|
@@ -175,7 +181,7 @@ interface SingleSurveyTaskProps {
|
|
|
175
181
|
hideDueDate?: boolean;
|
|
176
182
|
disableClick?: boolean;
|
|
177
183
|
}
|
|
178
|
-
declare function export_default$
|
|
184
|
+
declare function export_default$M(props: SingleSurveyTaskProps): JSX.Element | null;
|
|
179
185
|
|
|
180
186
|
interface SparkBarChartProps {
|
|
181
187
|
averageFillPercent: number;
|
|
@@ -185,7 +191,7 @@ interface SparkBarChartBar {
|
|
|
185
191
|
color: string;
|
|
186
192
|
barFillPercent: number;
|
|
187
193
|
}
|
|
188
|
-
declare function export_default$
|
|
194
|
+
declare function export_default$L(props: SparkBarChartProps): JSX.Element;
|
|
189
195
|
|
|
190
196
|
interface SwitchProps {
|
|
191
197
|
isOn: Boolean;
|
|
@@ -193,7 +199,7 @@ interface SwitchProps {
|
|
|
193
199
|
onValueChanged(value: boolean): void;
|
|
194
200
|
className?: string;
|
|
195
201
|
}
|
|
196
|
-
declare function export_default$
|
|
202
|
+
declare function export_default$K(props: SwitchProps): JSX.Element;
|
|
197
203
|
|
|
198
204
|
interface StatusBarBackgroundProps {
|
|
199
205
|
color?: string;
|
|
@@ -204,7 +210,7 @@ interface TextBlockProps {
|
|
|
204
210
|
children?: React.ReactNode;
|
|
205
211
|
className?: string;
|
|
206
212
|
}
|
|
207
|
-
declare function export_default$
|
|
213
|
+
declare function export_default$J(props: TextBlockProps): JSX.Element | null;
|
|
208
214
|
|
|
209
215
|
interface TrackerItemProps {
|
|
210
216
|
selected: boolean;
|
|
@@ -215,7 +221,7 @@ interface TrackerItemProps {
|
|
|
215
221
|
onClick?: Function;
|
|
216
222
|
className?: string;
|
|
217
223
|
}
|
|
218
|
-
declare function export_default$
|
|
224
|
+
declare function export_default$I(props: TrackerItemProps): JSX.Element;
|
|
219
225
|
|
|
220
226
|
interface UnstyledButtonProps {
|
|
221
227
|
onClick: MouseEventHandler;
|
|
@@ -225,7 +231,7 @@ interface UnstyledButtonProps {
|
|
|
225
231
|
style?: React.CSSProperties;
|
|
226
232
|
disabled?: boolean;
|
|
227
233
|
}
|
|
228
|
-
declare function export_default$
|
|
234
|
+
declare function export_default$H(props: UnstyledButtonProps): JSX.Element;
|
|
229
235
|
|
|
230
236
|
interface WeekCalendarProps {
|
|
231
237
|
selectedDate?: Date;
|
|
@@ -236,16 +242,17 @@ interface WeekCalendarProps {
|
|
|
236
242
|
onStartDateChange?(startDate: Date): void;
|
|
237
243
|
dayRenderer(year: number, month: number, day: number, selectedWeek: boolean): JSX.Element | null;
|
|
238
244
|
}
|
|
239
|
-
declare function export_default$
|
|
245
|
+
declare function export_default$G(props: WeekCalendarProps): JSX.Element;
|
|
240
246
|
|
|
241
247
|
interface ConnectEhrProps {
|
|
242
248
|
applicationUrl: ConnectEhrApplicationUrl;
|
|
243
249
|
previewState?: ConnectEhrPreviewState;
|
|
244
250
|
disabledBehavior?: 'hide' | 'displayError';
|
|
251
|
+
bottomBorder?: boolean;
|
|
245
252
|
}
|
|
246
253
|
declare type ConnectEhrApplicationUrl = "preview" | string;
|
|
247
254
|
declare type ConnectEhrPreviewState = "notEnabled" | "enabled" | "enabledConnected" | "enabledNeedsAttention";
|
|
248
|
-
declare function export_default$
|
|
255
|
+
declare function export_default$F(props: ConnectEhrProps): JSX.Element | null;
|
|
249
256
|
|
|
250
257
|
interface ConnectFitbitProps {
|
|
251
258
|
title?: string;
|
|
@@ -254,7 +261,16 @@ interface ConnectFitbitProps {
|
|
|
254
261
|
disabledBehavior?: 'hide' | 'displayError';
|
|
255
262
|
}
|
|
256
263
|
declare type ConnectFitbitPreviewState = ExternalAccountStatus | "notConnected" | "notEnabled";
|
|
257
|
-
declare function export_default$
|
|
264
|
+
declare function export_default$E(props: ConnectFitbitProps): JSX.Element;
|
|
265
|
+
|
|
266
|
+
interface ConnectGarminProps {
|
|
267
|
+
title?: string;
|
|
268
|
+
garminProviderID?: number;
|
|
269
|
+
previewState?: ConnectGarminPreviewState;
|
|
270
|
+
disabledBehavior?: 'hide' | 'displayError';
|
|
271
|
+
}
|
|
272
|
+
declare type ConnectGarminPreviewState = ExternalAccountStatus | "notConnected" | "notEnabled";
|
|
273
|
+
declare function export_default$D(props: ConnectGarminProps): JSX.Element;
|
|
258
274
|
|
|
259
275
|
interface DeviceDataMonthChartProps {
|
|
260
276
|
lines: DeviceDataChartLine[];
|
|
@@ -272,13 +288,13 @@ interface DeviceDataChartLine {
|
|
|
272
288
|
showAverage?: boolean;
|
|
273
289
|
}
|
|
274
290
|
declare type DeviceDataMonthChartPreviewState = "WithData" | "NoData" | "Loading";
|
|
275
|
-
declare function export_default$
|
|
291
|
+
declare function export_default$C(props: DeviceDataMonthChartProps): JSX.Element | null;
|
|
276
292
|
|
|
277
293
|
interface DeviceDataMonthChartsProps {
|
|
278
294
|
previewState?: DeviceDataMonthChartsPreviewState;
|
|
279
295
|
}
|
|
280
296
|
declare type DeviceDataMonthChartsPreviewState = "Default" | "NoData";
|
|
281
|
-
declare function export_default$
|
|
297
|
+
declare function export_default$B(props: DeviceDataMonthChartsProps): JSX.Element;
|
|
282
298
|
|
|
283
299
|
interface ExternalAccountListProps {
|
|
284
300
|
externalAccountProviderCategories?: string[];
|
|
@@ -286,7 +302,7 @@ interface ExternalAccountListProps {
|
|
|
286
302
|
onExternalAccountsLoaded?: (accounts: ExternalAccount[]) => void;
|
|
287
303
|
}
|
|
288
304
|
declare type NotificationListPreviewState$1 = "Default";
|
|
289
|
-
declare function export_default$
|
|
305
|
+
declare function export_default$A(props: ExternalAccountListProps): JSX.Element;
|
|
290
306
|
|
|
291
307
|
interface ExternalAccountsPreviewProps {
|
|
292
308
|
excludeProviders?: boolean;
|
|
@@ -297,19 +313,53 @@ interface ExternalAccountsPreviewProps {
|
|
|
297
313
|
}
|
|
298
314
|
declare type ExternalAccountsApplicationUrl = "preview" | string;
|
|
299
315
|
declare type ExternalAccountsPreviewPreviewState = "Default";
|
|
300
|
-
declare function export_default$
|
|
316
|
+
declare function export_default$z(props: ExternalAccountsPreviewProps): JSX.Element | null;
|
|
317
|
+
|
|
318
|
+
declare type ConnectedDevicesPreviewState = "notEnabled" | "notConnected" | "connected";
|
|
301
319
|
|
|
302
320
|
interface FitbitDevicesProps {
|
|
303
|
-
previewState?:
|
|
321
|
+
previewState?: ConnectedDevicesPreviewState;
|
|
304
322
|
}
|
|
305
|
-
declare
|
|
306
|
-
|
|
323
|
+
declare function export_default$y(props: FitbitDevicesProps): JSX.Element;
|
|
324
|
+
|
|
325
|
+
declare type MonthChartsPreviewState = "notEnabled" | "notConnected" | "connected";
|
|
307
326
|
|
|
308
327
|
interface FitbitMonthChartsProps {
|
|
309
|
-
previewState?:
|
|
328
|
+
previewState?: MonthChartsPreviewState;
|
|
310
329
|
}
|
|
311
|
-
declare
|
|
312
|
-
|
|
330
|
+
declare function export_default$x(props: FitbitMonthChartsProps): JSX.Element;
|
|
331
|
+
|
|
332
|
+
interface GarminDevicesProps {
|
|
333
|
+
previewState?: ConnectedDevicesPreviewState;
|
|
334
|
+
}
|
|
335
|
+
declare function export_default$w(props: GarminDevicesProps): JSX.Element;
|
|
336
|
+
|
|
337
|
+
interface GarminMonthChartsProps {
|
|
338
|
+
previewState?: MonthChartsPreviewState;
|
|
339
|
+
}
|
|
340
|
+
declare function export_default$v(props: GarminMonthChartsProps): JSX.Element;
|
|
341
|
+
|
|
342
|
+
declare type HealthPreviewSectionConcept = "Medications" | "Immunizations" | "Reports" | "Allergies" | "Conditions" | "Procedures";
|
|
343
|
+
interface HealthPreviewSectionProps {
|
|
344
|
+
concept: HealthPreviewSectionConcept;
|
|
345
|
+
onClick(): void;
|
|
346
|
+
previewState?: "NoData" | "Default";
|
|
347
|
+
indicatorPosition?: "default" | "topRight";
|
|
348
|
+
}
|
|
349
|
+
declare function export_default$u(props: HealthPreviewSectionProps): JSX.Element | null;
|
|
350
|
+
|
|
351
|
+
interface TermInformation {
|
|
352
|
+
TermFamily: string;
|
|
353
|
+
TermNamespace: string;
|
|
354
|
+
TermCode: string;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
interface LabResultsSummaryProps {
|
|
358
|
+
previewState?: "ImportantLabs" | "RecentLabs" | "NoData";
|
|
359
|
+
onClick(): void;
|
|
360
|
+
onViewTermInfo(termInfo: TermInformation): void;
|
|
361
|
+
}
|
|
362
|
+
declare function export_default$t(props: LabResultsSummaryProps): JSX.Element | null;
|
|
313
363
|
|
|
314
364
|
interface MostRecentNotificationProps {
|
|
315
365
|
notificationType?: NotificationType;
|
|
@@ -318,39 +368,39 @@ interface MostRecentNotificationProps {
|
|
|
318
368
|
previewState?: MostRecentNotificationPreviewState;
|
|
319
369
|
}
|
|
320
370
|
declare type MostRecentNotificationPreviewState = "Default";
|
|
321
|
-
declare function export_default$
|
|
371
|
+
declare function export_default$s(props: MostRecentNotificationProps): JSX.Element | null;
|
|
322
372
|
|
|
323
373
|
interface NotificationListProps {
|
|
324
374
|
notificationType?: NotificationType;
|
|
325
375
|
previewState?: NotificationListPreviewState;
|
|
326
376
|
}
|
|
327
377
|
declare type NotificationListPreviewState = "Default" | "NoData";
|
|
328
|
-
declare function export_default$
|
|
378
|
+
declare function export_default$r(props: NotificationListProps): JSX.Element;
|
|
329
379
|
|
|
330
380
|
interface PlatformSpecificContentProps {
|
|
331
381
|
platforms: string[];
|
|
332
382
|
children?: React.ReactNode;
|
|
333
383
|
}
|
|
334
|
-
declare function export_default$
|
|
384
|
+
declare function export_default$q(props: PlatformSpecificContentProps): JSX.Element | null;
|
|
335
385
|
|
|
336
386
|
interface ProjectHeaderProps {
|
|
337
387
|
previewState?: ProjectHeaderPropsPreviewState;
|
|
338
388
|
}
|
|
339
389
|
declare type ProjectHeaderPropsPreviewState = "Default";
|
|
340
|
-
declare function export_default$
|
|
390
|
+
declare function export_default$p(props: ProjectHeaderProps): JSX.Element;
|
|
341
391
|
|
|
342
392
|
interface ProjectSupportProps {
|
|
343
393
|
previewState?: ProjectSupportPropsPreviewState;
|
|
344
394
|
}
|
|
345
395
|
declare type ProjectSupportPropsPreviewState = "Default";
|
|
346
|
-
declare function export_default$
|
|
396
|
+
declare function export_default$o(props: ProjectSupportProps): JSX.Element | null;
|
|
347
397
|
|
|
348
398
|
interface ProviderSearchProps {
|
|
349
399
|
previewState?: ProviderSearchPreviewState;
|
|
350
400
|
providerCategories?: string[];
|
|
351
401
|
}
|
|
352
402
|
declare type ProviderSearchPreviewState = "Default";
|
|
353
|
-
declare function export_default$
|
|
403
|
+
declare function export_default$n(props: ProviderSearchProps): JSX.Element;
|
|
354
404
|
|
|
355
405
|
interface SurveyTaskListProps {
|
|
356
406
|
status: SurveyTaskStatus;
|
|
@@ -361,7 +411,7 @@ interface SurveyTaskListProps {
|
|
|
361
411
|
previewState?: SurveyTaskListListPreviewState;
|
|
362
412
|
}
|
|
363
413
|
declare type SurveyTaskListListPreviewState = "IncompleteTasks" | "CompleteTasks";
|
|
364
|
-
declare function export_default$
|
|
414
|
+
declare function export_default$m(props: SurveyTaskListProps): JSX.Element | null;
|
|
365
415
|
|
|
366
416
|
interface ConnectEhrViewProps {
|
|
367
417
|
externalAccountsApplicationUrl: ExternalAccountsApplicationUrl;
|
|
@@ -372,13 +422,13 @@ interface ConnectEhrViewProps {
|
|
|
372
422
|
colorScheme?: "auto" | "light" | "dark";
|
|
373
423
|
}
|
|
374
424
|
declare type ViewPresentationType$3 = "Modal" | "Push";
|
|
375
|
-
declare function export_default$
|
|
425
|
+
declare function export_default$l(props: ConnectEhrViewProps): JSX.Element;
|
|
376
426
|
|
|
377
427
|
interface DeviceDataViewProps {
|
|
378
428
|
preview?: boolean;
|
|
379
429
|
colorScheme?: "auto" | "light" | "dark";
|
|
380
430
|
}
|
|
381
|
-
declare function export_default$
|
|
431
|
+
declare function export_default$k(props: DeviceDataViewProps): JSX.Element;
|
|
382
432
|
|
|
383
433
|
interface ExternalAccountsViewProps {
|
|
384
434
|
excludeProviders?: boolean;
|
|
@@ -389,15 +439,23 @@ interface ExternalAccountsViewProps {
|
|
|
389
439
|
colorScheme?: "auto" | "light" | "dark";
|
|
390
440
|
}
|
|
391
441
|
declare type ViewPresentationType$2 = "Modal" | "Push";
|
|
392
|
-
declare function export_default$
|
|
442
|
+
declare function export_default$j(props: ExternalAccountsViewProps): JSX.Element;
|
|
393
443
|
|
|
394
444
|
interface FitbitViewProps {
|
|
395
445
|
connectPreview?: ConnectFitbitPreviewState;
|
|
396
|
-
devicesPreview?:
|
|
397
|
-
chartsPreview?:
|
|
446
|
+
devicesPreview?: ConnectedDevicesPreviewState;
|
|
447
|
+
chartsPreview?: MonthChartsPreviewState;
|
|
398
448
|
colorScheme?: "auto" | "light" | "dark";
|
|
399
449
|
}
|
|
400
|
-
declare function export_default$
|
|
450
|
+
declare function export_default$i(props: FitbitViewProps): JSX.Element;
|
|
451
|
+
|
|
452
|
+
interface GarminViewProps {
|
|
453
|
+
connectPreview?: ConnectGarminPreviewState;
|
|
454
|
+
devicesPreview?: ConnectedDevicesPreviewState;
|
|
455
|
+
chartsPreview?: MonthChartsPreviewState;
|
|
456
|
+
garminProviderID?: number;
|
|
457
|
+
}
|
|
458
|
+
declare function export_default$h(props: GarminViewProps): JSX.Element;
|
|
401
459
|
|
|
402
460
|
interface HomeViewProps {
|
|
403
461
|
/**
|
|
@@ -416,7 +474,16 @@ interface HomeViewProps {
|
|
|
416
474
|
preview?: boolean;
|
|
417
475
|
colorScheme?: "auto" | "light" | "dark";
|
|
418
476
|
}
|
|
419
|
-
declare function export_default$
|
|
477
|
+
declare function export_default$g(props: HomeViewProps): JSX.Element;
|
|
478
|
+
|
|
479
|
+
interface HealthAndWellnessViewProps {
|
|
480
|
+
previewState?: "default";
|
|
481
|
+
colorScheme?: "auto" | "light" | "dark";
|
|
482
|
+
connectEhrApplicationUrl: string;
|
|
483
|
+
externalAccountsApplicationUrl: string;
|
|
484
|
+
variant?: "default" | "cardBased";
|
|
485
|
+
}
|
|
486
|
+
declare function export_default$f(props: HealthAndWellnessViewProps): JSX.Element;
|
|
420
487
|
|
|
421
488
|
interface NotificationsViewProps {
|
|
422
489
|
notificationType?: NotificationType;
|
|
@@ -550,9 +617,11 @@ declare enum DailyDataType {
|
|
|
550
617
|
FitbitDeepSleepMinutes = "FitbitDeepSleepMinutes",
|
|
551
618
|
FitbitSpO2 = "FitbitSpO2",
|
|
552
619
|
FitbitSteps = "FitbitSteps",
|
|
620
|
+
GarminRestingHeartRate = "GarminRestingHeartRate",
|
|
621
|
+
GarminSteps = "GarminSteps",
|
|
553
622
|
GoogleFitSteps = "GoogleFitSteps",
|
|
554
623
|
Steps = "Steps",
|
|
555
624
|
RestingHeartRate = "RestingHeartRate"
|
|
556
625
|
}
|
|
557
626
|
|
|
558
|
-
export { export_default$
|
|
627
|
+
export { export_default$11 as Action, export_default$10 as ActivityMeter, export_default$$ as Button, export_default$_ as Calendar, export_default$Z as Card, export_default$Y as CardTitle, export_default$2 as CelebrationStep, export_default$1 as CelebrationStepContainer, export_default$F as ConnectEhr, export_default$l as ConnectEhrView, export_default$E as ConnectFitbit, export_default$D as ConnectGarmin, DailyDataAvailabilityCheck, DailyDataProvider, DailyDataQueryResult, DailyDataType, export_default$X as DateRangeNavigator, export_default$W as DayTrackerSymbol, DeviceDataChartLine, export_default$C as DeviceDataMonthChart, export_default$B as DeviceDataMonthCharts, export_default$k as DeviceDataView, export_default$A as ExternalAccountList, export_default$z as ExternalAccountsPreview, export_default$j as ExternalAccountsView, export_default$V as Face, export_default$y as FitbitDevices, export_default$x as FitbitMonthCharts, export_default$i as FitbitView, export_default$w as GarminDevices, export_default$v as GarminMonthCharts, export_default$h as GarminView, export_default$f as HealthAndWellnessView, export_default$u as HealthPreviewSection, export_default$U as Histogram, export_default$g as HomeView, export_default$t as LabResultsSummary, export_default$T as Layout, LayoutContext, LoadingIndicator, export_default$s as MostRecentNotification, export_default$S as NavigationBar, export_default$r as NotificationList, export_default$e as NotificationsView, export_default$q as PlatformSpecificContent, export_default$p as ProjectHeader, export_default$o as ProjectSupport, export_default$n as ProviderSearch, export_default$n as RestingHeartRateCalendar, export_default$R as Section, export_default$Q as SegmentedControl, export_default$P as ShinyOverlay, export_default$O as SingleExternalAccount, export_default$N as SingleNotification, export_default$M as SingleSurveyTask, export_default$L as SparkBarChart, SparkBarChartBar, StatusBarBackgroundProps as StatusBarBackground, export_default$8 as StepDetailText, export_default$6 as StepImage, export_default$5 as StepImageIcon, export_default$b as StepLayout, export_default$c as StepMarkdown, export_default$7 as StepNextButton, export_default$9 as StepText, export_default$a as StepTitle, export_default$m as SurveyTaskList, export_default$d as SurveyTasksView, export_default$K as Switch, export_default$J as TextBlock, export_default$I as TrackerItem, export_default$H as UnstyledButton, export_default$G as WeekCalendar, export_default$4 as YouTubeStep, export_default$3 as YouTubeStepContainer, checkDailyDataAvailability, queryDailyData, registerDailyDataProvider, export_default as useInterval };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@careevolution/mydatahelps-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.12.1",
|
|
4
4
|
"description": "MyDataHelps UI Library",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"recharts": "^2.5.0"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
|
-
"@careevolution/mydatahelps-js": "^3.
|
|
68
|
+
"@careevolution/mydatahelps-js": "^3.6.0",
|
|
69
69
|
"react": "^17.0.2",
|
|
70
70
|
"react-dom": "^17.0.2"
|
|
71
71
|
},
|