@careevolution/mydatahelps-ui 2.9.1-Issue139.2 → 2.9.1-Issue139.4
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.
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/presentational/SingleSurveyTask/SingleSurveyTask.d.ts +2 -1
- package/dist/cjs/types/components/presentational/SingleSurveyTask/SingleSurveyTask.stories.d.ts +83 -11
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/presentational/SingleSurveyTask/SingleSurveyTask.d.ts +2 -1
- package/dist/esm/types/components/presentational/SingleSurveyTask/SingleSurveyTask.stories.d.ts +83 -11
- package/dist/index.d.ts +2 -1
- package/package.json +1 -1
|
@@ -10,7 +10,8 @@ export interface SingleSurveyTaskProps {
|
|
|
10
10
|
previewState?: SingleSurveyTaskPreviewState;
|
|
11
11
|
task: SurveyTask;
|
|
12
12
|
descriptionIcon?: IconDefinition;
|
|
13
|
-
|
|
13
|
+
onClick: () => void;
|
|
14
|
+
surveyActive?: boolean;
|
|
14
15
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
15
16
|
buttonColor?: ColorDefinition;
|
|
16
17
|
buttonVariant?: ButtonVariant;
|
package/dist/esm/types/components/presentational/SingleSurveyTask/SingleSurveyTask.stories.d.ts
CHANGED
|
@@ -12,11 +12,26 @@ export declare const Incomplete: {
|
|
|
12
12
|
args: {
|
|
13
13
|
task: {
|
|
14
14
|
status: string;
|
|
15
|
+
id: import("@careevolution/mydatahelps-js").Guid;
|
|
16
|
+
linkIdentifier: string;
|
|
17
|
+
surveyID: import("@careevolution/mydatahelps-js").Guid;
|
|
15
18
|
surveyName: string;
|
|
16
|
-
surveyDisplayName
|
|
17
|
-
surveyDescription
|
|
19
|
+
surveyDisplayName?: string | undefined;
|
|
20
|
+
surveyDescription?: string | undefined;
|
|
21
|
+
startDate?: string | undefined;
|
|
22
|
+
endDate?: string | undefined;
|
|
23
|
+
hasSavedProgress: boolean;
|
|
18
24
|
dueDate: string;
|
|
25
|
+
insertedDate: string;
|
|
26
|
+
modifiedDate: string;
|
|
19
27
|
};
|
|
28
|
+
previewState?: "hasBeenClicked" | undefined;
|
|
29
|
+
descriptionIcon?: import("@fortawesome/fontawesome-common-types").IconDefinition | undefined;
|
|
30
|
+
onClick: () => void;
|
|
31
|
+
surveyActive?: boolean | undefined;
|
|
32
|
+
innerRef?: React.Ref<HTMLDivElement> | undefined;
|
|
33
|
+
buttonColor?: import("../../..").ColorDefinition | undefined;
|
|
34
|
+
buttonVariant?: import("../Button/Button").ButtonVariant | undefined;
|
|
20
35
|
};
|
|
21
36
|
render: (args: SingleSurveyTaskProps) => React.JSX.Element;
|
|
22
37
|
};
|
|
@@ -25,24 +40,52 @@ export declare const IncompleteInProgress: {
|
|
|
25
40
|
task: {
|
|
26
41
|
status: string;
|
|
27
42
|
hasSavedProgress: boolean;
|
|
43
|
+
id: import("@careevolution/mydatahelps-js").Guid;
|
|
44
|
+
linkIdentifier: string;
|
|
45
|
+
surveyID: import("@careevolution/mydatahelps-js").Guid;
|
|
28
46
|
surveyName: string;
|
|
29
|
-
surveyDisplayName
|
|
30
|
-
surveyDescription
|
|
47
|
+
surveyDisplayName?: string | undefined;
|
|
48
|
+
surveyDescription?: string | undefined;
|
|
49
|
+
startDate?: string | undefined;
|
|
50
|
+
endDate?: string | undefined;
|
|
31
51
|
dueDate: string;
|
|
52
|
+
insertedDate: string;
|
|
53
|
+
modifiedDate: string;
|
|
32
54
|
};
|
|
55
|
+
previewState?: "hasBeenClicked" | undefined;
|
|
56
|
+
descriptionIcon?: import("@fortawesome/fontawesome-common-types").IconDefinition | undefined;
|
|
57
|
+
onClick: () => void;
|
|
58
|
+
surveyActive?: boolean | undefined;
|
|
59
|
+
innerRef?: React.Ref<HTMLDivElement> | undefined;
|
|
60
|
+
buttonColor?: import("../../..").ColorDefinition | undefined;
|
|
61
|
+
buttonVariant?: import("../Button/Button").ButtonVariant | undefined;
|
|
33
62
|
};
|
|
34
63
|
render: (args: SingleSurveyTaskProps) => React.JSX.Element;
|
|
35
64
|
};
|
|
36
|
-
export declare const
|
|
65
|
+
export declare const IncompleteSurveyActive: {
|
|
37
66
|
args: {
|
|
38
|
-
previewState: string;
|
|
39
67
|
task: {
|
|
40
68
|
status: string;
|
|
69
|
+
id: import("@careevolution/mydatahelps-js").Guid;
|
|
70
|
+
linkIdentifier: string;
|
|
71
|
+
surveyID: import("@careevolution/mydatahelps-js").Guid;
|
|
41
72
|
surveyName: string;
|
|
42
|
-
surveyDisplayName
|
|
43
|
-
surveyDescription
|
|
73
|
+
surveyDisplayName?: string | undefined;
|
|
74
|
+
surveyDescription?: string | undefined;
|
|
75
|
+
startDate?: string | undefined;
|
|
76
|
+
endDate?: string | undefined;
|
|
77
|
+
hasSavedProgress: boolean;
|
|
44
78
|
dueDate: string;
|
|
79
|
+
insertedDate: string;
|
|
80
|
+
modifiedDate: string;
|
|
45
81
|
};
|
|
82
|
+
surveyActive: boolean;
|
|
83
|
+
previewState?: "hasBeenClicked" | undefined;
|
|
84
|
+
descriptionIcon?: import("@fortawesome/fontawesome-common-types").IconDefinition | undefined;
|
|
85
|
+
onClick: () => void;
|
|
86
|
+
innerRef?: React.Ref<HTMLDivElement> | undefined;
|
|
87
|
+
buttonColor?: import("../../..").ColorDefinition | undefined;
|
|
88
|
+
buttonVariant?: import("../Button/Button").ButtonVariant | undefined;
|
|
46
89
|
};
|
|
47
90
|
render: (args: SingleSurveyTaskProps) => React.JSX.Element;
|
|
48
91
|
};
|
|
@@ -51,10 +94,25 @@ export declare const IncompleteWithLongDescription: {
|
|
|
51
94
|
task: {
|
|
52
95
|
status: string;
|
|
53
96
|
surveyDescription: string;
|
|
97
|
+
id: import("@careevolution/mydatahelps-js").Guid;
|
|
98
|
+
linkIdentifier: string;
|
|
99
|
+
surveyID: import("@careevolution/mydatahelps-js").Guid;
|
|
54
100
|
surveyName: string;
|
|
55
|
-
surveyDisplayName
|
|
101
|
+
surveyDisplayName?: string | undefined;
|
|
102
|
+
startDate?: string | undefined;
|
|
103
|
+
endDate?: string | undefined;
|
|
104
|
+
hasSavedProgress: boolean;
|
|
56
105
|
dueDate: string;
|
|
106
|
+
insertedDate: string;
|
|
107
|
+
modifiedDate: string;
|
|
57
108
|
};
|
|
109
|
+
previewState?: "hasBeenClicked" | undefined;
|
|
110
|
+
descriptionIcon?: import("@fortawesome/fontawesome-common-types").IconDefinition | undefined;
|
|
111
|
+
onClick: () => void;
|
|
112
|
+
surveyActive?: boolean | undefined;
|
|
113
|
+
innerRef?: React.Ref<HTMLDivElement> | undefined;
|
|
114
|
+
buttonColor?: import("../../..").ColorDefinition | undefined;
|
|
115
|
+
buttonVariant?: import("../Button/Button").ButtonVariant | undefined;
|
|
58
116
|
};
|
|
59
117
|
render: (args: SingleSurveyTaskProps) => React.JSX.Element;
|
|
60
118
|
};
|
|
@@ -63,11 +121,25 @@ export declare const Complete: {
|
|
|
63
121
|
task: {
|
|
64
122
|
status: string;
|
|
65
123
|
endDate: string;
|
|
124
|
+
id: import("@careevolution/mydatahelps-js").Guid;
|
|
125
|
+
linkIdentifier: string;
|
|
126
|
+
surveyID: import("@careevolution/mydatahelps-js").Guid;
|
|
66
127
|
surveyName: string;
|
|
67
|
-
surveyDisplayName
|
|
68
|
-
surveyDescription
|
|
128
|
+
surveyDisplayName?: string | undefined;
|
|
129
|
+
surveyDescription?: string | undefined;
|
|
130
|
+
startDate?: string | undefined;
|
|
131
|
+
hasSavedProgress: boolean;
|
|
69
132
|
dueDate: string;
|
|
133
|
+
insertedDate: string;
|
|
134
|
+
modifiedDate: string;
|
|
70
135
|
};
|
|
136
|
+
previewState?: "hasBeenClicked" | undefined;
|
|
137
|
+
descriptionIcon?: import("@fortawesome/fontawesome-common-types").IconDefinition | undefined;
|
|
138
|
+
onClick: () => void;
|
|
139
|
+
surveyActive?: boolean | undefined;
|
|
140
|
+
innerRef?: React.Ref<HTMLDivElement> | undefined;
|
|
141
|
+
buttonColor?: import("../../..").ColorDefinition | undefined;
|
|
142
|
+
buttonVariant?: import("../Button/Button").ButtonVariant | undefined;
|
|
71
143
|
};
|
|
72
144
|
render: (args: SingleSurveyTaskProps) => React.JSX.Element;
|
|
73
145
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -241,7 +241,8 @@ interface SingleSurveyTaskProps {
|
|
|
241
241
|
previewState?: SingleSurveyTaskPreviewState;
|
|
242
242
|
task: SurveyTask;
|
|
243
243
|
descriptionIcon?: IconDefinition$1;
|
|
244
|
-
|
|
244
|
+
onClick: () => void;
|
|
245
|
+
surveyActive?: boolean;
|
|
245
246
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
246
247
|
buttonColor?: ColorDefinition;
|
|
247
248
|
buttonVariant?: ButtonVariant;
|