@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';
package/dist/index.d.ts CHANGED
@@ -886,7 +886,7 @@ declare function export_default$1m(surveyDataSource?: SurveyBloodPressureDataPar
886
886
 
887
887
  interface SurveyBloodPressureDataParameters {
888
888
  surveyName: string;
889
- dateResultIdentifier: string;
889
+ dateResultIdentifier?: string;
890
890
  systolicResultIdentifier: string;
891
891
  diastolicResultIdentifier: string;
892
892
  }
@@ -1355,10 +1355,12 @@ declare function export_default$Q(props: CelebrationStepProps): React.JSX.Elemen
1355
1355
 
1356
1356
  declare function export_default$P(): React.JSX.Element;
1357
1357
 
1358
+ type deviceType = 'Fitbit' | 'Garmin' | 'Omron';
1359
+
1358
1360
  interface ConnectDeviceAccountStepProps {
1359
1361
  title?: string;
1360
1362
  text?: string;
1361
- deviceType: string;
1363
+ deviceType: deviceType;
1362
1364
  providerID: number;
1363
1365
  styles: {
1364
1366
  [key: string]: any;
@@ -1368,7 +1370,7 @@ interface ConnectDeviceAccountStepProps {
1368
1370
  declare function export_default$O(props: ConnectDeviceAccountStepProps): React.JSX.Element;
1369
1371
 
1370
1372
  interface ConnectDeviceAccountStepContainerProps {
1371
- deviceType?: string;
1373
+ deviceType: deviceType;
1372
1374
  }
1373
1375
  declare function export_default$N(props: ConnectDeviceAccountStepContainerProps): React.JSX.Element;
1374
1376
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@careevolution/mydatahelps-ui",
3
- "version": "2.17.0",
3
+ "version": "2.18.0",
4
4
  "description": "MyDataHelps UI Library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",