@hyperframes/inspector 0.8.169 → 0.8.170
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.
|
@@ -4,7 +4,11 @@ export declare function scopeCssToComposition(css: string, compositionId: string
|
|
|
4
4
|
}): string;
|
|
5
5
|
/** Drops repeats of an identical `@font-face` across the given style texts, keeping the last copy:
|
|
6
6
|
* the last matching rule is the one the browser uses, so a rule in between never gains precedence. */
|
|
7
|
-
export declare
|
|
7
|
+
export declare const dedupeFontFaceRules: (styleTexts: string[]) => string[];
|
|
8
|
+
export declare function hoistFontFaceRules(styleTexts: string[]): {
|
|
9
|
+
styles: string[];
|
|
10
|
+
faces: string[];
|
|
11
|
+
};
|
|
8
12
|
export declare function scopedModulePrelude(timelineCompositionId: string, compositionSrc?: string | null): string;
|
|
9
13
|
export declare function wrapScopedCompositionScript(source: string, compositionId: string, errorLabel?: string, scopeSelectorOverride?: string, timelineCompositionId?: string, authoredRootId?: string | null, compositionSrc?: string | null): string;
|
|
10
14
|
export declare function wrapInlineScriptWithErrorBoundary(source: string, errorLabel: string): string;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export declare const SCENE_PART_ATTR = "data-hf-scene";
|
|
2
2
|
export declare const SCENE_PARTS_META = "hf-scene-parts";
|
|
3
|
+
export declare const SCENE_FONTS_ATTR = "data-hf-scene-fonts";
|
|
4
|
+
export declare const fontFaceBlocks: (css: string) => string[];
|
|
3
5
|
/** On a scene's top-level host: why the scene cannot be swapped in place, so edits to it reload. */
|
|
4
6
|
export declare const SCENE_NO_SWAP_ATTR = "data-hf-scene-no-swap";
|
|
5
7
|
/** Hashes of one preview document: everything outside the scene parts, and each scene's parts. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperframes/inspector",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.170",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/heygen-com/hyperframes",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"eslint-scope": "^9.1.2",
|
|
43
43
|
"postcss": "^8.5.8",
|
|
44
44
|
"puppeteer-core": "^25.8.0",
|
|
45
|
-
"@hyperframes/
|
|
46
|
-
"@hyperframes/
|
|
45
|
+
"@hyperframes/core": "0.8.170",
|
|
46
|
+
"@hyperframes/parsers": "0.8.170"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@types/node": "^25.0.10",
|