@atlaskit/table-tree 9.6.1 → 9.6.2

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/table-tree
2
2
 
3
+ ## 9.6.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`56b444b56a8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56b444b56a8) - Fix a bug where text descenders were cut off at high zoom levels on Windows
8
+
3
9
  ## 9.6.1
4
10
 
5
11
  ### Patch Changes
@@ -11,9 +11,15 @@ var _react = require("@emotion/react");
11
11
  var _excluded = ["isSingleLine"];
12
12
  /** @jsx jsx */
13
13
  var overflowContainerStyles = (0, _react.css)({
14
- overflow: 'hidden',
15
14
  textOverflow: 'ellipsis',
16
- whiteSpace: 'nowrap'
15
+ whiteSpace: 'nowrap',
16
+ // Use "clip" overflow to allow ellipses on x-axis without clipping descenders
17
+ '@supports not (overflow-x: clip)': {
18
+ overflow: 'hidden'
19
+ },
20
+ '@supports (overflow-x: clip)': {
21
+ overflowX: 'clip'
22
+ }
17
23
  });
18
24
 
19
25
  /**
@@ -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.6.1";
31
+ var packageVersion = "9.6.2";
32
32
  var Row = /*#__PURE__*/function (_Component) {
33
33
  (0, _inherits2.default)(Row, _Component);
34
34
  var _super = _createSuper(Row);
@@ -3,9 +3,15 @@ import _extends from "@babel/runtime/helpers/extends";
3
3
 
4
4
  import { css, jsx } from '@emotion/react';
5
5
  const overflowContainerStyles = css({
6
- overflow: 'hidden',
7
6
  textOverflow: 'ellipsis',
8
- whiteSpace: 'nowrap'
7
+ whiteSpace: 'nowrap',
8
+ // Use "clip" overflow to allow ellipses on x-axis without clipping descenders
9
+ '@supports not (overflow-x: clip)': {
10
+ overflow: 'hidden'
11
+ },
12
+ '@supports (overflow-x: clip)': {
13
+ overflowX: 'clip'
14
+ }
9
15
  });
10
16
 
11
17
  /**
@@ -12,7 +12,7 @@ const treeRowClickableStyles = css({
12
12
  cursor: 'pointer'
13
13
  });
14
14
  const packageName = "@atlaskit/table-tree";
15
- const packageVersion = "9.6.1";
15
+ const packageVersion = "9.6.2";
16
16
  class Row extends Component {
17
17
  constructor(...args) {
18
18
  super(...args);
@@ -5,9 +5,15 @@ var _excluded = ["isSingleLine"];
5
5
 
6
6
  import { css, jsx } from '@emotion/react';
7
7
  var overflowContainerStyles = css({
8
- overflow: 'hidden',
9
8
  textOverflow: 'ellipsis',
10
- whiteSpace: 'nowrap'
9
+ whiteSpace: 'nowrap',
10
+ // Use "clip" overflow to allow ellipses on x-axis without clipping descenders
11
+ '@supports not (overflow-x: clip)': {
12
+ overflow: 'hidden'
13
+ },
14
+ '@supports (overflow-x: clip)': {
15
+ overflowX: 'clip'
16
+ }
11
17
  });
12
18
 
13
19
  /**
@@ -20,7 +20,7 @@ var treeRowClickableStyles = css({
20
20
  cursor: 'pointer'
21
21
  });
22
22
  var packageName = "@atlaskit/table-tree";
23
- var packageVersion = "9.6.1";
23
+ var packageVersion = "9.6.2";
24
24
  var Row = /*#__PURE__*/function (_Component) {
25
25
  _inherits(Row, _Component);
26
26
  var _super = _createSuper(Row);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/table-tree",
3
- "version": "9.6.1",
3
+ "version": "9.6.2",
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/"
@@ -24,11 +24,11 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@atlaskit/analytics-next": "^9.1.0",
27
- "@atlaskit/button": "^16.8.0",
27
+ "@atlaskit/button": "^16.9.0",
28
28
  "@atlaskit/icon": "^21.12.0",
29
29
  "@atlaskit/spinner": "^15.5.0",
30
30
  "@atlaskit/theme": "^12.5.0",
31
- "@atlaskit/tokens": "^1.13.0",
31
+ "@atlaskit/tokens": "^1.14.0",
32
32
  "@babel/runtime": "^7.0.0",
33
33
  "@emotion/react": "^11.7.1",
34
34
  "lodash": "^4.17.21"
@@ -1,5 +0,0 @@
1
- {
2
- "name": "@atlaskit/table-tree",
3
- "version": "9.6.1",
4
- "sideEffects": false
5
- }
@@ -1,5 +0,0 @@
1
- {
2
- "name": "@atlaskit/table-tree",
3
- "version": "9.6.1",
4
- "sideEffects": false
5
- }
@@ -1,5 +0,0 @@
1
- {
2
- "name": "@atlaskit/table-tree",
3
- "version": "9.6.1",
4
- "sideEffects": false
5
- }