@careevolution/mydatahelps-ui 2.17.0 → 2.18.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.
@@ -88,3 +88,18 @@ export declare const CustomConnectText: {
88
88
  };
89
89
  render: (args: ConnectEhrProps) => React.JSX.Element;
90
90
  };
91
+ export declare const HideConnected: {
92
+ args: {
93
+ previewState: string;
94
+ applicationUrl: string;
95
+ hideWhenConnected: boolean;
96
+ };
97
+ argTypes: {
98
+ previewState: {
99
+ name: string;
100
+ control: string;
101
+ options: string[];
102
+ };
103
+ };
104
+ render: (args: ConnectEhrProps) => React.JSX.Element;
105
+ };
@@ -1,8 +1,9 @@
1
1
  import React from "react";
2
+ import { deviceType } from "../../../helpers/deviceType";
2
3
  export interface ConnectDeviceAccountStepProps {
3
4
  title?: string;
4
5
  text?: string;
5
- deviceType: string;
6
+ deviceType: deviceType;
6
7
  providerID: number;
7
8
  styles: {
8
9
  [key: string]: any;
@@ -1,5 +1,6 @@
1
1
  import React from "react";
2
+ import { deviceType } from "../../../helpers/deviceType";
2
3
  export interface ConnectDeviceAccountStepContainerProps {
3
- deviceType?: string;
4
+ deviceType: deviceType;
4
5
  }
5
6
  export default function (props: ConnectDeviceAccountStepContainerProps): React.JSX.Element;
@@ -1,6 +1,6 @@
1
1
  export interface SurveyBloodPressureDataParameters {
2
2
  surveyName: string;
3
- dateResultIdentifier: string;
3
+ dateResultIdentifier?: string;
4
4
  systolicResultIdentifier: string;
5
5
  diastolicResultIdentifier: string;
6
6
  }
@@ -0,0 +1 @@
1
+ export type deviceType = 'Fitbit' | 'Garmin' | 'Omron';