@careevolution/mydatahelps-ui 2.9.1-Issue139.4 → 2.10.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.
- package/dist/cjs/index.js +20 -20
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/presentational/CalendarDay/CalendarDay.d.ts +18 -0
- package/dist/cjs/types/components/presentational/CalendarDay/CalendarDay.stories.d.ts +411 -0
- package/dist/cjs/types/components/presentational/CalendarDay/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/DateRangeCoordinator/index.d.ts +1 -1
- package/dist/cjs/types/components/presentational/NavigationBar/NavigationBar.d.ts +4 -2
- package/dist/cjs/types/components/presentational/NavigationBar/NavigationBar.stories.d.ts +83 -0
- package/dist/cjs/types/components/presentational/ProgressBar/ProgressBar.d.ts +24 -0
- package/dist/cjs/types/components/presentational/ProgressBar/ProgressBarStep.d.ts +9 -0
- package/dist/cjs/types/components/presentational/ProgressBar/index.d.ts +2 -0
- package/dist/cjs/types/components/presentational/SingleSurveyTask/SingleSurveyTask.d.ts +0 -2
- package/dist/cjs/types/components/presentational/SingleSurveyTask/SingleSurveyTask.stories.d.ts +0 -5
- package/dist/cjs/types/components/presentational/ValueSelector/ValueSelector.d.ts +23 -0
- package/dist/cjs/types/components/presentational/ValueSelector/ValueSelector.stories.d.ts +119 -0
- package/dist/cjs/types/components/presentational/ValueSelector/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/index.d.ts +6 -2
- package/dist/cjs/types/helpers/daily-data-providers/apple-health-active-energy-burned.d.ts +3 -0
- package/dist/cjs/types/helpers/daily-data-providers/garmin-active-calories.d.ts +3 -0
- package/dist/cjs/types/helpers/daily-data-providers/garmin-resting-calories.d.ts +3 -0
- package/dist/cjs/types/helpers/daily-data-providers/garmin-total-calories.d.ts +3 -0
- package/dist/cjs/types/helpers/daily-data-providers/index.d.ts +4 -0
- package/dist/cjs/types/helpers/daily-data-providers/query-garmin-total-daily-values.d.ts +3 -0
- package/dist/cjs/types/helpers/query-daily-data.d.ts +4 -0
- package/dist/esm/index.js +20 -20
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/presentational/CalendarDay/CalendarDay.d.ts +18 -0
- package/dist/esm/types/components/presentational/CalendarDay/CalendarDay.stories.d.ts +411 -0
- package/dist/esm/types/components/presentational/CalendarDay/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/DateRangeCoordinator/index.d.ts +1 -1
- package/dist/esm/types/components/presentational/NavigationBar/NavigationBar.d.ts +4 -2
- package/dist/esm/types/components/presentational/NavigationBar/NavigationBar.stories.d.ts +83 -0
- package/dist/esm/types/components/presentational/ProgressBar/ProgressBar.d.ts +24 -0
- package/dist/esm/types/components/presentational/ProgressBar/ProgressBarStep.d.ts +9 -0
- package/dist/esm/types/components/presentational/ProgressBar/index.d.ts +2 -0
- package/dist/esm/types/components/presentational/SingleSurveyTask/SingleSurveyTask.d.ts +0 -2
- package/dist/esm/types/components/presentational/SingleSurveyTask/SingleSurveyTask.stories.d.ts +0 -5
- package/dist/esm/types/components/presentational/ValueSelector/ValueSelector.d.ts +23 -0
- package/dist/esm/types/components/presentational/ValueSelector/ValueSelector.stories.d.ts +119 -0
- package/dist/esm/types/components/presentational/ValueSelector/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/index.d.ts +6 -2
- package/dist/esm/types/helpers/daily-data-providers/apple-health-active-energy-burned.d.ts +3 -0
- package/dist/esm/types/helpers/daily-data-providers/garmin-active-calories.d.ts +3 -0
- package/dist/esm/types/helpers/daily-data-providers/garmin-resting-calories.d.ts +3 -0
- package/dist/esm/types/helpers/daily-data-providers/garmin-total-calories.d.ts +3 -0
- package/dist/esm/types/helpers/daily-data-providers/index.d.ts +4 -0
- package/dist/esm/types/helpers/daily-data-providers/query-garmin-total-daily-values.d.ts +3 -0
- package/dist/esm/types/helpers/query-daily-data.d.ts +4 -0
- package/dist/index.d.ts +104 -29
- package/package.json +3 -3
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import ValueSelector, { ValueSelectorProps } from './ValueSelector';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof ValueSelector;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
export declare const Buttons: {
|
|
12
|
+
args: {
|
|
13
|
+
title: string;
|
|
14
|
+
subtitle: string;
|
|
15
|
+
values: string[];
|
|
16
|
+
};
|
|
17
|
+
render: (args: ValueSelectorProps) => React.JSX.Element;
|
|
18
|
+
};
|
|
19
|
+
export declare const ButtonsPreventEmptySelections: {
|
|
20
|
+
args: {
|
|
21
|
+
title: string;
|
|
22
|
+
subtitle: string;
|
|
23
|
+
values: string[];
|
|
24
|
+
preventEmptySelections: boolean;
|
|
25
|
+
};
|
|
26
|
+
render: (args: ValueSelectorProps) => React.JSX.Element;
|
|
27
|
+
};
|
|
28
|
+
export declare const ButtonsMultiSelect: {
|
|
29
|
+
args: {
|
|
30
|
+
title: string;
|
|
31
|
+
subtitle: string;
|
|
32
|
+
values: string[];
|
|
33
|
+
multiSelect: boolean;
|
|
34
|
+
};
|
|
35
|
+
render: (args: ValueSelectorProps) => React.JSX.Element;
|
|
36
|
+
};
|
|
37
|
+
export declare const ButtonsMultiSelectPreventEmptySelections: {
|
|
38
|
+
args: {
|
|
39
|
+
title: string;
|
|
40
|
+
subtitle: string;
|
|
41
|
+
values: string[];
|
|
42
|
+
multiSelect: boolean;
|
|
43
|
+
preventEmptySelections: boolean;
|
|
44
|
+
};
|
|
45
|
+
render: (args: ValueSelectorProps) => React.JSX.Element;
|
|
46
|
+
};
|
|
47
|
+
export declare const ButtonsCustomColors: {
|
|
48
|
+
args: {
|
|
49
|
+
title: string;
|
|
50
|
+
titleColor: string;
|
|
51
|
+
subtitle: string;
|
|
52
|
+
subtitleColor: string;
|
|
53
|
+
values: string[];
|
|
54
|
+
valueBackgroundColor: string;
|
|
55
|
+
valueTextColor: string;
|
|
56
|
+
selectedButtonBackgroundColor: string;
|
|
57
|
+
selectedButtonTextColor: {
|
|
58
|
+
lightMode: string;
|
|
59
|
+
darkMode: string;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
render: (args: ValueSelectorProps) => React.JSX.Element;
|
|
63
|
+
};
|
|
64
|
+
export declare const Checkboxes: {
|
|
65
|
+
args: {
|
|
66
|
+
title: string;
|
|
67
|
+
subtitle: string;
|
|
68
|
+
values: string[];
|
|
69
|
+
variant: string;
|
|
70
|
+
};
|
|
71
|
+
render: (args: ValueSelectorProps) => React.JSX.Element;
|
|
72
|
+
};
|
|
73
|
+
export declare const CheckboxesPreventEmptySelections: {
|
|
74
|
+
args: {
|
|
75
|
+
title: string;
|
|
76
|
+
subtitle: string;
|
|
77
|
+
values: string[];
|
|
78
|
+
variant: string;
|
|
79
|
+
preventEmptySelections: boolean;
|
|
80
|
+
};
|
|
81
|
+
render: (args: ValueSelectorProps) => React.JSX.Element;
|
|
82
|
+
};
|
|
83
|
+
export declare const CheckboxesMultiSelect: {
|
|
84
|
+
args: {
|
|
85
|
+
title: string;
|
|
86
|
+
subtitle: string;
|
|
87
|
+
values: string[];
|
|
88
|
+
variant: string;
|
|
89
|
+
multiSelect: boolean;
|
|
90
|
+
};
|
|
91
|
+
render: (args: ValueSelectorProps) => React.JSX.Element;
|
|
92
|
+
};
|
|
93
|
+
export declare const CheckboxesMultiSelectPreventEmptySelections: {
|
|
94
|
+
args: {
|
|
95
|
+
title: string;
|
|
96
|
+
subtitle: string;
|
|
97
|
+
values: string[];
|
|
98
|
+
variant: string;
|
|
99
|
+
multiSelect: boolean;
|
|
100
|
+
preventEmptySelections: boolean;
|
|
101
|
+
};
|
|
102
|
+
render: (args: ValueSelectorProps) => React.JSX.Element;
|
|
103
|
+
};
|
|
104
|
+
export declare const CheckboxesCustomColors: {
|
|
105
|
+
args: {
|
|
106
|
+
title: string;
|
|
107
|
+
titleColor: string;
|
|
108
|
+
subtitle: string;
|
|
109
|
+
subtitleColor: string;
|
|
110
|
+
values: string[];
|
|
111
|
+
valueBackgroundColor: string;
|
|
112
|
+
valueTextColor: string;
|
|
113
|
+
checkboxColor: string;
|
|
114
|
+
selectedCheckboxColor: string;
|
|
115
|
+
variant: string;
|
|
116
|
+
multiSelect: boolean;
|
|
117
|
+
};
|
|
118
|
+
render: (args: ValueSelectorProps) => React.JSX.Element;
|
|
119
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ValueSelector';
|
|
@@ -2,9 +2,10 @@ export { default as Action } from "./Action";
|
|
|
2
2
|
export { default as ActivityMeter } from "./ActivityMeter";
|
|
3
3
|
export { default as Button } from "./Button";
|
|
4
4
|
export { default as Calendar } from "./Calendar";
|
|
5
|
+
export { default as CalendarDay, CalendarDayStateConfiguration } from "./CalendarDay";
|
|
5
6
|
export { default as Card } from "./Card";
|
|
6
7
|
export { default as CardTitle } from "./CardTitle";
|
|
7
|
-
export { default as DateRangeCoordinator } from "./DateRangeCoordinator";
|
|
8
|
+
export { default as DateRangeCoordinator, DateRangeContext } from "./DateRangeCoordinator";
|
|
8
9
|
export { default as DateRangeNavigator } from "./DateRangeNavigator";
|
|
9
10
|
export { default as DayTrackerSymbol } from "./DayTrackerSymbol";
|
|
10
11
|
export { default as Face } from "./Face";
|
|
@@ -13,6 +14,9 @@ export { default as Layout, LayoutContext } from "./Layout";
|
|
|
13
14
|
export { default as LoadingIndicator } from "./LoadingIndicator";
|
|
14
15
|
export { default as NavigationBar } from "./NavigationBar";
|
|
15
16
|
export { default as NotesInput } from "./NotesInput";
|
|
17
|
+
export { default as ProgressBar } from "./ProgressBar";
|
|
18
|
+
export { default as ProgressBarStep } from "./ProgressBar/ProgressBarStep";
|
|
19
|
+
export { default as ProgressRing } from "./ProgressRing";
|
|
16
20
|
export { default as Section } from "./Section";
|
|
17
21
|
export { default as SegmentedControl } from "./SegmentedControl";
|
|
18
22
|
export { default as ShinyOverlay } from "./ShinyOverlay";
|
|
@@ -26,6 +30,6 @@ export { default as TextBlock } from "./TextBlock";
|
|
|
26
30
|
export { default as Title } from "./Title";
|
|
27
31
|
export { default as TrackerItem } from "./TrackerItem";
|
|
28
32
|
export { default as UnstyledButton } from "./UnstyledButton";
|
|
33
|
+
export { default as ValueSelector } from "./ValueSelector";
|
|
29
34
|
export { default as ViewHeader } from "./ViewHeader";
|
|
30
35
|
export { default as WeekCalendar } from "./WeekCalendar";
|
|
31
|
-
export { default as ProgressRing } from "./ProgressRing";
|
|
@@ -8,6 +8,7 @@ export { inBedTime as appleHealthInBedDataProvider } from "./apple-health-sleep"
|
|
|
8
8
|
export { default as appleHealthStandTimeDataProvider } from "./apple-health-stand-time";
|
|
9
9
|
export { default as appleHealthStepsDataProvider } from "./apple-health-steps";
|
|
10
10
|
export { default as appleHealthWalkingHeartRateAverageDataProvider } from "./apple-health-walking-heart-rate-average";
|
|
11
|
+
export { default as appleHealthActiveEnergyBurned } from "./apple-health-active-energy-burned";
|
|
11
12
|
export { sedentaryMinutes as fitbitSedentaryMinutesDataProvider } from "./fitbit-activity-minutes";
|
|
12
13
|
export { totalActiveMinutes as fitbitTotalActiveMinutesDataProvider } from "./fitbit-activity-minutes";
|
|
13
14
|
export { lightlyActiveMinutes as fitbitLightlyActiveMinutesDataProvider } from "./fitbit-activity-minutes";
|
|
@@ -35,6 +36,9 @@ export { default as garminStepsDataProvider } from "./garmin-steps";
|
|
|
35
36
|
export { default as garminDistanceDataProvider } from "./garmin-distance";
|
|
36
37
|
export { default as garminFloorsDataProvider } from "./garmin-floors";
|
|
37
38
|
export { activeMinutes as garminActiveMinutesDataProvider } from "./garmin-activity";
|
|
39
|
+
export { activeCalories as garminActiveCaloriesDataProvider } from "./garmin-active-calories";
|
|
40
|
+
export { restingCalories as garminRestingCaloriesDataProvider } from "./garmin-resting-calories";
|
|
41
|
+
export { totalCalories as garminTotalCaloriesDataProvider } from "./garmin-total-calories";
|
|
38
42
|
export { restingHeartRate as garminRestingHeartRateDataProvider } from "./garmin-heart-rate";
|
|
39
43
|
export { minHeartRate as garminMinHeartRateDataProvider } from "./garmin-heart-rate";
|
|
40
44
|
export { maxHeartRate as garminMaxHeartRateDataProvider } from "./garmin-heart-rate";
|
|
@@ -18,6 +18,7 @@ export declare enum DailyDataType {
|
|
|
18
18
|
AppleHealthStandMinutes = "AppleHealthStandMinutes",
|
|
19
19
|
AppleHealthSteps = "AppleHealthSteps",
|
|
20
20
|
AppleHealthWalkingHeartRateAverage = "AppleHealthWalkingHeartRateAverage",
|
|
21
|
+
AppleHealthActiveEnergyBurned = "AppleHealthActiveEnergyBurned",
|
|
21
22
|
FitbitSedentaryMinutes = "FitbitSedentaryMinutes",
|
|
22
23
|
FitbitActiveMinutes = "FitbitActiveMinutes",
|
|
23
24
|
FitbitLightlyActiveMinutes = "FitbitLightlyActiveMinutes",
|
|
@@ -42,6 +43,9 @@ export declare enum DailyDataType {
|
|
|
42
43
|
GarminDistance = "GarminDistance",
|
|
43
44
|
GarminFloors = "GarminFloors",
|
|
44
45
|
GarminActiveMinutes = "GarminActiveMinutes",
|
|
46
|
+
GarminActiveCalories = "GarminActiveCalories",
|
|
47
|
+
GarminRestingCalories = "GarminRestingCalories",
|
|
48
|
+
GarminTotalCalories = "GarminTotalCalories",
|
|
45
49
|
GarminRestingHeartRate = "GarminRestingHeartRate",
|
|
46
50
|
GarminMinHeartRate = "GarminMinHeartRate",
|
|
47
51
|
GarminMaxHeartRate = "GarminMaxHeartRate",
|