profoundjs 7.10.1 → 7.11.1

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.
@@ -36,10 +36,6 @@
36
36
  }
37
37
  }
38
38
 
39
- .pai-hidden {
40
- display: none;
41
- }
42
-
43
39
  .pai-prompt-area {
44
40
  margin: 20px auto;
45
41
  padding: 7px;
@@ -66,6 +62,10 @@
66
62
  padding: 0px;
67
63
  resize: none;
68
64
  }
65
+
66
+ .pai-with-voice {
67
+ width: calc(100% - 64px);
68
+ }
69
69
  .pai-dark .pai-prompt-box {
70
70
  background-color: #47515f;
71
71
  border-color: #47515f;
@@ -217,6 +217,42 @@
217
217
  fill: #fff;
218
218
  }
219
219
 
220
+ .pai-voice-button {
221
+ display: inline-block;
222
+ width: 24px;
223
+ height: 24px;
224
+ padding: 3px;
225
+ margin-right: 4px;
226
+ cursor: pointer;
227
+ color: #ccc;
228
+ border-radius: 6px;
229
+ user-select: none;
230
+ }
231
+ .pai-voice-button svg {
232
+ fill: #ccc;
233
+ }
234
+ .pai-voice-button:hover, .pai-send-button-active:hover {
235
+ background-color: #ddd;
236
+ color: #000;
237
+ }
238
+ .pai-voice-button:hover svg, .pai-send-button-active:hover svg {
239
+ fill: #000;
240
+ }
241
+ @keyframes continuousPulse {
242
+ 0% { transform: scale(1); }
243
+ 50% { transform: scale(1.1); }
244
+ 100% { transform: scale(1); }
245
+ }
246
+ .pai-recording, .pai-recording:hover {
247
+ background-color: #ff4d4d;
248
+ color: #fff;
249
+ animation: continuousPulse 1s infinite;
250
+ box-shadow: 0 4px 8px rgba(255, 77, 77, 0.6);
251
+ }
252
+ .pai-recording svg, .pai-recording:hover svg {
253
+ fill: #fff;
254
+ }
255
+
220
256
  .pai-loader {
221
257
  overflow: hidden;
222
258
  display: flex;
@@ -352,3 +388,7 @@ span.pai-citation:hover {
352
388
  background-color: #ccc;
353
389
  border-radius: 5px;
354
390
  }
391
+
392
+ .pai-hidden {
393
+ display: none;
394
+ }