@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 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
@@ -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: 24,
12
- left: 24,
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,
@@ -13,7 +13,7 @@ var zIndexToName = {
13
13
  510: 'modal',
14
14
  600: 'flag',
15
15
  700: 'spotlight',
16
- 800: 'tooltip'
16
+ 9999: 'tooltip'
17
17
  };
18
18
 
19
19
  /**
@@ -7,7 +7,7 @@ const zIndexToName = {
7
7
  510: 'modal',
8
8
  600: 'flag',
9
9
  700: 'spotlight',
10
- 800: 'tooltip'
10
+ 9999: 'tooltip'
11
11
  };
12
12
 
13
13
  /**
@@ -7,7 +7,7 @@ var zIndexToName = {
7
7
  510: 'modal',
8
8
  600: 'flag',
9
9
  700: 'spotlight',
10
- 800: 'tooltip'
10
+ 9999: 'tooltip'
11
11
  };
12
12
 
13
13
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/portal",
3
- "version": "4.3.4",
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.5.0",
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
- "@atlaskit/button": "^16.7.0",
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.4.0",
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",
@@ -1,5 +0,0 @@
1
- {
2
- "name": "@atlaskit/portal",
3
- "version": "4.3.4",
4
- "sideEffects": false
5
- }
@@ -1,5 +0,0 @@
1
- {
2
- "name": "@atlaskit/portal",
3
- "version": "4.3.4",
4
- "sideEffects": false
5
- }
@@ -1,5 +0,0 @@
1
- {
2
- "name": "@atlaskit/portal",
3
- "version": "4.3.4",
4
- "sideEffects": false
5
- }