@hyperframes/inspector 0.9.70 → 0.9.72
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.
|
@@ -50,7 +50,7 @@ export declare function escapeCssIdentifier(value: string): string;
|
|
|
50
50
|
*/
|
|
51
51
|
/** The `#id` values a selector names, read as `replaceSelectorIdTokens` reads them. */
|
|
52
52
|
export declare function selectorIdTokens(selector: string): string[];
|
|
53
|
-
export declare function replaceSelectorIdTokens(selector: string, candidateIds: readonly string[], resolveReplacement: (matchedId: string) => string): string;
|
|
53
|
+
export declare function replaceSelectorIdTokens(selector: string, candidateIds: readonly string[], resolveReplacement: (matchedId: string, matchedToken: string) => string): string;
|
|
54
54
|
export declare function escapeCssAttributeValue(value: string): string;
|
|
55
55
|
type AttributeNamespace = {
|
|
56
56
|
kind: "any";
|
|
@@ -81,5 +81,5 @@ export declare function namespaceCollidingSvgIds(document: SvgIdQueryable, scope
|
|
|
81
81
|
* same-composition stylesheet rule silently stops matching the element whose
|
|
82
82
|
* id this module just changed.
|
|
83
83
|
*/
|
|
84
|
-
export declare function rewriteSvgIdReferencesInCss(css: string, idMap: SvgIdMap, references?: readonly SvgReferenceAlias[]): string;
|
|
84
|
+
export declare function rewriteSvgIdReferencesInCss(css: string, idMap: SvgIdMap, references?: readonly SvgReferenceAlias[], charge?: (bytes: number) => void): string;
|
|
85
85
|
export {};
|
|
@@ -16,7 +16,8 @@ type Namespaces = ReadonlyMap<string, string | null>;
|
|
|
16
16
|
* With `namespaces` (a live sheet's bindings) only prefixed attribute selectors are
|
|
17
17
|
* rewritten; without it they stay as authored and everything else is rewritten.
|
|
18
18
|
*/
|
|
19
|
-
export declare function rewriteSvgSelectors(selector: string, ids: readonly IdSelectorAlias[], references: readonly SvgReferenceAlias[], namespaces?: Namespaces): string;
|
|
19
|
+
export declare function rewriteSvgSelectors(selector: string, ids: readonly IdSelectorAlias[], references: readonly SvgReferenceAlias[], namespaces?: Namespaces, charge?: (bytes: number) => void): string;
|
|
20
|
+
export declare function dropAuthoredSvgReferenceAliases(root: ParentNode): boolean;
|
|
20
21
|
/** Metadata records actual writes; selectors still match current native attribute values. */
|
|
21
22
|
export declare function readSvgReferenceAliases(root: {
|
|
22
23
|
querySelectorAll(selector: string): Iterable<Element>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperframes/inspector",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.72",
|
|
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.72",
|
|
47
|
+
"@hyperframes/parsers": "0.9.72"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@types/node": "^25.0.10",
|