@y14e/portal 1.4.1 → 1.4.2
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 +3 -3
- package/dist/index.bundle.cjs +0 -37
- package/dist/index.bundle.js +0 -37
- package/dist/index.cjs +0 -11
- package/dist/index.d.cts +0 -11
- package/dist/index.d.ts +0 -11
- package/dist/index.js +0 -11
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -13,11 +13,11 @@ npm i @y14e/portal
|
|
|
13
13
|
import { createPortal } from '@y14e/portal';
|
|
14
14
|
|
|
15
15
|
// CDNs
|
|
16
|
-
import { createPortal } from 'https://esm.sh/@y14e/portal@1.4.
|
|
16
|
+
import { createPortal } from 'https://esm.sh/@y14e/portal@1.4.2';
|
|
17
17
|
// or
|
|
18
|
-
import { createPortal } from 'https://cdn.jsdelivr.net/npm/@y14e/portal@1.4.
|
|
18
|
+
import { createPortal } from 'https://cdn.jsdelivr.net/npm/@y14e/portal@1.4.2/+esm';
|
|
19
19
|
// or
|
|
20
|
-
import { createPortal } from 'https://esm.unpkg.com/@y14e/portal@1.4.
|
|
20
|
+
import { createPortal } from 'https://esm.unpkg.com/@y14e/portal@1.4.2';
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
## 📦 APIs
|
package/dist/index.bundle.cjs
CHANGED
|
@@ -516,42 +516,5 @@ var Portal = class {
|
|
|
516
516
|
return { noInlineStyle };
|
|
517
517
|
}
|
|
518
518
|
};
|
|
519
|
-
/**
|
|
520
|
-
* Portal
|
|
521
|
-
* Lightweight DOM portal (teleport) utility with fully focus management.
|
|
522
|
-
* Designed for accessible dialogs, menus, overlays, popovers.
|
|
523
|
-
*
|
|
524
|
-
* @version 1.4.1
|
|
525
|
-
* @author Yusuke Kamiyamane
|
|
526
|
-
* @license MIT
|
|
527
|
-
* @copyright Copyright (c) Yusuke Kamiyamane
|
|
528
|
-
* @see {@link https://github.com/y14e/portal}
|
|
529
|
-
*/
|
|
530
|
-
/*! Bundled license information:
|
|
531
|
-
|
|
532
|
-
@y14e/attribute-utils/dist/index.js:
|
|
533
|
-
(**
|
|
534
|
-
* Attribute Utils
|
|
535
|
-
*
|
|
536
|
-
* @version 2.0.12
|
|
537
|
-
* @author Yusuke Kamiyamane
|
|
538
|
-
* @license MIT
|
|
539
|
-
* @copyright Copyright (c) Yusuke Kamiyamane
|
|
540
|
-
* @see {@link https://github.com/y14e/attribute-utils}
|
|
541
|
-
*)
|
|
542
|
-
|
|
543
|
-
power-focusable/dist/index.js:
|
|
544
|
-
(**
|
|
545
|
-
* Power Focusable
|
|
546
|
-
* High-precision focus management utility with full composed tree support.
|
|
547
|
-
* Handles complex focus rules including tabindex ordering, radio groups, inert.
|
|
548
|
-
*
|
|
549
|
-
* @version 4.4.3
|
|
550
|
-
* @author Yusuke Kamiyamane
|
|
551
|
-
* @license MIT
|
|
552
|
-
* @copyright Copyright (c) Yusuke Kamiyamane
|
|
553
|
-
* @see {@link https://github.com/y14e/power-focusable}
|
|
554
|
-
*)
|
|
555
|
-
*/
|
|
556
519
|
|
|
557
520
|
exports.createPortal = createPortal;
|
package/dist/index.bundle.js
CHANGED
|
@@ -514,42 +514,5 @@ var Portal = class {
|
|
|
514
514
|
return { noInlineStyle };
|
|
515
515
|
}
|
|
516
516
|
};
|
|
517
|
-
/**
|
|
518
|
-
* Portal
|
|
519
|
-
* Lightweight DOM portal (teleport) utility with fully focus management.
|
|
520
|
-
* Designed for accessible dialogs, menus, overlays, popovers.
|
|
521
|
-
*
|
|
522
|
-
* @version 1.4.1
|
|
523
|
-
* @author Yusuke Kamiyamane
|
|
524
|
-
* @license MIT
|
|
525
|
-
* @copyright Copyright (c) Yusuke Kamiyamane
|
|
526
|
-
* @see {@link https://github.com/y14e/portal}
|
|
527
|
-
*/
|
|
528
|
-
/*! Bundled license information:
|
|
529
|
-
|
|
530
|
-
@y14e/attribute-utils/dist/index.js:
|
|
531
|
-
(**
|
|
532
|
-
* Attribute Utils
|
|
533
|
-
*
|
|
534
|
-
* @version 2.0.12
|
|
535
|
-
* @author Yusuke Kamiyamane
|
|
536
|
-
* @license MIT
|
|
537
|
-
* @copyright Copyright (c) Yusuke Kamiyamane
|
|
538
|
-
* @see {@link https://github.com/y14e/attribute-utils}
|
|
539
|
-
*)
|
|
540
|
-
|
|
541
|
-
power-focusable/dist/index.js:
|
|
542
|
-
(**
|
|
543
|
-
* Power Focusable
|
|
544
|
-
* High-precision focus management utility with full composed tree support.
|
|
545
|
-
* Handles complex focus rules including tabindex ordering, radio groups, inert.
|
|
546
|
-
*
|
|
547
|
-
* @version 4.4.3
|
|
548
|
-
* @author Yusuke Kamiyamane
|
|
549
|
-
* @license MIT
|
|
550
|
-
* @copyright Copyright (c) Yusuke Kamiyamane
|
|
551
|
-
* @see {@link https://github.com/y14e/power-focusable}
|
|
552
|
-
*)
|
|
553
|
-
*/
|
|
554
517
|
|
|
555
518
|
export { createPortal };
|
package/dist/index.cjs
CHANGED
|
@@ -176,16 +176,5 @@ var Portal = class {
|
|
|
176
176
|
return { noInlineStyle };
|
|
177
177
|
}
|
|
178
178
|
};
|
|
179
|
-
/**
|
|
180
|
-
* Portal
|
|
181
|
-
* Lightweight DOM portal (teleport) utility with fully focus management.
|
|
182
|
-
* Designed for accessible dialogs, menus, overlays, popovers.
|
|
183
|
-
*
|
|
184
|
-
* @version 1.4.1
|
|
185
|
-
* @author Yusuke Kamiyamane
|
|
186
|
-
* @license MIT
|
|
187
|
-
* @copyright Copyright (c) Yusuke Kamiyamane
|
|
188
|
-
* @see {@link https://github.com/y14e/portal}
|
|
189
|
-
*/
|
|
190
179
|
|
|
191
180
|
exports.createPortal = createPortal;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Portal
|
|
3
|
-
* Lightweight DOM portal (teleport) utility with fully focus management.
|
|
4
|
-
* Designed for accessible dialogs, menus, overlays, popovers.
|
|
5
|
-
*
|
|
6
|
-
* @version 1.4.1
|
|
7
|
-
* @author Yusuke Kamiyamane
|
|
8
|
-
* @license MIT
|
|
9
|
-
* @copyright Copyright (c) Yusuke Kamiyamane
|
|
10
|
-
* @see {@link https://github.com/y14e/portal}
|
|
11
|
-
*/
|
|
12
1
|
interface PortalOptions {
|
|
13
2
|
noInlineStyle: boolean;
|
|
14
3
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Portal
|
|
3
|
-
* Lightweight DOM portal (teleport) utility with fully focus management.
|
|
4
|
-
* Designed for accessible dialogs, menus, overlays, popovers.
|
|
5
|
-
*
|
|
6
|
-
* @version 1.4.1
|
|
7
|
-
* @author Yusuke Kamiyamane
|
|
8
|
-
* @license MIT
|
|
9
|
-
* @copyright Copyright (c) Yusuke Kamiyamane
|
|
10
|
-
* @see {@link https://github.com/y14e/portal}
|
|
11
|
-
*/
|
|
12
1
|
interface PortalOptions {
|
|
13
2
|
noInlineStyle: boolean;
|
|
14
3
|
}
|
package/dist/index.js
CHANGED
|
@@ -174,16 +174,5 @@ var Portal = class {
|
|
|
174
174
|
return { noInlineStyle };
|
|
175
175
|
}
|
|
176
176
|
};
|
|
177
|
-
/**
|
|
178
|
-
* Portal
|
|
179
|
-
* Lightweight DOM portal (teleport) utility with fully focus management.
|
|
180
|
-
* Designed for accessible dialogs, menus, overlays, popovers.
|
|
181
|
-
*
|
|
182
|
-
* @version 1.4.1
|
|
183
|
-
* @author Yusuke Kamiyamane
|
|
184
|
-
* @license MIT
|
|
185
|
-
* @copyright Copyright (c) Yusuke Kamiyamane
|
|
186
|
-
* @see {@link https://github.com/y14e/portal}
|
|
187
|
-
*/
|
|
188
177
|
|
|
189
178
|
export { createPortal };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@y14e/portal",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.2",
|
|
4
4
|
"description": "Lightweight DOM portal (teleport) utility with fully focus management",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"a11y",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"esbuild": true
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@y14e/attribute-utils": "^2.0.
|
|
62
|
-
"power-focusable": "^4.4.
|
|
61
|
+
"@y14e/attribute-utils": "^2.0.13",
|
|
62
|
+
"power-focusable": "^4.4.4"
|
|
63
63
|
}
|
|
64
64
|
}
|