@careevolution/mydatahelps-ui 2.9.1-AsthmaUI.2 → 2.9.1-Issue139.1

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.
Files changed (140) hide show
  1. package/dist/cjs/index.js +24 -24
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/types/components/index.d.ts +2 -3
  4. package/dist/cjs/types/components/presentational/DateRangeCoordinator/index.d.ts +1 -1
  5. package/dist/cjs/types/components/presentational/Layout/index.d.ts +2 -1
  6. package/dist/cjs/types/components/presentational/SingleSurveyTask/SingleSurveyTask.d.ts +2 -0
  7. package/dist/cjs/types/components/presentational/SingleSurveyTask/SingleSurveyTask.stories.d.ts +73 -0
  8. package/dist/cjs/types/components/presentational/index.d.ts +1 -2
  9. package/dist/esm/index.js +23 -23
  10. package/dist/esm/index.js.map +1 -1
  11. package/dist/esm/types/components/index.d.ts +2 -3
  12. package/dist/esm/types/components/presentational/DateRangeCoordinator/index.d.ts +1 -1
  13. package/dist/esm/types/components/presentational/Layout/index.d.ts +2 -1
  14. package/dist/esm/types/components/presentational/SingleSurveyTask/SingleSurveyTask.d.ts +2 -0
  15. package/dist/esm/types/components/presentational/SingleSurveyTask/SingleSurveyTask.stories.d.ts +73 -0
  16. package/dist/esm/types/components/presentational/index.d.ts +1 -2
  17. package/dist/index.d.ts +531 -730
  18. package/package.json +1 -1
  19. package/dist/cjs/types/components/asthma/container/AsthmaAirQualities/AsthmaAirQualities.d.ts +0 -9
  20. package/dist/cjs/types/components/asthma/container/AsthmaAirQualities/AsthmaAirQualities.previewData.d.ts +0 -6
  21. package/dist/cjs/types/components/asthma/container/AsthmaAirQualities/AsthmaAirQualities.stories.d.ts +0 -16
  22. package/dist/cjs/types/components/asthma/container/AsthmaAirQualities/index.d.ts +0 -2
  23. package/dist/cjs/types/components/asthma/container/AsthmaBiometrics/AsthmaBiometrics.d.ts +0 -9
  24. package/dist/cjs/types/components/asthma/container/AsthmaBiometrics/AsthmaBiometrics.previewData.d.ts +0 -6
  25. package/dist/cjs/types/components/asthma/container/AsthmaBiometrics/AsthmaBiometrics.stories.d.ts +0 -16
  26. package/dist/cjs/types/components/asthma/container/AsthmaBiometrics/index.d.ts +0 -2
  27. package/dist/cjs/types/components/asthma/container/AsthmaCalendarViewHeader/AsthmaCalendarViewHeader.d.ts +0 -10
  28. package/dist/cjs/types/components/asthma/container/AsthmaCalendarViewHeader/AsthmaCalendarViewHeader.previewData.d.ts +0 -8
  29. package/dist/cjs/types/components/asthma/container/AsthmaCalendarViewHeader/AsthmaCalendarViewHeader.stories.d.ts +0 -16
  30. package/dist/cjs/types/components/asthma/container/AsthmaCalendarViewHeader/index.d.ts +0 -2
  31. package/dist/cjs/types/components/asthma/container/AsthmaControlCalendar/AsthmaControlCalendar.d.ts +0 -9
  32. package/dist/cjs/types/components/asthma/container/AsthmaControlCalendar/AsthmaControlCalendar.previewData.d.ts +0 -6
  33. package/dist/cjs/types/components/asthma/container/AsthmaControlCalendar/AsthmaControlCalendar.stories.d.ts +0 -22
  34. package/dist/cjs/types/components/asthma/container/AsthmaControlCalendar/index.d.ts +0 -2
  35. package/dist/cjs/types/components/asthma/container/AsthmaControlStatusHeader/AsthmaControlStatusHeader.d.ts +0 -10
  36. package/dist/cjs/types/components/asthma/container/AsthmaControlStatusHeader/AsthmaControlStatusHeader.previewData.d.ts +0 -8
  37. package/dist/cjs/types/components/asthma/container/AsthmaControlStatusHeader/AsthmaControlStatusHeader.stories.d.ts +0 -138
  38. package/dist/cjs/types/components/asthma/container/AsthmaControlStatusHeader/index.d.ts +0 -2
  39. package/dist/cjs/types/components/asthma/container/AsthmaDashboardViewHeader/AsthmaDashboardViewHeader.d.ts +0 -10
  40. package/dist/cjs/types/components/asthma/container/AsthmaDashboardViewHeader/AsthmaDashboardViewHeader.previewData.d.ts +0 -10
  41. package/dist/cjs/types/components/asthma/container/AsthmaDashboardViewHeader/AsthmaDashboardViewHeader.stories.d.ts +0 -16
  42. package/dist/cjs/types/components/asthma/container/AsthmaDashboardViewHeader/index.d.ts +0 -2
  43. package/dist/cjs/types/components/asthma/container/AsthmaLogEntryHeader/AsthmaLogEntryHeader.d.ts +0 -10
  44. package/dist/cjs/types/components/asthma/container/AsthmaLogEntryHeader/AsthmaLogEntryHeader.previewData.d.ts +0 -7
  45. package/dist/cjs/types/components/asthma/container/AsthmaLogEntryHeader/AsthmaLogEntryHeader.stories.d.ts +0 -34
  46. package/dist/cjs/types/components/asthma/container/AsthmaLogEntryHeader/index.d.ts +0 -2
  47. package/dist/cjs/types/components/asthma/container/index.d.ts +0 -7
  48. package/dist/cjs/types/components/asthma/helpers/asthma-data.d.ts +0 -9
  49. package/dist/cjs/types/components/asthma/helpers/asthma-functions.d.ts +0 -7
  50. package/dist/cjs/types/components/asthma/helpers/index.d.ts +0 -2
  51. package/dist/cjs/types/components/asthma/index.d.ts +0 -5
  52. package/dist/cjs/types/components/asthma/model/index.d.ts +0 -1
  53. package/dist/cjs/types/components/asthma/model/types.d.ts +0 -49
  54. package/dist/cjs/types/components/asthma/presentational/AsthmaDataSummary/AsthmaDataSummary.d.ts +0 -12
  55. package/dist/cjs/types/components/asthma/presentational/AsthmaDataSummary/AsthmaDataSummary.stories.d.ts +0 -70
  56. package/dist/cjs/types/components/asthma/presentational/AsthmaDataSummary/index.d.ts +0 -1
  57. package/dist/cjs/types/components/asthma/presentational/AsthmaLogEntrySummary/AsthmaLogEntrySummary.d.ts +0 -11
  58. package/dist/cjs/types/components/asthma/presentational/AsthmaLogEntrySummary/AsthmaLogEntrySummary.stories.d.ts +0 -60
  59. package/dist/cjs/types/components/asthma/presentational/AsthmaLogEntrySummary/index.d.ts +0 -1
  60. package/dist/cjs/types/components/asthma/presentational/AsthmaViewTitle/AsthmaViewTitle.d.ts +0 -7
  61. package/dist/cjs/types/components/asthma/presentational/AsthmaViewTitle/AsthmaViewTitle.stories.d.ts +0 -16
  62. package/dist/cjs/types/components/asthma/presentational/AsthmaViewTitle/index.d.ts +0 -1
  63. package/dist/cjs/types/components/asthma/presentational/index.d.ts +0 -3
  64. package/dist/cjs/types/components/asthma/views/AsthmaCalendarView/AsthmaCalendarView.d.ts +0 -9
  65. package/dist/cjs/types/components/asthma/views/AsthmaCalendarView/AsthmaCalendarView.previewData.d.ts +0 -6
  66. package/dist/cjs/types/components/asthma/views/AsthmaCalendarView/AsthmaCalendarView.stories.d.ts +0 -18
  67. package/dist/cjs/types/components/asthma/views/AsthmaCalendarView/index.d.ts +0 -1
  68. package/dist/cjs/types/components/asthma/views/AsthmaDashboardView/AsthmaDashboardView.d.ts +0 -9
  69. package/dist/cjs/types/components/asthma/views/AsthmaDashboardView/AsthmaDashboardView.previewData.d.ts +0 -8
  70. package/dist/cjs/types/components/asthma/views/AsthmaDashboardView/AsthmaDashboardView.stories.d.ts +0 -18
  71. package/dist/cjs/types/components/asthma/views/AsthmaDashboardView/index.d.ts +0 -1
  72. package/dist/cjs/types/components/asthma/views/AsthmaDataView/AsthmaDataView.d.ts +0 -7
  73. package/dist/cjs/types/components/asthma/views/AsthmaDataView/AsthmaDataView.previewData.d.ts +0 -8
  74. package/dist/cjs/types/components/asthma/views/AsthmaDataView/AsthmaDataView.stories.d.ts +0 -16
  75. package/dist/cjs/types/components/asthma/views/AsthmaDataView/index.d.ts +0 -1
  76. package/dist/cjs/types/components/asthma/views/index.d.ts +0 -3
  77. package/dist/cjs/types/components/presentational/BasicCalendar/BasicCalendar.d.ts +0 -15
  78. package/dist/cjs/types/components/presentational/BasicCalendar/BasicCalendar.stories.d.ts +0 -17
  79. package/dist/cjs/types/components/presentational/BasicCalendar/index.d.ts +0 -1
  80. package/dist/esm/types/components/asthma/container/AsthmaAirQualities/AsthmaAirQualities.d.ts +0 -9
  81. package/dist/esm/types/components/asthma/container/AsthmaAirQualities/AsthmaAirQualities.previewData.d.ts +0 -6
  82. package/dist/esm/types/components/asthma/container/AsthmaAirQualities/AsthmaAirQualities.stories.d.ts +0 -16
  83. package/dist/esm/types/components/asthma/container/AsthmaAirQualities/index.d.ts +0 -2
  84. package/dist/esm/types/components/asthma/container/AsthmaBiometrics/AsthmaBiometrics.d.ts +0 -9
  85. package/dist/esm/types/components/asthma/container/AsthmaBiometrics/AsthmaBiometrics.previewData.d.ts +0 -6
  86. package/dist/esm/types/components/asthma/container/AsthmaBiometrics/AsthmaBiometrics.stories.d.ts +0 -16
  87. package/dist/esm/types/components/asthma/container/AsthmaBiometrics/index.d.ts +0 -2
  88. package/dist/esm/types/components/asthma/container/AsthmaCalendarViewHeader/AsthmaCalendarViewHeader.d.ts +0 -10
  89. package/dist/esm/types/components/asthma/container/AsthmaCalendarViewHeader/AsthmaCalendarViewHeader.previewData.d.ts +0 -8
  90. package/dist/esm/types/components/asthma/container/AsthmaCalendarViewHeader/AsthmaCalendarViewHeader.stories.d.ts +0 -16
  91. package/dist/esm/types/components/asthma/container/AsthmaCalendarViewHeader/index.d.ts +0 -2
  92. package/dist/esm/types/components/asthma/container/AsthmaControlCalendar/AsthmaControlCalendar.d.ts +0 -9
  93. package/dist/esm/types/components/asthma/container/AsthmaControlCalendar/AsthmaControlCalendar.previewData.d.ts +0 -6
  94. package/dist/esm/types/components/asthma/container/AsthmaControlCalendar/AsthmaControlCalendar.stories.d.ts +0 -22
  95. package/dist/esm/types/components/asthma/container/AsthmaControlCalendar/index.d.ts +0 -2
  96. package/dist/esm/types/components/asthma/container/AsthmaControlStatusHeader/AsthmaControlStatusHeader.d.ts +0 -10
  97. package/dist/esm/types/components/asthma/container/AsthmaControlStatusHeader/AsthmaControlStatusHeader.previewData.d.ts +0 -8
  98. package/dist/esm/types/components/asthma/container/AsthmaControlStatusHeader/AsthmaControlStatusHeader.stories.d.ts +0 -138
  99. package/dist/esm/types/components/asthma/container/AsthmaControlStatusHeader/index.d.ts +0 -2
  100. package/dist/esm/types/components/asthma/container/AsthmaDashboardViewHeader/AsthmaDashboardViewHeader.d.ts +0 -10
  101. package/dist/esm/types/components/asthma/container/AsthmaDashboardViewHeader/AsthmaDashboardViewHeader.previewData.d.ts +0 -10
  102. package/dist/esm/types/components/asthma/container/AsthmaDashboardViewHeader/AsthmaDashboardViewHeader.stories.d.ts +0 -16
  103. package/dist/esm/types/components/asthma/container/AsthmaDashboardViewHeader/index.d.ts +0 -2
  104. package/dist/esm/types/components/asthma/container/AsthmaLogEntryHeader/AsthmaLogEntryHeader.d.ts +0 -10
  105. package/dist/esm/types/components/asthma/container/AsthmaLogEntryHeader/AsthmaLogEntryHeader.previewData.d.ts +0 -7
  106. package/dist/esm/types/components/asthma/container/AsthmaLogEntryHeader/AsthmaLogEntryHeader.stories.d.ts +0 -34
  107. package/dist/esm/types/components/asthma/container/AsthmaLogEntryHeader/index.d.ts +0 -2
  108. package/dist/esm/types/components/asthma/container/index.d.ts +0 -7
  109. package/dist/esm/types/components/asthma/helpers/asthma-data.d.ts +0 -9
  110. package/dist/esm/types/components/asthma/helpers/asthma-functions.d.ts +0 -7
  111. package/dist/esm/types/components/asthma/helpers/index.d.ts +0 -2
  112. package/dist/esm/types/components/asthma/index.d.ts +0 -5
  113. package/dist/esm/types/components/asthma/model/index.d.ts +0 -1
  114. package/dist/esm/types/components/asthma/model/types.d.ts +0 -49
  115. package/dist/esm/types/components/asthma/presentational/AsthmaDataSummary/AsthmaDataSummary.d.ts +0 -12
  116. package/dist/esm/types/components/asthma/presentational/AsthmaDataSummary/AsthmaDataSummary.stories.d.ts +0 -70
  117. package/dist/esm/types/components/asthma/presentational/AsthmaDataSummary/index.d.ts +0 -1
  118. package/dist/esm/types/components/asthma/presentational/AsthmaLogEntrySummary/AsthmaLogEntrySummary.d.ts +0 -11
  119. package/dist/esm/types/components/asthma/presentational/AsthmaLogEntrySummary/AsthmaLogEntrySummary.stories.d.ts +0 -60
  120. package/dist/esm/types/components/asthma/presentational/AsthmaLogEntrySummary/index.d.ts +0 -1
  121. package/dist/esm/types/components/asthma/presentational/AsthmaViewTitle/AsthmaViewTitle.d.ts +0 -7
  122. package/dist/esm/types/components/asthma/presentational/AsthmaViewTitle/AsthmaViewTitle.stories.d.ts +0 -16
  123. package/dist/esm/types/components/asthma/presentational/AsthmaViewTitle/index.d.ts +0 -1
  124. package/dist/esm/types/components/asthma/presentational/index.d.ts +0 -3
  125. package/dist/esm/types/components/asthma/views/AsthmaCalendarView/AsthmaCalendarView.d.ts +0 -9
  126. package/dist/esm/types/components/asthma/views/AsthmaCalendarView/AsthmaCalendarView.previewData.d.ts +0 -6
  127. package/dist/esm/types/components/asthma/views/AsthmaCalendarView/AsthmaCalendarView.stories.d.ts +0 -18
  128. package/dist/esm/types/components/asthma/views/AsthmaCalendarView/index.d.ts +0 -1
  129. package/dist/esm/types/components/asthma/views/AsthmaDashboardView/AsthmaDashboardView.d.ts +0 -9
  130. package/dist/esm/types/components/asthma/views/AsthmaDashboardView/AsthmaDashboardView.previewData.d.ts +0 -8
  131. package/dist/esm/types/components/asthma/views/AsthmaDashboardView/AsthmaDashboardView.stories.d.ts +0 -18
  132. package/dist/esm/types/components/asthma/views/AsthmaDashboardView/index.d.ts +0 -1
  133. package/dist/esm/types/components/asthma/views/AsthmaDataView/AsthmaDataView.d.ts +0 -7
  134. package/dist/esm/types/components/asthma/views/AsthmaDataView/AsthmaDataView.previewData.d.ts +0 -8
  135. package/dist/esm/types/components/asthma/views/AsthmaDataView/AsthmaDataView.stories.d.ts +0 -16
  136. package/dist/esm/types/components/asthma/views/AsthmaDataView/index.d.ts +0 -1
  137. package/dist/esm/types/components/asthma/views/index.d.ts +0 -3
  138. package/dist/esm/types/components/presentational/BasicCalendar/BasicCalendar.d.ts +0 -15
  139. package/dist/esm/types/components/presentational/BasicCalendar/BasicCalendar.stories.d.ts +0 -17
  140. package/dist/esm/types/components/presentational/BasicCalendar/index.d.ts +0 -1
@@ -1,60 +0,0 @@
1
- import React from 'react';
2
- import AsthmaLogEntrySummary, { AsthmaLogEntrySummaryProps } from './AsthmaLogEntrySummary';
3
- declare const _default: {
4
- title: string;
5
- component: typeof AsthmaLogEntrySummary;
6
- parameters: {
7
- layout: string;
8
- };
9
- };
10
- export default _default;
11
- export declare const NotLogged: {
12
- args: {
13
- label: string;
14
- logEntry: null;
15
- };
16
- render: (args: AsthmaLogEntrySummaryProps) => React.JSX.Element;
17
- };
18
- export declare const LoggedNoSymptoms: {
19
- args: {
20
- label: string;
21
- logEntry: {
22
- symptomLevel: string;
23
- };
24
- };
25
- render: (args: AsthmaLogEntrySummaryProps) => React.JSX.Element;
26
- };
27
- export declare const LoggedMildSymptoms: {
28
- args: {
29
- label: string;
30
- logEntry: {
31
- symptomLevel: string;
32
- };
33
- };
34
- render: (args: AsthmaLogEntrySummaryProps) => React.JSX.Element;
35
- };
36
- export declare const LoggedModerateSymptoms: {
37
- args: {
38
- label: string;
39
- logEntry: {
40
- symptomLevel: string;
41
- };
42
- };
43
- render: (args: AsthmaLogEntrySummaryProps) => React.JSX.Element;
44
- };
45
- export declare const LoggedSevereSymptoms: {
46
- args: {
47
- label: string;
48
- logEntry: {
49
- symptomLevel: string;
50
- };
51
- };
52
- render: (args: AsthmaLogEntrySummaryProps) => React.JSX.Element;
53
- };
54
- export declare const Loading: {
55
- args: {
56
- label: string;
57
- loading: boolean;
58
- };
59
- render: (args: AsthmaLogEntrySummaryProps) => React.JSX.Element;
60
- };
@@ -1 +0,0 @@
1
- export { default } from './AsthmaLogEntrySummary';
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import './AsthmaViewTitle.css';
3
- export interface AsthmaViewTitleProps {
4
- title: string;
5
- innerRef?: React.Ref<HTMLDivElement>;
6
- }
7
- export default function (props: AsthmaViewTitleProps): React.JSX.Element;
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import AsthmaViewTitle, { AsthmaViewTitleProps } from './AsthmaViewTitle';
3
- declare const _default: {
4
- title: string;
5
- component: typeof AsthmaViewTitle;
6
- parameters: {
7
- layout: string;
8
- };
9
- };
10
- export default _default;
11
- export declare const Default: {
12
- args: {
13
- title: string;
14
- };
15
- render: (args: AsthmaViewTitleProps) => React.JSX.Element;
16
- };
@@ -1 +0,0 @@
1
- export { default } from './AsthmaViewTitle';
@@ -1,3 +0,0 @@
1
- export { default as AsthmaDataSummary } from './AsthmaDataSummary';
2
- export { default as AsthmaLogEntrySummary } from './AsthmaLogEntrySummary';
3
- export { default as AsthmaViewTitle } from './AsthmaViewTitle';
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import { AsthmaCalendarViewPreviewState } from './AsthmaCalendarView.previewData';
3
- export interface AsthmaCalendarViewProps {
4
- colorScheme?: 'light' | 'dark' | 'auto';
5
- previewState?: AsthmaCalendarViewPreviewState;
6
- logTodayEntrySurveyName: string;
7
- logYesterdayEntrySurveyName: string;
8
- }
9
- export default function (props: AsthmaCalendarViewProps): React.JSX.Element;
@@ -1,6 +0,0 @@
1
- import { AsthmaCalendarViewHeaderPreviewState } from '../../container/AsthmaCalendarViewHeader';
2
- export type AsthmaCalendarViewPreviewState = 'default';
3
- export interface AsthmaCalendarViewPreviewData {
4
- headerPreviewState: AsthmaCalendarViewHeaderPreviewState;
5
- }
6
- export declare const previewData: Record<AsthmaCalendarViewPreviewState, AsthmaCalendarViewPreviewData>;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import AsthmaCalendarView, { AsthmaCalendarViewProps } from './AsthmaCalendarView';
3
- declare const _default: {
4
- title: string;
5
- component: typeof AsthmaCalendarView;
6
- parameters: {
7
- layout: string;
8
- };
9
- };
10
- export default _default;
11
- export declare const Default: {
12
- args: {
13
- previewState: string;
14
- logTodayEntrySurveyName: string;
15
- logYesterdayEntrySurveyName: string;
16
- };
17
- render: (args: AsthmaCalendarViewProps) => React.JSX.Element;
18
- };
@@ -1 +0,0 @@
1
- export { default } from './AsthmaCalendarView';
@@ -1,9 +0,0 @@
1
- import React from "react";
2
- import { AsthmaDashboardViewPreviewState } from './AsthmaDashboardView.previewData';
3
- export interface AsthmaDashboardViewProps {
4
- colorScheme?: 'light' | 'dark' | 'auto';
5
- previewState?: AsthmaDashboardViewPreviewState;
6
- logTodayEntrySurveyName: string;
7
- logYesterdayEntrySurveyName: string;
8
- }
9
- export default function (props: AsthmaDashboardViewProps): React.JSX.Element;
@@ -1,8 +0,0 @@
1
- import { AsthmaDashboardViewHeaderPreviewState } from '../../container/AsthmaDashboardViewHeader';
2
- import { AsthmaControlCalendarPreviewState } from '../../container/AsthmaControlCalendar';
3
- export type AsthmaDashboardViewPreviewState = 'default';
4
- export interface AsthmaDashboardViewPreviewData {
5
- headerPreviewState: AsthmaDashboardViewHeaderPreviewState;
6
- controlCalendarPreviewState: AsthmaControlCalendarPreviewState;
7
- }
8
- export declare const previewData: Record<AsthmaDashboardViewPreviewState, AsthmaDashboardViewPreviewData>;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import AsthmaDashboardView, { AsthmaDashboardViewProps } from './AsthmaDashboardView';
3
- declare const _default: {
4
- title: string;
5
- component: typeof AsthmaDashboardView;
6
- parameters: {
7
- layout: string;
8
- };
9
- };
10
- export default _default;
11
- export declare const Default: {
12
- args: {
13
- previewState: string;
14
- logTodayEntrySurveyName: string;
15
- logYesterdayEntrySurveyName: string;
16
- };
17
- render: (args: AsthmaDashboardViewProps) => React.JSX.Element;
18
- };
@@ -1 +0,0 @@
1
- export { default } from './AsthmaDashboardView';
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import { AsthmaDataViewPreviewState } from './AsthmaDataView.previewData';
3
- export interface AsthmaDataViewProps {
4
- colorScheme?: 'light' | 'dark' | 'auto';
5
- previewState?: AsthmaDataViewPreviewState;
6
- }
7
- export default function (props: AsthmaDataViewProps): React.JSX.Element;
@@ -1,8 +0,0 @@
1
- import { AsthmaBiometricsPreviewState } from '../../container/AsthmaBiometrics';
2
- import { AsthmaAirQualitiesPreviewState } from '../../container/AsthmaAirQualities';
3
- export type AsthmaDataViewPreviewState = 'default';
4
- export interface AsthmaDataViewPreviewData {
5
- biometricsPreviewState: AsthmaBiometricsPreviewState;
6
- airQualitiesPreviewState: AsthmaAirQualitiesPreviewState;
7
- }
8
- export declare const previewData: Record<AsthmaDataViewPreviewState, AsthmaDataViewPreviewData>;
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import AsthmaDataView, { AsthmaDataViewProps } from './AsthmaDataView';
3
- declare const _default: {
4
- title: string;
5
- component: typeof AsthmaDataView;
6
- parameters: {
7
- layout: string;
8
- };
9
- };
10
- export default _default;
11
- export declare const Default: {
12
- args: {
13
- previewState: string;
14
- };
15
- render: (args: AsthmaDataViewProps) => React.JSX.Element;
16
- };
@@ -1 +0,0 @@
1
- export { default } from './AsthmaDataView';
@@ -1,3 +0,0 @@
1
- export { default as AsthmaCalendarView } from './AsthmaCalendarView';
2
- export { default as AsthmaDashboardView } from './AsthmaDashboardView';
3
- export { default as AsthmaDataView } from './AsthmaDataView';
@@ -1,15 +0,0 @@
1
- import React, { CSSProperties } from 'react';
2
- import './BasicCalendar.css';
3
- import { ColorDefinition } from '../../../helpers/colors';
4
- export interface BasicCalendarDayState {
5
- identifier: string;
6
- style?: CSSProperties;
7
- streakColor?: ColorDefinition;
8
- }
9
- export interface BasicCalendarProps {
10
- intervalStart?: Date;
11
- computeDayState: (date: Date) => BasicCalendarDayState;
12
- onDayClicked: (date: Date) => void;
13
- innerRef?: React.Ref<HTMLDivElement>;
14
- }
15
- export default function (props: BasicCalendarProps): React.JSX.Element;
@@ -1,17 +0,0 @@
1
- import React from 'react';
2
- import BasicCalendar, { BasicCalendarDayState, BasicCalendarProps } from './BasicCalendar';
3
- declare const _default: {
4
- title: string;
5
- component: typeof BasicCalendar;
6
- parameters: {
7
- layout: string;
8
- };
9
- };
10
- export default _default;
11
- export declare const Default: {
12
- args: {
13
- computeDayState: (date: Date) => BasicCalendarDayState;
14
- onDayClicked: (date: Date) => void;
15
- };
16
- render: (args: BasicCalendarProps) => React.JSX.Element;
17
- };
@@ -1 +0,0 @@
1
- export { default, BasicCalendarDayState } from './BasicCalendar';
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import './AsthmaAirQualities.css';
3
- import { AsthmaAirQualitiesPreviewState } from './AsthmaAirQualities.previewData';
4
- export interface AsthmaAirQualitiesProps {
5
- previewState?: AsthmaAirQualitiesPreviewState;
6
- onClick: () => void;
7
- innerRef?: React.Ref<HTMLDivElement>;
8
- }
9
- export default function (props: AsthmaAirQualitiesProps): React.JSX.Element;
@@ -1,6 +0,0 @@
1
- import { AsthmaAirQuality } from '../../model';
2
- export type AsthmaAirQualitiesPreviewState = 'default';
3
- export interface AsthmaAirQualitiesPreviewData {
4
- airQualities: AsthmaAirQuality[];
5
- }
6
- export declare const previewData: Record<AsthmaAirQualitiesPreviewState, AsthmaAirQualitiesPreviewData>;
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import AsthmaAirQualities, { AsthmaAirQualitiesProps } from './AsthmaAirQualities';
3
- declare const _default: {
4
- title: string;
5
- component: typeof AsthmaAirQualities;
6
- parameters: {
7
- layout: string;
8
- };
9
- };
10
- export default _default;
11
- export declare const Default: {
12
- args: {
13
- previewState: string;
14
- };
15
- render: (args: AsthmaAirQualitiesProps) => React.JSX.Element;
16
- };
@@ -1,2 +0,0 @@
1
- export { default } from './AsthmaAirQualities';
2
- export { AsthmaAirQualitiesPreviewState } from './AsthmaAirQualities.previewData';
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import './AsthmaBiometrics.css';
3
- import { AsthmaBiometricsPreviewState } from './AsthmaBiometrics.previewData';
4
- export interface AsthmaBiometricsProps {
5
- previewState?: AsthmaBiometricsPreviewState;
6
- onClick: () => void;
7
- innerRef?: React.Ref<HTMLDivElement>;
8
- }
9
- export default function (props: AsthmaBiometricsProps): React.JSX.Element;
@@ -1,6 +0,0 @@
1
- import { AsthmaBiometric } from '../../model';
2
- export type AsthmaBiometricsPreviewState = 'default';
3
- export interface AsthmaBiometricsPreviewData {
4
- biometrics: AsthmaBiometric[];
5
- }
6
- export declare const previewData: Record<AsthmaBiometricsPreviewState, AsthmaBiometricsPreviewData>;
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import AsthmaBiometrics, { AsthmaBiometricsProps } from './AsthmaBiometrics';
3
- declare const _default: {
4
- title: string;
5
- component: typeof AsthmaBiometrics;
6
- parameters: {
7
- layout: string;
8
- };
9
- };
10
- export default _default;
11
- export declare const Default: {
12
- args: {
13
- previewState: string;
14
- };
15
- render: (args: AsthmaBiometricsProps) => React.JSX.Element;
16
- };
@@ -1,2 +0,0 @@
1
- export { default } from './AsthmaBiometrics';
2
- export { AsthmaBiometricsPreviewState } from './AsthmaBiometrics.previewData';
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import './AsthmaCalendarViewHeader.css';
3
- import { AsthmaCalendarViewHeaderPreviewState } from "./AsthmaCalendarViewHeader.previewData";
4
- export interface AsthmaCalendarViewHeaderProps {
5
- previewState?: AsthmaCalendarViewHeaderPreviewState;
6
- logTodayEntrySurveyName: string;
7
- logYesterdayEntrySurveyName: string;
8
- innerRef?: React.Ref<HTMLDivElement>;
9
- }
10
- export default function (props: AsthmaCalendarViewHeaderProps): React.JSX.Element;
@@ -1,8 +0,0 @@
1
- import { AsthmaLogEntryHeaderPreviewState } from '../AsthmaLogEntryHeader';
2
- import { AsthmaControlCalendarPreviewState } from '../AsthmaControlCalendar';
3
- export type AsthmaCalendarViewHeaderPreviewState = 'default';
4
- export interface AsthmaCalendarViewHeaderPreviewData {
5
- controlCalendarPreviewState: AsthmaControlCalendarPreviewState;
6
- logEntryPreviewState: AsthmaLogEntryHeaderPreviewState;
7
- }
8
- export declare const previewData: Record<AsthmaCalendarViewHeaderPreviewState, AsthmaCalendarViewHeaderPreviewData>;
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import AsthmaCalendarViewHeader, { AsthmaCalendarViewHeaderProps } from './AsthmaCalendarViewHeader';
3
- declare const _default: {
4
- title: string;
5
- component: typeof AsthmaCalendarViewHeader;
6
- parameters: {
7
- layout: string;
8
- };
9
- };
10
- export default _default;
11
- export declare const Default: {
12
- args: {
13
- previewState: string;
14
- };
15
- render: (args: AsthmaCalendarViewHeaderProps) => React.JSX.Element;
16
- };
@@ -1,2 +0,0 @@
1
- export { default } from './AsthmaCalendarViewHeader';
2
- export { AsthmaCalendarViewHeaderPreviewState } from './AsthmaCalendarViewHeader.previewData';
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import './AsthmaControlCalendar.css';
3
- import { AsthmaControlCalendarPreviewState } from './AsthmaControlCalendar.previewData';
4
- export interface AsthmaControlCalendarProps {
5
- previewState?: AsthmaControlCalendarPreviewState;
6
- intervalStart?: Date;
7
- innerRef?: React.Ref<HTMLDivElement>;
8
- }
9
- export default function (props: AsthmaControlCalendarProps): React.JSX.Element;
@@ -1,6 +0,0 @@
1
- import { AsthmaLogEntry } from '../../model';
2
- export type AsthmaControlCalendarPreviewState = 'no-logs' | 'some-logs';
3
- export interface AsthmaControlCalendarPreviewData {
4
- logEntries: AsthmaLogEntry[];
5
- }
6
- export declare const previewData: Record<AsthmaControlCalendarPreviewState, AsthmaControlCalendarPreviewData>;
@@ -1,22 +0,0 @@
1
- import React from 'react';
2
- import AsthmaControlCalendar, { AsthmaControlCalendarProps } from './AsthmaControlCalendar';
3
- declare const _default: {
4
- title: string;
5
- component: typeof AsthmaControlCalendar;
6
- parameters: {
7
- layout: string;
8
- };
9
- };
10
- export default _default;
11
- export declare const NoLogging: {
12
- args: {
13
- previewState: string;
14
- };
15
- render: (args: AsthmaControlCalendarProps) => React.JSX.Element;
16
- };
17
- export declare const SomeLogging: {
18
- args: {
19
- previewState: string;
20
- };
21
- render: (args: AsthmaControlCalendarProps) => React.JSX.Element;
22
- };
@@ -1,2 +0,0 @@
1
- export { default } from './AsthmaControlCalendar';
2
- export { AsthmaControlCalendarPreviewState } from './AsthmaControlCalendar.previewData';
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import './AsthmaControlStatusHeader.css';
3
- import { AsthmaParticipant } from '../../model';
4
- import { AsthmaControlStatusHeaderPreviewState } from './AsthmaControlStatusHeader.previewData';
5
- export interface AsthmaControlStatusHeaderProps {
6
- previewState?: AsthmaControlStatusHeaderPreviewState;
7
- participant: AsthmaParticipant;
8
- innerRef?: React.Ref<HTMLDivElement>;
9
- }
10
- export default function (props: AsthmaControlStatusHeaderProps): React.JSX.Element | null;
@@ -1,8 +0,0 @@
1
- import { AsthmaAirQuality, AsthmaBiometric, AsthmaControlState } from '../../model';
2
- export type AsthmaControlStatusHeaderPreviewState = 'no-data' | 'abnormal-dhr' | 'abnormal-nhr' | 'abnormal-rr' | 'abnormal-activity' | 'abnormal-sleep' | 'abnormal-home-aqi' | 'abnormal-work-aqi' | 'abnormal-multiple' | 'not-determined' | 'not-controlled' | 'controlled';
3
- export interface AsthmaControlStatusHeaderPreviewData {
4
- controlState: AsthmaControlState;
5
- biometrics: AsthmaBiometric[];
6
- airQualities: AsthmaAirQuality[];
7
- }
8
- export declare const previewData: Record<AsthmaControlStatusHeaderPreviewState, AsthmaControlStatusHeaderPreviewData>;
@@ -1,138 +0,0 @@
1
- import React from 'react';
2
- import AsthmaControlStatusHeader, { AsthmaControlStatusHeaderProps } from './AsthmaControlStatusHeader';
3
- declare const _default: {
4
- title: string;
5
- component: typeof AsthmaControlStatusHeader;
6
- parameters: {
7
- layout: string;
8
- };
9
- };
10
- export default _default;
11
- export declare const NoDataBeforeDevicePaired: {
12
- args: {
13
- previewState: string;
14
- participant: {
15
- hasPairedDevice: () => boolean;
16
- hasEstablishedBaseline: () => boolean;
17
- };
18
- };
19
- render: (args: AsthmaControlStatusHeaderProps) => React.JSX.Element;
20
- };
21
- export declare const NoDataBeforeBaselineEstablished: {
22
- args: {
23
- previewState: string;
24
- participant: {
25
- hasPairedDevice: () => boolean;
26
- hasEstablishedBaseline: () => boolean;
27
- };
28
- };
29
- render: (args: AsthmaControlStatusHeaderProps) => React.JSX.Element;
30
- };
31
- export declare const NoDataBaselineEstablishedNothingOutOfRange: {
32
- args: {
33
- previewState: string;
34
- participant: {
35
- hasPairedDevice: () => boolean;
36
- hasEstablishedBaseline: () => boolean;
37
- };
38
- };
39
- render: (args: AsthmaControlStatusHeaderProps) => React.JSX.Element;
40
- };
41
- export declare const NoDataBaselineEstablishedDaytimeHeartRateOutOfRange: {
42
- args: {
43
- previewState: string;
44
- participant: {
45
- hasPairedDevice: () => boolean;
46
- hasEstablishedBaseline: () => boolean;
47
- };
48
- };
49
- render: (args: AsthmaControlStatusHeaderProps) => React.JSX.Element;
50
- };
51
- export declare const NoDataBaselineEstablishedNighttimeHeartRateOutOfRange: {
52
- args: {
53
- previewState: string;
54
- participant: {
55
- hasPairedDevice: () => boolean;
56
- hasEstablishedBaseline: () => boolean;
57
- };
58
- };
59
- render: (args: AsthmaControlStatusHeaderProps) => React.JSX.Element;
60
- };
61
- export declare const NoDataBaselineEstablishedRROutOfRange: {
62
- args: {
63
- previewState: string;
64
- participant: {
65
- hasPairedDevice: () => boolean;
66
- hasEstablishedBaseline: () => boolean;
67
- };
68
- };
69
- render: (args: AsthmaControlStatusHeaderProps) => React.JSX.Element;
70
- };
71
- export declare const NoDataBaselineEstablishedActivityOutOfRange: {
72
- args: {
73
- previewState: string;
74
- participant: {
75
- hasPairedDevice: () => boolean;
76
- hasEstablishedBaseline: () => boolean;
77
- };
78
- };
79
- render: (args: AsthmaControlStatusHeaderProps) => React.JSX.Element;
80
- };
81
- export declare const NoDataBaselineEstablishedSleepOutOfRange: {
82
- args: {
83
- previewState: string;
84
- participant: {
85
- hasPairedDevice: () => boolean;
86
- hasEstablishedBaseline: () => boolean;
87
- };
88
- };
89
- render: (args: AsthmaControlStatusHeaderProps) => React.JSX.Element;
90
- };
91
- export declare const NoDataBaselineEstablishedHomeAQOutOfRange: {
92
- args: {
93
- previewState: string;
94
- participant: {
95
- hasPairedDevice: () => boolean;
96
- hasEstablishedBaseline: () => boolean;
97
- };
98
- };
99
- render: (args: AsthmaControlStatusHeaderProps) => React.JSX.Element;
100
- };
101
- export declare const NoDataBaselineEstablishedWorkAQOutOfRange: {
102
- args: {
103
- previewState: string;
104
- participant: {
105
- hasPairedDevice: () => boolean;
106
- hasEstablishedBaseline: () => boolean;
107
- };
108
- };
109
- render: (args: AsthmaControlStatusHeaderProps) => React.JSX.Element;
110
- };
111
- export declare const NoDataBaselineEstablishedMultipleOutOfRange: {
112
- args: {
113
- previewState: string;
114
- participant: {
115
- hasPairedDevice: () => boolean;
116
- hasEstablishedBaseline: () => boolean;
117
- };
118
- };
119
- render: (args: AsthmaControlStatusHeaderProps) => React.JSX.Element;
120
- };
121
- export declare const NotDetermined: {
122
- args: {
123
- previewState: string;
124
- };
125
- render: (args: AsthmaControlStatusHeaderProps) => React.JSX.Element;
126
- };
127
- export declare const NotControlled: {
128
- args: {
129
- previewState: string;
130
- };
131
- render: (args: AsthmaControlStatusHeaderProps) => React.JSX.Element;
132
- };
133
- export declare const Controlled: {
134
- args: {
135
- previewState: string;
136
- };
137
- render: (args: AsthmaControlStatusHeaderProps) => React.JSX.Element;
138
- };
@@ -1,2 +0,0 @@
1
- export { default } from './AsthmaControlStatusHeader';
2
- export { AsthmaControlStatusHeaderPreviewState } from './AsthmaControlStatusHeader.previewData';
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import './AsthmaDashboardViewHeader.css';
3
- import { AsthmaDashboardViewHeaderPreviewState } from './AsthmaDashboardViewHeader.previewData';
4
- export interface AsthmaDashboardViewHeaderProps {
5
- previewState?: AsthmaDashboardViewHeaderPreviewState;
6
- logTodayEntrySurveyName: string;
7
- logYesterdayEntrySurveyName: string;
8
- innerRef?: React.Ref<HTMLDivElement>;
9
- }
10
- export default function (props: AsthmaDashboardViewHeaderProps): React.JSX.Element | null;
@@ -1,10 +0,0 @@
1
- import { AsthmaParticipant } from '../../model';
2
- import { AsthmaLogEntryHeaderPreviewState } from '../AsthmaLogEntryHeader';
3
- import { AsthmaControlStatusHeaderPreviewState } from '../AsthmaControlStatusHeader';
4
- export type AsthmaDashboardViewHeaderPreviewState = 'default';
5
- export interface AsthmaDashboardViewHeaderPreviewData {
6
- participant: AsthmaParticipant;
7
- logEntryPreviewState: AsthmaLogEntryHeaderPreviewState;
8
- controlStatusPreviewState: AsthmaControlStatusHeaderPreviewState;
9
- }
10
- export declare const previewData: Record<AsthmaDashboardViewHeaderPreviewState, AsthmaDashboardViewHeaderPreviewData>;
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import AsthmaDashboardViewHeader, { AsthmaDashboardViewHeaderProps } from './AsthmaDashboardViewHeader';
3
- declare const _default: {
4
- title: string;
5
- component: typeof AsthmaDashboardViewHeader;
6
- parameters: {
7
- layout: string;
8
- };
9
- };
10
- export default _default;
11
- export declare const Default: {
12
- args: {
13
- previewState: string;
14
- };
15
- render: (args: AsthmaDashboardViewHeaderProps) => React.JSX.Element;
16
- };
@@ -1,2 +0,0 @@
1
- export { default } from './AsthmaDashboardViewHeader';
2
- export { AsthmaDashboardViewHeaderPreviewState } from './AsthmaDashboardViewHeader.previewData';