@atlaskit/portal 4.4.0 → 4.4.1
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
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/portal
|
|
2
2
|
|
|
3
|
+
## 4.4.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116) [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) - Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
8
|
+
|
|
3
9
|
## 4.4.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/portal",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.1",
|
|
4
4
|
"description": "A wrapper for rendering components in React portals.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -47,10 +47,11 @@
|
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@af/accessibility-testing": "*",
|
|
50
|
+
"@af/integration-testing": "*",
|
|
51
|
+
"@atlaskit/ds-lib": "^2.2.0",
|
|
50
52
|
"@atlaskit/ssr": "*",
|
|
51
|
-
"@atlaskit/tokens": "^1.
|
|
53
|
+
"@atlaskit/tokens": "^1.42.0",
|
|
52
54
|
"@atlaskit/visual-regression": "*",
|
|
53
|
-
"@atlaskit/webdriver-runner": "*",
|
|
54
55
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
55
56
|
"@emotion/react": "^11.7.1",
|
|
56
57
|
"@testing-library/react": "^12.1.5",
|
|
@@ -58,7 +59,7 @@
|
|
|
58
59
|
"bind-event-listener": "^2.1.1",
|
|
59
60
|
"raf-stub": "^2.0.1",
|
|
60
61
|
"storybook-addon-performance": "^0.16.0",
|
|
61
|
-
"typescript": "~4.
|
|
62
|
+
"typescript": "~5.4.2"
|
|
62
63
|
},
|
|
63
64
|
"keywords": [
|
|
64
65
|
"atlaskit",
|
|
@@ -87,4 +88,4 @@
|
|
|
87
88
|
},
|
|
88
89
|
"homepage": "https://atlassian.design/components/portal/",
|
|
89
90
|
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
|
|
90
|
-
}
|
|
91
|
+
}
|
package/types/package.json
CHANGED
package/tmp/api-report-tmp.d.ts
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
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
|
-
type MountStrategy = 'effect' | 'layoutEffect';
|
|
17
|
-
|
|
18
|
-
// @public (undocumented)
|
|
19
|
-
function Portal({ zIndex, children, mountStrategy, }: PortalProps): JSX.Element | null;
|
|
20
|
-
export default Portal;
|
|
21
|
-
|
|
22
|
-
// @public (undocumented)
|
|
23
|
-
export const PORTAL_MOUNT_EVENT = "akPortalMount";
|
|
24
|
-
|
|
25
|
-
// @public (undocumented)
|
|
26
|
-
export const PORTAL_UNMOUNT_EVENT = "akPortalUnmount";
|
|
27
|
-
|
|
28
|
-
// @public
|
|
29
|
-
export type PortalEvent = CustomEvent<PortalEventDetail>;
|
|
30
|
-
|
|
31
|
-
// @public
|
|
32
|
-
interface PortalEventDetail {
|
|
33
|
-
// (undocumented)
|
|
34
|
-
layer: LayerName | null;
|
|
35
|
-
// (undocumented)
|
|
36
|
-
zIndex: number;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
// @public
|
|
40
|
-
export interface PortalProps {
|
|
41
|
-
// (undocumented)
|
|
42
|
-
children: React_2.ReactNode;
|
|
43
|
-
mountStrategy?: MountStrategy;
|
|
44
|
-
// (undocumented)
|
|
45
|
-
zIndex?: number | string;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
// (No @packageDocumentation comment for this package)
|
|
49
|
-
|
|
50
|
-
```
|