@hyperframes/inspector 0.9.93 → 0.9.95

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.
@@ -214,6 +214,7 @@ export declare const HF_COLOR_GRADING_HUE_CURVE_KEYS: readonly ["hueVsHue", "hue
214
214
  export declare const HF_COLOR_GRADING_DETAIL_KEYS: readonly ["vignette", "vignetteMidpoint", "vignetteRoundness", "vignetteFeather", "grain", "grainSize", "grainRoughness"];
215
215
  export declare const HF_COLOR_GRADING_EFFECT_KEYS: readonly ["blur", "pixelate", "chromaBleed", "tapeDamage", "tapeTracking", "tapeNoise", "tapeSpeed", "filmArtifacts", "halftone", "halftoneSize", "twoInkPrint", "twoInkPrintSize", "ascii", "asciiSize", "asciiInvert", "asciiStyle", "asciiColor", "asciiRotation", "dither", "ditherSize", "bloom", "bloomRadius", "monoScreen", "monoScreenSize", "monoScreenAngle", "monoScreenSpread", "monoScreenShape", "monoScreenInvert", "scanlines", "scanlineCount", "scanlineSoftness", "chromaticAberration", "chromaticAngle", "crtCurvature", "digitalGlitch", "digitalGlitchColorSplit", "digitalGlitchLineTear", "digitalGlitchPixelate", "digitalGlitchBlockAmount", "digitalGlitchBlockDisplacement", "digitalGlitchBlockOpacity", "digitalGlitchSpeed", "engraving", "engravingSpacing", "engravingMinThickness", "engravingMaxThickness", "engravingAngle", "engravingContrast", "engravingSharpness", "engravingWave", "engravingWaveFrequency", "crosshatch", "crosshatchSpacing", "crosshatchThickness", "crosshatchAngle", "crosshatchContrast", "crosshatchEdges", "crosshatchLineWeight", "crosshatchWave", "crosshatchWaveFrequency", "kuwahara", "kuwaharaRadius", "kuwaharaSharpness", "kuwaharaSaturation"];
216
216
  export declare const HF_COLOR_GRADING_PRESETS: readonly HfColorGradingPreset[];
217
+ export declare function isHfColorGradingVariableRef(value: unknown): boolean;
217
218
  export declare const HF_COLOR_GRADING_ACTIVE_EFFECT_KEYS: readonly ["blur", "pixelate", "chromaBleed", "tapeDamage", "filmArtifacts", "halftone", "twoInkPrint", "ascii", "dither", "bloom", "monoScreen", "scanlines", "chromaticAberration", "crtCurvature", "digitalGlitch", "engraving", "crosshatch", "kuwahara"];
218
219
  export type HfColorGradingActiveEffectKey = (typeof HF_COLOR_GRADING_ACTIVE_EFFECT_KEYS)[number];
219
220
  export declare const HF_COLOR_GRADING_EFFECT_PRESETS: HfColorGradingPreset[];
@@ -2,3 +2,4 @@ export declare const COMPOSITION_SRC_ATTR = "data-composition-src";
2
2
  export declare const CODE_LOADING_ATTRS: ReadonlySet<string>;
3
3
  export declare const SOURCE_HOST_ATTRS: readonly ["data-composition-file", "data-composition-src"];
4
4
  export declare const COMPOSITION_ROOT_ATTRS: readonly ["data-composition-id", "data-hf-original-composition-id"];
5
+ export declare function dropAuthoredCompositionFiles(root: ParentNode): void;
@@ -82,5 +82,7 @@ export declare function readTextLayer(el: Element): TextLayerRead | null;
82
82
  export declare function readSentTextLayer(el: Element): TextLayerRead | null;
83
83
  export declare function escapeCssString(value: string): string;
84
84
  export declare function buildStableSelector(el: Element): string | undefined;
85
+ /** Is `selector` one `buildStableSelector` makes for an element whose id is `id`. */
86
+ export declare function isStableSelector(selector: string, id: string | null): boolean;
85
87
  export declare function getPreferredClassSelector(el: Element): string | undefined;
86
88
  export declare function readElementSource(el: Element): EditingElementSource;
@@ -73,6 +73,7 @@ export type RuntimeTimelineClip = RuntimeTimelineClipIdentity & {
73
73
  timelinePriority: number | null;
74
74
  text: TextLayerRead | null;
75
75
  transitionLabel: string | null;
76
+ timelineDuration: number | null;
76
77
  };
77
78
  export type RuntimeTimelineScene = {
78
79
  id: string;
@@ -57,6 +57,8 @@ export declare function realProjectRoot(root: string): string;
57
57
  * A `dir` outside `root` is created recursively, but only while `root` exists.
58
58
  */
59
59
  export declare function mkdirWithinProject(root: string, dir: string): void;
60
+ /** {@link mkdirWithinProject} on fs/promises: a write the drive never answers holds a pool thread, not the caller's. */
61
+ export declare function mkdirWithinProjectAsync(root: string, dir: string): Promise<void>;
60
62
  /** The real path; for a path not there (yet, or any more), the nearest existing folder's real path plus the rest. */
61
63
  export declare function realFilePath(filePath: string): string;
62
64
  export type EntryKind = "file" | "folder";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperframes/inspector",
3
- "version": "0.9.93",
3
+ "version": "0.9.95",
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.93",
47
- "@hyperframes/parsers": "0.9.93"
46
+ "@hyperframes/parsers": "0.9.95",
47
+ "@hyperframes/core": "0.9.95"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@types/node": "^25.0.10",