@vivix-labs/media-tools 1.0.0-beta.2 → 1.0.0-beta.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.css CHANGED
@@ -1,4 +1,78 @@
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
+ .vx-media > .vx-script-cover {
63
+ position: absolute;
64
+ inset: 0;
65
+ height: 100%;
66
+ }
67
+
1
68
  /* packages/ui-system/dist/tokens.css */
69
+ :root,
70
+ [data-vx-theme] {
71
+ --vx-warm-neutral-06: #ddd8d3;
72
+ --vx-dark-neutral-06: #51483f;
73
+ --vx-warm-neutral-07: #ada5a0;
74
+ --vx-dark-neutral-07: #9d8f82;
75
+ }
2
76
  [data-vx-theme] {
3
77
  --vx-font-inter:
4
78
  "Vivix Studio Inter",
@@ -72,8 +146,6 @@
72
146
  --vx-warm-neutral-03: #f1eeea;
73
147
  --vx-warm-neutral-04: #ede8e0;
74
148
  --vx-warm-neutral-05: #e9e6e0;
75
- --vx-warm-neutral-06: #ddd8d3;
76
- --vx-warm-neutral-07: #ada5a0;
77
149
  --vx-warm-neutral-08: #938c88;
78
150
  --vx-warm-neutral-09: #736e67;
79
151
  --vx-black-black: #000000;
@@ -91,8 +163,6 @@
91
163
  --vx-dark-neutral-03: #282420;
92
164
  --vx-dark-neutral-04: #322d28;
93
165
  --vx-dark-neutral-05: #3c352f;
94
- --vx-dark-neutral-06: #51483f;
95
- --vx-dark-neutral-07: #9d8f82;
96
166
  --vx-dark-neutral-08: #b6aaa0;
97
167
  --vx-dark-neutral-09: #f0e9e3;
98
168
  --vx-white-white: #ffffff;
@@ -162,6 +232,7 @@
162
232
  --vx-button-48-line-height: 21px;
163
233
  --vx-typography-inter-14-medium: normal 500 14px/18px var(--vx-font-inter);
164
234
  --vx-typography-inter-14-medium-tracking: 0px;
235
+ --vx-typography-inter-10-regular: normal 400 10px/13px var(--vx-font-inter);
165
236
  --vx-typography-inter-10-semi-bold: normal 600 10px/13px var(--vx-font-inter);
166
237
  --vx-typography-inter-12-regular: normal 400 12px/16px var(--vx-font-inter);
167
238
  --vx-typography-inter-12-semi-bold: normal 600 12px/16px var(--vx-font-inter);
@@ -174,7 +245,7 @@
174
245
  --vx-typography-inter-16-medium: normal 500 16px/21px var(--vx-font-inter);
175
246
  --vx-typography-inter-16-medium-tracking: 0px;
176
247
  --vx-typography-inter-18-regular: normal 400 18px/23px var(--vx-font-inter);
177
- --vx-typography-inter-18-bold: normal 700 18px/23px var(--vx-font-inter);
248
+ --vx-typography-inter-18-bold: normal 600 18px/23px var(--vx-font-inter);
178
249
  --vx-typography-inter-18-semi-bold: normal 600 18px/23px var(--vx-font-inter);
179
250
  --vx-typography-inter-18-medium: normal 500 18px/23px var(--vx-font-inter);
180
251
  --vx-typography-inter-18-medium-tracking: 0px;
@@ -301,7 +372,8 @@
301
372
  --vx-button-font-size: var(--vx-button-40-font-size);
302
373
  --vx-button-line-height: var(--vx-button-40-line-height);
303
374
  }
304
- .vx-button[data-size="44"] {
375
+ .vx-button[data-size="44"],
376
+ .vx-dialog > footer .vx-button[data-shape=text] {
305
377
  --vx-button-height: var(--vx-button-44-height);
306
378
  --vx-button-icon-size: var(--vx-button-44-icon-size);
307
379
  --vx-button-radius: var(--vx-button-44-radius);
@@ -321,6 +393,33 @@
321
393
  }
322
394
  }
323
395
 
396
+ /* packages/ui-system/dist/scrollbars.css */
397
+ :root:has([data-vx-theme]) {
398
+ --vx-scrollbar-root-thumb: var(--vx-warm-neutral-06);
399
+ scrollbar-gutter: stable;
400
+ }
401
+ :root:has(#app > [data-vx-theme=dark]) {
402
+ --vx-scrollbar-root-thumb: var(--vx-dark-neutral-06);
403
+ }
404
+ :where(:root:has([data-vx-theme]), :root:has([data-vx-theme]) *)::-webkit-scrollbar {
405
+ width: 4px;
406
+ height: 4px;
407
+ background: transparent;
408
+ }
409
+ :where(:root:has([data-vx-theme]), :root:has([data-vx-theme]) *)::-webkit-scrollbar-thumb {
410
+ background: var(--vx-border-primary, var(--vx-scrollbar-root-thumb));
411
+ border-radius: 999px;
412
+ }
413
+ :where(:root:has([data-vx-theme]), :root:has([data-vx-theme]) *)::-webkit-scrollbar-corner {
414
+ background: transparent;
415
+ }
416
+ @supports not selector(::-webkit-scrollbar) {
417
+ :where(:root:has([data-vx-theme]), [data-vx-theme], [data-vx-theme] *) {
418
+ scrollbar-width: thin;
419
+ scrollbar-color: var(--vx-border-primary, var(--vx-scrollbar-root-thumb)) transparent;
420
+ }
421
+ }
422
+
324
423
  /* packages/ui-system/dist/button.css */
325
424
  @scope ([data-vx-theme]) {
326
425
  .vx-button {
@@ -433,6 +532,19 @@
433
532
  .vx-button:active:not(:disabled) {
434
533
  filter: brightness(0.96);
435
534
  }
535
+ .vx-button-badge {
536
+ display: inline-grid;
537
+ place-items: center;
538
+ flex: none;
539
+ min-width: 16px;
540
+ height: 16px;
541
+ padding-inline: 3px;
542
+ box-sizing: border-box;
543
+ border-radius: var(--vx-radius-full);
544
+ background: var(--vx-green-dark);
545
+ color: var(--vx-text-on-content-primary);
546
+ font: var(--vx-typography-inter-10-semi-bold);
547
+ }
436
548
  .vx-button:disabled {
437
549
  cursor: not-allowed;
438
550
  }
@@ -601,6 +713,15 @@
601
713
  background: var(--vx-checkbox-active);
602
714
  border-color: var(--vx-checkbox-active);
603
715
  }
716
+ .vx-checkbox[data-appearance=outline] .vx-checkbox-mark {
717
+ --vx-checkbox-active: transparent;
718
+ --vx-checkbox-ink: var(--vx-text-primary);
719
+ background: transparent;
720
+ border-color: var(--vx-text-primary);
721
+ }
722
+ .vx-checkbox[data-appearance=outline] input:checked + .vx-checkbox-mark {
723
+ border-color: var(--vx-text-primary);
724
+ }
604
725
  .vx-checkbox-mark > .vx-icon {
605
726
  --vx-icon-size: var(--vx-icon-slot-small);
606
727
  }
@@ -643,9 +764,10 @@
643
764
  .vx-search-input[data-size=large]:has(.vx-search-clear) {
644
765
  padding-inline-end: var(--vx-space-8);
645
766
  }
646
- .vx-search-input:has(input:focus-visible) {
647
- outline: var(--vx-focus-ring-width) solid var(--vx-state-assistance);
648
- outline-offset: var(--vx-space-2);
767
+ @media (forced-colors: active) {
768
+ .vx-search-input:has(input:focus-visible) {
769
+ outline: var(--vx-focus-ring-width) solid Highlight;
770
+ }
649
771
  }
650
772
  .vx-search-input:has(input:disabled) {
651
773
  opacity: 0.5;
@@ -761,6 +883,10 @@
761
883
  padding: 0 var(--vx-space-10);
762
884
  background: var(--vx-surface-input);
763
885
  font: var(--vx-typography-inter-14-regular);
886
+ justify-content: space-between;
887
+ }
888
+ .vx-dropdown[data-text-size="12"] .vx-dropdown-trigger {
889
+ font: var(--vx-typography-inter-12-regular);
764
890
  }
765
891
  .vx-dropdown[data-appearance=field] .vx-dropdown-trigger:is(:hover:not(:disabled), :focus-visible, [aria-expanded=true]) {
766
892
  background: var(--vx-surface-selected);
@@ -782,7 +908,8 @@
782
908
  inset-inline: 0;
783
909
  margin: var(--vx-space-4) 0 0;
784
910
  max-height: min(15rem, 50vh);
785
- overflow: auto;
911
+ scrollbar-gutter: stable;
912
+ overflow: scroll auto;
786
913
  padding: var(--vx-space-4);
787
914
  border: var(--vx-border-width) solid var(--vx-border-secondary);
788
915
  border-radius: var(--vx-radius-xl);
@@ -838,17 +965,20 @@
838
965
  flex: none;
839
966
  padding: var(--vx-space-16) 0 var(--vx-space-12);
840
967
  border: 0;
841
- border-bottom: var(--vx-space-2) solid transparent;
842
968
  background: transparent;
843
- color: var(--vx-text-secondary-readable);
969
+ color: var(--vx-text-secondary);
844
970
  font: var(--vx-typography-inter-16-semi-bold);
845
971
  cursor: pointer;
846
972
  white-space: nowrap;
847
973
  }
848
974
  .vx-tabs [role=tab][aria-selected=true] {
849
- border-color: var(--vx-state-success);
975
+ padding-block-start: 18px;
976
+ border-bottom: 2px solid var(--vx-state-success);
850
977
  color: var(--vx-state-success);
851
978
  }
979
+ .vx-tabs [role=tab]:not([aria-selected=true], :disabled):hover {
980
+ color: var(--vx-text-primary);
981
+ }
852
982
  .vx-tabs [role=tab]:disabled {
853
983
  opacity: 0.5;
854
984
  cursor: not-allowed;
@@ -960,9 +1090,110 @@
960
1090
  font: var(--vx-typography-inter-12-medium);
961
1091
  padding: 3px;
962
1092
  }
1093
+ @scope ([data-vx-theme]) {
1094
+ .vx-checkbox[data-appearance=outline] input:focus-visible + .vx-checkbox-mark {
1095
+ outline-color: var(--vx-state-assistance);
1096
+ }
1097
+ }
1098
+ @scope ([data-vx-theme]) {
1099
+ .vx-asset-selection {
1100
+ display: flex;
1101
+ flex: 0 1 auto;
1102
+ max-width: 100%;
1103
+ align-items: center;
1104
+ flex-wrap: wrap;
1105
+ gap: var(--vx-space-8);
1106
+ }
1107
+ .vx-asset-selection > [role=status] {
1108
+ padding-inline: var(--vx-space-16);
1109
+ white-space: nowrap;
1110
+ color: var(--vx-text-primary);
1111
+ font: var(--vx-typography-inter-14-regular);
1112
+ }
1113
+ .vx-asset-selection > i {
1114
+ display: grid;
1115
+ place-items: center;
1116
+ width: 8px;
1117
+ height: 8px;
1118
+ }
1119
+ .vx-asset-selection > i::after {
1120
+ content: "";
1121
+ height: 8px;
1122
+ width: 1px;
1123
+ background: var(--vx-border-secondary);
1124
+ }
1125
+ .vx-asset-selection .vx-button-content {
1126
+ gap: 6px;
1127
+ }
1128
+ .vx-asset-selection .vx-icon {
1129
+ --vx-icon-size: 16px;
1130
+ }
1131
+ }
963
1132
 
964
1133
  /* packages/ui-system/dist/field.css */
965
1134
  @scope ([data-vx-theme]) {
1135
+ .vx-slider[data-appearance=neutral] {
1136
+ position: relative;
1137
+ }
1138
+ .vx-slider[data-appearance=neutral] > input {
1139
+ appearance: none;
1140
+ width: 100%;
1141
+ height: 16px;
1142
+ margin: 0;
1143
+ padding: 0;
1144
+ border-radius: var(--vx-radius-full);
1145
+ background:
1146
+ linear-gradient(
1147
+ to right,
1148
+ var(--vx-text-secondary) 0 var(--vx-slider-fill),
1149
+ var(--vx-surface-input) var(--vx-slider-fill) 100%);
1150
+ }
1151
+ .vx-slider[data-appearance=neutral] > input::-webkit-slider-thumb {
1152
+ appearance: none;
1153
+ width: 14px;
1154
+ height: 14px;
1155
+ background: var(--vx-background-dialog);
1156
+ border: 1px solid var(--vx-border-primary);
1157
+ border-radius: 50%;
1158
+ }
1159
+ .vx-slider[data-appearance=neutral] > input::-moz-range-thumb {
1160
+ width: 14px;
1161
+ height: 14px;
1162
+ background: var(--vx-background-dialog);
1163
+ border: 1px solid var(--vx-border-primary);
1164
+ border-radius: 50%;
1165
+ }
1166
+ .vx-slider-markers {
1167
+ position: absolute;
1168
+ left: 8px;
1169
+ right: 8px;
1170
+ bottom: 7px;
1171
+ height: 2px;
1172
+ pointer-events: none;
1173
+ }
1174
+ .vx-slider-markers > span {
1175
+ position: absolute;
1176
+ width: 2px;
1177
+ height: 2px;
1178
+ border-radius: 50%;
1179
+ background: var(--vx-text-secondary-readable);
1180
+ }
1181
+ :is(input, textarea, [contenteditable]:not([contenteditable=false]), [role=textbox]) {
1182
+ scrollbar-width: none;
1183
+ &::-webkit-scrollbar {
1184
+ display: none;
1185
+ }
1186
+ }
1187
+ :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) {
1188
+ border: 0;
1189
+ }
1190
+ :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 {
1191
+ outline: none;
1192
+ background-color: var(--vx-surface-selected);
1193
+ @media (forced-colors: active) {
1194
+ outline: var(--vx-focus-ring-width) solid Highlight;
1195
+ }
1196
+ }
966
1197
  .vx-field,
967
1198
  .vx-slider {
968
1199
  display: grid;
@@ -975,7 +1206,7 @@
975
1206
  width: 100%;
976
1207
  min-height: var(--vx-input-medium-height);
977
1208
  padding: var(--vx-space-4) var(--vx-space-8);
978
- border: var(--vx-border-width) solid var(--vx-control-border);
1209
+ border: 0;
979
1210
  border-radius: var(--vx-radius-md);
980
1211
  background: var(--vx-surface-input);
981
1212
  color: inherit;
@@ -984,6 +1215,9 @@
984
1215
  .vx-field[data-size=large] > input {
985
1216
  min-height: var(--vx-input-large-height);
986
1217
  }
1218
+ .vx-field[data-appearance=filled] > input {
1219
+ font: var(--vx-typography-inter-12-regular);
1220
+ }
987
1221
  .vx-date-picker {
988
1222
  display: inline-flex;
989
1223
  align-items: flex-start;
@@ -1001,7 +1235,8 @@
1001
1235
  box-sizing: border-box;
1002
1236
  width: min(320px, calc(100vw - 16px));
1003
1237
  max-height: calc(100dvh - 16px);
1004
- overflow: auto;
1238
+ scrollbar-gutter: stable;
1239
+ overflow: scroll auto;
1005
1240
  inset: auto;
1006
1241
  position-area: bottom span-right;
1007
1242
  position-try-fallbacks:
@@ -1069,7 +1304,6 @@
1069
1304
  cursor: not-allowed;
1070
1305
  opacity: 0.5;
1071
1306
  }
1072
- .vx-field > input:focus-visible,
1073
1307
  .vx-slider > input:focus-visible {
1074
1308
  outline: var(--vx-focus-ring-width) solid var(--vx-state-assistance);
1075
1309
  outline-offset: var(--vx-space-2);
@@ -1086,6 +1320,11 @@
1086
1320
  margin: 0;
1087
1321
  }
1088
1322
  }
1323
+ @scope ([data-vx-theme]) {
1324
+ .vx-slider[data-appearance=neutral] .vx-slider-heading {
1325
+ font: var(--vx-typography-inter-12-regular);
1326
+ }
1327
+ }
1089
1328
 
1090
1329
  /* packages/ui-system/dist/inline-text.css */
1091
1330
  @scope ([data-vx-theme]) {
@@ -1117,6 +1356,26 @@
1117
1356
 
1118
1357
  /* packages/ui-system/dist/media.css */
1119
1358
  @scope ([data-vx-theme]) {
1359
+ .vx-frame-filmstrip {
1360
+ position: absolute;
1361
+ inset: 0;
1362
+ display: flex;
1363
+ overflow: hidden;
1364
+ opacity: 0.6;
1365
+ }
1366
+ .vx-frame-filmstrip > img {
1367
+ min-width: 0;
1368
+ width: 0;
1369
+ flex: 1;
1370
+ object-fit: cover;
1371
+ }
1372
+ .vx-playback-controls[data-appearance=surface] {
1373
+ background: var(--vx-background-page);
1374
+ color: var(--vx-text-secondary-readable);
1375
+ }
1376
+ .vx-playback-controls[data-appearance=surface] > .vx-button {
1377
+ --vx-button-foreground: var(--vx-text-secondary-readable);
1378
+ }
1120
1379
  .vx-tag {
1121
1380
  display: inline-flex;
1122
1381
  align-items: center;
@@ -1140,6 +1399,7 @@
1140
1399
  color: var(--vx-text-primary);
1141
1400
  }
1142
1401
  .vx-media {
1402
+ isolation: isolate;
1143
1403
  position: relative;
1144
1404
  display: grid;
1145
1405
  place-items: center;
@@ -1186,13 +1446,14 @@
1186
1446
  }
1187
1447
  .vx-media[data-state=selected][data-selection=outline]::after {
1188
1448
  position: absolute;
1449
+ z-index: 2;
1189
1450
  inset: 0;
1190
- border: 3px solid var(--vx-state-success);
1451
+ border: 3px solid var(--vx-media-selection-color);
1191
1452
  border-radius: inherit;
1192
1453
  content: "";
1193
1454
  pointer-events: none;
1194
1455
  }
1195
- .vx-media > :is(.vx-media-label, .vx-media-duration, .vx-media-selected, .vx-media-marker) {
1456
+ :is(.vx-media, .vx-media-badge-host) > :is(.vx-media-label, .vx-media-duration, .vx-media-selected, .vx-media-marker) {
1196
1457
  position: absolute;
1197
1458
  z-index: 1;
1198
1459
  }
@@ -1307,6 +1568,9 @@
1307
1568
  height: var(--vx-playback-button-size);
1308
1569
  color: inherit;
1309
1570
  }
1571
+ .vx-playback-controls > .vx-button[data-shape=icon]:hover:not(:disabled) {
1572
+ --vx-button-background: var(--vx-white-white-1a);
1573
+ }
1310
1574
  .vx-playback-controls > input {
1311
1575
  appearance: none;
1312
1576
  flex: 1;
@@ -1368,6 +1632,19 @@
1368
1632
  background: #000;
1369
1633
  border-radius: var(--vx-radius-xl);
1370
1634
  }
1635
+ .vx-video-player[data-fit=content]:not(:fullscreen) {
1636
+ width: min(100cqw, calc(100cqh * var(--vx-video-ratio)));
1637
+ }
1638
+ .vx-video-player[data-fit=content] .vx-video-stage {
1639
+ aspect-ratio: var(--vx-video-ratio);
1640
+ }
1641
+ .vx-video-player[data-fit=content]:fullscreen .vx-video-stage {
1642
+ aspect-ratio: auto;
1643
+ height: 100%;
1644
+ }
1645
+ .vx-video-player[data-fit=content]:fullscreen {
1646
+ display: block;
1647
+ }
1371
1648
  .vx-video-player[data-placement=below] > .vx-playback-controls {
1372
1649
  border-radius: 0;
1373
1650
  }
@@ -1383,6 +1660,14 @@
1383
1660
  .vx-video-player:fullscreen .vx-video-stage {
1384
1661
  max-height: 100dvh;
1385
1662
  }
1663
+ .vx-dialog.vx-video-dialog {
1664
+ width: min(960px, calc(100vw - 32px));
1665
+ margin: var(--vx-space-16) auto;
1666
+ }
1667
+ .vx-video-dialog .vx-video-stage {
1668
+ width: 100%;
1669
+ max-height: min(480px, calc(100dvh - 192px));
1670
+ }
1386
1671
  .vx-video-cover {
1387
1672
  position: absolute;
1388
1673
  inset: auto 0 0;
@@ -1396,7 +1681,11 @@
1396
1681
  .vx-video-cover::before {
1397
1682
  position: absolute;
1398
1683
  inset: 0;
1399
- background: url("./assets/player-cover-shade-LLH6KOCQ.png") center / 100% 100% no-repeat;
1684
+ background:
1685
+ linear-gradient(
1686
+ 180deg,
1687
+ rgb(0 0 0 / 0%) 0%,
1688
+ rgb(0 0 0 / 60%) 100%);
1400
1689
  content: "";
1401
1690
  pointer-events: none;
1402
1691
  }
@@ -1535,6 +1824,180 @@
1535
1824
  color: var(--vx-text-placeholder);
1536
1825
  }
1537
1826
  }
1827
+ @scope ([data-vx-theme]) {
1828
+ .vx-cover-preview[data-cover-state=empty] > .vx-icon {
1829
+ color: var(--vx-text-placeholder);
1830
+ }
1831
+ .vx-cover-preview[data-cover-state=loading] {
1832
+ position: relative;
1833
+ overflow: hidden;
1834
+ background: var(--vx-surface-input);
1835
+ }
1836
+ .vx-cover-preview[data-cover-state=loading] > :is(img, video) {
1837
+ opacity: 0;
1838
+ }
1839
+ .vx-cover-preview[data-cover-state=loading]::after {
1840
+ content: "";
1841
+ position: absolute;
1842
+ inset: 0;
1843
+ pointer-events: none;
1844
+ background:
1845
+ linear-gradient(
1846
+ 105deg,
1847
+ transparent 20%,
1848
+ light-dark(var(--vx-white-white), color-mix(in srgb, var(--vx-white-white) 14%, transparent)) 50%,
1849
+ transparent 80%);
1850
+ animation: vx-cover-sweep 1.35s ease-in-out infinite;
1851
+ }
1852
+ @media (prefers-reduced-motion: reduce) {
1853
+ .vx-cover-preview[data-cover-state=loading]::after {
1854
+ animation: none;
1855
+ content: none;
1856
+ }
1857
+ }
1858
+ }
1859
+ @keyframes vx-cover-sweep {
1860
+ from {
1861
+ transform: translateX(-100%);
1862
+ }
1863
+ to {
1864
+ transform: translateX(100%);
1865
+ }
1866
+ }
1867
+ @scope ([data-vx-theme]) {
1868
+ .vx-frame-filmstrip {
1869
+ border-radius: inherit;
1870
+ }
1871
+ .vx-frame-range[data-variant=trim] {
1872
+ background: var(--vx-surface-input);
1873
+ }
1874
+ .vx-frame-range[data-variant=trim] .vx-frame-selection {
1875
+ border-width: 1px;
1876
+ background: color-mix(in srgb, var(--vx-state-success) 20%, transparent);
1877
+ }
1878
+ .vx-frame-range[data-variant=trim] .vx-frame-handle {
1879
+ width: 24px;
1880
+ display: grid;
1881
+ place-items: center;
1882
+ background: transparent;
1883
+ }
1884
+ .vx-frame-range[data-variant=trim] .vx-frame-handle::after {
1885
+ width: 3px;
1886
+ height: 12px;
1887
+ margin: 0;
1888
+ border: 1px solid var(--vx-state-success);
1889
+ background: var(--vx-background-dialog);
1890
+ border-radius: 2px;
1891
+ }
1892
+ }
1893
+
1894
+ /* packages/ui-system/dist/asset-grid.css */
1895
+ .vx-asset-grid.vx-asset-grid {
1896
+ display: grid;
1897
+ grid-template-columns: repeat(auto-fill, minmax(min(100%, max(240px, 25%)), 1fr));
1898
+ gap: 0;
1899
+ align-content: start;
1900
+ padding: 0;
1901
+ }
1902
+ .vx-asset-grid > .vx-asset-tile {
1903
+ position: relative;
1904
+ display: flex;
1905
+ flex-direction: column;
1906
+ align-items: stretch;
1907
+ gap: var(--vx-space-12);
1908
+ box-sizing: border-box;
1909
+ min-width: 0;
1910
+ padding: var(--vx-space-12) var(--vx-space-16);
1911
+ border: 0;
1912
+ border-radius: 0;
1913
+ background: transparent;
1914
+ }
1915
+ .vx-asset-tile .vx-tile-preview {
1916
+ display: grid;
1917
+ place-items: center;
1918
+ width: 100%;
1919
+ aspect-ratio: 16 / 9;
1920
+ padding: 0;
1921
+ border: 0;
1922
+ border-radius: var(--vx-radius-xl);
1923
+ background: var(--vx-surface-input);
1924
+ color: var(--vx-text-secondary);
1925
+ overflow: hidden;
1926
+ }
1927
+ button.vx-tile-preview {
1928
+ cursor: pointer;
1929
+ }
1930
+ .vx-tile-preview > .sd-asset-preview {
1931
+ width: 100%;
1932
+ }
1933
+ .vx-asset-tile > .vx-checkbox {
1934
+ position: absolute;
1935
+ z-index: 1;
1936
+ inset: 20px auto auto 24px;
1937
+ }
1938
+ .vx-asset-tile .vx-tile-caption {
1939
+ display: grid;
1940
+ grid-template-columns: minmax(0, 1fr) auto;
1941
+ align-items: start;
1942
+ column-gap: var(--vx-space-8);
1943
+ padding-inline: var(--vx-space-8);
1944
+ }
1945
+ .vx-tile-caption .vx-tile-title {
1946
+ display: block;
1947
+ justify-self: start;
1948
+ min-width: 0;
1949
+ max-width: 100%;
1950
+ height: 26px;
1951
+ margin: 0;
1952
+ border: 0;
1953
+ padding: 4px 0;
1954
+ overflow: hidden;
1955
+ text-overflow: ellipsis;
1956
+ white-space: nowrap;
1957
+ text-align: start;
1958
+ background: transparent;
1959
+ color: var(--vx-text-primary);
1960
+ font: var(--vx-typography-inter-14-semi-bold);
1961
+ }
1962
+ button.vx-tile-title {
1963
+ cursor: pointer;
1964
+ }
1965
+ .vx-tile-caption > .vx-action-menu {
1966
+ grid-column: 2;
1967
+ grid-row: 1;
1968
+ }
1969
+ .vx-tile-caption > .vx-action-menu > .vx-button {
1970
+ width: 24px;
1971
+ height: 24px;
1972
+ padding: 0;
1973
+ }
1974
+ .vx-tile-caption .vx-tile-facts {
1975
+ grid-column: 1 / -1;
1976
+ min-width: 0;
1977
+ min-height: 16px;
1978
+ overflow: hidden;
1979
+ white-space: nowrap;
1980
+ text-overflow: ellipsis;
1981
+ color: var(--vx-text-secondary);
1982
+ font: var(--vx-typography-inter-12-regular);
1983
+ }
1984
+ .vx-tile-facts > span + span::before {
1985
+ content: "";
1986
+ display: inline-block;
1987
+ height: 8px;
1988
+ margin-inline: 6px;
1989
+ border-inline-start: 1px solid var(--vx-border-secondary);
1990
+ }
1991
+ .vx-asset-grid .vx-asset-tile :is(.studio-cover, .vx-media, .sd-video-thumbnail, .ad-asset-cover) {
1992
+ background-color: var(--vx-surface-input);
1993
+ border-radius: var(--vx-radius-xl);
1994
+ }
1995
+ .vx-asset-grid .studio-cover {
1996
+ overflow: hidden;
1997
+ }
1998
+ .vx-asset-grid .studio-cover[data-kind=video]:has(.studio-cover-video) > .vx-media {
1999
+ background-color: transparent;
2000
+ }
1538
2001
 
1539
2002
  /* packages/ui-system/dist/overlays.css */
1540
2003
  @scope ([data-vx-theme]) {
@@ -1551,7 +2014,8 @@
1551
2014
  box-sizing: border-box;
1552
2015
  width: min(224px, calc(100vw - 16px));
1553
2016
  max-height: min(480px, 50vh);
1554
- overflow: auto;
2017
+ scrollbar-gutter: stable;
2018
+ overflow: scroll auto;
1555
2019
  padding: var(--vx-space-4);
1556
2020
  border: var(--vx-border-width) solid var(--vx-border-secondary);
1557
2021
  border-radius: var(--vx-radius-xl);
@@ -1576,6 +2040,9 @@
1576
2040
  .vx-action-menu-items > button[data-size=large] {
1577
2041
  min-height: 48px;
1578
2042
  }
2043
+ .vx-action-menu-items > button[data-tone=danger]:not(:disabled) {
2044
+ color: var(--vx-state-danger);
2045
+ }
1579
2046
  .vx-action-menu-items > button > span:not(.vx-icon) {
1580
2047
  flex: 1;
1581
2048
  overflow-wrap: anywhere;
@@ -1584,7 +2051,7 @@
1584
2051
  color: var(--vx-text-placeholder);
1585
2052
  cursor: not-allowed;
1586
2053
  }
1587
- .vx-action-menu-items > button:is(:hover, :focus-visible, [aria-checked=true]):not(:disabled) {
2054
+ .vx-action-menu-items > button:is(:hover, :focus-visible, [aria-checked=true], [aria-expanded=true]):not(:disabled) {
1588
2055
  background: var(--vx-surface-hover);
1589
2056
  }
1590
2057
  .vx-action-menu-items > button:focus-visible {
@@ -1593,37 +2060,118 @@
1593
2060
  }
1594
2061
  .vx-filter-menu {
1595
2062
  box-sizing: border-box;
1596
- width: min(280px, calc(100vw - 16px));
1597
- max-height: min(480px, calc(100dvh - 16px));
1598
- overflow: auto;
2063
+ width: min(224px, calc(100vw - 16px));
2064
+ max-height: min(460px, calc(100dvh - 16px));
2065
+ overflow: hidden;
1599
2066
  inset: auto;
1600
- position-area: bottom span-right;
2067
+ position-area: bottom center;
1601
2068
  position-try-fallbacks:
1602
- flip-inline,
1603
- flip-block,
1604
- flip-block flip-inline;
1605
- margin: var(--vx-space-4) 0;
1606
- padding: var(--vx-space-8);
1607
- border: var(--vx-border-width) solid var(--vx-border-secondary);
1608
- border-radius: var(--vx-radius-xl);
2069
+ bottom span-left,
2070
+ bottom span-right,
2071
+ top center,
2072
+ top span-left,
2073
+ top span-right;
2074
+ margin: 6px 0;
2075
+ padding: var(--vx-space-4);
2076
+ border: var(--vx-divider-width) solid var(--vx-border-secondary);
2077
+ border-radius: 12px;
1609
2078
  background: var(--vx-background-dialog);
1610
2079
  color: var(--vx-text-primary);
1611
- box-shadow: var(--vx-shadow-menu);
2080
+ box-shadow: 0 4px 16px rgb(0 0 0 / 25%);
1612
2081
  }
1613
- .vx-filter-menu summary {
1614
- padding: var(--vx-space-8);
1615
- cursor: pointer;
2082
+ .vx-filter-menu:popover-open {
2083
+ display: flex;
2084
+ flex-direction: column;
2085
+ gap: 2px;
2086
+ }
2087
+ .vx-filter-scroll {
2088
+ position: relative;
2089
+ min-height: 0;
2090
+ display: flex;
2091
+ flex-direction: column;
2092
+ }
2093
+ .vx-filter-scroll[data-more-below]::after {
2094
+ content: "";
2095
+ position: absolute;
2096
+ inset: auto 0 0;
2097
+ height: min(60px, 35%);
2098
+ background:
2099
+ linear-gradient(
2100
+ to bottom,
2101
+ transparent,
2102
+ var(--vx-background-dialog));
2103
+ pointer-events: none;
1616
2104
  }
1617
- .vx-filter-menu summary .vx-tag {
1618
- margin-inline-start: var(--vx-space-8);
2105
+ .vx-filter-menu .vx-filter-groups {
2106
+ min-height: 0;
2107
+ overflow-y: auto;
2108
+ overscroll-behavior: contain;
2109
+ scrollbar-width: none;
1619
2110
  }
1620
- .vx-filter-options {
2111
+ .vx-filter-menu .vx-filter-options {
1621
2112
  display: grid;
1622
- gap: var(--vx-space-4);
1623
- padding: 0 var(--vx-space-8) var(--vx-space-8);
2113
+ padding: 0;
2114
+ gap: 2px;
2115
+ margin-block-start: 2px;
2116
+ }
2117
+ .vx-filter-menu details + details::before {
2118
+ content: "";
2119
+ display: block;
2120
+ height: var(--vx-divider-width);
2121
+ margin: 2px 12px;
2122
+ background: var(--vx-border-secondary);
1624
2123
  }
1625
- .vx-filter-menu > .vx-button {
1626
- margin-top: var(--vx-space-8);
2124
+ .vx-filter-menu details + details {
2125
+ border: 0;
2126
+ }
2127
+ .vx-filter-menu summary,
2128
+ .vx-filter-options .vx-checkbox {
2129
+ box-sizing: border-box;
2130
+ display: flex;
2131
+ align-items: center;
2132
+ justify-content: space-between;
2133
+ min-height: 36px;
2134
+ padding: 0 12px;
2135
+ cursor: pointer;
2136
+ }
2137
+ .vx-filter-menu summary {
2138
+ font: var(--vx-typography-inter-14-semi-bold);
2139
+ list-style: none;
2140
+ }
2141
+ .vx-filter-menu summary::-webkit-details-marker {
2142
+ display: none;
2143
+ }
2144
+ .vx-filter-menu details[open] > summary .vx-icon {
2145
+ rotate: 180deg;
2146
+ }
2147
+ .vx-filter-options .vx-checkbox {
2148
+ width: 100%;
2149
+ flex-direction: row-reverse;
2150
+ font: var(--vx-typography-inter-14-regular);
2151
+ }
2152
+ .vx-filter-options .vx-checkbox:hover,
2153
+ .vx-filter-menu summary:hover {
2154
+ border-radius: 8px;
2155
+ background: var(--vx-surface-hover);
2156
+ }
2157
+ .vx-filter-menu .vx-checkbox-input:not(:checked) + .vx-checkbox-mark {
2158
+ border-color: var(--vx-border-primary);
2159
+ }
2160
+ .vx-filter-menu .vx-checkbox-mark .vx-icon {
2161
+ --vx-icon-size: 12px;
2162
+ }
2163
+ .vx-filter-menu footer {
2164
+ box-sizing: border-box;
2165
+ display: flex;
2166
+ align-items: center;
2167
+ flex: none;
2168
+ height: 44px;
2169
+ padding-inline: var(--vx-space-8);
2170
+ border-top: var(--vx-divider-width) solid var(--vx-border-secondary);
2171
+ }
2172
+ .vx-filter-menu footer > .vx-button {
2173
+ width: 100%;
2174
+ flex: none;
1627
2175
  }
1628
2176
  .vx-annotation-tools {
1629
2177
  display: inline-flex;
@@ -1696,32 +2244,33 @@
1696
2244
  margin: 0;
1697
2245
  font: var(--vx-typography-inter-16-semi-bold);
1698
2246
  }
1699
- .vx-dialog:is([data-variant=create-project], [data-variant=story-edit]) {
2247
+ .vx-dialog:is([data-variant=create-project], [data-variant=story-edit], [data-variant=edit-dashboard]) {
1700
2248
  --vx-dialog-section-gap: var(--vx-space-24);
1701
2249
  --vx-dialog-footer-inset: var(--vx-space-24);
1702
2250
  width: min(var(--vx-dialog-small-width), calc(100vw - var(--vx-space-32)));
1703
2251
  padding: var(--vx-dialog-padding);
1704
2252
  border: var(--vx-border-width) solid var(--vx-surface-input);
1705
2253
  border-radius: var(--vx-dialog-radius);
1706
- overflow: auto;
2254
+ scrollbar-gutter: stable;
2255
+ overflow: scroll auto;
1707
2256
  }
1708
- .vx-dialog:is([data-variant=create-project], [data-variant=story-edit]) > header {
2257
+ .vx-dialog:is([data-variant=create-project], [data-variant=story-edit], [data-variant=edit-dashboard]) > header {
1709
2258
  padding: 0;
1710
2259
  margin: 0 var(--vx-space-32) var(--vx-dialog-section-gap) 0;
1711
2260
  }
1712
- .vx-dialog:is([data-variant=create-project], [data-variant=story-edit]) > header h2 {
2261
+ .vx-dialog:is([data-variant=create-project], [data-variant=story-edit], [data-variant=edit-dashboard]) > header h2 {
1713
2262
  font: var(--vx-typography-inter-18-semi-bold);
1714
2263
  }
1715
- .vx-dialog:is([data-variant=create-project], [data-variant=story-edit]) > header > .vx-button {
2264
+ .vx-dialog:is([data-variant=create-project], [data-variant=story-edit], [data-variant=edit-dashboard]) > header > .vx-button {
1716
2265
  position: absolute;
1717
2266
  top: 15px;
1718
2267
  right: 15px;
1719
2268
  }
1720
- .vx-dialog:is([data-variant=create-project], [data-variant=story-edit]) > .vx-dialog-body {
2269
+ .vx-dialog:is([data-variant=create-project], [data-variant=story-edit], [data-variant=edit-dashboard]) > .vx-dialog-body {
1721
2270
  min-width: 0;
1722
2271
  padding: 0;
1723
2272
  }
1724
- .vx-dialog:is([data-variant=create-project], [data-variant=story-edit]) > footer {
2273
+ .vx-dialog:is([data-variant=create-project], [data-variant=story-edit], [data-variant=edit-dashboard]) > footer {
1725
2274
  margin-top: var(--vx-dialog-section-gap);
1726
2275
  padding: var(--vx-dialog-footer-inset) 0 0;
1727
2276
  border-top: var(--vx-divider-width) solid var(--vx-border-secondary);
@@ -1796,6 +2345,12 @@
1796
2345
  font-weight: 400;
1797
2346
  font-display: swap;
1798
2347
  }
2348
+ @font-face {
2349
+ font-family: "Vivix Studio Inter";
2350
+ src: url("./assets/inter-latin-900-normal-FKACR3DR.woff2") format("woff2");
2351
+ font-weight: 900;
2352
+ font-display: swap;
2353
+ }
1799
2354
  @font-face {
1800
2355
  font-family: "Vivix Studio Inter";
1801
2356
  src: url("./assets/inter-latin-500-normal-W62DVTXI.woff2") format("woff2");
@@ -1815,6 +2370,9 @@
1815
2370
  font-display: swap;
1816
2371
  }
1817
2372
  @scope ([data-vx-theme]) {
2373
+ :where(h1, h2, h3, h4, h5, h6, b, strong, th) {
2374
+ font-weight: 600;
2375
+ }
1818
2376
  .vx-icon {
1819
2377
  display: inline-block;
1820
2378
  flex: none;
@@ -1833,6 +2391,15 @@
1833
2391
  background: currentColor;
1834
2392
  mask: var(--vx-icon-mask) center / contain no-repeat;
1835
2393
  }
2394
+ .vx-icon[data-icon=copy] {
2395
+ --vx-icon-mask: url("./assets/copy-document-EF4PHM7F.svg");
2396
+ }
2397
+ .vx-icon[data-icon=upload] {
2398
+ --vx-icon-mask: url("./assets/upload-U5RZT5QI.svg");
2399
+ }
2400
+ .vx-icon[data-icon=refresh] {
2401
+ --vx-icon-mask: url("./assets/refresh-WQ3CTB57.svg");
2402
+ }
1836
2403
  .vx-icon[data-icon=add] {
1837
2404
  --vx-icon-mask: url("./assets/add-JY533O73.svg");
1838
2405
  }
@@ -1886,9 +2453,18 @@
1886
2453
  --vx-icon-height: 86.46%;
1887
2454
  --vx-icon-mask: url("./assets/magic-OMME7FOV.svg");
1888
2455
  }
2456
+ .vx-icon[data-icon=select-items] {
2457
+ --vx-icon-mask: url("./assets/select-items-GJZIVO37.svg");
2458
+ }
2459
+ .vx-icon[data-icon=filter] {
2460
+ --vx-icon-mask: url("./assets/filter-JSDZZVGN.svg");
2461
+ }
1889
2462
  .vx-icon[data-icon=select] {
1890
2463
  --vx-icon-mask: url("./assets/select-VU7WR7B4.svg");
1891
2464
  }
2465
+ .vx-icon[data-icon=filter] {
2466
+ --vx-icon-mask: url("./assets/filter-JSDZZVGN.svg");
2467
+ }
1892
2468
  .vx-icon[data-icon=area] {
1893
2469
  --vx-icon-mask: url("./assets/area-P2WOMBT5.svg");
1894
2470
  }
@@ -1947,6 +2523,15 @@
1947
2523
  .vx-icon[data-icon=export] {
1948
2524
  --vx-icon-mask: url("./assets/export-W2OBXZDQ.svg");
1949
2525
  }
2526
+ .vx-icon[data-icon=favorite] {
2527
+ --vx-icon-mask: url("./assets/favorite-6GMNHJCN.svg");
2528
+ }
2529
+ .vx-icon[data-icon=download] {
2530
+ --vx-icon-mask: url("./assets/download-VTKCEAZG.svg");
2531
+ }
2532
+ .vx-icon[data-icon=delete] {
2533
+ --vx-icon-mask: url("./assets/delete-4Y3OUMEL.svg");
2534
+ }
1950
2535
  .vx-icon[data-icon=edit] {
1951
2536
  --vx-icon-mask: url("./assets/edit-JUVJDD5A.svg");
1952
2537
  }
@@ -2020,19 +2605,34 @@
2020
2605
  .mt-editor .vx-dialog > footer {
2021
2606
  padding: 32px 24px 24px;
2022
2607
  }
2023
- .mt-editor[data-mode=crop] .vx-dialog[open] {
2608
+ .mt-editor .vx-dialog[open] {
2024
2609
  display: flex;
2025
2610
  flex-direction: column;
2026
2611
  overflow: hidden;
2027
2612
  }
2028
- .mt-editor[data-mode=crop] .vx-dialog > :is(header, footer) {
2613
+ .mt-editor .vx-dialog > :is(header, footer) {
2029
2614
  flex-shrink: 0;
2030
2615
  }
2031
- .mt-editor[data-mode=crop] .vx-dialog-body {
2616
+ .mt-editor .vx-dialog-body {
2032
2617
  min-height: 0;
2033
- overflow: auto;
2034
- padding-block: 16px;
2035
- margin-block: -16px;
2618
+ scrollbar-gutter: stable;
2619
+ overflow: scroll auto;
2620
+ }
2621
+ .mt-editor-content {
2622
+ display: flex;
2623
+ flex-direction: column;
2624
+ gap: var(--vx-space-8);
2625
+ }
2626
+ .mt-editor-content .vx-playback-controls > span,
2627
+ .mt-editor-content .vx-frame-selection .vx-tag {
2628
+ font: var(--vx-typography-inter-12-medium);
2629
+ font-variant-numeric: tabular-nums;
2630
+ }
2631
+ .mt-editor-content > * {
2632
+ flex-shrink: 0;
2633
+ }
2634
+ .mt-editor-content > p {
2635
+ margin: 0;
2036
2636
  }
2037
2637
  .mt-editor-actions {
2038
2638
  display: flex;
@@ -2057,7 +2657,8 @@
2057
2657
  gap: 8px;
2058
2658
  color: var(--vx-text-secondary);
2059
2659
  font-size: 14px;
2060
- margin: 16px 0;
2660
+ margin: 0;
2661
+ flex-wrap: wrap;
2061
2662
  }
2062
2663
  .mt-editor-hint > [role=status] {
2063
2664
  white-space: nowrap;
@@ -2148,18 +2749,6 @@
2148
2749
  border-radius: 0.911px;
2149
2750
  background: var(--vx-text-on-content-primary);
2150
2751
  }
2151
- .mt-precision {
2152
- margin-top: 12px;
2153
- color: var(--vx-text-secondary);
2154
- font-size: 12px;
2155
- }
2156
- .mt-precision > summary {
2157
- cursor: pointer;
2158
- width: fit-content;
2159
- }
2160
- .mt-precision .mt-fields {
2161
- color: var(--vx-text-primary);
2162
- }
2163
2752
  .mt-player {
2164
2753
  position: relative;
2165
2754
  background: #000;
@@ -2340,11 +2929,14 @@
2340
2929
  width: 100%;
2341
2930
  box-sizing: border-box;
2342
2931
  padding: 8px 10px;
2343
- border: 1px solid var(--vx-border-secondary);
2932
+ border: 0;
2344
2933
  border-radius: 6px;
2345
2934
  background: var(--vx-background-dialog);
2346
2935
  color: inherit;
2347
2936
  }
2937
+ .mt-fields select {
2938
+ border: 1px solid var(--vx-border-secondary);
2939
+ }
2348
2940
  .mt-root .mt-subtitle,
2349
2941
  .mt-root .mt-help {
2350
2942
  line-height: 1.5;
@@ -2377,7 +2969,7 @@
2377
2969
  display: grid;
2378
2970
  grid-template-rows: auto auto auto auto;
2379
2971
  column-gap: 16px;
2380
- overflow-x: auto;
2972
+ overflow-x: scroll;
2381
2973
  padding-bottom: 8px;
2382
2974
  }
2383
2975
  .mt-compare-column {
@@ -2567,7 +3159,7 @@
2567
3159
  flex-wrap: wrap;
2568
3160
  }
2569
3161
  .mt-editor .vx-segment {
2570
- overflow-x: auto;
3162
+ overflow-x: scroll;
2571
3163
  }
2572
3164
  .mt-editor .vx-segment label {
2573
3165
  flex: 1 0 auto;