@vivix-labs/media-tools 1.0.0-beta → 1.0.0-beta.10

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/README.md +22 -9
  2. package/dist/assets/copy-document-EF4PHM7F.svg +10 -0
  3. package/dist/assets/crop-5JXWHIPN.svg +6 -0
  4. package/dist/assets/delete-4Y3OUMEL.svg +8 -0
  5. package/dist/assets/detail-E52XPONK.svg +4 -0
  6. package/dist/assets/download-VTKCEAZG.svg +6 -0
  7. package/dist/assets/edit-JUVJDD5A.svg +6 -0
  8. package/dist/assets/export-W2OBXZDQ.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-large-MPLIWDMI.svg +6 -0
  13. package/dist/assets/inria-serif-latin-400-italic-ZCFRMMVP.woff2 +0 -0
  14. package/dist/assets/inria-serif-latin-700-italic-UNRIXGAH.woff2 +0 -0
  15. package/dist/assets/inter-latin-700-normal-SU5XVJMF.woff2 +0 -0
  16. package/dist/assets/inter-latin-900-normal-FKACR3DR.woff2 +0 -0
  17. package/dist/assets/mute-large-LSZZ44HF.svg +6 -0
  18. package/dist/assets/pause-large-XEUBL4KC.svg +6 -0
  19. package/dist/assets/placeholder-audio-EJEBE7OB.svg +11 -0
  20. package/dist/assets/placeholder-image-NOVXFVRL.svg +10 -0
  21. package/dist/assets/placeholder-script-LR2GKWKS.svg +7 -0
  22. package/dist/assets/placeholder-video-ZFOYHYCR.svg +7 -0
  23. package/dist/assets/play-cover-WQLOHHPZ.svg +5 -0
  24. package/dist/assets/playback-play-YRMIX5W4.svg +5 -0
  25. package/dist/assets/playback-play-large-TM3QUJGG.svg +5 -0
  26. package/dist/assets/refresh-WQ3CTB57.svg +3 -0
  27. package/dist/assets/select-items-GJZIVO37.svg +6 -0
  28. package/dist/assets/trim-LQMHHN2M.svg +9 -0
  29. package/dist/assets/upload-U5RZT5QI.svg +5 -0
  30. package/dist/assets/volume-large-QNULSJ2I.svg +6 -0
  31. package/dist/client.bundle.js +1356 -229
  32. package/dist/client.css +1585 -138
  33. package/dist/client.d.ts +1 -0
  34. package/dist/server.d.ts +2 -1
  35. package/dist/server.js +182 -41
  36. package/dist/shared.d.ts +155 -2
  37. package/dist/shared.js +60 -0
  38. package/package.json +2 -2
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,13 +131,25 @@
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);
135
+ --vx-media-selection-color: var(--vx-green-dark);
136
+ --vx-tag-height: 16px;
137
+ --vx-dialog-small-width: 480px;
138
+ --vx-dialog-large-width: 720px;
139
+ --vx-dialog-padding: 24px;
140
+ --vx-dialog-radius: 16px;
141
+ --vx-dialog-backdrop-blur: 40px;
142
+ --vx-magic-edit-prompt-width: 460px;
143
+ --vx-magic-edit-prompt-height: 42px;
144
+ --vx-magic-edit-send-height: 34px;
145
+ --vx-magic-edit-selection-fill: color-mix( in srgb, var(--vx-media-selection-color) 20%, transparent );
146
+ --vx-magic-edit-highlight-fill: color-mix(in srgb, var(--vx-state-success) 16%, transparent);
147
+ --vx-magic-edit-highlight-border: color-mix(in srgb, var(--vx-state-success) 50%, transparent);
57
148
  --vx-warm-neutral-01: #f9f6f4;
58
149
  --vx-warm-neutral-02: #f3f0ed;
59
150
  --vx-warm-neutral-03: #f1eeea;
60
151
  --vx-warm-neutral-04: #ede8e0;
61
152
  --vx-warm-neutral-05: #e9e6e0;
62
- --vx-warm-neutral-06: #ddd8d3;
63
- --vx-warm-neutral-07: #ada5a0;
64
153
  --vx-warm-neutral-08: #938c88;
65
154
  --vx-warm-neutral-09: #736e67;
66
155
  --vx-black-black: #000000;
@@ -78,8 +167,6 @@
78
167
  --vx-dark-neutral-03: #282420;
79
168
  --vx-dark-neutral-04: #322d28;
80
169
  --vx-dark-neutral-05: #3c352f;
81
- --vx-dark-neutral-06: #51483f;
82
- --vx-dark-neutral-07: #9d8f82;
83
170
  --vx-dark-neutral-08: #b6aaa0;
84
171
  --vx-dark-neutral-09: #f0e9e3;
85
172
  --vx-white-white: #ffffff;
@@ -149,6 +236,7 @@
149
236
  --vx-button-48-line-height: 21px;
150
237
  --vx-typography-inter-14-medium: normal 500 14px/18px var(--vx-font-inter);
151
238
  --vx-typography-inter-14-medium-tracking: 0px;
239
+ --vx-typography-inter-10-regular: normal 400 10px/13px var(--vx-font-inter);
152
240
  --vx-typography-inter-10-semi-bold: normal 600 10px/13px var(--vx-font-inter);
153
241
  --vx-typography-inter-12-regular: normal 400 12px/16px var(--vx-font-inter);
154
242
  --vx-typography-inter-12-semi-bold: normal 600 12px/16px var(--vx-font-inter);
@@ -161,6 +249,7 @@
161
249
  --vx-typography-inter-16-medium: normal 500 16px/21px var(--vx-font-inter);
162
250
  --vx-typography-inter-16-medium-tracking: 0px;
163
251
  --vx-typography-inter-18-regular: normal 400 18px/23px var(--vx-font-inter);
252
+ --vx-typography-inter-18-bold: normal 600 18px/23px var(--vx-font-inter);
164
253
  --vx-typography-inter-18-semi-bold: normal 600 18px/23px var(--vx-font-inter);
165
254
  --vx-typography-inter-18-medium: normal 500 18px/23px var(--vx-font-inter);
166
255
  --vx-typography-inter-18-medium-tracking: 0px;
@@ -287,7 +376,8 @@
287
376
  --vx-button-font-size: var(--vx-button-40-font-size);
288
377
  --vx-button-line-height: var(--vx-button-40-line-height);
289
378
  }
290
- .vx-button[data-size="44"] {
379
+ .vx-button[data-size="44"],
380
+ .vx-dialog > footer .vx-button[data-shape=text] {
291
381
  --vx-button-height: var(--vx-button-44-height);
292
382
  --vx-button-icon-size: var(--vx-button-44-icon-size);
293
383
  --vx-button-radius: var(--vx-button-44-radius);
@@ -307,6 +397,33 @@
307
397
  }
308
398
  }
309
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]) *)::-webkit-scrollbar {
409
+ width: 4px;
410
+ height: 4px;
411
+ background: transparent;
412
+ }
413
+ :where(:root:has([data-vx-theme]), :root:has([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]) *)::-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
+
310
427
  /* packages/ui-system/dist/button.css */
311
428
  @scope ([data-vx-theme]) {
312
429
  .vx-button {
@@ -345,6 +462,10 @@
345
462
  overflow: hidden;
346
463
  text-overflow: ellipsis;
347
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
+ }
348
469
  .vx-button-trailing {
349
470
  margin-left: calc(var(--vx-button-trailing-gap) - var(--vx-button-gap));
350
471
  }
@@ -361,6 +482,11 @@
361
482
  .vx-button[data-appearance=tonal] {
362
483
  --vx-button-background: var(--vx-surface-input);
363
484
  }
485
+ .vx-button[data-appearance=link] {
486
+ --vx-button-background: transparent;
487
+ --vx-button-foreground: var(--vx-state-success);
488
+ font-weight: 600;
489
+ }
364
490
  .vx-button[data-appearance=on-content] {
365
491
  --vx-button-background: var(--vx-overlay-tag);
366
492
  --vx-button-foreground: var(--vx-text-on-content-primary);
@@ -419,6 +545,19 @@
419
545
  .vx-button:active:not(:disabled) {
420
546
  filter: brightness(0.96);
421
547
  }
548
+ .vx-button-badge {
549
+ display: inline-grid;
550
+ place-items: center;
551
+ flex: none;
552
+ min-width: 16px;
553
+ height: 16px;
554
+ padding-inline: 3px;
555
+ box-sizing: border-box;
556
+ border-radius: var(--vx-radius-full);
557
+ background: var(--vx-green-dark);
558
+ color: var(--vx-text-on-content-primary);
559
+ font: var(--vx-typography-inter-10-semi-bold);
560
+ }
422
561
  .vx-button:disabled {
423
562
  cursor: not-allowed;
424
563
  }
@@ -587,6 +726,15 @@
587
726
  background: var(--vx-checkbox-active);
588
727
  border-color: var(--vx-checkbox-active);
589
728
  }
729
+ .vx-checkbox[data-appearance=outline] .vx-checkbox-mark {
730
+ --vx-checkbox-active: transparent;
731
+ --vx-checkbox-ink: var(--vx-text-primary);
732
+ background: transparent;
733
+ border-color: var(--vx-text-primary);
734
+ }
735
+ .vx-checkbox[data-appearance=outline] input:checked + .vx-checkbox-mark {
736
+ border-color: var(--vx-text-primary);
737
+ }
590
738
  .vx-checkbox-mark > .vx-icon {
591
739
  --vx-icon-size: var(--vx-icon-slot-small);
592
740
  }
@@ -629,9 +777,10 @@
629
777
  .vx-search-input[data-size=large]:has(.vx-search-clear) {
630
778
  padding-inline-end: var(--vx-space-8);
631
779
  }
632
- .vx-search-input:has(input:focus-visible) {
633
- outline: var(--vx-focus-ring-width) solid var(--vx-state-assistance);
634
- outline-offset: var(--vx-space-2);
780
+ @media (forced-colors: active) {
781
+ .vx-search-input:has(input:focus-visible) {
782
+ outline: var(--vx-focus-ring-width) solid Highlight;
783
+ }
635
784
  }
636
785
  .vx-search-input:has(input:disabled) {
637
786
  opacity: 0.5;
@@ -739,6 +888,42 @@
739
888
  color: var(--vx-text-placeholder);
740
889
  cursor: not-allowed;
741
890
  }
891
+ .vx-dropdown[data-appearance=field] {
892
+ width: 100%;
893
+ min-width: 0;
894
+ }
895
+ .vx-dropdown[data-appearance=field] .vx-dropdown-trigger {
896
+ padding: 0 var(--vx-space-10);
897
+ background: var(--vx-surface-input);
898
+ font: var(--vx-typography-inter-14-regular);
899
+ justify-content: space-between;
900
+ }
901
+ .vx-dropdown[data-text-size="12"] .vx-dropdown-trigger {
902
+ font: var(--vx-typography-inter-12-regular);
903
+ }
904
+ .vx-dropdown[data-appearance=field] .vx-dropdown-trigger:is(:hover:not(:disabled), :focus-visible, [aria-expanded=true]) {
905
+ background: var(--vx-surface-selected);
906
+ }
907
+ .vx-dropdown[data-appearance=heading] .vx-dropdown-trigger {
908
+ gap: var(--vx-space-4);
909
+ padding-inline: 0;
910
+ font: var(--vx-typography-inter-16-semi-bold);
911
+ }
912
+ .vx-dropdown[data-appearance=heading][data-width=hug] [role=listbox],
913
+ .vx-dropdown[data-floating=true] [role=listbox] {
914
+ box-sizing: border-box;
915
+ position: fixed;
916
+ inset: auto;
917
+ margin: 0;
918
+ }
919
+ .vx-dropdown[data-appearance=heading] .vx-dropdown-trigger:is(:hover, :focus-visible, [aria-expanded=true]),
920
+ .vx-dropdown[data-appearance=heading][data-width=hug] [role=option]:is([aria-selected=true], [data-active=true]):not(:hover) {
921
+ background: transparent;
922
+ }
923
+ .vx-dropdown[data-appearance=heading]:has(.vx-dropdown-trigger:focus-visible) [role=option][data-active=true] {
924
+ outline: var(--vx-focus-ring-width) solid var(--vx-state-assistance);
925
+ outline-offset: calc(-1 * var(--vx-focus-ring-width));
926
+ }
742
927
  .vx-dropdown-value {
743
928
  display: inline-flex;
744
929
  align-items: center;
@@ -756,7 +941,7 @@
756
941
  inset-inline: 0;
757
942
  margin: var(--vx-space-4) 0 0;
758
943
  max-height: min(15rem, 50vh);
759
- overflow: auto;
944
+ overflow: hidden auto;
760
945
  padding: var(--vx-space-4);
761
946
  border: var(--vx-border-width) solid var(--vx-border-secondary);
762
947
  border-radius: var(--vx-radius-xl);
@@ -774,6 +959,9 @@
774
959
  overflow-wrap: anywhere;
775
960
  cursor: pointer;
776
961
  }
962
+ .vx-dropdown [role=option] + [role=option] {
963
+ margin-block-start: var(--vx-space-2);
964
+ }
777
965
  .vx-dropdown [role=option][aria-selected=true] {
778
966
  font-weight: 600;
779
967
  }
@@ -812,17 +1000,20 @@
812
1000
  flex: none;
813
1001
  padding: var(--vx-space-16) 0 var(--vx-space-12);
814
1002
  border: 0;
815
- border-bottom: var(--vx-space-2) solid transparent;
816
1003
  background: transparent;
817
- color: var(--vx-text-secondary-readable);
1004
+ color: var(--vx-text-secondary);
818
1005
  font: var(--vx-typography-inter-16-semi-bold);
819
1006
  cursor: pointer;
820
1007
  white-space: nowrap;
821
1008
  }
822
1009
  .vx-tabs [role=tab][aria-selected=true] {
823
- border-color: var(--vx-state-success);
1010
+ padding-block-start: 18px;
1011
+ border-bottom: 2px solid var(--vx-state-success);
824
1012
  color: var(--vx-state-success);
825
1013
  }
1014
+ .vx-tabs [role=tab]:not([aria-selected=true], :disabled):hover {
1015
+ color: var(--vx-text-primary);
1016
+ }
826
1017
  .vx-tabs [role=tab]:disabled {
827
1018
  opacity: 0.5;
828
1019
  cursor: not-allowed;
@@ -852,6 +1043,7 @@
852
1043
  padding: var(--vx-space-2);
853
1044
  border-radius: var(--vx-radius-lg);
854
1045
  background: var(--vx-background-page);
1046
+ color: var(--vx-text-primary);
855
1047
  }
856
1048
  .vx-segment[data-size=large] {
857
1049
  height: var(--vx-segment-large-height);
@@ -933,9 +1125,156 @@
933
1125
  font: var(--vx-typography-inter-12-medium);
934
1126
  padding: 3px;
935
1127
  }
1128
+ @scope ([data-vx-theme]) {
1129
+ .vx-checkbox[data-appearance=outline] input:focus-visible + .vx-checkbox-mark {
1130
+ outline-color: var(--vx-state-assistance);
1131
+ }
1132
+ }
1133
+ @scope ([data-vx-theme]) {
1134
+ .vx-asset-library-toolbar {
1135
+ display: flex;
1136
+ align-items: center;
1137
+ gap: var(--vx-space-8);
1138
+ height: var(--vx-tabs-primary-height);
1139
+ flex-shrink: 0;
1140
+ padding-block: 0;
1141
+ padding-inline: var(--vx-space-16) var(--vx-space-12);
1142
+ border-bottom: var(--vx-divider-width) solid var(--vx-border-secondary);
1143
+ box-sizing: border-box;
1144
+ }
1145
+ .vx-asset-library-toolbar > :first-child {
1146
+ flex: 1;
1147
+ min-width: 0;
1148
+ }
1149
+ .vx-asset-library-controls {
1150
+ display: flex;
1151
+ flex: none;
1152
+ align-items: center;
1153
+ gap: var(--vx-space-8);
1154
+ max-width: 100%;
1155
+ }
1156
+ @media (max-width: 760px) {
1157
+ .vx-asset-library-toolbar,
1158
+ .vx-asset-library-controls {
1159
+ flex-wrap: wrap;
1160
+ }
1161
+ .vx-asset-library-toolbar {
1162
+ height: auto;
1163
+ padding-block: 0 var(--vx-space-8);
1164
+ }
1165
+ .vx-asset-library-toolbar > :first-child,
1166
+ .vx-asset-library-controls {
1167
+ flex-basis: 100%;
1168
+ }
1169
+ .vx-asset-library-controls {
1170
+ gap: 6px;
1171
+ }
1172
+ }
1173
+ .vx-asset-selection {
1174
+ display: flex;
1175
+ flex: 0 1 auto;
1176
+ max-width: 100%;
1177
+ align-items: center;
1178
+ flex-wrap: wrap;
1179
+ gap: var(--vx-space-8);
1180
+ }
1181
+ .vx-asset-selection > [role=status] {
1182
+ padding-inline: var(--vx-space-16);
1183
+ white-space: nowrap;
1184
+ color: var(--vx-text-primary);
1185
+ font: var(--vx-typography-inter-14-regular);
1186
+ }
1187
+ .vx-asset-selection > i {
1188
+ display: grid;
1189
+ place-items: center;
1190
+ width: 8px;
1191
+ height: 8px;
1192
+ }
1193
+ .vx-asset-selection > i::after {
1194
+ content: "";
1195
+ height: 8px;
1196
+ width: 1px;
1197
+ background: var(--vx-border-secondary);
1198
+ }
1199
+ .vx-asset-selection .vx-button-content {
1200
+ gap: 6px;
1201
+ }
1202
+ .vx-asset-selection .vx-icon {
1203
+ --vx-icon-size: 16px;
1204
+ }
1205
+ }
936
1206
 
937
1207
  /* packages/ui-system/dist/field.css */
938
1208
  @scope ([data-vx-theme]) {
1209
+ .vx-slider[data-appearance=neutral] {
1210
+ position: relative;
1211
+ }
1212
+ .vx-slider[data-appearance=neutral] > input {
1213
+ appearance: none;
1214
+ width: 100%;
1215
+ height: 16px;
1216
+ margin: 0;
1217
+ padding: 0;
1218
+ border-radius: var(--vx-radius-full);
1219
+ background:
1220
+ linear-gradient(
1221
+ to right,
1222
+ var(--vx-text-secondary) 0 var(--vx-slider-fill),
1223
+ var(--vx-surface-input) var(--vx-slider-fill) 100%);
1224
+ }
1225
+ .vx-slider[data-appearance=neutral] > input::-webkit-slider-thumb {
1226
+ appearance: none;
1227
+ width: 14px;
1228
+ height: 14px;
1229
+ background: var(--vx-background-dialog);
1230
+ border: 1px solid var(--vx-border-primary);
1231
+ border-radius: 50%;
1232
+ }
1233
+ .vx-slider[data-appearance=neutral] > input::-moz-range-thumb {
1234
+ width: 14px;
1235
+ height: 14px;
1236
+ background: var(--vx-background-dialog);
1237
+ border: 1px solid var(--vx-border-primary);
1238
+ border-radius: 50%;
1239
+ }
1240
+ .vx-slider-markers {
1241
+ position: absolute;
1242
+ left: 8px;
1243
+ right: 8px;
1244
+ bottom: 7px;
1245
+ height: 2px;
1246
+ pointer-events: none;
1247
+ }
1248
+ .vx-slider-markers > span {
1249
+ position: absolute;
1250
+ width: 2px;
1251
+ height: 2px;
1252
+ border-radius: 50%;
1253
+ background: var(--vx-text-secondary-readable);
1254
+ }
1255
+ :is(input, textarea, [contenteditable]:not([contenteditable=false]), [role=textbox]) {
1256
+ scrollbar-width: none;
1257
+ &::-webkit-scrollbar {
1258
+ display: none;
1259
+ }
1260
+ }
1261
+ :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) {
1262
+ border: 0;
1263
+ &:not([readonly], [type=search]) {
1264
+ font: var(--vx-typography-inter-16-regular) !important;
1265
+ }
1266
+ }
1267
+ :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 {
1268
+ outline: none;
1269
+ background-color: var(--vx-surface-selected);
1270
+ @media (forced-colors: active) {
1271
+ outline: var(--vx-focus-ring-width) solid Highlight;
1272
+ }
1273
+ }
1274
+ :where(input, textarea)::placeholder {
1275
+ color: var(--vx-text-secondary-readable);
1276
+ opacity: 1;
1277
+ }
939
1278
  .vx-field,
940
1279
  .vx-slider {
941
1280
  display: grid;
@@ -948,7 +1287,7 @@
948
1287
  width: 100%;
949
1288
  min-height: var(--vx-input-medium-height);
950
1289
  padding: var(--vx-space-4) var(--vx-space-8);
951
- border: var(--vx-border-width) solid var(--vx-control-border);
1290
+ border: 0;
952
1291
  border-radius: var(--vx-radius-md);
953
1292
  background: var(--vx-surface-input);
954
1293
  color: inherit;
@@ -957,6 +1296,9 @@
957
1296
  .vx-field[data-size=large] > input {
958
1297
  min-height: var(--vx-input-large-height);
959
1298
  }
1299
+ .vx-field[data-appearance=filled] > input {
1300
+ font: var(--vx-typography-inter-12-regular);
1301
+ }
960
1302
  .vx-date-picker {
961
1303
  display: inline-flex;
962
1304
  align-items: flex-start;
@@ -974,7 +1316,8 @@
974
1316
  box-sizing: border-box;
975
1317
  width: min(320px, calc(100vw - 16px));
976
1318
  max-height: calc(100dvh - 16px);
977
- overflow: auto;
1319
+ scrollbar-gutter: stable;
1320
+ overflow: scroll auto;
978
1321
  inset: auto;
979
1322
  position-area: bottom span-right;
980
1323
  position-try-fallbacks:
@@ -1042,7 +1385,6 @@
1042
1385
  cursor: not-allowed;
1043
1386
  opacity: 0.5;
1044
1387
  }
1045
- .vx-field > input:focus-visible,
1046
1388
  .vx-slider > input:focus-visible {
1047
1389
  outline: var(--vx-focus-ring-width) solid var(--vx-state-assistance);
1048
1390
  outline-offset: var(--vx-space-2);
@@ -1059,6 +1401,11 @@
1059
1401
  margin: 0;
1060
1402
  }
1061
1403
  }
1404
+ @scope ([data-vx-theme]) {
1405
+ .vx-slider[data-appearance=neutral] .vx-slider-heading {
1406
+ font: var(--vx-typography-inter-12-regular);
1407
+ }
1408
+ }
1062
1409
 
1063
1410
  /* packages/ui-system/dist/inline-text.css */
1064
1411
  @scope ([data-vx-theme]) {
@@ -1090,6 +1437,38 @@
1090
1437
 
1091
1438
  /* packages/ui-system/dist/media.css */
1092
1439
  @scope ([data-vx-theme]) {
1440
+ .vx-aspect-ratio-icon {
1441
+ display: inline-grid;
1442
+ place-items: center;
1443
+ flex: none;
1444
+ width: 14px;
1445
+ height: 14px;
1446
+ }
1447
+ .vx-aspect-ratio-icon > span {
1448
+ box-sizing: border-box;
1449
+ border: 1px solid currentColor;
1450
+ border-radius: 1.75px;
1451
+ }
1452
+ .vx-frame-filmstrip {
1453
+ position: absolute;
1454
+ inset: 0;
1455
+ display: flex;
1456
+ overflow: hidden;
1457
+ opacity: 0.6;
1458
+ }
1459
+ .vx-frame-filmstrip > img {
1460
+ min-width: 0;
1461
+ width: 0;
1462
+ flex: 1;
1463
+ object-fit: cover;
1464
+ }
1465
+ .vx-playback-controls[data-appearance=surface] {
1466
+ background: var(--vx-background-page);
1467
+ color: var(--vx-text-secondary-readable);
1468
+ }
1469
+ .vx-playback-controls[data-appearance=surface] > .vx-button {
1470
+ --vx-button-foreground: var(--vx-text-secondary-readable);
1471
+ }
1093
1472
  .vx-tag {
1094
1473
  display: inline-flex;
1095
1474
  align-items: center;
@@ -1098,11 +1477,11 @@
1098
1477
  border-radius: 3px;
1099
1478
  background: var(--vx-overlay-tag);
1100
1479
  color: var(--vx-text-on-content-primary);
1101
- font: 600 10px / 14px var(--vx-font-inter);
1480
+ font: var(--vx-typography-inter-10-semi-bold);
1102
1481
  white-space: nowrap;
1103
1482
  }
1104
1483
  .vx-tag[data-variant=selected] {
1105
- background: var(--vx-state-success);
1484
+ background: var(--vx-media-selection-color);
1106
1485
  }
1107
1486
  .vx-tag[data-variant=subtle] {
1108
1487
  background: var(--vx-surface-message);
@@ -1113,6 +1492,7 @@
1113
1492
  color: var(--vx-text-primary);
1114
1493
  }
1115
1494
  .vx-media {
1495
+ isolation: isolate;
1116
1496
  position: relative;
1117
1497
  display: grid;
1118
1498
  place-items: center;
@@ -1123,14 +1503,10 @@
1123
1503
  padding: 0;
1124
1504
  border: 0;
1125
1505
  border-radius: var(--vx-radius-lg);
1126
- background: #000;
1506
+ background: var(--vx-cover-background);
1127
1507
  color: var(--vx-text-on-content-primary);
1128
1508
  font: inherit;
1129
1509
  }
1130
- .vx-media:is([data-empty=surface], [data-empty=audio]) {
1131
- background: var(--vx-surface-input);
1132
- color: var(--vx-text-primary);
1133
- }
1134
1510
  button.vx-media {
1135
1511
  cursor: pointer;
1136
1512
  }
@@ -1153,19 +1529,20 @@
1153
1529
  pointer-events: none;
1154
1530
  }
1155
1531
  .vx-media-empty-label {
1156
- color: var(--vx-text-secondary-readable);
1532
+ color: var(--vx-text-on-content-secondary);
1157
1533
  font: var(--vx-typography-inter-12-regular);
1158
1534
  padding: var(--vx-space-8);
1159
1535
  }
1160
1536
  .vx-media[data-state=selected][data-selection=outline]::after {
1161
1537
  position: absolute;
1538
+ z-index: 2;
1162
1539
  inset: 0;
1163
- border: 3px solid var(--vx-state-success);
1540
+ border: 3px solid var(--vx-media-selection-color);
1164
1541
  border-radius: inherit;
1165
1542
  content: "";
1166
1543
  pointer-events: none;
1167
1544
  }
1168
- .vx-media > :is(.vx-media-label, .vx-media-duration, .vx-media-selected, .vx-media-marker) {
1545
+ :is(.vx-media, .vx-media-badge-host) > :is(.vx-media-label, .vx-media-duration, .vx-media-selected, .vx-media-marker) {
1169
1546
  position: absolute;
1170
1547
  z-index: 1;
1171
1548
  }
@@ -1176,7 +1553,8 @@
1176
1553
  inset: auto var(--vx-space-8) var(--vx-space-8) auto;
1177
1554
  }
1178
1555
  .vx-media-selected {
1179
- inset: var(--vx-space-8) auto auto var(--vx-space-8);
1556
+ display: flex;
1557
+ inset: 5px auto auto 5px;
1180
1558
  }
1181
1559
  .vx-media-marker {
1182
1560
  inset: var(--vx-space-8) var(--vx-space-8) auto auto;
@@ -1259,27 +1637,114 @@
1259
1637
  color: var(--vx-text-secondary);
1260
1638
  }
1261
1639
  .vx-playback-controls {
1640
+ --vx-playback-button-size: 20px;
1641
+ --vx-playback-thumb-size: 8px;
1642
+ --vx-playback-track-height: 4px;
1643
+ --vx-playback-played: var(--vx-white-white-7a);
1644
+ height: 44px;
1262
1645
  min-height: 44px;
1646
+ padding: var(--vx-space-12);
1647
+ gap: var(--vx-space-12);
1648
+ background: linear-gradient(transparent, var(--vx-black-black-2a));
1649
+ color: var(--vx-text-on-content-primary);
1263
1650
  }
1264
1651
  .vx-playback-controls[data-size=large] {
1652
+ --vx-playback-button-size: 24px;
1653
+ --vx-playback-thumb-size: 12px;
1654
+ height: 48px;
1265
1655
  min-height: 48px;
1266
1656
  }
1267
- .vx-playback-controls > input {
1657
+ .vx-playback-controls > .vx-button {
1658
+ --vx-button-icon-size: var(--vx-playback-button-size);
1659
+ width: var(--vx-playback-button-size);
1660
+ height: var(--vx-playback-button-size);
1661
+ color: inherit;
1662
+ }
1663
+ .vx-playback-controls > .vx-button[data-shape=icon]:hover:not(:disabled) {
1664
+ --vx-button-background: var(--vx-white-white-1a);
1665
+ }
1666
+ .vx-playback-controls .vx-playback-range {
1667
+ --vx-playback-progress: calc( var(--vx-playback-thumb-size) / 2 + (100% - var(--vx-playback-thumb-size)) * var(--vx-playback-fraction) );
1668
+ appearance: none;
1268
1669
  flex: 1;
1670
+ min-width: 0;
1671
+ height: 24px;
1672
+ margin: 0;
1673
+ padding: 0;
1674
+ background: transparent;
1675
+ cursor: pointer;
1676
+ }
1677
+ .vx-playback-controls .vx-playback-range::-webkit-slider-runnable-track {
1678
+ height: var(--vx-playback-track-height);
1679
+ border-radius: var(--vx-radius-full);
1680
+ background:
1681
+ linear-gradient(
1682
+ to right,
1683
+ var(--vx-playback-played) var(--vx-playback-progress),
1684
+ var(--vx-overlay-tag) var(--vx-playback-progress));
1685
+ }
1686
+ .vx-playback-controls .vx-playback-range::-webkit-slider-thumb {
1687
+ margin-top: calc((var(--vx-playback-track-height) - var(--vx-playback-thumb-size)) / 2);
1688
+ appearance: none;
1689
+ box-sizing: border-box;
1690
+ width: var(--vx-playback-thumb-size);
1691
+ height: var(--vx-playback-thumb-size);
1692
+ border: var(--vx-playback-thumb-border, 0);
1693
+ border-radius: 50%;
1694
+ background: var(--vx-white-white);
1695
+ box-shadow: var(--vx-playback-thumb-shadow, none);
1696
+ }
1697
+ .vx-playback-controls .vx-playback-range::-moz-range-track {
1698
+ height: var(--vx-playback-track-height);
1699
+ border-radius: var(--vx-radius-full);
1700
+ background: var(--vx-overlay-tag);
1701
+ }
1702
+ .vx-playback-controls .vx-playback-range::-moz-range-progress {
1703
+ height: var(--vx-playback-track-height);
1704
+ border-radius: var(--vx-radius-full);
1705
+ background: var(--vx-playback-played);
1706
+ }
1707
+ .vx-playback-controls .vx-playback-range::-moz-range-thumb {
1708
+ box-sizing: border-box;
1709
+ width: var(--vx-playback-thumb-size);
1710
+ height: var(--vx-playback-thumb-size);
1711
+ border: var(--vx-playback-thumb-border, 0);
1712
+ border-radius: 50%;
1713
+ background: var(--vx-white-white);
1714
+ box-shadow: var(--vx-playback-thumb-shadow, none);
1269
1715
  }
1270
1716
  .vx-playback-controls > span {
1271
1717
  white-space: nowrap;
1272
1718
  font: var(--vx-typography-inter-12-medium);
1719
+ font-variant-numeric: tabular-nums;
1273
1720
  }
1274
1721
  .vx-video-player {
1722
+ container: vx-video-player / inline-size;
1275
1723
  position: relative;
1276
1724
  min-width: 0;
1277
- background: #000;
1278
- border-radius: var(--vx-radius-lg);
1725
+ overflow: hidden;
1726
+ background: var(--vx-cover-background);
1727
+ border-radius: var(--vx-radius-xl);
1728
+ }
1729
+ .vx-video-player[data-fit=content]:not(:fullscreen) {
1730
+ width: min(100cqw, calc(100cqh * var(--vx-video-ratio)));
1731
+ }
1732
+ .vx-video-player[data-fit=content] .vx-video-stage {
1733
+ aspect-ratio: var(--vx-video-ratio);
1734
+ }
1735
+ .vx-video-player[data-fit=content]:fullscreen .vx-video-stage {
1736
+ aspect-ratio: auto;
1737
+ height: 100%;
1738
+ }
1739
+ .vx-video-player[data-fit=content]:fullscreen {
1740
+ display: block;
1741
+ }
1742
+ .vx-video-player[data-placement=below] > .vx-playback-controls {
1743
+ border-radius: 0;
1279
1744
  }
1280
1745
  .vx-video-stage {
1281
1746
  position: relative;
1282
- aspect-ratio: 16 / 9;
1747
+ aspect-ratio: var(--vx-video-ratio, 16 / 9);
1283
1748
  overflow: hidden;
1284
1749
  }
1285
1750
  .vx-video-player:fullscreen {
@@ -1289,32 +1754,118 @@
1289
1754
  .vx-video-player:fullscreen .vx-video-stage {
1290
1755
  max-height: 100dvh;
1291
1756
  }
1757
+ .vx-dialog.vx-video-dialog {
1758
+ width: min(960px, calc(100vw - 32px));
1759
+ margin: var(--vx-space-16) auto;
1760
+ }
1761
+ .vx-video-dialog .vx-video-stage {
1762
+ width: 100%;
1763
+ max-height: min(480px, calc(100dvh - 192px));
1764
+ }
1292
1765
  .vx-video-cover {
1293
1766
  position: absolute;
1294
- inset: 0;
1295
- display: grid;
1296
- place-items: center;
1767
+ inset: auto 0 0;
1768
+ display: flex;
1769
+ align-items: flex-end;
1770
+ gap: var(--vx-space-16);
1771
+ min-height: 68px;
1772
+ padding: var(--vx-space-20);
1297
1773
  color: var(--vx-text-on-content-primary);
1298
- background: linear-gradient(var(--vx-black-black-4a), transparent 40%);
1299
1774
  }
1300
- .vx-video-cover > div {
1301
- position: absolute;
1302
- inset: var(--vx-space-12) var(--vx-space-12) auto;
1775
+ .vx-video-cover {
1776
+ isolation: isolate;
1777
+ }
1778
+ .vx-video-cover::before {
1779
+ z-index: -1;
1780
+ position: absolute;
1781
+ inset: 0;
1782
+ background:
1783
+ linear-gradient(
1784
+ 180deg,
1785
+ rgb(0 0 0 / 0%) 0%,
1786
+ rgb(0 0 0 / 60%) 100%);
1787
+ content: "";
1788
+ pointer-events: none;
1789
+ }
1790
+ .vx-video-cover[data-plain]::before {
1791
+ content: none;
1792
+ }
1793
+ .vx-video-info {
1794
+ position: relative;
1795
+ flex: 1;
1796
+ min-width: 0;
1797
+ }
1798
+ .vx-video-title {
1799
+ display: flex;
1800
+ align-items: center;
1801
+ gap: var(--vx-space-8);
1802
+ }
1803
+ .vx-video-title strong {
1804
+ overflow: hidden;
1805
+ text-overflow: ellipsis;
1806
+ white-space: nowrap;
1807
+ font: var(--vx-typography-inter-18-bold);
1808
+ }
1809
+ .vx-video-meta {
1303
1810
  display: flex;
1304
- flex-wrap: wrap;
1305
1811
  align-items: center;
1306
1812
  gap: var(--vx-space-4);
1813
+ margin-top: var(--vx-space-4);
1814
+ color: var(--vx-text-on-content-secondary);
1815
+ font: var(--vx-typography-inter-14-regular);
1816
+ }
1817
+ .vx-video-meta > span {
1818
+ min-width: 0;
1819
+ overflow: hidden;
1820
+ text-overflow: ellipsis;
1821
+ white-space: nowrap;
1822
+ }
1823
+ .vx-video-player .vx-video-start {
1824
+ --vx-button-background: var(--vx-text-on-content-primary);
1825
+ --vx-button-foreground: var(--vx-text-subtle-black);
1826
+ --vx-button-icon-size: 20px;
1827
+ position: relative;
1828
+ width: 36px;
1829
+ height: 36px;
1830
+ padding-left: 3px;
1307
1831
  }
1308
1832
  .vx-video-player[data-placement=overlay] > .vx-playback-controls {
1309
1833
  position: absolute;
1310
- inset: auto var(--vx-space-8) var(--vx-space-8);
1834
+ inset: auto 0 0;
1835
+ border-radius: 0;
1836
+ }
1837
+ @container vx-video-player (max-width: 336px) {
1838
+ .vx-video-meta {
1839
+ flex-direction: column;
1840
+ align-items: flex-start;
1841
+ gap: 0;
1842
+ }
1843
+ .vx-video-meta > [aria-hidden] {
1844
+ display: none;
1845
+ }
1846
+ }
1847
+ @media (max-width: 480px) {
1848
+ .vx-video-cover {
1849
+ padding: var(--vx-space-12);
1850
+ gap: var(--vx-space-8);
1851
+ }
1852
+ .vx-video-title {
1853
+ flex-wrap: wrap;
1854
+ gap: var(--vx-space-4);
1855
+ }
1856
+ .vx-video-title strong {
1857
+ font: var(--vx-typography-inter-14-semi-bold);
1858
+ }
1859
+ .vx-video-meta {
1860
+ font: var(--vx-typography-inter-10-regular);
1861
+ }
1311
1862
  }
1312
1863
  .vx-frame-range {
1313
1864
  position: relative;
1314
1865
  min-height: 80px;
1315
1866
  margin-inline: var(--vx-space-8);
1316
- border-radius: var(--vx-radius-md);
1317
- background: var(--vx-surface-input);
1867
+ border-radius: var(--vx-radius-lg);
1868
+ background: var(--vx-black-black);
1318
1869
  }
1319
1870
  .vx-frame-range[data-variant=trim] {
1320
1871
  min-height: 48px;
@@ -1368,6 +1919,339 @@
1368
1919
  content: "";
1369
1920
  }
1370
1921
  }
1922
+ @scope ([data-vx-theme]) {
1923
+ .vx-media:is([data-empty=surface], [data-empty=image], [data-empty=video], [data-empty=audio], [data-empty=script]) {
1924
+ background: var(--vx-surface-input);
1925
+ color: var(--vx-text-placeholder);
1926
+ }
1927
+ }
1928
+ @scope ([data-vx-theme]) {
1929
+ .vx-cover-preview[data-cover-state=empty] {
1930
+ background: var(--vx-surface-input);
1931
+ }
1932
+ .vx-cover-preview[data-cover-state=empty] > .vx-icon {
1933
+ color: var(--vx-text-placeholder);
1934
+ }
1935
+ .vx-cover-preview[data-cover-state=loading] {
1936
+ position: relative;
1937
+ overflow: hidden;
1938
+ background: var(--vx-surface-input);
1939
+ }
1940
+ .vx-cover-preview[data-cover-state=loading] > :is(img, video) {
1941
+ opacity: 0;
1942
+ }
1943
+ .vx-cover-preview[data-cover-state=loading]::after {
1944
+ content: "";
1945
+ position: absolute;
1946
+ inset: 0;
1947
+ pointer-events: none;
1948
+ background:
1949
+ linear-gradient(
1950
+ 105deg,
1951
+ transparent 20%,
1952
+ light-dark(var(--vx-white-white), color-mix(in srgb, var(--vx-white-white) 14%, transparent)) 50%,
1953
+ transparent 80%);
1954
+ animation: vx-cover-sweep 1.35s ease-in-out infinite;
1955
+ }
1956
+ @media (prefers-reduced-motion: reduce) {
1957
+ .vx-cover-preview[data-cover-state=loading]::after {
1958
+ animation: none;
1959
+ content: none;
1960
+ }
1961
+ }
1962
+ }
1963
+ @keyframes vx-cover-sweep {
1964
+ from {
1965
+ transform: translateX(-100%);
1966
+ }
1967
+ to {
1968
+ transform: translateX(100%);
1969
+ }
1970
+ }
1971
+ @scope ([data-vx-theme]) {
1972
+ .vx-frame-filmstrip {
1973
+ border-radius: inherit;
1974
+ }
1975
+ .vx-frame-range[data-variant=trim] {
1976
+ background: var(--vx-surface-input);
1977
+ }
1978
+ .vx-frame-range[data-variant=trim] .vx-frame-selection {
1979
+ border-width: 1px;
1980
+ background: color-mix(in srgb, var(--vx-state-success) 20%, transparent);
1981
+ }
1982
+ .vx-frame-range[data-variant=trim] .vx-frame-handle {
1983
+ width: 24px;
1984
+ display: grid;
1985
+ place-items: center;
1986
+ background: transparent;
1987
+ }
1988
+ .vx-frame-range[data-variant=trim] .vx-frame-handle::after {
1989
+ width: 3px;
1990
+ height: 12px;
1991
+ margin: 0;
1992
+ border: 1px solid var(--vx-state-success);
1993
+ background: var(--vx-background-dialog);
1994
+ border-radius: 2px;
1995
+ }
1996
+ }
1997
+ @scope ([data-vx-theme]) {
1998
+ .vx-dialog.vx-video-dialog-fit {
1999
+ width: fit-content;
2000
+ max-width: calc(100vw - 32px);
2001
+ }
2002
+ .vx-video-dialog-fit .vx-video-player[data-fit=content] {
2003
+ width: min(926px, calc(100vw - 66px), calc(min(480px, 100dvh - 192px) * var(--vx-video-ratio)));
2004
+ min-width: min(200px, calc(100vw - 66px));
2005
+ }
2006
+ }
2007
+ @scope ([data-vx-theme]) {
2008
+ .vx-playback-controls[data-size=small][data-appearance=surface] {
2009
+ --vx-playback-button-size: 16px;
2010
+ --vx-playback-played: var(--vx-text-secondary-readable);
2011
+ --vx-playback-thumb-border: 1px solid var(--vx-border-secondary);
2012
+ --vx-playback-thumb-shadow: 0 1px 2px var(--vx-black-black-2a);
2013
+ --vx-playback-thumb-size: 8px;
2014
+ height: 28px;
2015
+ min-height: 28px;
2016
+ padding: var(--vx-space-2) 0;
2017
+ gap: var(--vx-space-4);
2018
+ background: transparent;
2019
+ color: var(--vx-text-secondary-readable);
2020
+ flex-wrap: nowrap;
2021
+ }
2022
+ .vx-playback-controls[data-size=small][data-appearance=surface] > .vx-button {
2023
+ --vx-button-foreground: var(--vx-text-secondary-readable);
2024
+ flex: none;
2025
+ width: 24px;
2026
+ min-width: 24px;
2027
+ height: 24px;
2028
+ min-height: 24px;
2029
+ padding: 0;
2030
+ }
2031
+ .vx-playback-controls[data-size=small][data-appearance=surface] > span {
2032
+ font: var(--vx-typography-inter-10-regular);
2033
+ font-variant-numeric: tabular-nums;
2034
+ }
2035
+ .vx-video-player[data-controls-size=small] {
2036
+ background: transparent;
2037
+ }
2038
+ .vx-video-player[data-controls-size=small] .vx-video-stage {
2039
+ background: var(--vx-black-black);
2040
+ border-radius: var(--vx-radius-xl);
2041
+ }
2042
+ .vx-video-player[data-controls-size=small] .vx-video-cover {
2043
+ min-height: 0;
2044
+ gap: var(--vx-space-8);
2045
+ padding: var(--vx-space-8);
2046
+ }
2047
+ .vx-video-player[data-controls-size=small] .vx-video-title strong {
2048
+ font: var(--vx-typography-inter-12-regular);
2049
+ }
2050
+ }
2051
+
2052
+ /* packages/ui-system/dist/asset-grid.css */
2053
+ .vx-asset-grid.vx-asset-grid {
2054
+ display: grid;
2055
+ grid-template-columns: repeat(auto-fill, minmax(min(100%, max(240px, calc((100% - 3 * var(--vx-space-16)) / 4))), 1fr));
2056
+ gap: var(--vx-space-16);
2057
+ align-content: start;
2058
+ padding: var(--vx-space-12) var(--vx-space-16);
2059
+ }
2060
+ .vx-asset-grid > .vx-asset-tile {
2061
+ position: relative;
2062
+ display: flex;
2063
+ flex-direction: column;
2064
+ align-items: stretch;
2065
+ gap: var(--vx-space-12);
2066
+ box-sizing: border-box;
2067
+ min-width: 0;
2068
+ padding: 0;
2069
+ border: 0;
2070
+ border-radius: 0;
2071
+ background: transparent;
2072
+ }
2073
+ .vx-asset-tile .vx-tile-preview {
2074
+ display: grid;
2075
+ place-items: center;
2076
+ width: 100%;
2077
+ aspect-ratio: 16 / 9;
2078
+ padding: 0;
2079
+ border: 0;
2080
+ border-radius: var(--vx-radius-xl);
2081
+ background: var(--vx-cover-background);
2082
+ color: var(--vx-text-on-content-secondary);
2083
+ overflow: hidden;
2084
+ }
2085
+ button.vx-tile-preview {
2086
+ cursor: pointer;
2087
+ }
2088
+ .vx-tile-preview > .sd-asset-preview {
2089
+ width: 100%;
2090
+ }
2091
+ .vx-asset-tile > .vx-checkbox {
2092
+ position: absolute;
2093
+ z-index: 1;
2094
+ inset: var(--vx-space-8) auto auto var(--vx-space-8);
2095
+ }
2096
+ .vx-asset-tile .vx-tile-caption {
2097
+ display: grid;
2098
+ grid-template-columns: minmax(0, 1fr) auto;
2099
+ align-items: start;
2100
+ column-gap: var(--vx-space-8);
2101
+ padding-inline: var(--vx-space-8);
2102
+ }
2103
+ .vx-tile-caption .vx-tile-title {
2104
+ display: block;
2105
+ justify-self: start;
2106
+ min-width: 0;
2107
+ max-width: 100%;
2108
+ height: 26px;
2109
+ margin: 0;
2110
+ border: 0;
2111
+ padding: 4px 0;
2112
+ overflow: hidden;
2113
+ text-overflow: ellipsis;
2114
+ white-space: nowrap;
2115
+ text-align: start;
2116
+ background: transparent;
2117
+ color: var(--vx-text-primary);
2118
+ font: var(--vx-typography-inter-14-semi-bold);
2119
+ }
2120
+ button.vx-tile-title {
2121
+ cursor: pointer;
2122
+ }
2123
+ .vx-tile-caption > .vx-action-menu {
2124
+ grid-column: 2;
2125
+ grid-row: 1;
2126
+ }
2127
+ .vx-tile-caption > .vx-action-menu > .vx-button {
2128
+ width: 24px;
2129
+ height: 24px;
2130
+ padding: 0;
2131
+ }
2132
+ .vx-tile-caption .vx-tile-facts {
2133
+ grid-column: 1 / -1;
2134
+ min-width: 0;
2135
+ min-height: 16px;
2136
+ overflow: hidden;
2137
+ white-space: nowrap;
2138
+ text-overflow: ellipsis;
2139
+ color: var(--vx-text-secondary);
2140
+ font: var(--vx-typography-inter-12-regular);
2141
+ }
2142
+ .vx-tile-facts > span + span::before {
2143
+ content: "";
2144
+ display: inline-block;
2145
+ height: 8px;
2146
+ margin-inline: 6px;
2147
+ border-inline-start: 1px solid var(--vx-border-secondary);
2148
+ }
2149
+ .vx-asset-grid .vx-asset-tile :is(.studio-cover, .vx-media, .sd-video-thumbnail, .ad-asset-cover) {
2150
+ border-radius: var(--vx-radius-xl);
2151
+ }
2152
+ .vx-asset-grid .studio-cover {
2153
+ overflow: hidden;
2154
+ }
2155
+ .vx-asset-grid .studio-cover[data-kind=video]:has(.studio-cover-video) > .vx-media {
2156
+ background-color: transparent;
2157
+ }
2158
+ .vx-asset-reference-row {
2159
+ display: grid;
2160
+ grid-auto-flow: column;
2161
+ grid-auto-columns: minmax(0, var(--vx-space-32));
2162
+ align-items: center;
2163
+ gap: var(--vx-space-4);
2164
+ }
2165
+ .vx-asset-reference-row > * {
2166
+ max-width: 100%;
2167
+ min-width: 0;
2168
+ }
2169
+ .vx-asset-reference-count {
2170
+ display: grid;
2171
+ place-items: center;
2172
+ height: var(--vx-space-32);
2173
+ border-radius: var(--vx-radius-sm);
2174
+ background: var(--vx-surface-message);
2175
+ color: var(--vx-text-secondary-readable);
2176
+ font: var(--vx-typography-inter-12-medium);
2177
+ white-space: nowrap;
2178
+ }
2179
+
2180
+ /* packages/ui-system/dist/view-skeleton.css */
2181
+ .vx-view-skeleton {
2182
+ display: flex;
2183
+ flex-direction: column;
2184
+ min-inline-size: 0;
2185
+ overflow: hidden;
2186
+ grid-column: 1 / -1;
2187
+ gap: var(--vx-space-12);
2188
+ padding: var(--vx-space-8);
2189
+ }
2190
+ .vx-skeleton-heading,
2191
+ .vx-skeleton-media,
2192
+ .vx-skeleton-copy > span {
2193
+ display: block;
2194
+ border-radius: var(--vx-radius-md);
2195
+ background: var(--vx-surface-input);
2196
+ }
2197
+ .vx-skeleton-heading {
2198
+ margin: var(--vx-space-8) var(--vx-space-16);
2199
+ width: min(170px, 60%);
2200
+ height: 18px;
2201
+ }
2202
+ .vx-skeleton-content {
2203
+ display: grid;
2204
+ align-content: start;
2205
+ min-width: 0;
2206
+ gap: var(--vx-space-16);
2207
+ background: var(--vx-background-dialog);
2208
+ border-radius: var(--vx-radius-xl);
2209
+ padding: var(--vx-space-16);
2210
+ }
2211
+ .vx-skeleton-item {
2212
+ min-width: 0;
2213
+ }
2214
+ .vx-skeleton-media {
2215
+ width: 100%;
2216
+ aspect-ratio: 16 / 9;
2217
+ }
2218
+ .vx-skeleton-copy {
2219
+ display: grid;
2220
+ gap: var(--vx-space-8);
2221
+ margin-top: var(--vx-space-12);
2222
+ }
2223
+ .vx-skeleton-copy > span {
2224
+ width: 76%;
2225
+ height: 14px;
2226
+ }
2227
+ .vx-skeleton-copy > span:nth-child(even) {
2228
+ width: 54%;
2229
+ }
2230
+ .vx-view-skeleton[data-layout=list] .vx-skeleton-item {
2231
+ display: grid;
2232
+ align-items: center;
2233
+ grid-template-columns: minmax(72px, 16%) minmax(0, 1fr);
2234
+ gap: var(--vx-space-16);
2235
+ }
2236
+ .vx-view-skeleton[data-layout=list] .vx-skeleton-copy {
2237
+ margin: 0;
2238
+ }
2239
+ .vx-view-skeleton[data-layout=grid] .vx-skeleton-content {
2240
+ grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
2241
+ }
2242
+ .vx-view-skeleton[data-layout=compare] .vx-skeleton-content {
2243
+ grid-template-columns: repeat(2, minmax(0, 1fr));
2244
+ }
2245
+ @media (prefers-reduced-motion: no-preference) {
2246
+ .vx-view-skeleton :is(.vx-skeleton-heading, .vx-skeleton-media, .vx-skeleton-copy > span) {
2247
+ animation: vx-skeleton-pulse 1.5s ease-in-out infinite alternate;
2248
+ }
2249
+ }
2250
+ @keyframes vx-skeleton-pulse {
2251
+ to {
2252
+ opacity: 0.5;
2253
+ }
2254
+ }
1371
2255
 
1372
2256
  /* packages/ui-system/dist/overlays.css */
1373
2257
  @scope ([data-vx-theme]) {
@@ -1384,13 +2268,16 @@
1384
2268
  box-sizing: border-box;
1385
2269
  width: min(224px, calc(100vw - 16px));
1386
2270
  max-height: min(480px, 50vh);
1387
- overflow: auto;
2271
+ overflow: hidden auto;
1388
2272
  padding: var(--vx-space-4);
1389
2273
  border: var(--vx-border-width) solid var(--vx-border-secondary);
1390
2274
  border-radius: var(--vx-radius-xl);
1391
2275
  background: var(--vx-background-dialog);
1392
2276
  box-shadow: var(--vx-shadow-menu);
1393
2277
  }
2278
+ .vx-action-menu-items > button + button {
2279
+ margin-block-start: var(--vx-space-2);
2280
+ }
1394
2281
  .vx-action-menu-items > button {
1395
2282
  display: flex;
1396
2283
  align-items: center;
@@ -1409,7 +2296,33 @@
1409
2296
  .vx-action-menu-items > button[data-size=large] {
1410
2297
  min-height: 48px;
1411
2298
  }
1412
- .vx-action-menu-items > button > span:not(.vx-icon) {
2299
+ .vx-action-menu-items > button[data-tone=danger]:not(:disabled) {
2300
+ color: var(--vx-state-danger);
2301
+ }
2302
+ .vx-action-menu-items[data-with-previews] {
2303
+ width: min(360px, calc(100vw - var(--vx-space-16)));
2304
+ }
2305
+ .vx-menu-preview {
2306
+ flex: none;
2307
+ display: grid;
2308
+ grid-template: minmax(0, 1fr) / minmax(0, 1fr);
2309
+ width: 80px;
2310
+ aspect-ratio: 16 / 9;
2311
+ border-radius: var(--vx-radius-sm);
2312
+ overflow: hidden;
2313
+ background: var(--vx-cover-background);
2314
+ }
2315
+ .vx-menu-preview > .vx-cover-preview {
2316
+ display: grid;
2317
+ place-items: center;
2318
+ grid-template: minmax(0, 1fr) / minmax(0, 1fr);
2319
+ }
2320
+ .vx-menu-preview :is(img, video) {
2321
+ width: 100%;
2322
+ height: 100%;
2323
+ object-fit: contain;
2324
+ }
2325
+ .vx-action-menu-items > button > .vx-menu-label {
1413
2326
  flex: 1;
1414
2327
  overflow-wrap: anywhere;
1415
2328
  }
@@ -1417,7 +2330,7 @@
1417
2330
  color: var(--vx-text-placeholder);
1418
2331
  cursor: not-allowed;
1419
2332
  }
1420
- .vx-action-menu-items > button:is(:hover, :focus-visible, [aria-checked=true]):not(:disabled) {
2333
+ .vx-action-menu-items > button:is(:hover, :focus-visible, [aria-checked=true], [aria-expanded=true]):not(:disabled) {
1421
2334
  background: var(--vx-surface-hover);
1422
2335
  }
1423
2336
  .vx-action-menu-items > button:focus-visible {
@@ -1426,37 +2339,121 @@
1426
2339
  }
1427
2340
  .vx-filter-menu {
1428
2341
  box-sizing: border-box;
1429
- width: min(280px, calc(100vw - 16px));
1430
- max-height: min(480px, calc(100dvh - 16px));
1431
- overflow: auto;
2342
+ width: min(224px, calc(100vw - 16px));
2343
+ max-height: min(460px, calc(100dvh - 16px));
2344
+ overflow: hidden;
1432
2345
  inset: auto;
1433
- position-area: bottom span-right;
2346
+ position-area: bottom center;
1434
2347
  position-try-fallbacks:
1435
- flip-inline,
1436
- flip-block,
1437
- flip-block flip-inline;
1438
- margin: var(--vx-space-4) 0;
1439
- padding: var(--vx-space-8);
1440
- border: var(--vx-border-width) solid var(--vx-border-secondary);
1441
- border-radius: var(--vx-radius-xl);
2348
+ bottom span-left,
2349
+ bottom span-right,
2350
+ top center,
2351
+ top span-left,
2352
+ top span-right;
2353
+ margin: 6px 0;
2354
+ padding: var(--vx-space-4);
2355
+ border: var(--vx-divider-width) solid var(--vx-border-secondary);
2356
+ border-radius: 12px;
1442
2357
  background: var(--vx-background-dialog);
1443
2358
  color: var(--vx-text-primary);
1444
- box-shadow: var(--vx-shadow-menu);
2359
+ box-shadow: 0 4px 16px rgb(0 0 0 / 25%);
1445
2360
  }
1446
- .vx-filter-menu summary {
1447
- padding: var(--vx-space-8);
1448
- cursor: pointer;
2361
+ .vx-filter-menu:popover-open {
2362
+ display: flex;
2363
+ flex-direction: column;
2364
+ gap: 2px;
2365
+ }
2366
+ .vx-filter-scroll {
2367
+ position: relative;
2368
+ min-height: 0;
2369
+ display: flex;
2370
+ flex-direction: column;
2371
+ }
2372
+ .vx-filter-scroll[data-more-below]::after {
2373
+ content: "";
2374
+ position: absolute;
2375
+ inset: auto 0 0;
2376
+ height: min(60px, 35%);
2377
+ background:
2378
+ linear-gradient(
2379
+ to bottom,
2380
+ transparent,
2381
+ var(--vx-background-dialog));
2382
+ pointer-events: none;
1449
2383
  }
1450
- .vx-filter-menu summary .vx-tag {
1451
- margin-inline-start: var(--vx-space-8);
2384
+ .vx-filter-menu .vx-filter-groups {
2385
+ min-height: 0;
2386
+ overflow-y: auto;
2387
+ overscroll-behavior: contain;
2388
+ scrollbar-width: none;
1452
2389
  }
1453
- .vx-filter-options {
2390
+ .vx-filter-menu .vx-filter-options {
1454
2391
  display: grid;
1455
- gap: var(--vx-space-4);
1456
- padding: 0 var(--vx-space-8) var(--vx-space-8);
2392
+ padding: 0;
2393
+ gap: 2px;
2394
+ margin-block-start: 2px;
2395
+ }
2396
+ .vx-filter-menu details + details::before {
2397
+ content: "";
2398
+ display: block;
2399
+ height: var(--vx-divider-width);
2400
+ margin: 2px 12px;
2401
+ background: var(--vx-border-secondary);
2402
+ }
2403
+ .vx-filter-menu details + details {
2404
+ border: 0;
1457
2405
  }
1458
- .vx-filter-menu > .vx-button {
1459
- margin-top: var(--vx-space-8);
2406
+ .vx-filter-menu summary,
2407
+ .vx-filter-options .vx-checkbox {
2408
+ box-sizing: border-box;
2409
+ display: flex;
2410
+ align-items: center;
2411
+ justify-content: space-between;
2412
+ min-height: 36px;
2413
+ padding: 0 12px;
2414
+ cursor: pointer;
2415
+ }
2416
+ .vx-filter-menu summary {
2417
+ font: var(--vx-typography-inter-14-semi-bold);
2418
+ list-style: none;
2419
+ }
2420
+ .vx-filter-menu summary::-webkit-details-marker {
2421
+ display: none;
2422
+ }
2423
+ .vx-filter-menu summary > .vx-icon {
2424
+ color: var(--vx-text-secondary);
2425
+ }
2426
+ .vx-filter-menu details[open] > summary .vx-icon {
2427
+ rotate: 180deg;
2428
+ }
2429
+ .vx-filter-options .vx-checkbox {
2430
+ width: 100%;
2431
+ flex-direction: row-reverse;
2432
+ font: var(--vx-typography-inter-14-regular);
2433
+ }
2434
+ .vx-filter-options .vx-checkbox:hover,
2435
+ .vx-filter-menu summary:hover {
2436
+ border-radius: 8px;
2437
+ background: var(--vx-surface-hover);
2438
+ }
2439
+ .vx-filter-menu .vx-checkbox-input:not(:checked) + .vx-checkbox-mark {
2440
+ border-color: var(--vx-border-primary);
2441
+ }
2442
+ .vx-filter-menu .vx-checkbox-mark .vx-icon {
2443
+ --vx-icon-size: 12px;
2444
+ }
2445
+ .vx-filter-menu footer {
2446
+ box-sizing: border-box;
2447
+ display: flex;
2448
+ align-items: center;
2449
+ flex: none;
2450
+ height: 44px;
2451
+ padding-inline: var(--vx-space-8);
2452
+ border-top: var(--vx-divider-width) solid var(--vx-border-secondary);
2453
+ }
2454
+ .vx-filter-menu footer > .vx-button {
2455
+ width: 100%;
2456
+ flex: none;
1460
2457
  }
1461
2458
  .vx-annotation-tools {
1462
2459
  display: inline-flex;
@@ -1487,46 +2484,169 @@
1487
2484
  background: var(--vx-green-green);
1488
2485
  color: var(--vx-text-on-content-primary);
1489
2486
  }
1490
- .vx-annotation-tools[role=toolbar] .vx-button:disabled {
1491
- color: var(--vx-text-placeholder);
2487
+ .vx-annotation-tools[role=toolbar] .vx-button:disabled {
2488
+ color: var(--vx-text-placeholder);
2489
+ }
2490
+ .vx-annotation-tools[role=toolbar] .vx-button:focus-visible {
2491
+ outline-offset: -2px;
2492
+ }
2493
+ .vx-annotation-tools[role=toolbar] .vx-button[aria-pressed=true]:focus-visible {
2494
+ outline-color: var(--vx-text-on-content-primary);
2495
+ }
2496
+ .vx-dialog {
2497
+ box-sizing: border-box;
2498
+ width: min(480px, calc(100vw - 32px));
2499
+ max-height: calc(100dvh - 32px);
2500
+ padding: 0;
2501
+ border: var(--vx-border-width) solid var(--vx-border-secondary);
2502
+ border-radius: var(--vx-radius-xl);
2503
+ background: var(--vx-background-dialog);
2504
+ color: var(--vx-text-primary);
2505
+ box-shadow: var(--vx-shadow-dialog);
2506
+ }
2507
+ .vx-dialog::backdrop {
2508
+ background: var(--vx-overlay-dialog, rgb(255 255 255 / 80%));
2509
+ backdrop-filter: blur(var(--vx-dialog-backdrop-blur, 40px));
2510
+ }
2511
+ .vx-dialog > :is(header, footer),
2512
+ .vx-dialog-body {
2513
+ padding: var(--vx-space-16);
2514
+ }
2515
+ .vx-dialog > :is(header, footer) {
2516
+ display: flex;
2517
+ justify-content: space-between;
2518
+ align-items: center;
2519
+ gap: var(--vx-space-8);
2520
+ }
2521
+ .vx-dialog > footer {
2522
+ justify-content: flex-end;
2523
+ flex-wrap: wrap;
2524
+ }
2525
+ .vx-dialog h2 {
2526
+ margin: 0;
2527
+ font: var(--vx-typography-inter-16-semi-bold);
2528
+ }
2529
+ dialog.vx-dialog.vx-dialog-inline {
2530
+ position: static;
2531
+ display: block;
2532
+ width: auto;
2533
+ max-width: none;
2534
+ max-height: none;
2535
+ margin: 0;
2536
+ padding: 0;
2537
+ border: 0;
2538
+ border-radius: 0;
2539
+ background: transparent;
2540
+ box-shadow: none;
2541
+ overflow: visible;
2542
+ }
2543
+ .vx-dialog-inline > :is(header, footer) {
2544
+ display: none;
2545
+ }
2546
+ .vx-dialog-inline > .vx-dialog-body {
2547
+ display: contents;
2548
+ }
2549
+ .vx-dialog:is([data-variant=create-project], [data-variant=story-edit], [data-variant=edit-dashboard]) {
2550
+ --vx-dialog-section-gap: var(--vx-space-24);
2551
+ --vx-dialog-footer-inset: var(--vx-space-24);
2552
+ width: min(var(--vx-dialog-small-width), calc(100vw - var(--vx-space-32)));
2553
+ padding: var(--vx-dialog-padding);
2554
+ border: var(--vx-border-width) solid var(--vx-surface-input);
2555
+ border-radius: var(--vx-dialog-radius);
2556
+ scrollbar-gutter: stable;
2557
+ overflow: scroll auto;
2558
+ }
2559
+ .vx-dialog:is([data-variant=create-project], [data-variant=story-edit], [data-variant=edit-dashboard]) > header {
2560
+ padding: 0;
2561
+ margin: 0 var(--vx-space-32) var(--vx-dialog-section-gap) 0;
2562
+ }
2563
+ .vx-dialog:is([data-variant=create-project], [data-variant=story-edit], [data-variant=edit-dashboard]) > header h2 {
2564
+ font: var(--vx-typography-inter-18-semi-bold);
2565
+ }
2566
+ .vx-dialog:is([data-variant=create-project], [data-variant=story-edit], [data-variant=edit-dashboard]) > header > .vx-button {
2567
+ position: absolute;
2568
+ top: 15px;
2569
+ right: 15px;
2570
+ }
2571
+ .vx-dialog:is([data-variant=create-project], [data-variant=story-edit], [data-variant=edit-dashboard]) > .vx-dialog-body {
2572
+ min-width: 0;
2573
+ padding: 0;
2574
+ }
2575
+ .vx-dialog:is([data-variant=create-project], [data-variant=story-edit], [data-variant=edit-dashboard]) > footer {
2576
+ margin-top: var(--vx-dialog-section-gap);
2577
+ padding: var(--vx-dialog-footer-inset) 0 0;
2578
+ border-top: var(--vx-divider-width) solid var(--vx-border-secondary);
1492
2579
  }
1493
- .vx-annotation-tools[role=toolbar] .vx-button:focus-visible {
1494
- outline-offset: -2px;
2580
+ .vx-dialog[data-variant=create-project] .vx-field {
2581
+ gap: var(--vx-space-8);
1495
2582
  }
1496
- .vx-annotation-tools[role=toolbar] .vx-button[aria-pressed=true]:focus-visible {
1497
- outline-color: var(--vx-text-on-content-primary);
2583
+ .vx-dialog[data-variant=create-project] .vx-field > span {
2584
+ color: var(--vx-text-secondary);
2585
+ font: var(--vx-typography-inter-14-regular);
1498
2586
  }
1499
- .vx-dialog {
1500
- box-sizing: border-box;
1501
- width: min(480px, calc(100vw - 32px));
1502
- max-height: calc(100dvh - 32px);
1503
- padding: 0;
1504
- border: var(--vx-border-width) solid var(--vx-border-secondary);
1505
- border-radius: var(--vx-radius-xl);
1506
- background: var(--vx-background-dialog);
1507
- color: var(--vx-text-primary);
1508
- box-shadow: var(--vx-shadow-dialog);
2587
+ .vx-dialog[data-variant=create-project] .vx-field > input {
2588
+ height: var(--vx-input-large-height);
2589
+ padding: var(--vx-space-8) var(--vx-space-12);
2590
+ border: 0;
2591
+ border-radius: var(--vx-radius-md);
2592
+ background: var(--vx-surface-input);
2593
+ font: var(--vx-typography-inter-16-regular);
1509
2594
  }
1510
- .vx-dialog::backdrop {
1511
- background: var(--vx-black-black-4a);
2595
+ .vx-dialog[data-variant=create-project] .vx-field > input::placeholder {
2596
+ color: var(--vx-text-secondary);
2597
+ opacity: 1;
1512
2598
  }
1513
- .vx-dialog > :is(header, footer),
1514
- .vx-dialog-body {
1515
- padding: var(--vx-space-16);
2599
+ .vx-dialog[data-variant=create-project] .vx-segment {
2600
+ background: var(--vx-surface-input);
1516
2601
  }
1517
- .vx-dialog > :is(header, footer) {
2602
+ .vx-toast {
2603
+ position: fixed;
2604
+ --vx-toast-top: max(var(--vx-space-16), env(safe-area-inset-top));
2605
+ inset: var(--vx-toast-top) auto auto 50%;
2606
+ margin: 0;
2607
+ transform: translateX(-50%);
1518
2608
  display: flex;
1519
- justify-content: space-between;
1520
2609
  align-items: center;
1521
2610
  gap: var(--vx-space-8);
2611
+ box-sizing: border-box;
2612
+ width: max-content;
2613
+ max-width: calc(100% - 2 * var(--vx-space-16));
2614
+ padding: var(--vx-space-8) var(--vx-space-16);
2615
+ border: var(--vx-border-width) solid var(--vx-border-secondary);
2616
+ border-radius: var(--vx-radius-md);
2617
+ background: var(--vx-text-primary);
2618
+ color: var(--vx-text-inverse);
2619
+ box-shadow: var(--vx-shadow-dialog);
2620
+ font: var(--vx-typography-inter-12-medium);
2621
+ pointer-events: none;
1522
2622
  }
1523
- .vx-dialog > footer {
1524
- justify-content: flex-end;
1525
- flex-wrap: wrap;
2623
+ @media (prefers-reduced-motion: no-preference) {
2624
+ .vx-toast:popover-open {
2625
+ animation: vx-toast-enter var(--vx-motion-duration-enter) var(--vx-motion-easing-enter);
2626
+ }
1526
2627
  }
1527
- .vx-dialog h2 {
2628
+ .vx-prompt-hint {
2629
+ display: grid;
2630
+ justify-items: center;
2631
+ gap: var(--vx-space-12);
2632
+ padding: var(--vx-space-32) var(--vx-space-16);
2633
+ text-align: center;
2634
+ color: var(--vx-text-secondary);
2635
+ }
2636
+ .vx-prompt-hint p {
1528
2637
  margin: 0;
1529
- font: var(--vx-typography-inter-16-semi-bold);
2638
+ }
2639
+ .vx-prompt-hint textarea {
2640
+ width: min(100%, 480px);
2641
+ min-height: 120px;
2642
+ }
2643
+ }
2644
+ @keyframes vx-toast-enter {
2645
+ from {
2646
+ transform: translate(-50%, calc(-100% - var(--vx-toast-top)));
2647
+ }
2648
+ to {
2649
+ transform: translate(-50%, 0);
1530
2650
  }
1531
2651
  }
1532
2652
 
@@ -1537,6 +2657,12 @@
1537
2657
  font-weight: 400;
1538
2658
  font-display: swap;
1539
2659
  }
2660
+ @font-face {
2661
+ font-family: "Vivix Studio Inter";
2662
+ src: url("./assets/inter-latin-900-normal-FKACR3DR.woff2") format("woff2");
2663
+ font-weight: 900;
2664
+ font-display: swap;
2665
+ }
1540
2666
  @font-face {
1541
2667
  font-family: "Vivix Studio Inter";
1542
2668
  src: url("./assets/inter-latin-500-normal-W62DVTXI.woff2") format("woff2");
@@ -1549,12 +2675,21 @@
1549
2675
  font-weight: 600;
1550
2676
  font-display: swap;
1551
2677
  }
2678
+ @font-face {
2679
+ font-family: "Vivix Studio Inter";
2680
+ src: url("./assets/inter-latin-700-normal-SU5XVJMF.woff2") format("woff2");
2681
+ font-weight: 700;
2682
+ font-display: swap;
2683
+ }
1552
2684
  @scope ([data-vx-theme]) {
2685
+ :where(h1, h2, h3, h4, h5, h6, b, strong, th) {
2686
+ font-weight: 600;
2687
+ }
1553
2688
  .vx-icon {
1554
2689
  display: inline-block;
1555
2690
  flex: none;
1556
- width: var(--vx-icon-size, var(--vx-button-icon-size, 16px));
1557
- height: var(--vx-icon-size, var(--vx-button-icon-size, 16px));
2691
+ width: var(--vx-icon-size, var(--vx-button-icon-size, var(--vx-icon-native-size, 16px)));
2692
+ height: var(--vx-icon-size, var(--vx-button-icon-size, var(--vx-icon-native-size, 16px)));
1558
2693
  vertical-align: middle;
1559
2694
  position: relative;
1560
2695
  }
@@ -1568,6 +2703,15 @@
1568
2703
  background: currentColor;
1569
2704
  mask: var(--vx-icon-mask) center / contain no-repeat;
1570
2705
  }
2706
+ .vx-icon[data-icon=copy] {
2707
+ --vx-icon-mask: url("./assets/copy-document-EF4PHM7F.svg");
2708
+ }
2709
+ .vx-icon[data-icon=upload] {
2710
+ --vx-icon-mask: url("./assets/upload-U5RZT5QI.svg");
2711
+ }
2712
+ .vx-icon[data-icon=refresh] {
2713
+ --vx-icon-mask: url("./assets/refresh-WQ3CTB57.svg");
2714
+ }
1571
2715
  .vx-icon[data-icon=add] {
1572
2716
  --vx-icon-mask: url("./assets/add-JY533O73.svg");
1573
2717
  }
@@ -1621,9 +2765,18 @@
1621
2765
  --vx-icon-height: 86.46%;
1622
2766
  --vx-icon-mask: url("./assets/magic-OMME7FOV.svg");
1623
2767
  }
2768
+ .vx-icon[data-icon=select-items] {
2769
+ --vx-icon-mask: url("./assets/select-items-GJZIVO37.svg");
2770
+ }
2771
+ .vx-icon[data-icon=filter] {
2772
+ --vx-icon-mask: url("./assets/filter-JSDZZVGN.svg");
2773
+ }
1624
2774
  .vx-icon[data-icon=select] {
1625
2775
  --vx-icon-mask: url("./assets/select-VU7WR7B4.svg");
1626
2776
  }
2777
+ .vx-icon[data-icon=filter] {
2778
+ --vx-icon-mask: url("./assets/filter-JSDZZVGN.svg");
2779
+ }
1627
2780
  .vx-icon[data-icon=area] {
1628
2781
  --vx-icon-mask: url("./assets/area-P2WOMBT5.svg");
1629
2782
  }
@@ -1661,6 +2814,72 @@
1661
2814
  --vx-icon-mask: url("./assets/chevron-left-JQCLK2WZ.svg");
1662
2815
  }
1663
2816
  }
2817
+ @scope ([data-vx-theme]) {
2818
+ .vx-icon[data-icon=placeholder-image] {
2819
+ --vx-icon-mask: url("./assets/placeholder-image-NOVXFVRL.svg");
2820
+ }
2821
+ .vx-icon[data-icon=placeholder-video] {
2822
+ --vx-icon-mask: url("./assets/placeholder-video-ZFOYHYCR.svg");
2823
+ }
2824
+ .vx-icon[data-icon=placeholder-audio] {
2825
+ --vx-icon-mask: url("./assets/placeholder-audio-EJEBE7OB.svg");
2826
+ }
2827
+ .vx-icon[data-icon=placeholder-script] {
2828
+ --vx-icon-mask: url("./assets/placeholder-script-LR2GKWKS.svg");
2829
+ }
2830
+ }
2831
+ @scope ([data-vx-theme]) {
2832
+ .vx-icon[data-icon=detail] {
2833
+ --vx-icon-mask: url("./assets/detail-E52XPONK.svg");
2834
+ }
2835
+ .vx-icon[data-icon=export] {
2836
+ --vx-icon-mask: url("./assets/export-W2OBXZDQ.svg");
2837
+ }
2838
+ .vx-icon[data-icon=favorite] {
2839
+ --vx-icon-mask: url("./assets/favorite-6GMNHJCN.svg");
2840
+ }
2841
+ [aria-pressed=true] .vx-icon[data-icon=favorite] {
2842
+ --vx-icon-mask: url("./assets/favorite-filled-FR74TEBM.svg");
2843
+ }
2844
+ .vx-icon[data-icon=download] {
2845
+ --vx-icon-mask: url("./assets/download-VTKCEAZG.svg");
2846
+ }
2847
+ .vx-icon[data-icon=delete] {
2848
+ --vx-icon-mask: url("./assets/delete-4Y3OUMEL.svg");
2849
+ }
2850
+ .vx-icon[data-icon=trim] {
2851
+ --vx-icon-mask: url("./assets/trim-LQMHHN2M.svg");
2852
+ }
2853
+ .vx-icon[data-icon=crop] {
2854
+ --vx-icon-mask: url("./assets/crop-5JXWHIPN.svg");
2855
+ }
2856
+ .vx-icon[data-icon=edit] {
2857
+ --vx-icon-mask: url("./assets/edit-JUVJDD5A.svg");
2858
+ }
2859
+ }
2860
+ @scope ([data-vx-theme]) {
2861
+ .vx-icon[data-icon=play-cover] {
2862
+ --vx-icon-mask: url("./assets/play-cover-WQLOHHPZ.svg");
2863
+ }
2864
+ .vx-icon[data-icon=playback-play] {
2865
+ --vx-icon-mask: url("./assets/playback-play-YRMIX5W4.svg");
2866
+ }
2867
+ .vx-icon[data-icon=playback-play-large] {
2868
+ --vx-icon-mask: url("./assets/playback-play-large-TM3QUJGG.svg");
2869
+ }
2870
+ .vx-icon[data-icon=pause-large] {
2871
+ --vx-icon-mask: url("./assets/pause-large-XEUBL4KC.svg");
2872
+ }
2873
+ .vx-icon[data-icon=volume-large] {
2874
+ --vx-icon-mask: url("./assets/volume-large-QNULSJ2I.svg");
2875
+ }
2876
+ .vx-icon[data-icon=mute-large] {
2877
+ --vx-icon-mask: url("./assets/mute-large-LSZZ44HF.svg");
2878
+ }
2879
+ .vx-icon[data-icon=fullscreen-large] {
2880
+ --vx-icon-mask: url("./assets/fullscreen-large-MPLIWDMI.svg");
2881
+ }
2882
+ }
1664
2883
 
1665
2884
  /* packages/media-tools/src/ui/styles.css */
1666
2885
  .mt-root {
@@ -1690,16 +2909,18 @@
1690
2909
  }
1691
2910
  .mt-editor .vx-dialog > header {
1692
2911
  height: auto;
2912
+ min-height: 0;
1693
2913
  border: 0;
1694
2914
  padding: 24px 24px 0;
1695
2915
  margin-bottom: 24px;
1696
2916
  }
1697
2917
  .mt-editor .vx-dialog > header h2 {
1698
- font: 600 22px / 1.2 var(--vx-font-inter);
2918
+ font: var(--vx-typography-inter-18-semi-bold);
1699
2919
  }
1700
2920
  .mt-editor .vx-dialog > header > button {
1701
- align-self: start;
1702
- margin: -8px -8px 0 0;
2921
+ position: absolute;
2922
+ inset: 15px 15px auto auto;
2923
+ margin: 0;
1703
2924
  }
1704
2925
  .mt-editor .vx-dialog-body {
1705
2926
  padding: 0 24px;
@@ -1707,19 +2928,36 @@
1707
2928
  .mt-editor .vx-dialog > footer {
1708
2929
  padding: 32px 24px 24px;
1709
2930
  }
1710
- .mt-editor[data-mode=crop] .vx-dialog[open] {
2931
+ .mt-editor .vx-dialog[open] {
1711
2932
  display: flex;
1712
2933
  flex-direction: column;
1713
2934
  overflow: hidden;
1714
2935
  }
1715
- .mt-editor[data-mode=crop] .vx-dialog > :is(header, footer) {
2936
+ .mt-editor .vx-dialog > :is(header, footer) {
1716
2937
  flex-shrink: 0;
1717
2938
  }
1718
- .mt-editor[data-mode=crop] .vx-dialog-body {
2939
+ .mt-editor .vx-dialog-body {
1719
2940
  min-height: 0;
1720
- overflow: auto;
1721
- padding-block: 16px;
1722
- margin-block: -16px;
2941
+ overflow-x: hidden;
2942
+ overflow-y: auto;
2943
+ }
2944
+ .mt-editor-content {
2945
+ display: flex;
2946
+ flex-direction: column;
2947
+ gap: var(--vx-space-16);
2948
+ }
2949
+ .mt-editor-content .vx-playback-controls > span {
2950
+ display: none;
2951
+ }
2952
+ .mt-editor-content .vx-frame-selection .vx-tag {
2953
+ font: var(--vx-typography-inter-12-medium);
2954
+ font-variant-numeric: tabular-nums;
2955
+ }
2956
+ .mt-editor-content > * {
2957
+ flex-shrink: 0;
2958
+ }
2959
+ .mt-editor-content > p {
2960
+ margin: 0;
1723
2961
  }
1724
2962
  .mt-editor-actions {
1725
2963
  display: flex;
@@ -1738,13 +2976,14 @@
1738
2976
  gap: 8px;
1739
2977
  }
1740
2978
  .mt-editor .mt-editor-hint {
1741
- line-height: 1.5;
2979
+ font: var(--vx-typography-inter-14-regular);
1742
2980
  display: flex;
1743
2981
  justify-content: space-between;
1744
2982
  gap: 8px;
1745
2983
  color: var(--vx-text-secondary);
1746
2984
  font-size: 14px;
1747
- margin: 16px 0;
2985
+ margin: 0;
2986
+ flex-wrap: wrap;
1748
2987
  }
1749
2988
  .mt-editor-hint > [role=status] {
1750
2989
  white-space: nowrap;
@@ -1788,9 +3027,9 @@
1788
3027
  background:
1789
3028
  linear-gradient(
1790
3029
  to right,
1791
- var(--vx-white-white-6a) 0 var(--vx-range-start),
3030
+ var(--vx-black-black-4a) 0 var(--vx-range-start),
1792
3031
  transparent var(--vx-range-start) var(--vx-range-end),
1793
- var(--vx-white-white-6a) var(--vx-range-end) 100%);
3032
+ var(--vx-black-black-4a) var(--vx-range-end) 100%);
1794
3033
  }
1795
3034
  .mt-editor .vx-frame-range[data-variant=trim] {
1796
3035
  border-radius: 8px;
@@ -1823,6 +3062,18 @@
1823
3062
  border-radius: 1.822px;
1824
3063
  background: var(--vx-green-dark);
1825
3064
  }
3065
+ .mt-editor .vx-frame-handle:focus-visible {
3066
+ outline: none;
3067
+ }
3068
+ .mt-editor .vx-frame-handle:focus-visible::after {
3069
+ outline: var(--vx-focus-ring-width) solid var(--vx-state-assistance);
3070
+ outline-offset: 2px;
3071
+ }
3072
+ @media (forced-colors: active) {
3073
+ .mt-editor .vx-frame-handle:focus-visible::after {
3074
+ outline-color: Highlight;
3075
+ }
3076
+ }
1826
3077
  .mt-editor .vx-frame-handle::before {
1827
3078
  content: "";
1828
3079
  position: absolute;
@@ -1835,18 +3086,6 @@
1835
3086
  border-radius: 0.911px;
1836
3087
  background: var(--vx-text-on-content-primary);
1837
3088
  }
1838
- .mt-precision {
1839
- margin-top: 12px;
1840
- color: var(--vx-text-secondary);
1841
- font-size: 12px;
1842
- }
1843
- .mt-precision > summary {
1844
- cursor: pointer;
1845
- width: fit-content;
1846
- }
1847
- .mt-precision .mt-fields {
1848
- color: var(--vx-text-primary);
1849
- }
1850
3089
  .mt-player {
1851
3090
  position: relative;
1852
3091
  background: #000;
@@ -1918,6 +3157,36 @@
1918
3157
  .mt-editor[data-mode=crop] .mt-picture {
1919
3158
  overflow: visible;
1920
3159
  }
3160
+ .mt-editor[data-mode=crop] .mt-editor-content {
3161
+ container-type: inline-size;
3162
+ }
3163
+ .mt-editor[data-mode=crop] .mt-player:not(:fullscreen) {
3164
+ height: 56.25cqw;
3165
+ }
3166
+ .mt-editor[data-mode=crop] .mt-player > .vx-playback-controls {
3167
+ flex: 0 0 44px;
3168
+ width: 100%;
3169
+ }
3170
+ .mt-editor[data-mode=crop] .vx-segment {
3171
+ background: var(--vx-surface-input);
3172
+ scrollbar-width: none;
3173
+ }
3174
+ .mt-editor[data-mode=crop] .vx-segment > label {
3175
+ flex: 1 0 0;
3176
+ min-width: 0;
3177
+ }
3178
+ .mt-editor[data-mode=crop] .vx-segment-item {
3179
+ min-width: max-content;
3180
+ padding-inline: 6px;
3181
+ }
3182
+ .mt-editor .mt-editor-confirm .vx-button {
3183
+ font: var(--vx-typography-inter-16-medium);
3184
+ }
3185
+ @media (max-width: 560px) {
3186
+ .mt-editor[data-mode=crop] .vx-segment > label {
3187
+ flex: 1 0 auto;
3188
+ }
3189
+ }
1921
3190
  .mt-crop-shade {
1922
3191
  position: absolute;
1923
3192
  inset: 0;
@@ -1987,7 +3256,7 @@
1987
3256
  box-sizing: border-box;
1988
3257
  background: var(--vx-text-on-content-primary);
1989
3258
  border: 0.64px solid var(--vx-text-secondary);
1990
- border-radius: 0;
3259
+ border-radius: 50%;
1991
3260
  }
1992
3261
  .mt-crop-handle[data-corner=nw] {
1993
3262
  left: -14px;
@@ -2027,11 +3296,14 @@
2027
3296
  width: 100%;
2028
3297
  box-sizing: border-box;
2029
3298
  padding: 8px 10px;
2030
- border: 1px solid var(--vx-border-secondary);
3299
+ border: 0;
2031
3300
  border-radius: 6px;
2032
3301
  background: var(--vx-background-dialog);
2033
3302
  color: inherit;
2034
3303
  }
3304
+ .mt-fields select {
3305
+ border: 1px solid var(--vx-border-secondary);
3306
+ }
2035
3307
  .mt-root .mt-subtitle,
2036
3308
  .mt-root .mt-help {
2037
3309
  line-height: 1.5;
@@ -2063,8 +3335,8 @@
2063
3335
  .mt-compare-columns {
2064
3336
  display: grid;
2065
3337
  grid-template-rows: auto auto auto auto;
2066
- column-gap: 32px;
2067
- overflow-x: auto;
3338
+ column-gap: 16px;
3339
+ overflow-x: scroll;
2068
3340
  padding-bottom: 8px;
2069
3341
  }
2070
3342
  .mt-compare-column {
@@ -2080,7 +3352,7 @@
2080
3352
  content: "";
2081
3353
  position: absolute;
2082
3354
  inset-block: 0;
2083
- left: -16px;
3355
+ left: -8px;
2084
3356
  width: 1px;
2085
3357
  background: var(--vx-border-secondary);
2086
3358
  pointer-events: none;
@@ -2090,17 +3362,14 @@
2090
3362
  min-width: 0;
2091
3363
  overflow: hidden;
2092
3364
  border-radius: 12px;
2093
- background: var(--vx-surface-input);
3365
+ background: var(--vx-cover-background);
2094
3366
  }
2095
3367
  .mt-compare-preview :is(.mt-player, .vx-video-player) {
2096
3368
  height: 100%;
2097
- display: flex;
2098
- flex-direction: column;
2099
- background: var(--vx-surface-input);
3369
+ background: var(--vx-black-black);
2100
3370
  }
2101
3371
  .mt-compare-preview :is(.mt-player-fit, .vx-video-stage) {
2102
- height: 0;
2103
- flex: 1;
3372
+ height: 100%;
2104
3373
  min-height: 0;
2105
3374
  aspect-ratio: auto;
2106
3375
  }
@@ -2108,14 +3377,30 @@
2108
3377
  background: transparent;
2109
3378
  }
2110
3379
  .mt-compare-preview .vx-video-cover {
2111
- background: transparent;
3380
+ align-items: end;
3381
+ justify-items: end;
3382
+ padding: 20px;
2112
3383
  }
2113
- .mt-compare-preview .vx-video-cover > div {
3384
+ .mt-compare-preview .vx-video-cover > button {
3385
+ background: var(--vx-white-white);
3386
+ color: var(--vx-black-black);
3387
+ width: 36px;
3388
+ height: 36px;
3389
+ padding: 8px;
3390
+ }
3391
+ .mt-compare-preview .vx-video-player[data-state=cover] > .vx-playback-controls {
2114
3392
  display: none;
2115
3393
  }
2116
3394
  .mt-compare-preview .vx-playback-controls {
3395
+ color: var(--vx-text-on-content-primary);
3396
+ --vx-button-foreground: var(--vx-text-on-content-primary);
3397
+ background: linear-gradient(transparent, #000c);
2117
3398
  border-radius: 0;
2118
3399
  }
3400
+ .mt-compare-preview .vx-video-stage > video {
3401
+ background: var(--vx-black-black);
3402
+ object-fit: contain;
3403
+ }
2119
3404
  .mt-candidate-caption {
2120
3405
  display: grid;
2121
3406
  align-content: start;
@@ -2153,16 +3438,16 @@
2153
3438
  }
2154
3439
  .mt-candidate-context dl {
2155
3440
  display: grid;
2156
- grid-template-columns: auto minmax(0, 1fr);
2157
- gap: 12px 16px;
3441
+ grid-template-columns: 1fr;
3442
+ gap: 4px;
2158
3443
  margin: 0;
2159
- font-size: 13px;
3444
+ font-size: 14px;
2160
3445
  }
2161
3446
  .mt-candidate-context dt {
2162
3447
  color: var(--vx-text-secondary);
2163
3448
  }
2164
3449
  .mt-candidate-context dd {
2165
- margin: 0;
3450
+ margin: 0 0 8px;
2166
3451
  overflow-wrap: anywhere;
2167
3452
  }
2168
3453
  .mt-column-actions {
@@ -2171,6 +3456,13 @@
2171
3456
  flex-wrap: wrap;
2172
3457
  align-items: center;
2173
3458
  }
3459
+ .mt-compare-preview .mt-empty {
3460
+ gap: var(--vx-space-8);
3461
+ color: var(--vx-text-on-content-secondary);
3462
+ }
3463
+ .mt-compare-preview .mt-empty > p {
3464
+ margin: 0;
3465
+ }
2174
3466
  .mt-empty {
2175
3467
  padding: 30px 16px;
2176
3468
  text-align: center;
@@ -2240,3 +3532,158 @@
2240
3532
  flex: 1 0 auto;
2241
3533
  }
2242
3534
  }
3535
+
3536
+ /* packages/media-tools/src/ui/export-dialog.css */
3537
+ .vx-dialog.mt-export-dialog {
3538
+ box-sizing: border-box;
3539
+ width: min(1080px, calc(100% - 32px));
3540
+ max-width: none;
3541
+ max-height: calc(100dvh - 32px);
3542
+ padding: 24px;
3543
+ border: 1px solid var(--vx-surface-input);
3544
+ border-radius: 16px;
3545
+ box-shadow: 0 4px 20px rgb(0 0 0 / 8%);
3546
+ overflow: auto;
3547
+ }
3548
+ .vx-dialog.mt-export-dialog > header,
3549
+ .vx-dialog.mt-export-dialog > .vx-dialog-body,
3550
+ .vx-dialog.mt-export-dialog > footer {
3551
+ padding: 0;
3552
+ }
3553
+ .vx-dialog.mt-export-dialog > header {
3554
+ min-height: 23px;
3555
+ margin-bottom: 24px;
3556
+ }
3557
+ .vx-dialog.mt-export-dialog > header h2 {
3558
+ font: var(--vx-typography-inter-18-semi-bold);
3559
+ }
3560
+ .vx-dialog.mt-export-dialog > header .vx-button {
3561
+ position: absolute;
3562
+ top: 15px;
3563
+ right: 15px;
3564
+ }
3565
+ .vx-dialog.mt-export-dialog > footer {
3566
+ margin-top: 24px;
3567
+ padding-top: calc(24px + var(--vx-divider-width));
3568
+ box-shadow: inset 0 var(--vx-divider-width) var(--vx-border-secondary);
3569
+ }
3570
+ .vx-dialog.mt-export-dialog > footer .vx-button {
3571
+ height: 44px;
3572
+ padding-inline: 20px;
3573
+ border-radius: 8px;
3574
+ font: var(--vx-typography-inter-16-medium);
3575
+ }
3576
+ .vx-dialog.mt-export-dialog > footer .vx-button:first-child {
3577
+ inline-size: 101px;
3578
+ }
3579
+ .vx-dialog.mt-export-dialog > footer .vx-button:last-child {
3580
+ inline-size: 99px;
3581
+ }
3582
+ .mt-export-layout {
3583
+ display: grid;
3584
+ grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
3585
+ align-items: start;
3586
+ gap: 24px;
3587
+ }
3588
+ .mt-export-options {
3589
+ min-width: 0;
3590
+ display: grid;
3591
+ gap: 16px;
3592
+ padding-bottom: 3.5px;
3593
+ font: var(--vx-typography-inter-14-regular);
3594
+ }
3595
+ .mt-export-options .vx-field,
3596
+ .mt-export-options dl > div {
3597
+ display: grid;
3598
+ gap: 4px;
3599
+ color: var(--vx-text-secondary);
3600
+ }
3601
+ .mt-export-options .vx-field {
3602
+ padding-bottom: calc(16px + var(--vx-divider-width));
3603
+ box-shadow: inset 0 calc(-1 * var(--vx-divider-width)) var(--vx-border-secondary);
3604
+ font: var(--vx-typography-inter-14-regular);
3605
+ }
3606
+ .mt-export-options .vx-field input {
3607
+ box-sizing: border-box;
3608
+ width: 100%;
3609
+ padding: 7px 8px;
3610
+ margin: 0;
3611
+ border: 0;
3612
+ border-radius: 6px;
3613
+ background: var(--vx-surface-input);
3614
+ color: var(--vx-text-primary);
3615
+ font: var(--vx-typography-inter-14-regular);
3616
+ }
3617
+ .mt-export-options .vx-field > span {
3618
+ font: var(--vx-typography-inter-14-regular);
3619
+ }
3620
+ .mt-export-options dd {
3621
+ margin: 0;
3622
+ min-width: 0;
3623
+ }
3624
+ .mt-export-options .vx-dropdown-trigger {
3625
+ border-radius: 6px;
3626
+ padding-inline: 12px 8px;
3627
+ }
3628
+ .mt-export-options dl {
3629
+ display: grid;
3630
+ grid-template-columns: repeat(2, minmax(0, 1fr));
3631
+ gap: 16px 8px;
3632
+ margin: 0;
3633
+ }
3634
+ .mt-export-options dl > div:first-child,
3635
+ .mt-export-options dl > div:last-child {
3636
+ grid-column: 1/-1;
3637
+ }
3638
+ .mt-export-options dl > div:last-child {
3639
+ padding-top: calc(16px + var(--vx-divider-width));
3640
+ box-shadow: inset 0 var(--vx-divider-width) var(--vx-border-secondary);
3641
+ }
3642
+ .mt-export-status {
3643
+ display: flex;
3644
+ align-items: center;
3645
+ flex-wrap: wrap;
3646
+ gap: 8px;
3647
+ }
3648
+ .mt-export-error {
3649
+ margin: 0;
3650
+ color: var(--vx-state-danger);
3651
+ overflow-wrap: anywhere;
3652
+ }
3653
+ @media (max-width: 760px) {
3654
+ .vx-dialog.mt-export-dialog {
3655
+ padding: 16px;
3656
+ }
3657
+ .mt-export-layout {
3658
+ grid-template-columns: minmax(0, 1fr);
3659
+ gap: 16px;
3660
+ }
3661
+ }
3662
+ .mt-export-preview {
3663
+ min-width: 0;
3664
+ }
3665
+ .mt-export-preview .vx-playback-controls > span[aria-hidden=true] {
3666
+ display: none;
3667
+ }
3668
+ .mt-export-ratio-icon {
3669
+ display: inline-grid;
3670
+ place-items: center;
3671
+ flex: none;
3672
+ width: 14px;
3673
+ height: 14px;
3674
+ }
3675
+ .mt-export-ratio-icon > span {
3676
+ box-sizing: border-box;
3677
+ border: 1px solid currentColor;
3678
+ border-radius: 2px;
3679
+ }
3680
+ .mt-export-status {
3681
+ display: flex;
3682
+ flex-wrap: wrap;
3683
+ gap: 8px;
3684
+ align-items: end;
3685
+ margin-top: 12px;
3686
+ }
3687
+ .mt-export-notice {
3688
+ margin: 8px 0 0;
3689
+ }