@y14e/portal 1.0.6 → 1.0.7

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/dist/index.cjs CHANGED
@@ -445,7 +445,7 @@ function getActiveElement2() {
445
445
  * Lightweight DOM portal (teleport) utility with fully focus management.
446
446
  * Designed for accessible dialogs, menus, overlays, popovers.
447
447
  *
448
- * @version 1.0.6
448
+ * @version 1.0.7
449
449
  * @author Yusuke Kamiyamane
450
450
  * @license MIT
451
451
  * @copyright Copyright (c) Yusuke Kamiyamane
@@ -467,5 +467,4 @@ power-focusable/dist/index.js:
467
467
  *)
468
468
  */
469
469
 
470
- exports.Portal = Portal;
471
470
  exports.createPortal = createPortal;
package/dist/index.d.cts CHANGED
@@ -3,17 +3,12 @@
3
3
  * Lightweight DOM portal (teleport) utility with fully focus management.
4
4
  * Designed for accessible dialogs, menus, overlays, popovers.
5
5
  *
6
- * @version 1.0.6
6
+ * @version 1.0.7
7
7
  * @author Yusuke Kamiyamane
8
8
  * @license MIT
9
9
  * @copyright Copyright (c) Yusuke Kamiyamane
10
10
  * @see {@link https://github.com/y14e/portal}
11
11
  */
12
12
  declare function createPortal(host: Element, container?: HTMLElement): () => void;
13
- declare class Portal {
14
- #private;
15
- constructor(host: Element, container: Element);
16
- destroy(): void;
17
- }
18
13
 
19
- export { Portal, createPortal };
14
+ export { createPortal };
package/dist/index.d.ts CHANGED
@@ -3,17 +3,12 @@
3
3
  * Lightweight DOM portal (teleport) utility with fully focus management.
4
4
  * Designed for accessible dialogs, menus, overlays, popovers.
5
5
  *
6
- * @version 1.0.6
6
+ * @version 1.0.7
7
7
  * @author Yusuke Kamiyamane
8
8
  * @license MIT
9
9
  * @copyright Copyright (c) Yusuke Kamiyamane
10
10
  * @see {@link https://github.com/y14e/portal}
11
11
  */
12
12
  declare function createPortal(host: Element, container?: HTMLElement): () => void;
13
- declare class Portal {
14
- #private;
15
- constructor(host: Element, container: Element);
16
- destroy(): void;
17
- }
18
13
 
19
- export { Portal, createPortal };
14
+ export { createPortal };
package/dist/index.js CHANGED
@@ -443,7 +443,7 @@ function getActiveElement2() {
443
443
  * Lightweight DOM portal (teleport) utility with fully focus management.
444
444
  * Designed for accessible dialogs, menus, overlays, popovers.
445
445
  *
446
- * @version 1.0.6
446
+ * @version 1.0.7
447
447
  * @author Yusuke Kamiyamane
448
448
  * @license MIT
449
449
  * @copyright Copyright (c) Yusuke Kamiyamane
@@ -465,4 +465,4 @@ power-focusable/dist/index.js:
465
465
  *)
466
466
  */
467
467
 
468
- export { Portal, createPortal };
468
+ export { createPortal };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@y14e/portal",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "Lightweight DOM portal (teleport) utility with fully focus management",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",