@careevolution/mydatahelps-ui 2.4.1-Points.6 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +8 -8
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/container/DailyDataChart/DailyDataChart.stories.d.ts +12 -0
- package/dist/cjs/types/components/presentational/index.d.ts +0 -1
- package/dist/cjs/types/components/view/index.d.ts +0 -1
- package/dist/cjs/types/helpers/daily-data-providers/combined-steps.d.ts +1 -3
- package/dist/esm/index.js +9 -9
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/container/DailyDataChart/DailyDataChart.stories.d.ts +12 -0
- package/dist/esm/types/components/presentational/index.d.ts +0 -1
- package/dist/esm/types/components/view/index.d.ts +0 -1
- package/dist/esm/types/helpers/daily-data-providers/combined-steps.d.ts +1 -3
- package/dist/index.d.ts +61 -87
- package/package.json +1 -1
- package/dist/cjs/types/components/presentational/AnimatedRing/AnimatedRing.d.ts +0 -8
- package/dist/cjs/types/components/presentational/AnimatedRing/AnimatedRing.stories.d.ts +0 -24
- package/dist/cjs/types/components/presentational/AnimatedRing/index.d.ts +0 -1
- package/dist/cjs/types/components/view/NewPointsView/NewPointsView.d.ts +0 -20
- package/dist/cjs/types/components/view/NewPointsView/NewPointsView.stories.d.ts +0 -192
- package/dist/cjs/types/components/view/NewPointsView/index.d.ts +0 -1
- package/dist/esm/types/components/presentational/AnimatedRing/AnimatedRing.d.ts +0 -8
- package/dist/esm/types/components/presentational/AnimatedRing/AnimatedRing.stories.d.ts +0 -24
- package/dist/esm/types/components/presentational/AnimatedRing/index.d.ts +0 -1
- package/dist/esm/types/components/view/NewPointsView/NewPointsView.d.ts +0 -20
- package/dist/esm/types/components/view/NewPointsView/NewPointsView.stories.d.ts +0 -192
- package/dist/esm/types/components/view/NewPointsView/index.d.ts +0 -1
|
@@ -38,6 +38,18 @@ export declare const stepsBarChart: {
|
|
|
38
38
|
};
|
|
39
39
|
render: (args: DailyDataChartProps) => React.JSX.Element;
|
|
40
40
|
};
|
|
41
|
+
export declare const stepsLiveBarChart: {
|
|
42
|
+
args: {
|
|
43
|
+
title: string;
|
|
44
|
+
options: {};
|
|
45
|
+
intervalType: string;
|
|
46
|
+
weekStartsOn: string;
|
|
47
|
+
dailyDataType: DailyDataType;
|
|
48
|
+
valueFormatter: (value: number) => string;
|
|
49
|
+
chartType: string;
|
|
50
|
+
};
|
|
51
|
+
render: (args: DailyDataChartProps) => React.JSX.Element;
|
|
52
|
+
};
|
|
41
53
|
export declare const stepsAreaChart: {
|
|
42
54
|
args: {
|
|
43
55
|
title: string;
|
|
@@ -26,4 +26,3 @@ export { default as TrackerItem } from "./TrackerItem";
|
|
|
26
26
|
export { default as UnstyledButton } from "./UnstyledButton";
|
|
27
27
|
export { default as ViewHeader } from "./ViewHeader";
|
|
28
28
|
export { default as WeekCalendar } from "./WeekCalendar";
|
|
29
|
-
export { default as AnimatedRing } from "./AnimatedRing";
|
|
@@ -8,4 +8,3 @@ export { default as HomeView } from "./HomeView";
|
|
|
8
8
|
export { default as HealthAndWellnessView } from "./HealthAndWellnessView";
|
|
9
9
|
export { default as NotificationsView } from "./NotificationsView";
|
|
10
10
|
export { default as SurveyTasksView } from "./SurveyTasksView";
|
|
11
|
-
export { default as NewPointsView, NewPointsViewProps, NewPointsEntry, showNewPoints } from "./NewPointsView";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { ReactElement, MouseEventHandler
|
|
1
|
+
import React, { ReactElement, MouseEventHandler } from 'react';
|
|
2
2
|
import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
3
3
|
import { StatusBarStyle, ExternalAccount, Notification, SurveyTask, ExternalAccountStatus, NotificationType, ExternalAccountProvider, SurveyTaskStatus } from '@careevolution/mydatahelps-js';
|
|
4
4
|
import { IconDefinition as IconDefinition$1 } from '@fortawesome/fontawesome-common-types';
|
|
@@ -16,7 +16,7 @@ interface ActionProps {
|
|
|
16
16
|
indicatorPosition?: "default" | "topRight";
|
|
17
17
|
bottomBorder?: boolean;
|
|
18
18
|
}
|
|
19
|
-
declare function export_default$
|
|
19
|
+
declare function export_default$1b(props: ActionProps): React.JSX.Element;
|
|
20
20
|
|
|
21
21
|
interface ActivityMeterProps {
|
|
22
22
|
label: string;
|
|
@@ -28,7 +28,7 @@ interface ActivityMeterProps {
|
|
|
28
28
|
message?: string;
|
|
29
29
|
className?: string;
|
|
30
30
|
}
|
|
31
|
-
declare function export_default$
|
|
31
|
+
declare function export_default$1a(props: ActivityMeterProps): React.JSX.Element;
|
|
32
32
|
|
|
33
33
|
interface ButtonProps {
|
|
34
34
|
children?: React.ReactNode;
|
|
@@ -43,7 +43,7 @@ interface ButtonProps {
|
|
|
43
43
|
loading?: boolean;
|
|
44
44
|
variant?: "default" | "subtle" | "light";
|
|
45
45
|
}
|
|
46
|
-
declare function export_default$
|
|
46
|
+
declare function export_default$19(props: ButtonProps): React.JSX.Element;
|
|
47
47
|
|
|
48
48
|
interface CalendarProps {
|
|
49
49
|
month: number;
|
|
@@ -51,7 +51,7 @@ interface CalendarProps {
|
|
|
51
51
|
dayRenderer(year: number, month: number, day?: number): JSX.Element | null;
|
|
52
52
|
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
53
53
|
}
|
|
54
|
-
declare function export_default$
|
|
54
|
+
declare function export_default$18(props: CalendarProps): React.JSX.Element;
|
|
55
55
|
|
|
56
56
|
interface CardProps {
|
|
57
57
|
className?: string;
|
|
@@ -59,14 +59,14 @@ interface CardProps {
|
|
|
59
59
|
allowOverflow?: boolean;
|
|
60
60
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
61
61
|
}
|
|
62
|
-
declare function export_default$
|
|
62
|
+
declare function export_default$17(props: CardProps): React.JSX.Element | null;
|
|
63
63
|
|
|
64
64
|
interface CardTitleProps {
|
|
65
65
|
title: string;
|
|
66
66
|
onDetailClick?: Function;
|
|
67
67
|
detailLinkText?: string;
|
|
68
68
|
}
|
|
69
|
-
declare function export_default$
|
|
69
|
+
declare function export_default$16(props: CardTitleProps): React.JSX.Element;
|
|
70
70
|
|
|
71
71
|
declare type WeekStartsOn = "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "6DaysAgo" | "7DaysAgo";
|
|
72
72
|
declare function getWeekStart(weekStartsOn?: WeekStartsOn): Date;
|
|
@@ -87,14 +87,14 @@ interface DateRangeNavigatorProps {
|
|
|
87
87
|
onIntervalChange(newIntervalStart: Date, newIntervalEnd: Date): void;
|
|
88
88
|
className?: string;
|
|
89
89
|
}
|
|
90
|
-
declare function export_default$
|
|
90
|
+
declare function export_default$15(props: DateRangeNavigatorProps): React.JSX.Element;
|
|
91
91
|
|
|
92
92
|
interface DayTrackerSymbolProps {
|
|
93
93
|
primaryColors: string[];
|
|
94
94
|
secondaryColors: string[];
|
|
95
95
|
className?: string;
|
|
96
96
|
}
|
|
97
|
-
declare function export_default$
|
|
97
|
+
declare function export_default$14(props: DayTrackerSymbolProps): React.JSX.Element;
|
|
98
98
|
|
|
99
99
|
interface FaceProps {
|
|
100
100
|
faceValue?: number;
|
|
@@ -102,7 +102,7 @@ interface FaceProps {
|
|
|
102
102
|
onClick?: MouseEventHandler;
|
|
103
103
|
className?: string;
|
|
104
104
|
}
|
|
105
|
-
declare function export_default$
|
|
105
|
+
declare function export_default$13(props: FaceProps): React.JSX.Element;
|
|
106
106
|
|
|
107
107
|
interface HistogramProps {
|
|
108
108
|
entries: {
|
|
@@ -113,7 +113,7 @@ interface HistogramProps {
|
|
|
113
113
|
}[];
|
|
114
114
|
className?: string;
|
|
115
115
|
}
|
|
116
|
-
declare function export_default$
|
|
116
|
+
declare function export_default$12(props: HistogramProps): React.JSX.Element;
|
|
117
117
|
|
|
118
118
|
interface LayoutProps {
|
|
119
119
|
children?: React.ReactNode;
|
|
@@ -133,7 +133,7 @@ interface LayoutContext {
|
|
|
133
133
|
bodyBackgroundColor: string;
|
|
134
134
|
}
|
|
135
135
|
declare const LayoutContext: React.Context<LayoutContext>;
|
|
136
|
-
declare function export_default$
|
|
136
|
+
declare function export_default$11(props: LayoutProps): React.JSX.Element;
|
|
137
137
|
|
|
138
138
|
interface LoadingIndicatorProps {
|
|
139
139
|
variant?: "default" | "inline";
|
|
@@ -153,7 +153,7 @@ interface NavigationBarProps {
|
|
|
153
153
|
className?: string;
|
|
154
154
|
variant?: "default" | "compressed";
|
|
155
155
|
}
|
|
156
|
-
declare function export_default$
|
|
156
|
+
declare function export_default$10(props: NavigationBarProps): React.JSX.Element;
|
|
157
157
|
|
|
158
158
|
interface SectionProps {
|
|
159
159
|
children?: React.ReactNode;
|
|
@@ -161,7 +161,7 @@ interface SectionProps {
|
|
|
161
161
|
noTopMargin?: boolean;
|
|
162
162
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
163
163
|
}
|
|
164
|
-
declare function export_default
|
|
164
|
+
declare function export_default$$(props: SectionProps): React.JSX.Element | null;
|
|
165
165
|
|
|
166
166
|
interface SegmentedControlProps {
|
|
167
167
|
segments: {
|
|
@@ -173,28 +173,28 @@ interface SegmentedControlProps {
|
|
|
173
173
|
className?: string;
|
|
174
174
|
color?: string;
|
|
175
175
|
}
|
|
176
|
-
declare function export_default$
|
|
176
|
+
declare function export_default$_(props: SegmentedControlProps): React.JSX.Element;
|
|
177
177
|
|
|
178
|
-
declare function export_default
|
|
178
|
+
declare function export_default$Z(): React.JSX.Element;
|
|
179
179
|
|
|
180
180
|
interface SingleExternalAccountProps {
|
|
181
181
|
externalAccount: ExternalAccount;
|
|
182
182
|
onAccountRemoved: (account: ExternalAccount) => void;
|
|
183
183
|
onReconnectAccount: (account: ExternalAccount) => void;
|
|
184
184
|
}
|
|
185
|
-
declare function export_default$
|
|
185
|
+
declare function export_default$Y(props: SingleExternalAccountProps): React.JSX.Element;
|
|
186
186
|
|
|
187
187
|
interface SingleNotificationProps {
|
|
188
188
|
notification: Notification;
|
|
189
189
|
}
|
|
190
|
-
declare function export_default$
|
|
190
|
+
declare function export_default$X(props: SingleNotificationProps): React.JSX.Element;
|
|
191
191
|
|
|
192
192
|
interface SingleSurveyTaskProps {
|
|
193
193
|
task: SurveyTask;
|
|
194
194
|
descriptionIcon?: IconDefinition$1;
|
|
195
195
|
disableClick?: boolean;
|
|
196
196
|
}
|
|
197
|
-
declare function export_default$
|
|
197
|
+
declare function export_default$W(props: SingleSurveyTaskProps): React.JSX.Element | null;
|
|
198
198
|
|
|
199
199
|
interface SparkBarChartProps {
|
|
200
200
|
averageFillPercent: number;
|
|
@@ -204,7 +204,7 @@ interface SparkBarChartBar {
|
|
|
204
204
|
color: string;
|
|
205
205
|
barFillPercent: number;
|
|
206
206
|
}
|
|
207
|
-
declare function export_default$
|
|
207
|
+
declare function export_default$V(props: SparkBarChartProps): React.JSX.Element;
|
|
208
208
|
|
|
209
209
|
interface SwitchProps {
|
|
210
210
|
isOn: Boolean;
|
|
@@ -212,7 +212,7 @@ interface SwitchProps {
|
|
|
212
212
|
onValueChanged(value: boolean): void;
|
|
213
213
|
className?: string;
|
|
214
214
|
}
|
|
215
|
-
declare function export_default$
|
|
215
|
+
declare function export_default$U(props: SwitchProps): React.JSX.Element;
|
|
216
216
|
|
|
217
217
|
interface StatusBarBackgroundProps {
|
|
218
218
|
color?: string;
|
|
@@ -223,7 +223,7 @@ interface TextBlockProps {
|
|
|
223
223
|
children?: React.ReactNode;
|
|
224
224
|
className?: string;
|
|
225
225
|
}
|
|
226
|
-
declare function export_default$
|
|
226
|
+
declare function export_default$T(props: TextBlockProps): React.JSX.Element | null;
|
|
227
227
|
|
|
228
228
|
interface TrackerItemProps {
|
|
229
229
|
selected: boolean;
|
|
@@ -234,7 +234,7 @@ interface TrackerItemProps {
|
|
|
234
234
|
onClick?: Function;
|
|
235
235
|
className?: string;
|
|
236
236
|
}
|
|
237
|
-
declare function export_default$
|
|
237
|
+
declare function export_default$S(props: TrackerItemProps): React.JSX.Element;
|
|
238
238
|
|
|
239
239
|
interface UnstyledButtonProps {
|
|
240
240
|
onClick: MouseEventHandler;
|
|
@@ -244,13 +244,13 @@ interface UnstyledButtonProps {
|
|
|
244
244
|
style?: React.CSSProperties;
|
|
245
245
|
disabled?: boolean;
|
|
246
246
|
}
|
|
247
|
-
declare function export_default$
|
|
247
|
+
declare function export_default$R(props: UnstyledButtonProps): React.JSX.Element;
|
|
248
248
|
|
|
249
249
|
interface ViewHeaderProps {
|
|
250
250
|
title?: string;
|
|
251
251
|
subtitle?: string;
|
|
252
252
|
}
|
|
253
|
-
declare function export_default$
|
|
253
|
+
declare function export_default$Q(props: ViewHeaderProps): React.JSX.Element | null;
|
|
254
254
|
|
|
255
255
|
interface WeekCalendarProps {
|
|
256
256
|
selectedDate?: Date;
|
|
@@ -261,20 +261,13 @@ interface WeekCalendarProps {
|
|
|
261
261
|
onStartDateChange?(startDate: Date): void;
|
|
262
262
|
dayRenderer(year: number, month: number, day: number, selectedWeek: boolean): JSX.Element | null;
|
|
263
263
|
}
|
|
264
|
-
declare function export_default$
|
|
265
|
-
|
|
266
|
-
interface AnimatedRingProps {
|
|
267
|
-
children: React.ReactNode;
|
|
268
|
-
style?: CSSProperties;
|
|
269
|
-
color?: string;
|
|
270
|
-
}
|
|
271
|
-
declare function export_default$Q(props: AnimatedRingProps): React.JSX.Element;
|
|
264
|
+
declare function export_default$P(props: WeekCalendarProps): React.JSX.Element;
|
|
272
265
|
|
|
273
266
|
interface AppDownloadProps {
|
|
274
267
|
previewProjectPlatforms?: string[];
|
|
275
268
|
previewDevicePlatform?: string;
|
|
276
269
|
}
|
|
277
|
-
declare function export_default$
|
|
270
|
+
declare function export_default$O(props: AppDownloadProps): React.JSX.Element | null;
|
|
278
271
|
|
|
279
272
|
interface ConnectEhrProps {
|
|
280
273
|
applicationUrl: ConnectEhrApplicationUrl;
|
|
@@ -284,7 +277,7 @@ interface ConnectEhrProps {
|
|
|
284
277
|
}
|
|
285
278
|
declare type ConnectEhrApplicationUrl = "preview" | string;
|
|
286
279
|
declare type ConnectEhrPreviewState = "notEnabled" | "enabled" | "enabledConnected" | "enabledNeedsAttention";
|
|
287
|
-
declare function export_default$
|
|
280
|
+
declare function export_default$N(props: ConnectEhrProps): React.JSX.Element | null;
|
|
288
281
|
|
|
289
282
|
interface ConnectFitbitProps {
|
|
290
283
|
title?: string;
|
|
@@ -293,7 +286,7 @@ interface ConnectFitbitProps {
|
|
|
293
286
|
disabledBehavior?: 'hide' | 'displayError';
|
|
294
287
|
}
|
|
295
288
|
declare type ConnectFitbitPreviewState = ExternalAccountStatus | "notConnected" | "notEnabled";
|
|
296
|
-
declare function export_default$
|
|
289
|
+
declare function export_default$M(props: ConnectFitbitProps): React.JSX.Element;
|
|
297
290
|
|
|
298
291
|
interface ConnectGarminProps {
|
|
299
292
|
title?: string;
|
|
@@ -302,7 +295,7 @@ interface ConnectGarminProps {
|
|
|
302
295
|
disabledBehavior?: 'hide' | 'displayError';
|
|
303
296
|
}
|
|
304
297
|
declare type ConnectGarminPreviewState = ExternalAccountStatus | "notConnected" | "notEnabled";
|
|
305
|
-
declare function export_default$
|
|
298
|
+
declare function export_default$L(props: ConnectGarminProps): React.JSX.Element;
|
|
306
299
|
|
|
307
300
|
declare type DailyDataQueryResult = {
|
|
308
301
|
[key: string]: number;
|
|
@@ -410,13 +403,13 @@ interface DeviceDataChartLine {
|
|
|
410
403
|
showAverage?: boolean;
|
|
411
404
|
}
|
|
412
405
|
declare type DeviceDataMonthChartPreviewState = "WithData" | "NoData" | "Loading";
|
|
413
|
-
declare function export_default$
|
|
406
|
+
declare function export_default$K(props: DeviceDataMonthChartProps): React.JSX.Element | null;
|
|
414
407
|
|
|
415
408
|
interface DeviceDataMonthChartsProps {
|
|
416
409
|
previewState?: DeviceDataMonthChartsPreviewState;
|
|
417
410
|
}
|
|
418
411
|
declare type DeviceDataMonthChartsPreviewState = "Default" | "NoData";
|
|
419
|
-
declare function export_default$
|
|
412
|
+
declare function export_default$J(props: DeviceDataMonthChartsProps): React.JSX.Element;
|
|
420
413
|
|
|
421
414
|
interface ExternalAccountListProps {
|
|
422
415
|
externalAccountProviderCategories?: string[];
|
|
@@ -424,13 +417,13 @@ interface ExternalAccountListProps {
|
|
|
424
417
|
onExternalAccountsLoaded?: (accounts: ExternalAccount[]) => void;
|
|
425
418
|
}
|
|
426
419
|
declare type NotificationListPreviewState$1 = "Default";
|
|
427
|
-
declare function export_default$
|
|
420
|
+
declare function export_default$I(props: ExternalAccountListProps): React.JSX.Element;
|
|
428
421
|
|
|
429
422
|
interface ExternalAccountsLoadingIndicatorProps {
|
|
430
423
|
previewState?: "externalAccountsFetchingData" | "externalAccountsLoaded";
|
|
431
424
|
externalAccountCategories?: string[];
|
|
432
425
|
}
|
|
433
|
-
declare function export_default$
|
|
426
|
+
declare function export_default$H(props: ExternalAccountsLoadingIndicatorProps): React.JSX.Element | null;
|
|
434
427
|
|
|
435
428
|
interface ExternalAccountsPreviewProps {
|
|
436
429
|
excludeProviders?: boolean;
|
|
@@ -441,31 +434,31 @@ interface ExternalAccountsPreviewProps {
|
|
|
441
434
|
}
|
|
442
435
|
declare type ExternalAccountsApplicationUrl = "preview" | string;
|
|
443
436
|
declare type ExternalAccountsPreviewPreviewState = "Default";
|
|
444
|
-
declare function export_default$
|
|
437
|
+
declare function export_default$G(props: ExternalAccountsPreviewProps): React.JSX.Element | null;
|
|
445
438
|
|
|
446
439
|
declare type ConnectedDevicesPreviewState = "notEnabled" | "notConnected" | "connected";
|
|
447
440
|
|
|
448
441
|
interface FitbitDevicesProps {
|
|
449
442
|
previewState?: ConnectedDevicesPreviewState;
|
|
450
443
|
}
|
|
451
|
-
declare function export_default$
|
|
444
|
+
declare function export_default$F(props: FitbitDevicesProps): React.JSX.Element;
|
|
452
445
|
|
|
453
446
|
declare type MonthChartsPreviewState = "notEnabled" | "notConnected" | "connected";
|
|
454
447
|
|
|
455
448
|
interface FitbitMonthChartsProps {
|
|
456
449
|
previewState?: MonthChartsPreviewState;
|
|
457
450
|
}
|
|
458
|
-
declare function export_default$
|
|
451
|
+
declare function export_default$E(props: FitbitMonthChartsProps): React.JSX.Element;
|
|
459
452
|
|
|
460
453
|
interface GarminDevicesProps {
|
|
461
454
|
previewState?: ConnectedDevicesPreviewState;
|
|
462
455
|
}
|
|
463
|
-
declare function export_default$
|
|
456
|
+
declare function export_default$D(props: GarminDevicesProps): React.JSX.Element;
|
|
464
457
|
|
|
465
458
|
interface GarminMonthChartsProps {
|
|
466
459
|
previewState?: MonthChartsPreviewState;
|
|
467
460
|
}
|
|
468
|
-
declare function export_default$
|
|
461
|
+
declare function export_default$C(props: GarminMonthChartsProps): React.JSX.Element;
|
|
469
462
|
|
|
470
463
|
declare type HealthPreviewSectionConcept = "Medications" | "Immunizations" | "Reports" | "Allergies" | "Conditions" | "Procedures";
|
|
471
464
|
interface HealthPreviewSectionProps {
|
|
@@ -474,7 +467,7 @@ interface HealthPreviewSectionProps {
|
|
|
474
467
|
previewState?: "NoData" | "Default";
|
|
475
468
|
indicatorPosition?: "default" | "topRight";
|
|
476
469
|
}
|
|
477
|
-
declare function export_default$
|
|
470
|
+
declare function export_default$B(props: HealthPreviewSectionProps): React.JSX.Element | null;
|
|
478
471
|
|
|
479
472
|
interface TermInformation {
|
|
480
473
|
TermFamily: string;
|
|
@@ -487,7 +480,7 @@ interface LabResultsSummaryProps {
|
|
|
487
480
|
onClick(): void;
|
|
488
481
|
onViewTermInfo(termInfo: TermInformation): void;
|
|
489
482
|
}
|
|
490
|
-
declare function export_default$
|
|
483
|
+
declare function export_default$A(props: LabResultsSummaryProps): React.JSX.Element | null;
|
|
491
484
|
|
|
492
485
|
interface MostRecentNotificationProps {
|
|
493
486
|
notificationType?: NotificationType;
|
|
@@ -496,33 +489,33 @@ interface MostRecentNotificationProps {
|
|
|
496
489
|
previewState?: MostRecentNotificationPreviewState;
|
|
497
490
|
}
|
|
498
491
|
declare type MostRecentNotificationPreviewState = "Default";
|
|
499
|
-
declare function export_default$
|
|
492
|
+
declare function export_default$z(props: MostRecentNotificationProps): React.JSX.Element | null;
|
|
500
493
|
|
|
501
494
|
interface NotificationListProps {
|
|
502
495
|
notificationType?: NotificationType;
|
|
503
496
|
previewState?: NotificationListPreviewState;
|
|
504
497
|
}
|
|
505
498
|
declare type NotificationListPreviewState = "Default" | "NoData";
|
|
506
|
-
declare function export_default$
|
|
499
|
+
declare function export_default$y(props: NotificationListProps): React.JSX.Element;
|
|
507
500
|
|
|
508
501
|
interface PlatformSpecificContentProps {
|
|
509
502
|
platforms: string[];
|
|
510
503
|
children?: React.ReactNode;
|
|
511
504
|
previewDevicePlatform?: string;
|
|
512
505
|
}
|
|
513
|
-
declare function export_default$
|
|
506
|
+
declare function export_default$x(props: PlatformSpecificContentProps): React.JSX.Element | null;
|
|
514
507
|
|
|
515
508
|
interface ProjectHeaderProps {
|
|
516
509
|
previewState?: ProjectHeaderPropsPreviewState;
|
|
517
510
|
}
|
|
518
511
|
declare type ProjectHeaderPropsPreviewState = "Default";
|
|
519
|
-
declare function export_default$
|
|
512
|
+
declare function export_default$w(props: ProjectHeaderProps): React.JSX.Element;
|
|
520
513
|
|
|
521
514
|
interface ProjectSupportProps {
|
|
522
515
|
previewState?: ProjectSupportPropsPreviewState;
|
|
523
516
|
}
|
|
524
517
|
declare type ProjectSupportPropsPreviewState = "Default";
|
|
525
|
-
declare function export_default$
|
|
518
|
+
declare function export_default$v(props: ProjectSupportProps): React.JSX.Element | null;
|
|
526
519
|
|
|
527
520
|
interface ProviderSearchProps {
|
|
528
521
|
previewState?: ProviderSearchPreviewState;
|
|
@@ -531,7 +524,7 @@ interface ProviderSearchProps {
|
|
|
531
524
|
onProviderSelected?: (provider: ExternalAccountProvider) => void;
|
|
532
525
|
}
|
|
533
526
|
declare type ProviderSearchPreviewState = "Default";
|
|
534
|
-
declare function export_default$
|
|
527
|
+
declare function export_default$u(props: ProviderSearchProps): React.JSX.Element;
|
|
535
528
|
|
|
536
529
|
interface RelativeActivityTodayProps {
|
|
537
530
|
dataTypes: RelativeActivityDataType[];
|
|
@@ -545,7 +538,7 @@ interface RelativeActivityDataType {
|
|
|
545
538
|
color: string;
|
|
546
539
|
formatter: (number: number) => string;
|
|
547
540
|
}
|
|
548
|
-
declare function export_default$
|
|
541
|
+
declare function export_default$t(props: RelativeActivityTodayProps): React.JSX.Element | null;
|
|
549
542
|
|
|
550
543
|
declare type RestingHeartRateCalendarPreviewState = "WithData" | "NoData" | "Loading";
|
|
551
544
|
interface RestingHeartRateCalendarProps {
|
|
@@ -553,7 +546,7 @@ interface RestingHeartRateCalendarProps {
|
|
|
553
546
|
year: number;
|
|
554
547
|
showPreviewData: RestingHeartRateCalendarPreviewState;
|
|
555
548
|
}
|
|
556
|
-
declare function export_default$
|
|
549
|
+
declare function export_default$s(props: RestingHeartRateCalendarProps): React.JSX.Element;
|
|
557
550
|
|
|
558
551
|
interface SurveyTaskListProps {
|
|
559
552
|
status: SurveyTaskStatus;
|
|
@@ -565,7 +558,7 @@ interface SurveyTaskListProps {
|
|
|
565
558
|
variant?: "noCard" | "singleCard" | "multiCard";
|
|
566
559
|
}
|
|
567
560
|
declare type SurveyTaskListListPreviewState = "IncompleteTasks" | "CompleteTasks";
|
|
568
|
-
declare function export_default$
|
|
561
|
+
declare function export_default$r(props: SurveyTaskListProps): React.JSX.Element | null;
|
|
569
562
|
|
|
570
563
|
interface BlankViewProps {
|
|
571
564
|
children?: React.ReactNode;
|
|
@@ -576,7 +569,7 @@ interface BlankViewProps {
|
|
|
576
569
|
colorScheme?: "auto" | "light" | "dark";
|
|
577
570
|
primaryColor?: string;
|
|
578
571
|
}
|
|
579
|
-
declare function export_default$
|
|
572
|
+
declare function export_default$q(props: BlankViewProps): React.JSX.Element;
|
|
580
573
|
|
|
581
574
|
interface ConnectEhrViewProps {
|
|
582
575
|
externalAccountsApplicationUrl: ExternalAccountsApplicationUrl;
|
|
@@ -587,13 +580,13 @@ interface ConnectEhrViewProps {
|
|
|
587
580
|
colorScheme?: "auto" | "light" | "dark";
|
|
588
581
|
}
|
|
589
582
|
declare type ViewPresentationType$3 = "Modal" | "Push";
|
|
590
|
-
declare function export_default$
|
|
583
|
+
declare function export_default$p(props: ConnectEhrViewProps): React.JSX.Element;
|
|
591
584
|
|
|
592
585
|
interface DeviceDataViewProps {
|
|
593
586
|
preview?: boolean;
|
|
594
587
|
colorScheme?: "auto" | "light" | "dark";
|
|
595
588
|
}
|
|
596
|
-
declare function export_default$
|
|
589
|
+
declare function export_default$o(props: DeviceDataViewProps): React.JSX.Element;
|
|
597
590
|
|
|
598
591
|
interface ExternalAccountsViewProps {
|
|
599
592
|
excludeProviders?: boolean;
|
|
@@ -604,7 +597,7 @@ interface ExternalAccountsViewProps {
|
|
|
604
597
|
colorScheme?: "auto" | "light" | "dark";
|
|
605
598
|
}
|
|
606
599
|
declare type ViewPresentationType$2 = "Modal" | "Push";
|
|
607
|
-
declare function export_default$
|
|
600
|
+
declare function export_default$n(props: ExternalAccountsViewProps): React.JSX.Element;
|
|
608
601
|
|
|
609
602
|
interface FitbitViewProps {
|
|
610
603
|
connectPreview?: ConnectFitbitPreviewState;
|
|
@@ -612,7 +605,7 @@ interface FitbitViewProps {
|
|
|
612
605
|
chartsPreview?: MonthChartsPreviewState;
|
|
613
606
|
colorScheme?: "auto" | "light" | "dark";
|
|
614
607
|
}
|
|
615
|
-
declare function export_default$
|
|
608
|
+
declare function export_default$m(props: FitbitViewProps): React.JSX.Element;
|
|
616
609
|
|
|
617
610
|
interface GarminViewProps {
|
|
618
611
|
connectPreview?: ConnectGarminPreviewState;
|
|
@@ -620,7 +613,7 @@ interface GarminViewProps {
|
|
|
620
613
|
chartsPreview?: MonthChartsPreviewState;
|
|
621
614
|
garminProviderID?: number;
|
|
622
615
|
}
|
|
623
|
-
declare function export_default$
|
|
616
|
+
declare function export_default$l(props: GarminViewProps): React.JSX.Element;
|
|
624
617
|
|
|
625
618
|
interface HomeViewProps {
|
|
626
619
|
/**
|
|
@@ -639,7 +632,7 @@ interface HomeViewProps {
|
|
|
639
632
|
preview?: boolean;
|
|
640
633
|
colorScheme?: "auto" | "light" | "dark";
|
|
641
634
|
}
|
|
642
|
-
declare function export_default$
|
|
635
|
+
declare function export_default$k(props: HomeViewProps): React.JSX.Element;
|
|
643
636
|
|
|
644
637
|
interface HealthAndWellnessViewProps {
|
|
645
638
|
previewState?: "default";
|
|
@@ -648,7 +641,7 @@ interface HealthAndWellnessViewProps {
|
|
|
648
641
|
externalAccountsApplicationUrl: string;
|
|
649
642
|
variant?: "default" | "cardBased";
|
|
650
643
|
}
|
|
651
|
-
declare function export_default$
|
|
644
|
+
declare function export_default$j(props: HealthAndWellnessViewProps): React.JSX.Element;
|
|
652
645
|
|
|
653
646
|
interface NotificationsViewProps {
|
|
654
647
|
notificationType?: NotificationType;
|
|
@@ -657,7 +650,7 @@ interface NotificationsViewProps {
|
|
|
657
650
|
colorScheme?: "auto" | "light" | "dark";
|
|
658
651
|
}
|
|
659
652
|
declare type ViewPresentationType$1 = "Modal" | "Push";
|
|
660
|
-
declare function export_default$
|
|
653
|
+
declare function export_default$i(props: NotificationsViewProps): React.JSX.Element;
|
|
661
654
|
|
|
662
655
|
interface SurveyTasksViewProps {
|
|
663
656
|
hideCompleteTasks?: boolean;
|
|
@@ -668,26 +661,7 @@ interface SurveyTasksViewProps {
|
|
|
668
661
|
colorScheme?: "auto" | "light" | "dark";
|
|
669
662
|
}
|
|
670
663
|
declare type ViewPresentationType = "Modal" | "Push";
|
|
671
|
-
declare function export_default$
|
|
672
|
-
|
|
673
|
-
interface NewPointsEntry {
|
|
674
|
-
name: string;
|
|
675
|
-
points: number;
|
|
676
|
-
bonusPoints?: number;
|
|
677
|
-
message?: {
|
|
678
|
-
title: string;
|
|
679
|
-
text: string;
|
|
680
|
-
};
|
|
681
|
-
}
|
|
682
|
-
interface NewPointsViewProps {
|
|
683
|
-
entries: NewPointsEntry[];
|
|
684
|
-
pointsToNextReward?: number;
|
|
685
|
-
colorScheme?: 'auto' | 'light' | 'dark';
|
|
686
|
-
primaryColor?: string;
|
|
687
|
-
doneButtonText?: string;
|
|
688
|
-
}
|
|
689
|
-
declare function export_default$h(props: NewPointsViewProps): React.JSX.Element;
|
|
690
|
-
declare function showNewPoints(props: NewPointsViewProps, url?: string): void;
|
|
664
|
+
declare function export_default$h(props: SurveyTasksViewProps): React.JSX.Element;
|
|
691
665
|
|
|
692
666
|
interface CelebrationStepProps {
|
|
693
667
|
title?: string;
|
|
@@ -798,4 +772,4 @@ declare function language(key: string): string;
|
|
|
798
772
|
|
|
799
773
|
declare function getDayKey(date: Date): string;
|
|
800
774
|
|
|
801
|
-
export { export_default$
|
|
775
|
+
export { export_default$1b as Action, export_default$1a as ActivityMeter, export_default$O as AppDownload, AreaChartOptions, BarChartOptions, export_default$q as BlankView, export_default$19 as Button, export_default$18 as Calendar, export_default$17 as Card, export_default$16 as CardTitle, export_default$g as CelebrationStep, export_default$f as CelebrationStepContainer, export_default$e as ConnectDeviceAccountStep, export_default$d as ConnectDeviceAccountStepContainer, export_default$N as ConnectEhr, export_default$c as ConnectEhrStep, export_default$b as ConnectEhrStepContainer, export_default$p as ConnectEhrView, export_default$M as ConnectFitbit, export_default$L as ConnectGarmin, DailyDataAvailabilityCheck, DailyDataChart, DailyDataProvider, DailyDataQueryResult, DailyDataType, DateRangeNavigatorContext as DateRangeCoordinator, export_default$15 as DateRangeNavigator, export_default$14 as DayTrackerSymbol, DeviceDataChartLine, export_default$K as DeviceDataMonthChart, export_default$J as DeviceDataMonthCharts, export_default$o as DeviceDataView, export_default$I as ExternalAccountList, export_default$H as ExternalAccountsLoadingIndicator, export_default$G as ExternalAccountsPreview, export_default$n as ExternalAccountsView, export_default$13 as Face, export_default$F as FitbitDevices, export_default$E as FitbitMonthCharts, export_default$m as FitbitView, export_default$D as GarminDevices, export_default$C as GarminMonthCharts, export_default$l as GarminView, export_default$j as HealthAndWellnessView, export_default$B as HealthPreviewSection, export_default$12 as Histogram, export_default$k as HomeView, export_default$A as LabResultsSummary, export_default$11 as Layout, LayoutContext, LineChartOptions, LoadingIndicator, export_default$z as MostRecentNotification, export_default$10 as NavigationBar, export_default$y as NotificationList, export_default$i as NotificationsView, export_default$x as PlatformSpecificContent, export_default$w as ProjectHeader, export_default$v as ProjectSupport, export_default$u as ProviderSearch, export_default$t as RelativeActivityToday, export_default$s as RestingHeartRateCalendar, export_default$$ as Section, export_default$_ as SegmentedControl, export_default$Z as ShinyOverlay, export_default$Y as SingleExternalAccount, export_default$X as SingleNotification, export_default$W as SingleSurveyTask, export_default$V as SparkBarChart, SparkBarChartBar, StatusBarBackgroundProps as StatusBarBackground, export_default$a as StepDetailText, export_default$8 as StepImage, export_default$9 as StepImageIcon, export_default$7 as StepLayout, export_default$6 as StepMarkdown, export_default$5 as StepNextButton, export_default$4 as StepText, export_default$3 as StepTitle, export_default$r as SurveyTaskList, export_default$h as SurveyTasksView, export_default$U as Switch, export_default$T as TextBlock, export_default$S as TrackerItem, export_default$R as UnstyledButton, export_default$Q as ViewHeader, export_default$P as WeekCalendar, WeekStartsOn, export_default$2 as YouTubeStep, export_default$1 as YouTubeStepContainer, checkDailyDataAvailability, getDayKey, getMonthStart, getWeekStart, language, queryDailyData, registerDailyDataProvider, export_default as useInterval };
|
package/package.json
CHANGED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import AnimatedRing, { AnimatedRingProps } from './AnimatedRing';
|
|
3
|
-
import './AnimatedRing.stories.css';
|
|
4
|
-
declare const _default: {
|
|
5
|
-
title: string;
|
|
6
|
-
component: typeof AnimatedRing;
|
|
7
|
-
parameters: {
|
|
8
|
-
layout: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export default _default;
|
|
12
|
-
export declare const Default: {
|
|
13
|
-
args: {
|
|
14
|
-
children: React.JSX.Element;
|
|
15
|
-
};
|
|
16
|
-
render: (args: AnimatedRingProps) => React.JSX.Element;
|
|
17
|
-
};
|
|
18
|
-
export declare const SpecificColor: {
|
|
19
|
-
args: {
|
|
20
|
-
children: React.JSX.Element;
|
|
21
|
-
color: string;
|
|
22
|
-
};
|
|
23
|
-
render: (args: AnimatedRingProps) => React.JSX.Element;
|
|
24
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './AnimatedRing';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './NewPointsView.css';
|
|
3
|
-
export interface NewPointsEntry {
|
|
4
|
-
name: string;
|
|
5
|
-
points: number;
|
|
6
|
-
bonusPoints?: number;
|
|
7
|
-
message?: {
|
|
8
|
-
title: string;
|
|
9
|
-
text: string;
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
export interface NewPointsViewProps {
|
|
13
|
-
entries: NewPointsEntry[];
|
|
14
|
-
pointsToNextReward?: number;
|
|
15
|
-
colorScheme?: 'auto' | 'light' | 'dark';
|
|
16
|
-
primaryColor?: string;
|
|
17
|
-
doneButtonText?: string;
|
|
18
|
-
}
|
|
19
|
-
export default function (props: NewPointsViewProps): React.JSX.Element;
|
|
20
|
-
export declare function showNewPoints(props: NewPointsViewProps, url?: string): void;
|