@atlaskit/portal 4.3.4 → 4.3.6
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 +13 -0
- package/__perf__/examples.tsx +5 -4
- package/dist/cjs/internal/utils/portal-custom-event.js +1 -1
- package/dist/es2019/internal/utils/portal-custom-event.js +1 -1
- package/dist/esm/internal/utils/portal-custom-event.js +1 -1
- package/package.json +4 -13
- package/dist/cjs/version.json +0 -5
- package/dist/es2019/version.json +0 -5
- package/dist/esm/version.json +0 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/portal
|
|
2
2
|
|
|
3
|
+
## 4.3.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`f78ae454863`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f78ae454863) - Update tooltip z-index to 9999
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
|
|
10
|
+
## 4.3.5
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [`9af31f3c1ae`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9af31f3c1ae) - Delete version.json
|
|
15
|
+
|
|
3
16
|
## 4.3.4
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/__perf__/examples.tsx
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
|
+
import { token } from '@atlaskit/tokens';
|
|
4
|
+
|
|
3
5
|
import Portal from '../src';
|
|
4
6
|
|
|
5
7
|
const PortalPerformance = () => {
|
|
@@ -8,11 +10,10 @@ const PortalPerformance = () => {
|
|
|
8
10
|
<div
|
|
9
11
|
style={{
|
|
10
12
|
position: 'absolute',
|
|
11
|
-
top:
|
|
12
|
-
left:
|
|
13
|
-
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
13
|
+
top: token('space.300', '24px'),
|
|
14
|
+
left: token('space.300', '24px'),
|
|
14
15
|
background: 'lightpink',
|
|
15
|
-
padding: '24px',
|
|
16
|
+
padding: token('space.300', '24px'),
|
|
16
17
|
borderRadius: '3px',
|
|
17
18
|
// this z-index is relative to the portal
|
|
18
19
|
zIndex: 1,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/portal",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.6",
|
|
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.
|
|
41
|
+
"@atlaskit/theme": "^12.6.0",
|
|
42
42
|
"@babel/runtime": "^7.0.0"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
@@ -46,18 +46,9 @@
|
|
|
46
46
|
"react-dom": "^16.8.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@
|
|
50
|
-
"@atlaskit/code": "^14.6.0",
|
|
51
|
-
"@atlaskit/docs": "*",
|
|
52
|
-
"@atlaskit/flag": "^15.2.0",
|
|
53
|
-
"@atlaskit/icon": "^21.12.0",
|
|
54
|
-
"@atlaskit/inline-dialog": "^13.6.0",
|
|
55
|
-
"@atlaskit/modal-dialog": "^12.5.0",
|
|
56
|
-
"@atlaskit/onboarding": "^10.8.0",
|
|
57
|
-
"@atlaskit/section-message": "^6.4.0",
|
|
49
|
+
"@af/accessibility-testing": "*",
|
|
58
50
|
"@atlaskit/ssr": "*",
|
|
59
|
-
"@atlaskit/tokens": "^1.
|
|
60
|
-
"@atlaskit/tooltip": "^17.8.0",
|
|
51
|
+
"@atlaskit/tokens": "^1.18.0",
|
|
61
52
|
"@atlaskit/visual-regression": "*",
|
|
62
53
|
"@atlaskit/webdriver-runner": "*",
|
|
63
54
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
package/dist/cjs/version.json
DELETED
package/dist/es2019/version.json
DELETED