@careevolution/mydatahelps-ui 1.12.5-UpgradeStuff.0 → 2.0.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.
@@ -4,6 +4,7 @@ export { default as ConnectGarmin } from "./ConnectGarmin";
4
4
  export { default as DeviceDataMonthChart, DeviceDataChartLine } from "./DeviceDataMonthChart";
5
5
  export { default as DeviceDataMonthCharts } from "./DeviceDataMonthCharts";
6
6
  export { default as ExternalAccountList } from "./ExternalAccountList";
7
+ export { default as ExternalAccountsLoadingIndicator } from "./ExternalAccountsLoadingIndicator";
7
8
  export { default as ExternalAccountsPreview } from "./ExternalAccountsPreview";
8
9
  export { default as FitbitDevices } from "./FitbitDevices";
9
10
  export { default as FitbitMonthCharts } from "./FitbitMonthCharts";
package/dist/index.d.ts CHANGED
@@ -17,7 +17,7 @@ interface ActionProps {
17
17
  indicatorPosition?: "default" | "topRight";
18
18
  bottomBorder?: boolean;
19
19
  }
20
- declare function export_default$11(props: ActionProps): JSX.Element;
20
+ declare function export_default$12(props: ActionProps): JSX.Element;
21
21
 
22
22
  interface ActivityMeterProps {
23
23
  label: string;
@@ -29,7 +29,7 @@ interface ActivityMeterProps {
29
29
  message?: string;
30
30
  className?: string;
31
31
  }
32
- declare function export_default$10(props: ActivityMeterProps): JSX.Element;
32
+ declare function export_default$11(props: ActivityMeterProps): JSX.Element;
33
33
 
34
34
  interface ButtonProps {
35
35
  children?: React.ReactNode;
@@ -44,7 +44,7 @@ interface ButtonProps {
44
44
  loading?: boolean;
45
45
  variant?: "default" | "subtle";
46
46
  }
47
- declare function export_default$$(props: ButtonProps): JSX.Element;
47
+ declare function export_default$10(props: ButtonProps): JSX.Element;
48
48
 
49
49
  interface CalendarProps {
50
50
  month: number;
@@ -52,21 +52,21 @@ interface CalendarProps {
52
52
  dayRenderer(year: number, month: number, day?: number): JSX.Element | null;
53
53
  weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
54
54
  }
55
- declare function export_default$_(props: CalendarProps): JSX.Element;
55
+ declare function export_default$$(props: CalendarProps): JSX.Element;
56
56
 
57
57
  interface CardProps {
58
58
  className?: string;
59
59
  children?: React.ReactNode;
60
60
  allowOverflow?: boolean;
61
61
  }
62
- declare function export_default$Z(props: CardProps): JSX.Element | null;
62
+ declare function export_default$_(props: CardProps): 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$Y(props: CardTitleProps): JSX.Element;
69
+ declare function export_default$Z(props: CardTitleProps): JSX.Element;
70
70
 
71
71
  interface DateRangeNavigatorProps {
72
72
  intervalType: "Week" | "Month";
@@ -75,14 +75,14 @@ interface DateRangeNavigatorProps {
75
75
  onIntervalChange(newIntervalStart: Date, newIntervalEnd: Date): void;
76
76
  className?: string;
77
77
  }
78
- declare function export_default$X(props: DateRangeNavigatorProps): JSX.Element;
78
+ declare function export_default$Y(props: DateRangeNavigatorProps): JSX.Element;
79
79
 
80
80
  interface DayTrackerSymbolProps {
81
81
  primaryColors: string[];
82
82
  secondaryColors: string[];
83
83
  className?: string;
84
84
  }
85
- declare function export_default$W(props: DayTrackerSymbolProps): JSX.Element;
85
+ declare function export_default$X(props: DayTrackerSymbolProps): JSX.Element;
86
86
 
87
87
  interface FaceProps {
88
88
  faceValue?: number;
@@ -90,7 +90,7 @@ interface FaceProps {
90
90
  onClick?: MouseEventHandler;
91
91
  className?: string;
92
92
  }
93
- declare function export_default$V(props: FaceProps): JSX.Element;
93
+ declare function export_default$W(props: FaceProps): JSX.Element;
94
94
 
95
95
  interface HistogramProps {
96
96
  entries: {
@@ -101,7 +101,7 @@ interface HistogramProps {
101
101
  }[];
102
102
  className?: string;
103
103
  }
104
- declare function export_default$U(props: HistogramProps): JSX.Element;
104
+ declare function export_default$V(props: HistogramProps): JSX.Element;
105
105
 
106
106
  interface LayoutProps {
107
107
  children?: React.ReactNode;
@@ -121,7 +121,7 @@ interface LayoutContext {
121
121
  bodyBackgroundColor: string;
122
122
  }
123
123
  declare const LayoutContext: React.Context<LayoutContext>;
124
- declare function export_default$T(props: LayoutProps): JSX.Element;
124
+ declare function export_default$U(props: LayoutProps): JSX.Element;
125
125
 
126
126
  interface LoadingIndicatorProps {
127
127
  variant?: "default" | "inline";
@@ -140,14 +140,14 @@ interface NavigationBarProps {
140
140
  className?: string;
141
141
  variant?: "default" | "compressed";
142
142
  }
143
- declare function export_default$S(props: NavigationBarProps): JSX.Element;
143
+ declare function export_default$T(props: NavigationBarProps): JSX.Element;
144
144
 
145
145
  interface SectionProps {
146
146
  children?: React.ReactNode;
147
147
  className?: string;
148
148
  noTopMargin?: boolean;
149
149
  }
150
- declare function export_default$R(props: SectionProps): JSX.Element | null;
150
+ declare function export_default$S(props: SectionProps): JSX.Element | null;
151
151
 
152
152
  interface SegmentedControlProps {
153
153
  segments: {
@@ -159,21 +159,21 @@ interface SegmentedControlProps {
159
159
  className?: string;
160
160
  color?: string;
161
161
  }
162
- declare function export_default$Q(props: SegmentedControlProps): JSX.Element;
162
+ declare function export_default$R(props: SegmentedControlProps): JSX.Element;
163
163
 
164
- declare function export_default$P(): JSX.Element;
164
+ declare function export_default$Q(): JSX.Element;
165
165
 
166
166
  interface SingleExternalAccountProps {
167
167
  externalAccount: ExternalAccount;
168
168
  onAccountRemoved: (account: ExternalAccount) => void;
169
169
  onReconnectAccount: (account: ExternalAccount) => void;
170
170
  }
171
- declare function export_default$O(props: SingleExternalAccountProps): JSX.Element;
171
+ declare function export_default$P(props: SingleExternalAccountProps): JSX.Element;
172
172
 
173
173
  interface SingleNotificationProps {
174
174
  notification: Notification;
175
175
  }
176
- declare function export_default$N(props: SingleNotificationProps): JSX.Element;
176
+ declare function export_default$O(props: SingleNotificationProps): JSX.Element;
177
177
 
178
178
  interface SingleSurveyTaskProps {
179
179
  task: SurveyTask;
@@ -181,7 +181,7 @@ interface SingleSurveyTaskProps {
181
181
  hideDueDate?: boolean;
182
182
  disableClick?: boolean;
183
183
  }
184
- declare function export_default$M(props: SingleSurveyTaskProps): JSX.Element | null;
184
+ declare function export_default$N(props: SingleSurveyTaskProps): JSX.Element | null;
185
185
 
186
186
  interface SparkBarChartProps {
187
187
  averageFillPercent: number;
@@ -191,7 +191,7 @@ interface SparkBarChartBar {
191
191
  color: string;
192
192
  barFillPercent: number;
193
193
  }
194
- declare function export_default$L(props: SparkBarChartProps): JSX.Element;
194
+ declare function export_default$M(props: SparkBarChartProps): JSX.Element;
195
195
 
196
196
  interface SwitchProps {
197
197
  isOn: Boolean;
@@ -199,7 +199,7 @@ interface SwitchProps {
199
199
  onValueChanged(value: boolean): void;
200
200
  className?: string;
201
201
  }
202
- declare function export_default$K(props: SwitchProps): JSX.Element;
202
+ declare function export_default$L(props: SwitchProps): JSX.Element;
203
203
 
204
204
  interface StatusBarBackgroundProps {
205
205
  color?: string;
@@ -210,7 +210,7 @@ interface TextBlockProps {
210
210
  children?: React.ReactNode;
211
211
  className?: string;
212
212
  }
213
- declare function export_default$J(props: TextBlockProps): JSX.Element | null;
213
+ declare function export_default$K(props: TextBlockProps): JSX.Element | null;
214
214
 
215
215
  interface TrackerItemProps {
216
216
  selected: boolean;
@@ -221,7 +221,7 @@ interface TrackerItemProps {
221
221
  onClick?: Function;
222
222
  className?: string;
223
223
  }
224
- declare function export_default$I(props: TrackerItemProps): JSX.Element;
224
+ declare function export_default$J(props: TrackerItemProps): JSX.Element;
225
225
 
226
226
  interface UnstyledButtonProps {
227
227
  onClick: MouseEventHandler;
@@ -231,7 +231,7 @@ interface UnstyledButtonProps {
231
231
  style?: React.CSSProperties;
232
232
  disabled?: boolean;
233
233
  }
234
- declare function export_default$H(props: UnstyledButtonProps): JSX.Element;
234
+ declare function export_default$I(props: UnstyledButtonProps): JSX.Element;
235
235
 
236
236
  interface WeekCalendarProps {
237
237
  selectedDate?: Date;
@@ -242,7 +242,7 @@ interface WeekCalendarProps {
242
242
  onStartDateChange?(startDate: Date): void;
243
243
  dayRenderer(year: number, month: number, day: number, selectedWeek: boolean): JSX.Element | null;
244
244
  }
245
- declare function export_default$G(props: WeekCalendarProps): JSX.Element;
245
+ declare function export_default$H(props: WeekCalendarProps): JSX.Element;
246
246
 
247
247
  interface ConnectEhrProps {
248
248
  applicationUrl: ConnectEhrApplicationUrl;
@@ -252,7 +252,7 @@ interface ConnectEhrProps {
252
252
  }
253
253
  declare type ConnectEhrApplicationUrl = "preview" | string;
254
254
  declare type ConnectEhrPreviewState = "notEnabled" | "enabled" | "enabledConnected" | "enabledNeedsAttention";
255
- declare function export_default$F(props: ConnectEhrProps): JSX.Element | null;
255
+ declare function export_default$G(props: ConnectEhrProps): JSX.Element | null;
256
256
 
257
257
  interface ConnectFitbitProps {
258
258
  title?: string;
@@ -261,7 +261,7 @@ interface ConnectFitbitProps {
261
261
  disabledBehavior?: 'hide' | 'displayError';
262
262
  }
263
263
  declare type ConnectFitbitPreviewState = ExternalAccountStatus | "notConnected" | "notEnabled";
264
- declare function export_default$E(props: ConnectFitbitProps): JSX.Element;
264
+ declare function export_default$F(props: ConnectFitbitProps): JSX.Element;
265
265
 
266
266
  interface ConnectGarminProps {
267
267
  title?: string;
@@ -270,7 +270,7 @@ interface ConnectGarminProps {
270
270
  disabledBehavior?: 'hide' | 'displayError';
271
271
  }
272
272
  declare type ConnectGarminPreviewState = ExternalAccountStatus | "notConnected" | "notEnabled";
273
- declare function export_default$D(props: ConnectGarminProps): JSX.Element;
273
+ declare function export_default$E(props: ConnectGarminProps): JSX.Element;
274
274
 
275
275
  interface DeviceDataMonthChartProps {
276
276
  lines: DeviceDataChartLine[];
@@ -288,13 +288,13 @@ interface DeviceDataChartLine {
288
288
  showAverage?: boolean;
289
289
  }
290
290
  declare type DeviceDataMonthChartPreviewState = "WithData" | "NoData" | "Loading";
291
- declare function export_default$C(props: DeviceDataMonthChartProps): JSX.Element | null;
291
+ declare function export_default$D(props: DeviceDataMonthChartProps): JSX.Element | null;
292
292
 
293
293
  interface DeviceDataMonthChartsProps {
294
294
  previewState?: DeviceDataMonthChartsPreviewState;
295
295
  }
296
296
  declare type DeviceDataMonthChartsPreviewState = "Default" | "NoData";
297
- declare function export_default$B(props: DeviceDataMonthChartsProps): JSX.Element;
297
+ declare function export_default$C(props: DeviceDataMonthChartsProps): JSX.Element;
298
298
 
299
299
  interface ExternalAccountListProps {
300
300
  externalAccountProviderCategories?: string[];
@@ -302,7 +302,13 @@ interface ExternalAccountListProps {
302
302
  onExternalAccountsLoaded?: (accounts: ExternalAccount[]) => void;
303
303
  }
304
304
  declare type NotificationListPreviewState$1 = "Default";
305
- declare function export_default$A(props: ExternalAccountListProps): JSX.Element;
305
+ declare function export_default$B(props: ExternalAccountListProps): JSX.Element;
306
+
307
+ interface ExternalAccountsLoadingIndicatorProps {
308
+ previewState?: "externalAccountsFetchingData" | "externalAccountsLoaded";
309
+ externalAccountCategories?: string[];
310
+ }
311
+ declare function export_default$A(props: ExternalAccountsLoadingIndicatorProps): JSX.Element | null;
306
312
 
307
313
  interface ExternalAccountsPreviewProps {
308
314
  excludeProviders?: boolean;
@@ -624,4 +630,4 @@ declare enum DailyDataType {
624
630
  RestingHeartRate = "RestingHeartRate"
625
631
  }
626
632
 
627
- export { export_default$11 as Action, export_default$10 as ActivityMeter, export_default$$ as Button, export_default$_ as Calendar, export_default$Z as Card, export_default$Y as CardTitle, export_default$2 as CelebrationStep, export_default$1 as CelebrationStepContainer, export_default$F as ConnectEhr, export_default$l as ConnectEhrView, export_default$E as ConnectFitbit, export_default$D as ConnectGarmin, DailyDataAvailabilityCheck, DailyDataProvider, DailyDataQueryResult, DailyDataType, export_default$X as DateRangeNavigator, export_default$W as DayTrackerSymbol, DeviceDataChartLine, export_default$C as DeviceDataMonthChart, export_default$B as DeviceDataMonthCharts, export_default$k as DeviceDataView, export_default$A as ExternalAccountList, export_default$z as ExternalAccountsPreview, export_default$j as ExternalAccountsView, export_default$V as Face, export_default$y as FitbitDevices, export_default$x as FitbitMonthCharts, export_default$i as FitbitView, export_default$w as GarminDevices, export_default$v as GarminMonthCharts, export_default$h as GarminView, export_default$f as HealthAndWellnessView, export_default$u as HealthPreviewSection, export_default$U as Histogram, export_default$g as HomeView, export_default$t as LabResultsSummary, export_default$T as Layout, LayoutContext, LoadingIndicator, export_default$s as MostRecentNotification, export_default$S as NavigationBar, export_default$r as NotificationList, export_default$e as NotificationsView, export_default$q as PlatformSpecificContent, export_default$p as ProjectHeader, export_default$o as ProjectSupport, export_default$n as ProviderSearch, export_default$n as RestingHeartRateCalendar, export_default$R as Section, export_default$Q as SegmentedControl, export_default$P as ShinyOverlay, export_default$O as SingleExternalAccount, export_default$N as SingleNotification, export_default$M as SingleSurveyTask, export_default$L as SparkBarChart, SparkBarChartBar, StatusBarBackgroundProps as StatusBarBackground, export_default$8 as StepDetailText, export_default$6 as StepImage, export_default$5 as StepImageIcon, export_default$b as StepLayout, export_default$c as StepMarkdown, export_default$7 as StepNextButton, export_default$9 as StepText, export_default$a as StepTitle, export_default$m as SurveyTaskList, export_default$d as SurveyTasksView, export_default$K as Switch, export_default$J as TextBlock, export_default$I as TrackerItem, export_default$H as UnstyledButton, export_default$G as WeekCalendar, export_default$4 as YouTubeStep, export_default$3 as YouTubeStepContainer, checkDailyDataAvailability, queryDailyData, registerDailyDataProvider, export_default as useInterval };
633
+ export { export_default$12 as Action, export_default$11 as ActivityMeter, export_default$10 as Button, export_default$$ as Calendar, export_default$_ as Card, export_default$Z as CardTitle, export_default$2 as CelebrationStep, export_default$1 as CelebrationStepContainer, export_default$G as ConnectEhr, export_default$l as ConnectEhrView, export_default$F as ConnectFitbit, export_default$E as ConnectGarmin, DailyDataAvailabilityCheck, DailyDataProvider, DailyDataQueryResult, DailyDataType, export_default$Y as DateRangeNavigator, export_default$X as DayTrackerSymbol, DeviceDataChartLine, export_default$D as DeviceDataMonthChart, export_default$C as DeviceDataMonthCharts, export_default$k as DeviceDataView, export_default$B as ExternalAccountList, export_default$A as ExternalAccountsLoadingIndicator, export_default$z as ExternalAccountsPreview, export_default$j as ExternalAccountsView, export_default$W as Face, export_default$y as FitbitDevices, export_default$x as FitbitMonthCharts, export_default$i as FitbitView, export_default$w as GarminDevices, export_default$v as GarminMonthCharts, export_default$h as GarminView, export_default$f as HealthAndWellnessView, export_default$u as HealthPreviewSection, export_default$V as Histogram, export_default$g as HomeView, export_default$t as LabResultsSummary, export_default$U as Layout, LayoutContext, LoadingIndicator, export_default$s as MostRecentNotification, export_default$T as NavigationBar, export_default$r as NotificationList, export_default$e as NotificationsView, export_default$q as PlatformSpecificContent, export_default$p as ProjectHeader, export_default$o as ProjectSupport, export_default$n as ProviderSearch, export_default$n as RestingHeartRateCalendar, export_default$S as Section, export_default$R as SegmentedControl, export_default$Q as ShinyOverlay, export_default$P as SingleExternalAccount, export_default$O as SingleNotification, export_default$N as SingleSurveyTask, export_default$M as SparkBarChart, SparkBarChartBar, StatusBarBackgroundProps as StatusBarBackground, export_default$8 as StepDetailText, export_default$6 as StepImage, export_default$5 as StepImageIcon, export_default$b as StepLayout, export_default$c as StepMarkdown, export_default$7 as StepNextButton, export_default$9 as StepText, export_default$a as StepTitle, export_default$m as SurveyTaskList, export_default$d as SurveyTasksView, export_default$L as Switch, export_default$K as TextBlock, export_default$J as TrackerItem, export_default$I as UnstyledButton, export_default$H 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.12.5-UpgradeStuff.0",
3
+ "version": "2.0.0",
4
4
  "description": "MyDataHelps UI Library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",