@careevolution/mydatahelps-ui 1.7.1 → 1.8.1
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 +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/index.d.ts +1 -0
- package/dist/cjs/types/components/presentational/Calendar/Calendar.d.ts +1 -0
- package/dist/cjs/types/components/step/StepDetailText/StepDetailText.d.ts +4 -0
- package/dist/cjs/types/components/step/StepDetailText/StepDetailText.stories.d.ts +7 -0
- package/dist/cjs/types/components/step/StepDetailText/index.d.ts +1 -0
- package/dist/cjs/types/components/step/StepLayout/StepLayout.d.ts +6 -0
- package/dist/cjs/types/components/step/StepLayout/index.d.ts +1 -0
- package/dist/cjs/types/components/step/StepMarkdown/StepMarkdown.d.ts +6 -0
- package/dist/cjs/types/components/step/StepMarkdown/index.d.ts +1 -0
- package/dist/cjs/types/components/step/StepNextButton/StepNextButton.d.ts +11 -0
- package/dist/cjs/types/components/step/StepNextButton/StepNextButton.stories.d.ts +8 -0
- package/dist/cjs/types/components/step/StepNextButton/index.d.ts +1 -0
- package/dist/cjs/types/components/step/StepText/StepText.d.ts +4 -0
- package/dist/cjs/types/components/step/StepText/StepText.stories.d.ts +7 -0
- package/dist/cjs/types/components/step/StepText/index.d.ts +1 -0
- package/dist/cjs/types/components/step/StepTitle/StepTitle.d.ts +4 -0
- package/dist/cjs/types/components/step/StepTitle/StepTitle.stories.d.ts +7 -0
- package/dist/cjs/types/components/step/StepTitle/index.d.ts +1 -0
- package/dist/cjs/types/components/step/YouTubeStep/YouTubeStep.d.ts +13 -0
- package/dist/cjs/types/components/step/YouTubeStep/YouTubeStep.stories.d.ts +7 -0
- package/dist/cjs/types/components/step/YouTubeStep/index.d.ts +1 -0
- package/dist/cjs/types/components/step/YouTubeStepContainer/YouTubeStepContainer.d.ts +2 -0
- package/dist/cjs/types/components/step/YouTubeStepContainer/YouTubeStepContainer.stories.d.ts +5 -0
- package/dist/cjs/types/components/step/YouTubeStepContainer/index.d.ts +1 -0
- package/dist/cjs/types/components/step/index.d.ts +8 -0
- package/dist/cjs/types/components/step/shared.d.ts +7 -0
- package/dist/cjs/types/components/step/step-helpers.d.ts +8 -0
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/index.d.ts +1 -0
- package/dist/esm/types/components/presentational/Calendar/Calendar.d.ts +1 -0
- package/dist/esm/types/components/step/StepDetailText/StepDetailText.d.ts +4 -0
- package/dist/esm/types/components/step/StepDetailText/StepDetailText.stories.d.ts +7 -0
- package/dist/esm/types/components/step/StepDetailText/index.d.ts +1 -0
- package/dist/esm/types/components/step/StepLayout/StepLayout.d.ts +6 -0
- package/dist/esm/types/components/step/StepLayout/index.d.ts +1 -0
- package/dist/esm/types/components/step/StepMarkdown/StepMarkdown.d.ts +6 -0
- package/dist/esm/types/components/step/StepMarkdown/index.d.ts +1 -0
- package/dist/esm/types/components/step/StepNextButton/StepNextButton.d.ts +11 -0
- package/dist/esm/types/components/step/StepNextButton/StepNextButton.stories.d.ts +8 -0
- package/dist/esm/types/components/step/StepNextButton/index.d.ts +1 -0
- package/dist/esm/types/components/step/StepText/StepText.d.ts +4 -0
- package/dist/esm/types/components/step/StepText/StepText.stories.d.ts +7 -0
- package/dist/esm/types/components/step/StepText/index.d.ts +1 -0
- package/dist/esm/types/components/step/StepTitle/StepTitle.d.ts +4 -0
- package/dist/esm/types/components/step/StepTitle/StepTitle.stories.d.ts +7 -0
- package/dist/esm/types/components/step/StepTitle/index.d.ts +1 -0
- package/dist/esm/types/components/step/YouTubeStep/YouTubeStep.d.ts +13 -0
- package/dist/esm/types/components/step/YouTubeStep/YouTubeStep.stories.d.ts +7 -0
- package/dist/esm/types/components/step/YouTubeStep/index.d.ts +1 -0
- package/dist/esm/types/components/step/YouTubeStepContainer/YouTubeStepContainer.d.ts +2 -0
- package/dist/esm/types/components/step/YouTubeStepContainer/YouTubeStepContainer.stories.d.ts +5 -0
- package/dist/esm/types/components/step/YouTubeStepContainer/index.d.ts +1 -0
- package/dist/esm/types/components/step/index.d.ts +8 -0
- package/dist/esm/types/components/step/shared.d.ts +7 -0
- package/dist/esm/types/components/step/step-helpers.d.ts +8 -0
- package/dist/index.d.ts +96 -46
- package/package.json +7 -3
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ComponentStory, ComponentMeta } from "@storybook/react";
|
|
2
|
+
import StepDetailText from "./StepDetailText";
|
|
3
|
+
declare const _default: ComponentMeta<typeof StepDetailText>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const StepDetailTextDefault: ComponentStory<typeof StepDetailText>;
|
|
6
|
+
export declare const StepDetailTextMarkdown: ComponentStory<typeof StepDetailText>;
|
|
7
|
+
export declare const StepDetailTextCustomStyle: ComponentStory<typeof StepDetailText>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./StepDetailText";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./StepLayout";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./StepMarkdown";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { StepElementProps } from '../shared';
|
|
3
|
+
import './StepNextButton.css';
|
|
4
|
+
export interface StepNextButtonProps extends StepElementProps {
|
|
5
|
+
backgroundColor: string;
|
|
6
|
+
letterSpacing: string;
|
|
7
|
+
textTransform: string;
|
|
8
|
+
gradient: any;
|
|
9
|
+
onClick(): void;
|
|
10
|
+
}
|
|
11
|
+
export default function (props: StepNextButtonProps): JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ComponentStory, ComponentMeta } from "@storybook/react";
|
|
2
|
+
import StepNextButton from "./StepNextButton";
|
|
3
|
+
declare const _default: ComponentMeta<typeof StepNextButton>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const StepNextButtonDefault: ComponentStory<typeof StepNextButton>;
|
|
6
|
+
export declare const StepNextButtonCustomText: ComponentStory<typeof StepNextButton>;
|
|
7
|
+
export declare const StepNextButtonCustomStyle: ComponentStory<typeof StepNextButton>;
|
|
8
|
+
export declare const StepNextButtonGradient: ComponentStory<typeof StepNextButton>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./StepNextButton";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ComponentStory, ComponentMeta } from "@storybook/react";
|
|
2
|
+
import StepText from "./StepText";
|
|
3
|
+
declare const _default: ComponentMeta<typeof StepText>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const StepTextDefault: ComponentStory<typeof StepText>;
|
|
6
|
+
export declare const StepTextMarkdown: ComponentStory<typeof StepText>;
|
|
7
|
+
export declare const StepTextCustomStyle: ComponentStory<typeof StepText>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./StepText";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ComponentStory, ComponentMeta } from "@storybook/react";
|
|
2
|
+
import StepTitle from "./StepTitle";
|
|
3
|
+
declare const _default: ComponentMeta<typeof StepTitle>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const StepTitleDefault: ComponentStory<typeof StepTitle>;
|
|
6
|
+
export declare const StepTitleMarkdownItalics: ComponentStory<typeof StepTitle>;
|
|
7
|
+
export declare const StepTitleCustomStyle: ComponentStory<typeof StepTitle>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./StepTitle";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface YouTubeStepProps {
|
|
3
|
+
title?: string;
|
|
4
|
+
text?: string;
|
|
5
|
+
transcript?: string;
|
|
6
|
+
videoId: string;
|
|
7
|
+
nextButtonText?: string;
|
|
8
|
+
height?: string;
|
|
9
|
+
styles: {
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export default function (props: YouTubeStepProps): JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ComponentStory, ComponentMeta } from "@storybook/react";
|
|
2
|
+
import YouTubeStep from "./YouTubeStep";
|
|
3
|
+
declare const _default: ComponentMeta<typeof YouTubeStep>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const YouTubeStepDefault: ComponentStory<typeof YouTubeStep>;
|
|
6
|
+
export declare const YouTubeStepCustomStyling: ComponentStory<typeof YouTubeStep>;
|
|
7
|
+
export declare const YouTubeStepEmpty: ComponentStory<typeof YouTubeStep>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./YouTubeStep";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ComponentStory, ComponentMeta } from "@storybook/react";
|
|
2
|
+
import YouTubeStepContainer from "./YouTubeStepContainer";
|
|
3
|
+
declare const _default: ComponentMeta<typeof YouTubeStepContainer>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const YouTubeStepContainerDefault: ComponentStory<typeof YouTubeStepContainer>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./YouTubeStepContainer";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { default as StepMarkdown } from "./StepMarkdown";
|
|
2
|
+
export { default as StepLayout } from "./StepLayout";
|
|
3
|
+
export { default as StepTitle } from "./StepTitle";
|
|
4
|
+
export { default as StepText } from "./StepText";
|
|
5
|
+
export { default as StepDetailText } from "./StepDetailText";
|
|
6
|
+
export { default as StepNextButton } from "./StepNextButton";
|
|
7
|
+
export { default as YouTubeStep } from "./YouTubeStep";
|
|
8
|
+
export { default as YouTubeStepContainer } from "./YouTubeStepContainer";
|
package/dist/index.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ interface ActionProps {
|
|
|
12
12
|
children?: React.ReactNode;
|
|
13
13
|
className?: string;
|
|
14
14
|
}
|
|
15
|
-
declare function export_default$
|
|
15
|
+
declare function export_default$R(props: ActionProps): JSX.Element;
|
|
16
16
|
|
|
17
17
|
interface ActivityMeterProps {
|
|
18
18
|
label: string;
|
|
@@ -23,7 +23,7 @@ interface ActivityMeterProps {
|
|
|
23
23
|
color: string;
|
|
24
24
|
message?: string;
|
|
25
25
|
}
|
|
26
|
-
declare function export_default$
|
|
26
|
+
declare function export_default$Q(props: ActivityMeterProps): JSX.Element;
|
|
27
27
|
|
|
28
28
|
interface ButtonProps {
|
|
29
29
|
children?: React.ReactNode;
|
|
@@ -34,41 +34,42 @@ interface ButtonProps {
|
|
|
34
34
|
disabled?: boolean;
|
|
35
35
|
onClick: Function;
|
|
36
36
|
}
|
|
37
|
-
declare function export_default$
|
|
37
|
+
declare function export_default$P(props: ButtonProps): JSX.Element;
|
|
38
38
|
|
|
39
39
|
interface CalendarProps {
|
|
40
40
|
month: number;
|
|
41
41
|
year: number;
|
|
42
42
|
dayRenderer(year: number, month: number, day?: number): JSX.Element | null;
|
|
43
|
+
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
43
44
|
}
|
|
44
|
-
declare function export_default$
|
|
45
|
+
declare function export_default$O(props: CalendarProps): JSX.Element;
|
|
45
46
|
|
|
46
47
|
interface CardProps {
|
|
47
48
|
className?: string;
|
|
48
49
|
children?: React.ReactNode;
|
|
49
50
|
allowOverflow?: boolean;
|
|
50
51
|
}
|
|
51
|
-
declare function export_default$
|
|
52
|
+
declare function export_default$N(props: CardProps): JSX.Element | null;
|
|
52
53
|
|
|
53
54
|
interface CardTitleProps {
|
|
54
55
|
title: string;
|
|
55
56
|
onDetailClick?: Function;
|
|
56
57
|
detailLinkText?: string;
|
|
57
58
|
}
|
|
58
|
-
declare function export_default$
|
|
59
|
+
declare function export_default$M(props: CardTitleProps): JSX.Element;
|
|
59
60
|
|
|
60
61
|
interface DateRangeNavigatorProps {
|
|
61
62
|
intervalType: "Week" | "Month";
|
|
62
63
|
intervalStart: Date;
|
|
63
64
|
onIntervalChange(newIntervalStart: Date, newIntervalEnd: Date): void;
|
|
64
65
|
}
|
|
65
|
-
declare function export_default$
|
|
66
|
+
declare function export_default$L(props: DateRangeNavigatorProps): JSX.Element;
|
|
66
67
|
|
|
67
68
|
interface DayTrackerSymbolProps {
|
|
68
69
|
primaryColors: string[];
|
|
69
70
|
secondaryColors: string[];
|
|
70
71
|
}
|
|
71
|
-
declare function export_default$
|
|
72
|
+
declare function export_default$K(props: DayTrackerSymbolProps): JSX.Element;
|
|
72
73
|
|
|
73
74
|
interface FaceProps {
|
|
74
75
|
faceValue?: number;
|
|
@@ -76,7 +77,7 @@ interface FaceProps {
|
|
|
76
77
|
onClick?: MouseEventHandler;
|
|
77
78
|
className?: string;
|
|
78
79
|
}
|
|
79
|
-
declare function export_default$
|
|
80
|
+
declare function export_default$J(props: FaceProps): JSX.Element;
|
|
80
81
|
|
|
81
82
|
interface HistogramProps {
|
|
82
83
|
entries: {
|
|
@@ -85,7 +86,7 @@ interface HistogramProps {
|
|
|
85
86
|
value: number;
|
|
86
87
|
}[];
|
|
87
88
|
}
|
|
88
|
-
declare function export_default$
|
|
89
|
+
declare function export_default$I(props: HistogramProps): JSX.Element;
|
|
89
90
|
|
|
90
91
|
interface LayoutProps {
|
|
91
92
|
children?: React.ReactNode;
|
|
@@ -93,7 +94,7 @@ interface LayoutProps {
|
|
|
93
94
|
bodyBackgroundColor?: string;
|
|
94
95
|
statusBarStyle?: StatusBarStyle;
|
|
95
96
|
}
|
|
96
|
-
declare function export_default$
|
|
97
|
+
declare function export_default$H(props: LayoutProps): JSX.Element;
|
|
97
98
|
|
|
98
99
|
declare function LoadingIndicator(): JSX.Element;
|
|
99
100
|
|
|
@@ -105,12 +106,12 @@ interface NavigationBarProps {
|
|
|
105
106
|
closeButtonText?: string;
|
|
106
107
|
backButtonText?: string;
|
|
107
108
|
}
|
|
108
|
-
declare function export_default$
|
|
109
|
+
declare function export_default$G(props: NavigationBarProps): JSX.Element;
|
|
109
110
|
|
|
110
111
|
interface SectionProps {
|
|
111
112
|
children?: React.ReactNode;
|
|
112
113
|
}
|
|
113
|
-
declare function export_default$
|
|
114
|
+
declare function export_default$F(props: SectionProps): JSX.Element | null;
|
|
114
115
|
|
|
115
116
|
interface SegmentedControlProps {
|
|
116
117
|
segments: {
|
|
@@ -120,21 +121,21 @@ interface SegmentedControlProps {
|
|
|
120
121
|
selectedSegment: string;
|
|
121
122
|
onSegmentSelected: Function;
|
|
122
123
|
}
|
|
123
|
-
declare function export_default$
|
|
124
|
+
declare function export_default$E(props: SegmentedControlProps): JSX.Element;
|
|
124
125
|
|
|
125
|
-
declare function export_default$
|
|
126
|
+
declare function export_default$D(): JSX.Element;
|
|
126
127
|
|
|
127
128
|
interface SingleExternalAccountProps {
|
|
128
129
|
externalAccount: ExternalAccount;
|
|
129
130
|
onAccountRemoved: (account: ExternalAccount) => void;
|
|
130
131
|
onReconnectAccount: (account: ExternalAccount) => void;
|
|
131
132
|
}
|
|
132
|
-
declare function export_default$
|
|
133
|
+
declare function export_default$C(props: SingleExternalAccountProps): JSX.Element;
|
|
133
134
|
|
|
134
135
|
interface SingleNotificationProps {
|
|
135
136
|
notification: Notification;
|
|
136
137
|
}
|
|
137
|
-
declare function export_default$
|
|
138
|
+
declare function export_default$B(props: SingleNotificationProps): JSX.Element;
|
|
138
139
|
|
|
139
140
|
interface SingleSurveyTaskProps {
|
|
140
141
|
task: SurveyTask;
|
|
@@ -142,7 +143,7 @@ interface SingleSurveyTaskProps {
|
|
|
142
143
|
hideDueDate?: boolean;
|
|
143
144
|
disableClick?: boolean;
|
|
144
145
|
}
|
|
145
|
-
declare function export_default$
|
|
146
|
+
declare function export_default$A(props: SingleSurveyTaskProps): JSX.Element | null;
|
|
146
147
|
|
|
147
148
|
interface SparkBarChartProps {
|
|
148
149
|
averageFillPercent: number;
|
|
@@ -152,14 +153,14 @@ interface SparkBarChartBar {
|
|
|
152
153
|
color: string;
|
|
153
154
|
barFillPercent: number;
|
|
154
155
|
}
|
|
155
|
-
declare function export_default$
|
|
156
|
+
declare function export_default$z(props: SparkBarChartProps): JSX.Element;
|
|
156
157
|
|
|
157
158
|
interface SwitchProps {
|
|
158
159
|
isOn: Boolean;
|
|
159
160
|
onBackgroundColor?: string;
|
|
160
161
|
onValueChanged(value: boolean): void;
|
|
161
162
|
}
|
|
162
|
-
declare function export_default$
|
|
163
|
+
declare function export_default$y(props: SwitchProps): JSX.Element;
|
|
163
164
|
|
|
164
165
|
interface StatusBarBackgroundProps {
|
|
165
166
|
color?: string;
|
|
@@ -169,7 +170,7 @@ declare function StatusBarBackgroundProps(props: StatusBarBackgroundProps): JSX.
|
|
|
169
170
|
interface TextBlockProps {
|
|
170
171
|
children?: React.ReactNode;
|
|
171
172
|
}
|
|
172
|
-
declare function export_default$
|
|
173
|
+
declare function export_default$x(props: TextBlockProps): JSX.Element | null;
|
|
173
174
|
|
|
174
175
|
interface TrackerItemProps {
|
|
175
176
|
selected: boolean;
|
|
@@ -179,7 +180,7 @@ interface TrackerItemProps {
|
|
|
179
180
|
badge?: string;
|
|
180
181
|
onClick?: Function;
|
|
181
182
|
}
|
|
182
|
-
declare function export_default$
|
|
183
|
+
declare function export_default$w(props: TrackerItemProps): JSX.Element;
|
|
183
184
|
|
|
184
185
|
interface WeekCalendarProps {
|
|
185
186
|
selectedDate?: Date;
|
|
@@ -190,7 +191,7 @@ interface WeekCalendarProps {
|
|
|
190
191
|
onStartDateChange?(startDate: Date): void;
|
|
191
192
|
dayRenderer(year: number, month: number, day: number, selectedWeek: boolean): JSX.Element | null;
|
|
192
193
|
}
|
|
193
|
-
declare function export_default$
|
|
194
|
+
declare function export_default$v(props: WeekCalendarProps): JSX.Element;
|
|
194
195
|
|
|
195
196
|
interface ConnectEhrProps {
|
|
196
197
|
applicationUrl: ConnectEhrApplicationUrl;
|
|
@@ -199,7 +200,7 @@ interface ConnectEhrProps {
|
|
|
199
200
|
}
|
|
200
201
|
declare type ConnectEhrApplicationUrl = "preview" | string;
|
|
201
202
|
declare type ConnectEhrPreviewState = "notEnabled" | "enabled" | "enabledConnected" | "enabledNeedsAttention";
|
|
202
|
-
declare function export_default$
|
|
203
|
+
declare function export_default$u(props: ConnectEhrProps): JSX.Element | null;
|
|
203
204
|
|
|
204
205
|
interface ConnectFitbitProps {
|
|
205
206
|
title?: string;
|
|
@@ -208,7 +209,7 @@ interface ConnectFitbitProps {
|
|
|
208
209
|
disabledBehavior?: 'hide' | 'displayError';
|
|
209
210
|
}
|
|
210
211
|
declare type ConnectFitbitPreviewState = ExternalAccountStatus | "notConnected" | "notEnabled";
|
|
211
|
-
declare function export_default$
|
|
212
|
+
declare function export_default$t(props: ConnectFitbitProps): JSX.Element | null;
|
|
212
213
|
|
|
213
214
|
interface DeviceDataMonthChartProps {
|
|
214
215
|
lines: DeviceDataChartLine[];
|
|
@@ -226,13 +227,13 @@ interface DeviceDataChartLine {
|
|
|
226
227
|
showAverage?: boolean;
|
|
227
228
|
}
|
|
228
229
|
declare type DeviceDataMonthChartPreviewState = "WithData" | "NoData" | "Loading";
|
|
229
|
-
declare function export_default$
|
|
230
|
+
declare function export_default$s(props: DeviceDataMonthChartProps): JSX.Element | null;
|
|
230
231
|
|
|
231
232
|
interface DeviceDataMonthChartsProps {
|
|
232
233
|
previewState?: DeviceDataMonthChartsPreviewState;
|
|
233
234
|
}
|
|
234
235
|
declare type DeviceDataMonthChartsPreviewState = "Default" | "NoData";
|
|
235
|
-
declare function export_default$
|
|
236
|
+
declare function export_default$r(props: DeviceDataMonthChartsProps): JSX.Element;
|
|
236
237
|
|
|
237
238
|
interface ExternalAccountListProps {
|
|
238
239
|
externalAccountProviderCategories?: string[];
|
|
@@ -240,7 +241,7 @@ interface ExternalAccountListProps {
|
|
|
240
241
|
onExternalAccountsLoaded?: (accounts: ExternalAccount[]) => void;
|
|
241
242
|
}
|
|
242
243
|
declare type NotificationListPreviewState$1 = "Default";
|
|
243
|
-
declare function export_default$
|
|
244
|
+
declare function export_default$q(props: ExternalAccountListProps): JSX.Element;
|
|
244
245
|
|
|
245
246
|
interface ExternalAccountsPreviewProps {
|
|
246
247
|
excludeProviders?: boolean;
|
|
@@ -251,19 +252,19 @@ interface ExternalAccountsPreviewProps {
|
|
|
251
252
|
}
|
|
252
253
|
declare type ExternalAccountsApplicationUrl = "preview" | string;
|
|
253
254
|
declare type ExternalAccountsPreviewPreviewState = "Default";
|
|
254
|
-
declare function export_default$
|
|
255
|
+
declare function export_default$p(props: ExternalAccountsPreviewProps): JSX.Element | null;
|
|
255
256
|
|
|
256
257
|
interface FitbitDevicesProps {
|
|
257
258
|
previewState?: FitbitDevicesPreviewState;
|
|
258
259
|
}
|
|
259
260
|
declare type FitbitDevicesPreviewState = "notEnabled" | "notConnected" | "connected";
|
|
260
|
-
declare function export_default$
|
|
261
|
+
declare function export_default$o(props: FitbitDevicesProps): JSX.Element | null;
|
|
261
262
|
|
|
262
263
|
interface FitbitMonthChartsProps {
|
|
263
264
|
previewState?: FitbitMonthChartsPreviewState;
|
|
264
265
|
}
|
|
265
266
|
declare type FitbitMonthChartsPreviewState = "notEnabled" | "notConnected" | "connected";
|
|
266
|
-
declare function export_default$
|
|
267
|
+
declare function export_default$n(props: FitbitMonthChartsProps): JSX.Element;
|
|
267
268
|
|
|
268
269
|
interface MostRecentNotificationProps {
|
|
269
270
|
notificationType?: NotificationType;
|
|
@@ -272,39 +273,39 @@ interface MostRecentNotificationProps {
|
|
|
272
273
|
previewState?: MostRecentNotificationPreviewState;
|
|
273
274
|
}
|
|
274
275
|
declare type MostRecentNotificationPreviewState = "Default";
|
|
275
|
-
declare function export_default$
|
|
276
|
+
declare function export_default$m(props: MostRecentNotificationProps): JSX.Element | null;
|
|
276
277
|
|
|
277
278
|
interface NotificationListProps {
|
|
278
279
|
notificationType?: NotificationType;
|
|
279
280
|
previewState?: NotificationListPreviewState;
|
|
280
281
|
}
|
|
281
282
|
declare type NotificationListPreviewState = "Default" | "NoData";
|
|
282
|
-
declare function export_default$
|
|
283
|
+
declare function export_default$l(props: NotificationListProps): JSX.Element;
|
|
283
284
|
|
|
284
285
|
interface PlatformSpecificContentProps {
|
|
285
286
|
platforms: string[];
|
|
286
287
|
children?: React.ReactNode;
|
|
287
288
|
}
|
|
288
|
-
declare function export_default$
|
|
289
|
+
declare function export_default$k(props: PlatformSpecificContentProps): JSX.Element | null;
|
|
289
290
|
|
|
290
291
|
interface ProjectHeaderProps {
|
|
291
292
|
previewState?: ProjectHeaderPropsPreviewState;
|
|
292
293
|
}
|
|
293
294
|
declare type ProjectHeaderPropsPreviewState = "Default";
|
|
294
|
-
declare function export_default$
|
|
295
|
+
declare function export_default$j(props: ProjectHeaderProps): JSX.Element;
|
|
295
296
|
|
|
296
297
|
interface ProjectSupportProps {
|
|
297
298
|
previewState?: ProjectSupportPropsPreviewState;
|
|
298
299
|
}
|
|
299
300
|
declare type ProjectSupportPropsPreviewState = "Default";
|
|
300
|
-
declare function export_default$
|
|
301
|
+
declare function export_default$i(props: ProjectSupportProps): JSX.Element | null;
|
|
301
302
|
|
|
302
303
|
interface ProviderSearchProps {
|
|
303
304
|
previewState?: ProviderSearchPreviewState;
|
|
304
305
|
providerCategories?: string[];
|
|
305
306
|
}
|
|
306
307
|
declare type ProviderSearchPreviewState = "Default";
|
|
307
|
-
declare function export_default$
|
|
308
|
+
declare function export_default$h(props: ProviderSearchProps): JSX.Element;
|
|
308
309
|
|
|
309
310
|
interface SurveyTaskListProps {
|
|
310
311
|
status: SurveyTaskStatus;
|
|
@@ -315,7 +316,7 @@ interface SurveyTaskListProps {
|
|
|
315
316
|
previewState?: SurveyTaskListListPreviewState;
|
|
316
317
|
}
|
|
317
318
|
declare type SurveyTaskListListPreviewState = "IncompleteTasks" | "CompleteTasks";
|
|
318
|
-
declare function export_default$
|
|
319
|
+
declare function export_default$g(props: SurveyTaskListProps): JSX.Element | null;
|
|
319
320
|
|
|
320
321
|
interface ConnectEhrViewProps {
|
|
321
322
|
externalAccountsApplicationUrl: ExternalAccountsApplicationUrl;
|
|
@@ -325,12 +326,12 @@ interface ConnectEhrViewProps {
|
|
|
325
326
|
preview?: boolean;
|
|
326
327
|
}
|
|
327
328
|
declare type ViewPresentationType$3 = "Modal" | "Push";
|
|
328
|
-
declare function export_default$
|
|
329
|
+
declare function export_default$f(props: ConnectEhrViewProps): JSX.Element;
|
|
329
330
|
|
|
330
331
|
interface DeviceDataViewProps {
|
|
331
332
|
preview?: boolean;
|
|
332
333
|
}
|
|
333
|
-
declare function export_default$
|
|
334
|
+
declare function export_default$e(props: DeviceDataViewProps): JSX.Element;
|
|
334
335
|
|
|
335
336
|
interface ExternalAccountsViewProps {
|
|
336
337
|
excludeProviders?: boolean;
|
|
@@ -340,14 +341,14 @@ interface ExternalAccountsViewProps {
|
|
|
340
341
|
preview?: boolean;
|
|
341
342
|
}
|
|
342
343
|
declare type ViewPresentationType$2 = "Modal" | "Push";
|
|
343
|
-
declare function export_default$
|
|
344
|
+
declare function export_default$d(props: ExternalAccountsViewProps): JSX.Element;
|
|
344
345
|
|
|
345
346
|
interface FitbitViewProps {
|
|
346
347
|
connectPreview?: ConnectFitbitPreviewState;
|
|
347
348
|
devicesPreview?: FitbitDevicesPreviewState;
|
|
348
349
|
chartsPreview?: FitbitMonthChartsPreviewState;
|
|
349
350
|
}
|
|
350
|
-
declare function export_default$
|
|
351
|
+
declare function export_default$c(props: FitbitViewProps): JSX.Element;
|
|
351
352
|
|
|
352
353
|
interface HomeViewProps {
|
|
353
354
|
/**
|
|
@@ -365,7 +366,7 @@ interface HomeViewProps {
|
|
|
365
366
|
tasksViewUrl?: string;
|
|
366
367
|
preview?: boolean;
|
|
367
368
|
}
|
|
368
|
-
declare function export_default$
|
|
369
|
+
declare function export_default$b(props: HomeViewProps): JSX.Element;
|
|
369
370
|
|
|
370
371
|
interface NotificationsViewProps {
|
|
371
372
|
notificationType?: NotificationType;
|
|
@@ -373,7 +374,7 @@ interface NotificationsViewProps {
|
|
|
373
374
|
preview?: boolean;
|
|
374
375
|
}
|
|
375
376
|
declare type ViewPresentationType$1 = "Modal" | "Push";
|
|
376
|
-
declare function export_default$
|
|
377
|
+
declare function export_default$a(props: NotificationsViewProps): JSX.Element;
|
|
377
378
|
|
|
378
379
|
interface SurveyTasksViewProps {
|
|
379
380
|
hideCompleteTasks?: boolean;
|
|
@@ -383,7 +384,56 @@ interface SurveyTasksViewProps {
|
|
|
383
384
|
preview?: boolean;
|
|
384
385
|
}
|
|
385
386
|
declare type ViewPresentationType = "Modal" | "Push";
|
|
386
|
-
declare function export_default$
|
|
387
|
+
declare function export_default$9(props: SurveyTasksViewProps): JSX.Element;
|
|
388
|
+
|
|
389
|
+
interface StepMarkdownProps {
|
|
390
|
+
text: string;
|
|
391
|
+
inline?: boolean;
|
|
392
|
+
}
|
|
393
|
+
declare function export_default$8(props: StepMarkdownProps): JSX.Element;
|
|
394
|
+
|
|
395
|
+
interface StepLayoutProps {
|
|
396
|
+
children?: React.ReactNode;
|
|
397
|
+
}
|
|
398
|
+
declare function export_default$7(props: StepLayoutProps): JSX.Element;
|
|
399
|
+
|
|
400
|
+
interface StepElementProps {
|
|
401
|
+
text?: string;
|
|
402
|
+
textAlign?: any;
|
|
403
|
+
color?: string;
|
|
404
|
+
fontSize?: string;
|
|
405
|
+
fontWeight?: string;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
declare function export_default$6(props: StepElementProps): JSX.Element | null;
|
|
409
|
+
|
|
410
|
+
declare function export_default$5(props: StepElementProps): JSX.Element | null;
|
|
411
|
+
|
|
412
|
+
declare function export_default$4(props: StepElementProps): JSX.Element | null;
|
|
413
|
+
|
|
414
|
+
interface StepNextButtonProps extends StepElementProps {
|
|
415
|
+
backgroundColor: string;
|
|
416
|
+
letterSpacing: string;
|
|
417
|
+
textTransform: string;
|
|
418
|
+
gradient: any;
|
|
419
|
+
onClick(): void;
|
|
420
|
+
}
|
|
421
|
+
declare function export_default$3(props: StepNextButtonProps): JSX.Element;
|
|
422
|
+
|
|
423
|
+
interface YouTubeStepProps {
|
|
424
|
+
title?: string;
|
|
425
|
+
text?: string;
|
|
426
|
+
transcript?: string;
|
|
427
|
+
videoId: string;
|
|
428
|
+
nextButtonText?: string;
|
|
429
|
+
height?: string;
|
|
430
|
+
styles: {
|
|
431
|
+
[key: string]: any;
|
|
432
|
+
};
|
|
433
|
+
}
|
|
434
|
+
declare function export_default$2(props: YouTubeStepProps): JSX.Element;
|
|
435
|
+
|
|
436
|
+
declare function export_default$1(): JSX.Element;
|
|
387
437
|
|
|
388
438
|
declare function export_default(callback: Function, delay: number | null): void;
|
|
389
439
|
|
|
@@ -431,4 +481,4 @@ declare enum DailyDataType {
|
|
|
431
481
|
RestingHeartRate = "RestingHeartRate"
|
|
432
482
|
}
|
|
433
483
|
|
|
434
|
-
export { export_default$
|
|
484
|
+
export { export_default$R as Action, export_default$Q as ActivityMeter, export_default$P as Button, export_default$O as Calendar, export_default$N as Card, export_default$M as CardTitle, export_default$u as ConnectEhr, export_default$f as ConnectEhrView, export_default$t as ConnectFitbit, DailyDataAvailabilityCheck, DailyDataProvider, DailyDataQueryResult, DailyDataType, export_default$L as DateRangeNavigator, export_default$K as DayTrackerSymbol, DeviceDataChartLine, export_default$s as DeviceDataMonthChart, export_default$r as DeviceDataMonthCharts, export_default$e as DeviceDataView, export_default$q as ExternalAccountList, export_default$p as ExternalAccountsPreview, export_default$d as ExternalAccountsView, export_default$J as Face, export_default$o as FitbitDevices, export_default$n as FitbitMonthCharts, export_default$c as FitbitView, export_default$I as Histogram, export_default$b as HomeView, export_default$H as Layout, LoadingIndicator, export_default$m as MostRecentNotification, export_default$G as NavigationBar, export_default$l as NotificationList, export_default$a as NotificationsView, export_default$k as PlatformSpecificContent, export_default$j as ProjectHeader, export_default$i as ProjectSupport, export_default$h as ProviderSearch, export_default$h as RestingHeartRateCalendar, export_default$F as Section, export_default$E as SegmentedControl, export_default$D as ShinyOverlay, export_default$C as SingleExternalAccount, export_default$B as SingleNotification, export_default$A as SingleSurveyTask, export_default$z as SparkBarChart, SparkBarChartBar, StatusBarBackgroundProps as StatusBarBackground, export_default$4 as StepDetailText, export_default$7 as StepLayout, export_default$8 as StepMarkdown, export_default$3 as StepNextButton, export_default$5 as StepText, export_default$6 as StepTitle, export_default$g as SurveyTaskList, export_default$9 as SurveyTasksView, export_default$y as Switch, export_default$x as TextBlock, export_default$w as TrackerItem, export_default$v as WeekCalendar, export_default$2 as YouTubeStep, export_default$1 as YouTubeStepContainer, checkDailyDataAvailability, queryDailyData, registerDailyDataProvider, export_default as useInterval };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@careevolution/mydatahelps-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.1",
|
|
4
4
|
"description": "MyDataHelps UI Library",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@rollup/plugin-commonjs": "^21.0.2",
|
|
31
31
|
"@rollup/plugin-image": "^2.1.1",
|
|
32
32
|
"@rollup/plugin-node-resolve": "^13.1.3",
|
|
33
|
-
"@rollup/plugin-typescript": "
|
|
33
|
+
"@rollup/plugin-typescript": "8.3.3",
|
|
34
34
|
"@storybook/addon-actions": "^6.4.19",
|
|
35
35
|
"@storybook/addon-essentials": "^6.4.19",
|
|
36
36
|
"@storybook/addon-interactions": "^6.4.19",
|
|
@@ -53,13 +53,17 @@
|
|
|
53
53
|
"@fortawesome/free-regular-svg-icons": "^6.0.0",
|
|
54
54
|
"@fortawesome/free-solid-svg-icons": "^6.0.0",
|
|
55
55
|
"@fortawesome/react-fontawesome": "^0.1.17",
|
|
56
|
+
"@rollup/plugin-json": "^6.0.0",
|
|
57
|
+
"@types/markdown-it": "^12.2.3",
|
|
56
58
|
"date-fns": "^2.28.0",
|
|
59
|
+
"html-react-parser": "^3.0.8",
|
|
60
|
+
"markdown-it": "^13.0.1",
|
|
57
61
|
"react-feather": "^2.0.9",
|
|
58
62
|
"react-fontawesome-svg-icon": "^1.1.2",
|
|
59
63
|
"recharts": "^2.1.9"
|
|
60
64
|
},
|
|
61
65
|
"peerDependencies": {
|
|
62
|
-
"@careevolution/mydatahelps-js": "^3.
|
|
66
|
+
"@careevolution/mydatahelps-js": "^3.5.0",
|
|
63
67
|
"react": "^17.0.2",
|
|
64
68
|
"react-dom": "^17.0.2"
|
|
65
69
|
},
|