@atlaskit/editor-core 220.4.2 → 220.4.4

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 (348) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/CollapsedEditor/package.json +1 -8
  3. package/ContextPanel/package.json +1 -8
  4. package/EditorContext/package.json +1 -8
  5. package/ReactEditorView/package.json +1 -8
  6. package/ToolbarHelp/package.json +1 -8
  7. package/ToolbarPortal/package.json +1 -8
  8. package/WithEditorActions/package.json +1 -8
  9. package/WithHelpTrigger/package.json +1 -8
  10. package/actions/package.json +1 -8
  11. package/appearance-editor-chromeless/package.json +1 -8
  12. package/appearance-editor-comment/package.json +1 -8
  13. package/appearance-editor-full-page/package.json +1 -8
  14. package/appearance-editor-full-width/package.json +1 -8
  15. package/command/package.json +1 -8
  16. package/composable-editor/package.json +1 -8
  17. package/create-plugins-list/package.json +1 -8
  18. package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea.js +9 -2
  19. package/dist/cjs/utils/outdatedBrowsers.js +4 -5
  20. package/dist/cjs/version-wrapper.js +1 -1
  21. package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea.js +9 -2
  22. package/dist/es2019/utils/outdatedBrowsers.js +4 -5
  23. package/dist/es2019/version-wrapper.js +1 -1
  24. package/dist/esm/ui/Appearance/FullPage/FullPageContentArea.js +9 -2
  25. package/dist/esm/utils/outdatedBrowsers.js +4 -5
  26. package/dist/esm/version-wrapper.js +1 -1
  27. package/editor/package.json +1 -8
  28. package/editor-context/package.json +1 -8
  29. package/editor-instance/package.json +1 -8
  30. package/editor-props/package.json +1 -8
  31. package/exclude-from-hydration/package.json +1 -8
  32. package/feature-flags-from-props/package.json +1 -8
  33. package/getNodesCount/package.json +1 -8
  34. package/i18n/package.json +1 -8
  35. package/i18n-languages/package.json +1 -8
  36. package/labs-next/package.json +1 -8
  37. package/measure-enum/package.json +1 -8
  38. package/package.json +6 -3
  39. package/preset-default/package.json +1 -8
  40. package/preset-universal/package.json +1 -8
  41. package/preset-universal/universal/package.json +1 -8
  42. package/preset-universal/useUniversalPreset/package.json +1 -8
  43. package/test-utils/package.json +1 -8
  44. package/use-preset/package.json +1 -8
  45. package/use-preset-context/package.json +1 -8
  46. package/version-wrapper/package.json +1 -8
  47. package/dist/types-ts4.5/CollapsedEditor/index.d.ts +0 -26
  48. package/dist/types-ts4.5/actions/index.d.ts +0 -97
  49. package/dist/types-ts4.5/actions/isEmptyParagraph.d.ts +0 -5
  50. package/dist/types-ts4.5/actions/temp-is-empty-document.d.ts +0 -11
  51. package/dist/types-ts4.5/actions/temp-nodes-by-localids.d.ts +0 -7
  52. package/dist/types-ts4.5/actions/temp-to-json.d.ts +0 -3
  53. package/dist/types-ts4.5/composable-editor/BaseThemeWrapper.d.ts +0 -7
  54. package/dist/types-ts4.5/composable-editor/composable-editor.d.ts +0 -3
  55. package/dist/types-ts4.5/composable-editor/core-editor.d.ts +0 -15
  56. package/dist/types-ts4.5/composable-editor/editor-inp-metrics.d.ts +0 -1
  57. package/dist/types-ts4.5/composable-editor/editor-internal-compiled.d.ts +0 -15
  58. package/dist/types-ts4.5/composable-editor/editor-internal-emotion.d.ts +0 -15
  59. package/dist/types-ts4.5/composable-editor/editor-internal.d.ts +0 -38
  60. package/dist/types-ts4.5/composable-editor/hooks/useEditorMeasuresConstructor.d.ts +0 -10
  61. package/dist/types-ts4.5/composable-editor/hooks/useMeasureEditorMountTime.d.ts +0 -11
  62. package/dist/types-ts4.5/composable-editor/hooks/useMemoEditorProps.d.ts +0 -7
  63. package/dist/types-ts4.5/composable-editor/hooks/useProviderFactory.d.ts +0 -14
  64. package/dist/types-ts4.5/composable-editor/hooks/useProviders.d.ts +0 -40
  65. package/dist/types-ts4.5/composable-editor/utils/getBaseFontSize.d.ts +0 -6
  66. package/dist/types-ts4.5/composable-editor/utils/getProvidersFromEditorProps.d.ts +0 -9
  67. package/dist/types-ts4.5/composable-editor/utils/handleProviders.d.ts +0 -12
  68. package/dist/types-ts4.5/composable-editor/utils/sendDurationAnalytics.d.ts +0 -13
  69. package/dist/types-ts4.5/composable-editor.d.ts +0 -2
  70. package/dist/types-ts4.5/create-editor/ErrorBoundary.d.ts +0 -53
  71. package/dist/types-ts4.5/create-editor/ReactEditorView/focusEditorElement.d.ts +0 -1
  72. package/dist/types-ts4.5/create-editor/ReactEditorView/formatFullWidthAppearance.d.ts +0 -3
  73. package/dist/types-ts4.5/create-editor/ReactEditorView/getUAPrefix.d.ts +0 -1
  74. package/dist/types-ts4.5/create-editor/ReactEditorView/handleEditorFocus.d.ts +0 -2
  75. package/dist/types-ts4.5/create-editor/ReactEditorView/useDispatchTransaction.d.ts +0 -13
  76. package/dist/types-ts4.5/create-editor/ReactEditorView/useFireFullWidthEvent.d.ts +0 -3
  77. package/dist/types-ts4.5/create-editor/ReactEditorView.d.ts +0 -55
  78. package/dist/types-ts4.5/create-editor/WithEditorView.d.ts +0 -6
  79. package/dist/types-ts4.5/create-editor/addMetadataAttributes.d.ts +0 -16
  80. package/dist/types-ts4.5/create-editor/consts.d.ts +0 -3
  81. package/dist/types-ts4.5/create-editor/create-editor.d.ts +0 -3
  82. package/dist/types-ts4.5/create-editor/create-plugins-list.d.ts +0 -13
  83. package/dist/types-ts4.5/create-editor/create-schema.d.ts +0 -36
  84. package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +0 -7
  85. package/dist/types-ts4.5/create-editor/createErrorReporter.d.ts +0 -3
  86. package/dist/types-ts4.5/create-editor/createPMPlugins.d.ts +0 -3
  87. package/dist/types-ts4.5/create-editor/editorNativeAnchorSupportPlugin.d.ts +0 -3
  88. package/dist/types-ts4.5/create-editor/editorStateNotificationPlugin.d.ts +0 -13
  89. package/dist/types-ts4.5/create-editor/filter-plugins-for-reconfigure.d.ts +0 -19
  90. package/dist/types-ts4.5/create-editor/fixExcludes.d.ts +0 -6
  91. package/dist/types-ts4.5/create-editor/get-plugins.d.ts +0 -43
  92. package/dist/types-ts4.5/create-editor/get-ui-component.d.ts +0 -5
  93. package/dist/types-ts4.5/create-editor/getScrollGutterOptions.d.ts +0 -3
  94. package/dist/types-ts4.5/create-editor/messages.d.ts +0 -12
  95. package/dist/types-ts4.5/create-editor/preset-utils.d.ts +0 -2
  96. package/dist/types-ts4.5/create-editor/sortByRank.d.ts +0 -5
  97. package/dist/types-ts4.5/editor-appearances/ChromelessEditor.d.ts +0 -14
  98. package/dist/types-ts4.5/editor-appearances/CommentEditor.d.ts +0 -14
  99. package/dist/types-ts4.5/editor-appearances/FullPageEditor.d.ts +0 -19
  100. package/dist/types-ts4.5/editor-appearances/FullWidthEditor.d.ts +0 -18
  101. package/dist/types-ts4.5/editor-context.d.ts +0 -1
  102. package/dist/types-ts4.5/editor.d.ts +0 -24
  103. package/dist/types-ts4.5/entry-points/CollapsedEditor.d.ts +0 -1
  104. package/dist/types-ts4.5/entry-points/ContextPanel.d.ts +0 -1
  105. package/dist/types-ts4.5/entry-points/EditorContext.d.ts +0 -1
  106. package/dist/types-ts4.5/entry-points/ReactEditorView.d.ts +0 -1
  107. package/dist/types-ts4.5/entry-points/ToolbarHelp.d.ts +0 -1
  108. package/dist/types-ts4.5/entry-points/ToolbarPortal.d.ts +0 -1
  109. package/dist/types-ts4.5/entry-points/WithEditorActions.d.ts +0 -1
  110. package/dist/types-ts4.5/entry-points/WithHelpTrigger.d.ts +0 -1
  111. package/dist/types-ts4.5/entry-points/actions.d.ts +0 -1
  112. package/dist/types-ts4.5/entry-points/appearance-editor-chromeless.d.ts +0 -2
  113. package/dist/types-ts4.5/entry-points/appearance-editor-comment.d.ts +0 -2
  114. package/dist/types-ts4.5/entry-points/appearance-editor-full-page.d.ts +0 -2
  115. package/dist/types-ts4.5/entry-points/appearance-editor-full-width.d.ts +0 -2
  116. package/dist/types-ts4.5/entry-points/command.d.ts +0 -1
  117. package/dist/types-ts4.5/entry-points/create-plugins-list.d.ts +0 -1
  118. package/dist/types-ts4.5/entry-points/editor-instance.d.ts +0 -1
  119. package/dist/types-ts4.5/entry-points/editor-props.d.ts +0 -1
  120. package/dist/types-ts4.5/entry-points/editor.d.ts +0 -11
  121. package/dist/types-ts4.5/entry-points/exclude-from-hydration.d.ts +0 -1
  122. package/dist/types-ts4.5/entry-points/feature-flags-from-props.d.ts +0 -1
  123. package/dist/types-ts4.5/entry-points/getNodesCount.d.ts +0 -1
  124. package/dist/types-ts4.5/entry-points/i18n-languages.d.ts +0 -1
  125. package/dist/types-ts4.5/entry-points/measure-enum.d.ts +0 -1
  126. package/dist/types-ts4.5/entry-points/preset-universal-universal.d.ts +0 -2
  127. package/dist/types-ts4.5/entry-points/preset-universal-useUniversalPreset.d.ts +0 -1
  128. package/dist/types-ts4.5/entry-points/test-utils.d.ts +0 -5
  129. package/dist/types-ts4.5/entry-points/use-preset-context.d.ts +0 -2
  130. package/dist/types-ts4.5/entry-points/version-wrapper.d.ts +0 -1
  131. package/dist/types-ts4.5/i18n/cs.d.ts +0 -12
  132. package/dist/types-ts4.5/i18n/da.d.ts +0 -12
  133. package/dist/types-ts4.5/i18n/de.d.ts +0 -12
  134. package/dist/types-ts4.5/i18n/en.d.ts +0 -12
  135. package/dist/types-ts4.5/i18n/en_GB.d.ts +0 -12
  136. package/dist/types-ts4.5/i18n/en_ZZ.d.ts +0 -12
  137. package/dist/types-ts4.5/i18n/es.d.ts +0 -12
  138. package/dist/types-ts4.5/i18n/et.d.ts +0 -168
  139. package/dist/types-ts4.5/i18n/fi.d.ts +0 -12
  140. package/dist/types-ts4.5/i18n/fr.d.ts +0 -12
  141. package/dist/types-ts4.5/i18n/hr.d.ts +0 -12
  142. package/dist/types-ts4.5/i18n/hu.d.ts +0 -12
  143. package/dist/types-ts4.5/i18n/index.d.ts +0 -36
  144. package/dist/types-ts4.5/i18n/is.d.ts +0 -153
  145. package/dist/types-ts4.5/i18n/it.d.ts +0 -12
  146. package/dist/types-ts4.5/i18n/ja.d.ts +0 -12
  147. package/dist/types-ts4.5/i18n/ko.d.ts +0 -12
  148. package/dist/types-ts4.5/i18n/languages.d.ts +0 -39
  149. package/dist/types-ts4.5/i18n/nb.d.ts +0 -12
  150. package/dist/types-ts4.5/i18n/nl.d.ts +0 -12
  151. package/dist/types-ts4.5/i18n/pl.d.ts +0 -12
  152. package/dist/types-ts4.5/i18n/pt_BR.d.ts +0 -12
  153. package/dist/types-ts4.5/i18n/pt_PT.d.ts +0 -180
  154. package/dist/types-ts4.5/i18n/ro.d.ts +0 -153
  155. package/dist/types-ts4.5/i18n/ru.d.ts +0 -12
  156. package/dist/types-ts4.5/i18n/sk.d.ts +0 -12
  157. package/dist/types-ts4.5/i18n/sl.d.ts +0 -12
  158. package/dist/types-ts4.5/i18n/sr.d.ts +0 -12
  159. package/dist/types-ts4.5/i18n/sr_RS.d.ts +0 -12
  160. package/dist/types-ts4.5/i18n/sr_YR.d.ts +0 -12
  161. package/dist/types-ts4.5/i18n/sv.d.ts +0 -12
  162. package/dist/types-ts4.5/i18n/th.d.ts +0 -12
  163. package/dist/types-ts4.5/i18n/tr.d.ts +0 -12
  164. package/dist/types-ts4.5/i18n/uk.d.ts +0 -12
  165. package/dist/types-ts4.5/i18n/vi.d.ts +0 -12
  166. package/dist/types-ts4.5/i18n/zh.d.ts +0 -12
  167. package/dist/types-ts4.5/i18n/zh_TW.d.ts +0 -12
  168. package/dist/types-ts4.5/index.d.ts +0 -34
  169. package/dist/types-ts4.5/isElementBySelectorInDocument.d.ts +0 -7
  170. package/dist/types-ts4.5/labs-next.d.ts +0 -1
  171. package/dist/types-ts4.5/nodeviews/types.d.ts +0 -12
  172. package/dist/types-ts4.5/preset-default.d.ts +0 -1
  173. package/dist/types-ts4.5/preset-universal.d.ts +0 -3
  174. package/dist/types-ts4.5/presets/context.d.ts +0 -15
  175. package/dist/types-ts4.5/presets/default-preset-type.d.ts +0 -87
  176. package/dist/types-ts4.5/presets/default.d.ts +0 -66
  177. package/dist/types-ts4.5/presets/universal.d.ts +0 -98
  178. package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +0 -8
  179. package/dist/types-ts4.5/setTextSelection.d.ts +0 -2
  180. package/dist/types-ts4.5/test-utils.d.ts +0 -24
  181. package/dist/types-ts4.5/ts-hack.d.ts +0 -10
  182. package/dist/types-ts4.5/types/command.d.ts +0 -5
  183. package/dist/types-ts4.5/types/dom-at-pos.d.ts +0 -4
  184. package/dist/types-ts4.5/types/editor-appearance-component.d.ts +0 -57
  185. package/dist/types-ts4.5/types/editor-config.d.ts +0 -21
  186. package/dist/types-ts4.5/types/editor-instance.d.ts +0 -19
  187. package/dist/types-ts4.5/types/editor-onchange.d.ts +0 -14
  188. package/dist/types-ts4.5/types/editor-props.d.ts +0 -317
  189. package/dist/types-ts4.5/types/extension-config.d.ts +0 -4
  190. package/dist/types-ts4.5/types/i18n.d.ts +0 -5
  191. package/dist/types-ts4.5/types/markdown-mode.d.ts +0 -11
  192. package/dist/types-ts4.5/types/pm-plugin-list.d.ts +0 -10
  193. package/dist/types-ts4.5/types/with-appearance-component.d.ts +0 -5
  194. package/dist/types-ts4.5/ui/Addon/ClickAreaBlock/clickAreaBlock-compiled.d.ts +0 -10
  195. package/dist/types-ts4.5/ui/Addon/ClickAreaBlock/clickAreaBlock-emotion.d.ts +0 -12
  196. package/dist/types-ts4.5/ui/Addon/ClickAreaBlock/contentComponentWrapper.d.ts +0 -6
  197. package/dist/types-ts4.5/ui/Addon/ClickAreaBlock/index.d.ts +0 -9
  198. package/dist/types-ts4.5/ui/Addon/checkForModal.d.ts +0 -10
  199. package/dist/types-ts4.5/ui/Addon/click-area-helper.d.ts +0 -3
  200. package/dist/types-ts4.5/ui/Addon/outsideProsemirrorEditorClickHandler.d.ts +0 -2
  201. package/dist/types-ts4.5/ui/Addon/types.d.ts +0 -16
  202. package/dist/types-ts4.5/ui/Appearance/Chromeless-compiled.d.ts +0 -18
  203. package/dist/types-ts4.5/ui/Appearance/Chromeless-emotion.d.ts +0 -18
  204. package/dist/types-ts4.5/ui/Appearance/Chromeless.d.ts +0 -22
  205. package/dist/types-ts4.5/ui/Appearance/ChromelessEditorContainer.d.ts +0 -9
  206. package/dist/types-ts4.5/ui/Appearance/Comment/Comment.d.ts +0 -20
  207. package/dist/types-ts4.5/ui/Appearance/Comment/CommentToolbar.d.ts +0 -21
  208. package/dist/types-ts4.5/ui/Appearance/Comment/Toolbar.d.ts +0 -12
  209. package/dist/types-ts4.5/ui/Appearance/FullPage/BeforeWrapper-compiled.d.ts +0 -16
  210. package/dist/types-ts4.5/ui/Appearance/FullPage/BeforeWrapper-emotion.d.ts +0 -16
  211. package/dist/types-ts4.5/ui/Appearance/FullPage/BeforeWrapper.d.ts +0 -6
  212. package/dist/types-ts4.5/ui/Appearance/FullPage/CustomToolbarWrapper-compiled.d.ts +0 -3
  213. package/dist/types-ts4.5/ui/Appearance/FullPage/CustomToolbarWrapper-emotion.d.ts +0 -14
  214. package/dist/types-ts4.5/ui/Appearance/FullPage/CustomToolbarWrapper.d.ts +0 -10
  215. package/dist/types-ts4.5/ui/Appearance/FullPage/CustomToolbarWrapperMigration.d.ts +0 -4
  216. package/dist/types-ts4.5/ui/Appearance/FullPage/FullPage-compiled.d.ts +0 -7
  217. package/dist/types-ts4.5/ui/Appearance/FullPage/FullPage-emotion.d.ts +0 -7
  218. package/dist/types-ts4.5/ui/Appearance/FullPage/FullPage.d.ts +0 -18
  219. package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageContentArea.d.ts +0 -56
  220. package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageToolbar.d.ts +0 -51
  221. package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageToolbarNext.d.ts +0 -30
  222. package/dist/types-ts4.5/ui/Appearance/FullPage/MainToolbar-compiled.d.ts +0 -21
  223. package/dist/types-ts4.5/ui/Appearance/FullPage/MainToolbar-emotion.d.ts +0 -21
  224. package/dist/types-ts4.5/ui/Appearance/FullPage/MainToolbar.d.ts +0 -1
  225. package/dist/types-ts4.5/ui/Appearance/FullPage/MainToolbarIconBeforeMigration.d.ts +0 -4
  226. package/dist/types-ts4.5/ui/Appearance/FullPage/MainToolbarWrapper-compiled.d.ts +0 -19
  227. package/dist/types-ts4.5/ui/Appearance/FullPage/MainToolbarWrapper-emotion.d.ts +0 -19
  228. package/dist/types-ts4.5/ui/Appearance/FullPage/MainToolbarWrapper.d.ts +0 -3
  229. package/dist/types-ts4.5/ui/Appearance/FullPage/NonCustomToolbarWrapperMigration.d.ts +0 -4
  230. package/dist/types-ts4.5/ui/Appearance/FullPage/StyledComponents.d.ts +0 -5
  231. package/dist/types-ts4.5/ui/Appearance/FullPage/types.d.ts +0 -5
  232. package/dist/types-ts4.5/ui/ChromeCollapsed/ChromeCollapsed-compiled.d.ts +0 -13
  233. package/dist/types-ts4.5/ui/ChromeCollapsed/ChromeCollapsed-emotion.d.ts +0 -13
  234. package/dist/types-ts4.5/ui/ChromeCollapsed/index.d.ts +0 -11
  235. package/dist/types-ts4.5/ui/ChromeCollapsed/messages.d.ts +0 -7
  236. package/dist/types-ts4.5/ui/ChromeCollapsed/styles.d.ts +0 -2
  237. package/dist/types-ts4.5/ui/CollapsedEditor/index.d.ts +0 -19
  238. package/dist/types-ts4.5/ui/ContextPanel/index-compiled.d.ts +0 -25
  239. package/dist/types-ts4.5/ui/ContextPanel/index-emotion.d.ts +0 -15
  240. package/dist/types-ts4.5/ui/ContextPanel/index.d.ts +0 -24
  241. package/dist/types-ts4.5/ui/EditorContentContainer/EditorContentContainer-compiled.d.ts +0 -29
  242. package/dist/types-ts4.5/ui/EditorContentContainer/EditorContentContainer-emotion.d.ts +0 -32
  243. package/dist/types-ts4.5/ui/EditorContentContainer/EditorContentContainer.d.ts +0 -9
  244. package/dist/types-ts4.5/ui/EditorContentContainer/styles/aiPanel.d.ts +0 -29
  245. package/dist/types-ts4.5/ui/EditorContentContainer/styles/annotationStyles.d.ts +0 -8
  246. package/dist/types-ts4.5/ui/EditorContentContainer/styles/backgroundColorStyles.d.ts +0 -15
  247. package/dist/types-ts4.5/ui/EditorContentContainer/styles/baseStyles.d.ts +0 -43
  248. package/dist/types-ts4.5/ui/EditorContentContainer/styles/blockMarksStyles.d.ts +0 -8
  249. package/dist/types-ts4.5/ui/EditorContentContainer/styles/blockTypeStyles.d.ts +0 -71
  250. package/dist/types-ts4.5/ui/EditorContentContainer/styles/codeBlockStyles.d.ts +0 -46
  251. package/dist/types-ts4.5/ui/EditorContentContainer/styles/codeMarkStyles.d.ts +0 -15
  252. package/dist/types-ts4.5/ui/EditorContentContainer/styles/commentEditorStyles.d.ts +0 -8
  253. package/dist/types-ts4.5/ui/EditorContentContainer/styles/cursorStyles.d.ts +0 -8
  254. package/dist/types-ts4.5/ui/EditorContentContainer/styles/dateStyles.d.ts +0 -32
  255. package/dist/types-ts4.5/ui/EditorContentContainer/styles/editorUGCTokenStyles.d.ts +0 -40
  256. package/dist/types-ts4.5/ui/EditorContentContainer/styles/embedCardStyles.d.ts +0 -8
  257. package/dist/types-ts4.5/ui/EditorContentContainer/styles/emoji.d.ts +0 -42
  258. package/dist/types-ts4.5/ui/EditorContentContainer/styles/expandStyles.d.ts +0 -59
  259. package/dist/types-ts4.5/ui/EditorContentContainer/styles/extensionStyles.d.ts +0 -20
  260. package/dist/types-ts4.5/ui/EditorContentContainer/styles/findReplaceStyles.d.ts +0 -36
  261. package/dist/types-ts4.5/ui/EditorContentContainer/styles/firstBlockNodeStyles.d.ts +0 -8
  262. package/dist/types-ts4.5/ui/EditorContentContainer/styles/floatingToolbarStyles.d.ts +0 -8
  263. package/dist/types-ts4.5/ui/EditorContentContainer/styles/fontSizeStyles.d.ts +0 -8
  264. package/dist/types-ts4.5/ui/EditorContentContainer/styles/fullPageEditorStyles.d.ts +0 -8
  265. package/dist/types-ts4.5/ui/EditorContentContainer/styles/gapCursorStyles.d.ts +0 -22
  266. package/dist/types-ts4.5/ui/EditorContentContainer/styles/gridStyles.d.ts +0 -8
  267. package/dist/types-ts4.5/ui/EditorContentContainer/styles/indentationStyles.d.ts +0 -8
  268. package/dist/types-ts4.5/ui/EditorContentContainer/styles/inlineNodeViewSharedStyles.d.ts +0 -8
  269. package/dist/types-ts4.5/ui/EditorContentContainer/styles/layout.d.ts +0 -220
  270. package/dist/types-ts4.5/ui/EditorContentContainer/styles/link.d.ts +0 -22
  271. package/dist/types-ts4.5/ui/EditorContentContainer/styles/list.d.ts +0 -50
  272. package/dist/types-ts4.5/ui/EditorContentContainer/styles/mediaStyles.d.ts +0 -36
  273. package/dist/types-ts4.5/ui/EditorContentContainer/styles/mentions.d.ts +0 -36
  274. package/dist/types-ts4.5/ui/EditorContentContainer/styles/overflowShadowStyles.d.ts +0 -8
  275. package/dist/types-ts4.5/ui/EditorContentContainer/styles/panelStyles.d.ts +0 -43
  276. package/dist/types-ts4.5/ui/EditorContentContainer/styles/paragraphStyles.d.ts +0 -36
  277. package/dist/types-ts4.5/ui/EditorContentContainer/styles/placeholderStyles.d.ts +0 -29
  278. package/dist/types-ts4.5/ui/EditorContentContainer/styles/resizerStyles.d.ts +0 -131
  279. package/dist/types-ts4.5/ui/EditorContentContainer/styles/rule.d.ts +0 -15
  280. package/dist/types-ts4.5/ui/EditorContentContainer/styles/scrollbarStyles.d.ts +0 -8
  281. package/dist/types-ts4.5/ui/EditorContentContainer/styles/selectionStyles.d.ts +0 -74
  282. package/dist/types-ts4.5/ui/EditorContentContainer/styles/selectionToolbarStyles.d.ts +0 -8
  283. package/dist/types-ts4.5/ui/EditorContentContainer/styles/shadowStyles.d.ts +0 -29
  284. package/dist/types-ts4.5/ui/EditorContentContainer/styles/smartCardStyles.d.ts +0 -98
  285. package/dist/types-ts4.5/ui/EditorContentContainer/styles/statusStyles.d.ts +0 -50
  286. package/dist/types-ts4.5/ui/EditorContentContainer/styles/syncBlockStyles.d.ts +0 -36
  287. package/dist/types-ts4.5/ui/EditorContentContainer/styles/tableStyles.d.ts +0 -50
  288. package/dist/types-ts4.5/ui/EditorContentContainer/styles/tasksAndDecisionsStyles.d.ts +0 -77
  289. package/dist/types-ts4.5/ui/EditorContentContainer/styles/telepointerStyles.d.ts +0 -15
  290. package/dist/types-ts4.5/ui/EditorContentContainer/styles/textColorStyles.d.ts +0 -8
  291. package/dist/types-ts4.5/ui/EditorContentContainer/styles/textHighlightStyles.d.ts +0 -8
  292. package/dist/types-ts4.5/ui/EditorContentContainer/styles/unsupportedStyles.d.ts +0 -18
  293. package/dist/types-ts4.5/ui/EditorContentContainer/styles/whitespaceStyles.d.ts +0 -8
  294. package/dist/types-ts4.5/ui/EditorContext/index.d.ts +0 -15
  295. package/dist/types-ts4.5/ui/ErrorBoundary/index.d.ts +0 -26
  296. package/dist/types-ts4.5/ui/ExcludeFromHydration/index.d.ts +0 -13
  297. package/dist/types-ts4.5/ui/IntlProviderIfMissingWrapper/IntlProviderIfMissingWrapper.d.ts +0 -6
  298. package/dist/types-ts4.5/ui/PluginSlot/PluginSlot-compiled.d.ts +0 -12
  299. package/dist/types-ts4.5/ui/PluginSlot/PluginSlot-emotion.d.ts +0 -12
  300. package/dist/types-ts4.5/ui/PluginSlot/index.d.ts +0 -26
  301. package/dist/types-ts4.5/ui/PluginSlot/mount-plugin-hooks.d.ts +0 -10
  302. package/dist/types-ts4.5/ui/Toolbar/Toolbar.d.ts +0 -32
  303. package/dist/types-ts4.5/ui/Toolbar/ToolbarInner.d.ts +0 -11
  304. package/dist/types-ts4.5/ui/Toolbar/ToolbarPortal.d.ts +0 -21
  305. package/dist/types-ts4.5/ui/Toolbar/ToolbarWithSizeDetector.d.ts +0 -3
  306. package/dist/types-ts4.5/ui/Toolbar/getPrimaryToolbarComponents.d.ts +0 -7
  307. package/dist/types-ts4.5/ui/Toolbar/hooks.d.ts +0 -4
  308. package/dist/types-ts4.5/ui/Toolbar/toolbar-size.d.ts +0 -4
  309. package/dist/types-ts4.5/ui/Toolbar/toolbar-types.d.ts +0 -33
  310. package/dist/types-ts4.5/ui/ToolbarHelp/index.d.ts +0 -14
  311. package/dist/types-ts4.5/ui/ToolbarHelp/messages.d.ts +0 -7
  312. package/dist/types-ts4.5/ui/WithEditorActions/index.d.ts +0 -9
  313. package/dist/types-ts4.5/ui/WithFlash/index.d.ts +0 -7
  314. package/dist/types-ts4.5/ui/WithFlash/withFlash-compiled.d.ts +0 -19
  315. package/dist/types-ts4.5/ui/WithFlash/withFlash-emotion.d.ts +0 -19
  316. package/dist/types-ts4.5/ui/WithHelpTrigger/index.d.ts +0 -14
  317. package/dist/types-ts4.5/use-preset.d.ts +0 -43
  318. package/dist/types-ts4.5/utils/action.d.ts +0 -3
  319. package/dist/types-ts4.5/utils/combineQuickInsertProviders.d.ts +0 -2
  320. package/dist/types-ts4.5/utils/deprecation-warnings.d.ts +0 -8
  321. package/dist/types-ts4.5/utils/editorDeprecationWarnings.d.ts +0 -2
  322. package/dist/types-ts4.5/utils/extensions.d.ts +0 -10
  323. package/dist/types-ts4.5/utils/feature-flags-from-props.d.ts +0 -7
  324. package/dist/types-ts4.5/utils/findChangedNodesFromTransaction.d.ts +0 -8
  325. package/dist/types-ts4.5/utils/getNodesCount.d.ts +0 -2
  326. package/dist/types-ts4.5/utils/getNodesCountWithExtensionKeys.d.ts +0 -12
  327. package/dist/types-ts4.5/utils/getNodesVisibleInViewport.d.ts +0 -5
  328. package/dist/types-ts4.5/utils/is-chromeless.d.ts +0 -2
  329. package/dist/types-ts4.5/utils/is-full-page.d.ts +0 -2
  330. package/dist/types-ts4.5/utils/isNodeVisible.d.ts +0 -5
  331. package/dist/types-ts4.5/utils/nodes-by-localIds.d.ts +0 -3
  332. package/dist/types-ts4.5/utils/outdatedBrowsers.d.ts +0 -1
  333. package/dist/types-ts4.5/utils/performance/components/RenderTracking.d.ts +0 -13
  334. package/dist/types-ts4.5/utils/performance/getTimeSince.d.ts +0 -8
  335. package/dist/types-ts4.5/utils/performance/measure-enum.d.ts +0 -7
  336. package/dist/types-ts4.5/utils/performance/outlier.d.ts +0 -1
  337. package/dist/types-ts4.5/utils/performance/percentile.d.ts +0 -1
  338. package/dist/types-ts4.5/utils/performance/plugin-performance-observer.d.ts +0 -23
  339. package/dist/types-ts4.5/utils/performance/plugin-performance-report.d.ts +0 -47
  340. package/dist/types-ts4.5/utils/performance/safer-transactions.d.ts +0 -8
  341. package/dist/types-ts4.5/utils/performance/simple-measure-to-entries.d.ts +0 -28
  342. package/dist/types-ts4.5/utils/performance/track-transactions.d.ts +0 -30
  343. package/dist/types-ts4.5/utils/prepare-extension-provider.d.ts +0 -5
  344. package/dist/types-ts4.5/utils/prepare-quick-insert-provider.d.ts +0 -19
  345. package/dist/types-ts4.5/utils/toolbar.d.ts +0 -2
  346. package/dist/types-ts4.5/utils/validNode.d.ts +0 -2
  347. package/dist/types-ts4.5/utils/validateNodes.d.ts +0 -3
  348. package/dist/types-ts4.5/version-wrapper.d.ts +0 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 220.4.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [`d6c0ba39b44b2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d6c0ba39b44b2) -
8
+ Clean up experiment `platform_editor_outdated_browser_update`
9
+ - Updated dependencies
10
+
11
+ ## 220.4.3
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 220.4.2
4
18
 
5
19
  ### Patch Changes
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/entry-points/CollapsedEditor.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/entry-points/CollapsedEditor.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/entry-points/CollapsedEditor.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/entry-points/ContextPanel.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/entry-points/ContextPanel.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/entry-points/ContextPanel.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/entry-points/EditorContext.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/entry-points/EditorContext.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/entry-points/EditorContext.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/entry-points/ReactEditorView.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/entry-points/ReactEditorView.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/entry-points/ReactEditorView.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/entry-points/ToolbarHelp.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/entry-points/ToolbarHelp.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/entry-points/ToolbarHelp.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/entry-points/ToolbarPortal.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/entry-points/ToolbarPortal.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/entry-points/ToolbarPortal.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/entry-points/WithEditorActions.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/entry-points/WithEditorActions.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/entry-points/WithEditorActions.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/entry-points/WithHelpTrigger.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/entry-points/WithHelpTrigger.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/entry-points/WithHelpTrigger.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/entry-points/actions.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/entry-points/actions.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/entry-points/actions.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/entry-points/appearance-editor-chromeless.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/entry-points/appearance-editor-chromeless.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/entry-points/appearance-editor-chromeless.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/entry-points/appearance-editor-comment.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/entry-points/appearance-editor-comment.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/entry-points/appearance-editor-comment.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/entry-points/appearance-editor-full-page.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/entry-points/appearance-editor-full-page.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/entry-points/appearance-editor-full-page.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/entry-points/appearance-editor-full-width.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/entry-points/appearance-editor-full-width.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/entry-points/appearance-editor-full-width.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/entry-points/command.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/entry-points/command.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/entry-points/command.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/composable-editor.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/composable-editor.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/composable-editor.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/entry-points/create-plugins-list.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/entry-points/create-plugins-list.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/entry-points/create-plugins-list.d.ts"
17
10
  }
@@ -221,6 +221,13 @@ var contentAreaNew = (0, _react2.css)({
221
221
  var contentAreaHeightNoToolbar = (0, _react2.css)({
222
222
  height: '100%'
223
223
  });
224
+
225
+ // When the markdown source view is shown (markdown mode toggled on and not in
226
+ // the WYSIWYG "preview" view) we tint the whole editor container with the
227
+ // sunken surface so the source editor reads as a distinct, inset surface.
228
+ var markdownModeContainerBackgroundStyle = (0, _react2.css)({
229
+ backgroundColor: "var(--ds-surface-sunken, #F8F8F8)"
230
+ });
224
231
  var CONTENT_AREA_TEST_ID = exports.CONTENT_AREA_TEST_ID = 'ak-editor-fp-content-area';
225
232
  // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
226
233
  var EDITOR_CONTAINER = exports.EDITOR_CONTAINER = 'ak-editor-container';
@@ -265,9 +272,9 @@ var Content = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
265
272
  "data-testid": CONTENT_AREA_TEST_ID,
266
273
  ref: containerRef
267
274
  }, (0, _react2.jsx)("div", {
268
- css:
275
+ css: [
269
276
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values
270
- _StyledComponents.contentAreaWrapper,
277
+ _StyledComponents.contentAreaWrapper, shouldHideProseMirrorForMarkdownMode && (0, _platformFeatureFlags.fg)('platform_editor_md_mvp_layout') && markdownModeContainerBackgroundStyle],
271
278
  "data-testid": EDITOR_CONTAINER,
272
279
  "data-editor-container": 'true'
273
280
  }, (0, _react2.jsx)(_EditorContentContainer.default
@@ -4,29 +4,28 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.isOutdatedBrowser = void 0;
7
- var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
8
7
  /* eslint-disable require-unicode-regexp */
9
8
 
10
9
  var isOutdatedBrowser = exports.isOutdatedBrowser = function isOutdatedBrowser(userAgent) {
11
10
  // Take browsers in both Desktop and Mobile (includes Chrome, Firefox, Edge and Safari) within last 2 years
12
11
  var chrome = /Chrome\//.test(userAgent) && !/OPR\//.test(userAgent);
13
12
  var chromeVersion = chrome ? parseInt((userAgent.match(/Chrome\/(\d+)/) || [])[1], 10) : 0;
14
- if ((0, _expValEquals.expValEquals)('platform_editor_outdated_browser_update', 'isEnabled', true) ? chromeVersion >= 123 : chromeVersion >= 84) {
13
+ if (chromeVersion >= 123) {
15
14
  return false;
16
15
  }
17
16
  var gecko = /gecko\/\d/i.test(userAgent);
18
17
  var geckoVersion = gecko ? parseInt((userAgent.match(/Firefox\/(\d+)/) || [])[1], 10) : 0;
19
- if ((0, _expValEquals.expValEquals)('platform_editor_outdated_browser_update', 'isEnabled', true) ? geckoVersion >= 124 : geckoVersion >= 84) {
18
+ if (geckoVersion >= 124) {
20
19
  return false;
21
20
  }
22
21
  var edge = /Edge\/(\d+)/.exec(userAgent);
23
22
  var edgeVersion = edge ? +edge[1] : 0;
24
- if ((0, _expValEquals.expValEquals)('platform_editor_outdated_browser_update', 'isEnabled', true) ? edgeVersion >= 123 : edgeVersion >= 84) {
23
+ if (edgeVersion >= 123) {
25
24
  return false;
26
25
  }
27
26
  var safari = !chrome && !gecko && /Version\/([0-9\._]+).*Safari/.test(userAgent);
28
27
  var safariVersion = safari ? parseInt((userAgent.match(/Version\/([0-9\._]+).*Safari/) || [])[1], 10) : 0;
29
- if ((0, _expValEquals.expValEquals)('platform_editor_outdated_browser_update', 'isEnabled', true) ? safariVersion >= 17 : safariVersion >= 12) {
28
+ if (safariVersion >= 17) {
30
29
  return false;
31
30
  }
32
31
  return true;
@@ -6,4 +6,4 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.version = exports.name = void 0;
7
7
  var name = exports.name = "@atlaskit/editor-core";
8
8
  // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
9
- var version = exports.version = "220.4.1";
9
+ var version = exports.version = "220.4.3";
@@ -215,6 +215,13 @@ const contentAreaNew = css({
215
215
  const contentAreaHeightNoToolbar = css({
216
216
  height: '100%'
217
217
  });
218
+
219
+ // When the markdown source view is shown (markdown mode toggled on and not in
220
+ // the WYSIWYG "preview" view) we tint the whole editor container with the
221
+ // sunken surface so the source editor reads as a distinct, inset surface.
222
+ const markdownModeContainerBackgroundStyle = css({
223
+ backgroundColor: "var(--ds-surface-sunken, #F8F8F8)"
224
+ });
218
225
  export const CONTENT_AREA_TEST_ID = 'ak-editor-fp-content-area';
219
226
  // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
220
227
  export const EDITOR_CONTAINER = 'ak-editor-container';
@@ -257,9 +264,9 @@ const Content = /*#__PURE__*/React.forwardRef((props, ref) => {
257
264
  "data-testid": CONTENT_AREA_TEST_ID,
258
265
  ref: containerRef
259
266
  }, jsx("div", {
260
- css:
267
+ css: [
261
268
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values
262
- contentAreaWrapper,
269
+ contentAreaWrapper, shouldHideProseMirrorForMarkdownMode && fg('platform_editor_md_mvp_layout') && markdownModeContainerBackgroundStyle],
263
270
  "data-testid": EDITOR_CONTAINER,
264
271
  "data-editor-container": 'true'
265
272
  }, jsx(EditorContentContainer
@@ -1,26 +1,25 @@
1
1
  /* eslint-disable require-unicode-regexp */
2
2
 
3
- import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
4
3
  export const isOutdatedBrowser = userAgent => {
5
4
  // Take browsers in both Desktop and Mobile (includes Chrome, Firefox, Edge and Safari) within last 2 years
6
5
  const chrome = /Chrome\//.test(userAgent) && !/OPR\//.test(userAgent);
7
6
  const chromeVersion = chrome ? parseInt((userAgent.match(/Chrome\/(\d+)/) || [])[1], 10) : 0;
8
- if (expValEquals('platform_editor_outdated_browser_update', 'isEnabled', true) ? chromeVersion >= 123 : chromeVersion >= 84) {
7
+ if (chromeVersion >= 123) {
9
8
  return false;
10
9
  }
11
10
  const gecko = /gecko\/\d/i.test(userAgent);
12
11
  const geckoVersion = gecko ? parseInt((userAgent.match(/Firefox\/(\d+)/) || [])[1], 10) : 0;
13
- if (expValEquals('platform_editor_outdated_browser_update', 'isEnabled', true) ? geckoVersion >= 124 : geckoVersion >= 84) {
12
+ if (geckoVersion >= 124) {
14
13
  return false;
15
14
  }
16
15
  const edge = /Edge\/(\d+)/.exec(userAgent);
17
16
  const edgeVersion = edge ? +edge[1] : 0;
18
- if (expValEquals('platform_editor_outdated_browser_update', 'isEnabled', true) ? edgeVersion >= 123 : edgeVersion >= 84) {
17
+ if (edgeVersion >= 123) {
19
18
  return false;
20
19
  }
21
20
  const safari = !chrome && !gecko && /Version\/([0-9\._]+).*Safari/.test(userAgent);
22
21
  const safariVersion = safari ? parseInt((userAgent.match(/Version\/([0-9\._]+).*Safari/) || [])[1], 10) : 0;
23
- if (expValEquals('platform_editor_outdated_browser_update', 'isEnabled', true) ? safariVersion >= 17 : safariVersion >= 12) {
22
+ if (safariVersion >= 17) {
24
23
  return false;
25
24
  }
26
25
  return true;
@@ -1,3 +1,3 @@
1
1
  export const name = "@atlaskit/editor-core";
2
2
  // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
3
- export const version = "220.4.1";
3
+ export const version = "220.4.3";
@@ -211,6 +211,13 @@ var contentAreaNew = css({
211
211
  var contentAreaHeightNoToolbar = css({
212
212
  height: '100%'
213
213
  });
214
+
215
+ // When the markdown source view is shown (markdown mode toggled on and not in
216
+ // the WYSIWYG "preview" view) we tint the whole editor container with the
217
+ // sunken surface so the source editor reads as a distinct, inset surface.
218
+ var markdownModeContainerBackgroundStyle = css({
219
+ backgroundColor: "var(--ds-surface-sunken, #F8F8F8)"
220
+ });
214
221
  export var CONTENT_AREA_TEST_ID = 'ak-editor-fp-content-area';
215
222
  // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
216
223
  export var EDITOR_CONTAINER = 'ak-editor-container';
@@ -255,9 +262,9 @@ var Content = /*#__PURE__*/React.forwardRef(function (props, ref) {
255
262
  "data-testid": CONTENT_AREA_TEST_ID,
256
263
  ref: containerRef
257
264
  }, jsx("div", {
258
- css:
265
+ css: [
259
266
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values
260
- contentAreaWrapper,
267
+ contentAreaWrapper, shouldHideProseMirrorForMarkdownMode && fg('platform_editor_md_mvp_layout') && markdownModeContainerBackgroundStyle],
261
268
  "data-testid": EDITOR_CONTAINER,
262
269
  "data-editor-container": 'true'
263
270
  }, jsx(EditorContentContainer
@@ -1,26 +1,25 @@
1
1
  /* eslint-disable require-unicode-regexp */
2
2
 
3
- import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
4
3
  export var isOutdatedBrowser = function isOutdatedBrowser(userAgent) {
5
4
  // Take browsers in both Desktop and Mobile (includes Chrome, Firefox, Edge and Safari) within last 2 years
6
5
  var chrome = /Chrome\//.test(userAgent) && !/OPR\//.test(userAgent);
7
6
  var chromeVersion = chrome ? parseInt((userAgent.match(/Chrome\/(\d+)/) || [])[1], 10) : 0;
8
- if (expValEquals('platform_editor_outdated_browser_update', 'isEnabled', true) ? chromeVersion >= 123 : chromeVersion >= 84) {
7
+ if (chromeVersion >= 123) {
9
8
  return false;
10
9
  }
11
10
  var gecko = /gecko\/\d/i.test(userAgent);
12
11
  var geckoVersion = gecko ? parseInt((userAgent.match(/Firefox\/(\d+)/) || [])[1], 10) : 0;
13
- if (expValEquals('platform_editor_outdated_browser_update', 'isEnabled', true) ? geckoVersion >= 124 : geckoVersion >= 84) {
12
+ if (geckoVersion >= 124) {
14
13
  return false;
15
14
  }
16
15
  var edge = /Edge\/(\d+)/.exec(userAgent);
17
16
  var edgeVersion = edge ? +edge[1] : 0;
18
- if (expValEquals('platform_editor_outdated_browser_update', 'isEnabled', true) ? edgeVersion >= 123 : edgeVersion >= 84) {
17
+ if (edgeVersion >= 123) {
19
18
  return false;
20
19
  }
21
20
  var safari = !chrome && !gecko && /Version\/([0-9\._]+).*Safari/.test(userAgent);
22
21
  var safariVersion = safari ? parseInt((userAgent.match(/Version\/([0-9\._]+).*Safari/) || [])[1], 10) : 0;
23
- if (expValEquals('platform_editor_outdated_browser_update', 'isEnabled', true) ? safariVersion >= 17 : safariVersion >= 12) {
22
+ if (safariVersion >= 17) {
24
23
  return false;
25
24
  }
26
25
  return true;
@@ -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 = "220.4.1";
3
+ export var version = "220.4.3";
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/entry-points/editor.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/entry-points/editor.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/entry-points/editor.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/editor-context.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/editor-context.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/editor-context.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/entry-points/editor-instance.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/entry-points/editor-instance.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/entry-points/editor-instance.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/entry-points/editor-props.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/entry-points/editor-props.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/entry-points/editor-props.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/entry-points/exclude-from-hydration.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/entry-points/exclude-from-hydration.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/entry-points/exclude-from-hydration.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/entry-points/feature-flags-from-props.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/entry-points/feature-flags-from-props.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/entry-points/feature-flags-from-props.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/entry-points/getNodesCount.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/entry-points/getNodesCount.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/entry-points/getNodesCount.d.ts"
17
10
  }
package/i18n/package.json CHANGED
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/i18n/index.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/i18n/index.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/i18n/index.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/entry-points/i18n-languages.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/entry-points/i18n-languages.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/entry-points/i18n-languages.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/labs-next.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/labs-next.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/labs-next.d.ts"
17
10
  }
@@ -6,12 +6,5 @@
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/entry-points/measure-enum.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/entry-points/measure-enum.d.ts"
14
- ]
15
- }
16
- }
9
+ "types": "../dist/types/entry-points/measure-enum.d.ts"
17
10
  }