@ttt-productions/chat-core 0.4.14 → 0.4.15
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 +1 -1
- package/src/styles/chat.css +13 -11
package/package.json
CHANGED
package/src/styles/chat.css
CHANGED
|
@@ -9,9 +9,11 @@
|
|
|
9
9
|
padding: 0.75rem;
|
|
10
10
|
border-radius: 0.5rem;
|
|
11
11
|
}
|
|
12
|
+
|
|
12
13
|
.chat-bubble--mine {
|
|
13
14
|
background-color: hsl(var(--primary) / 0.1);
|
|
14
15
|
}
|
|
16
|
+
|
|
15
17
|
.chat-bubble--theirs {
|
|
16
18
|
background-color: hsl(var(--muted));
|
|
17
19
|
}
|
|
@@ -20,6 +22,7 @@
|
|
|
20
22
|
.chat-group-gap {
|
|
21
23
|
margin-top: 0.75rem;
|
|
22
24
|
}
|
|
25
|
+
|
|
23
26
|
.chat-continuation-gap {
|
|
24
27
|
margin-top: 0.125rem;
|
|
25
28
|
}
|
|
@@ -44,10 +47,12 @@
|
|
|
44
47
|
background-color: hsl(var(--muted) / 0.5);
|
|
45
48
|
font-size: 0.75rem;
|
|
46
49
|
}
|
|
50
|
+
|
|
47
51
|
.chat-reply-quote-sender {
|
|
48
52
|
font-weight: 600;
|
|
49
53
|
color: hsl(var(--foreground));
|
|
50
54
|
}
|
|
55
|
+
|
|
51
56
|
.chat-reply-quote-preview {
|
|
52
57
|
color: hsl(var(--muted-foreground));
|
|
53
58
|
overflow: hidden;
|
|
@@ -66,11 +71,13 @@
|
|
|
66
71
|
background-color: hsl(var(--muted));
|
|
67
72
|
font-size: 0.75rem;
|
|
68
73
|
}
|
|
74
|
+
|
|
69
75
|
.chat-attachment-media {
|
|
70
76
|
max-width: 320px;
|
|
71
77
|
border-radius: 0.375rem;
|
|
72
78
|
overflow: hidden;
|
|
73
79
|
}
|
|
80
|
+
|
|
74
81
|
.chat-attachment-text-link {
|
|
75
82
|
display: inline-flex;
|
|
76
83
|
align-items: center;
|
|
@@ -83,19 +90,11 @@
|
|
|
83
90
|
text-decoration: none;
|
|
84
91
|
transition: opacity 0.15s;
|
|
85
92
|
}
|
|
93
|
+
|
|
86
94
|
.chat-attachment-text-link:hover {
|
|
87
95
|
opacity: 0.8;
|
|
88
96
|
}
|
|
89
|
-
|
|
90
|
-
display: flex;
|
|
91
|
-
align-items: center;
|
|
92
|
-
gap: 0.375rem;
|
|
93
|
-
padding: 0.5rem 0.75rem;
|
|
94
|
-
border-radius: 0.375rem;
|
|
95
|
-
background-color: hsl(var(--destructive) / 0.1);
|
|
96
|
-
color: hsl(var(--destructive));
|
|
97
|
-
font-size: 0.75rem;
|
|
98
|
-
}
|
|
97
|
+
|
|
99
98
|
.chat-attachment-rejected {
|
|
100
99
|
display: flex;
|
|
101
100
|
align-items: center;
|
|
@@ -114,6 +113,7 @@
|
|
|
114
113
|
gap: 0.5rem;
|
|
115
114
|
width: 100%;
|
|
116
115
|
}
|
|
116
|
+
|
|
117
117
|
.chat-composer-file-preview {
|
|
118
118
|
display: flex;
|
|
119
119
|
align-items: center;
|
|
@@ -123,6 +123,7 @@
|
|
|
123
123
|
background-color: hsl(var(--muted));
|
|
124
124
|
font-size: 0.8125rem;
|
|
125
125
|
}
|
|
126
|
+
|
|
126
127
|
.chat-composer-file-name {
|
|
127
128
|
flex: 1;
|
|
128
129
|
min-width: 0;
|
|
@@ -130,8 +131,9 @@
|
|
|
130
131
|
text-overflow: ellipsis;
|
|
131
132
|
white-space: nowrap;
|
|
132
133
|
}
|
|
134
|
+
|
|
133
135
|
.chat-composer-upload-status {
|
|
134
136
|
display: flex;
|
|
135
137
|
align-items: center;
|
|
136
138
|
gap: 0.375rem;
|
|
137
|
-
}
|
|
139
|
+
}
|