@hyperframes/inspector 0.8.162 → 0.8.163

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.
@@ -59,9 +59,11 @@ export declare function isCanvasElement(value: unknown): value is HTMLCanvasElem
59
59
  export declare function isStyleElement(value: unknown): value is HTMLStyleElement;
60
60
  /** `<link>`, from any realm. Mirrors `instanceof HTMLLinkElement`. */
61
61
  export declare function isLinkElement(value: unknown): value is HTMLLinkElement;
62
+ /** HTML or SVG: TypeScript narrows an `Element` by `HTMLElement | SVGElement` to `HTMLElement` alone. */
63
+ export type StylableElement = Element & ElementCSSInlineStyle;
62
64
  /**
63
65
  * An element that carries a CSS `style` map: HTML **or** SVG. Position edits and
64
66
  * transform writes apply to both (authored SVG `<text>`/shapes honour the CSS
65
67
  * `translate` longhand exactly as HTML does).
66
68
  */
67
- export declare function isStylableElement(value: unknown): value is HTMLElement | SVGElement;
69
+ export declare function isStylableElement(value: unknown): value is StylableElement;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperframes/inspector",
3
- "version": "0.8.162",
3
+ "version": "0.8.163",
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/core": "0.8.162",
46
- "@hyperframes/parsers": "0.8.162"
45
+ "@hyperframes/core": "0.8.163",
46
+ "@hyperframes/parsers": "0.8.163"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@types/node": "^25.0.10",