@atlaskit/dynamic-table 14.11.3 → 14.11.4

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/dynamic-table
2
2
 
3
+ ## 14.11.4
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
  ## 14.11.3
4
10
 
5
11
  ### Patch Changes
@@ -29,7 +29,7 @@ var _tableHead = _interopRequireDefault(require("./table-head"));
29
29
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
30
30
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
31
31
  var packageName = "@atlaskit/dynamic-table";
32
- var packageVersion = "14.11.3";
32
+ var packageVersion = "14.11.4";
33
33
  function toggleSortOrder(currentSortOrder) {
34
34
  switch (currentSortOrder) {
35
35
  case _constants.DESC:
@@ -18,7 +18,13 @@ var fixedSizeTruncateStyles = (0, _react.css)({
18
18
  });
19
19
  exports.fixedSizeTruncateStyles = fixedSizeTruncateStyles;
20
20
  var overflowTruncateStyles = (0, _react.css)({
21
- overflow: 'hidden'
21
+ // Use "clip" overflow to allow ellipses on x-axis without clipping descenders
22
+ '@supports not (overflow-x: clip)': {
23
+ overflow: 'hidden'
24
+ },
25
+ '@supports (overflow-x: clip)': {
26
+ overflowX: 'clip'
27
+ }
22
28
  });
23
29
  exports.overflowTruncateStyles = overflowTruncateStyles;
24
30
  var getTruncationStyleVars = function getTruncationStyleVars(_ref) {
@@ -14,7 +14,7 @@ import ManagedPagination from './managed-pagination';
14
14
  import RankableTableBody from './rankable/body';
15
15
  import TableHead from './table-head';
16
16
  const packageName = "@atlaskit/dynamic-table";
17
- const packageVersion = "14.11.3";
17
+ const packageVersion = "14.11.4";
18
18
  function toggleSortOrder(currentSortOrder) {
19
19
  switch (currentSortOrder) {
20
20
  case DESC:
@@ -8,7 +8,13 @@ export const fixedSizeTruncateStyles = css({
8
8
  whiteSpace: 'nowrap'
9
9
  });
10
10
  export const overflowTruncateStyles = css({
11
- overflow: 'hidden'
11
+ // Use "clip" overflow to allow ellipses on x-axis without clipping descenders
12
+ '@supports not (overflow-x: clip)': {
13
+ overflow: 'hidden'
14
+ },
15
+ '@supports (overflow-x: clip)': {
16
+ overflowX: 'clip'
17
+ }
12
18
  });
13
19
  export const getTruncationStyleVars = ({
14
20
  width
@@ -22,7 +22,7 @@ import ManagedPagination from './managed-pagination';
22
22
  import RankableTableBody from './rankable/body';
23
23
  import TableHead from './table-head';
24
24
  var packageName = "@atlaskit/dynamic-table";
25
- var packageVersion = "14.11.3";
25
+ var packageVersion = "14.11.4";
26
26
  function toggleSortOrder(currentSortOrder) {
27
27
  switch (currentSortOrder) {
28
28
  case DESC:
@@ -9,7 +9,13 @@ export var fixedSizeTruncateStyles = css({
9
9
  whiteSpace: 'nowrap'
10
10
  });
11
11
  export var overflowTruncateStyles = css({
12
- overflow: 'hidden'
12
+ // Use "clip" overflow to allow ellipses on x-axis without clipping descenders
13
+ '@supports not (overflow-x: clip)': {
14
+ overflow: 'hidden'
15
+ },
16
+ '@supports (overflow-x: clip)': {
17
+ overflowX: 'clip'
18
+ }
13
19
  });
14
20
  export var getTruncationStyleVars = function getTruncationStyleVars(_ref) {
15
21
  var width = _ref.width;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/dynamic-table",
3
- "version": "14.11.3",
3
+ "version": "14.11.4",
4
4
  "description": "A dynamic table displays rows of data with built-in pagination, sorting, and re-ordering functionality.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -1,5 +0,0 @@
1
- {
2
- "name": "@atlaskit/dynamic-table",
3
- "version": "14.11.3",
4
- "sideEffects": false
5
- }
@@ -1,5 +0,0 @@
1
- {
2
- "name": "@atlaskit/dynamic-table",
3
- "version": "14.11.3",
4
- "sideEffects": false
5
- }
@@ -1,5 +0,0 @@
1
- {
2
- "name": "@atlaskit/dynamic-table",
3
- "version": "14.11.3",
4
- "sideEffects": false
5
- }