@atlaskit/renderer 153.4.1 → 153.4.3

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,25 @@
1
1
  # @atlaskit/renderer
2
2
 
3
+ ## 153.4.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 153.4.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [`240a19a352d7f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/240a19a352d7f) -
14
+ Make the nested renderer table width fix permanent after removing its feature gate.
15
+ - [`fdf171f4096cb`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/fdf171f4096cb) -
16
+ EDITOR-10055: Enable empty-section chevrons to toggle and animate consistently in Editor and
17
+ Renderer behind platform_editor_empty_section_toggle.
18
+ - [`c22895b56a761`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c22895b56a761) -
19
+ Make the shipped paragraph props fast path permanent while preserving generic props for explicit
20
+ paragraph overrides.
21
+ - Updated dependencies
22
+
3
23
  ## 153.4.1
4
24
 
5
25
  ### Patch Changes
package/compass.yml CHANGED
@@ -35,7 +35,7 @@ customFields:
35
35
  value: true
36
36
  - name: Reviewer Selection Mechanism
37
37
  type: text
38
- value: random(2)
38
+ value: randomTZIgnored(2)
39
39
  - name: Required Reviewer Approvals
40
40
  type: number
41
41
  value: 1
@@ -71,7 +71,6 @@ var ReactSerializer = exports.default = /*#__PURE__*/function () {
71
71
  (0, _defineProperty2.default)(this, "allowCustomPanels", false);
72
72
  (0, _defineProperty2.default)(this, "surroundTextNodesWithTextWrapper", false);
73
73
  (0, _defineProperty2.default)(this, "textFastPath", false);
74
- (0, _defineProperty2.default)(this, "paragraphPropsFastPath", false);
75
74
  (0, _defineProperty2.default)(this, "allowAnnotations", false);
76
75
  (0, _defineProperty2.default)(this, "standaloneBackgroundColorMarks", []);
77
76
  (0, _defineProperty2.default)(this, "inlinePositions", new Set());
@@ -222,7 +221,6 @@ var ReactSerializer = exports.default = /*#__PURE__*/function () {
222
221
  this.allowAnnotations = Boolean(init.allowAnnotations);
223
222
  this.surroundTextNodesWithTextWrapper = Boolean(init.surroundTextNodesWithTextWrapper);
224
223
  this.textFastPath = (0, _expVal.expVal)('platform_renderer_text_paragraph_fast_path', 'isEnabled', false);
225
- this.paragraphPropsFastPath = (0, _expVal.expVal)('platform_renderer_paragraph_props_fast_path', 'isEnabled', false);
226
224
  this.media = init.media;
227
225
  this.mentionNodeDataProvider = init.mentionNodeDataProvider;
228
226
  this.emojiProviderLookupOrder = init.emojiProviderLookupOrder;
@@ -262,7 +260,7 @@ var ReactSerializer = exports.default = /*#__PURE__*/function () {
262
260
  switch (node.type.name) {
263
261
  case 'paragraph':
264
262
  // Explicit paragraph overrides retain the full generic props contract.
265
- if (this.paragraphPropsFastPath && (!this.nodeComponents || !Object.prototype.hasOwnProperty.call(this.nodeComponents, 'paragraph'))) {
263
+ if (!this.nodeComponents || !Object.prototype.hasOwnProperty.call(this.nodeComponents, 'paragraph')) {
266
264
  return this.getParagraphProps(node, path);
267
265
  }
268
266
  return this.getProps(node, path);
@@ -25,7 +25,6 @@ var _compareNodes = require("@atlaskit/editor-common/utils/compareNodes");
25
25
  var _compose = require("@atlaskit/editor-common/utils/compose");
26
26
  var _constants = require("@atlaskit/editor-shared-styles/constants");
27
27
  var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-experiment-enabled");
28
- var _fg = require("@atlaskit/platform-feature-flags/fg");
29
28
  var _editorExperiment = require("@atlaskit/tmp-editor-statsig/editor-experiment");
30
29
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
31
30
  var _consts = require("../../consts");
@@ -419,15 +418,12 @@ var TableContainer = exports.TableContainer = /*#__PURE__*/function (_React$Comp
419
418
  * element.style, because React may remove properties from the DOM when their
420
419
  * values transition to undefined between renders.
421
420
  *
422
- * `platform_nested_table_style_override_2` fixes a follow-up regression where a
423
- * NON-resized table inside an Excerpt macro (not Excerpt Include) on a
424
- * wide/full-width page shrinks to only show its first columns in the renderer.
425
- * Inside a nested renderer (a macro body) a non-resized table's computed width
426
- * is a default layout cap (760px/1800px, or a `cqw` length for full-page
427
- * appearances) taken from the outer renderer's width context. That value does
428
- * not match the macro's own box, so promoting it to inline `!important` makes
421
+ * A NON-resized table inside a nested renderer (e.g. an Excerpt macro body)
422
+ * takes a default layout cap (760px/1800px, or a `cqw` length for full-page
423
+ * appearances) from the outer renderer's width context. That value does not
424
+ * match the macro's own box, so promoting it to inline `!important` makes
429
425
  * the table collapse. Such tables have no author-chosen size to preserve, so
430
- * under this gate we re-assert the parent stylesheet's intent (fill the box:
426
+ * we re-assert the parent stylesheet's intent (fill the box:
431
427
  * `width: 100%; left: 0`) with inline `!important`.
432
428
  *
433
429
  * Explicitly resized tables (`tableNode.attrs.width` set) are excluded and keep
@@ -455,7 +451,7 @@ var TableContainer = exports.TableContainer = /*#__PURE__*/function (_React$Comp
455
451
  // Non-resized tables instead take a default layout cap (e.g. 760px/1800px)
456
452
  // derived from the outer renderer's appearance.
457
453
  var isExplicitlyResized = Boolean((_this$props$tableNode = this.props.tableNode) === null || _this$props$tableNode === void 0 ? void 0 : _this$props$tableNode.attrs.width);
458
- if (!isExplicitlyResized && (0, _fg.fg)('platform_nested_table_style_override_2')) {
454
+ if (!isExplicitlyResized) {
459
455
  // PGXT-10421: For a NON-resized table inside a nested renderer (e.g. an
460
456
  // Excerpt macro body), the computed width is a default layout cap
461
457
  // (760px/1800px, or a `cqw` length for full-page appearances) taken from
@@ -79,7 +79,7 @@ var DEGRADED_SEVERITY_THRESHOLD = exports.DEGRADED_SEVERITY_THRESHOLD = 3000;
79
79
  var TABLE_INFO_TIMEOUT = 10000;
80
80
  var RENDER_EVENT_SAMPLE_RATE = 0.1;
81
81
  var packageName = "@atlaskit/renderer";
82
- var packageVersion = "153.4.1";
82
+ var packageVersion = "153.4.2";
83
83
  var setAsQueryContainerStyles = (0, _react2.css)({
84
84
  containerName: 'ak-renderer-wrapper',
85
85
  containerType: 'inline-size'
@@ -12,6 +12,7 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/sli
12
12
  var _react = _interopRequireWildcard(require("react"));
13
13
  var _bindEventListener = require("bind-event-listener");
14
14
  var _isEqual = _interopRequireDefault(require("lodash/isEqual"));
15
+ var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-experiment-enabled");
15
16
  var _collapsibleHeadingsDom = require("./collapsible-headings-dom");
16
17
  var _collapsibleHeadingsSectionModel = require("./collapsible-headings-section-model");
17
18
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
@@ -55,13 +56,14 @@ function CollapsibleHeadingsProvider(_ref) {
55
56
  var sections = (0, _react.useMemo)(function () {
56
57
  return (0, _collapsibleHeadingsSectionModel.buildTopLevelHeadingSections)(pmDocument);
57
58
  }, [pmDocument]);
59
+ var allowEmptySections = (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_empty_section_toggle');
58
60
  var collapsibleSectionPositions = (0, _react.useMemo)(function () {
59
61
  return new Set(sections.filter(function (section) {
60
- return section.contentFrom < section.to;
62
+ return allowEmptySections || section.contentFrom < section.to;
61
63
  }).map(function (section) {
62
64
  return section.headingPos;
63
65
  }));
64
- }, [sections]);
66
+ }, [sections, allowEmptySections]);
65
67
  var isCurrentDocument = isSameDocument(state.pmDocument, pmDocument);
66
68
  var collapsedHeadings = isCurrentDocument ? state.positions : emptyCollapsedHeadings;
67
69
  var isActive = isEnabled && isBrowserFindSupported && Boolean(pmDocument);
@@ -55,7 +55,6 @@ export default class ReactSerializer {
55
55
  _defineProperty(this, "allowCustomPanels", false);
56
56
  _defineProperty(this, "surroundTextNodesWithTextWrapper", false);
57
57
  _defineProperty(this, "textFastPath", false);
58
- _defineProperty(this, "paragraphPropsFastPath", false);
59
58
  _defineProperty(this, "allowAnnotations", false);
60
59
  _defineProperty(this, "standaloneBackgroundColorMarks", []);
61
60
  _defineProperty(this, "inlinePositions", new Set());
@@ -209,7 +208,6 @@ export default class ReactSerializer {
209
208
  this.allowAnnotations = Boolean(init.allowAnnotations);
210
209
  this.surroundTextNodesWithTextWrapper = Boolean(init.surroundTextNodesWithTextWrapper);
211
210
  this.textFastPath = expVal('platform_renderer_text_paragraph_fast_path', 'isEnabled', false);
212
- this.paragraphPropsFastPath = expVal('platform_renderer_paragraph_props_fast_path', 'isEnabled', false);
213
211
  this.media = init.media;
214
212
  this.mentionNodeDataProvider = init.mentionNodeDataProvider;
215
213
  this.emojiProviderLookupOrder = init.emojiProviderLookupOrder;
@@ -245,7 +243,7 @@ export default class ReactSerializer {
245
243
  switch (node.type.name) {
246
244
  case 'paragraph':
247
245
  // Explicit paragraph overrides retain the full generic props contract.
248
- if (this.paragraphPropsFastPath && (!this.nodeComponents || !Object.prototype.hasOwnProperty.call(this.nodeComponents, 'paragraph'))) {
246
+ if (!this.nodeComponents || !Object.prototype.hasOwnProperty.call(this.nodeComponents, 'paragraph')) {
249
247
  return this.getParagraphProps(node, path);
250
248
  }
251
249
  return this.getProps(node, path);
@@ -14,7 +14,6 @@ import { createCompareNodes } from '@atlaskit/editor-common/utils/compareNodes';
14
14
  import { compose } from '@atlaskit/editor-common/utils/compose';
15
15
  import { akEditorDefaultLayoutWidth, akEditorFullWidthLayoutWidth, akEditorMaxWidthLayoutWidth } from '@atlaskit/editor-shared-styles/constants';
16
16
  import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
17
- import { fg } from '@atlaskit/platform-feature-flags/fg';
18
17
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
19
18
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
20
19
  import { RendererCssClassName } from '../../consts';
@@ -370,15 +369,12 @@ export class TableContainer extends React.Component {
370
369
  * element.style, because React may remove properties from the DOM when their
371
370
  * values transition to undefined between renders.
372
371
  *
373
- * `platform_nested_table_style_override_2` fixes a follow-up regression where a
374
- * NON-resized table inside an Excerpt macro (not Excerpt Include) on a
375
- * wide/full-width page shrinks to only show its first columns in the renderer.
376
- * Inside a nested renderer (a macro body) a non-resized table's computed width
377
- * is a default layout cap (760px/1800px, or a `cqw` length for full-page
378
- * appearances) taken from the outer renderer's width context. That value does
379
- * not match the macro's own box, so promoting it to inline `!important` makes
372
+ * A NON-resized table inside a nested renderer (e.g. an Excerpt macro body)
373
+ * takes a default layout cap (760px/1800px, or a `cqw` length for full-page
374
+ * appearances) from the outer renderer's width context. That value does not
375
+ * match the macro's own box, so promoting it to inline `!important` makes
380
376
  * the table collapse. Such tables have no author-chosen size to preserve, so
381
- * under this gate we re-assert the parent stylesheet's intent (fill the box:
377
+ * we re-assert the parent stylesheet's intent (fill the box:
382
378
  * `width: 100%; left: 0`) with inline `!important`.
383
379
  *
384
380
  * Explicitly resized tables (`tableNode.attrs.width` set) are excluded and keep
@@ -405,7 +401,7 @@ export class TableContainer extends React.Component {
405
401
  // Non-resized tables instead take a default layout cap (e.g. 760px/1800px)
406
402
  // derived from the outer renderer's appearance.
407
403
  const isExplicitlyResized = Boolean((_this$props$tableNode = this.props.tableNode) === null || _this$props$tableNode === void 0 ? void 0 : _this$props$tableNode.attrs.width);
408
- if (!isExplicitlyResized && fg('platform_nested_table_style_override_2')) {
404
+ if (!isExplicitlyResized) {
409
405
  // PGXT-10421: For a NON-resized table inside a nested renderer (e.g. an
410
406
  // Excerpt macro body), the computed width is a default layout cap
411
407
  // (760px/1800px, or a `cqw` length for full-page appearances) taken from
@@ -64,7 +64,7 @@ export const DEGRADED_SEVERITY_THRESHOLD = 3000;
64
64
  const TABLE_INFO_TIMEOUT = 10000;
65
65
  const RENDER_EVENT_SAMPLE_RATE = 0.1;
66
66
  const packageName = "@atlaskit/renderer";
67
- const packageVersion = "153.4.1";
67
+ const packageVersion = "153.4.2";
68
68
  const setAsQueryContainerStyles = css({
69
69
  containerName: 'ak-renderer-wrapper',
70
70
  containerType: 'inline-size'
@@ -1,6 +1,7 @@
1
1
  import React, { useCallback, useEffect, useMemo, useState } from 'react';
2
2
  import { bind } from 'bind-event-listener';
3
3
  import isEqual from 'lodash/isEqual';
4
+ import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
4
5
  import { COLLAPSED_CONTENT_OWNERS_ATTRIBUTE, getCollapsedContentOwners, getOwnedRendererDocuments, reconcileCollapsedHeadingContent } from './collapsible-headings-dom';
5
6
  import { buildTopLevelHeadingSections } from './collapsible-headings-section-model';
6
7
  const CollapsibleHeadingsContext = /*#__PURE__*/React.createContext(null);
@@ -36,7 +37,8 @@ export function CollapsibleHeadingsProvider({
36
37
  });
37
38
  const originalHiddenAttributes = React.useRef(new WeakMap()).current;
38
39
  const sections = useMemo(() => buildTopLevelHeadingSections(pmDocument), [pmDocument]);
39
- const collapsibleSectionPositions = useMemo(() => new Set(sections.filter(section => section.contentFrom < section.to).map(section => section.headingPos)), [sections]);
40
+ const allowEmptySections = isExperimentEnabled('platform_editor_empty_section_toggle');
41
+ const collapsibleSectionPositions = useMemo(() => new Set(sections.filter(section => allowEmptySections || section.contentFrom < section.to).map(section => section.headingPos)), [sections, allowEmptySections]);
40
42
  const isCurrentDocument = isSameDocument(state.pmDocument, pmDocument);
41
43
  const collapsedHeadings = isCurrentDocument ? state.positions : emptyCollapsedHeadings;
42
44
  const isActive = isEnabled && isBrowserFindSupported && Boolean(pmDocument);
@@ -64,7 +64,6 @@ var ReactSerializer = /*#__PURE__*/function () {
64
64
  _defineProperty(this, "allowCustomPanels", false);
65
65
  _defineProperty(this, "surroundTextNodesWithTextWrapper", false);
66
66
  _defineProperty(this, "textFastPath", false);
67
- _defineProperty(this, "paragraphPropsFastPath", false);
68
67
  _defineProperty(this, "allowAnnotations", false);
69
68
  _defineProperty(this, "standaloneBackgroundColorMarks", []);
70
69
  _defineProperty(this, "inlinePositions", new Set());
@@ -215,7 +214,6 @@ var ReactSerializer = /*#__PURE__*/function () {
215
214
  this.allowAnnotations = Boolean(init.allowAnnotations);
216
215
  this.surroundTextNodesWithTextWrapper = Boolean(init.surroundTextNodesWithTextWrapper);
217
216
  this.textFastPath = expVal('platform_renderer_text_paragraph_fast_path', 'isEnabled', false);
218
- this.paragraphPropsFastPath = expVal('platform_renderer_paragraph_props_fast_path', 'isEnabled', false);
219
217
  this.media = init.media;
220
218
  this.mentionNodeDataProvider = init.mentionNodeDataProvider;
221
219
  this.emojiProviderLookupOrder = init.emojiProviderLookupOrder;
@@ -255,7 +253,7 @@ var ReactSerializer = /*#__PURE__*/function () {
255
253
  switch (node.type.name) {
256
254
  case 'paragraph':
257
255
  // Explicit paragraph overrides retain the full generic props contract.
258
- if (this.paragraphPropsFastPath && (!this.nodeComponents || !Object.prototype.hasOwnProperty.call(this.nodeComponents, 'paragraph'))) {
256
+ if (!this.nodeComponents || !Object.prototype.hasOwnProperty.call(this.nodeComponents, 'paragraph')) {
259
257
  return this.getParagraphProps(node, path);
260
258
  }
261
259
  return this.getProps(node, path);
@@ -27,7 +27,6 @@ import { createCompareNodes } from '@atlaskit/editor-common/utils/compareNodes';
27
27
  import { compose } from '@atlaskit/editor-common/utils/compose';
28
28
  import { akEditorDefaultLayoutWidth, akEditorFullWidthLayoutWidth, akEditorMaxWidthLayoutWidth } from '@atlaskit/editor-shared-styles/constants';
29
29
  import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
30
- import { fg } from '@atlaskit/platform-feature-flags/fg';
31
30
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
32
31
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
33
32
  import { RendererCssClassName } from '../../consts';
@@ -414,15 +413,12 @@ export var TableContainer = /*#__PURE__*/function (_React$Component) {
414
413
  * element.style, because React may remove properties from the DOM when their
415
414
  * values transition to undefined between renders.
416
415
  *
417
- * `platform_nested_table_style_override_2` fixes a follow-up regression where a
418
- * NON-resized table inside an Excerpt macro (not Excerpt Include) on a
419
- * wide/full-width page shrinks to only show its first columns in the renderer.
420
- * Inside a nested renderer (a macro body) a non-resized table's computed width
421
- * is a default layout cap (760px/1800px, or a `cqw` length for full-page
422
- * appearances) taken from the outer renderer's width context. That value does
423
- * not match the macro's own box, so promoting it to inline `!important` makes
416
+ * A NON-resized table inside a nested renderer (e.g. an Excerpt macro body)
417
+ * takes a default layout cap (760px/1800px, or a `cqw` length for full-page
418
+ * appearances) from the outer renderer's width context. That value does not
419
+ * match the macro's own box, so promoting it to inline `!important` makes
424
420
  * the table collapse. Such tables have no author-chosen size to preserve, so
425
- * under this gate we re-assert the parent stylesheet's intent (fill the box:
421
+ * we re-assert the parent stylesheet's intent (fill the box:
426
422
  * `width: 100%; left: 0`) with inline `!important`.
427
423
  *
428
424
  * Explicitly resized tables (`tableNode.attrs.width` set) are excluded and keep
@@ -450,7 +446,7 @@ export var TableContainer = /*#__PURE__*/function (_React$Component) {
450
446
  // Non-resized tables instead take a default layout cap (e.g. 760px/1800px)
451
447
  // derived from the outer renderer's appearance.
452
448
  var isExplicitlyResized = Boolean((_this$props$tableNode = this.props.tableNode) === null || _this$props$tableNode === void 0 ? void 0 : _this$props$tableNode.attrs.width);
453
- if (!isExplicitlyResized && fg('platform_nested_table_style_override_2')) {
449
+ if (!isExplicitlyResized) {
454
450
  // PGXT-10421: For a NON-resized table inside a nested renderer (e.g. an
455
451
  // Excerpt macro body), the computed width is a default layout cap
456
452
  // (760px/1800px, or a `cqw` length for full-page appearances) taken from
@@ -69,7 +69,7 @@ export var DEGRADED_SEVERITY_THRESHOLD = 3000;
69
69
  var TABLE_INFO_TIMEOUT = 10000;
70
70
  var RENDER_EVENT_SAMPLE_RATE = 0.1;
71
71
  var packageName = "@atlaskit/renderer";
72
- var packageVersion = "153.4.1";
72
+ var packageVersion = "153.4.2";
73
73
  var setAsQueryContainerStyles = css({
74
74
  containerName: 'ak-renderer-wrapper',
75
75
  containerType: 'inline-size'
@@ -2,6 +2,7 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
2
2
  import React, { useCallback, useEffect, useMemo, useState } from 'react';
3
3
  import { bind } from 'bind-event-listener';
4
4
  import isEqual from 'lodash/isEqual';
5
+ import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
5
6
  import { COLLAPSED_CONTENT_OWNERS_ATTRIBUTE, getCollapsedContentOwners, getOwnedRendererDocuments, reconcileCollapsedHeadingContent } from './collapsible-headings-dom';
6
7
  import { buildTopLevelHeadingSections } from './collapsible-headings-section-model';
7
8
  var CollapsibleHeadingsContext = /*#__PURE__*/React.createContext(null);
@@ -44,13 +45,14 @@ export function CollapsibleHeadingsProvider(_ref) {
44
45
  var sections = useMemo(function () {
45
46
  return buildTopLevelHeadingSections(pmDocument);
46
47
  }, [pmDocument]);
48
+ var allowEmptySections = isExperimentEnabled('platform_editor_empty_section_toggle');
47
49
  var collapsibleSectionPositions = useMemo(function () {
48
50
  return new Set(sections.filter(function (section) {
49
- return section.contentFrom < section.to;
51
+ return allowEmptySections || section.contentFrom < section.to;
50
52
  }).map(function (section) {
51
53
  return section.headingPos;
52
54
  }));
53
- }, [sections]);
55
+ }, [sections, allowEmptySections]);
54
56
  var isCurrentDocument = isSameDocument(state.pmDocument, pmDocument);
55
57
  var collapsedHeadings = isCurrentDocument ? state.positions : emptyCollapsedHeadings;
56
58
  var isActive = isEnabled && isBrowserFindSupported && Boolean(pmDocument);
@@ -116,7 +116,6 @@ export default class ReactSerializer implements Serializer<JSX.Element> {
116
116
  private startPos;
117
117
  private surroundTextNodesWithTextWrapper;
118
118
  private textFastPath;
119
- private paragraphPropsFastPath;
120
119
  private media?;
121
120
  private mentionNodeDataProvider?;
122
121
  private emojiProviderLookupOrder?;
@@ -101,15 +101,12 @@ export declare class TableContainer extends React.Component<TableProps & Overflo
101
101
  * element.style, because React may remove properties from the DOM when their
102
102
  * values transition to undefined between renders.
103
103
  *
104
- * `platform_nested_table_style_override_2` fixes a follow-up regression where a
105
- * NON-resized table inside an Excerpt macro (not Excerpt Include) on a
106
- * wide/full-width page shrinks to only show its first columns in the renderer.
107
- * Inside a nested renderer (a macro body) a non-resized table's computed width
108
- * is a default layout cap (760px/1800px, or a `cqw` length for full-page
109
- * appearances) taken from the outer renderer's width context. That value does
110
- * not match the macro's own box, so promoting it to inline `!important` makes
104
+ * A NON-resized table inside a nested renderer (e.g. an Excerpt macro body)
105
+ * takes a default layout cap (760px/1800px, or a `cqw` length for full-page
106
+ * appearances) from the outer renderer's width context. That value does not
107
+ * match the macro's own box, so promoting it to inline `!important` makes
111
108
  * the table collapse. Such tables have no author-chosen size to preserve, so
112
- * under this gate we re-assert the parent stylesheet's intent (fill the box:
109
+ * we re-assert the parent stylesheet's intent (fill the box:
113
110
  * `width: 100%; left: 0`) with inline `!important`.
114
111
  *
115
112
  * Explicitly resized tables (`tableNode.attrs.width` set) are excluded and keep
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "153.4.1",
3
+ "version": "153.4.3",
4
4
  "description": "Renderer component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -40,7 +40,7 @@
40
40
  "@atlaskit/analytics-namespaced-context": "^8.2.0",
41
41
  "@atlaskit/analytics-next": "^12.6.0",
42
42
  "@atlaskit/browser-apis": "^1.2.0",
43
- "@atlaskit/button": "^25.7.0",
43
+ "@atlaskit/button": "^25.8.0",
44
44
  "@atlaskit/code": "^20.0.0",
45
45
  "@atlaskit/css": "^1.1.0",
46
46
  "@atlaskit/editor-card-provider": "^8.2.0",
@@ -71,7 +71,7 @@
71
71
  "@atlaskit/smart-card": "^46.13.0",
72
72
  "@atlaskit/status": "^5.17.0",
73
73
  "@atlaskit/task-decision": "^21.16.0",
74
- "@atlaskit/tmp-editor-statsig": "^260.0.0",
74
+ "@atlaskit/tmp-editor-statsig": "^261.0.0",
75
75
  "@atlaskit/tokens": "^20.11.0",
76
76
  "@atlaskit/tooltip": "^24.4.0",
77
77
  "@atlaskit/visually-hidden": "^4.4.0",
@@ -86,7 +86,7 @@
86
86
  "uuid": "^11.1.1"
87
87
  },
88
88
  "peerDependencies": {
89
- "@atlaskit/editor-common": "^134.14.0",
89
+ "@atlaskit/editor-common": "^134.16.0",
90
90
  "@atlaskit/link-provider": "^6.1.0",
91
91
  "@atlaskit/media-core": "^39.0.0",
92
92
  "react": "^18.2.0 || ^19.2.0",
@@ -98,7 +98,7 @@
98
98
  "@af/visual-regression": "workspace:^",
99
99
  "@atlaskit/analytics-gas-types": "^6.2.0",
100
100
  "@atlaskit/checkbox": "^19.3.0",
101
- "@atlaskit/editor-common": "^134.14.0",
101
+ "@atlaskit/editor-common": "^134.16.0",
102
102
  "@atlaskit/editor-plugin-media": "^32.3.0",
103
103
  "@atlaskit/editor-test-helpers": "workspace:^",
104
104
  "@atlaskit/inline-edit": "^16.5.0",
@@ -114,7 +114,7 @@
114
114
  "@atlaskit/modal-dialog": "^17.2.0",
115
115
  "@atlaskit/navigation-system": "^11.7.0",
116
116
  "@atlaskit/primitives": "^22.7.0",
117
- "@atlaskit/profilecard": "^27.6.0",
117
+ "@atlaskit/profilecard": "^27.8.0",
118
118
  "@atlaskit/radio": "^10.2.0",
119
119
  "@atlaskit/range": "^12.2.0",
120
120
  "@atlaskit/section-message": "^10.2.0",
@@ -197,9 +197,6 @@
197
197
  },
198
198
  "platform-dst-lozenge-tag-badge-visual-uplifts": {
199
199
  "type": "boolean"
200
- },
201
- "platform_nested_table_style_override_2": {
202
- "type": "boolean"
203
200
  }
204
201
  }
205
202
  }