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

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 (41) hide show
  1. package/README.md +22 -9
  2. package/dist/assets/add-circle-RPMXNTWW.svg +4 -0
  3. package/dist/assets/copy-document-EF4PHM7F.svg +10 -0
  4. package/dist/assets/crop-5JXWHIPN.svg +6 -0
  5. package/dist/assets/delete-4Y3OUMEL.svg +8 -0
  6. package/dist/assets/detail-E52XPONK.svg +4 -0
  7. package/dist/assets/download-VTKCEAZG.svg +6 -0
  8. package/dist/assets/edit-JUVJDD5A.svg +6 -0
  9. package/dist/assets/export-W2OBXZDQ.svg +6 -0
  10. package/dist/assets/favorite-6GMNHJCN.svg +5 -0
  11. package/dist/assets/favorite-filled-FR74TEBM.svg +3 -0
  12. package/dist/assets/filter-JSDZZVGN.svg +5 -0
  13. package/dist/assets/fullscreen-large-MPLIWDMI.svg +6 -0
  14. package/dist/assets/inria-serif-latin-400-italic-ZCFRMMVP.woff2 +0 -0
  15. package/dist/assets/inria-serif-latin-700-italic-UNRIXGAH.woff2 +0 -0
  16. package/dist/assets/inter-latin-700-normal-SU5XVJMF.woff2 +0 -0
  17. package/dist/assets/inter-latin-900-normal-FKACR3DR.woff2 +0 -0
  18. package/dist/assets/mute-large-LSZZ44HF.svg +6 -0
  19. package/dist/assets/pause-large-XEUBL4KC.svg +6 -0
  20. package/dist/assets/placeholder-audio-EJEBE7OB.svg +11 -0
  21. package/dist/assets/placeholder-image-NOVXFVRL.svg +10 -0
  22. package/dist/assets/placeholder-script-LR2GKWKS.svg +7 -0
  23. package/dist/assets/placeholder-video-ZFOYHYCR.svg +7 -0
  24. package/dist/assets/play-cover-WQLOHHPZ.svg +5 -0
  25. package/dist/assets/playback-play-YRMIX5W4.svg +5 -0
  26. package/dist/assets/playback-play-large-TM3QUJGG.svg +5 -0
  27. package/dist/assets/refresh-WQ3CTB57.svg +3 -0
  28. package/dist/assets/replace-PJXDOQDX.svg +3 -0
  29. package/dist/assets/{search-JUOSGQRM.svg → search-FMYQZJWA.svg} +1 -1
  30. package/dist/assets/select-items-GJZIVO37.svg +6 -0
  31. package/dist/assets/trim-LQMHHN2M.svg +9 -0
  32. package/dist/assets/upload-U5RZT5QI.svg +5 -0
  33. package/dist/assets/volume-large-QNULSJ2I.svg +6 -0
  34. package/dist/client.bundle.js +1356 -229
  35. package/dist/client.css +1592 -139
  36. package/dist/client.d.ts +1 -0
  37. package/dist/server.d.ts +2 -1
  38. package/dist/server.js +182 -41
  39. package/dist/shared.d.ts +155 -2
  40. package/dist/shared.js +60 -0
  41. 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,7 +462,13 @@
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 {
470
+ display: inline-flex;
471
+ align-items: center;
349
472
  margin-left: calc(var(--vx-button-trailing-gap) - var(--vx-button-gap));
350
473
  }
351
474
  .vx-button[data-width=full] {
@@ -361,6 +484,11 @@
361
484
  .vx-button[data-appearance=tonal] {
362
485
  --vx-button-background: var(--vx-surface-input);
363
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
+ }
364
492
  .vx-button[data-appearance=on-content] {
365
493
  --vx-button-background: var(--vx-overlay-tag);
366
494
  --vx-button-foreground: var(--vx-text-on-content-primary);
@@ -419,6 +547,19 @@
419
547
  .vx-button:active:not(:disabled) {
420
548
  filter: brightness(0.96);
421
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
+ }
422
563
  .vx-button:disabled {
423
564
  cursor: not-allowed;
424
565
  }
@@ -587,6 +728,15 @@
587
728
  background: var(--vx-checkbox-active);
588
729
  border-color: var(--vx-checkbox-active);
589
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
+ }
590
740
  .vx-checkbox-mark > .vx-icon {
591
741
  --vx-icon-size: var(--vx-icon-slot-small);
592
742
  }
@@ -629,9 +779,10 @@
629
779
  .vx-search-input[data-size=large]:has(.vx-search-clear) {
630
780
  padding-inline-end: var(--vx-space-8);
631
781
  }
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);
782
+ @media (forced-colors: active) {
783
+ .vx-search-input:has(input:focus-visible) {
784
+ outline: var(--vx-focus-ring-width) solid Highlight;
785
+ }
635
786
  }
636
787
  .vx-search-input:has(input:disabled) {
637
788
  opacity: 0.5;
@@ -639,9 +790,6 @@
639
790
  .vx-search-input:is(:hover, :focus-within):not(:has(input:disabled)) {
640
791
  background: var(--vx-surface-selected);
641
792
  }
642
- .vx-search-input > [data-icon=search] {
643
- transform: scaleY(-1);
644
- }
645
793
  .vx-search-input > input {
646
794
  appearance: none;
647
795
  flex: 1;
@@ -739,6 +887,42 @@
739
887
  color: var(--vx-text-placeholder);
740
888
  cursor: not-allowed;
741
889
  }
890
+ .vx-dropdown[data-appearance=field] {
891
+ width: 100%;
892
+ min-width: 0;
893
+ }
894
+ .vx-dropdown[data-appearance=field] .vx-dropdown-trigger {
895
+ padding: 0 var(--vx-space-10);
896
+ background: var(--vx-surface-input);
897
+ font: var(--vx-typography-inter-14-regular);
898
+ justify-content: space-between;
899
+ }
900
+ .vx-dropdown[data-text-size="12"] .vx-dropdown-trigger {
901
+ font: var(--vx-typography-inter-12-regular);
902
+ }
903
+ .vx-dropdown[data-appearance=field] .vx-dropdown-trigger:is(:hover:not(:disabled), :focus-visible, [aria-expanded=true]) {
904
+ background: var(--vx-surface-selected);
905
+ }
906
+ .vx-dropdown[data-appearance=heading] .vx-dropdown-trigger {
907
+ gap: var(--vx-space-4);
908
+ padding-inline: 0;
909
+ font: var(--vx-typography-inter-16-semi-bold);
910
+ }
911
+ .vx-dropdown[data-appearance=heading][data-width=hug] [role=listbox],
912
+ .vx-dropdown[data-floating=true] [role=listbox] {
913
+ box-sizing: border-box;
914
+ position: fixed;
915
+ inset: auto;
916
+ margin: 0;
917
+ }
918
+ .vx-dropdown[data-appearance=heading] .vx-dropdown-trigger:is(:hover, :focus-visible, [aria-expanded=true]),
919
+ .vx-dropdown[data-appearance=heading][data-width=hug] [role=option]:is([aria-selected=true], [data-active=true]):not(:hover) {
920
+ background: transparent;
921
+ }
922
+ .vx-dropdown[data-appearance=heading]:has(.vx-dropdown-trigger:focus-visible) [role=option][data-active=true] {
923
+ outline: var(--vx-focus-ring-width) solid var(--vx-state-assistance);
924
+ outline-offset: calc(-1 * var(--vx-focus-ring-width));
925
+ }
742
926
  .vx-dropdown-value {
743
927
  display: inline-flex;
744
928
  align-items: center;
@@ -756,7 +940,7 @@
756
940
  inset-inline: 0;
757
941
  margin: var(--vx-space-4) 0 0;
758
942
  max-height: min(15rem, 50vh);
759
- overflow: auto;
943
+ overflow: hidden auto;
760
944
  padding: var(--vx-space-4);
761
945
  border: var(--vx-border-width) solid var(--vx-border-secondary);
762
946
  border-radius: var(--vx-radius-xl);
@@ -774,6 +958,9 @@
774
958
  overflow-wrap: anywhere;
775
959
  cursor: pointer;
776
960
  }
961
+ .vx-dropdown [role=option] + [role=option] {
962
+ margin-block-start: var(--vx-space-2);
963
+ }
777
964
  .vx-dropdown [role=option][aria-selected=true] {
778
965
  font-weight: 600;
779
966
  }
@@ -812,17 +999,20 @@
812
999
  flex: none;
813
1000
  padding: var(--vx-space-16) 0 var(--vx-space-12);
814
1001
  border: 0;
815
- border-bottom: var(--vx-space-2) solid transparent;
816
1002
  background: transparent;
817
- color: var(--vx-text-secondary-readable);
1003
+ color: var(--vx-text-secondary);
818
1004
  font: var(--vx-typography-inter-16-semi-bold);
819
1005
  cursor: pointer;
820
1006
  white-space: nowrap;
821
1007
  }
822
1008
  .vx-tabs [role=tab][aria-selected=true] {
823
- border-color: var(--vx-state-success);
1009
+ padding-block-start: 18px;
1010
+ border-bottom: 2px solid var(--vx-state-success);
824
1011
  color: var(--vx-state-success);
825
1012
  }
1013
+ .vx-tabs [role=tab]:not([aria-selected=true], :disabled):hover {
1014
+ color: var(--vx-text-primary);
1015
+ }
826
1016
  .vx-tabs [role=tab]:disabled {
827
1017
  opacity: 0.5;
828
1018
  cursor: not-allowed;
@@ -852,6 +1042,7 @@
852
1042
  padding: var(--vx-space-2);
853
1043
  border-radius: var(--vx-radius-lg);
854
1044
  background: var(--vx-background-page);
1045
+ color: var(--vx-text-primary);
855
1046
  }
856
1047
  .vx-segment[data-size=large] {
857
1048
  height: var(--vx-segment-large-height);
@@ -933,9 +1124,156 @@
933
1124
  font: var(--vx-typography-inter-12-medium);
934
1125
  padding: 3px;
935
1126
  }
1127
+ @scope ([data-vx-theme]) {
1128
+ .vx-checkbox[data-appearance=outline] input:focus-visible + .vx-checkbox-mark {
1129
+ outline-color: var(--vx-state-assistance);
1130
+ }
1131
+ }
1132
+ @scope ([data-vx-theme]) {
1133
+ .vx-asset-library-toolbar {
1134
+ display: flex;
1135
+ align-items: center;
1136
+ gap: var(--vx-space-8);
1137
+ height: var(--vx-tabs-primary-height);
1138
+ flex-shrink: 0;
1139
+ padding-block: 0;
1140
+ padding-inline: var(--vx-space-16) var(--vx-space-12);
1141
+ border-bottom: var(--vx-divider-width) solid var(--vx-border-secondary);
1142
+ box-sizing: border-box;
1143
+ }
1144
+ .vx-asset-library-toolbar > :first-child {
1145
+ flex: 1;
1146
+ min-width: 0;
1147
+ }
1148
+ .vx-asset-library-controls {
1149
+ display: flex;
1150
+ flex: none;
1151
+ align-items: center;
1152
+ gap: var(--vx-space-8);
1153
+ max-width: 100%;
1154
+ }
1155
+ @media (max-width: 760px) {
1156
+ .vx-asset-library-toolbar,
1157
+ .vx-asset-library-controls {
1158
+ flex-wrap: wrap;
1159
+ }
1160
+ .vx-asset-library-toolbar {
1161
+ height: auto;
1162
+ padding-block: 0 var(--vx-space-8);
1163
+ }
1164
+ .vx-asset-library-toolbar > :first-child,
1165
+ .vx-asset-library-controls {
1166
+ flex-basis: 100%;
1167
+ }
1168
+ .vx-asset-library-controls {
1169
+ gap: 6px;
1170
+ }
1171
+ }
1172
+ .vx-asset-selection {
1173
+ display: flex;
1174
+ flex: 0 1 auto;
1175
+ max-width: 100%;
1176
+ align-items: center;
1177
+ flex-wrap: wrap;
1178
+ gap: var(--vx-space-8);
1179
+ }
1180
+ .vx-asset-selection > [role=status] {
1181
+ padding-inline: var(--vx-space-16);
1182
+ white-space: nowrap;
1183
+ color: var(--vx-text-primary);
1184
+ font: var(--vx-typography-inter-14-regular);
1185
+ }
1186
+ .vx-asset-selection > i {
1187
+ display: grid;
1188
+ place-items: center;
1189
+ width: 8px;
1190
+ height: 8px;
1191
+ }
1192
+ .vx-asset-selection > i::after {
1193
+ content: "";
1194
+ height: 8px;
1195
+ width: 1px;
1196
+ background: var(--vx-border-secondary);
1197
+ }
1198
+ .vx-asset-selection .vx-button-content {
1199
+ gap: 6px;
1200
+ }
1201
+ .vx-asset-selection .vx-icon {
1202
+ --vx-icon-size: 16px;
1203
+ }
1204
+ }
936
1205
 
937
1206
  /* packages/ui-system/dist/field.css */
938
1207
  @scope ([data-vx-theme]) {
1208
+ .vx-slider[data-appearance=neutral] {
1209
+ position: relative;
1210
+ }
1211
+ .vx-slider[data-appearance=neutral] > input {
1212
+ appearance: none;
1213
+ width: 100%;
1214
+ height: 16px;
1215
+ margin: 0;
1216
+ padding: 0;
1217
+ border-radius: var(--vx-radius-full);
1218
+ background:
1219
+ linear-gradient(
1220
+ to right,
1221
+ var(--vx-text-secondary) 0 var(--vx-slider-fill),
1222
+ var(--vx-surface-input) var(--vx-slider-fill) 100%);
1223
+ }
1224
+ .vx-slider[data-appearance=neutral] > input::-webkit-slider-thumb {
1225
+ appearance: none;
1226
+ width: 14px;
1227
+ height: 14px;
1228
+ background: var(--vx-background-dialog);
1229
+ border: 1px solid var(--vx-border-primary);
1230
+ border-radius: 50%;
1231
+ }
1232
+ .vx-slider[data-appearance=neutral] > input::-moz-range-thumb {
1233
+ width: 14px;
1234
+ height: 14px;
1235
+ background: var(--vx-background-dialog);
1236
+ border: 1px solid var(--vx-border-primary);
1237
+ border-radius: 50%;
1238
+ }
1239
+ .vx-slider-markers {
1240
+ position: absolute;
1241
+ left: 8px;
1242
+ right: 8px;
1243
+ bottom: 7px;
1244
+ height: 2px;
1245
+ pointer-events: none;
1246
+ }
1247
+ .vx-slider-markers > span {
1248
+ position: absolute;
1249
+ width: 2px;
1250
+ height: 2px;
1251
+ border-radius: 50%;
1252
+ background: var(--vx-text-secondary-readable);
1253
+ }
1254
+ :is(input, textarea, [contenteditable]:not([contenteditable=false]), [role=textbox]) {
1255
+ scrollbar-width: none;
1256
+ &::-webkit-scrollbar {
1257
+ display: none;
1258
+ }
1259
+ }
1260
+ :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) {
1261
+ border: 0;
1262
+ &:not([readonly], [type=search]) {
1263
+ font: var(--vx-typography-inter-16-regular) !important;
1264
+ }
1265
+ }
1266
+ :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 {
1267
+ outline: none;
1268
+ background-color: var(--vx-surface-selected);
1269
+ @media (forced-colors: active) {
1270
+ outline: var(--vx-focus-ring-width) solid Highlight;
1271
+ }
1272
+ }
1273
+ :where(input, textarea)::placeholder {
1274
+ color: var(--vx-text-secondary-readable);
1275
+ opacity: 1;
1276
+ }
939
1277
  .vx-field,
940
1278
  .vx-slider {
941
1279
  display: grid;
@@ -948,7 +1286,7 @@
948
1286
  width: 100%;
949
1287
  min-height: var(--vx-input-medium-height);
950
1288
  padding: var(--vx-space-4) var(--vx-space-8);
951
- border: var(--vx-border-width) solid var(--vx-control-border);
1289
+ border: 0;
952
1290
  border-radius: var(--vx-radius-md);
953
1291
  background: var(--vx-surface-input);
954
1292
  color: inherit;
@@ -957,6 +1295,9 @@
957
1295
  .vx-field[data-size=large] > input {
958
1296
  min-height: var(--vx-input-large-height);
959
1297
  }
1298
+ .vx-field[data-appearance=filled] > input {
1299
+ font: var(--vx-typography-inter-12-regular);
1300
+ }
960
1301
  .vx-date-picker {
961
1302
  display: inline-flex;
962
1303
  align-items: flex-start;
@@ -974,7 +1315,8 @@
974
1315
  box-sizing: border-box;
975
1316
  width: min(320px, calc(100vw - 16px));
976
1317
  max-height: calc(100dvh - 16px);
977
- overflow: auto;
1318
+ scrollbar-gutter: stable;
1319
+ overflow: scroll auto;
978
1320
  inset: auto;
979
1321
  position-area: bottom span-right;
980
1322
  position-try-fallbacks:
@@ -1042,7 +1384,6 @@
1042
1384
  cursor: not-allowed;
1043
1385
  opacity: 0.5;
1044
1386
  }
1045
- .vx-field > input:focus-visible,
1046
1387
  .vx-slider > input:focus-visible {
1047
1388
  outline: var(--vx-focus-ring-width) solid var(--vx-state-assistance);
1048
1389
  outline-offset: var(--vx-space-2);
@@ -1059,6 +1400,11 @@
1059
1400
  margin: 0;
1060
1401
  }
1061
1402
  }
1403
+ @scope ([data-vx-theme]) {
1404
+ .vx-slider[data-appearance=neutral] .vx-slider-heading {
1405
+ font: var(--vx-typography-inter-12-regular);
1406
+ }
1407
+ }
1062
1408
 
1063
1409
  /* packages/ui-system/dist/inline-text.css */
1064
1410
  @scope ([data-vx-theme]) {
@@ -1090,6 +1436,38 @@
1090
1436
 
1091
1437
  /* packages/ui-system/dist/media.css */
1092
1438
  @scope ([data-vx-theme]) {
1439
+ .vx-aspect-ratio-icon {
1440
+ display: inline-grid;
1441
+ place-items: center;
1442
+ flex: none;
1443
+ width: 14px;
1444
+ height: 14px;
1445
+ }
1446
+ .vx-aspect-ratio-icon > span {
1447
+ box-sizing: border-box;
1448
+ border: 1px solid currentColor;
1449
+ border-radius: 1.75px;
1450
+ }
1451
+ .vx-frame-filmstrip {
1452
+ position: absolute;
1453
+ inset: 0;
1454
+ display: flex;
1455
+ overflow: hidden;
1456
+ opacity: 0.6;
1457
+ }
1458
+ .vx-frame-filmstrip > img {
1459
+ min-width: 0;
1460
+ width: 0;
1461
+ flex: 1;
1462
+ object-fit: cover;
1463
+ }
1464
+ .vx-playback-controls[data-appearance=surface] {
1465
+ background: var(--vx-background-page);
1466
+ color: var(--vx-text-secondary-readable);
1467
+ }
1468
+ .vx-playback-controls[data-appearance=surface] > .vx-button {
1469
+ --vx-button-foreground: var(--vx-text-secondary-readable);
1470
+ }
1093
1471
  .vx-tag {
1094
1472
  display: inline-flex;
1095
1473
  align-items: center;
@@ -1098,11 +1476,11 @@
1098
1476
  border-radius: 3px;
1099
1477
  background: var(--vx-overlay-tag);
1100
1478
  color: var(--vx-text-on-content-primary);
1101
- font: 600 10px / 14px var(--vx-font-inter);
1479
+ font: var(--vx-typography-inter-10-semi-bold);
1102
1480
  white-space: nowrap;
1103
1481
  }
1104
1482
  .vx-tag[data-variant=selected] {
1105
- background: var(--vx-state-success);
1483
+ background: var(--vx-media-selection-color);
1106
1484
  }
1107
1485
  .vx-tag[data-variant=subtle] {
1108
1486
  background: var(--vx-surface-message);
@@ -1113,6 +1491,7 @@
1113
1491
  color: var(--vx-text-primary);
1114
1492
  }
1115
1493
  .vx-media {
1494
+ isolation: isolate;
1116
1495
  position: relative;
1117
1496
  display: grid;
1118
1497
  place-items: center;
@@ -1123,14 +1502,10 @@
1123
1502
  padding: 0;
1124
1503
  border: 0;
1125
1504
  border-radius: var(--vx-radius-lg);
1126
- background: #000;
1505
+ background: var(--vx-cover-background);
1127
1506
  color: var(--vx-text-on-content-primary);
1128
1507
  font: inherit;
1129
1508
  }
1130
- .vx-media:is([data-empty=surface], [data-empty=audio]) {
1131
- background: var(--vx-surface-input);
1132
- color: var(--vx-text-primary);
1133
- }
1134
1509
  button.vx-media {
1135
1510
  cursor: pointer;
1136
1511
  }
@@ -1153,19 +1528,20 @@
1153
1528
  pointer-events: none;
1154
1529
  }
1155
1530
  .vx-media-empty-label {
1156
- color: var(--vx-text-secondary-readable);
1531
+ color: var(--vx-text-on-content-secondary);
1157
1532
  font: var(--vx-typography-inter-12-regular);
1158
1533
  padding: var(--vx-space-8);
1159
1534
  }
1160
1535
  .vx-media[data-state=selected][data-selection=outline]::after {
1161
1536
  position: absolute;
1537
+ z-index: 2;
1162
1538
  inset: 0;
1163
- border: 3px solid var(--vx-state-success);
1539
+ border: 3px solid var(--vx-media-selection-color);
1164
1540
  border-radius: inherit;
1165
1541
  content: "";
1166
1542
  pointer-events: none;
1167
1543
  }
1168
- .vx-media > :is(.vx-media-label, .vx-media-duration, .vx-media-selected, .vx-media-marker) {
1544
+ :is(.vx-media, .vx-media-badge-host) > :is(.vx-media-label, .vx-media-duration, .vx-media-selected, .vx-media-marker) {
1169
1545
  position: absolute;
1170
1546
  z-index: 1;
1171
1547
  }
@@ -1176,7 +1552,8 @@
1176
1552
  inset: auto var(--vx-space-8) var(--vx-space-8) auto;
1177
1553
  }
1178
1554
  .vx-media-selected {
1179
- inset: var(--vx-space-8) auto auto var(--vx-space-8);
1555
+ display: flex;
1556
+ inset: 5px auto auto 5px;
1180
1557
  }
1181
1558
  .vx-media-marker {
1182
1559
  inset: var(--vx-space-8) var(--vx-space-8) auto auto;
@@ -1259,27 +1636,114 @@
1259
1636
  color: var(--vx-text-secondary);
1260
1637
  }
1261
1638
  .vx-playback-controls {
1639
+ --vx-playback-button-size: 20px;
1640
+ --vx-playback-thumb-size: 8px;
1641
+ --vx-playback-track-height: 4px;
1642
+ --vx-playback-played: var(--vx-white-white-7a);
1643
+ height: 44px;
1262
1644
  min-height: 44px;
1645
+ padding: var(--vx-space-12);
1646
+ gap: var(--vx-space-12);
1647
+ background: linear-gradient(transparent, var(--vx-black-black-2a));
1648
+ color: var(--vx-text-on-content-primary);
1263
1649
  }
1264
1650
  .vx-playback-controls[data-size=large] {
1651
+ --vx-playback-button-size: 24px;
1652
+ --vx-playback-thumb-size: 12px;
1653
+ height: 48px;
1265
1654
  min-height: 48px;
1266
1655
  }
1267
- .vx-playback-controls > input {
1656
+ .vx-playback-controls > .vx-button {
1657
+ --vx-button-icon-size: var(--vx-playback-button-size);
1658
+ width: var(--vx-playback-button-size);
1659
+ height: var(--vx-playback-button-size);
1660
+ color: inherit;
1661
+ }
1662
+ .vx-playback-controls > .vx-button[data-shape=icon]:hover:not(:disabled) {
1663
+ --vx-button-background: var(--vx-white-white-1a);
1664
+ }
1665
+ .vx-playback-controls .vx-playback-range {
1666
+ --vx-playback-progress: calc( var(--vx-playback-thumb-size) / 2 + (100% - var(--vx-playback-thumb-size)) * var(--vx-playback-fraction) );
1667
+ appearance: none;
1268
1668
  flex: 1;
1669
+ min-width: 0;
1670
+ height: 24px;
1671
+ margin: 0;
1672
+ padding: 0;
1673
+ background: transparent;
1674
+ cursor: pointer;
1675
+ }
1676
+ .vx-playback-controls .vx-playback-range::-webkit-slider-runnable-track {
1677
+ height: var(--vx-playback-track-height);
1678
+ border-radius: var(--vx-radius-full);
1679
+ background:
1680
+ linear-gradient(
1681
+ to right,
1682
+ var(--vx-playback-played) var(--vx-playback-progress),
1683
+ var(--vx-overlay-tag) var(--vx-playback-progress));
1684
+ }
1685
+ .vx-playback-controls .vx-playback-range::-webkit-slider-thumb {
1686
+ margin-top: calc((var(--vx-playback-track-height) - var(--vx-playback-thumb-size)) / 2);
1687
+ appearance: none;
1688
+ box-sizing: border-box;
1689
+ width: var(--vx-playback-thumb-size);
1690
+ height: var(--vx-playback-thumb-size);
1691
+ border: var(--vx-playback-thumb-border, 0);
1692
+ border-radius: 50%;
1693
+ background: var(--vx-white-white);
1694
+ box-shadow: var(--vx-playback-thumb-shadow, none);
1695
+ }
1696
+ .vx-playback-controls .vx-playback-range::-moz-range-track {
1697
+ height: var(--vx-playback-track-height);
1698
+ border-radius: var(--vx-radius-full);
1699
+ background: var(--vx-overlay-tag);
1700
+ }
1701
+ .vx-playback-controls .vx-playback-range::-moz-range-progress {
1702
+ height: var(--vx-playback-track-height);
1703
+ border-radius: var(--vx-radius-full);
1704
+ background: var(--vx-playback-played);
1705
+ }
1706
+ .vx-playback-controls .vx-playback-range::-moz-range-thumb {
1707
+ box-sizing: border-box;
1708
+ width: var(--vx-playback-thumb-size);
1709
+ height: var(--vx-playback-thumb-size);
1710
+ border: var(--vx-playback-thumb-border, 0);
1711
+ border-radius: 50%;
1712
+ background: var(--vx-white-white);
1713
+ box-shadow: var(--vx-playback-thumb-shadow, none);
1269
1714
  }
1270
1715
  .vx-playback-controls > span {
1271
1716
  white-space: nowrap;
1272
1717
  font: var(--vx-typography-inter-12-medium);
1718
+ font-variant-numeric: tabular-nums;
1273
1719
  }
1274
1720
  .vx-video-player {
1721
+ container: vx-video-player / inline-size;
1275
1722
  position: relative;
1276
1723
  min-width: 0;
1277
- background: #000;
1278
- border-radius: var(--vx-radius-lg);
1724
+ overflow: hidden;
1725
+ background: var(--vx-cover-background);
1726
+ border-radius: var(--vx-radius-xl);
1727
+ }
1728
+ .vx-video-player[data-fit=content]:not(:fullscreen) {
1729
+ width: min(100cqw, calc(100cqh * var(--vx-video-ratio)));
1730
+ }
1731
+ .vx-video-player[data-fit=content] .vx-video-stage {
1732
+ aspect-ratio: var(--vx-video-ratio);
1733
+ }
1734
+ .vx-video-player[data-fit=content]:fullscreen .vx-video-stage {
1735
+ aspect-ratio: auto;
1736
+ height: 100%;
1737
+ }
1738
+ .vx-video-player[data-fit=content]:fullscreen {
1739
+ display: block;
1740
+ }
1741
+ .vx-video-player[data-placement=below] > .vx-playback-controls {
1742
+ border-radius: 0;
1279
1743
  }
1280
1744
  .vx-video-stage {
1281
1745
  position: relative;
1282
- aspect-ratio: 16 / 9;
1746
+ aspect-ratio: var(--vx-video-ratio, 16 / 9);
1283
1747
  overflow: hidden;
1284
1748
  }
1285
1749
  .vx-video-player:fullscreen {
@@ -1289,32 +1753,118 @@
1289
1753
  .vx-video-player:fullscreen .vx-video-stage {
1290
1754
  max-height: 100dvh;
1291
1755
  }
1756
+ .vx-dialog.vx-video-dialog {
1757
+ width: min(960px, calc(100vw - 32px));
1758
+ margin: var(--vx-space-16) auto;
1759
+ }
1760
+ .vx-video-dialog .vx-video-stage {
1761
+ width: 100%;
1762
+ max-height: min(480px, calc(100dvh - 192px));
1763
+ }
1292
1764
  .vx-video-cover {
1293
1765
  position: absolute;
1294
- inset: 0;
1295
- display: grid;
1296
- place-items: center;
1766
+ inset: auto 0 0;
1767
+ display: flex;
1768
+ align-items: flex-end;
1769
+ gap: var(--vx-space-16);
1770
+ min-height: 68px;
1771
+ padding: var(--vx-space-20);
1297
1772
  color: var(--vx-text-on-content-primary);
1298
- background: linear-gradient(var(--vx-black-black-4a), transparent 40%);
1299
1773
  }
1300
- .vx-video-cover > div {
1774
+ .vx-video-cover {
1775
+ isolation: isolate;
1776
+ }
1777
+ .vx-video-cover::before {
1778
+ z-index: -1;
1301
1779
  position: absolute;
1302
- inset: var(--vx-space-12) var(--vx-space-12) auto;
1780
+ inset: 0;
1781
+ background:
1782
+ linear-gradient(
1783
+ 180deg,
1784
+ rgb(0 0 0 / 0%) 0%,
1785
+ rgb(0 0 0 / 60%) 100%);
1786
+ content: "";
1787
+ pointer-events: none;
1788
+ }
1789
+ .vx-video-cover[data-plain]::before {
1790
+ content: none;
1791
+ }
1792
+ .vx-video-info {
1793
+ position: relative;
1794
+ flex: 1;
1795
+ min-width: 0;
1796
+ }
1797
+ .vx-video-title {
1798
+ display: flex;
1799
+ align-items: center;
1800
+ gap: var(--vx-space-8);
1801
+ }
1802
+ .vx-video-title strong {
1803
+ overflow: hidden;
1804
+ text-overflow: ellipsis;
1805
+ white-space: nowrap;
1806
+ font: var(--vx-typography-inter-18-bold);
1807
+ }
1808
+ .vx-video-meta {
1303
1809
  display: flex;
1304
- flex-wrap: wrap;
1305
1810
  align-items: center;
1306
1811
  gap: var(--vx-space-4);
1812
+ margin-top: var(--vx-space-4);
1813
+ color: var(--vx-text-on-content-secondary);
1814
+ font: var(--vx-typography-inter-14-regular);
1815
+ }
1816
+ .vx-video-meta > span {
1817
+ min-width: 0;
1818
+ overflow: hidden;
1819
+ text-overflow: ellipsis;
1820
+ white-space: nowrap;
1821
+ }
1822
+ .vx-video-player .vx-video-start {
1823
+ --vx-button-background: var(--vx-text-on-content-primary);
1824
+ --vx-button-foreground: var(--vx-text-subtle-black);
1825
+ --vx-button-icon-size: 20px;
1826
+ position: relative;
1827
+ width: 36px;
1828
+ height: 36px;
1829
+ padding-left: 3px;
1307
1830
  }
1308
1831
  .vx-video-player[data-placement=overlay] > .vx-playback-controls {
1309
1832
  position: absolute;
1310
- inset: auto var(--vx-space-8) var(--vx-space-8);
1833
+ inset: auto 0 0;
1834
+ border-radius: 0;
1835
+ }
1836
+ @container vx-video-player (max-width: 336px) {
1837
+ .vx-video-meta {
1838
+ flex-direction: column;
1839
+ align-items: flex-start;
1840
+ gap: 0;
1841
+ }
1842
+ .vx-video-meta > [aria-hidden] {
1843
+ display: none;
1844
+ }
1845
+ }
1846
+ @media (max-width: 480px) {
1847
+ .vx-video-cover {
1848
+ padding: var(--vx-space-12);
1849
+ gap: var(--vx-space-8);
1850
+ }
1851
+ .vx-video-title {
1852
+ flex-wrap: wrap;
1853
+ gap: var(--vx-space-4);
1854
+ }
1855
+ .vx-video-title strong {
1856
+ font: var(--vx-typography-inter-14-semi-bold);
1857
+ }
1858
+ .vx-video-meta {
1859
+ font: var(--vx-typography-inter-10-regular);
1860
+ }
1311
1861
  }
1312
1862
  .vx-frame-range {
1313
1863
  position: relative;
1314
1864
  min-height: 80px;
1315
1865
  margin-inline: var(--vx-space-8);
1316
- border-radius: var(--vx-radius-md);
1317
- background: var(--vx-surface-input);
1866
+ border-radius: var(--vx-radius-lg);
1867
+ background: var(--vx-black-black);
1318
1868
  }
1319
1869
  .vx-frame-range[data-variant=trim] {
1320
1870
  min-height: 48px;
@@ -1368,6 +1918,340 @@
1368
1918
  content: "";
1369
1919
  }
1370
1920
  }
1921
+ @scope ([data-vx-theme]) {
1922
+ .vx-media:is([data-empty=surface], [data-empty=image], [data-empty=video], [data-empty=audio], [data-empty=script]) {
1923
+ background: var(--vx-surface-input);
1924
+ color: var(--vx-text-placeholder);
1925
+ }
1926
+ }
1927
+ @scope ([data-vx-theme]) {
1928
+ .vx-cover-preview[data-cover-state=empty] {
1929
+ background: var(--vx-surface-input);
1930
+ }
1931
+ .vx-cover-preview[data-cover-state=empty] > .vx-icon {
1932
+ color: var(--vx-text-placeholder);
1933
+ }
1934
+ .vx-cover-preview[data-cover-state=loading] {
1935
+ position: relative;
1936
+ overflow: hidden;
1937
+ background: var(--vx-surface-input);
1938
+ }
1939
+ .vx-cover-preview[data-cover-state=loading] > :is(img, video) {
1940
+ opacity: 0;
1941
+ }
1942
+ .vx-cover-preview[data-cover-state=loading]::after {
1943
+ content: "";
1944
+ position: absolute;
1945
+ inset: 0;
1946
+ pointer-events: none;
1947
+ background:
1948
+ linear-gradient(
1949
+ 105deg,
1950
+ transparent 20%,
1951
+ light-dark(var(--vx-white-white), color-mix(in srgb, var(--vx-white-white) 14%, transparent)) 50%,
1952
+ transparent 80%);
1953
+ animation: vx-cover-sweep 1.35s ease-in-out infinite;
1954
+ }
1955
+ @media (prefers-reduced-motion: reduce) {
1956
+ .vx-cover-preview[data-cover-state=loading]::after {
1957
+ animation: none;
1958
+ content: none;
1959
+ }
1960
+ }
1961
+ }
1962
+ @keyframes vx-cover-sweep {
1963
+ from {
1964
+ transform: translateX(-100%);
1965
+ }
1966
+ to {
1967
+ transform: translateX(100%);
1968
+ }
1969
+ }
1970
+ @scope ([data-vx-theme]) {
1971
+ .vx-frame-filmstrip {
1972
+ border-radius: inherit;
1973
+ }
1974
+ .vx-frame-range[data-variant=trim] {
1975
+ --vx-state-success: var(--vx-media-selection-color);
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;
1457
2395
  }
1458
- .vx-filter-menu > .vx-button {
1459
- margin-top: var(--vx-space-8);
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;
2405
+ }
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;
@@ -1490,43 +2487,166 @@
1490
2487
  .vx-annotation-tools[role=toolbar] .vx-button:disabled {
1491
2488
  color: var(--vx-text-placeholder);
1492
2489
  }
1493
- .vx-annotation-tools[role=toolbar] .vx-button:focus-visible {
1494
- outline-offset: -2px;
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);
1495
2579
  }
1496
- .vx-annotation-tools[role=toolbar] .vx-button[aria-pressed=true]:focus-visible {
1497
- outline-color: var(--vx-text-on-content-primary);
2580
+ .vx-dialog[data-variant=create-project] .vx-field {
2581
+ gap: var(--vx-space-8);
1498
2582
  }
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);
2583
+ .vx-dialog[data-variant=create-project] .vx-field > span {
2584
+ color: var(--vx-text-secondary);
2585
+ font: var(--vx-typography-inter-14-regular);
1509
2586
  }
1510
- .vx-dialog::backdrop {
1511
- background: var(--vx-black-black-4a);
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);
1512
2594
  }
1513
- .vx-dialog > :is(header, footer),
1514
- .vx-dialog-body {
1515
- padding: var(--vx-space-16);
2595
+ .vx-dialog[data-variant=create-project] .vx-field > input::placeholder {
2596
+ color: var(--vx-text-secondary);
2597
+ opacity: 1;
1516
2598
  }
1517
- .vx-dialog > :is(header, footer) {
2599
+ .vx-dialog[data-variant=create-project] .vx-segment {
2600
+ background: var(--vx-surface-input);
2601
+ }
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,21 @@
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
+ }
2715
+ .vx-icon[data-icon=replace] {
2716
+ --vx-icon-mask: url("./assets/replace-PJXDOQDX.svg");
2717
+ }
2718
+ .vx-icon[data-icon=add-circle] {
2719
+ --vx-icon-mask: url("./assets/add-circle-RPMXNTWW.svg");
2720
+ }
1571
2721
  .vx-icon[data-icon=add] {
1572
2722
  --vx-icon-mask: url("./assets/add-JY533O73.svg");
1573
2723
  }
@@ -1602,7 +2752,7 @@
1602
2752
  --vx-icon-height: 75.02%;
1603
2753
  }
1604
2754
  .vx-icon[data-icon=search] {
1605
- --vx-icon-mask: url("./assets/search-JUOSGQRM.svg");
2755
+ --vx-icon-mask: url("./assets/search-FMYQZJWA.svg");
1606
2756
  --vx-icon-width: 82.5%;
1607
2757
  --vx-icon-height: 82.5%;
1608
2758
  }
@@ -1621,9 +2771,18 @@
1621
2771
  --vx-icon-height: 86.46%;
1622
2772
  --vx-icon-mask: url("./assets/magic-OMME7FOV.svg");
1623
2773
  }
2774
+ .vx-icon[data-icon=select-items] {
2775
+ --vx-icon-mask: url("./assets/select-items-GJZIVO37.svg");
2776
+ }
2777
+ .vx-icon[data-icon=filter] {
2778
+ --vx-icon-mask: url("./assets/filter-JSDZZVGN.svg");
2779
+ }
1624
2780
  .vx-icon[data-icon=select] {
1625
2781
  --vx-icon-mask: url("./assets/select-VU7WR7B4.svg");
1626
2782
  }
2783
+ .vx-icon[data-icon=filter] {
2784
+ --vx-icon-mask: url("./assets/filter-JSDZZVGN.svg");
2785
+ }
1627
2786
  .vx-icon[data-icon=area] {
1628
2787
  --vx-icon-mask: url("./assets/area-P2WOMBT5.svg");
1629
2788
  }
@@ -1661,6 +2820,72 @@
1661
2820
  --vx-icon-mask: url("./assets/chevron-left-JQCLK2WZ.svg");
1662
2821
  }
1663
2822
  }
2823
+ @scope ([data-vx-theme]) {
2824
+ .vx-icon[data-icon=placeholder-image] {
2825
+ --vx-icon-mask: url("./assets/placeholder-image-NOVXFVRL.svg");
2826
+ }
2827
+ .vx-icon[data-icon=placeholder-video] {
2828
+ --vx-icon-mask: url("./assets/placeholder-video-ZFOYHYCR.svg");
2829
+ }
2830
+ .vx-icon[data-icon=placeholder-audio] {
2831
+ --vx-icon-mask: url("./assets/placeholder-audio-EJEBE7OB.svg");
2832
+ }
2833
+ .vx-icon[data-icon=placeholder-script] {
2834
+ --vx-icon-mask: url("./assets/placeholder-script-LR2GKWKS.svg");
2835
+ }
2836
+ }
2837
+ @scope ([data-vx-theme]) {
2838
+ .vx-icon[data-icon=detail] {
2839
+ --vx-icon-mask: url("./assets/detail-E52XPONK.svg");
2840
+ }
2841
+ .vx-icon[data-icon=export] {
2842
+ --vx-icon-mask: url("./assets/export-W2OBXZDQ.svg");
2843
+ }
2844
+ .vx-icon[data-icon=favorite] {
2845
+ --vx-icon-mask: url("./assets/favorite-6GMNHJCN.svg");
2846
+ }
2847
+ [aria-pressed=true] .vx-icon[data-icon=favorite] {
2848
+ --vx-icon-mask: url("./assets/favorite-filled-FR74TEBM.svg");
2849
+ }
2850
+ .vx-icon[data-icon=download] {
2851
+ --vx-icon-mask: url("./assets/download-VTKCEAZG.svg");
2852
+ }
2853
+ .vx-icon[data-icon=delete] {
2854
+ --vx-icon-mask: url("./assets/delete-4Y3OUMEL.svg");
2855
+ }
2856
+ .vx-icon[data-icon=trim] {
2857
+ --vx-icon-mask: url("./assets/trim-LQMHHN2M.svg");
2858
+ }
2859
+ .vx-icon[data-icon=crop] {
2860
+ --vx-icon-mask: url("./assets/crop-5JXWHIPN.svg");
2861
+ }
2862
+ .vx-icon[data-icon=edit] {
2863
+ --vx-icon-mask: url("./assets/edit-JUVJDD5A.svg");
2864
+ }
2865
+ }
2866
+ @scope ([data-vx-theme]) {
2867
+ .vx-icon[data-icon=play-cover] {
2868
+ --vx-icon-mask: url("./assets/play-cover-WQLOHHPZ.svg");
2869
+ }
2870
+ .vx-icon[data-icon=playback-play] {
2871
+ --vx-icon-mask: url("./assets/playback-play-YRMIX5W4.svg");
2872
+ }
2873
+ .vx-icon[data-icon=playback-play-large] {
2874
+ --vx-icon-mask: url("./assets/playback-play-large-TM3QUJGG.svg");
2875
+ }
2876
+ .vx-icon[data-icon=pause-large] {
2877
+ --vx-icon-mask: url("./assets/pause-large-XEUBL4KC.svg");
2878
+ }
2879
+ .vx-icon[data-icon=volume-large] {
2880
+ --vx-icon-mask: url("./assets/volume-large-QNULSJ2I.svg");
2881
+ }
2882
+ .vx-icon[data-icon=mute-large] {
2883
+ --vx-icon-mask: url("./assets/mute-large-LSZZ44HF.svg");
2884
+ }
2885
+ .vx-icon[data-icon=fullscreen-large] {
2886
+ --vx-icon-mask: url("./assets/fullscreen-large-MPLIWDMI.svg");
2887
+ }
2888
+ }
1664
2889
 
1665
2890
  /* packages/media-tools/src/ui/styles.css */
1666
2891
  .mt-root {
@@ -1690,16 +2915,18 @@
1690
2915
  }
1691
2916
  .mt-editor .vx-dialog > header {
1692
2917
  height: auto;
2918
+ min-height: 0;
1693
2919
  border: 0;
1694
2920
  padding: 24px 24px 0;
1695
2921
  margin-bottom: 24px;
1696
2922
  }
1697
2923
  .mt-editor .vx-dialog > header h2 {
1698
- font: 600 22px / 1.2 var(--vx-font-inter);
2924
+ font: var(--vx-typography-inter-18-semi-bold);
1699
2925
  }
1700
2926
  .mt-editor .vx-dialog > header > button {
1701
- align-self: start;
1702
- margin: -8px -8px 0 0;
2927
+ position: absolute;
2928
+ inset: 15px 15px auto auto;
2929
+ margin: 0;
1703
2930
  }
1704
2931
  .mt-editor .vx-dialog-body {
1705
2932
  padding: 0 24px;
@@ -1707,19 +2934,36 @@
1707
2934
  .mt-editor .vx-dialog > footer {
1708
2935
  padding: 32px 24px 24px;
1709
2936
  }
1710
- .mt-editor[data-mode=crop] .vx-dialog[open] {
2937
+ .mt-editor .vx-dialog[open] {
1711
2938
  display: flex;
1712
2939
  flex-direction: column;
1713
2940
  overflow: hidden;
1714
2941
  }
1715
- .mt-editor[data-mode=crop] .vx-dialog > :is(header, footer) {
2942
+ .mt-editor .vx-dialog > :is(header, footer) {
1716
2943
  flex-shrink: 0;
1717
2944
  }
1718
- .mt-editor[data-mode=crop] .vx-dialog-body {
2945
+ .mt-editor .vx-dialog-body {
1719
2946
  min-height: 0;
1720
- overflow: auto;
1721
- padding-block: 16px;
1722
- margin-block: -16px;
2947
+ overflow-x: hidden;
2948
+ overflow-y: auto;
2949
+ }
2950
+ .mt-editor-content {
2951
+ display: flex;
2952
+ flex-direction: column;
2953
+ gap: var(--vx-space-16);
2954
+ }
2955
+ .mt-editor-content .vx-playback-controls > span {
2956
+ display: none;
2957
+ }
2958
+ .mt-editor-content .vx-frame-selection .vx-tag {
2959
+ font: var(--vx-typography-inter-12-medium);
2960
+ font-variant-numeric: tabular-nums;
2961
+ }
2962
+ .mt-editor-content > * {
2963
+ flex-shrink: 0;
2964
+ }
2965
+ .mt-editor-content > p {
2966
+ margin: 0;
1723
2967
  }
1724
2968
  .mt-editor-actions {
1725
2969
  display: flex;
@@ -1738,13 +2982,14 @@
1738
2982
  gap: 8px;
1739
2983
  }
1740
2984
  .mt-editor .mt-editor-hint {
1741
- line-height: 1.5;
2985
+ font: var(--vx-typography-inter-14-regular);
1742
2986
  display: flex;
1743
2987
  justify-content: space-between;
1744
2988
  gap: 8px;
1745
2989
  color: var(--vx-text-secondary);
1746
2990
  font-size: 14px;
1747
- margin: 16px 0;
2991
+ margin: 0;
2992
+ flex-wrap: wrap;
1748
2993
  }
1749
2994
  .mt-editor-hint > [role=status] {
1750
2995
  white-space: nowrap;
@@ -1788,9 +3033,9 @@
1788
3033
  background:
1789
3034
  linear-gradient(
1790
3035
  to right,
1791
- var(--vx-white-white-6a) 0 var(--vx-range-start),
3036
+ var(--vx-black-black-4a) 0 var(--vx-range-start),
1792
3037
  transparent var(--vx-range-start) var(--vx-range-end),
1793
- var(--vx-white-white-6a) var(--vx-range-end) 100%);
3038
+ var(--vx-black-black-4a) var(--vx-range-end) 100%);
1794
3039
  }
1795
3040
  .mt-editor .vx-frame-range[data-variant=trim] {
1796
3041
  border-radius: 8px;
@@ -1823,6 +3068,18 @@
1823
3068
  border-radius: 1.822px;
1824
3069
  background: var(--vx-green-dark);
1825
3070
  }
3071
+ .mt-editor .vx-frame-handle:focus-visible {
3072
+ outline: none;
3073
+ }
3074
+ .mt-editor .vx-frame-handle:focus-visible::after {
3075
+ outline: var(--vx-focus-ring-width) solid var(--vx-state-assistance);
3076
+ outline-offset: 2px;
3077
+ }
3078
+ @media (forced-colors: active) {
3079
+ .mt-editor .vx-frame-handle:focus-visible::after {
3080
+ outline-color: Highlight;
3081
+ }
3082
+ }
1826
3083
  .mt-editor .vx-frame-handle::before {
1827
3084
  content: "";
1828
3085
  position: absolute;
@@ -1835,18 +3092,6 @@
1835
3092
  border-radius: 0.911px;
1836
3093
  background: var(--vx-text-on-content-primary);
1837
3094
  }
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
3095
  .mt-player {
1851
3096
  position: relative;
1852
3097
  background: #000;
@@ -1918,6 +3163,36 @@
1918
3163
  .mt-editor[data-mode=crop] .mt-picture {
1919
3164
  overflow: visible;
1920
3165
  }
3166
+ .mt-editor[data-mode=crop] .mt-editor-content {
3167
+ container-type: inline-size;
3168
+ }
3169
+ .mt-editor[data-mode=crop] .mt-player:not(:fullscreen) {
3170
+ height: 56.25cqw;
3171
+ }
3172
+ .mt-editor[data-mode=crop] .mt-player > .vx-playback-controls {
3173
+ flex: 0 0 44px;
3174
+ width: 100%;
3175
+ }
3176
+ .mt-editor[data-mode=crop] .vx-segment {
3177
+ background: var(--vx-surface-input);
3178
+ scrollbar-width: none;
3179
+ }
3180
+ .mt-editor[data-mode=crop] .vx-segment > label {
3181
+ flex: 1 0 0;
3182
+ min-width: 0;
3183
+ }
3184
+ .mt-editor[data-mode=crop] .vx-segment-item {
3185
+ min-width: max-content;
3186
+ padding-inline: 6px;
3187
+ }
3188
+ .mt-editor .mt-editor-confirm .vx-button {
3189
+ font: var(--vx-typography-inter-16-medium);
3190
+ }
3191
+ @media (max-width: 560px) {
3192
+ .mt-editor[data-mode=crop] .vx-segment > label {
3193
+ flex: 1 0 auto;
3194
+ }
3195
+ }
1921
3196
  .mt-crop-shade {
1922
3197
  position: absolute;
1923
3198
  inset: 0;
@@ -1987,7 +3262,7 @@
1987
3262
  box-sizing: border-box;
1988
3263
  background: var(--vx-text-on-content-primary);
1989
3264
  border: 0.64px solid var(--vx-text-secondary);
1990
- border-radius: 0;
3265
+ border-radius: 50%;
1991
3266
  }
1992
3267
  .mt-crop-handle[data-corner=nw] {
1993
3268
  left: -14px;
@@ -2027,11 +3302,14 @@
2027
3302
  width: 100%;
2028
3303
  box-sizing: border-box;
2029
3304
  padding: 8px 10px;
2030
- border: 1px solid var(--vx-border-secondary);
3305
+ border: 0;
2031
3306
  border-radius: 6px;
2032
3307
  background: var(--vx-background-dialog);
2033
3308
  color: inherit;
2034
3309
  }
3310
+ .mt-fields select {
3311
+ border: 1px solid var(--vx-border-secondary);
3312
+ }
2035
3313
  .mt-root .mt-subtitle,
2036
3314
  .mt-root .mt-help {
2037
3315
  line-height: 1.5;
@@ -2063,8 +3341,8 @@
2063
3341
  .mt-compare-columns {
2064
3342
  display: grid;
2065
3343
  grid-template-rows: auto auto auto auto;
2066
- column-gap: 32px;
2067
- overflow-x: auto;
3344
+ column-gap: 16px;
3345
+ overflow-x: scroll;
2068
3346
  padding-bottom: 8px;
2069
3347
  }
2070
3348
  .mt-compare-column {
@@ -2080,7 +3358,7 @@
2080
3358
  content: "";
2081
3359
  position: absolute;
2082
3360
  inset-block: 0;
2083
- left: -16px;
3361
+ left: -8px;
2084
3362
  width: 1px;
2085
3363
  background: var(--vx-border-secondary);
2086
3364
  pointer-events: none;
@@ -2090,17 +3368,14 @@
2090
3368
  min-width: 0;
2091
3369
  overflow: hidden;
2092
3370
  border-radius: 12px;
2093
- background: var(--vx-surface-input);
3371
+ background: var(--vx-cover-background);
2094
3372
  }
2095
3373
  .mt-compare-preview :is(.mt-player, .vx-video-player) {
2096
3374
  height: 100%;
2097
- display: flex;
2098
- flex-direction: column;
2099
- background: var(--vx-surface-input);
3375
+ background: var(--vx-black-black);
2100
3376
  }
2101
3377
  .mt-compare-preview :is(.mt-player-fit, .vx-video-stage) {
2102
- height: 0;
2103
- flex: 1;
3378
+ height: 100%;
2104
3379
  min-height: 0;
2105
3380
  aspect-ratio: auto;
2106
3381
  }
@@ -2108,14 +3383,30 @@
2108
3383
  background: transparent;
2109
3384
  }
2110
3385
  .mt-compare-preview .vx-video-cover {
2111
- background: transparent;
3386
+ align-items: end;
3387
+ justify-items: end;
3388
+ padding: 20px;
2112
3389
  }
2113
- .mt-compare-preview .vx-video-cover > div {
3390
+ .mt-compare-preview .vx-video-cover > button {
3391
+ background: var(--vx-white-white);
3392
+ color: var(--vx-black-black);
3393
+ width: 36px;
3394
+ height: 36px;
3395
+ padding: 8px;
3396
+ }
3397
+ .mt-compare-preview .vx-video-player[data-state=cover] > .vx-playback-controls {
2114
3398
  display: none;
2115
3399
  }
2116
3400
  .mt-compare-preview .vx-playback-controls {
3401
+ color: var(--vx-text-on-content-primary);
3402
+ --vx-button-foreground: var(--vx-text-on-content-primary);
3403
+ background: linear-gradient(transparent, #000c);
2117
3404
  border-radius: 0;
2118
3405
  }
3406
+ .mt-compare-preview .vx-video-stage > video {
3407
+ background: var(--vx-black-black);
3408
+ object-fit: contain;
3409
+ }
2119
3410
  .mt-candidate-caption {
2120
3411
  display: grid;
2121
3412
  align-content: start;
@@ -2153,16 +3444,16 @@
2153
3444
  }
2154
3445
  .mt-candidate-context dl {
2155
3446
  display: grid;
2156
- grid-template-columns: auto minmax(0, 1fr);
2157
- gap: 12px 16px;
3447
+ grid-template-columns: 1fr;
3448
+ gap: 4px;
2158
3449
  margin: 0;
2159
- font-size: 13px;
3450
+ font-size: 14px;
2160
3451
  }
2161
3452
  .mt-candidate-context dt {
2162
3453
  color: var(--vx-text-secondary);
2163
3454
  }
2164
3455
  .mt-candidate-context dd {
2165
- margin: 0;
3456
+ margin: 0 0 8px;
2166
3457
  overflow-wrap: anywhere;
2167
3458
  }
2168
3459
  .mt-column-actions {
@@ -2171,6 +3462,13 @@
2171
3462
  flex-wrap: wrap;
2172
3463
  align-items: center;
2173
3464
  }
3465
+ .mt-compare-preview .mt-empty {
3466
+ gap: var(--vx-space-8);
3467
+ color: var(--vx-text-on-content-secondary);
3468
+ }
3469
+ .mt-compare-preview .mt-empty > p {
3470
+ margin: 0;
3471
+ }
2174
3472
  .mt-empty {
2175
3473
  padding: 30px 16px;
2176
3474
  text-align: center;
@@ -2240,3 +3538,158 @@
2240
3538
  flex: 1 0 auto;
2241
3539
  }
2242
3540
  }
3541
+
3542
+ /* packages/media-tools/src/ui/export-dialog.css */
3543
+ .vx-dialog.mt-export-dialog {
3544
+ box-sizing: border-box;
3545
+ width: min(1080px, calc(100% - 32px));
3546
+ max-width: none;
3547
+ max-height: calc(100dvh - 32px);
3548
+ padding: 24px;
3549
+ border: 1px solid var(--vx-surface-input);
3550
+ border-radius: 16px;
3551
+ box-shadow: 0 4px 20px rgb(0 0 0 / 8%);
3552
+ overflow: auto;
3553
+ }
3554
+ .vx-dialog.mt-export-dialog > header,
3555
+ .vx-dialog.mt-export-dialog > .vx-dialog-body,
3556
+ .vx-dialog.mt-export-dialog > footer {
3557
+ padding: 0;
3558
+ }
3559
+ .vx-dialog.mt-export-dialog > header {
3560
+ min-height: 23px;
3561
+ margin-bottom: 24px;
3562
+ }
3563
+ .vx-dialog.mt-export-dialog > header h2 {
3564
+ font: var(--vx-typography-inter-18-semi-bold);
3565
+ }
3566
+ .vx-dialog.mt-export-dialog > header .vx-button {
3567
+ position: absolute;
3568
+ top: 15px;
3569
+ right: 15px;
3570
+ }
3571
+ .vx-dialog.mt-export-dialog > footer {
3572
+ margin-top: 24px;
3573
+ padding-top: calc(24px + var(--vx-divider-width));
3574
+ box-shadow: inset 0 var(--vx-divider-width) var(--vx-border-secondary);
3575
+ }
3576
+ .vx-dialog.mt-export-dialog > footer .vx-button {
3577
+ height: 44px;
3578
+ padding-inline: 20px;
3579
+ border-radius: 8px;
3580
+ font: var(--vx-typography-inter-16-medium);
3581
+ }
3582
+ .vx-dialog.mt-export-dialog > footer .vx-button:first-child {
3583
+ inline-size: 101px;
3584
+ }
3585
+ .vx-dialog.mt-export-dialog > footer .vx-button:last-child {
3586
+ inline-size: 99px;
3587
+ }
3588
+ .mt-export-layout {
3589
+ display: grid;
3590
+ grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
3591
+ align-items: start;
3592
+ gap: 24px;
3593
+ }
3594
+ .mt-export-options {
3595
+ min-width: 0;
3596
+ display: grid;
3597
+ gap: 16px;
3598
+ padding-bottom: 3.5px;
3599
+ font: var(--vx-typography-inter-14-regular);
3600
+ }
3601
+ .mt-export-options .vx-field,
3602
+ .mt-export-options dl > div {
3603
+ display: grid;
3604
+ gap: 4px;
3605
+ color: var(--vx-text-secondary);
3606
+ }
3607
+ .mt-export-options .vx-field {
3608
+ padding-bottom: calc(16px + var(--vx-divider-width));
3609
+ box-shadow: inset 0 calc(-1 * var(--vx-divider-width)) var(--vx-border-secondary);
3610
+ font: var(--vx-typography-inter-14-regular);
3611
+ }
3612
+ .mt-export-options .vx-field input {
3613
+ box-sizing: border-box;
3614
+ width: 100%;
3615
+ padding: 7px 8px;
3616
+ margin: 0;
3617
+ border: 0;
3618
+ border-radius: 6px;
3619
+ background: var(--vx-surface-input);
3620
+ color: var(--vx-text-primary);
3621
+ font: var(--vx-typography-inter-14-regular);
3622
+ }
3623
+ .mt-export-options .vx-field > span {
3624
+ font: var(--vx-typography-inter-14-regular);
3625
+ }
3626
+ .mt-export-options dd {
3627
+ margin: 0;
3628
+ min-width: 0;
3629
+ }
3630
+ .mt-export-options .vx-dropdown-trigger {
3631
+ border-radius: 6px;
3632
+ padding-inline: 12px 8px;
3633
+ }
3634
+ .mt-export-options dl {
3635
+ display: grid;
3636
+ grid-template-columns: repeat(2, minmax(0, 1fr));
3637
+ gap: 16px 8px;
3638
+ margin: 0;
3639
+ }
3640
+ .mt-export-options dl > div:first-child,
3641
+ .mt-export-options dl > div:last-child {
3642
+ grid-column: 1/-1;
3643
+ }
3644
+ .mt-export-options dl > div:last-child {
3645
+ padding-top: calc(16px + var(--vx-divider-width));
3646
+ box-shadow: inset 0 var(--vx-divider-width) var(--vx-border-secondary);
3647
+ }
3648
+ .mt-export-status {
3649
+ display: flex;
3650
+ align-items: center;
3651
+ flex-wrap: wrap;
3652
+ gap: 8px;
3653
+ }
3654
+ .mt-export-error {
3655
+ margin: 0;
3656
+ color: var(--vx-state-danger);
3657
+ overflow-wrap: anywhere;
3658
+ }
3659
+ @media (max-width: 760px) {
3660
+ .vx-dialog.mt-export-dialog {
3661
+ padding: 16px;
3662
+ }
3663
+ .mt-export-layout {
3664
+ grid-template-columns: minmax(0, 1fr);
3665
+ gap: 16px;
3666
+ }
3667
+ }
3668
+ .mt-export-preview {
3669
+ min-width: 0;
3670
+ }
3671
+ .mt-export-preview .vx-playback-controls > span[aria-hidden=true] {
3672
+ display: none;
3673
+ }
3674
+ .mt-export-ratio-icon {
3675
+ display: inline-grid;
3676
+ place-items: center;
3677
+ flex: none;
3678
+ width: 14px;
3679
+ height: 14px;
3680
+ }
3681
+ .mt-export-ratio-icon > span {
3682
+ box-sizing: border-box;
3683
+ border: 1px solid currentColor;
3684
+ border-radius: 2px;
3685
+ }
3686
+ .mt-export-status {
3687
+ display: flex;
3688
+ flex-wrap: wrap;
3689
+ gap: 8px;
3690
+ align-items: end;
3691
+ margin-top: 12px;
3692
+ }
3693
+ .mt-export-notice {
3694
+ margin: 8px 0 0;
3695
+ }