@atlaskit/editor-core 221.16.3 → 221.17.0

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.
Files changed (35) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea-compiled.compiled.css +0 -2
  3. package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea-compiled.js +1 -3
  4. package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea-emotion.js +1 -14
  5. package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +3 -3
  6. package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-compiled.js +5 -3
  7. package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-emotion.js +5 -11
  8. package/dist/cjs/ui/EditorContentContainer/styles/editorUGCTokenStyles.js +2 -2
  9. package/dist/cjs/ui/EditorContentContainer/styles/paragraphStyles.js +1 -43
  10. package/dist/cjs/ui/EditorContentContainer/styles/tableStyles.js +78 -1
  11. package/dist/cjs/version-wrapper.js +1 -1
  12. package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea-compiled.compiled.css +0 -2
  13. package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea-compiled.js +1 -3
  14. package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea-emotion.js +1 -14
  15. package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +3 -3
  16. package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-compiled.js +7 -5
  17. package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-emotion.js +7 -13
  18. package/dist/es2019/ui/EditorContentContainer/styles/editorUGCTokenStyles.js +2 -2
  19. package/dist/es2019/ui/EditorContentContainer/styles/paragraphStyles.js +0 -42
  20. package/dist/es2019/ui/EditorContentContainer/styles/tableStyles.js +96 -1
  21. package/dist/es2019/version-wrapper.js +1 -1
  22. package/dist/esm/ui/Appearance/FullPage/FullPageContentArea-compiled.compiled.css +0 -2
  23. package/dist/esm/ui/Appearance/FullPage/FullPageContentArea-compiled.js +1 -3
  24. package/dist/esm/ui/Appearance/FullPage/FullPageContentArea-emotion.js +1 -14
  25. package/dist/esm/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +3 -3
  26. package/dist/esm/ui/EditorContentContainer/EditorContentContainer-compiled.js +7 -5
  27. package/dist/esm/ui/EditorContentContainer/EditorContentContainer-emotion.js +7 -13
  28. package/dist/esm/ui/EditorContentContainer/styles/editorUGCTokenStyles.js +2 -2
  29. package/dist/esm/ui/EditorContentContainer/styles/paragraphStyles.js +0 -42
  30. package/dist/esm/ui/EditorContentContainer/styles/tableStyles.js +78 -1
  31. package/dist/esm/version-wrapper.js +1 -1
  32. package/dist/types/ui/EditorContentContainer/styles/editorUGCTokenStyles.d.ts +2 -2
  33. package/dist/types/ui/EditorContentContainer/styles/paragraphStyles.d.ts +0 -14
  34. package/dist/types/ui/EditorContentContainer/styles/tableStyles.d.ts +11 -0
  35. package/package.json +22 -30
@@ -18,10 +18,10 @@ import { getBrowserInfo } from '@atlaskit/editor-common/browser';
18
18
  // TODO: add back tableSharedStyle when migrate table styles
19
19
  // import { richMediaClassName, tableSharedStyle } from '@atlaskit/editor-common/styles';
20
20
  import { PanelSharedCssClassName } from '@atlaskit/editor-common/panel';
21
- import { AnnotationSharedClassNames, richMediaClassName, expandClassNames, SmartCardSharedCssClassName, CodeBlockSharedCssClassName, tableCellBorderWidth, tableCellMinWidth, TaskDecisionSharedCssClassName } from '@atlaskit/editor-common/styles';
21
+ import { AnnotationSharedClassNames, richMediaClassName, expandClassNames, SmartCardSharedCssClassName, CodeBlockSharedCssClassName, tableCellBorderWidth, tableCellMinWidth, tableMarginTop, TaskDecisionSharedCssClassName } from '@atlaskit/editor-common/styles';
22
22
  import { BodiedSyncBlockSharedCssClassName, SyncBlockSharedCssClassName, SyncBlockLabelSharedCssClassName, SyncBlockStateCssClassName } from '@atlaskit/editor-common/sync-block';
23
23
  import { tableCellBackgroundColorVariablesForCompiled } from '@atlaskit/editor-common/table-cell-background-for-compiled';
24
- import { akEditorFullPageDefaultFontSize, akEditorFullPageDenseFontSize, akEditorGutterPaddingDynamic, akEditorSwoopCubicBezier, akEditorTableNumberColumnWidth } from '@atlaskit/editor-shared-styles';
24
+ import { akEditorFullPageDefaultFontSize, akEditorFullPageDenseFontSize, akEditorGutterPaddingDynamic, akEditorShadowZIndex, akEditorSwoopCubicBezier, akEditorTableNumberColumnWidth } from '@atlaskit/editor-shared-styles';
25
25
  import { overflowShadowForCompiled } from '@atlaskit/editor-shared-styles/overflow-shadow-for-compiled';
26
26
  import { fg } from '@atlaskit/platform-feature-flags';
27
27
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
@@ -37,6 +37,7 @@ var akEditorCalculatedWideLayoutWidthSmallViewport = 905;
37
37
  var akEditorGutterPadding = 32;
38
38
  var akEditorDefaultLayoutWidth = 760;
39
39
  var akEditorFullWidthLayoutWidth = 1800;
40
+ var tableOverflowShadowWidthWide = 32;
40
41
  // The breakpoint for small devices is 1266px, copied from getBreakpoint in platform/packages/editor/editor-common/src/ui/WidthProvider/index.tsx
41
42
  var akEditorBreakpointForSmallDevice = "1266px";
42
43
  var akEditorGutterPaddingReduced = 24;
@@ -88,6 +89,8 @@ var editorAreaLayoutFixedWidthMaxWidthContainerQuery = "@container editor-area (
88
89
  var editorAreaLayoutResizedMaxWidthContainerQuery = "@container editor-area (max-width: ".concat(akEditorLayoutResizedBreakpoint, "px)");
89
90
  var placeholderFadeInKeyframes = null;
90
91
  var fadeIn = null;
92
+ var tableInlineStartShadow = null;
93
+ var tableInlineEndShadow = null;
91
94
  var hideNativeBrowserTextSelectionStyles = null;
92
95
  var boxShadowSelectionStyles = null;
93
96
 
@@ -284,8 +287,6 @@ var editorContentStyles = {
284
287
  panelStylesMixin: "cc-h7dall",
285
288
  panelStylesMixin_fg_platform_editor_nested_dnd_styles_changes: "cc-pnl8g",
286
289
  panelViewStyles: "cc-4fs4h7",
287
- paragraphStylesOld: "cc-1w6keww",
288
- paragraphStylesOldWithScaledMargin: "cc-10wncs9",
289
290
  paragraphStylesUGCRefreshed: "cc-cc1o06",
290
291
  paragraphStylesWithScaledMargin: "cc-9s11ni",
291
292
  placeholderOverflowStyles: "cc-j698ed",
@@ -326,6 +327,7 @@ var editorContentStyles = {
326
327
  tableCellBackgroundColorOverrides: "cc-cvmfbc",
327
328
  tableCommentEditorStyles: "cc-qmh5x7",
328
329
  tableContainerStyles: "cc-1c98076",
330
+ tableScrollInlineShadowStyles: "cc-1b7tx95",
329
331
  tableContentModeStyles: "cc-4d6xg1",
330
332
  tableContentModeNestedTableStyles: "cc-19w908l",
331
333
  tableEmptyRowStyles: "cc-1fi1exx",
@@ -422,7 +424,7 @@ export var EditorContentContainerCompiled = /*#__PURE__*/React.forwardRef(functi
422
424
  }) && editorContentStyles.textSelectedNodeStyles, editorContentStyles.blocktypeStyles_fg_platform_editor_typography_ugc, fg('platform_editor_nested_dnd_styles_changes') && editorContentStyles.blocktypeStyles_fg_platform_editor_nested_dnd_styles_changes, 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, expValEqualsNoExposure('platform_editor_flexible_list_schema', 'isEnabled', true) && editorContentStyles.listItemHiddenMarkerStyles, editorContentStyles.diffListStyles, contentMode === 'compact' && isDense && editorContentStyles.listsDenseStyles, isFullPage && editorContentStyles.listsStylesMarginLayoutShiftFix, editorContentStyles.ruleStyles, editorContentStyles.smartCardDiffStyles, expValEquals('platform_editor_enghealth_a11y_jan_fixes', 'isEnabled', true) ? editorContentStyles.showDiffDeletedNodeStylesNew : editorContentStyles.showDiffDeletedNodeStyles, editorContentStyles.mediaStyles, contentMode === 'compact' && editorContentStyles.mediaCaptionStyles, fg('platform_editor_fix_media_in_renderer') && 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
425
  editorContentStyles.telepointerColorAndCommonStyle, colorMode === 'dark' && editorContentStyles.telepointerColorAndCommonStyleDarkMode, expValEqualsNoExposure('platform_editor_agent_be_streaming', 'isEnabled', true) && editorContentStyles.agentShimmerStyles, editorContentStyles.gapCursorStyles, editorExperiment('platform_synced_block', true) && editorContentStyles.gapCursorStylesVisibilityFix, editorContentStyles.panelStyles, editorContentStyles.nestedPanelBorderStylesMixin, fg('platform_editor_nested_dnd_styles_changes') && editorContentStyles.panelStylesMixin_fg_platform_editor_nested_dnd_styles_changes, editorContentStyles.panelStylesMixin, editorContentStyles.mentionsStyles, editorContentStyles.tasksAndDecisionsStyles, contentMode === 'compact' && isDense && editorContentStyles.tasksAndDecisionsDenseStyles, editorContentStyles.gridStyles, editorContentStyles.blockMarksStyles, editorContentStyles.dateStyles, editorContentStyles.extensionStyles, contentMode === 'compact' && editorContentStyles.extensionStylesDense, expValEquals('platform_editor_bodiedextension_layoutshift_fix', 'isEnabled', true) && editorContentStyles.bodiedExtensionLayoutShiftFix, editorContentStyles.extensionDiffStyles, editorContentStyles.expandStylesBase, !useStandardNodeWidth && editorContentStyles.expandStyles, contentMode === 'compact' && isDense && editorContentStyles.expandDenseStyles, fg('platform_editor_nested_dnd_styles_changes') ? editorContentStyles.expandStylesMixin_fg_platform_editor_nested_dnd_styles_changes : editorContentStyles.expandStylesMixin_without_fg_platform_editor_nested_dnd_styles_changes, editorContentStyles.expandStylesMixin_fg_platform_visual_refresh_icons, isChromeless && editorContentStyles.expandStylesMixin_chromeless_expand_fix, expValEquals('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? editorContentStyles.findReplaceStylesNewWithA11Y : editorContentStyles.findReplaceStyles, expValEquals('platform_editor_find_and_replace_improvements', 'isEnabled', true) && editorContentStyles.findReplaceStylesNewWithCodeblockColorContrastFix, !expValEquals('platform_editor_find_and_replace_improvements', 'isEnabled', true) && editorContentStyles.findReplaceStylesWithCodeblockColorContrastFix, editorExperiment('platform_synced_block', true) && editorContentStyles.findReplaceStylesWithRefSyncBlock, editorContentStyles.textHighlightStyle, editorContentStyles.decisionStyles, expValEqualsNoExposure('platform_editor_blocktaskitem_node_tenantid', 'isEnabled', true) ? editorContentStyles.taskItemStylesWithBlockTaskItem : editorContentStyles.taskItemStyles, editorContentStyles.taskItemCheckboxStyles, editorContentStyles.decisionIconWithVisualRefresh, editorContentStyles.statusStyles, fg('platform-dst-lozenge-tag-badge-visual-uplifts') ? editorContentStyles.statusStylesTeam26 : fg('platform-component-visual-refresh') ? expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? editorContentStyles.statusStylesMixin_fg_platform_component_visual_refresh_with_search_match : editorContentStyles.statusStylesMixin_fg_platform_component_visual_refresh : expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? editorContentStyles.statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match : editorContentStyles.statusStylesMixin_without_fg_platform_component_visual_refresh, colorMode === 'dark' && fg('platform-dst-lozenge-tag-badge-visual-uplifts') && editorContentStyles.statusStylesTeam26DarkMode, editorContentStyles.annotationStyles, expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? editorExperiment('platform_editor_block_menu', true) ? editorContentStyles.smartCardStylesWithSearchMatchAndBlockMenuDangerStyles : editorContentStyles.smartCardStylesWithSearchMatch : editorContentStyles.smartCardStyles, editorExperiment('platform_editor_preview_panel_responsiveness', true) && editorContentStyles.smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness, (expValEqualsNoExposure('platform_editor_controls', 'cohort', 'variant1') || editorExperiment('platform_editor_preview_panel_linking_exp', true)) && editorContentStyles.editorControlsSmartCardStyles, editorContentStyles.embedCardStyles, editorContentStyles.unsupportedStyles, editorContentStyles.resizerStyles, expValEqualsNoExposure('cc-maui-experiment', 'isEnabled', true) && expValEquals('databases-native-embeds-v2', 'isEnabled', true) && editorContentStyles.resizerBottomHandleStyles, editorContentStyles.layoutBaseStyles, expValEquals('platform_editor_table_excerpts_fix', 'isEnabled', true) && editorContentStyles.layoutBaseStylesWithTableExcerptsFix, fg('platform_editor_fix_media_in_renderer') && editorContentStyles.alignMultipleWrappedImageInLayoutStyles, editorExperiment('platform_synced_block', true) && editorContentStyles.syncBlockStylesBase, editorExperiment('platform_synced_block', true) &&
424
426
  // Apply sync block delta styles conditionally based on useStandardNodeWidth (negative margins or not)
425
- !useStandardNodeWidth && editorContentStyles.syncBlockStyles, editorExperiment('platform_synced_block', true) && editorContentStyles.syncBlockOverflowStyles, editorExperiment('platform_synced_block', true) && editorContentStyles.syncBlockFirstNodeStyles, editorExperiment('platform_synced_block', true) && fg('platform_synced_block_patch_14') && editorContentStyles.syncBlockTextSelectionStyles, isSyncBlockActivationEnabled && editorExperiment('platform_synced_block', true) && 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) && editorExperiment('platform_editor_layout_column_resize_handle', true) && editorContentStyles.layoutColumnDividerStyles, editorExperiment('advanced_layouts', true) && editorExperiment('platform_editor_layout_column_resize_handle', true) && fg('platform_editor_nested_dnd_styles_changes') && editorContentStyles.layoutColumnDividerStylesNestedDnD, editorExperiment('advanced_layouts', true) ? editorContentStyles.layoutColumnStylesAdvanced : editorContentStyles.layoutColumnStylesNotAdvanced, editorExperiment('advanced_layouts', true) && editorExperiment('platform_editor_layout_column_resize_handle', true) && editorContentStyles.layoutColumnResizeStyles, editorExperiment('advanced_layouts', true) ? editorContentStyles.layoutSelectedStylesAdvanced : editorContentStyles.layoutSelectedStylesNotAdvanced, editorExperiment('platform_synced_block', true) && editorContentStyles.layoutSelectedStylesAdvancedFix, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnResponsiveStyles, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutResponsiveBaseStyles, editorExperiment('platform_synced_block', true) && fg('platform_editor_nested_dnd_styles_changes') && editorContentStyles.layoutBaseStylesFixesUnderNestedDnDFGExcludingBodiedSync, !editorExperiment('platform_synced_block', true) && fg('platform_editor_nested_dnd_styles_changes') && editorContentStyles.layoutBaseStylesFixesUnderNestedDnDFG, fg('platform_editor_nested_dnd_styles_changes') ? editorContentStyles.layoutColumnMartinTopFixesNew : editorContentStyles.layoutColumnMartinTopFixesOld, editorContentStyles.smartLinksInLivePagesStyles, editorContentStyles.linkingVisualRefreshV1Styles, editorContentStyles.dateVanillaStyles, fg('platform_editor_typography_ugc') ? contentMode === 'compact' ? editorContentStyles.paragraphStylesWithScaledMargin : editorContentStyles.paragraphStylesUGCRefreshed : contentMode === 'compact' ? editorContentStyles.paragraphStylesOldWithScaledMargin : editorContentStyles.paragraphStylesOld, editorContentStyles.linkStyles, browser.safari && editorContentStyles.listsStylesSafariFix, editorExperiment('platform_synced_block', true) && 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) && editorExperiment('platform_synced_block', true) && editorContentStyles.pragmaticResizerStylesCodeBlockSyncedBlockPatch, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && !editorExperiment('platform_synced_block', true) && editorContentStyles.pragmaticResizerStylesCodeBlockLegacy, 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) && fg('platform_comment_container_query') && editorContentStyles.nonFullPageContainerTypeStyles, isFullPage && editorContentStyles.fullPageEditorStyles, isFullPage && editorContentStyles.scrollbarStyles, fg('platform_editor_nested_dnd_styles_changes') ? editorContentStyles.firstCodeBlockWithNoMargin : editorContentStyles.firstCodeBlockWithNoMarginOld, editorContentStyles.firstBlockNodeStyles, expValEquals('platform_editor_first_node_fix', 'isEnabled', true) && editorContentStyles.firstNodeWidgetFixStyles, editorContentStyles.mentionNodeStyles, expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? editorContentStyles.mentionsSelectionStylesWithSearchMatch : editorContentStyles.mentionsSelectionStyles, expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ? editorContentStyles.scaledEmojiStyles : editorContentStyles.emojiStyles, 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, expValEquals('platform_editor_small_font_size', 'isEnabled', true) ? editorContentStyles.tableLayoutFixesWithFontSize : editorContentStyles.tableLayoutFixes, editorContentStyles.tableContainerStyles, editorContentStyles.tableSharedStyle, (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) && fg('platform_editor_table_q4_patch_1') && editorContentStyles.tableRoundedCornerStyles, expValEquals('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) && editorContentStyles.tableContentModeStyles, expValEquals('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) && fg('platform_editor_table_nested_renderer_fix') && editorContentStyles.tableContentModeNestedTableStyles, editorContentStyles.tableCellBackgroundColorOverrides, editorContentStyles.hyperLinkFloatingToolbarStyles, editorContentStyles.selectionToolbarAnimationStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.blockquoteDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.textDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.listDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.dangerDateStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.emojiDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.mentionDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.decisionDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.statusDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.dangerRuleStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.mediaDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.nestedPanelDangerStyles, isBlockSpacingEnabled && editorContentStyles.blockSpacingVarStyles, isBlockSpacingEnabled && isDense && editorContentStyles.blockSpacingVarScaledStyles, className || undefined]),
427
+ !useStandardNodeWidth && editorContentStyles.syncBlockStyles, editorExperiment('platform_synced_block', true) && editorContentStyles.syncBlockOverflowStyles, editorExperiment('platform_synced_block', true) && editorContentStyles.syncBlockFirstNodeStyles, editorExperiment('platform_synced_block', true) && fg('platform_synced_block_patch_14') && editorContentStyles.syncBlockTextSelectionStyles, isSyncBlockActivationEnabled && editorExperiment('platform_synced_block', true) && 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) && editorExperiment('platform_editor_layout_column_resize_handle', true) && editorContentStyles.layoutColumnDividerStyles, editorExperiment('advanced_layouts', true) && editorExperiment('platform_editor_layout_column_resize_handle', true) && fg('platform_editor_nested_dnd_styles_changes') && editorContentStyles.layoutColumnDividerStylesNestedDnD, editorExperiment('advanced_layouts', true) ? editorContentStyles.layoutColumnStylesAdvanced : editorContentStyles.layoutColumnStylesNotAdvanced, editorExperiment('advanced_layouts', true) && editorExperiment('platform_editor_layout_column_resize_handle', true) && editorContentStyles.layoutColumnResizeStyles, editorExperiment('advanced_layouts', true) ? editorContentStyles.layoutSelectedStylesAdvanced : editorContentStyles.layoutSelectedStylesNotAdvanced, editorExperiment('platform_synced_block', true) && editorContentStyles.layoutSelectedStylesAdvancedFix, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnResponsiveStyles, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutResponsiveBaseStyles, editorExperiment('platform_synced_block', true) && fg('platform_editor_nested_dnd_styles_changes') && editorContentStyles.layoutBaseStylesFixesUnderNestedDnDFGExcludingBodiedSync, !editorExperiment('platform_synced_block', true) && fg('platform_editor_nested_dnd_styles_changes') && editorContentStyles.layoutBaseStylesFixesUnderNestedDnDFG, fg('platform_editor_nested_dnd_styles_changes') ? editorContentStyles.layoutColumnMartinTopFixesNew : editorContentStyles.layoutColumnMartinTopFixesOld, editorContentStyles.smartLinksInLivePagesStyles, editorContentStyles.linkingVisualRefreshV1Styles, editorContentStyles.dateVanillaStyles, contentMode === 'compact' ? editorContentStyles.paragraphStylesWithScaledMargin : editorContentStyles.paragraphStylesUGCRefreshed, editorContentStyles.linkStyles, browser.safari && editorContentStyles.listsStylesSafariFix, editorExperiment('platform_synced_block', true) && 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) && editorExperiment('platform_synced_block', true) && editorContentStyles.pragmaticResizerStylesCodeBlockSyncedBlockPatch, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && !editorExperiment('platform_synced_block', true) && editorContentStyles.pragmaticResizerStylesCodeBlockLegacy, 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) && fg('platform_comment_container_query') && editorContentStyles.nonFullPageContainerTypeStyles, isFullPage && editorContentStyles.fullPageEditorStyles, isFullPage && editorContentStyles.scrollbarStyles, fg('platform_editor_nested_dnd_styles_changes') ? editorContentStyles.firstCodeBlockWithNoMargin : editorContentStyles.firstCodeBlockWithNoMarginOld, editorContentStyles.firstBlockNodeStyles, expValEquals('platform_editor_first_node_fix', 'isEnabled', true) && editorContentStyles.firstNodeWidgetFixStyles, editorContentStyles.mentionNodeStyles, expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? editorContentStyles.mentionsSelectionStylesWithSearchMatch : editorContentStyles.mentionsSelectionStyles, expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ? editorContentStyles.scaledEmojiStyles : editorContentStyles.emojiStyles, 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, expValEquals('platform_editor_small_font_size', 'isEnabled', true) ? editorContentStyles.tableLayoutFixesWithFontSize : editorContentStyles.tableLayoutFixes, editorContentStyles.tableContainerStyles, editorContentStyles.tableSharedStyle, expValEquals('platform_editor_table_css_overflow_shadow', 'isEnabled', true) && 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) && fg('platform_editor_table_q4_patch_1') && editorContentStyles.tableRoundedCornerStyles, expValEquals('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) && editorContentStyles.tableContentModeStyles, expValEquals('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) && fg('platform_editor_table_nested_renderer_fix') && editorContentStyles.tableContentModeNestedTableStyles, editorContentStyles.tableCellBackgroundColorOverrides, editorContentStyles.hyperLinkFloatingToolbarStyles, editorContentStyles.selectionToolbarAnimationStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.blockquoteDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.textDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.listDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.dangerDateStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.emojiDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.mentionDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.decisionDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.statusDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.dangerRuleStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.mediaDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.nestedPanelDangerStyles, isBlockSpacingEnabled && editorContentStyles.blockSpacingVarStyles, isBlockSpacingEnabled && isDense && editorContentStyles.blockSpacingVarScaledStyles, className || undefined]),
426
428
  ref: ref,
427
429
  "data-editor-scroll-container": isScrollable ? 'true' : undefined,
428
430
  "data-testid": "editor-content-container"
@@ -53,7 +53,7 @@ import { diffListStyles, getDenseListStyles, listItemHiddenMarkerStyles, listsSt
53
53
  import { mediaAlignmentStyles, mediaCaptionStyles, mediaDangerStyles, mediaGroupStyles, mediaStyles } from './styles/mediaStyles';
54
54
  import { mentionDangerStyles, mentionNodeStyles, mentionsSelectionStyles, mentionsSelectionStylesWithSearchMatch, mentionsStyles } from './styles/mentions';
55
55
  import { nestedPanelBorderStylesMixin, nestedPanelDangerStyles, panelStyles, panelStylesMixin, panelStylesMixin_fg_platform_editor_nested_dnd_styles_changes, panelViewStyles } from './styles/panelStyles';
56
- import { paragraphStylesOld, paragraphStylesOldWithScaledMargin, paragraphStylesUGCRefreshed, paragraphStylesWithScaledMargin } from './styles/paragraphStyles';
56
+ import { paragraphStylesUGCRefreshed, paragraphStylesWithScaledMargin } from './styles/paragraphStyles';
57
57
  import { placeholderOverflowStyles, placeholderStyles, placeholderTextStyles, placeholderWrapStyles } from './styles/placeholderStyles';
58
58
  import { pragmaticResizerStyles, pragmaticResizerStylesCodeBlockLegacy, pragmaticResizerStylesCodeBlockSyncedBlockPatch, pragmaticResizerStylesForTooltip, pragmaticResizerStylesPanelAndRule, pragmaticResizerStylesSyncedBlock, pragmaticResizerStylesWithReducedEditorGutter, pragmaticStylesLayoutFirstNodeResizeHandleFix, resizerBottomHandleStyles, resizerStyles } from './styles/resizerStyles';
59
59
  import { dangerRuleStyles, ruleStyles } from './styles/rule';
@@ -65,7 +65,7 @@ import { editorControlsSmartCardStyles, linkingVisualRefreshV1Styles, showDiffDe
65
65
  import { statusDangerStyles, statusStyles, statusStylesMixin_fg_platform_component_visual_refresh, statusStylesMixin_fg_platform_component_visual_refresh_with_search_match, statusStylesMixin_without_fg_platform_component_visual_refresh, statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match, statusStylesTeam26 } from './styles/statusStyles';
66
66
  import { syncBlockInteractiveCursorStyles } from './styles/syncBlockInteractiveCursorStyles';
67
67
  import { syncBlockStyles, syncBlockStylesBase, syncBlockFirstNodeStyles, syncBlockOverflowStyles, syncBlockTextSelectionStyles } from './styles/syncBlockStyles';
68
- import { tableCommentEditorStyles, tableContainerStyles, tableEmptyRowStyles, tableLayoutFixes, tableRoundedCornerStyles, tableLayoutFixesWithFontSize, tableContentModeStyles, tableContentModeNestedTableStyles } from './styles/tableStyles';
68
+ import { tableCommentEditorStyles, tableContainerStyles, tableEmptyRowStyles, tableLayoutFixes, tableRoundedCornerStyles, tableScrollInlineShadowStyles, tableLayoutFixesWithFontSize, tableContentModeStyles, tableContentModeNestedTableStyles } from './styles/tableStyles';
69
69
  import { decisionDangerStyles, decisionIconWithVisualRefresh, decisionStyles, getDenseTasksAndDecisionsStyles, taskItemCheckboxStyles, taskItemStyles, taskItemStylesWithBlockTaskItem, tasksAndDecisionsStyles } from './styles/tasksAndDecisionsStyles';
70
70
  import { telepointerColorAndCommonStyle, telepointerStyle } from './styles/telepointerStyles';
71
71
  import { textColorStyles } from './styles/textColorStyles';
@@ -439,19 +439,11 @@ export var EditorContentContainerEmotion = /*#__PURE__*/React.forwardRef(functio
439
439
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
440
440
  linkingVisualRefreshV1Styles,
441
441
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
442
- dateVanillaStyles, fg('platform_editor_typography_ugc') ?
443
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
444
- contentMode === 'compact' ?
442
+ dateVanillaStyles, contentMode === 'compact' ?
445
443
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
446
444
  paragraphStylesWithScaledMargin :
447
445
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
448
- paragraphStylesUGCRefreshed :
449
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
450
- contentMode === 'compact' ?
451
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
452
- paragraphStylesOldWithScaledMargin :
453
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
454
- paragraphStylesOld,
446
+ paragraphStylesUGCRefreshed,
455
447
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
456
448
  linkStyles,
457
449
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
@@ -547,7 +539,9 @@ export var EditorContentContainerEmotion = /*#__PURE__*/React.forwardRef(functio
547
539
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
548
540
  tableContainerStyles,
549
541
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
550
- tableSharedStyle(),
542
+ tableSharedStyle(), expValEquals('platform_editor_table_css_overflow_shadow', 'isEnabled', true) &&
543
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
544
+ tableScrollInlineShadowStyles,
551
545
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
552
546
  tableEmptyRowStyles,
553
547
  // SSR-safe rounded corners (see tableRoundedCornerStyles). Gated to match the table plugin
@@ -3,7 +3,7 @@
3
3
  @atlaskit/ui-styling-standard/no-exported-styles */
4
4
  import { css } from '@emotion/react';
5
5
  /**
6
- * Use when fg('platform_editor_typography_ugc') is enabled, but the following are not enabled:
6
+ * Use when the following is not enabled:
7
7
  * - fg('atlas_editor_typography_refreshed')
8
8
  */
9
9
  /**
@@ -25,7 +25,7 @@ export var editorUGCTokensModernized = css({
25
25
  });
26
26
 
27
27
  /**
28
- * Use when fg('platform_editor_typography_ugc') is enabled and the following is enabled:
28
+ * Use when the following is enabled:
29
29
  * - fg('atlas_editor_typography_refreshed')
30
30
  */
31
31
  /**
@@ -24,27 +24,6 @@ export var paragraphStylesWithScaledMargin = css({
24
24
  }
25
25
  });
26
26
 
27
- /**
28
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
29
- * If you need to make changes here, also update the corresponding style in
30
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
31
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
32
- */
33
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
34
- export var paragraphStylesOldWithScaledMargin = css({
35
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
36
- '.ProseMirror p': {
37
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
38
- fontSize: '1em',
39
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
40
- lineHeight: 1.714,
41
- fontWeight: "var(--ds-font-weight-regular, 400)",
42
- marginTop: scaledBlockNodesVerticalMargin,
43
- marginBottom: 0,
44
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
45
- letterSpacing: '-0.005em'
46
- }
47
- });
48
27
  /**
49
28
  * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
50
29
  * If you need to make changes here, also update the corresponding style in
@@ -82,25 +61,4 @@ export var paragraphStylesUGCModernized = css({
82
61
  marginTop: blockNodesVerticalMargin,
83
62
  marginBottom: 0
84
63
  }
85
- });
86
- /**
87
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
88
- * If you need to make changes here, also update the corresponding style in
89
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
90
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
91
- */
92
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
93
- export var paragraphStylesOld = css({
94
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
95
- '.ProseMirror p': {
96
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
97
- fontSize: '1em',
98
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
99
- lineHeight: 1.714,
100
- fontWeight: "var(--ds-font-weight-regular, 400)",
101
- marginTop: blockNodesVerticalMargin,
102
- marginBottom: 0,
103
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
104
- letterSpacing: '-0.005em'
105
- }
106
64
  });
@@ -2,8 +2,28 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  /* eslint-disable @atlaskit/ui-styling-standard/use-compiled,
3
3
  @repo/internal/deprecations/deprecation-ticket-required,
4
4
  @atlaskit/ui-styling-standard/no-exported-styles */
5
- import { css } from '@emotion/react';
5
+ import { css, keyframes } from '@emotion/react';
6
+ import { tableMarginTop } from '@atlaskit/editor-common/styles';
7
+ import { akEditorShadowZIndex, akEditorTableNumberColumnWidth } from '@atlaskit/editor-shared-styles/constants';
6
8
  import { scrollbarStyles } from './scrollbarStyles';
9
+ var tableOverflowShadowWidthWide = 32;
10
+ var tableInlineStartShadow = keyframes({
11
+ '0%': {
12
+ opacity: 0
13
+ },
14
+ '0.0001%, 100%': {
15
+ opacity: 1
16
+ }
17
+ });
18
+ var tableInlineEndShadow = keyframes({
19
+ '0%, 99.9999%': {
20
+ opacity: 1
21
+ },
22
+ '100%': {
23
+ opacity: 0
24
+ }
25
+ });
26
+
7
27
  /**
8
28
  * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
9
29
  * If you need to make changes here, also update the corresponding style in
@@ -93,6 +113,63 @@ export var tableContainerStyles = css({
93
113
  minWidth: 'auto'
94
114
  }
95
115
  });
116
+
117
+ /**
118
+ * SSR-safe foreground overflow shadows driven by the table wrapper's horizontal scroll timeline.
119
+ * The overlays are siblings of the scrollport, so they stay anchored to its edges without
120
+ * modifying table-cell surfaces or interaction overlays.
121
+ *
122
+ * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
123
+ * If you need to make changes here, also update the corresponding style in
124
+ * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
125
+ * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
126
+ */
127
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
128
+ export var tableScrollInlineShadowStyles = css({
129
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
130
+ '.ProseMirror .pm-table-container:has(> .pm-table-scroll-inline-shadow)': {
131
+ timelineScope: '--editor-table-inline-scroll'
132
+ },
133
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
134
+ '.ProseMirror .pm-table-scroll-inline-shadow': {
135
+ scrollTimelineName: '--editor-table-inline-scroll',
136
+ scrollTimelineAxis: 'inline'
137
+ },
138
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
139
+ '.ProseMirror .pm-table-container > [data-table-overflow-shadow]': {
140
+ position: 'absolute',
141
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values
142
+ zIndex: akEditorShadowZIndex,
143
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values
144
+ top: tableMarginTop,
145
+ bottom: 0,
146
+ width: tableOverflowShadowWidthWide,
147
+ opacity: 0,
148
+ pointerEvents: 'none',
149
+ animationDuration: '1ms',
150
+ animationFillMode: 'both',
151
+ animationTimingFunction: 'linear',
152
+ animationTimeline: '--editor-table-inline-scroll'
153
+ },
154
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
155
+ ".ProseMirror .pm-table-container > [data-table-overflow-shadow='start']": {
156
+ left: 0,
157
+ backgroundImage: "linear-gradient(\n\t\t\tto left,\n\t\t\ttransparent 0,\n\t\t\t".concat("var(--ds-shadow-overflow-spread, #1E1F2129)", " 140%\n\t\t),\n\t\tlinear-gradient(\n\t\t\tto right,\n\t\t\t", "var(--ds-shadow-overflow-perimeter, #1E1F211f)", " 0,\n\t\t\ttransparent 1px\n\t\t)"),
158
+ animationName: tableInlineStartShadow
159
+ },
160
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
161
+ ".ProseMirror .pm-table-container[data-number-column='true'] > [data-table-overflow-shadow='start']": {
162
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values
163
+ left: akEditorTableNumberColumnWidth - 1
164
+ },
165
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
166
+ ".ProseMirror .pm-table-container > [data-table-overflow-shadow='end']": {
167
+ right: 0,
168
+ backgroundImage: "linear-gradient(\n\t\t\tto right,\n\t\t\ttransparent 0,\n\t\t\t".concat("var(--ds-shadow-overflow-spread, #1E1F2129)", " 140%\n\t\t),\n\t\tlinear-gradient(\n\t\t\tto left,\n\t\t\t", "var(--ds-shadow-overflow-perimeter, #1E1F211f)", " 0,\n\t\t\ttransparent 1px\n\t\t)"),
169
+ animationName: tableInlineEndShadow
170
+ }
171
+ });
172
+
96
173
  /**
97
174
  * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
98
175
  * If you need to make changes here, also update the corresponding style in
@@ -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 = "221.16.2";
3
+ export var version = "221.16.4";
@@ -1,6 +1,6 @@
1
1
  import type { SerializedStyles } from '@emotion/react';
2
2
  /**
3
- * Use when fg('platform_editor_typography_ugc') is enabled, but the following are not enabled:
3
+ * Use when the following is not enabled:
4
4
  * - fg('atlas_editor_typography_refreshed')
5
5
  */
6
6
  /**
@@ -11,7 +11,7 @@ import type { SerializedStyles } from '@emotion/react';
11
11
  */
12
12
  export declare const editorUGCTokensModernized: SerializedStyles;
13
13
  /**
14
- * Use when fg('platform_editor_typography_ugc') is enabled and the following is enabled:
14
+ * Use when the following is enabled:
15
15
  * - fg('atlas_editor_typography_refreshed')
16
16
  */
17
17
  /**
@@ -6,13 +6,6 @@ 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 paragraphStylesWithScaledMargin: 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 paragraphStylesOldWithScaledMargin: SerializedStyles;
16
9
  /**
17
10
  * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
18
11
  * If you need to make changes here, also update the corresponding style in
@@ -27,10 +20,3 @@ export declare const paragraphStylesUGCRefreshed: SerializedStyles;
27
20
  * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
28
21
  */
29
22
  export declare const paragraphStylesUGCModernized: SerializedStyles;
30
- /**
31
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
32
- * If you need to make changes here, also update the corresponding style in
33
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
34
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
35
- */
36
- export declare const paragraphStylesOld: SerializedStyles;
@@ -34,6 +34,17 @@ export declare const tableCommentEditorStyles: SerializedStyles;
34
34
  * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
35
35
  */
36
36
  export declare const tableContainerStyles: SerializedStyles;
37
+ /**
38
+ * SSR-safe foreground overflow shadows driven by the table wrapper's horizontal scroll timeline.
39
+ * The overlays are siblings of the scrollport, so they stay anchored to its edges without
40
+ * modifying table-cell surfaces or interaction overlays.
41
+ *
42
+ * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
43
+ * If you need to make changes here, also update the corresponding style in
44
+ * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
45
+ * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
46
+ */
47
+ export declare const tableScrollInlineShadowStyles: SerializedStyles;
37
48
  /**
38
49
  * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
39
50
  * If you need to make changes here, also update the corresponding style in
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "221.16.3",
3
+ "version": "221.17.0",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -38,24 +38,24 @@
38
38
  },
39
39
  "dependencies": {
40
40
  "@atlaskit/activity-provider": "^3.0.0",
41
- "@atlaskit/adf-schema": "^56.1.0",
41
+ "@atlaskit/adf-schema": "^56.3.0",
42
42
  "@atlaskit/afm-i18n-platform-editor-editor-core": "2.200.0",
43
43
  "@atlaskit/analytics-namespaced-context": "^8.1.0",
44
44
  "@atlaskit/analytics-next": "^12.3.0",
45
45
  "@atlaskit/analytics-next-stable-react-context": "1.0.1",
46
46
  "@atlaskit/button": "^24.3.0",
47
47
  "@atlaskit/css": "^1.0.0",
48
- "@atlaskit/editor-json-transformer": "^9.1.0",
49
- "@atlaskit/editor-performance-metrics": "^3.1.0",
50
- "@atlaskit/editor-plugin-connectivity": "^12.0.0",
51
- "@atlaskit/editor-plugin-quick-insert": "^12.0.0",
52
- "@atlaskit/editor-plugin-user-preferences": "^10.0.0",
53
- "@atlaskit/editor-plugins": "^14.2.0",
48
+ "@atlaskit/editor-json-transformer": "^9.2.0",
49
+ "@atlaskit/editor-performance-metrics": "^3.2.0",
50
+ "@atlaskit/editor-plugin-connectivity": "^12.1.0",
51
+ "@atlaskit/editor-plugin-quick-insert": "^12.1.0",
52
+ "@atlaskit/editor-plugin-user-preferences": "^10.1.0",
53
+ "@atlaskit/editor-plugins": "^14.3.0",
54
54
  "@atlaskit/editor-prosemirror": "^8.0.0",
55
55
  "@atlaskit/editor-shared-styles": "^4.0.0",
56
- "@atlaskit/editor-ssr-renderer": "^7.1.0",
57
- "@atlaskit/editor-toolbar": "^2.3.0",
58
- "@atlaskit/editor-toolbar-model": "^1.1.0",
56
+ "@atlaskit/editor-ssr-renderer": "^7.2.0",
57
+ "@atlaskit/editor-toolbar": "^2.4.0",
58
+ "@atlaskit/editor-toolbar-model": "^1.2.0",
59
59
  "@atlaskit/emoji": "^71.15.0",
60
60
  "@atlaskit/feature-gate-js-client": "^6.0.0",
61
61
  "@atlaskit/icon": "^37.2.0",
@@ -67,7 +67,7 @@
67
67
  "@atlaskit/react-compiler-gating": "^0.2.0",
68
68
  "@atlaskit/react-ufo": "^7.3.0",
69
69
  "@atlaskit/task-decision": "^21.8.0",
70
- "@atlaskit/tmp-editor-statsig": "^135.6.0",
70
+ "@atlaskit/tmp-editor-statsig": "^135.9.0",
71
71
  "@atlaskit/tokens": "^16.3.0",
72
72
  "@atlaskit/tooltip": "^24.0.0",
73
73
  "@atlaskit/width-detector": "^6.2.0",
@@ -85,8 +85,8 @@
85
85
  "uuid": "^3.1.0"
86
86
  },
87
87
  "peerDependencies": {
88
- "@atlaskit/editor-common": "^116.44.0",
89
- "@atlaskit/link-provider": "^5.2.0",
88
+ "@atlaskit/editor-common": "^116.46.0",
89
+ "@atlaskit/link-provider": "^5.3.0",
90
90
  "@atlaskit/media-core": "^38.0.0",
91
91
  "react": "^18.2.0",
92
92
  "react-dom": "^18.2.0",
@@ -96,16 +96,16 @@
96
96
  "@af/editor-libra": "workspace:^",
97
97
  "@af/suppress-react-warnings": "workspace:^",
98
98
  "@af/visual-regression": "workspace:^",
99
- "@atlaskit/adf-utils": "^20.3.0",
99
+ "@atlaskit/adf-utils": "^20.4.0",
100
100
  "@atlaskit/analytics-listeners": "^11.1.0",
101
101
  "@atlaskit/code": "^18.2.0",
102
102
  "@atlaskit/collab-provider": "^21.2.0",
103
- "@atlaskit/editor-plugin-annotation": "^12.0.0",
104
- "@atlaskit/editor-plugin-card": "^18.2.0",
105
- "@atlaskit/editor-plugin-list": "^14.1.0",
106
- "@atlaskit/editor-plugin-paste": "^13.4.0",
103
+ "@atlaskit/editor-plugin-annotation": "^12.1.0",
104
+ "@atlaskit/editor-plugin-card": "^18.3.0",
105
+ "@atlaskit/editor-plugin-list": "^14.2.0",
106
+ "@atlaskit/editor-plugin-paste": "^13.5.0",
107
107
  "@atlaskit/editor-test-helpers": "workspace:^",
108
- "@atlaskit/link-provider": "^5.2.0",
108
+ "@atlaskit/link-provider": "^5.3.0",
109
109
  "@atlaskit/linking-common": "^11.0.0",
110
110
  "@atlaskit/logo": "^21.4.0",
111
111
  "@atlaskit/media-core": "^38.0.0",
@@ -122,9 +122,9 @@
122
122
  "@atlassian/a11y-jest-testing": "^0.13.0",
123
123
  "@atlassian/a11y-playwright-testing": "^0.10.0",
124
124
  "@atlassian/adf-schema-json": "^1.33.0",
125
- "@atlassian/editor-rovo-bridge": "^10.15.0",
125
+ "@atlassian/editor-rovo-bridge": "^10.16.0",
126
126
  "@atlassian/feature-flags-test-utils": "^1.2.0",
127
- "@atlassian/search-client": "^2.8.0",
127
+ "@atlassian/search-client": "^2.9.0",
128
128
  "@atlassian/search-provider": "^13.1.0",
129
129
  "@atlassian/structured-docs-types": "workspace:^",
130
130
  "@atlassian/user-profile-card": "^1.26.0",
@@ -197,10 +197,6 @@
197
197
  "platform_editor_toolbar_responsive_fixes": {
198
198
  "type": "boolean"
199
199
  },
200
- "platform_editor_typography_ugc": {
201
- "type": "boolean",
202
- "referenceOnly": true
203
- },
204
200
  "platform_editor_disable_rerender_tracking_jira": {
205
201
  "type": "boolean"
206
202
  },
@@ -257,10 +253,6 @@
257
253
  "platform_editor_nested_dnd_styles_changes": {
258
254
  "type": "boolean"
259
255
  },
260
- "platform_editor_controls_no_toolbar_space": {
261
- "type": "boolean",
262
- "referenceOnly": true
263
- },
264
256
  "platform_editor_quick_insert_placeholder": {
265
257
  "type": "boolean"
266
258
  },