@atlaskit/renderer 120.4.4 → 120.4.6

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,21 @@
1
1
  # @atlaskit/renderer
2
2
 
3
+ ## 120.4.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [`0412437292a6d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0412437292a6d) -
8
+ Switches linking changes for Preview Panel from FG to an experiment.
9
+ - Updated dependencies
10
+
11
+ ## 120.4.5
12
+
13
+ ### Patch Changes
14
+
15
+ - [`3bfbc008ce4ab`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3bfbc008ce4ab) -
16
+ Cleanup FG platform_editor_avatar_group_margin_fix
17
+ - Updated dependencies
18
+
3
19
  ## 120.4.4
4
20
 
5
21
  ### Patch Changes
@@ -17,6 +17,7 @@ var _ui = require("@atlaskit/editor-common/ui");
17
17
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
18
18
  var _analyticsNext = require("@atlaskit/analytics-next");
19
19
  var _platformFeatureFlagsReact = require("@atlaskit/platform-feature-flags-react");
20
+ var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
20
21
  var _fallback = require("./fallback");
21
22
  var _SmartCardStorage = require("../../ui/SmartCardStorage");
22
23
  var _getCardClickHandler = require("../utils/getCardClickHandler");
@@ -33,7 +34,7 @@ var HoverLinkOverlayNoop = function HoverLinkOverlayNoop(props) {
33
34
  return (0, _react2.jsx)(_react.Fragment, null, props.children);
34
35
  };
35
36
  var HoverLinkOverlayWithCondition = (0, _platformFeatureFlagsReact.componentWithCondition)(function () {
36
- return (0, _platformFeatureFlags.fg)('platform_editor_preview_panel_linking');
37
+ return (0, _expValEquals.expValEquals)('platform_editor_preview_panel_linking_exp', 'isEnabled', true);
37
38
  }, _ui.HoverLinkOverlay, HoverLinkOverlayNoop);
38
39
  var OverlayWithCardContext = function OverlayWithCardContext(_ref) {
39
40
  var _cardContext$value, _cardContext$value2, _cardContext$value2$i, _cardContext$value3;
@@ -19,6 +19,7 @@ var _adfSchema = require("@atlaskit/adf-schema");
19
19
  var _ui = require("@atlaskit/editor-common/ui");
20
20
  var _browser = require("@atlaskit/editor-common/browser");
21
21
  var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
22
+ var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
22
23
  var _table = require("../../react/nodes/table");
23
24
  var _table2 = require("@atlaskit/editor-common/table");
24
25
  var _lightWeightCodeBlock = require("../../react/nodes/codeBlock/components/lightWeightCodeBlock");
@@ -774,9 +775,7 @@ var smartCardStylesAvatarMarginFix = (0, _react.css)((0, _defineProperty2.defaul
774
775
  marginRight: 'inherit'
775
776
  }
776
777
  }));
777
-
778
- // fg platform_editor_avatar_group_margin_fix
779
- var smartCardStylesAvatarMarginFix2 = (0, _react.css)((0, _defineProperty2.default)({}, ".".concat(_styles.SmartCardSharedCssClassName.BLOCK_CARD_CONTAINER), {
778
+ var smartCardStylesAvatarListZeroMarginTop = (0, _react.css)((0, _defineProperty2.default)({}, ".".concat(_styles.SmartCardSharedCssClassName.BLOCK_CARD_CONTAINER), {
780
779
  'ul, ol': {
781
780
  marginTop: 0
782
781
  }
@@ -1463,7 +1462,7 @@ var RendererStyleContainer = exports.RendererStyleContainer = function RendererS
1463
1462
  '--ak-renderer-editor-font-heading-h6': "".concat((0, _ugcTokens.editorUGCToken)('editor.font.heading.h6')),
1464
1463
  '--ak-renderer-editor-font-normal-text': "".concat((0, _ugcTokens.editorUGCToken)('editor.font.body'))
1465
1464
  },
1466
- css: [baseStyles, hideHeadingCopyLinkWrapperStyles, appearance === 'full-page' && isPreviewPanelResponsivenessOn && rendererFullPageStylesWithReducedPadding, appearance === 'full-page' && !isPreviewPanelResponsivenessOn && rendererFullPageStyles, appearance === 'full-width' && rendererFullWidthStyles, appearance === 'full-width' && !(0, _table.isTableResizingEnabled)(appearance) && rendererFullWidthStylesForTableResizing, telepointerStyles, whitespaceSharedStyles, blockquoteSharedStyles, (0, _platformFeatureFlags.fg)('platform_editor_typography_ugc') ? headingsSharedStylesWithEditorUGC : headingsSharedStyles, headingWithAlignmentStyles, ruleSharedStyles, (0, _platformFeatureFlags.fg)('platform_editor_typography_ugc') ? paragraphSharedStylesWithEditorUGC : paragraphSharedStyles, listsSharedStyles, _browser.browser.gecko && listsSharedStylesForGekko, indentationSharedStyles, (0, _platformFeatureFlags.fg)('platform_editor__renderer_indentation_text_margin') && indentationSharedStylesWithMarginFix, blockMarksSharedStyles, codeMarkSharedStyles, shadowSharedStyle, dateSharedStyle, textColorStyles, backgroundColorStyles, tasksAndDecisionsStyles, smartCardStyles, smartCardStylesAvatarFix, (0, _platformFeatureFlags.fg)('platform_editor_preview_panel_linking') && headerSmartCardStyles, (0, _platformFeatureFlags.fg)('smartcard_avatar_margin_fix') && smartCardStylesAvatarMarginFix, (0, _platformFeatureFlags.fg)('platform_editor_avatar_group_margin_fix') && smartCardStylesAvatarMarginFix2,
1465
+ css: [baseStyles, hideHeadingCopyLinkWrapperStyles, appearance === 'full-page' && isPreviewPanelResponsivenessOn && rendererFullPageStylesWithReducedPadding, appearance === 'full-page' && !isPreviewPanelResponsivenessOn && rendererFullPageStyles, appearance === 'full-width' && rendererFullWidthStyles, appearance === 'full-width' && !(0, _table.isTableResizingEnabled)(appearance) && rendererFullWidthStylesForTableResizing, telepointerStyles, whitespaceSharedStyles, blockquoteSharedStyles, (0, _platformFeatureFlags.fg)('platform_editor_typography_ugc') ? headingsSharedStylesWithEditorUGC : headingsSharedStyles, headingWithAlignmentStyles, ruleSharedStyles, (0, _platformFeatureFlags.fg)('platform_editor_typography_ugc') ? paragraphSharedStylesWithEditorUGC : paragraphSharedStyles, listsSharedStyles, _browser.browser.gecko && listsSharedStylesForGekko, indentationSharedStyles, (0, _platformFeatureFlags.fg)('platform_editor__renderer_indentation_text_margin') && indentationSharedStylesWithMarginFix, blockMarksSharedStyles, codeMarkSharedStyles, shadowSharedStyle, dateSharedStyle, textColorStyles, backgroundColorStyles, tasksAndDecisionsStyles, smartCardStyles, smartCardStylesAvatarFix, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_preview_panel_linking_exp', 'isEnabled', true) && headerSmartCardStyles, (0, _platformFeatureFlags.fg)('smartcard_avatar_margin_fix') && smartCardStylesAvatarMarginFix, smartCardStylesAvatarListZeroMarginTop,
1467
1466
  // eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
1468
1467
  (0, _platformFeatureFlags.fg)('editor_inline_comments_on_inline_nodes') && rendererAnnotationStyles,
1469
1468
  // eslint-disable-next-line @atlaskit/platform/no-preconditioning, @atlaskit/platform/ensure-feature-flag-prefix
@@ -63,7 +63,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
63
63
  var NORMAL_SEVERITY_THRESHOLD = exports.NORMAL_SEVERITY_THRESHOLD = 2000;
64
64
  var DEGRADED_SEVERITY_THRESHOLD = exports.DEGRADED_SEVERITY_THRESHOLD = 3000;
65
65
  var packageName = "@atlaskit/renderer";
66
- var packageVersion = "120.4.3";
66
+ var packageVersion = "120.4.5";
67
67
  var setAsQueryContainerStyles = (0, _react2.css)({
68
68
  containerName: 'ak-renderer-wrapper',
69
69
  containerType: 'inline-size'
@@ -600,7 +600,7 @@ var RendererWrapper = /*#__PURE__*/_react.default.memo(function (props) {
600
600
  * Telepointer changes will also cause a childList mutation, so we manually ignore it.
601
601
  * Telepointer changes are always a singular node-adds or node-removes.
602
602
  */
603
- var isAdfStreamingEnabled = (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_ai_iw_adf_streaming', 'isEnabled', true) || (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_ai_ct_sg_adf_streaming', 'isEnabled', true);
603
+ var isAdfStreamingEnabled = (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_ai_iw_adf_streaming', 'isEnabled', 'adf') || (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_ai_iw_adf_streaming', 'isEnabled', 'adf_personalisation') || (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_ai_ct_sg_adf_streaming', 'isEnabled', true);
604
604
  if (isAdfStreamingEnabled && mutation.type === 'childList' && !(mutation.addedNodes.length === 1 && ((_mutation$addedNodes$ = mutation.addedNodes[0]) === null || _mutation$addedNodes$ === void 0 ? void 0 : _mutation$addedNodes$.id) === _style.TELEPOINTER_ID || mutation.removedNodes.length === 1 && ((_mutation$removedNode = mutation.removedNodes[0]) === null || _mutation$removedNode === void 0 ? void 0 : _mutation$removedNode.id) === _style.TELEPOINTER_ID)) {
605
605
  var _lastChild2 = _renderer.lastChild;
606
606
  if (_lastChild2) {
@@ -14,13 +14,14 @@ import { HoverLinkOverlay, UnsupportedInline } from '@atlaskit/editor-common/ui'
14
14
  import { fg } from '@atlaskit/platform-feature-flags';
15
15
  import { AnalyticsContext } from '@atlaskit/analytics-next';
16
16
  import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
17
+ import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
17
18
  import { CardErrorBoundary } from './fallback';
18
19
  import { withSmartCardStorage } from '../../ui/SmartCardStorage';
19
20
  import { getCardClickHandler } from '../utils/getCardClickHandler';
20
21
  import { useInlineAnnotationProps } from '../../ui/annotations/element/useInlineAnnotationProps';
21
22
  import { usePortal } from '../../ui/Renderer/PortalContext';
22
23
  const HoverLinkOverlayNoop = props => jsx(Fragment, null, props.children);
23
- const HoverLinkOverlayWithCondition = componentWithCondition(() => fg('platform_editor_preview_panel_linking'), HoverLinkOverlay, HoverLinkOverlayNoop);
24
+ const HoverLinkOverlayWithCondition = componentWithCondition(() => expValEquals('platform_editor_preview_panel_linking_exp', 'isEnabled', true), HoverLinkOverlay, HoverLinkOverlayNoop);
24
25
  const OverlayWithCardContext = ({
25
26
  rendererAppearance,
26
27
  isResolvedViewRendered,
@@ -19,6 +19,7 @@ import { bulletListSelector, orderedListSelector } from '@atlaskit/adf-schema';
19
19
  import { shadowClassNames, shadowObserverClassNames } from '@atlaskit/editor-common/ui';
20
20
  import { browser } from '@atlaskit/editor-common/browser';
21
21
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
22
+ import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
22
23
  import { isStickyScrollbarEnabled, isTableResizingEnabled } from '../../react/nodes/table';
23
24
  import { SORTABLE_COLUMN_ICON_CLASSNAME } from '@atlaskit/editor-common/table';
24
25
  import { LightWeightCodeBlockCssClassName } from '../../react/nodes/codeBlock/components/lightWeightCodeBlock';
@@ -907,9 +908,7 @@ const smartCardStylesAvatarMarginFix = css({
907
908
  }
908
909
  }
909
910
  });
910
-
911
- // fg platform_editor_avatar_group_margin_fix
912
- const smartCardStylesAvatarMarginFix2 = css({
911
+ const smartCardStylesAvatarListZeroMarginTop = css({
913
912
  [`.${SmartCardSharedCssClassName.BLOCK_CARD_CONTAINER}`]: {
914
913
  'ul, ol': {
915
914
  marginTop: 0
@@ -1862,7 +1861,7 @@ export const RendererStyleContainer = props => {
1862
1861
  '--ak-renderer-editor-font-heading-h6': `${editorUGCToken('editor.font.heading.h6')}`,
1863
1862
  '--ak-renderer-editor-font-normal-text': `${editorUGCToken('editor.font.body')}`
1864
1863
  },
1865
- css: [baseStyles, hideHeadingCopyLinkWrapperStyles, appearance === 'full-page' && isPreviewPanelResponsivenessOn && rendererFullPageStylesWithReducedPadding, appearance === 'full-page' && !isPreviewPanelResponsivenessOn && rendererFullPageStyles, appearance === 'full-width' && rendererFullWidthStyles, appearance === 'full-width' && !isTableResizingEnabled(appearance) && rendererFullWidthStylesForTableResizing, telepointerStyles, whitespaceSharedStyles, blockquoteSharedStyles, fg('platform_editor_typography_ugc') ? headingsSharedStylesWithEditorUGC : headingsSharedStyles, headingWithAlignmentStyles, ruleSharedStyles, fg('platform_editor_typography_ugc') ? paragraphSharedStylesWithEditorUGC : paragraphSharedStyles, listsSharedStyles, browser.gecko && listsSharedStylesForGekko, indentationSharedStyles, fg('platform_editor__renderer_indentation_text_margin') && indentationSharedStylesWithMarginFix, blockMarksSharedStyles, codeMarkSharedStyles, shadowSharedStyle, dateSharedStyle, textColorStyles, backgroundColorStyles, tasksAndDecisionsStyles, smartCardStyles, smartCardStylesAvatarFix, fg('platform_editor_preview_panel_linking') && headerSmartCardStyles, fg('smartcard_avatar_margin_fix') && smartCardStylesAvatarMarginFix, fg('platform_editor_avatar_group_margin_fix') && smartCardStylesAvatarMarginFix2,
1864
+ css: [baseStyles, hideHeadingCopyLinkWrapperStyles, appearance === 'full-page' && isPreviewPanelResponsivenessOn && rendererFullPageStylesWithReducedPadding, appearance === 'full-page' && !isPreviewPanelResponsivenessOn && rendererFullPageStyles, appearance === 'full-width' && rendererFullWidthStyles, appearance === 'full-width' && !isTableResizingEnabled(appearance) && rendererFullWidthStylesForTableResizing, telepointerStyles, whitespaceSharedStyles, blockquoteSharedStyles, fg('platform_editor_typography_ugc') ? headingsSharedStylesWithEditorUGC : headingsSharedStyles, headingWithAlignmentStyles, ruleSharedStyles, fg('platform_editor_typography_ugc') ? paragraphSharedStylesWithEditorUGC : paragraphSharedStyles, listsSharedStyles, browser.gecko && listsSharedStylesForGekko, indentationSharedStyles, fg('platform_editor__renderer_indentation_text_margin') && indentationSharedStylesWithMarginFix, blockMarksSharedStyles, codeMarkSharedStyles, shadowSharedStyle, dateSharedStyle, textColorStyles, backgroundColorStyles, tasksAndDecisionsStyles, smartCardStyles, smartCardStylesAvatarFix, expValEqualsNoExposure('platform_editor_preview_panel_linking_exp', 'isEnabled', true) && headerSmartCardStyles, fg('smartcard_avatar_margin_fix') && smartCardStylesAvatarMarginFix, smartCardStylesAvatarListZeroMarginTop,
1866
1865
  // eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
1867
1866
  fg('editor_inline_comments_on_inline_nodes') && rendererAnnotationStyles,
1868
1867
  // eslint-disable-next-line @atlaskit/platform/no-preconditioning, @atlaskit/platform/ensure-feature-flag-prefix
@@ -49,7 +49,7 @@ import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equ
49
49
  export const NORMAL_SEVERITY_THRESHOLD = 2000;
50
50
  export const DEGRADED_SEVERITY_THRESHOLD = 3000;
51
51
  const packageName = "@atlaskit/renderer";
52
- const packageVersion = "120.4.3";
52
+ const packageVersion = "120.4.5";
53
53
  const setAsQueryContainerStyles = css({
54
54
  containerName: 'ak-renderer-wrapper',
55
55
  containerType: 'inline-size'
@@ -586,7 +586,7 @@ const RendererWrapper = /*#__PURE__*/React.memo(props => {
586
586
  * Telepointer changes will also cause a childList mutation, so we manually ignore it.
587
587
  * Telepointer changes are always a singular node-adds or node-removes.
588
588
  */
589
- const isAdfStreamingEnabled = expValEqualsNoExposure('platform_editor_ai_iw_adf_streaming', 'isEnabled', true) || expValEqualsNoExposure('platform_editor_ai_ct_sg_adf_streaming', 'isEnabled', true);
589
+ const isAdfStreamingEnabled = expValEqualsNoExposure('platform_editor_ai_iw_adf_streaming', 'isEnabled', 'adf') || expValEqualsNoExposure('platform_editor_ai_iw_adf_streaming', 'isEnabled', 'adf_personalisation') || expValEqualsNoExposure('platform_editor_ai_ct_sg_adf_streaming', 'isEnabled', true);
590
590
  if (isAdfStreamingEnabled && mutation.type === 'childList' && !(mutation.addedNodes.length === 1 && ((_mutation$addedNodes$ = mutation.addedNodes[0]) === null || _mutation$addedNodes$ === void 0 ? void 0 : _mutation$addedNodes$.id) === TELEPOINTER_ID || mutation.removedNodes.length === 1 && ((_mutation$removedNode = mutation.removedNodes[0]) === null || _mutation$removedNode === void 0 ? void 0 : _mutation$removedNode.id) === TELEPOINTER_ID)) {
591
591
  const lastChild = renderer.lastChild;
592
592
  if (lastChild) {
@@ -15,6 +15,7 @@ import { HoverLinkOverlay, UnsupportedInline } from '@atlaskit/editor-common/ui'
15
15
  import { fg } from '@atlaskit/platform-feature-flags';
16
16
  import { AnalyticsContext } from '@atlaskit/analytics-next';
17
17
  import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
18
+ import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
18
19
  import { CardErrorBoundary } from './fallback';
19
20
  import { withSmartCardStorage } from '../../ui/SmartCardStorage';
20
21
  import { getCardClickHandler } from '../utils/getCardClickHandler';
@@ -24,7 +25,7 @@ var HoverLinkOverlayNoop = function HoverLinkOverlayNoop(props) {
24
25
  return jsx(Fragment, null, props.children);
25
26
  };
26
27
  var HoverLinkOverlayWithCondition = componentWithCondition(function () {
27
- return fg('platform_editor_preview_panel_linking');
28
+ return expValEquals('platform_editor_preview_panel_linking_exp', 'isEnabled', true);
28
29
  }, HoverLinkOverlay, HoverLinkOverlayNoop);
29
30
  var OverlayWithCardContext = function OverlayWithCardContext(_ref) {
30
31
  var _cardContext$value, _cardContext$value2, _cardContext$value2$i, _cardContext$value3;
@@ -21,6 +21,7 @@ import { bulletListSelector, orderedListSelector } from '@atlaskit/adf-schema';
21
21
  import { shadowClassNames, shadowObserverClassNames } from '@atlaskit/editor-common/ui';
22
22
  import { browser } from '@atlaskit/editor-common/browser';
23
23
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
24
+ import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
24
25
  import { isStickyScrollbarEnabled, isTableResizingEnabled } from '../../react/nodes/table';
25
26
  import { SORTABLE_COLUMN_ICON_CLASSNAME } from '@atlaskit/editor-common/table';
26
27
  import { LightWeightCodeBlockCssClassName } from '../../react/nodes/codeBlock/components/lightWeightCodeBlock';
@@ -767,9 +768,7 @@ var smartCardStylesAvatarMarginFix = css(_defineProperty({}, ".".concat(SmartCar
767
768
  marginRight: 'inherit'
768
769
  }
769
770
  }));
770
-
771
- // fg platform_editor_avatar_group_margin_fix
772
- var smartCardStylesAvatarMarginFix2 = css(_defineProperty({}, ".".concat(SmartCardSharedCssClassName.BLOCK_CARD_CONTAINER), {
771
+ var smartCardStylesAvatarListZeroMarginTop = css(_defineProperty({}, ".".concat(SmartCardSharedCssClassName.BLOCK_CARD_CONTAINER), {
773
772
  'ul, ol': {
774
773
  marginTop: 0
775
774
  }
@@ -1456,7 +1455,7 @@ export var RendererStyleContainer = function RendererStyleContainer(props) {
1456
1455
  '--ak-renderer-editor-font-heading-h6': "".concat(editorUGCToken('editor.font.heading.h6')),
1457
1456
  '--ak-renderer-editor-font-normal-text': "".concat(editorUGCToken('editor.font.body'))
1458
1457
  },
1459
- css: [baseStyles, hideHeadingCopyLinkWrapperStyles, appearance === 'full-page' && isPreviewPanelResponsivenessOn && rendererFullPageStylesWithReducedPadding, appearance === 'full-page' && !isPreviewPanelResponsivenessOn && rendererFullPageStyles, appearance === 'full-width' && rendererFullWidthStyles, appearance === 'full-width' && !isTableResizingEnabled(appearance) && rendererFullWidthStylesForTableResizing, telepointerStyles, whitespaceSharedStyles, blockquoteSharedStyles, fg('platform_editor_typography_ugc') ? headingsSharedStylesWithEditorUGC : headingsSharedStyles, headingWithAlignmentStyles, ruleSharedStyles, fg('platform_editor_typography_ugc') ? paragraphSharedStylesWithEditorUGC : paragraphSharedStyles, listsSharedStyles, browser.gecko && listsSharedStylesForGekko, indentationSharedStyles, fg('platform_editor__renderer_indentation_text_margin') && indentationSharedStylesWithMarginFix, blockMarksSharedStyles, codeMarkSharedStyles, shadowSharedStyle, dateSharedStyle, textColorStyles, backgroundColorStyles, tasksAndDecisionsStyles, smartCardStyles, smartCardStylesAvatarFix, fg('platform_editor_preview_panel_linking') && headerSmartCardStyles, fg('smartcard_avatar_margin_fix') && smartCardStylesAvatarMarginFix, fg('platform_editor_avatar_group_margin_fix') && smartCardStylesAvatarMarginFix2,
1458
+ css: [baseStyles, hideHeadingCopyLinkWrapperStyles, appearance === 'full-page' && isPreviewPanelResponsivenessOn && rendererFullPageStylesWithReducedPadding, appearance === 'full-page' && !isPreviewPanelResponsivenessOn && rendererFullPageStyles, appearance === 'full-width' && rendererFullWidthStyles, appearance === 'full-width' && !isTableResizingEnabled(appearance) && rendererFullWidthStylesForTableResizing, telepointerStyles, whitespaceSharedStyles, blockquoteSharedStyles, fg('platform_editor_typography_ugc') ? headingsSharedStylesWithEditorUGC : headingsSharedStyles, headingWithAlignmentStyles, ruleSharedStyles, fg('platform_editor_typography_ugc') ? paragraphSharedStylesWithEditorUGC : paragraphSharedStyles, listsSharedStyles, browser.gecko && listsSharedStylesForGekko, indentationSharedStyles, fg('platform_editor__renderer_indentation_text_margin') && indentationSharedStylesWithMarginFix, blockMarksSharedStyles, codeMarkSharedStyles, shadowSharedStyle, dateSharedStyle, textColorStyles, backgroundColorStyles, tasksAndDecisionsStyles, smartCardStyles, smartCardStylesAvatarFix, expValEqualsNoExposure('platform_editor_preview_panel_linking_exp', 'isEnabled', true) && headerSmartCardStyles, fg('smartcard_avatar_margin_fix') && smartCardStylesAvatarMarginFix, smartCardStylesAvatarListZeroMarginTop,
1460
1459
  // eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
1461
1460
  fg('editor_inline_comments_on_inline_nodes') && rendererAnnotationStyles,
1462
1461
  // eslint-disable-next-line @atlaskit/platform/no-preconditioning, @atlaskit/platform/ensure-feature-flag-prefix
@@ -54,7 +54,7 @@ import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equ
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 = "120.4.3";
57
+ var packageVersion = "120.4.5";
58
58
  var setAsQueryContainerStyles = css({
59
59
  containerName: 'ak-renderer-wrapper',
60
60
  containerType: 'inline-size'
@@ -591,7 +591,7 @@ var RendererWrapper = /*#__PURE__*/React.memo(function (props) {
591
591
  * Telepointer changes will also cause a childList mutation, so we manually ignore it.
592
592
  * Telepointer changes are always a singular node-adds or node-removes.
593
593
  */
594
- var isAdfStreamingEnabled = expValEqualsNoExposure('platform_editor_ai_iw_adf_streaming', 'isEnabled', true) || expValEqualsNoExposure('platform_editor_ai_ct_sg_adf_streaming', 'isEnabled', true);
594
+ var isAdfStreamingEnabled = expValEqualsNoExposure('platform_editor_ai_iw_adf_streaming', 'isEnabled', 'adf') || expValEqualsNoExposure('platform_editor_ai_iw_adf_streaming', 'isEnabled', 'adf_personalisation') || expValEqualsNoExposure('platform_editor_ai_ct_sg_adf_streaming', 'isEnabled', true);
595
595
  if (isAdfStreamingEnabled && mutation.type === 'childList' && !(mutation.addedNodes.length === 1 && ((_mutation$addedNodes$ = mutation.addedNodes[0]) === null || _mutation$addedNodes$ === void 0 ? void 0 : _mutation$addedNodes$.id) === TELEPOINTER_ID || mutation.removedNodes.length === 1 && ((_mutation$removedNode = mutation.removedNodes[0]) === null || _mutation$removedNode === void 0 ? void 0 : _mutation$removedNode.id) === TELEPOINTER_ID)) {
596
596
  var _lastChild2 = _renderer.lastChild;
597
597
  if (_lastChild2) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "120.4.4",
3
+ "version": "120.4.6",
4
4
  "description": "Renderer component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -35,7 +35,7 @@
35
35
  "@atlaskit/editor-prosemirror": "7.0.0",
36
36
  "@atlaskit/editor-shared-styles": "^3.6.0",
37
37
  "@atlaskit/editor-tables": "^2.9.0",
38
- "@atlaskit/emoji": "^69.3.0",
38
+ "@atlaskit/emoji": "^69.4.0",
39
39
  "@atlaskit/feature-gate-js-client": "^5.5.0",
40
40
  "@atlaskit/icon": "^27.12.0",
41
41
  "@atlaskit/link": "^3.2.0",
@@ -54,7 +54,7 @@
54
54
  "@atlaskit/status": "^3.0.0",
55
55
  "@atlaskit/task-decision": "^19.2.0",
56
56
  "@atlaskit/theme": "^19.0.0",
57
- "@atlaskit/tmp-editor-statsig": "^10.0.0",
57
+ "@atlaskit/tmp-editor-statsig": "^11.1.0",
58
58
  "@atlaskit/tokens": "^6.0.0",
59
59
  "@atlaskit/tooltip": "^20.4.0",
60
60
  "@atlaskit/visually-hidden": "^3.0.0",
@@ -69,7 +69,7 @@
69
69
  },
70
70
  "peerDependencies": {
71
71
  "@atlaskit/editor-common": "^107.25.0",
72
- "@atlaskit/link-provider": "^3.4.0",
72
+ "@atlaskit/link-provider": "^3.6.0",
73
73
  "@atlaskit/media-core": "^37.0.0",
74
74
  "react": "^18.2.0",
75
75
  "react-dom": "^18.2.0"
@@ -80,9 +80,9 @@
80
80
  "@atlaskit/analytics-gas-types": "^5.1.0",
81
81
  "@atlaskit/checkbox": "^17.1.0",
82
82
  "@atlaskit/css-reset": "^7.3.0",
83
- "@atlaskit/link-provider": "^3.4.0",
83
+ "@atlaskit/link-provider": "^3.6.0",
84
84
  "@atlaskit/link-test-helpers": "^8.3.0",
85
- "@atlaskit/linking-common": "^9.2.0",
85
+ "@atlaskit/linking-common": "^9.4.0",
86
86
  "@atlaskit/media-core": "^37.0.0",
87
87
  "@atlaskit/media-integration-test-helpers": "workspace:^",
88
88
  "@atlaskit/media-test-helpers": "^39.0.0",
@@ -261,12 +261,6 @@
261
261
  "platform_custom_number_column": {
262
262
  "type": "boolean"
263
263
  },
264
- "platform_editor_avatar_group_margin_fix": {
265
- "type": "boolean"
266
- },
267
- "platform_editor_preview_panel_linking": {
268
- "type": "boolean"
269
- },
270
264
  "platform_editor_numbered_column_in_include": {
271
265
  "type": "boolean"
272
266
  },