hyperframes 0.8.57 → 0.8.58
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/cli.js +1050 -444
- package/dist/fontLocalizeCli.js +2 -2
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/studio/assets/{hyperframes-player-c23wnIfc.js → hyperframes-player-zGyOcwwh.js} +1 -1
- package/dist/studio/assets/{index-DgkAzx3n.js → index-BcE2OSVA.js} +1 -1
- package/dist/studio/assets/{index-IDNr3X1H.js → index-ZJaRCDYV.js} +1 -1
- package/dist/studio/assets/{index-gbOCDCuZ.js → index-d8ferjRc.js} +123 -123
- package/dist/studio/index.d.ts +30 -1
- package/dist/studio/index.html +1 -1
- package/dist/studio/index.js +1217 -1151
- package/dist/studio/index.js.map +1 -1
- package/package.json +3 -3
package/dist/studio/index.d.ts
CHANGED
|
@@ -1455,6 +1455,35 @@ declare function useTimelinePlayer({ onShadowPromoted, onPreviewReloadFailed, }?
|
|
|
1455
1455
|
resetPreviewSlots: () => void;
|
|
1456
1456
|
};
|
|
1457
1457
|
|
|
1458
|
+
interface PlayerHandleElement {
|
|
1459
|
+
id: string;
|
|
1460
|
+
start: number;
|
|
1461
|
+
end: number;
|
|
1462
|
+
selector?: string;
|
|
1463
|
+
sourceFile?: string;
|
|
1464
|
+
compositionSrc?: string;
|
|
1465
|
+
}
|
|
1466
|
+
type PlayerHandleListener = () => void;
|
|
1467
|
+
type PlayerHandleTimeListener = (time: number) => void;
|
|
1468
|
+
interface PlayerHandle {
|
|
1469
|
+
ready: boolean;
|
|
1470
|
+
playing: boolean;
|
|
1471
|
+
seek: (seconds: number) => boolean;
|
|
1472
|
+
play: () => void;
|
|
1473
|
+
pause: () => void;
|
|
1474
|
+
togglePlay: () => void;
|
|
1475
|
+
readonly currentTime: number;
|
|
1476
|
+
duration: number;
|
|
1477
|
+
elements: PlayerHandleElement[];
|
|
1478
|
+
subscribe: (listener: PlayerHandleListener) => () => void;
|
|
1479
|
+
subscribeTime: (listener: PlayerHandleTimeListener) => () => void;
|
|
1480
|
+
}
|
|
1481
|
+
/**
|
|
1482
|
+
* Reads and controls the shell player. Call this under EditorShell/NLEProvider;
|
|
1483
|
+
* the provider owns the mounted preview iframe and the single player instance.
|
|
1484
|
+
*/
|
|
1485
|
+
declare function usePlayerHandle(): PlayerHandle;
|
|
1486
|
+
|
|
1458
1487
|
declare function formatTime(time: number): string;
|
|
1459
1488
|
|
|
1460
1489
|
interface TimelineEditCallbackDeps {
|
|
@@ -2273,4 +2302,4 @@ declare function TimelineEditProvider({ value, children, }: {
|
|
|
2273
2302
|
children: ReactNode;
|
|
2274
2303
|
}): react_jsx_runtime.JSX.Element;
|
|
2275
2304
|
|
|
2276
|
-
export { type AgentModalAnchorPoint, type AgentPromptElementInfo, AskAgentModal, type AskAgentModalProps, type BlockedTimelineEditIntent, Button, type ButtonSize, type ButtonVariant, type CanEditTimelineElement, CompositionBreadcrumb, type CompositionDimensions, type CompositionLevel, CompositionThumbnail, ContextMenu, type EditHistoryHandle, EditorShell, type EditorShellProps, type ExternalFileChangeBlockedState, type ExternalFileChangeCoordinatorHandle, ExternalFileConflictBanner, type FfmpegStatus, FileTree, GridOverlay, HyperframesLoader, type HyperframesLoaderProps, HyperframesLogo, IconButton, Input, type InputProps, Menu, MenuItem, type MenuItemTone, MenuRadioGroup, MenuRadioItem, MenuSeparator, MenuShortcut, NLEPreview, NumberField, type NumberFieldProps, type PatchOperation, type PersistedRenderSettings, type PickedElement, Player, PlayerControls, Popover, type PopupPreviewState, type DomEditCompositionRect as PreviewCompositionRect, PreviewGuides, PreviewOverlayProvider, type PreviewOverlayProviderProps, type PreviewSnapPreferences, type PreviewState, PropertyPanel, type RenderJob, RenderQueue, type RenderQueueProps, type ResolutionPreset, Select, type SelectOption, type SelectProps, Slider, type SliderProps, SnapToolbar, SourceEditor, type StartRenderOptions, StudioApp, StudioFileConflictError, type StudioPendingEditsDrainResult, Tab, TabPanel, Tabs, TabsList, Timeline, type TimelineEditCallbacks, type TimelineEditPermission, TimelineEditProvider, type TimelineElement, TimelinePane, type TimelinePaneProps, type TimelineTimeRange, Toggle, type ToggleProps, Tooltip, type UseEditHistoryActionsOptions, type UsePersistentEditHistoryOptions, type UseProjectFileWriterOptions, type UseTimelineEditingOptions, VideoThumbnail, applyPatch, buildPickerAgentContextPreview, buildPickerAgentPrompt, buttonBase, buttonSizes, buttonVariants, cn, fieldBase, fieldText, findElementBlock, flushStudioPendingEdits, formatTime, getPersistedRenderSettings, liveTime, mergeStyleIntoTag, parseStyleString, persistRenderSettings, popupSurface, resolveIframe, resolveSourceFile, useEditHistoryActions, useElementPicker, usePersistentEditHistory, usePlayerStore, usePreviewCompositionRect, usePreviewGuidesStore, usePreviewOverlayContext, useProjectFileWriter, useRenderQueue, useTimelineEditing, useTimelinePlayer };
|
|
2305
|
+
export { type AgentModalAnchorPoint, type AgentPromptElementInfo, AskAgentModal, type AskAgentModalProps, type BlockedTimelineEditIntent, Button, type ButtonSize, type ButtonVariant, type CanEditTimelineElement, CompositionBreadcrumb, type CompositionDimensions, type CompositionLevel, CompositionThumbnail, ContextMenu, type EditHistoryHandle, EditorShell, type EditorShellProps, type ExternalFileChangeBlockedState, type ExternalFileChangeCoordinatorHandle, ExternalFileConflictBanner, type FfmpegStatus, FileTree, GridOverlay, HyperframesLoader, type HyperframesLoaderProps, HyperframesLogo, IconButton, Input, type InputProps, Menu, MenuItem, type MenuItemTone, MenuRadioGroup, MenuRadioItem, MenuSeparator, MenuShortcut, NLEPreview, NumberField, type NumberFieldProps, type PatchOperation, type PersistedRenderSettings, type PickedElement, Player, PlayerControls, type PlayerHandle, type PlayerHandleElement, type PlayerHandleListener, type PlayerHandleTimeListener, Popover, type PopupPreviewState, type DomEditCompositionRect as PreviewCompositionRect, PreviewGuides, PreviewOverlayProvider, type PreviewOverlayProviderProps, type PreviewSnapPreferences, type PreviewState, PropertyPanel, type RenderJob, RenderQueue, type RenderQueueProps, type ResolutionPreset, Select, type SelectOption, type SelectProps, Slider, type SliderProps, SnapToolbar, SourceEditor, type StartRenderOptions, StudioApp, StudioFileConflictError, type StudioPendingEditsDrainResult, Tab, TabPanel, Tabs, TabsList, Timeline, type TimelineEditCallbacks, type TimelineEditPermission, TimelineEditProvider, type TimelineElement, TimelinePane, type TimelinePaneProps, type TimelineTimeRange, Toggle, type ToggleProps, Tooltip, type UseEditHistoryActionsOptions, type UsePersistentEditHistoryOptions, type UseProjectFileWriterOptions, type UseTimelineEditingOptions, VideoThumbnail, applyPatch, buildPickerAgentContextPreview, buildPickerAgentPrompt, buttonBase, buttonSizes, buttonVariants, cn, fieldBase, fieldText, findElementBlock, flushStudioPendingEdits, formatTime, getPersistedRenderSettings, liveTime, mergeStyleIntoTag, parseStyleString, persistRenderSettings, popupSurface, resolveIframe, resolveSourceFile, useEditHistoryActions, useElementPicker, usePersistentEditHistory, usePlayerHandle, usePlayerStore, usePreviewCompositionRect, usePreviewGuidesStore, usePreviewOverlayContext, useProjectFileWriter, useRenderQueue, useTimelineEditing, useTimelinePlayer };
|
package/dist/studio/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-d8ferjRc.js"></script>
|
|
9
9
|
<link rel="stylesheet" crossorigin href="/assets/index-DKJpHYYd.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|