@hyperframes/studio 0.6.92 → 0.6.93
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/{index-CDy8BuGq.js → index-BkwsVKGA.js} +1 -1
- package/dist/assets/{index-CmRIkCwI.js → index-DYRWmfMX.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/src/components/editor/PropertyPanel.tsx +0 -3
- package/src/components/editor/manualEditingAvailability.test.ts +5 -5
- package/src/components/editor/manualEditingAvailability.ts +1 -1
package/dist/index.html
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
|
|
6
6
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
7
7
|
<title>HyperFrames Studio</title>
|
|
8
|
-
<script type="module" crossorigin src="/assets/index-
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-DYRWmfMX.js"></script>
|
|
9
9
|
<link rel="stylesheet" crossorigin href="/assets/index-rm9tn9nH.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperframes/studio",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.93",
|
|
4
4
|
"description": "",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"@codemirror/view": "6.40.0",
|
|
32
32
|
"@phosphor-icons/react": "^2.1.10",
|
|
33
33
|
"mediabunny": "^1.45.3",
|
|
34
|
-
"@hyperframes/core": "0.6.
|
|
35
|
-
"@hyperframes/player": "0.6.
|
|
34
|
+
"@hyperframes/core": "0.6.93",
|
|
35
|
+
"@hyperframes/player": "0.6.93"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@types/react": "19",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"vite": "^6.4.2",
|
|
47
47
|
"vitest": "^3.2.4",
|
|
48
48
|
"zustand": "^5.0.0",
|
|
49
|
-
"@hyperframes/producer": "0.6.
|
|
49
|
+
"@hyperframes/producer": "0.6.93"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"react": "19",
|
|
@@ -353,7 +353,6 @@ export const PropertyPanel = memo(function PropertyPanel({
|
|
|
353
353
|
</div>
|
|
354
354
|
</div>
|
|
355
355
|
</div>
|
|
356
|
-
|
|
357
356
|
<div className="flex-1 overflow-y-auto">
|
|
358
357
|
<TextSection
|
|
359
358
|
element={element}
|
|
@@ -369,7 +368,6 @@ export const PropertyPanel = memo(function PropertyPanel({
|
|
|
369
368
|
{element.dataAttributes.start != null && (
|
|
370
369
|
<TimingSection element={element} onSetAttribute={onSetAttribute} />
|
|
371
370
|
)}
|
|
372
|
-
|
|
373
371
|
{isMediaElement(element) && (
|
|
374
372
|
<MediaSection
|
|
375
373
|
projectDir={projectDir}
|
|
@@ -585,7 +583,6 @@ export const PropertyPanel = memo(function PropertyPanel({
|
|
|
585
583
|
</button>
|
|
586
584
|
</div>
|
|
587
585
|
)}
|
|
588
|
-
|
|
589
586
|
{showEditableSections && (
|
|
590
587
|
<StyleSections
|
|
591
588
|
projectId={projectId}
|
|
@@ -25,16 +25,16 @@ describe("manual editing availability", () => {
|
|
|
25
25
|
expect(availability.STUDIO_MOTION_PANEL_ENABLED).toBe(false);
|
|
26
26
|
});
|
|
27
27
|
|
|
28
|
-
it("
|
|
28
|
+
it("enables GSAP drag intercept by default", async () => {
|
|
29
29
|
const availability = await loadAvailabilityWithEnv({});
|
|
30
|
-
expect(availability.STUDIO_GSAP_DRAG_INTERCEPT_ENABLED).toBe(
|
|
30
|
+
expect(availability.STUDIO_GSAP_DRAG_INTERCEPT_ENABLED).toBe(true);
|
|
31
31
|
});
|
|
32
32
|
|
|
33
|
-
it("
|
|
33
|
+
it("disables GSAP drag intercept when env var is false", async () => {
|
|
34
34
|
const availability = await loadAvailabilityWithEnv({
|
|
35
|
-
VITE_STUDIO_ENABLE_GSAP_DRAG_INTERCEPT: "
|
|
35
|
+
VITE_STUDIO_ENABLE_GSAP_DRAG_INTERCEPT: "false",
|
|
36
36
|
});
|
|
37
|
-
expect(availability.STUDIO_GSAP_DRAG_INTERCEPT_ENABLED).toBe(
|
|
37
|
+
expect(availability.STUDIO_GSAP_DRAG_INTERCEPT_ENABLED).toBe(false);
|
|
38
38
|
});
|
|
39
39
|
|
|
40
40
|
it("disables preview selection when the inspector panel flag is explicitly off", async () => {
|
|
@@ -74,7 +74,7 @@ export const STUDIO_GSAP_PANEL_ENABLED = resolveStudioBooleanEnvFlag(
|
|
|
74
74
|
export const STUDIO_KEYFRAMES_ENABLED = resolveStudioBooleanEnvFlag(
|
|
75
75
|
env,
|
|
76
76
|
["VITE_STUDIO_ENABLE_KEYFRAMES", "VITE_STUDIO_KEYFRAMES_ENABLED"],
|
|
77
|
-
|
|
77
|
+
false,
|
|
78
78
|
);
|
|
79
79
|
|
|
80
80
|
export const STUDIO_RAZOR_TOOL_ENABLED = resolveStudioBooleanEnvFlag(
|