@y14e/portal 1.2.9 → 1.2.10
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/README.md +4 -4
- package/dist/index.cjs +3 -3
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -10,14 +10,14 @@ npm i @y14e/portal
|
|
|
10
10
|
|
|
11
11
|
```ts
|
|
12
12
|
// npm
|
|
13
|
-
import { createPortal } from '@y14e/portal@1.2.
|
|
13
|
+
import { createPortal } from '@y14e/portal@1.2.10';
|
|
14
14
|
|
|
15
15
|
// CDNs
|
|
16
|
-
import { createPortal } from 'https://esm.sh/@y14e/portal@1.2.
|
|
16
|
+
import { createPortal } from 'https://esm.sh/@y14e/portal@1.2.10';
|
|
17
17
|
// or
|
|
18
|
-
import { createPortal } from 'https://cdn.jsdelivr.net/npm/@y14e/portal@1.2.
|
|
18
|
+
import { createPortal } from 'https://cdn.jsdelivr.net/npm/@y14e/portal@1.2.10/+esm';
|
|
19
19
|
// or
|
|
20
|
-
import { createPortal } from 'https://esm.unpkg.com/@y14e/portal@1.2.
|
|
20
|
+
import { createPortal } from 'https://esm.unpkg.com/@y14e/portal@1.2.10';
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
## 📦 APIs
|
package/dist/index.cjs
CHANGED
|
@@ -566,7 +566,7 @@ function getActiveElement2() {
|
|
|
566
566
|
* Lightweight DOM portal (teleport) utility with fully focus management.
|
|
567
567
|
* Designed for accessible dialogs, menus, overlays, popovers.
|
|
568
568
|
*
|
|
569
|
-
* @version 1.2.
|
|
569
|
+
* @version 1.2.10
|
|
570
570
|
* @author Yusuke Kamiyamane
|
|
571
571
|
* @license MIT
|
|
572
572
|
* @copyright Copyright (c) Yusuke Kamiyamane
|
|
@@ -578,7 +578,7 @@ function getActiveElement2() {
|
|
|
578
578
|
(**
|
|
579
579
|
* Attributes Utils
|
|
580
580
|
*
|
|
581
|
-
* @version 1.1.
|
|
581
|
+
* @version 1.1.1
|
|
582
582
|
* @author Yusuke Kamiyamane
|
|
583
583
|
* @license MIT
|
|
584
584
|
* @copyright Copyright (c) Yusuke Kamiyamane
|
|
@@ -591,7 +591,7 @@ power-focusable/dist/index.js:
|
|
|
591
591
|
* High-precision focus management utility with full composed tree support.
|
|
592
592
|
* Handles complex focus rules including tabindex ordering, radio groups, inert.
|
|
593
593
|
*
|
|
594
|
-
* @version 4.3.
|
|
594
|
+
* @version 4.3.2
|
|
595
595
|
* @author Yusuke Kamiyamane
|
|
596
596
|
* @license MIT
|
|
597
597
|
* @copyright Copyright (c) Yusuke Kamiyamane
|
package/dist/index.d.cts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
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.2.
|
|
6
|
+
* @version 1.2.10
|
|
7
7
|
* @author Yusuke Kamiyamane
|
|
8
8
|
* @license MIT
|
|
9
9
|
* @copyright Copyright (c) Yusuke Kamiyamane
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
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.2.
|
|
6
|
+
* @version 1.2.10
|
|
7
7
|
* @author Yusuke Kamiyamane
|
|
8
8
|
* @license MIT
|
|
9
9
|
* @copyright Copyright (c) Yusuke Kamiyamane
|
package/dist/index.js
CHANGED
|
@@ -564,7 +564,7 @@ function getActiveElement2() {
|
|
|
564
564
|
* Lightweight DOM portal (teleport) utility with fully focus management.
|
|
565
565
|
* Designed for accessible dialogs, menus, overlays, popovers.
|
|
566
566
|
*
|
|
567
|
-
* @version 1.2.
|
|
567
|
+
* @version 1.2.10
|
|
568
568
|
* @author Yusuke Kamiyamane
|
|
569
569
|
* @license MIT
|
|
570
570
|
* @copyright Copyright (c) Yusuke Kamiyamane
|
|
@@ -576,7 +576,7 @@ function getActiveElement2() {
|
|
|
576
576
|
(**
|
|
577
577
|
* Attributes Utils
|
|
578
578
|
*
|
|
579
|
-
* @version 1.1.
|
|
579
|
+
* @version 1.1.1
|
|
580
580
|
* @author Yusuke Kamiyamane
|
|
581
581
|
* @license MIT
|
|
582
582
|
* @copyright Copyright (c) Yusuke Kamiyamane
|
|
@@ -589,7 +589,7 @@ power-focusable/dist/index.js:
|
|
|
589
589
|
* High-precision focus management utility with full composed tree support.
|
|
590
590
|
* Handles complex focus rules including tabindex ordering, radio groups, inert.
|
|
591
591
|
*
|
|
592
|
-
* @version 4.3.
|
|
592
|
+
* @version 4.3.2
|
|
593
593
|
* @author Yusuke Kamiyamane
|
|
594
594
|
* @license MIT
|
|
595
595
|
* @copyright Copyright (c) Yusuke Kamiyamane
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@y14e/portal",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.10",
|
|
4
4
|
"description": "Lightweight DOM portal (teleport) utility with fully focus management",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -47,9 +47,9 @@
|
|
|
47
47
|
},
|
|
48
48
|
"homepage": "https://github.com/y14e/portal#readme",
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@y14e/attributes-utils": "^1.1.
|
|
50
|
+
"@y14e/attributes-utils": "^1.1.1",
|
|
51
51
|
"bun-types": "latest",
|
|
52
|
-
"power-focusable": "^4.3.
|
|
52
|
+
"power-focusable": "^4.3.2",
|
|
53
53
|
"tsup": "^8.0.0",
|
|
54
54
|
"typescript": "^5.6.0"
|
|
55
55
|
},
|