hyperframes 0.8.13 → 0.8.15
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/bin/hyperframes-localize-fonts.mjs +12 -0
- package/dist/cli.js +693 -487
- package/dist/docs/data-attributes.md +3 -3
- package/dist/fontLocalizeCli.js +97416 -0
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/studio/assets/{hyperframes-player-BP9rShvS.js → hyperframes-player-BlIp1Y-b.js} +1 -1
- package/dist/studio/assets/{index-CDerRsMw.js → index-CVtYYTnA.js} +1 -1
- package/dist/studio/assets/{index-CBm9bYHQ.js → index-CtDg2lB7.js} +1 -1
- package/dist/studio/assets/{index-CQMHN4nk.js → index-DKoZIpw1.js} +3 -3
- package/dist/studio/index.html +1 -1
- package/dist/templates/_shared/AGENTS.md +2 -2
- package/dist/templates/_shared/CLAUDE.md +2 -2
- package/package.json +4 -2
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-DKoZIpw1.js"></script>
|
|
9
9
|
<link rel="stylesheet" crossorigin href="/assets/index-yGhfxxoL.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
|
@@ -88,8 +88,8 @@ Fix all errors before presenting the result. Warnings should be reviewed before
|
|
|
88
88
|
|
|
89
89
|
## Key Rules
|
|
90
90
|
|
|
91
|
-
1. Every timed element needs `data-start
|
|
92
|
-
2.
|
|
91
|
+
1. Every timed element needs `data-start` and a duration. `data-start` is what marks it as timed; `data-track-index` is an optional Studio display lane the render never reads
|
|
92
|
+
2. Give timed visual elements `class="clip"`. The framework keys visibility off `data-start`, not the class, but the shared `.clip` CSS is what gives a scene its full-frame box, and `lint` warns without it
|
|
93
93
|
3. Timelines must be paused and registered on `window.__timelines`:
|
|
94
94
|
```js
|
|
95
95
|
window.__timelines = window.__timelines || {};
|
|
@@ -88,8 +88,8 @@ Fix all errors before presenting the result. Warnings should be reviewed before
|
|
|
88
88
|
|
|
89
89
|
## Key Rules
|
|
90
90
|
|
|
91
|
-
1. Every timed element needs `data-start
|
|
92
|
-
2.
|
|
91
|
+
1. Every timed element needs `data-start` and a duration. `data-start` is what marks it as timed; `data-track-index` is an optional Studio display lane the render never reads
|
|
92
|
+
2. Give timed visual elements `class="clip"`. The framework keys visibility off `data-start`, not the class, but the shared `.clip` CSS is what gives a scene its full-frame box, and `lint` warns without it
|
|
93
93
|
3. Timelines must be paused and registered on `window.__timelines`:
|
|
94
94
|
```js
|
|
95
95
|
window.__timelines = window.__timelines || {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hyperframes",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.15",
|
|
4
4
|
"description": "HyperFrames CLI — create, preview, and render HTML video compositions",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
"directory": "packages/cli"
|
|
10
10
|
},
|
|
11
11
|
"bin": {
|
|
12
|
-
"hyperframes": "./bin/hyperframes.mjs"
|
|
12
|
+
"hyperframes": "./bin/hyperframes.mjs",
|
|
13
|
+
"hyperframes-localize-fonts": "./bin/hyperframes-localize-fonts.mjs"
|
|
13
14
|
},
|
|
14
15
|
"files": [
|
|
15
16
|
"bin",
|
|
@@ -61,6 +62,7 @@
|
|
|
61
62
|
"@types/fontkit": "^2.0.9",
|
|
62
63
|
"@types/mime-types": "^3.0.1",
|
|
63
64
|
"@types/node": "^25.0.10",
|
|
65
|
+
"ajv": "^8.20.0",
|
|
64
66
|
"linkedom": "^0.18.12",
|
|
65
67
|
"picocolors": "^1.1.1",
|
|
66
68
|
"tsup": "^8.0.0",
|