@atlaskit/renderer 153.2.1 → 153.2.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,26 @@
1
1
  # @atlaskit/renderer
2
2
 
3
+ ## 153.2.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`f7cf7e70c78b2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f7cf7e70c78b2) -
8
+ Clean up `confluence_fe_renderer_inline_node_mark_color_fix`, retaining the enabled inline-node
9
+ annotation styles.
10
+
11
+ Remove the experiment from the statsig configuration contract. Consumers must stop evaluating this
12
+ experiment and use its shipped enabled behaviour.
13
+
14
+ - Updated dependencies
15
+
16
+ ## 153.2.2
17
+
18
+ ### Patch Changes
19
+
20
+ - [`8c852c7ba9503`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8c852c7ba9503) -
21
+ Remove a11y-fixes-week4-may-2026 and retain the enabled accessibility behavior for Unsplash
22
+ headings, heading-link focus and tooltips, and reaction expansion state.
23
+
3
24
  ## 153.2.1
4
25
 
5
26
  ### Patch Changes
@@ -90,11 +90,9 @@ var HeadingAnchor = /*#__PURE__*/function (_React$PureComponent) {
90
90
  tooltipMessage: _this.props.intl.formatMessage(message),
91
91
  isClicked: isClicked
92
92
  }, function () {
93
+ var _this$_tooltipUpdate, _this2;
93
94
  // Reposition tooltip after content change (replaces the key-based remount)
94
- if ((0, _isExperimentEnabled.isExperimentEnabled)('a11y-fixes-week4-may-2026')) {
95
- var _this$_tooltipUpdate, _this2;
96
- (_this$_tooltipUpdate = (_this2 = _this)._tooltipUpdate) === null || _this$_tooltipUpdate === void 0 || _this$_tooltipUpdate.call(_this2);
97
- }
95
+ (_this$_tooltipUpdate = (_this2 = _this)._tooltipUpdate) === null || _this$_tooltipUpdate === void 0 || _this$_tooltipUpdate.call(_this2);
98
96
  });
99
97
  });
100
98
  (0, _defineProperty2.default)(_this, "getCopyAriaLabel", function () {
@@ -196,30 +194,16 @@ var HeadingAnchor = /*#__PURE__*/function (_React$PureComponent) {
196
194
  value: function render() {
197
195
  var tooltipMessage = this.state.tooltipMessage;
198
196
  if (tooltipMessage) {
199
- if ((0, _isExperimentEnabled.isExperimentEnabled)('a11y-fixes-week4-may-2026')) {
200
- // Fix for A11Y-30972: Use content as a function with update callback so
201
- // the Tooltip repositions without unmounting (which caused focus loss).
202
- // @see https://hello.jira.atlassian.cloud/browse/A11Y-30972
203
- return (0, _react2.jsx)(_Tooltip.default, {
204
- tag: CopyAnchorWrapperWithRef,
205
- content: this.renderTooltipContent,
206
- position: "top",
207
- delay: 0,
208
- isScreenReaderAnnouncementDisabled: (0, _expValEquals.expValEquals)('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? true : false,
209
- hasNewContentOnTriggerClick: true
210
- }, this.renderAnchorButton());
211
- }
212
-
213
- // We set the key to the message to ensure it remounts when the message
214
- // changes, so that it correctly repositions.
215
- // @see https://ecosystem.atlassian.net/projects/AK/queues/issue/AK-6548
197
+ // Fix for A11Y-30972: Use content as a function with update callback so
198
+ // the Tooltip repositions without unmounting (which caused focus loss).
199
+ // @see https://hello.jira.atlassian.cloud/browse/A11Y-30972
216
200
  return (0, _react2.jsx)(_Tooltip.default, {
217
201
  tag: CopyAnchorWrapperWithRef,
218
- content: tooltipMessage,
202
+ content: this.renderTooltipContent,
219
203
  position: "top",
220
204
  delay: 0,
221
- key: tooltipMessage,
222
- isScreenReaderAnnouncementDisabled: (0, _expValEquals.expValEquals)('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? true : false
205
+ isScreenReaderAnnouncementDisabled: (0, _expValEquals.expValEquals)('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? true : false,
206
+ hasNewContentOnTriggerClick: true
223
207
  }, this.renderAnchorButton());
224
208
  }
225
209
  return this.renderAnchorButton();
@@ -2131,18 +2131,6 @@ var columnLayoutResponsiveRendererStyles = (0, _react.css)({
2131
2131
  gap: "var(--ds-space-400, 32px)"
2132
2132
  })
2133
2133
  });
2134
- var rendererAnnotationStylesOld = (0, _react.css)({
2135
- "& [data-mark-type='annotation'][data-mark-annotation-state='active'] [data-annotation-mark], & [data-annotation-draft-mark][data-annotation-inline-node]": {
2136
- background: "var(--ds-background-accent-yellow-subtler, #F5E989)",
2137
- borderBottom: "var(--ds-border-width-selected, 2px)".concat(" solid ", "var(--ds-border-accent-yellow, #B38600)"),
2138
- boxShadow: "var(--ds-shadow-overlay, 0px 8px 12px #1E1F2126, 0px 0px 1px #1E1F214f)",
2139
- cursor: 'pointer',
2140
- paddingTop: "var(--ds-space-050, 4px)",
2141
- paddingRight: "var(--ds-space-025, 2px)",
2142
- paddingBottom: "var(--ds-space-050, 4px)",
2143
- paddingLeft: "var(--ds-space-025, 2px)"
2144
- }
2145
- });
2146
2134
  var rendererAnnotationStyles = (0, _react.css)({
2147
2135
  "& [data-mark-type='annotation'][data-mark-annotation-state='active'] [data-annotation-mark]": {
2148
2136
  background: "var(--ds-background-accent-yellow-subtlest, #FEF7C8)",
@@ -2391,7 +2379,7 @@ var RendererStyleContainer = exports.RendererStyleContainer = function RendererS
2391
2379
  },
2392
2380
  css: [(0, _expValEquals.expValEquals)('confluence_ttvc_inline_extensions', 'isEnabled', true) ? baseFontStyle : originalBaseFontLineHeight, baseStyles, fontSizeStyles, (0, _expValEquals.expValEquals)('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? headingAnchorStyles : headingAnchorStylesDuplicateAnchor, headingAnchorButtonFocusVisibleStyles, (0, _expValEquals.expValEquals)('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? hideHeadingCopyLinkWrapperStyles : hideHeadingCopyLinkWrapperStylesDuplicateAnchor, appearance === 'full-page' && isPreviewPanelResponsivenessOn && rendererFullPageStylesWithReducedPadding, appearance === 'full-page' && !isPreviewPanelResponsivenessOn && rendererFullPageStyles, appearance === 'full-width' && ((0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_remove_important_in_render_ext') ? rendererFullWidthStyles : oldRendererFullWidthStyles), (appearance === 'full-width' || appearance === 'max') && !(0, _table2.isTableResizingEnabled)(appearance) && rendererFullWidthStylesForTableResizing, appearance === 'max' && ((0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_remove_important_in_render_ext') ? rendererMaxWidthStyles : oldRendererMaxWidthStyles), rovoTelepointerStyles, whitespaceSharedStyles, blockquoteSharedStyles, headingsSharedStyles, (0, _expValEquals.expValEquals)('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) && headingWrapperInlineFlowStyles, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_heading_link_target_size') && headingAnchorWrapperTargetSizeStyles, (0, _expValEquals.expValEquals)('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? headingWithAlignmentStyles : headingWithAlignmentStylesDuplicateAnchor, ruleSharedStyles, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_lovability_dividers_attributes') && ruleWithAttrsStyles, contentMode === 'compact' && extensionStyle, contentMode === 'compact' ? paragraphStylesUGCScaledMargin : paragraphSharedStylesWithEditorUGC, listsSharedStyles, browser.gecko && listsSharedStylesForGekko, listItemHiddenMarkerStyles, indentationSharedStyles, indentationSharedStylesWithMarginFix, (0, _expValEquals.expValEquals)('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? blockMarksSharedStyles : blockMarksSharedStylesDuplicateAnchor, codeMarkSharedStyles, shadowSharedStyle, dateSharedStyle, textColorStyles, backgroundColorStyles, !(0, _expValEquals.expValEquals)('platform_editor_lovability_text_bg_color', 'isEnabled', true) && highlightLinksUnsetStyles,
2393
2381
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
2394
- textHighlightPaddingStyles, tasksAndDecisionsStyles, (0, _expValEquals.expValEquals)('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) && headingPanelStyles, smartCardStyles, smartCardStylesAvatarFix, headerSmartCardStyles, smartCardStylesAvatarMarginFix, smartCardStylesAvatarListZeroMarginTop, (0, _fg.fg)('editor_inline_comments_on_inline_nodes') && ((0, _expValEquals.expValEquals)('confluence_fe_renderer_inline_node_mark_color_fix', 'isEnabled', true) ? rendererAnnotationStyles : rendererAnnotationStylesOld),
2382
+ textHighlightPaddingStyles, tasksAndDecisionsStyles, (0, _expValEquals.expValEquals)('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) && headingPanelStyles, smartCardStyles, smartCardStylesAvatarFix, headerSmartCardStyles, smartCardStylesAvatarMarginFix, smartCardStylesAvatarListZeroMarginTop, (0, _fg.fg)('editor_inline_comments_on_inline_nodes') && rendererAnnotationStyles,
2395
2383
  // eslint-disable-next-line @atlaskit/platform/no-preconditioning
2396
2384
  (0, _fg.fg)('editor_inline_comments_on_inline_nodes') && rendererAnnotationStylesCommentHeightFix, (0, _expValEquals.expValEquals)('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? baseOtherStyles : baseOtherStylesDuplicateAnchor, expandSsrMarginStyles,
2397
2385
  // this should be placed after baseOtherStyles
@@ -80,7 +80,7 @@ var DEGRADED_SEVERITY_THRESHOLD = exports.DEGRADED_SEVERITY_THRESHOLD = 3000;
80
80
  var TABLE_INFO_TIMEOUT = 10000;
81
81
  var RENDER_EVENT_SAMPLE_RATE = 0.1;
82
82
  var packageName = "@atlaskit/renderer";
83
- var packageVersion = "153.2.0";
83
+ var packageVersion = "153.2.2";
84
84
  var setAsQueryContainerStyles = (0, _react2.css)({
85
85
  containerName: 'ak-renderer-wrapper',
86
86
  containerType: 'inline-size'
@@ -74,11 +74,9 @@ class HeadingAnchor extends React.PureComponent {
74
74
  tooltipMessage: this.props.intl.formatMessage(message),
75
75
  isClicked
76
76
  }, () => {
77
+ var _this$_tooltipUpdate;
77
78
  // Reposition tooltip after content change (replaces the key-based remount)
78
- if (isExperimentEnabled('a11y-fixes-week4-may-2026')) {
79
- var _this$_tooltipUpdate;
80
- (_this$_tooltipUpdate = this._tooltipUpdate) === null || _this$_tooltipUpdate === void 0 ? void 0 : _this$_tooltipUpdate.call(this);
81
- }
79
+ (_this$_tooltipUpdate = this._tooltipUpdate) === null || _this$_tooltipUpdate === void 0 ? void 0 : _this$_tooltipUpdate.call(this);
82
80
  });
83
81
  });
84
82
  _defineProperty(this, "getCopyAriaLabel", () => {
@@ -162,30 +160,16 @@ class HeadingAnchor extends React.PureComponent {
162
160
  tooltipMessage
163
161
  } = this.state;
164
162
  if (tooltipMessage) {
165
- if (isExperimentEnabled('a11y-fixes-week4-may-2026')) {
166
- // Fix for A11Y-30972: Use content as a function with update callback so
167
- // the Tooltip repositions without unmounting (which caused focus loss).
168
- // @see https://hello.jira.atlassian.cloud/browse/A11Y-30972
169
- return jsx(Tooltip, {
170
- tag: CopyAnchorWrapperWithRef,
171
- content: this.renderTooltipContent,
172
- position: "top",
173
- delay: 0,
174
- isScreenReaderAnnouncementDisabled: expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? true : false,
175
- hasNewContentOnTriggerClick: true
176
- }, this.renderAnchorButton());
177
- }
178
-
179
- // We set the key to the message to ensure it remounts when the message
180
- // changes, so that it correctly repositions.
181
- // @see https://ecosystem.atlassian.net/projects/AK/queues/issue/AK-6548
163
+ // Fix for A11Y-30972: Use content as a function with update callback so
164
+ // the Tooltip repositions without unmounting (which caused focus loss).
165
+ // @see https://hello.jira.atlassian.cloud/browse/A11Y-30972
182
166
  return jsx(Tooltip, {
183
167
  tag: CopyAnchorWrapperWithRef,
184
- content: tooltipMessage,
168
+ content: this.renderTooltipContent,
185
169
  position: "top",
186
170
  delay: 0,
187
- key: tooltipMessage,
188
- isScreenReaderAnnouncementDisabled: expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? true : false
171
+ isScreenReaderAnnouncementDisabled: expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? true : false,
172
+ hasNewContentOnTriggerClick: true
189
173
  }, this.renderAnchorButton());
190
174
  }
191
175
  return this.renderAnchorButton();
@@ -2700,18 +2700,6 @@ const columnLayoutResponsiveRendererStyles = css({
2700
2700
  }
2701
2701
  }
2702
2702
  });
2703
- const rendererAnnotationStylesOld = css({
2704
- "& [data-mark-type='annotation'][data-mark-annotation-state='active'] [data-annotation-mark], & [data-annotation-draft-mark][data-annotation-inline-node]": {
2705
- background: "var(--ds-background-accent-yellow-subtler, #F5E989)",
2706
- borderBottom: `${"var(--ds-border-width-selected, 2px)"} solid ${"var(--ds-border-accent-yellow, #B38600)"}`,
2707
- boxShadow: "var(--ds-shadow-overlay, 0px 8px 12px #1E1F2126, 0px 0px 1px #1E1F214f)",
2708
- cursor: 'pointer',
2709
- paddingTop: "var(--ds-space-050, 4px)",
2710
- paddingRight: "var(--ds-space-025, 2px)",
2711
- paddingBottom: "var(--ds-space-050, 4px)",
2712
- paddingLeft: "var(--ds-space-025, 2px)"
2713
- }
2714
- });
2715
2703
  const rendererAnnotationStyles = css({
2716
2704
  "& [data-mark-type='annotation'][data-mark-annotation-state='active'] [data-annotation-mark]": {
2717
2705
  background: "var(--ds-background-accent-yellow-subtlest, #FEF7C8)",
@@ -3020,7 +3008,7 @@ export const RendererStyleContainer = props => {
3020
3008
  },
3021
3009
  css: [expValEquals('confluence_ttvc_inline_extensions', 'isEnabled', true) ? baseFontStyle : originalBaseFontLineHeight, baseStyles, fontSizeStyles, expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? headingAnchorStyles : headingAnchorStylesDuplicateAnchor, headingAnchorButtonFocusVisibleStyles, expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? hideHeadingCopyLinkWrapperStyles : hideHeadingCopyLinkWrapperStylesDuplicateAnchor, appearance === 'full-page' && isPreviewPanelResponsivenessOn && rendererFullPageStylesWithReducedPadding, appearance === 'full-page' && !isPreviewPanelResponsivenessOn && rendererFullPageStyles, appearance === 'full-width' && (isExperimentEnabled('platform_editor_remove_important_in_render_ext') ? rendererFullWidthStyles : oldRendererFullWidthStyles), (appearance === 'full-width' || appearance === 'max') && !isTableResizingEnabled(appearance) && rendererFullWidthStylesForTableResizing, appearance === 'max' && (isExperimentEnabled('platform_editor_remove_important_in_render_ext') ? rendererMaxWidthStyles : oldRendererMaxWidthStyles), rovoTelepointerStyles, whitespaceSharedStyles, blockquoteSharedStyles, headingsSharedStyles, expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) && headingWrapperInlineFlowStyles, isExperimentEnabled('platform_editor_heading_link_target_size') && headingAnchorWrapperTargetSizeStyles, expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? headingWithAlignmentStyles : headingWithAlignmentStylesDuplicateAnchor, ruleSharedStyles, isExperimentEnabled('platform_editor_lovability_dividers_attributes') && ruleWithAttrsStyles, contentMode === 'compact' && extensionStyle, contentMode === 'compact' ? paragraphStylesUGCScaledMargin : paragraphSharedStylesWithEditorUGC, listsSharedStyles, browser.gecko && listsSharedStylesForGekko, listItemHiddenMarkerStyles, indentationSharedStyles, indentationSharedStylesWithMarginFix, expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? blockMarksSharedStyles : blockMarksSharedStylesDuplicateAnchor, codeMarkSharedStyles, shadowSharedStyle, dateSharedStyle, textColorStyles, backgroundColorStyles, !expValEquals('platform_editor_lovability_text_bg_color', 'isEnabled', true) && highlightLinksUnsetStyles,
3022
3010
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
3023
- textHighlightPaddingStyles, tasksAndDecisionsStyles, expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) && headingPanelStyles, smartCardStyles, smartCardStylesAvatarFix, headerSmartCardStyles, smartCardStylesAvatarMarginFix, smartCardStylesAvatarListZeroMarginTop, fg('editor_inline_comments_on_inline_nodes') && (expValEquals('confluence_fe_renderer_inline_node_mark_color_fix', 'isEnabled', true) ? rendererAnnotationStyles : rendererAnnotationStylesOld),
3011
+ textHighlightPaddingStyles, tasksAndDecisionsStyles, expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) && headingPanelStyles, smartCardStyles, smartCardStylesAvatarFix, headerSmartCardStyles, smartCardStylesAvatarMarginFix, smartCardStylesAvatarListZeroMarginTop, fg('editor_inline_comments_on_inline_nodes') && rendererAnnotationStyles,
3024
3012
  // eslint-disable-next-line @atlaskit/platform/no-preconditioning
3025
3013
  fg('editor_inline_comments_on_inline_nodes') && rendererAnnotationStylesCommentHeightFix, expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? baseOtherStyles : baseOtherStylesDuplicateAnchor, expandSsrMarginStyles,
3026
3014
  // this should be placed after baseOtherStyles
@@ -65,7 +65,7 @@ export const DEGRADED_SEVERITY_THRESHOLD = 3000;
65
65
  const TABLE_INFO_TIMEOUT = 10000;
66
66
  const RENDER_EVENT_SAMPLE_RATE = 0.1;
67
67
  const packageName = "@atlaskit/renderer";
68
- const packageVersion = "153.2.0";
68
+ const packageVersion = "153.2.2";
69
69
  const setAsQueryContainerStyles = css({
70
70
  containerName: 'ak-renderer-wrapper',
71
71
  containerType: 'inline-size'
@@ -85,11 +85,9 @@ var HeadingAnchor = /*#__PURE__*/function (_React$PureComponent) {
85
85
  tooltipMessage: _this.props.intl.formatMessage(message),
86
86
  isClicked: isClicked
87
87
  }, function () {
88
+ var _this$_tooltipUpdate, _this2;
88
89
  // Reposition tooltip after content change (replaces the key-based remount)
89
- if (isExperimentEnabled('a11y-fixes-week4-may-2026')) {
90
- var _this$_tooltipUpdate, _this2;
91
- (_this$_tooltipUpdate = (_this2 = _this)._tooltipUpdate) === null || _this$_tooltipUpdate === void 0 || _this$_tooltipUpdate.call(_this2);
92
- }
90
+ (_this$_tooltipUpdate = (_this2 = _this)._tooltipUpdate) === null || _this$_tooltipUpdate === void 0 || _this$_tooltipUpdate.call(_this2);
93
91
  });
94
92
  });
95
93
  _defineProperty(_this, "getCopyAriaLabel", function () {
@@ -191,30 +189,16 @@ var HeadingAnchor = /*#__PURE__*/function (_React$PureComponent) {
191
189
  value: function render() {
192
190
  var tooltipMessage = this.state.tooltipMessage;
193
191
  if (tooltipMessage) {
194
- if (isExperimentEnabled('a11y-fixes-week4-may-2026')) {
195
- // Fix for A11Y-30972: Use content as a function with update callback so
196
- // the Tooltip repositions without unmounting (which caused focus loss).
197
- // @see https://hello.jira.atlassian.cloud/browse/A11Y-30972
198
- return jsx(Tooltip, {
199
- tag: CopyAnchorWrapperWithRef,
200
- content: this.renderTooltipContent,
201
- position: "top",
202
- delay: 0,
203
- isScreenReaderAnnouncementDisabled: expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? true : false,
204
- hasNewContentOnTriggerClick: true
205
- }, this.renderAnchorButton());
206
- }
207
-
208
- // We set the key to the message to ensure it remounts when the message
209
- // changes, so that it correctly repositions.
210
- // @see https://ecosystem.atlassian.net/projects/AK/queues/issue/AK-6548
192
+ // Fix for A11Y-30972: Use content as a function with update callback so
193
+ // the Tooltip repositions without unmounting (which caused focus loss).
194
+ // @see https://hello.jira.atlassian.cloud/browse/A11Y-30972
211
195
  return jsx(Tooltip, {
212
196
  tag: CopyAnchorWrapperWithRef,
213
- content: tooltipMessage,
197
+ content: this.renderTooltipContent,
214
198
  position: "top",
215
199
  delay: 0,
216
- key: tooltipMessage,
217
- isScreenReaderAnnouncementDisabled: expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? true : false
200
+ isScreenReaderAnnouncementDisabled: expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? true : false,
201
+ hasNewContentOnTriggerClick: true
218
202
  }, this.renderAnchorButton());
219
203
  }
220
204
  return this.renderAnchorButton();
@@ -2124,18 +2124,6 @@ var columnLayoutResponsiveRendererStyles = css({
2124
2124
  gap: "var(--ds-space-400, 32px)"
2125
2125
  })
2126
2126
  });
2127
- var rendererAnnotationStylesOld = css({
2128
- "& [data-mark-type='annotation'][data-mark-annotation-state='active'] [data-annotation-mark], & [data-annotation-draft-mark][data-annotation-inline-node]": {
2129
- background: "var(--ds-background-accent-yellow-subtler, #F5E989)",
2130
- borderBottom: "var(--ds-border-width-selected, 2px)".concat(" solid ", "var(--ds-border-accent-yellow, #B38600)"),
2131
- boxShadow: "var(--ds-shadow-overlay, 0px 8px 12px #1E1F2126, 0px 0px 1px #1E1F214f)",
2132
- cursor: 'pointer',
2133
- paddingTop: "var(--ds-space-050, 4px)",
2134
- paddingRight: "var(--ds-space-025, 2px)",
2135
- paddingBottom: "var(--ds-space-050, 4px)",
2136
- paddingLeft: "var(--ds-space-025, 2px)"
2137
- }
2138
- });
2139
2127
  var rendererAnnotationStyles = css({
2140
2128
  "& [data-mark-type='annotation'][data-mark-annotation-state='active'] [data-annotation-mark]": {
2141
2129
  background: "var(--ds-background-accent-yellow-subtlest, #FEF7C8)",
@@ -2384,7 +2372,7 @@ export var RendererStyleContainer = function RendererStyleContainer(props) {
2384
2372
  },
2385
2373
  css: [expValEquals('confluence_ttvc_inline_extensions', 'isEnabled', true) ? baseFontStyle : originalBaseFontLineHeight, baseStyles, fontSizeStyles, expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? headingAnchorStyles : headingAnchorStylesDuplicateAnchor, headingAnchorButtonFocusVisibleStyles, expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? hideHeadingCopyLinkWrapperStyles : hideHeadingCopyLinkWrapperStylesDuplicateAnchor, appearance === 'full-page' && isPreviewPanelResponsivenessOn && rendererFullPageStylesWithReducedPadding, appearance === 'full-page' && !isPreviewPanelResponsivenessOn && rendererFullPageStyles, appearance === 'full-width' && (isExperimentEnabled('platform_editor_remove_important_in_render_ext') ? rendererFullWidthStyles : oldRendererFullWidthStyles), (appearance === 'full-width' || appearance === 'max') && !isTableResizingEnabled(appearance) && rendererFullWidthStylesForTableResizing, appearance === 'max' && (isExperimentEnabled('platform_editor_remove_important_in_render_ext') ? rendererMaxWidthStyles : oldRendererMaxWidthStyles), rovoTelepointerStyles, whitespaceSharedStyles, blockquoteSharedStyles, headingsSharedStyles, expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) && headingWrapperInlineFlowStyles, isExperimentEnabled('platform_editor_heading_link_target_size') && headingAnchorWrapperTargetSizeStyles, expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? headingWithAlignmentStyles : headingWithAlignmentStylesDuplicateAnchor, ruleSharedStyles, isExperimentEnabled('platform_editor_lovability_dividers_attributes') && ruleWithAttrsStyles, contentMode === 'compact' && extensionStyle, contentMode === 'compact' ? paragraphStylesUGCScaledMargin : paragraphSharedStylesWithEditorUGC, listsSharedStyles, browser.gecko && listsSharedStylesForGekko, listItemHiddenMarkerStyles, indentationSharedStyles, indentationSharedStylesWithMarginFix, expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? blockMarksSharedStyles : blockMarksSharedStylesDuplicateAnchor, codeMarkSharedStyles, shadowSharedStyle, dateSharedStyle, textColorStyles, backgroundColorStyles, !expValEquals('platform_editor_lovability_text_bg_color', 'isEnabled', true) && highlightLinksUnsetStyles,
2386
2374
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
2387
- textHighlightPaddingStyles, tasksAndDecisionsStyles, expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) && headingPanelStyles, smartCardStyles, smartCardStylesAvatarFix, headerSmartCardStyles, smartCardStylesAvatarMarginFix, smartCardStylesAvatarListZeroMarginTop, fg('editor_inline_comments_on_inline_nodes') && (expValEquals('confluence_fe_renderer_inline_node_mark_color_fix', 'isEnabled', true) ? rendererAnnotationStyles : rendererAnnotationStylesOld),
2375
+ textHighlightPaddingStyles, tasksAndDecisionsStyles, expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) && headingPanelStyles, smartCardStyles, smartCardStylesAvatarFix, headerSmartCardStyles, smartCardStylesAvatarMarginFix, smartCardStylesAvatarListZeroMarginTop, fg('editor_inline_comments_on_inline_nodes') && rendererAnnotationStyles,
2388
2376
  // eslint-disable-next-line @atlaskit/platform/no-preconditioning
2389
2377
  fg('editor_inline_comments_on_inline_nodes') && rendererAnnotationStylesCommentHeightFix, expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? baseOtherStyles : baseOtherStylesDuplicateAnchor, expandSsrMarginStyles,
2390
2378
  // this should be placed after baseOtherStyles
@@ -70,7 +70,7 @@ export var DEGRADED_SEVERITY_THRESHOLD = 3000;
70
70
  var TABLE_INFO_TIMEOUT = 10000;
71
71
  var RENDER_EVENT_SAMPLE_RATE = 0.1;
72
72
  var packageName = "@atlaskit/renderer";
73
- var packageVersion = "153.2.0";
73
+ var packageVersion = "153.2.2";
74
74
  var setAsQueryContainerStyles = css({
75
75
  containerName: 'ak-renderer-wrapper',
76
76
  containerType: 'inline-size'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "153.2.1",
3
+ "version": "153.2.3",
4
4
  "description": "Renderer component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -71,7 +71,7 @@
71
71
  "@atlaskit/smart-card": "^46.11.0",
72
72
  "@atlaskit/status": "^5.15.0",
73
73
  "@atlaskit/task-decision": "^21.14.0",
74
- "@atlaskit/tmp-editor-statsig": "^248.1.0",
74
+ "@atlaskit/tmp-editor-statsig": "^249.0.0",
75
75
  "@atlaskit/tokens": "^20.8.0",
76
76
  "@atlaskit/tooltip": "^24.4.0",
77
77
  "@atlaskit/visually-hidden": "^4.4.0",
@@ -110,7 +110,7 @@
110
110
  "@atlaskit/media-state": "^4.0.0",
111
111
  "@atlaskit/media-test-helpers": "^43.0.0",
112
112
  "@atlaskit/mention": "^30.7.0",
113
- "@atlaskit/modal-dialog": "^17.1.0",
113
+ "@atlaskit/modal-dialog": "^17.2.0",
114
114
  "@atlaskit/navigation-system": "^11.4.0",
115
115
  "@atlaskit/primitives": "^22.6.0",
116
116
  "@atlaskit/profilecard": "^27.4.0",