@hyperframes/studio 0.8.123 → 0.8.124
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/assets/{hyperframes-player-yABdb6yk.js → hyperframes-player-ColOZ_78.js} +1 -1
- package/dist/assets/{index-Dt7lWtY7.js → index-BuSTrK-Z.js} +112 -112
- package/dist/assets/{index-DWjF2Kxw.js → index-CVuUfURE.js} +1 -1
- package/dist/assets/{index-LrNlT5Tg.css → index-D11atkBt.css} +1 -1
- package/dist/assets/{index-D77MIjSJ.js → index-jQEqFKMk.js} +1 -1
- package/dist/index.html +2 -2
- package/dist/index.js +70 -49
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +8 -8
- package/src/components/OpenInDesktopButton.dom.test.tsx +27 -10
- package/src/components/OpenInDesktopButton.tsx +22 -15
- package/src/player/components/AudibleVideoClipContent.test.tsx +67 -0
- package/src/player/components/AudibleVideoClipContent.tsx +5 -4
- package/src/player/components/AudioWaveform.tsx +2 -1
- package/src/player/components/ClipPeakMarks.tsx +5 -2
- package/src/player/components/OutOfSyncBadge.tsx +1 -1
- package/src/player/components/Timeline.trackPadding.test.tsx +1 -3
- package/src/player/components/TimelineCanvas.tsx +1 -0
- package/src/player/components/TimelineClip.filmstrip.test.tsx +27 -0
- package/src/player/components/TimelineClipFades.test.tsx +2 -1
- package/src/player/components/timelineClipDragPreview.test.ts +31 -0
- package/src/player/components/timelineClipDragPreview.ts +42 -37
- package/src/player/hooks/useTimelinePlayer.seek.test.ts +11 -0
- package/src/styles/components.css +33 -3
|
@@ -308,6 +308,22 @@
|
|
|
308
308
|
}
|
|
309
309
|
}
|
|
310
310
|
|
|
311
|
+
/* A video's sound strip is too short for the peak readout: only the mark stays, on a chip clear of the clip's
|
|
312
|
+
rounded corner and above the waveform canvas layer (z 10), below the fade handles (z 30). */
|
|
313
|
+
.audible-video-wave [data-peak-text] {
|
|
314
|
+
display: none;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.audible-video-wave [data-peak-badge] {
|
|
318
|
+
top: 50%;
|
|
319
|
+
right: var(--timeline-clip-radius);
|
|
320
|
+
translate: 0 -50%;
|
|
321
|
+
padding: 1px 3px;
|
|
322
|
+
border-radius: 3px;
|
|
323
|
+
background: var(--timeline-clip-chip-audio-bg);
|
|
324
|
+
z-index: 20;
|
|
325
|
+
}
|
|
326
|
+
|
|
311
327
|
.timeline-clip.is-audio.is-hovered {
|
|
312
328
|
background-color: var(--timeline-clip-audio-bg-hover);
|
|
313
329
|
}
|
|
@@ -350,7 +366,6 @@
|
|
|
350
366
|
position: absolute;
|
|
351
367
|
top: 5px;
|
|
352
368
|
left: 6px;
|
|
353
|
-
z-index: 6;
|
|
354
369
|
width: fit-content;
|
|
355
370
|
max-width: calc(100% - 22px);
|
|
356
371
|
overflow: hidden;
|
|
@@ -411,6 +426,7 @@
|
|
|
411
426
|
.timeline-clip.is-audio .timeline-clip__label {
|
|
412
427
|
top: 11px;
|
|
413
428
|
left: 9px;
|
|
429
|
+
z-index: 11;
|
|
414
430
|
background: var(--timeline-clip-chip-audio-bg);
|
|
415
431
|
}
|
|
416
432
|
|
|
@@ -936,8 +952,8 @@
|
|
|
936
952
|
}
|
|
937
953
|
}
|
|
938
954
|
|
|
939
|
-
/* Framey on the header's "Edit with Framey" (OpenInDesktopButton.tsx): a
|
|
940
|
-
* the app while it opens. The eye follows the pointer from script. */
|
|
955
|
+
/* Framey on the header's "Edit with Framey" (OpenInDesktopButton.tsx): a pulse as the page opens, a wiggle
|
|
956
|
+
* on hover, a flight towards the app while it opens. The eye follows the pointer from script. */
|
|
941
957
|
@keyframes hf-framey-wiggle {
|
|
942
958
|
0%,
|
|
943
959
|
100% {
|
|
@@ -961,6 +977,19 @@
|
|
|
961
977
|
}
|
|
962
978
|
}
|
|
963
979
|
|
|
980
|
+
@keyframes hf-framey-pulse {
|
|
981
|
+
0% {
|
|
982
|
+
box-shadow: 0 0 0 0 color-mix(in oklch, var(--color-accent) 45%, transparent);
|
|
983
|
+
}
|
|
984
|
+
100% {
|
|
985
|
+
box-shadow: 0 0 0 8px transparent;
|
|
986
|
+
}
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
.hf-framey-trigger {
|
|
990
|
+
animation: hf-framey-pulse 1.6s ease-out 3;
|
|
991
|
+
}
|
|
992
|
+
|
|
964
993
|
.hf-framey {
|
|
965
994
|
transform-origin: 30% 30%;
|
|
966
995
|
}
|
|
@@ -978,6 +1007,7 @@
|
|
|
978
1007
|
}
|
|
979
1008
|
|
|
980
1009
|
@media (prefers-reduced-motion: reduce) {
|
|
1010
|
+
.hf-framey-trigger,
|
|
981
1011
|
.hf-framey-trigger:hover .hf-framey,
|
|
982
1012
|
.hf-framey-trigger[data-opening] .hf-framey {
|
|
983
1013
|
animation: none;
|