@atlaskit/charlie-hierarchy 0.0.3 → 0.0.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,19 @@
1
1
  # @atlaskit/charlie-hierarchy
2
2
 
3
+ ## 0.0.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [#180200](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/180200)
8
+ [`762b4a66fd9ab`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/762b4a66fd9ab) -
9
+ Fixed styling/UI issues with our current charlie-hierarchy page
10
+
11
+ ## 0.0.4
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 0.0.3
4
18
 
5
19
  ### Patch Changes
@@ -67,7 +67,7 @@ var CharlieHierarchy = exports.CharlieHierarchy = function CharlieHierarchy(prop
67
67
  scaleY: 1,
68
68
  skewX: 0,
69
69
  skewY: 0,
70
- translateX: document.body.clientWidth / 2,
70
+ translateX: containerWidth / 2,
71
71
  translateY: 120
72
72
  };
73
73
  var transform = zoom ? zoom === null || zoom === void 0 ? void 0 : zoom.toString() : transformMatrix ? "matrix(".concat(transformMatrix.scaleX, ", ").concat(transformMatrix.skewX, ", ").concat(transformMatrix.skewY, ", ").concat(transformMatrix.scaleY, ", ").concat(transformMatrix.translateX, ", ").concat(transformMatrix.translateY, ")") : undefined;
@@ -57,7 +57,7 @@ export const CharlieHierarchy = props => {
57
57
  scaleY: 1,
58
58
  skewX: 0,
59
59
  skewY: 0,
60
- translateX: document.body.clientWidth / 2,
60
+ translateX: containerWidth / 2,
61
61
  translateY: 120
62
62
  };
63
63
  const transform = zoom ? zoom === null || zoom === void 0 ? void 0 : zoom.toString() : transformMatrix ? `matrix(${transformMatrix.scaleX}, ${transformMatrix.skewX}, ${transformMatrix.skewY}, ${transformMatrix.scaleY}, ${transformMatrix.translateX}, ${transformMatrix.translateY})` : undefined;
@@ -62,7 +62,7 @@ export var CharlieHierarchy = function CharlieHierarchy(props) {
62
62
  scaleY: 1,
63
63
  skewX: 0,
64
64
  skewY: 0,
65
- translateX: document.body.clientWidth / 2,
65
+ translateX: containerWidth / 2,
66
66
  translateY: 120
67
67
  };
68
68
  var transform = zoom ? zoom === null || zoom === void 0 ? void 0 : zoom.toString() : transformMatrix ? "matrix(".concat(transformMatrix.scaleX, ", ").concat(transformMatrix.skewX, ", ").concat(transformMatrix.skewY, ", ").concat(transformMatrix.scaleY, ", ").concat(transformMatrix.translateX, ", ").concat(transformMatrix.translateY, ")") : undefined;
package/package.json CHANGED
@@ -1,7 +1,6 @@
1
1
  {
2
2
  "atlassian": {
3
3
  "team": "Technology Innovation",
4
- "runReact18": true,
5
4
  "website": {
6
5
  "name": "CharlieHierarchy",
7
6
  "category": "Layout and structure"
@@ -28,9 +27,9 @@
28
27
  ".": "./src/index.ts"
29
28
  },
30
29
  "dependencies": {
31
- "@atlaskit/css": "^0.11.0",
32
- "@atlaskit/primitives": "^14.9.0",
33
- "@atlaskit/tokens": "^5.3.0",
30
+ "@atlaskit/css": "^0.12.0",
31
+ "@atlaskit/primitives": "^14.10.0",
32
+ "@atlaskit/tokens": "^5.4.0",
34
33
  "@babel/runtime": "^7.0.0",
35
34
  "@compiled/react": "^0.18.3",
36
35
  "@visx/group": "^1.7.0",
@@ -94,8 +93,8 @@
94
93
  ]
95
94
  },
96
95
  "name": "@atlaskit/charlie-hierarchy",
97
- "version": "0.0.3",
98
- "description": "Add a description here.",
96
+ "version": "0.0.5",
97
+ "description": "A component for building SVG-rendered trees, with support for custom node rendering, zooming, and panning.",
99
98
  "author": "Atlassian Pty Ltd",
100
99
  "license": "Apache-2.0",
101
100
  "publishConfig": {