@hyperframes/studio 0.7.82 → 0.7.84

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.
Files changed (39) hide show
  1. package/dist/assets/{hyperframes-player-HOyDfIO9.js → hyperframes-player-s9w3Y9Nj.js} +1 -1
  2. package/dist/assets/{index-fH499K3b.js → index-BWOPM8bq.js} +1 -1
  3. package/dist/assets/{index-DlPIfJDz.js → index-C3J3fmFc.js} +150 -150
  4. package/dist/assets/{index-C0c6LmEC.js → index-COqACN_S.js} +1 -1
  5. package/dist/index.html +1 -1
  6. package/dist/index.js +3053 -3091
  7. package/dist/index.js.map +1 -1
  8. package/package.json +7 -7
  9. package/src/App.tsx +2 -5
  10. package/src/components/StudioHeader.tsx +3 -18
  11. package/src/components/StudioRightPanel.tsx +14 -22
  12. package/src/components/TimelineToolbar.tsx +120 -132
  13. package/src/components/editor/EaseCurveSection.tsx +9 -90
  14. package/src/components/editor/EaseModeControls.tsx +110 -0
  15. package/src/components/editor/PropertyPanel.test.tsx +2 -3
  16. package/src/components/editor/PropertyPanel.tsx +7 -12
  17. package/src/components/editor/PropertyPanelFlat.tsx +0 -2
  18. package/src/components/editor/floatingPanel.test.ts +20 -1
  19. package/src/components/editor/floatingPanel.ts +15 -0
  20. package/src/components/editor/manualEditingAvailability.test.ts +13 -40
  21. package/src/components/editor/manualEditingAvailability.ts +0 -41
  22. package/src/components/editor/propertyPanel3dTransform.tsx +1 -2
  23. package/src/components/editor/propertyPanelFlatLayoutSection.tsx +1 -2
  24. package/src/components/nle/PreviewOverlays.tsx +8 -20
  25. package/src/components/renders/RenderQueue.tsx +54 -23
  26. package/src/components/sidebar/LeftSidebar.tsx +15 -22
  27. package/src/components/ui/Tooltip.tsx +25 -7
  28. package/src/hooks/useAppHotkeys.ts +1 -2
  29. package/src/hooks/useDomEditPreviewSync.ts +1 -2
  30. package/src/hooks/useDomEditWiring.ts +2 -3
  31. package/src/hooks/useDomSelection.ts +0 -27
  32. package/src/hooks/usePreviewInteraction.ts +2 -3
  33. package/src/hooks/useStudioContextValue.ts +3 -7
  34. package/src/player/components/Timeline.tsx +1 -2
  35. package/src/player/components/TimelineLanes.tsx +33 -35
  36. package/src/player/components/useAutoExpandKeyframedClips.ts +0 -2
  37. package/src/player/components/useTimelineTrackLayout.ts +1 -5
  38. package/src/utils/studioUrlState.test.ts +5 -8
  39. package/src/utils/studioUrlState.ts +1 -10
@@ -1 +1 @@
1
- import{g as P}from"./index-DlPIfJDz.js";function j(c,d){for(var s=0;s<d.length;s++){const a=d[s];if(typeof a!="string"&&!Array.isArray(a)){for(const i in a)if(i!=="default"&&!(i in c)){const l=Object.getOwnPropertyDescriptor(a,i);l&&Object.defineProperty(c,i,l.get?l:{enumerable:!0,get:()=>a[i]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var v={},w;function k(){if(w)return v;w=1,Object.defineProperty(v,"__esModule",{value:!0}),v.default=d;var c=window.OfflineAudioContext||window.webkitOfflineAudioContext;function d(e){var r=a(e);return r.start(0),[i,y,O(e.sampleRate),s].reduce(function(t,o){return o(t)},r.buffer.getChannelData(0))}function s(e){return e.sort(function(r,t){return t.count-r.count}).splice(0,5)[0].tempo}function a(e){var r=e.length,t=e.numberOfChannels,o=e.sampleRate,n=new c(t,r,o),u=n.createBufferSource();u.buffer=e;var f=n.createBiquadFilter();return f.type="lowpass",u.connect(f),f.connect(n.destination),u}function i(e){for(var r=[],t=.9,o=.3,n=15;r.length<n&&t>=o;)r=l(e,t),t-=.05;if(r.length<n)throw new Error("Could not find enough samples for a reliable detection.");return r}function l(e,r){for(var t=[],o=0,n=e.length;o<n;o+=1)e[o]>r&&(t.push(o),o+=1e4);return t}function y(e){var r=[];return e.forEach(function(t,o){for(var n=function(x){var g=e[o+x]-t,_=r.some(function(h){if(h.interval===g)return h.count+=1});_||r.push({interval:g,count:1})},u=0;u<10;u+=1)n(u)}),r}function O(e){return function(r){var t=[];return r.forEach(function(o){if(o.interval!==0){for(var n=60/(o.interval/e);n<90;)n*=2;for(;n>180;)n/=2;n=Math.round(n);var u=t.some(function(f){if(f.tempo===n)return f.count+=o.count});u||t.push({tempo:n,count:o.count})}}),t}}return v}var p,b;function q(){return b||(b=1,p=k().default),p}var m=q();const A=P(m),D=j({__proto__:null,default:A},[m]);export{D as i};
1
+ import{g as P}from"./index-C3J3fmFc.js";function j(c,d){for(var s=0;s<d.length;s++){const a=d[s];if(typeof a!="string"&&!Array.isArray(a)){for(const i in a)if(i!=="default"&&!(i in c)){const l=Object.getOwnPropertyDescriptor(a,i);l&&Object.defineProperty(c,i,l.get?l:{enumerable:!0,get:()=>a[i]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var v={},w;function k(){if(w)return v;w=1,Object.defineProperty(v,"__esModule",{value:!0}),v.default=d;var c=window.OfflineAudioContext||window.webkitOfflineAudioContext;function d(e){var r=a(e);return r.start(0),[i,y,O(e.sampleRate),s].reduce(function(t,o){return o(t)},r.buffer.getChannelData(0))}function s(e){return e.sort(function(r,t){return t.count-r.count}).splice(0,5)[0].tempo}function a(e){var r=e.length,t=e.numberOfChannels,o=e.sampleRate,n=new c(t,r,o),u=n.createBufferSource();u.buffer=e;var f=n.createBiquadFilter();return f.type="lowpass",u.connect(f),f.connect(n.destination),u}function i(e){for(var r=[],t=.9,o=.3,n=15;r.length<n&&t>=o;)r=l(e,t),t-=.05;if(r.length<n)throw new Error("Could not find enough samples for a reliable detection.");return r}function l(e,r){for(var t=[],o=0,n=e.length;o<n;o+=1)e[o]>r&&(t.push(o),o+=1e4);return t}function y(e){var r=[];return e.forEach(function(t,o){for(var n=function(x){var g=e[o+x]-t,_=r.some(function(h){if(h.interval===g)return h.count+=1});_||r.push({interval:g,count:1})},u=0;u<10;u+=1)n(u)}),r}function O(e){return function(r){var t=[];return r.forEach(function(o){if(o.interval!==0){for(var n=60/(o.interval/e);n<90;)n*=2;for(;n>180;)n/=2;n=Math.round(n);var u=t.some(function(f){if(f.tempo===n)return f.count+=o.count});u||t.push({tempo:n,count:o.count})}}),t}}return v}var p,b;function q(){return b||(b=1,p=k().default),p}var m=q();const A=P(m),D=j({__proto__:null,default:A},[m]);export{D as i};
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-DlPIfJDz.js"></script>
8
+ <script type="module" crossorigin src="/assets/index-C3J3fmFc.js"></script>
9
9
  <link rel="stylesheet" crossorigin href="/assets/index-D379YOKT.css">
10
10
  </head>
11
11
  <body>