@hyperframes/core 0.8.150 → 0.8.151
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/compiler/htmlBundler.d.ts +8 -0
- package/dist/compiler/htmlBundler.js +25 -10
- package/dist/compiler/index.d.ts +1 -1
- package/dist/generated/runtime-inline.js +1 -1
- package/dist/hyperframe.runtime.iife.js +54 -54
- package/dist/keyframeDefaults.d.ts +1 -0
- package/dist/keyframeDefaults.js +12 -0
- package/dist/runtime/startResolver.js +1 -1
- package/package.json +8 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const KEYFRAME_PROPERTY_DEFAULTS: Readonly<Record<string, number>>;
|
|
@@ -18,7 +18,7 @@ export function createRuntimeStartTimeResolver(params) {
|
|
|
18
18
|
const byId = doc.getElementById(refId);
|
|
19
19
|
if (byId)
|
|
20
20
|
return byId;
|
|
21
|
-
return (doc.
|
|
21
|
+
return (Array.from(doc.querySelectorAll("[data-composition-id]")).find((element) => element.getAttribute("data-composition-id") === refId) ?? null);
|
|
22
22
|
};
|
|
23
23
|
const authoredAttr = (element, name) => includeAuthoredTimingAttrs ? element.getAttribute(name) : null;
|
|
24
24
|
const resolveAuthoredDuration = (element) => resolveAuthoredTimingWindow({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperframes/core",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.151",
|
|
4
4
|
"description": "",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -72,6 +72,10 @@
|
|
|
72
72
|
"import": "./dist/studioPreviewMark.js",
|
|
73
73
|
"types": "./dist/studioPreviewMark.d.ts"
|
|
74
74
|
},
|
|
75
|
+
"./keyframe-defaults": {
|
|
76
|
+
"import": "./dist/keyframeDefaults.js",
|
|
77
|
+
"types": "./dist/keyframeDefaults.d.ts"
|
|
78
|
+
},
|
|
75
79
|
"./gsap-cdn": {
|
|
76
80
|
"import": "./dist/gsapCdn.js",
|
|
77
81
|
"types": "./dist/gsapCdn.d.ts"
|
|
@@ -366,9 +370,9 @@
|
|
|
366
370
|
"linkedom": "^0.18.12",
|
|
367
371
|
"postcss": "^8.5.8",
|
|
368
372
|
"wawoff2": "^2.0.1",
|
|
369
|
-
"@hyperframes/lint": "0.8.
|
|
370
|
-
"@hyperframes/studio-server": "0.8.
|
|
371
|
-
"@hyperframes/parsers": "0.8.
|
|
373
|
+
"@hyperframes/lint": "0.8.151",
|
|
374
|
+
"@hyperframes/studio-server": "0.8.151",
|
|
375
|
+
"@hyperframes/parsers": "0.8.151"
|
|
372
376
|
},
|
|
373
377
|
"devDependencies": {
|
|
374
378
|
"@fontsource/archivo-black": "^5.2.8",
|