@atlaskit/editor-core 220.4.3 → 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 +8 -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
@@ -1,13 +0,0 @@
1
- import type { AnalyticsEventPayload } from '@atlaskit/editor-common/analytics';
2
- import type { Transaction } from '@atlaskit/editor-prosemirror/state';
3
- import type { EditorView } from '@atlaskit/editor-prosemirror/view';
4
- import type { EditorViewStateUpdatedCallbackProps } from '../../types/editor-config';
5
- import type { EditorOnChangeHandler } from '../../types/editor-onchange';
6
- type DispatchTransaction = (view: EditorView | undefined, tr: Transaction) => void;
7
- export declare const useDispatchTransaction: ({ onChange, dispatchAnalyticsEvent, onEditorViewUpdated, isRemoteReplaceDocumentTransaction, }: {
8
- dispatchAnalyticsEvent: (payload: AnalyticsEventPayload) => void;
9
- isRemoteReplaceDocumentTransaction?: (tr: Transaction) => boolean;
10
- onChange: EditorOnChangeHandler | undefined;
11
- onEditorViewUpdated: (params: EditorViewStateUpdatedCallbackProps) => void;
12
- }) => DispatchTransaction;
13
- export {};
@@ -1,3 +0,0 @@
1
- import type { AnalyticsEventPayload } from '@atlaskit/editor-common/analytics';
2
- import type { EditorAppearance } from '@atlaskit/editor-common/types';
3
- export declare const useFireFullWidthEvent: (appearance: EditorAppearance | undefined, dispatchAnalyticsEvent: (payload: AnalyticsEventPayload) => void) => void;
@@ -1,55 +0,0 @@
1
- import React from 'react';
2
- import type { WrappedComponentProps, WithIntlProps } from 'react-intl';
3
- import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
4
- import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
5
- import { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
6
- import type { PortalProviderAPI } from '@atlaskit/editor-common/portal';
7
- import type { AllEditorPresetPluginTypes, EditorPresetBuilder } from '@atlaskit/editor-common/preset';
8
- import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
9
- import type { PublicPluginAPI, Transformer } from '@atlaskit/editor-common/types';
10
- import { EditorView } from '@atlaskit/editor-prosemirror/view';
11
- import type { EditorConfig } from '../types/editor-config';
12
- import type { EditorNextProps, EditorProps } from '../types/editor-props';
13
- export interface EditorViewProps extends WrappedComponentProps {
14
- createAnalyticsEvent?: CreateUIAnalyticsEvent;
15
- disabled?: boolean;
16
- editorProps: (EditorProps | EditorNextProps) & {
17
- preset?: EditorNextProps['preset'];
18
- };
19
- nodeViewPortalProviderAPI: PortalProviderAPI;
20
- onEditorCreated: (instance: {
21
- config: EditorConfig;
22
- eventDispatcher: EventDispatcher;
23
- transformer?: Transformer<string>;
24
- view: EditorView;
25
- }) => void;
26
- onEditorDestroyed: (instance: {
27
- config: EditorConfig;
28
- eventDispatcher: EventDispatcher;
29
- transformer?: Transformer<string>;
30
- view: EditorView;
31
- }) => void;
32
- onSSRMeasure?: (measure: {
33
- endTimestamp: number;
34
- segmentName: string;
35
- startTimestamp: number;
36
- }) => void;
37
- portalProviderAPI: PortalProviderAPI;
38
- preset: EditorPresetBuilder<string[], AllEditorPresetPluginTypes[]>;
39
- providerFactory: ProviderFactory;
40
- render?: (props: {
41
- config: EditorConfig;
42
- dispatchAnalyticsEvent: DispatchAnalyticsEvent;
43
- editor: JSX.Element;
44
- editorAPI: PublicPluginAPI<any> | undefined;
45
- editorRef: React.RefObject<HTMLDivElement>;
46
- eventDispatcher: EventDispatcher;
47
- transformer?: Transformer<string>;
48
- view?: EditorView;
49
- }) => JSX.Element;
50
- }
51
- export declare function ReactEditorView(props: EditorViewProps): React.JSX.Element;
52
- declare const _default: React.FC<WithIntlProps<EditorViewProps>> & {
53
- WrappedComponent: React.ComponentType<EditorViewProps>;
54
- };
55
- export default _default;
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- import type { EditorView } from '@atlaskit/editor-prosemirror/view';
3
- export interface WithEditorViewInternalProps {
4
- editorView?: EditorView | undefined;
5
- }
6
- export declare const WithEditorView: <P extends WithEditorViewInternalProps>(WrappedComponent: React.ComponentType<React.PropsWithChildren<P>>) => ((props: React.PropsWithChildren<Omit<P, keyof WithEditorViewInternalProps>>) => React.JSX.Element);
@@ -1,16 +0,0 @@
1
- import type { DOMOutputSpec, Mark as PMMark, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
2
- /**
3
- * 🧱 Internal Helper Function: Editor FE Platform
4
- *
5
- * Adds generic metadata attributes to a DOMOutputSpec array based on the provided node or mark.
6
- * This function ensures that the DOMOutputSpec is annotated with ProseMirror-specific metadata.
7
- *
8
- * @param {object} params - Parameters object.
9
- * @param {PMNode | PMMark} params.nodeOrMark - The ProseMirror node or mark to extract metadata from.
10
- * @param {DOMOutputSpec} params.domSpec - The DOMOutputSpec to which attributes will be added.
11
- * @returns {DOMOutputSpec} The modified DOMOutputSpec with additional metadata.
12
- */
13
- export declare const addMetadataAttributes: ({ nodeOrMark, domSpec, }: {
14
- domSpec: DOMOutputSpec;
15
- nodeOrMark: PMNode | PMMark;
16
- }) => DOMOutputSpec;
@@ -1,3 +0,0 @@
1
- export declare const PROSEMIRROR_RENDERED_NORMAL_SEVERITY_THRESHOLD = 2000;
2
- export declare const PROSEMIRROR_RENDERED_DEGRADED_SEVERITY_THRESHOLD = 3000;
3
- export declare const DEFAULT_SAMPLING_RATE_VALID_TRANSACTIONS = 100;
@@ -1,3 +0,0 @@
1
- import type { EditorPlugin } from '@atlaskit/editor-common/types';
2
- import type { EditorConfig } from '../types/editor-config';
3
- export declare function processPluginsList(plugins: EditorPlugin[]): EditorConfig;
@@ -1,13 +0,0 @@
1
- import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
2
- import type { EditorPluginInjectionAPI, EditorPresetBuilder } from '@atlaskit/editor-common/preset';
3
- import type { EditorPlugin } from '@atlaskit/editor-common/types';
4
- import type { DefaultPresetPluginOptions } from '../../src/presets/default';
5
- import type { EditorPluginFeatureProps, EditorProps } from '../types/editor-props';
6
- export declare function getDefaultPresetOptionsFromEditorProps(props: EditorProps, createAnalyticsEvent?: CreateUIAnalyticsEvent): DefaultPresetPluginOptions & Omit<EditorPluginFeatureProps, 'placeholder'>;
7
- /**
8
- * Maps EditorProps to EditorPlugins
9
- *
10
- * Note: The order that presets are added determines
11
- * their placement in the editor toolbar.
12
- */
13
- export default function createPluginsList(preset: EditorPresetBuilder<any, any>, props: Pick<EditorProps, 'allowBlockType'>, pluginInjectionAPI?: EditorPluginInjectionAPI): EditorPlugin[];
@@ -1,36 +0,0 @@
1
- import type { MarkConfig, NodeConfig } from '@atlaskit/editor-common/types';
2
- import type { DOMOutputSpec, MarkSpec, NodeSpec, Mark as PMMark, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
3
- import { Schema } from '@atlaskit/editor-prosemirror/model';
4
- type toDOMType = (node: PMNode | PMMark) => DOMOutputSpec;
5
- /**
6
- * 🧱 Internal Helper Function: Editor FE Platform
7
- *
8
- * Wraps a `toDOM` function with a proxy that automatically adds metadata attributes
9
- * to the resulting DOMOutputSpec. This is useful for dynamically enhancing the output
10
- * of a `toDOM` function with additional context.
11
- *
12
- * @param {function(PMNode | PMMark): DOMOutputSpec} toDOM - The original `toDOM` function.
13
- * @returns {function(PMNode | PMMark): DOMOutputSpec} A proxied `toDOM` function that adds metadata attributes.
14
- */
15
- export declare const wrapToDOMProxy: (toDOM: toDOMType) => toDOMType;
16
- /**
17
- * 🧱 Internal Helper Function: Editor FE Platform
18
- *
19
- * Wraps a NodeSpec or MarkSpec object with a proxy to enhance its `toDOM` method.
20
- * This proxy automatically adds metadata attributes to the DOM output of the `toDOM` method,
21
- * enriching the DOM representation with additional ProseMirror-specific metadata.
22
- *
23
- * For nodes thats use NodeViews, you can find the implementation of those attributes on this file:
24
- * @see `packages/editor/editor-common/src/safe-plugin/index.ts`
25
- *
26
- * @template T
27
- * @param {T} spec - The NodeSpec or MarkSpec object to be wrapped.
28
- * @returns {T} A proxied NodeSpec or MarkSpec object where the `toDOM` method is enhanced
29
- * with metadata attributes.
30
- */
31
- export declare const wrapNodeSpecProxy: <T extends NodeSpec | MarkSpec>(spec: T) => T;
32
- export declare function createSchema(editorConfig: {
33
- marks: MarkConfig[];
34
- nodes: NodeConfig[];
35
- }): Schema<string, string>;
36
- export {};
@@ -1,7 +0,0 @@
1
- import type { InitialPluginConfiguration } from '../presets/universal';
2
- import type { EditorProps } from '../types/editor-props';
3
- export declare function createUniversalPreset({ props, prevProps, initialPluginConfiguration, }: {
4
- initialPluginConfiguration?: InitialPluginConfiguration;
5
- prevProps?: EditorProps;
6
- props: EditorProps;
7
- }): any;
@@ -1,3 +0,0 @@
1
- import type { ErrorReportingHandler } from '@atlaskit/editor-common/error-reporter';
2
- import { ErrorReporter } from '@atlaskit/editor-common/error-reporter';
3
- export declare function createErrorReporter(errorReporterHandler?: ErrorReportingHandler): ErrorReporter;
@@ -1,3 +0,0 @@
1
- import type { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
- import type { PMPluginCreateConfig } from '../types/pm-plugin-list';
3
- export declare function createPMPlugins(config: PMPluginCreateConfig): SafePlugin[];
@@ -1,3 +0,0 @@
1
- import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
- import type { Schema } from '@atlaskit/editor-prosemirror/model';
3
- export declare const createEditorNativeAnchorSupportPlugin: (schema: Schema) => SafePlugin;
@@ -1,13 +0,0 @@
1
- import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
2
- import type { ReadonlyTransaction, EditorState } from '@atlaskit/editor-prosemirror/state';
3
- import type { EditorViewStateUpdatedCallbackProps } from '../types/editor-config';
4
- export type EditorStateNotificationPluginState = {
5
- latestTransaction: ReadonlyTransaction | undefined;
6
- };
7
- export declare const createEditorStateNotificationPlugin: (onEditorStateUpdated: (props: {
8
- newEditorState: EditorState;
9
- oldEditorState: EditorState;
10
- }) => void, onEditorViewStateUpdatedCallbacks: Array<{
11
- callback: (props: EditorViewStateUpdatedCallbackProps) => void;
12
- pluginName: string;
13
- }>) => SafePlugin<EditorStateNotificationPluginState>;
@@ -1,19 +0,0 @@
1
- import type { EditorPlugin } from '@atlaskit/editor-common/types';
2
- import type { Schema } from '@atlaskit/editor-prosemirror/model';
3
- export interface DroppedPlugin {
4
- missingMarks: string[];
5
- missingNodes: string[];
6
- name: string;
7
- }
8
- export interface FilterPluginsForReconfigureResult {
9
- dropped: DroppedPlugin[];
10
- kept: EditorPlugin[];
11
- }
12
- /**
13
- * Used by `reconfigureState` to drop plugins from a freshly-built preset that
14
- * declare schema nodes/marks the current schema doesn't have. Plugins already
15
- * present before this reconfigure are kept untouched: they have demonstrably
16
- * coexisted with the schema (e.g. tests that mock a stripped-down schema), so
17
- * removing them now would be a regression.
18
- */
19
- export declare function filterPluginsForReconfigure(editorPlugins: Array<EditorPlugin | undefined | null>, schema: Schema, previousPluginNames: ReadonlySet<string>): FilterPluginsForReconfigureResult;
@@ -1,6 +0,0 @@
1
- import type { MarkSpec } from '@atlaskit/editor-prosemirror/model';
2
- export declare function fixExcludes(marks: {
3
- [key: string]: MarkSpec;
4
- }): {
5
- [key: string]: MarkSpec;
6
- };
@@ -1,43 +0,0 @@
1
- import type { IntlShape } from 'react-intl';
2
- import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
3
- import type { Dispatch, EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
4
- import type { PortalProviderAPI } from '@atlaskit/editor-common/portal';
5
- import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
6
- import type { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
7
- import type { FeatureFlags, MarkConfig, NodeConfig, ReactHookFactory, UIComponentFactory } from '@atlaskit/editor-common/types';
8
- import type { Schema } from '@atlaskit/editor-prosemirror/model';
9
- import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
10
- export type LightPMPluginFactoryParams = {
11
- dispatch: Dispatch;
12
- dispatchAnalyticsEvent: DispatchAnalyticsEvent;
13
- eventDispatcher: EventDispatcher;
14
- featureFlags: FeatureFlags;
15
- getIntl: () => IntlShape;
16
- nodeViewPortalProviderAPI: PortalProviderAPI;
17
- portalProviderAPI: PortalProviderAPI;
18
- prevProps?: Object;
19
- props: Object;
20
- providerFactory: ProviderFactory;
21
- schema: Schema;
22
- };
23
- export type LightPMPluginFactory = (params: LightPMPluginFactoryParams) => SafePlugin | undefined;
24
- export type LightPMPlugin = {
25
- name: string;
26
- plugin: LightPMPluginFactory;
27
- };
28
- export type OnEditorViewStateUpdated = (props: {
29
- readonly newEditorState: Readonly<EditorState>;
30
- readonly oldEditorState: Readonly<EditorState>;
31
- readonly originalTransaction: Readonly<Transaction>;
32
- readonly transactions: ReadonlyArray<Transaction>;
33
- }) => void;
34
- export interface LightEditorPlugin {
35
- contentComponent?: UIComponentFactory;
36
- marks?: () => MarkConfig[];
37
- name: string;
38
- nodes?: () => NodeConfig[];
39
- onEditorViewStateUpdated?: OnEditorViewStateUpdated;
40
- pluginsOptions?: Record<string, any>;
41
- pmPlugins?: (pluginOptions?: any) => Array<LightPMPlugin>;
42
- usePluginHook?: ReactHookFactory;
43
- }
@@ -1,5 +0,0 @@
1
- import type { EditorAppearance } from '@atlaskit/editor-common/types';
2
- import type { EditorAppearanceComponentProps } from '../types/editor-appearance-component';
3
- type ReturnType = React.ComponentType<React.PropsWithChildren<EditorAppearanceComponentProps<any[]>>>;
4
- export default function getUiComponent(appearance: EditorAppearance): ReturnType;
5
- export {};
@@ -1,3 +0,0 @@
1
- import type { ScrollGutterPluginOptions } from '@atlaskit/editor-plugins/base';
2
- import type { EditorProps } from '../types/editor-props';
3
- export declare function getScrollGutterOptions(props: EditorProps): ScrollGutterPluginOptions | undefined;
@@ -1,12 +0,0 @@
1
- export declare const editorMessages: {
2
- editorAssistiveLabel: {
3
- id: string;
4
- defaultMessage: string;
5
- description: string;
6
- };
7
- fullPageEditorAssistiveLabel: {
8
- id: string;
9
- defaultMessage: string;
10
- description: string;
11
- };
12
- };
@@ -1,2 +0,0 @@
1
- import type { EditorProps } from '../types/editor-props';
2
- export declare function shouldRecreatePreset(props: EditorProps, nextProps: EditorProps): boolean;
@@ -1,5 +0,0 @@
1
- export declare function sortByRank(a: {
2
- rank: number;
3
- }, b: {
4
- rank: number;
5
- }): number;
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- import type { EditorNextProps } from '../types/editor-props';
3
- export type ChromelessEditorProps = Pick<EditorNextProps, 'preset' | 'defaultValue' | 'assistiveLabel' | 'disabled' | 'shouldFocus' | 'quickInsert' | 'performanceTracking' | 'secondaryToolbarComponents' | 'featureFlags' | 'onChange' | 'onDestroy' | 'onEditorReady' | 'onSave' | 'onCancel' | 'mentionProvider' | 'contextIdentifierProvider' | 'searchProvider' | 'extensionProviders' | 'popupsMountPoint' | 'popupsBoundariesElement' | 'popupsScrollableElement'>;
4
- /**
5
- * Editor component based on `ComposableEditor` which sets the `appearance` to "chromeless".
6
- *
7
- * This has a performance benefit compared with `ComposableEditor` as it doesn't bundle unnecessary appearance code.
8
- *
9
- * Docs for `ComposableEditor` are also relevant: https://atlaskit.atlassian.com/packages/editor/editor-core
10
- *
11
- * @param props ChromelessEditorProps
12
- * @returns Editor component
13
- */
14
- export declare function ChromelessEditor(props: ChromelessEditorProps): React.JSX.Element;
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- import type { EditorNextProps } from '../types/editor-props';
3
- export type CommentEditorProps = Pick<EditorNextProps, 'preset' | 'defaultValue' | 'assistiveLabel' | 'disabled' | 'shouldFocus' | 'quickInsert' | 'performanceTracking' | 'secondaryToolbarComponents' | 'featureFlags' | 'onChange' | 'onDestroy' | 'onEditorReady' | 'onSave' | 'onCancel' | 'mentionProvider' | 'contextIdentifierProvider' | 'searchProvider' | 'extensionProviders'>;
4
- /**
5
- * Editor component based on `ComposableEditor` which sets the `appearance` to "comment".
6
- *
7
- * This has a performance benefit compared with `ComposableEditor` as it doesn't bundle unnecessary appearance code.
8
- *
9
- * Docs for `ComposableEditor` are also relevant: https://atlaskit.atlassian.com/packages/editor/editor-core
10
- *
11
- * @param props CommentEditorProps
12
- * @returns Editor component
13
- */
14
- export declare function CommentEditor(props: CommentEditorProps): React.JSX.Element;
@@ -1,19 +0,0 @@
1
- import React from 'react';
2
- import type EditorActions from '../actions';
3
- import type { EditorNextProps } from '../types/editor-props';
4
- export type FullPageEditorProps = Pick<EditorNextProps, 'preset' | 'defaultValue' | 'disabled' | 'mentionProvider' | 'performanceTracking' | 'contextIdentifierProvider' | 'searchProvider' | 'activityProvider' | 'annotationProviders' | 'collabEditProvider' | 'collabEdit' | 'contentMode' | 'taskDecisionProvider' | 'extensionProviders' | 'shouldFocus' | 'quickInsert' | 'secondaryToolbarComponents' | 'featureFlags' | 'primaryToolbarComponents' | 'contextPanel' | 'contentComponents' | 'primaryToolbarIconBefore' | 'sanitizePrivateContent' | '__livePage'> & {
5
- appearance: 'full-page' | 'full-width' | 'max';
6
- onChange?: () => void;
7
- onEditorReady?: (editorActions: EditorActions) => void;
8
- };
9
- /**
10
- * Editor component based on `ComposableEditor` which sets the `appearance` to "full-page".
11
- *
12
- * This has a performance benefit as it doesn't bundle unnecessary appearance code.
13
- *
14
- * Docs for `ComposableEditor` are also relevant: https://atlaskit.atlassian.com/packages/editor/editor-core
15
- *
16
- * @param props FullPageEditorProps
17
- * @returns Editor component
18
- */
19
- export declare function FullPageEditor(props: FullPageEditorProps): React.JSX.Element;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import type { EditorNextProps } from '../types/editor-props';
3
- export type FullWidthEditorProps = Pick<EditorNextProps, 'preset' | 'defaultValue' | 'disabled' | 'mentionProvider' | 'performanceTracking' | 'contextIdentifierProvider' | 'searchProvider' | 'annotationProviders' | 'collabEditProvider' | 'collabEdit' | 'taskDecisionProvider' | 'extensionProviders' | 'shouldFocus' | 'quickInsert' | 'secondaryToolbarComponents' | 'featureFlags' | 'primaryToolbarComponents' | 'contextPanel' | 'contentComponents' | 'primaryToolbarIconBefore' | 'sanitizePrivateContent'> & {
4
- onChange?: () => void;
5
- onEditorReady?: () => void;
6
- };
7
- /**
8
- * Editor component based on `ComposableEditor` which sets the `appearance` to "full-width".
9
- *
10
- * This has a performance benefit as it doesn't bundle unnecessary appearance code.
11
- *
12
- * Docs for `ComposableEditor` are also relevant: https://atlaskit.atlassian.com/packages/editor/editor-core
13
- *
14
- * @param props FullWidthEditorProps
15
- * @returns Editor component
16
- * @deprecated In favour of `FullPageEditor` with appearance "full-width"
17
- */
18
- export declare function FullWidthEditor(props: FullWidthEditorProps): React.JSX.Element;
@@ -1 +0,0 @@
1
- export { default as EditorContext } from './ui/EditorContext';
@@ -1,24 +0,0 @@
1
- /**
2
- * @jsxRuntime classic
3
- * @jsx jsx
4
- */
5
- import React from 'react';
6
- import { jsx } from '@emotion/react';
7
- import type { InitialPluginConfiguration } from './preset-universal';
8
- import type { EditorProps } from './types/editor-props';
9
- interface EditorPropsWithInitialPluginConfiguration extends EditorProps {
10
- initialPluginConfiguration?: InitialPluginConfiguration;
11
- }
12
- /**
13
- * @deprecated - Please use the `ComposableEditor` component instead.
14
- * We strongly encourage the use of custom presets, however your easiest migration path is to use the `useUniversalPreset` hook.
15
- * The `ComposableEditor` component is a more flexible and customizable alternative to the `Editor` component.
16
- * It allows you to create an editor with a custom set of plugins and configurations.
17
- * For more information, see the documentation for the `ComposableEditor` component here: https://atlaskit.atlassian.com/packages/editor/editor-core
18
- */
19
- export default class Editor extends React.Component<EditorPropsWithInitialPluginConfiguration> {
20
- static defaultProps: EditorProps;
21
- constructor(props: EditorPropsWithInitialPluginConfiguration);
22
- render(): jsx.JSX.Element;
23
- }
24
- export {};
@@ -1 +0,0 @@
1
- export { default as CollapsedEditor } from '../ui/CollapsedEditor/index';
@@ -1 +0,0 @@
1
- export { ContextPanel } from '../ui/ContextPanel/index';
@@ -1 +0,0 @@
1
- export { default as EditorContext } from '../ui/EditorContext/index';
@@ -1 +0,0 @@
1
- export { ReactEditorView } from '../create-editor/ReactEditorView';
@@ -1 +0,0 @@
1
- export { default as ToolbarHelp } from '../ui/ToolbarHelp/index';
@@ -1 +0,0 @@
1
- export { ToolbarPortalContextProvider, useToolbarPortal } from '../ui/Toolbar/ToolbarPortal';
@@ -1 +0,0 @@
1
- export { default as WithEditorActions } from '../ui/WithEditorActions/index';
@@ -1 +0,0 @@
1
- export { default as WithHelpTrigger } from '../ui/WithHelpTrigger/index';
@@ -1 +0,0 @@
1
- export { default as EditorActions } from '../actions/index';
@@ -1,2 +0,0 @@
1
- export { ChromelessEditor } from '../editor-appearances/ChromelessEditor';
2
- export type { ChromelessEditorProps } from '../editor-appearances/ChromelessEditor';
@@ -1,2 +0,0 @@
1
- export { CommentEditor } from '../editor-appearances/CommentEditor';
2
- export type { CommentEditorProps } from '../editor-appearances/CommentEditor';
@@ -1,2 +0,0 @@
1
- export { FullPageEditor } from '../editor-appearances/FullPageEditor';
2
- export type { FullPageEditorProps } from '../editor-appearances/FullPageEditor';
@@ -1,2 +0,0 @@
1
- export { FullWidthEditor } from '../editor-appearances/FullWidthEditor';
2
- export type { FullWidthEditorProps } from '../editor-appearances/FullWidthEditor';
@@ -1 +0,0 @@
1
- export type { Command, CommandDispatch } from '../types/command';
@@ -1 +0,0 @@
1
- export { getDefaultPresetOptionsFromEditorProps } from '../create-editor/create-plugins-list';
@@ -1 +0,0 @@
1
- export type { EditorInstance } from '../types/editor-instance';
@@ -1 +0,0 @@
1
- export type { EditorProps } from '../types/editor-props';
@@ -1,11 +0,0 @@
1
- export type { Command, CommandDispatch } from '../types/command';
2
- export type { DomAtPos } from '../types/dom-at-pos';
3
- export type { EditorAppearanceComponentProps } from '../types/editor-appearance-component';
4
- export type { EditorConfig } from '../types/editor-config';
5
- export type { EditorInstance } from '../types/editor-instance';
6
- export type { EditorProps } from '../types/editor-props';
7
- export type { ExtensionConfig } from '../types/extension-config';
8
- export type { ExtensionProvidersProp } from '../types/editor-props';
9
- export type { MessageDescriptor } from '../types/i18n';
10
- export type { PMPluginCreateConfig } from '../types/pm-plugin-list';
11
- export { default } from '../editor';
@@ -1 +0,0 @@
1
- export { default } from '../ui/ExcludeFromHydration/index';
@@ -1 +0,0 @@
1
- export { createFeatureFlagsFromProps } from '../utils/feature-flags-from-props';
@@ -1 +0,0 @@
1
- export { getNodesCount } from '../utils/getNodesCount';
@@ -1 +0,0 @@
1
- export { default } from '../i18n/languages';
@@ -1 +0,0 @@
1
- export { default as measurements } from '../utils/performance/measure-enum';
@@ -1,2 +0,0 @@
1
- export { default as createUniversalPresetInternal } from '../presets/universal';
2
- export type { InitialPluginConfiguration } from '../presets/universal';
@@ -1 +0,0 @@
1
- export { default as useUniversalPreset } from '../presets/useUniversalPreset';
@@ -1,5 +0,0 @@
1
- export { isElementBySelectorInDocument } from '../isElementBySelectorInDocument';
2
- export { setTextSelection } from '../setTextSelection';
3
- export { createPMSchemaAndPlugins } from '../test-utils';
4
- export type { LightEditorConfig } from '../test-utils';
5
- export type { LightEditorPlugin } from '../create-editor/get-plugins';
@@ -1,2 +0,0 @@
1
- export { EditorAPIContext, PresetContextProvider, usePresetContext, useSetPresetContext, } from '../presets/context';
2
- export type { EditorAPIContextType, SetEditorAPI } from '../presets/context';
@@ -1 +0,0 @@
1
- export { name, version } from '../version-wrapper';
@@ -1,12 +0,0 @@
1
- /**
2
- * NOTE:
3
- *
4
- * This file is automatically generated by Traduki 2.0.
5
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
- */
7
- declare const _default: {
8
- 'fabric.editor.chromeCollapsedPlaceholder': string;
9
- 'fabric.editor.editorAssistiveLabel': string;
10
- 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
- };
12
- export default _default;
@@ -1,12 +0,0 @@
1
- /**
2
- * NOTE:
3
- *
4
- * This file is automatically generated by Traduki 2.0.
5
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
- */
7
- declare const _default: {
8
- 'fabric.editor.chromeCollapsedPlaceholder': string;
9
- 'fabric.editor.editorAssistiveLabel': string;
10
- 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
- };
12
- export default _default;
@@ -1,12 +0,0 @@
1
- /**
2
- * NOTE:
3
- *
4
- * This file is automatically generated by Traduki 2.0.
5
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
- */
7
- declare const _default: {
8
- 'fabric.editor.chromeCollapsedPlaceholder': string;
9
- 'fabric.editor.editorAssistiveLabel': string;
10
- 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
- };
12
- export default _default;
@@ -1,12 +0,0 @@
1
- /**
2
- * NOTE:
3
- *
4
- * This file is automatically generated by Traduki 2.0.
5
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
- */
7
- declare const _default: {
8
- 'fabric.editor.chromeCollapsedPlaceholder': string;
9
- 'fabric.editor.editorAssistiveLabel': string;
10
- 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
- };
12
- export default _default;
@@ -1,12 +0,0 @@
1
- /**
2
- * NOTE:
3
- *
4
- * This file is automatically generated by Traduki 2.0.
5
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
- */
7
- declare const _default: {
8
- 'fabric.editor.chromeCollapsedPlaceholder': string;
9
- 'fabric.editor.editorAssistiveLabel': string;
10
- 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
- };
12
- export default _default;
@@ -1,12 +0,0 @@
1
- /**
2
- * NOTE:
3
- *
4
- * This file is automatically generated by Traduki 2.0.
5
- * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
- */
7
- declare const _default: {
8
- 'fabric.editor.chromeCollapsedPlaceholder': string;
9
- 'fabric.editor.editorAssistiveLabel': string;
10
- 'fabric.editor.headingLink.toolbarHelpTitle': string;
11
- };
12
- export default _default;