@careevolution/mydatahelps-ui 2.9.1-Issue139.0 → 2.9.1-Issue139.2

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.
@@ -5,7 +5,7 @@ import { IconDefinition } from '@fortawesome/fontawesome-common-types';
5
5
  import '@fortawesome/fontawesome-svg-core/styles.css';
6
6
  import { ColorDefinition } from '../../../helpers/colors';
7
7
  import { ButtonVariant } from '../Button/Button';
8
- export type SingleSurveyTaskPreviewState = 'surveyActive';
8
+ export type SingleSurveyTaskPreviewState = 'hasBeenClicked';
9
9
  export interface SingleSurveyTaskProps {
10
10
  previewState?: SingleSurveyTaskPreviewState;
11
11
  task: SurveyTask;
@@ -0,0 +1,73 @@
1
+ import React from 'react';
2
+ import SingleSurveyTask, { SingleSurveyTaskProps } from './SingleSurveyTask';
3
+ declare const _default: {
4
+ title: string;
5
+ component: typeof SingleSurveyTask;
6
+ parameters: {
7
+ layout: string;
8
+ };
9
+ };
10
+ export default _default;
11
+ export declare const Incomplete: {
12
+ args: {
13
+ task: {
14
+ status: string;
15
+ surveyName: string;
16
+ surveyDisplayName: string;
17
+ surveyDescription: string;
18
+ dueDate: string;
19
+ };
20
+ };
21
+ render: (args: SingleSurveyTaskProps) => React.JSX.Element;
22
+ };
23
+ export declare const IncompleteInProgress: {
24
+ args: {
25
+ task: {
26
+ status: string;
27
+ hasSavedProgress: boolean;
28
+ surveyName: string;
29
+ surveyDisplayName: string;
30
+ surveyDescription: string;
31
+ dueDate: string;
32
+ };
33
+ };
34
+ render: (args: SingleSurveyTaskProps) => React.JSX.Element;
35
+ };
36
+ export declare const IncompleteAlreadyClicked: {
37
+ args: {
38
+ previewState: string;
39
+ task: {
40
+ status: string;
41
+ surveyName: string;
42
+ surveyDisplayName: string;
43
+ surveyDescription: string;
44
+ dueDate: string;
45
+ };
46
+ };
47
+ render: (args: SingleSurveyTaskProps) => React.JSX.Element;
48
+ };
49
+ export declare const IncompleteWithLongDescription: {
50
+ args: {
51
+ task: {
52
+ status: string;
53
+ surveyDescription: string;
54
+ surveyName: string;
55
+ surveyDisplayName: string;
56
+ dueDate: string;
57
+ };
58
+ };
59
+ render: (args: SingleSurveyTaskProps) => React.JSX.Element;
60
+ };
61
+ export declare const Complete: {
62
+ args: {
63
+ task: {
64
+ status: string;
65
+ endDate: string;
66
+ surveyName: string;
67
+ surveyDisplayName: string;
68
+ surveyDescription: string;
69
+ dueDate: string;
70
+ };
71
+ };
72
+ render: (args: SingleSurveyTaskProps) => React.JSX.Element;
73
+ };