@careevolution/mydatahelps-ui 2.9.1-AsthmaUI.35 → 2.9.1-AsthmaUI.37

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 (88) hide show
  1. package/dist/cjs/index.js +9 -9
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.d.ts +1 -0
  4. package/dist/cjs/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.previewData.d.ts +3 -2
  5. package/dist/cjs/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.stories.d.ts +13 -1
  6. package/dist/cjs/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.d.ts +3 -0
  7. package/dist/cjs/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.previewData.d.ts +8 -2
  8. package/dist/cjs/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.stories.d.ts +13 -1
  9. package/dist/cjs/types/components/asthma/components/AsthmaDataSummary/AsthmaDataSummary.d.ts +1 -0
  10. package/dist/cjs/types/components/asthma/helpers/asthma-functions.d.ts +1 -4
  11. package/dist/cjs/types/components/asthma/helpers/daily-data-providers/air-quality-home.d.ts +2 -0
  12. package/dist/cjs/types/components/asthma/helpers/daily-data-providers/air-quality-work.d.ts +2 -0
  13. package/dist/cjs/types/components/asthma/helpers/daily-data-providers/blood-oxygen-level-daytime.d.ts +2 -0
  14. package/dist/cjs/types/components/asthma/helpers/daily-data-providers/blood-oxygen-level-nighttime.d.ts +2 -0
  15. package/dist/cjs/types/components/asthma/helpers/daily-data-providers/index.d.ts +10 -0
  16. package/dist/cjs/types/components/asthma/helpers/daily-data-providers/respiratory-rate.d.ts +2 -0
  17. package/dist/cjs/types/components/asthma/helpers/daily-data-providers/resting-heart-rate-daytime.d.ts +2 -0
  18. package/dist/cjs/types/components/asthma/helpers/daily-data-providers/resting-heart-rate-nighttime.d.ts +2 -0
  19. package/dist/cjs/types/components/asthma/helpers/daily-data-providers/shared.d.ts +6 -0
  20. package/dist/cjs/types/components/asthma/helpers/daily-data-providers/sleep.d.ts +2 -0
  21. package/dist/cjs/types/components/asthma/helpers/daily-data-providers/steps.d.ts +2 -0
  22. package/dist/cjs/types/components/asthma/model/types.d.ts +1 -1
  23. package/dist/cjs/types/components/asthma/views/AsthmaActivityView/AsthmaActivityView.d.ts +6 -0
  24. package/dist/cjs/types/components/asthma/views/AsthmaActivityView/AsthmaActivityView.stories.d.ts +16 -0
  25. package/dist/cjs/types/components/asthma/views/AsthmaActivityView/index.d.ts +1 -0
  26. package/dist/cjs/types/components/asthma/views/AsthmaHeartAndLungsView/AsthmaHeartAndLungsView.d.ts +6 -0
  27. package/dist/cjs/types/components/asthma/views/AsthmaHeartAndLungsView/AsthmaHeartAndLungsView.stories.d.ts +16 -0
  28. package/dist/cjs/types/components/asthma/views/AsthmaHeartAndLungsView/index.d.ts +1 -0
  29. package/dist/cjs/types/components/asthma/views/AsthmaSleepView/AsthmaSleepView.d.ts +6 -0
  30. package/dist/cjs/types/components/asthma/views/AsthmaSleepView/AsthmaSleepView.stories.d.ts +16 -0
  31. package/dist/cjs/types/components/asthma/views/AsthmaSleepView/index.d.ts +1 -0
  32. package/dist/cjs/types/components/asthma/views/index.d.ts +3 -0
  33. package/dist/cjs/types/components/container/DailyDataChart/DailyDataChart.d.ts +1 -0
  34. package/dist/cjs/types/components/presentational/ValueSelector/ValueSelector.d.ts +9 -0
  35. package/dist/cjs/types/components/presentational/ValueSelector/ValueSelector.stories.d.ts +33 -14
  36. package/dist/cjs/types/helpers/daily-data-providers/garmin-active-calories.d.ts +3 -0
  37. package/dist/cjs/types/helpers/daily-data-providers/garmin-resting-calories.d.ts +3 -0
  38. package/dist/cjs/types/helpers/daily-data-providers/garmin-total-calories.d.ts +3 -0
  39. package/dist/cjs/types/helpers/daily-data-providers/index.d.ts +4 -2
  40. package/dist/cjs/types/helpers/daily-data-providers/query-garmin-total-daily-values.d.ts +3 -0
  41. package/dist/cjs/types/helpers/query-daily-data.d.ts +6 -2
  42. package/dist/esm/index.js +9 -9
  43. package/dist/esm/index.js.map +1 -1
  44. package/dist/esm/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.d.ts +1 -0
  45. package/dist/esm/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.previewData.d.ts +3 -2
  46. package/dist/esm/types/components/asthma/components/AsthmaAirQualities/AsthmaAirQualities.stories.d.ts +13 -1
  47. package/dist/esm/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.d.ts +3 -0
  48. package/dist/esm/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.previewData.d.ts +8 -2
  49. package/dist/esm/types/components/asthma/components/AsthmaBiometrics/AsthmaBiometrics.stories.d.ts +13 -1
  50. package/dist/esm/types/components/asthma/components/AsthmaDataSummary/AsthmaDataSummary.d.ts +1 -0
  51. package/dist/esm/types/components/asthma/helpers/asthma-functions.d.ts +1 -4
  52. package/dist/esm/types/components/asthma/helpers/daily-data-providers/air-quality-home.d.ts +2 -0
  53. package/dist/esm/types/components/asthma/helpers/daily-data-providers/air-quality-work.d.ts +2 -0
  54. package/dist/esm/types/components/asthma/helpers/daily-data-providers/blood-oxygen-level-daytime.d.ts +2 -0
  55. package/dist/esm/types/components/asthma/helpers/daily-data-providers/blood-oxygen-level-nighttime.d.ts +2 -0
  56. package/dist/esm/types/components/asthma/helpers/daily-data-providers/index.d.ts +10 -0
  57. package/dist/esm/types/components/asthma/helpers/daily-data-providers/respiratory-rate.d.ts +2 -0
  58. package/dist/esm/types/components/asthma/helpers/daily-data-providers/resting-heart-rate-daytime.d.ts +2 -0
  59. package/dist/esm/types/components/asthma/helpers/daily-data-providers/resting-heart-rate-nighttime.d.ts +2 -0
  60. package/dist/esm/types/components/asthma/helpers/daily-data-providers/shared.d.ts +6 -0
  61. package/dist/esm/types/components/asthma/helpers/daily-data-providers/sleep.d.ts +2 -0
  62. package/dist/esm/types/components/asthma/helpers/daily-data-providers/steps.d.ts +2 -0
  63. package/dist/esm/types/components/asthma/model/types.d.ts +1 -1
  64. package/dist/esm/types/components/asthma/views/AsthmaActivityView/AsthmaActivityView.d.ts +6 -0
  65. package/dist/esm/types/components/asthma/views/AsthmaActivityView/AsthmaActivityView.stories.d.ts +16 -0
  66. package/dist/esm/types/components/asthma/views/AsthmaActivityView/index.d.ts +1 -0
  67. package/dist/esm/types/components/asthma/views/AsthmaHeartAndLungsView/AsthmaHeartAndLungsView.d.ts +6 -0
  68. package/dist/esm/types/components/asthma/views/AsthmaHeartAndLungsView/AsthmaHeartAndLungsView.stories.d.ts +16 -0
  69. package/dist/esm/types/components/asthma/views/AsthmaHeartAndLungsView/index.d.ts +1 -0
  70. package/dist/esm/types/components/asthma/views/AsthmaSleepView/AsthmaSleepView.d.ts +6 -0
  71. package/dist/esm/types/components/asthma/views/AsthmaSleepView/AsthmaSleepView.stories.d.ts +16 -0
  72. package/dist/esm/types/components/asthma/views/AsthmaSleepView/index.d.ts +1 -0
  73. package/dist/esm/types/components/asthma/views/index.d.ts +3 -0
  74. package/dist/esm/types/components/container/DailyDataChart/DailyDataChart.d.ts +1 -0
  75. package/dist/esm/types/components/presentational/ValueSelector/ValueSelector.d.ts +9 -0
  76. package/dist/esm/types/components/presentational/ValueSelector/ValueSelector.stories.d.ts +33 -14
  77. package/dist/esm/types/helpers/daily-data-providers/garmin-active-calories.d.ts +3 -0
  78. package/dist/esm/types/helpers/daily-data-providers/garmin-resting-calories.d.ts +3 -0
  79. package/dist/esm/types/helpers/daily-data-providers/garmin-total-calories.d.ts +3 -0
  80. package/dist/esm/types/helpers/daily-data-providers/index.d.ts +4 -2
  81. package/dist/esm/types/helpers/daily-data-providers/query-garmin-total-daily-values.d.ts +3 -0
  82. package/dist/esm/types/helpers/query-daily-data.d.ts +6 -2
  83. package/dist/index.d.ts +54 -22
  84. package/package.json +3 -3
  85. package/dist/esm/types/helpers/daily-data-providers/air-quality-home.d.ts +0 -3
  86. package/dist/esm/types/helpers/daily-data-providers/air-quality-work.d.ts +0 -3
  87. /package/dist/cjs/types/helpers/daily-data-providers/{air-quality-home.d.ts → apple-health-active-energy-burned.d.ts} +0 -0
  88. /package/dist/{cjs/types/helpers/daily-data-providers/air-quality-work.d.ts → esm/types/helpers/daily-data-providers/apple-health-active-energy-burned.d.ts} +0 -0
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import React, { ReactElement, CSSProperties, MouseEventHandler, ReactNode, DependencyList } from 'react';
2
- import { ParticipantInfo, ExternalAccountStatus, ExternalAccount, NotificationType, ExternalAccountProvider, SurveyTaskStatus, StatusBarStyle, Notification, SurveyTask, EventName } from '@careevolution/mydatahelps-js';
2
+ import { ParticipantInfo, ExternalAccountStatus, DeviceDataNamespace, ExternalAccount, NotificationType, ExternalAccountProvider, SurveyTaskStatus, StatusBarStyle, Notification, SurveyTask, EventName } from '@careevolution/mydatahelps-js';
3
3
  import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
4
4
  import { IconDefinition as IconDefinition$1 } from '@fortawesome/fontawesome-common-types';
5
5
 
@@ -30,7 +30,7 @@ interface AsthmaControlState {
30
30
  inhalerUseDaysPast7?: number;
31
31
  }
32
32
  type AsthmaDataStatus = 'establishing' | 'offline' | 'in-range' | 'out-of-range';
33
- type AsthmaBiometricType = 'daytime-resting-heart-rate' | 'nighttime-resting-heart-rate' | 'respiratory-rate' | 'activity' | 'sleep';
33
+ type AsthmaBiometricType = 'daytime-resting-heart-rate' | 'nighttime-resting-heart-rate' | 'respiratory-rate' | 'steps' | 'sleep-disturbances' | 'daytime-blood-oxygen-level' | 'nighttime-blood-oxygen-level';
34
34
  interface AsthmaBiometric {
35
35
  type: AsthmaBiometricType;
36
36
  status: AsthmaDataStatus;
@@ -52,21 +52,25 @@ interface AsthmaLogEntry {
52
52
  triggers: string[];
53
53
  }
54
54
 
55
- type AsthmaAirQualitiesPreviewState = 'default';
55
+ type AsthmaAirQualitiesPreviewState = 'no-data' | 'some-data' | 'all-data';
56
56
 
57
57
  interface AsthmaAirQualitiesProps {
58
58
  previewState?: AsthmaAirQualitiesPreviewState;
59
+ airQualitiesUrl: string;
59
60
  innerRef?: React.Ref<HTMLDivElement>;
60
61
  }
61
- declare function export_default$1Q(props: AsthmaAirQualitiesProps): React.JSX.Element;
62
+ declare function export_default$1T(props: AsthmaAirQualitiesProps): React.JSX.Element;
62
63
 
63
- type AsthmaBiometricsPreviewState = 'default';
64
+ type AsthmaBiometricsPreviewState = 'no-data' | 'some-data' | 'all-data';
64
65
 
65
66
  interface AsthmaBiometricsProps {
66
67
  previewState?: AsthmaBiometricsPreviewState;
68
+ heartAndLungsUrl: string;
69
+ activityUrl: string;
70
+ sleepUrl: string;
67
71
  innerRef?: React.Ref<HTMLDivElement>;
68
72
  }
69
- declare function export_default$1P(props: AsthmaBiometricsProps): React.JSX.Element;
73
+ declare function export_default$1S(props: AsthmaBiometricsProps): React.JSX.Element;
70
74
 
71
75
  type AsthmaControlCalendarPreviewState = 'no-logs' | 'some-logs';
72
76
 
@@ -85,7 +89,7 @@ interface AsthmaControlCalendarProps {
85
89
  logEntryBackgroundColor?: ColorDefinition;
86
90
  innerRef?: React.Ref<HTMLDivElement>;
87
91
  }
88
- declare function export_default$1O(props: AsthmaControlCalendarProps): React.JSX.Element;
92
+ declare function export_default$1R(props: AsthmaControlCalendarProps): React.JSX.Element;
89
93
 
90
94
  type AsthmaControlStatusHeaderPreviewState = 'no-data' | 'abnormal-dhr' | 'abnormal-nhr' | 'abnormal-rr' | 'abnormal-activity' | 'abnormal-sleep' | 'abnormal-home-aqi' | 'abnormal-work-aqi' | 'abnormal-multiple' | 'not-determined' | 'not-controlled' | 'controlled';
91
95
 
@@ -94,7 +98,7 @@ interface AsthmaControlStatusHeaderProps {
94
98
  participant: AsthmaParticipant;
95
99
  innerRef?: React.Ref<HTMLDivElement>;
96
100
  }
97
- declare function export_default$1N(props: AsthmaControlStatusHeaderProps): React.JSX.Element | null;
101
+ declare function export_default$1Q(props: AsthmaControlStatusHeaderProps): React.JSX.Element | null;
98
102
 
99
103
  interface AsthmaDataSummaryProps {
100
104
  label: string;
@@ -102,14 +106,15 @@ interface AsthmaDataSummaryProps {
102
106
  statusText?: string;
103
107
  value?: number;
104
108
  units?: string;
109
+ onClick?: () => void;
105
110
  innerRef?: React.Ref<HTMLDivElement>;
106
111
  }
107
- declare function export_default$1M(props: AsthmaDataSummaryProps): React.JSX.Element;
112
+ declare function export_default$1P(props: AsthmaDataSummaryProps): React.JSX.Element;
108
113
 
109
114
  interface AsthmaFactsProps {
110
115
  innerRef?: React.Ref<HTMLDivElement>;
111
116
  }
112
- declare function export_default$1L(props: AsthmaFactsProps): React.JSX.Element;
117
+ declare function export_default$1O(props: AsthmaFactsProps): React.JSX.Element;
113
118
 
114
119
  type AsthmaLogEntryDetailsPreviewState = 'not-logged' | 'logged-no-symptoms' | 'logged-mild-symptoms' | 'logged-moderate-symptoms' | 'logged-severe-symptoms';
115
120
 
@@ -121,7 +126,7 @@ interface AsthmaLogEntryDetailsProps {
121
126
  editLogEntryUrl: string;
122
127
  innerRef?: React.Ref<HTMLDivElement>;
123
128
  }
124
- declare function export_default$1K(props: AsthmaLogEntryDetailsProps): React.JSX.Element;
129
+ declare function export_default$1N(props: AsthmaLogEntryDetailsProps): React.JSX.Element;
125
130
 
126
131
  type AsthmaLogEntryHeaderPreviewState = 'no-logs' | 'today-log-only' | 'yesterday-log-only' | 'both-logs';
127
132
 
@@ -132,7 +137,7 @@ interface AsthmaLogEntryHeaderProps {
132
137
  dayViewUrl: string;
133
138
  innerRef?: React.Ref<HTMLDivElement>;
134
139
  }
135
- declare function export_default$1J(props: AsthmaLogEntryHeaderProps): React.JSX.Element | null;
140
+ declare function export_default$1M(props: AsthmaLogEntryHeaderProps): React.JSX.Element | null;
136
141
 
137
142
  interface AsthmaLogEntrySummaryProps {
138
143
  label: string;
@@ -141,7 +146,7 @@ interface AsthmaLogEntrySummaryProps {
141
146
  loading?: boolean;
142
147
  innerRef?: React.Ref<HTMLDivElement>;
143
148
  }
144
- declare function export_default$1I(props: AsthmaLogEntrySummaryProps): React.JSX.Element;
149
+ declare function export_default$1L(props: AsthmaLogEntrySummaryProps): React.JSX.Element;
145
150
 
146
151
  interface AsthmaDataService {
147
152
  loadParticipant(): Promise<AsthmaParticipant>;
@@ -154,18 +159,21 @@ declare const service: AsthmaDataService;
154
159
 
155
160
  declare const dateToAsthmaLogEntryIdentifier: (date: Date) => string;
156
161
  declare const computeAsthmaControlState: (logEntries: AsthmaLogEntry[], date: Date) => AsthmaControlState;
157
- declare const getAsthmaBiometricTypeLabel: (type: AsthmaBiometricType) => string;
158
- declare const getAsthmaBiometricTypeUnits: (type: AsthmaBiometricType) => string;
159
162
  declare const getAsthmaDataStatusText: (status: AsthmaDataStatus) => string;
160
- declare const getAsthmaAirQualityTypeLabel: (type: AsthmaAirQualityType) => string;
161
163
  declare const getAsthmaSymptomLevelValue: (symptomLevel: AsthmaSymptomLevel) => string;
162
164
  declare const getAsthmaSymptomLevel: (symptomLevelValue: string | undefined) => AsthmaSymptomLevel;
163
165
 
166
+ interface AsthmaActivityViewProps {
167
+ previewState?: 'default';
168
+ colorScheme?: 'light' | 'dark' | 'auto';
169
+ }
170
+ declare function export_default$1K(props: AsthmaActivityViewProps): React.JSX.Element;
171
+
164
172
  interface AsthmaAirQualityViewProps {
165
173
  previewState?: 'default';
166
174
  colorScheme?: 'light' | 'dark' | 'auto';
167
175
  }
168
- declare function export_default$1H(props: AsthmaAirQualityViewProps): React.JSX.Element;
176
+ declare function export_default$1J(props: AsthmaAirQualityViewProps): React.JSX.Element;
169
177
 
170
178
  interface AsthmaDayViewPreviewState {
171
179
  logEntryDetailsPreviewState: AsthmaLogEntryDetailsPreviewState;
@@ -180,7 +188,13 @@ interface AsthmaDayViewProps {
180
188
  logYesterdayEntrySurveyName: string;
181
189
  editLogEntryUrl: string;
182
190
  }
183
- declare function export_default$1G(props: AsthmaDayViewProps): React.JSX.Element;
191
+ declare function export_default$1I(props: AsthmaDayViewProps): React.JSX.Element;
192
+
193
+ interface AsthmaHeartAndLungsViewProps {
194
+ previewState?: 'default';
195
+ colorScheme?: 'light' | 'dark' | 'auto';
196
+ }
197
+ declare function export_default$1H(props: AsthmaHeartAndLungsViewProps): React.JSX.Element;
184
198
 
185
199
  type AsthmaLogEntryEditorViewPreviewState = 'not-logged' | 'logged-no-symptoms' | 'logged-mild-symptoms' | 'logged-moderate-symptoms' | 'logged-severe-symptoms';
186
200
 
@@ -189,7 +203,13 @@ interface AsthmaLogEntryEditorViewProps {
189
203
  colorScheme?: 'light' | 'dark' | 'auto';
190
204
  date: Date;
191
205
  }
192
- declare function export_default$1F(props: AsthmaLogEntryEditorViewProps): React.JSX.Element | null;
206
+ declare function export_default$1G(props: AsthmaLogEntryEditorViewProps): React.JSX.Element | null;
207
+
208
+ interface AsthmaSleepViewProps {
209
+ previewState?: 'default';
210
+ colorScheme?: 'light' | 'dark' | 'auto';
211
+ }
212
+ declare function export_default$1F(props: AsthmaSleepViewProps): React.JSX.Element;
193
213
 
194
214
  interface TermInformation {
195
215
  TermFamily: string;
@@ -278,9 +298,8 @@ type DailyDataAvailabilityCheck = (modifiedAfter?: Date) => Promise<boolean>;
278
298
  declare function registerDailyDataProvider(type: string, provider: DailyDataProvider, availabilityCheck: DailyDataAvailabilityCheck): void;
279
299
  declare function checkDailyDataAvailability(type: string, modifiedAfter?: Date): Promise<boolean>;
280
300
  declare function queryDailyData(type: string, startDate: Date, endDate: Date): Promise<DailyDataQueryResult>;
301
+ declare function simpleAvailabilityCheck(namespace: DeviceDataNamespace, type: string | string[]): (modifiedAfter?: Date) => Promise<boolean>;
281
302
  declare enum DailyDataType {
282
- AirQualityAtHome = "AirQualityAtHome",
283
- AirQualityAtWork = "AirQualityAtWork",
284
303
  AppleHealthDistanceWalkingRunning = "AppleHealthDistanceWalkingRunning",
285
304
  AppleHealthFlightsClimbed = "AppleHealthFlightsClimbed",
286
305
  AppleHealthHeartRateRange = "AppleHealthHeartRateRange",
@@ -292,6 +311,7 @@ declare enum DailyDataType {
292
311
  AppleHealthStandMinutes = "AppleHealthStandMinutes",
293
312
  AppleHealthSteps = "AppleHealthSteps",
294
313
  AppleHealthWalkingHeartRateAverage = "AppleHealthWalkingHeartRateAverage",
314
+ AppleHealthActiveEnergyBurned = "AppleHealthActiveEnergyBurned",
295
315
  FitbitSedentaryMinutes = "FitbitSedentaryMinutes",
296
316
  FitbitActiveMinutes = "FitbitActiveMinutes",
297
317
  FitbitLightlyActiveMinutes = "FitbitLightlyActiveMinutes",
@@ -316,6 +336,9 @@ declare enum DailyDataType {
316
336
  GarminDistance = "GarminDistance",
317
337
  GarminFloors = "GarminFloors",
318
338
  GarminActiveMinutes = "GarminActiveMinutes",
339
+ GarminActiveCalories = "GarminActiveCalories",
340
+ GarminRestingCalories = "GarminRestingCalories",
341
+ GarminTotalCalories = "GarminTotalCalories",
319
342
  GarminRestingHeartRate = "GarminRestingHeartRate",
320
343
  GarminMinHeartRate = "GarminMinHeartRate",
321
344
  GarminMaxHeartRate = "GarminMaxHeartRate",
@@ -343,6 +366,7 @@ declare function getMonthStart(): Date;
343
366
 
344
367
  interface DailyDataChartProps {
345
368
  title?: string;
369
+ subtitle?: string;
346
370
  intervalType?: "Week" | "Month";
347
371
  weekStartsOn?: WeekStartsOn;
348
372
  dailyDataType: string;
@@ -966,9 +990,17 @@ declare function export_default$M(props: UnstyledButtonProps): React.JSX.Element
966
990
 
967
991
  interface ValueSelectorProps {
968
992
  title?: string;
993
+ titleColor?: ColorDefinition;
969
994
  subtitle?: string;
995
+ subtitleColor?: ColorDefinition;
970
996
  values: string[];
997
+ valueBackgroundColor?: ColorDefinition;
998
+ valueTextColor?: ColorDefinition;
999
+ checkboxColor?: ColorDefinition;
971
1000
  selectedValues?: string[];
1001
+ selectedButtonBackgroundColor?: ColorDefinition;
1002
+ selectedButtonTextColor?: ColorDefinition;
1003
+ selectedCheckboxColor?: ColorDefinition;
972
1004
  onChange?: (selectedValues: string[]) => void;
973
1005
  variant?: 'default' | 'checkboxes';
974
1006
  multiSelect?: boolean;
@@ -1413,4 +1445,4 @@ declare function getDayKey(date: Date): string;
1413
1445
 
1414
1446
  declare function useInitializeView(initialize: () => void, additionalEvents?: EventName[], dependencies?: DependencyList): void;
1415
1447
 
1416
- export { export_default$1a as Action, export_default$19 as ActivityMeter, export_default$1E as AllergiesList, export_default$e as AllergiesView, export_default$1D as AppDownload, AreaChartOptions, export_default$1Q as AsthmaAirQualities, AsthmaAirQualitiesPreviewState, AsthmaAirQuality, AsthmaAirQualityType, export_default$1H as AsthmaAirQualityView, AsthmaBiometric, AsthmaBiometricType, export_default$1P as AsthmaBiometrics, AsthmaBiometricsPreviewState, export_default$1O as AsthmaControlCalendar, AsthmaControlCalendarVariant, AsthmaControlMetrics, AsthmaControlState, AsthmaControlStatus, export_default$1N as AsthmaControlStatusHeader, AsthmaDataStatus, export_default$1M as AsthmaDataSummary, export_default$1G as AsthmaDayView, AsthmaDayViewPreviewState, export_default$1L as AsthmaFacts, AsthmaLogEntry, export_default$1K as AsthmaLogEntryDetails, AsthmaLogEntryDetailsPreviewState, export_default$1F as AsthmaLogEntryEditorView, AsthmaLogEntryEditorViewPreviewState, export_default$1J as AsthmaLogEntryHeader, export_default$1I as AsthmaLogEntrySummary, AsthmaParticipant, AsthmaSymptomLevel, BarChartOptions, export_default$d as BlankView, export_default$1d as Button, export_default$18 as Calendar, export_default$17 as CalendarDay, CalendarDayStateConfiguration, export_default$16 as Card, export_default$15 as CardTitle, export_default$I as CelebrationStep, export_default$H as CelebrationStepContainer, ColorDefinition, export_default$1C as ConditionsList, export_default$c as ConditionsView, export_default$G as ConnectDeviceAccountStep, export_default$F as ConnectDeviceAccountStepContainer, export_default$1B as ConnectDevicesMenu, export_default$1A as ConnectEhr, export_default$E as ConnectEhrStep, export_default$D as ConnectEhrStepContainer, export_default$b as ConnectEhrView, export_default$1z as ConnectFitbit, export_default$1y as ConnectGarmin, DailyDataAvailabilityCheck, DailyDataChart, DailyDataProvider, DailyDataQueryResult, DailyDataType, DailyLogEntry, DateRangeContext, DateRangeNavigatorContext as DateRangeCoordinator, export_default$14 as DateRangeNavigator, export_default$13 as DayTrackerSymbol, DeviceDataChartLine, export_default$1x as DeviceDataMonthChart, export_default$1w as DeviceDataMonthCharts, export_default$a as DeviceDataView, export_default$1v as ExternalAccountList, export_default$1u as ExternalAccountsLoadingIndicator, export_default$1t as ExternalAccountsPreview, export_default$9 as ExternalAccountsView, export_default$12 as Face, export_default$1s as FitbitDevices, export_default$1r as FitbitMonthCharts, export_default$8 as FitbitView, export_default$1q as GarminDevices, export_default$1p as GarminMonthCharts, export_default$7 as GarminView, export_default$5 as HealthAndWellnessView, export_default$1o as HealthPreviewSection, export_default$11 as Histogram, export_default$6 as HomeView, export_default$1n as LabResultsSummary, export_default$10 as Layout, LayoutContext, LineChartOptions, LoadingIndicator, export_default$1m as MedicationsList, export_default$4 as MedicationsView, export_default$1l as MostRecentNotification, export_default$$ as NavigationBar, NewPointsEntry, export_default$1 as NewPointsView, NewPointsViewProps, export_default$_ as NotesInput, export_default$1k as NotificationList, export_default$3 as NotificationsView, export_default$1j as PlatformSpecificContent, ProgressBar, ProgressBarStep, export_default$Z as ProgressRing, export_default$1i as ProjectHeader, export_default$1h as ProjectSupport, export_default$1g as ProviderSearch, export_default$1f as RelativeActivityToday, export_default$1e as RestingHeartRateCalendar, export_default$Y as RotatingText, RotatingTextEntry, export_default$X as Section, export_default$W as SegmentedControl, export_default$V as ShinyOverlay, export_default$U as SingleExternalAccount, export_default$T as SingleNotification, export_default$S as SingleSurveyTask, export_default$R as SparkBarChart, SparkBarChartBar, StatusBarBackgroundProps as StatusBarBackground, export_default$C as StepDetailText, export_default$A as StepImage, export_default$B as StepImageIcon, export_default$z as StepLayout, export_default$y as StepMarkdown, export_default$x as StepNextButton, export_default$w as StepText, export_default$v as StepTitle, export_default$1c as SurveyTaskList, export_default$2 as SurveyTasksView, export_default$Q as Switch, SymptomConfiguration, SymptomReference, export_default$s as SymptomSharkCalendar, export_default$h as SymptomSharkCalendarView, SymptomSharkConfiguration, SymptomSharkDataService, export_default$q as SymptomSharkLogEntry, export_default$j as SymptomSharkLogEntryEdit, export_default$g as SymptomSharkLogEntryEditView, export_default$l as SymptomSharkLogEntryList, export_default$k as SymptomSharkLogToday, export_default$r as SymptomSharkOverallExperienceChart, export_default$f as SymptomSharkSymptomDetailView, export_default$n as SymptomSharkSymptomSeverityChart, export_default$o as SymptomSharkSymptomSeveritySummary, export_default$m as SymptomSharkSymptomTreatmentFilters, export_default$p as SymptomSharkSymptomTreatmentHistograms, export_default$i as SymptomSharkVisualizationCoordinator, export_default$P as TextBlock, export_default$O as Title, export_default$N as TrackerItem, TreatmentConfiguration, TreatmentReference, export_default$M as UnstyledButton, export_default$L as ValueSelector, export_default$1b as ViewEhr, export_default$K as ViewHeader, export_default$J as WeekCalendar, WeekStartsOn, export_default$u as YouTubeStep, export_default$t as YouTubeStepContainer, service as asthmaDataService, checkDailyDataAvailability, computeAsthmaControlState, convertToSymptomSharkConfiguration, dateToAsthmaLogEntryIdentifier, getAsthmaAirQualityTypeLabel, getAsthmaBiometricTypeLabel, getAsthmaBiometricTypeUnits, getAsthmaDataStatusText, getAsthmaSymptomLevel, getAsthmaSymptomLevelValue, getDayKey, getMonthStart, getWeekStart, language, queryDailyData, registerDailyDataProvider, resolveColor, showNewPoints, useInitializeView, export_default as useInterval };
1448
+ export { export_default$1a as Action, export_default$19 as ActivityMeter, export_default$1E as AllergiesList, export_default$e as AllergiesView, export_default$1D as AppDownload, AreaChartOptions, export_default$1K as AsthmaActivityView, export_default$1T as AsthmaAirQualities, AsthmaAirQualitiesPreviewState, AsthmaAirQuality, AsthmaAirQualityType, export_default$1J as AsthmaAirQualityView, AsthmaBiometric, AsthmaBiometricType, export_default$1S as AsthmaBiometrics, AsthmaBiometricsPreviewState, export_default$1R as AsthmaControlCalendar, AsthmaControlCalendarVariant, AsthmaControlMetrics, AsthmaControlState, AsthmaControlStatus, export_default$1Q as AsthmaControlStatusHeader, AsthmaDataStatus, export_default$1P as AsthmaDataSummary, export_default$1I as AsthmaDayView, AsthmaDayViewPreviewState, export_default$1O as AsthmaFacts, export_default$1H as AsthmaHeartAndLungsView, AsthmaLogEntry, export_default$1N as AsthmaLogEntryDetails, AsthmaLogEntryDetailsPreviewState, export_default$1G as AsthmaLogEntryEditorView, AsthmaLogEntryEditorViewPreviewState, export_default$1M as AsthmaLogEntryHeader, export_default$1L as AsthmaLogEntrySummary, AsthmaParticipant, export_default$1F as AsthmaSleepView, AsthmaSymptomLevel, BarChartOptions, export_default$d as BlankView, export_default$1d as Button, export_default$18 as Calendar, export_default$17 as CalendarDay, CalendarDayStateConfiguration, export_default$16 as Card, export_default$15 as CardTitle, export_default$I as CelebrationStep, export_default$H as CelebrationStepContainer, ColorDefinition, export_default$1C as ConditionsList, export_default$c as ConditionsView, export_default$G as ConnectDeviceAccountStep, export_default$F as ConnectDeviceAccountStepContainer, export_default$1B as ConnectDevicesMenu, export_default$1A as ConnectEhr, export_default$E as ConnectEhrStep, export_default$D as ConnectEhrStepContainer, export_default$b as ConnectEhrView, export_default$1z as ConnectFitbit, export_default$1y as ConnectGarmin, DailyDataAvailabilityCheck, DailyDataChart, DailyDataProvider, DailyDataQueryResult, DailyDataType, DailyLogEntry, DateRangeContext, DateRangeNavigatorContext as DateRangeCoordinator, export_default$14 as DateRangeNavigator, export_default$13 as DayTrackerSymbol, DeviceDataChartLine, export_default$1x as DeviceDataMonthChart, export_default$1w as DeviceDataMonthCharts, export_default$a as DeviceDataView, export_default$1v as ExternalAccountList, export_default$1u as ExternalAccountsLoadingIndicator, export_default$1t as ExternalAccountsPreview, export_default$9 as ExternalAccountsView, export_default$12 as Face, export_default$1s as FitbitDevices, export_default$1r as FitbitMonthCharts, export_default$8 as FitbitView, export_default$1q as GarminDevices, export_default$1p as GarminMonthCharts, export_default$7 as GarminView, export_default$5 as HealthAndWellnessView, export_default$1o as HealthPreviewSection, export_default$11 as Histogram, export_default$6 as HomeView, export_default$1n as LabResultsSummary, export_default$10 as Layout, LayoutContext, LineChartOptions, LoadingIndicator, export_default$1m as MedicationsList, export_default$4 as MedicationsView, export_default$1l as MostRecentNotification, export_default$$ as NavigationBar, NewPointsEntry, export_default$1 as NewPointsView, NewPointsViewProps, export_default$_ as NotesInput, export_default$1k as NotificationList, export_default$3 as NotificationsView, export_default$1j as PlatformSpecificContent, ProgressBar, ProgressBarStep, export_default$Z as ProgressRing, export_default$1i as ProjectHeader, export_default$1h as ProjectSupport, export_default$1g as ProviderSearch, export_default$1f as RelativeActivityToday, export_default$1e as RestingHeartRateCalendar, export_default$Y as RotatingText, RotatingTextEntry, export_default$X as Section, export_default$W as SegmentedControl, export_default$V as ShinyOverlay, export_default$U as SingleExternalAccount, export_default$T as SingleNotification, export_default$S as SingleSurveyTask, export_default$R as SparkBarChart, SparkBarChartBar, StatusBarBackgroundProps as StatusBarBackground, export_default$C as StepDetailText, export_default$A as StepImage, export_default$B as StepImageIcon, export_default$z as StepLayout, export_default$y as StepMarkdown, export_default$x as StepNextButton, export_default$w as StepText, export_default$v as StepTitle, export_default$1c as SurveyTaskList, export_default$2 as SurveyTasksView, export_default$Q as Switch, SymptomConfiguration, SymptomReference, export_default$s as SymptomSharkCalendar, export_default$h as SymptomSharkCalendarView, SymptomSharkConfiguration, SymptomSharkDataService, export_default$q as SymptomSharkLogEntry, export_default$j as SymptomSharkLogEntryEdit, export_default$g as SymptomSharkLogEntryEditView, export_default$l as SymptomSharkLogEntryList, export_default$k as SymptomSharkLogToday, export_default$r as SymptomSharkOverallExperienceChart, export_default$f as SymptomSharkSymptomDetailView, export_default$n as SymptomSharkSymptomSeverityChart, export_default$o as SymptomSharkSymptomSeveritySummary, export_default$m as SymptomSharkSymptomTreatmentFilters, export_default$p as SymptomSharkSymptomTreatmentHistograms, export_default$i as SymptomSharkVisualizationCoordinator, export_default$P as TextBlock, export_default$O as Title, export_default$N as TrackerItem, TreatmentConfiguration, TreatmentReference, export_default$M as UnstyledButton, export_default$L as ValueSelector, export_default$1b as ViewEhr, export_default$K as ViewHeader, export_default$J as WeekCalendar, WeekStartsOn, export_default$u as YouTubeStep, export_default$t as YouTubeStepContainer, service as asthmaDataService, checkDailyDataAvailability, computeAsthmaControlState, convertToSymptomSharkConfiguration, dateToAsthmaLogEntryIdentifier, getAsthmaDataStatusText, getAsthmaSymptomLevel, getAsthmaSymptomLevelValue, getDayKey, getMonthStart, getWeekStart, language, queryDailyData, registerDailyDataProvider, resolveColor, showNewPoints, simpleAvailabilityCheck, useInitializeView, export_default as useInterval };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@careevolution/mydatahelps-ui",
3
- "version": "2.9.1-AsthmaUI.35",
3
+ "version": "2.9.1-AsthmaUI.37",
4
4
  "description": "MyDataHelps UI Library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -35,7 +35,7 @@
35
35
  "@rollup/plugin-image": "^3.0.2",
36
36
  "@rollup/plugin-json": "^6.0.0",
37
37
  "@rollup/plugin-node-resolve": "^15.0.2",
38
- "@rollup/plugin-typescript": "8.3.3",
38
+ "@rollup/plugin-typescript": "11.1.5",
39
39
  "@storybook/addon-actions": "^7.0.12",
40
40
  "@storybook/addon-essentials": "^7.0.12",
41
41
  "@storybook/addon-interactions": "^7.0.12",
@@ -65,7 +65,7 @@
65
65
  "@fortawesome/react-fontawesome": "^0.2.0",
66
66
  "@types/lodash": "^4.14.195",
67
67
  "date-fns": "^2.28.0",
68
- "html-react-parser": "^4.2.5",
68
+ "html-react-parser": "^5.0.7",
69
69
  "lodash": "^4.17.21",
70
70
  "markdown-it": "^13.0.1",
71
71
  "react-feather": "^2.0.9",
@@ -1,3 +0,0 @@
1
- export default function (startDate: Date, endDate: Date): Promise<{
2
- [key: string]: number;
3
- }>;
@@ -1,3 +0,0 @@
1
- export default function (startDate: Date, endDate: Date): Promise<{
2
- [key: string]: number;
3
- }>;