@careevolution/mydatahelps-ui 1.8.3 → 1.8.5-Unoptimize.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/dist/cjs/index.js +189 -3
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/types/components/step/CelebrationStep/CelebrationStep.d.ts +13 -0
  4. package/dist/cjs/types/components/step/CelebrationStep/CelebrationStep.stories.d.ts +7 -0
  5. package/dist/cjs/types/components/step/CelebrationStep/index.d.ts +1 -0
  6. package/dist/cjs/types/components/step/CelebrationStepContainer/CelebrationStepContainer.d.ts +2 -0
  7. package/dist/cjs/types/components/step/CelebrationStepContainer/CelebrationStepContainer.stories.d.ts +5 -0
  8. package/dist/cjs/types/components/step/CelebrationStepContainer/index.d.ts +1 -0
  9. package/dist/cjs/types/components/step/StepImage/StepImage.d.ts +4 -0
  10. package/dist/cjs/types/components/step/StepImage/StepImage.stories.d.ts +6 -0
  11. package/dist/cjs/types/components/step/StepImage/index.d.ts +1 -0
  12. package/dist/cjs/types/components/step/StepImageIcon/StepImageIcon.d.ts +4 -0
  13. package/dist/cjs/types/components/step/StepImageIcon/StepImageIcon.stories.d.ts +6 -0
  14. package/dist/cjs/types/components/step/StepImageIcon/index.d.ts +1 -0
  15. package/dist/cjs/types/components/step/index.d.ts +4 -0
  16. package/dist/cjs/types/components/step/shared.d.ts +3 -0
  17. package/dist/cjs/types/helpers/confetti.d.ts +4 -0
  18. package/dist/esm/index.js +189 -3
  19. package/dist/esm/index.js.map +1 -1
  20. package/dist/esm/types/components/step/CelebrationStep/CelebrationStep.d.ts +13 -0
  21. package/dist/esm/types/components/step/CelebrationStep/CelebrationStep.stories.d.ts +7 -0
  22. package/dist/esm/types/components/step/CelebrationStep/index.d.ts +1 -0
  23. package/dist/esm/types/components/step/CelebrationStepContainer/CelebrationStepContainer.d.ts +2 -0
  24. package/dist/esm/types/components/step/CelebrationStepContainer/CelebrationStepContainer.stories.d.ts +5 -0
  25. package/dist/esm/types/components/step/CelebrationStepContainer/index.d.ts +1 -0
  26. package/dist/esm/types/components/step/StepImage/StepImage.d.ts +4 -0
  27. package/dist/esm/types/components/step/StepImage/StepImage.stories.d.ts +6 -0
  28. package/dist/esm/types/components/step/StepImage/index.d.ts +1 -0
  29. package/dist/esm/types/components/step/StepImageIcon/StepImageIcon.d.ts +4 -0
  30. package/dist/esm/types/components/step/StepImageIcon/StepImageIcon.stories.d.ts +6 -0
  31. package/dist/esm/types/components/step/StepImageIcon/index.d.ts +1 -0
  32. package/dist/esm/types/components/step/index.d.ts +4 -0
  33. package/dist/esm/types/components/step/shared.d.ts +3 -0
  34. package/dist/esm/types/helpers/confetti.d.ts +4 -0
  35. package/dist/index.d.ts +75 -53
  36. package/package.json +5 -4
  37. package/dist/cjs/types/components/container/DeviceDataMonthChart/Recharts.d.ts +0 -9
  38. package/dist/esm/types/components/container/DeviceDataMonthChart/Recharts.d.ts +0 -9
@@ -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,2 @@
1
+ /// <reference types="react" />
2
+ export default function (): JSX.Element;
@@ -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,4 @@
1
+ /// <reference types="react" />
2
+ import './StepImage.css';
3
+ import { IconElementProps } from '../shared';
4
+ export default function (props: IconElementProps): JSX.Element | null;
@@ -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,4 @@
1
+ /// <reference types="react" />
2
+ import './StepImageIcon.css';
3
+ import { IconElementProps } from '../shared';
4
+ export default function (props: IconElementProps): JSX.Element | null;
@@ -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";
@@ -5,3 +5,6 @@ export interface StepElementProps {
5
5
  fontSize?: string;
6
6
  fontWeight?: string;
7
7
  }
8
+ export interface IconElementProps {
9
+ srcUrl?: string;
10
+ }
@@ -0,0 +1,4 @@
1
+ export declare function startConfetti(): void;
2
+ export declare function stopConfetti(): void;
3
+ export declare function removeConfetti(): void;
4
+ export declare function toggleConfetti(): void;
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$R(props: ActionProps): JSX.Element;
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$Q(props: ActivityMeterProps): JSX.Element;
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$P(props: ButtonProps): JSX.Element;
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$O(props: CalendarProps): JSX.Element;
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$N(props: CardProps): JSX.Element | null;
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$M(props: CardTitleProps): JSX.Element;
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$L(props: DateRangeNavigatorProps): JSX.Element;
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$K(props: DayTrackerSymbolProps): JSX.Element;
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$J(props: FaceProps): JSX.Element;
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$I(props: HistogramProps): JSX.Element;
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$H(props: LayoutProps): JSX.Element;
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$G(props: NavigationBarProps): JSX.Element;
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$F(props: SectionProps): JSX.Element | null;
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$E(props: SegmentedControlProps): JSX.Element;
124
+ declare function export_default$I(props: SegmentedControlProps): JSX.Element;
125
125
 
126
- declare function export_default$D(): JSX.Element;
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$C(props: SingleExternalAccountProps): JSX.Element;
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$B(props: SingleNotificationProps): JSX.Element;
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$A(props: SingleSurveyTaskProps): JSX.Element | null;
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$z(props: SparkBarChartProps): JSX.Element;
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$y(props: SwitchProps): JSX.Element;
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$x(props: TextBlockProps): JSX.Element | null;
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$w(props: TrackerItemProps): JSX.Element;
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$v(props: WeekCalendarProps): JSX.Element;
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$u(props: ConnectEhrProps): JSX.Element | null;
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$t(props: ConnectFitbitProps): JSX.Element | null;
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$s(props: DeviceDataMonthChartProps): JSX.Element | null;
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$r(props: DeviceDataMonthChartsProps): JSX.Element;
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$q(props: ExternalAccountListProps): JSX.Element;
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$p(props: ExternalAccountsPreviewProps): JSX.Element | null;
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$o(props: FitbitDevicesProps): JSX.Element | null;
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$n(props: FitbitMonthChartsProps): JSX.Element;
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$m(props: MostRecentNotificationProps): JSX.Element | null;
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$l(props: NotificationListProps): JSX.Element;
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$k(props: PlatformSpecificContentProps): JSX.Element | null;
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$j(props: ProjectHeaderProps): JSX.Element;
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$i(props: ProjectSupportProps): JSX.Element | null;
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$h(props: ProviderSearchProps): JSX.Element;
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$g(props: SurveyTaskListProps): JSX.Element | null;
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$f(props: ConnectEhrViewProps): JSX.Element;
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$e(props: DeviceDataViewProps): JSX.Element;
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$d(props: ExternalAccountsViewProps): JSX.Element;
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$c(props: FitbitViewProps): JSX.Element;
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$b(props: HomeViewProps): JSX.Element;
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$a(props: NotificationsViewProps): JSX.Element;
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$9(props: SurveyTasksViewProps): JSX.Element;
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$8(props: StepMarkdownProps): JSX.Element;
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$7(props: StepLayoutProps): JSX.Element;
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$6(props: StepElementProps): JSX.Element | null;
411
+ declare function export_default$a(props: StepElementProps): JSX.Element | null;
409
412
 
410
- declare function export_default$5(props: StepElementProps): JSX.Element | null;
413
+ declare function export_default$9(props: StepElementProps): JSX.Element | null;
411
414
 
412
- declare function export_default$4(props: StepElementProps): JSX.Element | null;
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$3(props: StepNextButtonProps): JSX.Element;
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$2(props: YouTubeStepProps): JSX.Element;
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$R as Action, export_default$Q as ActivityMeter, export_default$P as Button, export_default$O as Calendar, export_default$N as Card, export_default$M as CardTitle, export_default$u as ConnectEhr, export_default$f as ConnectEhrView, export_default$t as ConnectFitbit, DailyDataAvailabilityCheck, DailyDataProvider, DailyDataQueryResult, DailyDataType, export_default$L as DateRangeNavigator, export_default$K as DayTrackerSymbol, DeviceDataChartLine, export_default$s as DeviceDataMonthChart, export_default$r as DeviceDataMonthCharts, export_default$e as DeviceDataView, export_default$q as ExternalAccountList, export_default$p as ExternalAccountsPreview, export_default$d as ExternalAccountsView, export_default$J as Face, export_default$o as FitbitDevices, export_default$n as FitbitMonthCharts, export_default$c as FitbitView, export_default$I as Histogram, export_default$b as HomeView, export_default$H as Layout, LoadingIndicator, export_default$m as MostRecentNotification, export_default$G as NavigationBar, export_default$l as NotificationList, export_default$a as NotificationsView, export_default$k as PlatformSpecificContent, export_default$j as ProjectHeader, export_default$i as ProjectSupport, export_default$h as ProviderSearch, export_default$h as RestingHeartRateCalendar, export_default$F as Section, export_default$E as SegmentedControl, export_default$D as ShinyOverlay, export_default$C as SingleExternalAccount, export_default$B as SingleNotification, export_default$A as SingleSurveyTask, export_default$z as SparkBarChart, SparkBarChartBar, StatusBarBackgroundProps as StatusBarBackground, export_default$4 as StepDetailText, export_default$7 as StepLayout, export_default$8 as StepMarkdown, export_default$3 as StepNextButton, export_default$5 as StepText, export_default$6 as StepTitle, export_default$g as SurveyTaskList, export_default$9 as SurveyTasksView, export_default$y as Switch, export_default$x as TextBlock, export_default$w as TrackerItem, export_default$v as WeekCalendar, export_default$2 as YouTubeStep, export_default$1 as YouTubeStepContainer, checkDailyDataAvailability, queryDailyData, registerDailyDataProvider, export_default as useInterval };
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.8.3",
3
+ "version": "1.8.5-Unoptimize.1",
4
4
  "description": "MyDataHelps UI Library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -27,8 +27,10 @@
27
27
  "homepage": "https://github.com/CareEvolution/MyDataHelpsUI#readme",
28
28
  "devDependencies": {
29
29
  "@babel/core": "^7.17.5",
30
- "@rollup/plugin-commonjs": "^21.0.2",
30
+ "@careevolution/mydatahelps-js": "^3.6.0",
31
+ "@rollup/plugin-commonjs": "^24.0.1",
31
32
  "@rollup/plugin-image": "^2.1.1",
33
+ "@rollup/plugin-json": "^6.0.0",
32
34
  "@rollup/plugin-node-resolve": "^13.1.3",
33
35
  "@rollup/plugin-typescript": "8.3.3",
34
36
  "@storybook/addon-actions": "^6.4.19",
@@ -38,6 +40,7 @@
38
40
  "@storybook/addon-postcss": "^2.0.0",
39
41
  "@storybook/react": "^6.4.19",
40
42
  "@storybook/testing-library": "^0.0.9",
43
+ "@types/markdown-it": "^12.2.3",
41
44
  "@types/react": "^17.0.39",
42
45
  "babel-loader": "^8.2.3",
43
46
  "rollup": "^2.69.2",
@@ -53,8 +56,6 @@
53
56
  "@fortawesome/free-regular-svg-icons": "^6.0.0",
54
57
  "@fortawesome/free-solid-svg-icons": "^6.0.0",
55
58
  "@fortawesome/react-fontawesome": "^0.1.17",
56
- "@rollup/plugin-json": "^6.0.0",
57
- "@types/markdown-it": "^12.2.3",
58
59
  "date-fns": "^2.28.0",
59
60
  "html-react-parser": "^3.0.8",
60
61
  "markdown-it": "^13.0.1",
@@ -1,9 +0,0 @@
1
- import type { LineChart, Line, ResponsiveContainer, XAxis, YAxis, CartesianGrid, Tooltip } from 'recharts';
2
- declare const LineChartImpl: typeof LineChart;
3
- declare const ResponsiveContainerImpl: typeof ResponsiveContainer;
4
- declare const XAxisImpl: typeof XAxis;
5
- declare const YAxisImpl: typeof YAxis;
6
- declare const TooltipImpl: typeof Tooltip;
7
- declare const CartesianGridImpl: typeof CartesianGrid;
8
- declare const LineImpl: typeof Line;
9
- export { ResponsiveContainerImpl as ResponsiveContainer, LineChartImpl as LineChart, LineImpl as Line, XAxisImpl as XAxis, YAxisImpl as YAxis, TooltipImpl as Tooltip, CartesianGridImpl as CartesianGrid };
@@ -1,9 +0,0 @@
1
- import type { LineChart, Line, ResponsiveContainer, XAxis, YAxis, CartesianGrid, Tooltip } from 'recharts';
2
- declare const LineChartImpl: typeof LineChart;
3
- declare const ResponsiveContainerImpl: typeof ResponsiveContainer;
4
- declare const XAxisImpl: typeof XAxis;
5
- declare const YAxisImpl: typeof YAxis;
6
- declare const TooltipImpl: typeof Tooltip;
7
- declare const CartesianGridImpl: typeof CartesianGrid;
8
- declare const LineImpl: typeof Line;
9
- export { ResponsiveContainerImpl as ResponsiveContainer, LineChartImpl as LineChart, LineImpl as Line, XAxisImpl as XAxis, YAxisImpl as YAxis, TooltipImpl as Tooltip, CartesianGridImpl as CartesianGrid };