@careevolution/mydatahelps-ui 2.10.1-InboxAndAsthmaUI.15 → 2.10.1-InboxAndAsthmaUI.17

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.
@@ -3,7 +3,7 @@ import './AsthmaAirQualities.css';
3
3
  import { AsthmaAirQualitiesPreviewState } from './AsthmaAirQualities.previewData';
4
4
  export interface AsthmaAirQualitiesProps {
5
5
  previewState?: AsthmaAirQualitiesPreviewState;
6
- editZipCodesSurveyName: string;
6
+ editZipCodesSurveyName?: string;
7
7
  airQualityUrl: string;
8
8
  date?: Date;
9
9
  innerRef?: React.Ref<HTMLDivElement>;
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
- import AsthmaAirQualities, { AsthmaAirQualitiesProps } from './AsthmaAirQualities';
2
+ import AsthmaAirQualities from './AsthmaAirQualities';
3
+ import { AsthmaAirQualitiesPreviewState } from './AsthmaAirQualities.previewData';
3
4
  declare const _default: {
4
5
  title: string;
5
6
  component: typeof AsthmaAirQualities;
@@ -8,9 +9,14 @@ declare const _default: {
8
9
  };
9
10
  };
10
11
  export default _default;
12
+ interface AsthmaAirQualitiesStoryArgs {
13
+ previewState: AsthmaAirQualitiesPreviewState;
14
+ canEditSettings: boolean;
15
+ }
11
16
  export declare const Default: {
12
17
  args: {
13
18
  previewState: string;
19
+ canEditSettings: boolean;
14
20
  };
15
21
  argTypes: {
16
22
  previewState: {
@@ -18,6 +24,9 @@ export declare const Default: {
18
24
  control: string;
19
25
  options: string[];
20
26
  };
27
+ canEditSettings: {
28
+ name: string;
29
+ };
21
30
  };
22
- render: (args: AsthmaAirQualitiesProps) => React.JSX.Element;
31
+ render: (args: AsthmaAirQualitiesStoryArgs) => React.JSX.Element;
23
32
  };
@@ -7,6 +7,7 @@ export declare class AsthmaParticipant {
7
7
  hasEstablishedBaseline(): boolean;
8
8
  getHomeAirQualityZipCode(): string;
9
9
  getWorkAirQualityZipCode(): string;
10
+ getActionPlanTaskRunUUID(): string;
10
11
  hasRequestedWithdrawal(): boolean;
11
12
  private hasEstablishedBaselineByType;
12
13
  private getCustomFieldValue;
@@ -15,7 +15,6 @@ export interface AsthmaDayViewProps {
15
15
  heartAndLungsUrl: string;
16
16
  activityUrl: string;
17
17
  sleepUrl: string;
18
- editZipCodesSurveyName: string;
19
18
  airQualityUrl: string;
20
19
  }
21
20
  export default function (props: AsthmaDayViewProps): React.JSX.Element;
package/dist/index.d.ts CHANGED
@@ -20,6 +20,7 @@ declare class AsthmaParticipant {
20
20
  hasEstablishedBaseline(): boolean;
21
21
  getHomeAirQualityZipCode(): string;
22
22
  getWorkAirQualityZipCode(): string;
23
+ getActionPlanTaskRunUUID(): string;
23
24
  hasRequestedWithdrawal(): boolean;
24
25
  private hasEstablishedBaselineByType;
25
26
  private getCustomFieldValue;
@@ -67,7 +68,7 @@ type AsthmaAirQualitiesPreviewState = 'neither configured' | 'one configured' |
67
68
 
68
69
  interface AsthmaAirQualitiesProps {
69
70
  previewState?: AsthmaAirQualitiesPreviewState;
70
- editZipCodesSurveyName: string;
71
+ editZipCodesSurveyName?: string;
71
72
  airQualityUrl: string;
72
73
  date?: Date;
73
74
  innerRef?: React.Ref<HTMLDivElement>;
@@ -247,7 +248,6 @@ interface AsthmaDayViewProps {
247
248
  heartAndLungsUrl: string;
248
249
  activityUrl: string;
249
250
  sleepUrl: string;
250
- editZipCodesSurveyName: string;
251
251
  airQualityUrl: string;
252
252
  }
253
253
  declare function export_default$1W(props: AsthmaDayViewProps): React.JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@careevolution/mydatahelps-ui",
3
- "version": "2.10.1-InboxAndAsthmaUI.15",
3
+ "version": "2.10.1-InboxAndAsthmaUI.17",
4
4
  "description": "MyDataHelps UI Library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",