@atlaskit/editor-core 235.0.0 → 235.0.2

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 (246) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/cjs/composable-editor/editor-internal-compiled.js +0 -6
  3. package/dist/cjs/composable-editor/editor-internal.js +3 -12
  4. package/dist/cjs/ui/Addon/ClickAreaBlock/clickAreaBlock-compiled.js +0 -5
  5. package/dist/cjs/ui/Addon/ClickAreaBlock/index.js +1 -7
  6. package/dist/cjs/ui/Appearance/ChromelessEditorContainer.js +26 -13
  7. package/dist/cjs/ui/Appearance/Comment/Comment.js +262 -7
  8. package/dist/cjs/ui/Appearance/Comment/FixedToolbar-compiled.js +0 -6
  9. package/dist/cjs/ui/Appearance/Comment/StickyToolbar-compiled.js +0 -6
  10. package/dist/cjs/ui/Appearance/Comment/Toolbar.js +2 -13
  11. package/dist/cjs/ui/Appearance/FullPage/BeforeWrapper.js +15 -7
  12. package/dist/cjs/ui/Appearance/FullPage/CustomToolbarWrapper.js +41 -10
  13. package/dist/cjs/ui/Appearance/FullPage/FullPage-compiled.js +0 -6
  14. package/dist/cjs/ui/Appearance/FullPage/FullPage.js +1 -6
  15. package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea.js +192 -14
  16. package/dist/cjs/ui/Appearance/FullPage/FullPageToolbar.js +3 -5
  17. package/dist/cjs/ui/Appearance/FullPage/MainToolbar-compiled.js +0 -6
  18. package/dist/cjs/ui/Appearance/FullPage/MainToolbarWrapper.js +23 -7
  19. package/dist/cjs/ui/ChromeCollapsed/ChromeCollapsed-compiled.js +0 -6
  20. package/dist/cjs/ui/ChromeCollapsed/index.js +1 -7
  21. package/dist/cjs/ui/ContextPanel/index-compiled.js +0 -6
  22. package/dist/cjs/ui/ContextPanel/index.js +2 -11
  23. package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +1 -1
  24. package/dist/cjs/ui/PluginSlot/PluginSlot-compiled.js +0 -7
  25. package/dist/cjs/ui/PluginSlot/index.js +1 -6
  26. package/dist/cjs/ui/Toolbar/ToolbarComponentsWrapper-compiled.js +0 -6
  27. package/dist/cjs/ui/Toolbar/ToolbarInner.js +1 -8
  28. package/dist/cjs/ui/Toolbar/ToolbarSizeDetectorWrapper-compiled.js +0 -6
  29. package/dist/cjs/ui/Toolbar/ToolbarWithSizeDetector.js +2 -11
  30. package/dist/cjs/ui/WithFlash/index.js +1 -6
  31. package/dist/cjs/ui/WithFlash/withFlash-compiled.js +1 -6
  32. package/dist/cjs/version-wrapper.js +1 -1
  33. package/dist/es2019/composable-editor/editor-internal-compiled.js +0 -6
  34. package/dist/es2019/composable-editor/editor-internal.js +3 -10
  35. package/dist/es2019/ui/Addon/ClickAreaBlock/clickAreaBlock-compiled.js +0 -5
  36. package/dist/es2019/ui/Addon/ClickAreaBlock/index.js +1 -5
  37. package/dist/es2019/ui/Appearance/ChromelessEditorContainer.js +24 -12
  38. package/dist/es2019/ui/Appearance/Comment/Comment.js +254 -5
  39. package/dist/es2019/ui/Appearance/Comment/FixedToolbar-compiled.js +0 -6
  40. package/dist/es2019/ui/Appearance/Comment/StickyToolbar-compiled.js +0 -6
  41. package/dist/es2019/ui/Appearance/Comment/Toolbar.js +2 -8
  42. package/dist/es2019/ui/Appearance/FullPage/BeforeWrapper.js +11 -5
  43. package/dist/es2019/ui/Appearance/FullPage/CustomToolbarWrapper.js +37 -6
  44. package/dist/es2019/ui/Appearance/FullPage/FullPage-compiled.js +0 -6
  45. package/dist/es2019/ui/Appearance/FullPage/FullPage.js +1 -4
  46. package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea.js +186 -11
  47. package/dist/es2019/ui/Appearance/FullPage/FullPageToolbar.js +3 -5
  48. package/dist/es2019/ui/Appearance/FullPage/MainToolbar-compiled.js +0 -6
  49. package/dist/es2019/ui/Appearance/FullPage/MainToolbarWrapper.js +24 -5
  50. package/dist/es2019/ui/ChromeCollapsed/ChromeCollapsed-compiled.js +0 -6
  51. package/dist/es2019/ui/ChromeCollapsed/index.js +1 -5
  52. package/dist/es2019/ui/ContextPanel/index-compiled.js +0 -6
  53. package/dist/es2019/ui/ContextPanel/index.js +2 -7
  54. package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +1 -1
  55. package/dist/es2019/ui/PluginSlot/PluginSlot-compiled.js +0 -7
  56. package/dist/es2019/ui/PluginSlot/index.js +1 -4
  57. package/dist/es2019/ui/Toolbar/ToolbarComponentsWrapper-compiled.js +0 -6
  58. package/dist/es2019/ui/Toolbar/ToolbarInner.js +1 -5
  59. package/dist/es2019/ui/Toolbar/ToolbarSizeDetectorWrapper-compiled.js +0 -6
  60. package/dist/es2019/ui/Toolbar/ToolbarWithSizeDetector.js +2 -9
  61. package/dist/es2019/ui/WithFlash/index.js +1 -4
  62. package/dist/es2019/ui/WithFlash/withFlash-compiled.js +0 -6
  63. package/dist/es2019/version-wrapper.js +1 -1
  64. package/dist/esm/composable-editor/editor-internal-compiled.js +0 -6
  65. package/dist/esm/composable-editor/editor-internal.js +3 -12
  66. package/dist/esm/ui/Addon/ClickAreaBlock/clickAreaBlock-compiled.js +0 -5
  67. package/dist/esm/ui/Addon/ClickAreaBlock/index.js +1 -7
  68. package/dist/esm/ui/Appearance/ChromelessEditorContainer.js +25 -14
  69. package/dist/esm/ui/Appearance/Comment/Comment.js +260 -7
  70. package/dist/esm/ui/Appearance/Comment/FixedToolbar-compiled.js +0 -6
  71. package/dist/esm/ui/Appearance/Comment/StickyToolbar-compiled.js +0 -7
  72. package/dist/esm/ui/Appearance/Comment/Toolbar.js +2 -12
  73. package/dist/esm/ui/Appearance/FullPage/BeforeWrapper.js +13 -7
  74. package/dist/esm/ui/Appearance/FullPage/CustomToolbarWrapper.js +39 -10
  75. package/dist/esm/ui/Appearance/FullPage/FullPage-compiled.js +0 -6
  76. package/dist/esm/ui/Appearance/FullPage/FullPage.js +1 -6
  77. package/dist/esm/ui/Appearance/FullPage/FullPageContentArea.js +190 -13
  78. package/dist/esm/ui/Appearance/FullPage/FullPageToolbar.js +3 -5
  79. package/dist/esm/ui/Appearance/FullPage/MainToolbar-compiled.js +0 -6
  80. package/dist/esm/ui/Appearance/FullPage/MainToolbarWrapper.js +23 -7
  81. package/dist/esm/ui/ChromeCollapsed/ChromeCollapsed-compiled.js +0 -6
  82. package/dist/esm/ui/ChromeCollapsed/index.js +1 -7
  83. package/dist/esm/ui/ContextPanel/index-compiled.js +0 -6
  84. package/dist/esm/ui/ContextPanel/index.js +2 -11
  85. package/dist/esm/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +1 -1
  86. package/dist/esm/ui/PluginSlot/PluginSlot-compiled.js +0 -7
  87. package/dist/esm/ui/PluginSlot/index.js +1 -6
  88. package/dist/esm/ui/Toolbar/ToolbarComponentsWrapper-compiled.js +0 -6
  89. package/dist/esm/ui/Toolbar/ToolbarInner.js +1 -7
  90. package/dist/esm/ui/Toolbar/ToolbarSizeDetectorWrapper-compiled.js +0 -6
  91. package/dist/esm/ui/Toolbar/ToolbarWithSizeDetector.js +2 -11
  92. package/dist/esm/ui/WithFlash/index.js +1 -6
  93. package/dist/esm/ui/WithFlash/withFlash-compiled.js +0 -6
  94. package/dist/esm/version-wrapper.js +1 -1
  95. package/dist/types/composable-editor/editor-internal-compiled.d.ts +0 -6
  96. package/dist/types/ui/Addon/ClickAreaBlock/clickAreaBlock-compiled.d.ts +0 -4
  97. package/dist/types/ui/Appearance/ChromelessEditorContainer.d.ts +10 -7
  98. package/dist/types/ui/Appearance/Comment/Comment.d.ts +24 -2
  99. package/dist/types/ui/Appearance/Comment/FixedToolbar-compiled.d.ts +0 -6
  100. package/dist/types/ui/Appearance/Comment/StickyToolbar-compiled.d.ts +0 -6
  101. package/dist/types/ui/Appearance/FullPage/BeforeWrapper.d.ts +7 -3
  102. package/dist/types/ui/Appearance/FullPage/CustomToolbarWrapper.d.ts +2 -3
  103. package/dist/types/ui/Appearance/FullPage/FullPageContentArea.d.ts +54 -6
  104. package/dist/types/ui/Appearance/FullPage/MainToolbar-compiled.d.ts +0 -6
  105. package/dist/types/ui/Appearance/FullPage/MainToolbarWrapper.d.ts +13 -3
  106. package/dist/types/ui/ChromeCollapsed/ChromeCollapsed-compiled.d.ts +0 -6
  107. package/dist/types/ui/PluginSlot/PluginSlot-compiled.d.ts +0 -6
  108. package/dist/types/ui/Toolbar/ToolbarComponentsWrapper-compiled.d.ts +0 -6
  109. package/dist/types/ui/Toolbar/ToolbarSizeDetectorWrapper-compiled.d.ts +0 -6
  110. package/dist/types/ui/WithFlash/index.d.ts +1 -1
  111. package/dist/types/ui/WithFlash/withFlash-compiled.d.ts +0 -6
  112. package/package.json +3 -3
  113. package/dist/cjs/composable-editor/BaseThemeWrapper.js +0 -47
  114. package/dist/cjs/composable-editor/editor-internal-emotion.js +0 -35
  115. package/dist/cjs/ui/Addon/ClickAreaBlock/clickAreaBlock-emotion.js +0 -36
  116. package/dist/cjs/ui/Appearance/Chromeless-compiled.js +0 -38
  117. package/dist/cjs/ui/Appearance/Chromeless-emotion.js +0 -89
  118. package/dist/cjs/ui/Appearance/Comment/Comment-compiled.js +0 -273
  119. package/dist/cjs/ui/Appearance/Comment/Comment-emotion.js +0 -339
  120. package/dist/cjs/ui/Appearance/Comment/FixedToolbar-emotion.js +0 -89
  121. package/dist/cjs/ui/Appearance/Comment/StickyToolbar-emotion.js +0 -126
  122. package/dist/cjs/ui/Appearance/FullPage/BeforeWrapper-compiled.js +0 -29
  123. package/dist/cjs/ui/Appearance/FullPage/BeforeWrapper-emotion.js +0 -34
  124. package/dist/cjs/ui/Appearance/FullPage/CustomToolbarWrapper-compiled.js +0 -57
  125. package/dist/cjs/ui/Appearance/FullPage/CustomToolbarWrapper-emotion.js +0 -89
  126. package/dist/cjs/ui/Appearance/FullPage/CustomToolbarWrapperMigration.js +0 -13
  127. package/dist/cjs/ui/Appearance/FullPage/FullPage-emotion.js +0 -38
  128. package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea-compiled.js +0 -201
  129. package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea-emotion.js +0 -398
  130. package/dist/cjs/ui/Appearance/FullPage/MainToolbar-emotion.js +0 -63
  131. package/dist/cjs/ui/Appearance/FullPage/MainToolbarIconBeforeMigration.js +0 -13
  132. package/dist/cjs/ui/Appearance/FullPage/MainToolbarWrapper-compiled.js +0 -35
  133. package/dist/cjs/ui/Appearance/FullPage/MainToolbarWrapper-emotion.js +0 -70
  134. package/dist/cjs/ui/Appearance/FullPage/NonCustomToolbarWrapperMigration.js +0 -13
  135. package/dist/cjs/ui/Appearance/FullPage/StyledComponents.js +0 -65
  136. package/dist/cjs/ui/ChromeCollapsed/ChromeCollapsed-emotion.js +0 -37
  137. package/dist/cjs/ui/ContextPanel/index-emotion.js +0 -86
  138. package/dist/cjs/ui/PluginSlot/PluginSlot-emotion.js +0 -35
  139. package/dist/cjs/ui/Toolbar/ToolbarComponentsWrapper-emotion.js +0 -36
  140. package/dist/cjs/ui/Toolbar/ToolbarSizeDetectorWrapper-emotion.js +0 -32
  141. package/dist/cjs/ui/WithFlash/withFlash-emotion.js +0 -91
  142. package/dist/es2019/composable-editor/BaseThemeWrapper.js +0 -35
  143. package/dist/es2019/composable-editor/editor-internal-emotion.js +0 -27
  144. package/dist/es2019/ui/Addon/ClickAreaBlock/clickAreaBlock-emotion.js +0 -26
  145. package/dist/es2019/ui/Appearance/Chromeless-compiled.js +0 -30
  146. package/dist/es2019/ui/Appearance/Chromeless-emotion.js +0 -80
  147. package/dist/es2019/ui/Appearance/Comment/Comment-compiled.js +0 -260
  148. package/dist/es2019/ui/Appearance/Comment/Comment-emotion.js +0 -326
  149. package/dist/es2019/ui/Appearance/Comment/FixedToolbar-emotion.js +0 -86
  150. package/dist/es2019/ui/Appearance/Comment/StickyToolbar-emotion.js +0 -123
  151. package/dist/es2019/ui/Appearance/FullPage/BeforeWrapper-compiled.js +0 -19
  152. package/dist/es2019/ui/Appearance/FullPage/BeforeWrapper-emotion.js +0 -25
  153. package/dist/es2019/ui/Appearance/FullPage/CustomToolbarWrapper-compiled.js +0 -47
  154. package/dist/es2019/ui/Appearance/FullPage/CustomToolbarWrapper-emotion.js +0 -79
  155. package/dist/es2019/ui/Appearance/FullPage/CustomToolbarWrapperMigration.js +0 -5
  156. package/dist/es2019/ui/Appearance/FullPage/FullPage-emotion.js +0 -29
  157. package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea-compiled.js +0 -190
  158. package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea-emotion.js +0 -390
  159. package/dist/es2019/ui/Appearance/FullPage/MainToolbar-emotion.js +0 -53
  160. package/dist/es2019/ui/Appearance/FullPage/MainToolbarIconBeforeMigration.js +0 -5
  161. package/dist/es2019/ui/Appearance/FullPage/MainToolbarWrapper-compiled.js +0 -30
  162. package/dist/es2019/ui/Appearance/FullPage/MainToolbarWrapper-emotion.js +0 -65
  163. package/dist/es2019/ui/Appearance/FullPage/NonCustomToolbarWrapperMigration.js +0 -5
  164. package/dist/es2019/ui/Appearance/FullPage/StyledComponents.js +0 -59
  165. package/dist/es2019/ui/ChromeCollapsed/ChromeCollapsed-emotion.js +0 -27
  166. package/dist/es2019/ui/ContextPanel/index-emotion.js +0 -74
  167. package/dist/es2019/ui/PluginSlot/PluginSlot-emotion.js +0 -25
  168. package/dist/es2019/ui/Toolbar/ToolbarComponentsWrapper-emotion.js +0 -28
  169. package/dist/es2019/ui/Toolbar/ToolbarSizeDetectorWrapper-emotion.js +0 -24
  170. package/dist/es2019/ui/WithFlash/withFlash-emotion.js +0 -75
  171. package/dist/esm/composable-editor/BaseThemeWrapper.js +0 -39
  172. package/dist/esm/composable-editor/editor-internal-emotion.js +0 -28
  173. package/dist/esm/ui/Addon/ClickAreaBlock/clickAreaBlock-emotion.js +0 -30
  174. package/dist/esm/ui/Appearance/Chromeless-compiled.js +0 -31
  175. package/dist/esm/ui/Appearance/Chromeless-emotion.js +0 -83
  176. package/dist/esm/ui/Appearance/Comment/Comment-compiled.js +0 -266
  177. package/dist/esm/ui/Appearance/Comment/Comment-emotion.js +0 -328
  178. package/dist/esm/ui/Appearance/Comment/FixedToolbar-emotion.js +0 -81
  179. package/dist/esm/ui/Appearance/Comment/StickyToolbar-emotion.js +0 -119
  180. package/dist/esm/ui/Appearance/FullPage/BeforeWrapper-compiled.js +0 -21
  181. package/dist/esm/ui/Appearance/FullPage/BeforeWrapper-emotion.js +0 -27
  182. package/dist/esm/ui/Appearance/FullPage/CustomToolbarWrapper-compiled.js +0 -49
  183. package/dist/esm/ui/Appearance/FullPage/CustomToolbarWrapper-emotion.js +0 -81
  184. package/dist/esm/ui/Appearance/FullPage/CustomToolbarWrapperMigration.js +0 -7
  185. package/dist/esm/ui/Appearance/FullPage/FullPage-emotion.js +0 -31
  186. package/dist/esm/ui/Appearance/FullPage/FullPageContentArea-compiled.js +0 -194
  187. package/dist/esm/ui/Appearance/FullPage/FullPageContentArea-emotion.js +0 -388
  188. package/dist/esm/ui/Appearance/FullPage/MainToolbar-emotion.js +0 -55
  189. package/dist/esm/ui/Appearance/FullPage/MainToolbarIconBeforeMigration.js +0 -7
  190. package/dist/esm/ui/Appearance/FullPage/MainToolbarWrapper-compiled.js +0 -29
  191. package/dist/esm/ui/Appearance/FullPage/MainToolbarWrapper-emotion.js +0 -62
  192. package/dist/esm/ui/Appearance/FullPage/NonCustomToolbarWrapperMigration.js +0 -7
  193. package/dist/esm/ui/Appearance/FullPage/StyledComponents.js +0 -59
  194. package/dist/esm/ui/ChromeCollapsed/ChromeCollapsed-emotion.js +0 -29
  195. package/dist/esm/ui/ContextPanel/index-emotion.js +0 -79
  196. package/dist/esm/ui/PluginSlot/PluginSlot-emotion.js +0 -29
  197. package/dist/esm/ui/Toolbar/ToolbarComponentsWrapper-emotion.js +0 -28
  198. package/dist/esm/ui/Toolbar/ToolbarSizeDetectorWrapper-emotion.js +0 -25
  199. package/dist/esm/ui/WithFlash/withFlash-emotion.js +0 -88
  200. package/dist/types/composable-editor/BaseThemeWrapper.d.ts +0 -7
  201. package/dist/types/composable-editor/editor-internal-emotion.d.ts +0 -15
  202. package/dist/types/ui/Addon/ClickAreaBlock/clickAreaBlock-emotion.d.ts +0 -12
  203. package/dist/types/ui/Appearance/Chromeless-compiled.d.ts +0 -18
  204. package/dist/types/ui/Appearance/Chromeless-emotion.d.ts +0 -18
  205. package/dist/types/ui/Appearance/Comment/Comment-compiled.d.ts +0 -30
  206. package/dist/types/ui/Appearance/Comment/Comment-emotion.d.ts +0 -20
  207. package/dist/types/ui/Appearance/Comment/FixedToolbar-emotion.d.ts +0 -19
  208. package/dist/types/ui/Appearance/Comment/StickyToolbar-emotion.d.ts +0 -21
  209. package/dist/types/ui/Appearance/FullPage/BeforeWrapper-compiled.d.ts +0 -16
  210. package/dist/types/ui/Appearance/FullPage/BeforeWrapper-emotion.d.ts +0 -16
  211. package/dist/types/ui/Appearance/FullPage/CustomToolbarWrapper-compiled.d.ts +0 -3
  212. package/dist/types/ui/Appearance/FullPage/CustomToolbarWrapper-emotion.d.ts +0 -14
  213. package/dist/types/ui/Appearance/FullPage/CustomToolbarWrapperMigration.d.ts +0 -4
  214. package/dist/types/ui/Appearance/FullPage/FullPage-emotion.d.ts +0 -7
  215. package/dist/types/ui/Appearance/FullPage/FullPageContentArea-compiled.d.ts +0 -57
  216. package/dist/types/ui/Appearance/FullPage/FullPageContentArea-emotion.d.ts +0 -57
  217. package/dist/types/ui/Appearance/FullPage/MainToolbar-emotion.d.ts +0 -21
  218. package/dist/types/ui/Appearance/FullPage/MainToolbarIconBeforeMigration.d.ts +0 -4
  219. package/dist/types/ui/Appearance/FullPage/MainToolbarWrapper-compiled.d.ts +0 -19
  220. package/dist/types/ui/Appearance/FullPage/MainToolbarWrapper-emotion.d.ts +0 -19
  221. package/dist/types/ui/Appearance/FullPage/NonCustomToolbarWrapperMigration.d.ts +0 -4
  222. package/dist/types/ui/Appearance/FullPage/StyledComponents.d.ts +0 -19
  223. package/dist/types/ui/ChromeCollapsed/ChromeCollapsed-emotion.d.ts +0 -13
  224. package/dist/types/ui/ContextPanel/index-emotion.d.ts +0 -13
  225. package/dist/types/ui/PluginSlot/PluginSlot-emotion.d.ts +0 -12
  226. package/dist/types/ui/Toolbar/ToolbarComponentsWrapper-emotion.d.ts +0 -17
  227. package/dist/types/ui/Toolbar/ToolbarSizeDetectorWrapper-emotion.d.ts +0 -17
  228. package/dist/types/ui/WithFlash/withFlash-emotion.d.ts +0 -19
  229. /package/dist/cjs/ui/Appearance/{Chromeless-compiled.compiled.css → ChromelessEditorContainer.compiled.css} +0 -0
  230. /package/dist/cjs/ui/Appearance/Comment/{Comment-compiled.compiled.css → Comment.compiled.css} +0 -0
  231. /package/dist/cjs/ui/Appearance/FullPage/{BeforeWrapper-compiled.compiled.css → BeforeWrapper.compiled.css} +0 -0
  232. /package/dist/cjs/ui/Appearance/FullPage/{CustomToolbarWrapper-compiled.compiled.css → CustomToolbarWrapper.compiled.css} +0 -0
  233. /package/dist/cjs/ui/Appearance/FullPage/{FullPageContentArea-compiled.compiled.css → FullPageContentArea.compiled.css} +0 -0
  234. /package/dist/cjs/ui/Appearance/FullPage/{MainToolbarWrapper-compiled.compiled.css → MainToolbarWrapper.compiled.css} +0 -0
  235. /package/dist/es2019/ui/Appearance/{Chromeless-compiled.compiled.css → ChromelessEditorContainer.compiled.css} +0 -0
  236. /package/dist/es2019/ui/Appearance/Comment/{Comment-compiled.compiled.css → Comment.compiled.css} +0 -0
  237. /package/dist/es2019/ui/Appearance/FullPage/{BeforeWrapper-compiled.compiled.css → BeforeWrapper.compiled.css} +0 -0
  238. /package/dist/es2019/ui/Appearance/FullPage/{CustomToolbarWrapper-compiled.compiled.css → CustomToolbarWrapper.compiled.css} +0 -0
  239. /package/dist/es2019/ui/Appearance/FullPage/{FullPageContentArea-compiled.compiled.css → FullPageContentArea.compiled.css} +0 -0
  240. /package/dist/es2019/ui/Appearance/FullPage/{MainToolbarWrapper-compiled.compiled.css → MainToolbarWrapper.compiled.css} +0 -0
  241. /package/dist/esm/ui/Appearance/{Chromeless-compiled.compiled.css → ChromelessEditorContainer.compiled.css} +0 -0
  242. /package/dist/esm/ui/Appearance/Comment/{Comment-compiled.compiled.css → Comment.compiled.css} +0 -0
  243. /package/dist/esm/ui/Appearance/FullPage/{BeforeWrapper-compiled.compiled.css → BeforeWrapper.compiled.css} +0 -0
  244. /package/dist/esm/ui/Appearance/FullPage/{CustomToolbarWrapper-compiled.compiled.css → CustomToolbarWrapper.compiled.css} +0 -0
  245. /package/dist/esm/ui/Appearance/FullPage/{FullPageContentArea-compiled.compiled.css → FullPageContentArea.compiled.css} +0 -0
  246. /package/dist/esm/ui/Appearance/FullPage/{MainToolbarWrapper-compiled.compiled.css → MainToolbarWrapper.compiled.css} +0 -0
@@ -14,20 +14,15 @@ var _ssrMeasures = require("@atlaskit/editor-common/performance/ssr-measures");
14
14
  var _ui = require("@atlaskit/editor-common/ui");
15
15
  var _useSharedPluginStateSelector = require("@atlaskit/editor-common/use-shared-plugin-state-selector");
16
16
  var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
17
- var _componentWithCondition = require("@atlaskit/platform-feature-flags-react/component-with-condition");
18
17
  var _editorExperiment = require("@atlaskit/tmp-editor-statsig/editor-experiment");
19
18
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
20
19
  var _getPrimaryToolbarComponents = require("../../Toolbar/getPrimaryToolbarComponents");
21
20
  var _FullPageCompiled = require("./FullPage-compiled");
22
- var _FullPageEmotion = require("./FullPage-emotion");
23
21
  var _FullPageContentArea = require("./FullPageContentArea");
24
22
  var _FullPageToolbar = require("./FullPageToolbar");
25
23
  var _FullPageToolbarNext = require("./FullPageToolbarNext");
26
24
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
27
25
  var SSR_TRACE_SEGMENT_NAME = 'reactEditorView/fullPageAppearance';
28
- var FullPageEditorWrapperMigration = (0, _componentWithCondition.componentWithCondition)(function () {
29
- return (0, _expValEquals.expValEquals)('platform_editor_core_non_ecc_static_css', 'isEnabled', true);
30
- }, _FullPageCompiled.FullPageEditorWrapperCompiled, _FullPageEmotion.FullPageEditorWrapperEmotion);
31
26
  var useShowKeyline = function useShowKeyline(contentAreaRef) {
32
27
  var _useState = (0, _react.useState)(false),
33
28
  _useState2 = (0, _slicedToArray2.default)(_useState, 2),
@@ -128,7 +123,7 @@ var FullPageEditor = exports.FullPageEditor = function FullPageEditor(props) {
128
123
  segmentName: SSR_TRACE_SEGMENT_NAME,
129
124
  startTimestampRef: firstRenderStartTimestampRef,
130
125
  onSSRMeasure: props.onSSRMeasure
131
- }, /*#__PURE__*/_react.default.createElement(_ui.ContextPanelWidthProvider, null, /*#__PURE__*/_react.default.createElement(FullPageEditorWrapperMigration
126
+ }, /*#__PURE__*/_react.default.createElement(_ui.ContextPanelWidthProvider, null, /*#__PURE__*/_react.default.createElement(_FullPageCompiled.FullPageEditorWrapperCompiled
132
127
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
133
128
  , {
134
129
  className: "akEditor",
@@ -1,21 +1,199 @@
1
+ /* FullPageContentArea.tsx generated by @compiled/babel-plugin v3.0.2 */
1
2
  "use strict";
2
3
 
4
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
5
+ var _typeof = require("@babel/runtime/helpers/typeof");
3
6
  Object.defineProperty(exports, "__esModule", {
4
7
  value: true
5
8
  });
6
- exports.FullPageContentArea = exports.EDITOR_CONTAINER = exports.CONTENT_AREA_TEST_ID = void 0;
7
- var _componentWithCondition = require("@atlaskit/platform-feature-flags-react/component-with-condition");
8
- var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
9
- var _FullPageContentAreaCompiled = require("./FullPageContentArea-compiled");
10
- var _FullPageContentAreaEmotion = require("./FullPageContentArea-emotion");
9
+ exports.FullPageContentArea = exports.CONTENT_AREA_TEST_ID = void 0;
10
+ require("./FullPageContentArea.compiled.css");
11
+ var _runtime = require("@compiled/react/runtime");
12
+ var _react = _interopRequireWildcard(require("react"));
13
+ var _classnames = _interopRequireDefault(require("classnames"));
14
+ var _reactIntl = require("react-intl");
15
+ var _hooks = require("@atlaskit/editor-common/hooks");
16
+ var _messages = require("@atlaskit/editor-common/messages");
17
+ var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
18
+ var _editorExperiment = require("@atlaskit/tmp-editor-statsig/editor-experiment");
19
+ var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
20
+ var _ClickAreaBlock = require("../../Addon/ClickAreaBlock");
21
+ var _contentComponentWrapper = require("../../Addon/ClickAreaBlock/contentComponentWrapper");
22
+ var _ContextPanel = require("../../ContextPanel");
23
+ var _EditorContentContainer = _interopRequireDefault(require("../../EditorContentContainer/EditorContentContainer"));
24
+ var _PluginSlot = _interopRequireDefault(require("../../PluginSlot"));
25
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
26
+ // Ignored via go/ees005
27
+ // eslint-disable-next-line import/no-named-as-default
28
+ var akLayoutGutterOffsetStatic = 12;
29
+ var akEditorGutterPaddingReducedStatic = 24;
30
+ var akEditorFullWidthLayoutWidth = 1800;
31
+ var akEditorUltraWideLayoutWidth = 4000;
32
+ var akEditorSwoopCubicBezier = "cubic-bezier(0.15, 1, 0.3, 1)";
33
+ var tableMarginFullWidthMode = 2;
34
+ var akLayoutGutterOffset = 12;
35
+ var SWOOP_ANIMATION = "0.5s ".concat(akEditorSwoopCubicBezier);
36
+ var AK_NESTED_DND_GUTTER_OFFSET = 8;
37
+ var getTotalPadding = function getTotalPadding() {
38
+ return (0, _editorSharedStyles.akEditorGutterPaddingDynamic)() * 2;
39
+ };
40
+
41
+ // Isolates the scroll container's layout and size from the rest of the page.
42
+ // Because of contain: size wrapper must take its height from the parent
43
+ // rather than from the contained content.
44
+ var containLayoutStyles = {
45
+ wrapper: "_njlp3xnj _4t3i1osq"
46
+ };
47
+ var compiledStyles = {
48
+ contentAreaWrapper: "_1bsb1osq _7cca15wb _1f38dez1 _njlp131u",
49
+ sidebarArea: "_4t3i1osq _vchhusvi _1wpzesu3 _1hgw1wug _1t1q1if8 _uj9widpf _13hh1y6m",
50
+ editorContentAreaProsemirrorStyle: "_j9k7kb7n _18q6usvi _l4a11hrf _1nw4glyw _yq1qglyw _1qzyglyw _ongaglyw _1rnyglyw _vtulglyw _13svglyw _t2fzglyw _7uc0glyw _1gl01ejb",
51
+ hideEditorContentAreaProsemirrorWithAttributeStyle: "_12glglyw",
52
+ hideEditorContentAreaScrollGutterWithAttributeStyle: "_amwgglyw",
53
+ hideEditorScrollGutterStyle: "_1e0cglyw",
54
+ fullWidthNonChromelessBreakoutBlockTableStyle: "_xpemaq80 _pnffaq80 _zr7faq80 _qkfz261p _i92uagmp",
55
+ editorContentAreaNew: "_19pk1wug _2hwx1wug _otyr1wug _18u01wug _v5641fxv _vwz41tcg _ca0qoahv _n3tdoahv _4t3i1ap5 _1bsb1osq _2lx21bp4 _16jlkb7n _p12f5kin _1uizkqmb",
56
+ tableFullPageEditorStylesNew: "_1tb2idpf _8vye1n1a _1k8i1osq",
57
+ editorContentAreaContainerNestedDndStyle: "_tynl4diq",
58
+ editorContentAreaContainerStyleExcludeCodeBlockNew: "_1wxymslj _9dtbmslj _17q71osq _1b7c1kw7 _tynlfknx",
59
+ editorContentGutterStyleFG: "_ca0qidpf _u5f3t9kd _n3tdidpf _19bvt9kd",
60
+ editorContentGutterStyles: "_ca0qidpf _u5f31ex1 _n3tdidpf _19bv1ex1 _vchhusvi",
61
+ editorContentReducedGutterStyles: "_1d7gidpf _n2nw1tcg _d329idpf _105p1tcg",
62
+ contentAreaNew: "_19pkidpf _2hwxidpf _otyridpf _18u0idpf _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _v5642kub _1e0c1txw _2lx2vrvc _4t3ibhu0 _vchhusvi _8j6w1lxk",
63
+ contentAreaHeightNoToolbar: "_4t3i1osq",
64
+ markdownModeContainerBackgroundStyle: "_bfhkhfxm _101j15vq",
65
+ markdownModeContentAreaStyle: "_19pkidpf _2hwxidpf _otyridpf _18u0idpf _vchhusvi _4t3i1osq _p12fglyw _1ul9idpf _n3tdidpf _ca0qidpf _1bsb1osq _fh67idpf _71ybidpf _evz0idpf _1n5qidpf _1wrrusvi _13jk1txw _q0l01bp4 _1a1d1osq _1vbxidpf _1xouidpf _4tbp1osq _1e8kkb7n _boivkb7n _13t61wug _11bl1txw _1593idpf _qgzyidpf _li931osq"
66
+ };
11
67
  var CONTENT_AREA_TEST_ID = exports.CONTENT_AREA_TEST_ID = 'ak-editor-fp-content-area';
12
- // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
13
- var EDITOR_CONTAINER = exports.EDITOR_CONTAINER = 'ak-editor-container';
68
+ var EDITOR_CONTAINER = 'ak-editor-container';
69
+ var Content = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
70
+ var _props$editorAPI, _props$editorAPI$bloc, _props$editorAPI2, _contentAreaRef$curre, _allowScrollGutter$gu, _allowScrollGutter$gu2;
71
+ var fullWidthMode = props.appearance === 'full-width';
72
+ var maxWidthMode = props.appearance === 'max';
73
+ var scrollContainerRef = (0, _react.useRef)(null);
74
+ var contentAreaRef = (0, _react.useRef)(null);
75
+ var containerRef = (0, _react.useRef)(null);
76
+ var allowScrollGutter = (_props$editorAPI = props.editorAPI) === null || _props$editorAPI === void 0 || (_props$editorAPI = _props$editorAPI.base) === null || _props$editorAPI === void 0 || (_props$editorAPI = _props$editorAPI.sharedState.currentState()) === null || _props$editorAPI === void 0 ? void 0 : _props$editorAPI.allowScrollGutter;
77
+ var contentAreaMaxWidth = getTotalPadding() + (!fullWidthMode ? maxWidthMode ? akEditorUltraWideLayoutWidth : _editorSharedStyles.akEditorDefaultLayoutWidth : akEditorFullWidthLayoutWidth);
14
78
 
15
- /**
16
- * Compiled migration WIP under platform_editor_core_non_ecc_static_css
17
- * Please ensure both styles are updated
18
- */
19
- var FullPageContentArea = exports.FullPageContentArea = (0, _componentWithCondition.componentWithCondition)(function () {
20
- return (0, _expValEquals.expValEquals)('platform_editor_core_non_ecc_static_css', 'isEnabled', true);
21
- }, _FullPageContentAreaCompiled.FullPageContentAreaCompiled, _FullPageContentAreaEmotion.FullPageContentAreaEmotion);
79
+ // Get useStandardNodeWidth from block menu plugin shared state
80
+ // Only access editorAPI when the experiment is enabled to avoid performance impact
81
+ var useStandardNodeWidth = (0, _editorExperiment.editorExperiment)('platform_editor_controls', 'variant1') && ((_props$editorAPI$bloc = (_props$editorAPI2 = props.editorAPI) === null || _props$editorAPI2 === void 0 || (_props$editorAPI2 = _props$editorAPI2.blockMenu) === null || _props$editorAPI2 === void 0 || (_props$editorAPI2 = _props$editorAPI2.sharedState) === null || _props$editorAPI2 === void 0 || (_props$editorAPI2 = _props$editorAPI2.currentState()) === null || _props$editorAPI2 === void 0 ? void 0 : _props$editorAPI2.useStandardNodeWidth) !== null && _props$editorAPI$bloc !== void 0 ? _props$editorAPI$bloc : false);
82
+ (0, _react.useImperativeHandle)(ref, function () {
83
+ return {
84
+ get scrollContainer() {
85
+ return scrollContainerRef.current;
86
+ },
87
+ get contentArea() {
88
+ return contentAreaRef.current;
89
+ },
90
+ get containerArea() {
91
+ return containerRef.current;
92
+ }
93
+ };
94
+ }, []);
95
+ var markdownPluginCurrentView = (0, _hooks.useSharedPluginStateWithSelector)(props.editorAPI, ['markdownMode'], function (states) {
96
+ var _states$markdownModeS;
97
+ return (_states$markdownModeS = states.markdownModeState) === null || _states$markdownModeS === void 0 ? void 0 : _states$markdownModeS.view;
98
+ });
99
+ var markdownPluginCurrentIsMarkdownMode = (0, _hooks.useSharedPluginStateWithSelector)(props.editorAPI, ['markdownMode'], function (states) {
100
+ var _states$markdownModeS2;
101
+ return (_states$markdownModeS2 = states.markdownModeState) === null || _states$markdownModeS2 === void 0 ? void 0 : _states$markdownModeS2.isMarkdownMode;
102
+ });
103
+ var isMarkdownModeExperimentEnabled = (0, _expValEqualsNoExposure.expValEqualsNoExposure)('cc-markdown-mode', 'isEnabled', true);
104
+ var shouldHideProseMirrorForMarkdownMode = isMarkdownModeExperimentEnabled && markdownPluginCurrentView !== 'preview' && markdownPluginCurrentIsMarkdownMode;
105
+ var shouldHideScrollGutterForMarkdownMode = isMarkdownModeExperimentEnabled && markdownPluginCurrentIsMarkdownMode;
106
+ var content = /*#__PURE__*/_react.default.createElement(_EditorContentContainer.default
107
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
108
+ , {
109
+ className: "fabric-editor-popup-scroll-parent",
110
+ featureFlags: props.featureFlags,
111
+ ref: scrollContainerRef,
112
+ viewMode: props === null || props === void 0 ? void 0 : props.viewMode,
113
+ isScrollable: true,
114
+ appearance: props.appearance,
115
+ contentMode: props.contentMode,
116
+ useStandardNodeWidth: useStandardNodeWidth
117
+ }, /*#__PURE__*/_react.default.createElement(_ClickAreaBlock.ClickAreaBlock, {
118
+ editorView: props.editorView,
119
+ editorDisabled: props.disabled
120
+ }, /*#__PURE__*/_react.default.createElement("div", {
121
+ "data-markdown-mode-hide-prosemirror": shouldHideProseMirrorForMarkdownMode ? 'true' : undefined,
122
+ "data-markdown-mode-hide-scroll-gutter": shouldHideScrollGutterForMarkdownMode ? 'true' : undefined,
123
+ style: {
124
+ '--ak-editor-content-area-max-width': "".concat(contentAreaMaxWidth, "px")
125
+ }
126
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
127
+ ,
128
+ className: (0, _runtime.ax)([compiledStyles.editorContentAreaNew, compiledStyles.editorContentAreaProsemirrorStyle, shouldHideProseMirrorForMarkdownMode && compiledStyles.hideEditorContentAreaProsemirrorWithAttributeStyle, shouldHideScrollGutterForMarkdownMode && compiledStyles.hideEditorContentAreaScrollGutterWithAttributeStyle, shouldHideProseMirrorForMarkdownMode && compiledStyles.markdownModeContentAreaStyle, compiledStyles.tableFullPageEditorStylesNew, compiledStyles.fullWidthNonChromelessBreakoutBlockTableStyle,
129
+ // for breakout resizing, there's no need to restrict the width of codeblocks as they're always wrapped in a breakout mark
130
+ compiledStyles.editorContentAreaContainerStyleExcludeCodeBlockNew, compiledStyles.editorContentAreaContainerNestedDndStyle, "ak-editor-content-area-region"]),
131
+ "data-editor-editable-content": true,
132
+ role: "region",
133
+ "aria-label": props.intl.formatMessage(_messages.fullPageMessages.editableContentLabel),
134
+ ref: contentAreaRef,
135
+ "data-vc": "editor-content-area-region"
136
+ }, /*#__PURE__*/_react.default.createElement("div", {
137
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
138
+ className: (0, _runtime.ax)([compiledStyles.editorContentGutterStyles, compiledStyles.editorContentGutterStyleFG, (0, _editorExperiment.editorExperiment)('platform_editor_preview_panel_responsiveness', true, {
139
+ exposure: true
140
+ }) && compiledStyles.editorContentReducedGutterStyles, (0, _classnames.default)('ak-editor-content-area', 'appearance-full-page', {
141
+ 'fabric-editor--full-width-mode': fullWidthMode,
142
+ 'fabric-editor--max-width-mode': Boolean(maxWidthMode)
143
+ })]),
144
+ ref: contentAreaRef
145
+ }, !!props.customContentComponents && 'before' in props.customContentComponents ? (0, _contentComponentWrapper.contentComponentClickWrapper)(props.customContentComponents.before) : (0, _contentComponentWrapper.contentComponentClickWrapper)(props.customContentComponents), /*#__PURE__*/_react.default.createElement(_PluginSlot.default, {
146
+ editorView: props.editorView,
147
+ editorActions: props.editorActions,
148
+ eventDispatcher: props.eventDispatcher,
149
+ providerFactory: props.providerFactory,
150
+ appearance: props.appearance,
151
+ items: props.contentComponents,
152
+ pluginHooks: props.pluginHooks,
153
+ contentArea: (_contentAreaRef$curre = contentAreaRef.current) !== null && _contentAreaRef$curre !== void 0 ? _contentAreaRef$curre : undefined,
154
+ popupsMountPoint: props.popupsMountPoint,
155
+ popupsBoundariesElement: props.popupsBoundariesElement,
156
+ popupsScrollableElement: props.popupsScrollableElement,
157
+ disabled: !!props.disabled,
158
+ containerElement: scrollContainerRef.current,
159
+ dispatchAnalyticsEvent: props.dispatchAnalyticsEvent,
160
+ wrapperElement: props.wrapperElement
161
+ }), props.editorDOMElement, !!props.customContentComponents && 'after' in props.customContentComponents ? (0, _contentComponentWrapper.contentComponentClickWrapper)(props.customContentComponents.after) : null, allowScrollGutter && ((0, _editorExperiment.editorExperiment)('platform_editor_blocks', true) ? /*#__PURE__*/_react.default.createElement("div", {
162
+ id: "editor-scroll-gutter",
163
+ style: {
164
+ paddingBottom: "".concat((_allowScrollGutter$gu = allowScrollGutter.gutterSize) !== null && _allowScrollGutter$gu !== void 0 ? _allowScrollGutter$gu : '120', "px")
165
+ },
166
+ "data-vc": "scroll-gutter",
167
+ "data-editor-scroll-gutter": "true",
168
+ className: (0, _runtime.ax)([shouldHideScrollGutterForMarkdownMode && compiledStyles.hideEditorScrollGutterStyle])
169
+ }) : /*#__PURE__*/_react.default.createElement("div", {
170
+ id: "editor-scroll-gutter",
171
+ style: {
172
+ paddingBottom: "".concat((_allowScrollGutter$gu2 = allowScrollGutter.gutterSize) !== null && _allowScrollGutter$gu2 !== void 0 ? _allowScrollGutter$gu2 : '120', "px")
173
+ },
174
+ "data-vc": "scroll-gutter",
175
+ className: (0, _runtime.ax)([shouldHideScrollGutterForMarkdownMode && compiledStyles.hideEditorScrollGutterStyle])
176
+ }))))));
177
+ return /*#__PURE__*/_react.default.createElement("div", {
178
+ "data-testid": CONTENT_AREA_TEST_ID,
179
+ ref: containerRef,
180
+ className: (0, _runtime.ax)([compiledStyles.contentAreaNew, props.isEditorToolbarHidden && compiledStyles.contentAreaHeightNoToolbar])
181
+ }, /*#__PURE__*/_react.default.createElement("div", {
182
+ "data-testid": EDITOR_CONTAINER,
183
+ "data-editor-container": 'true',
184
+ className: (0, _runtime.ax)([compiledStyles.contentAreaWrapper, shouldHideProseMirrorForMarkdownMode && compiledStyles.markdownModeContainerBackgroundStyle])
185
+ }, props.UNSAFE_containLayout ? /*#__PURE__*/_react.default.createElement("div", {
186
+ "data-testid": "editor-contain-size-and-layout-wrapper",
187
+ className: (0, _runtime.ax)([containLayoutStyles.wrapper])
188
+ }, content) : content), /*#__PURE__*/_react.default.createElement("div", {
189
+ className: (0, _runtime.ax)([compiledStyles.sidebarArea])
190
+ }, props.contextPanel || /*#__PURE__*/_react.default.createElement(_ContextPanel.ContextPanel, {
191
+ editorAPI: props.editorAPI,
192
+ visible: false
193
+ })));
194
+ });
195
+
196
+ // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
197
+ var FullPageContentArea = exports.FullPageContentArea = (0, _reactIntl.injectIntl)(Content, {
198
+ forwardRef: true
199
+ });
@@ -17,11 +17,9 @@ var _ToolbarPortal = require("../../Toolbar/ToolbarPortal");
17
17
  var _ToolbarWithSizeDetector = require("../../Toolbar/ToolbarWithSizeDetector");
18
18
  var _BeforeWrapper = require("./BeforeWrapper");
19
19
  var _CustomToolbarWrapper = require("./CustomToolbarWrapper");
20
- var _CustomToolbarWrapperMigration = require("./CustomToolbarWrapperMigration");
21
20
  var _MainToolbar = require("./MainToolbar");
22
- var _MainToolbarIconBeforeMigration = require("./MainToolbarIconBeforeMigration");
21
+ var _MainToolbarCompiled = require("./MainToolbar-compiled");
23
22
  var _MainToolbarWrapper = require("./MainToolbarWrapper");
24
- var _NonCustomToolbarWrapperMigration = require("./NonCustomToolbarWrapperMigration");
25
23
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
26
24
  var EditorToolbar = exports.EditorToolbar = /*#__PURE__*/_react.default.memo(function (props) {
27
25
  var _props$primaryToolbar, _useToolbarPortal, _props$customPrimaryT;
@@ -42,7 +40,7 @@ var EditorToolbar = exports.EditorToolbar = /*#__PURE__*/_react.default.memo(fun
42
40
  ToolbarPortal = _ref.Portal;
43
41
  var hasToolbarPortal = ToolbarPortal !== _react.default.Fragment;
44
42
  var popupsMountPoint = hasToolbarPortal ? undefined : props.popupsMountPoint;
45
- var nonCustomToolbar = /*#__PURE__*/_react.default.createElement(_NonCustomToolbarWrapperMigration.NonCustomToolbarWrapperMigration, null, props.beforeIcon && /*#__PURE__*/_react.default.createElement(_MainToolbarIconBeforeMigration.MainToolbarIconBeforeMigration, null, props.beforeIcon), /*#__PURE__*/_react.default.createElement(_ToolbarWithSizeDetector.ToolbarWithSizeDetector, {
43
+ var nonCustomToolbar = /*#__PURE__*/_react.default.createElement(_MainToolbarCompiled.NonCustomToolbarWrapperCompiled, null, props.beforeIcon && /*#__PURE__*/_react.default.createElement(_MainToolbarCompiled.MainToolbarIconBeforeCompiled, null, props.beforeIcon), /*#__PURE__*/_react.default.createElement(_ToolbarWithSizeDetector.ToolbarWithSizeDetector, {
46
44
  editorView: props.editorView,
47
45
  editorActions: props.editorActions,
48
46
  eventDispatcher: props.eventDispatcher,
@@ -58,7 +56,7 @@ var EditorToolbar = exports.EditorToolbar = /*#__PURE__*/_react.default.memo(fun
58
56
  hasMinWidth: props.hasMinWidth,
59
57
  twoLineEditorToolbar: twoLineEditorToolbar
60
58
  }));
61
- var customToolbar = /*#__PURE__*/_react.default.createElement(_CustomToolbarWrapperMigration.CustomToolbarWrapperMigration, null, !!props.customPrimaryToolbarComponents && 'before' in props.customPrimaryToolbarComponents ? /*#__PURE__*/_react.default.createElement(_BeforeWrapper.BeforePrimaryToolbarWrapper, {
59
+ var customToolbar = /*#__PURE__*/_react.default.createElement(_MainToolbarCompiled.CustomToolbarWrapperCompiled, null, !!props.customPrimaryToolbarComponents && 'before' in props.customPrimaryToolbarComponents ? /*#__PURE__*/_react.default.createElement(_BeforeWrapper.BeforePrimaryToolbarWrapper, {
62
60
  beforePrimaryToolbarComponents: (_props$customPrimaryT = props.customPrimaryToolbarComponents) === null || _props$customPrimaryT === void 0 ? void 0 : _props$customPrimaryT.before
63
61
  }) : null, !(0, _editorExperiment.editorExperiment)('platform_editor_controls', 'variant1') && editorAPI !== null && editorAPI !== void 0 && editorAPI.findReplace && twoLineEditorToolbar ? editorAPI === null || editorAPI === void 0 ? void 0 : editorAPI.findReplace.actions.registerToolbarButton({
64
62
  popupsBoundariesElement: props.popupsBoundariesElement,
@@ -1,10 +1,4 @@
1
1
  /* MainToolbar-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
2
- /**
3
- * Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
4
- * Used via `componentWithCondition` in `MainToolbar.tsx`.
5
- *
6
- * Cleanup: delete this file once the experiment has shipped.
7
- */
8
2
  "use strict";
9
3
 
10
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,13 +1,29 @@
1
+ /* MainToolbarWrapper.tsx generated by @compiled/babel-plugin v3.0.2 */
1
2
  "use strict";
2
3
 
4
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
3
5
  Object.defineProperty(exports, "__esModule", {
4
6
  value: true
5
7
  });
6
8
  exports.MainToolbarWrapper = void 0;
7
- var _componentWithCondition = require("@atlaskit/platform-feature-flags-react/component-with-condition");
8
- var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
9
- var _MainToolbarWrapperCompiled = require("./MainToolbarWrapper-compiled");
10
- var _MainToolbarWrapperEmotion = require("./MainToolbarWrapper-emotion");
11
- var MainToolbarWrapper = exports.MainToolbarWrapper = (0, _componentWithCondition.componentWithCondition)(function () {
12
- return (0, _expValEquals.expValEquals)('platform_editor_core_non_ecc_static_css', 'isEnabled', true);
13
- }, _MainToolbarWrapperCompiled.MainToolbarWrapperCompiled, _MainToolbarWrapperEmotion.MainToolbarWrapperEmotion);
9
+ require("./MainToolbarWrapper.compiled.css");
10
+ var _runtime = require("@compiled/react/runtime");
11
+ var _react = _interopRequireDefault(require("react"));
12
+ // eslint-disable-next-line @typescript-eslint/consistent-type-imports
13
+
14
+ var styles = {
15
+ base: "_v56419ab _n7zlia51 _kqswh2mm _4cvr1h6o _16qsglyw _1pby16oo _1e0c1txw _4t3i17qo _1o9zidpf _bfhkvuon _1krdgrf3",
16
+ flexibleIconSize: "_3pwj1osq",
17
+ keyline: "_16qs1nax",
18
+ twoLine: "_1s5v1g80 _8o38zpre"
19
+ };
20
+ var MainToolbarWrapper = exports.MainToolbarWrapper = function MainToolbarWrapper(_ref) {
21
+ var showKeyline = _ref.showKeyline,
22
+ twoLineEditorToolbar = _ref.twoLineEditorToolbar,
23
+ children = _ref.children,
24
+ testId = _ref['data-testid'];
25
+ return /*#__PURE__*/_react.default.createElement("div", {
26
+ "data-testid": testId,
27
+ className: (0, _runtime.ax)([styles.base, styles.flexibleIconSize, showKeyline && styles.keyline, twoLineEditorToolbar && styles.twoLine])
28
+ }, children);
29
+ };
@@ -13,12 +13,6 @@ var _objectDestructuringEmpty2 = _interopRequireDefault(require("@babel/runtime/
13
13
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
14
14
  var _react = _interopRequireWildcard(require("react"));
15
15
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
16
- /**
17
- * Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
18
- * Used via `componentWithCondition` in `index.tsx`.
19
- *
20
- * Cleanup: delete this file once the experiment has shipped.
21
- */
22
16
  var inputCompiledStyles = {
23
17
  root: "_19it19hj _2rkofajl _bfhk1j9a _vchhusvi _4t3i1ylp _19bvv47k _ca0qutpp _n3tdutpp _1wyboxwj _1bsb1osq _k48pi7a9 _vwz41aog _1dyzdjp5 _syaz1rpy _4cvxrsbi _irr3l4ek _d0al1kdv"
24
18
  };
@@ -14,17 +14,11 @@ var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits
14
14
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
15
15
  var _react = _interopRequireWildcard(require("react"));
16
16
  var _reactIntl = require("react-intl");
17
- var _componentWithCondition = require("@atlaskit/platform-feature-flags-react/component-with-condition");
18
- var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
19
17
  var _ChromeCollapsedCompiled = require("./ChromeCollapsed-compiled");
20
- var _ChromeCollapsedEmotion = require("./ChromeCollapsed-emotion");
21
18
  var _messages = require("./messages");
22
19
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
23
20
  function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
24
21
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
25
- var InputMigration = (0, _componentWithCondition.componentWithCondition)(function () {
26
- return (0, _expValEquals.expValEquals)('platform_editor_core_non_ecc_static_css', 'isEnabled', true);
27
- }, _ChromeCollapsedCompiled.ChromeCollapsedCompiled, _ChromeCollapsedEmotion.ChromeCollapsedEmotion);
28
22
  // Ignored via go/ees005
29
23
  // eslint-disable-next-line @repo/internal/react/no-class-components
30
24
  var ChromeCollapsed = /*#__PURE__*/function (_PureComponent) {
@@ -59,7 +53,7 @@ var ChromeCollapsed = /*#__PURE__*/function (_PureComponent) {
59
53
  key: "render",
60
54
  value: function render() {
61
55
  var placeholder = this.props.text || this.props.intl.formatMessage(_messages.messages.chromeCollapsedPlaceholder);
62
- return /*#__PURE__*/_react.default.createElement(InputMigration, {
56
+ return /*#__PURE__*/_react.default.createElement(_ChromeCollapsedCompiled.ChromeCollapsedCompiled, {
63
57
  "data-testid": "chrome-collapsed",
64
58
  ref: this.handleInputRef,
65
59
  onFocus: this.focusHandler,
@@ -15,12 +15,6 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
15
15
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
16
16
  var _excluded = ["children", "customWidth", "visible"],
17
17
  _excluded2 = ["children", "customWidth", "visible", "hasPadding"];
18
- /**
19
- * Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
20
- * Used via `componentWithCondition` in `index.tsx`.
21
- *
22
- * Cleanup: delete this file once the `platform_editor_core_non_ecc_static_css` experiment has shipped.
23
- */
24
18
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
25
19
  var akEditorContextPanelWidthStatic = 320;
26
20
  var getContextPanelWidthStyle = function getContextPanelWidthStyle(_ref) {
@@ -22,20 +22,11 @@ var _hooks = require("@atlaskit/editor-common/hooks");
22
22
  var _messages = require("@atlaskit/editor-common/messages");
23
23
  var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
24
24
  var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-experiment-enabled");
25
- var _componentWithCondition = require("@atlaskit/platform-feature-flags-react/component-with-condition");
26
- var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
27
25
  var _indexCompiled = require("./index-compiled");
28
- var _indexEmotion = require("./index-emotion");
29
26
  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; }
30
27
  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) { (0, _defineProperty2.default)(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; }
31
28
  function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
32
29
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /* eslint-disable jsdoc/require-jsdoc -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
33
- var ContextPanelWrapperMigration = (0, _componentWithCondition.componentWithCondition)(function () {
34
- return (0, _expValEquals.expValEquals)('platform_editor_core_non_ecc_static_css', 'isEnabled', true);
35
- }, _indexCompiled.ContextPanelWrapperCompiled, _indexEmotion.ContextPanelWrapperEmotion);
36
- var ContextPanelContentMigration = (0, _componentWithCondition.componentWithCondition)(function () {
37
- return (0, _expValEquals.expValEquals)('platform_editor_core_non_ecc_static_css', 'isEnabled', true);
38
- }, _indexCompiled.ContextPanelContentCompiled, _indexEmotion.ContextPanelContentEmotion);
39
30
  // Ignored via go/ees005
40
31
  // eslint-disable-next-line @repo/internal/react/no-class-components
41
32
  var SwappableContentAreaInner = /*#__PURE__*/function (_React$PureComponent) {
@@ -137,7 +128,7 @@ var SwappableContentAreaInner = /*#__PURE__*/function (_React$PureComponent) {
137
128
  var broadcastWidth = _ref.broadcastWidth;
138
129
  var contextPanelWidth = visible ? width : 0;
139
130
  broadcastWidth(contextPanelWidth);
140
- return /*#__PURE__*/_react.default.createElement(ContextPanelWrapperMigration, {
131
+ return /*#__PURE__*/_react.default.createElement(_indexCompiled.ContextPanelWrapperCompiled, {
141
132
  customWidth: _this2.props.customWidth,
142
133
  visible: visible,
143
134
  "data-testid": "context-panel-panel"
@@ -146,7 +137,7 @@ var SwappableContentAreaInner = /*#__PURE__*/function (_React$PureComponent) {
146
137
  "aria-label": ((_this2$props$intl = _this2.props.intl) === null || _this2$props$intl === void 0 ? void 0 : _this2$props$intl.formatMessage(_messages.contextPanelMessages.panelLabel)) || '',
147
138
  "aria-modal": "false",
148
139
  role: "dialog"
149
- }, /*#__PURE__*/_react.default.createElement(ContextPanelContentMigration, {
140
+ }, /*#__PURE__*/_react.default.createElement(_indexCompiled.ContextPanelContentCompiled, {
150
141
  customWidth: _this2.props.customWidth,
151
142
  visible: visible,
152
143
  hasPadding: hasPadding,
@@ -97,7 +97,7 @@
97
97
  .cc-r9og9u .ProseMirror :is(ul,ol,div[data-node-type=actionList]):not(:is(ul,ol,div[data-node-type=actionList]) *).ak-editor-selected-node:not(.ak-editor-selected-node *).danger{background:var(--ds-background-danger,#ffeceb)}
98
98
  .cc-yovug7 .ProseMirror li:has(>ol:only-child), .cc-yovug7 .ProseMirror li:has(>ul:only-child){list-style-type:none!important;margin-top:0!important;margin-bottom:0!important}.cc-yovug7 .ProseMirror li:has(>ol:only-child)>ol, .cc-yovug7 .ProseMirror li:has(>ul:only-child)>ul{margin-top:0!important}.cc-yovug7 .ProseMirror div[data-task-list-local-id]>div[data-task-list-local-id]{margin-top:0!important}.cc-yovug7 .ProseMirror div[data-task-local-id]+div[data-task-list-local-id]{margin-top:var(--ds-space-050,4px)!important}
99
99
  .cc-16nbeqa .ProseMirror :is(ul,ol,div[data-node-type=actionList]):not(:is(ul,ol,div[data-node-type=actionList]) *).ak-editor-selected-node:not(.ak-editor-selected-node *){background:var(--ds-background-accent-blue-subtler,#cfe1fd);-webkit-user-select:text}.cc-16nbeqa .ProseMirror :is(ul,ol,div[data-node-type=actionList]):not(:is(ul,ol,div[data-node-type=actionList]) *).ak-editor-selected-node:not(.ak-editor-selected-node *) ::selection, .cc-16nbeqa .ProseMirror :is(ul,ol,div[data-node-type=actionList]):not(:is(ul,ol,div[data-node-type=actionList]) *).ak-editor-selected-node:not(.ak-editor-selected-node *)::selection{background-color:transparent}.cc-16nbeqa .ProseMirror :is(ul,ol,div[data-node-type=actionList]):not(:is(ul,ol,div[data-node-type=actionList]) *).ak-editor-selected-node:not(.ak-editor-selected-node *) ::-moz-selection, .cc-16nbeqa .ProseMirror :is(ul,ol,div[data-node-type=actionList]):not(:is(ul,ol,div[data-node-type=actionList]) *).ak-editor-selected-node:not(.ak-editor-selected-node *)::-moz-selection{background-color:transparent}
100
- .cc-xwc364 .ProseMirror ol, .cc-xwc364 .ProseMirror ul{box-sizing:border-box;padding-left:var(--ed--list--item-counter--padding,24px)}.cc-xwc364 .ProseMirror.ua-firefox ol li p:empty, .cc-xwc364 .ProseMirror.ua-firefox ol li p>span:empty, .cc-xwc364 .ProseMirror.ua-firefox ul li p:empty, .cc-xwc364 .ProseMirror.ua-firefox ul li p>span:empty{display:inline-block}.cc-xwc364 .ProseMirror .ak-ol, .cc-xwc364 .ProseMirror .ak-ul{display:flow-root}.cc-xwc364 .ProseMirror ul, .cc-xwc364 .ProseMirror ul ul ul ul{list-style-type:disc}.cc-xwc364 .ProseMirror ul ul, .cc-xwc364 .ProseMirror ul ul ul ul ul{list-style-type:circle}.cc-xwc364 .ProseMirror ul ul ul, .cc-xwc364 .ProseMirror ul ul ul ul ul ul{list-style-type:square}.cc-xwc364 .ProseMirror ol, .cc-xwc364 .ProseMirror ol ol ol ol{list-style-type:decimal}.cc-xwc364 .ProseMirror ol ol, .cc-xwc364 .ProseMirror ol ol ol ol ol{list-style-type:lower-alpha}.cc-xwc364 .ProseMirror ol ol ol, .cc-xwc364 .ProseMirror ol ol ol ol ol ol{list-style-type:lower-roman}.cc-xwc364 .ProseMirror ol[data-indent-level="1"], .cc-xwc364 .ProseMirror ol[data-indent-level="4"]{list-style-type:decimal}.cc-xwc364 .ProseMirror ol[data-indent-level="2"], .cc-xwc364 .ProseMirror ol[data-indent-level="5"]{list-style-type:lower-alpha}.cc-xwc364 .ProseMirror ol[data-indent-level="3"], .cc-xwc364 .ProseMirror ol[data-indent-level="6"]{list-style-type:lower-roman}.cc-xwc364 .ProseMirror ul[data-indent-level="1"], .cc-xwc364 .ProseMirror ul[data-indent-level="4"]{list-style-type:disc}.cc-xwc364 .ProseMirror ul[data-indent-level="2"], .cc-xwc364 .ProseMirror ul[data-indent-level="5"]{list-style-type:circle}.cc-xwc364 .ProseMirror ul[data-indent-level="3"], .cc-xwc364 .ProseMirror ul[data-indent-level="6"]{list-style-type:square}.cc-xwc364 .ProseMirror :is(ul,ol) :is(ul,ol) :is(ul,ol) ul:not([data-indent-level]), .cc-xwc364 .ProseMirror ul:not([data-indent-level]){list-style-type:disc}.cc-xwc364 .ProseMirror :is(ul,ol) :is(ul,ol) :is(ul,ol) :is(ul,ol) ul:not([data-indent-level]), .cc-xwc364 .ProseMirror :is(ul,ol) ul:not([data-indent-level]){list-style-type:circle}.cc-xwc364 .ProseMirror :is(ul,ol) :is(ul,ol) :is(ul,ol) :is(ul,ol) :is(ul,ol) ul:not([data-indent-level]), .cc-xwc364 .ProseMirror :is(ul,ol) :is(ul,ol) ul:not([data-indent-level]){list-style-type:square}.cc-xwc364 .ProseMirror :is(ul,ol) :is(ul,ol) :is(ul,ol) ol:not([data-indent-level]), .cc-xwc364 .ProseMirror ol:not([data-indent-level]){list-style-type:decimal}.cc-xwc364 .ProseMirror :is(ul,ol) :is(ul,ol) :is(ul,ol) :is(ul,ol) ol:not([data-indent-level]), .cc-xwc364 .ProseMirror :is(ul,ol) ol:not([data-indent-level]){list-style-type:lower-alpha}.cc-xwc364 .ProseMirror :is(ul,ol) :is(ul,ol) :is(ul,ol) :is(ul,ol) :is(ul,ol) ol:not([data-indent-level]), .cc-xwc364 .ProseMirror :is(ul,ol) :is(ul,ol) ol:not([data-indent-level]){list-style-type:lower-roman}.cc-xwc364 .ProseMirror li{position:relative}.cc-xwc364 .ProseMirror li>p:not(:first-child){margin:var(--ds-space-050,4px) 0 0 0}.cc-xwc364 .ProseMirror li>style:first-child+p{margin-top:.75rem}
100
+ .cc-xwc364 .ProseMirror ol:not(:where([popover],dialog,.cc-xwc364 .ProseMirror :is([popover],dialog) *)), .cc-xwc364 .ProseMirror ul:not(:where([popover],dialog,.cc-xwc364 .ProseMirror :is([popover],dialog) *)){box-sizing:border-box;padding-left:var(--ed--list--item-counter--padding,24px)}.cc-xwc364 .ProseMirror.ua-firefox ol li p:empty, .cc-xwc364 .ProseMirror.ua-firefox ol li p>span:empty, .cc-xwc364 .ProseMirror.ua-firefox ul li p:empty, .cc-xwc364 .ProseMirror.ua-firefox ul li p>span:empty{display:inline-block}.cc-xwc364 .ProseMirror .ak-ol, .cc-xwc364 .ProseMirror .ak-ul{display:flow-root}.cc-xwc364 .ProseMirror ul, .cc-xwc364 .ProseMirror ul ul ul ul{list-style-type:disc}.cc-xwc364 .ProseMirror ul ul, .cc-xwc364 .ProseMirror ul ul ul ul ul{list-style-type:circle}.cc-xwc364 .ProseMirror ul ul ul, .cc-xwc364 .ProseMirror ul ul ul ul ul ul{list-style-type:square}.cc-xwc364 .ProseMirror ol, .cc-xwc364 .ProseMirror ol ol ol ol{list-style-type:decimal}.cc-xwc364 .ProseMirror ol ol, .cc-xwc364 .ProseMirror ol ol ol ol ol{list-style-type:lower-alpha}.cc-xwc364 .ProseMirror ol ol ol, .cc-xwc364 .ProseMirror ol ol ol ol ol ol{list-style-type:lower-roman}.cc-xwc364 .ProseMirror ol[data-indent-level="1"], .cc-xwc364 .ProseMirror ol[data-indent-level="4"]{list-style-type:decimal}.cc-xwc364 .ProseMirror ol[data-indent-level="2"], .cc-xwc364 .ProseMirror ol[data-indent-level="5"]{list-style-type:lower-alpha}.cc-xwc364 .ProseMirror ol[data-indent-level="3"], .cc-xwc364 .ProseMirror ol[data-indent-level="6"]{list-style-type:lower-roman}.cc-xwc364 .ProseMirror ul[data-indent-level="1"], .cc-xwc364 .ProseMirror ul[data-indent-level="4"]{list-style-type:disc}.cc-xwc364 .ProseMirror ul[data-indent-level="2"], .cc-xwc364 .ProseMirror ul[data-indent-level="5"]{list-style-type:circle}.cc-xwc364 .ProseMirror ul[data-indent-level="3"], .cc-xwc364 .ProseMirror ul[data-indent-level="6"]{list-style-type:square}.cc-xwc364 .ProseMirror :is(ul,ol) :is(ul,ol) :is(ul,ol) ul:not([data-indent-level]), .cc-xwc364 .ProseMirror ul:not([data-indent-level]){list-style-type:disc}.cc-xwc364 .ProseMirror :is(ul,ol) :is(ul,ol) :is(ul,ol) :is(ul,ol) ul:not([data-indent-level]), .cc-xwc364 .ProseMirror :is(ul,ol) ul:not([data-indent-level]){list-style-type:circle}.cc-xwc364 .ProseMirror :is(ul,ol) :is(ul,ol) :is(ul,ol) :is(ul,ol) :is(ul,ol) ul:not([data-indent-level]), .cc-xwc364 .ProseMirror :is(ul,ol) :is(ul,ol) ul:not([data-indent-level]){list-style-type:square}.cc-xwc364 .ProseMirror :is(ul,ol) :is(ul,ol) :is(ul,ol) ol:not([data-indent-level]), .cc-xwc364 .ProseMirror ol:not([data-indent-level]){list-style-type:decimal}.cc-xwc364 .ProseMirror :is(ul,ol) :is(ul,ol) :is(ul,ol) :is(ul,ol) ol:not([data-indent-level]), .cc-xwc364 .ProseMirror :is(ul,ol) ol:not([data-indent-level]){list-style-type:lower-alpha}.cc-xwc364 .ProseMirror :is(ul,ol) :is(ul,ol) :is(ul,ol) :is(ul,ol) :is(ul,ol) ol:not([data-indent-level]), .cc-xwc364 .ProseMirror :is(ul,ol) :is(ul,ol) ol:not([data-indent-level]){list-style-type:lower-roman}.cc-xwc364 .ProseMirror li{position:relative}.cc-xwc364 .ProseMirror li>p:not(:first-child){margin:var(--ds-space-050,4px) 0 0 0}.cc-xwc364 .ProseMirror li>style:first-child+p{margin-top:.75rem}
101
101
  .cc-rj5qxv .ProseMirror ol:not(li>ol):not(:nth-child(1 of :not(style,.ProseMirror-gapcursor,.ProseMirror-widget,span))), .cc-rj5qxv .ProseMirror ul:not(li>ul):not(:nth-child(1 of :not(style,.ProseMirror-gapcursor,.ProseMirror-widget,span))){margin-top:var(--ds-space-150,9pt)}.cc-rj5qxv .ProseMirror li>ol, .cc-rj5qxv .ProseMirror li>ul{margin-top:var(--ds-space-050,4px)}
102
102
  .cc-1iqc8mu .ProseMirror:not(.blockCardView-content-wrap)>li:before{content:" ";line-height:1.714}.cc-1iqc8mu .ProseMirror:not(.blockCardView-content-wrap)>li>.ProseMirror-gapcursor:first-child+.code-block, .cc-1iqc8mu .ProseMirror:not(.blockCardView-content-wrap)>li>.code-block:first-child, .cc-1iqc8mu .ProseMirror:not(.blockCardView-content-wrap)>li>p:first-child{margin-top:-1.714em!important}
103
103
  .cc-iu9h8q .ProseMirror li+li{margin-top:max(0px,calc((var(--ak-editor-base-font-size, 1pc) - 13px)*1.33333))}.cc-iu9h8q .ProseMirror .ak-ol li>ol, .cc-iu9h8q .ProseMirror .ak-ol li>ul, .cc-iu9h8q .ProseMirror .ak-ul li>ol, .cc-iu9h8q .ProseMirror .ak-ul li>ul, .cc-iu9h8q .ProseMirror li>ol, .cc-iu9h8q .ProseMirror li>ul{margin-top:max(0px,calc((var(--ak-editor-base-font-size, 1pc) - 13px)*1.33333))}
@@ -14,13 +14,6 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
14
14
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
15
15
  var _excluded = ["children"];
16
16
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
17
- /**
18
- * Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
19
- * Used via `componentWithCondition` in `index.tsx`.
20
- *
21
- * Cleanup: delete this file once the experiment has shipped.
22
- */
23
-
24
17
  var pluginsComponentsWrapperCompiledStyles = {
25
18
  root: "_1e0c1txw"
26
19
  };
@@ -8,15 +8,10 @@ exports.default = void 0;
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
  var _isEqual = _interopRequireDefault(require("lodash/isEqual"));
10
10
  var _analytics = require("@atlaskit/editor-common/analytics");
11
- var _componentWithCondition = require("@atlaskit/platform-feature-flags-react/component-with-condition");
12
11
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
13
12
  var _ErrorBoundary = require("../ErrorBoundary");
14
13
  var _mountPluginHooks = require("./mount-plugin-hooks");
15
14
  var _PluginSlotCompiled = require("./PluginSlot-compiled");
16
- var _PluginSlotEmotion = require("./PluginSlot-emotion");
17
- var PluginsComponentsWrapperMigration = (0, _componentWithCondition.componentWithCondition)(function () {
18
- return (0, _expValEquals.expValEquals)('platform_editor_core_non_ecc_static_css', 'isEnabled', true);
19
- }, _PluginSlotCompiled.PluginsComponentsWrapperCompiled, _PluginSlotEmotion.PluginsComponentsWrapperEmotion);
20
15
  var PluginComponent = function PluginComponent(_ref) {
21
16
  var component = _ref.component,
22
17
  editorView = _ref.editorView,
@@ -75,7 +70,7 @@ var PluginSlot = function PluginSlot(_ref2) {
75
70
  pluginHooks: pluginHooks,
76
71
  containerElement: containerElement,
77
72
  wrapperElement: wrapperElement
78
- }), /*#__PURE__*/_react.default.createElement(PluginsComponentsWrapperMigration, {
73
+ }), /*#__PURE__*/_react.default.createElement(_PluginSlotCompiled.PluginsComponentsWrapperCompiled, {
79
74
  "data-testid": "plugins-components-wrapper"
80
75
  }, items === null || items === void 0 ? void 0 : items.map(function (component, index) {
81
76
  if (isolatePluginSlotFailures) {
@@ -1,10 +1,4 @@
1
1
  /* ToolbarComponentsWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
2
- /**
3
- * Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
4
- * Used via `componentWithCondition` in `ToolbarInner.tsx`.
5
- *
6
- * Cleanup: delete this file once the experiment has shipped.
7
- */
8
2
  "use strict";
9
3
 
10
4
  var _typeof = require("@babel/runtime/helpers/typeof");
@@ -13,16 +13,9 @@ var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits
13
13
  var _react = _interopRequireDefault(require("react"));
14
14
  var _isEqual = _interopRequireDefault(require("lodash/isEqual"));
15
15
  var _coreUtils = require("@atlaskit/editor-common/core-utils");
16
- var _componentWithCondition = require("@atlaskit/platform-feature-flags-react/component-with-condition");
17
- var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
18
16
  var _ToolbarComponentsWrapperCompiled = require("./ToolbarComponentsWrapper-compiled");
19
- var _ToolbarComponentsWrapperEmotion = require("./ToolbarComponentsWrapper-emotion");
20
17
  function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
21
18
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
22
- var ToolbarComponentsWrapperMigration = (0, _componentWithCondition.componentWithCondition)(function () {
23
- return (0, _expValEquals.expValEquals)('platform_editor_core_non_ecc_static_css', 'isEnabled', true);
24
- }, _ToolbarComponentsWrapperCompiled.ToolbarComponentsWrapperCompiled, _ToolbarComponentsWrapperEmotion.ToolbarComponentsWrapperEmotion);
25
-
26
19
  // Ignored via go/ees005
27
20
  // eslint-disable-next-line @repo/internal/react/no-class-components
28
21
  var ToolbarInner = exports.ToolbarInner = /*#__PURE__*/function (_React$Component) {
@@ -62,7 +55,7 @@ var ToolbarInner = exports.ToolbarInner = /*#__PURE__*/function (_React$Componen
62
55
  // Hiding toolbar in SSR until the dependency of screen width is resolved in SSR environment.
63
56
  return null;
64
57
  }
65
- return /*#__PURE__*/_react.default.createElement(ToolbarComponentsWrapperMigration, {
58
+ return /*#__PURE__*/_react.default.createElement(_ToolbarComponentsWrapperCompiled.ToolbarComponentsWrapperCompiled, {
66
59
  "data-vc": "toolbar-inner"
67
60
  }, items.map(function (component, key) {
68
61
  var element = component({
@@ -1,10 +1,4 @@
1
1
  /* ToolbarSizeDetectorWrapper-compiled.tsx generated by @compiled/babel-plugin v3.0.2 */
2
- /**
3
- * Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
4
- * Used via `componentWithCondition` in `ToolbarWithSizeDetector.tsx`.
5
- *
6
- * Cleanup: delete this file once the experiment has shipped.
7
- */
8
2
  "use strict";
9
3
 
10
4
  var _typeof = require("@babel/runtime/helpers/typeof");
@@ -10,20 +10,14 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/sli
10
10
  var _react = _interopRequireWildcard(require("react"));
11
11
  var _coreUtils = require("@atlaskit/editor-common/core-utils");
12
12
  var _types = require("@atlaskit/editor-common/types");
13
- var _componentWithCondition = require("@atlaskit/platform-feature-flags-react/component-with-condition");
14
13
  var _editorExperiment = require("@atlaskit/tmp-editor-statsig/editor-experiment");
15
- var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
16
14
  var _widthObserver = require("@atlaskit/width-detector/width-observer");
17
15
  var _isFullPage = require("../../utils/is-full-page");
18
16
  var _hooks = require("./hooks");
19
17
  var _Toolbar = require("./Toolbar");
20
18
  var _toolbarSize = require("./toolbar-size");
21
19
  var _ToolbarSizeDetectorWrapperCompiled = require("./ToolbarSizeDetectorWrapper-compiled");
22
- var _ToolbarSizeDetectorWrapperEmotion = require("./ToolbarSizeDetectorWrapper-emotion");
23
20
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
24
- var ToolbarSizeDetectorWrapperMigration = (0, _componentWithCondition.componentWithCondition)(function () {
25
- return (0, _expValEquals.expValEquals)('platform_editor_core_non_ecc_static_css', 'isEnabled', true);
26
- }, _ToolbarSizeDetectorWrapperCompiled.ToolbarSizeDetectorWrapperCompiled, _ToolbarSizeDetectorWrapperEmotion.ToolbarSizeDetectorWrapperEmotion);
27
21
  var ToolbarWithSizeDetector = exports.ToolbarWithSizeDetector = function ToolbarWithSizeDetector(props) {
28
22
  var ref = _react.default.useRef(null);
29
23
  var _React$useState = _react.default.useState(undefined),
@@ -49,15 +43,12 @@ var ToolbarWithSizeDetector = exports.ToolbarWithSizeDetector = function Toolbar
49
43
  return isPreviewPanelResponsivenessEnabled ? 'fit-content' : '254px';
50
44
  }
51
45
  }, [props.appearance, props.hasMinWidth, props.twoLineEditorToolbar]);
52
- var memoizedWrapperStyle = (0, _react.useMemo)(function () {
46
+ var wrapperStyle = (0, _react.useMemo)(function () {
53
47
  return {
54
48
  minWidth: minWidthValue
55
49
  };
56
50
  }, [minWidthValue]);
57
- var wrapperStyle = (0, _expValEquals.expValEquals)('platform_editor_core_non_ecc_static_css', 'isEnabled', true) ? memoizedWrapperStyle : {
58
- minWidth: minWidthValue
59
- };
60
- return /*#__PURE__*/_react.default.createElement(ToolbarSizeDetectorWrapperMigration
51
+ return /*#__PURE__*/_react.default.createElement(_ToolbarSizeDetectorWrapperCompiled.ToolbarSizeDetectorWrapperCompiled
61
52
  // 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.
62
53
  , {
63
54
  style: wrapperStyle
@@ -4,11 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
- var _componentWithCondition = require("@atlaskit/platform-feature-flags-react/component-with-condition");
8
- var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
9
7
  var _withFlashCompiled = require("./withFlash-compiled");
10
- var _withFlashEmotion = require("./withFlash-emotion");
11
- var WithFlash = (0, _componentWithCondition.componentWithCondition)(function () {
12
- return (0, _expValEquals.expValEquals)('platform_editor_core_non_ecc_static_css', 'isEnabled', true);
13
- }, _withFlashCompiled.WithFlashCompiled, _withFlashEmotion.WithFlashEmotion);
8
+ var WithFlash = _withFlashCompiled.WithFlashCompiled;
14
9
  var _default = exports.default = WithFlash;