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

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
  };
@@ -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
@@ -67,7 +67,7 @@ type AsthmaAirQualitiesPreviewState = 'neither configured' | 'one configured' |
67
67
 
68
68
  interface AsthmaAirQualitiesProps {
69
69
  previewState?: AsthmaAirQualitiesPreviewState;
70
- editZipCodesSurveyName: string;
70
+ editZipCodesSurveyName?: string;
71
71
  airQualityUrl: string;
72
72
  date?: Date;
73
73
  innerRef?: React.Ref<HTMLDivElement>;
@@ -247,7 +247,6 @@ interface AsthmaDayViewProps {
247
247
  heartAndLungsUrl: string;
248
248
  activityUrl: string;
249
249
  sleepUrl: string;
250
- editZipCodesSurveyName: string;
251
250
  airQualityUrl: string;
252
251
  }
253
252
  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.16",
4
4
  "description": "MyDataHelps UI Library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",