@careevolution/mydatahelps-ui 2.4.1-Points.0 → 2.4.1-Points.2
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 +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/container/index.d.ts +0 -1
- package/dist/cjs/types/components/view/NewPointsView/NewPointsView.d.ts +14 -2
- package/dist/cjs/types/components/view/NewPointsView/NewPointsView.stories.d.ts +161 -10
- package/dist/cjs/types/components/view/NewPointsView/index.d.ts +1 -1
- package/dist/cjs/types/index.d.ts +0 -1
- package/dist/esm/index.js +9 -9
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/container/index.d.ts +0 -1
- package/dist/esm/types/components/view/NewPointsView/NewPointsView.d.ts +14 -2
- package/dist/esm/types/components/view/NewPointsView/NewPointsView.stories.d.ts +161 -10
- package/dist/esm/types/components/view/NewPointsView/index.d.ts +1 -1
- package/dist/esm/types/index.d.ts +0 -1
- package/dist/index.d.ts +63 -72
- package/package.json +1 -1
- package/dist/cjs/types/components/container/NewPoints/NewPoints.d.ts +0 -17
- package/dist/cjs/types/components/container/NewPoints/NewPoints.stories.d.ts +0 -100
- package/dist/cjs/types/components/container/NewPoints/index.d.ts +0 -1
- package/dist/cjs/types/helpers/new-points.d.ts +0 -5
- package/dist/esm/types/components/container/NewPoints/NewPoints.d.ts +0 -17
- package/dist/esm/types/components/container/NewPoints/NewPoints.stories.d.ts +0 -100
- package/dist/esm/types/components/container/NewPoints/index.d.ts +0 -1
- package/dist/esm/types/helpers/new-points.d.ts +0 -5
package/dist/index.d.ts
CHANGED
|
@@ -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$1d(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$1c(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$1b(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$1a(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$19(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$18(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$17(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$16(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$15(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$14(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$13(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$12(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$11(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$10(props: SegmentedControlProps): React.JSX.Element;
|
|
177
177
|
|
|
178
|
-
declare function export_default
|
|
178
|
+
declare function export_default$$(): 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$_(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$Z(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$Y(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$X(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$W(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$V(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$U(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$T(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$S(props: ViewHeaderProps): React.JSX.Element | null;
|
|
254
254
|
|
|
255
255
|
interface WeekCalendarProps {
|
|
256
256
|
selectedDate?: Date;
|
|
@@ -261,20 +261,20 @@ 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$
|
|
264
|
+
declare function export_default$R(props: WeekCalendarProps): React.JSX.Element;
|
|
265
265
|
|
|
266
266
|
interface AnimatedRingProps {
|
|
267
267
|
children: React.ReactNode;
|
|
268
268
|
style?: CSSProperties;
|
|
269
269
|
color?: string;
|
|
270
270
|
}
|
|
271
|
-
declare function export_default$
|
|
271
|
+
declare function export_default$Q(props: AnimatedRingProps): React.JSX.Element;
|
|
272
272
|
|
|
273
273
|
interface AppDownloadProps {
|
|
274
274
|
previewProjectPlatforms?: string[];
|
|
275
275
|
previewDevicePlatform?: string;
|
|
276
276
|
}
|
|
277
|
-
declare function export_default$
|
|
277
|
+
declare function export_default$P(props: AppDownloadProps): React.JSX.Element | null;
|
|
278
278
|
|
|
279
279
|
interface ConnectEhrProps {
|
|
280
280
|
applicationUrl: ConnectEhrApplicationUrl;
|
|
@@ -284,7 +284,7 @@ interface ConnectEhrProps {
|
|
|
284
284
|
}
|
|
285
285
|
declare type ConnectEhrApplicationUrl = "preview" | string;
|
|
286
286
|
declare type ConnectEhrPreviewState = "notEnabled" | "enabled" | "enabledConnected" | "enabledNeedsAttention";
|
|
287
|
-
declare function export_default$
|
|
287
|
+
declare function export_default$O(props: ConnectEhrProps): React.JSX.Element | null;
|
|
288
288
|
|
|
289
289
|
interface ConnectFitbitProps {
|
|
290
290
|
title?: string;
|
|
@@ -293,7 +293,7 @@ interface ConnectFitbitProps {
|
|
|
293
293
|
disabledBehavior?: 'hide' | 'displayError';
|
|
294
294
|
}
|
|
295
295
|
declare type ConnectFitbitPreviewState = ExternalAccountStatus | "notConnected" | "notEnabled";
|
|
296
|
-
declare function export_default$
|
|
296
|
+
declare function export_default$N(props: ConnectFitbitProps): React.JSX.Element;
|
|
297
297
|
|
|
298
298
|
interface ConnectGarminProps {
|
|
299
299
|
title?: string;
|
|
@@ -302,7 +302,7 @@ interface ConnectGarminProps {
|
|
|
302
302
|
disabledBehavior?: 'hide' | 'displayError';
|
|
303
303
|
}
|
|
304
304
|
declare type ConnectGarminPreviewState = ExternalAccountStatus | "notConnected" | "notEnabled";
|
|
305
|
-
declare function export_default$
|
|
305
|
+
declare function export_default$M(props: ConnectGarminProps): React.JSX.Element;
|
|
306
306
|
|
|
307
307
|
declare type DailyDataQueryResult = {
|
|
308
308
|
[key: string]: number;
|
|
@@ -410,13 +410,13 @@ interface DeviceDataChartLine {
|
|
|
410
410
|
showAverage?: boolean;
|
|
411
411
|
}
|
|
412
412
|
declare type DeviceDataMonthChartPreviewState = "WithData" | "NoData" | "Loading";
|
|
413
|
-
declare function export_default$
|
|
413
|
+
declare function export_default$L(props: DeviceDataMonthChartProps): React.JSX.Element | null;
|
|
414
414
|
|
|
415
415
|
interface DeviceDataMonthChartsProps {
|
|
416
416
|
previewState?: DeviceDataMonthChartsPreviewState;
|
|
417
417
|
}
|
|
418
418
|
declare type DeviceDataMonthChartsPreviewState = "Default" | "NoData";
|
|
419
|
-
declare function export_default$
|
|
419
|
+
declare function export_default$K(props: DeviceDataMonthChartsProps): React.JSX.Element;
|
|
420
420
|
|
|
421
421
|
interface ExternalAccountListProps {
|
|
422
422
|
externalAccountProviderCategories?: string[];
|
|
@@ -424,13 +424,13 @@ interface ExternalAccountListProps {
|
|
|
424
424
|
onExternalAccountsLoaded?: (accounts: ExternalAccount[]) => void;
|
|
425
425
|
}
|
|
426
426
|
declare type NotificationListPreviewState$1 = "Default";
|
|
427
|
-
declare function export_default$
|
|
427
|
+
declare function export_default$J(props: ExternalAccountListProps): React.JSX.Element;
|
|
428
428
|
|
|
429
429
|
interface ExternalAccountsLoadingIndicatorProps {
|
|
430
430
|
previewState?: "externalAccountsFetchingData" | "externalAccountsLoaded";
|
|
431
431
|
externalAccountCategories?: string[];
|
|
432
432
|
}
|
|
433
|
-
declare function export_default$
|
|
433
|
+
declare function export_default$I(props: ExternalAccountsLoadingIndicatorProps): React.JSX.Element | null;
|
|
434
434
|
|
|
435
435
|
interface ExternalAccountsPreviewProps {
|
|
436
436
|
excludeProviders?: boolean;
|
|
@@ -441,31 +441,31 @@ interface ExternalAccountsPreviewProps {
|
|
|
441
441
|
}
|
|
442
442
|
declare type ExternalAccountsApplicationUrl = "preview" | string;
|
|
443
443
|
declare type ExternalAccountsPreviewPreviewState = "Default";
|
|
444
|
-
declare function export_default$
|
|
444
|
+
declare function export_default$H(props: ExternalAccountsPreviewProps): React.JSX.Element | null;
|
|
445
445
|
|
|
446
446
|
declare type ConnectedDevicesPreviewState = "notEnabled" | "notConnected" | "connected";
|
|
447
447
|
|
|
448
448
|
interface FitbitDevicesProps {
|
|
449
449
|
previewState?: ConnectedDevicesPreviewState;
|
|
450
450
|
}
|
|
451
|
-
declare function export_default$
|
|
451
|
+
declare function export_default$G(props: FitbitDevicesProps): React.JSX.Element;
|
|
452
452
|
|
|
453
453
|
declare type MonthChartsPreviewState = "notEnabled" | "notConnected" | "connected";
|
|
454
454
|
|
|
455
455
|
interface FitbitMonthChartsProps {
|
|
456
456
|
previewState?: MonthChartsPreviewState;
|
|
457
457
|
}
|
|
458
|
-
declare function export_default$
|
|
458
|
+
declare function export_default$F(props: FitbitMonthChartsProps): React.JSX.Element;
|
|
459
459
|
|
|
460
460
|
interface GarminDevicesProps {
|
|
461
461
|
previewState?: ConnectedDevicesPreviewState;
|
|
462
462
|
}
|
|
463
|
-
declare function export_default$
|
|
463
|
+
declare function export_default$E(props: GarminDevicesProps): React.JSX.Element;
|
|
464
464
|
|
|
465
465
|
interface GarminMonthChartsProps {
|
|
466
466
|
previewState?: MonthChartsPreviewState;
|
|
467
467
|
}
|
|
468
|
-
declare function export_default$
|
|
468
|
+
declare function export_default$D(props: GarminMonthChartsProps): React.JSX.Element;
|
|
469
469
|
|
|
470
470
|
declare type HealthPreviewSectionConcept = "Medications" | "Immunizations" | "Reports" | "Allergies" | "Conditions" | "Procedures";
|
|
471
471
|
interface HealthPreviewSectionProps {
|
|
@@ -474,7 +474,7 @@ interface HealthPreviewSectionProps {
|
|
|
474
474
|
previewState?: "NoData" | "Default";
|
|
475
475
|
indicatorPosition?: "default" | "topRight";
|
|
476
476
|
}
|
|
477
|
-
declare function export_default$
|
|
477
|
+
declare function export_default$C(props: HealthPreviewSectionProps): React.JSX.Element | null;
|
|
478
478
|
|
|
479
479
|
interface TermInformation {
|
|
480
480
|
TermFamily: string;
|
|
@@ -487,7 +487,7 @@ interface LabResultsSummaryProps {
|
|
|
487
487
|
onClick(): void;
|
|
488
488
|
onViewTermInfo(termInfo: TermInformation): void;
|
|
489
489
|
}
|
|
490
|
-
declare function export_default$
|
|
490
|
+
declare function export_default$B(props: LabResultsSummaryProps): React.JSX.Element | null;
|
|
491
491
|
|
|
492
492
|
interface MostRecentNotificationProps {
|
|
493
493
|
notificationType?: NotificationType;
|
|
@@ -496,33 +496,33 @@ interface MostRecentNotificationProps {
|
|
|
496
496
|
previewState?: MostRecentNotificationPreviewState;
|
|
497
497
|
}
|
|
498
498
|
declare type MostRecentNotificationPreviewState = "Default";
|
|
499
|
-
declare function export_default$
|
|
499
|
+
declare function export_default$A(props: MostRecentNotificationProps): React.JSX.Element | null;
|
|
500
500
|
|
|
501
501
|
interface NotificationListProps {
|
|
502
502
|
notificationType?: NotificationType;
|
|
503
503
|
previewState?: NotificationListPreviewState;
|
|
504
504
|
}
|
|
505
505
|
declare type NotificationListPreviewState = "Default" | "NoData";
|
|
506
|
-
declare function export_default$
|
|
506
|
+
declare function export_default$z(props: NotificationListProps): React.JSX.Element;
|
|
507
507
|
|
|
508
508
|
interface PlatformSpecificContentProps {
|
|
509
509
|
platforms: string[];
|
|
510
510
|
children?: React.ReactNode;
|
|
511
511
|
previewDevicePlatform?: string;
|
|
512
512
|
}
|
|
513
|
-
declare function export_default$
|
|
513
|
+
declare function export_default$y(props: PlatformSpecificContentProps): React.JSX.Element | null;
|
|
514
514
|
|
|
515
515
|
interface ProjectHeaderProps {
|
|
516
516
|
previewState?: ProjectHeaderPropsPreviewState;
|
|
517
517
|
}
|
|
518
518
|
declare type ProjectHeaderPropsPreviewState = "Default";
|
|
519
|
-
declare function export_default$
|
|
519
|
+
declare function export_default$x(props: ProjectHeaderProps): React.JSX.Element;
|
|
520
520
|
|
|
521
521
|
interface ProjectSupportProps {
|
|
522
522
|
previewState?: ProjectSupportPropsPreviewState;
|
|
523
523
|
}
|
|
524
524
|
declare type ProjectSupportPropsPreviewState = "Default";
|
|
525
|
-
declare function export_default$
|
|
525
|
+
declare function export_default$w(props: ProjectSupportProps): React.JSX.Element | null;
|
|
526
526
|
|
|
527
527
|
interface ProviderSearchProps {
|
|
528
528
|
previewState?: ProviderSearchPreviewState;
|
|
@@ -531,7 +531,7 @@ interface ProviderSearchProps {
|
|
|
531
531
|
onProviderSelected?: (provider: ExternalAccountProvider) => void;
|
|
532
532
|
}
|
|
533
533
|
declare type ProviderSearchPreviewState = "Default";
|
|
534
|
-
declare function export_default$
|
|
534
|
+
declare function export_default$v(props: ProviderSearchProps): React.JSX.Element;
|
|
535
535
|
|
|
536
536
|
interface RelativeActivityTodayProps {
|
|
537
537
|
dataTypes: RelativeActivityDataType[];
|
|
@@ -545,7 +545,7 @@ interface RelativeActivityDataType {
|
|
|
545
545
|
color: string;
|
|
546
546
|
formatter: (number: number) => string;
|
|
547
547
|
}
|
|
548
|
-
declare function export_default$
|
|
548
|
+
declare function export_default$u(props: RelativeActivityTodayProps): React.JSX.Element | null;
|
|
549
549
|
|
|
550
550
|
declare type RestingHeartRateCalendarPreviewState = "WithData" | "NoData" | "Loading";
|
|
551
551
|
interface RestingHeartRateCalendarProps {
|
|
@@ -553,7 +553,7 @@ interface RestingHeartRateCalendarProps {
|
|
|
553
553
|
year: number;
|
|
554
554
|
showPreviewData: RestingHeartRateCalendarPreviewState;
|
|
555
555
|
}
|
|
556
|
-
declare function export_default$
|
|
556
|
+
declare function export_default$t(props: RestingHeartRateCalendarProps): React.JSX.Element;
|
|
557
557
|
|
|
558
558
|
interface SurveyTaskListProps {
|
|
559
559
|
status: SurveyTaskStatus;
|
|
@@ -565,23 +565,7 @@ interface SurveyTaskListProps {
|
|
|
565
565
|
variant?: "noCard" | "singleCard" | "multiCard";
|
|
566
566
|
}
|
|
567
567
|
declare type SurveyTaskListListPreviewState = "IncompleteTasks" | "CompleteTasks";
|
|
568
|
-
declare function export_default$
|
|
569
|
-
|
|
570
|
-
interface NewPointsEntry {
|
|
571
|
-
name: string;
|
|
572
|
-
points: number;
|
|
573
|
-
bonusPoints?: number;
|
|
574
|
-
message?: {
|
|
575
|
-
title: string;
|
|
576
|
-
text: string;
|
|
577
|
-
};
|
|
578
|
-
}
|
|
579
|
-
interface NewPointsProps {
|
|
580
|
-
entries: NewPointsEntry[];
|
|
581
|
-
pointsToNextReward?: number;
|
|
582
|
-
doneButtonText?: string;
|
|
583
|
-
}
|
|
584
|
-
declare function export_default$s(props: NewPointsProps): React.JSX.Element;
|
|
568
|
+
declare function export_default$s(props: SurveyTaskListProps): React.JSX.Element | null;
|
|
585
569
|
|
|
586
570
|
interface BlankViewProps {
|
|
587
571
|
children?: React.ReactNode;
|
|
@@ -686,10 +670,21 @@ interface SurveyTasksViewProps {
|
|
|
686
670
|
declare type ViewPresentationType = "Modal" | "Push";
|
|
687
671
|
declare function export_default$i(props: SurveyTasksViewProps): React.JSX.Element;
|
|
688
672
|
|
|
673
|
+
interface NewPointsEntry {
|
|
674
|
+
name: string;
|
|
675
|
+
points: number;
|
|
676
|
+
bonusPoints?: number;
|
|
677
|
+
message?: {
|
|
678
|
+
title: string;
|
|
679
|
+
text: string;
|
|
680
|
+
};
|
|
681
|
+
}
|
|
689
682
|
interface NewPointsViewProps {
|
|
690
|
-
|
|
683
|
+
entries: NewPointsEntry[];
|
|
684
|
+
pointsToNextReward?: number;
|
|
691
685
|
colorScheme?: 'auto' | 'light' | 'dark';
|
|
692
686
|
primaryColor?: string;
|
|
687
|
+
doneButtonText?: string;
|
|
693
688
|
}
|
|
694
689
|
declare function export_default$h(props: NewPointsViewProps): React.JSX.Element;
|
|
695
690
|
|
|
@@ -802,8 +797,4 @@ declare function language(key: string): string;
|
|
|
802
797
|
|
|
803
798
|
declare function getDayKey(date: Date): string;
|
|
804
799
|
|
|
805
|
-
|
|
806
|
-
declare function showNewPoints(props: NewPointsProps, colorScheme?: ColorScheme, primaryColor?: string, url?: string): void;
|
|
807
|
-
declare function decodeNewPointsProps(encodedProps: string): NewPointsProps;
|
|
808
|
-
|
|
809
|
-
export { export_default$1e as Action, export_default$1d as ActivityMeter, export_default$R as AnimatedRing, export_default$Q as AppDownload, AreaChartOptions, BarChartOptions, export_default$r as BlankView, export_default$1c as Button, export_default$1b as Calendar, export_default$1a as Card, export_default$19 as CardTitle, export_default$g as CelebrationStep, export_default$f as CelebrationStepContainer, export_default$e as ConnectDeviceAccountStep, export_default$d as ConnectDeviceAccountStepContainer, export_default$P as ConnectEhr, export_default$c as ConnectEhrStep, export_default$b as ConnectEhrStepContainer, export_default$q as ConnectEhrView, export_default$O as ConnectFitbit, export_default$N as ConnectGarmin, DailyDataAvailabilityCheck, DailyDataChart, DailyDataProvider, DailyDataQueryResult, DailyDataType, DateRangeNavigatorContext as DateRangeCoordinator, export_default$18 as DateRangeNavigator, export_default$17 as DayTrackerSymbol, DeviceDataChartLine, export_default$M as DeviceDataMonthChart, export_default$L as DeviceDataMonthCharts, export_default$p as DeviceDataView, export_default$K as ExternalAccountList, export_default$J as ExternalAccountsLoadingIndicator, export_default$I as ExternalAccountsPreview, export_default$o as ExternalAccountsView, export_default$16 as Face, export_default$H as FitbitDevices, export_default$G as FitbitMonthCharts, export_default$n as FitbitView, export_default$F as GarminDevices, export_default$E as GarminMonthCharts, export_default$m as GarminView, export_default$k as HealthAndWellnessView, export_default$D as HealthPreviewSection, export_default$15 as Histogram, export_default$l as HomeView, export_default$C as LabResultsSummary, export_default$14 as Layout, LayoutContext, LineChartOptions, LoadingIndicator, export_default$B as MostRecentNotification, export_default$13 as NavigationBar, export_default$s as NewPoints, NewPointsEntry, NewPointsProps, export_default$h as NewPointsView, NewPointsViewProps, export_default$A as NotificationList, export_default$j as NotificationsView, export_default$z as PlatformSpecificContent, export_default$y as ProjectHeader, export_default$x as ProjectSupport, export_default$w as ProviderSearch, export_default$v as RelativeActivityToday, export_default$u as RestingHeartRateCalendar, export_default$12 as Section, export_default$11 as SegmentedControl, export_default$10 as ShinyOverlay, export_default$$ as SingleExternalAccount, export_default$_ as SingleNotification, export_default$Z as SingleSurveyTask, export_default$Y 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$t as SurveyTaskList, export_default$i as SurveyTasksView, export_default$X as Switch, export_default$W as TextBlock, export_default$V as TrackerItem, export_default$U as UnstyledButton, export_default$T as ViewHeader, export_default$S as WeekCalendar, WeekStartsOn, export_default$2 as YouTubeStep, export_default$1 as YouTubeStepContainer, checkDailyDataAvailability, decodeNewPointsProps, getDayKey, getMonthStart, getWeekStart, language, queryDailyData, registerDailyDataProvider, showNewPoints, export_default as useInterval };
|
|
800
|
+
export { export_default$1d as Action, export_default$1c as ActivityMeter, export_default$Q as AnimatedRing, export_default$P as AppDownload, AreaChartOptions, BarChartOptions, export_default$r as BlankView, export_default$1b as Button, export_default$1a as Calendar, export_default$19 as Card, export_default$18 as CardTitle, export_default$g as CelebrationStep, export_default$f as CelebrationStepContainer, export_default$e as ConnectDeviceAccountStep, export_default$d as ConnectDeviceAccountStepContainer, export_default$O as ConnectEhr, export_default$c as ConnectEhrStep, export_default$b as ConnectEhrStepContainer, export_default$q as ConnectEhrView, export_default$N as ConnectFitbit, export_default$M as ConnectGarmin, DailyDataAvailabilityCheck, DailyDataChart, DailyDataProvider, DailyDataQueryResult, DailyDataType, DateRangeNavigatorContext as DateRangeCoordinator, export_default$17 as DateRangeNavigator, export_default$16 as DayTrackerSymbol, DeviceDataChartLine, export_default$L as DeviceDataMonthChart, export_default$K as DeviceDataMonthCharts, export_default$p as DeviceDataView, export_default$J as ExternalAccountList, export_default$I as ExternalAccountsLoadingIndicator, export_default$H as ExternalAccountsPreview, export_default$o as ExternalAccountsView, export_default$15 as Face, export_default$G as FitbitDevices, export_default$F as FitbitMonthCharts, export_default$n as FitbitView, export_default$E as GarminDevices, export_default$D as GarminMonthCharts, export_default$m as GarminView, export_default$k as HealthAndWellnessView, export_default$C as HealthPreviewSection, export_default$14 as Histogram, export_default$l as HomeView, export_default$B as LabResultsSummary, export_default$13 as Layout, LayoutContext, LineChartOptions, LoadingIndicator, export_default$A as MostRecentNotification, export_default$12 as NavigationBar, export_default$h as NewPointsView, NewPointsViewProps, export_default$z as NotificationList, export_default$j as NotificationsView, export_default$y as PlatformSpecificContent, export_default$x as ProjectHeader, export_default$w as ProjectSupport, export_default$v as ProviderSearch, export_default$u as RelativeActivityToday, export_default$t as RestingHeartRateCalendar, export_default$11 as Section, export_default$10 as SegmentedControl, export_default$$ as ShinyOverlay, export_default$_ as SingleExternalAccount, export_default$Z as SingleNotification, export_default$Y as SingleSurveyTask, export_default$X 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$s as SurveyTaskList, export_default$i as SurveyTasksView, export_default$W as Switch, export_default$V as TextBlock, export_default$U as TrackerItem, export_default$T as UnstyledButton, export_default$S as ViewHeader, export_default$R 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,17 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './NewPoints.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 NewPointsProps {
|
|
13
|
-
entries: NewPointsEntry[];
|
|
14
|
-
pointsToNextReward?: number;
|
|
15
|
-
doneButtonText?: string;
|
|
16
|
-
}
|
|
17
|
-
export default function (props: NewPointsProps): React.JSX.Element;
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import NewPoints, { NewPointsProps } from './NewPoints';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof NewPoints;
|
|
6
|
-
parameters: {
|
|
7
|
-
layout: string;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export default _default;
|
|
11
|
-
export declare const SingleEntry: {
|
|
12
|
-
args: {
|
|
13
|
-
entries: {
|
|
14
|
-
name: string;
|
|
15
|
-
points: number;
|
|
16
|
-
message: {
|
|
17
|
-
title: string;
|
|
18
|
-
text: string;
|
|
19
|
-
};
|
|
20
|
-
}[];
|
|
21
|
-
};
|
|
22
|
-
render: (args: NewPointsProps) => React.JSX.Element;
|
|
23
|
-
};
|
|
24
|
-
export declare const SingleEntryWithBonus: {
|
|
25
|
-
args: {
|
|
26
|
-
entries: {
|
|
27
|
-
name: string;
|
|
28
|
-
points: number;
|
|
29
|
-
bonusPoints: number;
|
|
30
|
-
message: {
|
|
31
|
-
title: string;
|
|
32
|
-
text: string;
|
|
33
|
-
};
|
|
34
|
-
}[];
|
|
35
|
-
};
|
|
36
|
-
render: (args: NewPointsProps) => React.JSX.Element;
|
|
37
|
-
};
|
|
38
|
-
export declare const SingleEntryWithNextReward: {
|
|
39
|
-
args: {
|
|
40
|
-
entries: {
|
|
41
|
-
name: string;
|
|
42
|
-
points: number;
|
|
43
|
-
message: {
|
|
44
|
-
title: string;
|
|
45
|
-
text: string;
|
|
46
|
-
};
|
|
47
|
-
}[];
|
|
48
|
-
pointsToNextReward: number;
|
|
49
|
-
};
|
|
50
|
-
render: (args: NewPointsProps) => React.JSX.Element;
|
|
51
|
-
};
|
|
52
|
-
export declare const MultiEntry: {
|
|
53
|
-
args: {
|
|
54
|
-
entries: {
|
|
55
|
-
name: string;
|
|
56
|
-
points: number;
|
|
57
|
-
message: {
|
|
58
|
-
title: string;
|
|
59
|
-
text: string;
|
|
60
|
-
};
|
|
61
|
-
}[];
|
|
62
|
-
};
|
|
63
|
-
render: (args: NewPointsProps) => React.JSX.Element;
|
|
64
|
-
};
|
|
65
|
-
export declare const MultiEntryWithBonus: {
|
|
66
|
-
args: {
|
|
67
|
-
entries: ({
|
|
68
|
-
name: string;
|
|
69
|
-
points: number;
|
|
70
|
-
bonusPoints: number;
|
|
71
|
-
message: {
|
|
72
|
-
title: string;
|
|
73
|
-
text: string;
|
|
74
|
-
};
|
|
75
|
-
} | {
|
|
76
|
-
name: string;
|
|
77
|
-
points: number;
|
|
78
|
-
message: {
|
|
79
|
-
title: string;
|
|
80
|
-
text: string;
|
|
81
|
-
};
|
|
82
|
-
bonusPoints?: undefined;
|
|
83
|
-
})[];
|
|
84
|
-
};
|
|
85
|
-
render: (args: NewPointsProps) => React.JSX.Element;
|
|
86
|
-
};
|
|
87
|
-
export declare const MultiEntryWithNextReward: {
|
|
88
|
-
args: {
|
|
89
|
-
entries: {
|
|
90
|
-
name: string;
|
|
91
|
-
points: number;
|
|
92
|
-
message: {
|
|
93
|
-
title: string;
|
|
94
|
-
text: string;
|
|
95
|
-
};
|
|
96
|
-
}[];
|
|
97
|
-
pointsToNextReward: number;
|
|
98
|
-
};
|
|
99
|
-
render: (args: NewPointsProps) => React.JSX.Element;
|
|
100
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default, NewPointsProps, NewPointsEntry } from './NewPoints';
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { NewPointsProps } from "../components";
|
|
2
|
-
declare type ColorScheme = 'auto' | 'light' | 'dark';
|
|
3
|
-
export declare function showNewPoints(props: NewPointsProps, colorScheme?: ColorScheme, primaryColor?: string, url?: string): void;
|
|
4
|
-
export declare function decodeNewPointsProps(encodedProps: string): NewPointsProps;
|
|
5
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './NewPoints.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 NewPointsProps {
|
|
13
|
-
entries: NewPointsEntry[];
|
|
14
|
-
pointsToNextReward?: number;
|
|
15
|
-
doneButtonText?: string;
|
|
16
|
-
}
|
|
17
|
-
export default function (props: NewPointsProps): React.JSX.Element;
|