@mastra/react 0.0.5 → 0.0.6-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 (51) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist/index.cjs +1554 -0
  3. package/dist/index.cjs.map +1 -0
  4. package/dist/index.js +1491 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/react.css +719 -0
  7. package/dist/src/agent/hooks.d.ts +25 -17
  8. package/dist/src/index.d.ts +1 -0
  9. package/dist/src/lib/ai-sdk/index.d.ts +3 -3
  10. package/dist/src/lib/ai-sdk/memory/resolveInitialMessages.d.ts +2 -0
  11. package/dist/src/lib/ai-sdk/transformers/AISdkNetworkTransformer.d.ts +10 -0
  12. package/dist/src/lib/ai-sdk/transformers/types.d.ts +10 -0
  13. package/dist/src/lib/ai-sdk/types.d.ts +14 -0
  14. package/dist/src/lib/ai-sdk/{toAssistantUIMessage.d.ts → utils/toAssistantUIMessage.d.ts} +1 -1
  15. package/dist/src/lib/ai-sdk/{toUIMessage.d.ts → utils/toUIMessage.d.ts} +6 -5
  16. package/dist/src/mastra-client-context.d.ts +1 -0
  17. package/dist/src/ui/Code/Code.d.ts +13 -0
  18. package/dist/src/ui/Code/highlight.d.ts +3 -0
  19. package/dist/src/ui/Code/index.d.ts +1 -0
  20. package/dist/src/ui/Entity/Entity.d.ts +13 -0
  21. package/dist/src/ui/Entity/Entity.stories.d.ts +22 -0
  22. package/dist/src/ui/Entity/Entry.d.ts +9 -0
  23. package/dist/src/ui/Entity/ToolApproval.d.ts +10 -0
  24. package/dist/src/ui/Entity/context.d.ts +10 -0
  25. package/dist/src/ui/Entity/index.d.ts +4 -0
  26. package/dist/src/ui/Entity/types.d.ts +1 -0
  27. package/dist/src/ui/Icon/Icon.d.ts +11 -0
  28. package/dist/src/ui/Icon/index.d.ts +1 -0
  29. package/dist/src/ui/IconButton/IconButton.d.ts +8 -0
  30. package/dist/src/ui/IconButton/IconButton.stories.d.ts +12 -0
  31. package/dist/src/ui/IconButton/index.d.ts +1 -0
  32. package/dist/src/ui/Icons/AgentIcon.d.ts +2 -0
  33. package/dist/src/ui/Icons/ToolsIcon.d.ts +2 -0
  34. package/dist/src/ui/Icons/WorkflowIcon.d.ts +2 -0
  35. package/dist/src/ui/Icons/index.d.ts +3 -0
  36. package/dist/src/ui/Message/Message.d.ts +25 -0
  37. package/dist/src/ui/Message/Message.stories.d.ts +13 -0
  38. package/dist/src/ui/Message/index.d.ts +1 -0
  39. package/dist/src/ui/Tooltip/Tooltip.d.ts +8 -0
  40. package/dist/src/ui/Tooltip/Tooltip.stories.d.ts +12 -0
  41. package/dist/src/ui/Tooltip/index.d.ts +1 -0
  42. package/dist/src/ui/index.d.ts +7 -0
  43. package/package.json +45 -11
  44. package/dist/index.cjs.js +0 -947
  45. package/dist/index.cjs.js.map +0 -1
  46. package/dist/index.es.js +0 -937
  47. package/dist/index.es.js.map +0 -1
  48. package/dist/src/lib/ai-sdk/toNetworkUIMessage.d.ts +0 -6
  49. package/dist/src/lib/ai-sdk/toNetworkUIMessage.test.d.ts +0 -1
  50. package/dist/src/lib/ai-sdk/toUIMessage.test.d.ts +0 -1
  51. /package/dist/src/lib/ai-sdk/{toAssistantUIMessage.test.d.ts → utils/toAssistantUIMessage.test.d.ts} +0 -0
package/dist/react.css ADDED
@@ -0,0 +1,719 @@
1
+ /*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */
2
+ @layer properties {
3
+ @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
4
+ *, :before, :after, ::backdrop {
5
+ --tw-space-y-reverse: 0;
6
+ --tw-border-style: solid;
7
+ --tw-duration: initial;
8
+ --tw-ease: initial;
9
+ --tw-leading: initial;
10
+ }
11
+ }
12
+ }
13
+
14
+ @layer theme {
15
+ :root, :host {
16
+ --mastra-font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
17
+ --mastra-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
18
+ --mastra-color-red-500: oklch(63.7% .237 25.331);
19
+ --mastra-spacing: .25rem;
20
+ --mastra-text-xs: .75rem;
21
+ --mastra-text-xs--line-height: calc(1 / .75);
22
+ --mastra-text-sm: .875rem;
23
+ --mastra-text-sm--line-height: calc(1.25 / .875);
24
+ --mastra-radius-md: .375rem;
25
+ --mastra-radius-lg: .5rem;
26
+ --mastra-ease-in-out: cubic-bezier(.4, 0, .2, 1);
27
+ --mastra-animate-pulse: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;
28
+ --mastra-default-transition-duration: .15s;
29
+ --mastra-default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
30
+ --mastra-default-font-family: var(--mastra-font-sans);
31
+ --mastra-default-mono-font-family: var(--mastra-font-mono);
32
+ --mastra-color-text3: #939393;
33
+ --mastra-color-text5: #e6e6e6;
34
+ --mastra-color-text6: #fff;
35
+ --mastra-color-surface3: #141414;
36
+ --mastra-color-surface4: #1a1a1a;
37
+ --mastra-color-surface5: #2e2e2ee6;
38
+ --mastra-color-accent1: var(--color-accent1);
39
+ --mastra-color-accent2: var(--color-accent2);
40
+ --mastra-color-accent3: var(--color-accent3);
41
+ --mastra-color-accent6: var(--color-accent6);
42
+ --mastra-color-border1: #303030;
43
+ }
44
+ }
45
+
46
+ @layer base {
47
+ *, :after, :before, ::backdrop {
48
+ box-sizing: border-box;
49
+ border: 0 solid;
50
+ margin: 0;
51
+ padding: 0;
52
+ }
53
+
54
+ ::file-selector-button {
55
+ box-sizing: border-box;
56
+ border: 0 solid;
57
+ margin: 0;
58
+ padding: 0;
59
+ }
60
+
61
+ html, :host {
62
+ -webkit-text-size-adjust: 100%;
63
+ tab-size: 4;
64
+ line-height: 1.5;
65
+ font-family: var(--mastra-default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
66
+ font-feature-settings: var(--mastra-default-font-feature-settings, normal);
67
+ font-variation-settings: var(--mastra-default-font-variation-settings, normal);
68
+ -webkit-tap-highlight-color: transparent;
69
+ }
70
+
71
+ hr {
72
+ height: 0;
73
+ color: inherit;
74
+ border-top-width: 1px;
75
+ }
76
+
77
+ abbr:where([title]) {
78
+ -webkit-text-decoration: underline dotted;
79
+ text-decoration: underline dotted;
80
+ }
81
+
82
+ h1, h2, h3, h4, h5, h6 {
83
+ font-size: inherit;
84
+ font-weight: inherit;
85
+ }
86
+
87
+ a {
88
+ color: inherit;
89
+ -webkit-text-decoration: inherit;
90
+ -webkit-text-decoration: inherit;
91
+ -webkit-text-decoration: inherit;
92
+ text-decoration: inherit;
93
+ }
94
+
95
+ b, strong {
96
+ font-weight: bolder;
97
+ }
98
+
99
+ code, kbd, samp, pre {
100
+ font-family: var(--mastra-default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
101
+ font-feature-settings: var(--mastra-default-mono-font-feature-settings, normal);
102
+ font-variation-settings: var(--mastra-default-mono-font-variation-settings, normal);
103
+ font-size: 1em;
104
+ }
105
+
106
+ small {
107
+ font-size: 80%;
108
+ }
109
+
110
+ sub, sup {
111
+ vertical-align: baseline;
112
+ font-size: 75%;
113
+ line-height: 0;
114
+ position: relative;
115
+ }
116
+
117
+ sub {
118
+ bottom: -.25em;
119
+ }
120
+
121
+ sup {
122
+ top: -.5em;
123
+ }
124
+
125
+ table {
126
+ text-indent: 0;
127
+ border-color: inherit;
128
+ border-collapse: collapse;
129
+ }
130
+
131
+ :-moz-focusring {
132
+ outline: auto;
133
+ }
134
+
135
+ progress {
136
+ vertical-align: baseline;
137
+ }
138
+
139
+ summary {
140
+ display: list-item;
141
+ }
142
+
143
+ ol, ul, menu {
144
+ list-style: none;
145
+ }
146
+
147
+ img, svg, video, canvas, audio, iframe, embed, object {
148
+ vertical-align: middle;
149
+ display: block;
150
+ }
151
+
152
+ img, video {
153
+ max-width: 100%;
154
+ height: auto;
155
+ }
156
+
157
+ button, input, select, optgroup, textarea {
158
+ font: inherit;
159
+ font-feature-settings: inherit;
160
+ font-variation-settings: inherit;
161
+ letter-spacing: inherit;
162
+ color: inherit;
163
+ opacity: 1;
164
+ background-color: #0000;
165
+ border-radius: 0;
166
+ }
167
+
168
+ ::file-selector-button {
169
+ font: inherit;
170
+ font-feature-settings: inherit;
171
+ font-variation-settings: inherit;
172
+ letter-spacing: inherit;
173
+ color: inherit;
174
+ opacity: 1;
175
+ background-color: #0000;
176
+ border-radius: 0;
177
+ }
178
+
179
+ :where(select:is([multiple], [size])) optgroup {
180
+ font-weight: bolder;
181
+ }
182
+
183
+ :where(select:is([multiple], [size])) optgroup option {
184
+ padding-inline-start: 20px;
185
+ }
186
+
187
+ ::file-selector-button {
188
+ margin-inline-end: 4px;
189
+ }
190
+
191
+ ::placeholder {
192
+ opacity: 1;
193
+ }
194
+
195
+ @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
196
+ ::placeholder {
197
+ color: currentColor;
198
+ }
199
+
200
+ @supports (color: color-mix(in lab, red, red)) {
201
+ ::placeholder {
202
+ color: color-mix(in oklab, currentcolor 50%, transparent);
203
+ }
204
+ }
205
+ }
206
+
207
+ textarea {
208
+ resize: vertical;
209
+ }
210
+
211
+ ::-webkit-search-decoration {
212
+ -webkit-appearance: none;
213
+ }
214
+
215
+ ::-webkit-date-and-time-value {
216
+ min-height: 1lh;
217
+ text-align: inherit;
218
+ }
219
+
220
+ ::-webkit-datetime-edit {
221
+ display: inline-flex;
222
+ }
223
+
224
+ ::-webkit-datetime-edit-fields-wrapper {
225
+ padding: 0;
226
+ }
227
+
228
+ ::-webkit-datetime-edit {
229
+ padding-block: 0;
230
+ }
231
+
232
+ ::-webkit-datetime-edit-year-field {
233
+ padding-block: 0;
234
+ }
235
+
236
+ ::-webkit-datetime-edit-month-field {
237
+ padding-block: 0;
238
+ }
239
+
240
+ ::-webkit-datetime-edit-day-field {
241
+ padding-block: 0;
242
+ }
243
+
244
+ ::-webkit-datetime-edit-hour-field {
245
+ padding-block: 0;
246
+ }
247
+
248
+ ::-webkit-datetime-edit-minute-field {
249
+ padding-block: 0;
250
+ }
251
+
252
+ ::-webkit-datetime-edit-second-field {
253
+ padding-block: 0;
254
+ }
255
+
256
+ ::-webkit-datetime-edit-millisecond-field {
257
+ padding-block: 0;
258
+ }
259
+
260
+ ::-webkit-datetime-edit-meridiem-field {
261
+ padding-block: 0;
262
+ }
263
+
264
+ ::-webkit-calendar-picker-indicator {
265
+ line-height: 1;
266
+ }
267
+
268
+ :-moz-ui-invalid {
269
+ box-shadow: none;
270
+ }
271
+
272
+ button, input:where([type="button"], [type="reset"], [type="submit"]) {
273
+ appearance: button;
274
+ }
275
+
276
+ ::file-selector-button {
277
+ appearance: button;
278
+ }
279
+
280
+ ::-webkit-inner-spin-button {
281
+ height: auto;
282
+ }
283
+
284
+ ::-webkit-outer-spin-button {
285
+ height: auto;
286
+ }
287
+
288
+ [hidden]:where(:not([hidden="until-found"])) {
289
+ display: none !important;
290
+ }
291
+ }
292
+
293
+ @layer components;
294
+
295
+ @layer utilities {
296
+ .mastra\:absolute {
297
+ position: absolute;
298
+ }
299
+
300
+ .mastra\:relative {
301
+ position: relative;
302
+ }
303
+
304
+ .mastra\:top-2 {
305
+ top: calc(var(--mastra-spacing) * 2);
306
+ }
307
+
308
+ .mastra\:right-2 {
309
+ right: calc(var(--mastra-spacing) * 2);
310
+ }
311
+
312
+ .mastra\:-mt-\[0\.5px\] {
313
+ margin-top: -.5px;
314
+ }
315
+
316
+ .mastra\:mt-2 {
317
+ margin-top: calc(var(--mastra-spacing) * 2);
318
+ }
319
+
320
+ .mastra\:ml-0\.5 {
321
+ margin-left: calc(var(--mastra-spacing) * .5);
322
+ }
323
+
324
+ .mastra\:flex {
325
+ display: flex;
326
+ }
327
+
328
+ .mastra\:inline-block {
329
+ display: inline-block;
330
+ }
331
+
332
+ .mastra\:inline-flex {
333
+ display: inline-flex;
334
+ }
335
+
336
+ .mastra\:h-\[1em\] {
337
+ height: 1em;
338
+ }
339
+
340
+ .mastra\:h-full {
341
+ height: 100%;
342
+ }
343
+
344
+ .mastra\:w-\[2px\] {
345
+ width: 2px;
346
+ }
347
+
348
+ .mastra\:w-full {
349
+ width: 100%;
350
+ }
351
+
352
+ .mastra\:max-w-1\/2 {
353
+ max-width: 50%;
354
+ }
355
+
356
+ .mastra\:max-w-4\/5 {
357
+ max-width: 80%;
358
+ }
359
+
360
+ .mastra\:-rotate-90 {
361
+ rotate: -90deg;
362
+ }
363
+
364
+ .mastra\:rotate-0 {
365
+ rotate: none;
366
+ }
367
+
368
+ .mastra\:animate-pulse {
369
+ animation: var(--mastra-animate-pulse);
370
+ }
371
+
372
+ .mastra\:cursor-pointer {
373
+ cursor: pointer;
374
+ }
375
+
376
+ .mastra\:flex-col {
377
+ flex-direction: column;
378
+ }
379
+
380
+ .mastra\:items-center {
381
+ align-items: center;
382
+ }
383
+
384
+ .mastra\:items-end {
385
+ align-items: flex-end;
386
+ }
387
+
388
+ .mastra\:justify-between {
389
+ justify-content: space-between;
390
+ }
391
+
392
+ .mastra\:gap-1 {
393
+ gap: calc(var(--mastra-spacing) * 1);
394
+ }
395
+
396
+ .mastra\:gap-2 {
397
+ gap: calc(var(--mastra-spacing) * 2);
398
+ }
399
+
400
+ :where(.mastra\:space-y-2 > :not(:last-child)) {
401
+ --tw-space-y-reverse: 0;
402
+ margin-block-start: calc(calc(var(--mastra-spacing) * 2) * var(--tw-space-y-reverse));
403
+ margin-block-end: calc(calc(var(--mastra-spacing) * 2) * calc(1 - var(--tw-space-y-reverse)));
404
+ }
405
+
406
+ :where(.mastra\:space-y-4 > :not(:last-child)) {
407
+ --tw-space-y-reverse: 0;
408
+ margin-block-start: calc(calc(var(--mastra-spacing) * 4) * var(--tw-space-y-reverse));
409
+ margin-block-end: calc(calc(var(--mastra-spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));
410
+ }
411
+
412
+ .mastra\:overflow-hidden {
413
+ overflow: hidden;
414
+ }
415
+
416
+ .mastra\:overflow-y-auto {
417
+ overflow-y: auto;
418
+ }
419
+
420
+ .mastra\:rounded-lg {
421
+ border-radius: var(--mastra-radius-lg);
422
+ }
423
+
424
+ .mastra\:rounded-md {
425
+ border-radius: var(--mastra-radius-md);
426
+ }
427
+
428
+ .mastra\:rounded-tl-none {
429
+ border-top-left-radius: 0;
430
+ }
431
+
432
+ .mastra\:border {
433
+ border-style: var(--tw-border-style);
434
+ border-width: .5px;
435
+ }
436
+
437
+ .mastra\:border-b {
438
+ border-bottom-style: var(--tw-border-style);
439
+ border-bottom-width: .5px;
440
+ }
441
+
442
+ .mastra\:border-border1 {
443
+ border-color: var(--mastra-color-border1);
444
+ }
445
+
446
+ .mastra\:bg-red-500 {
447
+ background-color: var(--mastra-color-red-500);
448
+ }
449
+
450
+ .mastra\:bg-surface3 {
451
+ background-color: var(--mastra-color-surface3);
452
+ }
453
+
454
+ .mastra\:bg-surface4 {
455
+ background-color: var(--mastra-color-surface4);
456
+ }
457
+
458
+ .mastra\:bg-text5 {
459
+ background-color: var(--mastra-color-text5);
460
+ }
461
+
462
+ .mastra\:p-0\.5 {
463
+ padding: calc(var(--mastra-spacing) * .5);
464
+ }
465
+
466
+ .mastra\:p-1 {
467
+ padding: calc(var(--mastra-spacing) * 1);
468
+ }
469
+
470
+ .mastra\:p-4 {
471
+ padding: calc(var(--mastra-spacing) * 4);
472
+ }
473
+
474
+ .mastra\:px-2 {
475
+ padding-inline: calc(var(--mastra-spacing) * 2);
476
+ }
477
+
478
+ .mastra\:px-4 {
479
+ padding-inline: calc(var(--mastra-spacing) * 4);
480
+ }
481
+
482
+ .mastra\:py-1 {
483
+ padding-block: calc(var(--mastra-spacing) * 1);
484
+ }
485
+
486
+ .mastra\:py-2 {
487
+ padding-block: calc(var(--mastra-spacing) * 2);
488
+ }
489
+
490
+ .mastra\:py-4 {
491
+ padding-block: calc(var(--mastra-spacing) * 4);
492
+ }
493
+
494
+ .mastra\:align-text-bottom {
495
+ vertical-align: text-bottom;
496
+ }
497
+
498
+ .mastra\:font-mono {
499
+ font-family: var(--mastra-font-mono);
500
+ }
501
+
502
+ .mastra\:text-sm {
503
+ font-size: var(--mastra-text-sm);
504
+ line-height: var(--tw-leading, var(--mastra-text-sm--line-height));
505
+ }
506
+
507
+ .mastra\:text-xs {
508
+ font-size: var(--mastra-text-xs);
509
+ line-height: var(--tw-leading, var(--mastra-text-xs--line-height));
510
+ }
511
+
512
+ .mastra\:text-text3 {
513
+ color: var(--mastra-color-text3);
514
+ }
515
+
516
+ .mastra\:text-text6 {
517
+ color: var(--mastra-color-text6);
518
+ }
519
+
520
+ .mastra\:opacity-0 {
521
+ opacity: 0;
522
+ }
523
+
524
+ .mastra\:transition-transform {
525
+ transition-property: transform, translate, scale, rotate;
526
+ transition-timing-function: var(--tw-ease, var(--mastra-default-transition-timing-function));
527
+ transition-duration: var(--tw-duration, var(--mastra-default-transition-duration));
528
+ }
529
+
530
+ .mastra\:duration-200 {
531
+ --tw-duration: .2s;
532
+ transition-duration: .2s;
533
+ }
534
+
535
+ .mastra\:ease-in-out {
536
+ --tw-ease: var(--mastra-ease-in-out);
537
+ transition-timing-function: var(--mastra-ease-in-out);
538
+ }
539
+
540
+ .mastra\:group-focus-within\:opacity-100:is(:where(.mastra\:group):focus-within *) {
541
+ opacity: 1;
542
+ }
543
+
544
+ @media (hover: hover) {
545
+ .mastra\:group-hover\:opacity-100:is(:where(.mastra\:group):hover *) {
546
+ opacity: 1;
547
+ }
548
+
549
+ .mastra\:hover\:bg-surface4:hover {
550
+ background-color: var(--mastra-color-surface4);
551
+ }
552
+
553
+ .mastra\:hover\:text-text6:hover {
554
+ color: var(--mastra-color-text6);
555
+ }
556
+ }
557
+
558
+ .mastra\:active\:bg-surface5:active {
559
+ background-color: var(--mastra-color-surface5);
560
+ }
561
+
562
+ .mastra\:active\:text-text6:active {
563
+ color: var(--mastra-color-text6);
564
+ }
565
+
566
+ .mastra\:aria-disabled\:cursor-not-allowed[aria-disabled="true"] {
567
+ cursor: not-allowed;
568
+ }
569
+
570
+ .mastra\:aria-disabled\:bg-surface5[aria-disabled="true"] {
571
+ background-color: var(--mastra-color-surface5);
572
+ }
573
+
574
+ .mastra\:aria-disabled\:text-text3[aria-disabled="true"] {
575
+ color: var(--mastra-color-text3);
576
+ }
577
+
578
+ .mastra\:aria-expanded\:rounded-b-none[aria-expanded="true"] {
579
+ border-bottom-right-radius: 0;
580
+ border-bottom-left-radius: 0;
581
+ }
582
+
583
+ .mastra\:aria-expanded\:border-b-0[aria-expanded="true"] {
584
+ border-bottom-style: var(--tw-border-style);
585
+ border-bottom-width: 0;
586
+ }
587
+
588
+ .mastra\:\[\&_\.mastra-message-content\]\:bg-surface4 .mastra-message-content {
589
+ background-color: var(--mastra-color-surface4);
590
+ }
591
+
592
+ .mastra\:\[\&_\.mastra-message-content\]\:px-4 .mastra-message-content {
593
+ padding-inline: calc(var(--mastra-spacing) * 4);
594
+ }
595
+
596
+ .mastra\:\[\&_svg\.mastra-icon\]\:text-accent1 svg.mastra-icon {
597
+ color: var(--mastra-color-accent1);
598
+ }
599
+
600
+ .mastra\:\[\&_svg\.mastra-icon\]\:text-accent2 svg.mastra-icon {
601
+ color: var(--mastra-color-accent2);
602
+ }
603
+
604
+ .mastra\:\[\&_svg\.mastra-icon\]\:text-accent3 svg.mastra-icon {
605
+ color: var(--mastra-color-accent3);
606
+ }
607
+
608
+ .mastra\:\[\&_svg\.mastra-icon\]\:text-accent6 svg.mastra-icon {
609
+ color: var(--mastra-color-accent6);
610
+ }
611
+
612
+ .mastra\:\[\&_svg\.mastra-icon\]\:text-text3 svg.mastra-icon {
613
+ color: var(--mastra-color-text3);
614
+ }
615
+
616
+ .mastra\:\[\&\>pre\]\:\!bg-surface4 > pre {
617
+ background-color: var(--mastra-color-surface4) !important;
618
+ }
619
+
620
+ .mastra\:\[\&\>pre\]\:p-4 > pre {
621
+ padding: calc(var(--mastra-spacing) * 4);
622
+ }
623
+
624
+ .mastra\:\[\&\>pre\>code\]\:leading-5 > pre > code {
625
+ --tw-leading: calc(var(--mastra-spacing) * 5);
626
+ line-height: calc(var(--mastra-spacing) * 5);
627
+ }
628
+
629
+ .mastra\:\[\&\>svg\]\:size-3 > svg {
630
+ width: calc(var(--mastra-spacing) * 3);
631
+ height: calc(var(--mastra-spacing) * 3);
632
+ }
633
+
634
+ .mastra\:\[\&\>svg\]\:size-4 > svg {
635
+ width: calc(var(--mastra-spacing) * 4);
636
+ height: calc(var(--mastra-spacing) * 4);
637
+ }
638
+
639
+ .mastra\:\[\&\>svg\]\:size-5 > svg {
640
+ width: calc(var(--mastra-spacing) * 5);
641
+ height: calc(var(--mastra-spacing) * 5);
642
+ }
643
+ }
644
+
645
+ :root {
646
+ --color-accent1: #1afb6f;
647
+ --color-accent2: #ff4931;
648
+ --color-accent3: #267ad2;
649
+ --color-accent4: #9e57b3;
650
+ --color-accent5: #4a9df2;
651
+ --color-accent6: #ecb047;
652
+ }
653
+
654
+ @keyframes tooltip-fade-in {
655
+ from {
656
+ opacity: 0;
657
+ transform: translateY(-8px);
658
+ }
659
+
660
+ to {
661
+ opacity: 1;
662
+ transform: translateY(0);
663
+ }
664
+ }
665
+
666
+ .mastra-tooltip-enter {
667
+ animation: .2s ease-in-out tooltip-fade-in;
668
+ }
669
+
670
+ .mastra-list {
671
+ scrollbar-width: thin;
672
+ padding-right: 8px;
673
+ overflow-y: auto;
674
+ }
675
+
676
+ .mastra-list::-webkit-scrollbar {
677
+ width: 4px;
678
+ }
679
+
680
+ .mastra-list::-webkit-scrollbar-track {
681
+ border-radius: 4px;
682
+ }
683
+
684
+ .mastra-list::-webkit-scrollbar-thumb {
685
+ border-radius: 4px;
686
+ }
687
+
688
+ @property --tw-space-y-reverse {
689
+ syntax: "*";
690
+ inherits: false;
691
+ initial-value: 0;
692
+ }
693
+
694
+ @property --tw-border-style {
695
+ syntax: "*";
696
+ inherits: false;
697
+ initial-value: solid;
698
+ }
699
+
700
+ @property --tw-duration {
701
+ syntax: "*";
702
+ inherits: false
703
+ }
704
+
705
+ @property --tw-ease {
706
+ syntax: "*";
707
+ inherits: false
708
+ }
709
+
710
+ @property --tw-leading {
711
+ syntax: "*";
712
+ inherits: false
713
+ }
714
+
715
+ @keyframes pulse {
716
+ 50% {
717
+ opacity: .5;
718
+ }
719
+ }