@atlaskit/editor-core 241.0.4 → 241.0.5

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 (142) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/cjs/composable-editor/{editor-internal-compiled.js → editor-internal-container.js} +4 -4
  3. package/dist/cjs/composable-editor/editor-internal.js +2 -2
  4. package/dist/cjs/ui/Addon/ClickAreaBlock/{clickAreaBlock-compiled.js → clickAreaBlock.js} +4 -4
  5. package/dist/cjs/ui/Addon/ClickAreaBlock/index.js +2 -2
  6. package/dist/cjs/ui/Appearance/Comment/{FixedToolbar-compiled.js → FixedToolbar.js} +4 -4
  7. package/dist/cjs/ui/Appearance/Comment/{StickyToolbar-compiled.js → StickyToolbar.js} +4 -4
  8. package/dist/cjs/ui/Appearance/Comment/Toolbar.js +4 -4
  9. package/dist/cjs/ui/Appearance/FullPage/FullPage.js +2 -2
  10. package/dist/cjs/ui/Appearance/FullPage/{FullPage-compiled.js → FullPageEditorWrapper.js} +4 -4
  11. package/dist/cjs/ui/Appearance/FullPage/FullPageToolbar.js +3 -3
  12. package/dist/cjs/ui/Appearance/FullPage/{MainToolbar-compiled.js → MainToolbarWrappers.js} +6 -6
  13. package/dist/cjs/ui/ChromeCollapsed/{ChromeCollapsed-compiled.js → ChromeCollapsed.js} +4 -4
  14. package/dist/cjs/ui/ChromeCollapsed/index.js +2 -2
  15. package/dist/cjs/ui/ContextPanel/{index-compiled.js → ContextPanelWrappers.js} +5 -5
  16. package/dist/cjs/ui/ContextPanel/index.js +3 -3
  17. package/dist/cjs/ui/EditorContentContainer/EditorContentContainer.compiled.css +213 -0
  18. package/dist/cjs/ui/EditorContentContainer/EditorContentContainer.js +415 -4
  19. package/dist/cjs/ui/PluginSlot/{PluginSlot-compiled.js → PluginSlot.js} +4 -4
  20. package/dist/cjs/ui/PluginSlot/index.js +2 -2
  21. package/dist/cjs/ui/Toolbar/{ToolbarComponentsWrapper-compiled.js → ToolbarComponentsWrapper.js} +4 -4
  22. package/dist/cjs/ui/Toolbar/ToolbarInner.js +2 -2
  23. package/dist/cjs/ui/Toolbar/{ToolbarSizeDetectorWrapper-compiled.js → ToolbarSizeDetectorWrapper.js} +4 -4
  24. package/dist/cjs/ui/Toolbar/ToolbarWithSizeDetector.js +2 -2
  25. package/dist/cjs/ui/WithFlash/index.js +2 -2
  26. package/dist/cjs/ui/WithFlash/{withFlash-compiled.js → withFlash.js} +9 -9
  27. package/dist/cjs/version-wrapper.js +1 -1
  28. package/dist/es2019/composable-editor/{editor-internal-compiled.js → editor-internal-container.js} +3 -3
  29. package/dist/es2019/composable-editor/editor-internal.js +2 -2
  30. package/dist/es2019/ui/Addon/ClickAreaBlock/{clickAreaBlock-compiled.js → clickAreaBlock.js} +3 -3
  31. package/dist/es2019/ui/Addon/ClickAreaBlock/index.js +2 -2
  32. package/dist/es2019/ui/Appearance/Comment/{FixedToolbar-compiled.js → FixedToolbar.js} +3 -3
  33. package/dist/es2019/ui/Appearance/Comment/{StickyToolbar-compiled.js → StickyToolbar.js} +3 -3
  34. package/dist/es2019/ui/Appearance/Comment/Toolbar.js +4 -4
  35. package/dist/es2019/ui/Appearance/FullPage/FullPage.js +2 -2
  36. package/dist/es2019/ui/Appearance/FullPage/{FullPage-compiled.js → FullPageEditorWrapper.js} +3 -3
  37. package/dist/es2019/ui/Appearance/FullPage/FullPageToolbar.js +3 -3
  38. package/dist/es2019/ui/Appearance/FullPage/{MainToolbar-compiled.js → MainToolbarWrappers.js} +5 -5
  39. package/dist/es2019/ui/ChromeCollapsed/{ChromeCollapsed-compiled.js → ChromeCollapsed.js} +3 -3
  40. package/dist/es2019/ui/ChromeCollapsed/index.js +2 -2
  41. package/dist/es2019/ui/ContextPanel/{index-compiled.js → ContextPanelWrappers.js} +4 -4
  42. package/dist/es2019/ui/ContextPanel/index.js +3 -3
  43. package/dist/es2019/ui/EditorContentContainer/EditorContentContainer.compiled.css +213 -0
  44. package/dist/es2019/ui/EditorContentContainer/EditorContentContainer.js +476 -4
  45. package/dist/es2019/ui/PluginSlot/{PluginSlot-compiled.js → PluginSlot.js} +3 -3
  46. package/dist/es2019/ui/PluginSlot/index.js +2 -2
  47. package/dist/es2019/ui/Toolbar/{ToolbarComponentsWrapper-compiled.js → ToolbarComponentsWrapper.js} +3 -3
  48. package/dist/es2019/ui/Toolbar/ToolbarInner.js +2 -2
  49. package/dist/es2019/ui/Toolbar/{ToolbarSizeDetectorWrapper-compiled.js → ToolbarSizeDetectorWrapper.js} +3 -3
  50. package/dist/es2019/ui/Toolbar/ToolbarWithSizeDetector.js +2 -2
  51. package/dist/es2019/ui/WithFlash/index.js +2 -2
  52. package/dist/es2019/ui/WithFlash/{withFlash-compiled.js → withFlash.js} +3 -3
  53. package/dist/es2019/version-wrapper.js +1 -1
  54. package/dist/esm/composable-editor/{editor-internal-compiled.js → editor-internal-container.js} +3 -3
  55. package/dist/esm/composable-editor/editor-internal.js +2 -2
  56. package/dist/esm/ui/Addon/ClickAreaBlock/{clickAreaBlock-compiled.js → clickAreaBlock.js} +3 -3
  57. package/dist/esm/ui/Addon/ClickAreaBlock/index.js +2 -2
  58. package/dist/esm/ui/Appearance/Comment/{FixedToolbar-compiled.js → FixedToolbar.js} +3 -3
  59. package/dist/esm/ui/Appearance/Comment/{StickyToolbar-compiled.js → StickyToolbar.js} +3 -3
  60. package/dist/esm/ui/Appearance/Comment/Toolbar.js +4 -4
  61. package/dist/esm/ui/Appearance/FullPage/FullPage.js +2 -2
  62. package/dist/esm/ui/Appearance/FullPage/{FullPage-compiled.js → FullPageEditorWrapper.js} +3 -3
  63. package/dist/esm/ui/Appearance/FullPage/FullPageToolbar.js +3 -3
  64. package/dist/esm/ui/Appearance/FullPage/{MainToolbar-compiled.js → MainToolbarWrappers.js} +5 -5
  65. package/dist/esm/ui/ChromeCollapsed/{ChromeCollapsed-compiled.js → ChromeCollapsed.js} +3 -3
  66. package/dist/esm/ui/ChromeCollapsed/index.js +2 -2
  67. package/dist/esm/ui/ContextPanel/{index-compiled.js → ContextPanelWrappers.js} +4 -4
  68. package/dist/esm/ui/ContextPanel/index.js +3 -3
  69. package/dist/esm/ui/EditorContentContainer/EditorContentContainer.compiled.css +213 -0
  70. package/dist/esm/ui/EditorContentContainer/EditorContentContainer.js +419 -4
  71. package/dist/esm/ui/PluginSlot/{PluginSlot-compiled.js → PluginSlot.js} +3 -3
  72. package/dist/esm/ui/PluginSlot/index.js +2 -2
  73. package/dist/esm/ui/Toolbar/{ToolbarComponentsWrapper-compiled.js → ToolbarComponentsWrapper.js} +3 -3
  74. package/dist/esm/ui/Toolbar/ToolbarInner.js +2 -2
  75. package/dist/esm/ui/Toolbar/{ToolbarSizeDetectorWrapper-compiled.js → ToolbarSizeDetectorWrapper.js} +3 -3
  76. package/dist/esm/ui/Toolbar/ToolbarWithSizeDetector.js +2 -2
  77. package/dist/esm/ui/WithFlash/index.js +2 -2
  78. package/dist/esm/ui/WithFlash/{withFlash-compiled.js → withFlash.js} +8 -8
  79. package/dist/esm/version-wrapper.js +1 -1
  80. package/dist/types/composable-editor/{editor-internal-compiled.d.ts → editor-internal-container.d.ts} +1 -1
  81. package/dist/types/ui/Addon/ClickAreaBlock/clickAreaBlock.d.ts +6 -0
  82. package/dist/types/ui/Appearance/Comment/{FixedToolbar-compiled.d.ts → FixedToolbar.d.ts} +2 -2
  83. package/dist/types/ui/Appearance/Comment/{StickyToolbar-compiled.d.ts → StickyToolbar.d.ts} +2 -2
  84. package/dist/types/ui/Appearance/FullPage/FullPageEditorWrapper.d.ts +7 -0
  85. package/dist/types/ui/Appearance/FullPage/{MainToolbar-compiled.d.ts → MainToolbarWrappers.d.ts} +3 -3
  86. package/dist/types/ui/ChromeCollapsed/ChromeCollapsed.d.ts +7 -0
  87. package/dist/types/ui/ContextPanel/{index-compiled.d.ts → ContextPanelWrappers.d.ts} +2 -2
  88. package/dist/types/ui/EditorContentContainer/EditorContentContainer.d.ts +26 -4
  89. package/dist/types/ui/PluginSlot/PluginSlot.d.ts +6 -0
  90. package/dist/types/ui/Toolbar/ToolbarComponentsWrapper.d.ts +11 -0
  91. package/dist/types/ui/Toolbar/ToolbarSizeDetectorWrapper.d.ts +11 -0
  92. package/dist/types/ui/WithFlash/{withFlash-compiled.d.ts → withFlash.d.ts} +1 -1
  93. package/package.json +3 -3
  94. package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +0 -213
  95. package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-compiled.js +0 -423
  96. package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +0 -213
  97. package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-compiled.js +0 -479
  98. package/dist/esm/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +0 -213
  99. package/dist/esm/ui/EditorContentContainer/EditorContentContainer-compiled.js +0 -422
  100. package/dist/types/ui/Addon/ClickAreaBlock/clickAreaBlock-compiled.d.ts +0 -6
  101. package/dist/types/ui/Appearance/FullPage/FullPage-compiled.d.ts +0 -7
  102. package/dist/types/ui/ChromeCollapsed/ChromeCollapsed-compiled.d.ts +0 -7
  103. package/dist/types/ui/EditorContentContainer/EditorContentContainer-compiled.d.ts +0 -29
  104. package/dist/types/ui/PluginSlot/PluginSlot-compiled.d.ts +0 -6
  105. package/dist/types/ui/Toolbar/ToolbarComponentsWrapper-compiled.d.ts +0 -11
  106. package/dist/types/ui/Toolbar/ToolbarSizeDetectorWrapper-compiled.d.ts +0 -11
  107. /package/dist/cjs/composable-editor/{editor-internal-compiled.compiled.css → editor-internal-container.compiled.css} +0 -0
  108. /package/dist/cjs/ui/Addon/ClickAreaBlock/{clickAreaBlock-compiled.compiled.css → clickAreaBlock.compiled.css} +0 -0
  109. /package/dist/cjs/ui/Appearance/Comment/{FixedToolbar-compiled.compiled.css → FixedToolbar.compiled.css} +0 -0
  110. /package/dist/cjs/ui/Appearance/Comment/{StickyToolbar-compiled.compiled.css → StickyToolbar.compiled.css} +0 -0
  111. /package/dist/cjs/ui/Appearance/FullPage/{FullPage-compiled.compiled.css → FullPageEditorWrapper.compiled.css} +0 -0
  112. /package/dist/cjs/ui/Appearance/FullPage/{MainToolbar-compiled.compiled.css → MainToolbarWrappers.compiled.css} +0 -0
  113. /package/dist/cjs/ui/ChromeCollapsed/{ChromeCollapsed-compiled.compiled.css → ChromeCollapsed.compiled.css} +0 -0
  114. /package/dist/cjs/ui/ContextPanel/{index-compiled.compiled.css → ContextPanelWrappers.compiled.css} +0 -0
  115. /package/dist/cjs/ui/PluginSlot/{PluginSlot-compiled.compiled.css → PluginSlot.compiled.css} +0 -0
  116. /package/dist/cjs/ui/Toolbar/{ToolbarComponentsWrapper-compiled.compiled.css → ToolbarComponentsWrapper.compiled.css} +0 -0
  117. /package/dist/cjs/ui/Toolbar/{ToolbarSizeDetectorWrapper-compiled.compiled.css → ToolbarSizeDetectorWrapper.compiled.css} +0 -0
  118. /package/dist/cjs/ui/WithFlash/{withFlash-compiled.compiled.css → withFlash.compiled.css} +0 -0
  119. /package/dist/es2019/composable-editor/{editor-internal-compiled.compiled.css → editor-internal-container.compiled.css} +0 -0
  120. /package/dist/es2019/ui/Addon/ClickAreaBlock/{clickAreaBlock-compiled.compiled.css → clickAreaBlock.compiled.css} +0 -0
  121. /package/dist/es2019/ui/Appearance/Comment/{FixedToolbar-compiled.compiled.css → FixedToolbar.compiled.css} +0 -0
  122. /package/dist/es2019/ui/Appearance/Comment/{StickyToolbar-compiled.compiled.css → StickyToolbar.compiled.css} +0 -0
  123. /package/dist/es2019/ui/Appearance/FullPage/{FullPage-compiled.compiled.css → FullPageEditorWrapper.compiled.css} +0 -0
  124. /package/dist/es2019/ui/Appearance/FullPage/{MainToolbar-compiled.compiled.css → MainToolbarWrappers.compiled.css} +0 -0
  125. /package/dist/es2019/ui/ChromeCollapsed/{ChromeCollapsed-compiled.compiled.css → ChromeCollapsed.compiled.css} +0 -0
  126. /package/dist/es2019/ui/ContextPanel/{index-compiled.compiled.css → ContextPanelWrappers.compiled.css} +0 -0
  127. /package/dist/es2019/ui/PluginSlot/{PluginSlot-compiled.compiled.css → PluginSlot.compiled.css} +0 -0
  128. /package/dist/es2019/ui/Toolbar/{ToolbarComponentsWrapper-compiled.compiled.css → ToolbarComponentsWrapper.compiled.css} +0 -0
  129. /package/dist/es2019/ui/Toolbar/{ToolbarSizeDetectorWrapper-compiled.compiled.css → ToolbarSizeDetectorWrapper.compiled.css} +0 -0
  130. /package/dist/es2019/ui/WithFlash/{withFlash-compiled.compiled.css → withFlash.compiled.css} +0 -0
  131. /package/dist/esm/composable-editor/{editor-internal-compiled.compiled.css → editor-internal-container.compiled.css} +0 -0
  132. /package/dist/esm/ui/Addon/ClickAreaBlock/{clickAreaBlock-compiled.compiled.css → clickAreaBlock.compiled.css} +0 -0
  133. /package/dist/esm/ui/Appearance/Comment/{FixedToolbar-compiled.compiled.css → FixedToolbar.compiled.css} +0 -0
  134. /package/dist/esm/ui/Appearance/Comment/{StickyToolbar-compiled.compiled.css → StickyToolbar.compiled.css} +0 -0
  135. /package/dist/esm/ui/Appearance/FullPage/{FullPage-compiled.compiled.css → FullPageEditorWrapper.compiled.css} +0 -0
  136. /package/dist/esm/ui/Appearance/FullPage/{MainToolbar-compiled.compiled.css → MainToolbarWrappers.compiled.css} +0 -0
  137. /package/dist/esm/ui/ChromeCollapsed/{ChromeCollapsed-compiled.compiled.css → ChromeCollapsed.compiled.css} +0 -0
  138. /package/dist/esm/ui/ContextPanel/{index-compiled.compiled.css → ContextPanelWrappers.compiled.css} +0 -0
  139. /package/dist/esm/ui/PluginSlot/{PluginSlot-compiled.compiled.css → PluginSlot.compiled.css} +0 -0
  140. /package/dist/esm/ui/Toolbar/{ToolbarComponentsWrapper-compiled.compiled.css → ToolbarComponentsWrapper.compiled.css} +0 -0
  141. /package/dist/esm/ui/Toolbar/{ToolbarSizeDetectorWrapper-compiled.compiled.css → ToolbarSizeDetectorWrapper.compiled.css} +0 -0
  142. /package/dist/esm/ui/WithFlash/{withFlash-compiled.compiled.css → withFlash.compiled.css} +0 -0
@@ -1,8 +1,423 @@
1
- import { EditorContentContainerCompiled } from './EditorContentContainer-compiled';
1
+ /* EditorContentContainer.tsx generated by @compiled/babel-plugin v3.0.2 */
2
+ import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
+ import "./EditorContentContainer.compiled.css";
4
+ import { ax, ix } from "@compiled/react/runtime";
5
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
6
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7
+ // oxlint-disable-next-line typescript-eslint/triple-slash-reference
8
+ /// <reference path="../../types/compiled-shims.d.ts" />
9
+
10
+ // Because we migrated with using cssMapScope API for non atomic css, so these atomic css related eslint suppression no longer needs to be fixed.
11
+ /* eslint-disable @atlaskit/platform/use-motion-token-values, @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/design-system/no-invalid-css-map, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/platform/expand-spacing-shorthand, @atlaskit/platform/expand-border-shorthand, @atlaskit/platform/expand-background-shorthand */
12
+ import React from 'react';
13
+ // eslint-disable-next-line import/order
14
+ import { getBrowserInfo } from '@atlaskit/editor-common/browser';
15
+
16
+ // eslint-disable-next-line @atlaskit/editor/enforce-todo-comment-format
17
+ // TODO: add back tableSharedStyle when migrate table styles
18
+ // import { richMediaClassName, tableSharedStyle } from '@atlaskit/editor-common/styles';
19
+
20
+ import { tableCellBackgroundColorVariablesForCompiled as tableCellBackgroundColorVariables } from '@atlaskit/editor-common/table-cell-background-for-compiled';
21
+ import { akEditorFullPageDefaultFontSize, akEditorGutterPaddingDynamic } from '@atlaskit/editor-shared-styles/constants';
22
+ import { overflowShadowForCompiled as overflowShadow } from '@atlaskit/editor-shared-styles/overflow-shadow-for-compiled';
23
+ import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
24
+ import { UNSAFE_expValNoExposure } from '@atlaskit/platform-feature-experiments/unsafe-exp-val-no-exposure';
25
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
26
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
27
+ import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
28
+ import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
29
+ import { useThemeObserver } from '@atlaskit/tokens/use-theme-observer';
30
+ import { getBaseFontSize } from '../../composable-editor/utils/getBaseFontSize';
31
+
32
+ // = akEditorDefaultLayoutWidth * breakoutWideScaleRatio = 1010.8 ~ 1011 This is a resulting width value that is applied to nodes that currently use breakouts (except table) and are set to `wide` when the viewport's width is > 1329px.
33
+ var akEditorCalculatedWideLayoutWidth = 1011;
34
+ // from breakoutConsts.calcWideWidth, layoutMaxWidth * breakoutConsts.wideScaleRatio = 904.8 ~ 905 This is a resulting width value that is applied to nodes that currently use breakouts (except table) and are set to `wide` when the viewport's width is <= 1266px.
35
+ var akEditorCalculatedWideLayoutWidthSmallViewport = 905;
36
+ var akEditorGutterPadding = 32;
37
+ var akEditorDefaultLayoutWidth = 760;
38
+ var akEditorFullWidthLayoutWidth = 1800;
39
+ var tableOverflowShadowWidthWide = 32;
40
+ // The breakpoint for small devices is 1266px, copied from getBreakpoint in platform/packages/editor/editor-common/src/ui/WidthProvider/index.tsx
41
+ var akEditorBreakpointForSmallDevice = "1266px";
42
+ var akEditorGutterPaddingReduced = 24;
43
+ var akEditorFullPageNarrowBreakout = 600;
44
+ var akEditorUltraWideLayoutWidth = 4000;
45
+ // Matches the legacy comment `less-margin` check: WidthProvider width (the editor's border box)
46
+ // below akEditorMobileBreakoutPoint (720). This content area's content box is that width minus
47
+ // the 2 x 1px editor border and 2 x 20px padding.
48
+ var akEditorCommentLessMarginBreakout = 720 - 2 - 40;
49
+ var commentLessMarginContainerQuery = "@container (width < ".concat(akEditorCommentLessMarginBreakout, "px)");
50
+ // Layout responsiveness breakpoints — chosen to align editor layout responsiveness with the renderer.
51
+ // Applied to the editor-area container query (max-width) for layout sections.
52
+ var akEditorLayoutFullWidthBreakpoint = 724;
53
+ var akEditorLayoutFixedWidthBreakpoint = 788;
54
+ var akEditorLayoutResizedBreakpoint = 820;
55
+
56
+ // Originally copied from packages/editor/editor-core/src/ui/Appearance/Comment/Comment.tsx
57
+ var CommentEditorMargin = 14;
58
+ var GRID_GUTTER = 12;
59
+ var blockNodesVerticalMargin = '0.75rem';
60
+ var fontSize14px = "".concat(14 / 16, "rem");
61
+ var scaledBlockNodesVerticalMargin = '0.75em';
62
+ // emoji constants — values inlined from packages/elements/emoji/src/util/constants.ts
63
+ // If you need to update these values, please also update packages/elements/emoji/src/util/constants.ts
64
+ var defaultEmojiHeight = 20;
65
+ var defaultDenseEmojiHeight = 16.25;
66
+ var scaledEmojiHeightH1 = 28;
67
+ var scaledEmojiHeightH2 = 26;
68
+ var scaledEmojiHeightH3 = 24;
69
+ var scaledEmojiHeightH4 = 22;
70
+ var denseEmojiHeightH1 = 24.25;
71
+ var denseEmojiHeightH2 = 22.25;
72
+ var denseEmojiHeightH3 = 20.25;
73
+ var denseEmojiHeightH4 = 18.25;
74
+ var emojiSelectionStyles = null;
75
+ var gutterDangerOverlay = null;
76
+ var blanketSelectionStyles = null;
77
+ // copied from packages/editor/editor-shared-styles/src/consts/consts.ts
78
+ var akEditorLineHeight = 1.714;
79
+ var listsStylesSafariFixMultiSelector = "\n\t.ProseMirror:not(.blockCardView-content-wrap) > li > p:first-child,\n\t.ProseMirror:not(.blockCardView-content-wrap) > li > .code-block:first-child,\n\t.ProseMirror:not(.blockCardView-content-wrap) > li > .ProseMirror-gapcursor:first-child + .code-block";
80
+ var editorAreaNonSmallDeviceContainerQuery = "@container editor-area (width >= ".concat(akEditorBreakpointForSmallDevice, ")");
81
+ var editorAreaNarrowPageContainerQuery = "@container editor-area (max-width: ".concat(akEditorFullPageNarrowBreakout, "px)");
82
+ var editorAreaLayoutFullWidthMaxWidthContainerQuery = "@container editor-area (max-width: ".concat(akEditorLayoutFullWidthBreakpoint, "px)");
83
+ var editorAreaLayoutFixedWidthMaxWidthContainerQuery = "@container editor-area (max-width: ".concat(akEditorLayoutFixedWidthBreakpoint, "px)");
84
+ var editorAreaLayoutResizedMaxWidthContainerQuery = "@container editor-area (max-width: ".concat(akEditorLayoutResizedBreakpoint, "px)");
85
+ var placeholderFadeInKeyframes = null;
86
+ var fadeIn = null;
87
+ var inlineStartShadow = null;
88
+ var inlineEndShadow = null;
89
+ var hideNativeBrowserTextSelectionStyles = null;
90
+ var boxShadowSelectionStyles = null;
91
+ var dangerBorderStyles = null;
92
+ var backgroundSelectionStyles = null;
93
+ var dangerBackgroundStyles = null;
94
+ var mentionsSelectedColor = null;
95
+ var fixVerticalAlignmentSelector = "\n\t&:first-of-type + ul,\n\t&:first-of-type + span + ul,\n\t&:first-of-type + ol,\n\t&:first-of-type + span + ol,\n\t&:first-of-type + pre,\n\t&:first-of-type + span + pre,\n\t&:first-of-type + blockquote,\n\t&:first-of-type + span + blockquote\n";
96
+ var gapCursorTwoImagesSideBySideFixSelector = "\n .ProseMirror-gapcursor[layout=\"wrap-left\"] + span + [layout=\"wrap-left\"],\n .ProseMirror-gapcursor[layout=\"wrap-right\"] + span + [layout=\"wrap-right\"],\n .ProseMirror-gapcursor + [layout=\"wrap-left\"] + [layout=\"wrap-right\"],\n .ProseMirror-gapcursor + [layout=\"wrap-left\"] + span + [layout=\"wrap-right\"],\n .ProseMirror-gapcursor + [layout=\"wrap-right\"] + [layout=\"wrap-left\"],\n .ProseMirror-gapcursor + [layout=\"wrap-right\"] + span + [layout=\"wrap-left\"],\n [layout=\"wrap-left\"] + .ProseMirror-gapcursor + [layout=\"wrap-right\"],\n [layout=\"wrap-left\"] + .ProseMirror-gapcursor + span [layout=\"wrap-right\"],\n [layout=\"wrap-right\"] + .ProseMirror-gapcursor + [layout=\"wrap-left\"],\n [layout=\"wrap-right\"] + .ProseMirror-gapcursor + span + [layout=\"wrap-left\"],\n [layout=\"wrap-left\"] + .ProseMirror-gapcursor";
97
+ var gapCursorMarginFixSelector = "\n [layout=\"wrap-left\"] + .ProseMirror-gapcursor + [layout=\"wrap-right\"] > div,\n [layout=\"wrap-left\"] + .ProseMirror-gapcursor + span + [layout=\"wrap-right\"] > div,\n [layout=\"wrap-right\"] + .ProseMirror-gapcursor + [layout=\"wrap-left\"] > div,\n [layout=\"wrap-right\"] + .ProseMirror-gapcursor + span + [layout=\"wrap-left\"] > div,\n .ProseMirror-gapcursor + [layout=\"wrap-right\"] + [layout=\"wrap-left\"] > div,\n .ProseMirror-gapcursor + [layout=\"wrap-right\"] + span + [layout=\"wrap-left\"] > div,\n .ProseMirror-gapcursor + [layout=\"wrap-left\"] + [layout=\"wrap-right\"] > div,\n .ProseMirror-gapcursor + [layout=\"wrap-left\"] + span + [layout=\"wrap-right\"] > div";
98
+ var gapCursorFloatLeftFixSelector = "\n [layout=\"wrap-left\"] + .ProseMirror-gapcursor,\n [layout=\"wrap-right\"] + .ProseMirror-gapcursor";
99
+ var gapCursorAfterPseudoSelector = "\n .ProseMirror-gapcursor + [layout=\"wrap-left\"] + span + [layout=\"wrap-right\"]::after,\n .ProseMirror-gapcursor + [layout=\"wrap-right\"] + span + [layout=\"wrap-left\"]::after,\n [layout=\"wrap-left\"] + .ProseMirror-gapcursor + [layout=\"wrap-right\"]::after,\n [layout=\"wrap-left\"] + .ProseMirror-gapcursor + span + [layout=\"wrap-right\"]::after,\n [layout=\"wrap-right\"] + .ProseMirror-gapcursor + [layout=\"wrap-left\"]::after,\n [layout=\"wrap-right\"] + .ProseMirror-gapcursor + span + [layout=\"wrap-left\"]::after";
100
+ var gapCursorMarginDeepChildrenFixSelector = "\n [layout=\"wrap-left\"] + .ProseMirror-gapcursor + [layout=\"wrap-right\"] + *,\n [layout=\"wrap-left\"] + .ProseMirror-gapcursor + [layout=\"wrap-right\"] + span + *,\n [layout=\"wrap-right\"] + .ProseMirror-gapcursor + [layout=\"wrap-left\"] + *,\n [layout=\"wrap-right\"] + .ProseMirror-gapcursor + [layout=\"wrap-left\"] + span + *,\n [layout=\"wrap-left\"] + .ProseMirror-gapcursor + span + [layout=\"wrap-right\"] + *,\n [layout=\"wrap-right\"] + .ProseMirror-gapcursor + span + [layout=\"wrap-left\"] + *,\n .ProseMirror-gapcursor + [layout=\"wrap-left\"] + span + [layout=\"wrap-right\"] + *,\n .ProseMirror-gapcursor + [layout=\"wrap-right\"] + span + [layout=\"wrap-left\"] + *,\n [layout=\"wrap-left\"] + .ProseMirror-gapcursor + [layout=\"wrap-right\"] + * > *,\n [layout=\"wrap-left\"] + .ProseMirror-gapcursor + [layout=\"wrap-right\"] + span + * > *,\n [layout=\"wrap-right\"] + .ProseMirror-gapcursor + [layout=\"wrap-left\"] + * > *,\n [layout=\"wrap-right\"] + .ProseMirror-gapcursor + [layout=\"wrap-left\"] + span + * > *,\n [layout=\"wrap-left\"] + .ProseMirror-gapcursor + span + [layout=\"wrap-right\"] + * > *,\n [layout=\"wrap-right\"] + .ProseMirror-gapcursor + span + [layout=\"wrap-left\"] + * > *,\n .ProseMirror-gapcursor + [layout=\"wrap-left\"] + span + [layout=\"wrap-right\"] + * > *,\n .ProseMirror-gapcursor + [layout=\"wrap-right\"] + span + [layout=\"wrap-left\"] + * > *,\n .ProseMirror-widget:not([data-blocks-decoration-container=\"true\"]):not([data-blocks-drag-handle-container=\"true\"]):not([data-blocks-quick-insert-container=\"true\"]) + .ProseMirror-gapcursor + *,\n .ProseMirror-widget:not([data-blocks-decoration-container=\"true\"]):not([data-blocks-drag-handle-container=\"true\"]):not([data-blocks-quick-insert-container=\"true\"]) + .ProseMirror-gapcursor + span + *";
101
+ var gapCursorBlink = null;
102
+ var pulseIn = null;
103
+ var pulseOut = null;
104
+ var pulseInDuringTr = null;
105
+ var pulseOutDuringTr = null;
106
+
107
+ // Agent edit shimmer: skeleton-loader sweep across the agent-authored range.
108
+ var agentShimmer = null;
109
+
110
+ // Agent edit purple "just edited" highlight: eases the background and underline in, holds, then eases
111
+ // them back out over the highlight's lifetime (duration set inline per-decoration to match removal).
112
+ var agentEditHighlight = null;
113
+ var syncBlockCreationLoadingKeyframes = null;
114
+ var mentionRunShimmer = null;
2
115
 
3
116
  /**
4
- * This module exposes the Compiled implementation as the entry point so consumers keep
5
- * importing from `./EditorContentContainer`.
117
+ * aiPanelStyles
118
+ * was imported from packages/editor/editor-core/src/ui/ContentStyles/ai-panels.ts
6
119
  */
7
- var EditorContentContainer = EditorContentContainerCompiled;
120
+ var rotationAnimation = null;
121
+ var rotationAnimationFirefox = null;
122
+
123
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
124
+ var prismBorderBaseBackgroundFirefox = "linear-gradient(90deg, #0065FF 0%, #0469FF 12%, #BF63F3 24%, #FFA900 48%, #BF63F3 64%, #0469FF 80%, #0065FF 100%)";
125
+
126
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
127
+ var prismBorderBaseBackground = "conic-gradient(from var(--panel-gradient-angle, 270deg), #0065FF 0%, #0469FF 20%, #BF63F3 50%, #FFA900 56%, #0065FF 100%)";
128
+
129
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
130
+ var prismBorderDarkBackgroundFirefox = "linear-gradient(90deg, #0065FF80 0%, #0469FF80 12%, #BF63F380 24%, #FFA90080 48%, #BF63F380 64%, #0469FF80 80%, #0065FF80 100%)";
131
+
132
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
133
+ var prismBorderDarkBackground = "conic-gradient(from var(--panel-gradient-angle, 270deg), #0065FF80 0%, #0469FF80 20%, #BF63F380 50%, #FFA90080 56%, #0065FF80 100%)";
134
+ var borderSelectionStyles = null;
135
+ var overflowShadowStyles = null;
136
+
137
+ /**
138
+ * editorContentStyles contains the Compiled CSS styles migrated from EditorContentContainer/styles.
139
+ * Validate style changes with local VR and integration tests.
140
+ *
141
+ * If you are not sure, please contact #proj-cc-editor-full-compiled-css-migration
142
+ */
143
+ // eslint-disable-next-line @atlaskit/design-system/no-css-map-scoped
144
+ var editorContentStyles = {
145
+ aiPanelBaseFirefoxStyles: "cc-1gbyxs2",
146
+ aiPanelBaseStyles: "cc-wna58a",
147
+ aiPanelDarkFirefoxStyles: "cc-1f8w0o2",
148
+ aiPanelDarkStyles: "cc-1es53wh",
149
+ alignMultipleWrappedImageInLayoutStyles: "cc-ke86s0",
150
+ annotationStyles: "cc-10az4f7",
151
+ backgroundColorStyles: "cc-1oqgp5j",
152
+ highlightLinksUnsetStyles: "cc-ddasnd",
153
+ baseStyles: "cc-zq7evp",
154
+ baseStylesMaxContainerWidthFixes: "cc-n9evsr",
155
+ blockMarksStyles: "cc-skb4y2",
156
+ extensionWithBreakoutStyles: "cc-1k1v07z",
157
+ blockquoteDangerStyles: "cc-1c68tfx",
158
+ blockquoteSelectedNodeStyles: "cc-qq2e8j",
159
+ blocktypeStyles: "cc-1xxjz1r",
160
+ headingScrollMarginStyles: "cc-z7dqqd",
161
+ blocktypeStylesRtlBlockquote: "cc-19ii5uh",
162
+ blocktypeStylesNestedDnd: "cc-16jdll9",
163
+ blocktypeStyles_fg_platform_editor_typography_ugc: "cc-gxqvk4",
164
+ codeBlockStyles: "cc-onhw5q",
165
+ codeBlockStylesWithEmUnits: "cc-38w9d",
166
+ codeMarkStyles: "cc-io46ye",
167
+ commentEditorStyles: "cc-1x20ugq",
168
+ commentLessMarginStyles: "cc-x78p23",
169
+ nonFullPageContainerTypeStyles: "cc-1ffq68j",
170
+ cursorStyles: "cc-1kqi4s4",
171
+ dangerDateStyles: "cc-19fni7v",
172
+ dangerRuleStyles: "cc-1hbwjkd",
173
+ numberedHeadingsStyles: "cc-17afnv1",
174
+ ruleWithAttrsStyles: "cc-1fue38t",
175
+ dateStyles: "cc-i9wwcr",
176
+ dateVanillaStyles: "cc-1raq80e",
177
+ decisionDangerStyles: "cc-1okuoyi",
178
+ decisionIconWithVisualRefresh: "cc-pr8iob",
179
+ decisionStyles: "cc-1gw4qxk",
180
+ diffListStyles: "cc-hlzh2",
181
+ editorControlsSmartCardStyles: "cc-j2xa8",
182
+ editorGutterPaddingBaseStyles: "cc-gf5osk",
183
+ editorLargeGutterPuddingReducedBaseStyles: "cc-k59244",
184
+ editorUGCTokensRefreshed: "cc-12km4p3",
185
+ editorUGCSmallText: "cc-1thh13r",
186
+ embedCardStyles: "cc-1umnjs6",
187
+ emojiDangerStyles: "cc-1tx6cik",
188
+ emojiStyles: "cc-1sg5wny",
189
+ emojiSelectionStyles: "cc-1frlnkf",
190
+ directEmojiSelectionStyles: "cc-1mtb0gj",
191
+ emojiDenseStyles: "cc-6k45xx",
192
+ expandStyles: "cc-jk1psr",
193
+ expandStylesBase: "cc-1vzxkjp",
194
+ expandStylesMixin_chromeless_expand_fix: "cc-14yvo9k",
195
+ expandStylesMixinNestedDnd: "cc-1hyq18d",
196
+ expandStylesMixin_fg_platform_visual_refresh_icons: "cc-328s3h",
197
+ expandDenseStyles: "cc-hi96s7",
198
+ extensionStyles: "cc-zjy8wl",
199
+ extensionStylesDense: "cc-vpjpue",
200
+ extensionDiffStyles: "cc-f4rnz8",
201
+ bodiedExtensionLayoutShiftFix: "cc-1rpjo6c",
202
+ findReplaceStyles: "cc-1u77fqd",
203
+ findReplaceStylesWithCodeblockColorContrastFix: "cc-1xo10av",
204
+ findReplaceStylesWithRefSyncBlock: "cc-j2i0v3",
205
+ firstBlockNodeStyles: "cc-z9wm5i",
206
+ firstNodeWidgetFixStyles: "cc-14bt53r",
207
+ firstCodeBlockWithNoMargin: "cc-18fy8gw",
208
+ firstFloatingToolbarButtonStyles: "cc-1ywyeuh",
209
+ firstWrappedMediaStyles: "cc-uzohia",
210
+ fontSizeStyles: "cc-386pb6",
211
+ fullPageEditorStyles: "cc-9bbcpz",
212
+ gapCursorStyles: "cc-p4ijkk",
213
+ gapCursorStylesVisibilityFix: "cc-1quskpv",
214
+ gridStyles: "cc-t1y6o4",
215
+ hideCursorWhenHideSelectionStyles: "cc-1yeejiq",
216
+ scopedHideCursorStyles: "cc-1do5apg",
217
+ hideSelectionStyles: "cc-1ed2xg3",
218
+ scopedHideSelectionStyles: "cc-egv7gq",
219
+ hyperLinkFloatingToolbarStyles: "cc-1ce0zwe",
220
+ indentationStyles: "cc-a0s7uy",
221
+ InlineNodeViewSharedStyles: "cc-kinzob",
222
+ layoutBaseStyles: "cc-118fbsr",
223
+ layoutBaseStylesAdvanced: "cc-yplord",
224
+ layoutBaseStylesNestedDndExcludingBodiedSync: "cc-584hkl",
225
+ layoutColumnDividerStyles: "cc-f4nl1b",
226
+ layoutColumnDividerStylesNestedDnD: "cc-l7w95r",
227
+ layoutColumnMartinTopFixes: "cc-wfdvz0",
228
+ layoutColumnResizeStyles: "cc-ou9nw1",
229
+ layoutColumnResponsiveStyles: "cc-sfa3kt",
230
+ layoutColumnStylesAdvanced: "cc-9tb4zl",
231
+ layoutColumnStylesNotAdvanced: "cc-1vz6vni",
232
+ layoutResponsiveBaseStyles: "cc-1vkjs8l",
233
+ layoutResponsiveStylesForView: "cc-5ny41m",
234
+ layoutDragHandleWrapperStylesLegacy: "cc-163ojmv",
235
+ layoutDragHandleWrapperStylesTopLayer: "cc-1fs3sks",
236
+ layoutSectionStylesAdvanced: "cc-1gxecuo",
237
+ layoutSectionStylesNotAdvanced: "cc-zbal4",
238
+ layoutSelectedStylesAdvanced: "cc-qgxq53",
239
+ layoutSelectedStylesAdvancedFix: "cc-1kc2z6k",
240
+ layoutSelectedStylesForViewAdvanced: "cc-wkobhf",
241
+ layoutSelectedStylesForViewNotAdvanced: "cc-yl4xp5",
242
+ layoutSelectedStylesNotAdvanced: "cc-13lofsj",
243
+ layoutStylesForView: "cc-1m0mbsh",
244
+ linkingVisualRefreshV1Styles: "cc-i7yj8d",
245
+ linkStyles: "cc-1eicnt5",
246
+ listDangerStyles: "cc-j17pg5",
247
+ listItemHiddenMarkerStyles: "cc-4inn25",
248
+ listSelectedNodeStyles: "cc-1b6rlbq",
249
+ listSelectedNodeStylesWithHighlightInheritance: "cc-ym0hmm",
250
+ listsStyles: "cc-1g0x84n",
251
+ listsStylesMarginLayoutShiftFix: "cc-nwkbcz",
252
+ listsStylesSafariFix: "cc-jsgz62",
253
+ listsDenseStyles: "cc-15hcq93",
254
+ maxModeReizeFixStyles: "cc-17o8xc4",
255
+ mediaAlignmentStyles: "cc-12o4ob2",
256
+ vanillaCaptionStyles: "cc-1epilu3",
257
+ mediaCaptionStyles: "cc-dmm73n",
258
+ mediaDangerStyles: "cc-1os5yyp",
259
+ mediaGroupStyles: "cc-3tgtow",
260
+ mediaStyles: "cc-16varpz",
261
+ mentionDangerStyles: "cc-oprxj6",
262
+ mentionAvatarNoWrapStyles: "cc-vun9g0",
263
+ mentionNodeStyles: "cc-19p9d8a",
264
+ agentMentionShimmerDarkMode: "cc-56vk54",
265
+ mentionsSelectionStyles: "cc-18t7jqr",
266
+ mentionsStyles: "cc-1xnj1nx",
267
+ nestedPanelBorderStylesMixin: "cc-1ehgjlb",
268
+ nestedPanelDangerStyles: "cc-1bknfwh",
269
+ panelStyles: "cc-1u8xj7",
270
+ panelStylesMixin: "cc-u7aoes",
271
+ panelStylesMixinNestedDnd: "cc-ldsfx5",
272
+ panelViewStyles: "cc-1h42r0",
273
+ paragraphStylesUGCRefreshed: "cc-1sd4buw",
274
+ paragraphStylesWithScaledMargin: "cc-6grtr7",
275
+ placeholderOverflowStyles: "cc-xhwru4",
276
+ placeholderStyles: "cc-3o7t7l",
277
+ placeholderTextStyles: "cc-5f6cgr",
278
+ pragmaticResizerStyles: "cc-aqv28l",
279
+ pragmaticResizerStylesCodeBlockSyncedBlockPatch: "cc-183gdj8",
280
+ pragmaticResizerStylesForTooltip: "cc-r930n9",
281
+ pragmaticResizerStylesSyncedBlock: "cc-16ydu7e",
282
+ pragmaticResizerStylesWithReducedEditorGutter: "cc-17lp2hq",
283
+ pragmaticResizerStylesPanelAndRule: "cc-1p753u3",
284
+ pragmaticResizerStylesPanelAndRuleJsdomFix: "cc-1wvct5b",
285
+ pragmaticResizerStylesExtensions: "cc-u7ux2b",
286
+ pragmaticResizerStylesHiddenForPanelAndRule: "cc-1pgajmv",
287
+ pragmaticResizerStylesHiddenForExtensions: "cc-edozq8",
288
+ pragmaticStylesLayoutFirstNodeResizeHandleFix: "cc-p7ejh0",
289
+ resizerStyles: "cc-o9mp90",
290
+ resizerBottomHandleStyles: "cc-wxw76a",
291
+ ruleStyles: "cc-wdpa1s",
292
+ scaledEmojiStyles: "cc-1fxvudr",
293
+ scaledEmojiDenseStyles: "cc-cxmncl",
294
+ scrollbarStyles: "cc-xy2nze",
295
+ selectedNodeStyles: "cc-e5rny1",
296
+ selectionToolbarAnimationStyles: "cc-6xcn74",
297
+ shadowStyles: "cc-64nyub",
298
+ extensionScrollInlineShadowStyles: "cc-2w3l0t",
299
+ showDiffDeletedNodeStyles: "cc-1orohbk",
300
+ smartCardDiffStyles: "cc-1kwmdli",
301
+ smartCardStylesWithSearchMatch: "cc-1vj8t5e",
302
+ smartCardStylesWithSearchMatchAndBlockMenuDangerStyles: "cc-1ta13nz",
303
+ smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness: "cc-1sh1jof",
304
+ smartLinksInLivePagesStyles: "cc-a5baya",
305
+ syncBlockFirstNodeStyles: "cc-wu1lx6",
306
+ syncBlockTextSelectionStyles: "cc-16ilyoh",
307
+ syncBlockInteractiveCursorStyles: "cc-1sxl2kn",
308
+ syncBlockOverflowStyles: "cc-g40y0r",
309
+ syncBlockStyles: "cc-14ke5o9",
310
+ syncBlockSelectedStyles: "cc-16lkx6o",
311
+ syncBlockStylesBase: "cc-xyxj0q",
312
+ tableCellBackgroundColorOverrides: "cc-18reawy",
313
+ tableCommentEditorStyles: "cc-hwyox5",
314
+ tableContainerStyles: "cc-lqz7ou",
315
+ tableScrollInlineShadowStyles: "cc-xmz7ep",
316
+ tableContentModeStyles: "cc-5x9ixh",
317
+ tableContentModeExtensionContainmentStyles: "cc-3zjodb",
318
+ tableContentModeNestedTableStyles: "cc-12578pj",
319
+ tableEmptyRowStyles: "cc-12r5qnh",
320
+ tableRoundedCornerStyles: "cc-3reuz7",
321
+ tableLayoutFixes: "cc-cf7rbr",
322
+ tableLayoutFixesWithFontSize: "cc-148rcw3",
323
+ tableSharedStyle: "cc-1cz9bvl",
324
+ tableSharedStyleBackgroundClipFix: "cc-1m6fxly",
325
+ tableSharedStyle_with_platform_editor_table_q4_loveability: "cc-xxtdve",
326
+ tableSharedStyle_without_platform_editor_table_q4_loveability: "cc-cz1xtf",
327
+ tableSharedStyle_with_platform_editor_table_menu_updates: "cc-1hsc0qn",
328
+ tableSharedStyle_with_platform_editor_bordered_panel_nested_in_table: "cc-9lpwkq",
329
+ taskItemCheckboxStyles: "cc-g8lqnf",
330
+ taskItemStylesWithBlockTaskItem: "cc-13wkzuf",
331
+ tasksAndDecisionsStyles: "cc-sqk75n",
332
+ tasksAndDecisionsDenseStyles: "cc-47ytxy",
333
+ statusDangerStyles: "cc-106ojo7",
334
+ statusStyles: "cc-1e7cxsr",
335
+ statusStylesMixin_fg_platform_component_visual_refresh_with_search_match: "cc-1p8tqx8",
336
+ statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match: "cc-1mganf6",
337
+ deletedStatusStrikeStyles: "cc-cqg0se",
338
+ atomicInlineChangedBoxShadowStyles: "cc-1e2dh7c",
339
+ statusStylesTeam26: "cc-jh0xlu",
340
+ statusStylesTeam26TextTrim: "cc-13wc50u",
341
+ statusStylesNamedSemantic: "cc-cvvssp",
342
+ statusStylesNamedAccent: "cc-184gmx3",
343
+ statusStylesHexAccent: "cc-1o240ig",
344
+ telepointerColorAndCommonStyle: "cc-yfngnq",
345
+ telepointerColorAndCommonStyleDarkMode: "cc-18r3qk1",
346
+ agentShimmerStyles: "cc-14zsh1y",
347
+ telepointerStyle: "cc-1ahvzgh",
348
+ textColorStyles: "cc-1trmq1d",
349
+ textDangerStyles: "cc-4n0yol",
350
+ textHighlightPaddingStyles: "cc-4yp2y0",
351
+ textHighlightStyle: "cc-gz6zd4",
352
+ textSelectedNodeStyles: "cc-1ti81ko",
353
+ textSelectedNodeStylesWithHighlightInheritance: "cc-1hsyavw",
354
+ unsupportedStyles: "cc-1u0ji6b",
355
+ vanillaTooltipDefaultStyles: "cc-10jqrnu",
356
+ contributorTagStyles: "cc-15skd4v",
357
+ vanillaUnsupportedStyles: "cc-cwmdaa",
358
+ whitespaceStyles: "cc-1nqdq6u"
359
+ };
360
+ var isFirefox = typeof navigator !== 'undefined' && navigator.userAgent.toLowerCase().indexOf('firefox') > -1;
361
+ /**
362
+ * EditorContentStyles is a wrapper component that applies styles to its children
363
+ * based on the provided feature flags, view mode, and other props.
364
+ * It uses Compiled for styling and supports scrollable content.
365
+ *
366
+ * This will be used in near future to replace the current editor content styles from index.tsx
367
+ */
368
+ var EditorContentContainer = /*#__PURE__*/React.forwardRef(function (props, ref) {
369
+ var className = props.className,
370
+ children = props.children,
371
+ viewMode = props.viewMode,
372
+ isScrollable = props.isScrollable,
373
+ appearance = props.appearance,
374
+ contentMode = props.contentMode,
375
+ useStandardNodeWidth = props.useStandardNodeWidth;
376
+ var _useThemeObserver = useThemeObserver(),
377
+ colorMode = _useThemeObserver.colorMode;
378
+ var isFullPage = appearance === 'full-page' || appearance === 'full-width' || appearance === 'max';
379
+ var isComment = appearance === 'comment';
380
+ var isChromeless = appearance === 'chromeless';
381
+ var baseFontSize = getBaseFontSize(appearance, contentMode);
382
+ var isDense = !!baseFontSize && baseFontSize !== akEditorFullPageDefaultFontSize;
383
+ var tableOverflowShadow = overflowShadow({
384
+ leftCoverWidth: "var(--ds-space-300, 24px)"
385
+ });
386
+
387
+ // Under the static-CSS experiment, --ak-editor-base-font-size is set earlier on the
388
+ // root div in editor-internal.tsx and inherited via the CSS cascade — do not set it here.
389
+ // For the legacy font-size path, derive it from the editor theme.
390
+ var style = React.useMemo(function () {
391
+ return _objectSpread(_objectSpread({
392
+ '--ak-editor--table-overflow-shadow': tableOverflowShadow
393
+ }, tableCellBackgroundColorVariables), !editorExperiment('platform_editor_preview_panel_responsiveness', true, {
394
+ exposure: true
395
+ }) && {
396
+ '--ak-editor--large-gutter-padding': "".concat(akEditorGutterPaddingDynamic(), "px")
397
+ });
398
+ }, [tableOverflowShadow]);
399
+ var browser = getBrowserInfo();
400
+ var isImproveInpEnabled = isExperimentEnabled('platform_editor_improve_inp');
401
+ // Highlight inheritance shipped in Chromium 134. Keep explicit descendant rules for
402
+ // other engines and older versions; supporting ::selection alone is not sufficient.
403
+ var isSelectionHighlightInheritanceActive = browser.chrome_version >= 134 && isImproveInpEnabled;
404
+ var isFloatingTocEnabled = isExperimentEnabled('platform_editor_floating_toc');
405
+ var isUpdateStatusColorsEnabled = UNSAFE_expValNoExposure('platform_editor_update_status_colors', 'isEnabled', false) || UNSAFE_expValNoExposure('platform_editor_update_status_colors_jira', 'isEnabled', false);
406
+ var isStatusStylesTeam26 = fg('platform-dst-lozenge-tag-badge-visual-uplifts');
407
+ return /*#__PURE__*/React.createElement("div", {
408
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
409
+ className: ax([editorContentStyles.baseStyles, editorContentStyles.maxModeReizeFixStyles, editorContentStyles.baseStylesMaxContainerWidthFixes, editorContentStyles.editorGutterPaddingBaseStyles, editorExperiment('platform_editor_preview_panel_responsiveness', true, {
410
+ exposure: true
411
+ }) && editorContentStyles.editorLargeGutterPuddingReducedBaseStyles, editorContentStyles.whitespaceStyles, editorContentStyles.indentationStyles, editorContentStyles.fontSizeStyles, editorContentStyles.shadowStyles, isExperimentEnabled('platform_editor_reduce_forced_layout_2') && editorContentStyles.extensionScrollInlineShadowStyles, editorContentStyles.InlineNodeViewSharedStyles, isImproveInpEnabled ? editorContentStyles.scopedHideSelectionStyles : editorContentStyles.hideSelectionStyles, isImproveInpEnabled ? editorContentStyles.scopedHideCursorStyles : 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, isSelectionHighlightInheritanceActive ? editorContentStyles.listSelectedNodeStylesWithHighlightInheritance : editorContentStyles.listSelectedNodeStyles, isSelectionHighlightInheritanceActive ? editorContentStyles.textSelectedNodeStylesWithHighlightInheritance : 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, isExperimentEnabled('platform_editor_numbered_headings') && editorContentStyles.numberedHeadingsStyles, editorContentStyles.smartCardDiffStyles, 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 */
412
+ 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, editorContentStyles.taskItemStylesWithBlockTaskItem, 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 && isExperimentEnabled('platform_status_lozenge_fractional_zoom_fix') && editorContentStyles.statusStylesTeam26TextTrim, isStatusStylesTeam26 && isUpdateStatusColorsEnabled && editorContentStyles.statusStylesNamedAccent, isStatusStylesTeam26 && !isUpdateStatusColorsEnabled && editorContentStyles.statusStylesNamedSemantic, 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, 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) && fg('platform-dst-top-layer-tooltip') && editorContentStyles.layoutDragHandleWrapperStylesTopLayer, 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, editorContentStyles.pragmaticResizerStyles, expValEqualsNoExposure('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && isExperimentEnabled('platform_editor_resizer_selector_jsdom_fix') && editorContentStyles.pragmaticResizerStylesPanelAndRuleJsdomFix, expValEqualsNoExposure('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && !isExperimentEnabled('platform_editor_resizer_selector_jsdom_fix') && editorContentStyles.pragmaticResizerStylesPanelAndRule, isExperimentEnabled('platform_editor_lovability_resize_extensions') && editorContentStyles.pragmaticResizerStylesExtensions, editorContentStyles.pragmaticResizerStylesCodeBlockSyncedBlockPatch, isExperimentEnabled('platform_editor_reduce_forced_layout') && !expValEqualsNoExposure('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesHiddenForPanelAndRule, isExperimentEnabled('platform_editor_reduce_forced_layout') && !isExperimentEnabled('platform_editor_lovability_resize_extensions') && editorContentStyles.pragmaticResizerStylesHiddenForExtensions, editorExperiment('advanced_layouts', true) && editorContentStyles.pragmaticStylesLayoutFirstNodeResizeHandleFix, editorContentStyles.pragmaticResizerStylesForTooltip, editorExperiment('platform_editor_preview_panel_responsiveness', 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, isComment && (fg('platform_editor_comment_margin_cq') || isExperimentEnabled('work_item_modernization')) && editorContentStyles.commentLessMarginStyles, isFullPage && editorContentStyles.fullPageEditorStyles, isFullPage && editorContentStyles.scrollbarStyles, editorContentStyles.firstCodeBlockWithNoMargin, editorContentStyles.firstBlockNodeStyles, editorContentStyles.firstNodeWidgetFixStyles, editorContentStyles.mentionNodeStyles, isExperimentEnabled('platform_editor_mention_avatar_nowrap') && editorContentStyles.mentionAvatarNoWrapStyles, 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, fg('platform_editor_ai_show_diff_patch_2') && editorContentStyles.atomicInlineChangedBoxShadowStyles, editorContentStyles.dangerRuleStyles, editorContentStyles.mediaDangerStyles, editorContentStyles.nestedPanelDangerStyles, className || undefined]),
413
+ ref: ref,
414
+ "data-editor-scroll-container": isScrollable ? 'true' : undefined,
415
+ "data-testid": "editor-content-container"
416
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
417
+ ,
418
+ style: style,
419
+ tabIndex: isScrollable ? 0 : undefined,
420
+ role: isScrollable ? 'region' : undefined
421
+ }, children);
422
+ });
8
423
  export default EditorContentContainer;
@@ -1,14 +1,14 @@
1
- /* PluginSlot-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* PluginSlot.tsx generated by @compiled/babel-plugin v3.0.2 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
4
  var _excluded = ["children"];
5
- import "./PluginSlot-compiled.compiled.css";
5
+ import "./PluginSlot.compiled.css";
6
6
  import * as React from 'react';
7
7
  import { ax, ix } from "@compiled/react/runtime";
8
8
  var pluginsComponentsWrapperCompiledStyles = {
9
9
  root: "_1e0c1txw"
10
10
  };
11
- export var PluginsComponentsWrapperCompiled = function PluginsComponentsWrapperCompiled(_ref) {
11
+ export var PluginsComponentsWrapper = function PluginsComponentsWrapper(_ref) {
12
12
  var children = _ref.children,
13
13
  rest = _objectWithoutProperties(_ref, _excluded);
14
14
  return /*#__PURE__*/React.createElement("div", _extends({}, rest, {
@@ -4,7 +4,7 @@ import { ACTION_SUBJECT } from '@atlaskit/editor-common/analytics/types/enums';
4
4
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
5
5
  import { ErrorBoundary } from '../ErrorBoundary';
6
6
  import { MountPluginHooks } from './mount-plugin-hooks';
7
- import { PluginsComponentsWrapperCompiled } from './PluginSlot-compiled';
7
+ import { PluginsComponentsWrapper } from './PluginSlot';
8
8
  var PluginComponent = function PluginComponent(_ref) {
9
9
  var component = _ref.component,
10
10
  editorView = _ref.editorView,
@@ -63,7 +63,7 @@ var PluginSlot = function PluginSlot(_ref2) {
63
63
  pluginHooks: pluginHooks,
64
64
  containerElement: containerElement,
65
65
  wrapperElement: wrapperElement
66
- }), /*#__PURE__*/React.createElement(PluginsComponentsWrapperCompiled, {
66
+ }), /*#__PURE__*/React.createElement(PluginsComponentsWrapper, {
67
67
  "data-testid": "plugins-components-wrapper"
68
68
  }, items === null || items === void 0 ? void 0 : items.map(function (component, index) {
69
69
  if (isolatePluginSlotFailures) {
@@ -1,11 +1,11 @@
1
- /* ToolbarComponentsWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
2
- import "./ToolbarComponentsWrapper-compiled.compiled.css";
1
+ /* ToolbarComponentsWrapper.tsx generated by @compiled/babel-plugin v3.0.2 */
2
+ import "./ToolbarComponentsWrapper.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
5
5
  var toolbarComponentsWrapperCompiledStyles = {
6
6
  root: "_1e0c1txw _1hm21yb4"
7
7
  };
8
- export var ToolbarComponentsWrapperCompiled = function ToolbarComponentsWrapperCompiled(_ref) {
8
+ export var ToolbarComponentsWrapper = function ToolbarComponentsWrapper(_ref) {
9
9
  var children = _ref.children,
10
10
  dataVc = _ref['data-vc'];
11
11
  return /*#__PURE__*/React.createElement("div", {
@@ -8,7 +8,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
8
8
  import React from 'react';
9
9
  import isEqual from 'lodash/isEqual';
10
10
  import { isSSR } from '@atlaskit/editor-common/is-ssr';
11
- import { ToolbarComponentsWrapperCompiled } from './ToolbarComponentsWrapper-compiled';
11
+ import { ToolbarComponentsWrapper } from './ToolbarComponentsWrapper';
12
12
 
13
13
  // Ignored via go/ees005
14
14
  // eslint-disable-next-line @repo/internal/react/no-class-components
@@ -49,7 +49,7 @@ export var ToolbarInner = /*#__PURE__*/function (_React$Component) {
49
49
  // Hiding toolbar in SSR until the dependency of screen width is resolved in SSR environment.
50
50
  return null;
51
51
  }
52
- return /*#__PURE__*/React.createElement(ToolbarComponentsWrapperCompiled, {
52
+ return /*#__PURE__*/React.createElement(ToolbarComponentsWrapper, {
53
53
  "data-vc": "toolbar-inner"
54
54
  }, items.map(function (component, key) {
55
55
  var element = component({
@@ -1,11 +1,11 @@
1
- /* ToolbarSizeDetectorWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
2
- import "./ToolbarSizeDetectorWrapper-compiled.compiled.css";
1
+ /* ToolbarSizeDetectorWrapper.tsx generated by @compiled/babel-plugin v3.0.2 */
2
+ import "./ToolbarSizeDetectorWrapper.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
5
5
  var toolbarSizeDetectorWrapperCompiledStyles = {
6
6
  root: "_1bsb1osq _kqswh2mm"
7
7
  };
8
- export var ToolbarSizeDetectorWrapperCompiled = function ToolbarSizeDetectorWrapperCompiled(_ref) {
8
+ export var ToolbarSizeDetectorWrapper = function ToolbarSizeDetectorWrapper(_ref) {
9
9
  var children = _ref.children,
10
10
  style = _ref.style;
11
11
  return /*#__PURE__*/React.createElement("div", {
@@ -8,7 +8,7 @@ import { isFullPage } from '../../utils/is-full-page';
8
8
  import { useElementWidth } from './hooks';
9
9
  import { Toolbar } from './Toolbar';
10
10
  import { toolbarSizeToWidth, widthToToolbarSize } from './toolbar-size';
11
- import { ToolbarSizeDetectorWrapperCompiled } from './ToolbarSizeDetectorWrapper-compiled';
11
+ import { ToolbarSizeDetectorWrapper } from './ToolbarSizeDetectorWrapper';
12
12
  export var ToolbarWithSizeDetector = function ToolbarWithSizeDetector(props) {
13
13
  var ref = React.useRef(null);
14
14
  var _React$useState = React.useState(undefined),
@@ -39,7 +39,7 @@ export var ToolbarWithSizeDetector = function ToolbarWithSizeDetector(props) {
39
39
  minWidth: minWidthValue
40
40
  };
41
41
  }, [minWidthValue]);
42
- return /*#__PURE__*/React.createElement(ToolbarSizeDetectorWrapperCompiled
42
+ return /*#__PURE__*/React.createElement(ToolbarSizeDetectorWrapper
43
43
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- minWidth is computed dynamically from props.hasMinWidth, props.appearance, props.twoLineEditorToolbar, and the platform_editor_preview_panel_responsiveness experiment, so it cannot be expressed as a static css value.
44
44
  , {
45
45
  style: wrapperStyle
@@ -1,3 +1,3 @@
1
- import { WithFlashCompiled } from './withFlash-compiled';
2
- var WithFlash = WithFlashCompiled;
1
+ import { WithFlash as WithFlashComponent } from './withFlash';
2
+ var WithFlash = WithFlashComponent;
3
3
  export default WithFlash;
@@ -1,11 +1,11 @@
1
- /* withFlash-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
1
+ /* withFlash.tsx generated by @compiled/babel-plugin v3.0.2 */
2
2
  import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
3
3
  import _createClass from "@babel/runtime/helpers/createClass";
4
4
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
5
5
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
6
6
  import _inherits from "@babel/runtime/helpers/inherits";
7
7
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
8
- import "./withFlash-compiled.compiled.css";
8
+ import "./withFlash.compiled.css";
9
9
  import { ax, ix } from "@compiled/react/runtime";
10
10
  function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
11
11
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
@@ -18,19 +18,19 @@ var compiledStyles = {
18
18
  };
19
19
  // Ignored via go/ees005
20
20
  // eslint-disable-next-line @repo/internal/react/no-class-components
21
- export var WithFlashCompiled = /*#__PURE__*/function (_React$Component) {
22
- function WithFlashCompiled() {
21
+ export var WithFlash = /*#__PURE__*/function (_React$Component) {
22
+ function WithFlash() {
23
23
  var _this;
24
- _classCallCheck(this, WithFlashCompiled);
24
+ _classCallCheck(this, WithFlash);
25
25
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
26
26
  args[_key] = arguments[_key];
27
27
  }
28
- _this = _callSuper(this, WithFlashCompiled, [].concat(args));
28
+ _this = _callSuper(this, WithFlash, [].concat(args));
29
29
  _defineProperty(_this, "toggle", false);
30
30
  return _this;
31
31
  }
32
- _inherits(WithFlashCompiled, _React$Component);
33
- return _createClass(WithFlashCompiled, [{
32
+ _inherits(WithFlash, _React$Component);
33
+ return _createClass(WithFlash, [{
34
34
  key: "render",
35
35
  value: function render() {
36
36
  var _this$props = this.props,
@@ -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 = "241.0.3";
3
+ export var version = "241.0.4";