@atlaskit/portal 4.3.4 → 4.3.5

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.3.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [`9af31f3c1ae`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9af31f3c1ae) - Delete version.json
8
+
3
9
  ## 4.3.4
4
10
 
5
11
  ### 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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/portal",
3
- "version": "4.3.4",
3
+ "version": "4.3.5",
4
4
  "description": "A wrapper for rendering components in React portals.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -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.14.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
- }