@atlaskit/editor-core 230.0.0 → 231.0.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,22 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 231.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`0095a83701e66`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0095a83701e66) -
8
+ Clean up the shipped `platform_editor_a11y_scrollable_region` experiment. The inline code mark
9
+ accessibility fix (`overflow: unset` on `.code`) is now permanently on, so the conditional style
10
+ and the experiment registration have been removed. No behaviour change for users already in the
11
+ treatment cohort.
12
+ - Updated dependencies
13
+
14
+ ## 231.0.0
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies
19
+
3
20
  ## 230.0.0
4
21
 
5
22
  ### Patch Changes
@@ -20,8 +20,7 @@
20
20
  .cc-1na1fzg .ProseMirror h1{font:var(--editor-font-ugc-token-heading-h1);margin-bottom:0;margin-top:1.45833em}.cc-1na1fzg .ProseMirror h1 strong{font-weight:var(--editor-font-ugc-token-weight-heading-bold)}.cc-1na1fzg .ProseMirror h2{font:var(--editor-font-ugc-token-heading-h2);margin-bottom:0;margin-top:1.4em}.cc-1na1fzg .ProseMirror h2 strong{font-weight:var(--editor-font-ugc-token-weight-heading-bold)}.cc-1na1fzg .ProseMirror h3{font:var(--editor-font-ugc-token-heading-h3);margin-bottom:0;margin-top:1.31249em}.cc-1na1fzg .ProseMirror h3 strong{font-weight:var(--editor-font-ugc-token-weight-heading-bold)}.cc-1na1fzg .ProseMirror h4{font:var(--editor-font-ugc-token-heading-h4);margin-top:1.25em}.cc-1na1fzg .ProseMirror h4 strong{font-weight:var(--editor-font-ugc-token-weight-heading-bold)}.cc-1na1fzg .ProseMirror h5{font:var(--editor-font-ugc-token-heading-h5);margin-top:1.45833em;text-transform:none}.cc-1na1fzg .ProseMirror h5 strong{font-weight:var(--editor-font-ugc-token-weight-heading-bold)}.cc-1na1fzg .ProseMirror h6{font:var(--editor-font-ugc-token-heading-h6);margin-top:1.59091em;text-transform:none}.cc-1na1fzg .ProseMirror h6 strong{font-weight:var(--editor-font-ugc-token-weight-heading-bold)}
21
21
  .cc-1l6yvlg .ProseMirror .code-content--wrapped>.code-block-content-wrapper>.code-content{margin-right:var(--ds-space-100,8px)}.cc-1l6yvlg .ProseMirror .code-content--wrapped>.code-block-content-wrapper>.code-content code{display:block;word-break:break-word;white-space:pre-wrap}.cc-1l6yvlg .ProseMirror .code-block-content-wrapper>.code-content{display:flex;flex-grow:1;flex-shrink:1;flex-basis:0%}.cc-1l6yvlg .ProseMirror .code-block-content-wrapper>.code-content code{flex-grow:1;white-space:pre}.cc-1l6yvlg .ProseMirror .code-block{position:relative;background-color:var(--ds-surface-raised,#fff);border-radius:var(--ds-radius-small,3px);margin-top:.75rem;margin-right:0;margin-bottom:0;margin-left:0;font-family:var(--ds-font-family-code,"Atlassian Mono",ui-monospace,Menlo,"Segoe UI Mono","Ubuntu Mono",monospace);min-width:3pc;cursor:pointer;clear:both;white-space:normal}.cc-1l6yvlg .ProseMirror .code-block .code-block-gutter-pseudo-element:before{content:attr(data-label)}.cc-1l6yvlg .ProseMirror .code-block .code-block--start{position:absolute;visibility:hidden;height:1.5rem;top:0;left:0}.cc-1l6yvlg .ProseMirror .code-block .code-block--end{position:absolute;visibility:hidden;height:1.5rem;bottom:0;right:0}.cc-1l6yvlg .ProseMirror .code-block .code-block-content-wrapper{background-image:linear-gradient(to right,var(--ds-background-neutral,#0515240f) var(--ds-space-300,24px),transparent var(--ds-space-300,24px)),linear-gradient(to right,var(--ds-surface-raised,#fff) var(--ds-space-300,24px),transparent var(--ds-space-300,24px)),linear-gradient(to left,var(--ds-background-neutral,#0515240f) var(--ds-space-100,8px),transparent var(--ds-space-100,8px)),linear-gradient(to left,var(--ds-surface-raised,#fff) var(--ds-space-100,8px),transparent var(--ds-space-100,8px)),linear-gradient(to left,var(--ds-shadow-overflow-spread,#1e1f2129) 0,var(--ds-UNSAFE-transparent,transparent) var(--ds-space-100,8px)),linear-gradient(to left,var(--ds-shadow-overflow-perimeter,#1e1f211f) 0,var(--ds-UNSAFE-transparent,transparent) var(--ds-space-100,8px)),linear-gradient(to right,var(--ds-shadow-overflow-spread,#1e1f2129) 0,var(--ds-UNSAFE-transparent,transparent) var(--ds-space-100,8px)),linear-gradient(to right,var(--ds-shadow-overflow-perimeter,#1e1f211f) 0,var(--ds-UNSAFE-transparent,transparent) var(--ds-space-100,8px));position:relative;background-color:var(--ds-background-neutral,#0515240f);display:flex;border-radius:var(--ds-radius-small,3px);width:100%;counter-reset:line;overflow-x:auto;background-repeat:no-repeat;background-attachment:local,local,local,local,scroll,scroll,scroll,scroll;background-size:var(--ds-space-300,24px) 100%,var(--ds-space-300,24px) 100%,var(--ds-space-100,8px) 100%,var(--ds-space-100,8px) 100%,var(--ds-space-100,8px) 100%,1px 100%,var(--ds-space-100,8px) 100%,1px 100%;background-position:0 0,0 0,100% 0,100% 0,100% 0,100% 0,0 0,0 0;overflow-y:hidden}.cc-1l6yvlg .ProseMirror .code-block .line-number-gutter{background-color:var(--ds-background-neutral,#0515240f);position:relative;width:var(--lineNumberGutterWidth,2rem);padding:var(--ds-space-100,8px);flex-shrink:0;font-size:.875rem;box-sizing:content-box}.cc-1l6yvlg .ProseMirror .code-block .line-number-gutter:before{content:"1";visibility:hidden;font-size:.875rem;line-height:1.5rem}.cc-1l6yvlg .ProseMirror .code-block .code-content code{tab-size:4;cursor:text;color:var(--ds-text,#292a2e);border-radius:var(--ds-radius-small,3px);margin:var(--ds-space-100,8px);font-size:.875rem;line-height:1.5rem}.cc-1l6yvlg .ProseMirror .code-block .code-content__line-number--wrapped{pointer-events:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;width:var(--lineNumberGutterWidth,2rem);left:0;position:absolute;font-size:.875rem;padding:0 var(--ds-space-100,8px);line-height:1.5rem;text-align:right;color:var(--ds-text-subtlest,#6b6e76);box-sizing:content-box}.cc-1l6yvlg .ProseMirror li>.code-block{margin-top:.75rem;margin-right:0;margin-bottom:0;margin-left:0}.cc-1l6yvlg .ProseMirror li>.ProseMirror-gapcursor:first-child+.code-block, .cc-1l6yvlg .ProseMirror li>.code-block:first-child{margin-top:0}.cc-1l6yvlg .ProseMirror li>div:last-of-type.code-block, .cc-1l6yvlg .ProseMirror li>pre:last-of-type.code-block{margin-bottom:.75rem}.cc-1l6yvlg .ProseMirror .code-block.ak-editor-selected-node:not(.danger){box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent;position:relative;-webkit-user-select:text}.cc-1l6yvlg .ProseMirror .code-block.ak-editor-selected-node:not(.danger):before{position:absolute;content:"";left:0;right:0;top:0;bottom:0;width:100%;pointer-events:none;z-index:12;background-color:var(--ds-blanket-selected,#388bff14)}.cc-1l6yvlg .ProseMirror .code-block.ak-editor-selected-node:not(.danger) ::selection, .cc-1l6yvlg .ProseMirror .code-block.ak-editor-selected-node:not(.danger)::selection{background-color:transparent}.cc-1l6yvlg .ProseMirror .code-block.ak-editor-selected-node:not(.danger) ::-moz-selection, .cc-1l6yvlg .ProseMirror .code-block.ak-editor-selected-node:not(.danger)::-moz-selection{background-color:transparent}.cc-1l6yvlg .ProseMirror .danger.code-block{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)}.cc-1l6yvlg .ProseMirror .danger.code-block .line-number-gutter{background-color:var(--ds-background-danger,#ffeceb);color:var(--ds-text-danger,#ae2e24)}.cc-1l6yvlg .ProseMirror .danger.code-block .line-number-gutter:after{height:100%;content:"";position:absolute;left:0;top:0;width:24px;background-color:var(--ds-blanket-danger,#ef5c4814)}.cc-1l6yvlg .ProseMirror .danger.code-block .code-content{background-color:var(--ds-blanket-danger,#ef5c4814)}.cc-1l6yvlg .ProseMirror .danger .code-block .line-number-gutter{background-color:var(--ds-background-danger,#ffeceb);color:var(--ds-text-danger,#ae2e24)}.cc-1l6yvlg .ProseMirror .danger .code-block .line-number-gutter:after{height:100%;content:"";position:absolute;left:0;top:0;width:24px;background-color:var(--ds-blanket-danger,#ef5c4814)}.cc-1l6yvlg .ProseMirror .danger .code-block .code-content{background-color:var(--ds-blanket-danger,#ef5c4814)}
22
22
  .cc-1agwr6s .ProseMirror .code-block .code-block-gutter-pseudo-element:before{display:flow;line-height:1.5em}.cc-1agwr6s .ProseMirror .code-block .code-content code{font-size:.875em;line-height:1.5em}
23
- .cc-9o9ss2 .code{--ds--code--bg-color:var(--ds-background-neutral,#0515240f);display:inline;padding-top:2px;padding-right:.5ch;padding-bottom:2px;padding-left:.5ch;background-color:var(--ds--code--bg-color,var(--ds-background-neutral,#0515240f));border-radius:var(--ds-radius-small,3px);border-style:none;-webkit-box-decoration-break:clone;box-decoration-break:clone;color:var(--ds-text,#292a2e);font-family:var(--ds-font-family-code,"Atlassian Mono",ui-monospace,Menlo,"Segoe UI Mono","Ubuntu Mono",monospace);font-size:.875em;font-weight:var(--ds-font-weight-regular,400);overflow-x:auto;overflow-y:auto;overflow-wrap:break-word;white-space:pre-wrap}
24
- .cc-db0kku .code{overflow-x:unset;overflow-y:unset}
23
+ .cc-9o9ss2 .code{--ds--code--bg-color:var(--ds-background-neutral,#0515240f);display:inline;padding-top:2px;padding-right:.5ch;padding-bottom:2px;padding-left:.5ch;background-color:var(--ds--code--bg-color,var(--ds-background-neutral,#0515240f));border-radius:var(--ds-radius-small,3px);border-style:none;-webkit-box-decoration-break:clone;box-decoration-break:clone;color:var(--ds-text,#292a2e);font-family:var(--ds-font-family-code,"Atlassian Mono",ui-monospace,Menlo,"Segoe UI Mono","Ubuntu Mono",monospace);font-size:.875em;font-weight:var(--ds-font-weight-regular,400);overflow-x:unset;overflow-y:unset;overflow-wrap:break-word;white-space:pre-wrap}
25
24
  .cc-pk1css{flex-grow:1}.cc-pk1css{overflow-x:clip}.cc-pk1css{line-height:24px}.cc-pk1css .ProseMirror{margin-top:var(--ds-space-150,9pt);margin-right:var(--ds-space-150,9pt);margin-bottom:var(--ds-space-150,9pt);margin-left:var(--ds-space-150,9pt)}.cc-pk1css .gridParent{margin-left:var(--ds-space-025,2px);margin-right:var(--ds-space-025,2px);width:calc(100% + 2px)}.cc-pk1css{padding-top:var(--ds-space-250,20px)}.cc-pk1css{padding-right:var(--ds-space-250,20px)}.cc-pk1css{padding-bottom:var(--ds-space-250,20px)}.cc-pk1css{padding-left:var(--ds-space-250,20px)}
26
25
  .cc-fsbph9{container-type:inline-size}
27
26
  .cc-1wz6obl .ProseMirror.ProseMirror-focused:has(.ProseMirror-mark-boundary-cursor){caret-color:transparent}.cc-1wz6obl .ProseMirror:not(.ProseMirror-focused) .ProseMirror-mark-boundary-cursor{display:none}.cc-1wz6obl .ProseMirror:has(.ProseMirror-hide-cursor){caret-color:transparent}
@@ -185,7 +185,6 @@ var editorContentStyles = {
185
185
  codeBlockStyles: "cc-1l6yvlg",
186
186
  codeBlockStylesWithEmUnits: "cc-1agwr6s",
187
187
  codeMarkStyles: "cc-9o9ss2",
188
- codeMarkStylesA11yFix: "cc-db0kku",
189
188
  commentEditorStyles: "cc-pk1css",
190
189
  nonFullPageContainerTypeStyles: "cc-fsbph9",
191
190
  cursorStyles: "cc-1wz6obl",
@@ -421,7 +420,7 @@ var EditorContentContainerCompiled = exports.EditorContentContainerCompiled = /*
421
420
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
422
421
  className: (0, _runtime.ax)([editorContentStyles.baseStyles, editorContentStyles.maxModeReizeFixStyles, editorContentStyles.baseStylesMaxContainerWidthFixes, editorContentStyles.editorGutterPaddingBaseStyles, (0, _editorExperiment.editorExperiment)('platform_editor_preview_panel_responsiveness', true, {
423
422
  exposure: true
424
- }) && editorContentStyles.editorLargeGutterPuddingReducedBaseStyles, editorContentStyles.whitespaceStyles, editorContentStyles.indentationStyles, editorContentStyles.fontSizeStyles, editorContentStyles.shadowStyles, editorContentStyles.InlineNodeViewSharedStyles, editorContentStyles.hideSelectionStyles, editorContentStyles.hideCursorWhenHideSelectionStyles, editorContentStyles.selectedNodeStyles, editorContentStyles.cursorStyles, editorContentStyles.firstFloatingToolbarButtonStyles, editorContentStyles.placeholderTextStyles, editorContentStyles.placeholderStyles, (0, _editorExperiment.editorExperiment)('platform_editor_controls', 'variant1') && editorContentStyles.placeholderOverflowStyles, editorContentStyles.codeBlockStyles, contentMode === 'compact' && editorContentStyles.codeBlockStylesWithEmUnits, editorContentStyles.editorUGCTokensRefreshed, editorContentStyles.editorUGCSmallText, editorContentStyles.blocktypeStyles, editorContentStyles.blocktypeStylesRtlBlockquote, isFloatingTocEnabled && editorContentStyles.headingScrollMarginStyles, editorContentStyles.blockquoteSelectedNodeStyles, editorContentStyles.listSelectedNodeStyles, editorContentStyles.textSelectedNodeStyles, editorContentStyles.blocktypeStyles_fg_platform_editor_typography_ugc, editorContentStyles.blocktypeStylesNestedDnd, editorContentStyles.codeMarkStyles, (0, _expValEquals.expValEquals)('platform_editor_a11y_scrollable_region', 'isEnabled', true) && editorContentStyles.codeMarkStylesA11yFix, editorContentStyles.textColorStyles, editorContentStyles.backgroundColorStyles, !(0, _expValEquals.expValEquals)('platform_editor_lovability_text_bg_color', 'isEnabled', true) && editorContentStyles.highlightLinksUnsetStyles, editorContentStyles.textHighlightPaddingStyles, editorContentStyles.listsStyles, editorContentStyles.listItemHiddenMarkerStyles, editorContentStyles.diffListStyles, contentMode === 'compact' && isDense && editorContentStyles.listsDenseStyles, isFullPage && editorContentStyles.listsStylesMarginLayoutShiftFix, editorContentStyles.ruleStyles, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_lovability_dividers_attributes') && editorContentStyles.ruleWithAttrsStyles, editorContentStyles.smartCardDiffStyles, (0, _expValEquals.expValEquals)('platform_editor_enghealth_a11y_jan_fixes', 'isEnabled', true) ? editorContentStyles.showDiffDeletedNodeStylesNew : editorContentStyles.showDiffDeletedNodeStyles, editorContentStyles.mediaStyles, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_vanilla_node_views_phase1') && editorContentStyles.vanillaCaptionStyles, contentMode === 'compact' && editorContentStyles.mediaCaptionStyles, editorContentStyles.firstWrappedMediaStyles, editorContentStyles.telepointerStyle, /* This needs to be after telepointer styles as some overlapping rules have equal specificity, and so the order is significant */
423
+ }) && editorContentStyles.editorLargeGutterPuddingReducedBaseStyles, editorContentStyles.whitespaceStyles, editorContentStyles.indentationStyles, editorContentStyles.fontSizeStyles, editorContentStyles.shadowStyles, editorContentStyles.InlineNodeViewSharedStyles, editorContentStyles.hideSelectionStyles, editorContentStyles.hideCursorWhenHideSelectionStyles, editorContentStyles.selectedNodeStyles, editorContentStyles.cursorStyles, editorContentStyles.firstFloatingToolbarButtonStyles, editorContentStyles.placeholderTextStyles, editorContentStyles.placeholderStyles, (0, _editorExperiment.editorExperiment)('platform_editor_controls', 'variant1') && editorContentStyles.placeholderOverflowStyles, editorContentStyles.codeBlockStyles, contentMode === 'compact' && editorContentStyles.codeBlockStylesWithEmUnits, editorContentStyles.editorUGCTokensRefreshed, editorContentStyles.editorUGCSmallText, editorContentStyles.blocktypeStyles, editorContentStyles.blocktypeStylesRtlBlockquote, isFloatingTocEnabled && editorContentStyles.headingScrollMarginStyles, editorContentStyles.blockquoteSelectedNodeStyles, editorContentStyles.listSelectedNodeStyles, editorContentStyles.textSelectedNodeStyles, editorContentStyles.blocktypeStyles_fg_platform_editor_typography_ugc, editorContentStyles.blocktypeStylesNestedDnd, editorContentStyles.codeMarkStyles, editorContentStyles.textColorStyles, editorContentStyles.backgroundColorStyles, !(0, _expValEquals.expValEquals)('platform_editor_lovability_text_bg_color', 'isEnabled', true) && editorContentStyles.highlightLinksUnsetStyles, editorContentStyles.textHighlightPaddingStyles, editorContentStyles.listsStyles, editorContentStyles.listItemHiddenMarkerStyles, editorContentStyles.diffListStyles, contentMode === 'compact' && isDense && editorContentStyles.listsDenseStyles, isFullPage && editorContentStyles.listsStylesMarginLayoutShiftFix, editorContentStyles.ruleStyles, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_lovability_dividers_attributes') && editorContentStyles.ruleWithAttrsStyles, editorContentStyles.smartCardDiffStyles, (0, _expValEquals.expValEquals)('platform_editor_enghealth_a11y_jan_fixes', 'isEnabled', true) ? editorContentStyles.showDiffDeletedNodeStylesNew : editorContentStyles.showDiffDeletedNodeStyles, editorContentStyles.mediaStyles, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_vanilla_node_views_phase1') && editorContentStyles.vanillaCaptionStyles, contentMode === 'compact' && editorContentStyles.mediaCaptionStyles, editorContentStyles.firstWrappedMediaStyles, editorContentStyles.telepointerStyle, /* This needs to be after telepointer styles as some overlapping rules have equal specificity, and so the order is significant */
425
424
  editorContentStyles.telepointerColorAndCommonStyle, colorMode === 'dark' && editorContentStyles.telepointerColorAndCommonStyleDarkMode, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_agent_be_streaming', 'isEnabled', true) && editorContentStyles.agentShimmerStyles, editorContentStyles.gapCursorStyles, editorContentStyles.gapCursorStylesVisibilityFix, editorContentStyles.panelStyles, editorContentStyles.nestedPanelBorderStylesMixin, editorContentStyles.panelStylesMixinNestedDnd, editorContentStyles.panelStylesMixin, editorContentStyles.mentionsStyles, editorContentStyles.tasksAndDecisionsStyles, contentMode === 'compact' && isDense && editorContentStyles.tasksAndDecisionsDenseStyles, editorContentStyles.gridStyles, editorContentStyles.blockMarksStyles, editorContentStyles.dateStyles, editorContentStyles.extensionStyles, (0, _fg.fg)('platform_editor_lovability_resize_exts_gracefully') && editorContentStyles.extensionWithBreakoutStyles, contentMode === 'compact' && editorContentStyles.extensionStylesDense, editorContentStyles.bodiedExtensionLayoutShiftFix, editorContentStyles.extensionDiffStyles, editorContentStyles.expandStylesBase, !useStandardNodeWidth && editorContentStyles.expandStyles, contentMode === 'compact' && isDense && editorContentStyles.expandDenseStyles, editorContentStyles.expandStylesMixinNestedDnd, editorContentStyles.expandStylesMixin_fg_platform_visual_refresh_icons, isChromeless && editorContentStyles.expandStylesMixin_chromeless_expand_fix, editorContentStyles.findReplaceStyles, editorContentStyles.findReplaceStylesWithCodeblockColorContrastFix, editorContentStyles.findReplaceStylesWithRefSyncBlock, editorContentStyles.textHighlightStyle, editorContentStyles.decisionStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_blocktaskitem_node_tenantid', 'isEnabled', true) ? editorContentStyles.taskItemStylesWithBlockTaskItem : editorContentStyles.taskItemStyles, editorContentStyles.taskItemCheckboxStyles, editorContentStyles.decisionIconWithVisualRefresh, editorContentStyles.statusStyles, isStatusStylesTeam26 ? editorContentStyles.statusStylesTeam26 : (0, _fg.fg)('platform-component-visual-refresh') ? editorContentStyles.statusStylesMixin_fg_platform_component_visual_refresh_with_search_match : editorContentStyles.statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match, isStatusStylesTeam26 && isUpdateStatusColorsEnabled && editorContentStyles.statusStylesNamedAccent, isStatusStylesTeam26 && !isUpdateStatusColorsEnabled && editorContentStyles.statusStylesNamedSemantic, ((0, _fg.fg)('platform_editor_gracefully_render_status_color') || isUpdateStatusColorsEnabled) && editorContentStyles.statusStylesHexAccent, (0, _fg.fg)('platform_editor_ai_show_diff_patch_2') && editorContentStyles.deletedStatusStrikeStyles, editorContentStyles.annotationStyles, editorContentStyles.smartCardStylesWithSearchMatchAndBlockMenuDangerStyles, (0, _editorExperiment.editorExperiment)('platform_editor_preview_panel_responsiveness', true) && editorContentStyles.smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness, editorContentStyles.editorControlsSmartCardStyles, editorContentStyles.embedCardStyles, editorContentStyles.unsupportedStyles, editorContentStyles.vanillaTooltipDefaultStyles, (0, _fg.fg)('confluence_ncs_step_diffing_version_history') && editorContentStyles.contributorTagStyles, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_vanilla_node_views_phase1') && editorContentStyles.vanillaUnsupportedStyles, editorContentStyles.resizerStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('cc-maui-experiment', 'isEnabled', true) && (0, _expValEquals.expValEquals)('databases-native-embeds-v2', 'isEnabled', true) && editorContentStyles.resizerBottomHandleStyles, editorContentStyles.layoutBaseStyles, editorContentStyles.alignMultipleWrappedImageInLayoutStyles, editorContentStyles.syncBlockStylesBase, (0, _fg.fg)('platform-dst-tokens-finesse') && editorContentStyles.syncBlockSelectedStyles, !useStandardNodeWidth && editorContentStyles.syncBlockStyles, editorContentStyles.syncBlockOverflowStyles, editorContentStyles.syncBlockFirstNodeStyles, editorContentStyles.syncBlockTextSelectionStyles, isSyncBlockActivationEnabled && editorContentStyles.syncBlockInteractiveCursorStyles, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutBaseStylesAdvanced, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) ? editorContentStyles.layoutSectionStylesAdvanced : editorContentStyles.layoutSectionStylesNotAdvanced, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && !(0, _fg.fg)('platform-dst-top-layer-tooltip') && editorContentStyles.layoutDragHandleWrapperStylesLegacy, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutColumnDividerStyles, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutColumnDividerStylesNestedDnD, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) ? editorContentStyles.layoutColumnStylesAdvanced : editorContentStyles.layoutColumnStylesNotAdvanced, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutColumnResizeStyles, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) ? editorContentStyles.layoutSelectedStylesAdvanced : editorContentStyles.layoutSelectedStylesNotAdvanced, editorContentStyles.layoutSelectedStylesAdvancedFix, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutColumnResponsiveStyles, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutResponsiveBaseStyles, editorContentStyles.layoutBaseStylesNestedDndExcludingBodiedSync, editorContentStyles.layoutColumnMartinTopFixes, editorContentStyles.smartLinksInLivePagesStyles, editorContentStyles.linkingVisualRefreshV1Styles, editorContentStyles.dateVanillaStyles, contentMode === 'compact' ? editorContentStyles.paragraphStylesWithScaledMargin : editorContentStyles.paragraphStylesUGCRefreshed, editorContentStyles.linkStyles, browser.safari && editorContentStyles.listsStylesSafariFix, editorContentStyles.pragmaticResizerStylesSyncedBlock, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticResizerStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) && (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesPanelAndRule, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) && (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_lovability_resize_extensions') && editorContentStyles.pragmaticResizerStylesExtensions, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesCodeBlockSyncedBlockPatch, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticStylesLayoutFirstNodeResizeHandleFix, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesForTooltip, (0, _editorExperiment.editorExperiment)('platform_editor_preview_panel_responsiveness', true) && ((0, _editorExperiment.editorExperiment)('advanced_layouts', true) || (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true)) && editorContentStyles.pragmaticResizerStylesWithReducedEditorGutter, editorContentStyles.aiPanelBaseStyles, isFirefox && editorContentStyles.aiPanelBaseFirefoxStyles, colorMode === 'dark' && editorContentStyles.aiPanelDarkStyles, colorMode === 'dark' && isFirefox && editorContentStyles.aiPanelDarkFirefoxStyles, viewMode === 'view' && editorContentStyles.layoutStylesForView, viewMode === 'view' && (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutSelectedStylesForViewAdvanced, viewMode === 'view' && (0, _editorExperiment.editorExperiment)('advanced_layouts', false) && editorContentStyles.layoutSelectedStylesForViewNotAdvanced, viewMode === 'view' && (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutResponsiveStylesForView, isComment && editorContentStyles.commentEditorStyles, isComment && editorContentStyles.tableCommentEditorStyles, (isComment || isChromeless) && editorContentStyles.nonFullPageContainerTypeStyles, isFullPage && editorContentStyles.fullPageEditorStyles, isFullPage && editorContentStyles.scrollbarStyles, editorContentStyles.firstCodeBlockWithNoMargin, editorContentStyles.firstBlockNodeStyles, editorContentStyles.firstNodeWidgetFixStyles, editorContentStyles.mentionNodeStyles, colorMode === 'dark' && editorContentStyles.agentMentionShimmerDarkMode, editorContentStyles.mentionsSelectionStyles, (0, _expValEquals.expValEquals)('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ? editorContentStyles.scaledEmojiStyles : editorContentStyles.emojiStyles, isFloatingTocEnabled ? editorContentStyles.directEmojiSelectionStyles : editorContentStyles.emojiSelectionStyles, contentMode === 'compact' && isDense && (0, _expValEquals.expValEquals)('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.scaledEmojiDenseStyles, contentMode === 'compact' && isDense && !(0, _expValEquals.expValEquals)('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.emojiDenseStyles, editorContentStyles.panelViewStyles, editorContentStyles.mediaGroupStyles, editorContentStyles.mediaAlignmentStyles, editorContentStyles.tableLayoutFixesWithFontSize, editorContentStyles.tableContainerStyles, editorContentStyles.tableSharedStyle, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_table_css_overflow_shadow') && editorContentStyles.tableScrollInlineShadowStyles, (browser.gecko || browser.ie || browser.mac && browser.chrome) && editorContentStyles.tableSharedStyleBackgroundClipFix, (0, _expValEquals.expValEquals)('platform_editor_table_q4_loveability', 'isEnabled', true) ? editorContentStyles.tableSharedStyle_with_platform_editor_table_q4_loveability : editorContentStyles.tableSharedStyle_without_platform_editor_table_q4_loveability, (0, _expValEquals.expValEquals)('platform_editor_table_menu_updates', 'isEnabled', true) && editorContentStyles.tableSharedStyle_with_platform_editor_table_menu_updates, (0, _fg.fg)('platform_editor_bordered_panel_nested_in_table') && editorContentStyles.tableSharedStyle_with_platform_editor_bordered_panel_nested_in_table, editorContentStyles.tableEmptyRowStyles, (0, _expValEquals.expValEquals)('platform_editor_table_q4_loveability', 'isEnabled', true) && editorContentStyles.tableRoundedCornerStyles, editorContentStyles.tableContentModeStyles, editorContentStyles.tableContentModeExtensionContainmentStyles, editorContentStyles.tableContentModeNestedTableStyles, editorContentStyles.tableCellBackgroundColorOverrides, editorContentStyles.hyperLinkFloatingToolbarStyles, editorContentStyles.selectionToolbarAnimationStyles, editorContentStyles.blockquoteDangerStyles, editorContentStyles.textDangerStyles, editorContentStyles.listDangerStyles, editorContentStyles.dangerDateStyles, editorContentStyles.emojiDangerStyles, editorContentStyles.mentionDangerStyles, editorContentStyles.decisionDangerStyles, editorContentStyles.statusDangerStyles, editorContentStyles.dangerRuleStyles, editorContentStyles.mediaDangerStyles, editorContentStyles.nestedPanelDangerStyles, isBlockSpacingEnabled && editorContentStyles.blockSpacingVarStyles, isBlockSpacingEnabled && isDense && editorContentStyles.blockSpacingVarScaledStyles, className || undefined]),
426
425
  ref: ref,
427
426
  "data-editor-scroll-container": isScrollable ? 'true' : undefined,
@@ -402,9 +402,7 @@ var EditorContentContainerEmotion = exports.EditorContentContainerEmotion = /*#_
402
402
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
403
403
  _blockTypeStyles.blocktypeStylesNestedDnd,
404
404
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
405
- _codeMarkStyles.codeMarkStyles, (0, _expValEquals.expValEquals)('platform_editor_a11y_scrollable_region', 'isEnabled', true) &&
406
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
407
- _codeMarkStyles.codeMarkStylesA11yFix,
405
+ _codeMarkStyles.codeMarkStyles,
408
406
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
409
407
  _textColorStyles.textColorStyles,
410
408
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.codeMarkStylesA11yFix = exports.codeMarkStyles = void 0;
6
+ exports.codeMarkStyles = void 0;
7
7
  var _react = require("@emotion/react");
8
8
  /* eslint-disable @atlaskit/ui-styling-standard/use-compiled,
9
9
  @repo/internal/deprecations/deprecation-ticket-required,
@@ -31,21 +31,8 @@ var codeMarkStyles = exports.codeMarkStyles = (0, _react.css)({
31
31
  // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
32
32
  fontSize: '0.875em',
33
33
  fontWeight: "var(--ds-font-weight-regular, 400)",
34
- overflow: 'auto',
34
+ overflow: 'unset',
35
35
  overflowWrap: 'break-word',
36
36
  whiteSpace: 'pre-wrap'
37
37
  }
38
- });
39
- /**
40
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
41
- * If you need to make changes here, also update the corresponding style in
42
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
43
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
44
- */
45
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
46
- var codeMarkStylesA11yFix = exports.codeMarkStylesA11yFix = (0, _react.css)({
47
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
48
- '.code': {
49
- overflow: 'unset'
50
- }
51
38
  });
@@ -6,4 +6,4 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.version = exports.name = void 0;
7
7
  var name = exports.name = "@atlaskit/editor-core";
8
8
  // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
9
- var version = exports.version = "229.1.9";
9
+ var version = exports.version = "231.0.0";
@@ -20,8 +20,7 @@
20
20
  .cc-1na1fzg .ProseMirror h1{font:var(--editor-font-ugc-token-heading-h1);margin-bottom:0;margin-top:1.45833em}.cc-1na1fzg .ProseMirror h1 strong{font-weight:var(--editor-font-ugc-token-weight-heading-bold)}.cc-1na1fzg .ProseMirror h2{font:var(--editor-font-ugc-token-heading-h2);margin-bottom:0;margin-top:1.4em}.cc-1na1fzg .ProseMirror h2 strong{font-weight:var(--editor-font-ugc-token-weight-heading-bold)}.cc-1na1fzg .ProseMirror h3{font:var(--editor-font-ugc-token-heading-h3);margin-bottom:0;margin-top:1.31249em}.cc-1na1fzg .ProseMirror h3 strong{font-weight:var(--editor-font-ugc-token-weight-heading-bold)}.cc-1na1fzg .ProseMirror h4{font:var(--editor-font-ugc-token-heading-h4);margin-top:1.25em}.cc-1na1fzg .ProseMirror h4 strong{font-weight:var(--editor-font-ugc-token-weight-heading-bold)}.cc-1na1fzg .ProseMirror h5{font:var(--editor-font-ugc-token-heading-h5);margin-top:1.45833em;text-transform:none}.cc-1na1fzg .ProseMirror h5 strong{font-weight:var(--editor-font-ugc-token-weight-heading-bold)}.cc-1na1fzg .ProseMirror h6{font:var(--editor-font-ugc-token-heading-h6);margin-top:1.59091em;text-transform:none}.cc-1na1fzg .ProseMirror h6 strong{font-weight:var(--editor-font-ugc-token-weight-heading-bold)}
21
21
  .cc-1l6yvlg .ProseMirror .code-content--wrapped>.code-block-content-wrapper>.code-content{margin-right:var(--ds-space-100,8px)}.cc-1l6yvlg .ProseMirror .code-content--wrapped>.code-block-content-wrapper>.code-content code{display:block;word-break:break-word;white-space:pre-wrap}.cc-1l6yvlg .ProseMirror .code-block-content-wrapper>.code-content{display:flex;flex-grow:1;flex-shrink:1;flex-basis:0%}.cc-1l6yvlg .ProseMirror .code-block-content-wrapper>.code-content code{flex-grow:1;white-space:pre}.cc-1l6yvlg .ProseMirror .code-block{position:relative;background-color:var(--ds-surface-raised,#fff);border-radius:var(--ds-radius-small,3px);margin-top:.75rem;margin-right:0;margin-bottom:0;margin-left:0;font-family:var(--ds-font-family-code,"Atlassian Mono",ui-monospace,Menlo,"Segoe UI Mono","Ubuntu Mono",monospace);min-width:3pc;cursor:pointer;clear:both;white-space:normal}.cc-1l6yvlg .ProseMirror .code-block .code-block-gutter-pseudo-element:before{content:attr(data-label)}.cc-1l6yvlg .ProseMirror .code-block .code-block--start{position:absolute;visibility:hidden;height:1.5rem;top:0;left:0}.cc-1l6yvlg .ProseMirror .code-block .code-block--end{position:absolute;visibility:hidden;height:1.5rem;bottom:0;right:0}.cc-1l6yvlg .ProseMirror .code-block .code-block-content-wrapper{background-image:linear-gradient(to right,var(--ds-background-neutral,#0515240f) var(--ds-space-300,24px),transparent var(--ds-space-300,24px)),linear-gradient(to right,var(--ds-surface-raised,#fff) var(--ds-space-300,24px),transparent var(--ds-space-300,24px)),linear-gradient(to left,var(--ds-background-neutral,#0515240f) var(--ds-space-100,8px),transparent var(--ds-space-100,8px)),linear-gradient(to left,var(--ds-surface-raised,#fff) var(--ds-space-100,8px),transparent var(--ds-space-100,8px)),linear-gradient(to left,var(--ds-shadow-overflow-spread,#1e1f2129) 0,var(--ds-UNSAFE-transparent,transparent) var(--ds-space-100,8px)),linear-gradient(to left,var(--ds-shadow-overflow-perimeter,#1e1f211f) 0,var(--ds-UNSAFE-transparent,transparent) var(--ds-space-100,8px)),linear-gradient(to right,var(--ds-shadow-overflow-spread,#1e1f2129) 0,var(--ds-UNSAFE-transparent,transparent) var(--ds-space-100,8px)),linear-gradient(to right,var(--ds-shadow-overflow-perimeter,#1e1f211f) 0,var(--ds-UNSAFE-transparent,transparent) var(--ds-space-100,8px));position:relative;background-color:var(--ds-background-neutral,#0515240f);display:flex;border-radius:var(--ds-radius-small,3px);width:100%;counter-reset:line;overflow-x:auto;background-repeat:no-repeat;background-attachment:local,local,local,local,scroll,scroll,scroll,scroll;background-size:var(--ds-space-300,24px) 100%,var(--ds-space-300,24px) 100%,var(--ds-space-100,8px) 100%,var(--ds-space-100,8px) 100%,var(--ds-space-100,8px) 100%,1px 100%,var(--ds-space-100,8px) 100%,1px 100%;background-position:0 0,0 0,100% 0,100% 0,100% 0,100% 0,0 0,0 0;overflow-y:hidden}.cc-1l6yvlg .ProseMirror .code-block .line-number-gutter{background-color:var(--ds-background-neutral,#0515240f);position:relative;width:var(--lineNumberGutterWidth,2rem);padding:var(--ds-space-100,8px);flex-shrink:0;font-size:.875rem;box-sizing:content-box}.cc-1l6yvlg .ProseMirror .code-block .line-number-gutter:before{content:"1";visibility:hidden;font-size:.875rem;line-height:1.5rem}.cc-1l6yvlg .ProseMirror .code-block .code-content code{tab-size:4;cursor:text;color:var(--ds-text,#292a2e);border-radius:var(--ds-radius-small,3px);margin:var(--ds-space-100,8px);font-size:.875rem;line-height:1.5rem}.cc-1l6yvlg .ProseMirror .code-block .code-content__line-number--wrapped{pointer-events:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;width:var(--lineNumberGutterWidth,2rem);left:0;position:absolute;font-size:.875rem;padding:0 var(--ds-space-100,8px);line-height:1.5rem;text-align:right;color:var(--ds-text-subtlest,#6b6e76);box-sizing:content-box}.cc-1l6yvlg .ProseMirror li>.code-block{margin-top:.75rem;margin-right:0;margin-bottom:0;margin-left:0}.cc-1l6yvlg .ProseMirror li>.ProseMirror-gapcursor:first-child+.code-block, .cc-1l6yvlg .ProseMirror li>.code-block:first-child{margin-top:0}.cc-1l6yvlg .ProseMirror li>div:last-of-type.code-block, .cc-1l6yvlg .ProseMirror li>pre:last-of-type.code-block{margin-bottom:.75rem}.cc-1l6yvlg .ProseMirror .code-block.ak-editor-selected-node:not(.danger){box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent;position:relative;-webkit-user-select:text}.cc-1l6yvlg .ProseMirror .code-block.ak-editor-selected-node:not(.danger):before{position:absolute;content:"";left:0;right:0;top:0;bottom:0;width:100%;pointer-events:none;z-index:12;background-color:var(--ds-blanket-selected,#388bff14)}.cc-1l6yvlg .ProseMirror .code-block.ak-editor-selected-node:not(.danger) ::selection, .cc-1l6yvlg .ProseMirror .code-block.ak-editor-selected-node:not(.danger)::selection{background-color:transparent}.cc-1l6yvlg .ProseMirror .code-block.ak-editor-selected-node:not(.danger) ::-moz-selection, .cc-1l6yvlg .ProseMirror .code-block.ak-editor-selected-node:not(.danger)::-moz-selection{background-color:transparent}.cc-1l6yvlg .ProseMirror .danger.code-block{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)}.cc-1l6yvlg .ProseMirror .danger.code-block .line-number-gutter{background-color:var(--ds-background-danger,#ffeceb);color:var(--ds-text-danger,#ae2e24)}.cc-1l6yvlg .ProseMirror .danger.code-block .line-number-gutter:after{height:100%;content:"";position:absolute;left:0;top:0;width:24px;background-color:var(--ds-blanket-danger,#ef5c4814)}.cc-1l6yvlg .ProseMirror .danger.code-block .code-content{background-color:var(--ds-blanket-danger,#ef5c4814)}.cc-1l6yvlg .ProseMirror .danger .code-block .line-number-gutter{background-color:var(--ds-background-danger,#ffeceb);color:var(--ds-text-danger,#ae2e24)}.cc-1l6yvlg .ProseMirror .danger .code-block .line-number-gutter:after{height:100%;content:"";position:absolute;left:0;top:0;width:24px;background-color:var(--ds-blanket-danger,#ef5c4814)}.cc-1l6yvlg .ProseMirror .danger .code-block .code-content{background-color:var(--ds-blanket-danger,#ef5c4814)}
22
22
  .cc-1agwr6s .ProseMirror .code-block .code-block-gutter-pseudo-element:before{display:flow;line-height:1.5em}.cc-1agwr6s .ProseMirror .code-block .code-content code{font-size:.875em;line-height:1.5em}
23
- .cc-9o9ss2 .code{--ds--code--bg-color:var(--ds-background-neutral,#0515240f);display:inline;padding-top:2px;padding-right:.5ch;padding-bottom:2px;padding-left:.5ch;background-color:var(--ds--code--bg-color,var(--ds-background-neutral,#0515240f));border-radius:var(--ds-radius-small,3px);border-style:none;-webkit-box-decoration-break:clone;box-decoration-break:clone;color:var(--ds-text,#292a2e);font-family:var(--ds-font-family-code,"Atlassian Mono",ui-monospace,Menlo,"Segoe UI Mono","Ubuntu Mono",monospace);font-size:.875em;font-weight:var(--ds-font-weight-regular,400);overflow-x:auto;overflow-y:auto;overflow-wrap:break-word;white-space:pre-wrap}
24
- .cc-db0kku .code{overflow-x:unset;overflow-y:unset}
23
+ .cc-9o9ss2 .code{--ds--code--bg-color:var(--ds-background-neutral,#0515240f);display:inline;padding-top:2px;padding-right:.5ch;padding-bottom:2px;padding-left:.5ch;background-color:var(--ds--code--bg-color,var(--ds-background-neutral,#0515240f));border-radius:var(--ds-radius-small,3px);border-style:none;-webkit-box-decoration-break:clone;box-decoration-break:clone;color:var(--ds-text,#292a2e);font-family:var(--ds-font-family-code,"Atlassian Mono",ui-monospace,Menlo,"Segoe UI Mono","Ubuntu Mono",monospace);font-size:.875em;font-weight:var(--ds-font-weight-regular,400);overflow-x:unset;overflow-y:unset;overflow-wrap:break-word;white-space:pre-wrap}
25
24
  .cc-pk1css{flex-grow:1}.cc-pk1css{overflow-x:clip}.cc-pk1css{line-height:24px}.cc-pk1css .ProseMirror{margin-top:var(--ds-space-150,9pt);margin-right:var(--ds-space-150,9pt);margin-bottom:var(--ds-space-150,9pt);margin-left:var(--ds-space-150,9pt)}.cc-pk1css .gridParent{margin-left:var(--ds-space-025,2px);margin-right:var(--ds-space-025,2px);width:calc(100% + 2px)}.cc-pk1css{padding-top:var(--ds-space-250,20px)}.cc-pk1css{padding-right:var(--ds-space-250,20px)}.cc-pk1css{padding-bottom:var(--ds-space-250,20px)}.cc-pk1css{padding-left:var(--ds-space-250,20px)}
26
25
  .cc-fsbph9{container-type:inline-size}
27
26
  .cc-1wz6obl .ProseMirror.ProseMirror-focused:has(.ProseMirror-mark-boundary-cursor){caret-color:transparent}.cc-1wz6obl .ProseMirror:not(.ProseMirror-focused) .ProseMirror-mark-boundary-cursor{display:none}.cc-1wz6obl .ProseMirror:has(.ProseMirror-hide-cursor){caret-color:transparent}
@@ -236,7 +236,6 @@ const editorContentStyles = {
236
236
  codeBlockStyles: "cc-1l6yvlg",
237
237
  codeBlockStylesWithEmUnits: "cc-1agwr6s",
238
238
  codeMarkStyles: "cc-9o9ss2",
239
- codeMarkStylesA11yFix: "cc-db0kku",
240
239
  commentEditorStyles: "cc-pk1css",
241
240
  nonFullPageContainerTypeStyles: "cc-fsbph9",
242
241
  cursorStyles: "cc-1wz6obl",
@@ -476,7 +475,7 @@ export const EditorContentContainerCompiled = /*#__PURE__*/React.forwardRef((pro
476
475
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
477
476
  className: ax([editorContentStyles.baseStyles, editorContentStyles.maxModeReizeFixStyles, editorContentStyles.baseStylesMaxContainerWidthFixes, editorContentStyles.editorGutterPaddingBaseStyles, editorExperiment('platform_editor_preview_panel_responsiveness', true, {
478
477
  exposure: true
479
- }) && editorContentStyles.editorLargeGutterPuddingReducedBaseStyles, editorContentStyles.whitespaceStyles, editorContentStyles.indentationStyles, editorContentStyles.fontSizeStyles, editorContentStyles.shadowStyles, editorContentStyles.InlineNodeViewSharedStyles, editorContentStyles.hideSelectionStyles, editorContentStyles.hideCursorWhenHideSelectionStyles, editorContentStyles.selectedNodeStyles, editorContentStyles.cursorStyles, editorContentStyles.firstFloatingToolbarButtonStyles, editorContentStyles.placeholderTextStyles, editorContentStyles.placeholderStyles, editorExperiment('platform_editor_controls', 'variant1') && editorContentStyles.placeholderOverflowStyles, editorContentStyles.codeBlockStyles, contentMode === 'compact' && editorContentStyles.codeBlockStylesWithEmUnits, editorContentStyles.editorUGCTokensRefreshed, editorContentStyles.editorUGCSmallText, editorContentStyles.blocktypeStyles, editorContentStyles.blocktypeStylesRtlBlockquote, isFloatingTocEnabled && editorContentStyles.headingScrollMarginStyles, editorContentStyles.blockquoteSelectedNodeStyles, editorContentStyles.listSelectedNodeStyles, editorContentStyles.textSelectedNodeStyles, editorContentStyles.blocktypeStyles_fg_platform_editor_typography_ugc, editorContentStyles.blocktypeStylesNestedDnd, editorContentStyles.codeMarkStyles, expValEquals('platform_editor_a11y_scrollable_region', 'isEnabled', true) && editorContentStyles.codeMarkStylesA11yFix, editorContentStyles.textColorStyles, editorContentStyles.backgroundColorStyles, !expValEquals('platform_editor_lovability_text_bg_color', 'isEnabled', true) && editorContentStyles.highlightLinksUnsetStyles, editorContentStyles.textHighlightPaddingStyles, editorContentStyles.listsStyles, editorContentStyles.listItemHiddenMarkerStyles, editorContentStyles.diffListStyles, contentMode === 'compact' && isDense && editorContentStyles.listsDenseStyles, isFullPage && editorContentStyles.listsStylesMarginLayoutShiftFix, editorContentStyles.ruleStyles, isExperimentEnabled('platform_editor_lovability_dividers_attributes') && editorContentStyles.ruleWithAttrsStyles, editorContentStyles.smartCardDiffStyles, expValEquals('platform_editor_enghealth_a11y_jan_fixes', 'isEnabled', true) ? editorContentStyles.showDiffDeletedNodeStylesNew : editorContentStyles.showDiffDeletedNodeStyles, editorContentStyles.mediaStyles, isExperimentEnabled('platform_editor_vanilla_node_views_phase1') && editorContentStyles.vanillaCaptionStyles, contentMode === 'compact' && editorContentStyles.mediaCaptionStyles, editorContentStyles.firstWrappedMediaStyles, editorContentStyles.telepointerStyle, /* This needs to be after telepointer styles as some overlapping rules have equal specificity, and so the order is significant */
478
+ }) && editorContentStyles.editorLargeGutterPuddingReducedBaseStyles, editorContentStyles.whitespaceStyles, editorContentStyles.indentationStyles, editorContentStyles.fontSizeStyles, editorContentStyles.shadowStyles, editorContentStyles.InlineNodeViewSharedStyles, editorContentStyles.hideSelectionStyles, editorContentStyles.hideCursorWhenHideSelectionStyles, editorContentStyles.selectedNodeStyles, editorContentStyles.cursorStyles, editorContentStyles.firstFloatingToolbarButtonStyles, editorContentStyles.placeholderTextStyles, editorContentStyles.placeholderStyles, editorExperiment('platform_editor_controls', 'variant1') && editorContentStyles.placeholderOverflowStyles, editorContentStyles.codeBlockStyles, contentMode === 'compact' && editorContentStyles.codeBlockStylesWithEmUnits, editorContentStyles.editorUGCTokensRefreshed, editorContentStyles.editorUGCSmallText, editorContentStyles.blocktypeStyles, editorContentStyles.blocktypeStylesRtlBlockquote, isFloatingTocEnabled && editorContentStyles.headingScrollMarginStyles, editorContentStyles.blockquoteSelectedNodeStyles, editorContentStyles.listSelectedNodeStyles, editorContentStyles.textSelectedNodeStyles, editorContentStyles.blocktypeStyles_fg_platform_editor_typography_ugc, editorContentStyles.blocktypeStylesNestedDnd, editorContentStyles.codeMarkStyles, editorContentStyles.textColorStyles, editorContentStyles.backgroundColorStyles, !expValEquals('platform_editor_lovability_text_bg_color', 'isEnabled', true) && editorContentStyles.highlightLinksUnsetStyles, editorContentStyles.textHighlightPaddingStyles, editorContentStyles.listsStyles, editorContentStyles.listItemHiddenMarkerStyles, editorContentStyles.diffListStyles, contentMode === 'compact' && isDense && editorContentStyles.listsDenseStyles, isFullPage && editorContentStyles.listsStylesMarginLayoutShiftFix, editorContentStyles.ruleStyles, isExperimentEnabled('platform_editor_lovability_dividers_attributes') && editorContentStyles.ruleWithAttrsStyles, editorContentStyles.smartCardDiffStyles, expValEquals('platform_editor_enghealth_a11y_jan_fixes', 'isEnabled', true) ? editorContentStyles.showDiffDeletedNodeStylesNew : editorContentStyles.showDiffDeletedNodeStyles, editorContentStyles.mediaStyles, isExperimentEnabled('platform_editor_vanilla_node_views_phase1') && editorContentStyles.vanillaCaptionStyles, contentMode === 'compact' && editorContentStyles.mediaCaptionStyles, editorContentStyles.firstWrappedMediaStyles, editorContentStyles.telepointerStyle, /* This needs to be after telepointer styles as some overlapping rules have equal specificity, and so the order is significant */
480
479
  editorContentStyles.telepointerColorAndCommonStyle, colorMode === 'dark' && editorContentStyles.telepointerColorAndCommonStyleDarkMode, expValEqualsNoExposure('platform_editor_agent_be_streaming', 'isEnabled', true) && editorContentStyles.agentShimmerStyles, editorContentStyles.gapCursorStyles, editorContentStyles.gapCursorStylesVisibilityFix, editorContentStyles.panelStyles, editorContentStyles.nestedPanelBorderStylesMixin, editorContentStyles.panelStylesMixinNestedDnd, editorContentStyles.panelStylesMixin, editorContentStyles.mentionsStyles, editorContentStyles.tasksAndDecisionsStyles, contentMode === 'compact' && isDense && editorContentStyles.tasksAndDecisionsDenseStyles, editorContentStyles.gridStyles, editorContentStyles.blockMarksStyles, editorContentStyles.dateStyles, editorContentStyles.extensionStyles, fg('platform_editor_lovability_resize_exts_gracefully') && editorContentStyles.extensionWithBreakoutStyles, contentMode === 'compact' && editorContentStyles.extensionStylesDense, editorContentStyles.bodiedExtensionLayoutShiftFix, editorContentStyles.extensionDiffStyles, editorContentStyles.expandStylesBase, !useStandardNodeWidth && editorContentStyles.expandStyles, contentMode === 'compact' && isDense && editorContentStyles.expandDenseStyles, editorContentStyles.expandStylesMixinNestedDnd, editorContentStyles.expandStylesMixin_fg_platform_visual_refresh_icons, isChromeless && editorContentStyles.expandStylesMixin_chromeless_expand_fix, editorContentStyles.findReplaceStyles, editorContentStyles.findReplaceStylesWithCodeblockColorContrastFix, editorContentStyles.findReplaceStylesWithRefSyncBlock, editorContentStyles.textHighlightStyle, editorContentStyles.decisionStyles, expValEqualsNoExposure('platform_editor_blocktaskitem_node_tenantid', 'isEnabled', true) ? editorContentStyles.taskItemStylesWithBlockTaskItem : editorContentStyles.taskItemStyles, editorContentStyles.taskItemCheckboxStyles, editorContentStyles.decisionIconWithVisualRefresh, editorContentStyles.statusStyles, isStatusStylesTeam26 ? editorContentStyles.statusStylesTeam26 : fg('platform-component-visual-refresh') ? editorContentStyles.statusStylesMixin_fg_platform_component_visual_refresh_with_search_match : editorContentStyles.statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match, isStatusStylesTeam26 && isUpdateStatusColorsEnabled && editorContentStyles.statusStylesNamedAccent, isStatusStylesTeam26 && !isUpdateStatusColorsEnabled && editorContentStyles.statusStylesNamedSemantic, (fg('platform_editor_gracefully_render_status_color') || isUpdateStatusColorsEnabled) && editorContentStyles.statusStylesHexAccent, fg('platform_editor_ai_show_diff_patch_2') && editorContentStyles.deletedStatusStrikeStyles, editorContentStyles.annotationStyles, editorContentStyles.smartCardStylesWithSearchMatchAndBlockMenuDangerStyles, editorExperiment('platform_editor_preview_panel_responsiveness', true) && editorContentStyles.smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness, editorContentStyles.editorControlsSmartCardStyles, editorContentStyles.embedCardStyles, editorContentStyles.unsupportedStyles, editorContentStyles.vanillaTooltipDefaultStyles, fg('confluence_ncs_step_diffing_version_history') && editorContentStyles.contributorTagStyles, isExperimentEnabled('platform_editor_vanilla_node_views_phase1') && editorContentStyles.vanillaUnsupportedStyles, editorContentStyles.resizerStyles, expValEqualsNoExposure('cc-maui-experiment', 'isEnabled', true) && expValEquals('databases-native-embeds-v2', 'isEnabled', true) && editorContentStyles.resizerBottomHandleStyles, editorContentStyles.layoutBaseStyles, editorContentStyles.alignMultipleWrappedImageInLayoutStyles, editorContentStyles.syncBlockStylesBase, fg('platform-dst-tokens-finesse') && editorContentStyles.syncBlockSelectedStyles, !useStandardNodeWidth && editorContentStyles.syncBlockStyles, editorContentStyles.syncBlockOverflowStyles, editorContentStyles.syncBlockFirstNodeStyles, editorContentStyles.syncBlockTextSelectionStyles, isSyncBlockActivationEnabled && editorContentStyles.syncBlockInteractiveCursorStyles, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutBaseStylesAdvanced, editorExperiment('advanced_layouts', true) ? editorContentStyles.layoutSectionStylesAdvanced : editorContentStyles.layoutSectionStylesNotAdvanced, editorExperiment('advanced_layouts', true) && !fg('platform-dst-top-layer-tooltip') && editorContentStyles.layoutDragHandleWrapperStylesLegacy, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnDividerStyles, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnDividerStylesNestedDnD, editorExperiment('advanced_layouts', true) ? editorContentStyles.layoutColumnStylesAdvanced : editorContentStyles.layoutColumnStylesNotAdvanced, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnResizeStyles, editorExperiment('advanced_layouts', true) ? editorContentStyles.layoutSelectedStylesAdvanced : editorContentStyles.layoutSelectedStylesNotAdvanced, editorContentStyles.layoutSelectedStylesAdvancedFix, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnResponsiveStyles, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutResponsiveBaseStyles, editorContentStyles.layoutBaseStylesNestedDndExcludingBodiedSync, editorContentStyles.layoutColumnMartinTopFixes, editorContentStyles.smartLinksInLivePagesStyles, editorContentStyles.linkingVisualRefreshV1Styles, editorContentStyles.dateVanillaStyles, contentMode === 'compact' ? editorContentStyles.paragraphStylesWithScaledMargin : editorContentStyles.paragraphStylesUGCRefreshed, editorContentStyles.linkStyles, browser.safari && editorContentStyles.listsStylesSafariFix, editorContentStyles.pragmaticResizerStylesSyncedBlock, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticResizerStyles, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && expValEqualsNoExposure('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesPanelAndRule, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && isExperimentEnabled('platform_editor_lovability_resize_extensions') && editorContentStyles.pragmaticResizerStylesExtensions, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesCodeBlockSyncedBlockPatch, editorExperiment('advanced_layouts', true) && expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticStylesLayoutFirstNodeResizeHandleFix, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesForTooltip, editorExperiment('platform_editor_preview_panel_responsiveness', true) && (editorExperiment('advanced_layouts', true) || expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true)) && editorContentStyles.pragmaticResizerStylesWithReducedEditorGutter, editorContentStyles.aiPanelBaseStyles, isFirefox && editorContentStyles.aiPanelBaseFirefoxStyles, colorMode === 'dark' && editorContentStyles.aiPanelDarkStyles, colorMode === 'dark' && isFirefox && editorContentStyles.aiPanelDarkFirefoxStyles, viewMode === 'view' && editorContentStyles.layoutStylesForView, viewMode === 'view' && editorExperiment('advanced_layouts', true) && editorContentStyles.layoutSelectedStylesForViewAdvanced, viewMode === 'view' && editorExperiment('advanced_layouts', false) && editorContentStyles.layoutSelectedStylesForViewNotAdvanced, viewMode === 'view' && editorExperiment('advanced_layouts', true) && editorContentStyles.layoutResponsiveStylesForView, isComment && editorContentStyles.commentEditorStyles, isComment && editorContentStyles.tableCommentEditorStyles, (isComment || isChromeless) && editorContentStyles.nonFullPageContainerTypeStyles, isFullPage && editorContentStyles.fullPageEditorStyles, isFullPage && editorContentStyles.scrollbarStyles, editorContentStyles.firstCodeBlockWithNoMargin, editorContentStyles.firstBlockNodeStyles, editorContentStyles.firstNodeWidgetFixStyles, editorContentStyles.mentionNodeStyles, colorMode === 'dark' && editorContentStyles.agentMentionShimmerDarkMode, editorContentStyles.mentionsSelectionStyles, expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ? editorContentStyles.scaledEmojiStyles : editorContentStyles.emojiStyles, isFloatingTocEnabled ? editorContentStyles.directEmojiSelectionStyles : editorContentStyles.emojiSelectionStyles, contentMode === 'compact' && isDense && expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.scaledEmojiDenseStyles, contentMode === 'compact' && isDense && !expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.emojiDenseStyles, editorContentStyles.panelViewStyles, editorContentStyles.mediaGroupStyles, editorContentStyles.mediaAlignmentStyles, editorContentStyles.tableLayoutFixesWithFontSize, editorContentStyles.tableContainerStyles, editorContentStyles.tableSharedStyle, isExperimentEnabled('platform_editor_table_css_overflow_shadow') && editorContentStyles.tableScrollInlineShadowStyles, (browser.gecko || browser.ie || browser.mac && browser.chrome) && editorContentStyles.tableSharedStyleBackgroundClipFix, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) ? editorContentStyles.tableSharedStyle_with_platform_editor_table_q4_loveability : editorContentStyles.tableSharedStyle_without_platform_editor_table_q4_loveability, expValEquals('platform_editor_table_menu_updates', 'isEnabled', true) && editorContentStyles.tableSharedStyle_with_platform_editor_table_menu_updates, fg('platform_editor_bordered_panel_nested_in_table') && editorContentStyles.tableSharedStyle_with_platform_editor_bordered_panel_nested_in_table, editorContentStyles.tableEmptyRowStyles, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) && editorContentStyles.tableRoundedCornerStyles, editorContentStyles.tableContentModeStyles, editorContentStyles.tableContentModeExtensionContainmentStyles, editorContentStyles.tableContentModeNestedTableStyles, editorContentStyles.tableCellBackgroundColorOverrides, editorContentStyles.hyperLinkFloatingToolbarStyles, editorContentStyles.selectionToolbarAnimationStyles, editorContentStyles.blockquoteDangerStyles, editorContentStyles.textDangerStyles, editorContentStyles.listDangerStyles, editorContentStyles.dangerDateStyles, editorContentStyles.emojiDangerStyles, editorContentStyles.mentionDangerStyles, editorContentStyles.decisionDangerStyles, editorContentStyles.statusDangerStyles, editorContentStyles.dangerRuleStyles, editorContentStyles.mediaDangerStyles, editorContentStyles.nestedPanelDangerStyles, isBlockSpacingEnabled && editorContentStyles.blockSpacingVarStyles, isBlockSpacingEnabled && isDense && editorContentStyles.blockSpacingVarScaledStyles, className || undefined]),
481
480
  ref: ref,
482
481
  "data-editor-scroll-container": isScrollable ? 'true' : undefined,
@@ -28,7 +28,7 @@ import { blockMarksStyles } from './styles/blockMarksStyles';
28
28
  import { blockSpacingVarScaledStyles, blockSpacingVarStyles } from './styles/blockSpacingStyles';
29
29
  import { blockquoteDangerStyles, blockquoteSelectedNodeStyles, blocktypeStyles, blocktypeStylesNestedDnd, blocktypeStyles_fg_platform_editor_typography_ugc, headingScrollMarginStyles, listDangerStyles, listSelectedNodeStyles, textDangerStyles, textSelectedNodeStyles } from './styles/blockTypeStyles';
30
30
  import { codeBlockStyles, codeBlockStylesWithEmUnits, firstCodeBlockWithNoMargin } from './styles/codeBlockStyles';
31
- import { codeMarkStyles, codeMarkStylesA11yFix } from './styles/codeMarkStyles';
31
+ import { codeMarkStyles } from './styles/codeMarkStyles';
32
32
  import { commentEditorStyles } from './styles/commentEditorStyles';
33
33
  import { nonFullPageContainerTypeStyles } from './styles/containerTypeStyles';
34
34
  import { contributorTagStyles } from './styles/contributorTagStyles';
@@ -405,9 +405,7 @@ export const EditorContentContainerEmotion = /*#__PURE__*/React.forwardRef((prop
405
405
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
406
406
  blocktypeStylesNestedDnd,
407
407
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
408
- codeMarkStyles, expValEquals('platform_editor_a11y_scrollable_region', 'isEnabled', true) &&
409
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
410
- codeMarkStylesA11yFix,
408
+ codeMarkStyles,
411
409
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
412
410
  textColorStyles,
413
411
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
@@ -25,21 +25,8 @@ export const codeMarkStyles = css({
25
25
  // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
26
26
  fontSize: '0.875em',
27
27
  fontWeight: "var(--ds-font-weight-regular, 400)",
28
- overflow: 'auto',
28
+ overflow: 'unset',
29
29
  overflowWrap: 'break-word',
30
30
  whiteSpace: 'pre-wrap'
31
31
  }
32
- });
33
- /**
34
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
35
- * If you need to make changes here, also update the corresponding style in
36
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
37
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
38
- */
39
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
40
- export const codeMarkStylesA11yFix = css({
41
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
42
- '.code': {
43
- overflow: 'unset'
44
- }
45
32
  });
@@ -1,3 +1,3 @@
1
1
  export const name = "@atlaskit/editor-core";
2
2
  // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
3
- export const version = "229.1.9";
3
+ export const version = "231.0.0";
@@ -20,8 +20,7 @@
20
20
  .cc-1na1fzg .ProseMirror h1{font:var(--editor-font-ugc-token-heading-h1);margin-bottom:0;margin-top:1.45833em}.cc-1na1fzg .ProseMirror h1 strong{font-weight:var(--editor-font-ugc-token-weight-heading-bold)}.cc-1na1fzg .ProseMirror h2{font:var(--editor-font-ugc-token-heading-h2);margin-bottom:0;margin-top:1.4em}.cc-1na1fzg .ProseMirror h2 strong{font-weight:var(--editor-font-ugc-token-weight-heading-bold)}.cc-1na1fzg .ProseMirror h3{font:var(--editor-font-ugc-token-heading-h3);margin-bottom:0;margin-top:1.31249em}.cc-1na1fzg .ProseMirror h3 strong{font-weight:var(--editor-font-ugc-token-weight-heading-bold)}.cc-1na1fzg .ProseMirror h4{font:var(--editor-font-ugc-token-heading-h4);margin-top:1.25em}.cc-1na1fzg .ProseMirror h4 strong{font-weight:var(--editor-font-ugc-token-weight-heading-bold)}.cc-1na1fzg .ProseMirror h5{font:var(--editor-font-ugc-token-heading-h5);margin-top:1.45833em;text-transform:none}.cc-1na1fzg .ProseMirror h5 strong{font-weight:var(--editor-font-ugc-token-weight-heading-bold)}.cc-1na1fzg .ProseMirror h6{font:var(--editor-font-ugc-token-heading-h6);margin-top:1.59091em;text-transform:none}.cc-1na1fzg .ProseMirror h6 strong{font-weight:var(--editor-font-ugc-token-weight-heading-bold)}
21
21
  .cc-1l6yvlg .ProseMirror .code-content--wrapped>.code-block-content-wrapper>.code-content{margin-right:var(--ds-space-100,8px)}.cc-1l6yvlg .ProseMirror .code-content--wrapped>.code-block-content-wrapper>.code-content code{display:block;word-break:break-word;white-space:pre-wrap}.cc-1l6yvlg .ProseMirror .code-block-content-wrapper>.code-content{display:flex;flex-grow:1;flex-shrink:1;flex-basis:0%}.cc-1l6yvlg .ProseMirror .code-block-content-wrapper>.code-content code{flex-grow:1;white-space:pre}.cc-1l6yvlg .ProseMirror .code-block{position:relative;background-color:var(--ds-surface-raised,#fff);border-radius:var(--ds-radius-small,3px);margin-top:.75rem;margin-right:0;margin-bottom:0;margin-left:0;font-family:var(--ds-font-family-code,"Atlassian Mono",ui-monospace,Menlo,"Segoe UI Mono","Ubuntu Mono",monospace);min-width:3pc;cursor:pointer;clear:both;white-space:normal}.cc-1l6yvlg .ProseMirror .code-block .code-block-gutter-pseudo-element:before{content:attr(data-label)}.cc-1l6yvlg .ProseMirror .code-block .code-block--start{position:absolute;visibility:hidden;height:1.5rem;top:0;left:0}.cc-1l6yvlg .ProseMirror .code-block .code-block--end{position:absolute;visibility:hidden;height:1.5rem;bottom:0;right:0}.cc-1l6yvlg .ProseMirror .code-block .code-block-content-wrapper{background-image:linear-gradient(to right,var(--ds-background-neutral,#0515240f) var(--ds-space-300,24px),transparent var(--ds-space-300,24px)),linear-gradient(to right,var(--ds-surface-raised,#fff) var(--ds-space-300,24px),transparent var(--ds-space-300,24px)),linear-gradient(to left,var(--ds-background-neutral,#0515240f) var(--ds-space-100,8px),transparent var(--ds-space-100,8px)),linear-gradient(to left,var(--ds-surface-raised,#fff) var(--ds-space-100,8px),transparent var(--ds-space-100,8px)),linear-gradient(to left,var(--ds-shadow-overflow-spread,#1e1f2129) 0,var(--ds-UNSAFE-transparent,transparent) var(--ds-space-100,8px)),linear-gradient(to left,var(--ds-shadow-overflow-perimeter,#1e1f211f) 0,var(--ds-UNSAFE-transparent,transparent) var(--ds-space-100,8px)),linear-gradient(to right,var(--ds-shadow-overflow-spread,#1e1f2129) 0,var(--ds-UNSAFE-transparent,transparent) var(--ds-space-100,8px)),linear-gradient(to right,var(--ds-shadow-overflow-perimeter,#1e1f211f) 0,var(--ds-UNSAFE-transparent,transparent) var(--ds-space-100,8px));position:relative;background-color:var(--ds-background-neutral,#0515240f);display:flex;border-radius:var(--ds-radius-small,3px);width:100%;counter-reset:line;overflow-x:auto;background-repeat:no-repeat;background-attachment:local,local,local,local,scroll,scroll,scroll,scroll;background-size:var(--ds-space-300,24px) 100%,var(--ds-space-300,24px) 100%,var(--ds-space-100,8px) 100%,var(--ds-space-100,8px) 100%,var(--ds-space-100,8px) 100%,1px 100%,var(--ds-space-100,8px) 100%,1px 100%;background-position:0 0,0 0,100% 0,100% 0,100% 0,100% 0,0 0,0 0;overflow-y:hidden}.cc-1l6yvlg .ProseMirror .code-block .line-number-gutter{background-color:var(--ds-background-neutral,#0515240f);position:relative;width:var(--lineNumberGutterWidth,2rem);padding:var(--ds-space-100,8px);flex-shrink:0;font-size:.875rem;box-sizing:content-box}.cc-1l6yvlg .ProseMirror .code-block .line-number-gutter:before{content:"1";visibility:hidden;font-size:.875rem;line-height:1.5rem}.cc-1l6yvlg .ProseMirror .code-block .code-content code{tab-size:4;cursor:text;color:var(--ds-text,#292a2e);border-radius:var(--ds-radius-small,3px);margin:var(--ds-space-100,8px);font-size:.875rem;line-height:1.5rem}.cc-1l6yvlg .ProseMirror .code-block .code-content__line-number--wrapped{pointer-events:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;width:var(--lineNumberGutterWidth,2rem);left:0;position:absolute;font-size:.875rem;padding:0 var(--ds-space-100,8px);line-height:1.5rem;text-align:right;color:var(--ds-text-subtlest,#6b6e76);box-sizing:content-box}.cc-1l6yvlg .ProseMirror li>.code-block{margin-top:.75rem;margin-right:0;margin-bottom:0;margin-left:0}.cc-1l6yvlg .ProseMirror li>.ProseMirror-gapcursor:first-child+.code-block, .cc-1l6yvlg .ProseMirror li>.code-block:first-child{margin-top:0}.cc-1l6yvlg .ProseMirror li>div:last-of-type.code-block, .cc-1l6yvlg .ProseMirror li>pre:last-of-type.code-block{margin-bottom:.75rem}.cc-1l6yvlg .ProseMirror .code-block.ak-editor-selected-node:not(.danger){box-shadow:0 0 0 1px var(--ds-border-selected,#1868db);border-color:transparent;position:relative;-webkit-user-select:text}.cc-1l6yvlg .ProseMirror .code-block.ak-editor-selected-node:not(.danger):before{position:absolute;content:"";left:0;right:0;top:0;bottom:0;width:100%;pointer-events:none;z-index:12;background-color:var(--ds-blanket-selected,#388bff14)}.cc-1l6yvlg .ProseMirror .code-block.ak-editor-selected-node:not(.danger) ::selection, .cc-1l6yvlg .ProseMirror .code-block.ak-editor-selected-node:not(.danger)::selection{background-color:transparent}.cc-1l6yvlg .ProseMirror .code-block.ak-editor-selected-node:not(.danger) ::-moz-selection, .cc-1l6yvlg .ProseMirror .code-block.ak-editor-selected-node:not(.danger)::-moz-selection{background-color:transparent}.cc-1l6yvlg .ProseMirror .danger.code-block{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)}.cc-1l6yvlg .ProseMirror .danger.code-block .line-number-gutter{background-color:var(--ds-background-danger,#ffeceb);color:var(--ds-text-danger,#ae2e24)}.cc-1l6yvlg .ProseMirror .danger.code-block .line-number-gutter:after{height:100%;content:"";position:absolute;left:0;top:0;width:24px;background-color:var(--ds-blanket-danger,#ef5c4814)}.cc-1l6yvlg .ProseMirror .danger.code-block .code-content{background-color:var(--ds-blanket-danger,#ef5c4814)}.cc-1l6yvlg .ProseMirror .danger .code-block .line-number-gutter{background-color:var(--ds-background-danger,#ffeceb);color:var(--ds-text-danger,#ae2e24)}.cc-1l6yvlg .ProseMirror .danger .code-block .line-number-gutter:after{height:100%;content:"";position:absolute;left:0;top:0;width:24px;background-color:var(--ds-blanket-danger,#ef5c4814)}.cc-1l6yvlg .ProseMirror .danger .code-block .code-content{background-color:var(--ds-blanket-danger,#ef5c4814)}
22
22
  .cc-1agwr6s .ProseMirror .code-block .code-block-gutter-pseudo-element:before{display:flow;line-height:1.5em}.cc-1agwr6s .ProseMirror .code-block .code-content code{font-size:.875em;line-height:1.5em}
23
- .cc-9o9ss2 .code{--ds--code--bg-color:var(--ds-background-neutral,#0515240f);display:inline;padding-top:2px;padding-right:.5ch;padding-bottom:2px;padding-left:.5ch;background-color:var(--ds--code--bg-color,var(--ds-background-neutral,#0515240f));border-radius:var(--ds-radius-small,3px);border-style:none;-webkit-box-decoration-break:clone;box-decoration-break:clone;color:var(--ds-text,#292a2e);font-family:var(--ds-font-family-code,"Atlassian Mono",ui-monospace,Menlo,"Segoe UI Mono","Ubuntu Mono",monospace);font-size:.875em;font-weight:var(--ds-font-weight-regular,400);overflow-x:auto;overflow-y:auto;overflow-wrap:break-word;white-space:pre-wrap}
24
- .cc-db0kku .code{overflow-x:unset;overflow-y:unset}
23
+ .cc-9o9ss2 .code{--ds--code--bg-color:var(--ds-background-neutral,#0515240f);display:inline;padding-top:2px;padding-right:.5ch;padding-bottom:2px;padding-left:.5ch;background-color:var(--ds--code--bg-color,var(--ds-background-neutral,#0515240f));border-radius:var(--ds-radius-small,3px);border-style:none;-webkit-box-decoration-break:clone;box-decoration-break:clone;color:var(--ds-text,#292a2e);font-family:var(--ds-font-family-code,"Atlassian Mono",ui-monospace,Menlo,"Segoe UI Mono","Ubuntu Mono",monospace);font-size:.875em;font-weight:var(--ds-font-weight-regular,400);overflow-x:unset;overflow-y:unset;overflow-wrap:break-word;white-space:pre-wrap}
25
24
  .cc-pk1css{flex-grow:1}.cc-pk1css{overflow-x:clip}.cc-pk1css{line-height:24px}.cc-pk1css .ProseMirror{margin-top:var(--ds-space-150,9pt);margin-right:var(--ds-space-150,9pt);margin-bottom:var(--ds-space-150,9pt);margin-left:var(--ds-space-150,9pt)}.cc-pk1css .gridParent{margin-left:var(--ds-space-025,2px);margin-right:var(--ds-space-025,2px);width:calc(100% + 2px)}.cc-pk1css{padding-top:var(--ds-space-250,20px)}.cc-pk1css{padding-right:var(--ds-space-250,20px)}.cc-pk1css{padding-bottom:var(--ds-space-250,20px)}.cc-pk1css{padding-left:var(--ds-space-250,20px)}
26
25
  .cc-fsbph9{container-type:inline-size}
27
26
  .cc-1wz6obl .ProseMirror.ProseMirror-focused:has(.ProseMirror-mark-boundary-cursor){caret-color:transparent}.cc-1wz6obl .ProseMirror:not(.ProseMirror-focused) .ProseMirror-mark-boundary-cursor{display:none}.cc-1wz6obl .ProseMirror:has(.ProseMirror-hide-cursor){caret-color:transparent}
@@ -184,7 +184,6 @@ var editorContentStyles = {
184
184
  codeBlockStyles: "cc-1l6yvlg",
185
185
  codeBlockStylesWithEmUnits: "cc-1agwr6s",
186
186
  codeMarkStyles: "cc-9o9ss2",
187
- codeMarkStylesA11yFix: "cc-db0kku",
188
187
  commentEditorStyles: "cc-pk1css",
189
188
  nonFullPageContainerTypeStyles: "cc-fsbph9",
190
189
  cursorStyles: "cc-1wz6obl",
@@ -420,7 +419,7 @@ export var EditorContentContainerCompiled = /*#__PURE__*/React.forwardRef(functi
420
419
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
421
420
  className: ax([editorContentStyles.baseStyles, editorContentStyles.maxModeReizeFixStyles, editorContentStyles.baseStylesMaxContainerWidthFixes, editorContentStyles.editorGutterPaddingBaseStyles, editorExperiment('platform_editor_preview_panel_responsiveness', true, {
422
421
  exposure: true
423
- }) && editorContentStyles.editorLargeGutterPuddingReducedBaseStyles, editorContentStyles.whitespaceStyles, editorContentStyles.indentationStyles, editorContentStyles.fontSizeStyles, editorContentStyles.shadowStyles, editorContentStyles.InlineNodeViewSharedStyles, editorContentStyles.hideSelectionStyles, editorContentStyles.hideCursorWhenHideSelectionStyles, editorContentStyles.selectedNodeStyles, editorContentStyles.cursorStyles, editorContentStyles.firstFloatingToolbarButtonStyles, editorContentStyles.placeholderTextStyles, editorContentStyles.placeholderStyles, editorExperiment('platform_editor_controls', 'variant1') && editorContentStyles.placeholderOverflowStyles, editorContentStyles.codeBlockStyles, contentMode === 'compact' && editorContentStyles.codeBlockStylesWithEmUnits, editorContentStyles.editorUGCTokensRefreshed, editorContentStyles.editorUGCSmallText, editorContentStyles.blocktypeStyles, editorContentStyles.blocktypeStylesRtlBlockquote, isFloatingTocEnabled && editorContentStyles.headingScrollMarginStyles, editorContentStyles.blockquoteSelectedNodeStyles, editorContentStyles.listSelectedNodeStyles, editorContentStyles.textSelectedNodeStyles, editorContentStyles.blocktypeStyles_fg_platform_editor_typography_ugc, editorContentStyles.blocktypeStylesNestedDnd, editorContentStyles.codeMarkStyles, expValEquals('platform_editor_a11y_scrollable_region', 'isEnabled', true) && editorContentStyles.codeMarkStylesA11yFix, editorContentStyles.textColorStyles, editorContentStyles.backgroundColorStyles, !expValEquals('platform_editor_lovability_text_bg_color', 'isEnabled', true) && editorContentStyles.highlightLinksUnsetStyles, editorContentStyles.textHighlightPaddingStyles, editorContentStyles.listsStyles, editorContentStyles.listItemHiddenMarkerStyles, editorContentStyles.diffListStyles, contentMode === 'compact' && isDense && editorContentStyles.listsDenseStyles, isFullPage && editorContentStyles.listsStylesMarginLayoutShiftFix, editorContentStyles.ruleStyles, isExperimentEnabled('platform_editor_lovability_dividers_attributes') && editorContentStyles.ruleWithAttrsStyles, editorContentStyles.smartCardDiffStyles, expValEquals('platform_editor_enghealth_a11y_jan_fixes', 'isEnabled', true) ? editorContentStyles.showDiffDeletedNodeStylesNew : editorContentStyles.showDiffDeletedNodeStyles, editorContentStyles.mediaStyles, isExperimentEnabled('platform_editor_vanilla_node_views_phase1') && editorContentStyles.vanillaCaptionStyles, contentMode === 'compact' && editorContentStyles.mediaCaptionStyles, editorContentStyles.firstWrappedMediaStyles, editorContentStyles.telepointerStyle, /* This needs to be after telepointer styles as some overlapping rules have equal specificity, and so the order is significant */
422
+ }) && editorContentStyles.editorLargeGutterPuddingReducedBaseStyles, editorContentStyles.whitespaceStyles, editorContentStyles.indentationStyles, editorContentStyles.fontSizeStyles, editorContentStyles.shadowStyles, editorContentStyles.InlineNodeViewSharedStyles, editorContentStyles.hideSelectionStyles, editorContentStyles.hideCursorWhenHideSelectionStyles, editorContentStyles.selectedNodeStyles, editorContentStyles.cursorStyles, editorContentStyles.firstFloatingToolbarButtonStyles, editorContentStyles.placeholderTextStyles, editorContentStyles.placeholderStyles, editorExperiment('platform_editor_controls', 'variant1') && editorContentStyles.placeholderOverflowStyles, editorContentStyles.codeBlockStyles, contentMode === 'compact' && editorContentStyles.codeBlockStylesWithEmUnits, editorContentStyles.editorUGCTokensRefreshed, editorContentStyles.editorUGCSmallText, editorContentStyles.blocktypeStyles, editorContentStyles.blocktypeStylesRtlBlockquote, isFloatingTocEnabled && editorContentStyles.headingScrollMarginStyles, editorContentStyles.blockquoteSelectedNodeStyles, editorContentStyles.listSelectedNodeStyles, editorContentStyles.textSelectedNodeStyles, editorContentStyles.blocktypeStyles_fg_platform_editor_typography_ugc, editorContentStyles.blocktypeStylesNestedDnd, editorContentStyles.codeMarkStyles, editorContentStyles.textColorStyles, editorContentStyles.backgroundColorStyles, !expValEquals('platform_editor_lovability_text_bg_color', 'isEnabled', true) && editorContentStyles.highlightLinksUnsetStyles, editorContentStyles.textHighlightPaddingStyles, editorContentStyles.listsStyles, editorContentStyles.listItemHiddenMarkerStyles, editorContentStyles.diffListStyles, contentMode === 'compact' && isDense && editorContentStyles.listsDenseStyles, isFullPage && editorContentStyles.listsStylesMarginLayoutShiftFix, editorContentStyles.ruleStyles, isExperimentEnabled('platform_editor_lovability_dividers_attributes') && editorContentStyles.ruleWithAttrsStyles, editorContentStyles.smartCardDiffStyles, expValEquals('platform_editor_enghealth_a11y_jan_fixes', 'isEnabled', true) ? editorContentStyles.showDiffDeletedNodeStylesNew : editorContentStyles.showDiffDeletedNodeStyles, editorContentStyles.mediaStyles, isExperimentEnabled('platform_editor_vanilla_node_views_phase1') && editorContentStyles.vanillaCaptionStyles, contentMode === 'compact' && editorContentStyles.mediaCaptionStyles, editorContentStyles.firstWrappedMediaStyles, editorContentStyles.telepointerStyle, /* This needs to be after telepointer styles as some overlapping rules have equal specificity, and so the order is significant */
424
423
  editorContentStyles.telepointerColorAndCommonStyle, colorMode === 'dark' && editorContentStyles.telepointerColorAndCommonStyleDarkMode, expValEqualsNoExposure('platform_editor_agent_be_streaming', 'isEnabled', true) && editorContentStyles.agentShimmerStyles, editorContentStyles.gapCursorStyles, editorContentStyles.gapCursorStylesVisibilityFix, editorContentStyles.panelStyles, editorContentStyles.nestedPanelBorderStylesMixin, editorContentStyles.panelStylesMixinNestedDnd, editorContentStyles.panelStylesMixin, editorContentStyles.mentionsStyles, editorContentStyles.tasksAndDecisionsStyles, contentMode === 'compact' && isDense && editorContentStyles.tasksAndDecisionsDenseStyles, editorContentStyles.gridStyles, editorContentStyles.blockMarksStyles, editorContentStyles.dateStyles, editorContentStyles.extensionStyles, fg('platform_editor_lovability_resize_exts_gracefully') && editorContentStyles.extensionWithBreakoutStyles, contentMode === 'compact' && editorContentStyles.extensionStylesDense, editorContentStyles.bodiedExtensionLayoutShiftFix, editorContentStyles.extensionDiffStyles, editorContentStyles.expandStylesBase, !useStandardNodeWidth && editorContentStyles.expandStyles, contentMode === 'compact' && isDense && editorContentStyles.expandDenseStyles, editorContentStyles.expandStylesMixinNestedDnd, editorContentStyles.expandStylesMixin_fg_platform_visual_refresh_icons, isChromeless && editorContentStyles.expandStylesMixin_chromeless_expand_fix, editorContentStyles.findReplaceStyles, editorContentStyles.findReplaceStylesWithCodeblockColorContrastFix, editorContentStyles.findReplaceStylesWithRefSyncBlock, editorContentStyles.textHighlightStyle, editorContentStyles.decisionStyles, expValEqualsNoExposure('platform_editor_blocktaskitem_node_tenantid', 'isEnabled', true) ? editorContentStyles.taskItemStylesWithBlockTaskItem : editorContentStyles.taskItemStyles, editorContentStyles.taskItemCheckboxStyles, editorContentStyles.decisionIconWithVisualRefresh, editorContentStyles.statusStyles, isStatusStylesTeam26 ? editorContentStyles.statusStylesTeam26 : fg('platform-component-visual-refresh') ? editorContentStyles.statusStylesMixin_fg_platform_component_visual_refresh_with_search_match : editorContentStyles.statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match, isStatusStylesTeam26 && isUpdateStatusColorsEnabled && editorContentStyles.statusStylesNamedAccent, isStatusStylesTeam26 && !isUpdateStatusColorsEnabled && editorContentStyles.statusStylesNamedSemantic, (fg('platform_editor_gracefully_render_status_color') || isUpdateStatusColorsEnabled) && editorContentStyles.statusStylesHexAccent, fg('platform_editor_ai_show_diff_patch_2') && editorContentStyles.deletedStatusStrikeStyles, editorContentStyles.annotationStyles, editorContentStyles.smartCardStylesWithSearchMatchAndBlockMenuDangerStyles, editorExperiment('platform_editor_preview_panel_responsiveness', true) && editorContentStyles.smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness, editorContentStyles.editorControlsSmartCardStyles, editorContentStyles.embedCardStyles, editorContentStyles.unsupportedStyles, editorContentStyles.vanillaTooltipDefaultStyles, fg('confluence_ncs_step_diffing_version_history') && editorContentStyles.contributorTagStyles, isExperimentEnabled('platform_editor_vanilla_node_views_phase1') && editorContentStyles.vanillaUnsupportedStyles, editorContentStyles.resizerStyles, expValEqualsNoExposure('cc-maui-experiment', 'isEnabled', true) && expValEquals('databases-native-embeds-v2', 'isEnabled', true) && editorContentStyles.resizerBottomHandleStyles, editorContentStyles.layoutBaseStyles, editorContentStyles.alignMultipleWrappedImageInLayoutStyles, editorContentStyles.syncBlockStylesBase, fg('platform-dst-tokens-finesse') && editorContentStyles.syncBlockSelectedStyles, !useStandardNodeWidth && editorContentStyles.syncBlockStyles, editorContentStyles.syncBlockOverflowStyles, editorContentStyles.syncBlockFirstNodeStyles, editorContentStyles.syncBlockTextSelectionStyles, isSyncBlockActivationEnabled && editorContentStyles.syncBlockInteractiveCursorStyles, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutBaseStylesAdvanced, editorExperiment('advanced_layouts', true) ? editorContentStyles.layoutSectionStylesAdvanced : editorContentStyles.layoutSectionStylesNotAdvanced, editorExperiment('advanced_layouts', true) && !fg('platform-dst-top-layer-tooltip') && editorContentStyles.layoutDragHandleWrapperStylesLegacy, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnDividerStyles, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnDividerStylesNestedDnD, editorExperiment('advanced_layouts', true) ? editorContentStyles.layoutColumnStylesAdvanced : editorContentStyles.layoutColumnStylesNotAdvanced, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnResizeStyles, editorExperiment('advanced_layouts', true) ? editorContentStyles.layoutSelectedStylesAdvanced : editorContentStyles.layoutSelectedStylesNotAdvanced, editorContentStyles.layoutSelectedStylesAdvancedFix, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnResponsiveStyles, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutResponsiveBaseStyles, editorContentStyles.layoutBaseStylesNestedDndExcludingBodiedSync, editorContentStyles.layoutColumnMartinTopFixes, editorContentStyles.smartLinksInLivePagesStyles, editorContentStyles.linkingVisualRefreshV1Styles, editorContentStyles.dateVanillaStyles, contentMode === 'compact' ? editorContentStyles.paragraphStylesWithScaledMargin : editorContentStyles.paragraphStylesUGCRefreshed, editorContentStyles.linkStyles, browser.safari && editorContentStyles.listsStylesSafariFix, editorContentStyles.pragmaticResizerStylesSyncedBlock, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticResizerStyles, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && expValEqualsNoExposure('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesPanelAndRule, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && isExperimentEnabled('platform_editor_lovability_resize_extensions') && editorContentStyles.pragmaticResizerStylesExtensions, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesCodeBlockSyncedBlockPatch, editorExperiment('advanced_layouts', true) && expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticStylesLayoutFirstNodeResizeHandleFix, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesForTooltip, editorExperiment('platform_editor_preview_panel_responsiveness', true) && (editorExperiment('advanced_layouts', true) || expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true)) && editorContentStyles.pragmaticResizerStylesWithReducedEditorGutter, editorContentStyles.aiPanelBaseStyles, isFirefox && editorContentStyles.aiPanelBaseFirefoxStyles, colorMode === 'dark' && editorContentStyles.aiPanelDarkStyles, colorMode === 'dark' && isFirefox && editorContentStyles.aiPanelDarkFirefoxStyles, viewMode === 'view' && editorContentStyles.layoutStylesForView, viewMode === 'view' && editorExperiment('advanced_layouts', true) && editorContentStyles.layoutSelectedStylesForViewAdvanced, viewMode === 'view' && editorExperiment('advanced_layouts', false) && editorContentStyles.layoutSelectedStylesForViewNotAdvanced, viewMode === 'view' && editorExperiment('advanced_layouts', true) && editorContentStyles.layoutResponsiveStylesForView, isComment && editorContentStyles.commentEditorStyles, isComment && editorContentStyles.tableCommentEditorStyles, (isComment || isChromeless) && editorContentStyles.nonFullPageContainerTypeStyles, isFullPage && editorContentStyles.fullPageEditorStyles, isFullPage && editorContentStyles.scrollbarStyles, editorContentStyles.firstCodeBlockWithNoMargin, editorContentStyles.firstBlockNodeStyles, editorContentStyles.firstNodeWidgetFixStyles, editorContentStyles.mentionNodeStyles, colorMode === 'dark' && editorContentStyles.agentMentionShimmerDarkMode, editorContentStyles.mentionsSelectionStyles, expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ? editorContentStyles.scaledEmojiStyles : editorContentStyles.emojiStyles, isFloatingTocEnabled ? editorContentStyles.directEmojiSelectionStyles : editorContentStyles.emojiSelectionStyles, contentMode === 'compact' && isDense && expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.scaledEmojiDenseStyles, contentMode === 'compact' && isDense && !expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.emojiDenseStyles, editorContentStyles.panelViewStyles, editorContentStyles.mediaGroupStyles, editorContentStyles.mediaAlignmentStyles, editorContentStyles.tableLayoutFixesWithFontSize, editorContentStyles.tableContainerStyles, editorContentStyles.tableSharedStyle, isExperimentEnabled('platform_editor_table_css_overflow_shadow') && editorContentStyles.tableScrollInlineShadowStyles, (browser.gecko || browser.ie || browser.mac && browser.chrome) && editorContentStyles.tableSharedStyleBackgroundClipFix, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) ? editorContentStyles.tableSharedStyle_with_platform_editor_table_q4_loveability : editorContentStyles.tableSharedStyle_without_platform_editor_table_q4_loveability, expValEquals('platform_editor_table_menu_updates', 'isEnabled', true) && editorContentStyles.tableSharedStyle_with_platform_editor_table_menu_updates, fg('platform_editor_bordered_panel_nested_in_table') && editorContentStyles.tableSharedStyle_with_platform_editor_bordered_panel_nested_in_table, editorContentStyles.tableEmptyRowStyles, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) && editorContentStyles.tableRoundedCornerStyles, editorContentStyles.tableContentModeStyles, editorContentStyles.tableContentModeExtensionContainmentStyles, editorContentStyles.tableContentModeNestedTableStyles, editorContentStyles.tableCellBackgroundColorOverrides, editorContentStyles.hyperLinkFloatingToolbarStyles, editorContentStyles.selectionToolbarAnimationStyles, editorContentStyles.blockquoteDangerStyles, editorContentStyles.textDangerStyles, editorContentStyles.listDangerStyles, editorContentStyles.dangerDateStyles, editorContentStyles.emojiDangerStyles, editorContentStyles.mentionDangerStyles, editorContentStyles.decisionDangerStyles, editorContentStyles.statusDangerStyles, editorContentStyles.dangerRuleStyles, editorContentStyles.mediaDangerStyles, editorContentStyles.nestedPanelDangerStyles, isBlockSpacingEnabled && editorContentStyles.blockSpacingVarStyles, isBlockSpacingEnabled && isDense && editorContentStyles.blockSpacingVarScaledStyles, className || undefined]),
425
424
  ref: ref,
426
425
  "data-editor-scroll-container": isScrollable ? 'true' : undefined,
@@ -31,7 +31,7 @@ import { blockMarksStyles } from './styles/blockMarksStyles';
31
31
  import { blockSpacingVarScaledStyles, blockSpacingVarStyles } from './styles/blockSpacingStyles';
32
32
  import { blockquoteDangerStyles, blockquoteSelectedNodeStyles, blocktypeStyles, blocktypeStylesNestedDnd, blocktypeStyles_fg_platform_editor_typography_ugc, headingScrollMarginStyles, listDangerStyles, listSelectedNodeStyles, textDangerStyles, textSelectedNodeStyles } from './styles/blockTypeStyles';
33
33
  import { codeBlockStyles, codeBlockStylesWithEmUnits, firstCodeBlockWithNoMargin } from './styles/codeBlockStyles';
34
- import { codeMarkStyles, codeMarkStylesA11yFix } from './styles/codeMarkStyles';
34
+ import { codeMarkStyles } from './styles/codeMarkStyles';
35
35
  import { commentEditorStyles } from './styles/commentEditorStyles';
36
36
  import { nonFullPageContainerTypeStyles } from './styles/containerTypeStyles';
37
37
  import { contributorTagStyles } from './styles/contributorTagStyles';
@@ -400,9 +400,7 @@ export var EditorContentContainerEmotion = /*#__PURE__*/React.forwardRef(functio
400
400
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
401
401
  blocktypeStylesNestedDnd,
402
402
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
403
- codeMarkStyles, expValEquals('platform_editor_a11y_scrollable_region', 'isEnabled', true) &&
404
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
405
- codeMarkStylesA11yFix,
403
+ codeMarkStyles,
406
404
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
407
405
  textColorStyles,
408
406
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
@@ -25,21 +25,8 @@ export var codeMarkStyles = css({
25
25
  // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
26
26
  fontSize: '0.875em',
27
27
  fontWeight: "var(--ds-font-weight-regular, 400)",
28
- overflow: 'auto',
28
+ overflow: 'unset',
29
29
  overflowWrap: 'break-word',
30
30
  whiteSpace: 'pre-wrap'
31
31
  }
32
- });
33
- /**
34
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
35
- * If you need to make changes here, also update the corresponding style in
36
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
37
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
38
- */
39
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
40
- export var codeMarkStylesA11yFix = css({
41
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
42
- '.code': {
43
- overflow: 'unset'
44
- }
45
32
  });
@@ -1,3 +1,3 @@
1
1
  export var name = "@atlaskit/editor-core";
2
2
  // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
3
- export var version = "229.1.9";
3
+ export var version = "231.0.0";
@@ -6,10 +6,3 @@ import type { SerializedStyles } from '@emotion/react';
6
6
  * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
7
7
  */
8
8
  export declare const codeMarkStyles: SerializedStyles;
9
- /**
10
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
11
- * If you need to make changes here, also update the corresponding style in
12
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
13
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
14
- */
15
- export declare const codeMarkStylesA11yFix: SerializedStyles;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "230.0.0",
3
+ "version": "231.0.1",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -49,36 +49,36 @@
49
49
  "@atlaskit/browser-apis": "^1.2.0",
50
50
  "@atlaskit/button": "^25.4.0",
51
51
  "@atlaskit/css": "^1.1.0",
52
- "@atlaskit/editor-json-transformer": "^9.8.0",
53
- "@atlaskit/editor-plugin-block-menu": "^19.0.0",
54
- "@atlaskit/editor-plugin-connectivity": "^20.0.0",
55
- "@atlaskit/editor-plugin-quick-insert": "^20.0.0",
56
- "@atlaskit/editor-plugin-selection-extension": "^23.0.0",
57
- "@atlaskit/editor-plugin-user-preferences": "^18.0.0",
52
+ "@atlaskit/editor-json-transformer": "^10.0.0",
53
+ "@atlaskit/editor-plugin-block-menu": "^20.0.0",
54
+ "@atlaskit/editor-plugin-connectivity": "^21.0.0",
55
+ "@atlaskit/editor-plugin-quick-insert": "^21.1.0",
56
+ "@atlaskit/editor-plugin-selection-extension": "^24.0.0",
57
+ "@atlaskit/editor-plugin-user-preferences": "^19.0.0",
58
58
  "@atlaskit/editor-plugins": "^16.1.0",
59
59
  "@atlaskit/editor-prosemirror": "^9.0.0",
60
60
  "@atlaskit/editor-shared-styles": "^4.3.0",
61
- "@atlaskit/editor-ssr-renderer": "^15.0.0",
61
+ "@atlaskit/editor-ssr-renderer": "^16.0.0",
62
62
  "@atlaskit/editor-toolbar": "^2.7.0",
63
63
  "@atlaskit/editor-toolbar-model": "^1.2.0",
64
64
  "@atlaskit/emoji": "^72.4.0",
65
- "@atlaskit/feature-gate-js-client": "^6.0.0",
66
- "@atlaskit/heading": "^7.2.0",
67
- "@atlaskit/icon": "^37.7.0",
65
+ "@atlaskit/feature-gate-js-client": "^7.0.0",
66
+ "@atlaskit/heading": "^8.0.0",
67
+ "@atlaskit/icon": "^38.0.0",
68
68
  "@atlaskit/icon-lab": "^7.9.0",
69
69
  "@atlaskit/link": "^5.1.0",
70
- "@atlaskit/media-card": "^81.12.0",
71
- "@atlaskit/mention": "^29.2.0",
70
+ "@atlaskit/media-card": "^82.1.0",
71
+ "@atlaskit/mention": "^30.0.0",
72
72
  "@atlaskit/platform-feature-experiments": "^0.3.0",
73
73
  "@atlaskit/platform-feature-flags": "^2.2.0",
74
74
  "@atlaskit/platform-feature-flags-react": "^1.2.0",
75
75
  "@atlaskit/popup": "^6.3.0",
76
76
  "@atlaskit/primitives": "^22.5.0",
77
77
  "@atlaskit/react-compiler-gating": "^0.2.0",
78
- "@atlaskit/react-ufo": "^7.13.0",
78
+ "@atlaskit/react-ufo": "^8.0.0",
79
79
  "@atlaskit/task-decision": "^21.10.0",
80
- "@atlaskit/tmp-editor-statsig": "^205.0.0",
81
- "@atlaskit/tokens": "^19.0.0",
80
+ "@atlaskit/tmp-editor-statsig": "^206.0.0",
81
+ "@atlaskit/tokens": "^20.0.0",
82
82
  "@atlaskit/tooltip": "^24.3.0",
83
83
  "@atlaskit/width-detector": "^7.2.0",
84
84
  "@babel/runtime": "^7.0.0",
@@ -96,9 +96,9 @@
96
96
  "uuid": "^11.1.1"
97
97
  },
98
98
  "peerDependencies": {
99
- "@atlaskit/editor-common": "^124.0.0",
100
- "@atlaskit/link-provider": "^5.7.0",
101
- "@atlaskit/media-core": "^38.2.0",
99
+ "@atlaskit/editor-common": "^125.1.0",
100
+ "@atlaskit/link-provider": "^6.0.0",
101
+ "@atlaskit/media-core": "^39.0.0",
102
102
  "react": "^18.2.0 || ^19.2.0",
103
103
  "react-dom": "^18.2.0 || ^19.2.0",
104
104
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
@@ -111,55 +111,55 @@
111
111
  "@atlaskit/adf-utils": "^20.9.0",
112
112
  "@atlaskit/analytics-gas-types": "^6.2.0",
113
113
  "@atlaskit/analytics-listeners": "^11.4.0",
114
- "@atlaskit/code": "^19.2.0",
115
- "@atlaskit/collab-provider": "^29.0.0",
116
- "@atlaskit/docs": "^12.2.0",
114
+ "@atlaskit/code": "^20.0.0",
115
+ "@atlaskit/collab-provider": "^30.0.0",
116
+ "@atlaskit/docs": "^12.3.0",
117
117
  "@atlaskit/drawer": "^14.3.0",
118
- "@atlaskit/editor-plugin-alignment": "^21.0.0",
119
- "@atlaskit/editor-plugin-annotation": "^20.0.0",
120
- "@atlaskit/editor-plugin-base": "^21.0.0",
121
- "@atlaskit/editor-plugin-card": "^26.0.0",
122
- "@atlaskit/editor-plugin-code-block-advanced": "^20.0.0",
123
- "@atlaskit/editor-plugin-collab-edit": "^21.0.0",
124
- "@atlaskit/editor-plugin-content-insertion": "^20.0.0",
125
- "@atlaskit/editor-plugin-editor-viewmode": "^22.0.0",
126
- "@atlaskit/editor-plugin-extension": "^23.0.0",
127
- "@atlaskit/editor-plugin-grid": "^20.0.0",
128
- "@atlaskit/editor-plugin-guideline": "^20.0.0",
129
- "@atlaskit/editor-plugin-highlight": "^20.0.0",
130
- "@atlaskit/editor-plugin-insert-block": "^21.0.0",
131
- "@atlaskit/editor-plugin-layout": "^21.0.0",
132
- "@atlaskit/editor-plugin-limited-mode": "^17.0.0",
133
- "@atlaskit/editor-plugin-list": "^22.0.0",
134
- "@atlaskit/editor-plugin-media": "^22.0.0",
135
- "@atlaskit/editor-plugin-paste": "^21.0.0",
136
- "@atlaskit/editor-plugin-selection-marker": "^20.0.0",
137
- "@atlaskit/editor-plugin-show-diff": "^18.0.0",
138
- "@atlaskit/editor-plugin-synced-block": "^18.0.0",
139
- "@atlaskit/editor-plugin-table": "^32.0.0",
140
- "@atlaskit/editor-plugin-tasks-and-decisions": "^23.0.0",
141
- "@atlaskit/editor-plugin-text-color": "^20.0.0",
142
- "@atlaskit/editor-plugin-toolbar-lists-indentation": "^21.0.0",
143
- "@atlaskit/editor-plugin-track-changes": "^19.0.0",
144
- "@atlaskit/editor-synced-block-provider": "^16.0.0",
145
- "@atlaskit/editor-synced-block-renderer": "^18.0.0",
118
+ "@atlaskit/editor-plugin-alignment": "^22.0.0",
119
+ "@atlaskit/editor-plugin-annotation": "^21.0.0",
120
+ "@atlaskit/editor-plugin-base": "^22.0.0",
121
+ "@atlaskit/editor-plugin-card": "^27.0.0",
122
+ "@atlaskit/editor-plugin-code-block-advanced": "^21.0.0",
123
+ "@atlaskit/editor-plugin-collab-edit": "^22.0.0",
124
+ "@atlaskit/editor-plugin-content-insertion": "^21.0.0",
125
+ "@atlaskit/editor-plugin-editor-viewmode": "^23.0.0",
126
+ "@atlaskit/editor-plugin-extension": "^24.0.0",
127
+ "@atlaskit/editor-plugin-grid": "^21.0.0",
128
+ "@atlaskit/editor-plugin-guideline": "^21.0.0",
129
+ "@atlaskit/editor-plugin-highlight": "^21.0.0",
130
+ "@atlaskit/editor-plugin-insert-block": "^22.0.0",
131
+ "@atlaskit/editor-plugin-layout": "^22.0.0",
132
+ "@atlaskit/editor-plugin-limited-mode": "^18.0.0",
133
+ "@atlaskit/editor-plugin-list": "^23.0.0",
134
+ "@atlaskit/editor-plugin-media": "^23.0.0",
135
+ "@atlaskit/editor-plugin-paste": "^22.0.0",
136
+ "@atlaskit/editor-plugin-selection-marker": "^21.0.0",
137
+ "@atlaskit/editor-plugin-show-diff": "^19.0.0",
138
+ "@atlaskit/editor-plugin-synced-block": "^19.0.0",
139
+ "@atlaskit/editor-plugin-table": "^33.0.0",
140
+ "@atlaskit/editor-plugin-tasks-and-decisions": "^24.0.0",
141
+ "@atlaskit/editor-plugin-text-color": "^21.0.0",
142
+ "@atlaskit/editor-plugin-toolbar-lists-indentation": "^22.0.0",
143
+ "@atlaskit/editor-plugin-track-changes": "^20.0.0",
144
+ "@atlaskit/editor-synced-block-provider": "^17.0.0",
145
+ "@atlaskit/editor-synced-block-renderer": "^19.0.0",
146
146
  "@atlaskit/editor-test-helpers": "workspace:^",
147
- "@atlaskit/form": "^17.2.0",
148
- "@atlaskit/link-provider": "^5.7.0",
149
- "@atlaskit/linking-common": "^12.3.0",
150
- "@atlaskit/logo": "^23.1.0",
151
- "@atlaskit/media-core": "^38.2.0",
147
+ "@atlaskit/form": "^18.0.0",
148
+ "@atlaskit/link-provider": "^6.0.0",
149
+ "@atlaskit/linking-common": "^13.0.0",
150
+ "@atlaskit/logo": "^23.2.0",
151
+ "@atlaskit/media-core": "^39.0.0",
152
152
  "@atlaskit/media-integration-test-helpers": "workspace:^",
153
- "@atlaskit/media-picker": "^72.4.0",
154
- "@atlaskit/media-test-helpers": "^42.4.0",
155
- "@atlaskit/media-ui": "^30.16.0",
156
- "@atlaskit/modal-dialog": "^16.6.0",
153
+ "@atlaskit/media-picker": "^73.0.0",
154
+ "@atlaskit/media-test-helpers": "^43.0.0",
155
+ "@atlaskit/media-ui": "^31.0.0",
156
+ "@atlaskit/modal-dialog": "^17.0.0",
157
157
  "@atlaskit/navigation-system": "^10.17.0",
158
158
  "@atlaskit/popper": "^9.4.0",
159
159
  "@atlaskit/portal": "^7.0.0",
160
- "@atlaskit/profilecard": "^26.25.0",
160
+ "@atlaskit/profilecard": "^27.0.0",
161
161
  "@atlaskit/radio": "^10.2.0",
162
- "@atlaskit/renderer": "^143.0.0",
162
+ "@atlaskit/renderer": "^144.0.0",
163
163
  "@atlaskit/section-message": "^10.2.0",
164
164
  "@atlaskit/spinner": "^20.4.0",
165
165
  "@atlaskit/synchrony-test-helpers": "workspace:^",
@@ -170,11 +170,11 @@
170
170
  "@atlassian/a11y-jest-testing": "^0.17.0",
171
171
  "@atlassian/a11y-playwright-testing": "^0.12.0",
172
172
  "@atlassian/adf-schema-json": "^1.35.0",
173
- "@atlassian/editor-rovo-bridge": "^19.0.0",
173
+ "@atlassian/editor-rovo-bridge": "^20.0.0",
174
174
  "@atlassian/experiment-test-utils": "^0.2.0",
175
175
  "@atlassian/feature-flags-test-utils": "^1.3.0",
176
176
  "@atlassian/search-client": "^3.4.0",
177
- "@atlassian/search-provider": "^21.0.0",
177
+ "@atlassian/search-provider": "^22.0.0",
178
178
  "@atlassian/structured-docs-types": "workspace:^",
179
179
  "@atlassian/testing-library": "^0.11.0",
180
180
  "@atlassian/user-profile-card": "^1.41.0",