@atlaskit/renderer 112.13.0 → 112.13.1

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,13 @@
1
1
  # @atlaskit/renderer
2
2
 
3
+ ## 112.13.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#112949](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/112949)
8
+ [`3204ff13be49e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3204ff13be49e) -
9
+ [ux] ED-26481 Disable sticky headers for nested tables in renderer
10
+
3
11
  ## 112.13.0
4
12
 
5
13
  ### Minor Changes
@@ -394,11 +394,12 @@ var ReactSerializer = exports.default = /*#__PURE__*/function () {
394
394
  key: "getTableProps",
395
395
  value: function getTableProps(node) {
396
396
  var path = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
397
- // TODO: https://product-fabric.atlassian.net/browse/CEMS-1048
398
- var stickyHeaders = !(0, _rendererNode.insideBreakoutLayout)(path) ? this.stickyHeaders : undefined;
399
397
  var isInsideOfBlockNode = (0, _rendererNode.insideBlockNode)(path, node.type.schema);
400
398
  var isInsideMultiBodiedExtension = (0, _rendererNode.insideMultiBodiedExtension)(path, node.type.schema);
401
399
  var isInsideOfTable = (0, _rendererNode.insideTable)(path, node.type.schema);
400
+
401
+ // TODO: https://product-fabric.atlassian.net/browse/CEMS-1048
402
+ var stickyHeaders = !isInsideOfTable && !(0, _rendererNode.insideBreakoutLayout)(path) ? this.stickyHeaders : undefined;
402
403
  return _objectSpread(_objectSpread({}, this.getProps(node)), {}, {
403
404
  allowColumnSorting: this.allowColumnSorting,
404
405
  columnWidths:
@@ -64,7 +64,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
64
64
  var NORMAL_SEVERITY_THRESHOLD = exports.NORMAL_SEVERITY_THRESHOLD = 2000;
65
65
  var DEGRADED_SEVERITY_THRESHOLD = exports.DEGRADED_SEVERITY_THRESHOLD = 3000;
66
66
  var packageName = "@atlaskit/renderer";
67
- var packageVersion = "112.13.0";
67
+ var packageVersion = "112.13.1";
68
68
  var setAsQueryContainerStyles = (0, _react2.css)({
69
69
  containerName: 'ak-renderer-wrapper',
70
70
  containerType: 'inline-size',
@@ -361,11 +361,12 @@ export default class ReactSerializer {
361
361
  };
362
362
  }
363
363
  getTableProps(node, path = []) {
364
- // TODO: https://product-fabric.atlassian.net/browse/CEMS-1048
365
- const stickyHeaders = !insideBreakoutLayout(path) ? this.stickyHeaders : undefined;
366
364
  const isInsideOfBlockNode = insideBlockNode(path, node.type.schema);
367
365
  const isInsideMultiBodiedExtension = insideMultiBodiedExtension(path, node.type.schema);
368
366
  const isInsideOfTable = insideTable(path, node.type.schema);
367
+
368
+ // TODO: https://product-fabric.atlassian.net/browse/CEMS-1048
369
+ const stickyHeaders = !isInsideOfTable && !insideBreakoutLayout(path) ? this.stickyHeaders : undefined;
369
370
  return {
370
371
  ...this.getProps(node),
371
372
  allowColumnSorting: this.allowColumnSorting,
@@ -45,7 +45,7 @@ import { TruncatedWrapper } from './truncated-wrapper';
45
45
  export const NORMAL_SEVERITY_THRESHOLD = 2000;
46
46
  export const DEGRADED_SEVERITY_THRESHOLD = 3000;
47
47
  const packageName = "@atlaskit/renderer";
48
- const packageVersion = "112.13.0";
48
+ const packageVersion = "112.13.1";
49
49
  const setAsQueryContainerStyles = css({
50
50
  containerName: 'ak-renderer-wrapper',
51
51
  containerType: 'inline-size',
@@ -387,11 +387,12 @@ var ReactSerializer = /*#__PURE__*/function () {
387
387
  key: "getTableProps",
388
388
  value: function getTableProps(node) {
389
389
  var path = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
390
- // TODO: https://product-fabric.atlassian.net/browse/CEMS-1048
391
- var stickyHeaders = !insideBreakoutLayout(path) ? this.stickyHeaders : undefined;
392
390
  var isInsideOfBlockNode = insideBlockNode(path, node.type.schema);
393
391
  var isInsideMultiBodiedExtension = insideMultiBodiedExtension(path, node.type.schema);
394
392
  var isInsideOfTable = insideTable(path, node.type.schema);
393
+
394
+ // TODO: https://product-fabric.atlassian.net/browse/CEMS-1048
395
+ var stickyHeaders = !isInsideOfTable && !insideBreakoutLayout(path) ? this.stickyHeaders : undefined;
395
396
  return _objectSpread(_objectSpread({}, this.getProps(node)), {}, {
396
397
  allowColumnSorting: this.allowColumnSorting,
397
398
  columnWidths:
@@ -54,7 +54,7 @@ import { TruncatedWrapper } from './truncated-wrapper';
54
54
  export var NORMAL_SEVERITY_THRESHOLD = 2000;
55
55
  export var DEGRADED_SEVERITY_THRESHOLD = 3000;
56
56
  var packageName = "@atlaskit/renderer";
57
- var packageVersion = "112.13.0";
57
+ var packageVersion = "112.13.1";
58
58
  var setAsQueryContainerStyles = css({
59
59
  containerName: 'ak-renderer-wrapper',
60
60
  containerType: 'inline-size',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "112.13.0",
3
+ "version": "112.13.1",
4
4
  "description": "Renderer component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -29,14 +29,14 @@
29
29
  "@atlaskit/analytics-next": "^10.3.0",
30
30
  "@atlaskit/button": "^20.5.0",
31
31
  "@atlaskit/code": "^15.7.0",
32
- "@atlaskit/editor-common": "^99.10.0",
32
+ "@atlaskit/editor-common": "^99.11.0",
33
33
  "@atlaskit/editor-json-transformer": "^8.23.0",
34
34
  "@atlaskit/editor-palette": "1.7.0",
35
35
  "@atlaskit/editor-prosemirror": "7.0.0",
36
36
  "@atlaskit/editor-shared-styles": "^3.2.0",
37
37
  "@atlaskit/emoji": "^67.13.0",
38
38
  "@atlaskit/feature-gate-js-client": "^4.23.0",
39
- "@atlaskit/icon": "^23.7.0",
39
+ "@atlaskit/icon": "^23.8.0",
40
40
  "@atlaskit/link-datasource": "^3.19.0",
41
41
  "@atlaskit/media-card": "^78.19.0",
42
42
  "@atlaskit/media-client": "^31.1.0",
@@ -50,7 +50,7 @@
50
50
  "@atlaskit/status": "^1.9.0",
51
51
  "@atlaskit/task-decision": "^17.12.0",
52
52
  "@atlaskit/theme": "^15.0.0",
53
- "@atlaskit/tmp-editor-statsig": "^2.43.0",
53
+ "@atlaskit/tmp-editor-statsig": "^2.45.0",
54
54
  "@atlaskit/tokens": "^3.3.0",
55
55
  "@atlaskit/tooltip": "^19.1.0",
56
56
  "@atlaskit/visually-hidden": "^1.6.0",
@@ -73,7 +73,7 @@
73
73
  "@af/integration-testing": "*",
74
74
  "@af/visual-regression": "*",
75
75
  "@atlaskit/analytics-gas-types": "^5.1.0",
76
- "@atlaskit/css-reset": "^6.12.0",
76
+ "@atlaskit/css-reset": "^6.13.0",
77
77
  "@atlaskit/link-provider": "^1.19.0",
78
78
  "@atlaskit/link-test-helpers": "^7.6.0",
79
79
  "@atlaskit/linking-common": "^6.3.0",