@careevolution/mydatahelps-ui 2.10.0 → 2.10.1-DataVisualizations.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.
Files changed (48) hide show
  1. package/dist/cjs/index.js +133 -9
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/types/components/container/BloodPressureVisualization/BloodPressureVisualization.d.ts +12 -0
  4. package/dist/cjs/types/components/container/BloodPressureVisualization/BloodPressureVisualization.previewdata.d.ts +2 -0
  5. package/dist/cjs/types/components/container/BloodPressureVisualization/BloodPressureVisualization.stories.d.ts +43 -0
  6. package/dist/cjs/types/components/container/BloodPressureVisualization/index.d.ts +1 -0
  7. package/dist/cjs/types/components/container/SeverityCalendar/SeverityCalendar.d.ts +12 -0
  8. package/dist/cjs/types/components/container/SeverityCalendar/SeverityCalendar.previewdata.d.ts +2 -0
  9. package/dist/cjs/types/components/container/SeverityCalendar/SeverityCalendar.stories.d.ts +52 -0
  10. package/dist/cjs/types/components/container/SeverityCalendar/index.d.ts +1 -0
  11. package/dist/cjs/types/components/container/index.d.ts +2 -0
  12. package/dist/cjs/types/components/presentational/DumbbellChart/Dumbbell.d.ts +9 -0
  13. package/dist/cjs/types/components/presentational/DumbbellChart/DumbbellChart.d.ts +28 -0
  14. package/dist/cjs/types/components/presentational/DumbbellChart/index.d.ts +1 -0
  15. package/dist/cjs/types/components/presentational/SingleSurveyTask/SingleSurveyTask.d.ts +6 -4
  16. package/dist/cjs/types/components/presentational/SingleSurveyTask/SingleSurveyTask.stories.d.ts +59 -123
  17. package/dist/cjs/types/components/presentational/index.d.ts +1 -0
  18. package/dist/cjs/types/helpers/blood-pressure-data-providers/index.d.ts +3 -0
  19. package/dist/cjs/types/helpers/blood-pressure-data-providers/survey-blood-pressure-data-provider.d.ts +12 -0
  20. package/dist/cjs/types/helpers/date-helpers.d.ts +1 -0
  21. package/dist/cjs/types/helpers/functions.d.ts +1 -0
  22. package/dist/cjs/types/helpers/query-all-survey-answers.d.ts +2 -0
  23. package/dist/cjs/types/index.d.ts +2 -0
  24. package/dist/esm/index.js +133 -9
  25. package/dist/esm/index.js.map +1 -1
  26. package/dist/esm/types/components/container/BloodPressureVisualization/BloodPressureVisualization.d.ts +12 -0
  27. package/dist/esm/types/components/container/BloodPressureVisualization/BloodPressureVisualization.previewdata.d.ts +2 -0
  28. package/dist/esm/types/components/container/BloodPressureVisualization/BloodPressureVisualization.stories.d.ts +43 -0
  29. package/dist/esm/types/components/container/BloodPressureVisualization/index.d.ts +1 -0
  30. package/dist/esm/types/components/container/SeverityCalendar/SeverityCalendar.d.ts +12 -0
  31. package/dist/esm/types/components/container/SeverityCalendar/SeverityCalendar.previewdata.d.ts +2 -0
  32. package/dist/esm/types/components/container/SeverityCalendar/SeverityCalendar.stories.d.ts +52 -0
  33. package/dist/esm/types/components/container/SeverityCalendar/index.d.ts +1 -0
  34. package/dist/esm/types/components/container/index.d.ts +2 -0
  35. package/dist/esm/types/components/presentational/DumbbellChart/Dumbbell.d.ts +9 -0
  36. package/dist/esm/types/components/presentational/DumbbellChart/DumbbellChart.d.ts +28 -0
  37. package/dist/esm/types/components/presentational/DumbbellChart/index.d.ts +1 -0
  38. package/dist/esm/types/components/presentational/SingleSurveyTask/SingleSurveyTask.d.ts +6 -4
  39. package/dist/esm/types/components/presentational/SingleSurveyTask/SingleSurveyTask.stories.d.ts +59 -123
  40. package/dist/esm/types/components/presentational/index.d.ts +1 -0
  41. package/dist/esm/types/helpers/blood-pressure-data-providers/index.d.ts +3 -0
  42. package/dist/esm/types/helpers/blood-pressure-data-providers/survey-blood-pressure-data-provider.d.ts +12 -0
  43. package/dist/esm/types/helpers/date-helpers.d.ts +1 -0
  44. package/dist/esm/types/helpers/functions.d.ts +1 -0
  45. package/dist/esm/types/helpers/query-all-survey-answers.d.ts +2 -0
  46. package/dist/esm/types/index.d.ts +2 -0
  47. package/dist/index.d.ts +124 -61
  48. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -27,7 +27,7 @@ interface ActionProps {
27
27
  subtitleColor?: ColorDefinition;
28
28
  renderAs?: "div" | "button";
29
29
  }
30
- declare function export_default$1D(props: ActionProps): React.JSX.Element;
30
+ declare function export_default$1H(props: ActionProps): React.JSX.Element;
31
31
 
32
32
  interface ActivityMeterProps {
33
33
  label: string;
@@ -40,7 +40,7 @@ interface ActivityMeterProps {
40
40
  className?: string;
41
41
  innerRef?: React.Ref<HTMLDivElement>;
42
42
  }
43
- declare function export_default$1C(props: ActivityMeterProps): React.JSX.Element;
43
+ declare function export_default$1G(props: ActivityMeterProps): React.JSX.Element;
44
44
 
45
45
  type ButtonVariant = "default" | "subtle" | "light";
46
46
  interface ButtonProps {
@@ -55,7 +55,7 @@ interface ButtonProps {
55
55
  defaultMargin?: boolean;
56
56
  fullWidth?: boolean;
57
57
  }
58
- declare function export_default$1B(props: ButtonProps): React.JSX.Element;
58
+ declare function export_default$1F(props: ButtonProps): React.JSX.Element;
59
59
 
60
60
  interface CalendarProps {
61
61
  month: number;
@@ -65,7 +65,7 @@ interface CalendarProps {
65
65
  className?: string;
66
66
  innerRef?: React.Ref<HTMLDivElement>;
67
67
  }
68
- declare function export_default$1A(props: CalendarProps): React.JSX.Element;
68
+ declare function export_default$1E(props: CalendarProps): React.JSX.Element;
69
69
 
70
70
  type CalendarDayStateConfiguration = Record<string, {
71
71
  style?: CSSProperties;
@@ -81,7 +81,7 @@ interface CalendarDayProps {
81
81
  onClick?: (date: Date) => void;
82
82
  innerRef?: React.Ref<HTMLDivElement>;
83
83
  }
84
- declare function export_default$1z(props: CalendarDayProps): React.JSX.Element;
84
+ declare function export_default$1D(props: CalendarDayProps): React.JSX.Element;
85
85
 
86
86
  interface CardProps {
87
87
  className?: string;
@@ -92,7 +92,7 @@ interface CardProps {
92
92
  backgroundColor?: ColorDefinition;
93
93
  style?: React.CSSProperties;
94
94
  }
95
- declare function export_default$1y(props: CardProps): React.JSX.Element | null;
95
+ declare function export_default$1C(props: CardProps): React.JSX.Element | null;
96
96
 
97
97
  interface CardTitleProps {
98
98
  title: string;
@@ -101,7 +101,7 @@ interface CardTitleProps {
101
101
  innerRef?: React.Ref<HTMLDivElement>;
102
102
  color?: ColorDefinition;
103
103
  }
104
- declare function export_default$1x(props: CardTitleProps): React.JSX.Element;
104
+ declare function export_default$1B(props: CardTitleProps): React.JSX.Element;
105
105
 
106
106
  type WeekStartsOn = "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "6DaysAgo" | "7DaysAgo";
107
107
  declare function getWeekStart(weekStartsOn?: WeekStartsOn): Date;
@@ -132,7 +132,7 @@ interface DateRangeNavigatorProps {
132
132
  innerRef?: React.Ref<HTMLDivElement>;
133
133
  sticky?: boolean;
134
134
  }
135
- declare function export_default$1w(props: DateRangeNavigatorProps): React.JSX.Element;
135
+ declare function export_default$1A(props: DateRangeNavigatorProps): React.JSX.Element;
136
136
 
137
137
  interface DayTrackerSymbolProps {
138
138
  primaryColors: string[];
@@ -141,7 +141,34 @@ interface DayTrackerSymbolProps {
141
141
  size?: "small" | "large";
142
142
  innerRef?: React.Ref<HTMLDivElement>;
143
143
  }
144
- declare function export_default$1v(props: DayTrackerSymbolProps): React.JSX.Element;
144
+ declare function export_default$1z(props: DayTrackerSymbolProps): React.JSX.Element;
145
+
146
+ interface ClosedInterval {
147
+ values: number[];
148
+ }
149
+ interface DataPoint {
150
+ dataSet1: ClosedInterval;
151
+ dataSet2: ClosedInterval;
152
+ }
153
+ interface Dumbbell {
154
+ dataPoint?: DataPoint;
155
+ xValue: string;
156
+ class?: DumbbellClass;
157
+ }
158
+ interface Axis {
159
+ yRange: ClosedInterval;
160
+ yIncrement: number;
161
+ xIncrement: number;
162
+ }
163
+ interface DumbBellChartProps {
164
+ axis: Axis;
165
+ dumbbells: Dumbbell[];
166
+ }
167
+ declare enum DumbbellClass {
168
+ "mdhui-dumbbell-in-range" = 0,
169
+ "mdhui-dumbbell-out-of-range" = 1
170
+ }
171
+ declare function export_default$1y(props: DumbBellChartProps): React.JSX.Element;
145
172
 
146
173
  interface FaceProps {
147
174
  faceValue?: number;
@@ -150,7 +177,7 @@ interface FaceProps {
150
177
  className?: string;
151
178
  innerRef?: React.Ref<HTMLButtonElement>;
152
179
  }
153
- declare function export_default$1u(props: FaceProps): React.JSX.Element;
180
+ declare function export_default$1x(props: FaceProps): React.JSX.Element;
154
181
 
155
182
  interface HistogramProps {
156
183
  entries: {
@@ -162,7 +189,7 @@ interface HistogramProps {
162
189
  className?: string;
163
190
  innerRef?: React.Ref<HTMLDivElement>;
164
191
  }
165
- declare function export_default$1t(props: HistogramProps): React.JSX.Element;
192
+ declare function export_default$1w(props: HistogramProps): React.JSX.Element;
166
193
 
167
194
  interface LayoutProps {
168
195
  children?: React.ReactNode;
@@ -183,7 +210,7 @@ interface LayoutContext {
183
210
  bodyBackgroundColor: string;
184
211
  }
185
212
  declare const LayoutContext: React.Context<LayoutContext>;
186
- declare function export_default$1s(props: LayoutProps): React.JSX.Element;
213
+ declare function export_default$1v(props: LayoutProps): React.JSX.Element;
187
214
 
188
215
  interface LoadingIndicatorProps {
189
216
  variant?: "default" | "inline";
@@ -209,7 +236,7 @@ interface NavigationBarProps {
209
236
  navigationBarLeft?: React.ReactNode;
210
237
  navigationBarRight?: React.ReactNode;
211
238
  }
212
- declare function export_default$1r(props: NavigationBarProps): React.JSX.Element;
239
+ declare function export_default$1u(props: NavigationBarProps): React.JSX.Element;
213
240
 
214
241
  interface NotesInputProps {
215
242
  autoTimestamp?: boolean;
@@ -217,7 +244,7 @@ interface NotesInputProps {
217
244
  onChange(value: string): void;
218
245
  value: string;
219
246
  }
220
- declare function export_default$1q(props: NotesInputProps): React.JSX.Element;
247
+ declare function export_default$1t(props: NotesInputProps): React.JSX.Element;
221
248
 
222
249
  interface ProgressBarProps {
223
250
  backgroundColor?: ColorDefinition;
@@ -255,7 +282,7 @@ interface ProgressRingProps {
255
282
  percentCompleted?: number;
256
283
  animate?: boolean;
257
284
  }
258
- declare function export_default$1p(props: ProgressRingProps): React.JSX.Element;
285
+ declare function export_default$1s(props: ProgressRingProps): React.JSX.Element;
259
286
 
260
287
  interface SectionProps {
261
288
  children?: React.ReactNode;
@@ -265,7 +292,7 @@ interface SectionProps {
265
292
  backgroundColor?: ColorDefinition;
266
293
  style?: React.CSSProperties;
267
294
  }
268
- declare function export_default$1o(props: SectionProps): React.JSX.Element | null;
295
+ declare function export_default$1r(props: SectionProps): React.JSX.Element | null;
269
296
 
270
297
  interface SegmentedControlProps {
271
298
  segments: {
@@ -279,9 +306,9 @@ interface SegmentedControlProps {
279
306
  variant?: "default" | "optionsHorizontal" | "optionsVertical";
280
307
  innerRef?: React.Ref<HTMLDivElement>;
281
308
  }
282
- declare function export_default$1n(props: SegmentedControlProps): React.JSX.Element;
309
+ declare function export_default$1q(props: SegmentedControlProps): React.JSX.Element;
283
310
 
284
- declare function export_default$1m(): React.JSX.Element;
311
+ declare function export_default$1p(): React.JSX.Element;
285
312
 
286
313
  interface SingleExternalAccountProps {
287
314
  externalAccount: ExternalAccount;
@@ -289,24 +316,26 @@ interface SingleExternalAccountProps {
289
316
  onReconnectAccount: (account: ExternalAccount) => void;
290
317
  innerRef?: React.Ref<HTMLDivElement>;
291
318
  }
292
- declare function export_default$1l(props: SingleExternalAccountProps): React.JSX.Element;
319
+ declare function export_default$1o(props: SingleExternalAccountProps): React.JSX.Element;
293
320
 
294
321
  interface SingleNotificationProps {
295
322
  notification: Notification;
296
323
  innerRef?: React.Ref<HTMLDivElement>;
297
324
  }
298
- declare function export_default$1k(props: SingleNotificationProps): React.JSX.Element;
325
+ declare function export_default$1n(props: SingleNotificationProps): React.JSX.Element;
299
326
 
327
+ type SingleSurveyTaskVariant = 'default' | 'expanded';
300
328
  interface SingleSurveyTaskProps {
301
329
  task: SurveyTask;
302
- descriptionIcon?: IconDefinition$1;
303
330
  onClick: () => void;
331
+ variant?: SingleSurveyTaskVariant;
332
+ descriptionIcon?: IconDefinition$1;
304
333
  surveyActive?: boolean;
305
- innerRef?: React.Ref<HTMLDivElement>;
306
334
  buttonColor?: ColorDefinition;
307
335
  buttonVariant?: ButtonVariant;
336
+ innerRef?: React.Ref<HTMLDivElement>;
308
337
  }
309
- declare function export_default$1j(props: SingleSurveyTaskProps): React.JSX.Element | null;
338
+ declare function export_default$1m(props: SingleSurveyTaskProps): React.JSX.Element | null;
310
339
 
311
340
  interface SparkBarChartProps {
312
341
  averageFillPercent: number;
@@ -317,7 +346,7 @@ interface SparkBarChartBar {
317
346
  color: string;
318
347
  barFillPercent: number;
319
348
  }
320
- declare function export_default$1i(props: SparkBarChartProps): React.JSX.Element;
349
+ declare function export_default$1l(props: SparkBarChartProps): React.JSX.Element;
321
350
 
322
351
  interface SwitchProps {
323
352
  isOn: Boolean;
@@ -326,7 +355,7 @@ interface SwitchProps {
326
355
  className?: string;
327
356
  innerRef?: React.Ref<HTMLButtonElement>;
328
357
  }
329
- declare function export_default$1h(props: SwitchProps): React.JSX.Element;
358
+ declare function export_default$1k(props: SwitchProps): React.JSX.Element;
330
359
 
331
360
  interface StatusBarBackgroundProps {
332
361
  color?: string;
@@ -341,7 +370,7 @@ interface TextBlockProps {
341
370
  color?: ColorDefinition;
342
371
  style?: React.CSSProperties;
343
372
  }
344
- declare function export_default$1g(props: TextBlockProps): React.JSX.Element | null;
373
+ declare function export_default$1j(props: TextBlockProps): React.JSX.Element | null;
345
374
 
346
375
  interface TitleProps {
347
376
  color?: ColorDefinition;
@@ -354,7 +383,7 @@ interface TitleProps {
354
383
  imageAlignment?: "top" | "left";
355
384
  defaultMargin?: boolean;
356
385
  }
357
- declare function export_default$1f(props: TitleProps): React.JSX.Element;
386
+ declare function export_default$1i(props: TitleProps): React.JSX.Element;
358
387
 
359
388
  interface TrackerItemProps {
360
389
  selected: boolean;
@@ -366,7 +395,7 @@ interface TrackerItemProps {
366
395
  className?: string;
367
396
  noBoxShadow?: boolean;
368
397
  }
369
- declare function export_default$1e(props: TrackerItemProps): React.JSX.Element;
398
+ declare function export_default$1h(props: TrackerItemProps): React.JSX.Element;
370
399
 
371
400
  interface UnstyledButtonProps {
372
401
  onClick: MouseEventHandler;
@@ -377,7 +406,7 @@ interface UnstyledButtonProps {
377
406
  disabled?: boolean;
378
407
  innerRef?: React.Ref<HTMLButtonElement>;
379
408
  }
380
- declare function export_default$1d(props: UnstyledButtonProps): React.JSX.Element;
409
+ declare function export_default$1g(props: UnstyledButtonProps): React.JSX.Element;
381
410
 
382
411
  interface ValueSelectorProps {
383
412
  title?: string;
@@ -398,7 +427,7 @@ interface ValueSelectorProps {
398
427
  preventEmptySelections?: boolean;
399
428
  innerRef?: React.Ref<HTMLDivElement>;
400
429
  }
401
- declare function export_default$1c(props: ValueSelectorProps): React.JSX.Element;
430
+ declare function export_default$1f(props: ValueSelectorProps): React.JSX.Element;
402
431
 
403
432
  interface ViewHeaderProps {
404
433
  title?: string;
@@ -407,7 +436,7 @@ interface ViewHeaderProps {
407
436
  subtitleColor?: ColorDefinition;
408
437
  action?: React.ReactNode;
409
438
  }
410
- declare function export_default$1b(props: ViewHeaderProps): React.JSX.Element | null;
439
+ declare function export_default$1e(props: ViewHeaderProps): React.JSX.Element | null;
411
440
 
412
441
  interface WeekCalendarProps {
413
442
  selectedDate?: Date;
@@ -418,7 +447,7 @@ interface WeekCalendarProps {
418
447
  onStartDateChange?(startDate: Date): void;
419
448
  dayRenderer(year: number, month: number, day: number, selectedWeek: boolean): JSX.Element | null;
420
449
  }
421
- declare function export_default$1a(props: WeekCalendarProps): React.JSX.Element;
450
+ declare function export_default$1d(props: WeekCalendarProps): React.JSX.Element;
422
451
 
423
452
  interface TermInformation {
424
453
  TermFamily: string;
@@ -431,7 +460,7 @@ interface AllergiesListProps {
431
460
  onViewTermInfo(termInfo: TermInformation): void;
432
461
  innerRef?: React.Ref<HTMLDivElement>;
433
462
  }
434
- declare function export_default$19(props: AllergiesListProps): React.JSX.Element;
463
+ declare function export_default$1c(props: AllergiesListProps): React.JSX.Element;
435
464
 
436
465
  interface AppDownloadProps {
437
466
  previewProjectPlatforms?: string[];
@@ -440,14 +469,36 @@ interface AppDownloadProps {
440
469
  title?: string;
441
470
  text?: string;
442
471
  }
443
- declare function export_default$18(props: AppDownloadProps): React.JSX.Element | null;
472
+ declare function export_default$1b(props: AppDownloadProps): React.JSX.Element | null;
473
+
474
+ interface SurveyBloodPressureDataParameters {
475
+ surveyName: string;
476
+ dateResultIdentifier: string;
477
+ systolicResultIdentifier: string;
478
+ diastolicResultIdentifier: string;
479
+ }
480
+ interface BloodPressureDataPoint {
481
+ date: Date;
482
+ systolic: number;
483
+ diastolic: number;
484
+ }
485
+ declare function export_default$1a(props: SurveyBloodPressureDataParameters): Promise<BloodPressureDataPoint[]>;
486
+
487
+ type BloodPressurePreviewState = "Default" | "NoData" | "Loading";
488
+ interface BloodPressureVisualizationProps {
489
+ previewState?: BloodPressurePreviewState;
490
+ surveyDataSource: SurveyBloodPressureDataParameters;
491
+ weekStartsOn?: WeekStartsOn;
492
+ innerRef?: React.Ref<HTMLDivElement>;
493
+ }
494
+ declare function export_default$19(props: BloodPressureVisualizationProps): React.JSX.Element;
444
495
 
445
496
  interface ConditionsListProps {
446
497
  previewState?: "default";
447
498
  onViewTermInfo(termInfo: TermInformation): void;
448
499
  innerRef?: React.Ref<HTMLDivElement>;
449
500
  }
450
- declare function export_default$17(props: ConditionsListProps): React.JSX.Element;
501
+ declare function export_default$18(props: ConditionsListProps): React.JSX.Element;
451
502
 
452
503
  type DeviceAccountType = "Fitbit" | "Garmin" | "AppleHealth" | "GoogleFit" | "Omron";
453
504
  interface ConnectDevicesMenuProps {
@@ -458,7 +509,7 @@ interface ConnectDevicesMenuProps {
458
509
  previewState?: "iOS" | "Android" | "Web" | "ConnectedStates";
459
510
  headerVariant?: "large" | "medium";
460
511
  }
461
- declare function export_default$16(props: ConnectDevicesMenuProps): React.JSX.Element | null;
512
+ declare function export_default$17(props: ConnectDevicesMenuProps): React.JSX.Element | null;
462
513
 
463
514
  interface ConnectEhrProps {
464
515
  applicationUrl: ConnectEhrApplicationUrl;
@@ -475,7 +526,7 @@ interface ConnectEhrProps {
475
526
  }
476
527
  type ConnectEhrApplicationUrl = "preview" | string;
477
528
  type ConnectEhrPreviewState = "notEnabled" | "enabled" | "enabledConnected" | "enabledNeedsAttention";
478
- declare function export_default$15(props: ConnectEhrProps): React.JSX.Element | null;
529
+ declare function export_default$16(props: ConnectEhrProps): React.JSX.Element | null;
479
530
 
480
531
  interface ConnectFitbitProps {
481
532
  title?: string;
@@ -486,7 +537,7 @@ interface ConnectFitbitProps {
486
537
  hideWhenConnected?: boolean;
487
538
  }
488
539
  type ConnectFitbitPreviewState = ExternalAccountStatus | "notConnected" | "notEnabled";
489
- declare function export_default$14(props: ConnectFitbitProps): React.JSX.Element;
540
+ declare function export_default$15(props: ConnectFitbitProps): React.JSX.Element;
490
541
 
491
542
  interface ConnectGarminProps {
492
543
  title?: string;
@@ -497,7 +548,7 @@ interface ConnectGarminProps {
497
548
  hideWhenConnected?: boolean;
498
549
  }
499
550
  type ConnectGarminPreviewState = ExternalAccountStatus | "notConnected" | "notEnabled";
500
- declare function export_default$13(props: ConnectGarminProps): React.JSX.Element;
551
+ declare function export_default$14(props: ConnectGarminProps): React.JSX.Element;
501
552
 
502
553
  type DailyDataQueryResult = {
503
554
  [key: string]: number;
@@ -611,13 +662,13 @@ interface DeviceDataChartLine {
611
662
  showAverage?: boolean;
612
663
  }
613
664
  type DeviceDataMonthChartPreviewState = "WithData" | "NoData" | "Loading";
614
- declare function export_default$12(props: DeviceDataMonthChartProps): React.JSX.Element | null;
665
+ declare function export_default$13(props: DeviceDataMonthChartProps): React.JSX.Element | null;
615
666
 
616
667
  interface DeviceDataMonthChartsProps {
617
668
  previewState?: DeviceDataMonthChartsPreviewState;
618
669
  }
619
670
  type DeviceDataMonthChartsPreviewState = "Default" | "NoData";
620
- declare function export_default$11(props: DeviceDataMonthChartsProps): React.JSX.Element;
671
+ declare function export_default$12(props: DeviceDataMonthChartsProps): React.JSX.Element;
621
672
 
622
673
  interface ExternalAccountListProps {
623
674
  externalAccountProviderCategories?: string[];
@@ -626,14 +677,14 @@ interface ExternalAccountListProps {
626
677
  innerRef?: React.Ref<HTMLDivElement>;
627
678
  }
628
679
  type NotificationListPreviewState$1 = "Default";
629
- declare function export_default$10(props: ExternalAccountListProps): React.JSX.Element;
680
+ declare function export_default$11(props: ExternalAccountListProps): React.JSX.Element;
630
681
 
631
682
  interface ExternalAccountsLoadingIndicatorProps {
632
683
  previewState?: "externalAccountsFetchingData" | "externalAccountsLoaded";
633
684
  externalAccountCategories?: string[];
634
685
  innerRef?: React.Ref<HTMLDivElement>;
635
686
  }
636
- declare function export_default$$(props: ExternalAccountsLoadingIndicatorProps): React.JSX.Element | null;
687
+ declare function export_default$10(props: ExternalAccountsLoadingIndicatorProps): React.JSX.Element | null;
637
688
 
638
689
  interface ExternalAccountsPreviewProps {
639
690
  excludeProviders?: boolean;
@@ -645,7 +696,7 @@ interface ExternalAccountsPreviewProps {
645
696
  }
646
697
  type ExternalAccountsApplicationUrl = "preview" | string;
647
698
  type ExternalAccountsPreviewPreviewState = "Default";
648
- declare function export_default$_(props: ExternalAccountsPreviewProps): React.JSX.Element | null;
699
+ declare function export_default$$(props: ExternalAccountsPreviewProps): React.JSX.Element | null;
649
700
 
650
701
  type ConnectedDevicesPreviewState = "notEnabled" | "notConnected" | "connected";
651
702
 
@@ -653,25 +704,25 @@ interface FitbitDevicesProps {
653
704
  previewState?: ConnectedDevicesPreviewState;
654
705
  innerRef?: React.Ref<HTMLDivElement>;
655
706
  }
656
- declare function export_default$Z(props: FitbitDevicesProps): React.JSX.Element;
707
+ declare function export_default$_(props: FitbitDevicesProps): React.JSX.Element;
657
708
 
658
709
  type MonthChartsPreviewState = "notEnabled" | "notConnected" | "connected";
659
710
 
660
711
  interface FitbitMonthChartsProps {
661
712
  previewState?: MonthChartsPreviewState;
662
713
  }
663
- declare function export_default$Y(props: FitbitMonthChartsProps): React.JSX.Element;
714
+ declare function export_default$Z(props: FitbitMonthChartsProps): React.JSX.Element;
664
715
 
665
716
  interface GarminDevicesProps {
666
717
  previewState?: ConnectedDevicesPreviewState;
667
718
  innerRef?: React.Ref<HTMLDivElement>;
668
719
  }
669
- declare function export_default$X(props: GarminDevicesProps): React.JSX.Element;
720
+ declare function export_default$Y(props: GarminDevicesProps): React.JSX.Element;
670
721
 
671
722
  interface GarminMonthChartsProps {
672
723
  previewState?: MonthChartsPreviewState;
673
724
  }
674
- declare function export_default$W(props: GarminMonthChartsProps): React.JSX.Element;
725
+ declare function export_default$X(props: GarminMonthChartsProps): React.JSX.Element;
675
726
 
676
727
  type HealthPreviewSectionConcept = "Medications" | "Immunizations" | "Reports" | "Allergies" | "Conditions" | "Procedures";
677
728
  interface HealthPreviewSectionProps {
@@ -681,7 +732,7 @@ interface HealthPreviewSectionProps {
681
732
  indicatorPosition?: "default" | "topRight";
682
733
  innerRef?: React.Ref<HTMLDivElement>;
683
734
  }
684
- declare function export_default$V(props: HealthPreviewSectionProps): React.JSX.Element | null;
735
+ declare function export_default$W(props: HealthPreviewSectionProps): React.JSX.Element | null;
685
736
 
686
737
  interface LabResultsSummaryProps {
687
738
  previewState?: "ImportantLabs" | "RecentLabs" | "NoData";
@@ -689,14 +740,14 @@ interface LabResultsSummaryProps {
689
740
  onViewTermInfo(termInfo: TermInformation): void;
690
741
  innerRef?: React.Ref<HTMLDivElement>;
691
742
  }
692
- declare function export_default$U(props: LabResultsSummaryProps): React.JSX.Element | null;
743
+ declare function export_default$V(props: LabResultsSummaryProps): React.JSX.Element | null;
693
744
 
694
745
  interface MedicationsListProps {
695
746
  previewState?: "default";
696
747
  onViewTermInfo(termInfo: TermInformation): void;
697
748
  innerRef?: React.Ref<HTMLDivElement>;
698
749
  }
699
- declare function export_default$T(props: MedicationsListProps): React.JSX.Element;
750
+ declare function export_default$U(props: MedicationsListProps): React.JSX.Element;
700
751
 
701
752
  interface MostRecentNotificationProps {
702
753
  notificationType?: NotificationType;
@@ -706,7 +757,7 @@ interface MostRecentNotificationProps {
706
757
  innerRef?: React.Ref<HTMLDivElement>;
707
758
  }
708
759
  type MostRecentNotificationPreviewState = "Default";
709
- declare function export_default$S(props: MostRecentNotificationProps): React.JSX.Element | null;
760
+ declare function export_default$T(props: MostRecentNotificationProps): React.JSX.Element | null;
710
761
 
711
762
  interface NotificationListProps {
712
763
  notificationType?: NotificationType;
@@ -714,7 +765,7 @@ interface NotificationListProps {
714
765
  innerRef?: React.Ref<HTMLDivElement>;
715
766
  }
716
767
  type NotificationListPreviewState = "Default" | "NoData";
717
- declare function export_default$R(props: NotificationListProps): React.JSX.Element;
768
+ declare function export_default$S(props: NotificationListProps): React.JSX.Element;
718
769
 
719
770
  interface PlatformSpecificContentProps {
720
771
  platforms: string[];
@@ -722,21 +773,21 @@ interface PlatformSpecificContentProps {
722
773
  previewDevicePlatform?: string;
723
774
  innerRef?: React.Ref<HTMLDivElement>;
724
775
  }
725
- declare function export_default$Q(props: PlatformSpecificContentProps): React.JSX.Element | null;
776
+ declare function export_default$R(props: PlatformSpecificContentProps): React.JSX.Element | null;
726
777
 
727
778
  interface ProjectHeaderProps {
728
779
  previewState?: ProjectHeaderPropsPreviewState;
729
780
  innerRef?: React.Ref<HTMLDivElement>;
730
781
  }
731
782
  type ProjectHeaderPropsPreviewState = "Default";
732
- declare function export_default$P(props: ProjectHeaderProps): React.JSX.Element;
783
+ declare function export_default$Q(props: ProjectHeaderProps): React.JSX.Element;
733
784
 
734
785
  interface ProjectSupportProps {
735
786
  previewState?: ProjectSupportPropsPreviewState;
736
787
  innerRef?: React.Ref<HTMLDivElement>;
737
788
  }
738
789
  type ProjectSupportPropsPreviewState = "Default";
739
- declare function export_default$O(props: ProjectSupportProps): React.JSX.Element | null;
790
+ declare function export_default$P(props: ProjectSupportProps): React.JSX.Element | null;
740
791
 
741
792
  interface ProviderSearchProps {
742
793
  previewState?: ProviderSearchPreviewState;
@@ -745,7 +796,7 @@ interface ProviderSearchProps {
745
796
  innerRef?: React.Ref<HTMLDivElement>;
746
797
  }
747
798
  type ProviderSearchPreviewState = "Default";
748
- declare function export_default$N(props: ProviderSearchProps): React.JSX.Element;
799
+ declare function export_default$O(props: ProviderSearchProps): React.JSX.Element;
749
800
 
750
801
  interface RelativeActivityTodayProps {
751
802
  dataTypes: RelativeActivityDataType[];
@@ -760,7 +811,7 @@ interface RelativeActivityDataType {
760
811
  color: string;
761
812
  formatter: (number: number) => string;
762
813
  }
763
- declare function export_default$M(props: RelativeActivityTodayProps): React.JSX.Element | null;
814
+ declare function export_default$N(props: RelativeActivityTodayProps): React.JSX.Element | null;
764
815
 
765
816
  type RestingHeartRateCalendarPreviewState = "WithData" | "NoData" | "Loading";
766
817
  interface RestingHeartRateCalendarProps {
@@ -769,7 +820,7 @@ interface RestingHeartRateCalendarProps {
769
820
  showPreviewData: RestingHeartRateCalendarPreviewState;
770
821
  innerRef?: React.Ref<HTMLDivElement>;
771
822
  }
772
- declare function export_default$L(props: RestingHeartRateCalendarProps): React.JSX.Element;
823
+ declare function export_default$M(props: RestingHeartRateCalendarProps): React.JSX.Element;
773
824
 
774
825
  interface SurveyTaskListProps {
775
826
  status: SurveyTaskStatus;
@@ -787,7 +838,19 @@ interface SurveyTaskListProps {
787
838
  buttonColor?: ColorDefinition;
788
839
  }
789
840
  type SurveyTaskListListPreviewState = "IncompleteTasks" | "CompleteTasks";
790
- declare function export_default$K(props: SurveyTaskListProps): React.JSX.Element | null;
841
+ declare function export_default$L(props: SurveyTaskListProps): React.JSX.Element | null;
842
+
843
+ type SeverityCalendarPreviewState = "Default" | "NoData";
844
+ interface SeverityCalendarProps {
845
+ surveyName: string;
846
+ dateRecordedResultIdentifier?: string;
847
+ severityResultIdentifier: string;
848
+ severityValueMapper?: (value: string) => string;
849
+ intervalStart?: Date;
850
+ previewState?: SeverityCalendarPreviewState;
851
+ innerRef?: React.Ref<HTMLDivElement>;
852
+ }
853
+ declare function export_default$K(props: SeverityCalendarProps): React.JSX.Element;
791
854
 
792
855
  interface ViewEhrProps {
793
856
  onClick(): void;
@@ -1213,4 +1276,4 @@ declare function language(key: string): string;
1213
1276
 
1214
1277
  declare function getDayKey(date: Date): string;
1215
1278
 
1216
- export { export_default$1D as Action, export_default$1C as ActivityMeter, export_default$19 as AllergiesList, export_default$u as AllergiesView, export_default$18 as AppDownload, AreaChartOptions, BarChartOptions, export_default$t as BlankView, export_default$1B as Button, export_default$1A as Calendar, export_default$1z as CalendarDay, CalendarDayStateConfiguration, export_default$1y as Card, export_default$1x as CardTitle, export_default$g as CelebrationStep, export_default$f as CelebrationStepContainer, ColorDefinition, export_default$17 as ConditionsList, export_default$s as ConditionsView, export_default$e as ConnectDeviceAccountStep, export_default$d as ConnectDeviceAccountStepContainer, export_default$16 as ConnectDevicesMenu, export_default$15 as ConnectEhr, export_default$c as ConnectEhrStep, export_default$b as ConnectEhrStepContainer, export_default$r as ConnectEhrView, export_default$14 as ConnectFitbit, export_default$13 as ConnectGarmin, DailyDataAvailabilityCheck, DailyDataChart, DailyDataProvider, DailyDataQueryResult, DailyDataType, DailyLogEntry, DateRangeContext, DateRangeNavigatorContext as DateRangeCoordinator, export_default$1w as DateRangeNavigator, export_default$1v as DayTrackerSymbol, DeviceDataChartLine, export_default$12 as DeviceDataMonthChart, export_default$11 as DeviceDataMonthCharts, export_default$q as DeviceDataView, export_default$10 as ExternalAccountList, export_default$$ as ExternalAccountsLoadingIndicator, export_default$_ as ExternalAccountsPreview, export_default$p as ExternalAccountsView, export_default$1u as Face, export_default$Z as FitbitDevices, export_default$Y as FitbitMonthCharts, export_default$o as FitbitView, export_default$X as GarminDevices, export_default$W as GarminMonthCharts, export_default$n as GarminView, export_default$l as HealthAndWellnessView, export_default$V as HealthPreviewSection, export_default$1t as Histogram, export_default$m as HomeView, export_default$U as LabResultsSummary, export_default$1s as Layout, LayoutContext, LineChartOptions, LoadingIndicator, export_default$T as MedicationsList, export_default$k as MedicationsView, export_default$S as MostRecentNotification, export_default$1r as NavigationBar, NewPointsEntry, export_default$h as NewPointsView, NewPointsViewProps, export_default$1q as NotesInput, export_default$R as NotificationList, export_default$j as NotificationsView, export_default$Q as PlatformSpecificContent, ProgressBar, ProgressBarStep, export_default$1p as ProgressRing, export_default$P as ProjectHeader, export_default$O as ProjectSupport, export_default$N as ProviderSearch, export_default$M as RelativeActivityToday, export_default$L as RestingHeartRateCalendar, export_default$1o as Section, export_default$1n as SegmentedControl, export_default$1m as ShinyOverlay, export_default$1l as SingleExternalAccount, export_default$1k as SingleNotification, export_default$1j as SingleSurveyTask, export_default$1i 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$K as SurveyTaskList, export_default$i as SurveyTasksView, export_default$1h as Switch, SymptomConfiguration, SymptomReference, export_default$I as SymptomSharkCalendar, export_default$x as SymptomSharkCalendarView, SymptomSharkConfiguration, SymptomSharkDataService, export_default$G as SymptomSharkLogEntry, export_default$z as SymptomSharkLogEntryEdit, export_default$w as SymptomSharkLogEntryEditView, export_default$B as SymptomSharkLogEntryList, export_default$A as SymptomSharkLogToday, export_default$H as SymptomSharkOverallExperienceChart, export_default$v as SymptomSharkSymptomDetailView, export_default$D as SymptomSharkSymptomSeverityChart, export_default$E as SymptomSharkSymptomSeveritySummary, export_default$C as SymptomSharkSymptomTreatmentFilters, export_default$F as SymptomSharkSymptomTreatmentHistograms, export_default$y as SymptomSharkVisualizationCoordinator, export_default$1g as TextBlock, export_default$1f as Title, export_default$1e as TrackerItem, TreatmentConfiguration, TreatmentReference, export_default$1d as UnstyledButton, export_default$1c as ValueSelector, export_default$J as ViewEhr, export_default$1b as ViewHeader, export_default$1a as WeekCalendar, WeekStartsOn, export_default$2 as YouTubeStep, export_default$1 as YouTubeStepContainer, checkDailyDataAvailability, convertToSymptomSharkConfiguration, getDayKey, getMonthStart, getWeekStart, language, queryDailyData, registerDailyDataProvider, resolveColor, showNewPoints, export_default as useInterval };
1279
+ export { export_default$1H as Action, export_default$1G as ActivityMeter, export_default$1c as AllergiesList, export_default$u as AllergiesView, export_default$1b as AppDownload, AreaChartOptions, BarChartOptions, export_default$t as BlankView, BloodPressureDataPoint, export_default$19 as BloodPressureVisualization, export_default$1F as Button, export_default$1E as Calendar, export_default$1D as CalendarDay, CalendarDayStateConfiguration, export_default$1C as Card, export_default$1B as CardTitle, export_default$g as CelebrationStep, export_default$f as CelebrationStepContainer, ColorDefinition, export_default$18 as ConditionsList, export_default$s as ConditionsView, export_default$e as ConnectDeviceAccountStep, export_default$d as ConnectDeviceAccountStepContainer, export_default$17 as ConnectDevicesMenu, export_default$16 as ConnectEhr, export_default$c as ConnectEhrStep, export_default$b as ConnectEhrStepContainer, export_default$r as ConnectEhrView, export_default$15 as ConnectFitbit, export_default$14 as ConnectGarmin, DailyDataAvailabilityCheck, DailyDataChart, DailyDataProvider, DailyDataQueryResult, DailyDataType, DailyLogEntry, DateRangeContext, DateRangeNavigatorContext as DateRangeCoordinator, export_default$1A as DateRangeNavigator, export_default$1z as DayTrackerSymbol, DeviceDataChartLine, export_default$13 as DeviceDataMonthChart, export_default$12 as DeviceDataMonthCharts, export_default$q as DeviceDataView, export_default$1y as DumbbellChart, export_default$11 as ExternalAccountList, export_default$10 as ExternalAccountsLoadingIndicator, export_default$$ as ExternalAccountsPreview, export_default$p as ExternalAccountsView, export_default$1x as Face, export_default$_ as FitbitDevices, export_default$Z as FitbitMonthCharts, export_default$o as FitbitView, export_default$Y as GarminDevices, export_default$X as GarminMonthCharts, export_default$n as GarminView, export_default$l as HealthAndWellnessView, export_default$W as HealthPreviewSection, export_default$1w as Histogram, export_default$m as HomeView, export_default$V as LabResultsSummary, export_default$1v as Layout, LayoutContext, LineChartOptions, LoadingIndicator, export_default$U as MedicationsList, export_default$k as MedicationsView, export_default$T as MostRecentNotification, export_default$1u as NavigationBar, NewPointsEntry, export_default$h as NewPointsView, NewPointsViewProps, export_default$1t as NotesInput, export_default$S as NotificationList, export_default$j as NotificationsView, export_default$R as PlatformSpecificContent, ProgressBar, ProgressBarStep, export_default$1s as ProgressRing, export_default$Q as ProjectHeader, export_default$P as ProjectSupport, export_default$O as ProviderSearch, export_default$N as RelativeActivityToday, export_default$M as RestingHeartRateCalendar, export_default$1r as Section, export_default$1q as SegmentedControl, export_default$K as SeverityCalendar, export_default$1p as ShinyOverlay, export_default$1o as SingleExternalAccount, export_default$1n as SingleNotification, export_default$1m as SingleSurveyTask, export_default$1l 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, SurveyBloodPressureDataParameters, export_default$L as SurveyTaskList, export_default$i as SurveyTasksView, export_default$1k as Switch, SymptomConfiguration, SymptomReference, export_default$I as SymptomSharkCalendar, export_default$x as SymptomSharkCalendarView, SymptomSharkConfiguration, SymptomSharkDataService, export_default$G as SymptomSharkLogEntry, export_default$z as SymptomSharkLogEntryEdit, export_default$w as SymptomSharkLogEntryEditView, export_default$B as SymptomSharkLogEntryList, export_default$A as SymptomSharkLogToday, export_default$H as SymptomSharkOverallExperienceChart, export_default$v as SymptomSharkSymptomDetailView, export_default$D as SymptomSharkSymptomSeverityChart, export_default$E as SymptomSharkSymptomSeveritySummary, export_default$C as SymptomSharkSymptomTreatmentFilters, export_default$F as SymptomSharkSymptomTreatmentHistograms, export_default$y as SymptomSharkVisualizationCoordinator, export_default$1j as TextBlock, export_default$1i as Title, export_default$1h as TrackerItem, TreatmentConfiguration, TreatmentReference, export_default$1g as UnstyledButton, export_default$1f as ValueSelector, export_default$J as ViewEhr, export_default$1e as ViewHeader, export_default$1d as WeekCalendar, WeekStartsOn, export_default$2 as YouTubeStep, export_default$1 as YouTubeStepContainer, export_default$1a as bloodPressureDataProvider, checkDailyDataAvailability, convertToSymptomSharkConfiguration, getDayKey, getMonthStart, getWeekStart, language, queryDailyData, registerDailyDataProvider, resolveColor, showNewPoints, export_default as useInterval };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@careevolution/mydatahelps-ui",
3
- "version": "2.10.0",
3
+ "version": "2.10.1-DataVisualizations.0",
4
4
  "description": "MyDataHelps UI Library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",