allaw-ui 5.5.5 → 5.5.7
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.
|
@@ -182,11 +182,27 @@
|
|
|
182
182
|
margin-bottom: 2px;
|
|
183
183
|
}
|
|
184
184
|
|
|
185
|
+
.case-card-document-badge {
|
|
186
|
+
display: flex;
|
|
187
|
+
align-items: center;
|
|
188
|
+
justify-content: center;
|
|
189
|
+
height: 32px;
|
|
190
|
+
border-radius: 8px;
|
|
191
|
+
background-color: #eef5fc;
|
|
192
|
+
padding: 0 14px;
|
|
193
|
+
gap: 10px;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.case-card-document-badge i {
|
|
197
|
+
color: #25beeb;
|
|
198
|
+
font-size: 18px;
|
|
199
|
+
}
|
|
200
|
+
|
|
185
201
|
.case-card-document-counter {
|
|
186
|
-
color:
|
|
202
|
+
color: #456073;
|
|
187
203
|
font-family: "Open Sans", sans-serif;
|
|
188
|
-
font-size:
|
|
189
|
-
font-weight:
|
|
204
|
+
font-size: 14px;
|
|
205
|
+
font-weight: 600;
|
|
190
206
|
line-height: 1;
|
|
191
207
|
letter-spacing: 0.3px;
|
|
192
208
|
white-space: nowrap;
|
|
@@ -20,11 +20,17 @@ var CaseCard = function (_a) {
|
|
|
20
20
|
React.createElement(ProgressBar, { startIcon: false, endIcon: false, steps: steps, isWrapperProgressBar: false, currentStep: currentStep, barColor: barColor }))),
|
|
21
21
|
React.createElement("div", { className: "case-card-footer" },
|
|
22
22
|
React.createElement("div", { className: "case-card-categories" }, categories.map(function (category, index) { return (React.createElement(OtherStatusTag, { key: index, label: category, type: "readonly", labelLimit: categoryLabelLimit })); })),
|
|
23
|
-
(avatarUrl ||
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
(avatarUrl ||
|
|
24
|
+
(receivedDocuments !== undefined &&
|
|
25
|
+
totalDocuments !== undefined)) && (React.createElement("div", { className: "case-card-bottom-right" },
|
|
26
|
+
avatarUrl && (React.createElement(AvatarBubble, { firstName: "", name: "", src: avatarUrl, size: 40, disableHoverAnimation: true, clickable: false })),
|
|
27
|
+
receivedDocuments !== undefined &&
|
|
28
|
+
totalDocuments !== undefined && (React.createElement("div", { className: "case-card-document-badge" },
|
|
29
|
+
React.createElement("i", { className: "allaw-icon-document" }),
|
|
30
|
+
React.createElement("span", { className: "case-card-document-counter" },
|
|
31
|
+
receivedDocuments,
|
|
32
|
+
" / ",
|
|
33
|
+
totalDocuments))))))),
|
|
28
34
|
nextAppointment && variant !== "archived" && (React.createElement("div", { className: "case-card-next-appointment" },
|
|
29
35
|
React.createElement(CardDate, { date: nextAppointment.date, showYear: showYear, variant: dateStyle, label: dateLabel, isDisabled: isDisabled })))));
|
|
30
36
|
};
|