@careevolution/mydatahelps-ui 1.8.4 → 1.9.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 +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/presentational/SingleSurveyTask/SingleSurveyTask.stories.d.ts +1 -0
- package/dist/cjs/types/components/step/CelebrationStep/CelebrationStep.d.ts +13 -0
- package/dist/cjs/types/components/step/CelebrationStep/CelebrationStep.stories.d.ts +7 -0
- package/dist/cjs/types/components/step/CelebrationStep/index.d.ts +1 -0
- package/dist/cjs/types/components/step/CelebrationStepContainer/CelebrationStepContainer.d.ts +2 -0
- package/dist/cjs/types/components/step/CelebrationStepContainer/CelebrationStepContainer.stories.d.ts +5 -0
- package/dist/cjs/types/components/step/CelebrationStepContainer/index.d.ts +1 -0
- package/dist/cjs/types/components/step/StepImage/StepImage.d.ts +4 -0
- package/dist/cjs/types/components/step/StepImage/StepImage.stories.d.ts +6 -0
- package/dist/cjs/types/components/step/StepImage/index.d.ts +1 -0
- package/dist/cjs/types/components/step/StepImageIcon/StepImageIcon.d.ts +4 -0
- package/dist/cjs/types/components/step/StepImageIcon/StepImageIcon.stories.d.ts +6 -0
- package/dist/cjs/types/components/step/StepImageIcon/index.d.ts +1 -0
- package/dist/cjs/types/components/step/index.d.ts +4 -0
- package/dist/cjs/types/components/step/shared.d.ts +3 -0
- package/dist/cjs/types/helpers/confetti.d.ts +4 -0
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/presentational/SingleSurveyTask/SingleSurveyTask.stories.d.ts +1 -0
- package/dist/esm/types/components/step/CelebrationStep/CelebrationStep.d.ts +13 -0
- package/dist/esm/types/components/step/CelebrationStep/CelebrationStep.stories.d.ts +7 -0
- package/dist/esm/types/components/step/CelebrationStep/index.d.ts +1 -0
- package/dist/esm/types/components/step/CelebrationStepContainer/CelebrationStepContainer.d.ts +2 -0
- package/dist/esm/types/components/step/CelebrationStepContainer/CelebrationStepContainer.stories.d.ts +5 -0
- package/dist/esm/types/components/step/CelebrationStepContainer/index.d.ts +1 -0
- package/dist/esm/types/components/step/StepImage/StepImage.d.ts +4 -0
- package/dist/esm/types/components/step/StepImage/StepImage.stories.d.ts +6 -0
- package/dist/esm/types/components/step/StepImage/index.d.ts +1 -0
- package/dist/esm/types/components/step/StepImageIcon/StepImageIcon.d.ts +4 -0
- package/dist/esm/types/components/step/StepImageIcon/StepImageIcon.stories.d.ts +6 -0
- package/dist/esm/types/components/step/StepImageIcon/index.d.ts +1 -0
- package/dist/esm/types/components/step/index.d.ts +4 -0
- package/dist/esm/types/components/step/shared.d.ts +3 -0
- package/dist/esm/types/helpers/confetti.d.ts +4 -0
- package/dist/index.d.ts +75 -53
- package/package.json +3 -2
package/dist/esm/types/components/presentational/SingleSurveyTask/SingleSurveyTask.stories.d.ts
CHANGED
|
@@ -5,3 +5,4 @@ export default _default;
|
|
|
5
5
|
export declare const Incomplete: ComponentStory<typeof SingleSurveyTask>;
|
|
6
6
|
export declare const Complete: ComponentStory<typeof SingleSurveyTask>;
|
|
7
7
|
export declare const InProgress: ComponentStory<typeof SingleSurveyTask>;
|
|
8
|
+
export declare const LongDescription: ComponentStory<typeof SingleSurveyTask>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface CelebrationStepProps {
|
|
3
|
+
title?: string;
|
|
4
|
+
text?: string;
|
|
5
|
+
detailText?: string;
|
|
6
|
+
iconUrl?: string;
|
|
7
|
+
imageUrl?: string;
|
|
8
|
+
nextButtonText?: string;
|
|
9
|
+
styles: {
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export default function (props: CelebrationStepProps): JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ComponentStory, ComponentMeta } from "@storybook/react";
|
|
2
|
+
import CelebrationStep from "./CelebrationStep";
|
|
3
|
+
declare const _default: ComponentMeta<typeof CelebrationStep>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const CelebrationStepDefault: ComponentStory<typeof CelebrationStep>;
|
|
6
|
+
export declare const CelebrationStepCustomStyling: ComponentStory<typeof CelebrationStep>;
|
|
7
|
+
export declare const CelebrationStepEmpty: ComponentStory<typeof CelebrationStep>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./CelebrationStep";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ComponentStory, ComponentMeta } from "@storybook/react";
|
|
2
|
+
import CelebrationStepContainer from "./CelebrationStepContainer";
|
|
3
|
+
declare const _default: ComponentMeta<typeof CelebrationStepContainer>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const CelebrationStepContainerDefault: ComponentStory<typeof CelebrationStepContainer>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./CelebrationStepContainer";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ComponentStory, ComponentMeta } from "@storybook/react";
|
|
2
|
+
import StepImage from "./StepImage";
|
|
3
|
+
declare const _default: ComponentMeta<typeof StepImage>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const StepImageIconNoSrc: ComponentStory<typeof StepImage>;
|
|
6
|
+
export declare const StepImageIconWithSrc: ComponentStory<typeof StepImage>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./StepImage";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ComponentStory, ComponentMeta } from "@storybook/react";
|
|
2
|
+
import StepImageIcon from "./StepImageIcon";
|
|
3
|
+
declare const _default: ComponentMeta<typeof StepImageIcon>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const StepImageIconNoSrc: ComponentStory<typeof StepImageIcon>;
|
|
6
|
+
export declare const StepImageIconWithSrc: ComponentStory<typeof StepImageIcon>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./StepImageIcon";
|
|
@@ -4,5 +4,9 @@ export { default as StepTitle } from "./StepTitle";
|
|
|
4
4
|
export { default as StepText } from "./StepText";
|
|
5
5
|
export { default as StepDetailText } from "./StepDetailText";
|
|
6
6
|
export { default as StepNextButton } from "./StepNextButton";
|
|
7
|
+
export { default as StepImage } from "./StepImage";
|
|
8
|
+
export { default as StepImageIcon } from "./StepImageIcon";
|
|
7
9
|
export { default as YouTubeStep } from "./YouTubeStep";
|
|
8
10
|
export { default as YouTubeStepContainer } from "./YouTubeStepContainer";
|
|
11
|
+
export { default as CelebrationStep } from "./CelebrationStep";
|
|
12
|
+
export { default as CelebrationStepContainer } from "./CelebrationStepContainer";
|
package/dist/index.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ interface ActionProps {
|
|
|
12
12
|
children?: React.ReactNode;
|
|
13
13
|
className?: string;
|
|
14
14
|
}
|
|
15
|
-
declare function export_default$
|
|
15
|
+
declare function export_default$V(props: ActionProps): JSX.Element;
|
|
16
16
|
|
|
17
17
|
interface ActivityMeterProps {
|
|
18
18
|
label: string;
|
|
@@ -23,7 +23,7 @@ interface ActivityMeterProps {
|
|
|
23
23
|
color: string;
|
|
24
24
|
message?: string;
|
|
25
25
|
}
|
|
26
|
-
declare function export_default$
|
|
26
|
+
declare function export_default$U(props: ActivityMeterProps): JSX.Element;
|
|
27
27
|
|
|
28
28
|
interface ButtonProps {
|
|
29
29
|
children?: React.ReactNode;
|
|
@@ -34,7 +34,7 @@ interface ButtonProps {
|
|
|
34
34
|
disabled?: boolean;
|
|
35
35
|
onClick: Function;
|
|
36
36
|
}
|
|
37
|
-
declare function export_default$
|
|
37
|
+
declare function export_default$T(props: ButtonProps): JSX.Element;
|
|
38
38
|
|
|
39
39
|
interface CalendarProps {
|
|
40
40
|
month: number;
|
|
@@ -42,34 +42,34 @@ interface CalendarProps {
|
|
|
42
42
|
dayRenderer(year: number, month: number, day?: number): JSX.Element | null;
|
|
43
43
|
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
44
44
|
}
|
|
45
|
-
declare function export_default$
|
|
45
|
+
declare function export_default$S(props: CalendarProps): JSX.Element;
|
|
46
46
|
|
|
47
47
|
interface CardProps {
|
|
48
48
|
className?: string;
|
|
49
49
|
children?: React.ReactNode;
|
|
50
50
|
allowOverflow?: boolean;
|
|
51
51
|
}
|
|
52
|
-
declare function export_default$
|
|
52
|
+
declare function export_default$R(props: CardProps): JSX.Element | null;
|
|
53
53
|
|
|
54
54
|
interface CardTitleProps {
|
|
55
55
|
title: string;
|
|
56
56
|
onDetailClick?: Function;
|
|
57
57
|
detailLinkText?: string;
|
|
58
58
|
}
|
|
59
|
-
declare function export_default$
|
|
59
|
+
declare function export_default$Q(props: CardTitleProps): JSX.Element;
|
|
60
60
|
|
|
61
61
|
interface DateRangeNavigatorProps {
|
|
62
62
|
intervalType: "Week" | "Month";
|
|
63
63
|
intervalStart: Date;
|
|
64
64
|
onIntervalChange(newIntervalStart: Date, newIntervalEnd: Date): void;
|
|
65
65
|
}
|
|
66
|
-
declare function export_default$
|
|
66
|
+
declare function export_default$P(props: DateRangeNavigatorProps): JSX.Element;
|
|
67
67
|
|
|
68
68
|
interface DayTrackerSymbolProps {
|
|
69
69
|
primaryColors: string[];
|
|
70
70
|
secondaryColors: string[];
|
|
71
71
|
}
|
|
72
|
-
declare function export_default$
|
|
72
|
+
declare function export_default$O(props: DayTrackerSymbolProps): JSX.Element;
|
|
73
73
|
|
|
74
74
|
interface FaceProps {
|
|
75
75
|
faceValue?: number;
|
|
@@ -77,7 +77,7 @@ interface FaceProps {
|
|
|
77
77
|
onClick?: MouseEventHandler;
|
|
78
78
|
className?: string;
|
|
79
79
|
}
|
|
80
|
-
declare function export_default$
|
|
80
|
+
declare function export_default$N(props: FaceProps): JSX.Element;
|
|
81
81
|
|
|
82
82
|
interface HistogramProps {
|
|
83
83
|
entries: {
|
|
@@ -86,7 +86,7 @@ interface HistogramProps {
|
|
|
86
86
|
value: number;
|
|
87
87
|
}[];
|
|
88
88
|
}
|
|
89
|
-
declare function export_default$
|
|
89
|
+
declare function export_default$M(props: HistogramProps): JSX.Element;
|
|
90
90
|
|
|
91
91
|
interface LayoutProps {
|
|
92
92
|
children?: React.ReactNode;
|
|
@@ -94,7 +94,7 @@ interface LayoutProps {
|
|
|
94
94
|
bodyBackgroundColor?: string;
|
|
95
95
|
statusBarStyle?: StatusBarStyle;
|
|
96
96
|
}
|
|
97
|
-
declare function export_default$
|
|
97
|
+
declare function export_default$L(props: LayoutProps): JSX.Element;
|
|
98
98
|
|
|
99
99
|
declare function LoadingIndicator(): JSX.Element;
|
|
100
100
|
|
|
@@ -106,12 +106,12 @@ interface NavigationBarProps {
|
|
|
106
106
|
closeButtonText?: string;
|
|
107
107
|
backButtonText?: string;
|
|
108
108
|
}
|
|
109
|
-
declare function export_default$
|
|
109
|
+
declare function export_default$K(props: NavigationBarProps): JSX.Element;
|
|
110
110
|
|
|
111
111
|
interface SectionProps {
|
|
112
112
|
children?: React.ReactNode;
|
|
113
113
|
}
|
|
114
|
-
declare function export_default$
|
|
114
|
+
declare function export_default$J(props: SectionProps): JSX.Element | null;
|
|
115
115
|
|
|
116
116
|
interface SegmentedControlProps {
|
|
117
117
|
segments: {
|
|
@@ -121,21 +121,21 @@ interface SegmentedControlProps {
|
|
|
121
121
|
selectedSegment: string;
|
|
122
122
|
onSegmentSelected: Function;
|
|
123
123
|
}
|
|
124
|
-
declare function export_default$
|
|
124
|
+
declare function export_default$I(props: SegmentedControlProps): JSX.Element;
|
|
125
125
|
|
|
126
|
-
declare function export_default$
|
|
126
|
+
declare function export_default$H(): JSX.Element;
|
|
127
127
|
|
|
128
128
|
interface SingleExternalAccountProps {
|
|
129
129
|
externalAccount: ExternalAccount;
|
|
130
130
|
onAccountRemoved: (account: ExternalAccount) => void;
|
|
131
131
|
onReconnectAccount: (account: ExternalAccount) => void;
|
|
132
132
|
}
|
|
133
|
-
declare function export_default$
|
|
133
|
+
declare function export_default$G(props: SingleExternalAccountProps): JSX.Element;
|
|
134
134
|
|
|
135
135
|
interface SingleNotificationProps {
|
|
136
136
|
notification: Notification;
|
|
137
137
|
}
|
|
138
|
-
declare function export_default$
|
|
138
|
+
declare function export_default$F(props: SingleNotificationProps): JSX.Element;
|
|
139
139
|
|
|
140
140
|
interface SingleSurveyTaskProps {
|
|
141
141
|
task: SurveyTask;
|
|
@@ -143,7 +143,7 @@ interface SingleSurveyTaskProps {
|
|
|
143
143
|
hideDueDate?: boolean;
|
|
144
144
|
disableClick?: boolean;
|
|
145
145
|
}
|
|
146
|
-
declare function export_default$
|
|
146
|
+
declare function export_default$E(props: SingleSurveyTaskProps): JSX.Element | null;
|
|
147
147
|
|
|
148
148
|
interface SparkBarChartProps {
|
|
149
149
|
averageFillPercent: number;
|
|
@@ -153,14 +153,14 @@ interface SparkBarChartBar {
|
|
|
153
153
|
color: string;
|
|
154
154
|
barFillPercent: number;
|
|
155
155
|
}
|
|
156
|
-
declare function export_default$
|
|
156
|
+
declare function export_default$D(props: SparkBarChartProps): JSX.Element;
|
|
157
157
|
|
|
158
158
|
interface SwitchProps {
|
|
159
159
|
isOn: Boolean;
|
|
160
160
|
onBackgroundColor?: string;
|
|
161
161
|
onValueChanged(value: boolean): void;
|
|
162
162
|
}
|
|
163
|
-
declare function export_default$
|
|
163
|
+
declare function export_default$C(props: SwitchProps): JSX.Element;
|
|
164
164
|
|
|
165
165
|
interface StatusBarBackgroundProps {
|
|
166
166
|
color?: string;
|
|
@@ -170,7 +170,7 @@ declare function StatusBarBackgroundProps(props: StatusBarBackgroundProps): JSX.
|
|
|
170
170
|
interface TextBlockProps {
|
|
171
171
|
children?: React.ReactNode;
|
|
172
172
|
}
|
|
173
|
-
declare function export_default$
|
|
173
|
+
declare function export_default$B(props: TextBlockProps): JSX.Element | null;
|
|
174
174
|
|
|
175
175
|
interface TrackerItemProps {
|
|
176
176
|
selected: boolean;
|
|
@@ -180,7 +180,7 @@ interface TrackerItemProps {
|
|
|
180
180
|
badge?: string;
|
|
181
181
|
onClick?: Function;
|
|
182
182
|
}
|
|
183
|
-
declare function export_default$
|
|
183
|
+
declare function export_default$A(props: TrackerItemProps): JSX.Element;
|
|
184
184
|
|
|
185
185
|
interface WeekCalendarProps {
|
|
186
186
|
selectedDate?: Date;
|
|
@@ -191,7 +191,7 @@ interface WeekCalendarProps {
|
|
|
191
191
|
onStartDateChange?(startDate: Date): void;
|
|
192
192
|
dayRenderer(year: number, month: number, day: number, selectedWeek: boolean): JSX.Element | null;
|
|
193
193
|
}
|
|
194
|
-
declare function export_default$
|
|
194
|
+
declare function export_default$z(props: WeekCalendarProps): JSX.Element;
|
|
195
195
|
|
|
196
196
|
interface ConnectEhrProps {
|
|
197
197
|
applicationUrl: ConnectEhrApplicationUrl;
|
|
@@ -200,7 +200,7 @@ interface ConnectEhrProps {
|
|
|
200
200
|
}
|
|
201
201
|
declare type ConnectEhrApplicationUrl = "preview" | string;
|
|
202
202
|
declare type ConnectEhrPreviewState = "notEnabled" | "enabled" | "enabledConnected" | "enabledNeedsAttention";
|
|
203
|
-
declare function export_default$
|
|
203
|
+
declare function export_default$y(props: ConnectEhrProps): JSX.Element | null;
|
|
204
204
|
|
|
205
205
|
interface ConnectFitbitProps {
|
|
206
206
|
title?: string;
|
|
@@ -209,7 +209,7 @@ interface ConnectFitbitProps {
|
|
|
209
209
|
disabledBehavior?: 'hide' | 'displayError';
|
|
210
210
|
}
|
|
211
211
|
declare type ConnectFitbitPreviewState = ExternalAccountStatus | "notConnected" | "notEnabled";
|
|
212
|
-
declare function export_default$
|
|
212
|
+
declare function export_default$x(props: ConnectFitbitProps): JSX.Element | null;
|
|
213
213
|
|
|
214
214
|
interface DeviceDataMonthChartProps {
|
|
215
215
|
lines: DeviceDataChartLine[];
|
|
@@ -227,13 +227,13 @@ interface DeviceDataChartLine {
|
|
|
227
227
|
showAverage?: boolean;
|
|
228
228
|
}
|
|
229
229
|
declare type DeviceDataMonthChartPreviewState = "WithData" | "NoData" | "Loading";
|
|
230
|
-
declare function export_default$
|
|
230
|
+
declare function export_default$w(props: DeviceDataMonthChartProps): JSX.Element | null;
|
|
231
231
|
|
|
232
232
|
interface DeviceDataMonthChartsProps {
|
|
233
233
|
previewState?: DeviceDataMonthChartsPreviewState;
|
|
234
234
|
}
|
|
235
235
|
declare type DeviceDataMonthChartsPreviewState = "Default" | "NoData";
|
|
236
|
-
declare function export_default$
|
|
236
|
+
declare function export_default$v(props: DeviceDataMonthChartsProps): JSX.Element;
|
|
237
237
|
|
|
238
238
|
interface ExternalAccountListProps {
|
|
239
239
|
externalAccountProviderCategories?: string[];
|
|
@@ -241,7 +241,7 @@ interface ExternalAccountListProps {
|
|
|
241
241
|
onExternalAccountsLoaded?: (accounts: ExternalAccount[]) => void;
|
|
242
242
|
}
|
|
243
243
|
declare type NotificationListPreviewState$1 = "Default";
|
|
244
|
-
declare function export_default$
|
|
244
|
+
declare function export_default$u(props: ExternalAccountListProps): JSX.Element;
|
|
245
245
|
|
|
246
246
|
interface ExternalAccountsPreviewProps {
|
|
247
247
|
excludeProviders?: boolean;
|
|
@@ -252,19 +252,19 @@ interface ExternalAccountsPreviewProps {
|
|
|
252
252
|
}
|
|
253
253
|
declare type ExternalAccountsApplicationUrl = "preview" | string;
|
|
254
254
|
declare type ExternalAccountsPreviewPreviewState = "Default";
|
|
255
|
-
declare function export_default$
|
|
255
|
+
declare function export_default$t(props: ExternalAccountsPreviewProps): JSX.Element | null;
|
|
256
256
|
|
|
257
257
|
interface FitbitDevicesProps {
|
|
258
258
|
previewState?: FitbitDevicesPreviewState;
|
|
259
259
|
}
|
|
260
260
|
declare type FitbitDevicesPreviewState = "notEnabled" | "notConnected" | "connected";
|
|
261
|
-
declare function export_default$
|
|
261
|
+
declare function export_default$s(props: FitbitDevicesProps): JSX.Element | null;
|
|
262
262
|
|
|
263
263
|
interface FitbitMonthChartsProps {
|
|
264
264
|
previewState?: FitbitMonthChartsPreviewState;
|
|
265
265
|
}
|
|
266
266
|
declare type FitbitMonthChartsPreviewState = "notEnabled" | "notConnected" | "connected";
|
|
267
|
-
declare function export_default$
|
|
267
|
+
declare function export_default$r(props: FitbitMonthChartsProps): JSX.Element;
|
|
268
268
|
|
|
269
269
|
interface MostRecentNotificationProps {
|
|
270
270
|
notificationType?: NotificationType;
|
|
@@ -273,39 +273,39 @@ interface MostRecentNotificationProps {
|
|
|
273
273
|
previewState?: MostRecentNotificationPreviewState;
|
|
274
274
|
}
|
|
275
275
|
declare type MostRecentNotificationPreviewState = "Default";
|
|
276
|
-
declare function export_default$
|
|
276
|
+
declare function export_default$q(props: MostRecentNotificationProps): JSX.Element | null;
|
|
277
277
|
|
|
278
278
|
interface NotificationListProps {
|
|
279
279
|
notificationType?: NotificationType;
|
|
280
280
|
previewState?: NotificationListPreviewState;
|
|
281
281
|
}
|
|
282
282
|
declare type NotificationListPreviewState = "Default" | "NoData";
|
|
283
|
-
declare function export_default$
|
|
283
|
+
declare function export_default$p(props: NotificationListProps): JSX.Element;
|
|
284
284
|
|
|
285
285
|
interface PlatformSpecificContentProps {
|
|
286
286
|
platforms: string[];
|
|
287
287
|
children?: React.ReactNode;
|
|
288
288
|
}
|
|
289
|
-
declare function export_default$
|
|
289
|
+
declare function export_default$o(props: PlatformSpecificContentProps): JSX.Element | null;
|
|
290
290
|
|
|
291
291
|
interface ProjectHeaderProps {
|
|
292
292
|
previewState?: ProjectHeaderPropsPreviewState;
|
|
293
293
|
}
|
|
294
294
|
declare type ProjectHeaderPropsPreviewState = "Default";
|
|
295
|
-
declare function export_default$
|
|
295
|
+
declare function export_default$n(props: ProjectHeaderProps): JSX.Element;
|
|
296
296
|
|
|
297
297
|
interface ProjectSupportProps {
|
|
298
298
|
previewState?: ProjectSupportPropsPreviewState;
|
|
299
299
|
}
|
|
300
300
|
declare type ProjectSupportPropsPreviewState = "Default";
|
|
301
|
-
declare function export_default$
|
|
301
|
+
declare function export_default$m(props: ProjectSupportProps): JSX.Element | null;
|
|
302
302
|
|
|
303
303
|
interface ProviderSearchProps {
|
|
304
304
|
previewState?: ProviderSearchPreviewState;
|
|
305
305
|
providerCategories?: string[];
|
|
306
306
|
}
|
|
307
307
|
declare type ProviderSearchPreviewState = "Default";
|
|
308
|
-
declare function export_default$
|
|
308
|
+
declare function export_default$l(props: ProviderSearchProps): JSX.Element;
|
|
309
309
|
|
|
310
310
|
interface SurveyTaskListProps {
|
|
311
311
|
status: SurveyTaskStatus;
|
|
@@ -316,7 +316,7 @@ interface SurveyTaskListProps {
|
|
|
316
316
|
previewState?: SurveyTaskListListPreviewState;
|
|
317
317
|
}
|
|
318
318
|
declare type SurveyTaskListListPreviewState = "IncompleteTasks" | "CompleteTasks";
|
|
319
|
-
declare function export_default$
|
|
319
|
+
declare function export_default$k(props: SurveyTaskListProps): JSX.Element | null;
|
|
320
320
|
|
|
321
321
|
interface ConnectEhrViewProps {
|
|
322
322
|
externalAccountsApplicationUrl: ExternalAccountsApplicationUrl;
|
|
@@ -326,12 +326,12 @@ interface ConnectEhrViewProps {
|
|
|
326
326
|
preview?: boolean;
|
|
327
327
|
}
|
|
328
328
|
declare type ViewPresentationType$3 = "Modal" | "Push";
|
|
329
|
-
declare function export_default$
|
|
329
|
+
declare function export_default$j(props: ConnectEhrViewProps): JSX.Element;
|
|
330
330
|
|
|
331
331
|
interface DeviceDataViewProps {
|
|
332
332
|
preview?: boolean;
|
|
333
333
|
}
|
|
334
|
-
declare function export_default$
|
|
334
|
+
declare function export_default$i(props: DeviceDataViewProps): JSX.Element;
|
|
335
335
|
|
|
336
336
|
interface ExternalAccountsViewProps {
|
|
337
337
|
excludeProviders?: boolean;
|
|
@@ -341,14 +341,14 @@ interface ExternalAccountsViewProps {
|
|
|
341
341
|
preview?: boolean;
|
|
342
342
|
}
|
|
343
343
|
declare type ViewPresentationType$2 = "Modal" | "Push";
|
|
344
|
-
declare function export_default$
|
|
344
|
+
declare function export_default$h(props: ExternalAccountsViewProps): JSX.Element;
|
|
345
345
|
|
|
346
346
|
interface FitbitViewProps {
|
|
347
347
|
connectPreview?: ConnectFitbitPreviewState;
|
|
348
348
|
devicesPreview?: FitbitDevicesPreviewState;
|
|
349
349
|
chartsPreview?: FitbitMonthChartsPreviewState;
|
|
350
350
|
}
|
|
351
|
-
declare function export_default$
|
|
351
|
+
declare function export_default$g(props: FitbitViewProps): JSX.Element;
|
|
352
352
|
|
|
353
353
|
interface HomeViewProps {
|
|
354
354
|
/**
|
|
@@ -366,7 +366,7 @@ interface HomeViewProps {
|
|
|
366
366
|
tasksViewUrl?: string;
|
|
367
367
|
preview?: boolean;
|
|
368
368
|
}
|
|
369
|
-
declare function export_default$
|
|
369
|
+
declare function export_default$f(props: HomeViewProps): JSX.Element;
|
|
370
370
|
|
|
371
371
|
interface NotificationsViewProps {
|
|
372
372
|
notificationType?: NotificationType;
|
|
@@ -374,7 +374,7 @@ interface NotificationsViewProps {
|
|
|
374
374
|
preview?: boolean;
|
|
375
375
|
}
|
|
376
376
|
declare type ViewPresentationType$1 = "Modal" | "Push";
|
|
377
|
-
declare function export_default$
|
|
377
|
+
declare function export_default$e(props: NotificationsViewProps): JSX.Element;
|
|
378
378
|
|
|
379
379
|
interface SurveyTasksViewProps {
|
|
380
380
|
hideCompleteTasks?: boolean;
|
|
@@ -384,18 +384,18 @@ interface SurveyTasksViewProps {
|
|
|
384
384
|
preview?: boolean;
|
|
385
385
|
}
|
|
386
386
|
declare type ViewPresentationType = "Modal" | "Push";
|
|
387
|
-
declare function export_default$
|
|
387
|
+
declare function export_default$d(props: SurveyTasksViewProps): JSX.Element;
|
|
388
388
|
|
|
389
389
|
interface StepMarkdownProps {
|
|
390
390
|
text: string;
|
|
391
391
|
inline?: boolean;
|
|
392
392
|
}
|
|
393
|
-
declare function export_default$
|
|
393
|
+
declare function export_default$c(props: StepMarkdownProps): JSX.Element;
|
|
394
394
|
|
|
395
395
|
interface StepLayoutProps {
|
|
396
396
|
children?: React.ReactNode;
|
|
397
397
|
}
|
|
398
|
-
declare function export_default$
|
|
398
|
+
declare function export_default$b(props: StepLayoutProps): JSX.Element;
|
|
399
399
|
|
|
400
400
|
interface StepElementProps {
|
|
401
401
|
text?: string;
|
|
@@ -404,12 +404,15 @@ interface StepElementProps {
|
|
|
404
404
|
fontSize?: string;
|
|
405
405
|
fontWeight?: string;
|
|
406
406
|
}
|
|
407
|
+
interface IconElementProps {
|
|
408
|
+
srcUrl?: string;
|
|
409
|
+
}
|
|
407
410
|
|
|
408
|
-
declare function export_default$
|
|
411
|
+
declare function export_default$a(props: StepElementProps): JSX.Element | null;
|
|
409
412
|
|
|
410
|
-
declare function export_default$
|
|
413
|
+
declare function export_default$9(props: StepElementProps): JSX.Element | null;
|
|
411
414
|
|
|
412
|
-
declare function export_default$
|
|
415
|
+
declare function export_default$8(props: StepElementProps): JSX.Element | null;
|
|
413
416
|
|
|
414
417
|
interface StepNextButtonProps extends StepElementProps {
|
|
415
418
|
backgroundColor: string;
|
|
@@ -418,7 +421,11 @@ interface StepNextButtonProps extends StepElementProps {
|
|
|
418
421
|
gradient: any;
|
|
419
422
|
onClick(): void;
|
|
420
423
|
}
|
|
421
|
-
declare function export_default$
|
|
424
|
+
declare function export_default$7(props: StepNextButtonProps): JSX.Element;
|
|
425
|
+
|
|
426
|
+
declare function export_default$6(props: IconElementProps): JSX.Element | null;
|
|
427
|
+
|
|
428
|
+
declare function export_default$5(props: IconElementProps): JSX.Element | null;
|
|
422
429
|
|
|
423
430
|
interface YouTubeStepProps {
|
|
424
431
|
title?: string;
|
|
@@ -431,7 +438,22 @@ interface YouTubeStepProps {
|
|
|
431
438
|
[key: string]: any;
|
|
432
439
|
};
|
|
433
440
|
}
|
|
434
|
-
declare function export_default$
|
|
441
|
+
declare function export_default$4(props: YouTubeStepProps): JSX.Element;
|
|
442
|
+
|
|
443
|
+
declare function export_default$3(): JSX.Element;
|
|
444
|
+
|
|
445
|
+
interface CelebrationStepProps {
|
|
446
|
+
title?: string;
|
|
447
|
+
text?: string;
|
|
448
|
+
detailText?: string;
|
|
449
|
+
iconUrl?: string;
|
|
450
|
+
imageUrl?: string;
|
|
451
|
+
nextButtonText?: string;
|
|
452
|
+
styles: {
|
|
453
|
+
[key: string]: any;
|
|
454
|
+
};
|
|
455
|
+
}
|
|
456
|
+
declare function export_default$2(props: CelebrationStepProps): JSX.Element;
|
|
435
457
|
|
|
436
458
|
declare function export_default$1(): JSX.Element;
|
|
437
459
|
|
|
@@ -481,4 +503,4 @@ declare enum DailyDataType {
|
|
|
481
503
|
RestingHeartRate = "RestingHeartRate"
|
|
482
504
|
}
|
|
483
505
|
|
|
484
|
-
export { export_default$
|
|
506
|
+
export { export_default$V as Action, export_default$U as ActivityMeter, export_default$T as Button, export_default$S as Calendar, export_default$R as Card, export_default$Q as CardTitle, export_default$2 as CelebrationStep, export_default$1 as CelebrationStepContainer, export_default$y as ConnectEhr, export_default$j as ConnectEhrView, export_default$x as ConnectFitbit, DailyDataAvailabilityCheck, DailyDataProvider, DailyDataQueryResult, DailyDataType, export_default$P as DateRangeNavigator, export_default$O as DayTrackerSymbol, DeviceDataChartLine, export_default$w as DeviceDataMonthChart, export_default$v as DeviceDataMonthCharts, export_default$i as DeviceDataView, export_default$u as ExternalAccountList, export_default$t as ExternalAccountsPreview, export_default$h as ExternalAccountsView, export_default$N as Face, export_default$s as FitbitDevices, export_default$r as FitbitMonthCharts, export_default$g as FitbitView, export_default$M as Histogram, export_default$f as HomeView, export_default$L as Layout, LoadingIndicator, export_default$q as MostRecentNotification, export_default$K as NavigationBar, export_default$p as NotificationList, export_default$e as NotificationsView, export_default$o as PlatformSpecificContent, export_default$n as ProjectHeader, export_default$m as ProjectSupport, export_default$l as ProviderSearch, export_default$l as RestingHeartRateCalendar, export_default$J as Section, export_default$I as SegmentedControl, export_default$H as ShinyOverlay, export_default$G as SingleExternalAccount, export_default$F as SingleNotification, export_default$E as SingleSurveyTask, export_default$D 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$k as SurveyTaskList, export_default$d as SurveyTasksView, export_default$C as Switch, export_default$B as TextBlock, export_default$A as TrackerItem, export_default$z 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.9.0",
|
|
4
4
|
"description": "MyDataHelps UI Library",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -27,7 +27,8 @@
|
|
|
27
27
|
"homepage": "https://github.com/CareEvolution/MyDataHelpsUI#readme",
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@babel/core": "^7.17.5",
|
|
30
|
-
"@
|
|
30
|
+
"@careevolution/mydatahelps-js": "^3.6.0",
|
|
31
|
+
"@rollup/plugin-commonjs": "^24.0.1",
|
|
31
32
|
"@rollup/plugin-image": "^2.1.1",
|
|
32
33
|
"@rollup/plugin-json": "^6.0.0",
|
|
33
34
|
"@rollup/plugin-node-resolve": "^13.1.3",
|