@pubuduth-aplicy/chat-ui 2.2.2 → 2.2.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/package.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
const SystemNotice = () => (
|
|
2
|
-
|
|
2
|
+
<div
|
|
3
|
+
style={{
|
|
3
4
|
padding: "1rem",
|
|
4
5
|
border: "1px solid #ddd",
|
|
5
6
|
borderRadius: "8px",
|
|
@@ -7,12 +8,33 @@ const SystemNotice = () => (
|
|
|
7
8
|
backgroundColor: "#f9f9f9",
|
|
8
9
|
fontSize: "14px",
|
|
9
10
|
textAlign: "center",
|
|
10
|
-
}}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
}}
|
|
12
|
+
>
|
|
13
|
+
<div
|
|
14
|
+
style={{
|
|
15
|
+
fontSize: "32px", // 🔥 control icon size here
|
|
16
|
+
lineHeight: 1,
|
|
17
|
+
marginBottom: "0.25rem",
|
|
18
|
+
}}
|
|
19
|
+
>
|
|
20
|
+
🛡
|
|
15
21
|
</div>
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
22
|
+
|
|
23
|
+
<strong
|
|
24
|
+
style={{
|
|
25
|
+
display: "block",
|
|
26
|
+
marginBottom: "0.5rem",
|
|
27
|
+
fontSize: "12px",
|
|
28
|
+
letterSpacing: "0.5px",
|
|
29
|
+
}}
|
|
30
|
+
>
|
|
31
|
+
WE HAVE YOUR BACK
|
|
32
|
+
</strong>
|
|
33
|
+
|
|
34
|
+
<p style={{ fontSize: "11px", margin: 0 }}>
|
|
35
|
+
For added safety and your protection, keep payments and communications
|
|
36
|
+
within Hirepanther.
|
|
37
|
+
</p>
|
|
38
|
+
</div>
|
|
39
|
+
);
|
|
40
|
+
export default SystemNotice;
|
|
@@ -420,7 +420,10 @@ const Message = ({ message }: MessageProps) => {
|
|
|
420
420
|
<div className="file-icon">
|
|
421
421
|
{media.type === "document" && "📄"}
|
|
422
422
|
</div>
|
|
423
|
-
<div className="file-info"
|
|
423
|
+
<div className="file-info"
|
|
424
|
+
onClick={() =>
|
|
425
|
+
window.open(`${cdnUrl}${media.url}`, "_blank")
|
|
426
|
+
}>
|
|
424
427
|
<span className="file-name">{media.name}</span>
|
|
425
428
|
<span className="file-size">
|
|
426
429
|
{(media.size / 1024).toFixed(1)} KB
|
|
@@ -334,7 +334,8 @@ const Conversations = () => {
|
|
|
334
334
|
|
|
335
335
|
{activeTab === "service" &&
|
|
336
336
|
Object.entries(filteredGroupedServiceChats).length > 0 && (
|
|
337
|
-
<div className="p-2
|
|
337
|
+
<div className="p-2"
|
|
338
|
+
style={{height:'400px'}}>
|
|
338
339
|
{Object.entries(filteredGroupedServiceChats).map(
|
|
339
340
|
([
|
|
340
341
|
serviceId,
|