@atlaskit/portal 4.3.2 → 4.3.4
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/CHANGELOG.md +12 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/version.json +1 -1
- package/package.json +5 -4
- package/report.api.md +14 -0
- package/tmp/api-report-tmp.d.ts +46 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/portal
|
|
2
2
|
|
|
3
|
+
## 4.3.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`33f10b7eb36`](https://bitbucket.org/atlassian/atlassian-frontend/commits/33f10b7eb36) - Removing unused dependencies and dev dependencies
|
|
8
|
+
|
|
9
|
+
## 4.3.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`77766ad157d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/77766ad157d) - Enrol packages to push-model consumption in Jira.
|
|
14
|
+
|
|
3
15
|
## 4.3.2
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/cjs/version.json
CHANGED
package/dist/es2019/version.json
CHANGED
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/portal",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.4",
|
|
4
4
|
"description": "A wrapper for rendering components in React portals.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -24,7 +24,10 @@
|
|
|
24
24
|
"atlaskit:src": "src/index.tsx",
|
|
25
25
|
"atlassian": {
|
|
26
26
|
"team": "Design System Team",
|
|
27
|
-
"releaseModel": "
|
|
27
|
+
"releaseModel": "continuous",
|
|
28
|
+
"productPushConsumption": [
|
|
29
|
+
"jira"
|
|
30
|
+
],
|
|
28
31
|
"website": {
|
|
29
32
|
"name": "Portal",
|
|
30
33
|
"category": "Libraries"
|
|
@@ -43,13 +46,11 @@
|
|
|
43
46
|
"react-dom": "^16.8.0"
|
|
44
47
|
},
|
|
45
48
|
"devDependencies": {
|
|
46
|
-
"@atlaskit/banner": "^12.1.0",
|
|
47
49
|
"@atlaskit/button": "^16.7.0",
|
|
48
50
|
"@atlaskit/code": "^14.6.0",
|
|
49
51
|
"@atlaskit/docs": "*",
|
|
50
52
|
"@atlaskit/flag": "^15.2.0",
|
|
51
53
|
"@atlaskit/icon": "^21.12.0",
|
|
52
|
-
"@atlaskit/image": "^1.1.0",
|
|
53
54
|
"@atlaskit/inline-dialog": "^13.6.0",
|
|
54
55
|
"@atlaskit/modal-dialog": "^12.5.0",
|
|
55
56
|
"@atlaskit/onboarding": "^10.8.0",
|
package/report.api.md
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
### Table of contents
|
|
9
9
|
|
|
10
10
|
- [Main Entry Types](#main-entry-types)
|
|
11
|
+
- [Peer Dependencies](#peer-dependencies)
|
|
11
12
|
|
|
12
13
|
### Main Entry Types
|
|
13
14
|
|
|
@@ -55,3 +56,16 @@ export interface PortalProps {
|
|
|
55
56
|
```
|
|
56
57
|
|
|
57
58
|
<!--SECTION END: Main Entry Types-->
|
|
59
|
+
|
|
60
|
+
### Peer Dependencies
|
|
61
|
+
|
|
62
|
+
<!--SECTION START: Peer Dependencies-->
|
|
63
|
+
|
|
64
|
+
```json
|
|
65
|
+
{
|
|
66
|
+
"react": "^16.8.0",
|
|
67
|
+
"react-dom": "^16.8.0"
|
|
68
|
+
}
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
<!--SECTION END: Peer Dependencies-->
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
## API Report File for "@atlaskit/portal"
|
|
2
|
+
|
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
|
|
7
|
+
/// <reference types="react" />
|
|
8
|
+
|
|
9
|
+
import type { Layers } from '@atlaskit/theme/types';
|
|
10
|
+
import { default as React_2 } from 'react';
|
|
11
|
+
|
|
12
|
+
// @public
|
|
13
|
+
type LayerName = keyof Layers;
|
|
14
|
+
|
|
15
|
+
// @public (undocumented)
|
|
16
|
+
function Portal(props: PortalProps): JSX.Element | null;
|
|
17
|
+
export default Portal;
|
|
18
|
+
|
|
19
|
+
// @public (undocumented)
|
|
20
|
+
export const PORTAL_MOUNT_EVENT = "akPortalMount";
|
|
21
|
+
|
|
22
|
+
// @public (undocumented)
|
|
23
|
+
export const PORTAL_UNMOUNT_EVENT = "akPortalUnmount";
|
|
24
|
+
|
|
25
|
+
// @public
|
|
26
|
+
export type PortalEvent = CustomEvent<PortalEventDetail>;
|
|
27
|
+
|
|
28
|
+
// @public
|
|
29
|
+
interface PortalEventDetail {
|
|
30
|
+
// (undocumented)
|
|
31
|
+
layer: LayerName | null;
|
|
32
|
+
// (undocumented)
|
|
33
|
+
zIndex: number;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// @public
|
|
37
|
+
export interface PortalProps {
|
|
38
|
+
// (undocumented)
|
|
39
|
+
children: React_2.ReactNode;
|
|
40
|
+
// (undocumented)
|
|
41
|
+
zIndex?: number | string;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
// (No @packageDocumentation comment for this package)
|
|
45
|
+
|
|
46
|
+
```
|