@hyperframes/studio 0.9.31 → 0.9.33
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/{codec-DXM4vA6G.js → codec-qz1-OXLj.js} +1 -1
- package/dist/assets/{hyperframes-player-D_016Ubp.js → hyperframes-player-2eG1zFX5.js} +1 -1
- package/dist/assets/{index-dsfjBidg.css → index-BJTCbv8z.css} +1 -1
- package/dist/assets/{index-Ob53qo6K.js → index-DDmhnfrS.js} +189 -189
- package/dist/assets/{index-Bw4stQMm.js → index-DUveJ_YP.js} +1 -1
- package/dist/assets/{pausedVideoDecoder-vbdgaMqL.js → pausedVideoDecoder-CoHTKUjM.js} +1 -1
- package/dist/{chunk-J3VJE463.js → chunk-52AJB4PN.js} +4 -1
- package/dist/{chunk-LRTUWOR4.js → chunk-YKBN653R.js} +1 -1
- package/dist/index.html +2 -2
- package/dist/index.js +2054 -1392
- package/dist/player.js +2 -2
- package/dist/styles.css +1 -1
- package/dist/ui.js +1 -1
- package/package.json +8 -8
- package/src/App.tsx +1 -0
- package/src/components/StudioHeader.tsx +4 -0
- package/src/components/share/QuickShare.test.tsx +622 -0
- package/src/components/share/QuickShare.tsx +104 -0
- package/src/components/share/QuickShareControls.tsx +265 -0
- package/src/components/share/ShareAudience.tsx +120 -0
- package/src/components/share/localShareClient.ts +171 -0
- package/src/components/share/localShareTelemetry.test.ts +22 -0
- package/src/components/share/localShareTelemetry.ts +13 -0
- package/src/components/share/useQuickShare.ts +215 -0
- package/src/components/sidebar/CompositionsTab.hoverPreview.test.tsx +100 -0
- package/src/components/sidebar/CompositionsTab.test.ts +2 -24
- package/src/components/sidebar/CompositionsTab.tsx +35 -100
- package/src/components/ui/Input.tsx +4 -1
- package/src/components/ui/valueControls.test.tsx +85 -0
- package/src/webmcp/polyfill.transport.test.ts +59 -0
- package/src/webmcp/polyfill.ts +15 -0
package/dist/ui.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperframes/studio",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.33",
|
|
4
4
|
"description": "",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -60,12 +60,12 @@
|
|
|
60
60
|
"dockview-react": "8.3.1",
|
|
61
61
|
"gsap": "^3.13.0",
|
|
62
62
|
"mediabunny": "^1.65.2",
|
|
63
|
-
"@hyperframes/
|
|
64
|
-
"@hyperframes/
|
|
65
|
-
"@hyperframes/
|
|
66
|
-
"@hyperframes/
|
|
67
|
-
"@hyperframes/
|
|
68
|
-
"@hyperframes/
|
|
63
|
+
"@hyperframes/core": "0.9.33",
|
|
64
|
+
"@hyperframes/parsers": "0.9.33",
|
|
65
|
+
"@hyperframes/player": "0.9.33",
|
|
66
|
+
"@hyperframes/sdk": "0.9.33",
|
|
67
|
+
"@hyperframes/shader-transitions": "0.9.33",
|
|
68
|
+
"@hyperframes/studio-server": "0.9.33"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"@tailwindcss/vite": "^4.3.3",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"vite": "^6.4.2",
|
|
83
83
|
"vitest": "^4.1.11",
|
|
84
84
|
"zustand": "^5.0.0",
|
|
85
|
-
"@hyperframes/producer": "0.9.
|
|
85
|
+
"@hyperframes/producer": "0.9.33"
|
|
86
86
|
},
|
|
87
87
|
"peerDependencies": {
|
|
88
88
|
"react": "19",
|
package/src/App.tsx
CHANGED
|
@@ -517,6 +517,7 @@ export function StudioApp({ readOnlyPreview = false, readOnlyPreviewReason }: St
|
|
|
517
517
|
inspectorButtonActive={inspectorButtonActive}
|
|
518
518
|
inspectorPanelActive={inspectorPanelActive}
|
|
519
519
|
onExport={handleExport}
|
|
520
|
+
beforeShare={previewPersistence.waitForPendingDomEditSaves}
|
|
520
521
|
/>
|
|
521
522
|
{previewPersistence.domEditSaveQueuePaused && !externalFileChanges.blocked && (
|
|
522
523
|
<SaveQueuePausedBanner
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { memo, useContext, type MouseEvent } from "react";
|
|
2
|
+
import { QuickShare } from "./share/QuickShare";
|
|
2
3
|
import { Camera } from "../icons/SystemIcons";
|
|
3
4
|
import { useStudioShellContext } from "../contexts/StudioContext";
|
|
4
5
|
import { usePanelLayoutContext } from "../contexts/PanelLayoutContext";
|
|
@@ -19,6 +20,7 @@ interface StudioHeaderProps {
|
|
|
19
20
|
inspectorButtonActive: boolean;
|
|
20
21
|
inspectorPanelActive: boolean;
|
|
21
22
|
onExport?: () => void;
|
|
23
|
+
beforeShare?: () => Promise<void>;
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
/**
|
|
@@ -45,6 +47,7 @@ export const StudioHeader = memo(function StudioHeader({
|
|
|
45
47
|
inspectorButtonActive,
|
|
46
48
|
inspectorPanelActive,
|
|
47
49
|
onExport,
|
|
50
|
+
beforeShare,
|
|
48
51
|
}: StudioHeaderProps) {
|
|
49
52
|
const showThemeToggle = useContext(ShowThemeToggle);
|
|
50
53
|
const { projectId, renderQueue } = useStudioShellContext();
|
|
@@ -153,6 +156,7 @@ export const StudioHeader = memo(function StudioHeader({
|
|
|
153
156
|
{showThemeToggle && <ThemeToggle />}
|
|
154
157
|
<Dock.WindowMenu />
|
|
155
158
|
<OpenInDesktopButton />
|
|
159
|
+
<QuickShare beforeShare={beforeShare} />
|
|
156
160
|
<Tooltip
|
|
157
161
|
label={
|
|
158
162
|
ffmpegMissing
|