@careevolution/mydatahelps-ui 2.2.1-VB3.7 → 2.2.1-VB3.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +4 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/container/DailyDataChart/DailyDataChart.d.ts +2 -1
- package/dist/cjs/types/components/container/DailyDataChart/DailyDataChart.stories.d.ts +4 -1
- package/dist/cjs/types/index.d.ts +1 -1
- package/dist/esm/index.js +4 -4
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/container/DailyDataChart/DailyDataChart.d.ts +2 -1
- package/dist/esm/types/components/container/DailyDataChart/DailyDataChart.stories.d.ts +4 -1
- package/dist/esm/types/index.d.ts +1 -1
- package/dist/index.d.ts +5 -2
- package/package.json +1 -1
|
@@ -11,6 +11,7 @@ export interface DailyDataChartProps {
|
|
|
11
11
|
valueFormatter?(value: number): string;
|
|
12
12
|
chartType: "Line" | "Bar" | "Area";
|
|
13
13
|
options?: LineChartOptions | BarChartOptions | AreaChartOptions;
|
|
14
|
+
hideIfNoData?: boolean;
|
|
14
15
|
previewDataProvider?: DailyDataProvider;
|
|
15
16
|
}
|
|
16
17
|
export interface LineChartOptions {
|
|
@@ -24,4 +25,4 @@ export interface AreaChartOptions {
|
|
|
24
25
|
lineColor?: string;
|
|
25
26
|
areaColor?: string;
|
|
26
27
|
}
|
|
27
|
-
export default function DailyDataChart(props: DailyDataChartProps): React.JSX.Element;
|
|
28
|
+
export default function DailyDataChart(props: DailyDataChartProps): false | React.JSX.Element;
|
|
@@ -41,7 +41,10 @@ export declare const stepsBarChart: {
|
|
|
41
41
|
export declare const stepsAreaChart: {
|
|
42
42
|
args: {
|
|
43
43
|
title: string;
|
|
44
|
-
options: {
|
|
44
|
+
options: {
|
|
45
|
+
areaColor: string;
|
|
46
|
+
lineColor: string;
|
|
47
|
+
};
|
|
45
48
|
intervalType: string;
|
|
46
49
|
weekStartsOn: string;
|
|
47
50
|
dailyDataType: DailyDataType;
|
|
@@ -2,5 +2,5 @@ export * from './components';
|
|
|
2
2
|
export * from './hooks';
|
|
3
3
|
export * from './helpers/query-daily-data';
|
|
4
4
|
export * from './helpers/language';
|
|
5
|
-
export
|
|
5
|
+
export { default as getDayKey } from './helpers/get-day-key';
|
|
6
6
|
export * from './helpers/get-interval-start';
|
package/dist/index.d.ts
CHANGED
|
@@ -371,6 +371,7 @@ interface DailyDataChartProps {
|
|
|
371
371
|
valueFormatter?(value: number): string;
|
|
372
372
|
chartType: "Line" | "Bar" | "Area";
|
|
373
373
|
options?: LineChartOptions | BarChartOptions | AreaChartOptions;
|
|
374
|
+
hideIfNoData?: boolean;
|
|
374
375
|
previewDataProvider?: DailyDataProvider;
|
|
375
376
|
}
|
|
376
377
|
interface LineChartOptions {
|
|
@@ -384,7 +385,7 @@ interface AreaChartOptions {
|
|
|
384
385
|
lineColor?: string;
|
|
385
386
|
areaColor?: string;
|
|
386
387
|
}
|
|
387
|
-
declare function DailyDataChart(props: DailyDataChartProps): React.JSX.Element;
|
|
388
|
+
declare function DailyDataChart(props: DailyDataChartProps): false | React.JSX.Element;
|
|
388
389
|
|
|
389
390
|
interface DeviceDataMonthChartProps {
|
|
390
391
|
lines: DeviceDataChartLine[];
|
|
@@ -735,4 +736,6 @@ declare function export_default(callback: Function, delay: number | null): void;
|
|
|
735
736
|
|
|
736
737
|
declare function language(key: string): string;
|
|
737
738
|
|
|
738
|
-
|
|
739
|
+
declare function getDayKey(date: Date): string;
|
|
740
|
+
|
|
741
|
+
export { export_default$17 as Action, export_default$16 as ActivityMeter, export_default$K as AppDownload, AreaChartOptions, BarChartOptions, export_default$m as BlankView, export_default$15 as Button, export_default$14 as Calendar, export_default$13 as Card, export_default$12 as CardTitle, export_default$2 as CelebrationStep, export_default$1 as CelebrationStepContainer, export_default$J as ConnectEhr, export_default$l as ConnectEhrView, export_default$I as ConnectFitbit, export_default$H as ConnectGarmin, DailyDataAvailabilityCheck, DailyDataChart, DailyDataProvider, DailyDataQueryResult, DailyDataType, DateRangeNavigatorContext as DateRangeCoordinator, export_default$11 as DateRangeNavigator, export_default$10 as DayTrackerSymbol, DeviceDataChartLine, export_default$G as DeviceDataMonthChart, export_default$F as DeviceDataMonthCharts, export_default$k as DeviceDataView, export_default$E as ExternalAccountList, export_default$D as ExternalAccountsLoadingIndicator, export_default$C as ExternalAccountsPreview, export_default$j as ExternalAccountsView, export_default$$ as Face, export_default$B as FitbitDevices, export_default$A as FitbitMonthCharts, export_default$i as FitbitView, export_default$z as GarminDevices, export_default$y as GarminMonthCharts, export_default$h as GarminView, export_default$f as HealthAndWellnessView, export_default$x as HealthPreviewSection, export_default$_ as Histogram, export_default$g as HomeView, export_default$w as LabResultsSummary, export_default$Z as Layout, LayoutContext, LineChartOptions, LoadingIndicator, export_default$v as MostRecentNotification, export_default$Y as NavigationBar, export_default$u as NotificationList, export_default$e as NotificationsView, export_default$t as PlatformSpecificContent, export_default$s as ProjectHeader, export_default$r as ProjectSupport, export_default$q as ProviderSearch, export_default$p as RelativeActivityToday, export_default$o as RestingHeartRateCalendar, 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$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$n as SurveyTaskList, export_default$d as SurveyTasksView, export_default$Q as Switch, export_default$P as TextBlock, export_default$O as TrackerItem, export_default$N as UnstyledButton, export_default$M as ViewHeader, export_default$L as WeekCalendar, WeekStartsOn, export_default$4 as YouTubeStep, export_default$3 as YouTubeStepContainer, checkDailyDataAvailability, getDayKey, getMonthStart, getWeekStart, language, queryDailyData, registerDailyDataProvider, export_default as useInterval };
|