@mastra/playground-ui 69.0.0-alpha.6 → 69.0.0-alpha.7

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/dist/style.css CHANGED
@@ -3268,10 +3268,6 @@
3268
3268
  width: 20rem;
3269
3269
  }
3270
3270
 
3271
- .w-\[30px\] {
3272
- width: 30px;
3273
- }
3274
-
3275
3271
  .w-\[32rem\] {
3276
3272
  width: 32rem;
3277
3273
  }
@@ -4961,6 +4957,10 @@
4961
4957
  border-radius: 23px;
4962
4958
  }
4963
4959
 
4960
+ .rounded-\[calc\(var\(--radius-lg\)-3px\)\] {
4961
+ border-radius: calc(var(--radius-lg) - 3px);
4962
+ }
4963
+
4964
4964
  .rounded-\[calc\(var\(--radius-xl\)\+--spacing\(1\)\)\] {
4965
4965
  border-radius: calc(var(--radius-xl) + var(--spacing));
4966
4966
  }
@@ -5562,10 +5562,6 @@
5562
5562
  background-color: var(--fill);
5563
5563
  }
5564
5564
 
5565
- .bg-fill-active {
5566
- background-color: var(--fill-active);
5567
- }
5568
-
5569
5565
  .bg-fill-destructive {
5570
5566
  background-color: var(--fill-destructive);
5571
5567
  }
@@ -6690,6 +6686,10 @@
6690
6686
  padding-right: 0;
6691
6687
  }
6692
6688
 
6689
+ .pr-0\.75 {
6690
+ padding-right: calc(var(--spacing) * .75);
6691
+ }
6692
+
6693
6693
  .pr-1 {
6694
6694
  padding-right: var(--spacing);
6695
6695
  }
@@ -7900,6 +7900,18 @@
7900
7900
  transition-duration: var(--tw-duration, var(--default-transition-duration));
7901
7901
  }
7902
7902
 
7903
+ .transition-\[background-color\,scale\] {
7904
+ transition-property: background-color, scale;
7905
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
7906
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
7907
+ }
7908
+
7909
+ .transition-\[background-color\,translate\,width\,transform\] {
7910
+ transition-property: background-color, translate, width, transform;
7911
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
7912
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
7913
+ }
7914
+
7903
7915
  .transition-\[background-size\] {
7904
7916
  transition-property: background-size;
7905
7917
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
@@ -9042,6 +9054,10 @@
9042
9054
  opacity: 1;
9043
9055
  }
9044
9056
 
9057
+ .group-active\/switch\:w-6:is(:where(.group\/switch):active *) {
9058
+ width: calc(var(--spacing) * 6);
9059
+ }
9060
+
9045
9061
  .group-has-focus-visible\/row\:flex:is(:where(.group\/row):has(:focus-visible) *) {
9046
9062
  display: flex;
9047
9063
  }
@@ -9054,6 +9070,10 @@
9054
9070
  color: var(--muted-foreground);
9055
9071
  }
9056
9072
 
9073
+ .group-has-\[\[data-slot\=sidebar-nav-description\]\]\/nav-row\:pt-0\.75:is(:where(.group\/nav-row):has([data-slot="sidebar-nav-description"]) *) {
9074
+ padding-top: calc(var(--spacing) * .75);
9075
+ }
9076
+
9057
9077
  .group-data-collapsed\/task-list\:translate-x-0:is(:where(.group\/task-list)[data-collapsed] *) {
9058
9078
  --tw-translate-x: 0px;
9059
9079
  translate: var(--tw-translate-x) var(--tw-translate-y);
@@ -9125,6 +9145,10 @@
9125
9145
  clip-path: inset(0);
9126
9146
  }
9127
9147
 
9148
+ .group-data-\[disabled\]\/switch\:w-5:is(:where(.group\/switch)[data-disabled] *) {
9149
+ width: calc(var(--spacing) * 5);
9150
+ }
9151
+
9128
9152
  .group-data-\[ending-style\]\/popup\:opacity-0:is(:where(.group\/popup)[data-ending-style] *) {
9129
9153
  opacity: 0;
9130
9154
  }
@@ -9777,11 +9801,6 @@
9777
9801
  z-index: calc(1 * -1);
9778
9802
  }
9779
9803
 
9780
- .after\:-z-10:after {
9781
- content: var(--tw-content);
9782
- z-index: calc(10 * -1);
9783
- }
9784
-
9785
9804
  .after\:-z-20:after {
9786
9805
  content: var(--tw-content);
9787
9806
  z-index: calc(20 * -1);
@@ -9870,11 +9889,6 @@
9870
9889
  background-color: var(--destructive-indicator);
9871
9890
  }
9872
9891
 
9873
- .after\:bg-inherit:after {
9874
- content: var(--tw-content);
9875
- background-color: inherit;
9876
- }
9877
-
9878
9892
  .after\:bg-muted-foreground:after {
9879
9893
  content: var(--tw-content);
9880
9894
  background-color: var(--muted-foreground);
@@ -9975,13 +9989,6 @@
9975
9989
  transition-duration: var(--tw-duration, var(--default-transition-duration));
9976
9990
  }
9977
9991
 
9978
- .after\:transition-\[translate\]:after {
9979
- content: var(--tw-content);
9980
- transition-property: translate;
9981
- transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
9982
- transition-duration: var(--tw-duration, var(--default-transition-duration));
9983
- }
9984
-
9985
9992
  .after\:transition-opacity:after {
9986
9993
  content: var(--tw-content);
9987
9994
  transition-property: opacity;
@@ -10901,6 +10908,22 @@
10901
10908
  background-color: var(--fill);
10902
10909
  }
10903
10910
 
10911
+ .has-\[\[data-slot\=sidebar-nav-description\]\]\:h-auto:has([data-slot="sidebar-nav-description"]) {
10912
+ height: auto;
10913
+ }
10914
+
10915
+ .has-\[\[data-slot\=sidebar-nav-description\]\]\:min-h-control-lg:has([data-slot="sidebar-nav-description"]) {
10916
+ min-height: var(--spacing-control-lg);
10917
+ }
10918
+
10919
+ .has-\[\[data-slot\=sidebar-nav-description\]\]\:items-start:has([data-slot="sidebar-nav-description"]) {
10920
+ align-items: flex-start;
10921
+ }
10922
+
10923
+ .has-\[\[data-slot\=sidebar-nav-description\]\]\:py-1\.5:has([data-slot="sidebar-nav-description"]) {
10924
+ padding-block: calc(var(--spacing) * 1.5);
10925
+ }
10926
+
10904
10927
  .not-data-disabled\:has-\[\[role\=checkbox\]\,\[role\=switch\]\,\[role\=radio\]\]\:cursor-pointer:not([data-disabled]):has(:is([role="checkbox"], [role="switch"], [role="radio"])) {
10905
10928
  cursor: pointer;
10906
10929
  }
@@ -11394,6 +11417,11 @@
11394
11417
  opacity: 1;
11395
11418
  }
11396
11419
 
11420
+ .group-active\/switch\:data-\[checked\]\:translate-x-2:is(:where(.group\/switch):active *)[data-checked] {
11421
+ --tw-translate-x: calc(var(--spacing) * 2);
11422
+ translate: var(--tw-translate-x) var(--tw-translate-y);
11423
+ }
11424
+
11397
11425
  @media (hover: hover) {
11398
11426
  .data-\[checked\]\:hover\:border-foreground\/90[data-checked]:hover {
11399
11427
  border-color: var(--foreground);
@@ -11480,6 +11508,10 @@
11480
11508
  background-color: var(--field-disabled);
11481
11509
  }
11482
11510
 
11511
+ .data-\[disabled\]\:bg-fill-hover[data-disabled] {
11512
+ background-color: var(--fill-hover);
11513
+ }
11514
+
11483
11515
  .data-\[disabled\]\:bg-fill-subtle[data-disabled] {
11484
11516
  background-color: var(--fill-subtle);
11485
11517
  }
@@ -11489,8 +11521,8 @@
11489
11521
  }
11490
11522
 
11491
11523
  @media (hover: hover) {
11492
- .data-\[disabled\]\:hover\:bg-fill-active[data-disabled]:hover {
11493
- background-color: var(--fill-active);
11524
+ .data-\[disabled\]\:hover\:bg-fill-hover[data-disabled]:hover {
11525
+ background-color: var(--fill-hover);
11494
11526
  }
11495
11527
 
11496
11528
  .data-\[disabled\]\:hover\:text-muted-foreground[data-disabled]:hover {
@@ -11509,6 +11541,26 @@
11509
11541
  border-color: var(--muted-foreground);
11510
11542
  }
11511
11543
 
11544
+ .data-\[disabled\]\:data-\[checked\]\:bg-background\/75[data-disabled][data-checked] {
11545
+ background-color: var(--background);
11546
+ }
11547
+
11548
+ @supports (color: color-mix(in lab, red, red)) {
11549
+ .data-\[disabled\]\:data-\[checked\]\:bg-background\/75[data-disabled][data-checked] {
11550
+ background-color: color-mix(in oklab, var(--background) 75%, transparent);
11551
+ }
11552
+ }
11553
+
11554
+ .data-\[disabled\]\:data-\[checked\]\:bg-foreground\/30[data-disabled][data-checked] {
11555
+ background-color: var(--foreground);
11556
+ }
11557
+
11558
+ @supports (color: color-mix(in lab, red, red)) {
11559
+ .data-\[disabled\]\:data-\[checked\]\:bg-foreground\/30[data-disabled][data-checked] {
11560
+ background-color: color-mix(in oklab, var(--foreground) 30%, transparent);
11561
+ }
11562
+ }
11563
+
11512
11564
  .data-\[disabled\]\:data-\[checked\]\:bg-muted-foreground[data-disabled][data-checked] {
11513
11565
  background-color: var(--muted-foreground);
11514
11566
  }
@@ -11518,13 +11570,13 @@
11518
11570
  }
11519
11571
 
11520
11572
  @media (hover: hover) {
11521
- .data-\[disabled\]\:data-\[checked\]\:hover\:bg-foreground\/90[data-disabled][data-checked]:hover {
11573
+ .data-\[disabled\]\:data-\[checked\]\:hover\:bg-foreground\/30[data-disabled][data-checked]:hover {
11522
11574
  background-color: var(--foreground);
11523
11575
  }
11524
11576
 
11525
11577
  @supports (color: color-mix(in lab, red, red)) {
11526
- .data-\[disabled\]\:data-\[checked\]\:hover\:bg-foreground\/90[data-disabled][data-checked]:hover {
11527
- background-color: color-mix(in oklab, var(--foreground) 90%, transparent);
11578
+ .data-\[disabled\]\:data-\[checked\]\:hover\:bg-foreground\/30[data-disabled][data-checked]:hover {
11579
+ background-color: color-mix(in oklab, var(--foreground) 30%, transparent);
11528
11580
  }
11529
11581
  }
11530
11582
  }
@@ -11921,6 +11973,21 @@
11921
11973
  user-select: none;
11922
11974
  }
11923
11975
 
11976
+ .data-\[unchecked\]\:translate-x-0[data-unchecked] {
11977
+ --tw-translate-x: 0px;
11978
+ translate: var(--tw-translate-x) var(--tw-translate-y);
11979
+ }
11980
+
11981
+ .data-\[disabled\]\:data-\[unchecked\]\:bg-foreground\/45[data-disabled][data-unchecked] {
11982
+ background-color: var(--foreground);
11983
+ }
11984
+
11985
+ @supports (color: color-mix(in lab, red, red)) {
11986
+ .data-\[disabled\]\:data-\[unchecked\]\:bg-foreground\/45[data-disabled][data-unchecked] {
11987
+ background-color: color-mix(in oklab, var(--foreground) 45%, transparent);
11988
+ }
11989
+ }
11990
+
11924
11991
  .data-\[variant\=error\]\:bg-destructive-subtle[data-variant="error"] {
11925
11992
  background-color: var(--destructive-subtle);
11926
11993
  }
@@ -13521,6 +13588,11 @@
13521
13588
  rotate: 180deg;
13522
13589
  }
13523
13590
 
13591
+ .data-\[slot\=sidebar-nav-description\]\:\[\&_svg\]\:size-3[data-slot="sidebar-nav-description"] svg {
13592
+ width: calc(var(--spacing) * 3);
13593
+ height: calc(var(--spacing) * 3);
13594
+ }
13595
+
13524
13596
  @media (prefers-reduced-motion: reduce) {
13525
13597
  .motion-reduce\:\[\&_svg\]\:transition-none svg {
13526
13598
  transition-property: none;
@@ -14301,6 +14373,10 @@
14301
14373
  opacity: .5;
14302
14374
  }
14303
14375
 
14376
+ .has-\[\[data-slot\=sidebar-nav-description\]\]\:\[\&\>svg\]\:h-lh:has([data-slot="sidebar-nav-description"]) > svg {
14377
+ height: 1lh;
14378
+ }
14379
+
14304
14380
  @container (min-width: 28rem) {
14305
14381
  .\@md\:\[\&\>svg\]\:size-8 > svg {
14306
14382
  width: calc(var(--spacing) * 8);
@@ -14442,20 +14518,6 @@
14442
14518
  width: fit-content;
14443
14519
  }
14444
14520
 
14445
- @media (hover: hover) {
14446
- .\[\@media\(hover\:hover\)\]\:group-\[\:hover\:not\(\[data-disabled\]\)\]\/switch\:after\:translate-x-0\.5:is(:where(.group\/switch):hover:not([data-disabled]) *):after {
14447
- content: var(--tw-content);
14448
- --tw-translate-x: calc(var(--spacing) * .5);
14449
- translate: var(--tw-translate-x) var(--tw-translate-y);
14450
- }
14451
-
14452
- .\[\@media\(hover\:hover\)\]\:group-\[\:hover\:not\(\[data-disabled\]\)\]\/switch\:data-\[checked\]\:after\:-translate-x-0\.5:is(:where(.group\/switch):hover:not([data-disabled]) *)[data-checked]:after {
14453
- content: var(--tw-content);
14454
- --tw-translate-x: calc(var(--spacing) * -.5);
14455
- translate: var(--tw-translate-x) var(--tw-translate-y);
14456
- }
14457
- }
14458
-
14459
14521
  [data-sidebar-mobile-present="true"] .\[\[data-sidebar-mobile-present\=\'true\'\]_\&\]\:invisible {
14460
14522
  visibility: hidden;
14461
14523
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mastra/playground-ui",
3
3
  "type": "module",
4
- "version": "69.0.0-alpha.6",
4
+ "version": "69.0.0-alpha.7",
5
5
  "description": "Mastra Playground components",
6
6
  "sideEffects": [
7
7
  "**/*.css"
@@ -224,8 +224,8 @@
224
224
  "react-dom": ">=19.0.0",
225
225
  "tailwindcss": "^4.0.0",
226
226
  "@mastra/ai-sdk": "^1.12.0-alpha.0",
227
- "@mastra/client-js": "^1.60.0-alpha.5",
228
- "@mastra/react": "1.15.0-alpha.5"
227
+ "@mastra/client-js": "^1.60.0-alpha.6",
228
+ "@mastra/react": "1.15.0-alpha.6"
229
229
  },
230
230
  "devDependencies": {
231
231
  "@modelcontextprotocol/client": "2.4.0",
@@ -271,11 +271,11 @@
271
271
  "vitest": "5.1.0",
272
272
  "@internal/lint": "0.0.148",
273
273
  "@mastra/ai-sdk": "1.12.0-alpha.0",
274
- "@mastra/client-js": "^1.60.0-alpha.5",
275
- "@mastra/core": "1.83.0-alpha.5",
276
- "@mastra/memory": "1.41.1-alpha.2",
277
- "@mastra/react": "1.15.0-alpha.5",
278
- "@mastra/schema-compat": "1.3.17"
274
+ "@mastra/client-js": "^1.60.0-alpha.6",
275
+ "@mastra/core": "1.83.0-alpha.6",
276
+ "@mastra/memory": "1.41.1-alpha.3",
277
+ "@mastra/react": "1.15.0-alpha.6",
278
+ "@mastra/schema-compat": "1.3.18-alpha.0"
279
279
  },
280
280
  "homepage": "https://mastra.ai",
281
281
  "repository": {