@careevolution/mydatahelps-ui 2.10.1-InboxAndAsthmaUI.2 → 2.10.1-InboxAndAsthmaUI.3

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.
@@ -4,7 +4,7 @@ export interface AsthmaActionPlanProps {
4
4
  previewState?: 'loading' | 'loaded without action plan' | 'loaded with action plan';
5
5
  learnMoreUrl: string;
6
6
  editActionPlanSurveyName: string;
7
- createActionPlanUrl: (id: string) => string;
7
+ createActionPlanUrl: (reportId: string) => Promise<string>;
8
8
  innerRef?: React.Ref<HTMLDivElement>;
9
9
  }
10
10
  export default function (props: AsthmaActionPlanProps): React.JSX.Element;
@@ -4,6 +4,6 @@ export interface AsthmaActionPlanViewProps {
4
4
  colorScheme?: 'light' | 'dark' | 'auto';
5
5
  learnMoreUrl: string;
6
6
  editActionPlanSurveyName: string;
7
- createActionPlanUrl: (id: string) => string;
7
+ createActionPlanUrl: (reportId: string) => Promise<string>;
8
8
  }
9
9
  export default function (props: AsthmaActionPlanViewProps): React.JSX.Element;
package/dist/index.d.ts CHANGED
@@ -8,7 +8,7 @@ interface AsthmaActionPlanProps {
8
8
  previewState?: 'loading' | 'loaded without action plan' | 'loaded with action plan';
9
9
  learnMoreUrl: string;
10
10
  editActionPlanSurveyName: string;
11
- createActionPlanUrl: (id: string) => string;
11
+ createActionPlanUrl: (reportId: string) => Promise<string>;
12
12
  innerRef?: React.Ref<HTMLDivElement>;
13
13
  }
14
14
  declare function export_default$2b(props: AsthmaActionPlanProps): React.JSX.Element;
@@ -204,7 +204,7 @@ interface AsthmaActionPlanViewProps {
204
204
  colorScheme?: 'light' | 'dark' | 'auto';
205
205
  learnMoreUrl: string;
206
206
  editActionPlanSurveyName: string;
207
- createActionPlanUrl: (id: string) => string;
207
+ createActionPlanUrl: (reportId: string) => Promise<string>;
208
208
  }
209
209
  declare function export_default$1_(props: AsthmaActionPlanViewProps): React.JSX.Element;
210
210
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@careevolution/mydatahelps-ui",
3
- "version": "2.10.1-InboxAndAsthmaUI.2",
3
+ "version": "2.10.1-InboxAndAsthmaUI.3",
4
4
  "description": "MyDataHelps UI Library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",