@mastra/playground-ui 6.1.0 → 6.1.1-alpha.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.
Files changed (52) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/index.cjs.js +3314 -1346
  3. package/dist/index.cjs.js.map +1 -1
  4. package/dist/index.css +1477 -0
  5. package/dist/index.es.js +3288 -1354
  6. package/dist/index.es.js.map +1 -1
  7. package/dist/src/components/assistant-ui/tools/badges/badge-wrapper.d.ts +8 -0
  8. package/dist/src/components/assistant-ui/tools/badges/loading-badge.d.ts +1 -0
  9. package/dist/src/components/assistant-ui/tools/badges/workflow-badge.d.ts +5 -6
  10. package/dist/src/components/ui/elements/buttons/button.d.ts +1 -6
  11. package/dist/src/components/ui/elements/date-time-picker/date-picker.d.ts +4 -0
  12. package/dist/src/components/ui/elements/date-time-picker/date-time-picker.d.ts +31 -0
  13. package/dist/src/components/ui/elements/date-time-picker/index.d.ts +1 -0
  14. package/dist/src/components/ui/elements/date-time-picker/time-picker.d.ts +7 -0
  15. package/dist/src/components/ui/elements/entry-list/entry-list-cell.d.ts +5 -1
  16. package/dist/src/components/ui/elements/entry-list/entry-list-item.d.ts +4 -3
  17. package/dist/src/components/ui/elements/entry-list/entry-list.d.ts +6 -3
  18. package/dist/src/components/ui/elements/headers/index.d.ts +1 -0
  19. package/dist/src/components/ui/elements/headers/page-header.d.ts +8 -0
  20. package/dist/src/components/ui/elements/index.d.ts +5 -0
  21. package/dist/src/components/ui/elements/side-dialog/index.d.ts +2 -0
  22. package/dist/src/components/ui/elements/side-dialog/side-dialog-code-section.d.ts +5 -0
  23. package/dist/src/components/ui/elements/side-dialog/side-dialog-heading.d.ts +6 -0
  24. package/dist/src/components/ui/elements/side-dialog/side-dialog-top.d.ts +2 -1
  25. package/dist/src/components/ui/elements/side-dialog/side-dialog.d.ts +3 -1
  26. package/dist/src/components/ui/elements/text/formatters/get-short-id.d.ts +1 -0
  27. package/dist/src/components/ui/elements/text/index.d.ts +2 -0
  28. package/dist/src/components/ui/elements/text/text-and-icon.d.ts +6 -0
  29. package/dist/src/domains/observability/components/helpers.d.ts +17 -0
  30. package/dist/src/domains/observability/components/index.d.ts +6 -0
  31. package/dist/src/domains/observability/components/shared.d.ts +6 -0
  32. package/dist/src/domains/observability/components/span-details.d.ts +4 -0
  33. package/dist/src/domains/observability/components/span-dialog.d.ts +13 -0
  34. package/dist/src/domains/observability/components/trace-dialog.d.ts +13 -0
  35. package/dist/src/domains/observability/components/trace-span-usage.d.ts +12 -0
  36. package/dist/src/domains/observability/components/trace-timeline-legend.d.ts +6 -0
  37. package/dist/src/domains/observability/components/trace-timeline-span.d.ts +13 -0
  38. package/dist/src/domains/observability/components/trace-timeline.d.ts +12 -0
  39. package/dist/src/domains/observability/components/traces-tools.d.ts +17 -0
  40. package/dist/src/domains/observability/index.d.ts +3 -0
  41. package/dist/src/domains/observability/types.d.ts +9 -0
  42. package/dist/src/domains/observability/utils/format-hierarchical-spans.d.ts +3 -0
  43. package/dist/src/domains/workflows/hooks/use-handle-agent-workflow-stream.d.ts +3 -0
  44. package/dist/src/domains/workflows/index.d.ts +1 -0
  45. package/dist/src/domains/workflows/utils.d.ts +2 -0
  46. package/dist/src/hooks/use-workflow-runs.d.ts +1 -4
  47. package/dist/src/hooks/use-workflows.d.ts +1 -4
  48. package/dist/src/index.d.ts +2 -0
  49. package/dist/src/types.d.ts +6 -0
  50. package/package.json +5 -5
  51. package/dist/src/components/assistant-ui/context/agent-provider.d.ts +0 -12
  52. package/dist/src/components/ui/elements/buttons/button.stories.d.ts +0 -13
package/dist/index.css CHANGED
@@ -1,3 +1,1480 @@
1
+ :root {
2
+ --aui-background: 0 0% 100%;
3
+ --aui-foreground: 240 10% 3.9%;
4
+ --aui-card: 0 0% 100%;
5
+ --aui-card-foreground: 240 10% 3.9%;
6
+ --aui-popover: 0 0% 100%;
7
+ --aui-popover-foreground: 240 10% 3.9%;
8
+ --aui-primary: 240 5.9% 10%;
9
+ --aui-primary-foreground: 0 0% 98%;
10
+ --aui-secondary: 240 4.8% 95.9%;
11
+ --aui-secondary-foreground: 240 5.9% 10%;
12
+ --aui-muted: 240 4.8% 95.9%;
13
+ --aui-muted-foreground: 240 3.8% 46.1%;
14
+ --aui-accent: 240 4.8% 95.9%;
15
+ --aui-accent-foreground: 240 5.9% 10%;
16
+ --aui-destructive: 0 84.2% 60.2%;
17
+ --aui-destructive-foreground: 0 0% 98%;
18
+ --aui-border: 240 5.9% 90%;
19
+ --aui-input: 240 5.9% 90%;
20
+ --aui-ring: 240 10% 3.9%;
21
+ --aui-radius: 0.5rem;
22
+ --aui-thread-max-width: 42rem;
23
+ }
24
+
25
+ .aui-root {
26
+ color: hsl(var(--aui-foreground));
27
+ }
28
+
29
+ .aui-root * {
30
+ border-color: hsl(var(--aui-border));
31
+ }
32
+
33
+ .aui-button {
34
+ display: inline-flex;
35
+ align-items: center;
36
+ justify-content: center;
37
+ gap: 0.5rem;
38
+ white-space: nowrap;
39
+ border-radius: 0.375rem;
40
+ font-size: 0.875rem;
41
+ line-height: 1.25rem;
42
+ font-weight: 500;
43
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
44
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
45
+ transition-duration: 150ms;
46
+ }
47
+
48
+ .aui-button:focus-visible {
49
+ outline: 2px solid transparent;
50
+ outline-offset: 2px;
51
+ --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
52
+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
53
+ box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
54
+ --tw-ring-color: hsl(var(--aui-ring));
55
+ }
56
+
57
+ .aui-button:disabled {
58
+ pointer-events: none;
59
+ opacity: 0.5;
60
+ }
61
+
62
+ .aui-button svg {
63
+ pointer-events: none;
64
+ width: 1rem;
65
+ height: 1rem;
66
+ flex-shrink: 0;
67
+ }
68
+
69
+ .aui-button-primary {
70
+ background-color: hsl(var(--aui-primary));
71
+ color: hsl(var(--aui-primary-foreground));
72
+ --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
73
+ --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
74
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
75
+ }
76
+
77
+ .aui-button-primary:hover {
78
+ background-color: hsl(var(--aui-primary) / 0.9);
79
+ }
80
+
81
+ .aui-button-outline {
82
+ border-width: 1px;
83
+ border-color: hsl(var(--aui-input));
84
+ background-color: hsl(var(--aui-background));
85
+ --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
86
+ --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
87
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
88
+ }
89
+
90
+ .aui-button-outline:hover {
91
+ background-color: hsl(var(--aui-accent));
92
+ color: hsl(var(--aui-accent-foreground));
93
+ }
94
+
95
+ .aui-button-ghost:hover {
96
+ background-color: hsl(var(--aui-accent));
97
+ color: hsl(var(--aui-accent-foreground));
98
+ }
99
+
100
+ .aui-button-medium {
101
+ height: 2.25rem;
102
+ padding-left: 1rem;
103
+ padding-right: 1rem;
104
+ padding-top: 0.5rem;
105
+ padding-bottom: 0.5rem;
106
+ }
107
+
108
+ .aui-button-icon {
109
+ width: 1.5rem;
110
+ height: 1.5rem;
111
+ padding: 0.25rem;
112
+ }
113
+
114
+ .aui-sr-only {
115
+ position: absolute;
116
+ width: 1px;
117
+ height: 1px;
118
+ padding: 0;
119
+ margin: -1px;
120
+ overflow: hidden;
121
+ clip: rect(0, 0, 0, 0);
122
+ white-space: nowrap;
123
+ border-width: 0;
124
+ }
125
+
126
+ .aui-avatar-root {
127
+ position: relative;
128
+ display: flex;
129
+ height: 2.5rem;
130
+ width: 2.5rem;
131
+ flex-shrink: 0;
132
+ overflow: hidden;
133
+ border-radius: 9999px;
134
+ }
135
+
136
+ .aui-avatar-image {
137
+ aspect-ratio: 1 / 1;
138
+ height: 100%;
139
+ width: 100%;
140
+ -o-object-fit: cover;
141
+ object-fit: cover;
142
+ }
143
+
144
+ .aui-avatar-fallback {
145
+ display: flex;
146
+ height: 100%;
147
+ width: 100%;
148
+ align-items: center;
149
+ justify-content: center;
150
+ border-radius: 9999px;
151
+ background-color: hsl(var(--aui-muted));
152
+ }
153
+
154
+ .aui-tooltip-content {
155
+ z-index: 50;
156
+ overflow: hidden;
157
+ border-radius: 0.375rem;
158
+ background-color: hsl(var(--aui-primary));
159
+ padding-left: 0.75rem;
160
+ padding-right: 0.75rem;
161
+ padding-top: 0.375rem;
162
+ padding-bottom: 0.375rem;
163
+ font-size: 0.75rem;
164
+ line-height: 1rem;
165
+ color: hsl(var(--aui-primary-foreground));
166
+ animation-name: enter;
167
+ animation-duration: 150ms;
168
+ --tw-enter-opacity: initial;
169
+ --tw-enter-scale: initial;
170
+ --tw-enter-rotate: initial;
171
+ --tw-enter-translate-x: initial;
172
+ --tw-enter-translate-y: initial;
173
+ --tw-enter-opacity: 0;
174
+ --tw-enter-scale: .95;
175
+ }
176
+
177
+ .aui-tooltip-content[data-state="closed"] {
178
+ animation-name: exit;
179
+ animation-duration: 150ms;
180
+ --tw-exit-opacity: initial;
181
+ --tw-exit-scale: initial;
182
+ --tw-exit-rotate: initial;
183
+ --tw-exit-translate-x: initial;
184
+ --tw-exit-translate-y: initial;
185
+ --tw-exit-opacity: 0;
186
+ --tw-exit-scale: .95;
187
+ }
188
+
189
+ .aui-tooltip-content[data-side="bottom"] {
190
+ --tw-enter-translate-y: -0.5rem;
191
+ }
192
+
193
+ .aui-tooltip-content[data-side="left"] {
194
+ --tw-enter-translate-x: 0.5rem;
195
+ }
196
+
197
+ .aui-tooltip-content[data-side="right"] {
198
+ --tw-enter-translate-x: -0.5rem;
199
+ }
200
+
201
+ .aui-tooltip-content[data-side="top"] {
202
+ --tw-enter-translate-y: 0.5rem;
203
+ }
204
+
205
+ .aui-dialog-overlay {
206
+ position: fixed;
207
+ inset: 0px;
208
+ z-index: 50;
209
+ background-color: rgb(0 0 0 / 0.8);
210
+ }
211
+
212
+ .aui-dialog-overlay[data-state="open"] {
213
+ animation-name: enter;
214
+ animation-duration: 150ms;
215
+ --tw-enter-opacity: initial;
216
+ --tw-enter-scale: initial;
217
+ --tw-enter-rotate: initial;
218
+ --tw-enter-translate-x: initial;
219
+ --tw-enter-translate-y: initial;
220
+ }
221
+
222
+ .aui-dialog-overlay[data-state="closed"] {
223
+ animation-name: exit;
224
+ animation-duration: 150ms;
225
+ --tw-exit-opacity: initial;
226
+ --tw-exit-scale: initial;
227
+ --tw-exit-rotate: initial;
228
+ --tw-exit-translate-x: initial;
229
+ --tw-exit-translate-y: initial;
230
+ --tw-exit-opacity: 0;
231
+ }
232
+
233
+ .aui-dialog-overlay[data-state="open"] {
234
+ --tw-enter-opacity: 0;
235
+ }
236
+
237
+ .aui-dialog-content {
238
+ position: fixed;
239
+ left: 50%;
240
+ top: 50%;
241
+ z-index: 50;
242
+ }
243
+
244
+ .aui-dialog-content[data-state="open"] {
245
+ animation-name: enter;
246
+ animation-duration: 150ms;
247
+ --tw-enter-opacity: initial;
248
+ --tw-enter-scale: initial;
249
+ --tw-enter-rotate: initial;
250
+ --tw-enter-translate-x: initial;
251
+ --tw-enter-translate-y: initial;
252
+ }
253
+
254
+ .aui-dialog-content[data-state="closed"] {
255
+ animation-name: exit;
256
+ animation-duration: 150ms;
257
+ --tw-exit-opacity: initial;
258
+ --tw-exit-scale: initial;
259
+ --tw-exit-rotate: initial;
260
+ --tw-exit-translate-x: initial;
261
+ --tw-exit-translate-y: initial;
262
+ --tw-exit-opacity: 0;
263
+ }
264
+
265
+ .aui-dialog-content[data-state="open"] {
266
+ --tw-enter-opacity: 0;
267
+ }
268
+
269
+ .aui-dialog-content[data-state="closed"] {
270
+ --tw-exit-scale: .95;
271
+ }
272
+
273
+ .aui-dialog-content[data-state="open"] {
274
+ --tw-enter-scale: .95;
275
+ }
276
+
277
+ .aui-dialog-content[data-state="closed"] {
278
+ --tw-exit-translate-x: -50%;
279
+ --tw-exit-translate-y: -48%;
280
+ }
281
+
282
+ .aui-dialog-content[data-state="open"] {
283
+ --tw-enter-translate-x: -50%;
284
+ --tw-enter-translate-y: -48%;
285
+ }
286
+
287
+ .aui-dialog-content {
288
+ display: grid;
289
+ --tw-translate-x: -50%;
290
+ --tw-translate-y: -50%;
291
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
292
+ --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
293
+ --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
294
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
295
+ transition-duration: 200ms;
296
+ animation-duration: 200ms;
297
+ }
298
+
299
+ .aui-thread-root {
300
+ box-sizing: border-box;
301
+ height: 100%;
302
+ background-color: hsl(var(--aui-background));
303
+ }
304
+
305
+ .aui-thread-viewport {
306
+ display: flex;
307
+ height: 100%;
308
+ flex-direction: column;
309
+ align-items: center;
310
+ overflow-y: scroll;
311
+ scroll-behavior: smooth;
312
+ background-color: inherit;
313
+ padding-left: 1rem;
314
+ padding-right: 1rem;
315
+ padding-top: 2rem;
316
+ }
317
+
318
+ .aui-thread-viewport-footer {
319
+ position: sticky;
320
+ bottom: 0px;
321
+ margin-top: 0.75rem;
322
+ display: flex;
323
+ width: 100%;
324
+ max-width: var(--aui-thread-max-width);
325
+ flex-direction: column;
326
+ align-items: center;
327
+ justify-content: flex-end;
328
+ border-top-left-radius: 0.5rem;
329
+ border-top-right-radius: 0.5rem;
330
+ background-color: inherit;
331
+ padding-bottom: 1rem;
332
+ }
333
+
334
+ .aui-thread-scroll-to-bottom {
335
+ position: absolute;
336
+ top: -2rem;
337
+ border-radius: 9999px;
338
+ }
339
+
340
+ .aui-thread-scroll-to-bottom:disabled {
341
+ visibility: hidden;
342
+ }
343
+
344
+ .aui-thread-followup-suggestions {
345
+ display: flex;
346
+ min-height: 2rem;
347
+ align-items: center;
348
+ justify-content: center;
349
+ gap: 0.5rem;
350
+ }
351
+
352
+ .aui-thread-followup-suggestion {
353
+ border-radius: 9999px;
354
+ border-width: 1px;
355
+ background-color: hsl(var(--aui-background));
356
+ padding-left: 0.75rem;
357
+ padding-right: 0.75rem;
358
+ padding-top: 0.25rem;
359
+ padding-bottom: 0.25rem;
360
+ font-size: 0.875rem;
361
+ line-height: 1.25rem;
362
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
363
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
364
+ transition-duration: 150ms;
365
+ transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
366
+ animation-timing-function: cubic-bezier(0.4, 0, 1, 1);
367
+ }
368
+
369
+ .aui-thread-followup-suggestion:hover {
370
+ background-color: hsl(var(--aui-muted) / 0.8);
371
+ }
372
+
373
+ .aui-thread-welcome-root {
374
+ display: flex;
375
+ width: 100%;
376
+ max-width: var(--aui-thread-max-width);
377
+ flex-grow: 1;
378
+ flex-direction: column;
379
+ }
380
+
381
+ .aui-thread-welcome-center {
382
+ display: flex;
383
+ width: 100%;
384
+ flex-grow: 1;
385
+ flex-direction: column;
386
+ align-items: center;
387
+ justify-content: center;
388
+ }
389
+
390
+ .aui-thread-welcome-message {
391
+ margin-top: 1rem;
392
+ font-weight: 500;
393
+ }
394
+
395
+ .aui-thread-welcome-suggestions {
396
+ margin-top: 0.75rem;
397
+ display: flex;
398
+ width: 100%;
399
+ align-items: stretch;
400
+ justify-content: center;
401
+ gap: 1rem;
402
+ }
403
+
404
+ .aui-thread-welcome-suggestion {
405
+ display: flex;
406
+ max-width: 24rem;
407
+ flex-grow: 1;
408
+ flex-basis: 0px;
409
+ flex-direction: column;
410
+ align-items: center;
411
+ justify-content: center;
412
+ border-radius: 0.5rem;
413
+ border-width: 1px;
414
+ padding: 0.75rem;
415
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
416
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
417
+ transition-duration: 150ms;
418
+ transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
419
+ animation-timing-function: cubic-bezier(0.4, 0, 1, 1);
420
+ }
421
+
422
+ .aui-thread-welcome-suggestion:hover {
423
+ background-color: hsl(var(--aui-muted) / 0.8);
424
+ }
425
+
426
+ .aui-thread-welcome-suggestion-text {
427
+ overflow: hidden;
428
+ display: -webkit-box;
429
+ -webkit-box-orient: vertical;
430
+ -webkit-line-clamp: 2;
431
+ text-overflow: ellipsis;
432
+ font-size: 0.875rem;
433
+ line-height: 1.25rem;
434
+ font-weight: 600;
435
+ }
436
+
437
+ .aui-composer-root {
438
+ display: flex;
439
+ width: 100%;
440
+ flex-wrap: wrap;
441
+ align-items: flex-end;
442
+ border-radius: 0.5rem;
443
+ border-width: 1px;
444
+ background-color: inherit;
445
+ padding-left: 0.625rem;
446
+ padding-right: 0.625rem;
447
+ --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
448
+ --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
449
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
450
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
451
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
452
+ transition-duration: 150ms;
453
+ transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
454
+ animation-timing-function: cubic-bezier(0.4, 0, 1, 1);
455
+ }
456
+
457
+ .aui-composer-root:focus-within {
458
+ border-color: hsl(var(--aui-ring) / 0.2);
459
+ }
460
+
461
+ .aui-composer-input {
462
+ max-height: 10rem;
463
+ flex-grow: 1;
464
+ resize: none;
465
+ border-style: none;
466
+ background-color: transparent;
467
+ padding-left: 0.5rem;
468
+ padding-right: 0.5rem;
469
+ padding-top: 1rem;
470
+ padding-bottom: 1rem;
471
+ font-size: 0.875rem;
472
+ line-height: 1.25rem;
473
+ outline: 2px solid transparent;
474
+ outline-offset: 2px;
475
+ }
476
+
477
+ .aui-composer-input::-moz-placeholder {
478
+ color: hsl(var(--aui-muted-foreground));
479
+ }
480
+
481
+ .aui-composer-input::placeholder {
482
+ color: hsl(var(--aui-muted-foreground));
483
+ }
484
+
485
+ .aui-composer-input:focus {
486
+ --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
487
+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
488
+ box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
489
+ }
490
+
491
+ .aui-composer-input:disabled {
492
+ cursor: not-allowed;
493
+ }
494
+
495
+ .aui-composer-send {
496
+ margin-top: 0.625rem;
497
+ margin-bottom: 0.625rem;
498
+ width: 2rem;
499
+ height: 2rem;
500
+ padding: 0.5rem;
501
+ transition-property: opacity;
502
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
503
+ transition-duration: 150ms;
504
+ transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
505
+ animation-timing-function: cubic-bezier(0.4, 0, 1, 1);
506
+ }
507
+
508
+ .aui-composer-cancel {
509
+ margin-top: 0.625rem;
510
+ margin-bottom: 0.625rem;
511
+ width: 2rem;
512
+ height: 2rem;
513
+ padding: 0.5rem;
514
+ transition-property: opacity;
515
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
516
+ transition-duration: 150ms;
517
+ transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
518
+ animation-timing-function: cubic-bezier(0.4, 0, 1, 1);
519
+ }
520
+
521
+ .aui-composer-attach {
522
+ margin-top: 0.625rem;
523
+ margin-bottom: 0.625rem;
524
+ width: 2rem;
525
+ height: 2rem;
526
+ padding: 0.5rem;
527
+ transition-property: opacity;
528
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
529
+ transition-duration: 150ms;
530
+ transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
531
+ animation-timing-function: cubic-bezier(0.4, 0, 1, 1);
532
+ }
533
+
534
+ .aui-composer-attachments {
535
+ display: flex;
536
+ width: 100%;
537
+ flex-direction: row;
538
+ gap: 0.75rem;
539
+ padding-left: 2.5rem;
540
+ padding-right: 2.5rem;
541
+ }
542
+
543
+ .aui-attachment-root {
544
+ position: relative;
545
+ margin-top: 0.75rem;
546
+ }
547
+
548
+ .aui-attachment-content {
549
+ display: flex;
550
+ height: 3rem;
551
+ width: 10rem;
552
+ align-items: center;
553
+ justify-content: center;
554
+ gap: 0.5rem;
555
+ border-radius: 0.5rem;
556
+ border-width: 1px;
557
+ padding: 0.25rem;
558
+ }
559
+
560
+ .aui-attachment-preview-trigger {
561
+ cursor: pointer;
562
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
563
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
564
+ transition-duration: 150ms;
565
+ }
566
+
567
+ .aui-attachment-preview-trigger:hover {
568
+ background-color: hsl(var(--aui-accent) / 0.5);
569
+ }
570
+
571
+ .aui-attachment-thumb {
572
+ display: flex;
573
+ width: 2.5rem;
574
+ height: 2.5rem;
575
+ align-items: center;
576
+ justify-content: center;
577
+ border-radius: 0.25rem;
578
+ border-width: 1px;
579
+ background-color: hsl(var(--aui-muted));
580
+ font-size: 0.875rem;
581
+ line-height: 1.25rem;
582
+ }
583
+
584
+ .aui-attachment-text {
585
+ flex-grow: 1;
586
+ flex-basis: 0px;
587
+ }
588
+
589
+ .aui-attachment-name {
590
+ overflow: hidden;
591
+ display: -webkit-box;
592
+ -webkit-box-orient: vertical;
593
+ -webkit-line-clamp: 1;
594
+ text-overflow: ellipsis;
595
+ word-break: break-all;
596
+ font-size: 0.75rem;
597
+ line-height: 1rem;
598
+ font-weight: 700;
599
+ color: hsl(var(--aui-muted-foreground));
600
+ }
601
+
602
+ .aui-attachment-type {
603
+ font-size: 0.75rem;
604
+ line-height: 1rem;
605
+ color: hsl(var(--aui-muted-foreground));
606
+ }
607
+
608
+ .aui-attachment-remove {
609
+ position: absolute;
610
+ right: -0.75rem;
611
+ top: -0.75rem;
612
+ width: 1.5rem;
613
+ height: 1.5rem;
614
+ color: hsl(var(--aui-muted-foreground));
615
+ }
616
+
617
+ .aui-attachment-remove>svg {
618
+ width: 1rem;
619
+ height: 1rem;
620
+ border-radius: 9999px;
621
+ background-color: hsl(var(--aui-background));
622
+ }
623
+
624
+ .aui-user-message-root {
625
+ display: grid;
626
+ grid-auto-rows: auto;
627
+ grid-template-columns: minmax(72px,1fr) auto;
628
+ row-gap: 0.5rem;
629
+ }
630
+
631
+ .aui-user-message-root:where(>*) {
632
+ grid-column-start: 2;
633
+ }
634
+
635
+ .aui-user-message-root {
636
+ width: 100%;
637
+ max-width: var(--aui-thread-max-width);
638
+ padding-top: 1rem;
639
+ padding-bottom: 1rem;
640
+ }
641
+
642
+ :where(.aui-user-message-root) > .aui-branch-picker-root {
643
+ grid-column: 1 / -1;
644
+ grid-column-start: 1;
645
+ grid-row-start: 3;
646
+ margin-right: -0.25rem;
647
+ justify-content: flex-end;
648
+ }
649
+
650
+ .aui-user-branch-picker {
651
+ grid-column: 1 / -1;
652
+ grid-column-start: 1;
653
+ grid-row-start: 3;
654
+ margin-right: -0.25rem;
655
+ justify-content: flex-end;
656
+ }
657
+
658
+ .aui-user-message-content {
659
+ max-width: calc(var(--aui-thread-max-width) * 0.8);
660
+ overflow-wrap: break-word;
661
+ border-radius: 1.5rem;
662
+ background-color: hsl(var(--aui-muted));
663
+ padding-left: 1.25rem;
664
+ padding-right: 1.25rem;
665
+ padding-top: 0.625rem;
666
+ padding-bottom: 0.625rem;
667
+ color: hsl(var(--aui-foreground));
668
+ grid-column-start: 2;
669
+ grid-row-start: 2;
670
+ }
671
+
672
+ .aui-user-message-attachments {
673
+ display: flex;
674
+ width: 100%;
675
+ flex-direction: row;
676
+ gap: 0.75rem;
677
+ grid-column: 1 / -1;
678
+ grid-column-start: 1;
679
+ grid-row-start: 1;
680
+ justify-content: flex-end;
681
+ }
682
+
683
+ .aui-user-action-bar-root {
684
+ display: flex;
685
+ flex-direction: column;
686
+ align-items: flex-end;
687
+ grid-column-start: 1;
688
+ grid-row-start: 2;
689
+ margin-right: 0.75rem;
690
+ margin-top: 0.625rem;
691
+ }
692
+
693
+ .aui-edit-composer-root {
694
+ margin-top: 1rem;
695
+ margin-bottom: 1rem;
696
+ display: flex;
697
+ width: 100%;
698
+ max-width: var(--aui-thread-max-width);
699
+ flex-direction: column;
700
+ gap: 0.5rem;
701
+ border-radius: 0.75rem;
702
+ background-color: hsl(var(--aui-muted));
703
+ }
704
+
705
+ .aui-edit-composer-input {
706
+ display: flex;
707
+ height: 2rem;
708
+ width: 100%;
709
+ resize: none;
710
+ background-color: transparent;
711
+ padding: 1rem;
712
+ padding-bottom: 0px;
713
+ color: hsl(var(--aui-foreground));
714
+ outline: 2px solid transparent;
715
+ outline-offset: 2px;
716
+ }
717
+
718
+ .aui-edit-composer-footer {
719
+ margin-left: 0.75rem;
720
+ margin-right: 0.75rem;
721
+ margin-bottom: 0.75rem;
722
+ display: flex;
723
+ align-items: center;
724
+ justify-content: center;
725
+ gap: 0.5rem;
726
+ align-self: flex-end;
727
+ }
728
+
729
+ .aui-assistant-message-root {
730
+ display: grid;
731
+ grid-template-columns: auto auto 1fr;
732
+ grid-template-rows: auto 1fr;
733
+ position: relative;
734
+ width: 100%;
735
+ max-width: var(--aui-thread-max-width);
736
+ padding-top: 1rem;
737
+ padding-bottom: 1rem;
738
+ }
739
+
740
+ :where(.aui-assistant-message-root) > .aui-avatar-root {
741
+ grid-column-start: 1;
742
+ grid-row: 1 / -1;
743
+ grid-row-start: 1;
744
+ margin-right: 1rem;
745
+ }
746
+
747
+ .aui-assistant-avatar {
748
+ grid-column-start: 1;
749
+ grid-row: 1 / -1;
750
+ grid-row-start: 1;
751
+ margin-right: 1rem;
752
+ }
753
+
754
+ :where(.aui-assistant-message-root) > .aui-branch-picker-root {
755
+ grid-column-start: 2;
756
+ grid-row-start: 2;
757
+ margin-left: -0.5rem;
758
+ margin-right: 0.5rem;
759
+ }
760
+
761
+ .aui-assistant-branch-picker {
762
+ grid-column-start: 2;
763
+ grid-row-start: 2;
764
+ margin-left: -0.5rem;
765
+ margin-right: 0.5rem;
766
+ }
767
+
768
+ .aui-assistant-message-content {
769
+ max-width: calc(var(--aui-thread-max-width) * 0.8);
770
+ overflow-wrap: break-word;
771
+ line-height: 1.75rem;
772
+ color: hsl(var(--aui-foreground));
773
+ grid-column: span 2 / span 2;
774
+ grid-column-start: 2;
775
+ grid-row-start: 1;
776
+ margin-top: 0.375rem;
777
+ margin-bottom: 0.375rem;
778
+ }
779
+
780
+ .aui-assistant-action-bar-root {
781
+ display: flex;
782
+ gap: 0.25rem;
783
+ color: hsl(var(--aui-muted-foreground));
784
+ grid-column-start: 3;
785
+ grid-row-start: 2;
786
+ margin-left: -0.25rem;
787
+ }
788
+
789
+ .aui-assistant-action-bar-root[data-floating] {
790
+ position: absolute;
791
+ border-radius: 0.375rem;
792
+ border-width: 1px;
793
+ background-color: hsl(var(--aui-background));
794
+ padding: 0.25rem;
795
+ --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
796
+ --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
797
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
798
+ }
799
+
800
+ .aui-assistant-action-bar-feedback-positive[data-submitted] {
801
+ --tw-text-opacity: 1;
802
+ color: rgb(22 163 74 / var(--tw-text-opacity, 1));
803
+ }
804
+
805
+ .aui-assistant-action-bar-feedback-positive:hover[data-submitted] {
806
+ --tw-text-opacity: 1;
807
+ color: rgb(21 128 61 / var(--tw-text-opacity, 1));
808
+ }
809
+
810
+ .aui-assistant-action-bar-feedback-positive[data-submitted]:is(.dark *) {
811
+ --tw-text-opacity: 1;
812
+ color: rgb(34 197 94 / var(--tw-text-opacity, 1));
813
+ }
814
+
815
+ .aui-assistant-action-bar-feedback-positive:hover[data-submitted]:is(.dark *) {
816
+ --tw-text-opacity: 1;
817
+ color: rgb(74 222 128 / var(--tw-text-opacity, 1));
818
+ }
819
+
820
+ .aui-assistant-action-bar-feedback-negative[data-submitted] {
821
+ --tw-text-opacity: 1;
822
+ color: rgb(220 38 38 / var(--tw-text-opacity, 1));
823
+ }
824
+
825
+ .aui-assistant-action-bar-feedback-negative:hover[data-submitted] {
826
+ --tw-text-opacity: 1;
827
+ color: rgb(185 28 28 / var(--tw-text-opacity, 1));
828
+ }
829
+
830
+ .aui-assistant-action-bar-feedback-negative[data-submitted]:is(.dark *) {
831
+ --tw-text-opacity: 1;
832
+ color: rgb(239 68 68 / var(--tw-text-opacity, 1));
833
+ }
834
+
835
+ .aui-assistant-action-bar-feedback-negative:hover[data-submitted]:is(.dark *) {
836
+ --tw-text-opacity: 1;
837
+ color: rgb(248 113 113 / var(--tw-text-opacity, 1));
838
+ }
839
+
840
+ .aui-branch-picker-root {
841
+ display: inline-flex;
842
+ align-items: center;
843
+ font-size: 0.75rem;
844
+ line-height: 1rem;
845
+ color: hsl(var(--aui-muted-foreground));
846
+ }
847
+
848
+ .aui-branch-picker-state {
849
+ font-weight: 500;
850
+ }
851
+
852
+ .aui-text {
853
+ white-space: pre-line;
854
+ }
855
+
856
+ @keyframes pulse {
857
+
858
+ 50% {
859
+ opacity: .5;
860
+ }
861
+ }
862
+
863
+ .aui-text-running::after {
864
+ animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
865
+ font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
866
+ --tw-content: '\25CF';
867
+ content: var(--tw-content);
868
+ }
869
+
870
+ .aui-text-running:where([dir="ltr"], [dir="ltr"] *)::after {
871
+ margin-left: 0.25rem;
872
+ }
873
+
874
+ .aui-text-running:where([dir="rtl"], [dir="rtl"] *)::after {
875
+ margin-right: 0.25rem;
876
+ }
877
+
878
+ .aui-thread-list-root {
879
+ display: flex;
880
+ flex-direction: column;
881
+ align-items: stretch;
882
+ gap: 0.375rem;
883
+ }
884
+
885
+ .aui-thread-list-item {
886
+ display: flex;
887
+ align-items: center;
888
+ gap: 0.5rem;
889
+ border-radius: 0.5rem;
890
+ transition-property: all;
891
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
892
+ transition-duration: 150ms;
893
+ }
894
+
895
+ .aui-thread-list-item:hover {
896
+ background-color: hsl(var(--aui-muted));
897
+ }
898
+
899
+ .aui-thread-list-item:focus-visible {
900
+ background-color: hsl(var(--aui-muted));
901
+ outline: 2px solid transparent;
902
+ outline-offset: 2px;
903
+ --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
904
+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
905
+ box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
906
+ --tw-ring-color: hsl(var(--aui-ring));
907
+ }
908
+
909
+ .aui-thread-list-item[data-active] {
910
+ background-color: hsl(var(--aui-muted));
911
+ }
912
+
913
+ .aui-thread-list-new {
914
+ display: flex;
915
+ align-items: center;
916
+ justify-content: flex-start;
917
+ gap: 0.25rem;
918
+ border-radius: 0.5rem;
919
+ padding-left: 0.625rem;
920
+ padding-right: 0.625rem;
921
+ padding-top: 0.5rem;
922
+ padding-bottom: 0.5rem;
923
+ text-align: start;
924
+ }
925
+
926
+ .aui-thread-list-new:hover {
927
+ background-color: hsl(var(--aui-muted));
928
+ }
929
+
930
+ .aui-thread-list-new[data-active] {
931
+ background-color: hsl(var(--aui-muted));
932
+ }
933
+
934
+ .aui-thread-list-new > .lucide-plus {
935
+ width: 1.25rem;
936
+ height: 1.25rem;
937
+ }
938
+
939
+ .aui-thread-list-item-trigger {
940
+ flex-grow: 1;
941
+ padding-left: 0.75rem;
942
+ padding-right: 0.75rem;
943
+ padding-top: 0.5rem;
944
+ padding-bottom: 0.5rem;
945
+ text-align: start;
946
+ }
947
+
948
+ .aui-thread-list-item-title {
949
+ font-size: 0.875rem;
950
+ line-height: 1.25rem;
951
+ }
952
+
953
+ .aui-thread-list-item-archive {
954
+ margin-left: auto;
955
+ margin-right: 0.75rem;
956
+ width: 1rem;
957
+ height: 1rem;
958
+ padding: 0px;
959
+ color: hsl(var(--aui-foreground));
960
+ }
961
+
962
+ .aui-thread-list-item-archive:hover {
963
+ color: hsl(var(--aui-primary));
964
+ }
965
+
966
+ .aui-modal-content {
967
+ z-index: 50;
968
+ height: 500px;
969
+ width: 400px;
970
+ overflow: clip;
971
+ border-radius: 0.75rem;
972
+ border-width: 1px;
973
+ background-color: hsl(var(--aui-popover));
974
+ padding: 0px;
975
+ color: hsl(var(--aui-popover-foreground));
976
+ --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
977
+ --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
978
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
979
+ outline: 2px solid transparent;
980
+ outline-offset: 2px;
981
+ }
982
+
983
+ .aui-modal-content>.aui-thread-root {
984
+ background-color: inherit;
985
+ }
986
+
987
+ .aui-modal-content[data-state="open"] {
988
+ animation-name: enter;
989
+ animation-duration: 150ms;
990
+ --tw-enter-opacity: initial;
991
+ --tw-enter-scale: initial;
992
+ --tw-enter-rotate: initial;
993
+ --tw-enter-translate-x: initial;
994
+ --tw-enter-translate-y: initial;
995
+ }
996
+
997
+ .aui-modal-content[data-state="closed"] {
998
+ animation-name: exit;
999
+ animation-duration: 150ms;
1000
+ --tw-exit-opacity: initial;
1001
+ --tw-exit-scale: initial;
1002
+ --tw-exit-rotate: initial;
1003
+ --tw-exit-translate-x: initial;
1004
+ --tw-exit-translate-y: initial;
1005
+ --tw-exit-opacity: 0;
1006
+ }
1007
+
1008
+ .aui-modal-content[data-state="open"] {
1009
+ --tw-enter-opacity: 0;
1010
+ }
1011
+
1012
+ .aui-modal-content[data-state="closed"] {
1013
+ --tw-exit-scale: 0;
1014
+ }
1015
+
1016
+ .aui-modal-content[data-state="open"] {
1017
+ --tw-enter-scale: 0;
1018
+ --tw-enter-translate-y: 50%;
1019
+ --tw-enter-translate-x: 50%;
1020
+ }
1021
+
1022
+ .aui-modal-content[data-state="closed"] {
1023
+ --tw-exit-translate-y: 50%;
1024
+ --tw-exit-translate-x: 50%;
1025
+ }
1026
+
1027
+ .aui-modal-anchor {
1028
+ position: fixed;
1029
+ bottom: 1rem;
1030
+ right: 1rem;
1031
+ width: 2.75rem;
1032
+ height: 2.75rem;
1033
+ }
1034
+
1035
+ .aui-modal-button {
1036
+ width: 100%;
1037
+ height: 100%;
1038
+ border-radius: 9999px;
1039
+ --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
1040
+ --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
1041
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
1042
+ transition-property: transform;
1043
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1044
+ transition-duration: 150ms;
1045
+ }
1046
+
1047
+ .aui-modal-button:hover {
1048
+ --tw-scale-x: 1.1;
1049
+ --tw-scale-y: 1.1;
1050
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1051
+ }
1052
+
1053
+ .aui-modal-button:active {
1054
+ --tw-scale-x: .9;
1055
+ --tw-scale-y: .9;
1056
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1057
+ }
1058
+
1059
+ .aui-modal-button-closed-icon {
1060
+ position: absolute;
1061
+ width: 1.5rem;
1062
+ height: 1.5rem;
1063
+ transition-property: all;
1064
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1065
+ transition-duration: 150ms;
1066
+ }
1067
+
1068
+ .aui-modal-button-closed-icon[data-state="closed"] {
1069
+ --tw-rotate: 0deg;
1070
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1071
+ }
1072
+
1073
+ .aui-modal-button-closed-icon[data-state="open"] {
1074
+ --tw-rotate: 90deg;
1075
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1076
+ }
1077
+
1078
+ .aui-modal-button-closed-icon[data-state="closed"] {
1079
+ --tw-scale-x: 1;
1080
+ --tw-scale-y: 1;
1081
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1082
+ }
1083
+
1084
+ .aui-modal-button-closed-icon[data-state="open"] {
1085
+ --tw-scale-x: 0;
1086
+ --tw-scale-y: 0;
1087
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1088
+ }
1089
+
1090
+ .aui-modal-button-open-icon {
1091
+ position: absolute;
1092
+ width: 1.5rem;
1093
+ height: 1.5rem;
1094
+ transition-property: all;
1095
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1096
+ transition-duration: 150ms;
1097
+ }
1098
+
1099
+ .aui-modal-button-open-icon[data-state="closed"] {
1100
+ --tw-rotate: -90deg;
1101
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1102
+ }
1103
+
1104
+ .aui-modal-button-open-icon[data-state="open"] {
1105
+ --tw-rotate: 0deg;
1106
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1107
+ }
1108
+
1109
+ .aui-modal-button-open-icon[data-state="closed"] {
1110
+ --tw-scale-x: 0;
1111
+ --tw-scale-y: 0;
1112
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1113
+ }
1114
+
1115
+ .aui-modal-button-open-icon[data-state="open"] {
1116
+ --tw-scale-x: 1;
1117
+ --tw-scale-y: 1;
1118
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1119
+ }
1120
+
1121
+ @keyframes pulse {
1122
+
1123
+ 50% {
1124
+ opacity: .5;
1125
+ }
1126
+ }
1127
+
1128
+ :where(.aui-md-running):empty::after,
1129
+ :where(.aui-md-running) > :where(:not(ol):not(ul):not(pre)):last-child::after,
1130
+ :where(.aui-md-running) > pre:last-child code::after,
1131
+ :where(.aui-md-running)
1132
+ > :where(:is(ol, ul):last-child)
1133
+ > :where(li:last-child:not(:has(* > li)))::after,
1134
+ :where(.aui-md-running)
1135
+ > :where(:is(ol, ul):last-child)
1136
+ > :where(li:last-child)
1137
+ > :where(:is(ol, ul):last-child)
1138
+ > :where(li:last-child:not(:has(* > li)))::after,
1139
+ :where(.aui-md-running)
1140
+ > :where(:is(ol, ul):last-child)
1141
+ > :where(li:last-child)
1142
+ > :where(:is(ol, ul):last-child)
1143
+ > :where(li:last-child)
1144
+ > :where(:is(ol, ul):last-child)
1145
+ > :where(li:last-child)::after {
1146
+ animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
1147
+ font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
1148
+ --tw-content: '\25CF';
1149
+ content: var(--tw-content);
1150
+ }
1151
+
1152
+ :where(.aui-md-running):empty:where([dir="ltr"], [dir="ltr"] *)::after,
1153
+ :where(.aui-md-running) > :where(:not(ol):not(ul):not(pre)):last-child:where([dir="ltr"], [dir="ltr"] *)::after,
1154
+ :where(.aui-md-running) > pre:last-child code:where([dir="ltr"], [dir="ltr"] *)::after,
1155
+ :where(.aui-md-running)
1156
+ > :where(:is(ol, ul):last-child)
1157
+ > :where(li:last-child:not(:has(* > li))):where([dir="ltr"], [dir="ltr"] *)::after,
1158
+ :where(.aui-md-running)
1159
+ > :where(:is(ol, ul):last-child)
1160
+ > :where(li:last-child)
1161
+ > :where(:is(ol, ul):last-child)
1162
+ > :where(li:last-child:not(:has(* > li))):where([dir="ltr"], [dir="ltr"] *)::after,
1163
+ :where(.aui-md-running)
1164
+ > :where(:is(ol, ul):last-child)
1165
+ > :where(li:last-child)
1166
+ > :where(:is(ol, ul):last-child)
1167
+ > :where(li:last-child)
1168
+ > :where(:is(ol, ul):last-child)
1169
+ > :where(li:last-child):where([dir="ltr"], [dir="ltr"] *)::after {
1170
+ margin-left: 0.25rem;
1171
+ }
1172
+
1173
+ :where(.aui-md-running):empty:where([dir="rtl"], [dir="rtl"] *)::after,
1174
+ :where(.aui-md-running) > :where(:not(ol):not(ul):not(pre)):last-child:where([dir="rtl"], [dir="rtl"] *)::after,
1175
+ :where(.aui-md-running) > pre:last-child code:where([dir="rtl"], [dir="rtl"] *)::after,
1176
+ :where(.aui-md-running)
1177
+ > :where(:is(ol, ul):last-child)
1178
+ > :where(li:last-child:not(:has(* > li))):where([dir="rtl"], [dir="rtl"] *)::after,
1179
+ :where(.aui-md-running)
1180
+ > :where(:is(ol, ul):last-child)
1181
+ > :where(li:last-child)
1182
+ > :where(:is(ol, ul):last-child)
1183
+ > :where(li:last-child:not(:has(* > li))):where([dir="rtl"], [dir="rtl"] *)::after,
1184
+ :where(.aui-md-running)
1185
+ > :where(:is(ol, ul):last-child)
1186
+ > :where(li:last-child)
1187
+ > :where(:is(ol, ul):last-child)
1188
+ > :where(li:last-child)
1189
+ > :where(:is(ol, ul):last-child)
1190
+ > :where(li:last-child):where([dir="rtl"], [dir="rtl"] *)::after {
1191
+ margin-right: 0.25rem;
1192
+ }
1193
+
1194
+ .aui-md-h1 {
1195
+ margin-bottom: 2rem;
1196
+ scroll-margin: 5rem;
1197
+ font-size: 2.25rem;
1198
+ line-height: 2.5rem;
1199
+ font-weight: 800;
1200
+ letter-spacing: -0.025em;
1201
+ }
1202
+
1203
+ .aui-md-h1:last-child {
1204
+ margin-bottom: 0px;
1205
+ }
1206
+
1207
+ .aui-md-h2 {
1208
+ margin-bottom: 1rem;
1209
+ margin-top: 2rem;
1210
+ scroll-margin: 5rem;
1211
+ font-size: 1.875rem;
1212
+ line-height: 2.25rem;
1213
+ font-weight: 600;
1214
+ letter-spacing: -0.025em;
1215
+ }
1216
+
1217
+ .aui-md-h2:first-child {
1218
+ margin-top: 0px;
1219
+ }
1220
+
1221
+ .aui-md-h2:last-child {
1222
+ margin-bottom: 0px;
1223
+ }
1224
+
1225
+ .aui-md-h3 {
1226
+ margin-bottom: 1rem;
1227
+ margin-top: 1.5rem;
1228
+ scroll-margin: 5rem;
1229
+ font-size: 1.5rem;
1230
+ line-height: 2rem;
1231
+ font-weight: 600;
1232
+ letter-spacing: -0.025em;
1233
+ }
1234
+
1235
+ .aui-md-h3:first-child {
1236
+ margin-top: 0px;
1237
+ }
1238
+
1239
+ .aui-md-h3:last-child {
1240
+ margin-bottom: 0px;
1241
+ }
1242
+
1243
+ .aui-md-h4 {
1244
+ margin-bottom: 1rem;
1245
+ margin-top: 1.5rem;
1246
+ scroll-margin: 5rem;
1247
+ font-size: 1.25rem;
1248
+ line-height: 1.75rem;
1249
+ font-weight: 600;
1250
+ letter-spacing: -0.025em;
1251
+ }
1252
+
1253
+ .aui-md-h4:first-child {
1254
+ margin-top: 0px;
1255
+ }
1256
+
1257
+ .aui-md-h4:last-child {
1258
+ margin-bottom: 0px;
1259
+ }
1260
+
1261
+ .aui-md-h5 {
1262
+ margin-top: 1rem;
1263
+ margin-bottom: 1rem;
1264
+ font-size: 1.125rem;
1265
+ line-height: 1.75rem;
1266
+ font-weight: 600;
1267
+ }
1268
+
1269
+ .aui-md-h5:first-child {
1270
+ margin-top: 0px;
1271
+ }
1272
+
1273
+ .aui-md-h5:last-child {
1274
+ margin-bottom: 0px;
1275
+ }
1276
+
1277
+ .aui-md-h6 {
1278
+ margin-top: 1rem;
1279
+ margin-bottom: 1rem;
1280
+ font-weight: 600;
1281
+ }
1282
+
1283
+ .aui-md-h6:first-child {
1284
+ margin-top: 0px;
1285
+ }
1286
+
1287
+ .aui-md-h6:last-child {
1288
+ margin-bottom: 0px;
1289
+ }
1290
+
1291
+ .aui-md-p {
1292
+ margin-bottom: 1.25rem;
1293
+ margin-top: 1.25rem;
1294
+ line-height: 1.75rem;
1295
+ }
1296
+
1297
+ .aui-md-p:first-child {
1298
+ margin-top: 0px;
1299
+ }
1300
+
1301
+ .aui-md-p:last-child {
1302
+ margin-bottom: 0px;
1303
+ }
1304
+
1305
+ .aui-md-a {
1306
+ font-weight: 500;
1307
+ color: hsl(var(--aui-primary));
1308
+ text-decoration-line: underline;
1309
+ text-underline-offset: 4px;
1310
+ }
1311
+
1312
+ .aui-md-blockquote {
1313
+ border-left-width: 2px;
1314
+ padding-left: 1.5rem;
1315
+ font-style: italic;
1316
+ }
1317
+
1318
+ .aui-md-ul {
1319
+ margin-top: 1.25rem;
1320
+ margin-bottom: 1.25rem;
1321
+ margin-left: 1.5rem;
1322
+ list-style-type: disc;
1323
+ }
1324
+
1325
+ .aui-md-ul>li {
1326
+ margin-top: 0.5rem;
1327
+ }
1328
+
1329
+ .aui-md-ol {
1330
+ margin-top: 1.25rem;
1331
+ margin-bottom: 1.25rem;
1332
+ margin-left: 1.5rem;
1333
+ list-style-type: decimal;
1334
+ }
1335
+
1336
+ .aui-md-ol>li {
1337
+ margin-top: 0.5rem;
1338
+ }
1339
+
1340
+ .aui-md-hr {
1341
+ margin-top: 1.25rem;
1342
+ margin-bottom: 1.25rem;
1343
+ border-bottom-width: 1px;
1344
+ }
1345
+
1346
+ .aui-md-table {
1347
+ margin-top: 1.25rem;
1348
+ margin-bottom: 1.25rem;
1349
+ width: 100%;
1350
+ border-collapse: separate;
1351
+ --tw-border-spacing-x: 0px;
1352
+ --tw-border-spacing-y: 0px;
1353
+ border-spacing: var(--tw-border-spacing-x) var(--tw-border-spacing-y);
1354
+ overflow-y: auto;
1355
+ }
1356
+
1357
+ .aui-md-th {
1358
+ background-color: hsl(var(--aui-muted));
1359
+ padding-left: 1rem;
1360
+ padding-right: 1rem;
1361
+ padding-top: 0.5rem;
1362
+ padding-bottom: 0.5rem;
1363
+ text-align: left;
1364
+ font-weight: 700;
1365
+ }
1366
+
1367
+ .aui-md-th:first-child {
1368
+ border-top-left-radius: 0.5rem;
1369
+ }
1370
+
1371
+ .aui-md-th:last-child {
1372
+ border-top-right-radius: 0.5rem;
1373
+ }
1374
+
1375
+ .aui-md-th[align=center] {
1376
+ text-align: center;
1377
+ }
1378
+
1379
+ .aui-md-th[align=right] {
1380
+ text-align: right;
1381
+ }
1382
+
1383
+ .aui-md-td {
1384
+ border-bottom-width: 1px;
1385
+ border-left-width: 1px;
1386
+ padding-left: 1rem;
1387
+ padding-right: 1rem;
1388
+ padding-top: 0.5rem;
1389
+ padding-bottom: 0.5rem;
1390
+ text-align: left;
1391
+ }
1392
+
1393
+ .aui-md-td:last-child {
1394
+ border-right-width: 1px;
1395
+ }
1396
+
1397
+ .aui-md-td[align=center] {
1398
+ text-align: center;
1399
+ }
1400
+
1401
+ .aui-md-td[align=right] {
1402
+ text-align: right;
1403
+ }
1404
+
1405
+ .aui-md-tr {
1406
+ margin: 0px;
1407
+ border-bottom-width: 1px;
1408
+ padding: 0px;
1409
+ }
1410
+
1411
+ .aui-md-tr:first-child {
1412
+ border-top-width: 1px;
1413
+ }
1414
+
1415
+ .aui-md-tr:last-child>td:first-child {
1416
+ border-bottom-left-radius: 0.5rem;
1417
+ }
1418
+
1419
+ .aui-md-tr:last-child>td:last-child {
1420
+ border-bottom-right-radius: 0.5rem;
1421
+ }
1422
+
1423
+ .aui-md-sup>a {
1424
+ font-size: 0.75rem;
1425
+ line-height: 1rem;
1426
+ text-decoration-line: none;
1427
+ }
1428
+
1429
+ .aui-md-pre {
1430
+ overflow-x: auto;
1431
+ border-bottom-right-radius: 0.5rem;
1432
+ border-bottom-left-radius: 0.5rem;
1433
+ --tw-bg-opacity: 1;
1434
+ background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));
1435
+ padding: 1rem;
1436
+ --tw-text-opacity: 1;
1437
+ color: rgb(255 255 255 / var(--tw-text-opacity, 1));
1438
+ }
1439
+
1440
+ .aui-md-inline-code {
1441
+ border-radius: 0.25rem;
1442
+ border-width: 1px;
1443
+ background-color: hsl(var(--aui-muted));
1444
+ font-weight: 600;
1445
+ }
1446
+
1447
+ .aui-code-header-root {
1448
+ display: flex;
1449
+ align-items: center;
1450
+ justify-content: space-between;
1451
+ gap: 1rem;
1452
+ border-top-left-radius: 0.5rem;
1453
+ border-top-right-radius: 0.5rem;
1454
+ --tw-bg-opacity: 1;
1455
+ background-color: rgb(24 24 27 / var(--tw-bg-opacity, 1));
1456
+ padding-left: 1rem;
1457
+ padding-right: 1rem;
1458
+ padding-top: 0.5rem;
1459
+ padding-bottom: 0.5rem;
1460
+ font-size: 0.875rem;
1461
+ line-height: 1.25rem;
1462
+ font-weight: 600;
1463
+ --tw-text-opacity: 1;
1464
+ color: rgb(255 255 255 / var(--tw-text-opacity, 1));
1465
+ }
1466
+
1467
+ .aui-code-header-language {
1468
+ text-transform: lowercase;
1469
+ }
1470
+
1471
+ .aui-code-header-language>span {
1472
+ font-size: 0.75rem;
1473
+ line-height: 1rem;
1474
+ }
1475
+
1476
+ /* your custom layer goes AFTER Tailwind imports */
1477
+
1
1478
  .thread-viewport > [data-radix-scroll-area-content] {
2
1479
  display: flex;
3
1480
  flex-direction: column;