@vivix-labs/studio-workbench 1.0.0-beta.2 → 1.0.0-beta.20

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 (38) hide show
  1. package/dist/assets/add-circle-RPMXNTWW.svg +4 -0
  2. package/dist/assets/copy-document-EF4PHM7F.svg +10 -0
  3. package/dist/assets/create-custom-view-WUWJL7YC.svg +5 -0
  4. package/dist/assets/crop-5JXWHIPN.svg +6 -0
  5. package/dist/assets/dashboard-overview-Y32BCZQC.svg +8 -0
  6. package/dist/assets/dashboard-views-GOG66UAH.svg +7 -0
  7. package/dist/assets/delete-4Y3OUMEL.svg +8 -0
  8. package/dist/assets/download-VTKCEAZG.svg +6 -0
  9. package/dist/assets/favorite-6GMNHJCN.svg +5 -0
  10. package/dist/assets/favorite-filled-FR74TEBM.svg +3 -0
  11. package/dist/assets/filter-JSDZZVGN.svg +5 -0
  12. package/dist/assets/fullscreen-exit-ADYOPBYH.svg +3 -0
  13. package/dist/assets/inria-serif-latin-400-italic-ZCFRMMVP.woff2 +0 -0
  14. package/dist/assets/inter-latin-900-normal-FKACR3DR.woff2 +0 -0
  15. package/dist/assets/refresh-WQ3CTB57.svg +3 -0
  16. package/dist/assets/replace-PJXDOQDX.svg +3 -0
  17. package/dist/assets/{search-JUOSGQRM.svg → search-FMYQZJWA.svg} +1 -1
  18. package/dist/assets/select-items-GJZIVO37.svg +6 -0
  19. package/dist/assets/trim-LQMHHN2M.svg +9 -0
  20. package/dist/assets/upload-U5RZT5QI.svg +5 -0
  21. package/dist/assets/welcome-add-HS6LIH63.svg +5 -0
  22. package/dist/assets/welcome-close-NOBXBZOT.svg +5 -0
  23. package/dist/assets/welcome-product-ad-YRPDJRAH.png +0 -0
  24. package/dist/assets/welcome-short-drama-YDTZHBGK.png +0 -0
  25. package/dist/client.bundle.js +2727 -1094
  26. package/dist/client.css +1838 -295
  27. package/dist/server.d.ts +1 -0
  28. package/dist/server.js +326 -36
  29. package/dist/shared.d.ts +27 -1
  30. package/dist/shared.js +2 -1
  31. package/package.json +25 -25
  32. package/presets/table.json +4 -4
  33. package/presets/user-base.json +13 -9
  34. package/skills/SKILL.md +20 -39
  35. package/skills/references/assets-and-views.md +6 -6
  36. package/skills/references/sql-custom-views.md +2 -0
  37. package/skills/scripts/initialize-home.mjs +350 -119
  38. package/dist/assets/player-cover-shade-LLH6KOCQ.png +0 -0
package/dist/client.css CHANGED
@@ -1,4 +1,81 @@
1
+ /* packages/ui-system/dist/script-cover.css */
2
+ @font-face {
3
+ font-family: "Vivix Inria Serif";
4
+ src: url("./assets/inria-serif-latin-700-italic-UNRIXGAH.woff2") format("woff2");
5
+ font-style: italic;
6
+ font-weight: 700;
7
+ font-display: swap;
8
+ }
9
+ @font-face {
10
+ font-family: "Vivix Inria Serif";
11
+ src: url("./assets/inria-serif-latin-400-italic-ZCFRMMVP.woff2") format("woff2");
12
+ font-style: italic;
13
+ font-weight: 400;
14
+ font-display: swap;
15
+ }
16
+ .vx-script-cover {
17
+ display: block;
18
+ position: relative;
19
+ width: 100%;
20
+ aspect-ratio: 16 / 9;
21
+ container-type: inline-size;
22
+ background: #eff3f1;
23
+ border-radius: 8px;
24
+ overflow: hidden;
25
+ text-align: left;
26
+ pointer-events: none;
27
+ }
28
+ .vx-script-cover > .vx-script-sheet {
29
+ display: block;
30
+ position: absolute;
31
+ left: 8.37%;
32
+ right: 8.2%;
33
+ top: 10.5%;
34
+ bottom: -55%;
35
+ padding: 4.55cqw 4.7cqw;
36
+ box-sizing: border-box;
37
+ border-radius: 2.28cqw 2.28cqw 0 0;
38
+ background: white;
39
+ color: rgb(0 0 0 / 50%);
40
+ white-space: normal;
41
+ overflow: hidden;
42
+ font:
43
+ italic 400 4.44cqw/1.5 "Vivix Inria Serif",
44
+ Georgia,
45
+ serif;
46
+ overflow-wrap: anywhere;
47
+ }
48
+ .vx-script-sheet > strong {
49
+ display: block;
50
+ margin-bottom: 1.9cqw;
51
+ font:
52
+ italic 700 5.91cqw/1.5 "Vivix Inria Serif",
53
+ Georgia,
54
+ serif;
55
+ }
56
+ .vx-script-cover::after {
57
+ content: "";
58
+ position: absolute;
59
+ inset: 68.5% 0 0;
60
+ background: linear-gradient(transparent, #eff3f1);
61
+ }
62
+ :is(.vx-media, .vx-tile-preview, .sd-list-cover, .ad-list-cover, .ad-asset-cover) > .vx-script-cover {
63
+ border-radius: inherit;
64
+ }
65
+ .vx-media > .vx-script-cover {
66
+ position: absolute;
67
+ inset: 0;
68
+ height: 100%;
69
+ }
70
+
1
71
  /* packages/ui-system/dist/tokens.css */
72
+ :root,
73
+ [data-vx-theme] {
74
+ --vx-warm-neutral-06: #ddd8d3;
75
+ --vx-dark-neutral-06: #51483f;
76
+ --vx-warm-neutral-07: #ada5a0;
77
+ --vx-dark-neutral-07: #9d8f82;
78
+ }
2
79
  [data-vx-theme] {
3
80
  --vx-font-inter:
4
81
  "Vivix Studio Inter",
@@ -54,6 +131,7 @@
54
131
  --vx-tabs-secondary-height: 44px;
55
132
  --vx-segment-medium-height: 32px;
56
133
  --vx-segment-large-height: 36px;
134
+ --vx-cover-background: var(--vx-black-black);
57
135
  --vx-media-selection-color: var(--vx-green-dark);
58
136
  --vx-tag-height: 16px;
59
137
  --vx-dialog-small-width: 480px;
@@ -72,8 +150,6 @@
72
150
  --vx-warm-neutral-03: #f1eeea;
73
151
  --vx-warm-neutral-04: #ede8e0;
74
152
  --vx-warm-neutral-05: #e9e6e0;
75
- --vx-warm-neutral-06: #ddd8d3;
76
- --vx-warm-neutral-07: #ada5a0;
77
153
  --vx-warm-neutral-08: #938c88;
78
154
  --vx-warm-neutral-09: #736e67;
79
155
  --vx-black-black: #000000;
@@ -91,8 +167,6 @@
91
167
  --vx-dark-neutral-03: #282420;
92
168
  --vx-dark-neutral-04: #322d28;
93
169
  --vx-dark-neutral-05: #3c352f;
94
- --vx-dark-neutral-06: #51483f;
95
- --vx-dark-neutral-07: #9d8f82;
96
170
  --vx-dark-neutral-08: #b6aaa0;
97
171
  --vx-dark-neutral-09: #f0e9e3;
98
172
  --vx-white-white: #ffffff;
@@ -162,6 +236,7 @@
162
236
  --vx-button-48-line-height: 21px;
163
237
  --vx-typography-inter-14-medium: normal 500 14px/18px var(--vx-font-inter);
164
238
  --vx-typography-inter-14-medium-tracking: 0px;
239
+ --vx-typography-inter-10-regular: normal 400 10px/13px var(--vx-font-inter);
165
240
  --vx-typography-inter-10-semi-bold: normal 600 10px/13px var(--vx-font-inter);
166
241
  --vx-typography-inter-12-regular: normal 400 12px/16px var(--vx-font-inter);
167
242
  --vx-typography-inter-12-semi-bold: normal 600 12px/16px var(--vx-font-inter);
@@ -174,7 +249,7 @@
174
249
  --vx-typography-inter-16-medium: normal 500 16px/21px var(--vx-font-inter);
175
250
  --vx-typography-inter-16-medium-tracking: 0px;
176
251
  --vx-typography-inter-18-regular: normal 400 18px/23px var(--vx-font-inter);
177
- --vx-typography-inter-18-bold: normal 700 18px/23px var(--vx-font-inter);
252
+ --vx-typography-inter-18-bold: normal 600 18px/23px var(--vx-font-inter);
178
253
  --vx-typography-inter-18-semi-bold: normal 600 18px/23px var(--vx-font-inter);
179
254
  --vx-typography-inter-18-medium: normal 500 18px/23px var(--vx-font-inter);
180
255
  --vx-typography-inter-18-medium-tracking: 0px;
@@ -301,7 +376,8 @@
301
376
  --vx-button-font-size: var(--vx-button-40-font-size);
302
377
  --vx-button-line-height: var(--vx-button-40-line-height);
303
378
  }
304
- .vx-button[data-size="44"] {
379
+ .vx-button[data-size="44"],
380
+ .vx-dialog > footer .vx-button[data-shape=text] {
305
381
  --vx-button-height: var(--vx-button-44-height);
306
382
  --vx-button-icon-size: var(--vx-button-44-icon-size);
307
383
  --vx-button-radius: var(--vx-button-44-radius);
@@ -321,6 +397,33 @@
321
397
  }
322
398
  }
323
399
 
400
+ /* packages/ui-system/dist/scrollbars.css */
401
+ :root:has([data-vx-theme]) {
402
+ --vx-scrollbar-root-thumb: var(--vx-warm-neutral-06);
403
+ scrollbar-gutter: stable;
404
+ }
405
+ :root:has(#app > [data-vx-theme=dark]) {
406
+ --vx-scrollbar-root-thumb: var(--vx-dark-neutral-06);
407
+ }
408
+ :where(:root:has([data-vx-theme]), :root:has([data-vx-theme]) *, [data-vx-theme], [data-vx-theme] *)::-webkit-scrollbar {
409
+ width: 4px;
410
+ height: 4px;
411
+ background: transparent;
412
+ }
413
+ :where(:root:has([data-vx-theme]), :root:has([data-vx-theme]) *, [data-vx-theme], [data-vx-theme] *)::-webkit-scrollbar-thumb {
414
+ background: var(--vx-border-primary, var(--vx-scrollbar-root-thumb));
415
+ border-radius: 999px;
416
+ }
417
+ :where(:root:has([data-vx-theme]), :root:has([data-vx-theme]) *, [data-vx-theme], [data-vx-theme] *)::-webkit-scrollbar-corner {
418
+ background: transparent;
419
+ }
420
+ @supports not selector(::-webkit-scrollbar) {
421
+ :where(:root:has([data-vx-theme]), [data-vx-theme], [data-vx-theme] *) {
422
+ scrollbar-width: thin;
423
+ scrollbar-color: var(--vx-border-primary, var(--vx-scrollbar-root-thumb)) transparent;
424
+ }
425
+ }
426
+
324
427
  /* packages/ui-system/dist/button.css */
325
428
  @scope ([data-vx-theme]) {
326
429
  .vx-button {
@@ -359,7 +462,13 @@
359
462
  overflow: hidden;
360
463
  text-overflow: ellipsis;
361
464
  }
465
+ .vx-button-content:has(> .vx-icon:is([data-icon=trim], [data-icon=crop])) {
466
+ --vx-button-icon-size: var(--vx-space-16);
467
+ gap: var(--vx-space-4);
468
+ }
362
469
  .vx-button-trailing {
470
+ display: inline-flex;
471
+ align-items: center;
363
472
  margin-left: calc(var(--vx-button-trailing-gap) - var(--vx-button-gap));
364
473
  }
365
474
  .vx-button[data-width=full] {
@@ -375,6 +484,11 @@
375
484
  .vx-button[data-appearance=tonal] {
376
485
  --vx-button-background: var(--vx-surface-input);
377
486
  }
487
+ .vx-button[data-appearance=link] {
488
+ --vx-button-background: transparent;
489
+ --vx-button-foreground: var(--vx-state-success);
490
+ font-weight: 600;
491
+ }
378
492
  .vx-button[data-appearance=on-content] {
379
493
  --vx-button-background: var(--vx-overlay-tag);
380
494
  --vx-button-foreground: var(--vx-text-on-content-primary);
@@ -423,8 +537,8 @@
423
537
  .vx-button:hover:not(:disabled):is([data-appearance=filled], [data-variant=text-tonal-md], [data-variant=text-tonal-lg]) {
424
538
  background-image: linear-gradient(var(--vx-white-white-1a), var(--vx-white-white-1a));
425
539
  }
426
- .vx-button[data-appearance=ghost]:hover:not(:disabled) {
427
- --vx-button-background: var(--vx-surface-hover);
540
+ button.vx-button[data-appearance=ghost]:hover:not(:disabled) {
541
+ --vx-button-background: transparent;
428
542
  }
429
543
  .vx-button:focus-visible {
430
544
  outline: var(--vx-button-focus-width) solid var(--vx-state-assistance);
@@ -433,6 +547,19 @@
433
547
  .vx-button:active:not(:disabled) {
434
548
  filter: brightness(0.96);
435
549
  }
550
+ .vx-button-badge {
551
+ display: inline-grid;
552
+ place-items: center;
553
+ flex: none;
554
+ min-width: 16px;
555
+ height: 16px;
556
+ padding-inline: 3px;
557
+ box-sizing: border-box;
558
+ border-radius: var(--vx-radius-full);
559
+ background: var(--vx-green-dark);
560
+ color: var(--vx-text-on-content-primary);
561
+ font: var(--vx-typography-inter-10-semi-bold);
562
+ }
436
563
  .vx-button:disabled {
437
564
  cursor: not-allowed;
438
565
  }
@@ -601,6 +728,15 @@
601
728
  background: var(--vx-checkbox-active);
602
729
  border-color: var(--vx-checkbox-active);
603
730
  }
731
+ .vx-checkbox[data-appearance=outline] .vx-checkbox-mark {
732
+ --vx-checkbox-active: transparent;
733
+ --vx-checkbox-ink: var(--vx-text-primary);
734
+ background: transparent;
735
+ border-color: var(--vx-text-primary);
736
+ }
737
+ .vx-checkbox[data-appearance=outline] input:checked + .vx-checkbox-mark {
738
+ border-color: var(--vx-text-primary);
739
+ }
604
740
  .vx-checkbox-mark > .vx-icon {
605
741
  --vx-icon-size: var(--vx-icon-slot-small);
606
742
  }
@@ -643,9 +779,10 @@
643
779
  .vx-search-input[data-size=large]:has(.vx-search-clear) {
644
780
  padding-inline-end: var(--vx-space-8);
645
781
  }
646
- .vx-search-input:has(input:focus-visible) {
647
- outline: var(--vx-focus-ring-width) solid var(--vx-state-assistance);
648
- outline-offset: var(--vx-space-2);
782
+ @media (forced-colors: active) {
783
+ .vx-search-input:has(input:focus-visible) {
784
+ outline: var(--vx-focus-ring-width) solid Highlight;
785
+ }
649
786
  }
650
787
  .vx-search-input:has(input:disabled) {
651
788
  opacity: 0.5;
@@ -653,9 +790,6 @@
653
790
  .vx-search-input:is(:hover, :focus-within):not(:has(input:disabled)) {
654
791
  background: var(--vx-surface-selected);
655
792
  }
656
- .vx-search-input > [data-icon=search] {
657
- transform: scaleY(-1);
658
- }
659
793
  .vx-search-input > input {
660
794
  appearance: none;
661
795
  flex: 1;
@@ -735,7 +869,7 @@
735
869
  }
736
870
  .vx-dropdown[data-size=large] .vx-dropdown-trigger {
737
871
  height: var(--vx-dropdown-large-height);
738
- padding-inline: var(--vx-space-12) var(--vx-space-10);
872
+ padding-inline: var(--vx-space-12);
739
873
  border-radius: var(--vx-radius-lg);
740
874
  font: var(--vx-typography-inter-16-semi-bold);
741
875
  }
@@ -761,10 +895,38 @@
761
895
  padding: 0 var(--vx-space-10);
762
896
  background: var(--vx-surface-input);
763
897
  font: var(--vx-typography-inter-14-regular);
898
+ justify-content: space-between;
899
+ }
900
+ .vx-dropdown[data-size=large][data-appearance=field] .vx-dropdown-trigger {
901
+ padding-inline: var(--vx-space-12);
902
+ font: var(--vx-typography-inter-16-regular);
903
+ }
904
+ .vx-dropdown[data-text-size="12"] .vx-dropdown-trigger {
905
+ font: var(--vx-typography-inter-12-regular);
764
906
  }
765
907
  .vx-dropdown[data-appearance=field] .vx-dropdown-trigger:is(:hover:not(:disabled), :focus-visible, [aria-expanded=true]) {
766
908
  background: var(--vx-surface-selected);
767
909
  }
910
+ .vx-dropdown[data-appearance=heading] .vx-dropdown-trigger {
911
+ gap: var(--vx-space-4);
912
+ padding-inline: 0;
913
+ font: var(--vx-typography-inter-16-semi-bold);
914
+ }
915
+ .vx-dropdown[data-appearance=heading][data-width=hug] [role=listbox],
916
+ .vx-dropdown[data-floating=true] [role=listbox] {
917
+ box-sizing: border-box;
918
+ position: fixed;
919
+ inset: auto;
920
+ margin: 0;
921
+ }
922
+ .vx-dropdown[data-appearance=heading] .vx-dropdown-trigger:is(:hover, :focus-visible, [aria-expanded=true]),
923
+ .vx-dropdown[data-appearance=heading][data-width=hug] [role=option]:is([aria-selected=true], [data-active=true]):not(:hover) {
924
+ background: transparent;
925
+ }
926
+ .vx-dropdown[data-appearance=heading]:has(.vx-dropdown-trigger:focus-visible) [role=option][data-active=true] {
927
+ outline: var(--vx-focus-ring-width) solid var(--vx-state-assistance);
928
+ outline-offset: calc(-1 * var(--vx-focus-ring-width));
929
+ }
768
930
  .vx-dropdown-value {
769
931
  display: inline-flex;
770
932
  align-items: center;
@@ -782,7 +944,7 @@
782
944
  inset-inline: 0;
783
945
  margin: var(--vx-space-4) 0 0;
784
946
  max-height: min(15rem, 50vh);
785
- overflow: auto;
947
+ overflow: hidden auto;
786
948
  padding: var(--vx-space-4);
787
949
  border: var(--vx-border-width) solid var(--vx-border-secondary);
788
950
  border-radius: var(--vx-radius-xl);
@@ -800,6 +962,13 @@
800
962
  overflow-wrap: anywhere;
801
963
  cursor: pointer;
802
964
  }
965
+ .vx-dropdown [role=option] + [role=option] {
966
+ margin-block-start: var(--vx-space-2);
967
+ }
968
+ .vx-dropdown[data-size=large] [role=option] {
969
+ padding-inline: var(--vx-space-12);
970
+ font: var(--vx-typography-inter-16-regular);
971
+ }
803
972
  .vx-dropdown [role=option][aria-selected=true] {
804
973
  font-weight: 600;
805
974
  }
@@ -838,17 +1007,20 @@
838
1007
  flex: none;
839
1008
  padding: var(--vx-space-16) 0 var(--vx-space-12);
840
1009
  border: 0;
841
- border-bottom: var(--vx-space-2) solid transparent;
842
1010
  background: transparent;
843
- color: var(--vx-text-secondary-readable);
1011
+ color: var(--vx-text-secondary);
844
1012
  font: var(--vx-typography-inter-16-semi-bold);
845
1013
  cursor: pointer;
846
1014
  white-space: nowrap;
847
1015
  }
848
1016
  .vx-tabs [role=tab][aria-selected=true] {
849
- border-color: var(--vx-state-success);
1017
+ padding-block-start: 18px;
1018
+ border-bottom: 2px solid var(--vx-state-success);
850
1019
  color: var(--vx-state-success);
851
1020
  }
1021
+ .vx-tabs [role=tab]:not([aria-selected=true], :disabled):hover {
1022
+ color: var(--vx-text-primary);
1023
+ }
852
1024
  .vx-tabs [role=tab]:disabled {
853
1025
  opacity: 0.5;
854
1026
  cursor: not-allowed;
@@ -960,9 +1132,177 @@
960
1132
  font: var(--vx-typography-inter-12-medium);
961
1133
  padding: 3px;
962
1134
  }
1135
+ @scope ([data-vx-theme]) {
1136
+ .vx-checkbox[data-appearance=outline] input:focus-visible + .vx-checkbox-mark {
1137
+ outline-color: var(--vx-state-assistance);
1138
+ }
1139
+ }
1140
+ @scope ([data-vx-theme]) {
1141
+ .vx-asset-library-toolbar {
1142
+ display: flex;
1143
+ align-items: center;
1144
+ gap: var(--vx-space-8);
1145
+ height: var(--vx-tabs-primary-height);
1146
+ flex-shrink: 0;
1147
+ padding-block: 0;
1148
+ padding-inline: var(--vx-space-16) var(--vx-space-12);
1149
+ border-bottom: var(--vx-divider-width) solid var(--vx-border-secondary);
1150
+ box-sizing: border-box;
1151
+ }
1152
+ .vx-asset-library-toolbar > :first-child {
1153
+ flex: 1;
1154
+ min-width: 0;
1155
+ }
1156
+ .vx-asset-library-controls {
1157
+ display: flex;
1158
+ flex: none;
1159
+ align-items: center;
1160
+ gap: var(--vx-space-8);
1161
+ max-width: 100%;
1162
+ }
1163
+ @media (max-width: 760px) {
1164
+ .vx-asset-library-toolbar,
1165
+ .vx-asset-library-controls {
1166
+ flex-wrap: wrap;
1167
+ }
1168
+ .vx-asset-library-toolbar {
1169
+ height: auto;
1170
+ padding-block: 0 var(--vx-space-8);
1171
+ }
1172
+ .vx-asset-library-toolbar > :first-child,
1173
+ .vx-asset-library-controls {
1174
+ flex-basis: 100%;
1175
+ }
1176
+ .vx-asset-library-controls {
1177
+ gap: 6px;
1178
+ }
1179
+ }
1180
+ @media (640px < width <= 760px) {
1181
+ .vx-asset-library-toolbar[data-project-assets] {
1182
+ flex-wrap: nowrap;
1183
+ height: var(--vx-tabs-primary-height);
1184
+ padding-block: 0;
1185
+ }
1186
+ .vx-asset-library-toolbar[data-project-assets] > :first-child {
1187
+ flex-basis: 0;
1188
+ }
1189
+ .vx-asset-library-toolbar[data-project-assets] .vx-asset-library-controls {
1190
+ flex-wrap: nowrap;
1191
+ flex-basis: auto;
1192
+ gap: var(--vx-space-8);
1193
+ }
1194
+ }
1195
+ .vx-asset-selection {
1196
+ display: flex;
1197
+ flex: 0 1 auto;
1198
+ max-width: 100%;
1199
+ align-items: center;
1200
+ flex-wrap: wrap;
1201
+ gap: var(--vx-space-8);
1202
+ }
1203
+ .vx-asset-selection > [role=status] {
1204
+ padding-inline: var(--vx-space-16);
1205
+ white-space: nowrap;
1206
+ color: var(--vx-text-primary);
1207
+ font: var(--vx-typography-inter-14-regular);
1208
+ }
1209
+ .vx-asset-selection > i {
1210
+ display: grid;
1211
+ place-items: center;
1212
+ width: 8px;
1213
+ height: 8px;
1214
+ }
1215
+ .vx-asset-selection > i::after {
1216
+ content: "";
1217
+ height: 8px;
1218
+ width: 1px;
1219
+ background: var(--vx-border-secondary);
1220
+ }
1221
+ .vx-asset-selection .vx-button-content {
1222
+ gap: 6px;
1223
+ }
1224
+ .vx-asset-selection .vx-icon {
1225
+ --vx-icon-size: 16px;
1226
+ }
1227
+ }
963
1228
 
964
1229
  /* packages/ui-system/dist/field.css */
965
1230
  @scope ([data-vx-theme]) {
1231
+ .vx-slider[data-appearance=neutral] {
1232
+ position: relative;
1233
+ }
1234
+ .vx-slider[data-appearance=neutral] > input {
1235
+ appearance: none;
1236
+ width: 100%;
1237
+ height: 16px;
1238
+ margin: 0;
1239
+ padding: 0;
1240
+ border: 0;
1241
+ border-radius: var(--vx-radius-full);
1242
+ background:
1243
+ linear-gradient(
1244
+ to right,
1245
+ var(--vx-text-secondary) 0 var(--vx-slider-fill),
1246
+ var(--vx-surface-input) var(--vx-slider-fill) 100%);
1247
+ }
1248
+ .vx-slider[data-appearance=neutral] > input::-webkit-slider-thumb {
1249
+ appearance: none;
1250
+ width: 14px;
1251
+ height: 14px;
1252
+ background: var(--vx-background-dialog);
1253
+ border: 1px solid var(--vx-border-primary);
1254
+ border-radius: 50%;
1255
+ }
1256
+ .vx-slider[data-appearance=neutral] > input::-moz-range-thumb {
1257
+ width: 14px;
1258
+ height: 14px;
1259
+ background: var(--vx-background-dialog);
1260
+ border: 1px solid var(--vx-border-primary);
1261
+ border-radius: 50%;
1262
+ }
1263
+ .vx-slider-markers {
1264
+ position: absolute;
1265
+ left: 8px;
1266
+ right: 8px;
1267
+ bottom: 7px;
1268
+ height: 2px;
1269
+ pointer-events: none;
1270
+ }
1271
+ .vx-slider-markers > span {
1272
+ position: absolute;
1273
+ width: 2px;
1274
+ height: 2px;
1275
+ border-radius: 50%;
1276
+ background: var(--vx-text-secondary-readable);
1277
+ }
1278
+ :is(input, textarea, [contenteditable]:not([contenteditable=false]), [role=textbox]) {
1279
+ scrollbar-width: none;
1280
+ &::-webkit-scrollbar {
1281
+ display: none;
1282
+ }
1283
+ }
1284
+ :is(input:not([type]), input[type=text], input[type=search], input[type=email], input[type=url], input[type=tel], input[type=password], input[type=number], textarea) {
1285
+ border: 0;
1286
+ &:not([readonly], [type=search]) {
1287
+ font: var(--vx-typography-inter-16-regular) !important;
1288
+ }
1289
+ }
1290
+ :is(input:not([type]), input[type=text], input[type=email], input[type=url], input[type=tel], input[type=password], input[type=number], textarea):focus-visible {
1291
+ outline: none;
1292
+ background-color: var(--vx-surface-selected);
1293
+ @media (forced-colors: active) {
1294
+ outline: var(--vx-focus-ring-width) solid Highlight;
1295
+ }
1296
+ }
1297
+ :where(input, textarea)::placeholder {
1298
+ color: var(--vx-text-secondary-readable);
1299
+ opacity: 1;
1300
+ }
1301
+ textarea {
1302
+ border-radius: var(--vx-input-radius);
1303
+ background: var(--vx-surface-input);
1304
+ resize: vertical;
1305
+ }
966
1306
  .vx-field,
967
1307
  .vx-slider {
968
1308
  display: grid;
@@ -970,19 +1310,29 @@
970
1310
  min-width: 0;
971
1311
  color: var(--vx-text-primary);
972
1312
  }
973
- .vx-field > input {
1313
+ .vx-field > :is(input, textarea) {
974
1314
  box-sizing: border-box;
975
1315
  width: 100%;
976
1316
  min-height: var(--vx-input-medium-height);
977
1317
  padding: var(--vx-space-4) var(--vx-space-8);
978
- border: var(--vx-border-width) solid var(--vx-control-border);
979
- border-radius: var(--vx-radius-md);
1318
+ border: 0;
1319
+ border-radius: var(--vx-input-radius);
980
1320
  background: var(--vx-surface-input);
981
1321
  color: inherit;
982
1322
  font: inherit;
983
1323
  }
984
1324
  .vx-field[data-size=large] > input {
985
1325
  min-height: var(--vx-input-large-height);
1326
+ padding: var(--vx-space-8) var(--vx-space-12);
1327
+ }
1328
+ .vx-field > textarea {
1329
+ padding: var(--vx-space-8) var(--vx-space-12);
1330
+ }
1331
+ .vx-field > textarea[data-resize=none] {
1332
+ resize: none;
1333
+ }
1334
+ .vx-field[data-appearance=filled] > input {
1335
+ font: var(--vx-typography-inter-12-regular);
986
1336
  }
987
1337
  .vx-date-picker {
988
1338
  display: inline-flex;
@@ -1001,7 +1351,8 @@
1001
1351
  box-sizing: border-box;
1002
1352
  width: min(320px, calc(100vw - 16px));
1003
1353
  max-height: calc(100dvh - 16px);
1004
- overflow: auto;
1354
+ scrollbar-gutter: stable;
1355
+ overflow: scroll auto;
1005
1356
  inset: auto;
1006
1357
  position-area: bottom span-right;
1007
1358
  position-try-fallbacks:
@@ -1064,12 +1415,11 @@
1064
1415
  outline: var(--vx-focus-ring-width) solid var(--vx-state-assistance);
1065
1416
  outline-offset: calc(-1 * var(--vx-focus-ring-width));
1066
1417
  }
1067
- .vx-field > input:disabled,
1418
+ .vx-field > :is(input, textarea):disabled,
1068
1419
  .vx-slider > input:disabled {
1069
1420
  cursor: not-allowed;
1070
1421
  opacity: 0.5;
1071
1422
  }
1072
- .vx-field > input:focus-visible,
1073
1423
  .vx-slider > input:focus-visible {
1074
1424
  outline: var(--vx-focus-ring-width) solid var(--vx-state-assistance);
1075
1425
  outline-offset: var(--vx-space-2);
@@ -1078,6 +1428,55 @@
1078
1428
  display: flex;
1079
1429
  justify-content: space-between;
1080
1430
  gap: var(--vx-space-8);
1431
+ font: var(--vx-typography-inter-14-medium);
1432
+ }
1433
+ .vx-slider[data-appearance=default] > input {
1434
+ --vx-slider-progress: calc(8px + (100% - 16px) * var(--vx-slider-fraction));
1435
+ appearance: none;
1436
+ box-sizing: border-box;
1437
+ width: 100%;
1438
+ height: 24px;
1439
+ padding: 0;
1440
+ border: 0;
1441
+ border-radius: 0;
1442
+ background: transparent;
1443
+ cursor: pointer;
1444
+ }
1445
+ .vx-slider[data-appearance=default] > input::-webkit-slider-runnable-track {
1446
+ height: 8px;
1447
+ border: 0;
1448
+ border-radius: var(--vx-radius-full);
1449
+ background:
1450
+ linear-gradient(
1451
+ to right,
1452
+ var(--vx-state-success) var(--vx-slider-progress),
1453
+ var(--vx-surface-input) var(--vx-slider-progress));
1454
+ }
1455
+ .vx-slider[data-appearance=default] > input::-webkit-slider-thumb {
1456
+ appearance: none;
1457
+ width: 16px;
1458
+ height: 16px;
1459
+ margin-top: -4px;
1460
+ border: 0;
1461
+ border-radius: 50%;
1462
+ background: var(--vx-state-success);
1463
+ }
1464
+ .vx-slider[data-appearance=default] > input::-moz-range-track,
1465
+ .vx-slider[data-appearance=default] > input::-moz-range-progress {
1466
+ height: 8px;
1467
+ border: 0;
1468
+ border-radius: var(--vx-radius-full);
1469
+ background: var(--vx-surface-input);
1470
+ }
1471
+ .vx-slider[data-appearance=default] > input::-moz-range-progress,
1472
+ .vx-slider[data-appearance=default] > input::-moz-range-thumb {
1473
+ background: var(--vx-state-success);
1474
+ }
1475
+ .vx-slider[data-appearance=default] > input::-moz-range-thumb {
1476
+ width: 16px;
1477
+ height: 16px;
1478
+ border: 0;
1479
+ border-radius: 50%;
1081
1480
  }
1082
1481
  .vx-slider > input,
1083
1482
  .vx-playback-controls > input {
@@ -1086,6 +1485,11 @@
1086
1485
  margin: 0;
1087
1486
  }
1088
1487
  }
1488
+ @scope ([data-vx-theme]) {
1489
+ .vx-slider[data-appearance=neutral] .vx-slider-heading {
1490
+ font: var(--vx-typography-inter-12-regular);
1491
+ }
1492
+ }
1089
1493
 
1090
1494
  /* packages/ui-system/dist/inline-text.css */
1091
1495
  @scope ([data-vx-theme]) {
@@ -1117,7 +1521,39 @@
1117
1521
 
1118
1522
  /* packages/ui-system/dist/media.css */
1119
1523
  @scope ([data-vx-theme]) {
1120
- .vx-tag {
1524
+ .vx-aspect-ratio-icon {
1525
+ display: inline-grid;
1526
+ place-items: center;
1527
+ flex: none;
1528
+ width: 14px;
1529
+ height: 14px;
1530
+ }
1531
+ .vx-aspect-ratio-icon > span {
1532
+ box-sizing: border-box;
1533
+ border: 1px solid currentColor;
1534
+ border-radius: 1.75px;
1535
+ }
1536
+ .vx-frame-filmstrip {
1537
+ position: absolute;
1538
+ inset: 0;
1539
+ display: flex;
1540
+ overflow: hidden;
1541
+ opacity: 0.6;
1542
+ }
1543
+ .vx-frame-filmstrip > img {
1544
+ min-width: 0;
1545
+ width: 0;
1546
+ flex: 1;
1547
+ object-fit: cover;
1548
+ }
1549
+ .vx-playback-controls[data-appearance=surface] {
1550
+ background: var(--vx-background-page);
1551
+ color: var(--vx-text-secondary-readable);
1552
+ }
1553
+ .vx-playback-controls[data-appearance=surface] > .vx-button {
1554
+ --vx-button-foreground: var(--vx-text-secondary-readable);
1555
+ }
1556
+ .vx-tag {
1121
1557
  display: inline-flex;
1122
1558
  align-items: center;
1123
1559
  min-height: 16px;
@@ -1129,7 +1565,7 @@
1129
1565
  white-space: nowrap;
1130
1566
  }
1131
1567
  .vx-tag[data-variant=selected] {
1132
- background: var(--vx-state-success);
1568
+ background: var(--vx-media-selection-color);
1133
1569
  }
1134
1570
  .vx-tag[data-variant=subtle] {
1135
1571
  background: var(--vx-surface-message);
@@ -1140,6 +1576,7 @@
1140
1576
  color: var(--vx-text-primary);
1141
1577
  }
1142
1578
  .vx-media {
1579
+ isolation: isolate;
1143
1580
  position: relative;
1144
1581
  display: grid;
1145
1582
  place-items: center;
@@ -1150,14 +1587,10 @@
1150
1587
  padding: 0;
1151
1588
  border: 0;
1152
1589
  border-radius: var(--vx-radius-lg);
1153
- background: #000;
1590
+ background: var(--vx-cover-background);
1154
1591
  color: var(--vx-text-on-content-primary);
1155
1592
  font: inherit;
1156
1593
  }
1157
- .vx-media:is([data-empty=surface], [data-empty=audio]) {
1158
- background: var(--vx-surface-input);
1159
- color: var(--vx-text-primary);
1160
- }
1161
1594
  button.vx-media {
1162
1595
  cursor: pointer;
1163
1596
  }
@@ -1180,19 +1613,20 @@
1180
1613
  pointer-events: none;
1181
1614
  }
1182
1615
  .vx-media-empty-label {
1183
- color: var(--vx-text-secondary-readable);
1616
+ color: var(--vx-text-on-content-secondary);
1184
1617
  font: var(--vx-typography-inter-12-regular);
1185
1618
  padding: var(--vx-space-8);
1186
1619
  }
1187
1620
  .vx-media[data-state=selected][data-selection=outline]::after {
1188
1621
  position: absolute;
1622
+ z-index: 2;
1189
1623
  inset: 0;
1190
- border: 3px solid var(--vx-state-success);
1624
+ border: 3px solid var(--vx-media-selection-color);
1191
1625
  border-radius: inherit;
1192
1626
  content: "";
1193
1627
  pointer-events: none;
1194
1628
  }
1195
- .vx-media > :is(.vx-media-label, .vx-media-duration, .vx-media-selected, .vx-media-marker) {
1629
+ :is(.vx-media, .vx-media-badge-host) > :is(.vx-media-label, .vx-media-duration, .vx-media-selected, .vx-media-marker) {
1196
1630
  position: absolute;
1197
1631
  z-index: 1;
1198
1632
  }
@@ -1203,7 +1637,8 @@
1203
1637
  inset: auto var(--vx-space-8) var(--vx-space-8) auto;
1204
1638
  }
1205
1639
  .vx-media-selected {
1206
- inset: var(--vx-space-8) auto auto var(--vx-space-8);
1640
+ display: flex;
1641
+ inset: 5px auto auto 5px;
1207
1642
  }
1208
1643
  .vx-media-marker {
1209
1644
  inset: var(--vx-space-8) var(--vx-space-8) auto auto;
@@ -1233,7 +1668,7 @@
1233
1668
  }
1234
1669
  .vx-import-file,
1235
1670
  .vx-audio-preview,
1236
- .vx-playback-controls {
1671
+ div.vx-playback-controls {
1237
1672
  display: flex;
1238
1673
  align-items: center;
1239
1674
  gap: var(--vx-space-8);
@@ -1288,9 +1723,11 @@
1288
1723
  .vx-playback-controls {
1289
1724
  --vx-playback-button-size: 20px;
1290
1725
  --vx-playback-thumb-size: 8px;
1726
+ --vx-playback-track-height: 4px;
1727
+ --vx-playback-played: var(--vx-white-white-7a);
1291
1728
  height: 44px;
1292
1729
  min-height: 44px;
1293
- padding: var(--vx-space-12);
1730
+ padding: var(--vx-space-6) var(--vx-space-12);
1294
1731
  gap: var(--vx-space-12);
1295
1732
  background: linear-gradient(transparent, var(--vx-black-black-2a));
1296
1733
  color: var(--vx-text-on-content-primary);
@@ -1300,60 +1737,72 @@
1300
1737
  --vx-playback-thumb-size: 12px;
1301
1738
  height: 48px;
1302
1739
  min-height: 48px;
1740
+ padding-block: var(--vx-space-8);
1303
1741
  }
1304
1742
  .vx-playback-controls > .vx-button {
1305
1743
  --vx-button-icon-size: var(--vx-playback-button-size);
1306
- width: var(--vx-playback-button-size);
1307
- height: var(--vx-playback-button-size);
1308
1744
  color: inherit;
1309
1745
  }
1310
- .vx-playback-controls > input {
1746
+ .vx-playback-controls > .vx-button[data-shape=icon] {
1747
+ width: var(--vx-button-height);
1748
+ height: var(--vx-button-height);
1749
+ }
1750
+ .vx-playback-controls > button.vx-button[data-appearance=ghost]:hover:not(:disabled) {
1751
+ --vx-button-background: transparent;
1752
+ }
1753
+ .vx-playback-controls .vx-playback-range {
1754
+ --vx-playback-progress: calc( var(--vx-playback-thumb-size) / 2 + (100% - var(--vx-playback-thumb-size)) * var(--vx-playback-fraction) );
1311
1755
  appearance: none;
1312
1756
  flex: 1;
1313
1757
  min-width: 0;
1314
1758
  height: 24px;
1315
1759
  margin: 0;
1316
1760
  padding: 0;
1761
+ border: 0;
1317
1762
  background: transparent;
1318
1763
  cursor: pointer;
1319
1764
  }
1320
- .vx-playback-controls > input::-webkit-slider-runnable-track {
1321
- height: var(--vx-playback-thumb-size);
1765
+ .vx-playback-controls .vx-playback-range::-webkit-slider-runnable-track {
1766
+ border: 0;
1767
+ height: var(--vx-playback-track-height);
1322
1768
  border-radius: var(--vx-radius-full);
1323
1769
  background:
1324
1770
  linear-gradient(
1325
1771
  to right,
1326
- var(--vx-white-white-7a) var(--vx-playback-progress),
1772
+ var(--vx-playback-played) var(--vx-playback-progress),
1327
1773
  var(--vx-overlay-tag) var(--vx-playback-progress));
1328
1774
  }
1329
- .vx-playback-controls > input::-webkit-slider-thumb {
1775
+ .vx-playback-controls .vx-playback-range::-webkit-slider-thumb {
1776
+ margin-top: calc((var(--vx-playback-track-height) - var(--vx-playback-thumb-size)) / 2);
1330
1777
  appearance: none;
1331
1778
  box-sizing: border-box;
1332
1779
  width: var(--vx-playback-thumb-size);
1333
1780
  height: var(--vx-playback-thumb-size);
1334
- border: 1px solid transparent;
1781
+ border: var(--vx-playback-thumb-border, 0);
1335
1782
  border-radius: 50%;
1336
1783
  background: var(--vx-white-white);
1337
- background-clip: padding-box;
1784
+ box-shadow: var(--vx-playback-thumb-shadow, none);
1338
1785
  }
1339
- .vx-playback-controls > input::-moz-range-track {
1340
- height: var(--vx-playback-thumb-size);
1786
+ .vx-playback-controls .vx-playback-range::-moz-range-track {
1787
+ border: 0;
1788
+ height: var(--vx-playback-track-height);
1341
1789
  border-radius: var(--vx-radius-full);
1342
1790
  background: var(--vx-overlay-tag);
1343
1791
  }
1344
- .vx-playback-controls > input::-moz-range-progress {
1345
- height: var(--vx-playback-thumb-size);
1792
+ .vx-playback-controls .vx-playback-range::-moz-range-progress {
1793
+ border: 0;
1794
+ height: var(--vx-playback-track-height);
1346
1795
  border-radius: var(--vx-radius-full);
1347
- background: var(--vx-white-white-7a);
1796
+ background: var(--vx-playback-played);
1348
1797
  }
1349
- .vx-playback-controls > input::-moz-range-thumb {
1798
+ .vx-playback-controls .vx-playback-range::-moz-range-thumb {
1350
1799
  box-sizing: border-box;
1351
1800
  width: var(--vx-playback-thumb-size);
1352
1801
  height: var(--vx-playback-thumb-size);
1353
- border: 1px solid transparent;
1802
+ border: var(--vx-playback-thumb-border, 0);
1354
1803
  border-radius: 50%;
1355
1804
  background: var(--vx-white-white);
1356
- background-clip: padding-box;
1805
+ box-shadow: var(--vx-playback-thumb-shadow, none);
1357
1806
  }
1358
1807
  .vx-playback-controls > span {
1359
1808
  white-space: nowrap;
@@ -1365,15 +1814,28 @@
1365
1814
  position: relative;
1366
1815
  min-width: 0;
1367
1816
  overflow: hidden;
1368
- background: #000;
1817
+ background: var(--vx-cover-background);
1369
1818
  border-radius: var(--vx-radius-xl);
1370
1819
  }
1820
+ .vx-video-player[data-fit=content]:not(:fullscreen) {
1821
+ width: min(100cqw, calc(100cqh * var(--vx-video-ratio)));
1822
+ }
1823
+ .vx-video-player[data-fit=content] .vx-video-stage {
1824
+ aspect-ratio: var(--vx-video-ratio);
1825
+ }
1826
+ .vx-video-player[data-fit=content]:fullscreen .vx-video-stage {
1827
+ aspect-ratio: auto;
1828
+ height: 100%;
1829
+ }
1830
+ .vx-video-player[data-fit=content]:fullscreen {
1831
+ display: block;
1832
+ }
1371
1833
  .vx-video-player[data-placement=below] > .vx-playback-controls {
1372
1834
  border-radius: 0;
1373
1835
  }
1374
1836
  .vx-video-stage {
1375
1837
  position: relative;
1376
- aspect-ratio: 16 / 9;
1838
+ aspect-ratio: var(--vx-video-ratio, 16 / 9);
1377
1839
  overflow: hidden;
1378
1840
  }
1379
1841
  .vx-video-player:fullscreen {
@@ -1383,6 +1845,14 @@
1383
1845
  .vx-video-player:fullscreen .vx-video-stage {
1384
1846
  max-height: 100dvh;
1385
1847
  }
1848
+ .vx-dialog.vx-video-dialog {
1849
+ width: min(960px, calc(100vw - 32px));
1850
+ margin: var(--vx-space-16) auto;
1851
+ }
1852
+ .vx-video-dialog .vx-video-stage {
1853
+ width: 100%;
1854
+ max-height: min(480px, calc(100dvh - 192px));
1855
+ }
1386
1856
  .vx-video-cover {
1387
1857
  position: absolute;
1388
1858
  inset: auto 0 0;
@@ -1393,13 +1863,24 @@
1393
1863
  padding: var(--vx-space-20);
1394
1864
  color: var(--vx-text-on-content-primary);
1395
1865
  }
1866
+ .vx-video-cover {
1867
+ isolation: isolate;
1868
+ }
1396
1869
  .vx-video-cover::before {
1870
+ z-index: -1;
1397
1871
  position: absolute;
1398
1872
  inset: 0;
1399
- background: url("./assets/player-cover-shade-LLH6KOCQ.png") center / 100% 100% no-repeat;
1873
+ background:
1874
+ linear-gradient(
1875
+ 180deg,
1876
+ rgb(0 0 0 / 0%) 0%,
1877
+ rgb(0 0 0 / 60%) 100%);
1400
1878
  content: "";
1401
1879
  pointer-events: none;
1402
1880
  }
1881
+ .vx-video-cover[data-plain]::before {
1882
+ content: none;
1883
+ }
1403
1884
  .vx-video-info {
1404
1885
  position: relative;
1405
1886
  flex: 1;
@@ -1530,10 +2011,338 @@
1530
2011
  }
1531
2012
  }
1532
2013
  @scope ([data-vx-theme]) {
1533
- .vx-media:is([data-empty=image], [data-empty=video], [data-empty=audio], [data-empty=script]) {
2014
+ .vx-media:is([data-empty=surface], [data-empty=image], [data-empty=video], [data-empty=audio], [data-empty=script]) {
2015
+ background: var(--vx-surface-input);
2016
+ color: var(--vx-text-placeholder);
2017
+ }
2018
+ }
2019
+ @scope ([data-vx-theme]) {
2020
+ .vx-cover-preview[data-cover-state=empty] {
1534
2021
  background: var(--vx-surface-input);
2022
+ }
2023
+ .vx-cover-preview[data-cover-state=empty] > .vx-icon {
1535
2024
  color: var(--vx-text-placeholder);
1536
2025
  }
2026
+ .vx-cover-preview[data-cover-state=loading] {
2027
+ position: relative;
2028
+ overflow: hidden;
2029
+ background: var(--vx-surface-input);
2030
+ }
2031
+ .vx-cover-preview[data-cover-state=loading] > :is(img, video) {
2032
+ opacity: 0;
2033
+ }
2034
+ .vx-cover-preview[data-cover-state=loading]::after {
2035
+ content: "";
2036
+ position: absolute;
2037
+ inset: 0;
2038
+ pointer-events: none;
2039
+ background:
2040
+ linear-gradient(
2041
+ 105deg,
2042
+ transparent 20%,
2043
+ light-dark(var(--vx-white-white), color-mix(in srgb, var(--vx-white-white) 14%, transparent)) 50%,
2044
+ transparent 80%);
2045
+ animation: vx-cover-sweep 1.35s ease-in-out infinite;
2046
+ }
2047
+ @media (prefers-reduced-motion: reduce) {
2048
+ .vx-cover-preview[data-cover-state=loading]::after {
2049
+ animation: none;
2050
+ content: none;
2051
+ }
2052
+ }
2053
+ }
2054
+ @keyframes vx-cover-sweep {
2055
+ from {
2056
+ transform: translateX(-100%);
2057
+ }
2058
+ to {
2059
+ transform: translateX(100%);
2060
+ }
2061
+ }
2062
+ @scope ([data-vx-theme]) {
2063
+ .vx-frame-filmstrip {
2064
+ border-radius: inherit;
2065
+ }
2066
+ .vx-frame-range[data-variant=trim] {
2067
+ --vx-state-success: var(--vx-media-selection-color);
2068
+ background: var(--vx-surface-input);
2069
+ }
2070
+ .vx-frame-range[data-variant=trim] .vx-frame-selection {
2071
+ border-width: 1px;
2072
+ background: color-mix(in srgb, var(--vx-state-success) 20%, transparent);
2073
+ }
2074
+ .vx-frame-range[data-variant=trim] .vx-frame-handle {
2075
+ width: 24px;
2076
+ display: grid;
2077
+ place-items: center;
2078
+ background: transparent;
2079
+ }
2080
+ .vx-frame-range[data-variant=trim] .vx-frame-handle::after {
2081
+ width: 3px;
2082
+ height: 12px;
2083
+ margin: 0;
2084
+ border: 1px solid var(--vx-state-success);
2085
+ background: var(--vx-background-dialog);
2086
+ border-radius: 2px;
2087
+ }
2088
+ }
2089
+ @scope ([data-vx-theme]) {
2090
+ .vx-dialog.vx-video-dialog-fit {
2091
+ width: fit-content;
2092
+ max-width: calc(100vw - 32px);
2093
+ }
2094
+ .vx-video-dialog-fit .vx-video-player[data-fit=content] {
2095
+ width: min(926px, calc(100vw - 66px), calc(min(480px, 100dvh - 192px) * var(--vx-video-ratio)));
2096
+ min-width: min(200px, calc(100vw - 66px));
2097
+ }
2098
+ }
2099
+ @scope ([data-vx-theme]) {
2100
+ .vx-playback-controls[data-size=small][data-appearance=surface] {
2101
+ --vx-playback-button-size: 16px;
2102
+ --vx-playback-played: var(--vx-text-secondary-readable);
2103
+ --vx-playback-thumb-border: 1px solid var(--vx-border-secondary);
2104
+ --vx-playback-thumb-shadow: 0 1px 2px var(--vx-black-black-2a);
2105
+ --vx-playback-thumb-size: 8px;
2106
+ height: 28px;
2107
+ min-height: 28px;
2108
+ padding: var(--vx-space-2) 0;
2109
+ gap: var(--vx-space-4);
2110
+ background: transparent;
2111
+ color: var(--vx-text-secondary-readable);
2112
+ flex-wrap: nowrap;
2113
+ }
2114
+ .vx-playback-controls[data-size=small][data-appearance=surface] > .vx-button {
2115
+ --vx-button-foreground: var(--vx-text-secondary-readable);
2116
+ flex: none;
2117
+ width: 24px;
2118
+ min-width: 24px;
2119
+ height: 24px;
2120
+ min-height: 24px;
2121
+ padding: 0;
2122
+ }
2123
+ .vx-playback-controls[data-size=small][data-appearance=surface] > span {
2124
+ font: var(--vx-typography-inter-10-regular);
2125
+ font-variant-numeric: tabular-nums;
2126
+ }
2127
+ .vx-video-player[data-controls-size=small] {
2128
+ background: transparent;
2129
+ }
2130
+ .vx-video-player[data-controls-size=small] .vx-video-stage {
2131
+ background: var(--vx-black-black);
2132
+ border-radius: var(--vx-radius-xl);
2133
+ }
2134
+ .vx-video-player[data-controls-size=small] .vx-video-cover {
2135
+ min-height: 0;
2136
+ gap: var(--vx-space-8);
2137
+ padding: var(--vx-space-8);
2138
+ }
2139
+ .vx-video-player[data-controls-size=small] .vx-video-title strong {
2140
+ font: var(--vx-typography-inter-12-regular);
2141
+ }
2142
+ }
2143
+
2144
+ /* packages/ui-system/dist/asset-grid.css */
2145
+ .vx-asset-grid.vx-asset-grid {
2146
+ display: grid;
2147
+ grid-template-columns: repeat(auto-fill, minmax(min(100%, max(240px, calc((100% - 3 * var(--vx-space-16)) / 4))), 1fr));
2148
+ gap: var(--vx-space-16);
2149
+ align-content: start;
2150
+ padding: var(--vx-space-12) var(--vx-space-16);
2151
+ }
2152
+ .vx-asset-grid > .vx-asset-tile {
2153
+ position: relative;
2154
+ display: flex;
2155
+ flex-direction: column;
2156
+ align-items: stretch;
2157
+ gap: var(--vx-space-12);
2158
+ box-sizing: border-box;
2159
+ min-width: 0;
2160
+ padding: 0;
2161
+ border: 0;
2162
+ border-radius: 0;
2163
+ background: transparent;
2164
+ }
2165
+ .vx-asset-tile .vx-tile-preview {
2166
+ display: grid;
2167
+ place-items: center;
2168
+ width: 100%;
2169
+ aspect-ratio: 16 / 9;
2170
+ padding: 0;
2171
+ border: 0;
2172
+ border-radius: var(--vx-radius-xl);
2173
+ background: var(--vx-cover-background);
2174
+ color: var(--vx-text-on-content-secondary);
2175
+ overflow: hidden;
2176
+ }
2177
+ button.vx-tile-preview {
2178
+ cursor: pointer;
2179
+ }
2180
+ .vx-tile-preview > .sd-asset-preview {
2181
+ width: 100%;
2182
+ }
2183
+ .vx-asset-tile > .vx-checkbox {
2184
+ position: absolute;
2185
+ z-index: 1;
2186
+ inset: var(--vx-space-8) auto auto var(--vx-space-8);
2187
+ }
2188
+ .vx-asset-tile .vx-tile-caption {
2189
+ display: grid;
2190
+ grid-template-columns: minmax(0, 1fr) auto;
2191
+ align-items: start;
2192
+ column-gap: var(--vx-space-8);
2193
+ padding-inline: var(--vx-space-8);
2194
+ }
2195
+ .vx-tile-caption .vx-tile-title {
2196
+ display: block;
2197
+ justify-self: start;
2198
+ min-width: 0;
2199
+ max-width: 100%;
2200
+ height: 26px;
2201
+ margin: 0;
2202
+ border: 0;
2203
+ padding: 4px 0;
2204
+ overflow: hidden;
2205
+ text-overflow: ellipsis;
2206
+ white-space: nowrap;
2207
+ text-align: start;
2208
+ background: transparent;
2209
+ color: var(--vx-text-primary);
2210
+ font: var(--vx-typography-inter-14-semi-bold);
2211
+ }
2212
+ button.vx-tile-title {
2213
+ cursor: pointer;
2214
+ }
2215
+ .vx-tile-caption > .vx-action-menu {
2216
+ grid-column: 2;
2217
+ grid-row: 1;
2218
+ }
2219
+ .vx-tile-caption > .vx-action-menu > .vx-button {
2220
+ width: 24px;
2221
+ height: 24px;
2222
+ padding: 0;
2223
+ }
2224
+ .vx-tile-caption .vx-tile-facts {
2225
+ grid-column: 1 / -1;
2226
+ min-width: 0;
2227
+ min-height: 16px;
2228
+ overflow: hidden;
2229
+ white-space: nowrap;
2230
+ text-overflow: ellipsis;
2231
+ color: var(--vx-text-secondary);
2232
+ font: var(--vx-typography-inter-12-regular);
2233
+ }
2234
+ .vx-tile-facts > span + span::before {
2235
+ content: "";
2236
+ display: inline-block;
2237
+ height: 8px;
2238
+ margin-inline: 6px;
2239
+ border-inline-start: 1px solid var(--vx-border-secondary);
2240
+ }
2241
+ .vx-asset-grid .vx-asset-tile :is(.studio-cover, .vx-media, .sd-video-thumbnail, .ad-asset-cover) {
2242
+ border-radius: var(--vx-radius-xl);
2243
+ }
2244
+ .vx-asset-grid .studio-cover {
2245
+ overflow: hidden;
2246
+ }
2247
+ .vx-asset-grid .studio-cover[data-kind=video]:has(.studio-cover-video) > .vx-media {
2248
+ background-color: transparent;
2249
+ }
2250
+ .vx-asset-reference-row {
2251
+ display: grid;
2252
+ grid-auto-flow: column;
2253
+ grid-auto-columns: minmax(0, var(--vx-space-32));
2254
+ align-items: center;
2255
+ gap: var(--vx-space-4);
2256
+ }
2257
+ .vx-asset-reference-row > * {
2258
+ max-width: 100%;
2259
+ min-width: 0;
2260
+ }
2261
+ .vx-asset-reference-count {
2262
+ display: grid;
2263
+ place-items: center;
2264
+ height: var(--vx-space-32);
2265
+ border-radius: var(--vx-radius-sm);
2266
+ background: var(--vx-surface-message);
2267
+ color: var(--vx-text-secondary-readable);
2268
+ font: var(--vx-typography-inter-12-medium);
2269
+ white-space: nowrap;
2270
+ }
2271
+
2272
+ /* packages/ui-system/dist/view-skeleton.css */
2273
+ .vx-view-skeleton {
2274
+ display: flex;
2275
+ flex-direction: column;
2276
+ min-inline-size: 0;
2277
+ overflow: hidden;
2278
+ grid-column: 1 / -1;
2279
+ gap: var(--vx-space-12);
2280
+ padding: var(--vx-space-8);
2281
+ }
2282
+ .vx-skeleton-heading,
2283
+ .vx-skeleton-media,
2284
+ .vx-skeleton-copy > span {
2285
+ display: block;
2286
+ border-radius: var(--vx-radius-md);
2287
+ background: var(--vx-surface-input);
2288
+ }
2289
+ .vx-skeleton-heading {
2290
+ margin: var(--vx-space-8) var(--vx-space-16);
2291
+ width: min(170px, 60%);
2292
+ height: 18px;
2293
+ }
2294
+ .vx-skeleton-content {
2295
+ display: grid;
2296
+ align-content: start;
2297
+ min-width: 0;
2298
+ gap: var(--vx-space-16);
2299
+ background: var(--vx-background-dialog);
2300
+ border-radius: var(--vx-radius-xl);
2301
+ padding: var(--vx-space-16);
2302
+ }
2303
+ .vx-skeleton-item {
2304
+ min-width: 0;
2305
+ }
2306
+ .vx-skeleton-media {
2307
+ width: 100%;
2308
+ aspect-ratio: 16 / 9;
2309
+ }
2310
+ .vx-skeleton-copy {
2311
+ display: grid;
2312
+ gap: var(--vx-space-8);
2313
+ margin-top: var(--vx-space-12);
2314
+ }
2315
+ .vx-skeleton-copy > span {
2316
+ width: 76%;
2317
+ height: 14px;
2318
+ }
2319
+ .vx-skeleton-copy > span:nth-child(even) {
2320
+ width: 54%;
2321
+ }
2322
+ .vx-view-skeleton[data-layout=list] .vx-skeleton-item {
2323
+ display: grid;
2324
+ align-items: center;
2325
+ grid-template-columns: minmax(72px, 16%) minmax(0, 1fr);
2326
+ gap: var(--vx-space-16);
2327
+ }
2328
+ .vx-view-skeleton[data-layout=list] .vx-skeleton-copy {
2329
+ margin: 0;
2330
+ }
2331
+ .vx-view-skeleton[data-layout=grid] .vx-skeleton-content {
2332
+ grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
2333
+ }
2334
+ .vx-view-skeleton[data-layout=compare] .vx-skeleton-content {
2335
+ grid-template-columns: repeat(2, minmax(0, 1fr));
2336
+ }
2337
+ @media (prefers-reduced-motion: no-preference) {
2338
+ .vx-view-skeleton :is(.vx-skeleton-heading, .vx-skeleton-media, .vx-skeleton-copy > span) {
2339
+ animation: vx-skeleton-pulse 1.5s ease-in-out infinite alternate;
2340
+ }
2341
+ }
2342
+ @keyframes vx-skeleton-pulse {
2343
+ to {
2344
+ opacity: 0.5;
2345
+ }
1537
2346
  }
1538
2347
 
1539
2348
  /* packages/ui-system/dist/overlays.css */
@@ -1551,13 +2360,16 @@
1551
2360
  box-sizing: border-box;
1552
2361
  width: min(224px, calc(100vw - 16px));
1553
2362
  max-height: min(480px, 50vh);
1554
- overflow: auto;
2363
+ overflow: hidden auto;
1555
2364
  padding: var(--vx-space-4);
1556
2365
  border: var(--vx-border-width) solid var(--vx-border-secondary);
1557
2366
  border-radius: var(--vx-radius-xl);
1558
2367
  background: var(--vx-background-dialog);
1559
2368
  box-shadow: var(--vx-shadow-menu);
1560
2369
  }
2370
+ .vx-action-menu-items > button + button {
2371
+ margin-block-start: var(--vx-space-2);
2372
+ }
1561
2373
  .vx-action-menu-items > button {
1562
2374
  display: flex;
1563
2375
  align-items: center;
@@ -1576,7 +2388,33 @@
1576
2388
  .vx-action-menu-items > button[data-size=large] {
1577
2389
  min-height: 48px;
1578
2390
  }
1579
- .vx-action-menu-items > button > span:not(.vx-icon) {
2391
+ .vx-action-menu-items > button[data-tone=danger]:not(:disabled) {
2392
+ color: var(--vx-state-danger);
2393
+ }
2394
+ .vx-action-menu-items[data-with-previews] {
2395
+ width: min(360px, calc(100vw - var(--vx-space-16)));
2396
+ }
2397
+ .vx-menu-preview {
2398
+ flex: none;
2399
+ display: grid;
2400
+ grid-template: minmax(0, 1fr) / minmax(0, 1fr);
2401
+ width: 80px;
2402
+ aspect-ratio: 16 / 9;
2403
+ border-radius: var(--vx-radius-sm);
2404
+ overflow: hidden;
2405
+ background: var(--vx-cover-background);
2406
+ }
2407
+ .vx-menu-preview > .vx-cover-preview {
2408
+ display: grid;
2409
+ place-items: center;
2410
+ grid-template: minmax(0, 1fr) / minmax(0, 1fr);
2411
+ }
2412
+ .vx-menu-preview :is(img, video) {
2413
+ width: 100%;
2414
+ height: 100%;
2415
+ object-fit: contain;
2416
+ }
2417
+ .vx-action-menu-items > button > .vx-menu-label {
1580
2418
  flex: 1;
1581
2419
  overflow-wrap: anywhere;
1582
2420
  }
@@ -1584,7 +2422,7 @@
1584
2422
  color: var(--vx-text-placeholder);
1585
2423
  cursor: not-allowed;
1586
2424
  }
1587
- .vx-action-menu-items > button:is(:hover, :focus-visible, [aria-checked=true]):not(:disabled) {
2425
+ .vx-action-menu-items > button:is(:hover, :focus-visible, [aria-checked=true], [aria-expanded=true]):not(:disabled) {
1588
2426
  background: var(--vx-surface-hover);
1589
2427
  }
1590
2428
  .vx-action-menu-items > button:focus-visible {
@@ -1593,37 +2431,121 @@
1593
2431
  }
1594
2432
  .vx-filter-menu {
1595
2433
  box-sizing: border-box;
1596
- width: min(280px, calc(100vw - 16px));
1597
- max-height: min(480px, calc(100dvh - 16px));
1598
- overflow: auto;
2434
+ width: min(224px, calc(100vw - 16px));
2435
+ max-height: min(460px, calc(100dvh - 16px));
2436
+ overflow: hidden;
1599
2437
  inset: auto;
1600
- position-area: bottom span-right;
2438
+ position-area: bottom center;
1601
2439
  position-try-fallbacks:
1602
- flip-inline,
1603
- flip-block,
1604
- flip-block flip-inline;
1605
- margin: var(--vx-space-4) 0;
1606
- padding: var(--vx-space-8);
1607
- border: var(--vx-border-width) solid var(--vx-border-secondary);
1608
- border-radius: var(--vx-radius-xl);
2440
+ bottom span-left,
2441
+ bottom span-right,
2442
+ top center,
2443
+ top span-left,
2444
+ top span-right;
2445
+ margin: 6px 0;
2446
+ padding: var(--vx-space-4);
2447
+ border: var(--vx-divider-width) solid var(--vx-border-secondary);
2448
+ border-radius: 12px;
1609
2449
  background: var(--vx-background-dialog);
1610
2450
  color: var(--vx-text-primary);
1611
- box-shadow: var(--vx-shadow-menu);
2451
+ box-shadow: 0 4px 16px rgb(0 0 0 / 25%);
1612
2452
  }
1613
- .vx-filter-menu summary {
1614
- padding: var(--vx-space-8);
1615
- cursor: pointer;
2453
+ .vx-filter-menu:popover-open {
2454
+ display: flex;
2455
+ flex-direction: column;
2456
+ gap: 2px;
1616
2457
  }
1617
- .vx-filter-menu summary .vx-tag {
1618
- margin-inline-start: var(--vx-space-8);
2458
+ .vx-filter-scroll {
2459
+ position: relative;
2460
+ min-height: 0;
2461
+ display: flex;
2462
+ flex-direction: column;
1619
2463
  }
1620
- .vx-filter-options {
2464
+ .vx-filter-scroll[data-more-below]::after {
2465
+ content: "";
2466
+ position: absolute;
2467
+ inset: auto 0 0;
2468
+ height: min(60px, 35%);
2469
+ background:
2470
+ linear-gradient(
2471
+ to bottom,
2472
+ transparent,
2473
+ var(--vx-background-dialog));
2474
+ pointer-events: none;
2475
+ }
2476
+ .vx-filter-menu .vx-filter-groups {
2477
+ min-height: 0;
2478
+ overflow-y: auto;
2479
+ overscroll-behavior: contain;
2480
+ scrollbar-width: none;
2481
+ }
2482
+ .vx-filter-menu .vx-filter-options {
1621
2483
  display: grid;
1622
- gap: var(--vx-space-4);
1623
- padding: 0 var(--vx-space-8) var(--vx-space-8);
2484
+ padding: 0;
2485
+ gap: 2px;
2486
+ margin-block-start: 2px;
2487
+ }
2488
+ .vx-filter-menu details + details::before {
2489
+ content: "";
2490
+ display: block;
2491
+ height: var(--vx-divider-width);
2492
+ margin: 2px 12px;
2493
+ background: var(--vx-border-secondary);
2494
+ }
2495
+ .vx-filter-menu details + details {
2496
+ border: 0;
2497
+ }
2498
+ .vx-filter-menu summary,
2499
+ .vx-filter-options .vx-checkbox {
2500
+ box-sizing: border-box;
2501
+ display: flex;
2502
+ align-items: center;
2503
+ justify-content: space-between;
2504
+ min-height: 36px;
2505
+ padding: 0 12px;
2506
+ cursor: pointer;
2507
+ }
2508
+ .vx-filter-menu summary {
2509
+ font: var(--vx-typography-inter-14-semi-bold);
2510
+ list-style: none;
2511
+ }
2512
+ .vx-filter-menu summary::-webkit-details-marker {
2513
+ display: none;
2514
+ }
2515
+ .vx-filter-menu summary > .vx-icon {
2516
+ color: var(--vx-text-secondary);
2517
+ }
2518
+ .vx-filter-menu details[open] > summary .vx-icon {
2519
+ rotate: 180deg;
2520
+ }
2521
+ .vx-filter-options .vx-checkbox {
2522
+ width: 100%;
2523
+ flex-direction: row-reverse;
2524
+ font: var(--vx-typography-inter-14-regular);
2525
+ }
2526
+ .vx-filter-options .vx-checkbox:hover,
2527
+ .vx-filter-menu summary:hover {
2528
+ border-radius: 8px;
2529
+ background: var(--vx-surface-hover);
1624
2530
  }
1625
- .vx-filter-menu > .vx-button {
1626
- margin-top: var(--vx-space-8);
2531
+ .vx-filter-menu .vx-checkbox-input:not(:checked) + .vx-checkbox-mark {
2532
+ border-color: var(--vx-border-primary);
2533
+ }
2534
+ .vx-filter-menu .vx-checkbox-mark .vx-icon {
2535
+ --vx-icon-size: 12px;
2536
+ }
2537
+ .vx-filter-menu footer {
2538
+ box-sizing: border-box;
2539
+ display: flex;
2540
+ align-items: center;
2541
+ flex: none;
2542
+ height: 44px;
2543
+ padding-inline: var(--vx-space-8);
2544
+ border-top: var(--vx-divider-width) solid var(--vx-border-secondary);
2545
+ }
2546
+ .vx-filter-menu footer > .vx-button {
2547
+ width: 100%;
2548
+ flex: none;
1627
2549
  }
1628
2550
  .vx-annotation-tools {
1629
2551
  display: inline-flex;
@@ -1692,36 +2614,57 @@
1692
2614
  justify-content: flex-end;
1693
2615
  flex-wrap: wrap;
1694
2616
  }
1695
- .vx-dialog h2 {
2617
+ .vx-dialog > header > h2 {
1696
2618
  margin: 0;
1697
- font: var(--vx-typography-inter-16-semi-bold);
2619
+ font: var(--vx-typography-inter-18-semi-bold);
2620
+ }
2621
+ dialog.vx-dialog.vx-dialog-inline {
2622
+ position: static;
2623
+ display: block;
2624
+ width: auto;
2625
+ max-width: none;
2626
+ max-height: none;
2627
+ margin: 0;
2628
+ padding: 0;
2629
+ border: 0;
2630
+ border-radius: 0;
2631
+ background: transparent;
2632
+ box-shadow: none;
2633
+ overflow: visible;
2634
+ }
2635
+ .vx-dialog-inline > :is(header, footer) {
2636
+ display: none;
1698
2637
  }
1699
- .vx-dialog:is([data-variant=create-project], [data-variant=story-edit]) {
2638
+ .vx-dialog-inline > .vx-dialog-body {
2639
+ display: contents;
2640
+ }
2641
+ .vx-dialog:is([data-variant=create-project], [data-variant=story-edit], [data-variant=edit-dashboard]) {
1700
2642
  --vx-dialog-section-gap: var(--vx-space-24);
1701
2643
  --vx-dialog-footer-inset: var(--vx-space-24);
1702
2644
  width: min(var(--vx-dialog-small-width), calc(100vw - var(--vx-space-32)));
1703
2645
  padding: var(--vx-dialog-padding);
1704
2646
  border: var(--vx-border-width) solid var(--vx-surface-input);
1705
2647
  border-radius: var(--vx-dialog-radius);
1706
- overflow: auto;
2648
+ scrollbar-gutter: stable;
2649
+ overflow: scroll auto;
1707
2650
  }
1708
- .vx-dialog:is([data-variant=create-project], [data-variant=story-edit]) > header {
2651
+ .vx-dialog:is([data-variant=create-project], [data-variant=story-edit], [data-variant=edit-dashboard]) > header {
1709
2652
  padding: 0;
1710
2653
  margin: 0 var(--vx-space-32) var(--vx-dialog-section-gap) 0;
1711
2654
  }
1712
- .vx-dialog:is([data-variant=create-project], [data-variant=story-edit]) > header h2 {
2655
+ .vx-dialog:is([data-variant=create-project], [data-variant=story-edit], [data-variant=edit-dashboard]) > header h2 {
1713
2656
  font: var(--vx-typography-inter-18-semi-bold);
1714
2657
  }
1715
- .vx-dialog:is([data-variant=create-project], [data-variant=story-edit]) > header > .vx-button {
2658
+ .vx-dialog:is([data-variant=create-project], [data-variant=story-edit], [data-variant=edit-dashboard]) > header > .vx-button {
1716
2659
  position: absolute;
1717
2660
  top: 15px;
1718
2661
  right: 15px;
1719
2662
  }
1720
- .vx-dialog:is([data-variant=create-project], [data-variant=story-edit]) > .vx-dialog-body {
2663
+ .vx-dialog:is([data-variant=create-project], [data-variant=story-edit], [data-variant=edit-dashboard]) > .vx-dialog-body {
1721
2664
  min-width: 0;
1722
2665
  padding: 0;
1723
2666
  }
1724
- .vx-dialog:is([data-variant=create-project], [data-variant=story-edit]) > footer {
2667
+ .vx-dialog:is([data-variant=create-project], [data-variant=story-edit], [data-variant=edit-dashboard]) > footer {
1725
2668
  margin-top: var(--vx-dialog-section-gap);
1726
2669
  padding: var(--vx-dialog-footer-inset) 0 0;
1727
2670
  border-top: var(--vx-divider-width) solid var(--vx-border-secondary);
@@ -1750,9 +2693,9 @@
1750
2693
  }
1751
2694
  .vx-toast {
1752
2695
  position: fixed;
1753
- z-index: 40;
1754
- left: 50%;
1755
- bottom: max(var(--vx-space-24), env(safe-area-inset-bottom));
2696
+ --vx-toast-top: max(var(--vx-space-16), env(safe-area-inset-top));
2697
+ inset: var(--vx-toast-top) auto auto 50%;
2698
+ margin: 0;
1756
2699
  transform: translateX(-50%);
1757
2700
  display: flex;
1758
2701
  align-items: center;
@@ -1769,8 +2712,18 @@
1769
2712
  font: var(--vx-typography-inter-12-medium);
1770
2713
  pointer-events: none;
1771
2714
  }
1772
- .vx-toast:empty {
1773
- display: none;
2715
+ @media (prefers-reduced-motion: no-preference) {
2716
+ .vx-dialog:modal,
2717
+ [role=dialog]:not(dialog, [popover], [hidden]),
2718
+ [role=dialog][popover]:popover-open {
2719
+ animation: vx-dialog-enter var(--vx-motion-duration-enter) var(--vx-motion-easing-enter);
2720
+ }
2721
+ .vx-dialog:modal::backdrop {
2722
+ animation: vx-backdrop-enter var(--vx-motion-duration-enter) var(--vx-motion-easing-enter);
2723
+ }
2724
+ .vx-toast:popover-open {
2725
+ animation: vx-toast-enter var(--vx-motion-duration-enter) var(--vx-motion-easing-enter);
2726
+ }
1774
2727
  }
1775
2728
  .vx-prompt-hint {
1776
2729
  display: grid;
@@ -1788,6 +2741,34 @@
1788
2741
  min-height: 120px;
1789
2742
  }
1790
2743
  }
2744
+ @keyframes vx-toast-enter {
2745
+ from {
2746
+ transform: translate(-50%, calc(-100% - var(--vx-toast-top)));
2747
+ }
2748
+ to {
2749
+ transform: translate(-50%, 0);
2750
+ }
2751
+ }
2752
+ @keyframes vx-dialog-enter {
2753
+ from {
2754
+ opacity: 0;
2755
+ translate: 0 8px;
2756
+ scale: 0.98;
2757
+ }
2758
+ to {
2759
+ opacity: 1;
2760
+ translate: 0 0;
2761
+ scale: 1;
2762
+ }
2763
+ }
2764
+ @keyframes vx-backdrop-enter {
2765
+ from {
2766
+ opacity: 0;
2767
+ }
2768
+ to {
2769
+ opacity: 1;
2770
+ }
2771
+ }
1791
2772
 
1792
2773
  /* packages/ui-system/dist/styles.css */
1793
2774
  @font-face {
@@ -1796,6 +2777,12 @@
1796
2777
  font-weight: 400;
1797
2778
  font-display: swap;
1798
2779
  }
2780
+ @font-face {
2781
+ font-family: "Vivix Studio Inter";
2782
+ src: url("./assets/inter-latin-900-normal-FKACR3DR.woff2") format("woff2");
2783
+ font-weight: 900;
2784
+ font-display: swap;
2785
+ }
1799
2786
  @font-face {
1800
2787
  font-family: "Vivix Studio Inter";
1801
2788
  src: url("./assets/inter-latin-500-normal-W62DVTXI.woff2") format("woff2");
@@ -1815,6 +2802,9 @@
1815
2802
  font-display: swap;
1816
2803
  }
1817
2804
  @scope ([data-vx-theme]) {
2805
+ :where(h1, h2, h3, h4, h5, h6, b, strong, th) {
2806
+ font-weight: 600;
2807
+ }
1818
2808
  .vx-icon {
1819
2809
  display: inline-block;
1820
2810
  flex: none;
@@ -1833,6 +2823,21 @@
1833
2823
  background: currentColor;
1834
2824
  mask: var(--vx-icon-mask) center / contain no-repeat;
1835
2825
  }
2826
+ .vx-icon[data-icon=copy] {
2827
+ --vx-icon-mask: url("./assets/copy-document-EF4PHM7F.svg");
2828
+ }
2829
+ .vx-icon[data-icon=upload] {
2830
+ --vx-icon-mask: url("./assets/upload-U5RZT5QI.svg");
2831
+ }
2832
+ .vx-icon[data-icon=refresh] {
2833
+ --vx-icon-mask: url("./assets/refresh-WQ3CTB57.svg");
2834
+ }
2835
+ .vx-icon[data-icon=replace] {
2836
+ --vx-icon-mask: url("./assets/replace-PJXDOQDX.svg");
2837
+ }
2838
+ .vx-icon[data-icon=add-circle] {
2839
+ --vx-icon-mask: url("./assets/add-circle-RPMXNTWW.svg");
2840
+ }
1836
2841
  .vx-icon[data-icon=add] {
1837
2842
  --vx-icon-mask: url("./assets/add-JY533O73.svg");
1838
2843
  }
@@ -1867,7 +2872,7 @@
1867
2872
  --vx-icon-height: 75.02%;
1868
2873
  }
1869
2874
  .vx-icon[data-icon=search] {
1870
- --vx-icon-mask: url("./assets/search-JUOSGQRM.svg");
2875
+ --vx-icon-mask: url("./assets/search-FMYQZJWA.svg");
1871
2876
  --vx-icon-width: 82.5%;
1872
2877
  --vx-icon-height: 82.5%;
1873
2878
  }
@@ -1886,9 +2891,18 @@
1886
2891
  --vx-icon-height: 86.46%;
1887
2892
  --vx-icon-mask: url("./assets/magic-OMME7FOV.svg");
1888
2893
  }
2894
+ .vx-icon[data-icon=select-items] {
2895
+ --vx-icon-mask: url("./assets/select-items-GJZIVO37.svg");
2896
+ }
2897
+ .vx-icon[data-icon=filter] {
2898
+ --vx-icon-mask: url("./assets/filter-JSDZZVGN.svg");
2899
+ }
1889
2900
  .vx-icon[data-icon=select] {
1890
2901
  --vx-icon-mask: url("./assets/select-VU7WR7B4.svg");
1891
2902
  }
2903
+ .vx-icon[data-icon=filter] {
2904
+ --vx-icon-mask: url("./assets/filter-JSDZZVGN.svg");
2905
+ }
1892
2906
  .vx-icon[data-icon=area] {
1893
2907
  --vx-icon-mask: url("./assets/area-P2WOMBT5.svg");
1894
2908
  }
@@ -1919,6 +2933,9 @@
1919
2933
  .vx-icon[data-icon=fullscreen] {
1920
2934
  --vx-icon-mask: url("./assets/fullscreen-L2JCXIN2.svg");
1921
2935
  }
2936
+ .vx-icon[data-icon=fullscreen-exit] {
2937
+ --vx-icon-mask: url("./assets/fullscreen-exit-ADYOPBYH.svg");
2938
+ }
1922
2939
  .vx-icon[data-icon=sound-file] {
1923
2940
  --vx-icon-mask: url("./assets/sound-file-YYY6VNYN.svg");
1924
2941
  }
@@ -1947,6 +2964,24 @@
1947
2964
  .vx-icon[data-icon=export] {
1948
2965
  --vx-icon-mask: url("./assets/export-W2OBXZDQ.svg");
1949
2966
  }
2967
+ .vx-icon[data-icon=favorite] {
2968
+ --vx-icon-mask: url("./assets/favorite-6GMNHJCN.svg");
2969
+ }
2970
+ [aria-pressed=true] .vx-icon[data-icon=favorite] {
2971
+ --vx-icon-mask: url("./assets/favorite-filled-FR74TEBM.svg");
2972
+ }
2973
+ .vx-icon[data-icon=download] {
2974
+ --vx-icon-mask: url("./assets/download-VTKCEAZG.svg");
2975
+ }
2976
+ .vx-icon[data-icon=delete] {
2977
+ --vx-icon-mask: url("./assets/delete-4Y3OUMEL.svg");
2978
+ }
2979
+ .vx-icon[data-icon=trim] {
2980
+ --vx-icon-mask: url("./assets/trim-LQMHHN2M.svg");
2981
+ }
2982
+ .vx-icon[data-icon=crop] {
2983
+ --vx-icon-mask: url("./assets/crop-5JXWHIPN.svg");
2984
+ }
1950
2985
  .vx-icon[data-icon=edit] {
1951
2986
  --vx-icon-mask: url("./assets/edit-JUVJDD5A.svg");
1952
2987
  }
@@ -1976,41 +3011,75 @@
1976
3011
  }
1977
3012
 
1978
3013
  /* packages/studio-workbench/src/asset-toolbar.css */
1979
- .ad-asset-toolbar {
1980
- display: flex;
1981
- align-items: center;
1982
- gap: 16px;
1983
- padding: 16px;
1984
- flex-wrap: wrap;
3014
+ .studio-page-panel:is([data-page=assets], [data-page=projects], [data-page=tasks]) .studio-toolbar {
3015
+ padding-inline: var(--vx-space-16) var(--vx-space-12);
1985
3016
  }
1986
- .ad-asset-toolbar .vx-search-input {
1987
- width: 240px;
3017
+ .studio-page-panel:is([data-page=assets], [data-page=projects], [data-page=tasks]) .studio-view-tabs {
3018
+ gap: var(--vx-space-16);
3019
+ scrollbar-width: none;
3020
+ }
3021
+ .studio-page-panel:is([data-page=assets], [data-page=projects], [data-page=tasks]) .studio-view-tabs > .vx-button {
3022
+ padding: var(--vx-space-16) 0 var(--vx-space-12);
3023
+ border-bottom: 0;
3024
+ color: var(--vx-text-secondary);
3025
+ font: var(--vx-typography-inter-16-semi-bold);
3026
+ }
3027
+ .studio-page-panel:is([data-page=assets], [data-page=projects], [data-page=tasks]) .studio-view-tabs > .active {
3028
+ padding-block-start: 18px;
3029
+ border-bottom: 2px solid var(--vx-state-success);
3030
+ color: var(--vx-state-success);
3031
+ }
3032
+ .studio-page-panel:is([data-page=assets], [data-page=projects], [data-page=tasks]) .studio-toolbar-controls > .vx-button {
3033
+ background: var(--vx-button-background);
3034
+ }
3035
+ .studio-page-panel:is([data-page=assets], [data-page=projects], [data-page=tasks]) .studio-table th {
3036
+ height: 40px;
3037
+ color: var(--vx-text-secondary);
3038
+ font: var(--vx-typography-inter-14-regular);
3039
+ }
3040
+ .studio-page-panel:is([data-page=assets], [data-page=projects], [data-page=tasks]) .studio-table tbody td {
3041
+ font: var(--vx-typography-inter-14-regular);
3042
+ }
3043
+ .studio-page-panel:is([data-page=assets], [data-page=projects], [data-page=tasks]) .studio-table .studio-cover {
3044
+ width: 114px;
3045
+ aspect-ratio: 16 / 9;
3046
+ height: auto;
3047
+ overflow: hidden;
3048
+ border-radius: var(--vx-radius-lg);
3049
+ }
3050
+ .studio-asset-references:where(:not(.vx-asset-reference-row)) {
3051
+ display: flex;
3052
+ gap: var(--vx-space-4);
3053
+ max-width: 100%;
3054
+ flex-wrap: wrap;
1988
3055
  }
1989
- .ad-asset-toolbar label {
1990
- display: flex;
1991
- align-items: center;
1992
- gap: 8px;
1993
- font-size: 13px;
3056
+ .studio-asset-references > button {
3057
+ display: grid;
3058
+ flex: none;
3059
+ place-items: center;
3060
+ width: 32px;
3061
+ height: 32px;
3062
+ padding: 0;
3063
+ border: 0;
3064
+ border-radius: var(--vx-radius-sm);
3065
+ background: var(--vx-cover-background);
3066
+ color: var(--vx-text-on-content-secondary);
3067
+ overflow: hidden;
3068
+ cursor: pointer;
1994
3069
  }
1995
- .ad-asset-toolbar select {
1996
- background: var(--vx-background-page);
1997
- color: inherit;
1998
- border: 1px solid var(--vx-border-secondary);
1999
- border-radius: 8px;
2000
- padding: 7px 10px;
3070
+ .studio-reference-thumbnail {
3071
+ display: grid;
3072
+ place-items: center;
3073
+ width: 100%;
3074
+ height: 100%;
2001
3075
  }
2002
- .ad-asset-toolbar > span {
2003
- margin-left: auto;
2004
- font-size: 13px;
2005
- color: var(--vx-text-secondary-readable);
3076
+ .studio-reference-thumbnail :is(img, video) {
3077
+ width: 100%;
3078
+ height: 100%;
3079
+ object-fit: contain;
2006
3080
  }
2007
- @media (max-width: 540px) {
2008
- .ad-asset-toolbar {
2009
- gap: 8px;
2010
- }
2011
- .ad-asset-toolbar .vx-search-input {
2012
- width: 100%;
2013
- }
3081
+ .studio-page-panel[data-asset-library] .studio-table-assets {
3082
+ min-width: 1120px;
2014
3083
  }
2015
3084
 
2016
3085
  /* packages/studio-workbench/src/view-preview.css */
@@ -2056,7 +3125,11 @@
2056
3125
  }
2057
3126
  .studio-home {
2058
3127
  display: grid;
2059
- gap: 8px;
3128
+ grid-template-columns: minmax(0, 1fr);
3129
+ grid-template-rows: auto auto minmax(0, 1fr);
3130
+ flex: 1;
3131
+ min-height: 0;
3132
+ gap: var(--vx-space-8);
2060
3133
  inline-size: 100%;
2061
3134
  max-inline-size: 1920px;
2062
3135
  align-self: center;
@@ -2073,6 +3146,9 @@
2073
3146
  flex-wrap: wrap;
2074
3147
  }
2075
3148
  .studio-home-hero {
3149
+ display: flex;
3150
+ flex-direction: column;
3151
+ justify-content: center;
2076
3152
  position: relative;
2077
3153
  overflow: hidden;
2078
3154
  min-block-size: 123px;
@@ -2099,9 +3175,13 @@
2099
3175
  background: linear-gradient(var(--hero-wash), var(--hero-wash)), url("./assets/hero-landscape-H35LYO4H.png") center / cover;
2100
3176
  }
2101
3177
  .studio-home-hero h1 {
2102
- color: var(--vx-text-primary);
2103
- margin: 0;
2104
- font: italic 700 32px/1.15 "Inria Serif", serif;
3178
+ color: light-dark(rgb(30 38 32 / 90%), var(--vx-text-primary));
3179
+ margin: -5.5px 0;
3180
+ font: italic 700 32px/53px "Inria Serif", serif;
3181
+ letter-spacing: -0.01em;
3182
+ overflow: hidden;
3183
+ text-overflow: ellipsis;
3184
+ white-space: nowrap;
2105
3185
  }
2106
3186
  .studio-home-hero p {
2107
3187
  margin: 0;
@@ -2109,6 +3189,11 @@
2109
3189
  }
2110
3190
  .studio-home-panels {
2111
3191
  display: grid;
3192
+ align-content: start;
3193
+ min-height: 0;
3194
+ scrollbar-gutter: stable;
3195
+ overflow: scroll auto;
3196
+ overscroll-behavior: contain;
2112
3197
  gap: 8px;
2113
3198
  min-width: 0;
2114
3199
  }
@@ -2123,7 +3208,7 @@
2123
3208
  }
2124
3209
  .studio-home-panel > header h2 {
2125
3210
  margin: 0;
2126
- font-size: 16px;
3211
+ font: var(--vx-typography-inter-16-semi-bold);
2127
3212
  }
2128
3213
  .studio-home-grid {
2129
3214
  display: grid;
@@ -2166,7 +3251,7 @@
2166
3251
  place-items: center;
2167
3252
  overflow: hidden;
2168
3253
  border-radius: 8px;
2169
- background: var(--vx-surface-input);
3254
+ background: var(--vx-cover-background);
2170
3255
  }
2171
3256
  .studio-home-cover {
2172
3257
  position: relative;
@@ -2179,9 +3264,6 @@
2179
3264
  height: 100%;
2180
3265
  object-fit: contain;
2181
3266
  }
2182
- .studio-home-cover:has(img, video) {
2183
- background: #151515;
2184
- }
2185
3267
  .studio-home-template {
2186
3268
  container-type: inline-size;
2187
3269
  position: relative;
@@ -2193,31 +3275,54 @@
2193
3275
  translate: 0 -50%;
2194
3276
  top: 28.125cqw;
2195
3277
  margin: auto;
2196
- height: max-content;
2197
- width: max-content;
2198
3278
  opacity: 0;
2199
- background: var(--vx-background-page);
2200
3279
  }
2201
3280
  .studio-home-template:hover > button:last-child,
2202
3281
  .studio-home-template:focus-within > button:last-child {
2203
3282
  opacity: 1;
2204
3283
  }
2205
- .studio-home-empty {
2206
- padding: 12px;
2207
- margin: 0;
2208
- color: var(--vx-text-secondary);
2209
- }
2210
3284
  .studio-home-dialog textarea {
2211
3285
  box-sizing: border-box;
2212
3286
  width: 100%;
2213
3287
  resize: vertical;
2214
3288
  padding: 10px;
2215
- border: 1px solid var(--vx-border-secondary);
3289
+ border: 0;
2216
3290
  border-radius: 8px;
2217
3291
  background: var(--vx-surface-input);
2218
3292
  color: var(--vx-text-primary);
2219
3293
  font: inherit;
2220
3294
  }
3295
+ .studio-home-dialog[data-variant=edit-dashboard][open] {
3296
+ display: flex;
3297
+ flex-direction: column;
3298
+ height: min(560px, calc(100dvh - 32px));
3299
+ box-shadow: 0 4px 20px rgb(0 0 0 / 8%);
3300
+ }
3301
+ .studio-home-dialog[data-variant=edit-dashboard] > .vx-dialog-body {
3302
+ flex: 1;
3303
+ min-height: 0;
3304
+ display: flex;
3305
+ flex-direction: column;
3306
+ align-items: stretch;
3307
+ gap: var(--vx-space-8);
3308
+ }
3309
+ .studio-dashboard-field-label {
3310
+ color: var(--vx-text-secondary);
3311
+ font: var(--vx-typography-inter-14-regular);
3312
+ }
3313
+ .studio-home-dialog[data-variant=edit-dashboard] textarea {
3314
+ flex: 1;
3315
+ min-height: 0;
3316
+ max-height: 338px;
3317
+ padding: 8px 12px;
3318
+ border: 0;
3319
+ border-radius: 6px;
3320
+ resize: none;
3321
+ font: var(--vx-typography-inter-14-regular);
3322
+ }
3323
+ .studio-home-dialog [role=status]:empty {
3324
+ display: none;
3325
+ }
2221
3326
  .studio-home-dialog .studio-home-preview {
2222
3327
  margin-bottom: 12px;
2223
3328
  max-height: 240px;
@@ -2225,6 +3330,8 @@
2225
3330
  @media (max-width: 660px) {
2226
3331
  .studio-home-hero h1 {
2227
3332
  font-size: 24px;
3333
+ line-height: 1.25;
3334
+ margin-block: 0;
2228
3335
  }
2229
3336
  .studio-home-grid {
2230
3337
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 132px), 1fr));
@@ -2245,7 +3352,7 @@
2245
3352
  border-radius: 999px;
2246
3353
  }
2247
3354
  .studio-home-hero-copy {
2248
- padding: 24px 343px 32px 24px;
3355
+ padding: var(--vx-space-16) 343px var(--vx-space-16) var(--vx-space-24);
2249
3356
  }
2250
3357
  .studio-home-grid {
2251
3358
  padding: 0 var(--home-panel-inset) var(--home-panel-inset);
@@ -2254,12 +3361,12 @@
2254
3361
  grid-template-columns: repeat(auto-fill, minmax(min(100%, max(150px, calc((100% - 32px) / 5))), 1fr));
2255
3362
  }
2256
3363
  .studio-home-views {
2257
- margin-block-start: 4px;
2258
- --vx-tabs-primary-height: 55px;
3364
+ border-radius: 16px;
3365
+ --vx-tabs-primary-height: 56px;
2259
3366
  }
2260
3367
  .studio-home-views .vx-tabs {
2261
3368
  padding-inline: var(--home-panel-inset);
2262
- border-block-end: 1px solid var(--vx-border-secondary);
3369
+ border-block-end: var(--vx-divider-width) solid var(--vx-border-secondary);
2263
3370
  }
2264
3371
  .studio-home-views .vx-tab-list {
2265
3372
  gap: var(--vx-space-16);
@@ -2267,14 +3374,86 @@
2267
3374
  .studio-home-views [role=tab] {
2268
3375
  padding-inline: 0;
2269
3376
  }
2270
- .studio-home-views .studio-home-empty {
2271
- padding: var(--home-panel-inset);
3377
+ .studio-home[data-custom-views] .studio-home-views {
3378
+ margin-block-start: var(--vx-space-4);
3379
+ }
3380
+ .studio-home[data-custom-views] .studio-home-views,
3381
+ .studio-home[data-custom-views] .studio-home-views > div,
3382
+ .studio-home[data-custom-views] .studio-home-views [role=tabpanel]:not([hidden]) {
3383
+ display: flex;
3384
+ flex-direction: column;
3385
+ flex: 1;
3386
+ }
3387
+ .studio-home[data-custom-views] .studio-home-views,
3388
+ .studio-home[data-custom-views] .studio-home-views > div {
3389
+ min-height: 0;
3390
+ overflow: hidden;
3391
+ }
3392
+ .studio-home[data-custom-views] .studio-home-views [role=tabpanel]:not([hidden]) {
3393
+ min-height: 0;
3394
+ scrollbar-gutter: stable;
3395
+ overflow: scroll auto;
3396
+ overscroll-behavior: contain;
3397
+ }
3398
+ @media (max-width: 760px) {
3399
+ .studio-content:has(> .studio-home) {
3400
+ box-sizing: border-box;
3401
+ height: 100dvh;
3402
+ min-height: min-content;
3403
+ }
3404
+ }
3405
+ .studio-home[data-custom-views] .vx-tabs {
3406
+ flex: none;
3407
+ }
3408
+ .studio-saved-empty {
3409
+ display: flex;
3410
+ flex: 1;
3411
+ flex-direction: column;
3412
+ justify-content: center;
3413
+ align-items: center;
3414
+ gap: var(--vx-space-16);
3415
+ padding: 64px var(--vx-space-8);
3416
+ text-align: center;
3417
+ }
3418
+ .studio-saved-empty p {
3419
+ margin: 0;
3420
+ color: var(--vx-text-secondary);
3421
+ font: var(--vx-typography-inter-14-regular);
2272
3422
  }
2273
3423
  .studio-home-template-summary {
2274
- color: var(--vx-text-secondary-readable);
3424
+ color: var(--vx-text-secondary);
2275
3425
  font: var(--vx-typography-inter-12-regular);
2276
3426
  }
2277
- .studio-home-gallery {
3427
+ .studio-home-template .studio-home-tile {
3428
+ gap: var(--vx-space-8);
3429
+ padding-block-end: var(--vx-space-8);
3430
+ }
3431
+ .studio-template-caption {
3432
+ display: grid;
3433
+ gap: var(--vx-space-2);
3434
+ padding-inline: var(--vx-space-8);
3435
+ min-width: 0;
3436
+ }
3437
+ .studio-template-caption > strong {
3438
+ font: var(--vx-typography-inter-14-semi-bold);
3439
+ }
3440
+ .studio-home-template .studio-home-preview {
3441
+ overflow: hidden;
3442
+ background: var(--vx-background-page);
3443
+ padding: 3.5% 3.5% 0;
3444
+ box-sizing: border-box;
3445
+ }
3446
+ .studio-home-template .studio-home-preview::before {
3447
+ content: "";
3448
+ display: block;
3449
+ height: 100%;
3450
+ border-radius: 4px 4px 0 0;
3451
+ background: var(--vx-background-dialog) var(--studio-view-art) center top / cover no-repeat;
3452
+ }
3453
+ .studio-home-views .vx-tabs [role=tab]:not([aria-selected=true]) {
3454
+ color: var(--vx-text-secondary);
3455
+ }
3456
+ .studio-home-views .studio-home-gallery {
2278
3457
  padding-block-start: var(--home-panel-inset);
2279
3458
  grid-template-columns: repeat(auto-fill, minmax(min(100%, max(240px, calc((100% - 24px) / 4))), 1fr));
2280
3459
  }
@@ -2304,10 +3483,30 @@
2304
3483
  border-radius: 999px;
2305
3484
  font: var(--vx-typography-inter-16-medium);
2306
3485
  }
2307
- .studio-home-toolbar input:checked + .vx-segment-item {
3486
+ .studio-home-toolbar > .vx-segment input:checked + .vx-segment-item {
2308
3487
  color: var(--vx-state-success);
2309
3488
  background: color-mix(in srgb, var(--vx-state-success) 20%, var(--vx-background-dialog));
2310
3489
  }
3490
+ .studio-home-toolbar > .vx-segment .vx-icon[data-icon=grid] {
3491
+ --vx-icon-mask: url("./assets/dashboard-overview-Y32BCZQC.svg");
3492
+ }
3493
+ .studio-home-toolbar > .vx-segment .vx-icon[data-icon=list] {
3494
+ --vx-icon-mask: url("./assets/dashboard-views-GOG66UAH.svg");
3495
+ }
3496
+ .studio-home-toolbar > .vx-segment .vx-icon {
3497
+ --vx-icon-size: 18px;
3498
+ }
3499
+ .studio-home-toolbar > .vx-segment .vx-icon::before {
3500
+ width: 100%;
3501
+ height: 100%;
3502
+ mask-size: auto;
3503
+ }
3504
+ .studio-home-toolbar > .vx-segment .vx-icon[data-icon=list]::before {
3505
+ mask-position: center top;
3506
+ }
3507
+ .studio-home-actions[inert] {
3508
+ visibility: hidden;
3509
+ }
2311
3510
  .studio-home-actions {
2312
3511
  display: flex;
2313
3512
  gap: 8px;
@@ -2326,7 +3525,16 @@
2326
3525
  gap: 4px;
2327
3526
  }
2328
3527
  .studio-home-cover {
2329
- color: var(--vx-text-placeholder);
3528
+ color: var(--vx-text-on-content-secondary);
3529
+ }
3530
+ @media (max-width: 480px) {
3531
+ .studio-home-toolbar > .vx-segment {
3532
+ max-width: 100%;
3533
+ }
3534
+ .studio-home-toolbar .vx-segment-item {
3535
+ padding-inline: var(--vx-space-10);
3536
+ font-size: 13px;
3537
+ }
2330
3538
  }
2331
3539
 
2332
3540
  /* packages/studio-workbench/src/home-banner.css */
@@ -2504,11 +3712,6 @@
2504
3712
  .studio-home-hero-title {
2505
3713
  height: auto;
2506
3714
  }
2507
- .studio-home-hero-copy h1 {
2508
- font: var(--vx-typography-inria-serif-28-bold-italic);
2509
- line-height: 1.25;
2510
- text-wrap: balance;
2511
- }
2512
3715
  .studio-home-motion-demo {
2513
3716
  scale: 0.84;
2514
3717
  transform-origin: bottom right;
@@ -2778,46 +3981,229 @@
2778
3981
  background: #101010;
2779
3982
  color: white;
2780
3983
  }
2781
- .studio-home-tutorials > header {
2782
- position: absolute;
2783
- inset: 0 0 auto;
2784
- z-index: 1;
2785
- background: transparent;
2786
- pointer-events: none;
3984
+ .studio-home-tutorials > header {
3985
+ position: absolute;
3986
+ inset: 0 0 auto;
3987
+ z-index: 1;
3988
+ background: transparent;
3989
+ pointer-events: none;
3990
+ }
3991
+ .studio-home-tutorials > header > h2 {
3992
+ position: absolute;
3993
+ width: 1px;
3994
+ height: 1px;
3995
+ clip-path: inset(50%);
3996
+ }
3997
+ .studio-home-tutorials > header > button {
3998
+ margin-inline-start: auto;
3999
+ pointer-events: auto;
4000
+ }
4001
+ .studio-home-tutorials > .vx-dialog-body {
4002
+ display: grid;
4003
+ grid-template-rows: auto minmax(0, 1fr);
4004
+ justify-items: center;
4005
+ gap: 12px;
4006
+ height: 100%;
4007
+ box-sizing: border-box;
4008
+ padding: 12px;
4009
+ }
4010
+ .studio-home-tutorials .vx-segment {
4011
+ max-width: calc(100% - 56px);
4012
+ }
4013
+ .studio-home-tutorial-stage {
4014
+ width: 100%;
4015
+ min-height: 0;
4016
+ display: grid;
4017
+ place-items: center;
4018
+ }
4019
+ .studio-home-tutorial-stage video {
4020
+ width: 100%;
4021
+ height: 100%;
4022
+ min-height: 0;
4023
+ object-fit: contain;
4024
+ }
4025
+ @media (max-width: 359px) {
4026
+ .studio-home-hero-copy {
4027
+ padding: var(--vx-space-16);
4028
+ }
4029
+ .studio-home-motion-demo {
4030
+ display: none;
4031
+ }
4032
+ }
4033
+
4034
+ /* packages/studio-workbench/src/welcome-dialog.css */
4035
+ .vx-dialog.studio-welcome {
4036
+ width: min(100%, 1024px);
4037
+ max-width: none;
4038
+ max-height: 100dvh;
4039
+ padding: 24px;
4040
+ border: 0;
4041
+ border-radius: 0;
4042
+ background: transparent;
4043
+ box-shadow: none;
4044
+ text-align: center;
4045
+ overscroll-behavior: contain;
4046
+ }
4047
+ .studio-welcome[open]::backdrop {
4048
+ animation: studio-welcome-fade 240ms ease-out both;
4049
+ }
4050
+ .vx-dialog.studio-welcome > header,
4051
+ .vx-dialog.studio-welcome > footer {
4052
+ justify-content: center;
4053
+ padding: 0;
4054
+ }
4055
+ .vx-dialog.studio-welcome h2 {
4056
+ display: grid;
4057
+ place-content: center;
4058
+ min-height: 42px;
4059
+ color: light-dark(rgb(30 38 32 / 90%), var(--vx-text-primary));
4060
+ font: var(--vx-typography-inter-18-semi-bold);
4061
+ outline: none;
4062
+ }
4063
+ .vx-dialog.studio-welcome > .vx-dialog-body {
4064
+ padding: 0;
4065
+ }
4066
+ .vx-dialog.studio-welcome .studio-welcome-intro {
4067
+ margin: 4px 0 32px;
4068
+ color: var(--vx-text-secondary);
4069
+ font: var(--vx-typography-inter-16-regular);
4070
+ text-wrap: pretty;
4071
+ }
4072
+ .studio-welcome-choices {
4073
+ display: grid;
4074
+ grid-template-columns: repeat(3, minmax(0, 1fr));
4075
+ gap: 8px;
4076
+ }
4077
+ .studio-welcome-choice {
4078
+ display: flex;
4079
+ flex-direction: column;
4080
+ align-items: center;
4081
+ gap: 16px;
4082
+ min-width: 0;
4083
+ padding: 0 0 8px;
4084
+ border: 0;
4085
+ border-radius: 8px;
4086
+ background: transparent;
4087
+ color: var(--vx-text-primary);
4088
+ font: var(--vx-typography-inter-16-semi-bold);
4089
+ cursor: pointer;
4090
+ }
4091
+ .studio-welcome-choice > span:last-child {
4092
+ padding-inline: 8px;
4093
+ }
4094
+ .studio-welcome-choice:disabled {
4095
+ cursor: default;
4096
+ opacity: 0.55;
4097
+ }
4098
+ .studio-welcome-cover {
4099
+ position: relative;
4100
+ display: grid;
4101
+ place-items: center;
4102
+ width: 100%;
4103
+ aspect-ratio: 16 / 9;
4104
+ overflow: hidden;
4105
+ border-radius: 8px;
4106
+ background: var(--vx-surface-input) center / contain no-repeat;
4107
+ }
4108
+ .studio-welcome-cover[data-sample] {
4109
+ background-color: black;
4110
+ }
4111
+ .studio-welcome-cover[data-sample=drama] {
4112
+ background-image: url("./assets/welcome-short-drama-YDTZHBGK.png");
4113
+ }
4114
+ .studio-welcome-cover[data-sample=ad] {
4115
+ background-image: url("./assets/welcome-product-ad-YRPDJRAH.png");
4116
+ }
4117
+ .studio-welcome-cover .vx-tag {
4118
+ position: absolute;
4119
+ left: 8px;
4120
+ top: 8px;
4121
+ }
4122
+ .studio-welcome-plus {
4123
+ display: grid;
4124
+ width: 44px;
4125
+ height: 44px;
4126
+ place-items: center;
4127
+ border-radius: 8px;
4128
+ background: var(--vx-background-dialog);
4129
+ }
4130
+ .studio-welcome-plus .vx-icon[data-icon=add] {
4131
+ --vx-icon-mask: url("./assets/welcome-add-HS6LIH63.svg");
4132
+ }
4133
+ .vx-dialog.studio-welcome > footer {
4134
+ margin-top: 32px;
4135
+ }
4136
+ .vx-dialog.studio-welcome > footer .vx-button[data-shape=icon] {
4137
+ border: 1px solid var(--vx-border-primary);
4138
+ border-radius: 50%;
4139
+ background: var(--vx-background-dialog);
4140
+ color: var(--vx-icon-secondary);
4141
+ }
4142
+ .studio-welcome > footer .vx-icon[data-icon=close]::before {
4143
+ width: 9.5px;
4144
+ height: 9.5px;
4145
+ mask-image: url("./assets/welcome-close-NOBXBZOT.svg");
2787
4146
  }
2788
- .studio-home-tutorials > header > h2 {
2789
- position: absolute;
2790
- width: 1px;
2791
- height: 1px;
2792
- clip-path: inset(50%);
4147
+ .studio-welcome[open] > header,
4148
+ .studio-welcome[open] .studio-welcome-intro,
4149
+ .studio-welcome[open] .studio-welcome-choices,
4150
+ .studio-welcome[open] > footer {
4151
+ animation: studio-welcome-rise 420ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
2793
4152
  }
2794
- .studio-home-tutorials > header > button {
2795
- margin-inline-start: auto;
2796
- pointer-events: auto;
4153
+ .studio-welcome[open] .studio-welcome-intro {
4154
+ animation-delay: 40ms;
2797
4155
  }
2798
- .studio-home-tutorials > .vx-dialog-body {
2799
- display: grid;
2800
- grid-template-rows: auto minmax(0, 1fr);
2801
- justify-items: center;
2802
- gap: 12px;
2803
- height: 100%;
2804
- box-sizing: border-box;
2805
- padding: 12px;
4156
+ .studio-welcome[open] .studio-welcome-choices {
4157
+ animation-delay: 90ms;
2806
4158
  }
2807
- .studio-home-tutorials .vx-segment {
2808
- max-width: calc(100% - 56px);
4159
+ .studio-welcome[open] > footer {
4160
+ animation-delay: 150ms;
2809
4161
  }
2810
- .studio-home-tutorial-stage {
2811
- width: 100%;
2812
- min-height: 0;
2813
- display: grid;
2814
- place-items: center;
4162
+ @keyframes studio-welcome-fade {
4163
+ from {
4164
+ opacity: 0;
4165
+ }
4166
+ to {
4167
+ opacity: 1;
4168
+ }
2815
4169
  }
2816
- .studio-home-tutorial-stage video {
2817
- width: 100%;
2818
- height: 100%;
2819
- min-height: 0;
2820
- object-fit: contain;
4170
+ @keyframes studio-welcome-rise {
4171
+ from {
4172
+ opacity: 0;
4173
+ transform: translateY(18px);
4174
+ }
4175
+ to {
4176
+ opacity: 1;
4177
+ transform: translateY(0);
4178
+ }
4179
+ }
4180
+ @media (max-width: 640px) {
4181
+ .vx-dialog.studio-welcome {
4182
+ width: min(100%, 368px);
4183
+ padding: 20px 24px;
4184
+ }
4185
+ .studio-welcome-choices {
4186
+ grid-template-columns: minmax(0, 1fr);
4187
+ gap: 12px;
4188
+ }
4189
+ .studio-welcome-choice {
4190
+ gap: 8px;
4191
+ }
4192
+ .vx-dialog.studio-welcome .studio-welcome-intro {
4193
+ margin-bottom: 20px;
4194
+ }
4195
+ .vx-dialog.studio-welcome > footer {
4196
+ margin-top: 16px;
4197
+ }
4198
+ }
4199
+ @media (prefers-reduced-motion: reduce) {
4200
+ .studio-welcome[open]::backdrop,
4201
+ .studio-welcome[open] > header,
4202
+ .studio-welcome[open] .studio-welcome-intro,
4203
+ .studio-welcome[open] .studio-welcome-choices,
4204
+ .studio-welcome[open] > footer {
4205
+ animation: none;
4206
+ }
2821
4207
  }
2822
4208
 
2823
4209
  /* packages/studio-workbench/src/custom-view-dialog.css */
@@ -2865,7 +4251,8 @@
2865
4251
  .studio-template-scroll {
2866
4252
  box-sizing: border-box;
2867
4253
  height: 100%;
2868
- overflow: auto;
4254
+ scrollbar-gutter: stable;
4255
+ overflow: scroll auto;
2869
4256
  padding: 4px;
2870
4257
  scroll-padding-block: 4px 120px;
2871
4258
  }
@@ -2916,7 +4303,7 @@
2916
4303
  box-sizing: border-box;
2917
4304
  width: 100%;
2918
4305
  padding: var(--vx-space-8);
2919
- border: 1px solid var(--vx-control-border);
4306
+ border: 0;
2920
4307
  border-radius: var(--vx-radius-md);
2921
4308
  background: var(--vx-surface-input);
2922
4309
  color: var(--vx-text-primary);
@@ -2933,6 +4320,13 @@
2933
4320
  }
2934
4321
  }
2935
4322
 
4323
+ /* packages/ui-system/dist/assets/local-user-avatar.css */
4324
+ .vx-local-user-avatar {
4325
+ border-radius: 50%;
4326
+ background: linear-gradient(rgb(255 255 255 / 40%), rgb(255 255 255 / 40%)), url("./assets/local-user-MIBWBA6X.png") center / cover;
4327
+ background-blend-mode: hard-light;
4328
+ }
4329
+
2936
4330
  /* packages/studio-workbench/src/global-workbench.css */
2937
4331
  body:has(.studio-global) {
2938
4332
  margin: 0;
@@ -2958,6 +4352,38 @@ body:has(.studio-global) {
2958
4352
  color: var(--vx-text-primary);
2959
4353
  font: var(--vx-typography-inter-14-regular);
2960
4354
  }
4355
+ .vx-dialog.studio-rename-dialog {
4356
+ width: min(400px, calc(100% - var(--vx-space-32)));
4357
+ padding: var(--vx-space-20);
4358
+ }
4359
+ .vx-dialog.studio-rename-dialog::backdrop {
4360
+ background: color-mix(in srgb, var(--vx-overlay-mask) 45%, transparent);
4361
+ backdrop-filter: blur(2px);
4362
+ }
4363
+ .vx-dialog.studio-rename-dialog > :is(header, .vx-dialog-body, footer) {
4364
+ padding: 0;
4365
+ }
4366
+ .studio-rename-dialog > header {
4367
+ margin-bottom: var(--vx-space-16);
4368
+ }
4369
+ .studio-rename-dialog .vx-field {
4370
+ gap: var(--vx-space-8);
4371
+ }
4372
+ .studio-rename-dialog .vx-field > span {
4373
+ color: var(--vx-text-secondary-readable);
4374
+ font: var(--vx-typography-inter-14-medium);
4375
+ }
4376
+ .studio-rename-dialog .vx-field > input {
4377
+ padding-inline: var(--vx-space-12);
4378
+ }
4379
+ .studio-rename-dialog [role=alert] {
4380
+ margin: var(--vx-space-8) 0 0;
4381
+ color: var(--vx-state-danger);
4382
+ overflow-wrap: anywhere;
4383
+ }
4384
+ .studio-rename-dialog > footer {
4385
+ margin-top: var(--vx-space-20);
4386
+ }
2961
4387
  .studio-glyph {
2962
4388
  flex: none;
2963
4389
  width: 20px;
@@ -2982,6 +4408,7 @@ body:has(.studio-global) {
2982
4408
  }
2983
4409
  .studio-logo strong {
2984
4410
  font: var(--vx-typography-inter-16-semi-bold);
4411
+ font-weight: 900;
2985
4412
  letter-spacing: -0.6px;
2986
4413
  }
2987
4414
  .studio-logo button,
@@ -3007,7 +4434,7 @@ body:has(.studio-global) {
3007
4434
  padding: 0 12px;
3008
4435
  flex: 1;
3009
4436
  min-height: 0;
3010
- overflow: auto;
4437
+ overflow: hidden auto;
3011
4438
  }
3012
4439
  .studio-sidebar :is(nav, .studio-project-row, .studio-project-pages) > button {
3013
4440
  display: flex;
@@ -3050,8 +4477,8 @@ body:has(.studio-global) {
3050
4477
  width: 24px;
3051
4478
  height: 24px;
3052
4479
  flex: none;
3053
- background: var(--vx-surface-input);
3054
- color: var(--vx-text-secondary-readable);
4480
+ background: var(--vx-cover-background);
4481
+ color: var(--vx-text-on-content-secondary);
3055
4482
  border-radius: 6px;
3056
4483
  overflow: hidden;
3057
4484
  }
@@ -3076,10 +4503,9 @@ body:has(.studio-global) {
3076
4503
  .studio-user-mark {
3077
4504
  display: grid;
3078
4505
  place-items: center;
3079
- width: 32px;
3080
- height: 32px;
3081
- border-radius: 50%;
3082
- background: var(--vx-surface-input) url("./assets/local-user-MIBWBA6X.png") center / cover no-repeat;
4506
+ width: 28px;
4507
+ height: 28px;
4508
+ flex: none;
3083
4509
  }
3084
4510
  .studio-sidebar[data-collapsed=true] {
3085
4511
  width: 56px;
@@ -3132,10 +4558,28 @@ body:has(.studio-global) {
3132
4558
  background: transparent;
3133
4559
  color: var(--vx-state-success);
3134
4560
  height: 28px;
3135
- padding: 4px 12px;
4561
+ padding: var(--vx-space-4) var(--vx-space-12);
4562
+ }
4563
+ .studio-create-view .vx-button-content::before {
4564
+ content: "";
4565
+ width: 14px;
4566
+ height: 14px;
4567
+ flex: none;
4568
+ background: currentColor;
4569
+ mask: url("./assets/create-custom-view-WUWJL7YC.svg") center / contain no-repeat;
4570
+ }
4571
+ .studio-create-view .vx-button-label {
4572
+ font: var(--vx-typography-inter-14-semi-bold);
3136
4573
  }
3137
4574
  .studio-mobile-nav {
3138
4575
  display: none;
4576
+ align-items: center;
4577
+ flex: none;
4578
+ min-height: 40px;
4579
+ gap: var(--vx-space-8);
4580
+ }
4581
+ .studio-mobile-nav > strong {
4582
+ font: var(--vx-typography-inter-16-semi-bold);
3139
4583
  }
3140
4584
  .studio-page-panel {
3141
4585
  display: flex;
@@ -3147,6 +4591,22 @@ body:has(.studio-global) {
3147
4591
  overflow: hidden;
3148
4592
  background: var(--vx-background-dialog);
3149
4593
  }
4594
+ .studio-page-panel[data-classified] > div,
4595
+ .studio-page-panel[data-classified] [role=tabpanel]:not([hidden]) {
4596
+ display: flex;
4597
+ flex: 1;
4598
+ flex-direction: column;
4599
+ min-height: 0;
4600
+ }
4601
+ .studio-page-panel[data-classified] .vx-tabs {
4602
+ flex: none;
4603
+ min-height: var(--vx-tabs-primary-height);
4604
+ padding-inline: var(--vx-space-16);
4605
+ border-bottom: var(--vx-divider-width) solid var(--vx-border-secondary);
4606
+ }
4607
+ .studio-page-panel[data-classified] .vx-tab-list > [aria-selected=false] {
4608
+ color: var(--vx-text-secondary);
4609
+ }
3150
4610
  .studio-toolbar {
3151
4611
  display: flex;
3152
4612
  align-items: center;
@@ -3162,7 +4622,7 @@ body:has(.studio-global) {
3162
4622
  flex: 1;
3163
4623
  align-self: stretch;
3164
4624
  min-width: 0;
3165
- overflow-x: auto;
4625
+ overflow-x: scroll;
3166
4626
  gap: 4px;
3167
4627
  }
3168
4628
  .studio-view-tabs > .vx-button {
@@ -3178,21 +4638,12 @@ body:has(.studio-global) {
3178
4638
  border-bottom-color: var(--vx-text-primary);
3179
4639
  color: var(--vx-text-primary);
3180
4640
  }
3181
- .studio-toolbar-controls,
3182
- .studio-bulk {
4641
+ .studio-toolbar-controls {
3183
4642
  display: flex;
3184
4643
  align-items: center;
3185
4644
  gap: 8px;
3186
4645
  flex: none;
3187
4646
  }
3188
- .studio-toolbar-controls > .vx-button,
3189
- .studio-bulk > .vx-button {
3190
- background: transparent;
3191
- }
3192
- .studio-bulk > span {
3193
- color: var(--vx-text-secondary-readable);
3194
- white-space: nowrap;
3195
- }
3196
4647
  .studio-results {
3197
4648
  display: flex;
3198
4649
  flex-direction: column;
@@ -3204,7 +4655,8 @@ body:has(.studio-global) {
3204
4655
  display: flex;
3205
4656
  flex-direction: column;
3206
4657
  flex: 1;
3207
- overflow: auto;
4658
+ scrollbar-gutter: stable;
4659
+ overflow: scroll auto;
3208
4660
  min-height: 0;
3209
4661
  }
3210
4662
  .studio-table {
@@ -3247,6 +4699,13 @@ body:has(.studio-global) {
3247
4699
  max-width: 100%;
3248
4700
  text-align: left;
3249
4701
  }
4702
+ .studio-table-assets .studio-row-name .vx-button-label {
4703
+ display: -webkit-box;
4704
+ -webkit-line-clamp: 2;
4705
+ -webkit-box-orient: vertical;
4706
+ overflow: hidden;
4707
+ overflow-wrap: anywhere;
4708
+ }
3250
4709
  .studio-row-name .vx-button-label {
3251
4710
  white-space: normal;
3252
4711
  font: var(--vx-typography-inter-14-regular);
@@ -3258,6 +4717,8 @@ body:has(.studio-global) {
3258
4717
  overflow: hidden;
3259
4718
  }
3260
4719
  .studio-cover {
4720
+ background: var(--vx-cover-background);
4721
+ border-radius: var(--vx-radius-lg);
3261
4722
  position: relative;
3262
4723
  }
3263
4724
  .studio-table .studio-cover {
@@ -3279,7 +4740,7 @@ body:has(.studio-global) {
3279
4740
  border-radius: 8px;
3280
4741
  pointer-events: none;
3281
4742
  }
3282
- .studio-cover[data-kind=video] > .vx-media {
4743
+ .studio-cover[data-kind=video]:has(.studio-cover-video) > .vx-media {
3283
4744
  position: relative;
3284
4745
  z-index: 1;
3285
4746
  background: transparent;
@@ -3335,7 +4796,8 @@ body:has(.studio-global) {
3335
4796
  align-content: start;
3336
4797
  gap: 16px;
3337
4798
  padding: 16px;
3338
- overflow: auto;
4799
+ scrollbar-gutter: stable;
4800
+ overflow: scroll auto;
3339
4801
  min-height: 0;
3340
4802
  flex: 1;
3341
4803
  }
@@ -3372,25 +4834,38 @@ body:has(.studio-global) {
3372
4834
  font: var(--vx-typography-inter-12-regular);
3373
4835
  }
3374
4836
  .studio-card-heading > .vx-action-menu > .vx-button,
3375
- .studio-table td:last-child > .vx-action-menu > .vx-button {
4837
+ .studio-table:not(.studio-table-assets) td:last-child > .vx-action-menu > .vx-button {
3376
4838
  width: 24px;
3377
4839
  height: 24px;
3378
4840
  padding: 0;
3379
4841
  background: transparent;
3380
4842
  }
3381
- .studio-card-heading > .vx-action-menu > .vx-button .vx-button-label,
3382
- .studio-card-heading > .vx-action-menu > .vx-button .vx-button-trailing,
3383
- .studio-table td:last-child > .vx-action-menu > .vx-button .vx-button-label,
3384
- .studio-table td:last-child > .vx-action-menu > .vx-button .vx-button-trailing {
4843
+ .studio-card-heading > .vx-action-menu > .vx-button :is(.vx-button-label, .vx-button-trailing),
4844
+ .studio-table:not(.studio-table-assets) td:last-child > .vx-action-menu > .vx-button :is(.vx-button-label, .vx-button-trailing) {
3385
4845
  display: none;
3386
4846
  }
3387
4847
  .studio-card-heading > .vx-action-menu > .vx-button::after,
3388
- .studio-table td:last-child > .vx-action-menu > .vx-button::after {
4848
+ .studio-table:not(.studio-table-assets) td:last-child > .vx-action-menu > .vx-button::after {
3389
4849
  content: "\b7\b7\b7";
3390
4850
  position: absolute;
3391
4851
  font-size: 18px;
3392
4852
  line-height: 1;
3393
4853
  }
4854
+ .studio-table .studio-actions-cell {
4855
+ z-index: 1;
4856
+ white-space: nowrap;
4857
+ overflow-wrap: normal;
4858
+ position: sticky;
4859
+ right: 0;
4860
+ background: var(--vx-background-dialog);
4861
+ text-align: right;
4862
+ }
4863
+ .studio-table th.studio-actions-cell {
4864
+ z-index: 2;
4865
+ }
4866
+ .studio-table tr:is(:hover, :focus-within) td.studio-actions-cell {
4867
+ background: var(--vx-surface-hover);
4868
+ }
3394
4869
  .studio-table td:last-child {
3395
4870
  text-align: right;
3396
4871
  }
@@ -3461,26 +4936,17 @@ body:has(.studio-global) {
3461
4936
  padding: 8px;
3462
4937
  flex: none;
3463
4938
  }
3464
- .studio-shell[data-detail] > .studio-sidebar,
3465
- .studio-shell[data-detail] > .studio-content > .studio-page-header,
3466
- .studio-shell[data-detail] > .studio-content > .studio-mobile-nav {
3467
- display: none;
3468
- }
3469
- .studio-shell[data-detail] > .studio-content {
3470
- padding: 0;
3471
- gap: 0;
3472
- }
3473
- .studio-shell[data-detail] .studio-asset-detail {
3474
- border-radius: 0;
3475
- }
3476
4939
  .studio-asset-detail {
4940
+ position: fixed;
4941
+ inset: 0;
4942
+ z-index: 35;
3477
4943
  display: flex;
3478
- flex: 1;
3479
- min-width: 0;
3480
- min-height: 0;
3481
- border-radius: 16px;
3482
4944
  overflow: hidden;
3483
- background: var(--vx-background-dialog);
4945
+ background: var(--vx-overlay-dialog);
4946
+ backdrop-filter: blur(var(--vx-dialog-backdrop-blur));
4947
+ -webkit-backdrop-filter: blur(var(--vx-dialog-backdrop-blur));
4948
+ color: var(--vx-text-primary);
4949
+ font: var(--vx-typography-inter-14-regular);
3484
4950
  }
3485
4951
  .studio-preview-stage {
3486
4952
  display: flex;
@@ -3490,22 +4956,42 @@ body:has(.studio-global) {
3490
4956
  min-height: 0;
3491
4957
  align-items: center;
3492
4958
  justify-content: center;
3493
- padding: 64px 24px;
4959
+ padding: 52px 12px;
4960
+ }
4961
+ .studio-detail-canvas {
4962
+ flex: 1;
4963
+ align-self: center;
4964
+ height: min(540px, 100%);
4965
+ max-width: 960px;
4966
+ min-inline-size: 0;
4967
+ min-block-size: 0;
4968
+ container-type: size;
4969
+ display: grid;
4970
+ place-items: center;
4971
+ }
4972
+ .studio-detail-canvas .vx-video-player:not(:fullscreen) {
4973
+ border-radius: 4px;
4974
+ overflow: hidden;
3494
4975
  }
3495
- .studio-preview-stage > img,
3496
- .studio-preview-stage > video {
4976
+ .studio-preview-stage > img {
4977
+ display: block;
3497
4978
  object-fit: contain;
3498
- max-width: 100%;
3499
- max-height: 100%;
3500
- width: min(960px, 100%);
4979
+ width: auto;
4980
+ height: auto;
4981
+ max-width: min(960px, 100%);
4982
+ max-height: min(540px, 100%);
3501
4983
  border-radius: 4px;
3502
4984
  }
3503
4985
  .studio-preview-stage > audio {
3504
4986
  max-width: 100%;
3505
4987
  }
3506
- .studio-detail-back.vx-button {
4988
+ .studio-detail-back.vx-button,
4989
+ .studio-preview-actions {
3507
4990
  position: absolute;
4991
+ z-index: 1;
3508
4992
  top: 12px;
4993
+ }
4994
+ .studio-detail-back.vx-button {
3509
4995
  left: 15px;
3510
4996
  background: var(--vx-background-dialog);
3511
4997
  color: var(--vx-text-primary);
@@ -3514,30 +5000,17 @@ body:has(.studio-global) {
3514
5000
  display: flex;
3515
5001
  align-items: center;
3516
5002
  gap: 8px;
3517
- position: absolute;
3518
- top: 12px;
3519
5003
  right: 12px;
3520
5004
  }
3521
- .studio-preview-actions > .vx-button {
3522
- background: var(--vx-background-dialog);
3523
- color: var(--vx-text-primary);
3524
- }
3525
- .studio-favorite {
3526
- display: grid;
3527
- place-items: center;
5005
+ .studio-preview-actions .vx-button {
3528
5006
  width: 32px;
3529
5007
  height: 32px;
3530
- border: 0;
5008
+ padding: 0;
3531
5009
  border-radius: 50%;
3532
5010
  background: var(--vx-background-dialog);
3533
5011
  color: var(--vx-text-primary);
3534
- cursor: pointer;
3535
- }
3536
- .studio-favorite .studio-glyph {
3537
- width: 14px;
3538
- height: 16px;
3539
5012
  }
3540
- .studio-favorite[aria-pressed=true] {
5013
+ .studio-preview-actions .vx-button[aria-pressed=true] {
3541
5014
  color: var(--vx-state-success);
3542
5015
  background: var(--vx-surface-selected);
3543
5016
  }
@@ -3547,36 +5020,53 @@ body:has(.studio-global) {
3547
5020
  display: flex;
3548
5021
  flex-direction: column;
3549
5022
  gap: 24px;
3550
- padding: 24px 16px;
5023
+ padding: 16px 16px 72px;
3551
5024
  border-left: var(--vx-divider-width) solid var(--vx-border-secondary);
3552
5025
  overflow-y: auto;
3553
5026
  overflow-wrap: anywhere;
3554
5027
  }
3555
- .studio-preview-details h2 {
3556
- font: var(--vx-typography-inter-16-semi-bold);
3557
- }
3558
5028
  .studio-detail-group {
3559
5029
  display: flex;
3560
5030
  flex-direction: column;
3561
- gap: 8px;
5031
+ align-items: flex-start;
5032
+ min-width: 0;
3562
5033
  }
3563
5034
  .studio-detail-group > span:first-child {
3564
- color: var(--vx-text-secondary-readable);
5035
+ display: flex;
5036
+ align-items: center;
5037
+ min-height: 28px;
5038
+ color: var(--vx-text-secondary);
3565
5039
  }
3566
- .studio-detail-group p {
5040
+ .studio-detail-group p,
5041
+ .studio-detail-group pre {
3567
5042
  white-space: pre-wrap;
5043
+ overflow-wrap: anywhere;
3568
5044
  }
3569
5045
  .studio-detail-group pre {
3570
5046
  margin: 0;
3571
- white-space: pre-wrap;
3572
- overflow-wrap: anywhere;
5047
+ max-width: 100%;
3573
5048
  font: var(--vx-typography-inter-12-regular);
3574
5049
  }
3575
- .studio-detail-group > .vx-button {
3576
- align-self: flex-start;
3577
- padding: 0;
5050
+ .studio-detail-group .studio-asset-references {
5051
+ display: grid;
5052
+ grid-template-columns: repeat(4, minmax(0, 1fr));
5053
+ width: 100%;
5054
+ gap: 8px;
5055
+ padding-top: 4px;
5056
+ }
5057
+ .studio-detail-group .studio-asset-references > button {
5058
+ width: 100%;
3578
5059
  height: auto;
3579
- color: var(--vx-state-success);
5060
+ aspect-ratio: 1;
5061
+ border-radius: 8px;
5062
+ }
5063
+ .studio-detail-group .studio-reference-thumbnail :is(img, video) {
5064
+ object-fit: cover;
5065
+ }
5066
+ .studio-media-facts {
5067
+ display: flex;
5068
+ align-items: center;
5069
+ gap: 4px;
3580
5070
  }
3581
5071
  .studio-prompt {
3582
5072
  display: -webkit-box;
@@ -3587,12 +5077,22 @@ body:has(.studio-global) {
3587
5077
  .studio-prompt[data-expanded=true] {
3588
5078
  display: block;
3589
5079
  }
5080
+ .studio-prompt-toggle {
5081
+ margin-top: 4px;
5082
+ padding: 0;
5083
+ border: 0;
5084
+ background: transparent;
5085
+ color: var(--vx-state-success);
5086
+ font: var(--vx-typography-inter-14-semi-bold);
5087
+ cursor: pointer;
5088
+ }
3590
5089
  .studio-text-preview {
3591
5090
  white-space: pre-wrap;
3592
5091
  overflow-wrap: anywhere;
3593
5092
  max-width: 100%;
3594
5093
  max-height: 100%;
3595
- overflow: auto;
5094
+ scrollbar-gutter: stable;
5095
+ overflow: scroll auto;
3596
5096
  margin: 0;
3597
5097
  }
3598
5098
  .studio-reference-list {
@@ -3629,7 +5129,7 @@ body:has(.studio-global) {
3629
5129
  .studio-view-form [role=alert] {
3630
5130
  color: var(--vx-state-danger);
3631
5131
  }
3632
- .studio-global :is(button, a, textarea, summary):focus-visible {
5132
+ .studio-global :is(button, a, summary):focus-visible {
3633
5133
  outline: 2px solid var(--vx-state-assistance);
3634
5134
  outline-offset: 2px;
3635
5135
  }
@@ -3642,15 +5142,14 @@ body:has(.studio-global) {
3642
5142
  .studio-view-tabs {
3643
5143
  min-height: 40px;
3644
5144
  }
3645
- .studio-toolbar-controls,
3646
- .studio-bulk {
5145
+ .studio-toolbar-controls {
3647
5146
  flex-wrap: wrap;
3648
5147
  }
3649
5148
  .studio-page-header h1 {
3650
5149
  font: var(--vx-typography-inter-14-semi-bold);
3651
5150
  }
3652
5151
  }
3653
- @media (max-width: 760px) {
5152
+ @media (max-width: 500px) {
3654
5153
  .studio-shell {
3655
5154
  min-height: 100dvh;
3656
5155
  height: auto;
@@ -3660,10 +5159,10 @@ body:has(.studio-global) {
3660
5159
  }
3661
5160
  .studio-content {
3662
5161
  overflow: visible;
3663
- padding: 8px 16px;
5162
+ padding: 8px;
3664
5163
  }
3665
5164
  .studio-mobile-nav {
3666
- display: block;
5165
+ display: flex;
3667
5166
  }
3668
5167
  .studio-page-header {
3669
5168
  padding-left: 4px;
@@ -3680,12 +5179,20 @@ body:has(.studio-global) {
3680
5179
  .studio-toolbar {
3681
5180
  padding: 0 12px 8px;
3682
5181
  }
5182
+ .studio-page-panel[data-classified] .vx-tabs {
5183
+ flex-wrap: wrap;
5184
+ height: auto;
5185
+ gap: var(--vx-space-8);
5186
+ padding: 0 var(--vx-space-12) var(--vx-space-8);
5187
+ }
5188
+ .studio-page-panel[data-classified] .vx-tab-list {
5189
+ flex-basis: 100%;
5190
+ }
3683
5191
  .studio-view-tabs {
3684
5192
  flex-basis: 100%;
3685
5193
  min-height: 56px;
3686
5194
  }
3687
- .studio-toolbar-controls,
3688
- .studio-bulk {
5195
+ .studio-toolbar-controls {
3689
5196
  flex-wrap: wrap;
3690
5197
  width: 100%;
3691
5198
  gap: 6px;
@@ -3701,7 +5208,7 @@ body:has(.studio-global) {
3701
5208
  }
3702
5209
  .studio-asset-detail {
3703
5210
  flex-direction: column;
3704
- overflow: visible;
5211
+ overflow-y: auto;
3705
5212
  }
3706
5213
  .studio-preview-stage {
3707
5214
  height: 45dvh;
@@ -3753,6 +5260,18 @@ body:has(.studio-global) {
3753
5260
  opacity: 0;
3754
5261
  pointer-events: none;
3755
5262
  }
5263
+ .studio-project-actions .vx-action-menu > .vx-button {
5264
+ width: 24px;
5265
+ height: 24px;
5266
+ padding: 0;
5267
+ border-radius: 6px;
5268
+ background: transparent;
5269
+ color: var(--vx-icon-secondary);
5270
+ --vx-icon-size: 14px;
5271
+ }
5272
+ .studio-project-actions .vx-action-menu > .vx-button:hover {
5273
+ background: var(--vx-background-page);
5274
+ }
3756
5275
  .studio-project-row:is(:hover, :focus-within, [data-active]) .studio-project-actions {
3757
5276
  opacity: 1;
3758
5277
  pointer-events: auto;
@@ -3770,19 +5289,19 @@ body:has(.studio-global) {
3770
5289
  }
3771
5290
  .studio-sidebar .studio-project-pages > .studio-project-tab {
3772
5291
  padding-inline: var(--vx-space-8);
3773
- font: var(--vx-typography-inter-14-regular);
5292
+ font: var(--vx-typography-inter-14-medium);
3774
5293
  color: var(--vx-text-secondary-readable);
3775
5294
  }
3776
5295
  .studio-sidebar .studio-project-pages > .studio-project-tab[aria-current=page] {
3777
5296
  color: var(--vx-text-primary);
3778
5297
  font: var(--vx-typography-inter-14-medium);
3779
5298
  }
3780
- @media (max-width: 760px) {
5299
+ @media (max-width: 500px) {
3781
5300
  .studio-shell[data-project] {
3782
5301
  height: 100dvh;
3783
5302
  }
3784
5303
  .studio-shell[data-project] .studio-mobile-nav {
3785
- padding: 8px 12px;
5304
+ padding: 8px;
3786
5305
  }
3787
5306
  }
3788
5307
  .studio-sidebar nav > button > .studio-nav-icon {
@@ -3814,13 +5333,22 @@ body:has(.studio-global) {
3814
5333
  .studio-project-caption {
3815
5334
  display: flex;
3816
5335
  align-items: center;
3817
- gap: var(--vx-space-8);
5336
+ gap: var(--vx-space-4);
3818
5337
  min-inline-size: 0;
3819
5338
  }
3820
5339
  .studio-project-caption > span {
3821
5340
  overflow: hidden;
3822
5341
  text-overflow: ellipsis;
3823
5342
  }
5343
+ .studio-project-caption .studio-sample-label {
5344
+ display: inline-flex;
5345
+ align-items: center;
5346
+ box-sizing: border-box;
5347
+ height: 16px;
5348
+ padding: 0 4px;
5349
+ color: var(--vx-icon-secondary);
5350
+ font: var(--vx-typography-inter-10-semi-bold);
5351
+ }
3824
5352
  .studio-sample-label {
3825
5353
  flex: none;
3826
5354
  border-radius: 3px;
@@ -3835,6 +5363,18 @@ body:has(.studio-global) {
3835
5363
  .studio-shell[data-focus] > .studio-sidebar {
3836
5364
  display: none;
3837
5365
  }
5366
+ .studio-frame-stage {
5367
+ flex: 1;
5368
+ min-height: 0;
5369
+ display: grid;
5370
+ grid-template: minmax(0, 1fr) / minmax(0, 1fr);
5371
+ }
5372
+ .studio-frame-stage > * {
5373
+ grid-area: 1 / 1;
5374
+ }
5375
+ .studio-project-frame {
5376
+ height: 100%;
5377
+ }
3838
5378
 
3839
5379
  /* packages/studio-workbench/src/media-tools.css */
3840
5380
  .file-media-tools .actions {
@@ -3851,10 +5391,13 @@ body:has(.studio-global) {
3851
5391
  .file-media-choice select {
3852
5392
  color: var(--vx-text-primary);
3853
5393
  background: var(--vx-background-dialog);
3854
- border: 1px solid var(--vx-border-secondary);
5394
+ border: 0;
3855
5395
  border-radius: 6px;
3856
5396
  padding: 8px 10px;
3857
5397
  }
5398
+ .file-media-choice select {
5399
+ border: 1px solid var(--vx-border-secondary);
5400
+ }
3858
5401
  .file-media-comparison > .vx-dialog {
3859
5402
  width: min(1400px, calc(100vw - 32px));
3860
5403
  max-width: none;
@@ -3873,7 +5416,7 @@ body:has(.studio-global) {
3873
5416
  margin-bottom: 24px;
3874
5417
  }
3875
5418
  .file-media-comparison .vx-dialog > header h2 {
3876
- font: 600 22px / 1.2 var(--vx-font-inter);
5419
+ font: var(--vx-typography-inter-18-semi-bold);
3877
5420
  }
3878
5421
  .file-media-comparison .vx-dialog > header > button {
3879
5422
  align-self: start;