mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-03 12:54:29 +00:00
Adds a Blocks tab to the Studio left sidebar with the full 78-item registry
catalog (58 blocks + 20 components). Users can browse by category, search by
title/description, preview CDN-hosted poster thumbnails with video-on-hover,
and install items on-demand with one click or drag-to-timeline.
Core changes:
- BlockCategory type + resolveBlockCategory() for 7 categories (Captions, VFX,
Transitions, Effects, Social, Data, Scenes)
- Registry API routes: GET /api/registry/blocks (catalog) + POST install
- StudioApiAdapter extended with listRegistryCatalog + installRegistryBlock
- Vite adapter reads from disk; CLI adapter fetches from GitHub (24h cache)
- BlockParam interface + params on 6 blocks for future parameter controls
Studio UI:
- 4th sidebar tab "Blocks" with responsive grid, category pills, search bar
- BlockCard: CDN poster thumbnail, video autoplay on hover, duration + WebGL badges
- On-demand install: blocks append as sub-compositions on timeline; components
overlay at start=0 spanning full duration with transparent background patching
- TIMELINE_BLOCK_MIME drag-and-drop to timeline
- BlockParamsPanel (Phase 3 scaffold) auto-opens for parameterized blocks
Registry manifests:
- All 58 blocks backfilled with preview: { video, poster } CDN URLs
- All 20 components normalized to object format + poster URLs added
- 6 blocks annotated with params (Liquid Glass/Background, Portal, Chart,
Logo Outro, Magnetic)
- flowchart-vertical preview generated and uploaded to CDN
39 lines
1012 B
JSON
39 lines
1012 B
JSON
{
|
|
"name": "@hyperframes/player",
|
|
"version": "0.6.23",
|
|
"description": "Embeddable web component for HyperFrames compositions",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/heygen-com/hyperframes",
|
|
"directory": "packages/player"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"type": "module",
|
|
"main": "./dist/hyperframes-player.js",
|
|
"types": "./dist/hyperframes-player.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/hyperframes-player.d.ts",
|
|
"script": "./dist/hyperframes-player.global.js",
|
|
"import": "./dist/hyperframes-player.js",
|
|
"require": "./dist/hyperframes-player.cjs"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "tsup",
|
|
"typecheck": "tsc --noEmit && tsc --noEmit -p tests/perf/tsconfig.json",
|
|
"test": "vitest run",
|
|
"perf": "bun run tests/perf/index.ts"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bun": "^1.1.0",
|
|
"gsap": "^3.12.5",
|
|
"puppeteer-core": "^24.39.1",
|
|
"tsup": "^8.0.0",
|
|
"typescript": "^5.0.0",
|
|
"vitest": "^3.2.4"
|
|
}
|
|
}
|