@hyperframes/inspector 0.9.64 → 0.9.65
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.
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
type ScopeOptions = {
|
|
2
2
|
compoundAuthoredRoot?: boolean;
|
|
3
3
|
scopeRootSelectors?: boolean;
|
|
4
|
+
/** Told the sheet's size, an upper bound for each rule before it is scoped, then the correction. */
|
|
5
|
+
charge?: (bytes: number) => void;
|
|
4
6
|
};
|
|
5
7
|
export declare function scopeCssToComposition(css: string, compositionId: string, scopeSelectorOverride?: string, authoredRootId?: string | null, options?: ScopeOptions): string;
|
|
6
8
|
/** `scopeCssToComposition` for sheets mounted many times: each sheet is scoped once around a
|
|
@@ -100,6 +100,11 @@ export interface InlineSubCompositionsOptions {
|
|
|
100
100
|
/** Tag each top-level host with `data-hf-scene` and report every part's scene, for preview swaps. */
|
|
101
101
|
tagScenes?: boolean;
|
|
102
102
|
readProjectScript?: (path: string) => string | null;
|
|
103
|
+
/**
|
|
104
|
+
* Told the size of each script and stylesheet generated for a mount: each wrapped script once
|
|
105
|
+
* built, and each scoped sheet rule by rule as `scopeCssToComposition` reports it. May throw.
|
|
106
|
+
*/
|
|
107
|
+
chargeEmitted?: (srcPath: string, bytes: number) => void;
|
|
103
108
|
}
|
|
104
109
|
export interface ExternalLink {
|
|
105
110
|
href: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperframes/inspector",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.65",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/heygen-com/hyperframes",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"htmlparser2": "^10.1.0",
|
|
44
44
|
"postcss": "^8.5.8",
|
|
45
45
|
"puppeteer-core": "^25.8.0",
|
|
46
|
-
"@hyperframes/core": "0.9.
|
|
47
|
-
"@hyperframes/parsers": "0.9.
|
|
46
|
+
"@hyperframes/core": "0.9.65",
|
|
47
|
+
"@hyperframes/parsers": "0.9.65"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@types/node": "^25.0.10",
|