@atlaskit/table-tree 9.3.2 → 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,15 @@
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
+
3
13
  ## 9.3.2
4
14
 
5
15
  ### Patch Changes
@@ -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.2";
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.2",
3
+ "version": "9.4.0",
4
4
  "sideEffects": false
5
5
  }
@@ -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.2";
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.2",
3
+ "version": "9.4.0",
4
4
  "sideEffects": false
5
5
  }
@@ -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.2";
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.2",
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.2",
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",