@vivix-labs/ads-workbench 1.0.0-beta.14 → 1.0.0-beta.17
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
|
@@ -405,16 +405,16 @@
|
|
|
405
405
|
:root:has(#app > [data-vx-theme=dark]) {
|
|
406
406
|
--vx-scrollbar-root-thumb: var(--vx-dark-neutral-06);
|
|
407
407
|
}
|
|
408
|
-
:where(:root:has([data-vx-theme]), :root:has([data-vx-theme]) *)::-webkit-scrollbar {
|
|
408
|
+
:where(:root:has([data-vx-theme]), :root:has([data-vx-theme]) *, [data-vx-theme], [data-vx-theme] *)::-webkit-scrollbar {
|
|
409
409
|
width: 4px;
|
|
410
410
|
height: 4px;
|
|
411
411
|
background: transparent;
|
|
412
412
|
}
|
|
413
|
-
:where(:root:has([data-vx-theme]), :root:has([data-vx-theme]) *)::-webkit-scrollbar-thumb {
|
|
413
|
+
:where(:root:has([data-vx-theme]), :root:has([data-vx-theme]) *, [data-vx-theme], [data-vx-theme] *)::-webkit-scrollbar-thumb {
|
|
414
414
|
background: var(--vx-border-primary, var(--vx-scrollbar-root-thumb));
|
|
415
415
|
border-radius: 999px;
|
|
416
416
|
}
|
|
417
|
-
:where(:root:has([data-vx-theme]), :root:has([data-vx-theme]) *)::-webkit-scrollbar-corner {
|
|
417
|
+
:where(:root:has([data-vx-theme]), :root:has([data-vx-theme]) *, [data-vx-theme], [data-vx-theme] *)::-webkit-scrollbar-corner {
|
|
418
418
|
background: transparent;
|
|
419
419
|
}
|
|
420
420
|
@supports not selector(::-webkit-scrollbar) {
|
|
@@ -537,8 +537,8 @@
|
|
|
537
537
|
.vx-button:hover:not(:disabled):is([data-appearance=filled], [data-variant=text-tonal-md], [data-variant=text-tonal-lg]) {
|
|
538
538
|
background-image: linear-gradient(var(--vx-white-white-1a), var(--vx-white-white-1a));
|
|
539
539
|
}
|
|
540
|
-
.vx-button[data-appearance=ghost]:hover:not(:disabled) {
|
|
541
|
-
--vx-button-background:
|
|
540
|
+
button.vx-button[data-appearance=ghost]:hover:not(:disabled) {
|
|
541
|
+
--vx-button-background: transparent;
|
|
542
542
|
}
|
|
543
543
|
.vx-button:focus-visible {
|
|
544
544
|
outline: var(--vx-button-focus-width) solid var(--vx-state-assistance);
|
|
@@ -869,7 +869,7 @@
|
|
|
869
869
|
}
|
|
870
870
|
.vx-dropdown[data-size=large] .vx-dropdown-trigger {
|
|
871
871
|
height: var(--vx-dropdown-large-height);
|
|
872
|
-
padding-inline: var(--vx-space-12)
|
|
872
|
+
padding-inline: var(--vx-space-12);
|
|
873
873
|
border-radius: var(--vx-radius-lg);
|
|
874
874
|
font: var(--vx-typography-inter-16-semi-bold);
|
|
875
875
|
}
|
|
@@ -897,6 +897,10 @@
|
|
|
897
897
|
font: var(--vx-typography-inter-14-regular);
|
|
898
898
|
justify-content: space-between;
|
|
899
899
|
}
|
|
900
|
+
.vx-dropdown[data-size=large][data-appearance=field] .vx-dropdown-trigger {
|
|
901
|
+
padding-inline: var(--vx-space-12);
|
|
902
|
+
font: var(--vx-typography-inter-16-regular);
|
|
903
|
+
}
|
|
900
904
|
.vx-dropdown[data-text-size="12"] .vx-dropdown-trigger {
|
|
901
905
|
font: var(--vx-typography-inter-12-regular);
|
|
902
906
|
}
|
|
@@ -961,6 +965,10 @@
|
|
|
961
965
|
.vx-dropdown [role=option] + [role=option] {
|
|
962
966
|
margin-block-start: var(--vx-space-2);
|
|
963
967
|
}
|
|
968
|
+
.vx-dropdown[data-size=large] [role=option] {
|
|
969
|
+
padding-inline: var(--vx-space-12);
|
|
970
|
+
font: var(--vx-typography-inter-16-regular);
|
|
971
|
+
}
|
|
964
972
|
.vx-dropdown [role=option][aria-selected=true] {
|
|
965
973
|
font-weight: 600;
|
|
966
974
|
}
|
|
@@ -1169,6 +1177,21 @@
|
|
|
1169
1177
|
gap: 6px;
|
|
1170
1178
|
}
|
|
1171
1179
|
}
|
|
1180
|
+
@media (640px < width <= 760px) {
|
|
1181
|
+
.vx-asset-library-toolbar[data-project-assets] {
|
|
1182
|
+
flex-wrap: nowrap;
|
|
1183
|
+
height: var(--vx-tabs-primary-height);
|
|
1184
|
+
padding-block: 0;
|
|
1185
|
+
}
|
|
1186
|
+
.vx-asset-library-toolbar[data-project-assets] > :first-child {
|
|
1187
|
+
flex-basis: 0;
|
|
1188
|
+
}
|
|
1189
|
+
.vx-asset-library-toolbar[data-project-assets] .vx-asset-library-controls {
|
|
1190
|
+
flex-wrap: nowrap;
|
|
1191
|
+
flex-basis: auto;
|
|
1192
|
+
gap: var(--vx-space-8);
|
|
1193
|
+
}
|
|
1194
|
+
}
|
|
1172
1195
|
.vx-asset-selection {
|
|
1173
1196
|
display: flex;
|
|
1174
1197
|
flex: 0 1 auto;
|
|
@@ -1214,6 +1237,7 @@
|
|
|
1214
1237
|
height: 16px;
|
|
1215
1238
|
margin: 0;
|
|
1216
1239
|
padding: 0;
|
|
1240
|
+
border: 0;
|
|
1217
1241
|
border-radius: var(--vx-radius-full);
|
|
1218
1242
|
background:
|
|
1219
1243
|
linear-gradient(
|
|
@@ -1274,6 +1298,11 @@
|
|
|
1274
1298
|
color: var(--vx-text-secondary-readable);
|
|
1275
1299
|
opacity: 1;
|
|
1276
1300
|
}
|
|
1301
|
+
textarea {
|
|
1302
|
+
border-radius: var(--vx-input-radius);
|
|
1303
|
+
background: var(--vx-surface-input);
|
|
1304
|
+
resize: vertical;
|
|
1305
|
+
}
|
|
1277
1306
|
.vx-field,
|
|
1278
1307
|
.vx-slider {
|
|
1279
1308
|
display: grid;
|
|
@@ -1281,19 +1310,26 @@
|
|
|
1281
1310
|
min-width: 0;
|
|
1282
1311
|
color: var(--vx-text-primary);
|
|
1283
1312
|
}
|
|
1284
|
-
.vx-field > input {
|
|
1313
|
+
.vx-field > :is(input, textarea) {
|
|
1285
1314
|
box-sizing: border-box;
|
|
1286
1315
|
width: 100%;
|
|
1287
1316
|
min-height: var(--vx-input-medium-height);
|
|
1288
1317
|
padding: var(--vx-space-4) var(--vx-space-8);
|
|
1289
1318
|
border: 0;
|
|
1290
|
-
border-radius: var(--vx-radius
|
|
1319
|
+
border-radius: var(--vx-input-radius);
|
|
1291
1320
|
background: var(--vx-surface-input);
|
|
1292
1321
|
color: inherit;
|
|
1293
1322
|
font: inherit;
|
|
1294
1323
|
}
|
|
1295
1324
|
.vx-field[data-size=large] > input {
|
|
1296
1325
|
min-height: var(--vx-input-large-height);
|
|
1326
|
+
padding: var(--vx-space-8) var(--vx-space-12);
|
|
1327
|
+
}
|
|
1328
|
+
.vx-field > textarea {
|
|
1329
|
+
padding: var(--vx-space-8) var(--vx-space-12);
|
|
1330
|
+
}
|
|
1331
|
+
.vx-field > textarea[data-resize=none] {
|
|
1332
|
+
resize: none;
|
|
1297
1333
|
}
|
|
1298
1334
|
.vx-field[data-appearance=filled] > input {
|
|
1299
1335
|
font: var(--vx-typography-inter-12-regular);
|
|
@@ -1379,7 +1415,7 @@
|
|
|
1379
1415
|
outline: var(--vx-focus-ring-width) solid var(--vx-state-assistance);
|
|
1380
1416
|
outline-offset: calc(-1 * var(--vx-focus-ring-width));
|
|
1381
1417
|
}
|
|
1382
|
-
.vx-field > input:disabled,
|
|
1418
|
+
.vx-field > :is(input, textarea):disabled,
|
|
1383
1419
|
.vx-slider > input:disabled {
|
|
1384
1420
|
cursor: not-allowed;
|
|
1385
1421
|
opacity: 0.5;
|
|
@@ -1392,6 +1428,55 @@
|
|
|
1392
1428
|
display: flex;
|
|
1393
1429
|
justify-content: space-between;
|
|
1394
1430
|
gap: var(--vx-space-8);
|
|
1431
|
+
font: var(--vx-typography-inter-14-medium);
|
|
1432
|
+
}
|
|
1433
|
+
.vx-slider[data-appearance=default] > input {
|
|
1434
|
+
--vx-slider-progress: calc(8px + (100% - 16px) * var(--vx-slider-fraction));
|
|
1435
|
+
appearance: none;
|
|
1436
|
+
box-sizing: border-box;
|
|
1437
|
+
width: 100%;
|
|
1438
|
+
height: 24px;
|
|
1439
|
+
padding: 0;
|
|
1440
|
+
border: 0;
|
|
1441
|
+
border-radius: 0;
|
|
1442
|
+
background: transparent;
|
|
1443
|
+
cursor: pointer;
|
|
1444
|
+
}
|
|
1445
|
+
.vx-slider[data-appearance=default] > input::-webkit-slider-runnable-track {
|
|
1446
|
+
height: 8px;
|
|
1447
|
+
border: 0;
|
|
1448
|
+
border-radius: var(--vx-radius-full);
|
|
1449
|
+
background:
|
|
1450
|
+
linear-gradient(
|
|
1451
|
+
to right,
|
|
1452
|
+
var(--vx-state-success) var(--vx-slider-progress),
|
|
1453
|
+
var(--vx-surface-input) var(--vx-slider-progress));
|
|
1454
|
+
}
|
|
1455
|
+
.vx-slider[data-appearance=default] > input::-webkit-slider-thumb {
|
|
1456
|
+
appearance: none;
|
|
1457
|
+
width: 16px;
|
|
1458
|
+
height: 16px;
|
|
1459
|
+
margin-top: -4px;
|
|
1460
|
+
border: 0;
|
|
1461
|
+
border-radius: 50%;
|
|
1462
|
+
background: var(--vx-state-success);
|
|
1463
|
+
}
|
|
1464
|
+
.vx-slider[data-appearance=default] > input::-moz-range-track,
|
|
1465
|
+
.vx-slider[data-appearance=default] > input::-moz-range-progress {
|
|
1466
|
+
height: 8px;
|
|
1467
|
+
border: 0;
|
|
1468
|
+
border-radius: var(--vx-radius-full);
|
|
1469
|
+
background: var(--vx-surface-input);
|
|
1470
|
+
}
|
|
1471
|
+
.vx-slider[data-appearance=default] > input::-moz-range-progress,
|
|
1472
|
+
.vx-slider[data-appearance=default] > input::-moz-range-thumb {
|
|
1473
|
+
background: var(--vx-state-success);
|
|
1474
|
+
}
|
|
1475
|
+
.vx-slider[data-appearance=default] > input::-moz-range-thumb {
|
|
1476
|
+
width: 16px;
|
|
1477
|
+
height: 16px;
|
|
1478
|
+
border: 0;
|
|
1479
|
+
border-radius: 50%;
|
|
1395
1480
|
}
|
|
1396
1481
|
.vx-slider > input,
|
|
1397
1482
|
.vx-playback-controls > input {
|
|
@@ -1583,7 +1668,7 @@
|
|
|
1583
1668
|
}
|
|
1584
1669
|
.vx-import-file,
|
|
1585
1670
|
.vx-audio-preview,
|
|
1586
|
-
.vx-playback-controls {
|
|
1671
|
+
div.vx-playback-controls {
|
|
1587
1672
|
display: flex;
|
|
1588
1673
|
align-items: center;
|
|
1589
1674
|
gap: var(--vx-space-8);
|
|
@@ -1642,7 +1727,7 @@
|
|
|
1642
1727
|
--vx-playback-played: var(--vx-white-white-7a);
|
|
1643
1728
|
height: 44px;
|
|
1644
1729
|
min-height: 44px;
|
|
1645
|
-
padding: var(--vx-space-12);
|
|
1730
|
+
padding: var(--vx-space-6) var(--vx-space-12);
|
|
1646
1731
|
gap: var(--vx-space-12);
|
|
1647
1732
|
background: linear-gradient(transparent, var(--vx-black-black-2a));
|
|
1648
1733
|
color: var(--vx-text-on-content-primary);
|
|
@@ -1652,15 +1737,18 @@
|
|
|
1652
1737
|
--vx-playback-thumb-size: 12px;
|
|
1653
1738
|
height: 48px;
|
|
1654
1739
|
min-height: 48px;
|
|
1740
|
+
padding-block: var(--vx-space-8);
|
|
1655
1741
|
}
|
|
1656
1742
|
.vx-playback-controls > .vx-button {
|
|
1657
1743
|
--vx-button-icon-size: var(--vx-playback-button-size);
|
|
1658
|
-
width: var(--vx-playback-button-size);
|
|
1659
|
-
height: var(--vx-playback-button-size);
|
|
1660
1744
|
color: inherit;
|
|
1661
1745
|
}
|
|
1662
|
-
.vx-playback-controls > .vx-button[data-shape=icon]
|
|
1663
|
-
|
|
1746
|
+
.vx-playback-controls > .vx-button[data-shape=icon] {
|
|
1747
|
+
width: var(--vx-button-height);
|
|
1748
|
+
height: var(--vx-button-height);
|
|
1749
|
+
}
|
|
1750
|
+
.vx-playback-controls > button.vx-button[data-appearance=ghost]:hover:not(:disabled) {
|
|
1751
|
+
--vx-button-background: transparent;
|
|
1664
1752
|
}
|
|
1665
1753
|
.vx-playback-controls .vx-playback-range {
|
|
1666
1754
|
--vx-playback-progress: calc( var(--vx-playback-thumb-size) / 2 + (100% - var(--vx-playback-thumb-size)) * var(--vx-playback-fraction) );
|
|
@@ -1670,10 +1758,12 @@
|
|
|
1670
1758
|
height: 24px;
|
|
1671
1759
|
margin: 0;
|
|
1672
1760
|
padding: 0;
|
|
1761
|
+
border: 0;
|
|
1673
1762
|
background: transparent;
|
|
1674
1763
|
cursor: pointer;
|
|
1675
1764
|
}
|
|
1676
1765
|
.vx-playback-controls .vx-playback-range::-webkit-slider-runnable-track {
|
|
1766
|
+
border: 0;
|
|
1677
1767
|
height: var(--vx-playback-track-height);
|
|
1678
1768
|
border-radius: var(--vx-radius-full);
|
|
1679
1769
|
background:
|
|
@@ -1694,11 +1784,13 @@
|
|
|
1694
1784
|
box-shadow: var(--vx-playback-thumb-shadow, none);
|
|
1695
1785
|
}
|
|
1696
1786
|
.vx-playback-controls .vx-playback-range::-moz-range-track {
|
|
1787
|
+
border: 0;
|
|
1697
1788
|
height: var(--vx-playback-track-height);
|
|
1698
1789
|
border-radius: var(--vx-radius-full);
|
|
1699
1790
|
background: var(--vx-overlay-tag);
|
|
1700
1791
|
}
|
|
1701
1792
|
.vx-playback-controls .vx-playback-range::-moz-range-progress {
|
|
1793
|
+
border: 0;
|
|
1702
1794
|
height: var(--vx-playback-track-height);
|
|
1703
1795
|
border-radius: var(--vx-radius-full);
|
|
1704
1796
|
background: var(--vx-playback-played);
|
|
@@ -2522,9 +2614,9 @@ button.vx-tile-title {
|
|
|
2522
2614
|
justify-content: flex-end;
|
|
2523
2615
|
flex-wrap: wrap;
|
|
2524
2616
|
}
|
|
2525
|
-
.vx-dialog h2 {
|
|
2617
|
+
.vx-dialog > header > h2 {
|
|
2526
2618
|
margin: 0;
|
|
2527
|
-
font: var(--vx-typography-inter-
|
|
2619
|
+
font: var(--vx-typography-inter-18-semi-bold);
|
|
2528
2620
|
}
|
|
2529
2621
|
dialog.vx-dialog.vx-dialog-inline {
|
|
2530
2622
|
position: static;
|
|
@@ -2621,6 +2713,14 @@ button.vx-tile-title {
|
|
|
2621
2713
|
pointer-events: none;
|
|
2622
2714
|
}
|
|
2623
2715
|
@media (prefers-reduced-motion: no-preference) {
|
|
2716
|
+
.vx-dialog:modal,
|
|
2717
|
+
[role=dialog]:not(dialog, [popover], [hidden]),
|
|
2718
|
+
[role=dialog][popover]:popover-open {
|
|
2719
|
+
animation: vx-dialog-enter var(--vx-motion-duration-enter) var(--vx-motion-easing-enter);
|
|
2720
|
+
}
|
|
2721
|
+
.vx-dialog:modal::backdrop {
|
|
2722
|
+
animation: vx-backdrop-enter var(--vx-motion-duration-enter) var(--vx-motion-easing-enter);
|
|
2723
|
+
}
|
|
2624
2724
|
.vx-toast:popover-open {
|
|
2625
2725
|
animation: vx-toast-enter var(--vx-motion-duration-enter) var(--vx-motion-easing-enter);
|
|
2626
2726
|
}
|
|
@@ -2649,6 +2749,26 @@ button.vx-tile-title {
|
|
|
2649
2749
|
transform: translate(-50%, 0);
|
|
2650
2750
|
}
|
|
2651
2751
|
}
|
|
2752
|
+
@keyframes vx-dialog-enter {
|
|
2753
|
+
from {
|
|
2754
|
+
opacity: 0;
|
|
2755
|
+
translate: 0 8px;
|
|
2756
|
+
scale: 0.98;
|
|
2757
|
+
}
|
|
2758
|
+
to {
|
|
2759
|
+
opacity: 1;
|
|
2760
|
+
translate: 0 0;
|
|
2761
|
+
scale: 1;
|
|
2762
|
+
}
|
|
2763
|
+
}
|
|
2764
|
+
@keyframes vx-backdrop-enter {
|
|
2765
|
+
from {
|
|
2766
|
+
opacity: 0;
|
|
2767
|
+
}
|
|
2768
|
+
to {
|
|
2769
|
+
opacity: 1;
|
|
2770
|
+
}
|
|
2771
|
+
}
|
|
2652
2772
|
|
|
2653
2773
|
/* packages/ui-system/dist/styles.css */
|
|
2654
2774
|
@font-face {
|
|
@@ -2813,6 +2933,9 @@ button.vx-tile-title {
|
|
|
2813
2933
|
.vx-icon[data-icon=fullscreen] {
|
|
2814
2934
|
--vx-icon-mask: url("./assets/fullscreen-L2JCXIN2.svg");
|
|
2815
2935
|
}
|
|
2936
|
+
.vx-icon[data-icon=fullscreen-exit] {
|
|
2937
|
+
--vx-icon-mask: url("./assets/fullscreen-exit-ADYOPBYH.svg");
|
|
2938
|
+
}
|
|
2816
2939
|
.vx-icon[data-icon=sound-file] {
|
|
2817
2940
|
--vx-icon-mask: url("./assets/sound-file-YYY6VNYN.svg");
|
|
2818
2941
|
}
|
|
@@ -3194,9 +3317,6 @@ button.vx-tile-title {
|
|
|
3194
3317
|
.ad-asset-feedback[role=alert] {
|
|
3195
3318
|
color: var(--vx-state-danger);
|
|
3196
3319
|
}
|
|
3197
|
-
.ad-library-bar .ad-asset-search {
|
|
3198
|
-
width: min(100%, 180px);
|
|
3199
|
-
}
|
|
3200
3320
|
.ad-library .ad-asset-cover.vx-tile-preview {
|
|
3201
3321
|
display: block;
|
|
3202
3322
|
position: relative;
|
|
@@ -3711,15 +3831,29 @@ button.vx-tile-title {
|
|
|
3711
3831
|
font: var(--vx-typography-inter-16-semi-bold);
|
|
3712
3832
|
}
|
|
3713
3833
|
.ads-workbench .ad-compare .mt-compare-columns {
|
|
3714
|
-
|
|
3715
|
-
grid-template-columns: repeat(
|
|
3834
|
+
container: ad-comparison / inline-size;
|
|
3835
|
+
grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)) !important;
|
|
3716
3836
|
gap: 16px;
|
|
3717
3837
|
}
|
|
3718
|
-
|
|
3719
|
-
|
|
3838
|
+
@container ad-comparison (width < 688px) {
|
|
3839
|
+
.ads-workbench .ad-compare .mt-compare-column {
|
|
3840
|
+
min-height: 0;
|
|
3841
|
+
}
|
|
3720
3842
|
}
|
|
3721
|
-
|
|
3722
|
-
|
|
3843
|
+
@container ad-comparison (512px <= width < 688px) {
|
|
3844
|
+
.ads-workbench .ad-compare .mt-compare-column:nth-child(3n+1)::before {
|
|
3845
|
+
display: none;
|
|
3846
|
+
}
|
|
3847
|
+
}
|
|
3848
|
+
@container ad-comparison (336px <= width < 512px) {
|
|
3849
|
+
.ads-workbench .ad-compare .mt-compare-column:nth-child(2n+1)::before {
|
|
3850
|
+
display: none;
|
|
3851
|
+
}
|
|
3852
|
+
}
|
|
3853
|
+
@container ad-comparison (width < 336px) {
|
|
3854
|
+
.ads-workbench .ad-compare .mt-compare-column::before {
|
|
3855
|
+
display: none;
|
|
3856
|
+
}
|
|
3723
3857
|
}
|
|
3724
3858
|
.ads-workbench .ad-compare .mt-compare-preview,
|
|
3725
3859
|
.ads-workbench .ad-compare .mt-compare-preview :is(.vx-video-player, .vx-video-stage, .mt-player, .mt-player-fit) {
|
|
@@ -3928,6 +4062,25 @@ button.vx-tile-title {
|
|
|
3928
4062
|
margin: 0;
|
|
3929
4063
|
text-align: right;
|
|
3930
4064
|
}
|
|
4065
|
+
.ads-workbench .ad-working-content > .ad-panel:has(.ad-library[data-empty]),
|
|
4066
|
+
.ads-workbench .ad-working-content > .ad-storyboard[data-empty] {
|
|
4067
|
+
overflow: auto;
|
|
4068
|
+
scrollbar-gutter: auto;
|
|
4069
|
+
}
|
|
4070
|
+
.ad-library[data-empty] > .ad-empty,
|
|
4071
|
+
.ads-workbench .ad-storyboard[data-empty] > .ad-empty {
|
|
4072
|
+
flex: 1;
|
|
4073
|
+
justify-content: center;
|
|
4074
|
+
padding: var(--vx-space-16);
|
|
4075
|
+
}
|
|
4076
|
+
.ads-workbench .ad-storyboard[data-empty] {
|
|
4077
|
+
display: flex;
|
|
4078
|
+
flex-direction: column;
|
|
4079
|
+
}
|
|
4080
|
+
.ad-library[data-empty] > .ad-library-bar,
|
|
4081
|
+
.ads-workbench .ad-storyboard[data-empty] > .ad-section-heading {
|
|
4082
|
+
flex-shrink: 0;
|
|
4083
|
+
}
|
|
3931
4084
|
|
|
3932
4085
|
/* packages/ads-workbench/src/ad-video-layout.css */
|
|
3933
4086
|
.ads-workbench .ad-screen {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vivix-labs/ads-workbench",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.17",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
"react-dom": "^19.0.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@vivix-labs/project-studio": "
|
|
43
|
-
"@vivix-labs/ui-system": "
|
|
42
|
+
"@vivix-labs/project-studio": "1.0.0-beta.17",
|
|
43
|
+
"@vivix-labs/ui-system": "1.0.0-beta.17"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
46
|
"build": "node ../../scripts/build-product-packages.mjs ads-workbench"
|
|
47
47
|
}
|
|
48
|
-
}
|
|
48
|
+
}
|
package/presets/ads.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
{
|
|
8
8
|
"id": "api",
|
|
9
9
|
"package": "@vivix-labs/vivix-api",
|
|
10
|
-
"version": "1.0.0-beta.
|
|
10
|
+
"version": "1.0.0-beta.17",
|
|
11
11
|
"enabled": true,
|
|
12
12
|
"config": {},
|
|
13
13
|
"requiredAccess": ["official.request"]
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
{
|
|
16
16
|
"id": "studio",
|
|
17
17
|
"package": "@vivix-labs/project-studio",
|
|
18
|
-
"version": "1.0.0-beta.
|
|
18
|
+
"version": "1.0.0-beta.17",
|
|
19
19
|
"enabled": true,
|
|
20
20
|
"config": {
|
|
21
21
|
"role": "project",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
{
|
|
31
31
|
"id": "library",
|
|
32
32
|
"package": "@vivix-labs/material-library",
|
|
33
|
-
"version": "1.0.0-beta.
|
|
33
|
+
"version": "1.0.0-beta.17",
|
|
34
34
|
"enabled": true,
|
|
35
35
|
"config": {
|
|
36
36
|
"role": "client",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
{
|
|
41
41
|
"id": "media",
|
|
42
42
|
"package": "@vivix-labs/media-tools",
|
|
43
|
-
"version": "1.0.0-beta.
|
|
43
|
+
"version": "1.0.0-beta.17",
|
|
44
44
|
"enabled": true,
|
|
45
45
|
"config": {
|
|
46
46
|
"dataInstance": "user:data",
|
|
@@ -51,21 +51,21 @@
|
|
|
51
51
|
{
|
|
52
52
|
"id": "ads-compare",
|
|
53
53
|
"package": "@vivix-labs/ads-compare",
|
|
54
|
-
"version": "1.0.0-beta.
|
|
54
|
+
"version": "1.0.0-beta.17",
|
|
55
55
|
"enabled": true,
|
|
56
56
|
"config": {}
|
|
57
57
|
},
|
|
58
58
|
{
|
|
59
59
|
"id": "ads-storyboard",
|
|
60
60
|
"package": "@vivix-labs/ads-storyboard",
|
|
61
|
-
"version": "1.0.0-beta.
|
|
61
|
+
"version": "1.0.0-beta.17",
|
|
62
62
|
"enabled": true,
|
|
63
63
|
"config": {}
|
|
64
64
|
},
|
|
65
65
|
{
|
|
66
66
|
"id": "workbench",
|
|
67
67
|
"package": "@vivix-labs/ads-workbench",
|
|
68
|
-
"version": "1.0.0-beta.
|
|
68
|
+
"version": "1.0.0-beta.17",
|
|
69
69
|
"enabled": true,
|
|
70
70
|
"config": {
|
|
71
71
|
"studioInstance": "studio",
|
|
@@ -6,7 +6,7 @@ Stages 3 and 4.
|
|
|
6
6
|
|
|
7
7
|
**Photos.** One clean real photo per form that will be on screen: closed, open, the contents, the box. A form with no photo gets invented by the model. Import each with `assets.import` (`name`, `kind: "image"`, `tags: ["product"]`, `stagingFileIds`) and put its `{ storeId, objectId, versionId }` in `brief.productRefs`.
|
|
8
8
|
|
|
9
|
-
A local file is staged before it is imported. Either the user drops the photos into **Project Asset**, or you stream each file to the local host and pass the returned `data.stagingFileId`: `POST <origin>/v1/user/http/data/stage?scopeKind=project&scopeId=<projectId>&actorId=local&name=<file name>` with the file bytes as the body and `Authorization: Bearer <token>`, where `origin` and `token` are read from `~/.
|
|
9
|
+
A local file is staged before it is imported. Either the user drops the photos into **Project Asset**, or you stream each file to the local host and pass the returned `data.stagingFileId`: `POST <origin>/v1/user/http/data/stage?scopeKind=project&scopeId=<projectId>&actorId=local&name=<file name>` with the file bytes as the body and `Authorization: Bearer <token>`, where `origin` and `token` are read from `~/.vivix-studio/runtime/host.json`. A file path is never a staging ID, and the token is never printed.
|
|
10
10
|
|
|
11
11
|
- Never generate, restyle or "clean up" a product image that carries brand text with an image model: it rewrites the text. Crop or cut out instead.
|
|
12
12
|
- Show only the sides the user supplied. No back, no inside, no contents the photos do not show.
|