@hyperframes/studio 0.8.230 → 0.8.231
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-Dv5Ew1Dr.js → hyperframes-player-ClW2l0Vl.js} +1 -1
- package/dist/assets/{index-hiL49K7x.js → index-CGfRmZQd.js} +1 -1
- package/dist/assets/{index-BvqtI0ko.js → index-DxWNzvQJ.js} +153 -153
- package/dist/index.d.ts +40 -0
- package/dist/index.html +1 -1
- package/dist/index.js +530 -432
- package/package.json +8 -8
- package/src/captions/components/CaptionOverlay.tsx +7 -14
- package/src/captions/keyboard.test.ts +12 -1
- package/src/captions/keyboard.ts +8 -8
- package/src/components/EditorShell.tsx +2 -1
- package/src/components/TimelineToolbar.tsx +2 -3
- package/src/components/editor/InspectorHeaderActions.tsx +3 -1
- package/src/components/editor/PropertyPanelFlatHeader.tsx +3 -1
- package/src/components/editor/SnapToolbar.tsx +3 -3
- package/src/components/editor/domEditNudge.test.ts +17 -1
- package/src/components/editor/domEditNudge.ts +16 -13
- package/src/components/editor/marqueeCommit.ts +2 -1
- package/src/hooks/appHotkeysDispatch.ts +94 -107
- package/src/hooks/linkShortcuts.test.ts +20 -0
- package/src/hooks/linkShortcuts.ts +11 -11
- package/src/hooks/useAppHotkeys.test.ts +143 -0
- package/src/hooks/useAppHotkeys.ts +1 -4
- package/src/hooks/useAutomationSelectionKeyboard.ts +7 -18
- package/src/hooks/useKeyframeKeyboard.ts +2 -3
- package/src/hooks/useTimelineDeleteOps.ts +2 -1
- package/src/player/components/BeatStrip.tsx +2 -1
- package/src/player/components/ClipContextMenu.tsx +3 -3
- package/src/player/components/TimelineClipFades.tsx +2 -1
- package/src/player/components/clipMenuLinkItems.tsx +5 -4
- package/src/player/components/studioCombo.test.ts +99 -0
- package/src/player/components/studioCombo.ts +108 -0
- package/src/player/components/studioShortcuts.test.tsx +16 -1
- package/src/player/components/studioShortcuts.ts +85 -29
- package/src/player/components/timelineClipDragGestureLifecycle.ts +2 -1
- package/src/player/components/timelineEditing.ts +2 -2
- package/src/player/components/useTimelineClipDrag.ts +2 -1
- package/src/player/components/useTimelineKeyboardActor.ts +7 -18
- package/src/player/components/useTimelineKeyframeHandlers.ts +2 -1
- package/src/player/components/useTimelineRangeSelection.ts +3 -2
- package/src/player/hooks/usePlaybackKeyboard.test.ts +87 -4
- package/src/player/hooks/usePlaybackKeyboard.ts +78 -82
- package/src/player/hooks/useTimelinePlayer.test.ts +19 -13
- package/src/player/lib/playbackShortcuts.ts +13 -16
package/dist/index.d.ts
CHANGED
|
@@ -47,6 +47,46 @@ declare const DEFAULT_STUDIO_KEYS: {
|
|
|
47
47
|
snap: string;
|
|
48
48
|
grid: string;
|
|
49
49
|
timelineSnap: string;
|
|
50
|
+
playPause: string;
|
|
51
|
+
frameBack: string;
|
|
52
|
+
frameForward: string;
|
|
53
|
+
frameBackTen: string;
|
|
54
|
+
frameForwardTen: string;
|
|
55
|
+
loop: string;
|
|
56
|
+
clearInPoint: string;
|
|
57
|
+
clearOutPoint: string;
|
|
58
|
+
undo: string;
|
|
59
|
+
redo: string;
|
|
60
|
+
redoAlt: string;
|
|
61
|
+
tabCompositions: string;
|
|
62
|
+
tabAssets: string;
|
|
63
|
+
group: string;
|
|
64
|
+
ungroup: string;
|
|
65
|
+
copy: string;
|
|
66
|
+
paste: string;
|
|
67
|
+
cut: string;
|
|
68
|
+
duplicate: string;
|
|
69
|
+
linkToggle: string;
|
|
70
|
+
detachAudio: string;
|
|
71
|
+
deleteLinked: string;
|
|
72
|
+
deleteLinkedAlt: string;
|
|
73
|
+
deleteSelected: string;
|
|
74
|
+
deleteSelectedAlt: string;
|
|
75
|
+
resetKeyframes: string;
|
|
76
|
+
nudgeLeft: string;
|
|
77
|
+
nudgeRight: string;
|
|
78
|
+
nudgeUp: string;
|
|
79
|
+
nudgeDown: string;
|
|
80
|
+
nudgeLeftTen: string;
|
|
81
|
+
nudgeRightTen: string;
|
|
82
|
+
nudgeUpTen: string;
|
|
83
|
+
nudgeDownTen: string;
|
|
84
|
+
captionSelectAll: string;
|
|
85
|
+
pickupClip: string;
|
|
86
|
+
pickupUp: string;
|
|
87
|
+
pickupDown: string;
|
|
88
|
+
pickupDrop: string;
|
|
89
|
+
cancel: string;
|
|
50
90
|
};
|
|
51
91
|
type StudioKeyAction = keyof typeof DEFAULT_STUDIO_KEYS;
|
|
52
92
|
type StudioKeys = Readonly<Record<StudioKeyAction, string>>;
|
package/dist/index.html
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
document.documentElement.dataset.theme = "paper";
|
|
15
15
|
}
|
|
16
16
|
</script>
|
|
17
|
-
<script type="module" crossorigin src="/assets/index-
|
|
17
|
+
<script type="module" crossorigin src="/assets/index-DxWNzvQJ.js"></script>
|
|
18
18
|
<link rel="stylesheet" crossorigin href="/assets/index-RUPGNyct.css">
|
|
19
19
|
</head>
|
|
20
20
|
<body>
|