@atlaskit/table-tree 9.3.1 → 9.4.0

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,21 @@
1
1
  # @atlaskit/table-tree
2
2
 
3
+ ## 9.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+
13
+ ## 9.3.2
14
+
15
+ ### Patch Changes
16
+
17
+ - [`4ba10567310`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ba10567310) - Internal changes.
18
+
3
19
  ## 9.3.1
4
20
 
5
21
  ### Patch Changes
@@ -37,6 +37,7 @@ var commonChevronContainerStyles = (0, _react.css)({
37
37
  // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
38
38
  marginLeft: "calc(".concat(indentBase, " * -1)"),
39
39
  position: 'absolute',
40
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
40
41
  top: 7,
41
42
  alignItems: 'center'
42
43
  });
@@ -55,6 +56,7 @@ var ChevronContainer = function ChevronContainer(props
55
56
  exports.ChevronContainer = ChevronContainer;
56
57
  var chevronIconContainerStyles = (0, _react.css)({
57
58
  position: 'relative',
59
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
58
60
  top: 1
59
61
  });
60
62
 
@@ -28,7 +28,7 @@ var treeRowClickableStyles = (0, _react2.css)({
28
28
  cursor: 'pointer'
29
29
  });
30
30
  var packageName = "@atlaskit/table-tree";
31
- var packageVersion = "9.3.1";
31
+ var packageVersion = "9.4.0";
32
32
  var Row = /*#__PURE__*/function (_Component) {
33
33
  (0, _inherits2.default)(Row, _Component);
34
34
  var _super = _createSuper(Row);
@@ -42,6 +42,10 @@ var Row = /*#__PURE__*/function (_Component) {
42
42
  (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "state", {
43
43
  isExpanded: _this.props.isDefaultExpanded || false
44
44
  });
45
+ /**
46
+ * This ensures a user won't trigger a click event and expand the accordion
47
+ * when making a text selection.
48
+ */
45
49
  (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "onClickHandler", function (e) {
46
50
  var _window$getSelection;
47
51
  var selection = ((_window$getSelection = window.getSelection()) === null || _window$getSelection === void 0 ? void 0 : _window$getSelection.toString()) || '';
@@ -86,11 +90,6 @@ var Row = /*#__PURE__*/function (_Component) {
86
90
  }
87
91
  }
88
92
  }
89
-
90
- /**
91
- * This ensures a user won't trigger a click event and expand the accordion
92
- * when making a text selection.
93
- */
94
93
  }, {
95
94
  key: "isExpanded",
96
95
  value: function isExpanded() {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/table-tree",
3
- "version": "9.3.1",
3
+ "version": "9.4.0",
4
4
  "sideEffects": false
5
5
  }
@@ -23,6 +23,7 @@ const commonChevronContainerStyles = css({
23
23
  // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
24
24
  marginLeft: `calc(${indentBase} * -1)`,
25
25
  position: 'absolute',
26
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
26
27
  top: 7,
27
28
  alignItems: 'center'
28
29
  });
@@ -38,6 +39,7 @@ export const ChevronContainer = (props
38
39
  }));
39
40
  const chevronIconContainerStyles = css({
40
41
  position: 'relative',
42
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
41
43
  top: 1
42
44
  });
43
45
 
@@ -12,13 +12,17 @@ const treeRowClickableStyles = css({
12
12
  cursor: 'pointer'
13
13
  });
14
14
  const packageName = "@atlaskit/table-tree";
15
- const packageVersion = "9.3.1";
15
+ const packageVersion = "9.4.0";
16
16
  class Row extends Component {
17
17
  constructor(...args) {
18
18
  super(...args);
19
19
  _defineProperty(this, "state", {
20
20
  isExpanded: this.props.isDefaultExpanded || false
21
21
  });
22
+ /**
23
+ * This ensures a user won't trigger a click event and expand the accordion
24
+ * when making a text selection.
25
+ */
22
26
  _defineProperty(this, "onClickHandler", e => {
23
27
  var _window$getSelection;
24
28
  const selection = ((_window$getSelection = window.getSelection()) === null || _window$getSelection === void 0 ? void 0 : _window$getSelection.toString()) || '';
@@ -61,12 +65,6 @@ class Row extends Component {
61
65
  }
62
66
  }
63
67
  }
64
-
65
- /**
66
- * This ensures a user won't trigger a click event and expand the accordion
67
- * when making a text selection.
68
- */
69
-
70
68
  isExpanded() {
71
69
  const {
72
70
  isExpanded
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/table-tree",
3
- "version": "9.3.1",
3
+ "version": "9.4.0",
4
4
  "sideEffects": false
5
5
  }
@@ -28,6 +28,7 @@ var commonChevronContainerStyles = css({
28
28
  // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
29
29
  marginLeft: "calc(".concat(indentBase, " * -1)"),
30
30
  position: 'absolute',
31
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
31
32
  top: 7,
32
33
  alignItems: 'center'
33
34
  });
@@ -45,6 +46,7 @@ export var ChevronContainer = function ChevronContainer(props
45
46
  };
46
47
  var chevronIconContainerStyles = css({
47
48
  position: 'relative',
49
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
48
50
  top: 1
49
51
  });
50
52
 
@@ -20,7 +20,7 @@ var treeRowClickableStyles = css({
20
20
  cursor: 'pointer'
21
21
  });
22
22
  var packageName = "@atlaskit/table-tree";
23
- var packageVersion = "9.3.1";
23
+ var packageVersion = "9.4.0";
24
24
  var Row = /*#__PURE__*/function (_Component) {
25
25
  _inherits(Row, _Component);
26
26
  var _super = _createSuper(Row);
@@ -34,6 +34,10 @@ var Row = /*#__PURE__*/function (_Component) {
34
34
  _defineProperty(_assertThisInitialized(_this), "state", {
35
35
  isExpanded: _this.props.isDefaultExpanded || false
36
36
  });
37
+ /**
38
+ * This ensures a user won't trigger a click event and expand the accordion
39
+ * when making a text selection.
40
+ */
37
41
  _defineProperty(_assertThisInitialized(_this), "onClickHandler", function (e) {
38
42
  var _window$getSelection;
39
43
  var selection = ((_window$getSelection = window.getSelection()) === null || _window$getSelection === void 0 ? void 0 : _window$getSelection.toString()) || '';
@@ -78,11 +82,6 @@ var Row = /*#__PURE__*/function (_Component) {
78
82
  }
79
83
  }
80
84
  }
81
-
82
- /**
83
- * This ensures a user won't trigger a click event and expand the accordion
84
- * when making a text selection.
85
- */
86
85
  }, {
87
86
  key: "isExpanded",
88
87
  value: function isExpanded() {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/table-tree",
3
- "version": "9.3.1",
3
+ "version": "9.4.0",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/table-tree",
3
- "version": "9.3.1",
3
+ "version": "9.4.0",
4
4
  "description": "A table tree is an expandable table for showing nested hierarchies of information.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -27,12 +27,12 @@
27
27
  ".": "./src/index.tsx"
28
28
  },
29
29
  "dependencies": {
30
- "@atlaskit/analytics-next": "^9.0.0",
31
- "@atlaskit/button": "^16.6.0",
32
- "@atlaskit/icon": "^21.11.0",
33
- "@atlaskit/spinner": "^15.4.0",
34
- "@atlaskit/theme": "^12.4.0",
35
- "@atlaskit/tokens": "^1.2.0",
30
+ "@atlaskit/analytics-next": "^9.1.0",
31
+ "@atlaskit/button": "^16.7.0",
32
+ "@atlaskit/icon": "^21.12.0",
33
+ "@atlaskit/spinner": "^15.5.0",
34
+ "@atlaskit/theme": "^12.5.0",
35
+ "@atlaskit/tokens": "^1.3.0",
36
36
  "@babel/runtime": "^7.0.0",
37
37
  "@emotion/react": "^11.7.1",
38
38
  "lodash": "^4.17.21",
@@ -43,10 +43,10 @@
43
43
  },
44
44
  "devDependencies": {
45
45
  "@atlaskit/docs": "*",
46
- "@atlaskit/ds-lib": "^2.0.1",
47
- "@atlaskit/empty-state": "^7.4.0",
48
- "@atlaskit/section-message": "^6.3.0",
49
- "@atlaskit/select": "^16.1.0",
46
+ "@atlaskit/ds-lib": "^2.2.0",
47
+ "@atlaskit/empty-state": "^7.5.0",
48
+ "@atlaskit/section-message": "^6.4.0",
49
+ "@atlaskit/select": "^16.2.0",
50
50
  "@atlaskit/ssr": "*",
51
51
  "@atlaskit/visual-regression": "*",
52
52
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",