@tempots/dom 34.2.0 → 34.3.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tempots/dom",
3
- "version": "34.2.0",
3
+ "version": "34.3.0",
4
4
  "type": "module",
5
5
  "main": "./index.cjs",
6
6
  "module": "./index.js",
@@ -37,6 +37,6 @@
37
37
  "url": "git+https://github.com/fponticelli/tempots.git"
38
38
  },
39
39
  "peerDependencies": {
40
- "@tempots/core": "^1.1.0"
40
+ "@tempots/core": "^1.2.0"
41
41
  }
42
42
  }
@@ -38,6 +38,10 @@ export interface IFrameOptions {
38
38
  * Receives the iframe element and its contentDocument.
39
39
  */
40
40
  onLoad?: (iframe: HTMLIFrameElement) => void;
41
+ /**
42
+ * Content to attach directly to the iframe's element, not the document body.
43
+ */
44
+ iframeChild?: TNode;
41
45
  }
42
46
  /**
43
47
  * Creates an iframe element and optionally renders content into its document.
@@ -84,4 +88,4 @@ export interface IFrameOptions {
84
88
  * @returns A renderable that creates and manages the iframe
85
89
  * @public
86
90
  */
87
- export declare function IFrame({ src, name, width, height, sandbox, allow, referrerpolicy, loading, onLoad, }?: IFrameOptions, ...children: TNode[]): import('..').Renderable;
91
+ export declare function IFrame({ src, name, width, height, sandbox, allow, referrerpolicy, loading, iframeChild, onLoad, }?: IFrameOptions, ...children: TNode[]): import('..').Renderable;