@atlaskit/portal 4.2.6 → 4.2.9
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 +18 -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 +15 -10
- package/report.api.md +45 -0
- package/types/package.json +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/portal
|
|
2
2
|
|
|
3
|
+
## 4.2.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`d5f0b466415`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d5f0b466415) - Internal code change turning on new linting rules.
|
|
8
|
+
|
|
9
|
+
## 4.2.8
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`8a5bdb3c844`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8a5bdb3c844) - Upgrading internal dependency (bind-event-listener) for improved internal types
|
|
14
|
+
|
|
15
|
+
## 4.2.7
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
20
|
+
|
|
3
21
|
## 4.2.6
|
|
4
22
|
|
|
5
23
|
### 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,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/portal",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.9",
|
|
4
4
|
"description": "Atlaskit wrapper for rendering components in React portals",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
7
7
|
},
|
|
8
|
-
"repository": "https://bitbucket.org/atlassian/atlassian-frontend",
|
|
8
|
+
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
|
|
9
9
|
"author": "Atlassian Pty Ltd",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"main": "dist/cjs/index.js",
|
|
@@ -13,17 +13,18 @@
|
|
|
13
13
|
"module:es2019": "dist/es2019/index.js",
|
|
14
14
|
"types": "dist/types/index.d.ts",
|
|
15
15
|
"sideEffects": false,
|
|
16
|
-
"atlaskit:src": "src/index.
|
|
16
|
+
"atlaskit:src": "src/index.tsx",
|
|
17
17
|
"atlassian": {
|
|
18
18
|
"team": "Design System Team",
|
|
19
19
|
"releaseModel": "scheduled",
|
|
20
20
|
"website": {
|
|
21
|
-
"name": "Portal"
|
|
21
|
+
"name": "Portal",
|
|
22
|
+
"category": "Components"
|
|
22
23
|
}
|
|
23
24
|
},
|
|
24
25
|
"af:exports": {
|
|
25
|
-
"./types": "./src/entry-points/types.
|
|
26
|
-
".": "./src/index.
|
|
26
|
+
"./types": "./src/entry-points/types.tsx",
|
|
27
|
+
".": "./src/index.tsx"
|
|
27
28
|
},
|
|
28
29
|
"dependencies": {
|
|
29
30
|
"@atlaskit/theme": "^12.1.0",
|
|
@@ -34,23 +35,24 @@
|
|
|
34
35
|
"react-dom": "^16.8.0"
|
|
35
36
|
},
|
|
36
37
|
"devDependencies": {
|
|
37
|
-
"@atlaskit/button": "^16.
|
|
38
|
+
"@atlaskit/button": "^16.3.0",
|
|
38
39
|
"@atlaskit/docs": "*",
|
|
39
|
-
"@atlaskit/flag": "^14.
|
|
40
|
+
"@atlaskit/flag": "^14.6.0",
|
|
40
41
|
"@atlaskit/icon": "^21.10.0",
|
|
41
42
|
"@atlaskit/inline-dialog": "^13.3.0",
|
|
42
43
|
"@atlaskit/modal-dialog": "^12.2.0",
|
|
43
|
-
"@atlaskit/onboarding": "^10.
|
|
44
|
+
"@atlaskit/onboarding": "^10.5.0",
|
|
44
45
|
"@atlaskit/ssr": "*",
|
|
45
46
|
"@atlaskit/tooltip": "^17.5.0",
|
|
46
47
|
"@atlaskit/visual-regression": "*",
|
|
47
48
|
"@atlaskit/webdriver-runner": "*",
|
|
48
49
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
49
50
|
"@testing-library/react": "^8.0.1",
|
|
51
|
+
"bind-event-listener": "^2.1.1",
|
|
50
52
|
"enzyme": "^3.10.0",
|
|
51
53
|
"raf-stub": "^2.0.1",
|
|
52
54
|
"storybook-addon-performance": "^0.16.0",
|
|
53
|
-
"typescript": "
|
|
55
|
+
"typescript": "4.2.4"
|
|
54
56
|
},
|
|
55
57
|
"keywords": [
|
|
56
58
|
"atlaskit",
|
|
@@ -62,6 +64,8 @@
|
|
|
62
64
|
"import-structure": "atlassian-conventions"
|
|
63
65
|
},
|
|
64
66
|
"@repo/internal": {
|
|
67
|
+
"dom-events": "use-bind-event-listener",
|
|
68
|
+
"design-system": "v1",
|
|
65
69
|
"ui-components": "lite-mode",
|
|
66
70
|
"analytics": "analytics-next",
|
|
67
71
|
"theming": "tokens",
|
|
@@ -72,5 +76,6 @@
|
|
|
72
76
|
]
|
|
73
77
|
}
|
|
74
78
|
},
|
|
79
|
+
"homepage": "https://atlaskit.atlassian.com/packages/design-system/portal",
|
|
75
80
|
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
|
|
76
81
|
}
|
package/report.api.md
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
/// <reference types="react" />
|
|
7
|
+
|
|
8
|
+
import type { Layers } from '@atlaskit/theme/types';
|
|
9
|
+
import { default as React_2 } from 'react';
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Named layers of all z-index used in the Atlassian Design System.
|
|
13
|
+
*/
|
|
14
|
+
declare type LayerName = keyof Layers;
|
|
15
|
+
|
|
16
|
+
declare function Portal(props: PortalProps): JSX.Element | null;
|
|
17
|
+
export default Portal;
|
|
18
|
+
|
|
19
|
+
export declare const PORTAL_MOUNT_EVENT = 'akPortalMount';
|
|
20
|
+
|
|
21
|
+
export declare const PORTAL_UNMOUNT_EVENT = 'akPortalUnmount';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Custom event object that will be fired when Atlassian Portal component is mounted and unmounted
|
|
25
|
+
*/
|
|
26
|
+
export declare type PortalEvent = CustomEvent<PortalEventDetail>;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Interface for event to be fired on Atlassian Portal component mount and unmount
|
|
30
|
+
*/
|
|
31
|
+
declare interface PortalEventDetail {
|
|
32
|
+
layer: LayerName | null;
|
|
33
|
+
zIndex: number;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Interface for props to be passed in Atlassian Portal component
|
|
38
|
+
*/
|
|
39
|
+
export declare interface PortalProps {
|
|
40
|
+
children: React_2.ReactNode;
|
|
41
|
+
zIndex?: number | string;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export {};
|
|
45
|
+
```
|