@atlaskit/portal 4.4.0 → 4.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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/portal
2
2
 
3
+ ## 4.4.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#94316](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94316) [`35fd5ed8e1d7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/35fd5ed8e1d7) - Upgrading internal dependency `bind-event-listener` to `@^3.0.0`
8
+
9
+ ## 4.4.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [#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`
14
+
3
15
  ## 4.4.0
4
16
 
5
17
  ### Minor Changes
@@ -1,5 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
1
+ "use strict";
@@ -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.0",
3
+ "version": "4.4.2",
4
4
  "description": "A wrapper for rendering components in React portals.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -38,7 +38,7 @@
38
38
  ".": "./src/index.tsx"
39
39
  },
40
40
  "dependencies": {
41
- "@atlaskit/theme": "^12.6.0",
41
+ "@atlaskit/theme": "^12.7.0",
42
42
  "@babel/runtime": "^7.0.0"
43
43
  },
44
44
  "peerDependencies": {
@@ -47,18 +47,21 @@
47
47
  },
48
48
  "devDependencies": {
49
49
  "@af/accessibility-testing": "*",
50
+ "@af/integration-testing": "*",
51
+ "@atlaskit/ds-lib": "^2.3.0",
52
+ "@atlaskit/modal-dialog": "^12.11.0",
50
53
  "@atlaskit/ssr": "*",
51
- "@atlaskit/tokens": "^1.28.0",
54
+ "@atlaskit/tokens": "^1.43.0",
55
+ "@atlaskit/tooltip": "^18.2.1",
52
56
  "@atlaskit/visual-regression": "*",
53
- "@atlaskit/webdriver-runner": "*",
54
57
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
55
58
  "@emotion/react": "^11.7.1",
56
59
  "@testing-library/react": "^12.1.5",
57
60
  "@testing-library/react-hooks": "^8.0.1",
58
- "bind-event-listener": "^2.1.1",
61
+ "bind-event-listener": "^3.0.0",
59
62
  "raf-stub": "^2.0.1",
60
63
  "storybook-addon-performance": "^0.16.0",
61
- "typescript": "~4.9.5"
64
+ "typescript": "~5.4.2"
62
65
  },
63
66
  "keywords": [
64
67
  "atlaskit",
@@ -87,4 +90,4 @@
87
90
  },
88
91
  "homepage": "https://atlassian.design/components/portal/",
89
92
  "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
90
- }
93
+ }
@@ -6,7 +6,7 @@
6
6
  "sideEffects": false,
7
7
  "types": "../dist/types/entry-points/types.d.ts",
8
8
  "typesVersions": {
9
- ">=4.5 <4.9": {
9
+ ">=4.5 <5.4": {
10
10
  "*": [
11
11
  "../dist/types-ts4.5/entry-points/types.d.ts"
12
12
  ]
@@ -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
- ```