@katechat/ui 1.0.4 → 1.0.6
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/README.md +32 -20
- package/dist/cjs/index.css +114 -111
- package/dist/cjs/index.css.map +2 -2
- package/dist/cjs/index.js +52 -48
- package/dist/cjs/index.js.map +2 -2
- package/dist/esm/index.css +114 -111
- package/dist/esm/index.css.map +2 -2
- package/dist/esm/index.js +53 -49
- package/dist/esm/index.js.map +3 -3
- package/dist/types/__mocks__/fileMock.d.ts +3 -0
- package/dist/types/__mocks__/fileMock.d.ts.map +1 -0
- package/dist/types/__mocks__/styleMock.d.ts +2 -0
- package/dist/types/__mocks__/styleMock.d.ts.map +1 -0
- package/dist/types/components/chat/ChatMessagesContainer.d.ts +23 -0
- package/dist/types/components/chat/ChatMessagesContainer.d.ts.map +1 -0
- package/dist/types/components/chat/ChatMessagesList.d.ts +16 -0
- package/dist/types/components/chat/ChatMessagesList.d.ts.map +1 -0
- package/dist/types/components/chat/index.d.ts +5 -0
- package/dist/types/components/chat/index.d.ts.map +1 -0
- package/dist/types/components/chat/input/ChatInput.d.ts +22 -0
- package/dist/types/components/chat/input/ChatInput.d.ts.map +1 -0
- package/dist/types/components/chat/input/index.d.ts +2 -0
- package/dist/types/components/chat/input/index.d.ts.map +1 -0
- package/dist/types/components/chat/message/ChatMessage.d.ts +16 -0
- package/dist/types/components/chat/message/ChatMessage.d.ts.map +1 -0
- package/dist/types/components/chat/message/ChatMessagePreview.d.ts +6 -0
- package/dist/types/components/chat/message/ChatMessagePreview.d.ts.map +1 -0
- package/dist/types/components/chat/message/LinkedChatMessage.d.ts +15 -0
- package/dist/types/components/chat/message/LinkedChatMessage.d.ts.map +1 -0
- package/dist/types/components/chat/message/MessageStatus.d.ts +6 -0
- package/dist/types/components/chat/message/MessageStatus.d.ts.map +1 -0
- package/dist/types/components/chat/message/controls/CopyMessageButton.d.ts +7 -0
- package/dist/types/components/chat/message/controls/CopyMessageButton.d.ts.map +1 -0
- package/dist/types/components/chat/message/index.d.ts +5 -0
- package/dist/types/components/chat/message/index.d.ts.map +1 -0
- package/dist/types/components/icons/ProviderIcon.d.ts +8 -0
- package/dist/types/components/icons/ProviderIcon.d.ts.map +1 -0
- package/dist/types/components/icons/index.d.ts +2 -0
- package/dist/types/components/icons/index.d.ts.map +1 -0
- package/dist/types/components/index.d.ts +4 -0
- package/dist/types/components/index.d.ts.map +1 -0
- package/dist/types/components/modal/ImagePopup.d.ts +13 -0
- package/dist/types/components/modal/ImagePopup.d.ts.map +1 -0
- package/dist/types/components/modal/index.d.ts +2 -0
- package/dist/types/components/modal/index.d.ts.map +1 -0
- package/dist/types/controls/FileDropzone/FileDropzone.d.ts +10 -0
- package/dist/types/controls/FileDropzone/FileDropzone.d.ts.map +1 -0
- package/dist/types/controls/index.d.ts +2 -0
- package/dist/types/controls/index.d.ts.map +1 -0
- package/dist/types/core/ai.d.ts +2 -0
- package/dist/types/core/ai.d.ts.map +1 -0
- package/dist/types/core/index.d.ts +5 -0
- package/dist/types/core/index.d.ts.map +1 -0
- package/dist/types/core/message.d.ts +57 -0
- package/dist/types/core/message.d.ts.map +1 -0
- package/dist/types/core/model.d.ts +22 -0
- package/dist/types/core/model.d.ts.map +1 -0
- package/dist/types/core/user.d.ts +9 -0
- package/dist/types/core/user.d.ts.map +1 -0
- package/dist/types/hooks/index.d.ts +3 -0
- package/dist/types/hooks/index.d.ts.map +1 -0
- package/dist/types/hooks/useIntersectionObserver.d.ts +3 -0
- package/dist/types/hooks/useIntersectionObserver.d.ts.map +1 -0
- package/dist/types/hooks/useTheme.d.ts +14 -0
- package/dist/types/hooks/useTheme.d.ts.map +1 -0
- package/dist/types/index.d.ts +6 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/lib/__tests__/markdown.parser.testUtils.d.ts +13 -0
- package/dist/types/lib/__tests__/markdown.parser.testUtils.d.ts.map +1 -0
- package/dist/types/lib/assert.d.ts +3 -0
- package/dist/types/lib/assert.d.ts.map +1 -0
- package/dist/types/lib/markdown.parser.d.ts +11 -0
- package/dist/types/lib/markdown.parser.d.ts.map +1 -0
- package/dist/types/setupTests.d.ts +2 -0
- package/dist/types/setupTests.d.ts.map +1 -0
- package/dist/types/{tsconfig.tsbuildinfo → tsconfig.build.tsbuildinfo} +1 -1
- package/package.json +5 -3
- package/dist/index.css +0 -1
- package/dist/index.js +0 -539
package/dist/cjs/index.css
CHANGED
|
@@ -1,79 +1,78 @@
|
|
|
1
1
|
@import "@mantine/core/styles.css";
|
|
2
2
|
|
|
3
3
|
/* esbuild-sass-plugin:css-chunk:src/components/chat/message/ChatMessage.module.scss */
|
|
4
|
-
.
|
|
4
|
+
._messageContainer_bxv2j_1 {
|
|
5
5
|
width: 100%;
|
|
6
6
|
overflow-x: hidden;
|
|
7
7
|
display: flex;
|
|
8
8
|
flex-direction: row;
|
|
9
9
|
}
|
|
10
|
-
.
|
|
11
|
-
.
|
|
12
|
-
padding: var(--mantine-spacing-md);
|
|
10
|
+
._messageContainer_bxv2j_1 ._main_bxv2j_7,
|
|
11
|
+
._messageContainer_bxv2j_1 ._linked_bxv2j_8 {
|
|
12
|
+
padding: var(--mantine-spacing-xs) var(--mantine-spacing-md);
|
|
13
13
|
flex-grow: 1;
|
|
14
14
|
width: 50%;
|
|
15
15
|
display: flex;
|
|
16
16
|
flex-direction: column;
|
|
17
17
|
border-radius: var(--mantine-radius-md);
|
|
18
18
|
}
|
|
19
|
-
.
|
|
19
|
+
._messageContainer_bxv2j_1 ._linked_bxv2j_8 {
|
|
20
20
|
margin: 0 var(--mantine-spacing-md);
|
|
21
21
|
}
|
|
22
|
-
.
|
|
22
|
+
._messageContainer_bxv2j_1 ._linkedToggle_bxv2j_19 {
|
|
23
23
|
display: none;
|
|
24
24
|
}
|
|
25
25
|
@media (max-width: 1280px) {
|
|
26
|
-
.
|
|
26
|
+
._messageContainer_bxv2j_1 {
|
|
27
27
|
flex-direction: column;
|
|
28
28
|
position: relative;
|
|
29
29
|
}
|
|
30
|
-
.
|
|
30
|
+
._messageContainer_bxv2j_1 ._linkedToggle_bxv2j_19 {
|
|
31
31
|
position: absolute;
|
|
32
32
|
right: 0.5rem;
|
|
33
33
|
top: 0.5rem;
|
|
34
34
|
display: flex;
|
|
35
35
|
z-index: 5;
|
|
36
36
|
}
|
|
37
|
-
.
|
|
38
|
-
.
|
|
37
|
+
._messageContainer_bxv2j_1 ._main_bxv2j_7,
|
|
38
|
+
._messageContainer_bxv2j_1 ._linked_bxv2j_8 {
|
|
39
39
|
width: 100%;
|
|
40
40
|
margin: 0;
|
|
41
41
|
border-radius: 0;
|
|
42
42
|
}
|
|
43
|
-
.
|
|
43
|
+
._messageContainer_bxv2j_1 ._hidden_bxv2j_41 {
|
|
44
44
|
display: none;
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
.
|
|
47
|
+
._linkedMessageContainer_bxv2j_45 {
|
|
48
48
|
width: 100%;
|
|
49
49
|
overflow-x: hidden;
|
|
50
50
|
display: flex;
|
|
51
51
|
flex-direction: column;
|
|
52
52
|
}
|
|
53
|
-
.
|
|
53
|
+
._message_bxv2j_1 {
|
|
54
54
|
display: flex;
|
|
55
55
|
flex-direction: column;
|
|
56
56
|
align-items: stretch;
|
|
57
|
-
padding: var(--mb-padding, var(--mantine-spacing-sm));
|
|
58
57
|
border-radius: var(--mantine-radius-md);
|
|
59
|
-
margin-top: var(--mantine-spacing-
|
|
58
|
+
margin-top: var(--mantine-spacing-md);
|
|
60
59
|
}
|
|
61
|
-
.
|
|
60
|
+
._message_bxv2j_1 p {
|
|
62
61
|
margin-block-start: 0;
|
|
63
62
|
margin-block-end: 0;
|
|
64
63
|
}
|
|
65
|
-
.
|
|
64
|
+
._message_bxv2j_1 blockquote {
|
|
66
65
|
padding: 0 var(--mb-padding, var(--mantine-spacing-sm));
|
|
67
66
|
border-left: 0.5rem solid var(--mantine-color-default-border);
|
|
68
67
|
margin: 0.25rem 0;
|
|
69
68
|
}
|
|
70
|
-
.
|
|
69
|
+
._message_bxv2j_1 hr {
|
|
71
70
|
width: 100%;
|
|
72
71
|
margin: 0.5rem 0 0.25rem;
|
|
73
72
|
border: none;
|
|
74
73
|
border-top: 1px solid var(--mantine-color-default-border);
|
|
75
74
|
}
|
|
76
|
-
.
|
|
75
|
+
._message_bxv2j_1 img {
|
|
77
76
|
max-width: 256px;
|
|
78
77
|
max-height: 256px;
|
|
79
78
|
align-self: center;
|
|
@@ -81,77 +80,77 @@
|
|
|
81
80
|
margin: 0 auto;
|
|
82
81
|
cursor: pointer;
|
|
83
82
|
}
|
|
84
|
-
.
|
|
83
|
+
._message_bxv2j_1._preview_bxv2j_82 {
|
|
85
84
|
height: 200px;
|
|
86
85
|
padding: var(--mb-padding, var(--mantine-spacing-sm)) 0 0 0;
|
|
87
86
|
font-size: 80%;
|
|
88
87
|
}
|
|
89
|
-
.
|
|
88
|
+
._message_bxv2j_1._preview_bxv2j_82 img {
|
|
90
89
|
max-width: 50%;
|
|
91
90
|
height: auto;
|
|
92
91
|
}
|
|
93
|
-
.
|
|
92
|
+
._message_bxv2j_1 ._detailsBlock_bxv2j_91 {
|
|
94
93
|
margin-top: 1rem;
|
|
95
94
|
font-size: 80%;
|
|
96
95
|
display: flex;
|
|
97
96
|
flex-direction: column;
|
|
98
97
|
gap: 0;
|
|
99
98
|
}
|
|
100
|
-
.
|
|
101
|
-
.
|
|
99
|
+
._message_bxv2j_1 ._detailsBlock_bxv2j_91 ol,
|
|
100
|
+
._message_bxv2j_1 ._detailsBlock_bxv2j_91 ul {
|
|
102
101
|
margin: 0.25rem 0;
|
|
103
102
|
padding: 0 0 0 1rem;
|
|
104
103
|
}
|
|
105
|
-
.
|
|
104
|
+
._message_bxv2j_1 ._detailsBlock_bxv2j_91 .message-details-header {
|
|
106
105
|
margin-bottom: var(--mantine-spacing-md);
|
|
107
106
|
margin-left: 1rem;
|
|
108
107
|
}
|
|
109
|
-
.
|
|
108
|
+
._message_bxv2j_1 ._detailsBlock_bxv2j_91 .message-details-header svg {
|
|
110
109
|
color: var(--mantine-color-gray-7);
|
|
111
110
|
}
|
|
112
|
-
.
|
|
111
|
+
._message_bxv2j_1 ._detailsBlock_bxv2j_91 .message-details-content {
|
|
113
112
|
padding-left: var(--mantine-spacing-md);
|
|
114
113
|
border-left: 1px solid var(--mantine-color-gray-7);
|
|
115
114
|
margin-left: 1.5rem;
|
|
116
115
|
}
|
|
117
|
-
.
|
|
116
|
+
._message_bxv2j_1 table {
|
|
118
117
|
margin-top: var(--mantine-spacing-md);
|
|
119
118
|
margin-bottom: var(--mantine-spacing-md);
|
|
120
119
|
border-spacing: 0;
|
|
121
120
|
}
|
|
122
|
-
.
|
|
123
|
-
.
|
|
121
|
+
._message_bxv2j_1 table td,
|
|
122
|
+
._message_bxv2j_1 table th {
|
|
124
123
|
padding: var(--mb-padding, var(--mantine-spacing-xs));
|
|
125
124
|
margin: 0;
|
|
126
125
|
border-top: 1px solid var(--mantine-color-default-border);
|
|
127
126
|
border-left: 1px solid var(--mantine-color-default-border);
|
|
128
127
|
}
|
|
129
|
-
.
|
|
130
|
-
.
|
|
128
|
+
._message_bxv2j_1 table tr td:last-child,
|
|
129
|
+
._message_bxv2j_1 table tr th:last-child {
|
|
131
130
|
border-right: 1px solid var(--mantine-color-default-border);
|
|
132
131
|
}
|
|
133
|
-
.
|
|
132
|
+
._message_bxv2j_1 table tr:last-child td {
|
|
134
133
|
border-bottom: 1px solid var(--mantine-color-default-border);
|
|
135
134
|
}
|
|
136
|
-
.
|
|
135
|
+
._message_bxv2j_1 table tr:nth-child(2n) {
|
|
137
136
|
background-color: var(--mantine-color-dark-5);
|
|
138
137
|
}
|
|
139
|
-
.
|
|
138
|
+
._message_bxv2j_1 table thead tr {
|
|
140
139
|
background-color: var(--mantine-color-dark-5);
|
|
141
140
|
}
|
|
142
|
-
.
|
|
141
|
+
._message_bxv2j_1 table thead tr:first-child th:first-child {
|
|
143
142
|
border-top-left-radius: var(--mantine-radius-md);
|
|
144
143
|
}
|
|
145
|
-
.
|
|
144
|
+
._message_bxv2j_1 table thead tr:first-child th:last-child {
|
|
146
145
|
border-top-right-radius: var(--mantine-radius-md);
|
|
147
146
|
}
|
|
148
|
-
.
|
|
147
|
+
._message_bxv2j_1 table tr:last-child td:first-child {
|
|
149
148
|
border-bottom-left-radius: var(--mantine-radius-md);
|
|
150
149
|
}
|
|
151
|
-
.
|
|
150
|
+
._message_bxv2j_1 table tr:last-child td:last-child {
|
|
152
151
|
border-bottom-right-radius: var(--mantine-radius-md);
|
|
153
152
|
}
|
|
154
|
-
.
|
|
153
|
+
._message_bxv2j_1 pre {
|
|
155
154
|
margin: 0.5rem 0;
|
|
156
155
|
padding: 1em;
|
|
157
156
|
clip-path: none;
|
|
@@ -160,7 +159,7 @@
|
|
|
160
159
|
font-family: var(--monospace-font-family);
|
|
161
160
|
overflow-x: auto;
|
|
162
161
|
}
|
|
163
|
-
.
|
|
162
|
+
._message_bxv2j_1 .code-header {
|
|
164
163
|
font-size: 0.875rem;
|
|
165
164
|
margin-top: 0.5rem;
|
|
166
165
|
padding: 0.25rem 1rem 0.25rem 0.5rem;
|
|
@@ -173,7 +172,7 @@
|
|
|
173
172
|
white-space: normal;
|
|
174
173
|
gap: 0.5rem;
|
|
175
174
|
}
|
|
176
|
-
.
|
|
175
|
+
._message_bxv2j_1 .code-header .title {
|
|
177
176
|
width: fit-content;
|
|
178
177
|
font-weight: 700;
|
|
179
178
|
display: flex;
|
|
@@ -183,17 +182,17 @@
|
|
|
183
182
|
user-select: none;
|
|
184
183
|
min-height: 2rem;
|
|
185
184
|
}
|
|
186
|
-
.
|
|
185
|
+
._message_bxv2j_1 .code-header .title .header-toggle {
|
|
187
186
|
margin-right: 0.5rem;
|
|
188
187
|
display: none;
|
|
189
188
|
display: inline-block;
|
|
190
189
|
transform: rotateZ(90deg);
|
|
191
190
|
transition: transform var(--theme-default-time) ease;
|
|
192
191
|
}
|
|
193
|
-
.
|
|
192
|
+
._message_bxv2j_1 .code-header .code-header-actions {
|
|
194
193
|
align-content: flex-end;
|
|
195
194
|
}
|
|
196
|
-
.
|
|
195
|
+
._message_bxv2j_1 .code-header .action-btn {
|
|
197
196
|
padding: 0.1rem;
|
|
198
197
|
line-height: 1;
|
|
199
198
|
display: flex;
|
|
@@ -203,18 +202,18 @@
|
|
|
203
202
|
gap: 0.25rem;
|
|
204
203
|
cursor: pointer;
|
|
205
204
|
}
|
|
206
|
-
.
|
|
205
|
+
._message_bxv2j_1 .code-header.collapsed {
|
|
207
206
|
border-bottom-right-radius: 0.25em;
|
|
208
207
|
border-bottom-left-radius: 0.25em;
|
|
209
208
|
margin-bottom: 0;
|
|
210
209
|
}
|
|
211
|
-
.
|
|
210
|
+
._message_bxv2j_1 .code-header.collapsed .title .header-toggle {
|
|
212
211
|
transform: translateY(0.2rem) rotateZ(0deg);
|
|
213
212
|
}
|
|
214
|
-
.
|
|
213
|
+
._message_bxv2j_1 .code-header.collapsed .code-copy-btn {
|
|
215
214
|
display: none;
|
|
216
215
|
}
|
|
217
|
-
.
|
|
216
|
+
._message_bxv2j_1 .code-block {
|
|
218
217
|
flex-grow: 1;
|
|
219
218
|
overflow-x: auto;
|
|
220
219
|
margin-top: 0;
|
|
@@ -226,94 +225,98 @@
|
|
|
226
225
|
height 0.5s ease,
|
|
227
226
|
opacity 0.5s ease;
|
|
228
227
|
}
|
|
229
|
-
.
|
|
228
|
+
._message_bxv2j_1 .code-block pre {
|
|
230
229
|
margin: 0;
|
|
231
230
|
white-space: pre;
|
|
232
231
|
}
|
|
233
|
-
.
|
|
232
|
+
._message_bxv2j_1 .code-block.collapsed {
|
|
234
233
|
clip-path: inset(0 0 100% 0);
|
|
235
234
|
overflow-y: hidden;
|
|
236
235
|
height: 0;
|
|
237
236
|
opacity: 0;
|
|
238
237
|
}
|
|
239
|
-
.
|
|
238
|
+
._message_bxv2j_1 .code-data {
|
|
240
239
|
display: none;
|
|
241
240
|
}
|
|
242
|
-
.
|
|
241
|
+
._message_bxv2j_1 .code-footer {
|
|
243
242
|
font-size: 90%;
|
|
244
243
|
display: flex;
|
|
245
244
|
align-items: flex-start;
|
|
246
245
|
margin-bottom: 0.7rem;
|
|
247
246
|
}
|
|
248
|
-
.
|
|
247
|
+
._message_bxv2j_1 .code-footer.collapsed {
|
|
249
248
|
display: none;
|
|
250
249
|
}
|
|
251
|
-
.
|
|
250
|
+
._message_bxv2j_1 .katex-html {
|
|
252
251
|
display: inline-block;
|
|
253
252
|
margin: 0.5rem 0.5rem 0 0;
|
|
254
253
|
}
|
|
255
|
-
.
|
|
254
|
+
._messageFooter_bxv2j_251 {
|
|
256
255
|
display: flex;
|
|
257
256
|
flex-direction: row;
|
|
258
257
|
align-items: center;
|
|
259
258
|
gap: 0.5rem;
|
|
260
|
-
padding: 0.5rem 0 0
|
|
259
|
+
padding: 0.5rem 0 0;
|
|
261
260
|
opacity: 0.5;
|
|
262
261
|
transition: opacity var(--theme-default-time) ease;
|
|
263
262
|
}
|
|
264
|
-
.
|
|
263
|
+
._messageFooter_bxv2j_251 .check-icon {
|
|
265
264
|
display: none;
|
|
266
265
|
}
|
|
267
|
-
.
|
|
266
|
+
._messageFooter_bxv2j_251:hover {
|
|
268
267
|
opacity: 1;
|
|
269
268
|
}
|
|
270
|
-
[data-mantine-color-scheme=dark] .
|
|
271
|
-
[data-mantine-color-scheme=dark] .
|
|
269
|
+
[data-mantine-color-scheme=dark] ._messageContainer_bxv2j_1 .code-block,
|
|
270
|
+
[data-mantine-color-scheme=dark] ._messageContainer_bxv2j_1 pre {
|
|
272
271
|
background-color: var(--mantine-color-dark-6);
|
|
273
272
|
}
|
|
274
|
-
[data-mantine-color-scheme=dark] .
|
|
273
|
+
[data-mantine-color-scheme=dark] ._messageContainer_bxv2j_1 .code-header {
|
|
275
274
|
background-color: var(--mantine-color-dark-6);
|
|
276
275
|
}
|
|
277
|
-
[data-mantine-color-scheme=dark] .
|
|
276
|
+
[data-mantine-color-scheme=dark] ._messageContainer_bxv2j_1 .code-header:hover {
|
|
278
277
|
background-color: var(--mantine-color-dark-5);
|
|
279
278
|
}
|
|
280
|
-
[data-mantine-color-scheme=dark] .
|
|
281
|
-
background-color: var(--mantine-color-dark-
|
|
279
|
+
[data-mantine-color-scheme=dark] ._messageContainer_bxv2j_1._user_bxv2j_277 {
|
|
280
|
+
background-color: var(--mantine-color-dark-8);
|
|
281
|
+
border-top: 1px solid var(--mantine-color-dark-6);
|
|
282
|
+
border-bottom: 1px solid var(--mantine-color-dark-6);
|
|
282
283
|
}
|
|
283
|
-
[data-mantine-color-scheme=dark] .
|
|
284
|
+
[data-mantine-color-scheme=dark] ._messageContainer_bxv2j_1._error_bxv2j_282 ._message_bxv2j_1 {
|
|
284
285
|
color: var(--mantine-color-yellow-9);
|
|
285
286
|
}
|
|
286
|
-
[data-mantine-color-scheme=dark] .
|
|
287
|
+
[data-mantine-color-scheme=dark] ._messageContainer_bxv2j_1 ._linked_bxv2j_8 {
|
|
287
288
|
background-color: var(--mantine-color-dark-8);
|
|
288
289
|
}
|
|
289
|
-
[data-mantine-color-scheme=light] .
|
|
290
|
-
[data-mantine-color-scheme=light] .
|
|
290
|
+
[data-mantine-color-scheme=light] ._messageContainer_bxv2j_1 .code-block,
|
|
291
|
+
[data-mantine-color-scheme=light] ._messageContainer_bxv2j_1 pre {
|
|
291
292
|
background-color: var(--mantine-color-gray-3);
|
|
292
293
|
}
|
|
293
|
-
[data-mantine-color-scheme=light] .
|
|
294
|
+
[data-mantine-color-scheme=light] ._messageContainer_bxv2j_1 .code-header {
|
|
294
295
|
background-color: var(--mantine-color-gray-3);
|
|
295
296
|
}
|
|
296
|
-
[data-mantine-color-scheme=light] .
|
|
297
|
+
[data-mantine-color-scheme=light] ._messageContainer_bxv2j_1 .code-header:hover {
|
|
297
298
|
background-color: var(--mantine-color-gray-4);
|
|
298
299
|
}
|
|
299
|
-
[data-mantine-color-scheme=light] .
|
|
300
|
+
[data-mantine-color-scheme=light] ._messageContainer_bxv2j_1._user_bxv2j_277 {
|
|
300
301
|
background-color: var(--mantine-color-blue-0);
|
|
302
|
+
border-top: 1px solid var(--mantine-color-blue-1);
|
|
303
|
+
border-bottom: 1px solid var(--mantine-color-blue-1);
|
|
301
304
|
}
|
|
302
|
-
[data-mantine-color-scheme=light] .
|
|
305
|
+
[data-mantine-color-scheme=light] ._messageContainer_bxv2j_1._error_bxv2j_282 ._message_bxv2j_1 {
|
|
303
306
|
color: var(--mantine-color-red-5);
|
|
304
307
|
}
|
|
305
|
-
[data-mantine-color-scheme=light] .
|
|
308
|
+
[data-mantine-color-scheme=light] ._messageContainer_bxv2j_1 ._linked_bxv2j_8 {
|
|
306
309
|
background-color: var(--mantine-color-gray-3);
|
|
307
310
|
}
|
|
308
|
-
[data-mantine-color-scheme=light] .
|
|
311
|
+
[data-mantine-color-scheme=light] ._messageContainer_bxv2j_1 tr:nth-child(2n) {
|
|
309
312
|
background-color: var(--mantine-color-blue-1);
|
|
310
313
|
}
|
|
311
|
-
[data-mantine-color-scheme=light] .
|
|
314
|
+
[data-mantine-color-scheme=light] ._messageContainer_bxv2j_1 thead tr {
|
|
312
315
|
background-color: var(--mantine-color-blue-1);
|
|
313
316
|
}
|
|
314
317
|
|
|
315
318
|
/* esbuild-sass-plugin:css-chunk:src/components/chat/message/ChatMessage.Carousel.module.scss */
|
|
316
|
-
.
|
|
319
|
+
._controls_pp1ia_1:where([data-orientation=horizontal]) {
|
|
317
320
|
bottom: auto !important;
|
|
318
321
|
top: 0.5rem !important;
|
|
319
322
|
left: calc(50% - 5rem) !important;
|
|
@@ -322,54 +325,54 @@
|
|
|
322
325
|
}
|
|
323
326
|
|
|
324
327
|
/* esbuild-sass-plugin:css-chunk:src/controls/FileDropzone/FileDropzone.module.scss */
|
|
325
|
-
.
|
|
328
|
+
._dropzone_16zca_1 {
|
|
326
329
|
cursor: pointer;
|
|
327
330
|
}
|
|
328
|
-
.
|
|
331
|
+
._dropzone_16zca_1:hover {
|
|
329
332
|
color: var(--mantine-color-brand-6);
|
|
330
333
|
}
|
|
331
|
-
.
|
|
334
|
+
._dragging_16zca_8 {
|
|
332
335
|
color: var(--mantine-color-brand-6);
|
|
333
336
|
}
|
|
334
|
-
.
|
|
337
|
+
._disabled_16zca_12 {
|
|
335
338
|
color: var(--mantine-color-gray-4);
|
|
336
339
|
cursor: not-allowed;
|
|
337
340
|
}
|
|
338
341
|
|
|
339
342
|
/* esbuild-sass-plugin:css-chunk:src/components/chat/input/ChatInput.module.scss */
|
|
340
|
-
[data-mantine-color-scheme=light] .
|
|
343
|
+
[data-mantine-color-scheme=light] ._chatControlsContainer_1cjl9_1 ._chatControls_1cjl9_1 {
|
|
341
344
|
border: 1px solid var(--app-shell-border-color);
|
|
342
345
|
}
|
|
343
|
-
[data-mantine-color-scheme=light] .
|
|
346
|
+
[data-mantine-color-scheme=light] ._chatControlsContainer_1cjl9_1 ._headerRow_1cjl9_4 {
|
|
344
347
|
background-color: var(--mantine-color-gray-4);
|
|
345
348
|
}
|
|
346
|
-
[data-mantine-color-scheme=light] .
|
|
349
|
+
[data-mantine-color-scheme=light] ._chatControlsContainer_1cjl9_1 ._chatInputGroup_1cjl9_7 ._chatInput_1cjl9_7 textarea {
|
|
347
350
|
border: 1px solid var(--app-shell-border-color);
|
|
348
351
|
}
|
|
349
|
-
.
|
|
352
|
+
._chatControlsContainer_1cjl9_1 {
|
|
350
353
|
display: flex;
|
|
351
354
|
flex-direction: column;
|
|
352
355
|
align-items: stretch;
|
|
353
356
|
justify-content: center;
|
|
354
357
|
}
|
|
355
|
-
.
|
|
358
|
+
._chatControlsContainer_1cjl9_1._hidden_1cjl9_17 {
|
|
356
359
|
display: none;
|
|
357
360
|
}
|
|
358
|
-
.
|
|
361
|
+
._chatControlsContainer_1cjl9_1._promptMode_1cjl9_20 {
|
|
359
362
|
flex-grow: 1;
|
|
360
363
|
padding-bottom: 15rem;
|
|
361
364
|
}
|
|
362
|
-
.
|
|
365
|
+
._chatControlsContainer_1cjl9_1 ._chatControls_1cjl9_1 {
|
|
363
366
|
border: 1px solid var(--app-shell-border-color);
|
|
364
367
|
border-radius: var(--mantine-radius-default);
|
|
365
368
|
background-color: var(--app-shell-border-color);
|
|
366
369
|
}
|
|
367
|
-
.
|
|
370
|
+
._chatControlsContainer_1cjl9_1 ._headerRow_1cjl9_4 {
|
|
368
371
|
padding: 0.33rem;
|
|
369
372
|
border-top-left-radius: var(--mantine-radius-default);
|
|
370
373
|
border-top-right-radius: var(--mantine-radius-default);
|
|
371
374
|
}
|
|
372
|
-
.
|
|
375
|
+
._chatInputContainer_1cjl9_35 {
|
|
373
376
|
display: flex;
|
|
374
377
|
flex-direction: row;
|
|
375
378
|
align-items: flex-start;
|
|
@@ -378,58 +381,58 @@
|
|
|
378
381
|
background-color: var(--mantine-color-body);
|
|
379
382
|
border-radius: var(--mantine-radius-default);
|
|
380
383
|
}
|
|
381
|
-
.
|
|
384
|
+
._chatInputContainer_1cjl9_35 ._documentsInput_1cjl9_44 {
|
|
382
385
|
display: flex;
|
|
383
386
|
flex-direction: row;
|
|
384
387
|
gap: 0.25rem;
|
|
385
388
|
align-items: stretch;
|
|
386
389
|
}
|
|
387
|
-
.
|
|
390
|
+
._chatInputContainer_1cjl9_35._columned_1cjl9_50 {
|
|
388
391
|
flex-direction: column;
|
|
389
392
|
align-items: flex-start;
|
|
390
393
|
justify-items: stretch;
|
|
391
394
|
}
|
|
392
|
-
.
|
|
395
|
+
._chatInputContainer_1cjl9_35._columned_1cjl9_50 ._chatInputGroup_1cjl9_7 {
|
|
393
396
|
align-self: stretch;
|
|
394
397
|
}
|
|
395
|
-
.
|
|
398
|
+
._chatInputContainer_1cjl9_35 ._filesList_1cjl9_58 {
|
|
396
399
|
display: flex;
|
|
397
400
|
flex-direction: row;
|
|
398
401
|
gap: 0.5rem;
|
|
399
402
|
}
|
|
400
|
-
.
|
|
403
|
+
._chatInputContainer_1cjl9_35 ._filesList_1cjl9_58 ._previewImage_1cjl9_63 {
|
|
401
404
|
position: relative;
|
|
402
405
|
background-color: var(--input-bg);
|
|
403
406
|
height: 64px;
|
|
404
407
|
border-radius: var(--mantine-radius-default);
|
|
405
408
|
}
|
|
406
|
-
.
|
|
409
|
+
._chatInputContainer_1cjl9_35 ._filesList_1cjl9_58 ._previewImage_1cjl9_63 img {
|
|
407
410
|
max-width: 64px;
|
|
408
411
|
max-height: 64px;
|
|
409
412
|
object-fit: cover;
|
|
410
413
|
border-radius: var(--mantine-radius-default);
|
|
411
414
|
}
|
|
412
|
-
.
|
|
415
|
+
._chatInputContainer_1cjl9_35 ._filesList_1cjl9_58 ._previewImage_1cjl9_63 ._removeButton_1cjl9_75 {
|
|
413
416
|
position: absolute;
|
|
414
417
|
top: 0.1rem;
|
|
415
418
|
right: 0.1rem;
|
|
416
419
|
border-radius: 50%;
|
|
417
420
|
}
|
|
418
|
-
.
|
|
421
|
+
._chatInputContainer_1cjl9_35 ._chatInputGroup_1cjl9_7 {
|
|
419
422
|
flex-grow: 1;
|
|
420
423
|
display: flex;
|
|
421
424
|
flex-direction: row;
|
|
422
425
|
gap: 0.5rem;
|
|
423
426
|
}
|
|
424
|
-
.
|
|
427
|
+
._chatInputContainer_1cjl9_35 ._chatInputGroup_1cjl9_7 ._chatInput_1cjl9_7 {
|
|
425
428
|
flex-grow: 1;
|
|
426
429
|
}
|
|
427
|
-
.
|
|
430
|
+
._chatInputContainer_1cjl9_35 ._chatInputGroup_1cjl9_7 ._chatInput_1cjl9_7 textarea {
|
|
428
431
|
border: 1px solid var(--app-shell-border-color);
|
|
429
432
|
}
|
|
430
433
|
|
|
431
434
|
/* esbuild-sass-plugin:css-chunk:src/components/chat/ChatMessagesContainer.module.scss */
|
|
432
|
-
.
|
|
435
|
+
._messagesContainer_b8239_2 {
|
|
433
436
|
flex-grow: 1;
|
|
434
437
|
position: relative;
|
|
435
438
|
display: none;
|
|
@@ -440,28 +443,28 @@
|
|
|
440
443
|
opacity: 1;
|
|
441
444
|
transition: all 0.3s ease;
|
|
442
445
|
}
|
|
443
|
-
.
|
|
446
|
+
._messagesContainer_b8239_2 ._messagesList_b8239_19 {
|
|
444
447
|
opacity: 0;
|
|
445
448
|
margin-bottom: 1rem;
|
|
446
449
|
}
|
|
447
|
-
.
|
|
450
|
+
._messagesContainer_b8239_2._empty_b8239_23 {
|
|
448
451
|
flex-grow: 0;
|
|
449
452
|
opacity: 0;
|
|
450
453
|
}
|
|
451
|
-
.
|
|
454
|
+
._messagesContainer_b8239_2 ._scroller_b8239_12 {
|
|
452
455
|
overflow-y: scroll;
|
|
453
456
|
flex-grow: 1;
|
|
454
457
|
}
|
|
455
|
-
.
|
|
458
|
+
._messagesContainer_b8239_2._loadCompleted_b8239_31 {
|
|
456
459
|
display: flex;
|
|
457
460
|
}
|
|
458
|
-
.
|
|
461
|
+
._messagesContainer_b8239_2._loadCompleted_b8239_31 ._scroller_b8239_12 {
|
|
459
462
|
scroll-behavior: smooth;
|
|
460
463
|
}
|
|
461
|
-
.
|
|
464
|
+
._messagesContainer_b8239_2._loadCompleted_b8239_31 ._messagesList_b8239_19 {
|
|
462
465
|
opacity: 1;
|
|
463
466
|
}
|
|
464
|
-
.
|
|
467
|
+
._anchorContainer_b8239_41 {
|
|
465
468
|
position: absolute;
|
|
466
469
|
width: 40px;
|
|
467
470
|
left: calc(50% - 40px);
|
|
@@ -475,17 +478,17 @@
|
|
|
475
478
|
opacity: 0;
|
|
476
479
|
transition: all 0.5s ease;
|
|
477
480
|
}
|
|
478
|
-
.
|
|
481
|
+
._anchorContainer_b8239_41._visible_b8239_55 {
|
|
479
482
|
opacity: 1;
|
|
480
483
|
}
|
|
481
|
-
.
|
|
484
|
+
._anchorContainer_b8239_41 ._anchor_b8239_41 {
|
|
482
485
|
background-color: var(--mantine-color-body);
|
|
483
486
|
border-radius: 50%;
|
|
484
487
|
height: 32px;
|
|
485
488
|
width: 32px;
|
|
486
489
|
opacity: 0.75;
|
|
487
490
|
}
|
|
488
|
-
.
|
|
491
|
+
._anchorContainer_b8239_41 ._anchor_b8239_41:hover {
|
|
489
492
|
opacity: 1;
|
|
490
493
|
}
|
|
491
494
|
/*# sourceMappingURL=index.css.map */
|